/* 
  Unity Public School - Style Guide
  Colors: 
    Soft Blue (Primary): #AEE2FF
    Mint Green (Secondary): #B5F1CC
    Light Yellow (Accent): #FDFDBD
    Warm Cream (Background): #FFFBF5
    Dark Text: #3D405B
*/

:root {
  --clr-primary: #AEE2FF;
  --clr-primary-dark: #8ECAE6;
  --clr-secondary: #B5F1CC;
  --clr-accent: #FDFDBD;
  --clr-accent-dark: #F4E869;
  --clr-bg: #FFFBF5;
  --clr-surface: #FFFFFF;
  --clr-text: #3D405B;
  --clr-text-light: #6B705C;
  
  --font-heading: 'Quicksand', sans-serif;
  --font-body: 'Open Sans', sans-serif;
  
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 20px 40px -5px rgba(61, 64, 91, 0.08);
  
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background-color: var(--clr-bg);
  color: var(--clr-text);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--clr-text);
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Layout Utilities */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.text-center { text-align: center; }
.pt-section { padding-top: 80px; }
.pb-section { padding-bottom: 80px; }
.mt-4 { margin-top: 2rem; }

/* Colors & Backgrounds */
.bg-primary { background-color: var(--clr-primary); }
.bg-soft-blue { background-color: rgba(174, 226, 255, 0.15); }
.bg-blue-light { background-color: rgba(174, 226, 255, 0.5); }
.bg-green-light { background-color: rgba(181, 241, 204, 0.5); }
.bg-yellow-light { background-color: rgba(253, 253, 189, 0.5); }
.bg-mint-green { background-color: var(--clr-secondary); }
.text-white { color: white; }
.text-highlight { 
  color: var(--clr-primary-dark);
  position: relative;
  display: inline-block;
}
.text-highlight::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 0;
  width: 100%;
  height: 8px;
  background-color: var(--clr-accent);
  z-index: -1;
  border-radius: 4px;
}

.rounded-xl { border-radius: var(--radius-xl); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border-radius: 50px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
  border: none;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  background-color: var(--clr-primary-dark);
  color: white;
}

.btn-primary:hover {
  background-color: #7ABDE0;
}

.btn-secondary {
  background-color: var(--clr-secondary);
  color: var(--clr-text);
}

.btn-white {
  background-color: white;
  color: var(--clr-primary-dark);
}

.btn-yellow {
  background-color: var(--clr-accent);
  color: var(--clr-text);
}

.btn-outline {
  background-color: transparent;
  border: 2px solid var(--clr-primary-dark);
  color: var(--clr-primary-dark);
}

.btn-outline:hover {
  background-color: var(--clr-primary-dark);
  color: white;
}

.btn-lg {
  padding: 16px 36px;
  font-size: 1.125rem;
}

/* Header & Nav */
.main-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 1000;
  box-shadow: 0 1px 0 rgba(0,0,0,0.05);
  transition: var(--transition);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-img {
  width: 50px;
  height: 50px;
  object-fit: contain;
  border-radius: 12px;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.school-name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--clr-text);
  line-height: 1.1;
}

.school-tag {
  font-size: 0.75rem;
  color: var(--clr-text-light);
  letter-spacing: 0.5px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links {
  display: flex;
  gap: 28px;
}

.nav-links a {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--clr-text-light);
  font-size: 1rem;
  transition: var(--transition);
  position: relative;
}

.nav-links a:hover, .nav-links a.active {
  color: var(--clr-primary-dark);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0%;
  height: 2px;
  background-color: var(--clr-primary-dark);
  transition: var(--transition);
  border-radius: 2px;
}

.nav-links a:hover::after, .nav-links a.active::after {
  width: 100%;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 5px;
}

.mobile-menu-btn span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: var(--clr-text);
  border-radius: 3px;
  transition: var(--transition);
}

/* Hero Section */
.hero {
  position: relative;
  overflow: hidden;
  padding-top: 120px;
}

.hero-bg-shapes {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
}

.shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.6;
}

.shape-1 { width: 400px; height: 400px; background: var(--clr-primary); top: -100px; left: -100px; }
.shape-2 { width: 300px; height: 300px; background: var(--clr-accent); top: 20%; right: -50px; }
.shape-3 { width: 350px; height: 350px; background: var(--clr-secondary); bottom: -150px; left: 20%; }

.badge {
  display: inline-block;
  background-color: var(--clr-accent);
  color: var(--clr-text);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.875rem;
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 24px;
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  margin-bottom: 24px;
}

.hero-subtitle {
  font-size: clamp(1.125rem, 2vw, 1.25rem);
  color: var(--clr-text-light);
  max-width: 700px;
  margin: 0 auto 40px;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-bottom: 64px;
}

.hero-image-wrapper {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

.hero-img {
  width: 100%;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  aspect-ratio: 16/9;
  object-fit: cover;
}

.floating-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: 12px 20px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-heading);
  font-weight: 700;
  animation: float 6s ease-in-out infinite;
}

.floating-card .emoji { font-size: 1.5rem; }

.card-1 { top: 10%; left: -5%; animation-delay: 0s; }
.card-2 { bottom: 15%; right: -5%; animation-delay: 3s; }

@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-15px); }
  100% { transform: translateY(0px); }
}

/* Features */
.section-header {
  margin-bottom: 64px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.section-title {
  font-size: clamp(2rem, 4vw, 2.5rem);
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--clr-text-light);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
}

.feature-card {
  background: var(--clr-surface);
  padding: 40px 32px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid rgba(0,0,0,0.03);
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.icon-wrapper {
  width: 64px;
  height: 64px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  color: var(--clr-text);
}

.icon-wrapper svg {
  width: 32px;
  height: 32px;
}

.feature-card h3 {
  font-size: 1.5rem;
  margin-bottom: 12px;
}

.feature-card p {
  color: var(--clr-text-light);
}

/* Programs section */
.programs-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.section-body {
  font-size: 1.125rem;
  color: var(--clr-text-light);
  margin-bottom: 32px;
}

.checklist {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.checklist li {
  position: relative;
  padding-left: 36px;
}

.checklist li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  width: 24px;
  height: 24px;
  background-color: var(--clr-secondary);
  color: var(--clr-text);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 0.8rem;
}

/* Mega CTA */
.mega-cta {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--clr-primary-dark), #66A5C7);
}

.cta-title {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 16px;
}

.cta-subtitle {
  font-size: 1.25rem;
  max-width: 600px;
  margin: 0 auto 40px;
  opacity: 0.9;
}

/* Footer */
.main-footer {
  background-color: #2b2d42;
  color: white;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-title {
  color: var(--clr-accent);
  font-size: 1.5rem;
  margin-bottom: 16px;
}

.footer-text {
  color: rgba(255,255,255,0.7);
  max-width: 300px;
}

.footer-heading {
  font-size: 1.25rem;
  margin-bottom: 24px;
  color: white;
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  color: rgba(255,255,255,0.7);
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--clr-secondary);
  padding-left: 4px;
}

.contact-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  color: rgba(255,255,255,0.7);
}

.footer-bottom {
  padding: 32px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: rgba(255,255,255,0.5);
  font-size: 0.875rem;
}

.social-links {
  display: flex;
  gap: 16px;
}

.social-links a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  transition: var(--transition);
}

.social-links a:hover {
  background: var(--clr-accent);
  color: var(--clr-text);
  transform: translateY(-3px);
}

/* WhatsApp Button */
.floating-whatsapp {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background-color: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.4);
  z-index: 1000;
  transition: var(--transition);
}

.floating-whatsapp:hover {
  transform: scale(1.1) translateY(-5px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

/* Animations & Utility */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.animate-on-scroll.in-view {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }

/* Responsive Media Queries */
@media (max-width: 900px) {
  .programs-layout {
    grid-template-columns: 1fr;
  }
  
  .card-1 { left: 5%; }
  .card-2 { right: 5%; }
}

@media (max-width: 768px) {
  .nav-links, .nav-cta {
    display: none;
  }
  
  .mobile-menu-btn {
    display: flex;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-ctas {
    flex-direction: column;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  .hidden-mobile {
    display: none;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
}
