/* ✅ Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body, html {
  overflow-x: hidden;
  background: #f4f4f4;
  min-height: 100vh;
}

/* ✅ Navbar */
.navbar {
  width: 100%;
  background: #0d1b2a;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 40px;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
  box-shadow: 0 3px 10px rgba(0,0,0,0.3);
  height: 70px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav-links a {
  color: #fff;
  text-decoration: none;
  font-size: 17px;
  position: relative;
  transition: 0.3s;
  font-family: Georgia, 'Times New Roman', Times, serif;
}

.nav-links a::after {
  content: "";
  position: absolute;
  width: 0%;
  height: 2px;
  left: 0;
  bottom: -5px;
  background: #ffcc00;
  transition: 0.3s;
}

.nav-links a:hover::after {
  width: 100%;
}

/* ✅ Right icons */
.right-icons a {
  color: #fff;
  font-size: 22px;
  margin-left: 15px;
  transition: 0.3s;
}

.right-icons a:hover {
  color: #ffcc00;
}

/* ✅ Dropdown */
.dropdown {
  position: relative;
}
.dropdown-toggle {
  cursor: pointer;
  display: flex;
  align-items: center;
}
.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #0c0b0b;
  min-width: 200px;
  border-radius: 6px;
  z-index: 1000;
  flex-direction: column;
}
.dropdown-menu a {
  padding: 10px 15px;
  color: #eee;
  text-decoration: none;
  display: block;
}
.dropdown-menu a:hover {
  background: #201d1d;
}
@media (min-width: 768px) {
  .dropdown:hover .dropdown-menu {
    display: block;
  }
}

/* ✅ Mobile Navbar */
@media (max-width: 992px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    background: #0d1b2a;
    flex-direction: column;
    width: 100%;
    padding: 15px 0;
    z-index: 10000;
  }
  .nav-links.show {
    display: flex;
  }
  .menu-toggle {
    display: block;
    font-size: 22px;
    cursor: pointer;
    margin-right: auto;
    order: -1;
  }
  .right-icons {
    margin-left: auto;
  }
}
@media (min-width: 993px) {
  .menu-toggle {
    display: none;
  }
}

/* ✅ Content spacing */
.content {
  margin-top: 80px;
  padding: 40px;
  text-align: center;
}



    /*---------------------------------------- profile section -------------------------------------------------*/
    
       
    .section-container {
      display: flex;
      flex-wrap: wrap;
      align-items: flex-start;
      max-width: 1600px;
      margin: 50px auto;
      padding: 30px;
      background: linear-gradient(to right, #f3f1ee, #d5ded8);
      border-radius: 12px;
      box-shadow: 0 5px 15px rgba(0,0,0,0.1);
      line-height: 1.7;
      font-weight: bold;
    }
    
    /* Left Image */
    .left-image {
      flex: 1;
      min-width: 300px;
      text-align: center;
    }
    
    .left-image img {
      width: 100%;
      max-width: 350px;
      border-radius: 12px;
      box-shadow: 0 4px 12px rgba(0,0,0,0.3);
      margin-top: 50px;
    }
    
    /* Right Content */
    .right-content {
      flex: 2;
      min-width: 300px;
     padding: 20px;
    }
    
    /* Heading + Link */
    .heading-link {
      display: flex;
      justify-content: space-between;
      align-items: center;
      flex-wrap: wrap;
      margin-bottom: 20px;
    }
    
    .heading-link h1 {
      font-size: 36px;
      color: #c08807;
      margin: 0;
    }
    
    .heading-link a {
      font-size: 18px;
      font-weight: bold;
      color: #20475a;
      text-decoration: none;
      border-bottom: 3px solid #20475a;
      line-height: 1;
      padding-bottom: 0;
      margin-bottom: 0;
      display: inline-block;
      transition: color 0.3s;
      font-family: Georgia, 'Times New Roman', Times, serif;
    }
    
    .heading-link a:hover {
      color: #1a2493;
    }
    
    /* Info Grid */
    .info-grid {
      display: flex;
      flex-direction: column;
      gap: 12px;
      
    }
    
    .info-row {
      display: flex;
      flex-wrap: wrap;
      font-size: 18px;
      border-bottom: 1px dashed #bbb;
      padding-bottom: 8px;
    }
    
    .label {
      width: 200px;
      font-weight: bold;
      color: #20475a;
      font-size: 20px;
      font-family: Georgia, 'Times New Roman', Times, serif;
    }
    
    .detail {
      flex: 1;
      color: #333;
      font-size: 18px;
      font-family: Georgia, 'Times New Roman', Times, serif;
    }
    
    /* Mobile Responsive */
    @media (max-width: 768px) {
      .section-container {
        flex-direction: column;
        text-align: center;
      }
    
      .heading-link {
        flex-direction: column;
        gap: 10px;
      }
    
      .info-row {
        flex-direction: column;
        text-align: left;
      }
    
      .label, .detail {
        width: 100%;
      }
    }
    
    .designation-section {
      background: linear-gradient(to right, #f4f2ed,#fff);
      padding: 30px;
      max-width: 1600px;
      margin: 0 auto 50px;
      border-radius: 12px;
      box-shadow: 0 5px 15px rgba(0,0,0,0.1);
      font-family: Georgia, serif;
      text-align: center;
      font-weight: bold;
    }
    
    .designation-section h2 {
      font-size: 32px;
      color: #8c4605;
      margin-bottom: 20px;
      font-family: Georgia, 'Times New Roman', Times, serif;
    }
    
    .designation-list {
      display: inline-block;
      text-align: left;
      list-style: disc;
      margin: 0 auto;
      padding-left: 20px;
      max-width: 800px;
      font-size: 18px;
      color: #333;
      
    }
    
    .designation-list li {
      margin-bottom: 12px;
      line-height: 1.7;
      font-family: Georgia, 'Times New Roman', Times, serif;
    }
    
    .designation-list li strong {
      color: #20475a;
      font-family: Georgia, 'Times New Roman', Times, serif;
      font-size: 20px;
    }
    
    .designation-section {
      background-color: #f9f9f9; /* same light bg */
      padding: 30px;
      text-align: center;
      font-family: Arial, sans-serif;
      color: #333; /* blackish font */
  }
  
  .designation-section h2 {
      font-size: 28px;
      color: #222;
      margin-bottom: 25px;
  }
  
  .designation-content {
      max-width: 900px;
      margin: 0 auto;
      text-align: left;
  }
  
  .designation-content p {
      font-size: 18px;
      color: #444;
      line-height: 1.6;
      margin-bottom: 15px;
  }

  .designation-section {
    background-color: #f9f9f9;
    padding: 30px;
    text-align: center;
    font-family: Arial, sans-serif;
    color: #333;
}

.designation-section h2 {
    font-size: 28px;
    color: #222;
    margin-bottom: 25px;
}

.designation-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: left;
}

.designation-content p {
    font-size: 19px;
    color: #444;
    line-height: 1.6;
    margin-bottom: 15px;
}

     /*----------------------------------------- footer------------------------------------------------------- */
    
     .footer-section {
      width: 100%;
      background: #eaeaea;
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 15px 10%;
      font-family: "Roboto", "Open Sans", sans-serif;
      font-size: 16px;
      color: #333;
      }
      
      .footer-section a {
      text-decoration: none;
      color: #007bff;
      font-weight: 500;
      }
      
      @media (max-width: 768px) {
          .footer-section {
            flex-direction: column;
            text-align: center;
            gap: 8px;
            padding: 15px;
          }
        }




        .section-container, 
.designation-section {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s ease-in-out;
}

.section-container.visible, 
.designation-section.visible {
  opacity: 1;
  transform: translateY(0px);
}

        