/* Vedanya School - Static HTML/CSS
   Primary: #232F5F (Navy Blue)
   Secondary: #E6CC8F (Golden)
   Font: STIX Two Text
*/

/* ==================== CSS RESET & BASE ==================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  /* Colors */
  --primary: #232F5F;
  --primary-light: #2d3d7a;
  --primary-dark: #1a2348;
  --primary-foreground: #F5F0E6;
  
  --secondary: #E6CC8F;
  --secondary-light: #f0dba8;
  --secondary-dark: #d4b86d;
  --secondary-foreground: #232F5F;
  
  --background: #FAF8F5;
  --foreground: #1a2348;
  
  --card: #FDFCFA;
  --card-foreground: #1a2348;
  
  --muted: #E8E4DD;
  --muted-foreground: #5a6178;
  
  --accent: #F0E8D6;
  --accent-foreground: #232F5F;
  
  --border: #E2DDD3;
  
  /* Spacing */
  --radius: 1rem;
  --radius-lg: 1.5rem;
  --radius-xl: 2rem;
  
  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(35, 47, 95, 0.08);
  --shadow-md: 0 8px 30px rgba(35, 47, 95, 0.12);
  --shadow-lg: 0 20px 50px rgba(35, 47, 95, 0.15);
  
  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 300ms ease;
  --transition-slow: 500ms ease;
}

p{
  font-family: 'STIX Two Text', serif;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'STIX Two Text', serif;
  background-color: var(--background);
  color: var(--foreground);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'STIX Two Text', 'Playfair Display', Georgia, serif;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

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

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

ul {
  list-style: none;
}

/* ==================== UTILITIES ==================== */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 640px) {
  .container {
    padding: 0 1.5rem;
  }
}

@media (min-width: 1024px) {
  .container {
    padding: 0 2rem;
  }
}

.section {
  padding: 4rem 0;
}

@media (min-width: 768px) {
  .section {
    padding: 4rem 0;
  }
}

.section-alt {
  background-color: var(--card);
}

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

.text-primary {
  color: var(--primary);
}

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

.text-white {
  color: var(--primary-foreground);
}

.text-white-muted {
  color: rgba(245, 240, 230, 0.8);
}

.hidden {
  display: none !important;
}

/* ==================== BUTTONS ==================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-size: 0.9375rem;
  font-weight: 500;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: all var(--transition-base);
  white-space: nowrap;
}

.btn svg {
  width: 1.25rem;
  height: 1.25rem;
}

.btn-primary {
  background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-dark) 100%);
  color: var(--primary);
  box-shadow: 0 4px 15px rgba(230, 204, 143, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(230, 204, 143, 0.4);
}

.btn-hero {
  padding: 1rem 2rem;
  font-size: 1rem;
  background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-dark) 100%);
  color: var(--primary);
  box-shadow: 0 8px 30px rgba(230, 204, 143, 0.3);
}

.btn-hero:hover {
  transform: scale(1.05);
  box-shadow: 0 12px 40px rgba(230, 204, 143, 0.4);
}

.btn-hero-outline {
  padding: 1rem 2rem;
  font-size: 1rem;
  background: transparent;
  color: var(--secondary);
  border: 2px solid var(--secondary);
}

.btn-hero-outline:hover {
  background: var(--secondary);
  color: var(--primary);
}

.btn-outline-light {
  background: transparent;
  color: var(--primary-foreground);
  border: 2px solid rgba(245, 240, 230, 0.3);
  width: 100%;
}

.btn-outline-light:hover {
  background: rgba(245, 240, 230, 0.1);
  border-color: var(--secondary);
  color: var(--secondary);
}

/* ==================== HEADER ==================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(250, 248, 245, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}



.logo-text {
  display: none;
}

@media (min-width: 640px) {
  .logo-text {
    display: block;
  }
}

.logo-name {
  display: block;
  font-family: 'STIX Two Text', serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--foreground);
}

.logo-sub {
  display: block;
  font-size: 0.75rem;
  color: var(--muted-foreground);
  margin-top: -4px;
}

.nav-links {
  display: none;
  align-items: center;
  gap: 0.25rem;
}

@media (min-width: 1024px) {
  .nav-links {
    display: flex;
  }
}

.nav-links > li > a {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.625rem 1rem;
  font-size: 0.9375rem;
  font-weight: 500;
  border-radius: var(--radius);
  transition: background var(--transition-fast);
}

.nav-links > li > a:hover {
  background: var(--secondary);
}

.chevron {
  width: 1rem;
  height: 1rem;
}

/* Dropdown */
.dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 280px;
  background: var(--secondary);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 0.5rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all var(--transition-fast);
}

.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu a {
  display: block;
  padding: 0.75rem 1rem;
  border-radius: calc(var(--radius) - 4px);
  transition: background var(--transition-fast);
}

.dropdown-menu a:hover {
  background: var(--secondary);
}

.dropdown-menu strong {
  display: block;
  font-weight: 500;
  margin-bottom: 0.25rem;
}

.dropdown-menu span {
  display: block;
  font-size: 0.8125rem;
  color: var(--muted-foreground);
}

.nav-cta {
  display: none;
}

@media (min-width: 1024px) {
  .nav-cta {
    display: inline-flex;
  }
}

.mobile-menu-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  background: none;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background var(--transition-fast);
}

.mobile-menu-btn:hover {
  background: var(--secondary);
}

.mobile-menu-btn svg {
  width: 1.5rem;
  height: 1.5rem;
}

@media (min-width: 1024px) {
  .mobile-menu-btn {
    display: none;
  }
}

/* Mobile Menu */
.mobile-menu {
  background: var(--background);
  border-bottom: 1px solid var(--border);
  padding: 1rem;
}

@media (min-width: 1024px) {
  .mobile-menu {
    display: none !important;
  }
}

.mobile-nav-links li a {
  display: block;
  padding: 0.75rem 1rem;
  font-weight: 500;
  border-radius: var(--radius);
}

.mobile-nav-links li a:hover {
  background: var(--secondary);
}

.mobile-cta {
  width: 100%;
  margin-top: 1rem;
}



/* ==================== FOOTER ==================== */
.footer {
  background: var(--primary);
  color: var(--primary-foreground);
  padding: 4rem 0;
}

@media (min-width: 768px) {
  .footer {
    padding: 6rem 0;
  }
}

.footer-grid {
  display: grid;
  gap: 3rem;
}

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

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
  }
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.footer-tagline {
  font-size: 0.875rem;
  opacity: 0.8;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-links a {
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(245, 240, 230, 0.1);
  border-radius: 50%;
  transition: all var(--transition-base);
}

.social-links a:hover {
  background: var(--secondary);
  color: var(--secondary-foreground);
}

.social-links svg {
  width: 1.25rem;
  height: 1.25rem;
}

.footer-links-col h4 {
  font-size: 1.125rem;
  margin-bottom: 1.5rem;
}

.footer-links-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links-col a {
  font-size: 0.875rem;
  opacity: 0.8;
  transition: all var(--transition-fast);
}

.footer-links-col a:hover {
  opacity: 1;
  color: var(--secondary);
}

.campus-info {
  margin-bottom: 1.5rem;
}

.campus-name {
  font-weight: 500;
  color: var(--secondary);
  margin-bottom: 0.5rem;
}

.campus-address {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.875rem;
  opacity: 0.8;
}

.campus-address svg {
  width: 1rem;
  height: 1rem;
  margin-top: 0.125rem;
  flex-shrink: 0;
}

.footer-bottom {
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(245, 240, 230, 0.2);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

.footer-bottom p {
  font-size: 0.875rem;
  opacity: 0.6;
}

.footer-legal {
  display: flex;
  gap: 1.5rem;
}

.footer-legal a {
  font-size: 0.875rem;
  opacity: 0.6;
  transition: all var(--transition-fast);
}

.footer-legal a:hover {
  opacity: 1;
  color: var(--secondary);
}

/* ==================== ANIMATIONS ==================== */
.animate-fade-up {
  animation: fadeUp 0.8s ease-out forwards;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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