:root {
  --primary: #ff7a00;
  --primary-dark: #e26700;
  --text: #111827;
  --muted: #6b7280;
  --bg: #f9fafb;
  --card-bg: #ffffff;
  --border: #e5e7eb;
  --yellow: #facc15;
  --pink: #ec4899;
  --blue: #0ea5e9;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Montserrat", system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  z-index: 1001;
}

.logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: inherit;
}

.logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: linear-gradient(135deg, #2563eb, #22c55e, #f97316, #ec4899);
  color: #fff;
  font-size: 1rem;
}

.logo-text {
  font-size: 1.05rem;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  gap: 2rem;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.nav-links a {
  text-decoration: none;
  color: var(--muted);
  font-weight: 500;
  transition: color 0.2s ease;
  padding: 0.5rem 0;
}

.nav-links a:hover {
  color: var(--primary);
}

.nav-right {
  display: flex;
  align-items: center;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: var(--text);
  padding: 0.5rem;
  z-index: 1001;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
}

/* Navbar link smooth hover */
.nav-links a {
  position: relative;
  text-decoration: none;
  color: var(--muted);
  font-weight: 500;
  padding: 0.5rem 0;
  transition: all 0.3s ease;
}

/* Slight lift effect */
.nav-links a:hover {
  color: var(--primary);
  transform: translateY(-3px);
}

/* Animated underline */
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0%;
  height: 2px;
  background: var(--primary);
  transition: width 0.3s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

/* Buttons */
.btn {
  cursor: pointer;
  border-radius: 999px;
  padding: 0.7rem 1.6rem;
  font-weight: 600;
  border: none;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  min-height: 44px;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 4px 12px rgba(255, 122, 0, 0.25);
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(255, 122, 0, 0.35);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--primary);
  color: var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: #fff;
}

/* Hero */
.hero {
  position: relative;
  height: 90vh;
  min-height: 500px;
  margin-top: 70px;
  background-image: linear-gradient(
      to top,
      rgba(0, 0, 0, 0.6),
      rgba(15, 23, 42, 0.3)
    ),
    url("public\IMG_0588.JPG");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-content {
  position: relative;
  text-align: center;
  max-width: 960px;
  padding: 0 1.5rem;
  animation: fadeInUp 0.8s ease;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-tagline {
  font-size: 0.85rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin-bottom: 1rem;
  opacity: 0.95;
}

.hero-title {
  font-size: clamp(2rem, 6vw, 3.6rem);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: clamp(0.9rem, 2vw, 1.05rem);
  margin-bottom: 2rem;
  opacity: 0.9;
}

.hero-cta {
  margin-top: 1.5rem;
}

/* Sections */
.section {
  padding: 4rem 2rem;
}

.section-title {
  font-size: clamp(1.75rem, 4vw, 2.2rem);
  margin-bottom: 1.5rem;
  font-weight: 700;
}

.section-header {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  margin-bottom: 2.5rem;
}

.section-subtitle {
  color: var(--muted);
  max-width: 720px;
  font-size: 1.05rem;
  line-height: 1.7;
}

/* Cards */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.info-card {
  position: relative;
  padding: 2.5rem 2rem;
  border-radius: 1.2rem;
  background: var(--card-bg);
  box-shadow: 0 15px 40px rgba(15, 23, 42, 0.08);
  border-top: 4px solid transparent;
  transition: all 0.3s ease;
}

.info-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.15);
}

.info-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.info-card p {
  color: var(--muted);
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.card-link {
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  color: var(--primary);
  transition: all 0.2s ease;
  display: inline-block;
}

.card-link:hover {
  transform: translateX(4px);
}

.card-ribbon {
  position: absolute;
  top: -18px;
  left: 18px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  opacity: 0.16;
}

.card-ribbon.yellow {
  background: var(--yellow);
}

.card-ribbon.pink {
  background: var(--pink);
}

.card-ribbon.blue {
  background: var(--blue);
}

/* Full-Width Faculty Slider with Side Arrows */
#faculty {
  background: var(--card-bg);
  padding: 5rem 6rem;
}

.faculty-slider-wrapper {
  position: relative;
  max-width: 1400px;
  margin: 3rem auto;
  overflow: hidden;   
  padding: 0 1rem;
  
}

.faculty-slider-container {
  border-radius: 1rem;
}

.faculty-slider-track {
  display: flex;
  gap: 1.2rem;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.faculty-slide {
  flex: 0 0 320px;
  background: white;
  border-radius: 1.2rem;
  overflow: hidden;
  box-shadow: 0 15px 50px rgba(0,0,0,0.08);
  border: 1px solid rgba(0,0,0,0.04);
  transition: all 0.4s ease;
}

.faculty-slide:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 70px rgba(0,0,0,0.15);
}

.faculty-photo {
  width: 100%;
  height: 280px;
  background-size: cover;
  background-position: center;
}

.faculty-details {
  padding: 1.8rem;
}

.faculty-details h3 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 0.4rem 0;
}

.faculty-role {
  font-size: 0.95rem;
  color: var(--primary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin: 0 0 0.6rem 0;
}

.faculty-dept {
  font-size: 0.88rem;
  color: var(--muted);
  font-weight: 500;
  margin: 0;
}

/* Side Arrows (Overlay) */
.faculty-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: white;
  border: 2px solid rgba(0,0,0,0.1);
  color: var(--text);
  font-size: 1.4rem;
  font-weight: 700;
  cursor: pointer;
  z-index: 10;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
  transition: all 0.3s ease;
}

.faculty-prev {
  left: 10px;
}

.faculty-next {
  right: 10px;
}

.faculty-arrow:hover {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
  transform: translateY(-50%) scale(1.1);
}

/* Dots */
.faculty-dots {
  display: flex;
  justify-content: center;
  gap: 0.8rem;
  margin-top: 2.5rem;
}

.faculty-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(0,0,0,0.2);
  cursor: pointer;
  transition: all 0.3s ease;
}

.faculty-dot.active {
  background: var(--primary);
  transform: scale(1.3);
}

.faculty-dot:hover {
  background: var(--primary-dark);
}

.faculty-photo {
  width: 100%;
  height: 280px;
  background-size: cover;
  background-position: top center;  /* Fixed: face properly centered */
  background-repeat: no-repeat;
  border-radius: 1.2rem 1.2rem 0 0;
  filter: grayscale(100%) contrast(1.1) brightness(0.95);  /* Perfect B&W */
  position: relative;
  overflow: hidden;
}

.faculty-slide:hover .faculty-photo {
  filter: grayscale(100%) contrast(1.2) brightness(1);  /* Enhanced B&W only */
}



/* Responsive */
@media (max-width: 1200px) {
  .faculty-slide {
    flex: 0 0 320px;
  }
}

@media (max-width: 768px) {
  .faculty-slider-track {
    padding: 0 60px;
    gap: 2rem;
  }
  
  .faculty-slide {
    flex: 0 0 360px;
  }
  
  .faculty-arrow {
    width: 48px;
    height: 48px;
    font-size: 1.2rem;
  }
}


/* Stories */
.tabs {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.tab {
  border-radius: 999px;
  padding: 0.6rem 1.2rem;
  border: 1px solid var(--border);
  background: #fff;
  cursor: pointer;
  font-size: 0.9rem;
  color: var(--muted);
  transition: all 0.2s ease;
  min-height: 44px;
  font-weight: 500;
}

.tab:hover {
  border-color: var(--text);
}

.tab.active {
  background: var(--text);
  color: #fff;
  border-color: var(--text);
}

.stories-grid .story-card {
  padding: 2rem;
}

.story-card {
  border-radius: 1.2rem;
  background: var(--card-bg);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
  transition: all 0.3s ease;
}

.story-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 40px rgba(15, 23, 42, 0.12);
}

.story-photo {
  width: 100%;
  height: 220px;
  border-radius: 1rem;
  margin-bottom: 1.2rem;
  background: linear-gradient(135deg, #fed7aa, #bfdbfe);
}

.story-card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.8rem;
  font-weight: 700;
}

.story-card p {
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 1rem;
}

/* Campus Life */
.campus-grid {
  display: grid;
  grid-template-columns: 2fr 1fr; /* Large left, smaller right */
  gap: 2rem;
  align-items: start;
}

.campus-main-img {
  width: 100%;
  height: 400px; /* Adjust to match your design */
  object-fit: cover;
  border-radius: 12px; /* Matches rounded corners in screenshot */
  box-shadow: 0 8px 32px rgba(0,0,0,0.1);
}

.campus-photo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  height: 400px; /* Match main image height */
}

.campus-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
}

/* Smooth hover animation */
.campus-main-img,
.campus-photo img {
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

/* Lift effect */
.campus-main-img:hover,
.campus-photo img:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

/* Mobile responsive */
@media (max-width: 768px) {
  .campus-grid {
    grid-template-columns: 1fr;
  }
}

/* Footer */
.footer {
  background: #0f172a;
  color: #e5e7eb;
  padding: 3.5rem 2rem 2rem;
  margin-top: 3rem;
}

.footer-top {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2.5rem;
  margin-bottom: 3rem;
}

.footer-column h3 {
  font-size: 1.05rem;
  margin-bottom: 1.2rem;
  font-weight: 700;
}

.footer-column ul {
  list-style: none;
}

.footer-column li {
  margin-bottom: 0.7rem;
}

.footer-column a {
  color: #cbd5f5;
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

.footer-column a:hover {
  color: var(--primary);
}

.footer-column p {
  font-size: 0.95rem;
  margin-bottom: 1rem;
  line-height: 1.7;
}

.footer-bottom {
  border-top: 1px solid rgba(148, 163, 184, 0.3);
  padding-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: space-between;
  align-items: center;
}

.footer-social,
.footer-links {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer-social a,
.footer-links a {
  color: #9ca3af;
  font-size: 0.9rem;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-social a:hover,
.footer-links a:hover {
  color: var(--primary);
}

.footer-copy {
  font-size: 0.85rem;
  color: #6b7280;
  width: 100%;
  text-align: center;
  margin-top: 1rem;
}


/* ===== HERO CAROUSEL - IMAGE ONLY ===== */

.hero {
  position: relative;
  height: 90vh;
  min-height: 500px;
  margin-top: 70px;
  overflow: hidden;
}

.hero-slider {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1s ease-in-out, visibility 1s ease-in-out;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
}


/* Replace the background-image URLs */
/*.hero-slide:nth-child(1) {
  background-image: url("/slide1.jpg");
}

.hero-slide:nth-child(2) {
  background-image: url("/slide2.jpg");
}

.hero-slide:nth-child(3) {
  background-image: url("/slide3.jpg");
}/*


/* Different background images for each slide */
.hero-slide:nth-child(1) {
  background-image: url("/images/IMG_0588.JPG");
  background-size: cover;
  background-position: center 70%;
  background-repeat: no-repeat;
}

.hero-slide:nth-child(2) {
  background-image: url("/images/IMG_0585.JPG");
  background-size: cover;
  background-position: center 82%;
  background-repeat: no-repeat
}

.hero-slide:nth-child(3) {
  background-image: url("/images/IMG_0577.JPG");
 background-size: cover;
  background-position: center 90%;
  background-repeat: no-repeat
}

/* Remove all overlay and content styles */
.hero-overlay,
.hero-content,
.hero-tagline,
.hero-title,
.hero-subtitle,
.hero-cta {
  display: none;
}

/* Navigation Arrows */
.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 55px;
  height: 55px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(12px);
  border: 2px solid rgba(255, 255, 255, 0.5);
  color: #fff;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.hero-arrow:hover {
  background: rgba(255, 255, 255, 0.5);
  transform: translateY(-50%) scale(1.1);
  border-color: rgba(255, 255, 255, 0.8);
}

.hero-arrow svg {
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.hero-arrow-left {
  left: 2.5rem;
}

.hero-arrow-right {
  right: 2.5rem;
}

/* Dot Indicators */
.hero-dots {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 1rem;
  z-index: 10;
}

.hero-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  border: 2px solid rgba(255, 255, 255, 0.8);
  cursor: pointer;
  transition: all 0.4s ease;
  padding: 0;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

.hero-dot:hover {
  background: rgba(255, 255, 255, 0.8);
  transform: scale(1.3);
}

.hero-dot.active {
  background: #fff;
  width: 40px;
  border-radius: 7px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .hero {
    height: 70vh;
    min-height: 450px;
  }

  .hero-arrow {
    width: 45px;
    height: 45px;
  }

  .hero-arrow svg {
    width: 20px;
    height: 20px;
  }

  .hero-arrow-left {
    left: 1.5rem;
  }

  .hero-arrow-right {
    right: 1.5rem;
  }

  .hero-dots {
    bottom: 2rem;
  }

  .hero-dot {
    width: 11px;
    height: 11px;
  }

  .hero-dot.active {
    width: 30px;
  }
}

@media (max-width: 480px) {
  .hero {
    height: 60vh;
    min-height: 400px;
  }

  .hero-arrow {
    width: 40px;
    height: 40px;
  }

  .hero-arrow svg {
    width: 18px;
    height: 18px;
  }

  .hero-arrow-left {
    left: 1rem;
  }

  .hero-arrow-right {
    right: 1rem;
  }

  .hero-dots {
    gap: 0.6rem;
    bottom: 1.5rem;
  }

  .hero-dot {
    width: 9px;
    height: 9px;
  }

  .hero-dot.active {
    width: 24px;
  }
}

/* ===== ENQUIRY SECTION (Contact Info Removed) ===== */

.enquiry-section {
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
  padding: 5rem 2rem;
}

.enquiry-container {
  max-width: 800px;
  margin: 0 auto;
  background: #fff;
  padding: 3.5rem 3rem;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.enquiry-main-title {
  font-size: 2.8rem;
  color: #4a90e2;
  margin-bottom: 2.5rem;
  text-align: center;
  position: relative;
  padding-bottom: 1rem;
}

.enquiry-main-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--primary);
}

.enquiry-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.enquiry-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}

.enquiry-group {
  display: flex;
  flex-direction: column;
}

.enquiry-group.full-width {
  grid-column: 1 / -1;
}

.enquiry-form input,
.enquiry-form textarea {
  padding: 1rem 1.3rem;
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  font-size: 0.95rem;
  font-family: inherit;
  transition: all 0.3s ease;
  background: #f9fafb;
}

.enquiry-form input:focus,
.enquiry-form textarea:focus {
  outline: none;
  border-color: var(--primary);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(255, 122, 0, 0.1);
}

.enquiry-form input::placeholder,
.enquiry-form textarea::placeholder {
  color: #9ca3af;
}

.enquiry-form textarea {
  resize: vertical;
  min-height: 140px;
}

.enquiry-submit {
  width: 100%;
  padding: 1.1rem 3rem;
  font-size: 1.05rem;
  margin-top: 0.5rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  .enquiry-section {
    padding: 3rem 1.5rem;
  }

  .enquiry-container {
    padding: 2.5rem 2rem;
  }

  .enquiry-main-title {
    font-size: 2.2rem;
  }

  .enquiry-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .enquiry-section {
    padding: 2.5rem 1rem;
  }

  .enquiry-container {
    padding: 2rem 1.5rem;
  }

  .enquiry-main-title {
    font-size: 1.9rem;
  }

  .enquiry-form input,
  .enquiry-form textarea {
    padding: 0.9rem 1rem;
  }
}

/* ===== SUCCESS MODAL ===== */

.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.3s ease;
}

.modal.active {
  display: flex;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
}

.modal-content {
  position: relative;
  background: #fff;
  border-radius: 20px;
  padding: 3rem 2.5rem;
  max-width: 500px;
  width: 90%;
  text-align: center;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
  animation: slideUp 0.4s ease;
  z-index: 10000;
}

@keyframes slideUp {
  from {
    transform: translateY(30px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: transparent;
  border: none;
  font-size: 2rem;
  color: #9ca3af;
  cursor: pointer;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.2s ease;
}

.modal-close:hover {
  background: #f3f4f6;
  color: var(--text);
}

.modal-icon {
  margin-bottom: 1.5rem;
  animation: scaleIn 0.5s ease 0.2s backwards;
}

@keyframes scaleIn {
  from {
    transform: scale(0);
  }
  to {
    transform: scale(1);
  }
}

.modal-icon svg {
  width: 80px;
  height: 80px;
  margin: 0 auto;
}

.modal-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 1rem;
}

.modal-message {
  font-size: 1.1rem;
  color: var(--muted);
  margin-bottom: 0.8rem;
  line-height: 1.6;
}

.modal-submessage {
  font-size: 0.95rem;
  color: var(--muted);
  margin-bottom: 2rem;
  line-height: 1.6;
}

.modal-submessage span {
  font-weight: 600;
  color: var(--primary);
}

.modal-btn {
  min-width: 140px;
  padding: 0.9rem 2.5rem;
  font-size: 1rem;
}

/* Responsive */
@media (max-width: 480px) {
  .modal-content {
    padding: 2.5rem 1.5rem;
  }

  .modal-title {
    font-size: 1.6rem;
  }

  .modal-message {
    font-size: 1rem;
  }

  .modal-submessage {
    font-size: 0.9rem;
  }

  .modal-icon svg {
    width: 60px;
    height: 60px;
  }
}


/* ===== RESPONSIVE BREAKPOINTS ===== */

/* Tablets and below (768px) */
@media (max-width: 768px) {
  .navbar {
    padding: 0 1.5rem;
  }

  .nav-links {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(16px);
    flex-direction: column;
    padding: 2rem 1.5rem;
    gap: 0;
    transform: translateX(-100%);
    opacity: 0;
    visibility: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    max-height: calc(100vh - 70px);
    overflow-y: auto;
  }

  .nav-links.open {
    transform: translateX(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-links a {
    padding: 1rem 0;
    font-size: 1.1rem;
    border-bottom: 1px solid var(--border);
    display: block;
  }

  .nav-links a:last-child {
    border-bottom: none;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-right {
    display: none;
  }

  .section {
    padding: 3rem 1.5rem;
  }

  .card-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .campus-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .campus-photo-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero {
    height: 70vh;
    min-height: 450px;
    background-attachment: scroll;
  }

  .hero-content {
    padding: 0 1.5rem;
  }

  .footer {
    padding: 2.5rem 1.5rem 1.5rem;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
  }

  .footer-social,
  .footer-links {
    width: 100%;
    justify-content: center;
  }
}

/* Mobile phones (480px and below) */
@media (max-width: 480px) {
  .navbar {
    padding: 0 1rem;
    height: 60px;
  }

  .logo-text {
    font-size: 0.9rem;
  }

  .logo-mark {
    width: 32px;
    height: 32px;
    font-size: 0.85rem;
  }

  .hero {
    margin-top: 60px;
    height: 65vh;
    min-height: 400px;
  }

  .hero-tagline {
    font-size: 0.7rem;
    letter-spacing: 0.2em;
  }

  .hero-title {
    font-size: 1.8rem;
    letter-spacing: 0.05em;
  }

  .hero-subtitle {
    font-size: 0.85rem;
  }

  .section {
    padding: 2.5rem 1rem;
  }

  .section-title {
    font-size: 1.6rem;
  }

  .info-card,
  .faculty-card,
  .story-card {
    padding: 1.5rem;
  }

  .btn {
    padding: 0.6rem 1.3rem;
    font-size: 0.9rem;
  }

  .campus-photo-grid {
    grid-template-columns: 1fr;
  }

  .campus-photo {
    min-height: 180px;
  }

  .video-placeholder {
    min-height: 220px;
    font-size: 1rem;
  }

  .tabs {
    gap: 0.5rem;
  }

  .tab {
    font-size: 0.85rem;
    padding: 0.5rem 1rem;
  }

  .footer {
    padding: 2rem 1rem 1rem;
  }

  .footer-column h3 {
    font-size: 1rem;
  }

  .footer-social,
  .footer-links {
    gap: 1rem;
    font-size: 0.85rem;
  }
}

/* Large screens optimization */
@media (min-width: 1200px) {
  .section {
    padding: 5rem 6rem;
  }

  .navbar {
    padding: 0 6rem;
  }

  .card-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Active Navigation Link */
.nav-links a.active {
  color: var(--primary);
  font-weight: 600;
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 999;
  box-shadow: 0 4px 12px rgba(255, 122, 0, 0.3);
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: var(--primary-dark);
  transform: translateY(-4px);
  box-shadow: 0 6px 16px rgba(255, 122, 0, 0.4);
}

/* Button Hover States Enhancement */
.info-card .card-link:hover,
.story-card .card-link:hover {
  color: var(--primary-dark);
}

/* Clickable Video Placeholder */
.video-placeholder {
  cursor: pointer;
  transition: all 0.3s ease;
}

.video-placeholder:hover {
  transform: scale(1.02);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* Form Error State */
input.error,
textarea.error {
  border: 2px solid #ef4444;
}

@media (max-width: 768px) {
  .back-to-top {
    bottom: 20px;
    right: 20px;
    width: 45px;
    height: 45px;
    font-size: 1.3rem;
  }
}


.logo {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.logo-img {
  height: 60px;
  width: auto;
  border-radius: 4px;
  object-fit: contain;
}

/* Hide colorful KS circle completely */
.logo-mark {
  display: none !important;
}

.logo-text {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--text);
}

@media (max-width: 768px) {
  .logo-img { height: 34px; }
  .logo-text { font-size: 1rem; }
}


/* About Page */
.about-page {
  padding: 6rem 6rem;
  background: #f9fafc;
}

.about-page-container {
  max-width: 1000px;
  margin: auto;
}

.about-page h1 {
  font-size: 2.8rem;
  margin-bottom: 2rem;
  color: var(--text);
}

.about-page h2 {
  margin-top: 2rem;
  font-size: 1.8rem;
  color: var(--primary);
}

.about-page p {
  margin-bottom: 1.2rem;
  line-height: 1.8;
  color: var(--muted);
}

.about-page ul {
  margin-top: 1rem;
  padding-left: 1.5rem;
}

.about-page li {
  margin-bottom: 0.6rem;
}
/* HERO SECTION */
.about-hero {
  height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;

  background: 
    linear-gradient(rgba(0,0,0,0.55), rgba(0,0,0,0.55)),
    url("images/DJI_0018.JPG.jpeg") center/cover no-repeat;

  position: relative;
}

.about-hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.about-hero p {
  font-size: 1.2rem;
  opacity: 0.9;
}


/* MAIN SECTION */
.about-main {
  padding: 6rem 6rem;
  background: #f9fafc;
}

.about-container {
  max-width: 1200px;
  margin: auto;
  display: flex;
  gap: 4rem;
  align-items: center;
}

.about-text {
  flex: 1;
}

.about-text h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--primary);
}

.about-text p {
  line-height: 1.8;
  margin-bottom: 1rem;
  color: var(--muted);
}

.about-image {
  flex: 1;
}

.about-image img {
  width: 100%;
  border-radius: 1rem;
  box-shadow: 0 20px 50px rgba(0,0,0,0.1);
}


/* TIMELINE */
.about-timeline {
  padding: 5rem 6rem;
  background: white;
  text-align: center;
}

.about-timeline h2 {
  margin-bottom: 3rem;
  font-size: 2rem;
  color: var(--primary);
}

.timeline {
  max-width: 900px;
  margin: auto;
}

.timeline-item {
  background: #f4f6f9;
  padding: 1.5rem;
  border-radius: 1rem;
  margin-bottom: 1.5rem;
  text-align: left;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.timeline-item span {
  font-weight: bold;
  color: var(--primary);
  display: block;
  margin-bottom: 0.5rem;
}


/* VISION MISSION */
.vision-mission {
  padding: 6rem 6rem;
  background: #f9fafc;
}

.vm-container {
  max-width: 1100px;
  margin: auto;
  display: flex;
  gap: 3rem;
}

.vm-card {
  flex: 1;
  background: white;
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 15px 40px rgba(0,0,0,0.08);
  transition: 0.3s ease;
}

.vm-card:hover {
  transform: translateY(-8px);
}

.vm-card h3 {
  margin-bottom: 1rem;
  color: var(--primary);
}

.vm-card ul {
  padding-left: 1.2rem;
}

.vm-card li {
  margin-bottom: 0.6rem;
}