/* ============================================
     Hero Section - Material 3
  ============================================ */
.hero {
    position: relative;
    width: 100%;
    height: 100vh; /* Reduced from 100vh to 70vh */
    min-height: 370px; /* Reduced from 400px */
    max-height: 700px; /* Reduced from 800px */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: rgba(2, 3, 27, 0.9);
    overflow: hidden;
    margin: 0 0 20px 0;
}

.hero-carousel {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-item {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
    object-fit: contain;
}
.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit:fill;
    z-index: 0;
}

.carousel-item.active {
    opacity: 1;
    z-index: 1;
}

.carousel-item video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.carousel-item.active video {
    opacity: 1;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
/* background-color: rgba(255, 255, 255, 0.3); */
    padding: 32px 48px;
    border-radius: var(--m3-shape-large);
    max-width: min(600px, 90%); /* Responsive max-width */
    width: 90%;
    }
  
  .carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
color: rgba(255, 255, 255, 0.7);
    border: none;
    padding: 16px;
    cursor: pointer;
    font-size: 24px;
    border-radius: 50%;
    transition: all 0.3s ease;
    z-index: 2;
  }
  
  .carousel-control:hover {
    color: rgba(255, 255, 255, 0.9);
  }
  
  .prev {
    left: 20px;
   background-color: rgba(255, 255, 255, 0.7);
  }
  
  .next {
    right: 20px;
  background-color: rgba(255, 255, 255, 0.7);
  }
  
  .carousel-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 2;
  }
  
  .indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--m3-primary);
    cursor: pointer;
    transition: all 0.3s ease;
  }
  
  .indicator.active {
    background: var(--m3-tertiary);
    /* transform: scale(1.2); */
  }
  
  .hero h1 {
    font-size: 36px;
    margin-bottom: 10px;
    animation: fadeInUp 1s ease-out;
    color: var(--m3-primary);
    line-height: 1.2;
}

.hero p {
    font-size: clamp(14px, 3vw, 18px); /* Responsive font size */
    padding: clamp(8px, 2vw, 10px);
    padding-bottom: clamp(20px, 4vw, 30px);
    animation: fadeInUp 1s ease-out 0.3s backwards;
    color: var(--m3-on-surface);
    }
  
  .hero button {
    height: 50px;
    min-width: 120px;
    border: none;
    border-radius: var(--m3-shape-small);
    text-align: center;
    background-color: var(--m3-primary);
    color: white;
    animation: fadeInUp 1s ease-out 0.6s backwards;
    font-weight: 500;
    cursor: pointer;
    box-shadow: var(--m3-shadow-1);
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    }


/* Responsive Breakpoints */
@media (max-aspect-ratio: 16/9) {
    .hero {
        height: 53vw; /* Reduced from 56.25vw */
    }
}

@media (max-aspect-ratio: 4/3) {
    .hero {
        height: 60vw; /* Reduced from 75vw */
    }
}

@media (max-width: 768px) {
    .hero {
        height: 60vh; /* Reduced from 80vh */
        min-height: 300px; /* Reduced from 350px */
    }
}

@media (max-width: 480px) {
    .hero {
        height: 55vh; /* Reduced from 70vh */
        min-height: 280px; /* Reduced from 300px */
    }
}

/* For ultra-wide screens */
@media (min-aspect-ratio: 21/9) {
    .hero {
        height: 35vw; /* Reduced from 42.86vw */
    }
}

/* For landscape mobile devices */
@media (max-width: 768px) and (orientation: landscape) {
    .hero {
        height: 90vh; /* Reduced from 100vh */
        min-height: 280px; /* Reduced from 300px */
    }
}

/* Add media queries to maintain consistent size across all devices */
@media (max-width: 1200px) {
  .hero {
    height: 480px;
  }
}

@media (max-width: 900px) {
  .hero {
    height: 480px;
  }
  
  .hero-content {
    padding: 24px;
    width: 95%;
  }
  
  .hero h1 {
    font-size: 32px;
  }
  
  .hero p {
    font-size: 16px;
    padding-bottom: 20px;
  }
}

@media (max-width: 600px) {
  .hero {
    height: 480px; /* Maintain same height on small screens */
  }
  
  .hero-content {
    padding: 20px;
    width: 90%;
  }
  
  .hero h1 {
    font-size: 28px;
  }
  
  .hero p {
    font-size: 14px;
    padding-bottom: 16px;
  }
  
  .hero button {
    height: 40px;
    min-width: 100px;
    font-size: 14px;
  }
}

/* Enhanced Responsive Design Fixes */
@media (max-width: 768px) {
  /* Hero section fixes */
  .hero {
    height: 400px;
    min-height: 400px;
  }
  
  .hero-content {
    width: 90%;
    padding: 20px;
  }
  
  
}


@media (max-width: 480px) {
  /* Further mobile optimizations */
  .hero {
    height: 350px;
    min-height: 350px;
  }
  
  .hero-content {
    padding: 15px;
  }
  
  .hero h1 {
    font-size: 24px;
    margin-bottom: 8px;
  }
  
  .hero p {
    font-size: 14px;
    padding-bottom: 15px;
  }
  
  .message-image {
    height: 180px;
  }
  
  .message-content h3 {
    font-size: 1.1rem;
  }
  
  .message-content h4 {
    font-size: 0.9rem;
  }
  
  .message-text {
    font-size: 0.85rem;
    line-height: 1.4;
  }
  
  /* Adjust controls for better mobile interaction */
  .message-nav-btn {
    width: 32px;
    height: 32px;
    font-size: 1rem;
  }
  
  .message-controls {
    bottom: 8px;
  }
  
  .message-indicator {
    width: 8px;
    height: 8px;
  }
  
  /* Stats section adjustments */
  .stats .stat-card {
    margin: 5px;
  }
  
  .stats .stat-number {
    font-size: 2.2rem;
  }
}

/* Fix for iPhone SE and other small devices */
@media (max-width: 375px) {
  .hero {
    height: 320px;
    min-height: 320px;
  }
  
  .message-image {
    height: 160px;
  }
  
  .message-content {
    padding: 12px 10px;
  }
  
  .message-content h3 {
    font-size: 1rem;
  }
  
  .message-content h4 {
    font-size: 0.8rem;
    margin-bottom: 8px;
  }
  
  .message-text {
    font-size: 0.8rem;
    line-height: 1.3;
  }
}
  
  /* ============================================
     Caption Card - Material 3
  ============================================ */
  .caption-card {
    position: static;
    max-height: 50px !important;
    /* margin: 24px auto; */
    background: var(--m3-primary-container);
    color: var(--m3-on-primary-container);
    padding: 15px 25px; 
    text-align: center;
    width: 100%;
    max-width: 12000px;
    box-shadow: var(--m3-shadow-2);
    /* animation: fadeInSlideUp 1.2s ease-out 0.5s backwards; */
  }
  
  #caption-titlej,
  #caption-text {
    /* transition: 0.3s ease-in-out; */
    font-size: 1rem;
  }
  
  #caption-titlej {
    font-size: 1.5rem;
    font-weight: 500;
    margin: 0 0 8px;
  }
  
  /* ============================================
     Notices / Vision / Mission Section - Material 3
  ============================================ */
  .noticesvisionmission {
    display: flex;
    background-color: var(--m3-surface);
    padding: 32px 34px 0 32px;
    gap: 32px;
    max-width: 100%;
    /* margin: 0 auto; */
    align-items: stretch;
    overflow: hidden;
  }
  
  .notices {
    flex: 0.9;
    height: 520px;
    min-width: 490px;
    max-width: 680px; /* Added max-width for better proportions */
    overflow: hidden;
    padding-top: 85px;
  }
  
  .notice-board {
    height: 100%;
    min-height: 520px;
    max-height: 580px;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    padding: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: #ffffff;
    position: relative;
    border: 2px solid #e0e0e0;
  }
  
  .notice-board::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: transparent;
    border-radius: 20px;
    pointer-events: none;
  }
  
  .notice-title {
    font-size: 1.5rem;
    color: var(--m3-on-surface-variant) !important;
    font-weight: 500;
    margin: 0;
    padding: 20px 24px 14px 24px;
    text-align: center;
    position: relative;
    z-index: 10;
    text-shadow: none;
    letter-spacing: 0.5px;
    display: block;
    visibility: visible;
    opacity: 1;
    background-color: rgba(255,255,255,0.98);
    text-transform: uppercase;
  }
  
  .notice-title::after {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--m3-on-surface);
    border-radius: 2px;
  }
  
  .date-time {
    color: #666666;
    font-size: 0.9rem;
    text-align: center;
    margin: 0 0 20px 0;
    padding: 0 24px;
    position: relative;
    z-index: 2;
    font-weight: 500;
  }
  
  .notice-tabs {
    display: none; /* Hide tabs since we only have one type */
  }
  
  .notices-wrapper {
    flex: 1;
    overflow: hidden;
    padding: 0 24px 24px 24px;
    position: relative;
    z-index: 2;
    background:#f3efe8;
  }

  /* Notice container styling */
  .notices-content {
    display: flex;
    flex-direction: column;
    gap: 16px;
    height: 320px;
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 12px;
    position: relative;
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: rgba(26, 54, 93, 0.3) transparent;
  }

  /* Hide scrollbar but keep functionality */
  .notices-content::-webkit-scrollbar {
    width: 4px;
  }

  .notices-content::-webkit-scrollbar-track {
    background: transparent;
  }

  .notices-content::-webkit-scrollbar-thumb {
    background: rgba(26, 54, 93, 0.3);
    border-radius: 2px;
  }

  .notices-content::-webkit-scrollbar-thumb:hover {
    background: rgba(26, 54, 93, 0.5);
  }
  
  .notice {
    padding: 12px;
    background: var(--index);
    border-radius: 8px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid #e0e0e0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    margin-bottom: 8px;
    min-height: 92px;
  }
  
  .notice::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--m3-on-surface-variant);
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  }
  
  .notice:hover {
    transform: translateY(-2px);
    background: #fafafa;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
    border-color: var(--m3-on-surface-variant);
  }
  
  .notice:hover::before {
    width: 6px;
    background: var(--m3-on-surface-variant);
  }
  
  .notice-date {
    display: inline-block;
    font-size: 0.75rem;
    color: #6c757d;
    margin-bottom: 8px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: rgba(108, 117, 125, 0.1);
    padding: 2px 6px;
    border-radius: 12px;
    border: 1px solid rgba(108, 117, 125, 0.2);
  }
  
  .notice-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--m3-on-surface-variant);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
    gap: 12px;
    line-height: 1.5;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    margin-top: 4px;
  }

  .notice-title-text {
    flex: 1;
    color: #212121;
    font-weight: 500;
    font-size: 1.1rem;
    line-height: 1.5;
    text-align: left;
    word-wrap: break-word;
    overflow-wrap: break-word;
    max-width: calc(100% - 50px);
    transition: color 0.3s ease;
  }
  
  .notice-link:hover {
    color: #1565c0;
    transform: translateX(2px);
  }
  
  .notice-link:hover .notice-title-text {
    color: #1565c0;
  }
  
  .notice-icon {
    font-size: 18px;
    opacity: 0.7;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    color: #1976d2;
    background: rgba(25, 118, 210, 0.1);
    border-radius: 50%;
    padding: 8px;
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
  }
  
  .notice:hover .notice-icon {
    opacity: 1;
    transform: translateX(4px);
    background: rgba(25, 118, 210, 0.15);
    color: #1565c0;
  }
  
  .load-more-btn {
    position: absolute;
    bottom: 16px;
    left: 20px;
    right: 20px;
    padding: 12px 16px;
    background: #1976d2;
    color: #ffffff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.875rem;
    box-shadow: 0 2px 4px rgba(25, 118, 210, 0.3);
  }
  
  .load-more-btn:hover {
    background: #1565c0;
    box-shadow: 0 4px 8px rgba(25, 118, 210, 0.4);
    transform: translateY(-1px);
  }
  
  .load-more-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(25, 118, 210, 0.3);
  }
  
  /* Custom scrollbar for notices */
  .notices-content::-webkit-scrollbar {
    width: 8px;
  }
  
  .notices-content::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.05);
    border-radius: 3px;
  }
  
  .notices-content::-webkit-scrollbar-thumb {
    background: rgba(26, 54, 93, 0.3);
    border-radius: 3px;
    transition: background 0.3s ease;
  }
  
  .notices-content::-webkit-scrollbar-thumb:hover {
    background: rgba(26, 54, 93, 0.5);
  }
  
  .loading {
    text-align: center;
    padding: 40px 20px;
    color: #666666;
    font-size: 1rem;
    font-weight: 500;
  }
  
  /* Enhanced animation for smooth scrolling effect */
  @keyframes smoothFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-3px); }
  }
  
  .notice:nth-child(odd) {
    animation: smoothFloat 6s ease-in-out infinite;
    animation-delay: 0s;
  }
  
  .notice:nth-child(even) {
    animation: smoothFloat 6s ease-in-out infinite;
    animation-delay: 3s;
  }
  
  .vision {
    flex: 2;
    padding: 0;
  }
  
  .vision h1 {
    font-size: 2rem;
    color: var(--m3-primary);
    text-align: center;
    margin-bottom: 24px;
    position: relative;
    padding-bottom: 16px;
  }
  .containervision{
    display: flex;
    flex-direction: column;
   
   font-size: 1rem;
    max-width: 100%;
    /* margin: 0 auto; */
  }
  .vision h1::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--m3-tertiary);
    transition: width 0.3s ease;
  }
  
  .vision h1:hover::after {
    width: 140px;
  }
  
  .content {
    opacity: 1;
    transform: translateY(20px);
    transition: all 0.4s ease;
    padding: 0 32px 0 0;
    margin-bottom: 24px;
  }
  
  .content h2 {
    color: var(--m3-primary);
    font-size: 1.6rem;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 12px;
  }
  
  .content h2::before {
    content: '•';
    color: var(--m3-tertiary);
    font-size: 1.8rem;
  }
  
  .content p, .content li {
    color: var(--m3-on-surface-variant);
    line-height: 1.8;
    transition: all 0.3s ease;
    position: relative;
    padding-left: 24px;
  }
  
  .content li {
    margin-bottom: 12px;
  }
  
  .content li::before {
    content: '°';
    position: absolute;
    left: 0;
    color: var(--m3-tertiary);
    transition: transform 0.3s ease;
  }
  
  .content li:hover {
    color: var(--m3-primary);
    transform: translateX(8px);
  }
  
  .content li:hover::before {
    color: var(--m3-primary);
  }
  
  @media (max-width: 768px) {
    .noticesvisionmission {
      flex-direction: column;
      padding: 15px;
    }
  
    .vision h1 {
      font-size: 1.8rem;
    }
  
    .content {
      padding: 0 16px;
    }
  
    .notices {
      max-width: 100%;
      width: 100%;
      padding-top: 20px;
    }
    
    .notice-board {
      min-height: 400px;
      max-height: 450px;
      border-radius: 16px;
    }
    
    .notice-title {
      font-size: 1.5rem;
      padding: 20px 20px 12px 20px;
      color: #1a365d !important;
      font-weight: 700;
      display: block;
      visibility: visible;
      opacity: 1;
    }
    
    .date-time {
      padding: 0 20px;
      margin-bottom: 16px;
    }
    
    .notices-wrapper {
      padding: 0 20px 20px 20px;
    }
    
    .notices-content {
      height: 250px;
    }
    
    .notice {
      padding: 14px;
    }
    
    .notice-link {
      font-size: 0.95rem;
    }
    
    .load-more-btn {
      bottom: 16px;
      left: 20px;
      right: 20px;
    }

    .vision {
      width: 100%;
    }

    .vision-mission-container {
      margin-top: 10px;
    }

    .vm-box {
      flex-direction: column;
    }

    /* Fix for message carousel */
    .message-carousel {
      height: auto;
      max-width: 100%;
      overflow: hidden;
      display: block;
    }
    
    .message-slide {
      flex-direction: column;
      height: auto;
      min-height: 100%;
      position: relative;
    }
    
    .message-image,
    .message-content {
      width: 100%;
    }
    
    .message-image {
      height: 180px;
    }
    
    .message-image img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }
    
    .message-content {
      padding: 15px;
      height: auto;
    }
  }

  @media (max-width: 480px) {
    .message-slide {
      min-height: 450px;
    }
    
    .message-image {
      height: 150px;
    }
    
    .message-controls {
      bottom: 10px;
    }
    
    .message-nav-btn {
      width: 30px;
      height: 30px;
      font-size: 1rem;
    }
  
    .containervision {
      padding: 0;
    }
  }
  
  
  /* ============================================
     Features Section - Material 3
  ============================================ */
  .features {
    padding: 48px 24px;
    /* background: var(--m3-surface); */
    overflow: hidden;
    margin: 10px;
  }
  .features h2 {
    text-align: center;
    font-size: 2.25rem;
    color: var(--m3-primary);
    margin-bottom: 48px;
    font-weight: 500;
  } 
    .features-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    max-width: auto;
    margin: 0 auto;
  }
    .feature-card {
    /* background: var(--m3-surface-container); */
    padding: 20px;
    border-radius: var(--m3-shape-large);
    box-shadow: var(--m3-shadow-1);
    transition: all 0.5s ease-out;
    cursor: pointer;
    position: relative;
    flex: 1 1 100px;
    max-width: auto;
    min-height: 150px;
  }
  
  .feature-card.left {
    transform: translateX(-100%);
  }
  
  .feature-card.right {
    transform: translateX(100%);
  }
  
  .feature-card.visible {
    opacity: 1;
    transform: translateX(0);
  }
  
  .feature-card.reset {
    opacity: 0;
    transform: translateX(-100%);
  }
  
  .feature-card.right.reset {
    transform: translateX(100%);
  }
  
  .feature-card:hover {
    transform: scale(1.03);
    box-shadow: var(--m3-shadow-3);
    background-color: var(--m3-primary);
    color: var(--m3-on-primary-container);
  }
  
  .feature-icon {
    width: 56px;
    height: 56px;
    background: var(--m3-primary);
    border-radius: 16px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    box-shadow: var(--m3-shadow-1);
  }
  
  .feature-card:hover .feature-icon {
    background: var(--m3-tertiary);
    transform: scale(1.1);
  }
  
  .feature-card h3 {
    margin-top: 0;
    margin-bottom: 12px;
    font-weight: 500;
    font-size: 1.25rem;
    color: var(--m3-primary);
  }
  
  .feature-card:hover h3 {
    color: var(--m3-on-primary-container);
  }
  
  /* ============================================
     About Section - Material 3
  ============================================ */
  .about-section {
    padding: clamp(32px, 5vw, 64px);
    background: var(--m3-surface);
    border-radius: var(--m3-shape-large);
    margin: clamp(16px, 3vw, 24px);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 200px;
    align-items: center;
    max-width: auto;
    margin:auto;
}

.about-text h2 {
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    color: var(--m3-primary);
    margin-bottom: clamp(16px, 3vw, 24px);
    font-weight: 500;
    line-height: 1.2;
}

.about-text p {
    /* margin-bottom: clamp(12px, 2vw, 16px); */
    line-height: 1.5;
    color: var(--m3-on-surface);
    font-size: clamp(0.9rem, 1vw, 1.2rem);
}

.about-image {
    position: relative;
    border-radius: var(--m3-shape-large);
    overflow: hidden;
    aspect-ratio: 16/9;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--m3-shape-large);
    box-shadow: var(--m3-shadow-3);
    transition: transform 0.5s ease;
}

.about-image:hover img {
    transform: scale(1.02);
}

@media (max-width: 992px) {
    .about-section {
        padding: clamp(20px, 3vw, 32px);
    }
    
    .about-grid {
        gap: clamp(20px, 3vw, 32px);
        
    }
    
    .about-text h2 {
        font-size: clamp(1.5rem, 2.5vw, 2rem);
    }
}

@media (max-width: 768px) {
    .about-section {
        padding: clamp(20px, 3vw, 32px);
        /* margin: clamp(12px, 2vw, 16px); */
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .about-text {
        order: 2;
        text-align: center;
    }
    
    .about-image {
        order: 1;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .about-text p {
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .about-section {
        padding: 16px;
        margin: 10px;
    }
    
    .about-grid {
        gap: 20px;
    }
    
    .about-text h2 {
        font-size: 1.5rem;
    }
    
    .about-text p {
        font-size: 0.9rem;
        line-height: 1.5;
    }
    
    .about-image {
        aspect-ratio: 4/3;
    }
}

  
  /* ============================================
     Stats Section - Material 3
  ============================================ */
  .stats {
      background: linear-gradient(180deg, var(--m3-on-surface-variant) 0%, var(--m3-outline) 100%);
      padding: 60px 24px;
      min-height: 200px;
      text-align: center;
      position: relative;
      overflow: hidden;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), 
        url('/static/backparal.png');
      color: white;
      background-size: cover;
      background-position: center 0px;
}

/* Add proper parallax section styling */
.parallax-section {
  background-attachment: fixed;
  background-position: center top;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
  overflow: hidden;
  min-height: 300px;
  padding: 60px 0;
}

/* Ensure the overlay covers the whole section properly */
.parallax-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* background: rgba(0, 0, 0, 0.5); */
  z-index: 1;
}

/* Make sure content is positioned above the overlay */
.parallax-section .stats-container,
.parallax-section .achievement-grid,
.parallax-section .container {
  position: relative;
  z-index: 2;
}

/* Ensure content in parallax sections is positioned correctly */
.stats .stats-container,
.achievements .achievement-grid {
  position: relative;
  z-index: 2;
}

.stats .stats-container {
    width: 100%;
    max-width: 1200px;
}

.stats .stats-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    margin: 0 auto;
}
  
.stats .stat-card {
    flex: 0 1 auto;
    min-width: 200px;
    position: relative;
    transform: translateY(40px);
    opacity: 0;
    animation: floatIn 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
    animation-delay: calc(var(--index) * 0.2s);
    margin: 10px;
    padding: 10px;
}
  
.stats .stat-number {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 12px;
    background: rgb(186, 151, 12);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    position: relative;
}
  
.stats .stat-label {
    font-size: 1.25rem;
    color: var(--m3-on-primary-container);
    font-weight: 500;
    position: relative;
    margin-top: 8px;
    opacity: 0.87;
}

@keyframes floatIn {
    0% {
        opacity: 0;
        transform: translateY(40px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}
  
@media (max-width: 768px) {
    .stats {
        padding: 40px 16px;
    }
    
    .stats .stats-grid {
        gap: 20px;
    }

    .stats .stat-card {
        min-width: 140px;
        margin: 5px;
    }
    
    .stats .stat-number {
        font-size: 2.5rem;
    }
    
    .stats .stat-label {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .stats .stats-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .stats .stat-card {
        min-width: 120px;
        margin: 0;
    }
    
    .stats .stat-number {
        font-size: 2.2rem;
    }
    
    .stats .stat-number::after {
        right: -12px;
        font-size: 1.5rem;
    }
    
    .stats .stat-label {
        font-size: 0.9rem;
    }
}
  
  /* ============================================
     Achievements Section - Material 3
  ============================================ */
  /* .achievements {
    padding: 64px 24px;
    margin-top: 24px;
    position: relative;
    color: var(--m3-on-primary);
    background-image:  
      url('/static/backparal.png');
    background-size: cover;
    background-position: center 0;
  }

  .achievements .achievement-grid {
    position: relative;
    z-index: 2;
  }

  .achievement-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin:0 auto;
  }
  
  .achievement-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 32px 24px;
    border-radius: var(--m3-shape-medium);
    backdrop-filter: blur(10px);
    transition: all 0.3s;
    text-align: center;
  
    border: 1px solid rgba(255, 255, 255, 0.2);
  }
  
  .achievement-card:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: var(--m3-shadow-3);
  }
  
  .achievement-icon {
    font-size: 3rem;
    margin-bottom: 16px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  }
  
  .achievement-card h3 {
    font-size: 1.5rem;
    margin-top: 0;
    margin-bottom: 12px;
    font-weight: 500;
  }
  
  .achievement-card p {
    opacity: 0.9;
    margin: 0;
  }


  @media (max-width: 768px) {
    .achievements {
      background-attachment: scroll !important;
    }
    
    .parallax-section {
      background-attachment: scroll !important;
    }
  }
   */
  /* ============================================
     Campus Life Section - Material 3
  ============================================ */
  .campus-life {
    padding: 64px 24px;
    background: var(--m3-surface);
  }
  
  .campus-life h2 {
    text-align: center;
    font-size: 2.25rem;
    color: var(--m3-primary);
    margin-bottom: 48px;
    font-weight: 500;
  }
  
  .campus-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
    max-width: 1200px;
    margin: 0 auto;
  }
  
  .campus-card {
   
    position: relative;
    height: 400px;
    border-radius: var(--m3-shape-medium);
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.5s, box-shadow 0.5s;
  }
  
  .campus-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--m3-shadow-4);
  }
  
  .campus-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
  }
  
  .campus-card:hover img {
    transform: scale(1.05);
  }
  
  .campus-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    padding: 32px;
    color: white;
    transform: translateY(150px);
    transition: transform 0.5s;
  }
  
  .campus-card:hover .campus-overlay {
    transform: translateY(0);
  }
  
  .campus-overlay h3 {
    font-size: 1.5rem;
    margin-top: 0;
    margin-bottom: 8px;
    font-weight: 500;
  }
  
  .campus-overlay p {
    margin: 0;
    opacity: 0;
    transition: opacity 0.5s;
  }
  
  .campus-card:hover .campus-overlay p {
    opacity: 1;
  }
  
  /* ============================================
     Publications & Magazines Section - Material 3
============================================ */
.publications-magazines { 
  display: flex;
  /* padding: 40px 0;   */
  background-color: var(--m3-surface);
}
.publications-magazines h2 {
  font-size: 2.25rem;  
  color: var(--m3-primary);
  margin-bottom: 24px;  
  text-align: center;
}

.publications-magazines .container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px; 
  width: 100%;
}



.publications-content {
  display: flex;
  flex-direction: row;
  gap: 30px;
  align-items: flex-start;
}


.ugc-section {
  flex: 1;
  min-width: 250px;  
}

.ugc-row {
  display: flex;
  justify-content: center;
  gap: 20px; 
  margin-bottom: 20px; 
  flex-wrap: wrap;
}

.col-sm-4 {
  flex: 1 1 250px;  
  max-width: auto;  
  min-width: 220px;  
}

/* --- UGC Sponsored Centers & Magazine Section Custom Styles --- */
.ugcsponsoredbox {
  background: var(--m3-surface-container-high, #f8f8f8);
  border-radius: 8px;
  box-shadow: var(--m3-shadow-1, 0 1px 3px rgba(0,0,0,0.1));
  padding: 10px;  /* Reduced from 12px */
  margin-bottom: 12px;  /* Reduced from 16px */
  position: relative;
  transition: all 0.2s ease;
  min-height: 200px;  /* Reduced from 240px */
  display: flex;
  flex-direction: column;
  align-items: center;
}

.ugcsponsoredbox:hover {
  box-shadow: var(--m3-shadow-2, 0 3px 6px rgba(0,0,0,0.15));
  transform: translateY(-2px);
}

.ugcsponsoredboximg {
  width: 100%;
  max-width: 80px;  /* Reduced from 100px */
  margin: 0 auto 6px auto;  /* Reduced from 8px */
  border-radius: 4px;
  overflow: hidden;
}

.ugcsponsoredboximg img {
  width: 100%;
  height: 60px;  /* Reduced from 75px */
  object-fit: cover;
}

.ugcsponsoredboxcont {
  text-align: center;
  margin-top: 8px;
}

.ugcsponsoredboxcont h5 {
  font-size: 1rem;
  color: var(--m3-primary, #1a365d);
  margin-bottom: 4px;
  font-weight: 500;
}

.ugcsponsoredboxcont .textgray13light {
  color: var(--m3-on-surface-variant, #555);
  font-size: 0.85rem;
}

.ugcmorebtnarea {
  position: absolute;
  top: 8px;
  right: 8px;
}

.ugcmorebtn {
  background: var(--m3-primary, #1a365d);
  color: white;
  border: none;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.2s;
  line-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ugcmorebtn:hover {
  background: var(--m3-primary-container, #2c4c7c);
}

.magazine-section {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.magazine-cover {
  position: relative;
  width: 180px;
  height: 240px;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: var(--m3-shadow-1, 0 1px 3px rgba(0,0,0,0.1));
  margin: 0 auto 8px auto;
  background: var(--m3-surface, #fff);
  transition: all 0.2s ease;
}

.magazine-cover:hover {
  box-shadow: var(--m3-shadow-2, 0 3px 6px rgba(0,0,0,0.15));
  transform: translateY(-2px);
}

.magazineimg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.magazine-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(0deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0) 100%);
  color: white;
  padding: 12px 8px 8px 8px;
  text-align: center;
}

.magazine-overlay h3 {
  font-size: 0.95rem;
  margin: 0 0 2px 0;
  font-weight: 500;
}

.magazine-overlay p {
  font-size: 0.8rem;
  margin: 0 0 4px 0;
  opacity: 0.9;
}

.magazine-overlay .view-text {
  font-size: 0.8rem;
  background: white;
  color: var(--m3-primary, #1a365d);
  padding: 2px 8px;
  border-radius: 4px;
  display: inline-block;
}

.magazine-cover:hover .view-text {
  background: var(--m3-primary, #1a365d);
  color: white;
}

/* Publications & Magazines Section Specific Styles */
.publications-magazines {
  background: var(--m3-surface);
}

.publications-magazines .container {
  max-width: 1900px;
  margin: 0 auto;
  padding: 0 20px;
}

.publications-magazines .testimonial-carousel {
  height: 300px; /* Adjusted height for recruiter images */
  background: var(--m3-surface-container);
}

.publications-magazines .testimonial-slide img {
  /* padding: 20px; */
  object-fit: fill;
  background: white;
  height: 100%;
  width: 100%;
}

/* Responsive adjustments for publications-magazines */
@media (max-width: 992px) {
  .publications-magazines .testimonial-carousel {
    height: 250px;
  }
}

@media (max-width: 768px) {
  .publications-magazines .ugc-centers-container {
    flex-direction: column;
  }
  
  .publications-magazines .testimonial-carousel-container {
    margin-bottom: 20px;
    max-width: 100% !important;
  }
  
  .publications-magazines .testimonial-carousel {
    height: 220px;
  }
}

@media (max-width: 480px) {
  .publications-magazines .testimonial-carousel {
    height: 180px;
  }
}

/* Navigation dots */
.testimonial-dot {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 5;
}

.testimonial-dot span {
  width: 8px;
  height: 8px;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s;
}

.testimonial-dot span.active {
  background: var(--m3-primary);
  transform: scale(1.2);
}

/* Testimonial Carousel Styles */
.testimonial-dot {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 5;
}

.testimonial-dot span {
  width: 8px;
  height: 8px;
  background: rgb(49, 31, 3);
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s;
}

.testimonial-dot span.active {
  background: white;
  transform: scale(1.2);
}

/* Responsive styles for testimonial carousel */
@media (max-width: 768px) {
  .testimonial-carousel-container {
    object-fit: fill;
    height: 300px;
  }
}

@media (max-width: 480px) {
  .testimonial-carousel-container {
    object-fit: fill;
    height: 250px;
  }
}
/* Responsive adjustments */
@media (max-width: 768px) {
  .testimonial-slide img {
    /* transform: scale(1.3);
    object-position: center 15%; */
    object-fit: fill;
  }
}

@media (max-width: 480px) {
  .testimonial-slide img {
    object-fit:fill;
  }
}

/* ============================================
     Keyframes
  ============================================ */
  @keyframes fadeInUp {
    from {
      opacity: 0;
      transform: translateY(20px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  @keyframes fadeInSlideUp {
    from {
      opacity: 0;
      transform: translateY(20px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  /* (For notices, we’re using a slightly different fadeIn) */
  @keyframes fadeIn {
    from {
      opacity: 0;
      transform: translateY(10px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  @keyframes scrollNotices {
    0% {
      transform: translateY(100%);
    }
    100% {
      transform: translateY(-100%);
    }
  }
  
  @keyframes borderAnimation {
    0% {
      border-color: #db3434;
    }
    50% {
      border-color: #e7e73c;
    }
    100% {
      border-color: #3b2600;
    }
  }
  
  @keyframes float {
    0% {
      transform: translateY(0);
    }
    50% {
      transform: translateY(-10px);
    }
    100% {
      transform: translateY(0);
    }
  }
  
  @keyframes glow {
    0% {
      box-shadow: 0 0 5px rgba(26, 54, 93, 0.5);
    }
    50% {
      box-shadow: 0 0 20px rgba(26, 54, 93, 0.8);
    }
    100% {
      box-shadow: 0 0 5px rgba(26, 54, 93, 0.5);
    }
  }
  
 
/* Vision Mission Container Styles */
.vision-mission-container {
  display: flex;
  flex-direction: column;
  /* gap: 15px; */
  margin-top: 15px;
}

/* Vision Mission Content Styles - Landscape orientation */
.vision-mission-content {
  width: 100%;
}

.vm-box {
  display: flex;
  background: #f9f5ea;
  border-radius: 8px;
  padding: 12px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  /* gap: 20px; */
  min-height: 110px;
}

.expandable-content {
  position: relative;
}

.expandable-content p {
  font-size: 0.9rem; /* Increased from 0.8rem */
  margin: 0 0 5px 0;
  line-height: 1.3; /* Increased from 1.2 */
}

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

.mission-list li {
  margin-bottom: 4px;
  padding-left: 12px;
  position: relative;
  font-size: 0.9rem; /* Increased from 0.8rem */
  line-height: 1.3; /* Increased from 1.2 */
}

.expanded-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
  margin-top: 6px;
}

.expanded-content.show {
  max-height: 200px;
}

.expand-btn {
  background: var(--m3-primary);
  color: white;
  border: none;
  padding: 2px 5px;
  border-radius: 3px;
  margin-top: 5px;
  cursor: pointer;
  font-weight: bold;
  font-size: 0.7rem;
  transition: background 0.3s;
  display: block;
}

.expand-btn:hover {
  background: var(--m3-on-surface);
}

/* Leadership Photos Carousel - Improved Design */
.message-carousel {
  position: relative;
  overflow: hidden;
  height: 280px;
  margin-top: 20px;
  border-radius: 18px;
  box-shadow: var(--m3-shadow-3);
  background-color: #fff;
  max-width: 100%;
}

.message-slides {
  position: relative;
  height: 100%;
}

.message-slide {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
  border-radius: 18px;
  overflow: hidden;
  display: flex;
}

.message-slide.active {
  opacity: 1;
  z-index: 1;
}

.message-image {
  width: 30%;
  height: 100%;
  overflow: hidden;
  background: #f5f5f5;
  display: flex;
  align-items: center;
  justify-content: center;
}

.message-image img {
  width: 90%;
  height: 90%;
  object-fit: fill;
  /* border-radius: 50%; */
  border: 4px solid var(--m3-primary-container);
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  margin: 0 auto;
  max-width: 180px;
  max-height: 180px;
  transition: transform 0.5s ease;
}

.message-content {
  width: 100%;
  /* padding: 25px; */
  display: flex;
  flex-direction: column;
  justify-content: center;
  background-color: #fff;
  position: relative;
  margin-left: 15px;
}
.message-text {
  font-size: 0.7rem;
  line-height: 1.5;
  color: var(--m3-on-surface);
}

.message-content h3 {
  font-size: 1.1rem;
  margin: 0;
  padding: 0;
  color: var(--m3-primary);
}
.message-content h4 {
  font-size: 0.9rem;
  margin: 0;
  padding: 0;
  color: var(--m3-on-surface-variant);

}
.message-content pre {
  margin: 0;
  padding: 0;
  color: var(--m3-on-surface-variant);
}
/* Controls for message carousel */
.message-controls {
  display: flex;
  justify-content: center;
  gap: 8px;
  position: absolute;
  bottom: 10px;
  left: 0;
  right: 0;
  z-index: 5;
}

.message-indicator {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(139, 69, 19, 0.3);
  cursor: pointer;
  transition: all 0.3s;
}

.message-indicator.active {
  background: var(--m3-primary);
  transform: scale(1.2);
}

/* Auto-rotate carousel */
@keyframes carousel-rotate {
  0%, 45% { opacity: 1; }
  50%, 95% { opacity: 0; }
  100% { opacity: 1; }
}

.message-slide:nth-child(1) {
  animation: carousel-rotate 10s infinite;
}

.message-slide:nth-child(2) {
  animation: carousel-rotate 10s infinite 5s;
}

/* Responsive styles for message carousel - Fixed for all devices */
@media (max-width: 768px) {
  .message-carousel {
    height: auto !important;
    min-height: 480px !important;
    max-height: 520px !important;
    width: 100% !important;
    /* margin: 20px auto !important; */
  }
  
  .message-slide {
    flex-direction:row !important;
    position: relative !important;
    display: none !important;
    opacity: 1 !important;
    height: auto !important;
    min-height: 450px !important;
  }
  
  .message-slide.active {
    display: flex !important;
  }
  
  .message-image, 
  .message-content {
   
    width: 100% !important;
  }
  
  .message-image {
    height: 10px !important;
    padding: 130px 0 130px 0 !important;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .message-image img {
    width: 180px !important;
    height: 180px !important;
   
    object-fit: cover !important;
    margin: 0 auto !important;
  }
  
  .message-content {
    padding: 20px !important;
    height: auto !important;
    overflow-y: visible !important;
  }
  
  .message-content h3 {
    font-size: 1rem !important;
    text-align: center !important;
  }
  
  .message-content h4 {
    font-size: 0.7rem !important;
    text-align: center !important;
  }
  
  .message-text {
    font-size: 0.6rem !important;
    line-height: 1.5 !important;
    /* text-align: center !important; */
  }

  /* Disable animations on mobile for better performance */
  .message-slide {
    animation: none !important;
  }
}

@media (max-width: 480px) {
  .message-carousel {
    min-height: 450px !important;
    max-height: 500px !important;
  }
  
  .message-image {
    height: 200px !important;
  }
  
  .message-image img {
    width: 160px !important;
    height: 160px !important;
  }
}

@media (max-width: 375px) {
  .message-carousel {
    min-height: 420px !important;
    max-height: 480px !important;
  }
  
  .message-image {
    height: 180px !important;
  }
  
  .message-image img {
    width: 140px !important;
    height: 140px !important;
  }
}

/* Fix for general website overflow issues on mobile */
html, body {
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
}

/* Fix for publications section on mobile */
@media (max-width: 768px) {
  .publications-magazines .container {
    width: 100%;
    padding: 0 15px;
    box-sizing: border-box;
   
  }
  
  .ugc-centers-container {
    width: 100%;
    margin: 0;
    padding: 0;
  }
  
  .ugcsponsoredbox {
    width: 100%;
    margin: 10px 0;
    box-sizing: border-box;
    flex-direction: column;
  }
  
  .ugcsponsoredboximg {
    height: 400px;
    width: 100%;
    margin: 0 auto;
     object-fit: contain;
  }
}
.toprightarea {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 10;
}

.topsmallmenu {
  font-size: 0.85rem;
  margin-bottom: 10px;
}

.topsmallmenu a {
  color: var(--m3-primary);
  text-decoration: none;
  transition: color 0.2s;
}

.topsmallmenu a:hover {
  text-decoration: underline;
  color: var(--m3-tertiary);
}

.loginarea {
  background-color: rgba(255, 255, 255, 0.9);
  border-radius: 6px;
  padding: 5px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.nopaddingarea1 {
  display: flex;
  align-items: stretch;
}

.nopadding1 {
  position: relative;
}

.loginbtn {
  background-color: var(--m3-primary);
  color: white;
  border: none;
  border-radius: 4px;
  padding: 6px 12px;
  font-size: 0.9rem;
  cursor: pointer;
  height: 100%;
}

.loginbtn:hover {
  background-color: var(--m3-primary-dark);
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: white;
  min-width: 160px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  border-radius: 4px;
  z-index: 1000;
  padding: 8px 0;
}

.dropdown-menu li {
  list-style: none;
}

.dropdown-menu li a {
  color: #333;
  text-decoration: none;
  display: block;
  padding: 8px 16px;
  transition: background-color 0.2s;
}

.dropdown-menu li a:hover {
  background-color: #f5f5f5;
}

.nopadding1:hover .dropdown-menu {
  display: block;
}

.searchfield {
  border: 1px solid #ddd;
  border-radius: 4px 0 0 4px;
  padding: 6px 10px;
  width: 180px;
  font-size: 0.9rem;
}

.searchbtn {
  background-color: var(--m3-secondary);
  color: white;
  border: none;
  border-radius: 0 4px 4px 0;
  padding: 7px 10px;
  cursor: pointer;
}

.searchbtn:hover {
  background-color: var(--m3-secondary-dark);
}

.input-group {
  display: flex;
}

@media (max-width: 768px) {
  .toprightarea {
    position: relative;
    top: 0;
    right: 0;
    width: 100%;
    margin-bottom: 10px;
    align-items: center;
  }
  
  .topsmallmenu {
    margin-bottom: 8px;
  }
  
  .searchfield {
    width: 150px;
  }
}

/* Testimonials and Recruiters Section Styles */
.publications-magazines {
  padding: 60px 0;
  background: var(--m3-surface);
}

.publications-magazines .container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

.section-title {
  text-align: center;
  color: var(--m3-primary);
  font-size: 2.25rem;
  margin-bottom: 40px;
  position: relative;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: var(--m3-tertiary);
  transition: width 0.3s ease;
}

.testimonial-carousel-container {
  position: relative;
  border-radius: var(--m3-shape-large);
  overflow: hidden;
  box-shadow: var(--m3-shadow-3);
  background: var(--m3-surface-container);
  margin-bottom: 30px;
}

.testimonial-carousel {
  position: relative;
  width: 100%;
  height: 400px;
  overflow: hidden;
}

.testimonial-slide {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
  display: none;
}

.testimonial-slide.active {
  opacity: 1;
  display: block;
}

.testimonial-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: var(--m3-shape-large);
}

.testimonial-dot {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 2;
}

.testimonial-dot span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--m3-surface-container-highest);
  cursor: pointer;
  transition: all 0.3s ease;
}

.testimonial-dot span.active {
  background: var(--m3-primary);
  transform: scale(1.2);
}

/* Responsive Design */
@media (max-width: 992px) {
  .testimonial-carousel {
    height: 350px;
  }
}

@media (max-width: 768px) {
  .ugc-centers-container {
    flex-direction: column;
  }
  
  .testimonial-carousel-container {
    max-width: 100% !important;
  }
  
  .testimonial-carousel {
    height: 300px;
  }
}

@media (max-width: 480px) {
  .testimonial-carousel {
    height: 250px;
  }
  
  .section-title {
    font-size: 1.8rem;
  }
}

/* Animation for carousel transition */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.fade-in {
  animation: fadeIn 0.5s ease-in-out;
}