body {
    background-color: #819067;
}

                                                            /* Header */
.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #FEFAE0;
    z-index: 1000;
}

.logo {
    height: 100px;
}

.logo-container {
    display: flex;
    align-items: center;
}

.nav-links {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 1.5rem;
    margin: 0;
    padding: 0;
    background: none;
    box-shadow: none;
}

.nav-links li {
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0;
}

.nav-links a {
    color: #0f0f0f;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.08rem;
    letter-spacing: 0.02em;
    padding: 0.5rem 1.1rem;
    border-radius: 6px;
    transition: background 0.2s, color 0.2s;
    position: relative;
}

.nav-links a:hover {
    color: #0A400C;
}

.book-counselling {
    border-radius: 20px;
    background: #0A400C;
    color: #fff;
    border: none;
    font-weight: 600;
    font-size: 1.08rem;
    cursor: pointer;
    padding: 10px 20px;
    margin-right: 40px;
    transition: all 0.3s ease;
    outline: none;
    animation: glowing 1.5s infinite;
    position: relative;
    overflow: hidden;
}

.book-counselling:hover {
    animation: none;
    background: #126b15;
    box-shadow: 0 0 25px #126b15;
    transform: translateY(-2px);
}

@keyframes glowing {
    0% {
        box-shadow: 0 0 5px #0A400C,
                   0 0 10px #0A400C,
                   0 0 15px #0A400C;
    }
    50% {
        box-shadow: 0 0 20px #0A400C,
                   0 0 25px #0A400C,
                   0 0 30px #0A400C;
    }
    100% {
        box-shadow: 0 0 5px #0A400C,
                   0 0 10px #0A400C,
                   0 0 15px #0A400C ;
    }
}

.hamburger {
    background-color: #FEFAE0;
    border: none;
    width: 40px;
    height: 40px;
    position: relative;
    z-index: 1002;
    margin-right: 70px;
    cursor: pointer;
    border-radius: 50%;
    padding: 8px;
    display: none;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: #0A400C;
    margin: 3px 0;
    border-radius: 3px;
    transition: all 0.4s ease;
    transform-origin: center center;
    position: relative;
    left: 0;
}

.hamburger.active span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
    margin: 4px 0;
    height: 3px;
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
    transform: scale(0);
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
    margin: 4px 0;
    height: 3px;
}



@media (max-width: 1100px) {
    .header-container {
        padding: 12px 20px;
    }

    .logo {
        height: 88px;
    }
    
    .hamburger {
        display: flex !important;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        z-index: 1002;
        margin-right: 20px;
    }

    .nav-bar {
        display: flex;
        align-items: center;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%; 
        border-radius: 0 0 0 40px;
        height: 100vh;
        width: 320px;
        background: #FEFAE0;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding: 100px 30px 50px;
        transition: right 0.3s ease;
        box-shadow: -3px 0 20px rgba(0, 0, 0, 0.15);
        z-index: 1001;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links li {
        width: 100%;
        margin: 15px 0;
    }

    .nav-links a {
        display: block;
        padding: 15px 25px;
        text-align: center;
        font-size: 1.1rem;
        color: #333;
        border-radius: 10px;
        transition: all 0.3s ease;
        font-weight: 500;
    }

    .nav-links a:hover {
        background-color: rgba(10, 64, 12, 0.08);
        color: #0A400C;
        transform: translateX(5px);
    }

    .book-counselling {
        margin: 30px auto 20px;
        width: 85%;
        max-width: 220px;
        text-align: center;
        padding: 14px 25px;
        display: block;
        border-radius: 25px;
        font-weight: 600;
        font-size: 1rem;
    }

    .nav-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        z-index: 999;
    }

    .nav-overlay.active {
        display: block;
    }
}
@media (max-width: 380px) {
    
    .nav-links{
        right: -200%;
    
    }
    .nav-links.active {
        left: 10px;
}
}   


/* General Styling */
body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background: #7d8f6c;
  margin: 0;
  padding: 0;
  color: #222;
}

.internship-section {
  padding: 40px 20px;
  text-align: center;
  max-width: 1200px;
  margin: 0 auto;
}

.internship-section h1 {
  font-size: 3rem;
  font-weight: bold;
  margin-top: 120px;
  color: #ffffff;
}

.internship-category {
  margin-bottom: 50px;
}

.internship-category h3 {
  font-size: 1.6rem;
  margin-bottom: 55px;
  color: #ffffff;
  font-weight: bold;
  text-align: center;
}


.internship-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 25px;
  justify-items: center;
  padding: 0 15px;
}

@media (min-width: 768px) {
  .internship-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }


  .internship-category:first-of-type .internship-grid {
    display: grid;
    grid-template-areas:
      "skills skills"
      "card1 card2";
  }

 
  .internship-category:last-of-type .internship-grid {
    display: grid;
    grid-template-areas:
      "card1 card2"
      "edu edu";
  }

  .internship-category:last-of-type .internship-grid .card:last-child {
    grid-area: edu;
    width: 450px;
    margin: 30px auto 0;
  }

  .internship-category:last-of-type .internship-grid .card:nth-child(1) {
    grid-area: card1;
  }

  .internship-category:last-of-type .internship-grid .card:nth-child(2) {
    grid-area: card2;
  }

  .internship-category:first-of-type .internship-grid .card:nth-child(3) {
    grid-area: skills;
    width: 450px;
    margin: 0 auto 30px;
  }

  .internship-category:first-of-type .internship-grid .card:nth-child(1) {
    grid-area: card1;
  }

  .internship-category:first-of-type .internship-grid .card:nth-child(2) {
    grid-area: card2;
  }
}


@media (max-width: 767px) {
  .internship-grid {
    grid-template-columns: 1fr !important;
    grid-template-areas: none !important;
  }
  
  .internship-category:first-of-type .internship-grid .card:nth-child(3),
  .internship-category:last-of-type .internship-grid .card:last-child {
    width: 100%;
    margin: 0 0 25px 0;
  }
}

.card {
  background: #f3f0dc;
  padding: 25px;
  border-radius: 15px;
  width: 100%;
  max-width: 100%;
  box-shadow: 0px 4px 6px rgba(0,0,0,0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
}

@media (min-width: 768px) {
  .card {
    max-width: 450px;
  }
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0px 6px 12px rgba(0,0,0,0.2);
}

.card i {
  font-size: 2rem;
  color: #0f3c12;
  margin-bottom: 12px;
}

.card h4 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: #0f2c12;
  font-weight: bold;
}

.card p {
  font-size: 0.95rem;
  line-height: 1.5;
  color: #333;
}

/* Responsive */
@media (max-width: 767px) {
  .internship-grid {
    grid-template-columns: 1fr;
  }
  .card {
    max-width: 100%;
  }
  .internship-section h2 {
    font-size: 1.6rem;
  }
  .internship-category h3 {
    font-size: 1.3rem;
  }
}

@media (min-width: 768px) and (max-width: 1026px) {
  .card {
    max-width: 90%;
  }
}

@media (min-width: 1027px) {
  .card {
    max-width: 450px;
  }
}


                                               /* Footer section */

.custom-footer {
    background-color: #020202;
    color: #fff;
    padding: 60px 0 0 0;
    left: 0;
    bottom: 0;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    margin-bottom: -10px;
    z-index: 999;
    box-sizing: border-box;
    
}

.footer-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

.footer-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: space-between;
}

.footer-about, .footer-services, .footer-contact {
    flex: 1 1 250px;
    min-width: 220px;
}

.footer-brand {
    display: flex;
    align-items: center;
    margin-bottom: 16px;
}

.footer-icon {
    font-size: 2rem;
    margin-right: 10px;
}

.footer-title {
    font-size: 1.3rem;
    font-weight: bold;
    margin: 0;
}

.footer-doctor {
    color: #bbb;
    font-size: 0.95rem;
    margin: 0;
}

.footer-quote {
    color: #bbb;
    margin-bottom: 12px;
}

.footer-desc {
    color: #bbb;
    margin-bottom: 20px;
}


.footer-heading {
    font-weight: bold;
    margin-bottom: 16px;
    margin-top: 0px;
    font-size: 1.1rem;
}

.footer-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-list li {
    color: #bbb;
    font-size: 0.98rem;
    margin-bottom: 8px;
}

.footer-contact-list p {
    color: #bbb;
    font-size: 0.98rem;
    margin-bottom: 8px;
}

.footer-bottom {
    border-top: 1px solid #444;
    margin-top: 40px;
    padding: 24px 0 16px 0;
    text-align: center;
    color: #bbb;
    font-size: 0.95rem;
}
.footer-logo
{
    height: 48px;           
    width: auto;
    display: inline-block;
    vertical-align: middle;
    margin-right: 12px;     
}

/* Social Links */
.social-links {
    display: flex;
    gap: 20px;
    margin-top: 20px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #0A400C;
    color: #FEFAE0;
    text-decoration: none;
    transition: all 0.4s ease;
    box-shadow: 0 3px 10px rgba(10, 64, 12, 0.2);
}

.social-links a:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(10, 64, 12, 0.4);
    background: #126b15;
}

.social-links i {
    font-size: 20px;
}