/* =====================
   iPro Works LLC - Styles
   ===================== */

:root {
  --blue-dark:    #0a2540;
  --blue-mid:     #1a4a8a;
  --blue-accent:  #2d7dd2;
  --blue-light:   #e8f2fc;
  --white:        #ffffff;
  --gray-light:   #f5f7fa;
  --gray-mid:     #6b7280;
  --gray-dark:    #1f2937;
  --border:       #d1dce8;
  --font:         'Segoe UI', system-ui, -apple-system, sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  color: var(--gray-dark);
  background: var(--white);
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
}

/* =====================
   NAVBAR
   ===================== */

nav {
  background: var(--blue-dark);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

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

.logo {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--blue-accent);
  letter-spacing: -0.5px;
}

.logo span {
  color: var(--white);
}

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
  align-items: center;
}

.nav-links a {
  color: #cbd5e1;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--white);
}

/* ── Dropdown ── */
.nav-item {
  position: relative;
}

.nav-item > a {
  display: flex;
  align-items: center;
  gap: 5px;
}

.nav-item > a::after {
  content: '';
  display: inline-block;
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid #cbd5e1;
  transition: transform 0.2s;
}

.nav-item:hover > a::after {
  transform: rotate(180deg);
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--white);
  border-radius: 8px;
  min-width: 220px;
  box-shadow: 0 8px 24px rgba(10,37,64,0.15);
  padding: 8px 0;
  z-index: 200;
}

/* Invisible bridge fills the gap so hover isn't lost while moving to the dropdown */
.dropdown-menu::before {
  content: '';
  position: absolute;
  top: -12px;
  left: 0;
  right: 0;
  height: 12px;
}

.nav-item:hover .dropdown-menu {
  display: block;
}

.dropdown-menu li {
  list-style: none;
}

.dropdown-menu a {
  display: block;
  padding: 10px 20px;
  color: var(--gray-dark);
  font-size: 0.9rem;
  font-weight: 500;
  transition: background 0.15s, color 0.15s;
}

.dropdown-menu a:hover {
  background: var(--blue-light);
  color: var(--blue-accent);
}

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

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.3s;
}

/* ── i-EX Brand Callout ── */
.iex-callout {
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue-mid) 100%);
  border-radius: 12px;
  padding: 48px;
  color: var(--white);
  margin-top: 60px;
}

.iex-callout .iex-badge {
  display: inline-block;
  background: var(--blue-accent);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 16px;
}

.iex-callout h3 {
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}

.iex-callout h3 span {
  color: #60a5fa;
}

.iex-callout p {
  color: #bfdbfe;
  font-size: 1rem;
  max-width: 600px;
  margin-bottom: 24px;
  line-height: 1.7;
}

.iex-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.iex-feature {
  background: rgba(255,255,255,0.08);
  border-radius: 8px;
  padding: 16px 20px;
  border: 1px solid rgba(255,255,255,0.12);
}

.iex-feature h4 {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
}

.iex-feature p {
  font-size: 0.82rem;
  color: #93c5fd;
  margin: 0;
  line-height: 1.5;
}

/* =====================
   HERO
   ===================== */

.hero {
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue-mid) 100%);
  color: var(--white);
  padding: 100px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80'%3E%3Cg fill='none' stroke='%232d7dd2' stroke-width='0.6' opacity='0.35'%3E%3Ccircle cx='10' cy='10' r='2'/%3E%3Ccircle cx='70' cy='10' r='2'/%3E%3Ccircle cx='10' cy='70' r='2'/%3E%3Ccircle cx='70' cy='70' r='2'/%3E%3Ccircle cx='40' cy='40' r='2'/%3E%3Cline x1='12' y1='10' x2='38' y2='10'/%3E%3Cline x1='42' y1='10' x2='68' y2='10'/%3E%3Cline x1='10' y1='12' x2='10' y2='38'/%3E%3Cline x1='70' y1='12' x2='70' y2='38'/%3E%3Cline x1='10' y1='42' x2='10' y2='68'/%3E%3Cline x1='70' y1='42' x2='70' y2='68'/%3E%3Cline x1='12' y1='70' x2='38' y2='70'/%3E%3Cline x1='42' y1='70' x2='68' y2='70'/%3E%3Cline x1='40' y1='12' x2='40' y2='38'/%3E%3Cline x1='40' y1='42' x2='40' y2='68'/%3E%3Cline x1='12' y1='40' x2='38' y2='40'/%3E%3Cline x1='42' y1='40' x2='68' y2='40'/%3E%3Ccircle cx='40' cy='10' r='1.5' fill='%232d7dd2'/%3E%3Ccircle cx='10' cy='40' r='1.5' fill='%232d7dd2'/%3E%3Ccircle cx='70' cy='40' r='1.5' fill='%232d7dd2'/%3E%3Ccircle cx='40' cy='70' r='1.5' fill='%232d7dd2'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 80px 80px;
  pointer-events: none;
}

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

.hero-inner {
  max-width: 760px;
  margin: 0 auto;
}

.hero h1 {
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -1px;
}

.hero h1 span {
  color: #60a5fa;
}

.hero p {
  font-size: 1.15rem;
  color: #bfdbfe;
  margin-bottom: 36px;
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
}

.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
}

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

.btn-primary:hover {
  background: #1d6bbf;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(45,125,210,0.4);
}

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

.btn-outline:hover {
  border-color: var(--white);
  background: rgba(255,255,255,0.08);
}

/* =====================
   SECTIONS
   ===================== */

section {
  padding: 80px 24px;
}

.section-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.section-label {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--blue-accent);
  margin-bottom: 12px;
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--blue-dark);
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--gray-mid);
  max-width: 600px;
  margin-bottom: 48px;
}

/* =====================
   SERVICES CARDS
   ===================== */

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 36px 32px;
  transition: box-shadow 0.2s, transform 0.2s;
}

.service-card:hover {
  box-shadow: 0 8px 28px rgba(10,37,64,0.1);
  transform: translateY(-3px);
}

.service-icon {
  width: 52px;
  height: 52px;
  background: var(--blue-light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.service-icon svg {
  width: 26px;
  height: 26px;
  stroke: var(--blue-accent);
}

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

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

.service-list {
  list-style: none;
  margin-top: 16px;
}

.service-list li {
  color: var(--gray-mid);
  font-size: 0.9rem;
  padding: 4px 0;
  padding-left: 16px;
  position: relative;
}

.service-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 12px;
  width: 6px;
  height: 6px;
  background: var(--blue-accent);
  border-radius: 50%;
}

/* =====================
   WHY US / HIGHLIGHTS
   ===================== */

.highlights {
  background: var(--gray-light);
}

.highlights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}

.highlight-item {
  text-align: center;
  padding: 32px 20px;
}

.highlight-item .number {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--blue-accent);
  line-height: 1;
  margin-bottom: 8px;
}

.highlight-item h4 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--blue-dark);
  margin-bottom: 6px;
}

.highlight-item p {
  font-size: 0.88rem;
  color: var(--gray-mid);
}

/* =====================
   CTA BANNER
   ===================== */

.cta-banner {
  background: linear-gradient(135deg, var(--blue-mid) 0%, var(--blue-dark) 100%);
  color: var(--white);
  text-align: center;
  padding: 72px 24px;
}

.cta-banner h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.cta-banner p {
  color: #bfdbfe;
  margin-bottom: 32px;
  font-size: 1.05rem;
}

/* =====================
   ABOUT
   ===================== */

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

.about-text p {
  color: var(--gray-mid);
  margin-bottom: 16px;
  font-size: 1rem;
  line-height: 1.8;
}

.about-values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 32px;
}

.value-item {
  background: var(--blue-light);
  border-radius: 8px;
  padding: 20px;
}

.value-item h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--blue-dark);
  margin-bottom: 4px;
}

.value-item p {
  font-size: 0.85rem;
  color: var(--gray-mid);
  margin: 0;
}

.about-visual {
  background: linear-gradient(135deg, var(--blue-light) 0%, #dbeafe 100%);
  border-radius: 12px;
  padding: 48px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.about-stat {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--white);
  border-radius: 8px;
  padding: 18px 20px;
  box-shadow: 0 2px 8px rgba(10,37,64,0.07);
}

.about-stat .dot {
  width: 12px;
  height: 12px;
  background: var(--blue-accent);
  border-radius: 50%;
  flex-shrink: 0;
}

.about-stat span {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--blue-dark);
}

/* =====================
   CONTACT
   ===================== */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 60px;
  align-items: start;
}

.contact-info h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--blue-dark);
  margin-bottom: 20px;
}

.contact-item {
  display: flex;
  gap: 14px;
  margin-bottom: 20px;
  align-items: flex-start;
}

.contact-item .icon {
  width: 40px;
  height: 40px;
  background: var(--blue-light);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-item .icon svg {
  width: 18px;
  height: 18px;
  stroke: var(--blue-accent);
}

.contact-item p {
  font-size: 0.9rem;
  color: var(--gray-mid);
  margin-top: 2px;
}

.contact-item a {
  color: var(--blue-accent);
  font-weight: 500;
}

.contact-form {
  background: var(--gray-light);
  border-radius: 10px;
  padding: 36px;
}

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

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

label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--blue-dark);
  margin-bottom: 6px;
}

input, textarea, select {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-family: var(--font);
  font-size: 0.95rem;
  color: var(--gray-dark);
  background: var(--white);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}

input:focus, textarea:focus, select:focus {
  border-color: var(--blue-accent);
  box-shadow: 0 0 0 3px rgba(45,125,210,0.12);
}

textarea {
  resize: vertical;
  min-height: 130px;
}

/* =====================
   FOOTER
   ===================== */

footer {
  background: var(--blue-dark);
  color: #94a3b8;
  text-align: center;
  padding: 32px 24px;
}

footer .footer-logo {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--blue-accent);
  margin-bottom: 8px;
}

footer .footer-logo span {
  color: var(--white);
}

footer p {
  font-size: 0.85rem;
}

footer a {
  color: #60a5fa;
}

/* =====================
   RESPONSIVE
   ===================== */

@media (max-width: 768px) {
  .hero h1 { font-size: 2rem; }
  .section-title { font-size: 1.6rem; }

  .about-grid,
  .contact-grid { grid-template-columns: 1fr; gap: 36px; }

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

  .nav-links {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--blue-dark);
    flex-direction: column;
    gap: 0;
    padding: 8px 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  }

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

  .nav-links li a {
    display: block;
    padding: 14px 24px;
  }

  .nav-item > a::after { display: none; }

  .dropdown-menu {
    display: block;
    position: static;
    transform: none;
    background: rgba(255,255,255,0.05);
    box-shadow: none;
    border-radius: 0;
    padding: 0;
  }

  .dropdown-menu a {
    color: #93c5fd;
    padding: 10px 36px;
    font-size: 0.88rem;
  }

  .dropdown-menu a:hover {
    background: rgba(255,255,255,0.08);
    color: var(--white);
  }

  .hamburger { display: flex; }

  .btn-outline { margin-left: 0; margin-top: 12px; display: block; }

  .iex-callout { padding: 32px 24px; }
  .iex-callout h3 { font-size: 1.4rem; }
}
