@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

:root {
  /* Brand Style Guide Colors */
  --brand-navy: #06435D;
  --brand-lime: #C2D985;
  --brand-lime-hover: #A9C266;
  --brand-lightblue: #4A8EBA;
  --brand-coral: #FF6060;
  --brand-offwhite: #F9F9F9;
  --brand-darkgray: #353535;
  --pure-white: #FFFFFF;
  
  /* Layout Variables */
  --border-radius-lg: 32px;
  --border-radius-md: 16px;
  --border-radius-sm: 8px;
  --shadow-soft: 0 20px 40px rgba(6, 67, 93, 0.08);
  --shadow-hover: 0 30px 60px rgba(6, 67, 93, 0.15);
  --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', sans-serif;
  scroll-behavior: smooth;
}

body {
  background-color: var(--brand-offwhite);
  color: var(--brand-darkgray);
  line-height: 1.7;
  overflow-x: hidden;
}
html {
  overflow-x: hidden;
  max-width: 100vw;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  color: var(--brand-navy);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

h1 { font-size: 4.5rem; }
h2 { font-size: 3rem; }
h3 { font-size: 2rem; }

.text-navy { color: var(--brand-navy); }
.text-lime { color: var(--brand-lime); }
.text-lightblue { color: var(--brand-lightblue); }
.text-coral { color: var(--brand-coral); }
.text-gray { color: #6b7280; }

.bg-navy { background-color: var(--brand-navy); }
.bg-lime { background-color: var(--brand-lime); }
.bg-offwhite { background-color: var(--brand-offwhite); }
.bg-white { background-color: var(--pure-white); }
.bg-light { background-color: var(--brand-offwhite); }
.text-white { color: var(--pure-white) !important; }
.mb-4 { margin-bottom: 1.5rem !important; }

/* Layout Utilities */
.container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section { padding: 5rem 0; position: relative; }

.section-title {
  text-align: center;
  margin-bottom: 4rem;
  position: relative;
  display: block;
}

.section-title span {
  display: inline-block;
  padding: 0.5rem 1.5rem;
  background: rgba(74, 142, 186, 0.1);
  color: var(--brand-lightblue);
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 1rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1.2rem 2.5rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1.1rem;
  text-decoration: none;
  transition: var(--transition);
  cursor: pointer;
  border: none;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-primary {
  background-color: var(--brand-lime);
  color: var(--brand-navy);
  box-shadow: 0 10px 20px rgba(194, 217, 133, 0.4);
}

.btn-primary:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(194, 217, 133, 0.6);
  background-color: var(--brand-lime-hover);
}

.btn-outline {
  background-color: transparent;
  color: var(--brand-navy);
  border: 2px solid var(--brand-navy);
}

.btn-outline:hover {
  background-color: var(--brand-navy);
  color: var(--pure-white);
}

.btn i { transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1); }
.btn:hover i { transform: translateX(8px) scale(1.1); }

/* Navbar */
.navbar {
  position: fixed;
  top: 0; left: 0; width: 100%;
  padding: 1.2rem 0;
  background: rgba(6, 67, 93, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 1000;
  transition: var(--transition);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.navbar.scrolled {
  padding: 0.3rem 0;
  background: rgba(6, 67, 93, 0.85);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.navbar .container {
  display: flex; justify-content: space-between; align-items: center;
}

.nav-logo { 
  display: flex; align-items: center; gap: 1rem; text-decoration: none; 
}
.nav-logo img { height: 50px; transition: var(--transition); border-radius: 8px; }
.navbar.scrolled .nav-logo img { height: 40px; }

.nav-logo-text { display: flex; flex-direction: column; justify-content: center; }
.nav-logo-text .college-title { font-size: 1.05rem; color: var(--pure-white); margin: 0; font-weight: 700; line-height: 1.3; letter-spacing: 0px; transition: var(--transition); }
.navbar.scrolled .nav-logo-text .college-title { font-size: 0.95rem; }

.nav-links { display: flex; gap: 1.5rem; list-style: none; align-items: center; }
.nav-links a:not(.btn) {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 600;
  font-size: 1rem;
  transition: var(--transition);
  position: relative;
}
.nav-links a:not(.btn):hover { color: var(--brand-lime); }

.navbar .btn { padding: 0.8rem 1.8rem; font-size: 1rem; transition: var(--transition); }
.navbar.scrolled .btn { padding: 0.5rem 1.4rem; font-size: 0.9rem; }

/* Modern Split Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 100px;
  padding-bottom: 60px;
  background-color: var(--brand-offwhite);
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-content {
  max-width: 650px;
  position: relative;
  z-index: 10;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(194, 217, 133, 0.2);
  color: var(--brand-navy);
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 2rem;
  border: 1px solid rgba(194, 217, 133, 0.5);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.hero-badge i { color: var(--brand-coral); font-size: 1.2rem; }

.hero h1 { margin-bottom: 1.5rem; }
.hero h1 span {
  position: relative;
  display: inline-block;
}
.hero h1 span::after {
  content: ''; position: absolute; bottom: 8px; left: 0; width: 100%; height: 16px;
  background-color: var(--brand-lime); z-index: -1; transform: skewX(-15deg);
}

.hero p {
  font-size: 1.25rem;
  color: var(--text-gray);
  margin-bottom: 3rem;
  line-height: 1.8;
}

.hero-buttons { display: flex; gap: 1.5rem; }

.hero-image-wrapper {
  position: relative;
  border-radius: var(--border-radius-lg);
  height: 600px;
  width: 100%;
}

.hero-image {
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-soft);
  position: absolute;
  top: 0; left: 0;
  z-index: 5;
}

.hero-slide-2 {
  opacity: 0;
  animation: heroCrossfade 10s ease-in-out infinite;
}

@keyframes heroCrossfade {
  0%, 45% { opacity: 0; }
  50%, 95% { opacity: 1; }
  100% { opacity: 0; }
}

.hero-shape-1 {
  position: absolute; top: -50px; right: -50px; width: 300px; height: 300px;
  background-color: var(--brand-lightblue); 
  border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
  z-index: 1; opacity: 0.15;
  animation: morph 8s ease-in-out infinite;
}

.hero-shape-2 {
  position: absolute; bottom: -80px; left: -40px; width: 400px; height: 400px;
  background-color: var(--brand-lime); 
  border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
  z-index: 1; opacity: 0.3;
  animation: morph 10s ease-in-out infinite reverse;
}

@keyframes morph {
  0%, 100% { border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%; }
  34% { border-radius: 70% 30% 50% 50% / 30% 30% 70% 70%; }
  67% { border-radius: 100% 60% 60% 100% / 100% 100% 60% 60%; }
}

/* Stats Section */
.stats-container {
  margin-top: 2rem;
  margin-bottom: 4rem;
  position: relative;
  z-index: 20;
}

.stats-grid {
  display: flex;
  justify-content: space-between;
  background: var(--pure-white);
  padding: 3rem;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(6, 67, 93, 0.05);
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex: 1;
  padding: 1.5rem 2rem;
  border-right: 1px solid rgba(6, 67, 93, 0.1);
  transition: var(--transition);
  border-radius: var(--border-radius-md);
}

.stat-item:hover {
  background: rgba(194, 217, 133, 0.1);
  transform: translateY(-5px);
}

.stat-item:last-child { border-right: none; }

.stat-icon {
  width: 70px; height: 70px;
  background: rgba(194, 217, 133, 0.2);
  color: var(--brand-navy);
  border-radius: 20px;
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem;
  transition: var(--transition);
}

.stat-item:hover .stat-icon {
  transform: scale(1.1) rotate(5deg);
  background: var(--brand-lime-hover);
  color: var(--pure-white);
}

.stat-text h3 { font-size: 2.5rem; margin-bottom: 0.2rem; color: var(--brand-navy); }
.stat-text p { font-size: 1rem; color: var(--text-gray); font-weight: 600; text-transform: uppercase; letter-spacing: 1px; }

/* Core Values Section */
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.value-card {
  background: var(--pure-white);
  padding: 3rem 2rem;
  border-radius: var(--border-radius-lg);
  text-align: center;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(6, 67, 93, 0.03);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.value-card::before {
  content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 4px;
  background: var(--brand-lime); transform: scaleX(0); transition: var(--transition);
}

.value-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-hover); }
.value-card:hover::before { transform: scaleX(1); }

.value-icon {
  width: 80px; height: 80px; margin: 0 auto 1.5rem;
  background: rgba(194, 217, 133, 0.2);
  color: var(--brand-navy);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 2.5rem; transition: var(--transition);
}

.value-card:hover .value-icon {
  background: var(--brand-lime-hover); color: var(--pure-white); transform: scale(1.1);
}

.value-card h3 { color: var(--brand-navy); margin-bottom: 1rem; font-size: 1.5rem; }
.value-card p { color: var(--text-gray); font-size: 1rem; line-height: 1.6; }

/* Human Touch Section */
.human-touch {
  background: linear-gradient(135deg, var(--brand-navy) 0%, #0a2f42 100%);
  border-radius: var(--border-radius-lg);
  padding: 6rem 4rem;
  text-align: center;
  color: var(--pure-white);
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(6, 67, 93, 0.2);
  margin-top: 2rem;
}

.human-touch::before {
  content: '\201C'; /* quote mark */
  position: absolute; top: -20px; left: 50%; transform: translateX(-50%);
  font-size: 20rem; color: rgba(255,255,255,0.03); font-family: serif; line-height: 1; pointer-events: none;
}

.human-touch p.quote {
  font-size: 2rem; font-weight: 300; line-height: 1.6; max-width: 900px; margin: 0 auto 2rem; position: relative; z-index: 2;
}

.human-touch .author {
  font-weight: 700; color: var(--brand-lime); font-size: 1.2rem; text-transform: uppercase; letter-spacing: 2px;
}
.human-touch .role { color: rgba(255,255,255,0.6); font-size: 0.9rem; }

/* Courses Cards */
.courses-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(450px, 1fr)); gap: 3rem;
}

.course-card {
  background: var(--pure-white);
  border-radius: var(--border-radius-lg);
  padding: 4rem;
  box-shadow: var(--shadow-soft);
  transition: var(--transition);
  position: relative;
  border: 1px solid rgba(6, 67, 93, 0.05);
}

.course-card:hover {
  transform: translateY(-15px) scale(1.02);
  box-shadow: 0 40px 80px rgba(6, 67, 93, 0.15);
  border-color: var(--brand-lime);
}

.course-header { display: flex; align-items: center; gap: 1.5rem; margin-bottom: 3rem; }
.course-icon-wrap {
  width: 80px; height: 80px;
  background: var(--brand-navy); color: var(--brand-lime);
  border-radius: 24px;
  display: flex; align-items: center; justify-content: center;
  font-size: 2.5rem;
  box-shadow: 0 10px 20px rgba(6, 67, 93, 0.2);
  transition: var(--transition);
}

.course-card:hover .course-icon-wrap {
  transform: scale(1.1) rotate(-5deg);
  background: var(--brand-lime-hover);
  color: var(--brand-navy);
}

.course-list { list-style: none; }
.course-list li {
  padding: 1.2rem 0;
  border-bottom: 1px solid rgba(6, 67, 93, 0.05);
  display: flex; align-items: center; gap: 1.2rem;
  font-weight: 600; font-size: 1.15rem; color: var(--brand-darkgray);
}
.course-list li:last-child { border-bottom: none; }
.course-list li i {
  color: var(--brand-lime); font-size: 1.5rem;
  background: var(--brand-navy); padding: 6px; border-radius: 50%;
  transition: var(--transition);
}

.course-list li:hover i {
  transform: scale(1.2);
  background: var(--brand-lime-hover);
  color: var(--brand-navy);
}

/* Facilities Section */
.facilities-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 2.5rem;
}

.facility-card {
  background: var(--pure-white);
  border-radius: var(--border-radius-lg);
  padding: 1rem;
  box-shadow: var(--shadow-soft);
  transition: var(--transition);
  border: 1px solid rgba(6, 67, 93, 0.05);
}

.facility-card:hover { 
  transform: translateY(-15px) scale(1.02); 
  box-shadow: 0 40px 80px rgba(6, 67, 93, 0.15);
  border-color: var(--brand-lime);
}

.facility-img {
  width: 100%; height: 240px; border-radius: var(--border-radius-md); object-fit: cover;
}

.facility-content { padding: 2rem 1.5rem 1.5rem; }
.facility-content h3 { font-size: 1.5rem; margin-bottom: 1rem; }
.facility-content p { color: var(--text-gray); }

/* Banner / Admissions */
.cta-banner {
  background: var(--brand-navy);
  border-radius: var(--border-radius-lg);
  padding: 6rem;
  display: flex; justify-content: space-between; align-items: center;
  position: relative; overflow: hidden;
  box-shadow: 0 20px 40px rgba(6, 67, 93, 0.2);
}

.cta-banner::before {
  content: ''; position: absolute; top: -50%; right: -10%; width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(74, 142, 186, 0.3) 0%, transparent 70%);
  border-radius: 50%; pointer-events: none;
}

.cta-banner-text h2 { color: var(--pure-white); font-size: 3.5rem; margin-bottom: 1rem; }
.cta-banner-text p { color: rgba(255,255,255,0.8); font-size: 1.2rem; max-width: 600px; }

/* Footer */
.footer {
  background: var(--brand-navy);
  color: var(--pure-white);
  padding: 8rem 0 3rem;
  margin-top: 4rem;
  border-top: 8px solid var(--brand-lime);
}

.footer-grid {
  display: grid; grid-template-columns: 1.8fr 1fr 1fr 1.2fr 1.5fr; gap: 3rem; margin-bottom: 6rem;
}

.footer-logo { margin-bottom: 2rem; display: flex; align-items: center; gap: 1rem;}
.footer-logo img { height: 60px; border-radius: 8px; }
.footer-logo h2 { color: var(--pure-white); font-size: 1.5rem; margin:0;}

.footer-col h4 { color: var(--brand-lime); font-size: 1.2rem; margin-bottom: 2rem; text-transform: uppercase; letter-spacing: 2px; }

.footer-links { list-style: none; }
.footer-links li { margin-bottom: 1rem; }
.footer-links a { color: rgba(255,255,255,0.7); text-decoration: none; transition: var(--transition); font-weight: 500;}
.footer-links a:hover { color: var(--brand-lime); padding-left: 5px; }

.contact-info li {
  display: flex; gap: 1rem; margin-bottom: 1.5rem; color: rgba(255,255,255,0.7);
}
.contact-info i { color: var(--brand-lime); font-size: 1.5rem; }

.footer-bottom {
  text-align: center; padding-top: 3rem; border-top: 1px solid rgba(255,255,255,0.1); color: rgba(255,255,255,0.4);
}

/* Animations */
.animate-on-load { animation: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards; }
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Inner pages simple hero */
.inner-hero {
  background: var(--brand-navy);
  padding: 180px 0 100px;
  text-align: center;
  color: var(--pure-white);
}
.inner-hero h1 { color: var(--pure-white); font-size: 4rem; margin-bottom: 1rem; }
.inner-hero p { color: var(--brand-lime); font-size: 1.2rem; text-transform: uppercase; letter-spacing: 2px; font-weight: 600;}

/* Mobile Menu & Responsive */
.mobile-toggle {
  display: none;
  font-size: 2rem;
  color: var(--pure-white);
  cursor: pointer;
  z-index: 1000;
  transition: var(--transition);
}
.mobile-toggle:hover { color: var(--brand-lime); }

@media (max-width: 1200px) {
  .hero-grid { gap: 2rem; }
  .hero h1 { font-size: 3.5rem; }
  .stats-grid { flex-wrap: wrap; gap: 2rem; }
  .stat-item { border-right: none; min-width: 250px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 992px) {
  .mobile-toggle { display: block; }
  .nav-links {
    position: fixed;
    top: 0; right: -100%;
    width: 80%; max-width: 400px;
    height: 100vh;
    background: var(--brand-navy);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: var(--transition);
    box-shadow: -10px 0 30px rgba(0,0,0,0.5);
    z-index: 999;
  }
  .nav-links.active { right: 0; }
  .nav-links li { margin: 1.5rem 0; }
  .nav-links a:not(.btn) { color: var(--pure-white); font-size: 1.2rem; }
  .nav-links a:not(.btn)::after { background: var(--brand-lime); }

  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-content { margin: 0 auto; }
  .hero h1 span::after { left: 10%; width: 80%; }
  .hero-buttons { justify-content: center; }
  .hero-image-wrapper { height: 400px; margin-top: 2rem; }
  .cta-banner { flex-direction: column; text-align: center; gap: 3rem; padding: 4rem 2rem; }
}

@media (max-width: 768px) {
  .navbar { padding: 0.5rem 0; }
  .nav-logo-text .college-title { font-size: 0.85rem; line-height: 1.2; }
  .navbar.scrolled .nav-logo-text .college-title { font-size: 0.8rem; }
  .mobile-toggle { font-size: 1.5rem; }
  .container { padding: 0 1rem; }
  .hero-shape-1, .hero-shape-2 { display: none; }
  .course-card { padding: 2rem; }
  .course-header h2 { font-size: 1.8rem; }
  .courses-grid { grid-template-columns: 1fr; }
  .facilities-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .footer { padding: 4rem 0 2rem; margin-top: 2rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 2.5rem; margin-bottom: 2rem; text-align: center; }
  .footer-logo { justify-content: center; flex-direction: column; text-align: center; }
  .footer-logo img { height: 50px; }
  .footer-col h4 { margin-bottom: 1rem; }
  .contact-info li { justify-content: center; text-align: center; }
  .stats-grid { padding: 2rem; flex-direction: column; align-items: center; }
  .stat-item { text-align: center; margin-bottom: 2rem; }
  .hero h1 { font-size: 2.5rem; }
  .hero p { font-size: 1rem; }
  .hero-buttons { flex-direction: column; width: 100%; }
  .hero-buttons .btn { width: 100%; text-align: center; }
  .section { padding: 3rem 0; }
  .section-title { font-size: 2rem; margin-bottom: 2rem; }
  .human-touch { padding: 3rem 2rem; }
  .human-touch p.quote { font-size: 1.5rem; }
  .inner-hero h1 { font-size: 2.5rem; }
}
