/* 
  IZDHA EDUCATIONAL TECHNOLOGIES L.L.C — PREMIUM MODERN WEBSITE
  CORE STYLESHEET
*/

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
  --primary: #1B2556;       /* Navy */
  --secondary: #209CA6;     /* Teal */
  --accent: #D2A041;        /* Gold */
  --white: #FFFFFF;
  --light: #F5F8FA;
  --text: #111827;          /* Dark Text */
  --muted: #64748B;         /* Muted Text */
  
  /* Fonts */
  --font-main: 'Plus Jakarta Sans', sans-serif;
  
  /* Spacing & Transitions */
  --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.2s ease;
  --border-radius: 12px;
  --border-radius-sm: 8px;
  
  /* Container Widths */
  --container-width: 1280px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

/* Page Loader */
.page-loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--white);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.page-loader.fade-out {
  opacity: 0;
  visibility: hidden;
}

.loader-content {
  text-align: center;
  position: relative;
}

.loader-logo-wrapper {
  position: relative;
  width: 250px;
  height: 100px;
  margin: 0 auto 20px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.loader-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  animation: logoPulse 1.5s infinite alternate ease-in-out;
}

.loader-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 280px;
  height: 180px;
  background: radial-gradient(circle, rgba(32, 156, 166, 0.4) 0%, rgba(32, 156, 166, 0) 70%);
  border-radius: 50%;
  filter: blur(15px);
  z-index: -1;
  animation: glowExpand 1.5s infinite alternate ease-in-out;
}

.loader-spark {
  position: absolute;
  top: 15px;
  left: 38px;
  width: 20px;
  height: 20px;
  background-color: var(--accent);
  clip-path: polygon(50% 0%, 65% 35%, 100% 50%, 65% 65%, 50% 100%, 35% 65%, 0% 50%, 35% 35%);
  z-index: 2;
  animation: sparkRotate 2s infinite linear;
}

.loader-bar-bg {
  width: 180px;
  height: 2px;
  background-color: rgba(27, 37, 86, 0.1);
  border-radius: 2px;
  overflow: hidden;
  margin: 0 auto;
  position: relative;
}

.loader-bar {
  height: 100%;
  width: 0;
  background-color: var(--secondary);
  animation: fillBar 1.2s cubic-bezier(0.1, 0.8, 0.3, 1) forwards;
}

@keyframes logoPulse {
  0% { transform: scale(0.95); opacity: 0.8; }
  100% { transform: scale(1.05); opacity: 1; }
}

@keyframes glowExpand {
  0% { transform: translate(-50%, -50%) scale(0.9); opacity: 0.4; }
  100% { transform: translate(-50%, -50%) scale(1.1); opacity: 0.8; }
}

@keyframes sparkRotate {
  0% { transform: rotate(0deg) scale(0.8); }
  100% { transform: rotate(360deg) scale(0.8); }
}

@keyframes fillBar {
  0% { width: 0%; }
  100% { width: 100%; }
}

/* Reduced Motion Override */
@media (prefers-reduced-motion: reduce) {
  .page-loader { transition: opacity 0.1s ease, visibility 0.1s ease; }
  .loader-logo, .loader-glow, .loader-spark, .loader-bar { animation: none !important; }
  .loader-bar { width: 100%; }
  html { scroll-behavior: auto; }
}

/* Typography Scale */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  color: var(--primary);
  line-height: 1.2;
}

h1 {
  font-size: clamp(38px, 5vw, 68px);
}

h2 {
  font-size: clamp(30px, 4vw, 52px);
  position: relative;
  padding-bottom: 15px;
  margin-bottom: 25px;
}

h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background-color: var(--secondary);
}

h2.center-align::after {
  left: 50%;
  transform: translateX(-50%);
}

h3 {
  font-size: clamp(20px, 2.5vw, 28px);
  margin-bottom: 15px;
}

p {
  font-size: 16px;
  color: var(--muted);
  margin-bottom: 20px;
}

.text-large {
  font-size: clamp(16px, 1.25vw, 20px);
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

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

/* Layout Utilities */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: clamp(60px, 8vw, 100px) 0;
}

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

.section-dark h2, .section-dark h3 {
  color: var(--white);
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 48px;
  align-items: center;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.grid-asymmetric {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--border-radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  min-height: 44px;
  transition: var(--transition);
}

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

.btn-primary:hover {
  background-color: #1a838b;
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(32, 156, 166, 0.2);
}

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

.btn-secondary:hover {
  background-color: #131a3d;
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(27, 37, 86, 0.2);
}

.btn-outline {
  background-color: transparent;
  border-color: var(--white);
  color: var(--white);
}

.btn-outline:hover {
  background-color: var(--white);
  color: var(--primary);
  transform: translateY(-2px);
}

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

.btn-outline-dark:hover {
  background-color: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
}

/* Header & Sticky Navbar */
header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: var(--transition);
}

.navbar-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  transition: var(--transition);
}

.nav-scrolled {
  position: fixed;
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  backdrop-filter: blur(10px);
  animation: slideDown 0.4s ease forwards;
}

.nav-scrolled .navbar-container {
  padding: 16px 0;
}

.logo-link {
  display: flex;
  align-items: center;
  transition: var(--transition);
}

header:not(.nav-scrolled) .logo-link {
  background-color: var(--white);
  padding: 8px 16px;
  border-radius: var(--border-radius-sm);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.logo-img {
  height: 50px;
  width: auto;
  transition: var(--transition);
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 32px;
  align-items: center;
}

.nav-link {
  font-weight: 500;
  color: var(--white);
  position: relative;
  font-size: 15px;
  padding: 8px 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--secondary);
  transition: var(--transition);
}

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

.nav-link:hover {
  color: var(--secondary);
}

/* If navbar has scrolled, change colors on light bg */
.nav-scrolled .nav-link {
  color: var(--primary);
}
.nav-scrolled .nav-link:hover {
  color: var(--secondary);
}

.nav-cta {
  display: flex;
  align-items: center;
}

/* Mobile Hamburger Menu */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
}

.hamburger span {
  width: 100%;
  height: 2px;
  background-color: var(--white);
  transition: var(--transition);
}

.nav-scrolled .hamburger span {
  background-color: var(--primary);
}

.hamburger.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
  background-color: var(--white) !important;
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
  background-color: var(--white) !important;
}

@keyframes slideDown {
  0% { transform: translateY(-100%); }
  100% { transform: translateY(0); }
}

/* Mobile Overlay Menu */
.mobile-nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: var(--primary);
  z-index: 999;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  padding: 40px;
}

.mobile-nav-overlay.active {
  opacity: 1;
  visibility: visible;
}

.mobile-nav-menu {
  list-style: none;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 40px;
}

.mobile-nav-link {
  font-size: 24px;
  font-weight: 600;
  color: var(--white);
  display: block;
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
  color: var(--secondary);
}

.mobile-nav-cta {
  width: 100%;
  max-width: 280px;
}

.mobile-nav-cta .btn {
  width: 100%;
}

/* Floating WhatsApp Widget */
.whatsapp-widget {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  display: flex;
  align-items: center;
}

.whatsapp-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background-color: #25D366;
  border-radius: 50%;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
  color: var(--white);
  position: relative;
  transition: var(--transition);
  text-decoration: none;
  min-height: 44px;
  min-width: 44px;
}

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

.whatsapp-btn svg {
  width: 30px;
  height: 30px;
  fill: currentColor;
}

.whatsapp-pulse {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background-color: #25D366;
  opacity: 0.6;
  z-index: -1;
  animation: pulse 2s infinite;
}

.whatsapp-tooltip {
  position: absolute;
  right: 70px;
  background-color: var(--primary);
  color: var(--white);
  padding: 8px 16px;
  border-radius: var(--border-radius-sm);
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  opacity: 0;
  visibility: hidden;
  transform: translateX(10px);
  transition: var(--transition);
}

.whatsapp-widget:hover .whatsapp-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

@keyframes pulse {
  0% { transform: scale(1); opacity: 0.6; }
  100% { transform: scale(1.4); opacity: 0; }
}

/* Page Heroes */
.page-hero {
  position: relative;
  background-color: var(--primary);
  background-size: cover;
  background-position: center;
  color: var(--white);
  padding-top: 180px;
  padding-bottom: clamp(80px, 10vw, 120px);
  overflow: hidden;
}

.about-hero-bg {
  background-image: linear-gradient(rgba(27, 37, 86, 0.75), rgba(27, 37, 86, 0.75)), url('../images/backgrounds/about_hero.jpg');
}

.courses-hero-bg {
  background-image: linear-gradient(rgba(27, 37, 86, 0.75), rgba(27, 37, 86, 0.75)), url('../images/backgrounds/courses_hero.jpg');
}

.services-hero-bg {
  background-image: linear-gradient(rgba(27, 37, 86, 0.75), rgba(27, 37, 86, 0.75)), url('../images/backgrounds/services_hero.jpg');
}

.contact-hero-bg {
  background-image: linear-gradient(rgba(27, 37, 86, 0.75), rgba(27, 37, 86, 0.75)), url('../images/backgrounds/contact_hero.jpg');
}

.page-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 80% 20%, rgba(32, 156, 166, 0.15) 0%, rgba(27, 37, 86, 0) 60%);
  z-index: 1;
}

.page-hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.page-hero-tag {
  color: var(--accent);
  text-transform: uppercase;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 2px;
  display: block;
  margin-bottom: 12px;
}

.page-hero h1 {
  margin-bottom: 24px;
  color: var(--white);
}

.page-hero p {
  color: rgba(255, 255, 255, 0.8);
  font-size: clamp(16px, 1.25vw, 20px);
  line-height: 1.6;
  margin-bottom: 0;
}

/* Brand Elements (Inspired by Logo Leaves and Star) */
.brand-shape-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

.brand-leaf-shape {
  position: absolute;
  opacity: 0.05;
  width: 300px;
  height: 300px;
  border: 2px solid var(--secondary);
  border-radius: 50% 0 50% 0;
  transform: rotate(-15deg);
}

.brand-leaf-1 {
  top: 10%;
  right: -100px;
}

.brand-leaf-2 {
  bottom: -50px;
  left: -100px;
  border-color: var(--accent);
  width: 250px;
  height: 250px;
  border-radius: 0 50% 0 50%;
}

.brand-star-shape {
  position: absolute;
  opacity: 0.1;
  background-color: var(--accent);
  clip-path: polygon(50% 0%, 65% 35%, 100% 50%, 65% 65%, 50% 100%, 35% 65%, 0% 50%, 35% 35%);
  width: 40px;
  height: 40px;
}

.brand-star-1 {
  top: 30%;
  right: 15%;
  width: 60px;
  height: 60px;
  animation: floatAnim 6s infinite alternate ease-in-out;
}

.brand-star-2 {
  bottom: 20%;
  left: 10%;
  animation: floatAnim 8s infinite alternate-reverse ease-in-out;
}

@keyframes floatAnim {
  0% { transform: translateY(0) rotate(0deg); opacity: 0.08; }
  100% { transform: translateY(-20px) rotate(15deg); opacity: 0.15; }
}

/* Interactive Cards Layout */
.card {
  background-color: var(--white);
  border: 1px solid rgba(27, 37, 86, 0.06);
  border-radius: var(--border-radius);
  padding: 40px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(27, 37, 86, 0.06);
  border-color: rgba(32, 156, 166, 0.15);
}

.card-num {
  font-size: 14px;
  font-weight: 800;
  color: var(--secondary);
  opacity: 0.3;
  margin-bottom: 20px;
  letter-spacing: 2px;
}

.card-icon {
  margin-bottom: 24px;
  color: var(--secondary);
}

.card-icon svg {
  width: 40px;
  height: 40px;
  stroke-width: 1.5px;
}

.card h3 {
  margin-bottom: 16px;
  color: var(--primary);
}

.card p {
  margin-bottom: 24px;
  flex-grow: 1;
}

.card-arrow {
  margin-top: auto;
  display: flex;
  align-items: center;
  font-weight: 600;
  font-size: 14px;
  color: var(--primary);
  gap: 8px;
  transition: var(--transition-fast);
}

.card-arrow svg {
  width: 16px;
  height: 16px;
  stroke-width: 2.5px;
  transition: var(--transition-fast);
}

.card:hover .card-arrow {
  color: var(--secondary);
}

.card:hover .card-arrow svg {
  transform: translateX(4px);
}

/* Home Hero Section Specifics */
.home-hero {
  position: relative;
  background-color: var(--primary);
  color: var(--white);
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 140px;
  padding-bottom: 80px;
  overflow: hidden;
}

.home-hero-bg {
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  z-index: 1;
}

.home-hero-bg::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, var(--primary) 0%, rgba(27, 37, 86, 0.8) 50%, rgba(27, 37, 86, 0.4) 100%);
  z-index: 2; /* Sits above slides */
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
  z-index: 1; /* Sits below gradient */
}

.hero-slide.active {
  opacity: 1;
}

.home-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-hero-content {
  position: relative;
  z-index: 2;
  max-width: 650px;
}

.home-hero-tagline {
  color: var(--accent);
  text-transform: uppercase;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 2px;
  margin-bottom: 16px;
  display: block;
}

.home-hero h1 {
  margin-bottom: 24px;
  line-height: 1.1;
  color: var(--white);
}

.home-hero p.hero-lead {
  font-size: clamp(16px, 1.2vw, 20px);
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 16px;
  font-weight: 400;
}

.home-hero p.hero-support {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 32px;
}

.home-hero-btns {
  display: flex;
  gap: 16px;
}

/* Scroll Animations CSS */
.fade-up-element {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-up-element.animated {
  opacity: 1;
  transform: translateY(0);
}

/* Feature/Why Choose block */
.why-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.why-features {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.feature-block {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 20px;
  background-color: var(--white);
  border-radius: var(--border-radius-sm);
  border: 1px solid rgba(27, 37, 86, 0.04);
  transition: var(--transition);
}

.feature-block:hover {
  transform: translateX(5px);
  border-color: rgba(32, 156, 166, 0.15);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.02);
}

.feature-icon-wrapper {
  background-color: rgba(32, 156, 166, 0.08);
  color: var(--secondary);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.feature-icon-wrapper svg {
  width: 24px;
  height: 24px;
  stroke-width: 1.5px;
}

.feature-info h3 {
  font-size: 18px;
  margin-bottom: 6px;
  color: var(--primary);
}

.feature-info p {
  margin-bottom: 0;
  font-size: 14px;
}

.why-visual {
  position: relative;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(27, 37, 86, 0.1);
  height: 500px;
}

.why-visual-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Call to Action blocks */
.cta-banner {
  border-radius: var(--border-radius);
  padding: clamp(60px, 8vw, 80px) 40px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(27, 37, 86, 0.15);
  background-color: var(--primary);
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 90% 10%, rgba(32, 156, 166, 0.3) 0%, rgba(27, 37, 86, 0) 75%);
  z-index: 1;
}

.cta-banner-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.cta-banner h2 {
  color: var(--white);
  margin-bottom: 20px;
}

.cta-banner h2::after {
  left: 50%;
  transform: translateX(-50%);
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 18px;
  margin-bottom: 32px;
}

/* About Editorial Split */
.split-img-wrapper {
  position: relative;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
}

.split-img-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--border-radius);
  pointer-events: none;
}

.split-img-decoration {
  position: absolute;
  top: -20px;
  right: -20px;
  width: 100px;
  height: 100px;
  border: 3px solid var(--accent);
  z-index: -1;
  border-radius: var(--border-radius-sm);
}

/* Mission Timeline layout */
.mission-timeline {
  position: relative;
  max-width: 800px;
  margin: 40px auto 0;
  padding-left: 32px;
}

.mission-timeline::before {
  content: '';
  position: absolute;
  top: 0;
  left: 7px;
  width: 2px;
  height: 100%;
  background: linear-gradient(180deg, var(--secondary) 0%, rgba(32, 156, 166, 0.1) 100%);
}

.mission-item {
  position: relative;
  margin-bottom: 40px;
}

.mission-item:last-child {
  margin-bottom: 0;
}

.mission-dot {
  position: absolute;
  left: -32px;
  top: 4px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background-color: var(--white);
  border: 4px solid var(--secondary);
  box-shadow: 0 0 10px rgba(32, 156, 166, 0.2);
}

.mission-content h3 {
  font-size: 20px;
  margin-bottom: 8px;
  color: var(--primary);
}

.mission-content p {
  margin-bottom: 0;
}

/* Contact Grid & Form Info styling */
.contact-container {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 48px;
}

.contact-info-panel {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-card-item {
  background-color: var(--white);
  border-radius: var(--border-radius-sm);
  padding: 30px;
  border: 1px solid rgba(27, 37, 86, 0.05);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.01);
  display: flex;
  gap: 20px;
  align-items: center;
}

.contact-card-icon {
  background-color: rgba(32, 156, 166, 0.08);
  color: var(--secondary);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-card-icon svg {
  width: 24px;
  height: 24px;
  stroke-width: 1.5px;
}

.contact-card-details h4 {
  font-size: 13px;
  text-transform: uppercase;
  color: var(--muted);
  letter-spacing: 1px;
  margin-bottom: 4px;
}

.contact-card-details p {
  margin-bottom: 0;
  font-size: 16px;
  font-weight: 600;
  color: var(--primary);
}

.contact-form-wrapper {
  background-color: var(--white);
  border-radius: var(--border-radius);
  padding: 48px;
  border: 1px solid rgba(27, 37, 86, 0.05);
  box-shadow: 0 15px 40px rgba(27, 37, 86, 0.03);
}

.contact-form-wrapper h3 {
  margin-bottom: 8px;
}

.contact-form-wrapper p {
  margin-bottom: 32px;
}

.form-group-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 24px;
}

.form-group {
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 8px;
}

.form-control {
  font-family: var(--font-main);
  padding: 14px 18px;
  font-size: 15px;
  background-color: #F8FAFC;
  border: 1px solid rgba(27, 37, 86, 0.1);
  border-radius: var(--border-radius-sm);
  color: var(--text);
  transition: var(--transition-fast);
  outline: none;
  width: 100%;
}

.form-control:focus {
  background-color: var(--white);
  border-color: var(--secondary);
  box-shadow: 0 0 0 3px rgba(32, 156, 166, 0.15);
}

select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%231B2556'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 18px center;
  background-size: 16px;
  padding-right: 48px;
  cursor: pointer;
}

textarea.form-control {
  min-height: 120px;
  resize: vertical;
}

.form-group.error .form-control {
  border-color: #ef4444;
  background-color: #fef2f2;
}

.form-group.error label {
  color: #ef4444;
}

.form-error-msg {
  font-size: 12px;
  color: #ef4444;
  margin-top: 6px;
  display: none;
}

.form-group.error .form-error-msg {
  display: block;
}

/* Submit Loader and Status style */
.btn-submit-wrapper {
  display: flex;
  align-items: center;
  gap: 16px;
}

.form-submit-loader {
  display: none;
  width: 24px;
  height: 24px;
  border: 3px solid rgba(32, 156, 166, 0.2);
  border-radius: 50%;
  border-top-color: var(--secondary);
  animation: formSpinner 1s linear infinite;
}

@keyframes formSpinner {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.form-status-alert {
  margin-top: 24px;
  padding: 16px;
  border-radius: var(--border-radius-sm);
  display: none;
  font-size: 15px;
  font-weight: 500;
  animation: fadeIn 0.4s ease;
}

.form-status-alert.success {
  display: block;
  background-color: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}

.form-status-alert.error {
  display: block;
  background-color: #fef2f2;
  color: #991b1b;
  border: 1px solid #fca5a5;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-5px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Map Location Section */
.location-section {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  background-color: var(--white);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.03);
  border: 1px solid rgba(27, 37, 86, 0.05);
}

.location-map-container {
  height: 450px;
  position: relative;
}

.location-map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.location-details-card {
  padding: 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.location-details-card h3 {
  margin-bottom: 24px;
}

.location-meta {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 32px;
}

.location-meta-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.location-meta-item svg {
  color: var(--secondary);
  width: 20px;
  height: 20px;
  stroke-width: 2px;
  flex-shrink: 0;
  margin-top: 2px;
}

.location-meta-item p {
  margin-bottom: 0;
  font-size: 15px;
  color: var(--muted);
}

/* Footer Section */
footer {
  background-color: var(--primary);
  color: var(--white);
  padding: 80px 0 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  position: relative;
  overflow: hidden;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 60px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.footer-logo-link {
  display: inline-flex;
  align-self: flex-start;
  text-decoration: none;
}

.footer-logo {
  height: 48px;
  width: auto;
  background-color: var(--white);
  padding: 6px 12px;
  border-radius: var(--border-radius-sm);
  object-fit: contain;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: var(--transition);
}

.footer-logo-link:hover .footer-logo {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.footer-tagline {
  color: rgba(255, 255, 255, 0.7);
  max-width: 320px;
  font-size: 15px;
}

.footer-column h4 {
  color: var(--white);
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 24px;
  position: relative;
  padding-bottom: 8px;
}

.footer-column h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background-color: var(--secondary);
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-link {
  color: rgba(255, 255, 255, 0.7);
  font-size: 15px;
  display: inline-block;
}

.footer-link:hover {
  color: var(--secondary);
  transform: translateX(4px);
}

.footer-contact-info {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-contact-info li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: rgba(255, 255, 255, 0.7);
  font-size: 15px;
}

.footer-contact-info svg {
  color: var(--secondary);
  width: 18px;
  height: 18px;
  stroke-width: 2px;
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-bottom {
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.copyright {
  color: rgba(255, 255, 255, 0.5);
  font-size: 14px;
  margin-bottom: 0;
}

/* RESPONSIVE DESIGN - MEDIA QUERIES */

/* Large screens down to tablets */
@media (max-width: 1024px) {
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
  
  .footer-top {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }
  
  .why-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .why-visual {
    height: 400px;
    order: -1;
  }
  
  .contact-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .location-section {
    grid-template-columns: 1fr;
  }
  
  .location-map-container {
    height: 350px;
  }
  
  .location-details-card {
    padding: 32px;
  }
}

/* Tablets (portrait) */
@media (max-width: 768px) {
  .navbar-container {
    padding: 16px 24px;
  }
  
  .nav-menu, .nav-cta {
    display: none; /* Hide desktop nav */
  }
  
  .hamburger {
    display: flex;
  }
  
  .grid-2, .grid-asymmetric {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  .home-hero {
    min-height: auto;
    padding-top: 120px;
    padding-bottom: 60px;
    flex-direction: column;
  }
  
  .home-hero-bg {
    position: relative;
    width: 100%;
    height: 300px;
    order: -1;
    margin-bottom: 30px;
  }
  
  .home-hero-bg::after {
    background: linear-gradient(180deg, var(--primary) 0%, rgba(27, 37, 86, 0.4) 100%);
  }
  
  .home-hero-content {
    max-width: 100%;
  }
  
  .home-hero-btns {
    flex-direction: column;
    width: 100%;
  }
  
  .home-hero-btns .btn {
    width: 100%;
  }
  
  .footer-top {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .split-img-decoration {
    display: none; /* remove background block to prevent overlap */
  }
  
  .form-group-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

/* Small Mobiles */
@media (max-width: 480px) {
  :root {
    --border-radius: 8px;
  }
  
  .section {
    padding: 48px 0;
  }
  
  .card {
    padding: 24px;
  }
  
  .contact-form-wrapper {
    padding: 24px;
  }
  
  .whatsapp-btn {
    width: 48px;
    height: 48px;
  }
  
  .whatsapp-btn svg {
    width: 24px;
    height: 24px;
  }
  
  .whatsapp-widget {
    bottom: 16px;
    right: 16px;
  }
  
  .grid-3 {
    grid-template-columns: 1fr;
  }
}

/* 320px - 375px specific fixes */
@media (max-width: 375px) {
  h1 {
    font-size: 32px;
  }
  
  h2 {
    font-size: 26px;
  }
  
  .navbar-container {
    padding: 12px 16px;
  }
  
  .logo-img {
    height: 40px;
  }
}

/* Homepage Restructure Components */

/* Section 5: Pillars */
.pillar-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 40px;
}

.pillar-card {
  background-color: var(--white);
  border: 1px solid rgba(27, 37, 86, 0.05);
  border-radius: var(--border-radius);
  padding: 40px 32px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
  transition: var(--transition);
  text-align: center;
  position: relative;
}

.pillar-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 4px;
  background-color: var(--secondary);
  transition: var(--transition);
  border-radius: 0 0 var(--border-radius-sm) var(--border-radius-sm);
}

.pillar-card:nth-child(2)::before {
  background-color: var(--accent);
}

.pillar-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(27, 37, 86, 0.05);
  border-color: rgba(32, 156, 166, 0.15);
}

.pillar-card:hover::before {
  width: 80px;
}

.pillar-icon {
  width: 60px;
  height: 60px;
  background-color: rgba(32, 156, 166, 0.06);
  color: var(--secondary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  transition: var(--transition);
}

.pillar-card:nth-child(2) .pillar-icon {
  background-color: rgba(210, 160, 65, 0.06);
  color: var(--accent);
}

.pillar-card:hover .pillar-icon {
  transform: scale(1.1);
}

.pillar-icon svg {
  width: 28px;
  height: 28px;
  stroke-width: 1.5px;
}

/* Section 6: Learning Journey */
.journey-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin: 50px 0 60px;
  position: relative;
}

.journey-grid::after {
  content: '';
  position: absolute;
  top: 40px;
  left: 12%;
  width: 76%;
  height: 2px;
  background: linear-gradient(90deg, var(--secondary) 0%, var(--accent) 50%, var(--secondary) 100%);
  z-index: 1;
}

.journey-step {
  text-align: center;
  position: relative;
  z-index: 2;
}

.journey-badge {
  width: 56px;
  height: 56px;
  background-color: var(--white);
  border: 3px solid var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  font-size: 16px;
  font-weight: 800;
  color: var(--primary);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
}

.journey-step:hover .journey-badge {
  background-color: var(--secondary);
  border-color: var(--secondary);
  color: var(--white);
  transform: scale(1.1);
  box-shadow: 0 0 20px rgba(32, 156, 166, 0.3);
}

.journey-step:nth-child(even):hover .journey-badge {
  background-color: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 0 20px rgba(210, 160, 65, 0.3);
}

.journey-step h3 {
  font-size: 18px;
  margin-bottom: 8px;
  color: var(--primary);
}

.journey-step p {
  font-size: 14px;
  margin-bottom: 0;
  padding: 0 10px;
}

/* Section 7: What Can You Learn (Interactive Split) */
.skills-split {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 60px;
  align-items: center;
}

.skills-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.skills-item {
  background-color: var(--white);
  border: 1px solid rgba(27, 37, 86, 0.04);
  border-radius: var(--border-radius-sm);
  padding: 24px;
  transition: var(--transition);
  cursor: pointer;
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.skills-item:hover {
  transform: translateX(8px);
  border-color: rgba(32, 156, 166, 0.2);
  box-shadow: 0 10px 25px rgba(27, 37, 86, 0.03);
}

.skills-item-num {
  font-size: 14px;
  font-weight: 800;
  color: var(--secondary);
  background-color: rgba(32, 156, 166, 0.06);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
  transition: var(--transition-fast);
}

.skills-item:hover .skills-item-num {
  background-color: var(--secondary);
  color: var(--white);
}

.skills-item-info h3 {
  font-size: 18px;
  margin-bottom: 6px;
  color: var(--primary);
  transition: var(--transition-fast);
}

.skills-item:hover h3 {
  color: var(--secondary);
}

.skills-item-info p {
  margin-bottom: 0;
  font-size: 14px;
}

/* Section 8: EdTech Split */
.edtech-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.edtech-points {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 30px;
}

.edtech-point-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  background-color: var(--white);
  border: 1px solid rgba(27, 37, 86, 0.03);
  border-left: 3px solid var(--secondary);
  border-radius: var(--border-radius-sm);
  font-weight: 600;
  color: var(--primary);
  transition: var(--transition-fast);
}

.edtech-point-item:nth-child(2) {
  border-left-color: var(--accent);
}

.edtech-point-item:hover {
  transform: translateX(4px);
  box-shadow: 0 4px 15px rgba(0,0,0,0.02);
}

.edtech-point-icon {
  color: var(--secondary);
  display: flex;
  align-items: center;
}

.edtech-point-item:nth-child(2) .edtech-point-icon {
  color: var(--accent);
}

.edtech-point-icon svg {
  width: 20px;
  height: 20px;
  stroke-width: 2.5px;
}

/* Section 9: Custom Asymmetric */
.custom-asymmetric {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  background-color: var(--white);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(27, 37, 86, 0.05);
  border: 1px solid rgba(27, 37, 86, 0.04);
}

.custom-image-side {
  position: relative;
  min-height: 350px;
}

.custom-image-side img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
}

.custom-image-side::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, rgba(27, 37, 86, 0.4) 0%, rgba(27, 37, 86, 0.1) 100%);
}

.custom-content-side {
  padding: clamp(40px, 6vw, 60px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.custom-content-side h2 {
  margin-bottom: 20px;
}

.custom-content-side p {
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 30px;
}

/* Media Queries for New Components */
@media (max-width: 1024px) {
  .pillar-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  .journey-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
  
  .journey-grid::after {
    display: none; /* Hide line on tablet */
  }
  
  .skills-split, .edtech-split, .custom-asymmetric {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .custom-image-side {
    min-height: 300px;
  }
}

@media (max-width: 768px) {
  .journey-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

