/* ===== POLITECH GLOBAL STYLES ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --primary: #0D557D;
  --primary-dark: #093D5A;
  --primary-light: #1A7AB5;
  --primary-glow: rgba(13,85,125,0.2);
  --accent: #EB3530;
  --accent-dark: #C92A26;
  --ice: #E8F4FD;
  --ice-dark: #D0EAF9;
  --navy: #031824;
  --navy-light: #0A2A3C;
  --charcoal: #1E293B;
  --slate: #475569;
  --gray: #64748B;
  --gray-light: #94A3B8;
  --gray-pale: #E2E8F0;
  --bg: #F8FAFB;
  --white: #FFFFFF;
  --success: #10B981;
  --shadow-sm: 0 1px 2px rgba(3,24,36,0.05);
  --shadow: 0 1px 3px rgba(3,24,36,0.08);
  --shadow-md: 0 4px 12px rgba(3,24,36,0.08);
  --shadow-lg: 0 12px 24px rgba(3,24,36,0.1);
  --shadow-xl: 0 20px 40px rgba(3,24,36,0.12);
  --radius: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --max-width: 1200px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--charcoal);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

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

/* ===== TOPBAR ===== */
.topbar {
  background: var(--navy);
  color: var(--gray-light);
  font-size: 13px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

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

.topbar-left {
  display: flex;
  gap: 24px;
}

.topbar-item {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--gray-light);
  transition: color var(--transition);
}

.topbar-item:hover { color: var(--white); }
.topbar-item svg { width: 14px; height: 14px; }

.topbar-social {
  display: flex;
  gap: 12px;
}

.topbar-social a {
  color: var(--gray-light);
  transition: color var(--transition);
  display: flex;
}

.topbar-social a:hover { color: var(--white); }
.topbar-social svg { width: 16px; height: 16px; }

/* ===== HEADER ===== */
.header {
  background: var(--navy);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 0 var(--primary);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0;
  padding-bottom: 0;
  height: 72px;
}

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

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

.logo-fallback {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: 22px;
  color: var(--white);
  letter-spacing: -0.5px;
}

.logo-fallback span {
  color: var(--primary-light);
}

/* Desktop nav */
.nav { display: flex; align-items: center; gap: 4px; }

.nav a {
  padding: 8px 16px;
  font-size: 14.5px;
  font-weight: 500;
  color: rgba(255,255,255,0.75);
  border-radius: 8px;
  transition: all var(--transition);
  white-space: nowrap;
}

.nav a:hover { color: var(--white); background: rgba(255,255,255,0.06); }
.nav a.active { color: var(--white); background: rgba(13,85,125,0.4); }

.nav .dropdown {
  position: relative;
}

.nav .dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 8px;
  min-width: 220px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.2s ease;
  z-index: 100;
}

.nav .dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu a {
  display: block;
  padding: 10px 14px;
  color: var(--charcoal);
  font-size: 14px;
  border-radius: 6px;
}

.dropdown-menu a:hover {
  background: var(--ice);
  color: var(--primary);
}

.nav-cta {
  margin-left: 8px;
  padding: 10px 20px !important;
  background: var(--accent) !important;
  color: var(--white) !important;
  border-radius: 8px !important;
  font-weight: 600 !important;
  box-shadow: 0 2px 8px rgba(235,53,48,0.3);
  transition: all var(--transition) !important;
}

.nav-cta:hover {
  background: var(--accent-dark) !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(235,53,48,0.4) !important;
}

/* Mobile menu */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  cursor: pointer;
  padding: 8px;
}

.menu-toggle svg { width: 28px; height: 28px; }

.mobile-nav {
  display: none;
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--navy);
  z-index: 999;
  padding: 24px;
  overflow-y: auto;
}

.mobile-nav.open { display: block; }

.mobile-nav a {
  display: block;
  padding: 14px 0;
  font-size: 17px;
  color: rgba(255,255,255,0.8);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  font-weight: 500;
}

.mobile-nav a:hover { color: var(--white); }

.mobile-nav .mobile-cta {
  display: block;
  margin-top: 20px;
  padding: 16px;
  background: var(--accent);
  color: var(--white);
  text-align: center;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 16px;
  border: none;
}

/* ===== HERO ===== */
.hero {
  position: relative;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 50%, var(--primary-dark) 100%);
  padding: 100px 0 120px;
  overflow: hidden;
  color: var(--white);
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('') center/cover;
  opacity: 0.15;
  pointer-events: none;
}

.hero .container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 40px;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,0.9);
  margin-bottom: 24px;
  backdrop-filter: blur(8px);
}

.hero-badge svg { width: 16px; height: 16px; }

.hero h1 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(36px, 5vw, 52px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.5px;
  margin-bottom: 20px;
}

.hero h1 span { color: var(--primary-light); }

.hero-text {
  font-size: 18px;
  color: rgba(255,255,255,0.7);
  line-height: 1.7;
  margin-bottom: 36px;
}

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

.hero-image {
  position: relative;
}

.hero-image img {
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  width: 100%;
  height: 400px;
  object-fit: cover;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
  text-decoration: none;
  white-space: nowrap;
}

.btn svg { width: 18px; height: 18px; }

.btn-primary {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 2px 8px var(--primary-glow);
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px var(--primary-glow);
}

.btn-accent {
  background: var(--accent);
  color: var(--white);
  box-shadow: 0 2px 8px rgba(235,53,48,0.3);
}

.btn-accent:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(235,53,48,0.4);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1.5px 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-outline-dark {
  background: transparent;
  color: var(--primary);
  border: 1.5px solid var(--primary);
}

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

.btn-lg {
  padding: 16px 36px;
  font-size: 17px;
  border-radius: 12px;
}

/* ===== SECTIONS ===== */
.section {
  padding: 80px 0;
}

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

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

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 48px;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.section-label svg { width: 16px; height: 16px; }

.section-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(28px, 4vw, 38px);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.2;
  letter-spacing: -0.3px;
  margin-bottom: 16px;
}

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

.section-subtitle {
  font-size: 17px;
  color: var(--gray);
  line-height: 1.7;
}

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

/* ===== CARDS ===== */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all var(--transition);
  border: 1px solid var(--gray-pale);
}

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

.card-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.card-body { padding: 24px; }

.card-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
}

.card-text {
  font-size: 15px;
  color: var(--gray);
  line-height: 1.65;
  margin-bottom: 16px;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
  transition: gap var(--transition);
}

.card-link:hover { gap: 10px; }
.card-link svg { width: 16px; height: 16px; }

/* ===== CTA BANNER ===== */
.cta-banner {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: var(--radius-xl);
  padding: 60px;
  text-align: center;
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 70%);
  top: -100px; right: -100px;
  border-radius: 50%;
}

.cta-banner h2 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(26px, 3.5vw, 36px);
  font-weight: 800;
  margin-bottom: 16px;
  position: relative;
}

.cta-banner p {
  font-size: 17px;
  opacity: 0.85;
  max-width: 500px;
  margin: 0 auto 28px;
  position: relative;
}

.cta-banner .btn {
  position: relative;
}

/* ===== FEATURES / ICON CARDS ===== */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 24px;
}

.feature-card {
  padding: 28px;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-pale);
  transition: all var(--transition);
}

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

.feature-icon {
  width: 56px;
  height: 56px;
  background: var(--ice);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.feature-icon svg { width: 26px; height: 26px; color: var(--primary); }

.feature-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}

.feature-text {
  font-size: 14.5px;
  color: var(--gray);
  line-height: 1.6;
}

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

.stat-item {}

.stat-number {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(36px, 4vw, 48px);
  font-weight: 800;
  color: var(--primary-light);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 15px;
  color: rgba(255,255,255,0.6);
  font-weight: 500;
}

/* ===== STEPS ===== */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  counter-reset: step;
}

.step-card {
  text-align: center;
  padding: 32px 24px;
  position: relative;
}

.step-num {
  width: 48px;
  height: 48px;
  background: var(--accent);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: 20px;
  margin: 0 auto 18px;
  box-shadow: 0 4px 12px rgba(235,53,48,0.25);
}

.step-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
}

.step-text {
  font-size: 14.5px;
  color: var(--gray);
  line-height: 1.6;
}

/* ===== PARTNER LOGOS ===== */
.partner-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
  align-items: center;
}

.partner-grid img {
  height: 60px;
  width: auto;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.6;
  transition: all var(--transition);
}

.partner-grid img:hover {
  filter: grayscale(0%);
  opacity: 1;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--navy);
  color: rgba(255,255,255,0.6);
  padding: 60px 0 0;
}

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

.footer-brand p {
  font-size: 14px;
  margin-top: 16px;
  line-height: 1.7;
}

.footer h4 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: var(--white);
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 18px;
}

.footer-links {
  list-style: none;
}

.footer-links li { margin-bottom: 10px; }

.footer-links a {
  font-size: 14px;
  color: rgba(255,255,255,0.5);
  transition: color var(--transition);
}

.footer-links a:hover { color: var(--white); }

.footer-bottom {
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
}

.footer-bottom a {
  color: rgba(255,255,255,0.5);
  margin-left: 16px;
  transition: color var(--transition);
}

.footer-bottom a:hover { color: var(--white); }

/* ===== WHATSAPP FLOAT ===== */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37,211,102,0.4);
  z-index: 999;
  transition: transform var(--transition);
}

.whatsapp-float:hover { transform: scale(1.1); }
.whatsapp-float svg { width: 28px; height: 28px; color: var(--white); }

/* ===== PAGE HERO (subpages) ===== */
.page-hero {
  background: linear-gradient(135deg, var(--navy), var(--primary-dark));
  padding: 80px 0 60px;
  text-align: center;
  color: var(--white);
}

.page-hero h1 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 800;
  margin-bottom: 12px;
}

.page-hero p {
  font-size: 18px;
  opacity: 0.7;
  max-width: 560px;
  margin: 0 auto;
}

/* ===== CONTENT ===== */
.content-section {
  padding: 60px 0;
}

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

.content-grid.reverse { direction: rtl; }
.content-grid.reverse > * { direction: ltr; }

.content-text h2 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 16px;
}

.content-text p {
  font-size: 16px;
  color: var(--gray);
  line-height: 1.75;
  margin-bottom: 16px;
}

.content-text ul {
  list-style: none;
  margin: 16px 0;
}

.content-text ul li {
  padding: 6px 0 6px 28px;
  position: relative;
  font-size: 15px;
  color: var(--slate);
}

.content-text ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 12px;
  width: 18px;
  height: 18px;
  background: var(--ice);
  border-radius: 50%;
  border: 2px solid var(--primary);
}

.content-image img {
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  width: 100%;
  height: 400px;
  object-fit: cover;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero-image { display: none; }
  .hero { padding: 80px 0; text-align: center; }
  .hero-content { max-width: 100%; }
  .hero-buttons { justify-content: center; }
  .content-grid { grid-template-columns: 1fr; gap: 40px; }
  .content-grid.reverse { direction: ltr; }
  .stats-row { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .topbar { display: none; }
  .nav { display: none; }
  .menu-toggle { display: block; }
  .steps-grid { grid-template-columns: 1fr; gap: 16px; }
  .hero { padding: 60px 0; }
  .section { padding: 60px 0; }
  .cta-banner { padding: 40px 24px; }
  .stats-row { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}

@media (max-width: 480px) {
  .hero-buttons { flex-direction: column; align-items: stretch; }
  .hero-buttons .btn { justify-content: center; }
  .stats-row { grid-template-columns: 1fr; }
}
