/* ============================================
   ABG - ALIMA BUSINESS GROUP
   Design System & Styles
   ============================================ */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=Inter:wght@300;400;500;600;700&display=swap');

/* --- CSS Variables --- */
:root {
  /* Colors */
  --navy: #1B1464;
  --navy-dark: #0e0d3d;
  --navy-deeper: #0a0a2e;
  --gold: #D4A017;
  --gold-light: #f0c94c;
  --gold-dark: #b8860b;
  --white: #ffffff;
  --off-white: #f8f9fc;
  --gray-50: #f7f8fc;
  --gray-100: #eef0f6;
  --gray-200: #d8dce8;
  --gray-300: #b0b8cc;
  --gray-500: #6b7490;
  --gray-700: #3a3f55;
  --gray-900: #1a1d2e;
  --green-agro: #2d7a3a;
  --green-light: #4caf50;
  --blue-travel: #1565c0;
  --purple-invest: #6a1b9a;

  /* Typography */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Spacing */
  --section-padding: 100px 0;
  --container-width: 1200px;
  --container-padding: 0 24px;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(27, 20, 100, 0.06);
  --shadow-md: 0 4px 20px rgba(27, 20, 100, 0.1);
  --shadow-lg: 0 8px 40px rgba(27, 20, 100, 0.15);
  --shadow-xl: 0 16px 64px rgba(27, 20, 100, 0.2);
  --shadow-gold: 0 4px 20px rgba(212, 160, 23, 0.3);

  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 50%;

  /* Transitions */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: 0.2s var(--ease-out);
  --transition-medium: 0.4s var(--ease-out);
  --transition-slow: 0.6s var(--ease-out);
}

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

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

body {
  font-family: var(--font-body);
  color: var(--gray-700);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--navy);
  line-height: 1.2;
  font-weight: 700;
}

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

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

ul {
  list-style: none;
}

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: var(--container-padding);
}

/* --- Utility Classes --- */
.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, rgba(27, 20, 100, 0.08), rgba(212, 160, 23, 0.08));
  color: var(--navy);
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 8px 20px;
  border-radius: 50px;
  margin-bottom: 16px;
}

.section-badge i {
  color: var(--gold);
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 16px;
  position: relative;
}

.section-title span {
  color: var(--gold);
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--gray-500);
  max-width: 640px;
  line-height: 1.8;
}

.text-center {
  text-align: center;
}

.text-center .section-subtitle {
  margin: 0 auto;
}

/* --- Scroll Animations --- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* staggered children */
.stagger-children .reveal:nth-child(1) { transition-delay: 0.1s; }
.stagger-children .reveal:nth-child(2) { transition-delay: 0.2s; }
.stagger-children .reveal:nth-child(3) { transition-delay: 0.3s; }
.stagger-children .reveal:nth-child(4) { transition-delay: 0.4s; }
.stagger-children .reveal:nth-child(5) { transition-delay: 0.5s; }
.stagger-children .reveal:nth-child(6) { transition-delay: 0.6s; }

/* ============================================
   HEADER / NAVIGATION
   ============================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 16px 0;
  transition: all var(--transition-medium);
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 2px 30px rgba(27, 20, 100, 0.08);
  padding: 10px 0;
}

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

.header-logo {
  display: flex;
  align-items: center;
  gap: 0;
  z-index: 1001;
}

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

.header.scrolled .header-logo img {
  height: 40px;
}

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

.nav-menu a {
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--white);
  position: relative;
  padding: 4px 0;
  letter-spacing: 0.3px;
}

.header.scrolled .nav-menu a {
  color: var(--navy);
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width var(--transition-medium);
  border-radius: 2px;
}

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

.nav-menu a:hover {
  color: var(--gold);
}

.header.scrolled .nav-menu a:hover {
  color: var(--gold);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gold);
  color: var(--white) !important;
  padding: 10px 24px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-gold);
}

.nav-cta::after {
  display: none !important;
}

.nav-cta:hover {
  background: var(--gold-dark);
  color: var(--white) !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(212, 160, 23, 0.4);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 1001;
  padding: 8px;
}

.hamburger span {
  width: 26px;
  height: 2.5px;
  background: var(--white);
  border-radius: 4px;
  transition: all var(--transition-medium);
}

.header.scrolled .hamburger span {
  background: var(--navy);
}

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

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

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

/* Mobile Nav */
@media (max-width: 968px) {
  .hamburger {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: linear-gradient(135deg, var(--navy-dark), var(--navy-deeper));
    flex-direction: column;
    justify-content: center;
    gap: 24px;
    transition: right var(--transition-medium);
  }

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

  .nav-menu a {
    font-size: 1.3rem;
    color: var(--white) !important;
  }

  .nav-cta {
    margin-top: 16px;
    padding: 14px 32px;
    font-size: 1rem;
  }

  .hamburger.active span {
    background: var(--white) !important;
  }
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--navy-deeper);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(10, 10, 46, 0.85) 0%,
    rgba(27, 20, 100, 0.6) 50%,
    rgba(10, 10, 46, 0.75) 100%
  );
}

.hero .container {
  position: relative;
  z-index: 2;
  padding-top: 120px;
  padding-bottom: 80px;
}

.hero-content {
  max-width: 720px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(212, 160, 23, 0.15);
  border: 1px solid rgba(212, 160, 23, 0.3);
  color: var(--gold-light);
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 8px 20px;
  border-radius: 50px;
  margin-bottom: 24px;
  backdrop-filter: blur(10px);
}

.hero-title {
  font-size: clamp(2.2rem, 5vw, 4rem);
  color: var(--white);
  margin-bottom: 20px;
  font-weight: 800;
  line-height: 1.1;
}

.hero-title em {
  font-style: italic;
  color: var(--gold);
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 40px;
  line-height: 1.8;
  max-width: 560px;
}

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

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--gold);
  color: var(--white);
  padding: 16px 36px;
  border-radius: 50px;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-gold);
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  background: var(--gold-dark);
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(212, 160, 23, 0.45);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.1);
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  color: var(--white);
  padding: 15px 36px;
  border-radius: 50px;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  transition: all var(--transition-fast);
  backdrop-filter: blur(10px);
  cursor: pointer;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-3px);
}

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

.hero-stat {
  text-align: center;
}

.hero-stat-number {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
}

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

/* Floating shapes */
.hero-shapes {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.hero-shape {
  position: absolute;
  border-radius: var(--radius-full);
  opacity: 0.06;
}

.hero-shape:nth-child(1) {
  width: 400px;
  height: 400px;
  background: var(--gold);
  top: -100px;
  right: -100px;
  animation: float 8s ease-in-out infinite;
}

.hero-shape:nth-child(2) {
  width: 250px;
  height: 250px;
  background: var(--white);
  bottom: 10%;
  right: 20%;
  animation: float 10s ease-in-out infinite reverse;
}

.hero-shape:nth-child(3) {
  width: 180px;
  height: 180px;
  background: var(--gold);
  top: 40%;
  left: -60px;
  animation: float 12s ease-in-out infinite;
}

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

/* ============================================
   ABOUT SECTION
   ============================================ */
.about {
  padding: var(--section-padding);
  background: var(--white);
  position: relative;
}

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

.about-image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.about-image img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.about-image:hover img {
  transform: scale(1.03);
}

.about-image-badge {
  position: absolute;
  bottom: 24px;
  left: 24px;
  background: var(--gold);
  color: var(--white);
  padding: 12px 24px;
  border-radius: var(--radius-md);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: var(--shadow-gold);
}

.about-content {
  padding: 20px 0;
}

.about-text {
  font-size: 1.05rem;
  color: var(--gray-700);
  margin-bottom: 24px;
  line-height: 1.9;
}

.about-mission {
  background: linear-gradient(135deg, rgba(27, 20, 100, 0.04), rgba(212, 160, 23, 0.04));
  border-left: 4px solid var(--gold);
  padding: 20px 24px;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin-bottom: 36px;
}

.about-mission p {
  font-style: italic;
  color: var(--navy);
  font-size: 1rem;
  line-height: 1.8;
}

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

.counter-item {
  text-align: center;
  padding: 20px 12px;
  background: var(--gray-50);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
}

.counter-item:hover {
  background: var(--white);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.counter-number {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1;
}

.counter-number span {
  color: var(--gold);
}

.counter-label {
  font-size: 0.82rem;
  color: var(--gray-500);
  margin-top: 4px;
  font-weight: 500;
}

/* ============================================
   POLES / SERVICES SECTION
   ============================================ */
.poles {
  padding: var(--section-padding);
  background: var(--gray-50);
  position: relative;
}

.poles-header {
  text-align: center;
  margin-bottom: 60px;
}

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

.pole-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-medium);
  position: relative;
}

.pole-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-xl);
}

.pole-card-image {
  position: relative;
  height: 260px;
  overflow: hidden;
}

.pole-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.pole-card:hover .pole-card-image img {
  transform: scale(1.08);
}

.pole-card-image .pole-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 10, 46, 0.8) 0%, transparent 60%);
  display: flex;
  align-items: flex-end;
  padding: 24px;
}

.pole-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--white);
  position: absolute;
  top: 20px;
  right: 20px;
  backdrop-filter: blur(10px);
}

.pole-card:nth-child(1) .pole-icon { background: rgba(21, 101, 192, 0.8); }
.pole-card:nth-child(2) .pole-icon { background: rgba(45, 122, 58, 0.8); }
.pole-card:nth-child(3) .pole-icon { background: rgba(106, 27, 154, 0.8); }

.pole-card-content {
  padding: 28px;
}

.pole-card-title {
  font-size: 1.3rem;
  margin-bottom: 12px;
  color: var(--navy);
}

.pole-card:nth-child(1) .pole-card-title { color: var(--blue-travel); }
.pole-card:nth-child(2) .pole-card-title { color: var(--green-agro); }
.pole-card:nth-child(3) .pole-card-title { color: var(--purple-invest); }

.pole-card-text {
  font-size: 0.95rem;
  color: var(--gray-500);
  line-height: 1.7;
  margin-bottom: 20px;
}

.pole-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pole-tag {
  font-size: 0.78rem;
  font-weight: 500;
  padding: 4px 12px;
  border-radius: 50px;
  background: var(--gray-100);
  color: var(--gray-700);
  transition: all var(--transition-fast);
}

.pole-card:nth-child(1) .pole-tag:hover { background: rgba(21, 101, 192, 0.1); color: var(--blue-travel); }
.pole-card:nth-child(2) .pole-tag:hover { background: rgba(45, 122, 58, 0.1); color: var(--green-agro); }
.pole-card:nth-child(3) .pole-tag:hover { background: rgba(106, 27, 154, 0.1); color: var(--purple-invest); }

.pole-card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all var(--transition-fast);
}

.pole-card:nth-child(1) .pole-card-link { color: var(--blue-travel); }
.pole-card:nth-child(2) .pole-card-link { color: var(--green-agro); }
.pole-card:nth-child(3) .pole-card-link { color: var(--purple-invest); }

.pole-card-link:hover {
  gap: 14px;
}

/* ============================================
   FORMATIONS SECTION
   ============================================ */
.formations {
  padding: var(--section-padding);
  background: linear-gradient(160deg, var(--navy-deeper) 0%, var(--navy) 100%);
  position: relative;
  overflow: hidden;
}

.formations::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212, 160, 23, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.formations .section-badge {
  background: rgba(212, 160, 23, 0.15);
  color: var(--gold-light);
}

.formations .section-title {
  color: var(--white);
}

.formations .section-subtitle {
  color: rgba(255, 255, 255, 0.6);
}

.formations-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 60px;
}

.formation-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition-medium);
  backdrop-filter: blur(10px);
}

.formation-card:hover {
  transform: translateY(-8px);
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(212, 160, 23, 0.3);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.formation-card-image {
  height: 220px;
  overflow: hidden;
  position: relative;
}

.formation-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

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

.formation-card-content {
  padding: 28px;
}

.formation-card-title {
  font-size: 1.2rem;
  color: var(--white);
  margin-bottom: 12px;
}

.formation-card-text {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.7;
  margin-bottom: 20px;
}

.formation-pricing {
  background: rgba(212, 160, 23, 0.1);
  border: 1px solid rgba(212, 160, 23, 0.2);
  border-radius: var(--radius-md);
  padding: 16px;
}

.formation-price {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 4px 0;
}

.formation-price:first-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding-bottom: 8px;
  margin-bottom: 4px;
}

.formation-price-label {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
}

.formation-price-value {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--gold);
}

.formation-card-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
  padding: 12px;
  background: var(--gold);
  color: var(--white);
  border-radius: var(--radius-md);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  transition: all var(--transition-fast);
}

.formation-card-cta:hover {
  background: var(--gold-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}

/* ============================================
   PORTFOLIO SECTION
   ============================================ */
.portfolio {
  padding: var(--section-padding);
  background: var(--gray-50);
  overflow: hidden;
}

.portfolio-carousel {
  position: relative;
  max-width: 1100px;
  margin: 40px auto 0;
  padding: 0 60px;
}

.portfolio-track-wrapper {
  overflow: hidden;
  border-radius: var(--radius-lg);
}

.portfolio-track {
  display: flex;
  transition: transform 0.6s var(--ease-out);
  will-change: transform;
}

.portfolio-slide {
  min-width: 33.333%;
  padding: 8px;
  box-sizing: border-box;
}

.portfolio-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 4 / 3;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-medium);
}

.portfolio-item:hover {
  box-shadow: var(--shadow-xl);
  transform: translateY(-4px);
}

.portfolio-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.portfolio-item:hover img {
  transform: scale(1.08);
}

.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(27, 20, 100, 0.7), rgba(212, 160, 23, 0.4));
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition-medium);
}

.portfolio-item:hover .portfolio-overlay {
  opacity: 1;
}

.portfolio-overlay i {
  color: var(--white);
  font-size: 2rem;
  padding: 16px;
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: var(--radius-full);
  transition: all var(--transition-fast);
}

.portfolio-item:hover .portfolio-overlay i {
  transform: scale(1.1);
  border-color: var(--white);
}

.portfolio-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 30px;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(10, 10, 46, 0.95);
  backdrop-filter: blur(20px);
  display: none;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.lightbox.active {
  display: flex;
  opacity: 1;
}

.lightbox-content {
  max-width: 90vw;
  max-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-content img {
  max-width: 100%;
  max-height: 85vh;
  object-fit: contain;
  border-radius: var(--radius-md);
  box-shadow: 0 20px 80px rgba(0, 0, 0, 0.5);
  animation: lightboxIn 0.3s ease;
}

@keyframes lightboxIn {
  from { transform: scale(0.9); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.lightbox-close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--white);
  font-size: 1.2rem;
  cursor: pointer;
  transition: all var(--transition-fast);
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: rotate(90deg);
}

.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--white);
  font-size: 1.1rem;
  cursor: pointer;
  transition: all var(--transition-fast);
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-prev { left: 24px; }
.lightbox-next { right: 24px; }

.lightbox-prev:hover,
.lightbox-next:hover {
  background: rgba(212, 160, 23, 0.4);
  border-color: var(--gold);
}

.lightbox-counter {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.6);
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
}

/* Responsive Portfolio */
@media (max-width: 768px) {
  .portfolio-slide {
    min-width: 100%;
  }

  .portfolio-carousel {
    padding: 0 50px;
  }

  .lightbox-prev,
  .lightbox-next {
    width: 40px;
    height: 40px;
    font-size: 0.9rem;
  }

  .lightbox-prev { left: 12px; }
  .lightbox-next { right: 12px; }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .portfolio-slide {
    min-width: 50%;
  }
}

/* ============================================
   PARTNERS CAROUSEL SECTION
   ============================================ */
.partners {
  padding: 80px 0;
  background: var(--white);
  overflow: hidden;
}

.partners-header {
  text-align: center;
  margin-bottom: 50px;
}

.partners-carousel {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 60px;
}

.carousel-track-wrapper {
  overflow: hidden;
  border-radius: var(--radius-lg);
}

.carousel-track {
  display: flex;
  transition: transform 0.6s var(--ease-out);
  will-change: transform;
}

.carousel-slide {
  min-width: 33.333%;
  padding: 12px;
  box-sizing: border-box;
}

.partner-card {
  background: var(--gray-50);
  border: 1.5px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 36px 24px;
  text-align: center;
  transition: all var(--transition-medium);
  position: relative;
  overflow: hidden;
  height: 100%;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.partner-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--partner-color, var(--navy));
  transform: scaleX(0);
  transition: transform var(--transition-medium);
  transform-origin: left;
}

.partner-card:hover::before {
  transform: scaleX(1);
}

.partner-card:hover {
  background: var(--white);
  border-color: rgba(0, 0, 0, 0.06);
  box-shadow: var(--shadow-lg);
  transform: translateY(-6px);
}

.partner-card-icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, color-mix(in srgb, var(--partner-color, var(--navy)) 10%, transparent), color-mix(in srgb, var(--partner-color, var(--navy)) 5%, transparent));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--partner-color, var(--navy));
  transition: all var(--transition-medium);
}

.partner-card:hover .partner-card-icon {
  background: var(--partner-color, var(--navy));
  color: var(--white);
  transform: scale(1.1);
}

.partner-card-name {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy);
}

.partner-card-tagline {
  font-size: 0.85rem;
  color: var(--gray-500);
  line-height: 1.5;
}

.partner-card-type {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--partner-color, var(--navy));
  background: color-mix(in srgb, var(--partner-color, var(--navy)) 8%, transparent);
  padding: 4px 14px;
  border-radius: 50px;
  margin-top: 4px;
}

/* Carousel Buttons */
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  color: var(--navy);
  font-size: 0.9rem;
  cursor: pointer;
  z-index: 10;
  transition: all var(--transition-fast);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
}

.carousel-btn:hover {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
  box-shadow: var(--shadow-md);
}

.carousel-btn-prev {
  left: 0;
}

.carousel-btn-next {
  right: 0;
}

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

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: var(--radius-full);
  background: var(--gray-200);
  border: none;
  cursor: pointer;
  transition: all var(--transition-fast);
  padding: 0;
}

.carousel-dot.active {
  background: var(--gold);
  width: 28px;
  border-radius: 6px;
}

.carousel-dot:hover:not(.active) {
  background: var(--gray-300);
}

/* Responsive Carousel */
@media (max-width: 768px) {
  .carousel-slide {
    min-width: 100%;
  }

  .partners-carousel {
    padding: 0 50px;
  }

  .carousel-btn {
    width: 36px;
    height: 36px;
    font-size: 0.8rem;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .carousel-slide {
    min-width: 50%;
  }
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact {
  padding: var(--section-padding);
  background: var(--gray-50);
  position: relative;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin-top: 50px;
}

.contact-info-cards {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-card {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  background: var(--white);
  padding: 24px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
}

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

.contact-card-icon {
  width: 52px;
  height: 52px;
  min-width: 52px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--navy), var(--navy-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 1.2rem;
}

.contact-card-content h4 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.contact-card-content p,
.contact-card-content a {
  font-size: 0.9rem;
  color: var(--gray-500);
}

.contact-card-content a:hover {
  color: var(--gold);
}

.contact-form-wrapper {
  background: var(--white);
  padding: 40px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
  font-family: var(--font-heading);
}

.form-group input,
.form-group textarea,
.form-group select {
  padding: 14px 18px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--gray-900);
  transition: all var(--transition-fast);
  outline: none;
  background: var(--gray-50);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--gold);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(212, 160, 23, 0.1);
}

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

.form-submit {
  align-self: flex-start;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: linear-gradient(160deg, var(--navy-deeper) 0%, var(--navy-dark) 100%);
  color: var(--white);
  padding: 80px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.6);
  margin-top: 16px;
  font-size: 0.92rem;
  line-height: 1.8;
  max-width: 340px;
}

.footer-brand img {
  height: 44px;
}

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}

.footer-social a {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.5);
  font-size: 1rem;
  transition: all var(--transition-fast);
}

.footer-social a:hover {
  background: var(--gold);
  color: var(--white);
  transform: translateY(-3px);
}

.footer-column h4 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 20px;
  font-weight: 600;
  position: relative;
  padding-bottom: 12px;
}

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

.footer-column ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-column ul a {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
  transition: all var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-column ul a:hover {
  color: var(--gold);
  transform: translateX(4px);
}

.footer-bottom {
  padding: 24px 0;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.35);
}

.footer-bottom span {
  color: var(--gold);
}

/* ============================================
   FLOATING WHATSAPP BUTTON
   ============================================ */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 10px;
}

.whatsapp-float a {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-full);
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.6rem;
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.4);
  transition: all var(--transition-fast);
  animation: whatsapp-pulse 2s infinite;
}

.whatsapp-float a:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 32px rgba(37, 211, 102, 0.5);
}

@keyframes whatsapp-pulse {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5); }
  70% { box-shadow: 0 0 0 16px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

.whatsapp-tooltip {
  background: var(--white);
  color: var(--gray-700);
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 600;
  box-shadow: var(--shadow-md);
  white-space: nowrap;
  opacity: 0;
  transform: translateX(10px);
  transition: all var(--transition-fast);
  pointer-events: none;
}

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

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 1024px) {
  .poles-grid,
  .formations-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-grid {
    gap: 40px;
  }

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

  .hero-stats {
    gap: 32px;
  }
}

@media (max-width: 768px) {
  :root {
    --section-padding: 70px 0;
  }

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

  .about-image img {
    height: 350px;
  }

  .poles-grid,
  .formations-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin: 0 auto;
  }

  .formations-grid {
    margin-top: 40px;
  }

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

  .contact-form-wrapper {
    padding: 28px;
  }

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

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

  .hero-stats {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }

  .hero-stat {
    text-align: left;
    display: flex;
    align-items: center;
    gap: 12px;
  }

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

  .hero-buttons {
    flex-direction: column;
  }

  .btn-primary,
  .btn-secondary {
    justify-content: center;
    text-align: center;
  }

  .partners-logos {
    gap: 32px;
  }

  .partner-logo {
    height: 36px;
  }

  .about-counters {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }

  .counter-number {
    font-size: 1.6rem;
  }

  .whatsapp-float {
    bottom: 20px;
    right: 20px;
  }

  .whatsapp-float a {
    width: 54px;
    height: 54px;
    font-size: 1.4rem;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 1.8rem;
  }

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

  .counter-item {
    display: flex;
    align-items: center;
    gap: 12px;
    text-align: left;
    padding: 16px 20px;
  }

  .counter-label {
    margin-top: 0;
  }
}
