/* ===== Duck Cursor ===== */
/* Closed mouth duck - default */
body.duck-ready,
body.duck-ready * {
  cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 40 40'%3E%3Cellipse cx='20' cy='26' rx='14' ry='10' fill='%23FFD93D'/%3E%3Ccircle cx='20' cy='14' r='10' fill='%23FFD93D'/%3E%3Ccircle cx='16' cy='12' r='2' fill='%231A1A1A'/%3E%3Ccircle cx='16.6' cy='11.4' r='.7' fill='white'/%3E%3Ccircle cx='24' cy='12' r='2' fill='%231A1A1A'/%3E%3Ccircle cx='24.6' cy='11.4' r='.7' fill='white'/%3E%3Cellipse cx='12' cy='16' rx='3' ry='1.5' fill='%23FFB6C1' opacity='.5'/%3E%3Cellipse cx='28' cy='16' rx='3' ry='1.5' fill='%23FFB6C1' opacity='.5'/%3E%3Cellipse cx='20' cy='17' rx='4' ry='2' fill='%23E0873A'/%3E%3Cellipse cx='10' cy='28' rx='5' ry='3' fill='%23F0C430' transform='rotate(-20 10 28)'/%3E%3Cellipse cx='30' cy='28' rx='5' ry='3' fill='%23F0C430' transform='rotate(20 30 28)'/%3E%3C/svg%3E") 16 16, auto !important;
}

/* Open mouth duck - on click */
body.duck-ready.duck-quack,
body.duck-ready.duck-quack * {
  cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 40 40'%3E%3Cellipse cx='20' cy='26' rx='14' ry='10' fill='%23FFD93D'/%3E%3Ccircle cx='20' cy='14' r='10' fill='%23FFD93D'/%3E%3Cpath d='M13 12 Q16 9 19 12' stroke='%231A1A1A' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3Cpath d='M21 12 Q24 9 27 12' stroke='%231A1A1A' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3Cellipse cx='12' cy='16' rx='3.5' ry='2' fill='%23FFB6C1' opacity='.6'/%3E%3Cellipse cx='28' cy='16' rx='3.5' ry='2' fill='%23FFB6C1' opacity='.6'/%3E%3Cellipse cx='20' cy='16' rx='4.5' ry='2' fill='%23E0873A'/%3E%3Cellipse cx='20' cy='20' rx='3.5' ry='2.2' fill='%23C46E25'/%3E%3Cellipse cx='20' cy='19.5' rx='2.5' ry='1.2' fill='%23FF6B6B' opacity='.6'/%3E%3Cellipse cx='8' cy='25' rx='5' ry='3' fill='%23F0C430' transform='rotate(-40 8 25)'/%3E%3Cellipse cx='32' cy='25' rx='5' ry='3' fill='%23F0C430' transform='rotate(40 32 25)'/%3E%3C/svg%3E") 16 16, auto !important;
}

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

:root {
  --color-primary: #E0873A;
  --color-primary-light: #EDA05A;
  --color-primary-dark: #C46E25;
  --color-accent: #FDF1E6;
  --color-bg: #FAFAFA;
  --color-surface: #FFFFFF;
  --color-text: #1A1A1A;
  --color-text-light: #555555;
  --color-border: #E8E8E8;
  --font-main: 'Inter', 'Noto Sans SC', -apple-system, BlinkMacSystemFont, sans-serif;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 16px rgba(224,135,58,0.12);
  --shadow-lg: 0 8px 32px rgba(224,135,58,0.15);
  --transition: 0.3s ease;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-main);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 100px 0;
}

/* ===== Section Headers ===== */
.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 60px;
}

.section-tag {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--color-primary);
  margin-bottom: 12px;
}

.section-title {
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--color-text);
  margin-bottom: 16px;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--color-text-light);
  line-height: 1.7;
}

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  border: 2px solid transparent;
  font-family: var(--font-main);
}

.btn-primary {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
}

.btn-primary:hover {
  background: var(--color-primary-dark);
  border-color: var(--color-primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

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

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

/* ===== Navbar ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
  transition: all var(--transition);
}

.navbar.scrolled {
  box-shadow: var(--shadow-sm);
}

.nav-container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

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

.logo-img {
  height: 44px;
  width: auto;
}

.footer-logo-img {
  height: 50px;
  width: auto;
  filter: brightness(0) invert(1);
}

.nav-links {
  display: flex;
  gap: 36px;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-text-light);
  transition: color var(--transition);
  position: relative;
}

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

.nav-links a:hover {
  color: var(--color-primary);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.lang-toggle {
  display: flex;
  align-items: center;
  gap: 4px;
  background: none;
  border: 1px solid var(--color-border);
  border-radius: 50px;
  padding: 6px 14px;
  cursor: pointer;
  font-family: var(--font-main);
  font-size: 0.8rem;
  font-weight: 500;
  transition: all var(--transition);
}

.lang-toggle:hover {
  border-color: var(--color-primary);
}

.lang-option {
  color: var(--color-text-light);
  transition: color var(--transition);
}

.lang-option.active {
  color: var(--color-primary);
  font-weight: 700;
}

.lang-divider {
  color: var(--color-border);
}

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-hamburger span {
  width: 24px;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: all var(--transition);
}

.nav-hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

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

.nav-hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ===== Hero ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 24px 80px;
  position: relative;
  overflow: hidden;
  background: var(--color-bg);
}

.hero-shapes-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 720px;
}

.hero-tag {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--color-primary);
  margin-bottom: 20px;
}

.hero-title {
  font-size: 3.2rem;
  font-weight: 700;
  line-height: 1.15;
  color: var(--color-text);
  margin-bottom: 24px;
}

.hero-desc {
  font-size: 1.1rem;
  color: var(--color-text-light);
  line-height: 1.7;
  max-width: 560px;
  margin: 0 auto 36px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Shared floating animation */
.shape {
  position: absolute;
  left: var(--x);
  top: var(--y);
  animation: shapeFloat 5s ease-in-out infinite;
  animation-delay: var(--delay);
}

@keyframes shapeFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  33% { transform: translateY(-12px) rotate(3deg); }
  66% { transform: translateY(6px) rotate(-2deg); }
}

/* Ring / Torus */
.shape-ring {
  width: 70px;
  height: 70px;
  border: 8px solid #E0873A;
  border-radius: 50%;
  opacity: 0.85;
}

/* Cube */
.shape-cube {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #4ECDC4, #2BAE9E);
  border-radius: 6px;
  transform-origin: center;
  animation: cubeFloat 6s ease-in-out infinite;
  animation-delay: var(--delay);
  box-shadow: 4px 4px 0 rgba(43,174,158,0.3);
}

@keyframes cubeFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-15px) rotate(12deg); }
}

/* Sphere */
.shape-sphere {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #FFD93D, #F0B90B);
  box-shadow: inset -6px -6px 12px rgba(0,0,0,0.1), 3px 3px 8px rgba(240,185,11,0.2);
}

/* Cylinder */
.shape-cylinder {
  width: 30px;
  height: 65px;
  background: linear-gradient(90deg, #FF6B6B, #ee5a5a, #FF6B6B);
  border-radius: 15px;
  box-shadow: 2px 4px 8px rgba(255,107,107,0.25);
}

/* Disc */
.shape-disc {
  width: 55px;
  height: 20px;
  background: linear-gradient(180deg, #C4B0FF, #9B7FE6);
  border-radius: 50%;
  box-shadow: 0 4px 8px rgba(155,127,230,0.2);
}

/* Coil / Spring */
.shape-coil {
  width: 28px;
  height: 50px;
  background: repeating-linear-gradient(
    0deg,
    #A8E6CF 0px,
    #A8E6CF 5px,
    transparent 5px,
    transparent 9px
  );
  border-radius: 14px;
}

/* Small dots */
.shape-dot {
  width: var(--size, 10px);
  height: var(--size, 10px);
  border-radius: 50%;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

/* Bar / Rod */
.shape-bar {
  width: 6px;
  height: 80px;
  background: linear-gradient(180deg, #E0873A, #FF6B6B);
  border-radius: 3px;
  transform: rotate(-25deg);
  animation: barFloat 7s ease-in-out infinite;
  animation-delay: var(--delay);
}

@keyframes barFloat {
  0%, 100% { transform: rotate(-25deg) translateY(0); }
  50% { transform: rotate(-20deg) translateY(-10px); }
}

/* Triangle */
.shape-triangle {
  width: 0;
  height: 0;
  border-left: 22px solid transparent;
  border-right: 22px solid transparent;
  border-bottom: 38px solid #FFB347;
  opacity: 0.8;
}

/* Wireframe cube outline */
.shape-wireframe {
  width: 40px;
  height: 40px;
  border: 2px solid #C4B0FF;
  border-radius: 4px;
  transform: rotate(15deg);
  animation: wireFloat 8s ease-in-out infinite;
  animation-delay: var(--delay);
}

.shape-wireframe::after {
  content: '';
  position: absolute;
  width: 40px;
  height: 40px;
  border: 2px solid rgba(196,176,255,0.4);
  border-radius: 4px;
  top: -8px;
  left: 8px;
}

@keyframes wireFloat {
  0%, 100% { transform: rotate(15deg) translateY(0); }
  50% { transform: rotate(20deg) translateY(-12px); }
}

/* Half-circle */
.shape-half {
  width: 50px;
  height: 25px;
  background: linear-gradient(135deg, #FF6B6B, #ee5a5a);
  border-radius: 50px 50px 0 0;
  opacity: 0.75;
}

/* Cross / Plus */
.shape-cross {
  width: 40px;
  height: 40px;
  position: absolute;
  left: var(--x);
  top: var(--y);
  opacity: 0.7;
}
.shape-cross::before,
.shape-cross::after {
  content: '';
  position: absolute;
  background: #E0873A;
  border-radius: 3px;
}
.shape-cross::before {
  width: 8px;
  height: 40px;
  left: 16px;
  top: 0;
}
.shape-cross::after {
  width: 40px;
  height: 8px;
  left: 0;
  top: 16px;
}

/* Horizontal bar variant */
.shape-bar-h {
  transform: rotate(90deg) !important;
  animation: barFloatH 7s ease-in-out infinite;
  animation-delay: var(--delay);
}
@keyframes barFloatH {
  0%, 100% { transform: rotate(90deg) translateY(0); }
  50% { transform: rotate(85deg) translateY(-10px); }
}

/* Small ring variant */
.shape-ring-sm {
  width: 45px;
  height: 45px;
  border-width: 5px;
  border-color: #4ECDC4;
  opacity: 0.7;
}

/* Large sphere variant */
.shape-sphere-lg {
  width: 85px;
  height: 85px;
  background: radial-gradient(circle at 35% 35%, #C4B0FF, #9B7FE6);
  box-shadow: inset -8px -8px 16px rgba(0,0,0,0.1), 4px 4px 12px rgba(155,127,230,0.25);
}

/* Small cube variant */
.shape-cube-sm {
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, #FFD93D, #F0B90B);
  box-shadow: 3px 3px 0 rgba(240,185,11,0.3);
}

/* Hide some shapes on small screens to avoid clutter */
@media (max-width: 640px) {
  .hero-shapes-bg .shape:nth-child(n+18) {
    display: none;
  }
  .hero-shapes-bg .shape {
    opacity: 0.5;
    transform: scale(0.7);
  }
}

/* ===== Stats ===== */
.stats {
  background: var(--color-primary);
  padding: 48px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}

.stat-number {
  display: block;
  font-size: 2.4rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}

.stat-label {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.8);
  font-weight: 400;
}

/* ===== About ===== */
.about {
  background: var(--color-surface);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-text p {
  font-size: 1.05rem;
  color: var(--color-text-light);
  line-height: 1.8;
  margin-bottom: 20px;
}

.about-image {
  display: flex;
  justify-content: center;
}

.about-photo {
  width: 100%;
  max-width: 480px;
  border-radius: var(--radius);
  object-fit: cover;
  box-shadow: var(--shadow-md);
}

/* ===== Services ===== */
.services {
  background: var(--color-surface);
}

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

.service-card {
  background: var(--color-bg);
  border-radius: var(--radius);
  padding: 36px;
  transition: all var(--transition);
  border: 1px solid var(--color-border);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-primary-light);
}

.service-icon {
  width: 48px;
  height: 48px;
  color: var(--color-primary);
  margin-bottom: 20px;
}

.service-card h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--color-text);
}

.service-card p {
  font-size: 0.95rem;
  color: var(--color-text-light);
  line-height: 1.7;
}

/* ===== Directions / Programs ===== */
.directions {
  background: var(--color-surface);
}

.programs {
  background: var(--color-surface);
  padding-top: 0;
}

.programs-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.program-tag {
  padding: 10px 22px;
  border-radius: 50px;
  background: var(--color-accent);
  color: var(--color-primary-dark);
  font-size: 0.9rem;
  font-weight: 500;
  transition: all var(--transition);
}

.program-tag:hover {
  background: var(--color-primary);
  color: #fff;
  transform: translateY(-2px);
}

/* ===== For Who ===== */
.for-who {
  background: var(--color-bg);
}

.for-who-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.for-who-card {
  background: var(--color-surface);
  border-radius: var(--radius);
  padding: 32px;
  border: 1px solid var(--color-border);
  display: flex;
  gap: 20px;
  align-items: flex-start;
  transition: all var(--transition);
}

.for-who-card:hover {
  border-color: var(--color-primary-light);
  box-shadow: var(--shadow-sm);
}

.for-who-number {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--color-primary);
  flex-shrink: 0;
  line-height: 1.6;
}

.for-who-card p {
  font-size: 0.95rem;
  color: var(--color-text-light);
  line-height: 1.7;
}

/* ===== Curriculum ===== */
.curriculum {
  background: var(--color-surface);
}

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

.curriculum-card {
  background: var(--color-bg);
  border-radius: var(--radius);
  padding: 36px 32px;
  border: 1px solid var(--color-border);
  transition: all var(--transition);
}

.curriculum-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-primary-light);
}

.curriculum-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--color-primary);
  background: var(--color-accent);
  padding: 4px 14px;
  border-radius: 50px;
  margin-bottom: 16px;
}

.curriculum-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 16px;
  color: var(--color-text);
}

.curriculum-card ul {
  list-style: none;
  padding: 0;
}

.curriculum-card li {
  font-size: 0.9rem;
  color: var(--color-text-light);
  line-height: 1.7;
  padding: 4px 0;
  padding-left: 16px;
  position: relative;
}

.curriculum-card li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 12px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-primary);
}

/* ===== Teaching Method ===== */
.method {
  background: var(--color-bg);
}

.method-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.method-card {
  background: var(--color-surface);
  border-radius: var(--radius);
  padding: 36px;
  border: 1px solid var(--color-border);
  transition: all var(--transition);
}

.method-card:hover {
  border-color: var(--color-primary-light);
  box-shadow: var(--shadow-sm);
}

.method-number {
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 12px;
  line-height: 1;
}

.method-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--color-text);
}

.method-card p {
  font-size: 0.95rem;
  color: var(--color-text-light);
  line-height: 1.7;
}

/* ===== Why Us ===== */
.why-us {
  background: var(--color-surface);
}

.why-us-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.why-us-card {
  background: var(--color-bg);
  border-radius: var(--radius);
  padding: 32px;
  border: 1px solid var(--color-border);
  transition: all var(--transition);
}

.why-us-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-primary-light);
}

.why-us-card h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--color-text);
}

.why-us-card p {
  font-size: 0.9rem;
  color: var(--color-text-light);
  line-height: 1.7;
}

.insight-callout {
  background: var(--color-accent);
  border-left: 4px solid var(--color-primary);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 36px 40px;
}

.insight-callout h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-primary-dark);
  margin-bottom: 16px;
}

.insight-callout p {
  font-size: 0.95rem;
  color: var(--color-text);
  line-height: 1.8;
  margin-bottom: 12px;
}

.insight-callout p:last-child {
  margin-bottom: 0;
  font-weight: 600;
}

/* ===== About Highlight ===== */
.about-highlight {
  font-size: 1.1rem !important;
  font-weight: 600 !important;
  color: var(--color-primary) !important;
  font-style: italic;
  margin-top: 8px;
}

/* ===== Certificates Tagline ===== */
.certificates-tagline {
  text-align: center;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-top: 48px;
}

/* ===== Portfolio ===== */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.portfolio-card {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  transition: all var(--transition);
}

.portfolio-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.portfolio-img {
  aspect-ratio: 4/3;
  overflow: hidden;
  background: #f0f0f0;
}

.portfolio-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.portfolio-card:hover .portfolio-img img {
  transform: scale(1.05);
}

.portfolio-info {
  padding: 20px 24px;
}

/* Long panoramic portfolio cards */
.portfolio-long-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  margin-top: 28px;
}

.portfolio-long-card {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  transition: all var(--transition);
}

.portfolio-long-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.portfolio-long-img {
  overflow: hidden;
  background: #f0f0f0;
  line-height: 0;
}

.portfolio-long-img img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.4s ease;
}

.portfolio-long-card:hover .portfolio-long-img img {
  transform: scale(1.03);
}

.portfolio-info h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 6px;
}

.portfolio-meta {
  font-size: 0.85rem;
  color: var(--color-primary);
  font-weight: 500;
}

/* ===== Offers Carousel ===== */
.offers {
  background: var(--color-bg);
}

.offers-carousel-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
}

.offers-carousel {
  overflow: hidden;
  flex: 1;
}

.offers-track {
  display: flex;
  gap: 24px;
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.offer-card {
  flex: 0 0 calc((100% - 24px) / 2);
  background: var(--color-surface);
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
  display: flex;
  overflow: hidden;
  min-height: 520px;
  transition: all var(--transition);
}

.offer-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--color-primary-light);
}

.offer-screenshot {
  flex: 0 0 50%;
  background: #f5f5f5;
  display: flex;
  align-items: stretch;
  justify-content: center;
  overflow: hidden;
  padding: 0;
}

.offer-screenshot img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: top center;
  background: #f5f5f5;
}

.offer-details {
  flex: 1;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.offer-school {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 16px;
  line-height: 1.3;
}

.offer-school span {
  color: var(--color-primary);
}

.offer-quote {
  font-size: 0.88rem;
  color: var(--color-text-light);
  line-height: 1.75;
  font-style: italic;
  margin-bottom: 16px;
  flex: 1;
}

.offer-author {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-text);
  text-align: right;
}

/* Carousel Arrows */
.carousel-arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all var(--transition);
  z-index: 2;
}

.carousel-arrow:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
}

.carousel-arrow:hover svg {
  stroke: #fff;
}

.carousel-arrow svg {
  width: 20px;
  height: 20px;
  stroke: var(--color-text);
  transition: stroke var(--transition);
}

/* Carousel Dots */
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 36px;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--color-border);
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  padding: 0;
}

.carousel-dot.active {
  background: var(--color-primary);
  transform: scale(1.2);
}

/* ===== Certificates ===== */
.certificates {
  background: var(--color-surface);
}

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

.certificates-single {
  grid-template-columns: 1fr;
  max-width: 480px;
  margin: 0 auto;
}

.certificate-card {
  background: var(--color-surface);
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
  overflow: hidden;
  transition: all var(--transition);
  width: 100%;
}

.certificate-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.certificate-img {
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
}

.certificate-img img {
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: var(--radius-sm);
}

@media (max-width: 968px) {
  .certificates-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .certificates-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }
}

/* ===== Contact ===== */
.contact {
  background: var(--color-bg);
}

/* Contact info bar */
.contact-info-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 48px;
  background: var(--color-surface);
  border-radius: var(--radius);
  padding: 28px 32px;
  border: 1px solid var(--color-border);
}

.contact-info-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.contact-info-item svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  color: var(--color-primary);
  margin-top: 2px;
}

.contact-info-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--color-text-light);
  margin-bottom: 4px;
}

.contact-info-value {
  display: block;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-text);
  line-height: 1.4;
}

/* Contact form centered */
.contact-form-wrapper {
  max-width: 720px;
  margin: 0 auto;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 6px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-family: var(--font-main);
  font-size: 0.95rem;
  transition: border-color var(--transition);
  background: var(--color-surface);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(224,135,58,0.1);
}

.form-group textarea {
  resize: vertical;
}

.contact-form .btn {
  width: 100%;
}

/* ===== Footer ===== */
.footer {
  background: var(--color-text);
  padding: 48px 0;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
}

.footer .logo-text {
  color: #fff;
}

.footer-brand p {
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  margin-top: 8px;
}

.footer-links {
  display: flex;
  gap: 32px;
}

.footer-links a {
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  transition: color var(--transition);
}

.footer-links a:hover {
  color: #fff;
}

.footer-copy {
  color: rgba(255,255,255,0.4);
  font-size: 0.8rem;
}

/* ===== Responsive ===== */
@media (max-width: 968px) {
  .hero {
    flex-direction: column;
    text-align: center;
    padding-top: 100px;
    min-height: auto;
  }

  .hero-title {
    font-size: 2.4rem;
  }

  .hero-desc {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-buttons {
    justify-content: center;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .curriculum-grid {
    grid-template-columns: 1fr;
  }

  .method-grid {
    grid-template-columns: 1fr;
  }

  .why-us-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .for-who-grid {
    grid-template-columns: 1fr;
  }

  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .offer-card {
    flex: 0 0 100%;
  }

  .contact-info-bar {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .section-title {
    font-size: 1.8rem;
  }
}

@media (max-width: 640px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(12px);
    flex-direction: column;
    padding: 24px;
    gap: 20px;
    border-bottom: 1px solid var(--color-border);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-hamburger {
    display: flex;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-desc {
    font-size: 1rem;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .stat-number {
    font-size: 1.8rem;
  }

  .portfolio-grid {
    grid-template-columns: 1fr;
  }

  .why-us-grid {
    grid-template-columns: 1fr;
  }

  .for-who-card {
    flex-direction: column;
    gap: 8px;
  }

  .offer-card {
    flex: 0 0 100%;
    flex-direction: column;
    min-height: auto;
  }

  .offer-screenshot {
    flex: 0 0 280px;
  }

  .carousel-arrow {
    width: 36px;
    height: 36px;
  }

  .carousel-arrow svg {
    width: 16px;
    height: 16px;
  }

  .insight-callout {
    padding: 24px;
  }

  .certificates-tagline {
    font-size: 1.1rem;
  }

  .contact-info-bar {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 20px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 60px 0;
  }

  .section-header {
    margin-bottom: 40px;
  }
}

/* ===== Scroll Animations ===== */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
