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

/* Goshen International Academy Design System */
:root {
  /* Primary brand colors */
  --gia-navy: hsl(220, 60%, 25%);
  --gia-navy-light: hsl(220, 45%, 35%);
  --gia-navy-dark: hsl(220, 70%, 15%);
  --gia-gold: hsl(45, 100%, 50%);
  --gia-gold-light: hsl(45, 100%, 65%);
  --gia-gold-dark: hsl(45, 100%, 40%);
  
  /* Base colors */
  --background: hsl(0, 0%, 100%);
  --foreground: hsl(220, 60%, 25%);
  --card: hsl(0, 0%, 100%);
  --accent: hsl(220, 15%, 96%);
  --muted: hsl(220, 15%, 45%);
  --border: hsl(220, 15%, 90%);
  
  /* Custom gradients */
  --gradient-hero: linear-gradient(135deg, var(--gia-navy-dark) 0%, var(--gia-navy) 100%);
  --gradient-overlay: linear-gradient(135deg, hsl(220, 60%, 25%) / 0.9, hsl(220, 70%, 15%) / 0.95);
  --gradient-accent: linear-gradient(135deg, var(--gia-gold) 0%, var(--gia-gold-light) 100%);
  
  /* Shadows */
  --shadow-elegant: 0 10px 40px -10px hsl(220, 60%, 25%) / 0.3;
  --shadow-glow: 0 0 30px hsl(45, 100%, 50%) / 0.4;
  --shadow-card: 0 8px 32px -8px hsl(220, 60%, 25%) / 0.12;
  
  /* Animations */
  --transition-smooth: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

body {
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
  color: var(--foreground);
  background: var(--background);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Lora', serif;
  font-weight: 600;
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Navigation Styles */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  background: rgba(58, 89, 153, 0.85);
  transition: var(--transition-smooth);
  box-shadow: 0 6px 20px rgba(0,0,0,0.12);
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.navbar.scrolled {
  background: rgba(58, 89, 153, 0.95);
  box-shadow: var(--shadow-elegant);
}

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

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: white;
  text-decoration: none;
  font-size: 1.5rem;
  font-weight: 700;
  font-family: 'Lora', serif;
}

.nav-brand .icon {
  width: 2rem;
  height: 2rem;
  color: var(--gia-gold);
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
}

.nav-link {
  color: white;
  text-decoration: none;
  font-weight: 500;
  position: relative;
  transition: var(--transition-smooth);
  padding: 0.5rem 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--gia-gold);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.nav-link:hover {
  color: var(--gia-gold);
  transform: translateY(-2px);
}

.nav-link:hover::after {
  width: 60%;
}

.nav-login-buttons {
  display: flex;
  gap: 0.75rem;
}

.btn-login {
  background: rgba(255, 215, 0, 0.15);
  color: var(--gia-gold);
  border: 1px solid rgba(255, 215, 0, 0.4);
  padding: 0.5rem 1rem;
  border-radius: 2rem;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  backdrop-filter: blur(8px);
  transition: var(--transition-smooth);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-login:hover {
  background: rgba(255, 215, 0, 0.3);
  color: var(--gia-navy);
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 6px 16px rgba(0,0,0,0.2);
}

/* Mobile Navigation */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
}

.mobile-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--gia-navy);
  padding: 1rem;
  border-top: 1px solid rgba(255,255,255,0.2);
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  list-style: none;
  margin-bottom: 1rem;
}

.mobile-login-buttons {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255,255,255,0.2);
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  padding-top: 80px;
  margin-top: -80px;
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: var(--gradient-overlay);
  backdrop-filter: blur(1px);
  -webkit-backdrop-filter: blur(1px);
}

.hero-glow {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, transparent, rgba(255, 215, 0, 0.05), transparent);
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  color: white;
  max-width: 64rem;
  padding: 2rem;
}

.hero h1 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 8px rgba(0,0,0,0.6);
}

.hero-underline {
  height: 4px;
  width: 6rem;
  background: var(--gradient-accent);
  margin: 0 auto 2rem;
  border-radius: 2px;
  animation: slideUp 0.8s ease-out forwards;
}

.hero-motto {
  font-size: clamp(1.25rem, 3vw, 2rem);
  color: var(--gia-gold);
  font-style: italic;
  letter-spacing: 1.5px;
  margin-bottom: 1.5rem;
  text-shadow: 1px 1px 4px rgba(0,0,0,0.5);
  animation: fadeIn 1s ease-out 0.3s both;
}

.hero-description {
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  line-height: 1.6;
  max-width: 48rem;
  margin: 0 auto 2.5rem;
  opacity: 0.95;
  animation: fadeIn 1s ease-out 0.6s both;
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: center;
  padding-top: 2rem;
  animation: fadeIn 1s ease-out 0.9s both;
}

@media (min-width: 640px) {
  .hero-buttons {
    flex-direction: row;
    justify-content: center;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2.5rem;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 3rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: var(--transition-smooth);
  text-transform: uppercase;
  letter-spacing: 1.2px;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--gia-navy);
  color: white;
  box-shadow: 0 8px 22px rgba(58, 89, 153, 0.4);
}

.btn-secondary {
  background: #e74c3c;
  color: white;
  box-shadow: 0 8px 22px rgba(231, 76, 60, 0.4);
}

.btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(0,0,0,0.4);
}

.btn::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.3) 0%, transparent 70%);
  transform: rotate(45deg);
  opacity: 0;
  transition: opacity 0.5s;
  pointer-events: none;
}

.btn:hover::before {
  opacity: 1;
}

/* Sections */
.section {
  padding: 5rem 0;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--gia-navy);
  font-weight: 700;
  text-align: center;
  margin-bottom: 1rem;
  position: relative;
}

.section-underline {
  height: 4px;
  width: 6rem;
  background: var(--gradient-accent);
  margin: 0 auto 3rem;
  border-radius: 2px;
}

.section-bg-accent {
  background: var(--accent);
}

/* Cards */
.card {
  background: white;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: var(--transition-smooth);
  height: 100%;
}

.card:hover {
  transform: translateY(-12px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.card-content {
  padding: 2rem;
}

.glass-card {
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Grid Layouts */
.grid {
  display: grid;
  gap: 2rem;
}

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

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

/* Feature Cards */
.feature-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.5rem;
  border-radius: 0.75rem;
  background: rgba(255, 255, 255, 0.8);
  transition: var(--transition-smooth);
}

.feature-card:hover {
  background: white;
  box-shadow: var(--shadow-card);
}

.feature-icon {
  width: 3rem;
  height: 3rem;
  background: var(--gradient-accent);
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: var(--transition-smooth);
}

.feature-card:hover .feature-icon {
  box-shadow: var(--shadow-glow);
}

/* Leadership Section */
.founder-card {
  text-align: center;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  border-radius: 1rem;
  padding: 2rem;
  transition: var(--transition-smooth);
}

.founder-card:hover {
  box-shadow: var(--shadow-card);
}

.founder-avatar {
  width: 8rem;
  height: 8rem;
  border-radius: 50%;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  font-weight: bold;
  color: white;
  box-shadow: var(--shadow-elegant);
}

.founder-avatar-1 {
  background: linear-gradient(135deg, var(--gia-navy), var(--gia-navy-light));
}

.founder-avatar-2 {
  background: linear-gradient(135deg, var(--gia-gold), var(--gia-gold-light));
  color: var(--gia-navy);
}

.quote-block {
  background: var(--gradient-hero);
  color: white;
  padding: 3rem;
  border-radius: 1rem;
  margin: 2rem auto 0;
  position: relative;
  overflow: hidden;
  max-width: 54rem;
}

.quote-block::before {
  content: '"';
  position: absolute;
  top: 0.5rem;
  left: 1.5rem;
  font-size: 8rem;
  color: rgba(255, 215, 0, 0.1);
  font-family: 'Lora', serif;
  z-index: 0;
}

.quote-content {
  position: relative;
  z-index: 2;
}

/* Founder Image Styles */
.founder-image-container {
  position: relative;
  width: 100%;
  height: 300px;
  overflow: hidden;
  border-radius: 0.75rem;
  box-shadow: var(--shadow-card);
  margin-bottom: 1rem;
}

.founder-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.founder-image:hover {
  transform: scale(1.05);
}

.founder-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1rem;
  background: linear-gradient(to top, rgba(58, 89, 153, 0.8), transparent);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.founder-avatar {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  color: white;
  font-size: 1.25rem;
}

.founder-avatar-1 {
  background: linear-gradient(135deg, var(--gia-navy), var(--gia-navy-light));
}

.founder-avatar-2 {
  background: linear-gradient(135deg, var(--gia-gold), var(--gia-gold-light));
  color: var(--gia-navy);
}

/* Gallery Section */
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 1rem;
  background: white;
  box-shadow: var(--shadow-card);
  transition: var(--transition-smooth);
}

.gallery-item:hover {
  transform: translateY(-12px);
  box-shadow: var(--shadow-elegant);
}

.gallery-image {
  width: 100%;
  height: 16rem;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover .gallery-image {
  transform: scale(1.1);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(58, 89, 153, 0.6), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

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

.gallery-content {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  right: 1rem;
  color: white;
  opacity: 0;
  transition: opacity 0.3s ease;
}

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

.gallery-text {
  padding: 1.5rem;
}

/* Footer */
.footer {
  background: var(--gia-navy-dark);
  color: white;
  padding: 4rem 0 2rem;
}

.footer-content {
  display: grid;
  gap: 2rem;
  margin-bottom: 3rem;
}

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

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

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  font-size: 1.5rem;
  font-weight: 700;
  font-family: 'Lora', serif;
}

.footer-motto {
  color: var(--gia-gold);
  font-style: italic;
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.footer-description {
  color: #d1d5db;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.footer-section h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: #d1d5db;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--gia-gold);
}

.contact-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  color: #d1d5db;
  font-size: 0.9rem;
}

.social-links {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  margin-bottom: 1rem;
}

.social-links a {
  color: #9ca3af;
  font-size: 1.5rem;
  transition: var(--transition-smooth);
}

.social-links a:hover {
  color: var(--gia-gold);
  transform: scale(1.3) rotate(10deg);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 2rem;
  text-align: center;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 1rem;
}

.footer-nav a {
  color: #d1d5db;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.footer-nav a:hover {
  color: var(--gia-gold);
}

.copyright {
  color: #9ca3af;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.powered-by {
  color: #6b7280;
  font-size: 0.8rem;
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

.fade-in {
  animation: fadeIn 1s ease-out forwards;
}

.slide-up {
  animation: slideUp 0.8s ease-out forwards;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .nav-links {
    display: none;
  }
  
  .nav-login-buttons {
    display: none;
  }
  
  .mobile-menu-btn {
    display: block;
  }
  
  .mobile-menu.show {
    display: block;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 1rem;
  }
  
  .section {
    padding: 3rem 0;
  }
  
  .hero-content {
    padding: 1rem;
  }
  
  .grid {
    gap: 1.5rem;
  }
  
  .card-content {
    padding: 1.5rem;
  }
  
  .quote-block {
    padding: 2rem;
    margin: 1.5rem auto 0;
  }
}

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-12 { margin-bottom: 3rem; }

.mt-4 { margin-top: 1rem; }
.mt-8 { margin-top: 2rem; }
.mt-16 { margin-top: 4rem; }

.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }

.text-sm { font-size: 0.875rem; }
.text-lg { font-size: 1.125rem; }
.text-xl { font-size: 1.25rem; }
.text-2xl { font-size: 1.5rem; }

.opacity-95 { opacity: 0.95; }

.max-w-3xl { max-width: 48rem; }
.max-w-4xl { max-width: 56rem; }
.max-w-6xl { max-width: 72rem; }

.mx-auto { margin-left: auto; margin-right: auto; }

.leading-relaxed { line-height: 1.625; }