/* =============================================
   EU Kids Turkiye - Modular CSS Framework
   ============================================= */

/* --- CSS Variables --- */
:root {
  --primary: #6B46C1;
  --primary-dark: #553C9A;
  --primary-light: #9F7AEA;
  --accent: #4584FF;
  --accent-dark: #3668CC;
  --accent-light: #7CADFF;
  --dark: #1A202C;
  --dark-soft: #2D3748;
  --gray-900: #1A202C;
  --gray-800: #2D3748;
  --gray-700: #4A5568;
  --gray-600: #718096;
  --gray-500: #A0AEC0;
  --gray-400: #CBD5E0;
  --gray-300: #E2E8F0;
  --gray-200: #EDF2F7;
  --gray-100: #F7FAFC;
  --white: #FFFFFF;
  --gradient-primary: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  --gradient-hero: linear-gradient(135deg, #553C9A 0%, #6B46C1 40%, #4584FF 100%);
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.12);
  --shadow-xl: 0 20px 50px rgba(0, 0, 0, 0.15);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --max-width: 1200px;
  --font-main: 'Inter', 'Segoe UI', sans-serif;
}

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

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

body {
  font-family: var(--font-main);
  color: var(--dark);
  background: var(--gray-100);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

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

ul {
  list-style: none;
}

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

/* --- Section Module --- */
.section {
  padding: 80px 0;
}

.section--gray {
  background: var(--gray-200);
}

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

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

.section__header {
  text-align: center;
  margin-bottom: 56px;
}

.section__tag {
  display: inline-block;
  background: rgba(107, 70, 193, 0.1);
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 16px;
}

.section__title {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--dark);
  line-height: 1.2;
  margin-bottom: 16px;
}

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

.section__subtitle {
  font-size: 1.1rem;
  color: var(--gray-600);
  max-width: 640px;
  margin: 0 auto;
}

/* --- Navbar Module --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 16px 0;
  transition: all var(--transition);
  background: transparent;
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-md);
  padding: 10px 0;
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar__logo {
  display: flex;
  align-items: center;
  gap: 14px;
  font-weight: 800;
  color: var(--white);
  transition: all var(--transition);
  flex-shrink: 0;
  margin-right: 32px;
}

.navbar.scrolled .navbar__logo {
  color: var(--primary);
}

.navbar__logo img {
  height: 42px;
  width: auto;
  border-radius: 6px;
  flex-shrink: 0;
  transition: height var(--transition);
}

.navbar.scrolled .navbar__logo img {
  height: 36px;
}

.navbar__logo span {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--white);
  white-space: nowrap;
  border-left: 2px solid rgba(255, 255, 255, 0.4);
  padding-left: 14px;
  line-height: 1;
}

.navbar.scrolled .navbar__logo span {
  color: var(--primary);
  border-left-color: rgba(107, 70, 193, 0.3);
}

.navbar__menu {
  display: flex;
  align-items: center;
  gap: 4px;
}

.navbar__link {
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 500;
  white-space: nowrap;
  color: rgba(255, 255, 255, 0.85);
  transition: all var(--transition);
}

.navbar.scrolled .navbar__link {
  color: var(--gray-700);
}

.navbar__link:hover,
.navbar__link.active {
  background: rgba(255, 255, 255, 0.15);
  color: var(--white);
}

.navbar.scrolled .navbar__link:hover,
.navbar.scrolled .navbar__link.active {
  background: rgba(107, 70, 193, 0.08);
  color: var(--primary);
}

.navbar__link--anket {
  background: linear-gradient(135deg, #6B46C1, #4584FF) !important;
  color: #fff !important;
  border-radius: 50px;
  padding: 8px 20px !important;
  font-weight: 700 !important;
  box-shadow: 0 2px 10px rgba(107, 70, 193, 0.3);
  transition: all 0.3s ease;
}
.navbar__link--anket:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(107, 70, 193, 0.4) !important;
  background: linear-gradient(135deg, #553C9A, #3668CC) !important;
}
.navbar.scrolled .navbar__link--anket {
  background: linear-gradient(135deg, #6B46C1, #4584FF) !important;
  color: #fff !important;
}

.navbar__auth-mobile {
  display: none !important;
}

.navbar__auth {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: 16px;
  flex-shrink: 0;
}

.navbar__auth .btn--outline {
  border-color: rgba(255, 255, 255, 0.4);
  color: var(--white);
  padding: 6px 14px;
  font-size: 0.8rem;
}

.navbar__auth .btn--outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.6);
}

.navbar__auth .btn--primary {
  background: var(--white);
  color: var(--primary);
  padding: 6px 14px;
  font-size: 0.8rem;
}

.navbar__auth .btn--primary:hover {
  background: var(--gray-100);
}

.navbar.scrolled .navbar__auth .btn--outline {
  border-color: var(--primary);
  color: var(--primary);
}

.navbar.scrolled .navbar__auth .btn--outline:hover {
  background: rgba(107, 70, 193, 0.08);
}

.navbar.scrolled .navbar__auth .btn--primary {
  background: var(--primary);
  color: var(--white);
}

.navbar.scrolled .navbar__auth .btn--primary:hover {
  background: var(--primary-dark);
}

.navbar__toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 12px;
  position: relative;
  z-index: 1002;
}

.navbar__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  margin: 6px 0;
  transition: all var(--transition);
  border-radius: 2px;
  transform-origin: center;
}

.navbar.scrolled .navbar__toggle span {
  background: var(--dark);
}

/* Hamburger to X animation */
.navbar__toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 6px);
}

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

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

/* --- Hero Module --- */
.hero {
  background: var(--gradient-hero);
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 50%;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 400px;
  height: 400px;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 50%;
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero__content {
  max-width: 720px;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.9);
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 28px;
}

.hero__badge::before {
  content: '';
  width: 8px;
  height: 8px;
  background: #68D391;
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero__title {
  font-size: 3.25rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 24px;
}

.hero__title span {
  display: block;
  background: linear-gradient(90deg, #A3BFFA, #FBD38D);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__text {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.8;
  margin-bottom: 40px;
  max-width: 580px;
}

.hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero__stats {
  display: flex;
  gap: 48px;
  margin-top: 64px;
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.hero__stat-number {
  font-size: 2rem;
  font-weight: 800;
  color: var(--white);
}

.hero__stat-label {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 4px;
}

/* --- Button Module --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
}

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

.btn--primary:hover {
  background: var(--gray-100);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn--outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn--outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
}

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

.btn--accent:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

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

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

.btn--sm {
  padding: 10px 20px;
  font-size: 0.85rem;
}

.btn--lg {
  padding: 18px 36px;
  font-size: 1.05rem;
}

/* --- Card Module --- */
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
  border: 1px solid var(--gray-300);
}

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

.card__image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.card__body {
  padding: 28px;
}

.card__tag {
  display: inline-block;
  background: rgba(107, 70, 193, 0.08);
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 50px;
  margin-bottom: 12px;
}

.card__date {
  font-size: 0.8rem;
  color: var(--gray-500);
  margin-bottom: 8px;
}

.card__title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.4;
  margin-bottom: 12px;
}

.card__text {
  font-size: 0.95rem;
  color: var(--gray-600);
  line-height: 1.7;
  margin-bottom: 20px;
}

.card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--primary);
  font-weight: 600;
  font-size: 0.9rem;
}

.card__link:hover {
  gap: 10px;
  color: var(--primary-dark);
}

.card__link::after {
  content: '\2192';
}

/* --- Feature Card Module --- */
.feature-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px;
  border: 1px solid var(--gray-300);
  transition: all var(--transition);
  text-align: center;
}

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

.feature-card__icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.75rem;
}

.feature-card__icon--purple {
  background: rgba(107, 70, 193, 0.1);
  color: var(--primary);
}

.feature-card__icon--blue {
  background: rgba(69, 132, 255, 0.1);
  color: var(--accent);
}

.feature-card__icon--green {
  background: rgba(72, 187, 120, 0.1);
  color: #48BB78;
}

.feature-card__icon--orange {
  background: rgba(237, 137, 54, 0.1);
  color: #ED8936;
}

.feature-card__title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 12px;
}

.feature-card__text {
  font-size: 0.9rem;
  color: var(--gray-600);
  line-height: 1.7;
}

/* --- Team Card Module --- */
.team-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  text-align: center;
  border: 1px solid var(--gray-300);
  transition: all var(--transition);
}

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

.team-card__avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  margin: 0 auto 20px;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 700;
  color: var(--white);
  overflow: hidden;
}

.team-card__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-card__name {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 4px;
}

.team-card__role {
  font-size: 0.85rem;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 8px;
}

.team-card__org {
  font-size: 0.85rem;
  color: var(--gray-600);
  margin-bottom: 16px;
}

.team-card__socials {
  display: flex;
  justify-content: center;
  gap: 8px;
}

.team-card__social {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--gray-200);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-600);
  font-size: 0.85rem;
  transition: all var(--transition);
}

.team-card__social:hover {
  background: var(--primary);
  color: var(--white);
}

/* --- Grid Layouts --- */
.grid {
  display: grid;
  gap: 28px;
}

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

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

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

/* --- CTA Module --- */
.cta {
  background: var(--gradient-hero);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 400px;
  height: 400px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 50%;
}

.cta__title {
  font-size: 2rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 16px;
}

.cta__text {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.8);
  max-width: 540px;
  margin: 0 auto 32px;
}

/* --- Footer Module --- */
.footer {
  background: var(--dark);
  color: var(--gray-400);
  padding: 64px 0 0;
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--gray-800);
}

.footer__brand {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.footer__brand img {
  height: 40px;
  width: auto;
  border-radius: 6px;
}

.footer__brand span {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer__desc {
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 20px;
}

.footer__heading {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
}

.footer__link {
  display: block;
  padding: 6px 0;
  font-size: 0.9rem;
  color: var(--gray-500);
  transition: color var(--transition);
}

.footer__link:hover {
  color: var(--white);
}

.footer__socials {
  display: flex;
  gap: 12px;
}

.footer__social {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: var(--gray-800);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-500);
  transition: all var(--transition);
}

.footer__social:hover {
  background: var(--primary);
  color: var(--white);
}

.footer__bottom {
  padding: 24px 0;
  text-align: center;
  font-size: 0.85rem;
  color: var(--gray-600);
}

/* --- About Page Modules --- */
.page-hero {
  background: var(--gradient-hero);
  padding: 140px 0 80px;
  text-align: center;
}

.page-hero__title {
  font-size: 2.75rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 16px;
}

.page-hero__text {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.8);
  max-width: 600px;
  margin: 0 auto;
}

.timeline {
  position: relative;
  padding-left: 40px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 16px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--gray-300);
}

.timeline__item {
  position: relative;
  padding-bottom: 40px;
}

.timeline__item::before {
  content: '';
  position: absolute;
  left: -30px;
  top: 6px;
  width: 12px;
  height: 12px;
  background: var(--primary);
  border-radius: 50%;
  border: 3px solid var(--white);
  box-shadow: var(--shadow-sm);
}

.timeline__year {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.timeline__title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 8px;
}

.timeline__text {
  font-size: 0.9rem;
  color: var(--gray-600);
  line-height: 1.7;
}

/* --- Info Box Module --- */
.info-box {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px;
  border-left: 4px solid var(--primary);
  margin-bottom: 24px;
}

.info-box__title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 12px;
}

.info-box__text {
  font-size: 0.95rem;
  color: var(--gray-600);
  line-height: 1.7;
}

/* --- Contact Info Module --- */
.contact-info {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 0;
}

.contact-info__icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  border-radius: var(--radius-sm);
  background: rgba(107, 70, 193, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.2rem;
}

.contact-info__label {
  font-size: 0.8rem;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
  margin-bottom: 4px;
}

.contact-info__value {
  font-size: 0.95rem;
  color: var(--dark);
  font-weight: 500;
}

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

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

/* --- Responsive --- */

/* Large desktops - navbar wrapping fix */
@media (max-width: 1280px) {
  .navbar__link {
    padding: 6px 8px;
    font-size: 0.8rem;
  }

  .navbar__logo {
    margin-right: 20px;
  }

  .navbar__logo img {
    height: 34px;
  }

  .navbar.scrolled .navbar__logo img {
    height: 30px;
  }

  .navbar__logo span {
    font-size: 1rem;
    padding-left: 10px;
  }

  .navbar__menu {
    gap: 2px;
  }
}

/* Tablets landscape */
@media (max-width: 1024px) {
  .grid--4 {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .hero__title {
    font-size: 2.5rem;
  }

  .navbar__link {
    padding: 6px 6px;
    font-size: 0.75rem;
  }

  .navbar__logo {
    margin-right: 16px;
    gap: 10px;
  }

  .navbar__logo img {
    height: 30px;
  }

  .navbar.scrolled .navbar__logo img {
    height: 28px;
  }

  .navbar__logo span {
    font-size: 0.9rem;
    padding-left: 10px;
  }
}

/* Tablets portrait & below - hamburger menu */
@media (max-width: 900px) {
  .navbar__menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    height: 100dvh;
    background: var(--white);
    flex-direction: column;
    padding: 80px 24px 32px;
    box-shadow: var(--shadow-xl);
    transition: right var(--transition);
    align-items: stretch;
    overflow-y: auto;
    z-index: 1001;
    gap: 0;
  }

  .navbar__menu.open {
    right: 0;
  }

  .navbar__menu li {
    display: block;
    width: 100%;
  }

  .navbar__link {
    color: var(--dark);
    width: 100%;
    padding: 14px 16px;
    font-size: 1rem;
    border-radius: var(--radius-sm);
    display: block;
    -webkit-tap-highlight-color: rgba(107, 70, 193, 0.1);
    touch-action: manipulation;
    cursor: pointer;
  }

  .navbar__link:hover,
  .navbar__link:active,
  .navbar__link.active {
    background: rgba(107, 70, 193, 0.08);
    color: var(--primary);
  }

  .navbar__toggle {
    display: block;
    z-index: 1002;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    cursor: pointer;
  }

  .navbar__auth {
    display: none !important;
  }

  .navbar__auth-mobile {
    display: block !important;
    width: 100%;
  }

  .navbar__auth-mobile:first-of-type {
    border-top: 1px solid #E2E8F0;
    margin-top: 8px;
    padding-top: 8px;
  }

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

}

/* Mobile phones */
@media (max-width: 768px) {
  .section {
    padding: 56px 0;
  }

  .hero {
    min-height: auto;
    padding: 120px 0 64px;
  }

  .hero__title {
    font-size: 2rem;
  }

  .hero__text {
    font-size: 1rem;
  }

  .hero__stats {
    gap: 20px;
    flex-wrap: wrap;
  }

  .hero__stat {
    min-width: 45%;
  }

  .hero__stat-number {
    font-size: 1.5rem;
  }

  .grid--3,
  .grid--4 {
    grid-template-columns: 1fr;
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .section__title {
    font-size: 1.75rem;
  }

  .section__header {
    margin-bottom: 36px;
  }

  .page-hero__title {
    font-size: 2rem;
  }

  .page-hero {
    padding: 110px 0 48px;
  }

  .page-hero__text {
    font-size: 0.95rem;
  }

  .cta {
    padding: 56px 0;
  }

  .cta__title {
    font-size: 1.5rem;
  }

  .cta__text {
    font-size: 0.95rem;
  }

  .card__body {
    padding: 20px;
  }

  .feature-card {
    padding: 24px;
  }

  .team-card {
    padding: 24px;
  }

  .info-box {
    padding: 24px;
  }

  .contact-info {
    padding: 16px 0;
  }

  .contact-info__icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
    font-size: 1rem;
  }

  .timeline {
    padding-left: 32px;
  }

  .footer {
    padding: 48px 0 0;
  }

  .footer__grid {
    gap: 28px;
    padding-bottom: 32px;
  }

  .btn--lg {
    padding: 14px 28px;
    font-size: 0.95rem;
  }
}

/* Small phones */
@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .hero {
    padding: 100px 0 48px;
  }

  .hero__title {
    font-size: 1.5rem;
  }

  .hero__title span {
    font-size: inherit;
  }

  .hero__text {
    font-size: 0.9rem;
    margin-bottom: 28px;
  }

  .hero__badge {
    font-size: 0.75rem;
    padding: 6px 14px;
    margin-bottom: 20px;
  }

  .hero__actions {
    flex-direction: column;
  }

  .hero__actions .btn {
    width: 100%;
    justify-content: center;
  }

  .hero__stats {
    margin-top: 40px;
    padding-top: 28px;
    gap: 16px;
  }

  .hero__stat {
    min-width: 42%;
  }

  .hero__stat-number {
    font-size: 1.35rem;
  }

  .hero__stat-label {
    font-size: 0.75rem;
  }

  .section {
    padding: 40px 0;
  }

  .section__title {
    font-size: 1.5rem;
  }

  .section__subtitle {
    font-size: 0.95rem;
  }

  .section__header {
    margin-bottom: 28px;
  }

  .page-hero {
    padding: 100px 0 40px;
  }

  .page-hero__title {
    font-size: 1.65rem;
  }

  .navbar__logo img {
    height: 28px;
  }

  .navbar__logo span {
    font-size: 0.9rem;
  }

  .footer__brand img {
    height: 32px;
  }

  .grid {
    gap: 20px;
  }

  .team-card__avatar {
    width: 80px;
    height: 80px;
    font-size: 1.5rem;
  }

  .team-card__name {
    font-size: 1rem;
  }

  .feature-card__icon {
    width: 52px;
    height: 52px;
    font-size: 1.5rem;
  }

  .cta {
    padding: 40px 0;
  }

  .cta__title {
    font-size: 1.25rem;
  }
}

/* Very small phones */
@media (max-width: 360px) {
  .container {
    padding: 0 12px;
  }

  .hero__title {
    font-size: 1.3rem;
  }

  .section__title {
    font-size: 1.3rem;
  }

  .page-hero__title {
    font-size: 1.4rem;
  }

  .navbar__menu {
    width: 260px;
  }

  .btn {
    padding: 12px 20px;
    font-size: 0.85rem;
  }
}

/* Overlay when mobile menu open */
.navbar__overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all var(--transition);
}

.navbar__overlay.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* Landscape phone orientation */
@media (max-height: 500px) and (orientation: landscape) {
  .hero {
    min-height: auto;
    padding: 80px 0 40px;
  }

  .hero__title {
    font-size: 1.5rem;
  }

  .page-hero {
    padding: 80px 0 32px;
  }

  .navbar__menu {
    padding-top: 60px;
  }

  .navbar__link {
    padding: 10px 16px;
  }
}

/* Print styles */
@media print {
  .navbar,
  .navbar__toggle,
  .cta,
  .footer__socials,
  .btn {
    display: none !important;
  }

  .hero {
    background: #6B46C1 !important;
    min-height: auto;
    padding: 40px 0;
  }

  .section {
    padding: 30px 0;
  }

  body {
    font-size: 12pt;
  }
}
