/* Reset and Base Styling */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #f0f8ff; /* Light blue tone */
  background-repeat: repeat;
  background-size: contain;
  color: #333;
  line-height: 1.6;
  font-size: 16px;
}

/* Clean Main Wrapper */
.main-wrapper {
  background: #fff;
  box-shadow: 0 8px 20px rgba(0, 100, 0, 0.1);
  border: 1px solid #d0e7d2;
  border-radius: 12px;
  position: relative;
  z-index: 2;
}

/* Clean Container */

/* Responsive Enhancements */
@media (max-width: 768px) {
  body {
    font-size: 15px;
  }

  .main-wrapper {
    border-radius: 8px;
  }
}


/* ===== Header Styles ===== */
.college-header {
  font-family: 'Segoe UI', Tahoma, sans-serif;
  background: #004080;
  color: #fff;
  width: 100%;
}

/* Top Bar */
.header-top {
  background: #003366;
  display: flex;
  justify-content: space-between;
  padding: 8px 20px;
  font-size: 14px;
  align-items: center;
  flex-wrap: wrap;
}

.announcement a {
  color: #00c3ff;
  text-decoration: none;
}

.social-links a {
  color: #fff;
  margin-left: 12px;
  transition: 0.3s;
}

.social-links a:hover {
  color: #00c3ff;
}

/* Header Container */
.header-container {
  max-width: 1200px;
  margin: auto;
  padding: 15px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  position: relative;
}

/* Header Left Section */
.header-left {
  display: flex;
  align-items: center;
  gap: 15px;
  flex: 1;
  flex-wrap: wrap;
}

/* Logo Style */
.logo {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #00c2ff;
  box-shadow: 0 0 8px rgba(0, 195, 255, 0.4);
}
.logo-link {
    -webkit-tap-highlight-color: transparent; /* Remove blue tap highlight on iOS/Android */
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
}

.logo-link:visited,
.logo-link:focus,
.logo-link:active,
.logo-link:hover {
  color: inherit;
  text-decoration: none;
}

/* College Name & Address */
.college-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0; /* prevent overflow */
}

.college-info h1 {
  font-size: 32px;
  margin: 0;
  font-weight: 600;
  color: #fff;
  line-height: 1.2;
}

.college-info p {
  font-size: 14px;
  color: #d9eaf7;
  margin: 0;
  white-space: normal;
  word-wrap: break-word;
}

/* Right Contact Info */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: right;
  font-size: 14px;
}

.info-item {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #f0f8ff;
}

.info-item i {
  color: #00c3ff;
}

/* Toggle Button */
.menu-toggle {
  background: none;
  border: none;
  color: #fff;
  font-size: 22px;
  display: none;
  cursor: pointer;
  position: absolute;
  top: 20px;
  right: 20px;
}

/* ===== Nav Bar ===== */
.main-nav {
  background: #002752;
}

.main-nav ul {
  display: flex;
  justify-content: center;
  padding: 0;
  list-style: none;
  flex-wrap: wrap;
  margin: 0;
}

.main-nav li {
  margin: 0 15px;
}

.main-nav a {
  display: block;
  padding: 14px 10px;
  color: #fff;
  font-weight: 500;
  text-transform: uppercase;
  text-decoration: none;
  letter-spacing: 0.5px;
}

.main-nav a:hover {
  color: #00c3ff;
}

/* Divider */
.divider {
  height: 4px;
  background: linear-gradient(to right, #0077b6, #00c2ff);
  border: none;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .header-container {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding: 15px 15px;
  }

  .header-left {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 12px;
    width: 100%;
  }

  .logo {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
  }

  .college-info {
    flex: 1;
    min-width: 0; /* allow text wrapping */
  }

  .college-info h1 {
    font-size: 18px;
    margin: 0;
    line-height: 1.3;
    text-align: left;
  }

  .college-info p {
    font-size: 12px;
    margin-top: 2px;
    color: #d9eaf7;
    line-height: 1.4;
    white-space: normal;
    word-wrap: break-word;
    text-align: left;
  }

  .contact-info {
    width: 100%;
    margin-top: 10px;
    text-align: center;
    font-size: 12px;
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
  }

  .menu-toggle {
    display: block;
    position: absolute;
    top: 18px;
    right: 20px;
  }

  .main-nav ul {
    flex-direction: column;
    display: none;
    background: #002752;
    width: 100%;
  }

  .main-nav ul.show {
    display: flex;
  }

  .main-nav li {
    margin: 5px 0;
    width: 100%;
    text-align: center;
  }
}


  
.site-footer {
  background: #002244;
  color: #ffffff;
  padding: 40px 20px 10px;
  font-family: 'Segoe UI', sans-serif;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
  max-width: 1200px;
  margin: auto;
}

.footer-container h3,
.footer-container h4 {
  color: #ffffff;
  margin-bottom: 15px;
}

.footer-left, .footer-middle, .footer-right {
  flex: 1 1 250px;
}

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

.footer-middle ul li {
  margin-bottom: 8px;
}

.footer-middle ul li a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-middle ul li a:hover {
  color: #00bfff;
}

.footer-right p {
  margin: 6px 0;
  display: flex;
  align-items: center;
}

.footer-right i {
  margin-right: 10px;
  color: #00bfff;
}

.footer-bottom {
  text-align: center;
  margin-top: 30px;
  font-size: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 10px;
  color: #aaa;
}

/* Play Store Badge Styling */


.playstore-badge img {
  width: 200px;
  transition: transform 0.3s ease;
  border-radius: 8px;
}


/* Responsive */
@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    text-align: center;
  }

  .playstore-badge {
    text-align: center;
  }
}

.modern-slider-wrapper {
  max-width: 100%;
  margin: 0 auto;
  position: relative;
  font-family: 'Segoe UI', sans-serif;
}

.modern-slider {
  position: relative;
  overflow: hidden;
  border: 4px solid #004080;
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.1);
}

.slide-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
  width: 100%;
}

.slide-img {
  width: 100%;
  height: 100%;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}


/* Navigation Arrows */
.nav-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.4);
  border: none;
  color: #fff;
  font-size: 28px;
  padding: 10px 14px;
  cursor: pointer;
  border-radius: 50%;
  z-index: 10;
  transition: background 0.3s;
}

.nav-arrow:hover {
  background: rgba(0, 0, 0, 0.7);
}

.prev {
  left: 20px;
}

.next {
  right: 20px;
}

/* Dot Indicators */
.slider-dots {
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 5;
}

.slider-dots span {
  height: 12px;
  width: 12px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.3s;
  cursor: pointer;
}

.slider-dots span.active {
  background-color: #004080;
}

/* Tablet */
@media (max-width: 992px) {
  .slide-img {
    height: 400px;
  }

  .nav-arrow {
    font-size: 24px;
    padding: 8px 12px;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .slide-img {
    height: 280px;
  }

  .nav-arrow {
    font-size: 20px;
    padding: 6px 10px;
  }

  .slider-dots span {
    height: 10px;
    width: 10px;
  }
}

/* Small Devices */
@media (max-width: 480px) {
  .slide-img {
    height: 200px;
  }

  .nav-arrow {
    font-size: 18px;
    padding: 5px 9px;
  }
}

.notice-bar {
  background: linear-gradient(to right, #004080, #0077b6);
  color: #fff;
  display: flex;
  align-items: center;
  padding: 12px 20px;
  font-family: 'Segoe UI', sans-serif;
  overflow: hidden;
  box-shadow: 0 3px 6px rgba(0,0,0,0.1);
  flex-wrap: nowrap;
}

.notice-title {
  font-weight: bold;
  margin-right: 15px;
  font-size: 16px;
  white-space: nowrap;
}

.notice-title i {
  margin-right: 5px;
  color: #ffdd57;
}

.notice-scroll {
  flex: 1;
  overflow: hidden;
  position: relative;
  min-width: 0;
}

.notice-content {
  display: inline-block;
  white-space: nowrap;
  padding-left: 100%;
  animation: scroll-left 20s linear infinite;
  text-decoration: none;
}

.notice-content a {
  color: white;
  text-decoration: none;
}

.notice-content a:hover {
  text-decoration: underline; /* Optional: underline on hover */
}


.notice-scroll:hover .notice-content {
  animation-play-state: paused;
}

@keyframes scroll-left {
  0% { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}

/* ✅ Responsive Update */
@media (max-width: 600px) {
  .notice-bar {
    flex-direction: row; /* 👈 Keep horizontal even on mobile */
    flex-wrap: nowrap;
  }

  .notice-title {
    font-size: 14px;
    margin-right: 10px;
  }

  .notice-content {
    font-size: 13px;
  }
}

  
.college-about-section {
  padding: 20px 20px;
  background: #f8fbff;
  font-family: 'Segoe UI', sans-serif;
}

.college-about-container {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  gap: 40px;
  margin: auto;
  flex-wrap: wrap;
}

.college-about-image-wrapper,
.college-about-content {
  flex: 1;
  min-width: 300px;
  height: 500px; /* Ensures 1:1 height for both */
}

.college-about-image-wrapper img {
  width: 100%;
  height: 100%;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.college-about-content {
  padding: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.college-about-content h2 {
  font-size: 32px;
  color: #003366;
  margin-bottom: 15px;
  font-weight: 700;
}

.college-about-text {
  font-size: 16px;
  color: #333;
  line-height: 1.7;
  margin: 0;
  flex-grow: 1;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 10;
  -webkit-box-orient: vertical;
}

.see-more-inline {
  display: inline;
  color: #0056b3;
  font-weight: 600;
  text-decoration: none;
  margin-left: 5px;
}

.see-more-inline:hover {
  text-decoration: underline;
}

@media (max-width: 768px) {
  .college-about-section {
    padding: 20px 10px; /* Less padding for small screens */
  }

  .college-about-container {
    flex-direction: column;
    gap: 10px; /* reduce gap between image and content */
  }

  .college-about-image-wrapper,
  .college-about-content {
    height: auto;
        padding: 20px 10px; /* Less padding for small screens */
  }

  .college-about-text {
    -webkit-line-clamp: unset;
    display: block;
  }
}

  
 .principal-desk {
  padding: 20px;
  background: #f7fafd;
  font-family: 'Segoe UI', sans-serif;
  display: flex;
  justify-content: center;
}

.desk-card-modern {
  max-width: auto;
  width: 100%;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
  overflow: hidden;
}

.desk-header {
  background: #004080;
  color: #fff;
  padding: 20px 30px;
  border-top-left-radius: 16px;
  border-top-right-radius: 16px;
}

.desk-header h2 {
  margin: 0;
  font-size: 24px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.desk-body {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  padding: 30px;
  align-items: center;
}

.desk-image {
  flex: 1;
  text-align: center;
}

.desk-image img {
  width: 180px;
  height: 180px;
  object-fit: cover;
  border-radius: 50%;
  border: 5px solid #004080;
  box-shadow: 0 8px 18px rgba(0,0,0,0.1);
}

.desk-image h4 {
  margin-top: 15px;
  font-size: 20px;
  color: #004080;
}

.desk-image p {
  font-size: 14px;
  color: #555;
  margin-top: 5px;
}

.desk-message {
  flex: 2;
  font-size: 16px;
  color: #333;
  line-height: 1.8;
}

.desk-message p {
  margin-bottom: 15px;
}

/* ✅ Responsive Fix for Mobile */
@media (max-width: 768px) {
  .principal-desk {
    padding: 20px 15px; /* reduced side spacing */
  }

  .desk-body {
    flex-direction: column;
    text-align: center;
    padding: 20px 15px; /* reduced padding */
    gap: 20px; /* less vertical space */
  }

  .desk-message {
    font-size: 15px;
  }

  .desk-header {
    padding: 15px 20px;
  }

  .desk-header h2 {
    font-size: 20px;
  }

  .desk-image img {
    width: 150px;
    height: 150px;
  }
}


  
  .modern-section {
    padding: 20px 20px;
    text-align: center;
    background: linear-gradient(145deg, #fff, #f1f1f1);
    border-bottom: 1px solid #ddd;
  }
  
  .modern-section h2 {
    font-size: 32px;
    color: #1e3a8a;
    margin-bottom: 20px;
  }
  
  .modern-section i {
    color: #16a34a;
    margin-right: 10px;
  }
  
  .modern-section p {
    font-size: 18px;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
  }
  
  .reasons {
    list-style: none;
    padding: 0;
    margin-top: 30px;
  }
  
  .reasons li {
    font-size: 18px;
    margin: 10px 0;
  }
  
  .reasons i {
    margin-right: 10px;
    color: #2563eb;
  }
  
  .info-row {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 60px 20px;
    flex-wrap: wrap;
    font-family: 'Segoe UI', sans-serif;
  }
  
  .info-box {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
    flex: 1;
    min-width: 280px;
    max-height: 360px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
  }
  
  /* Header styles */
  .info-header {
    padding: 15px 20px;
    color: #fff;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
  }
  
  .announcement-header { background: #004080; }
  .links-header { background: #0077b6; }
  .others-header { background: #009688; }
  
  .info-header h3 {
    margin: 0;
    font-size: 18px;
    display: flex;
    align-items: center;
    gap: 8px;
  }
  
  /* ========== ANNOUNCEMENTS ========== */
  .scroll-wrapper {
    flex: 1;
    overflow: hidden;
    position: relative;
  }
  
  .scroll-list {
    list-style: none;
    padding: 0;
    margin: 0;
    animation: scrollUp 15s linear infinite;
  }
  
  .scroll-wrapper:hover .scroll-list {
    animation-play-state: paused;
  }
  
  @keyframes scrollUp {
    0%   { transform: translateY(100%); }
    100% { transform: translateY(-100%); }
  }
  
  .announcement-item {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    border-bottom: 1px solid #eee;
  }
  
  .date-box {
    background: #004080;
    color: white;
    padding: 6px 10px;
    border-radius: 6px;
    margin-right: 15px;
    text-align: center;
    min-width: 60px;
  }
  
  .date-box .day {
    font-size: 18px;
    font-weight: bold;
    line-height: 1;
  }
  
  .date-box .month {
    font-size: 10px;
    line-height: 1;
  }
  
  .announcement-text a, .announcement-text {
    color: #004080;
    text-decoration: none;
    font-size: 14px;
    line-height: 1.4;
  }
  
  .new-badge {
    background: red;
    color: white;
    font-size: 10px;
    padding: 3px 6px;
    border-radius: 4px;
    margin-left: 10px;
    animation: blink 1.5s linear infinite;
  }
  
  @keyframes blink {
    50% { opacity: 0; }
  }
  
  /* ========== LINKS ========== */
  .info-box ul {
    list-style: none;
    padding: 15px 20px;
    margin: 0;
    overflow-y: auto;
    flex: 1;
  }
  
  .info-box ul li {
    margin-bottom: 12px;
    font-size: 15px;
    border-bottom: 1px dashed #ccc;
    padding-bottom: 8px;
  }
  
  .info-box ul li:last-child {
    border-bottom: none;
  }
  
  .info-box a {
    text-decoration: none;
    color: #004080;
    transition: 0.3s;
  }
  
  .info-box a:hover {
    color: #0077b6;
    text-decoration: underline;
  }
  
  /* Scrollbar style for links */
  .info-box ul::-webkit-scrollbar {
    width: 6px;
  }
  .info-box ul::-webkit-scrollbar-thumb {
    background-color: #bbb;
    border-radius: 4px;
  }
  
  /* Responsive */
  @media (max-width: 768px) {
    .info-row {
      flex-direction: column;
      gap: 30px;
    }
  }
  
  
  
  

/* Courses Section Styling */
.courses-section-modern {
  padding: 20px;
  font-family: 'Segoe UI', sans-serif;
}

.section-title {
  text-align: center;
  font-size: 36px;
  color: #004080;
  margin-bottom: 50px;
  position: relative;
  font-weight: bold;
}

.section-title::after {
  content: '';
  display: block;
  width: 70px;
  height: 4px;
  background: #0077b6;
  margin: 12px auto 0;
  border-radius: 2px;
}

/* Grid Setup */
.courses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
  max-width: auto;
  margin: 0 auto;
}

/* Course Card */
.course-card {
  background: #fff;
  border-radius: 20px;
  padding: 30px 20px;
  text-align: center;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
  transition: 0.4s ease-in-out;
  border-top: 5px solid #0077b6;
  position: relative;
  overflow: hidden;
}

.course-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.15);
}

/* Icon Styling */
.icon-box {
  width: 70px;
  height: 70px;
  background: #0077b6;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto 20px;
  color: #fff;
  font-size: 28px;
  box-shadow: 0 6px 18px rgba(0, 119, 182, 0.3);
}

.course-card h3 {
  color: #004080;
  font-size: 22px;
  margin-bottom: 10px;
}

.course-card p {
  font-size: 15px;
  color: #555;
  line-height: 1.6;
}

/* Responsive */
@media (max-width: 768px) {
  .section-title {
    font-size: 28px;
  }

  .course-card {
    padding: 25px 15px;
  }

  .icon-box {
    width: 60px;
    height: 60px;
    font-size: 24px;
  }
}



.why-choose-section {
  background: #f9fafa;
  padding: 20px;
  font-family: 'Segoe UI', sans-serif;
}

.section-title {
  text-align: center;
  font-size: 32px;
  margin-bottom: 30px;
  font-weight: 700;
  color: #0a2540;
}

.section-title span {
  color: #004080;
}

.why-choose-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  max-width: 100%;
  margin: 0 auto;
  align-items: flex-start;
  justify-content: center;
}

.why-video,
.why-content {
  flex: 1 1 500px;
  max-width: 100%;
}

.video-responsive {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  height: 0;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  min-height: 200px;
  aspect-ratio: 16/9;
}

.video-responsive iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: block;
  border: none;
}

.why-content {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.why-feature {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  padding: 15px 20px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid #e0e0e0;
  transition: all 0.3s ease;
}

.why-feature:hover {
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.06);
  transform: translateY(-4px);
}

.why-feature i {
  font-size: 28px;
  color: #004080;
  margin-top: 5px;
}

.why-feature h4 {
  font-size: 18px;
  margin-bottom: 5px;
  color: #0a2540;
}

.why-feature p {
  font-size: 15px;
  color: #555;
  line-height: 1.6;
}

/* ---------- Mobile Styles ---------- */
@media (max-width: 768px) {
  .why-choose-section {
    padding: 20px 15px;
  }

  .section-title {
    font-size: 24px;
    margin-bottom: 30px;
  }

  .why-choose-wrapper {
    flex-direction: column;
    gap: 30px;
    padding: 0;
  }

  .why-content,
  .why-video {
    flex: 1 1 100%;
    max-width: 100%;
  }

  .video-responsive {
    padding-bottom: 56.25%;
    min-height: 200px;
    aspect-ratio: 16/9;
  }

  .why-feature {
    flex-direction: column;
    align-items: flex-start;
    padding: 12px 15px;
    gap: 10px;
  }

  .why-feature i {
    font-size: 24px;
  }

  .why-feature h4 {
    font-size: 16px;
  }

  .why-feature p {
    font-size: 14px;
  }
}



.vision-mission-section {
  padding: 20px;
  background: linear-gradient(to right, #fdfdfd, #f3f9ff);
  font-family: 'Segoe UI', sans-serif;
}

.section-title {
  text-align: center;
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 30px;
  color: #0a2540;
}

.section-title span {
  color: #004080;
}

.vm-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: center;
  align-items: stretch;
  margin: 0 auto;
}

.vm-card {
  flex: 1 1 400px;
  background: #fff;
  padding: 30px;
  border-radius: 16px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
  text-align: center;
  transition: all 0.3s ease;
}

.vm-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.08);
}

.vm-icon {
  font-size: 40px;
  width: 70px;
  height: 70px;
  margin: 0 auto 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.vm-icon.vision {
  background: #e6f0ff;
  color: #004080;
}

.vm-icon.mission {
  background: #fff3e6;
  color: #ff6b00;
}

.vm-card h3 {
  font-size: 22px;
  margin-bottom: 15px;
  color: #0a2540;
}

.vm-card p {
  font-size: 15px;
  color: #555;
  line-height: 1.7;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .vision-mission-section {
    padding: 20px 15px;
  }

  .section-title {
    font-size: 24px;
    margin-bottom: 30px;
  }

  .vm-wrapper {
    flex-direction: column;
    gap: 20px;
  }

  .vm-card h3 {
    font-size: 20px;
  }

  .vm-card p {
    font-size: 14px;
  }

  .vm-icon {
    font-size: 32px;
    width: 60px;
    height: 60px;
    margin-bottom: 15px;
  }
}


.facilities-section {
  padding: 20px;
  background: #f9faff;
  font-family: 'Segoe UI', sans-serif;
}

.section-title {
  text-align: center;
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 30px;
  color: #002b5b;
}

.section-title span {
  color: #0078d7;
}

.facility-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin: 0 auto;
}

.facility-card {
  background: #ffffff;
  padding: 30px 20px;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s, box-shadow 0.3s;
}

.facility-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.1);
}

.facility-icon {
  font-size: 40px;
  color: #0078d7;
  margin-bottom: 20px;
}

.facility-card h4 {
  font-size: 20px;
  color: #002b5b;
  margin-bottom: 10px;
}

.facility-card p {
  font-size: 15px;
  color: #555;
  line-height: 1.6;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .facilities-section {
    padding: 20px 15px;
  }

  .section-title {
    font-size: 26px;
    margin-bottom: 40px;
  }

  .facility-grid {
    gap: 20px;
  }

  .facility-card {
    padding: 20px 15px;
  }

  .facility-icon {
    font-size: 32px;
    margin-bottom: 15px;
  }

  .facility-card h4 {
    font-size: 18px;
  }

  .facility-card p {
    font-size: 14px;
  }
}



/* 🌟 Modern Gallery Section - Professional Design */
.gallery-section {
  padding: 60px 20px;
  background: linear-gradient(135deg, #e3f2fd 0%, #ffffff 100%);
  font-family: 'Segoe UI', sans-serif;
  position: relative;
  overflow: hidden;
}

/* Decorative Background Blobs */
.gallery-section::before,
.gallery-section::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: rgba(0, 120, 215, 0.07);
  z-index: 0;
}

.gallery-section::before {
  width: 250px;
  height: 250px;
  top: -100px;
  left: -80px;
}

.gallery-section::after {
  width: 300px;
  height: 300px;
  bottom: -120px;
  right: -100px;
}

.section-title {
  text-align: center;
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 50px;
  color: #0d47a1;
  text-transform: uppercase;
  position: relative;
  letter-spacing: 1px;
  z-index: 2;
}

.section-title span {
  color: #0078d7;
}

.section-title::after {
  content: "";
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #2196f3, #1565c0);
  display: block;
  margin: 10px auto 0;
  border-radius: 2px;
}

/* ====== Gallery Grid ====== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 0 auto;
  max-width: 1200px;
  position: relative;
  z-index: 2;
}

/* ====== Gallery Item ====== */
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  box-shadow: 0 8px 24px rgba(13, 71, 161, 0.15);
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(12px);
  transition: all 0.4s ease;
  cursor: pointer;
}

.gallery-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(13, 71, 161, 0.25);
}

/* Image Styling */
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 18px;
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.07);
}

/* Overlay Effect */
.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.2) 20%, rgba(0, 0, 0, 0.6) 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  border-radius: 18px;
  padding-bottom: 20px;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

/* Caption Text */
.gallery-caption {
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  text-align: center;
  letter-spacing: 0.5px;
  transform: translateY(20px);
  opacity: 0;
  transition: all 0.4s ease;
}

.gallery-item:hover .gallery-caption {
  transform: translateY(0);
  opacity: 1;
}

/* ====== Responsive Design ====== */
@media (max-width: 992px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .section-title {
    font-size: 28px;
    margin-bottom: 35px;
  }

  .gallery-grid {
    gap: 18px;
  }

  .gallery-item {
    border-radius: 14px;
  }

  .gallery-item img {
    border-radius: 14px;
  }
}

@media (max-width: 480px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

  .section-title {
    font-size: 22px;
  }
}


/* 🌟 Medalist Section - Premium Modern Design */
.medalist-section {
  padding: 60px 20px;
  background: linear-gradient(135deg, #e3f2fd 0%, #ffffff 100%);
  font-family: 'Segoe UI', sans-serif;
  position: relative;
  overflow: hidden;
}

/* Decorative Background Circles */
.medalist-section::before,
.medalist-section::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: rgba(33, 150, 243, 0.07);
  z-index: 0;
}
.medalist-section::before {
  width: 220px;
  height: 220px;
  top: -80px;
  left: -100px;
}
.medalist-section::after {
  width: 300px;
  height: 300px;
  bottom: -120px;
  right: -120px;
}

.section-title {
  text-align: center;
  font-size: 36px;
  font-weight: 700;
  color: #0d47a1;
  margin-bottom: 45px;
  position: relative;
  z-index: 2;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.section-title::after {
  content: "";
  width: 70px;
  height: 4px;
  background: linear-gradient(90deg, #42a5f5, #1565c0);
  display: block;
  margin: 12px auto 0;
  border-radius: 3px;
}

/* Slider Base */
.medalist-slider {
  overflow: hidden;
  position: relative;
  width: 100%;
}

.medalist-track {
  display: flex;
  animation: scrollMedalists 30s linear infinite;
  gap: 20px;
  width: max-content;
  padding-bottom: 10px;
  z-index: 1;
}

/* Medalist Card */
.medalist-card {
  flex: 0 0 200px;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(14px);
  border-radius: 18px;
  box-shadow: 0 8px 24px rgba(13, 71, 161, 0.15);
  overflow: hidden;
  transition: all 0.35s ease;
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.4);
  cursor: pointer;
}


/* Medalist Image */
.medalist-card img {
  width: 100%;
  height: 180px;
  border-radius: 18px 18px 0 0;
  transition: transform 0.4s ease;
}

/* Details */
.medalist-details {
  padding: 5px;
  text-align: center;
  background: linear-gradient(to bottom, rgba(255,255,255,0.6), rgba(255,255,255,0.8));
}

.medalist-details h4 {
  font-size: 17px;
  font-weight: 700;
  color: #0d47a1;
  margin-bottom: 4px;
  letter-spacing: 0.3px;
}

.medalist-details p {
  font-size: 13px;
  color: #444;
  margin: 0;
}

/* Trophy Icon */
.trophy-icon {
  position: absolute;
  top: 12px;
  left: 12px;
  background: linear-gradient(145deg, #ffd700, #ffb300);
  color: #fff;
  padding: 8px 9px;
  border-radius: 50%;
  font-size: 15px;
  box-shadow: 0 0 8px rgba(255, 193, 7, 0.5);
  border: 2px solid #fff;
}

/* Animation */
@keyframes scrollMedalists {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  z-index: 999;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-color: rgba(0, 0, 0, 0.75);
  justify-content: center;
  align-items: center;
}

.modal-content {
  background: white;
  border-radius: 16px;
  padding: 25px;
  width: 90%;
  max-width: 420px;
  text-align: center;
  position: relative;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

.modal-content img {
  width: 100%;
  border-radius: 12px;
  margin-bottom: 15px;
}

.close {
  position: absolute;
  top: 10px;
  right: 16px;
  font-size: 30px;
  color: #444;
  cursor: pointer;
  transition: color 0.3s ease;
}

.close:hover {
  color: #1565c0;
}

/* Responsive Design */
@media (max-width: 768px) {
  .section-title {
    font-size: 26px;
  }

  .medalist-card {
    flex: 0 0 160px;
  }

  .medalist-card img {
    height: 150px;
  }

  .medalist-details h4 {
    font-size: 14px;
  }

  .medalist-details p {
    font-size: 12px;
  }
}

@media (max-width: 480px) {
  .medalist-card {
    flex: 0 0 140px;
  }

  .medalist-card img {
    height: 130px;
  }
}


.inquiry-section {
  background: #f5f7fa;
  padding: 20px 20px;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.inquiry-section .container {
  margin: auto;
}

.section-title {
  text-align: center;
  font-size: 32px;
  margin-bottom: 40px;
  color: #003366;
  font-weight: 600;
}

.inquiry-flex {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: space-between;
}

.map-container, .form-container {
  flex: 1 1 45%;
}

.form-container {
  background: #fff;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.form-container h3 {
  margin-bottom: 20px;
  color: #004080;
  font-size: 24px;
}

.form-container input,
.form-container select,
.form-container textarea {
  width: 100%;
  padding: 12px;
  margin-bottom: 15px;
  border-radius: 6px;
  border: 1px solid #ccc;
  font-size: 16px;
}

.form-container button {
  width: 100%;
  background: #004080;
  color: white;
  padding: 12px;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  transition: 0.3s ease;
  cursor: pointer;
}

.form-container button:hover {
  background: #003366;
}

/* Tablet and below */
@media (max-width: 768px) {
  .inquiry-flex {
    flex-direction: column;
  }

  .map-container,
  .form-container {
    flex: 1 1 100%;
  }

  .form-container {
    padding: 20px;
  }

  .form-container h3 {
    font-size: 20px;
  }

  .form-container input,
  .form-container select,
  .form-container textarea {
    font-size: 15px;
    padding: 10px;
  }

  .form-container button {
    font-size: 15px;
    padding: 10px;
  }
}

/* Small devices */
@media (max-width: 480px) {
  .section-title {
    font-size: 24px;
    margin-bottom: 30px;
  }

  .form-container {
    padding: 18px;
  }

  .form-container h3 {
    font-size: 18px;
  }

  .form-container input,
  .form-container select,
  .form-container textarea {
    font-size: 14px;
  }

  .form-container button {
    font-size: 14px;
  }
}


/* ===== ABOUT MAIN SECTION ===== */
.about-main-content {
  padding: 70px 20px;
  background: linear-gradient(135deg, #f5faff, #ffffff);
  font-family: 'Segoe UI', sans-serif;
}

/* ===== ABOUT CARD ===== */
.about-card {
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  max-width: 1150px;
  margin: 0 auto;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.about-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 45px rgba(0, 64, 128, 0.15);
}

/* ===== FULL IMAGE ON TOP ===== */
.about-image {
  width: 100%;
  height: 450px;
  overflow: hidden;
  position: relative;
}

.about-image img {
  width: 100%;
  height: 100%;
  display: block;
  transition: transform 1.2s ease;
}

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

/* Optional gradient overlay */
.about-image::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 40%;
  background: linear-gradient(0deg, rgba(0, 51, 102, 0.5), transparent);
}

/* ===== CONTENT BELOW IMAGE ===== */
.about-text-side {
  padding: 40px 50px 50px;
  text-align: justify;
  background: #fff;
}

.about-text-side h1 {
  font-size: 2.4rem;
  color: #003366;
  font-weight: 700;
  margin-bottom: 20px;
  position: relative;
}

.about-text-side h1::after {
  content: "";
  display: block;
  width: 70px;
  height: 4px;
  background: #0078d7;
  margin-top: 10px;
  border-radius: 3px;
}

.about-text-side p {
  font-size: 1.1rem;
  line-height: 1.9;
  color: #444;
  margin-bottom: 15px;
  animation: fadeInText 0.8s ease both;
}

/* ===== ANIMATION ===== */
@keyframes fadeInText {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 992px) {
  .about-image {
    height: 350px;
  }

  .about-text-side {
    padding: 30px;
  }

  .about-text-side h1 {
    font-size: 2rem;
  }

  .about-text-side p {
    font-size: 1rem;
  }
}

@media (max-width: 768px) {
  .about-main-content {
    padding: 50px 15px;
  }

  .about-image {
    height: 280px;
  }

  .about-text-side h1 {
    font-size: 1.7rem;
  }

  .about-text-side p {
    font-size: 0.95rem;
  }
}

@media (max-width: 480px) {
  .about-main-content {
    padding: 30px 10px;
  }

  .about-image {
    height: 220px;
  }

  .about-text-side {
    padding: 20px;
  }

  .about-text-side h1 {
    font-size: 1.4rem;
  }

  .about-text-side p {
    font-size: 0.9rem;
  }
}
/* ====== Gallery Page Styles ====== */
    .gallery-main-content {
      padding: 10px;
    }
    /* ====== Fixed 4-column layout ====== */
    .gallery-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 20px;
      max-width: 1200px;
      margin: 0 auto;
    }

    .gallery-item {
      position: relative;
      overflow: hidden;
      border-radius: 15px;
      box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
      transition: transform 0.3s ease;
      background: #fff;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    /* ====== Preserve full image without cutting ====== */
    .gallery-item img {
      width: 100%;
      height: auto;
      display: block;
      border-radius: 15px;
      transition: transform 0.3s ease;
    }

    .gallery-item:hover img {
      transform: scale(1.03);
    }

    .gallery-item:hover {
      transform: translateY(-5px);
    }

    /* ====== Responsive Adjustments ====== */
    @media (max-width: 1024px) {
      .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
      }
    }

    @media (max-width: 768px) {
      .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
      }
    }

    @media (max-width: 480px) {
      .gallery-grid {
        grid-template-columns: 1fr;
      }

      .section-title {
        font-size: 2rem;
      }
    }