/* --- Projects Section --- */
#projects {
  background: rgb(243, 200, 73);
  border-radius: 20px 20px 0px 0px;
}

#projects .projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 30%));
  justify-content: center;
  gap: 2rem;
  margin-top: 2.5rem;
}

.project-card {
  background: #fff;
  border-radius: 1.2rem;
  box-shadow: 0 4px 24px 0 rgba(60, 60, 60, 0.08), 0 1.5px 6px 0 rgba(60,60,60,0.04);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.18s cubic-bezier(.4,0,.2,1), box-shadow 0.18s cubic-bezier(.4,0,.2,1);
  border-top: 5px solid var(--accent, #e8b933);
  min-height: 370px;
}

.project-card:hover {
  transform: translateY(-6px) scale(1.025);
  box-shadow: 0 8px 32px 0 rgba(60, 60, 60, 0.13), 0 2px 8px 0 rgba(60,60,60,0.07);
}

.project-image {
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.2rem;
  color: #fff;
  border-bottom: 1px solid #f0f0f0;
}

.project-img-placeholder {
  margin: 0.5 rem;
  font-size: 2rem;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.10));
}

.project-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 1.5rem 1.3rem 1.2rem 1.3rem;
}

.project-content h3 {
  margin: 0 0 0.7rem 0;
  font-size: 1.25rem;
  color: #222;
  font-weight: 600;
}

.project-content p {
  flex: 1;
  color: #444;
  font-size: 1rem;
  margin-bottom: 1.1rem;
}

.project-link {
  display: inline-block;
  background: var(--accent, #e8b933);
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  border-radius: 0.7rem;
  padding: 0.5rem 1.2rem;
  font-size: 1rem;
  box-shadow: 0 2px 8px 0 rgba(60,60,60,0.07);
  transition: background 0.15s;
}

.project-link:hover {
  background: #222;
  color: #fff;
}

@media (max-width: 900px) {
  #projects .projects-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  #projects .projects-grid {
    grid-template-columns: 1fr;
  }
  .project-card {
    min-height: 320px;
  }
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    color: #eee;
    background: linear-gradient(135deg, #11173C 0%, #217940 100%);
    min-height: 100vh;
}

.container {

    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 20px;
}

/* Header */
header {
    background: rgba(17, 23, 60, 0.9);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid rgba(181, 152, 72, 0.3);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

nav.container {
    padding: 0;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: rgb(232, 185, 51);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: #ffffff;
    text-decoration: none;
    transition: opacity 0.3s;
}

.nav-links a:hover {
    opacity: 0.8;
}

/* Language Switch Button */
.lang-btn {
    margin-left: 1.5rem;
    padding: 0.4em 1em;
    background: #e8b933;
    color: #222;
    border: none;
    border-radius: 20px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.2s;
}

.lang-btn:hover {
    background: #d1a62a;
}

/* Hero Section */
.hero {
    padding: 120px 0 80px;
    text-align: center;
    color: #ffffff;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.specializations {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;

}

.spec-card {
    background: #11173C;
    padding: 1rem 1.5rem;
    border-radius: 10px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s, background 0.3s;
    cursor: pointer;
    color: #fff;
}

.spec-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 0, 0, 0.55);
}

/* Main Content */
main {
    background: #fff;
    color: #11173C;
    border-radius: 20px 20px 0 0;
    margin-top: -20px;
    position: relative;
    z-index: 1;
}

.section {
    /* padding: 4rem 0 0 0; */
}

.section-title {
    text-align: center;

    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #11173C;
}

/* About Section */
#about {
    background: rgb(243, 200, 73);
    backdrop-filter: blur(10px);
}

#about .container {
    border-radius: 20px 20px 0px 0px;
    background: white;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    align-items: center;
}

.profile-image {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: linear-gradient(135deg, #11173C, #217940);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: #B59848;
    margin: 0 auto;
}

.profile-image img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    align-self: start;
}

.about-text {
    font-size: 1.1rem;
    line-height: 1.8;
}

/* Skills Section */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.skill-category {
    background: #f5f5f5;
    padding: 2rem;
    border-radius: 15px;
    border-left: 4px solid #B59848;
}

.skill-category h3 {
    color: #217940;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.skill-tag {
    background: #217940;
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.9rem;
}

/* Experience Section */
.experience-timeline {
    position: relative;
    padding-left: 2rem;
}

.experience-timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, #11173C, #B59848);
}

.experience-item {
    position: relative;
    margin-bottom: 3rem;
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    margin-left: 2rem;
}

.experience-item::before {
    content: '';
    position: absolute;
    left: -3rem;
    top: 2rem;
    width: 12px;
    height: 12px;
    background: #B59848;
    border-radius: 50%;
    border: 3px solid white;
}

.experience-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.experience-title {
    font-size: 1.3rem;
    font-weight: bold;
    color: #11173C;
}

.experience-company {
    color: #217940;
    font-weight: 600;
}

.experience-date {
    color: #888;
    font-size: 0.9rem;
}

.experience-description {
    margin: 1rem 0;
}

.experience-description ul {
    list-style: none;
    padding-left: 0;
}

.experience-description li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
}

.experience-description li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: #217940;
    font-weight: bold;
}

.tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.tech-tag {
    background: #f0f0f0;
    color: #11173C;
    padding: 0.2rem 0.6rem;
    border-radius: 12px;
    font-size: 0.8rem;
}

/* Contact Section */
.contact {
    background: linear-gradient(135deg, #11173C, #217940);
    color: white;
    text-align: center;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.contact-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
}

.contact-item h3 {
    margin-bottom: 0.5rem;
    color: rgb(232, 185, 51);
}

.contact-item a {
    color: white;
    text-decoration: none;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .specializations {
        flex-direction: column;
        align-items: center;
    }

    .about-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .nav-links {
        display: none;
    }

    .experience-header {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeInUp 0.6s ease-out;
}

/* Hobby Section */
.hobbies {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.hobby-item {
    background: #e9ecf5;
    color: #11173C;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-weight: 500;
}
