@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Inter:wght@300;400;500;600;700&display=swap');
@import url('https://cdn.jsdelivr.net/npm/swiper@11/swiper-bundle.min.css');
@import url('https://unpkg.com/aos@2.3.1/dist/aos.css');

:root {
  --primary: #F4A261;
  --primary-dark: #E76F51;
  --secondary: #2A9D8F;
  --tertiary: #E9C46A;
  --dark: #264653;
  --light: #F8F9FA;
  --white: #FFFFFF;
  --text: #4A5568;
  --border: rgba(38, 70, 83, 0.08);

  --font-main: 'Inter', sans-serif;
  --font-head: 'Outfit', sans-serif;

  --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 25px -5px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.1);

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 40px;
  --transition: all 0.4s ease;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  font-family: var(--font-main);
  color: var(--text);
  background-color: var(--white);
  line-height: 1.6;
  font-size: 16px;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 { font-family: var(--font-head); font-weight: 700; color: var(--dark); line-height: 1.3; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; object-fit: cover; }

.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.section-padding { padding: 100px 0; }
.bg-light { background-color: var(--light); }
.bg-dark { background-color: var(--dark); color: var(--white); }
.bg-gradient { background: linear-gradient(135deg, var(--light) 0%, #FFFFFF 100%); }
.text-center { text-align: center; }

/* Badges & Buttons */
.badge { display: inline-flex; padding: 6px 16px; background: rgba(42, 157, 143, 0.1); color: var(--secondary); border-radius: 100px; font-weight: 600; font-size: 13px; margin-bottom: 20px; text-transform: uppercase; letter-spacing: 1px; }
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 14px 32px; border-radius: 100px; font-family: var(--font-head); font-weight: 600; font-size: 16px; transition: var(--transition); cursor: pointer; border: 2px solid transparent; gap: 10px; text-align: center; }
.btn-primary { background-color: var(--primary); color: var(--white); }
.btn-primary:hover { background-color: var(--primary-dark); transform: translateY(-3px); box-shadow: 0 10px 20px rgba(244, 162, 97, 0.3); color: var(--white); }
.btn-outline { background-color: transparent; color: var(--dark); border-color: var(--border); }
.btn-outline:hover { border-color: var(--dark); background-color: var(--dark); color: var(--white); transform: translateY(-3px); }

/* Navbar */
.navbar { position: fixed; top: 0; left: 0; width: 100%; background: rgba(255, 255, 255, 0.95); backdrop-filter: blur(10px); z-index: 1000; padding: 20px 0; border-bottom: 1px solid var(--border); transition: var(--transition); }
.navbar.scrolled { padding: 12px 0; box-shadow: var(--shadow-sm); }
.nav-inner { display: flex; justify-content: space-between; align-items: center; }
.logo { font-size: 26px; font-weight: 800; color: var(--dark); display: flex; align-items: center; gap: 10px; font-family: var(--font-head); }
.logo img { width: 36px; height: 36px; }

.nav-links { display: flex; align-items: center; gap: 24px; }
.nav-links a { font-weight: 500; color: var(--text); font-size: 16px; position: relative; }
.nav-links a:not(.btn):hover { color: var(--primary-dark); }

/* Dropdown */
.nav-dropdown { position: relative; }
.dropdown-menu { position: absolute; top: 100%; left: -20px; background: var(--white); min-width: 280px; border-radius: var(--radius-md); box-shadow: var(--shadow-xl); padding: 16px; opacity: 0; visibility: hidden; transform: translateY(10px); transition: var(--transition); border: 1px solid var(--border); }
.nav-dropdown:hover .dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown-menu a { display: block; padding: 12px 16px; border-radius: var(--radius-sm); color: var(--dark); font-weight: 500; }
.dropdown-menu a:hover { background: var(--light); color: var(--primary-dark); }

.mobile-nav-controls { display: none; align-items: center; gap: 16px; }
.call-btn-mobile { background: var(--secondary); color: var(--white); padding: 8px 18px; border-radius: 100px; font-weight: 600; font-size: 14px; }
.hamburger { display: flex; flex-direction: column; gap: 6px; cursor: pointer; padding: 5px; }
.hamburger span { width: 28px; height: 3px; background: var(--dark); border-radius: 3px; transition: 0.3s; }
.hamburger.active span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

/* Hero */
.hero { padding: 160px 0 80px; background: var(--light); position: relative; }
.hero-container { display: grid; grid-template-columns: 1.2fr 1fr; gap: 50px; align-items: center; }
.hero h1 { font-size: 56px; letter-spacing: -1px; margin-bottom: 20px; line-height: 1.1; }
.hero h1 span { color: var(--primary); display: block; }
.hero-image { position: relative; }
.hero-image img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); width: 100%; }

/* Grid Layouts */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

/* Section Titles */
.section-title { margin-bottom: 50px; }
.section-title h2 { font-size: 40px; margin-bottom: 16px; }

/* Fixed Program Cards */
.program-card { background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); transition: var(--transition); display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--border); height: 100%; }
.program-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-xl); }
.program-card img { width: 100%; height: 220px; object-fit: cover; }
.program-card-body { padding: 24px; display: flex; flex-direction: column; flex-grow: 1; align-items: flex-start; }
.program-card h3 { font-size: 22px; margin-bottom: 12px; color: var(--dark); line-height: 1.3; }
.program-card p { color: var(--text); font-size: 15px; margin-bottom: 20px; flex-grow: 1; }
.program-card .btn { margin-top: auto; }

/* Simple Cards */
.card { background: var(--white); padding: 30px; border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); border: 1px solid var(--border); transition: var(--transition); height: 100%; }
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }

/* Stats */
.stats-banner { background: var(--dark); color: var(--white); padding: 60px 0; border-radius: var(--radius-lg); margin: 40px auto; position: relative; z-index: 10; box-shadow: var(--shadow-lg); }
.stat-item h3 { font-size: 48px; color: var(--tertiary); margin-bottom: 8px; line-height: 1; }
.stat-item p { font-size: 16px; opacity: 0.9; }

/* Inner Page Hero */
.inner-hero { padding: 180px 0 80px; background: var(--dark); color: var(--white); text-align: center; }
.inner-hero h1 { color: var(--white); font-size: 48px; margin-bottom: 20px; }

/* Carousel */
.swiper-container { width: 100%; padding: 20px 0 60px; overflow: hidden; }
.testimonial-card { background: var(--white); padding: 30px; border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); border: 1px solid var(--border); height: auto; }
.swiper-pagination-bullet-active { background: var(--primary) !important; }

/* Footer */
.footer { background: var(--dark); color: rgba(255,255,255,0.7); padding: 80px 0 20px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 40px; margin-bottom: 60px; }
.footer-col h3, .footer-col h4 { color: var(--white); font-size: 18px; margin-bottom: 20px; }
.footer-links li { margin-bottom: 12px; }
.footer-links a:hover { color: var(--primary); }

/* Form inputs */
input, textarea, select { width: 100%; padding: 14px 20px; border: 1px solid #ddd; border-radius: var(--radius-sm); font-family: var(--font-main); font-size: 15px; outline: none; transition: var(--transition); background: var(--white); }
input:focus, textarea:focus, select:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(244, 162, 97, 0.2); }

/* Section Divider */
.section-divider { height: 100px; background: url('data:image/svg+xml;utf8,<svg viewBox="0 0 1440 100" xmlns="http://www.w3.org/2000/svg"><path d="M0,50 C320,150 420,-50 1440,50 L1440,100 L0,100 Z" fill="%23F8F9FA"/></svg>') no-repeat bottom; background-size: cover; margin-top: -50px; position: relative; z-index: 1; }
.section-divider-dark { height: 100px; background: url('data:image/svg+xml;utf8,<svg viewBox="0 0 1440 100" xmlns="http://www.w3.org/2000/svg"><path d="M0,50 C320,-50 420,150 1440,50 L1440,100 L0,100 Z" fill="%23264653"/></svg>') no-repeat bottom; background-size: cover; position: relative; z-index: 1; }

/* Responsive Adjustments */
@media (max-width: 1024px) {
  .hero-container, .grid-2 { grid-template-columns: 1fr; text-align: center; gap: 40px; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .hero h1 { font-size: 44px; }
  .program-card-body { align-items: center; text-align: center; }
  .hero-content > div[style*="display: flex"] { justify-content: center !important; }
}

@media (max-width: 768px) {
  .desktop-btn { display: none !important; }
  .mobile-nav-controls { display: flex; }
  
  .nav-links {
    position: fixed; top: 76px; left: -100%; width: 100%; height: calc(100vh - 76px);
    background: var(--white); flex-direction: column; justify-content: flex-start;
    padding: 30px 24px; transition: var(--transition); overflow-y: auto; align-items: flex-start;
  }
  .nav-links.active { left: 0; }
  .nav-links a { font-size: 18px; width: 100%; display: block; padding: 12px 0; border-bottom: 1px solid var(--border); }
  
  .nav-dropdown { width: 100%; }
  .nav-dropdown .dropdown-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: none; padding-left: 20px; display: none; margin-top: 10px; }
  .nav-dropdown.open .dropdown-menu { display: block; }
  
  .grid-3, .grid-4, .grid-2, .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .stats-banner { margin: 20px auto; padding: 30px 20px; }
  .stat-item h3 { font-size: 36px; }
  .section-padding { padding: 60px 0; }
  .hero { padding: 120px 0 40px; }
  .section-title h2 { font-size: 32px; }
}
