/* Reset and base styles */

@font-face {
  font-family: 'MyCustomFont';
  src: url('../font/noto.woff2') format('truetype');
  font-weight: 400; 
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'MyCustomFontBold';
  src: url('../font/noto.woff2') format('truetype'); 
  font-weight: 700; 
  font-style: normal;
  font-display: swap;
}

.font {
  font-family: MyCustomFont, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Oxygen-Sans, Ubuntu, Cantarell, 
       Helvetica Neue, sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: MyCustomFont, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Oxygen-Sans, Ubuntu, Cantarell, 
       Helvetica Neue, sans-serif;
  }
  
  :root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --secondary: #f8fafc;
    --text: #1a1a1a;
    --text-light: #4b5563;
    --background: #ffffff;
    --card-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
  }
  
  body {
    height: 100%;
    width: 100%;
    font-family: 'Segoe UI', system-ui, sans-serif;
    line-height: 1.6;
    color: var(--text);
    background: var(--background);
    overflow-x: hidden;
  }
  
  .font{
    font-family: 'MyCustomFont', Arial, sans-serif;
  }
  /* Header Styles */
  .header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 2rem;
    z-index: 1000;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  }
    
  .header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }



  
  /* Logo Styles */
  .logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: var(--text);
    font-weight: 600;
    font-size: 1.25rem;
  }
  
  .logo img {
    transform: scale(1.2);
    height: 70px;
    width: auto;
  }
  
  /* Navigation Styles */
  .nav {
    display: flex;
    gap: 2rem;
    align-items: center;
  }
  
  .nav-link {
    text-decoration: none;
    color: #000 !important;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
  }
  
  .nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: #ff8400;
    transition: width 0.3s ease;
  }
  
  .nav-link:hover {
    color: var(--primary);
  }
  
 
  
  .nav-link.active {
    color: var(--primary) !important;
  }
  
  .mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
  }
  
  .mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text);
    margin: 5px 0;
    transition: all 0.3s ease;
  }

  
  /* CTA Button */
  .cta-button {
    background: var(--primary);
    color: white;
    padding: 0.5rem 1.25rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
  }
  
  .cta-button:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
  }
  
  /* Mobile Menu Button */
 
  
  /* Responsive Design */
  @media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }
  
    .nav {
        position: fixed;
        top: 100px;
        left: 0;
        right: 0;
        background: var(--background);
        padding: 2rem;
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
        /* transform: translateY(-100%); */
        opacity: 0;
        transition: all 0.3s ease;
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    }
  
    .nav.active {
        transform: translateY(0);
        opacity: 1;
    }
    .nav-link{
            display: block;
            padding: 15px;
            text-decoration: none;
            color: #333;
    }
  
    .mobile-menu-btn.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
  
    .mobile-menu-btn.active span:nth-child(2) {
        opacity: 0;
    }
  
    .mobile-menu-btn.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }
  }
  
  /* Animation for header items */
  @keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
  }
  
  .header-container > * {
    animation: fadeInDown 0.5s ease forwards;
  }
  
  .nav > * {
    opacity: 0;
    animation: fadeInDown 0.5s ease forwards;
  }
  
  .nav > *:nth-child(1) { animation-delay: 0.1s; }
  .nav > *:nth-child(2) { animation-delay: 0.2s; }
  .nav > *:nth-child(3) { animation-delay: 0.3s; }
  .nav > *:nth-child(4) { animation-delay: 0.4s; }
  
  
  /* MD Profile Section */
  .md-section {
    padding: 6rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
  }
  
  .md-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    align-items: center;
  }
  
  @media (min-width: 768px) {
    .md-grid {
        grid-template-columns: repeat(2, 1fr);
    }
  }
  
  .md-image-wrapper {
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
  }
  
  .md-image-wrapper:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  }
  
  .md-image {
    /* width: 100%; */
    height: 70%;
    display: block;
  }



.md-image {
    max-width: 100%; /* Ensures the image scales properly */
    max-height: 100%; /* Keeps image within the wrapper */
    object-fit: contain; /* Ensures the whole image is visible */
}

  
  .md-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    padding: 2rem 1.5rem 1.5rem;
  }
  
  .md-name {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
  }
  
  .md-role {
    opacity: 0.9;
    font-size: 1.1rem;
  }
  
  .md-content {
    opacity: 1; /* Start visible */
    transform: translateX(0); /* Start in position */
  }
  
  .section-badge {
    display: inline-block;
    background: var(--primary);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 2rem;
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
  }
  
  .section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    line-height: 1.2;
  }
  
  .md-text {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    opacity: 1; /* Ensure visibility */
  }
  
  
  /* School Overview Section */
  .overview-section {
    padding: 6rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
  }
  
  .section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    text-align: center;
  }
  
  .overview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
  }
  
  .overview-card {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
  }
  
  .overview-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  }
  
  .overview-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
  }
  
  
  /* Card Styles */
  .member-card {
      flex: 0 0 calc(33.333% - 40px);
      margin: 0 20px;
      background: #ffffff;
      border-radius: 16px;
      box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
      overflow: hidden;
      opacity: 0;
      transform: translateY(20px);
      animation: slideIn 0.5s forwards;
      transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  
  .member-card:hover {
      transform: translateY(-5px);
      box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
  }
  
  @keyframes slideIn {
      to {
          opacity: 1;
          transform: translateY(0);
      }
  }
  
  
  /* Navigation Buttons */
  .slider-nav {
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      width: 48px;
      height: 48px;
      border-radius: 50%;
      background: #ffffff;
      border: 2px solid #e2e8f0;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: all 0.3s ease;
      z-index: 10;
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  }
  
  .slider-nav:hover {
      background: #f8fafc;
      border-color: #3b82f6;
      transform: translateY(-50%) scale(1.1);
  }
  
  .slider-nav:active {
      transform: translateY(-50%) scale(0.95);
  }
  
  .slider-nav.hidden {
      opacity: 0;
      pointer-events: none;
      visibility: hidden;
  }
  
  .slider-prev {
      left: 0;
  }
  
  .slider-next {
      right: 0;
  }
  
  .nav-icon {
      width: 24px;
      height: 24px;
      fill: none;
      stroke: currentColor;
      stroke-width: 2;
      stroke-linecap: round;
      stroke-linejoin: round;
  }
  
  /* Progress Indicator */
  .slider-progress {
      display: flex;
      justify-content: center;
      gap: 8px;
      margin-top: 24px;
  }
  
  .progress-dot {
      width: 8px;
      height: 8px;
      border-radius: 50%;
      background: #e2e8f0;
      transition: all 0.3s ease;
      cursor: pointer;
  }
  
  .progress-dot.active {
      background: #3b82f6;
      transform: scale(1.2);
  }
  
  /* Responsive Design */
  @media (max-width: 1024px) {
      .member-card {
          flex: 0 0 calc(50% - 40px);
      }
      
      .slider-wrapper {
          padding: 0 50px;
      }
  }
  
  @media (max-width: 640px) {
      .member-card {
          flex: 0 0 calc(100% - 40px);
      }
      
      .slider-wrapper {
          padding: 0 40px;
      }
  
      .slider-heading {
          font-size: 28px;
          margin-bottom: 30px;
      }
  
      .slider-nav {
          width: 40px;
          height: 40px;
      }
  
      .member-name {
          font-size: 20px;
      }
  
      .member-position {
          font-size: 16px;
      }
  }
  
  .carousel-wrapper {
    max-width: 1200px;
    margin: 40px auto;
    position: relative;
    padding: 0 20px;
  }
  
  .carousel-container {
    overflow: hidden;
    position: relative;
    padding: 20px 0;
  }
  
  .carousel-track {
    display: flex;
    gap: 24px;
    transition: transform 0.5s ease-in-out;
  }
  
  .carousel-item {
    flex: 0 0 calc(33.333% - 16px);
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    opacity: 0;
    transform: translateY(20px);
    animation: slideUp 0.6s forwards;
  }
  
  @keyframes slideUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
  }
  
  .item-image-container {
    position: relative;
    padding-top: 75%;
    overflow: hidden;
    background: #f8f9fa;
  }
  
  .item-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
  }
  
  .carousel-item:hover .item-image {
    transform: scale(1.08);
  }
  
  .item-content {
    padding: 24px;
  }
  
  .item-title {
    font-size: 20px;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 8px;
  }
  
  .item-subtitle {
    color: #3182ce;
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 16px;
  }
  
  .item-details {
    margin-bottom: 20px;
  }
  
  .item-details p {
    color: #4a5568;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 8px;
  }
  
  .item-contact {
    padding-top: 20px;
    border-top: 1px solid #e2e8f0;
  }
  
  .contact-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    color: #4a5568;
    font-size: 14px;
  }
  
  .contact-row a {
    color: #3182ce;
    text-decoration: none;
    transition: color 0.2s;
  }
  
  .contact-row a:hover {
    color: #2c5282;
  }
  
  .item-id {
    display: inline-block;
    padding: 6px 12px;
    background: #edf2f7;
    border-radius: 20px;
    font-size: 13px;
    color: #4a5568;
    font-weight: 500;
  }
  
  .nav-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: white;
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
  }
  
  .nav-button:hover {
    background: #f7fafc;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transform: translateY(-50%) scale(1.05);
  }
  
  .nav-button:disabled {
    opacity: 0;
    cursor: default;
    pointer-events: none;
  }
  
  .nav-prev {
    left: -10px;
  }
  
  .nav-next {
    right: -10px;
  }
  
  .nav-icon {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
  }
  
  @media (max-width: 1024px) {
    .carousel-item {
        flex: 0 0 calc(50% - 12px);
    }
  }
  
  @media (max-width: 640px) {
    .carousel-item {
        flex: 0 0 100%;
    }
  }
  
  @media (max-width: 640px) {
    .expert-card {
        min-width: calc(100% - 1rem);
    }
  }
  
  /*  Footer For this css */
  
  .footer {
    background: linear-gradient(to bottom, var(--secondary), #ffffff);
    padding: 0 0 0 0;
    color: var(--text);
  }
  
  .footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
  }
  
  .footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 4rem;
  }
  
  .footer-column h3 {
    color: var(--text);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    position: relative;
  }
  
  .footer-column h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -0.5rem;
    width: 2rem;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
  }
  
  .footer-column:hover h3::after {
    width: 3rem;
  }
  
  .footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
  }
  
  .footer-links li a {
    color: var(--text-light);
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
  }
  
  .footer-links li a:hover {
    color: var(--primary);
    transform: translateX(5px);
  }
  
  .footer-contact-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }
  
  .contact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-light);
  }
  
  .contact-item a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s ease;
  }
  
  .contact-item a:hover {
    color: var(--primary);
  }
  
  .social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
  }
  
  .social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text);
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.1);
  }
  
  .social-link:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-3px);
  }
  
  .footer-bottom {
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    padding: 1.5rem 0;
    text-align: center;
    background: white;
  }
  
  .footer-bottom p {
    color: var(--text-light);
    font-size: 0.875rem;
  }
  
  .footer-bottom a {
    color: var(--primary);
    text-decoration: none;
  }
  
  .footer-bottom a:hover {
    text-decoration: underline;
  }
  
  .newsletter-form {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
  }
  
  .newsletter-input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 0.5rem;
    outline: none;
    transition: all 0.3s ease;
  }
  
  .newsletter-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.1);
  }
  
  .newsletter-button {
    padding: 0.75rem 1.5rem;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
  }
  
  .newsletter-button:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
  }
  
  @media (max-width: 768px) {
    .footer {
        padding: 0 0 0 0;
    }
  
    .footer-grid {
        gap: 2rem;
    }
  
    .newsletter-form {
        flex-direction: column;
    }
  
    .newsletter-button {
        width: 100%;
    }
  }