/* =============================================
   ICORP CLONE — GLOBAL STYLES
   ============================================= */

:root {
  --navy:       #0b1f3a;
  --navy-light: #112d52;
  --blue:       #1565c0;
  --blue-mid:   #1976d2;
  --orange:     #f26522;
  --orange-light:#ff8a50;
  --white:      #ffffff;
  --gray-100:   #f4f6f9;
  --gray-200:   #e8ecf2;
  --gray-400:   #9aa5b4;
  --gray-700:   #3d4f63;
  --text:       #1a2b3c;
  --radius:     8px;
  --radius-lg:  16px;
  --shadow:     0 4px 24px rgba(11,31,58,.12);
  --shadow-lg:  0 12px 48px rgba(11,31,58,.18);
  --transition: .25s ease;
  --max-w:      1200px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  font-size: 16px;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ---- TYPOGRAPHY ---- */
h1 { font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 800; line-height: 1.15; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); font-weight: 700; line-height: 1.2; }
h3 { font-size: 1.25rem; font-weight: 700; }
h4 { font-size: 1.05rem; font-weight: 600; }
p  { color: var(--gray-700); line-height: 1.75; }

.highlight { color: var(--orange); }
.text-white { color: var(--white) !important; }

/* ---- LAYOUT ---- */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.section    { padding: 96px 0; }
.section-sm { padding: 64px 0; }
.section-dark { background: var(--navy); }
.section-gray { background: var(--gray-100); }

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: .95rem;
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
  white-space: nowrap;
}
.btn-primary {
  background: var(--orange);
  color: var(--white);
}
.btn-primary:hover { background: var(--orange-light); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(242,101,34,.35); }
.btn-outline {
  border-color: var(--white);
  color: var(--white);
  background: transparent;
}
.btn-outline:hover { background: var(--white); color: var(--navy); }
.btn-outline-dark {
  border-color: var(--orange);
  color: var(--orange);
  background: transparent;
}
.btn-outline-dark:hover { background: var(--orange); color: var(--white); }
.btn-sm { padding: 9px 20px; font-size: .875rem; }

/* ---- NAVBAR ---- */
#navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--navy);
  box-shadow: 0 2px 16px rgba(0,0,0,.25);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  gap: 24px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--white);
  flex-shrink: 0;
}
.nav-logo span { color: var(--orange); }
.nav-logo-icon {
  width: 36px; height: 36px;
  background: var(--orange);
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  color: white; font-weight: 900; font-size: 1rem;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-item {
  position: relative;
}
.nav-link {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 8px 14px;
  color: rgba(255,255,255,.85);
  font-size: .9rem;
  font-weight: 500;
  border-radius: var(--radius);
  transition: var(--transition);
  cursor: pointer;
}
.nav-link:hover, .nav-link.active { color: var(--white); background: rgba(255,255,255,.1); }
.nav-link svg { width: 12px; height: 12px; transition: transform .2s; }
.nav-item:hover .nav-link svg { transform: rotate(180deg); }

/* Dropdown */
.dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  min-width: 240px;
  padding: 12px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all .2s ease;
  border: 1px solid var(--gray-200);
}
.nav-item:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: var(--radius);
  color: var(--text);
  font-size: .875rem;
  font-weight: 500;
  transition: var(--transition);
}
.dropdown-link:hover { background: var(--gray-100); color: var(--orange); }
.dropdown-link-icon {
  width: 32px; height: 32px;
  border-radius: 6px;
  background: var(--gray-100);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  font-size: .9rem;
}
.dropdown-title {
  padding: 6px 14px 4px;
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--gray-400);
}

.nav-cta { margin-left: 8px; }
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  border-radius: var(--radius);
  border: none;
  background: none;
}
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

/* ---- HERO ---- */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 50%, #1a3a6b 100%);
  position: relative;
  overflow: hidden;
  padding: 100px 0 80px;
  color: var(--white);
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(242,101,34,.2);
  border: 1px solid rgba(242,101,34,.4);
  color: var(--orange-light);
  padding: 6px 14px;
  border-radius: 100px;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.hero h1 { margin-bottom: 24px; }
.hero p  { color: rgba(255,255,255,.75); font-size: 1.1rem; margin-bottom: 36px; }
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-visual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.hero-card {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  backdrop-filter: blur(8px);
  transition: var(--transition);
}
.hero-card:hover { background: rgba(255,255,255,.13); transform: translateY(-4px); }
.hero-card-icon { font-size: 1.8rem; margin-bottom: 12px; }
.hero-card h4 { color: var(--white); margin-bottom: 6px; font-size: .95rem; }
.hero-card p  { color: rgba(255,255,255,.6); font-size: .82rem; line-height: 1.5; margin: 0; }
.hero-card-wide { grid-column: 1 / -1; }
.stat-row { display: flex; gap: 24px; margin-top: 4px; }
.stat-item .num { font-size: 1.5rem; font-weight: 800; color: var(--orange-light); }
.stat-item .lbl { font-size: .75rem; color: rgba(255,255,255,.6); }

/* ---- PAGE HERO (inner pages) ---- */
.page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  padding: 72px 0 60px;
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.page-hero .container { position: relative; z-index: 1; }
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  font-size: .85rem;
  color: rgba(255,255,255,.6);
}
.breadcrumb a { color: rgba(255,255,255,.6); transition: var(--transition); }
.breadcrumb a:hover { color: var(--orange-light); }
.breadcrumb-sep { color: rgba(255,255,255,.3); }

/* ---- SECTION HEADER ---- */
.section-header { text-align: center; max-width: 680px; margin: 0 auto 56px; }
.section-tag {
  display: inline-block;
  background: rgba(242,101,34,.12);
  color: var(--orange);
  padding: 5px 14px;
  border-radius: 100px;
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  margin-bottom: 14px;
}
.section-dark .section-tag { background: rgba(242,101,34,.2); }
.section-header h2 { margin-bottom: 16px; }
.section-header p { font-size: 1.05rem; }
.section-dark .section-header h2 { color: var(--white); }
.section-dark .section-header p  { color: rgba(255,255,255,.7); }

/* ---- CARDS ---- */
.cards-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.cards-grid-4 { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }

.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: 1px solid var(--gray-200);
  display: flex;
  flex-direction: column;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.card-icon {
  width: 56px; height: 56px;
  background: rgba(242,101,34,.1);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
  flex-shrink: 0;
}
.card h3 { margin-bottom: 12px; }
.card p  { flex: 1; font-size: .92rem; margin-bottom: 20px; }
.card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--orange);
  font-weight: 600;
  font-size: .875rem;
  transition: var(--transition);
}
.card-link:hover { gap: 10px; }

/* dark card variant */
.card-dark {
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.1);
  color: var(--white);
}
.card-dark p { color: rgba(255,255,255,.7); }
.card-dark h3 { color: var(--white); }
.card-dark .card-icon { background: rgba(242,101,34,.2); }

/* ---- FEATURE LIST ---- */
.feature-list { display: flex; flex-direction: column; gap: 16px; }
.feature-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px;
  background: var(--gray-100);
  border-radius: var(--radius);
  transition: var(--transition);
}
.feature-item:hover { background: var(--gray-200); }
.feature-icon {
  width: 44px; height: 44px;
  background: var(--orange);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
  color: var(--white);
}
.feature-text h4 { margin-bottom: 4px; }
.feature-text p  { font-size: .88rem; margin: 0; }

/* ---- TWO-COL SPLIT ---- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.split-reverse { direction: rtl; }
.split-reverse > * { direction: ltr; }
.split-visual {
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 100%);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.split-visual::before {
  content: attr(data-icon);
  position: absolute;
  right: -10px;
  top: -10px;
  font-size: 8rem;
  opacity: .08;
  line-height: 1;
}
.split-visual h3 { color: var(--white); margin-bottom: 16px; font-size: 1.5rem; }
.split-visual p  { color: rgba(255,255,255,.75); }
.split-list { margin-top: 24px; display: flex; flex-direction: column; gap: 10px; }
.split-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,.85);
  font-size: .9rem;
}
.split-list li::before { content: '✓'; color: var(--orange-light); font-weight: 700; }

/* ---- STATS ---- */
.stats-band {
  background: var(--orange);
  padding: 48px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}
.stat-block .num { font-size: 2.8rem; font-weight: 900; color: var(--white); line-height: 1; }
.stat-block .lbl { font-size: .9rem; color: rgba(255,255,255,.85); margin-top: 6px; }

/* ---- TABS ---- */
.tabs { margin-bottom: 40px; }
.tab-list {
  display: flex;
  gap: 8px;
  border-bottom: 2px solid var(--gray-200);
  padding-bottom: 0;
  overflow-x: auto;
  scrollbar-width: none;
}
.tab-list::-webkit-scrollbar { display: none; }
.tab-btn {
  padding: 12px 24px;
  font-size: .9rem;
  font-weight: 600;
  color: var(--gray-400);
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  cursor: pointer;
  white-space: nowrap;
  transition: var(--transition);
}
.tab-btn.active { color: var(--orange); border-bottom-color: var(--orange); }
.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* ---- TESTIMONIALS ---- */
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 24px; }
.testimonial {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  box-shadow: var(--shadow);
  border: 1px solid var(--gray-200);
}
.testimonial-quote { font-style: italic; color: var(--gray-700); margin-bottom: 20px; font-size: .95rem; line-height: 1.7; }
.testimonial-quote::before { content: '"'; color: var(--orange); font-size: 2rem; line-height: .8; display: block; margin-bottom: 8px; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--orange), var(--blue));
  display: flex; align-items: center; justify-content: center;
  color: white; font-weight: 700; font-size: 1rem;
}
.testimonial-name { font-weight: 700; font-size: .9rem; }
.testimonial-role { font-size: .78rem; color: var(--gray-400); }

/* ---- CTA BAND ---- */
.cta-band {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(242,101,34,.15) 0%, transparent 70%);
}
.cta-band .container { position: relative; z-index: 1; }
.cta-band h2 { color: var(--white); margin-bottom: 16px; }
.cta-band p  { color: rgba(255,255,255,.7); margin-bottom: 36px; font-size: 1.05rem; }
.cta-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ---- FOOTER ---- */
footer {
  background: #060f1e;
  color: rgba(255,255,255,.7);
  padding: 72px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 56px;
}
.footer-brand p { font-size: .9rem; line-height: 1.7; margin: 16px 0 24px; max-width: 280px; }
.footer-social { display: flex; gap: 10px; }
.social-btn {
  width: 36px; height: 36px;
  border-radius: 8px;
  background: rgba(255,255,255,.08);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.7);
  font-size: .85rem;
  transition: var(--transition);
}
.social-btn:hover { background: var(--orange); color: white; }

.footer-col h5 {
  color: var(--white);
  font-size: .85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 20px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a {
  font-size: .875rem;
  color: rgba(255,255,255,.6);
  transition: var(--transition);
  display: flex; align-items: center; gap: 6px;
}
.footer-col a:hover { color: var(--orange-light); padding-left: 4px; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: .82rem;
  color: rgba(255,255,255,.4);
}

/* ---- CONTACT FORM ---- */
.contact-section { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; }
.contact-info-item { display: flex; gap: 16px; margin-bottom: 28px; }
.contact-icon {
  width: 48px; height: 48px;
  background: rgba(242,101,34,.1);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: .875rem; font-weight: 600; margin-bottom: 8px; color: var(--text); }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius);
  font-size: .9rem;
  font-family: inherit;
  color: var(--text);
  background: var(--white);
  transition: var(--transition);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(242,101,34,.12);
}
.form-group textarea { height: 130px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* ---- PARTNER LOGOS ---- */
.partners { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: center; }
.partner-badge {
  background: var(--gray-100);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 14px 24px;
  font-weight: 700;
  font-size: .9rem;
  color: var(--gray-700);
  transition: var(--transition);
}
.partner-badge:hover { border-color: var(--orange); color: var(--orange); }

/* ---- ICON GRID ---- */
.icon-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 16px; }
.icon-item {
  background: var(--gray-100);
  border-radius: var(--radius);
  padding: 20px;
  text-align: center;
  transition: var(--transition);
}
.icon-item:hover { background: rgba(242,101,34,.08); }
.icon-item .ico { font-size: 2rem; margin-bottom: 10px; }
.icon-item p { font-size: .82rem; font-weight: 600; color: var(--text); margin: 0; }

/* ---- SUCCESS ALERT ---- */
.alert {
  padding: 14px 20px;
  border-radius: var(--radius);
  font-size: .9rem;
  font-weight: 600;
  margin-top: 16px;
  display: none;
}
.alert-success { background: #e6f4ea; color: #1e7e34; border: 1px solid #b7dfbe; }
.alert-error   { background: #fdecea; color: #c62828; border: 1px solid #f5c6cb; }

/* ---- RESPONSIVE ---- */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .split      { grid-template-columns: 1fr; gap: 40px; }
  .split-reverse { direction: ltr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid  { grid-template-columns: repeat(2, 1fr); }
  .contact-section { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .nav-menu, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .nav-menu.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    inset: 70px 0 0;
    background: var(--navy);
    padding: 24px;
    gap: 4px;
    overflow-y: auto;
    z-index: 999;
  }
  .nav-menu.open .nav-link { padding: 12px 16px; font-size: 1rem; }
  .nav-menu.open .dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    background: rgba(255,255,255,.05);
    border-color: rgba(255,255,255,.1);
    margin: 4px 0 8px 16px;
  }
  .nav-menu.open .dropdown-link { color: rgba(255,255,255,.8); }
  .nav-menu.open .dropdown-title { color: rgba(255,255,255,.4); }
  .hero-visual { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .form-row { grid-template-columns: 1fr; }
  .cards-grid { grid-template-columns: 1fr; }
}

/* ---- ANIMATIONS ---- */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
.animate { animation: fadeInUp .5s ease forwards; }
.animate-delay-1 { animation-delay: .1s; }
.animate-delay-2 { animation-delay: .2s; }
.animate-delay-3 { animation-delay: .3s; }

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
