/* ===== RESET & BASE ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Work Sans', 'Roboto', sans-serif;
  color: #333;
  line-height: 1.6;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; transition: color 0.3s; }
img { max-width: 100%; height: auto; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* ===== HEADER ===== */
.header {
  position: fixed; top: 0; left: 0; width: 100%;
  z-index: 1000;
  transition: background 0.3s, box-shadow 0.3s;
}
.header.scrolled { background: #fff; box-shadow: 0 2px 20px rgba(0,0,0,0.1); }
.header.dark-header { background: transparent; }
.top-bar { display: flex; justify-content: flex-end; padding: 8px 40px; max-width: 1400px; margin: 0 auto; }
.social-icons-top { display: flex; gap: 8px; }
.social-icons-top a {
  width: 32px; height: 32px; background: #1a3a5c; color: #fff;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 14px; transition: background 0.3s;
}
.social-icons-top a:hover { background: #6c3baa; }
.nav-bar {
  display: flex; align-items: center; justify-content: space-between; padding: 5px 40px;
  max-width: 1400px; margin: 0 auto;
}
.logo img { height: 55px; }
.logo-color { display: none; }
.logo-white { display: block; }
.header.scrolled .logo-color { display: block; }
.header.scrolled .logo-white { display: none; }
.nav-menu { display: flex; list-style: none; gap: 0; align-items: center; }
.nav-menu > li { position: relative; }
.nav-menu > li > a {
  display: block; padding: 15px 18px;
  font-family: 'Montserrat', sans-serif; font-weight: 600; font-size: 14px;
  text-transform: uppercase; color: #fff; letter-spacing: 0.5px;
  border-bottom: 2px solid transparent; transition: all 0.3s;
}
.header.scrolled .nav-menu > li > a { color: #1a3a5c; }
.nav-menu > li > a:hover, .nav-menu > li > a.active { border-bottom-color: #6c3baa; }
.dropdown { position: relative; }
.dropdown-menu {
  position: absolute; top: 100%; left: 0; background: #fff;
  min-width: 220px; box-shadow: 0 8px 30px rgba(0,0,0,0.15);
  border-radius: 4px; opacity: 0; visibility: hidden;
  transform: translateY(10px); transition: all 0.3s; list-style: none; z-index: 100;
}
.dropdown:hover .dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown-menu li a {
  display: block; padding: 12px 20px; color: #333; font-size: 14px;
  font-family: 'Work Sans', sans-serif; transition: background 0.3s, color 0.3s;
}
.dropdown-menu li a:hover { background: #f5f0ff; color: #6c3baa; }
.nav-search { color: #fff; font-size: 18px; cursor: pointer; padding: 10px; transition: color 0.3s; }
.header.scrolled .nav-search { color: #1a3a5c; }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 10px; }
.hamburger span { width: 28px; height: 3px; background: #fff; border-radius: 3px; transition: all 0.3s; }
.header.scrolled .hamburger span { background: #1a3a5c; }

/* ===== PAGE HERO (subpages) ===== */
.page-hero {
  position: relative; width: 100%; min-height: 500px;
  display: flex; align-items: flex-end; padding: 120px 60px 60px;
}
.page-hero-bg {
  position: absolute; inset: 0; background-size: cover; background-position: center;
}
.page-hero-bg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(26,58,92,0.8) 0%, rgba(26,58,92,0.4) 100%);
}
.page-hero-content { position: relative; z-index: 2; max-width: 650px; }
.page-hero-content h1 {
  font-family: 'Montserrat', sans-serif; font-weight: 900;
  font-size: 2.5rem; color: #fff; margin-bottom: 10px;
}
.page-hero-content p { color: rgba(255,255,255,0.9); font-size: 1.05rem; line-height: 1.7; }

/* ===== CONTENT SECTIONS ===== */
.section { padding: 80px 0; }
.section.gray-bg { background: #f8f9fa; }
.section.white-bg { background: #fff; }
.section-title {
  font-family: 'Montserrat', sans-serif; font-weight: 900;
  text-transform: uppercase; margin-bottom: 20px;
}
.section-title.large { font-size: 2.5rem; }
.section-title.medium { font-size: 1.8rem; }
.section-title span.gray { color: #ccc; }
.section-title span.purple { color: #6c3baa; }
.section-title span.dark { color: #1a3a5c; }
.section-subtitle {
  font-family: 'Montserrat', sans-serif; font-weight: 700;
  color: #6c3baa; font-style: italic; margin-bottom: 15px;
}

/* Two column layout */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.two-col.reverse { direction: rtl; }
.two-col.reverse > * { direction: ltr; }
.two-col img { border-radius: 8px; width: 100%; }
.content-text p { margin-bottom: 15px; color: #555; font-size: 1rem; line-height: 1.8; }

/* ===== BUTTONS ===== */
.btn-outline-white {
  display: inline-block; padding: 12px 30px; border: 2px solid #fff; color: #fff;
  font-family: 'Montserrat', sans-serif; font-weight: 600; font-size: 13px;
  text-transform: uppercase; letter-spacing: 1px; border-radius: 30px; transition: all 0.3s;
}
.btn-outline-white:hover { background: #fff; color: #1a3a5c; }
.btn-outline-white-sm {
  display: inline-block; padding: 8px 22px; border: 2px solid #fff; color: #fff;
  font-family: 'Montserrat', sans-serif; font-weight: 600; font-size: 12px;
  text-transform: uppercase; border-radius: 25px; transition: all 0.3s; width: fit-content;
}
.btn-outline-white-sm:hover { background: #fff; color: #6c3baa; }
.btn-purple {
  display: inline-block; padding: 14px 35px; background: #6c3baa; color: #fff;
  font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 14px;
  text-transform: uppercase; border-radius: 30px; letter-spacing: 1px; transition: all 0.3s;
  border: 2px solid #6c3baa;
}
.btn-purple:hover { background: #5a2d99; border-color: #5a2d99; }
.btn-outline-purple {
  display: inline-block; padding: 14px 35px; background: transparent; color: #6c3baa;
  font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 14px;
  text-transform: uppercase; border-radius: 30px; letter-spacing: 1px; transition: all 0.3s;
  border: 2px solid #6c3baa;
}
.btn-outline-purple:hover { background: #6c3baa; color: #fff; }
.btn-outline-dark {
  display: inline-block; padding: 14px 35px; background: transparent; color: #1a3a5c;
  font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 14px;
  text-transform: uppercase; border-radius: 30px; letter-spacing: 1px; transition: all 0.3s;
  border: 2px solid #1a3a5c;
}
.btn-outline-dark:hover { background: #1a3a5c; color: #fff; }
.btn-whatsapp {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 40px; border: 2px solid #1a3a5c; border-radius: 30px; color: #1a3a5c;
  font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 14px;
  text-transform: uppercase; letter-spacing: 1px; transition: all 0.3s;
}
.btn-whatsapp:hover { background: #25D366; border-color: #25D366; color: #fff; }
.btn-whatsapp i { font-size: 18px; }

/* ===== CTA BANNER ===== */
.cta-banner {
  position: relative; padding: 80px 0; text-align: center; overflow: hidden;
  background: linear-gradient(135deg, #4b73e6 0%, #6c3baa 100%);
}
.cta-banner-bg {
  position: absolute; inset: 0; background-size: cover; background-position: center;
}
.cta-banner-bg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(75,115,230,0.85) 0%, rgba(108,59,170,0.85) 100%);
}
.cta-banner .container { position: relative; z-index: 2; }
.cta-banner h2 {
  font-family: 'Montserrat', sans-serif; font-weight: 900;
  font-size: 1.6rem; color: #fff; font-style: italic; margin-bottom: 15px;
}
.cta-banner p { color: rgba(255,255,255,0.9); font-size: 1rem; max-width: 600px; margin: 0 auto 25px; }
.cta-banner .btn-outline-white { margin-top: 10px; }

/* ===== STEPS/TIMELINE ===== */
.steps-numbered { counter-reset: step-counter; }
.step-row {
  display: grid; grid-template-columns: 60px 1fr; gap: 20px;
  margin-bottom: 30px; align-items: flex-start;
}
.step-num {
  font-family: 'Montserrat', sans-serif; font-weight: 900; font-size: 3rem;
  color: #6c3baa; opacity: 0.3; line-height: 1;
}
.step-row h3 {
  font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 1.1rem;
  color: #1a3a5c; margin-bottom: 8px;
}
.step-row p { color: #555; font-size: 0.95rem; line-height: 1.7; }

/* Timeline vertical */
.timeline { position: relative; padding: 20px 0; }
.timeline::before {
  content: ''; position: absolute; left: 50%; top: 0; bottom: 0;
  width: 3px; background: #e0e0e0; transform: translateX(-50%);
}
.timeline-item {
  position: relative; width: 50%; padding: 20px 40px; margin-bottom: 30px;
}
.timeline-item:nth-child(odd) { left: 0; text-align: right; padding-right: 60px; }
.timeline-item:nth-child(even) { left: 50%; padding-left: 60px; }
.timeline-dot {
  position: absolute; top: 25px; width: 50px; height: 50px;
  background: #e8f0ff; border-radius: 50%; display: flex; align-items: center;
  justify-content: center; color: #4b73e6; font-size: 20px; z-index: 1;
}
.timeline-item:nth-child(odd) .timeline-dot { right: -25px; }
.timeline-item:nth-child(even) .timeline-dot { left: -25px; }
.timeline-time {
  font-family: 'Montserrat', sans-serif; font-weight: 700;
  color: #6c3baa; font-size: 0.95rem; margin-bottom: 5px;
}
.timeline-item h3 {
  font-family: 'Montserrat', sans-serif; font-weight: 700;
  font-size: 1rem; color: #1a3a5c; margin-bottom: 5px;
}
.timeline-item p { color: #555; font-size: 0.9rem; }

/* ===== SERVICE CARDS GRID ===== */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; }
.service-card {
  position: relative; height: 280px; border-radius: 8px; overflow: hidden; cursor: pointer;
}
.service-card-bg {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  transition: transform 0.5s;
}
.service-card:hover .service-card-bg { transform: scale(1.05); }
.service-card-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(108,59,170,0.9) 0%, rgba(108,59,170,0.4) 60%, rgba(108,59,170,0.2) 100%);
  display: flex; flex-direction: column; justify-content: flex-end; padding: 25px;
  transition: background 0.3s;
}
.service-card:hover .service-card-overlay {
  background: linear-gradient(to top, rgba(108,59,170,0.95) 0%, rgba(108,59,170,0.6) 60%, rgba(108,59,170,0.4) 100%);
}
.service-card h2 {
  font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: 1.2rem;
  color: #fff; text-transform: uppercase; margin-bottom: 8px;
}
.service-card p { color: rgba(255,255,255,0.9); font-size: 0.9rem; margin-bottom: 15px; }
.service-card.large { grid-row: span 2; height: auto; }

/* ===== FEATURES / ICON BOXES ===== */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.feature-box { text-align: center; padding: 30px 20px; }
.feature-box .icon {
  width: 70px; height: 70px; margin: 0 auto 20px;
  background: #f0e8ff; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 28px; color: #6c3baa;
}
.feature-box h3 {
  font-family: 'Montserrat', sans-serif; font-weight: 700;
  font-size: 1.1rem; color: #1a3a5c; margin-bottom: 10px;
}
.feature-box p { color: #555; font-size: 0.9rem; line-height: 1.7; }

/* ===== CONTACT FORM ===== */
.contact-form { max-width: 600px; }
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block; font-family: 'Montserrat', sans-serif; font-weight: 600;
  font-size: 0.85rem; color: #1a3a5c; margin-bottom: 6px; text-transform: uppercase;
}
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 12px 16px; border: 2px solid #e0e0e0;
  border-radius: 8px; font-family: 'Work Sans', sans-serif; font-size: 0.95rem;
  color: #333; transition: border-color 0.3s; background: #fff;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none; border-color: #6c3baa;
}
.form-group textarea { min-height: 120px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

/* ===== FOOTER ===== */
.footer {
  background: linear-gradient(135deg, #1a6eff 0%, #1a3a5c 100%);
  color: #fff; padding: 60px 0 0;
}
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 40px; }
.footer-brand img { height: 50px; margin-bottom: 20px; }
.footer-social { display: flex; gap: 10px; margin-bottom: 20px; }
.footer-social a {
  width: 36px; height: 36px; border: 2px solid rgba(255,255,255,0.4);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 14px; transition: all 0.3s;
}
.footer-social a:hover { background: #fff; color: #1a3a5c; border-color: #fff; }
.footer-brand p { color: rgba(255,255,255,0.8); font-size: 0.9rem; line-height: 1.6; }
.footer-col h3 {
  font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 1rem;
  margin-bottom: 20px; color: #fff;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { color: rgba(255,255,255,0.8); font-size: 0.9rem; transition: color 0.3s; }
.footer-col ul li a:hover { color: #fff; }
.footer-contact-item {
  display: flex; align-items: flex-start; gap: 10px;
  margin-bottom: 12px; color: rgba(255,255,255,0.8); font-size: 0.9rem;
}
.footer-contact-item i { color: #fff; margin-top: 3px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.15); padding: 20px 0;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 15px;
}
.footer-legal { display: flex; gap: 25px; }
.footer-legal a { color: rgba(255,255,255,0.7); font-size: 0.85rem; transition: color 0.3s; }
.footer-legal a:hover { color: #fff; }
.footer-credit { color: rgba(255,255,255,0.5); font-size: 0.85rem; }

/* ===== WHATSAPP FLOAT ===== */
.whatsapp-float {
  position: fixed; bottom: 30px; right: 30px; width: 55px; height: 55px;
  background: #25D366; border-radius: 50%; display: flex; align-items: center;
  justify-content: center; color: #fff; font-size: 28px;
  box-shadow: 0 4px 15px rgba(37,211,102,0.4); z-index: 999; transition: transform 0.3s;
}
.whatsapp-float:hover { transform: scale(1.1); }

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
  .nav-menu { display: none; }
  .nav-search { display: none; }
  .hamburger { display: flex; }
  .nav-menu.active {
    display: flex; flex-direction: column; position: absolute;
    top: 100%; left: 0; right: 0; background: #fff;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1); padding: 20px 0;
  }
  .nav-menu.active > li > a { color: #1a3a5c; padding: 12px 30px; }
  .dropdown-menu { position: static; box-shadow: none; opacity: 1; visibility: visible; transform: none; padding-left: 20px; }
  .two-col { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .service-card.large { grid-row: span 1; }
  .features-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .page-hero { min-height: 400px; padding: 110px 30px 40px; }
  .page-hero-content h1 { font-size: 2rem; }
  .timeline::before { left: 20px; }
  .timeline-item { width: 100%; left: 0 !important; padding-left: 70px !important; padding-right: 20px !important; text-align: left !important; }
  .timeline-dot { left: -5px !important; right: auto !important; }
  .form-row { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .top-bar { padding: 5px 15px; }
  .nav-bar { padding: 5px 15px; }
  .logo img { height: 40px; }
  .services-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .page-hero { min-height: 350px; padding: 100px 20px 30px; }
  .page-hero-content h1 { font-size: 1.6rem; }
}
