/* ============================================
   JHEEL INTERNATIONAL SCHOOL - MAIN STYLES
   ============================================ */

/* CSS Variables */
:root {
  --primary-gold: #ffd93d;
  --secondary-orange: #ffb347;
  --accent-orange: #f4a127;
  --hover-orange: #ff8c42;
  --light-yellow: #fff9c4;
  --light-blue: #81d4fa;
  --light-green: #a5d6a7;
  --soft-peach: #ffe0b2;
  --warm-white: #fffef9;
  --off-white: #fafaf8;
  --text-dark: #2d3748;
  --text-gray: #4a5568;
  --text-light: #718096;
  --border-light: #e2e8f0;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.15);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
  color: var(--text-dark);
  background-color: var(--warm-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.3;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 2rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p {
  color: var(--text-gray);
  font-size: 1.125rem;
  margin-bottom: 1rem;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

button {
  cursor: pointer;
  border: none;
  outline: none;
  font-family: inherit;
}

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

ul {
  list-style: none;
}

/* Utility Classes */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section {
  padding: 5rem 0;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title h2 {
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
}

.section-title h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-gold), var(--secondary-orange));
  border-radius: 2px;
}

.section-title p {
  color: var(--text-gray);
  max-width: 600px;
  margin: 0 auto;
}

.section-label {
  display: inline-block;
  color: var(--accent-orange);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.875rem;
  letter-spacing: 1px;
  margin-bottom: 1rem;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.875rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 50px;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  text-align: center;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-gold), var(--secondary-orange));
  color: var(--text-dark);
  box-shadow: 0 4px 15px rgba(255, 217, 61, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 217, 61, 0.4);
  background: linear-gradient(135deg, var(--secondary-orange), var(--primary-gold));
}

.btn-secondary {
  background: white;
  color: var(--text-dark);
  border: 2px solid var(--primary-gold);
}

.btn-secondary:hover {
  background: linear-gradient(135deg, var(--light-green), var(--light-blue));
  color: white;
  transform: translateY(-2px);
  border-color: transparent;
}

.btn-large {
  padding: 1.125rem 3rem;
  font-size: 1.25rem;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

/* ============================================
   NAVBAR STYLES
   ============================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: linear-gradient(135deg, rgba(255, 217, 61, 0.98), rgba(255, 179, 71, 0.98));
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  box-shadow: 0 2px 20px rgba(255, 217, 61, 0.3);
}

.navbar.scrolled {
  background: linear-gradient(135deg, rgba(255, 217, 61, 1), rgba(255, 179, 71, 1));
  box-shadow: 0 4px 30px rgba(255, 217, 61, 0.4);
}

.navbar-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar-logo {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
  transition: transform 0.3s ease;
}

.navbar-logo:hover {
  transform: scale(1.05);
}

.navbar-logo svg {
  width: 40px;
  height: 40px;
  color: var(--text-dark);
  filter: drop-shadow(0 2px 4px rgba(45, 55, 72, 0.3));
}

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

.logo-main {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-dark);
  letter-spacing: -0.5px;
}

.logo-sub {
  font-size: 0.875rem;
  font-weight: 600;
  color: #1a202c;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nav-link {
  color: var(--text-dark);
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
  transition: color 0.3s ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: #1a202c;
  transition: width 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
  color: #1a202c;
}

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

.nav-cta {
  padding: 0.625rem 1.5rem;
  background: white;
  color: var(--text-dark);
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
  background: #f7f7f5;
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-dark);
  cursor: pointer;
  padding: 0.5rem;
}

.mobile-menu-toggle svg {
  width: 28px;
  height: 28px;
}

/* ============================================
   FOOTER STYLES
   ============================================ */
.footer {
  background: linear-gradient(135deg, #2d3748 0%, #1a202c 100%);
  color: #e2e8f0;
  padding: 4rem 0 1.5rem;
  margin-top: auto;
}

.footer-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

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

.footer-col h4 {
  color: white;
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.75rem;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-orange), var(--hover-orange));
  border-radius: 2px;
}

.footer-logo {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1rem;
  color: var(--accent-orange);
}

.footer-logo svg {
  width: 36px;
  height: 36px;
}

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

.footer-logo h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: white;
  margin: 0;
  line-height: 1.2;
}

.footer-logo p {
  font-size: 0.875rem;
  color: var(--accent-orange);
  margin: 0;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-logo .tagline {
  font-size: 0.75rem;
  color: #cbd5e0;
  font-style: italic;
  margin-top: 0.25rem;
}

.footer-desc {
  color: #cbd5e0;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

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

.social-links a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(244, 161, 39, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-orange);
  transition: all 0.3s ease;
}

.social-links a svg {
  width: 20px;
  height: 20px;
}

.social-links a:hover {
  background: linear-gradient(135deg, var(--accent-orange), var(--hover-orange));
  color: white;
  transform: translateY(-3px);
}

.footer-col ul li {
  margin-bottom: 0.75rem;
}

.footer-col ul li a {
  color: #cbd5e0;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  display: inline-block;
}

.footer-col ul li a:hover {
  color: var(--accent-orange);
  transform: translateX(5px);
}

.contact-info li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  color: #cbd5e0;
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.contact-info li svg {
  color: var(--accent-orange);
  flex-shrink: 0;
  margin-top: 2px;
  width: 18px;
  height: 18px;
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(226, 232, 240, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom p {
  color: #cbd5e0;
  font-size: 0.9rem;
  margin: 0;
}

.footer-links {
  display: flex;
  gap: 1rem;
  align-items: center;
  font-size: 0.9rem;
}

.footer-links a {
  color: #cbd5e0;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--accent-orange);
}

.footer-links span {
  color: #4a5568;
}

/* ============================================
   PAGE HEADER (Common)
   ============================================ */
.page-header {
  padding: 5rem 0 4rem;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  text-align: center;
  color: white;
  margin-top: 80px;
}

.page-header h1 {
  font-size: 3.5rem;
  color: white;
  margin-bottom: 1rem;
}

.page-header p {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.95);
  max-width: 600px;
  margin: 0 auto;
}

.header-badge {
  display: inline-block;
  padding: 0.75rem 2rem;
  background: white;
  color: var(--accent-orange);
  font-weight: 700;
  font-size: 1.125rem;
  border-radius: 50px;
  margin-top: 1.5rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  animation: pulse-badge 2s infinite;
}

@keyframes pulse-badge {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

/* ============================================
   WHATSAPP BUTTON
   ============================================ */
.whatsapp-btn {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 60px;
  height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  z-index: 999;
  transition: all 0.3s ease;
}

.whatsapp-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 30px rgba(37, 211, 102, 0.5);
}

.whatsapp-btn svg {
  width: 32px;
  height: 32px;
}

/* ============================================
   CTA SECTION (Common)
   ============================================ */
.cta-section {
  padding: 5rem 0;
  background: linear-gradient(135deg, var(--primary-gold) 0%, var(--secondary-orange) 100%);
  text-align: center;
}

.cta-content h2 {
  font-size: 2.5rem;
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.cta-content p {
  font-size: 1.25rem;
  color: var(--text-gray);
  margin-bottom: 2.5rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  gap: 1.25rem;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-section .btn-primary {
  background: white;
  color: var(--text-dark);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.cta-section .btn-primary:hover {
  background: #f7f7f5;
  transform: translateY(-3px);
}

.cta-section .btn-secondary {
  background: transparent;
  color: var(--text-dark);
  border-color: var(--text-dark);
}

.cta-section .btn-secondary:hover {
  background: var(--text-dark);
  color: white;
}

/* Dark CTA Section */
.cta-section.dark {
  background: linear-gradient(135deg, #2d3748, #1a202c);
}

.cta-section.dark .cta-content h2 {
  color: white;
}

.cta-section.dark .cta-content p {
  color: rgba(255, 255, 255, 0.9);
}

.cta-section.dark .btn-primary {
  background: linear-gradient(135deg, var(--accent-orange), var(--hover-orange));
  color: white;
}

.cta-section.dark .btn-secondary {
  background: transparent;
  color: white;
  border-color: white;
}

.cta-section.dark .btn-secondary:hover {
  background: white;
  color: var(--text-dark);
}

/* Newsletter Form */
.newsletter-form {
  display: flex;
  gap: 1rem;
  max-width: 600px;
  margin: 0 auto;
}

.newsletter-form input {
  flex: 1;
  padding: 1rem 1.5rem;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 50px;
  font-size: 1rem;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  transition: all 0.3s ease;
}

.newsletter-form input::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.newsletter-form input:focus {
  outline: none;
  border-color: var(--accent-orange);
  background: rgba(255, 255, 255, 0.15);
}

/* ============================================
   RESPONSIVE STYLES
   ============================================ */
@media (max-width: 1024px) {
  .nav-links {
    gap: 1.5rem;
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
}

@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.75rem; }
  h3 { font-size: 1.5rem; }
  
  .container {
    padding: 0 1rem;
  }
  
  .section {
    padding: 3rem 0;
  }
  
  .mobile-menu-toggle {
    display: block;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: linear-gradient(135deg, var(--primary-gold), var(--secondary-orange));
    flex-direction: column;
    align-items: flex-start;
    padding: 6rem 2rem 2rem;
    gap: 2rem;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
    transition: right 0.3s ease;
  }

  .nav-links.active {
    right: 0;
  }

  .nav-link::after {
    display: none;
  }

  .nav-cta {
    width: 100%;
    text-align: center;
  }

  .navbar-container {
    padding: 1rem 1.5rem;
  }

  .logo-main {
    font-size: 1.1rem;
  }

  .navbar-logo svg {
    width: 32px;
    height: 32px;
  }
  
  .page-header {
    padding: 3rem 0 2rem;
    margin-top: 70px;
  }
  
  .page-header h1 {
    font-size: 2.5rem;
  }
  
  .newsletter-form {
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  
  .footer-links {
    justify-content: center;
  }
  
  .cta-buttons {
    flex-direction: column;
    align-items: stretch;
  }
  
  .whatsapp-btn {
    bottom: 1.5rem;
    right: 1.5rem;
    width: 50px;
    height: 50px;
  }
  
  .whatsapp-btn svg {
    width: 26px;
    height: 26px;
  }
}

@media (max-width: 480px) {
  h1 { font-size: 1.75rem; }
  h2 { font-size: 1.5rem; }
  p { font-size: 1rem; }
}
