* {
  box-sizing: border-box;
}

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&family=Montserrat+Alternates:wght@600;700;800&family=Oswald:wght@500;700&family=Rubik:wght@500;700&display=swap');

body {
  margin: 0;
  font-family: 'Poppins', Arial, sans-serif;
  font-size: 16px; /* base font size for professional legibility */
  color: #13243f;
  line-height: 1.6;
  /* dotted grid only; keep page background neutral — gradient will be applied to the hero only */
  background-image: radial-gradient(rgba(11,30,45,0.06) 1.6px, transparent 2px);
  background-size: 28px 28px;
  background-position: center top;
  background-repeat: repeat;
}

/* Page container utility used across sections */
.container{
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

/* ===== NAVBAR ===== */
header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.94); /* slight translucency so dots show underneath */
  box-shadow: 0 10px 30px rgba(19,36,63,0.06);
  border-bottom: 1px solid rgba(19,36,63,0.04);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px 56px;
}

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

.logo-section img {
  width: 56px;
  height: 56px;
  object-fit: contain;
  border-radius: 6px;
  background: transparent;
}

.logo-section div {
  display: flex;
  flex-direction: column;
  color: #0f2740;
  line-height: 1;
}

.logo-section .brand {
  font-size: 20px;
  letter-spacing: 1.2px;
  text-transform: none; /* show original capitalization: AlgoInnoNexus */
  font-weight: 500; /* reduced thickness */
  color: #072443; /* darker navy blue for stronger contrast */
  font-family: 'Inter', 'Montserrat Alternates', 'Poppins', Arial, sans-serif;
  line-height: 1;
}

/* Italiana preview utility - elegant Italian display font
   Apply by adding class `brand--italiana` if you want only some pages
*/
.brand--italiana { font-family: 'Italiana', 'Montserrat Alternates', sans-serif; letter-spacing: 1.6px; }

/* Sans-serif brand utility (clean modern look). Apply with `brand--sans` */
.brand--sans { font-family: 'Inter', 'Montserrat Alternates', 'Poppins', sans-serif; font-weight:700; letter-spacing:1.2px; }

/* Alternate brand font options - apply by adding the class to the brand element
   Example: <div class="brand brand--alt2">ALGOINNONEXUS</div>
*/
.brand--alt1 { /* Montserrat Alternates - elegant geometric display */
  font-family: 'Montserrat Alternates', 'Montserrat', sans-serif;
  letter-spacing: 1.4px;
  font-weight: 600; /* slightly lighter */
}
.brand--alt2 { /* Oswald - condensed, tight & modern */
  font-family: 'Oswald', 'Arial', sans-serif;
  letter-spacing: 1.8px;
  font-weight: 500; /* reduced thickness */
}
.brand--alt3 { /* Rubik - rounded corners, friendly tech look */
  font-family: 'Rubik', 'Arial', sans-serif;
  letter-spacing: 1px;
  font-weight: 600; /* slightly lighter */
}
.brand--italiana { font-family: 'Italiana', 'Montserrat Alternates', sans-serif; letter-spacing: 1.6px; font-weight:600; }
.brand--sans { font-family: 'Inter', 'Montserrat Alternates', 'Poppins', sans-serif; font-weight:600; letter-spacing:1.1px; }

.logo-section .tagline {
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: none;
  color: #2e5f8f; /* subtle blue */
  margin-top: 6px;
  font-weight: 500;
}

/* Decorative lines around brand (like the example) */

.logo-text {
  position: relative;
  padding: 6px 10px;
  z-index: 2; /* keep logo text above navbar decorative lines */
}

/* Decorative horizontal lines to match the CargoFirst style */
/* decorative lines removed per user request */
.logo-text::before,
.logo-text::after{ display:none; }

/* Tagline style similar to reference: small uppercase under the logo */
.logo-section .tagline{
  text-transform: none;
  font-size: 12px;
  letter-spacing: 1px;
  color: #40576f;
}

@media (max-width: 900px){
  .logo-section .brand{ font-size: 18px; letter-spacing: 1px; }
  .logo-text::before, .logo-text::after{ width: 70px; left: -90px; right: -90px; height:3px; }
}


/* Make logo + brand clickable without default link styles */
.logo-link{ display:flex; align-items:center; gap:14px; text-decoration:none; color:inherit; }
.logo-link img{ display:block; }
.logo-link .brand{ color:inherit; }
.logo-link:focus{ outline:2px solid rgba(10,102,194,0.12); }

/* Decorative lines removed per design: no global header bars */
/* Keep logo-text stacking but no pseudo-element lines */
.navbar { position: relative; }

@media (max-width: 768px) {
  /* no decorative lines on small screens */
}

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

nav a {
  text-decoration: none;
  color: #12243f;
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 0.6px;
  padding: 6px 0;
  position: relative;
  transition: color 160ms ease-in-out;
}

/* underline hover animation */
nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg,#1b458f,#0a66c2);
  border-radius: 3px;
  transition: width 260ms cubic-bezier(.2,.8,.2,1);
}

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

nav a:hover { color: #0a66c2; }

/* Active nav color (shows which page user is on) */
.navbar nav a.active { color: #0a66c2; }

/* ===== SECTIONS ===== */
section {
  padding: 80px 60px;
  background: #fff;
}

section:nth-child(even) {
  background: #f1f5f9;
}

.hero {
  text-align: center;
  padding: 80px 18px;
}

.hero h1 {
  font-size: 36px;
  margin-bottom: 18px;
  font-weight: 700;
}

.hero span {
  color: #0a66c2;
}

.hero p {
  max-width: 800px;
  margin: auto;
  font-size: 18px;
}

h2 {
  text-align: center;
  margin-bottom: 40px;
  font-size: 32px;
}

/* ===== BUSINESS ===== */
.services {
  max-width: 900px;
  margin: auto;
}

.services ul {
  list-style: none;
  padding: 0;
}

.services li {
  background: #fff;
  margin-bottom: 15px;
  padding: 18px 24px;
  border-left: 4px solid #0a66c2;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

/* ===== LEADERSHIP ===== */
.leader-card {
  max-width: 400px;
  margin: auto;
  text-align: center;
}

.leader-card img {
  width: 180px;
  height: 180px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 20px;
}

/* ===== CONTACT ===== */
.contact-form {
  max-width: 420px;
  margin: auto;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.contact-form button {
  width: 100%;
  padding: 14px;
  background: linear-gradient(90deg, #0a66c2, #002b5b);
  color: white;
  border: none;
  font-size: 16px;
  cursor: pointer;
}

/* Page-specific contact column adjustments moved from inline HTML */
.contact-form-col { display: flex; flex-direction: column; align-items: flex-start; }

.contact-form-col .lead,
.contact-form { max-width: 520px; width: 100%; box-sizing: border-box; margin: 0 0 1.25rem 0; }

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea { width: 100%; box-sizing: border-box; }

.contact-submit { display: inline-block; min-width: 160px; padding: 12px 28px; }

.contact-col { align-items: flex-start; }

/* ===== MAP CARD / CONTACT MAP ===== */
.map-card{
  max-width: 1100px;
  margin: 0 auto;
  background: #fff;
  border-radius: 10px;
  padding: 18px;
  box-shadow: 0 10px 30px rgba(2,6,23,0.06);
  border: 1px solid rgba(19,36,63,0.04);
  position: relative;
}
.map-frame{ position: relative; }
.contact-map{ width:100%; height:460px; border-radius:8px; display:block; }

.map-pin{ position:absolute; left:18px; top:18px; display:flex; align-items:flex-start; gap:12px; pointer-events:none; }
.map-pin-icon{ width:16px; height:16px; border-radius:50%; background:#c8232c; box-shadow:0 6px 18px rgba(200,35,40,0.18); flex:0 0 16px; margin-top:8px; }
.map-infobox{ background:#fff; border-radius:8px; padding:14px 18px; box-shadow:0 12px 30px rgba(11,20,40,0.08); max-width:420px; color:#0b3a5a; pointer-events:auto; position:relative; }
.map-infobox h4{ margin:0 0 8px; font-size:18px; color:#072443; font-weight:700; }
.map-infobox .infobox-address{ font-size:14px; color:#38506a; line-height:1.45; }
.infobox-close{ position:absolute; right:10px; top:8px; border:0; background:transparent; font-size:16px; color:#6b7b8f; cursor:pointer; }
.map-open-btn{ background:transparent; color:#0a66c2; border:1px solid rgba(10,102,194,0.08); padding:8px 12px; border-radius:8px; text-decoration:none; font-weight:600; }

@media (max-width: 900px){
  .contact-map{ height:360px; }
  .map-card{ padding:14px; }
  .map-infobox{ max-width:320px; }
}

@media (max-width: 520px){
  .contact-map{ height:280px; }
  .map-pin{ left:12px; top:12px; }
  .map-infobox{ padding:12px; font-size:14px; }
}
/* ===== FAQ ===== */
.faq-section{ padding:64px 18px 48px; background: transparent; }
.faq-section .section-head h2{ color: #000000; margin-bottom: 18px; }
.faq-section .section-head h2{ font-size: 32px; font-weight:800; }
.faq-list{ max-width:980px; margin:18px auto 0; display:block; }
.faq-list details{ background:#ffffff; padding:0; margin:18px 0; border-radius:10px; border:1px solid #ececec; box-shadow: 0 6px 18px rgba(11,20,40,0.03); overflow: hidden; }
.faq-list summary{ display:flex; align-items:center; justify-content:space-between; gap:12px; padding:22px 20px; cursor:pointer; font-weight:700; font-size:18px; color:#0b2540; list-style:none; }
.faq-list summary::-webkit-details-marker{ display:none; }
.faq-list details:not(:first-child){}
.faq-list details[open]{ box-shadow: 0 18px 40px rgba(11,20,40,0.06); }
.faq-list details p{ margin:0; padding:0 20px 22px; color:#38506a; font-size:15px; line-height:1.7; }

/* plus/minus indicator on the right */
.faq-list summary::after{ content: '\002B'; /* plus sign */ font-size:22px; color:#6b7b8f; }
.faq-list details[open] summary::after{ content: '\2212'; /* minus sign */ }

/* remove the thin divider and make the answer text more prominent */
.faq-list details[open] summary{ border-bottom: none; }
.faq-list details p{ margin:0; padding:14px 20px 22px; color:#0b3a5a; font-size:17px; line-height:1.8; font-weight:500; }

/* subtle hover / focus */
.faq-list summary:hover{ background: rgba(10,102,194,0.02); }
.faq-list summary:focus{ outline: 2px solid rgba(10,102,194,0.12); }

@media (max-width: 640px){
  .faq-section .section-head h2{ font-size:26px; }
  .faq-list summary{ padding:18px 14px; font-size:16px; }
  .faq-list details p{ padding:0 14px 18px; }
}

/* ===== FOOTER ===== */
footer {
  text-align: center;
  padding: 30px;
  background: #e5e7eb;
  font-size: 14px;
}

/* Social follow icons used in footers */
.social-follow{ margin-top:16px; }
.follow-head{ font-weight:700; color:#0b2540; margin-bottom:10px; }
.social-icons{ display:flex; gap:12px; justify-content:center; align-items:center; }
.social-icons a{ text-decoration:none; }
.social-icon{ display:inline-flex; align-items:center; justify-content:center; width:40px; height:40px; border-radius:50%; color:#fff; font-weight:700; font-family:inherit; }
.social--facebook .social-icon{ background:#1877F2; }
.social--youtube .social-icon{ background:#FF0000; }
.social--instagram .social-icon{ background:#E1306C; }
.social--linkedin .social-icon{ background:#0A66C2; }

@media (min-width:900px){ .social-icons{ justify-content:flex-start; } }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .navbar {
    flex-direction: column;
    max-width: 100%;
    padding: 14px 20px;
  }

  nav {
    margin-top: 10px;
  }

  section {
    padding: 70px 30px;
  }

  .hero h1 {
    font-size: 32px;
  }

  .logo-section div {
    font-size: 16px;
  }
}

/* Modal styles */
.modal{
  position:fixed;
  inset:0;
  display:flex;
  align-items:center;
  justify-content:center;
  background:rgba(10,20,30,0.55);
  opacity:0;
  pointer-events:none;
  transition:opacity 200ms ease;
  z-index:9999;
}
.modal.open{ opacity:1; pointer-events:auto; }
.modal-card{
  background:#fff;
  border-radius:10px;
  max-width:900px;
  width:92%;
  box-shadow:0 12px 40px rgba(2,6,23,0.25);
  padding:28px 32px;
  transform:translateY(-6px);
  position:relative;
}
.modal-close{
  position:absolute;
  right:18px;
  top:14px;
  background:transparent;
  border:0;
  font-size:18px;
  cursor:pointer;
}
.modal-body{ padding-top:8px; }
.modal-content-inner h1{ font-size:34px; margin:0 0 12px; color:#0b2540; font-weight:700; }

/* ===== HERO SLIDER IMPROVEMENTS ===== */
.hero-slider { position: relative; overflow: hidden; max-width: 1200px; margin: 0 auto; }
.hero-slide { min-height: 520px; display: flex; align-items: center; justify-content: center; background-size: cover; background-position: center center; background-repeat: no-repeat; transition: opacity 420ms ease; }
.hero-slide-inner { width: 100%; padding: 80px 18px; display:flex; align-items:center; justify-content:center; }
.hero-caption { display: inline-block; background: #fff; border-radius: 8px; padding: 18px 28px; box-shadow: 0 14px 36px rgba(2,6,23,0.12); font-weight: 700; color: #e05a51; font-size: 20px; margin-bottom: 12px; }
.hero-caption small { display:block; margin-top:8px; font-weight:500; color:#40576f; font-size:14px; }
.hero .btn { display:inline-block; margin-top:18px; padding:10px 18px; background: linear-gradient(90deg,#0a66c2,#1b458f); color:#fff; border-radius:8px; text-decoration:none; box-shadow:0 8px 18px rgba(10,38,90,0.12); }
.hero p { color:#28455f; margin-top:14px; }
.hero-prev, .hero-next { position:absolute; bottom:18px; left:50%; transform:translateX(-70px); background:rgba(255,255,255,0.9); border-radius:50%; width:38px; height:38px; border:0; font-size:20px; box-shadow:0 6px 18px rgba(2,6,23,0.08); cursor:pointer; }
.hero-next { left:50%; transform:translateX(30px); }
.hero-dots { position:absolute; bottom:12px; left:0; right:0; text-align:center; }
.hero-dots button{ width:10px; height:10px; border-radius:50%; border:0; margin:0 6px; background:#fff; box-shadow:0 2px 6px rgba(2,6,23,0.08); opacity:0.6; }
.hero-dots button.active{ background:#0a66c2; opacity:1; }

/* Tidy hero for small screens */
@media (max-width: 900px){
  .hero-slide{ min-height:380px; }
  .hero-caption{ font-size:18px; padding:14px 20px; }
  .hero .btn{ padding:8px 14px; }
}

/* ===== LEADERSHIP SECTION ===== */
.leadership { max-width: 1100px; margin: 36px auto; padding: 36px 18px; text-align:center; }
.leadership .lead-title{ font-size:32px; margin-bottom:18px; color:#072443; font-weight:700; }
.leader-grid{ display:flex; gap:24px; justify-content:center; flex-wrap:wrap; }
.leader-item{ background:#fff; border-radius:10px; padding:20px; width:300px; box-shadow:0 10px 30px rgba(2,6,23,0.06); text-align:left; }
.leader-item img{ width:80px; height:80px; border-radius:8px; object-fit:cover; float:left; margin-right:14px; }
.leader-item h4{ margin:6px 0 4px; font-size:18px; color:#0b2540; }
.leader-item p{ margin:0; color:#45607a; font-size:14px; }

/* ===== TEAM CAROUSEL ===== */
.team-carousel{ max-width:1100px; margin:36px auto 72px; padding:26px 18px; background:transparent; }
.our-team{ max-width:720px; margin-left:auto; margin-right:auto; }
.carousel-viewport{ overflow:hidden; width:100%; }
.carousel-track{ display:flex; gap:12px; transition:transform 360ms cubic-bezier(.2,.9,.2,1); align-items:stretch; }
.carousel-card{ background: rgba(255,255,255,0.88); border-radius:10px; padding:14px; width:260px; box-shadow:0 6px 18px rgba(11,20,40,0.04); flex:0 0 auto; display:flex; gap:12px; align-items:center; border:1px solid rgba(11,20,40,0.02); }
.carousel-card img{ width:80px; height:80px; object-fit:cover; border-radius:8px; flex:0 0 auto; }
.carousel-info h3{ margin:0 0 6px; font-size:15px; color:#072443; }
.carousel-info p{ margin:0; color:#516b7f; font-size:13px; }

.carousel-controls{ /* controls unified later */ }

@media (max-width: 900px){
  .leader-grid{ gap:12px; }
  .leader-item{ width:100%; display:flex; align-items:center; }
  .carousel-card{ width:220px; }
}

/* Compact team style for the Our Team section */
.our-team .carousel-card{ width:200px; padding:6px 4px; display:flex; flex-direction:column; align-items:center; text-align:center; gap:10px; background:transparent; border:none; box-shadow:none; }
.our-team .carousel-card img{ width:110px; height:110px; border-radius:50%; object-fit:cover; box-shadow:0 8px 20px rgba(11,20,40,0.06); border:6px solid rgba(255,255,255,0.85); }
.our-team .carousel-info h3{ font-size:15px; margin:0; }
.our-team .carousel-info p.muted{ font-size:12px; color:#6b8597; margin-top:4px; }
.our-team .carousel-controls{ margin-top:10px; }
.our-team .carousel-viewport{ padding:6px 0; }

/* Slight highlight on hover */
.our-team .carousel-card:hover{ transform:translateY(-6px); transition:transform 220ms ease; box-shadow:0 14px 30px rgba(2,6,23,0.09); }

/* Section heading style with centered underline (matches requested format) */
.section-head{ text-align:center; margin-bottom:8px; }
.section-head{ text-align:center; margin-bottom:6px; }
.section-head h2{ display:block; font-size: clamp(28px, 4.2vw, 40px); color:#072443; margin:0; font-weight:800; line-height:1.05; letter-spacing:-0.5px; }
.section-underline{ display:none; }
.section-head.wrap{ padding-top:6px; padding-bottom:8px; }
.section-sub{ margin-top:6px; }


/* Typography improvements */
h1{ font-size:48px; line-height:1.03; color:#0b2540; font-weight:800; letter-spacing:-0.5px; }
h2{ font-size:30px; }
p{ color:#38506a; }


/* Products page styles (moved from products/index.html) */
.products-grid{ display:grid; grid-template-columns: repeat(auto-fit,minmax(260px,1fr)); gap:24px; max-width:1200px; margin:40px auto; }
.product-card{ background:#fff; border-radius:8px; padding:18px; box-shadow:0 8px 20px rgba(2,6,23,0.06); position:relative; overflow:hidden; }
.product-card img{ width:100%; height:220px; object-fit:cover; border-radius:6px }
.product-info{ padding:12px 0; }
.buy-btn{ position:absolute; left:50%; transform:translateX(-50%); bottom:16px; background:#0a66c2;color:#fff;padding:10px 18px;border-radius:8px;border:none;cursor:pointer;opacity:0;transition:opacity 160ms ease, transform 160ms ease }
.product-card:hover .buy-btn{ opacity:1; transform:translateX(-50%) translateY(-6px) }
.product-meta{ display:flex; justify-content:space-between; align-items:center; gap:12px }
.view-cart-btn{ display:inline-block; margin:12px 0; background:#0a66c2;color:#fff;padding:10px 14px;border-radius:8px;text-decoration:none }

/* modal */
.modal-backdrop{ position:fixed; inset:0; background:rgba(4,8,20,0.5); display:none; align-items:center; justify-content:center; z-index:9999 }
.modal-backdrop.open{ display:flex }
.modal-card{ background:#fff; width:92%; max-width:720px; border-radius:8px; padding:20px; box-shadow:0 18px 50px rgba(2,6,23,0.3) }
.modal-actions{ display:flex; gap:12px; justify-content:flex-end; margin-top:12px }

/* small helpers */
.center{ text-align:center }
.modal-content-inner p{ font-size:18px; color:#243142; line-height:1.6; }

/* Hero improvements (inline popup and home section look consistent) */
.hero{ padding:36px 18px; background:linear-gradient(180deg,#fbfdff,#ffffff); }
.hero .container{ max-width:1200px; margin:0 auto; padding:60px 16px; display:flex; flex-direction:column; align-items:center; justify-content:center; min-height:unset; text-align:center; }
.hero h1{ font-size:28px; line-height:1.08; color:#0b3a5a; margin:0 0 10px; font-weight:700; letter-spacing:0.6px; font-family: 'Montserrat', 'Poppins', Arial, sans-serif; }
.hero h1{ font-size:42px; line-height:1.05; color:#0b3a5a; margin:0 0 14px; font-weight:700; letter-spacing:0.4px; font-family: 'Montserrat', 'Poppins', Arial, sans-serif; }
.hero h1{ /* display heading style override applied below */ }

/* Display heading style: large, geometric, two-tone blue gradient like the example image */
.display-heading,
.hero h1,
.video-text h2,
.about-box h2,
h1.display,
h2.display {
  /* Clean sans-serif display heading for professional look */
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-weight: 700;
  /* responsive display size (reduced to previous scale) */
  font-size: clamp(28px, 4.2vw, 48px);
  line-height: 1.04;
  letter-spacing: -0.01em;
  margin: 0 0 12px;
  color: #0b3a5a; /* single professional navy tone for clarity */
  -webkit-text-fill-color: unset;
  background: none;
}

/* Secondary headings (smaller, still prominent) */
.display-subheading,
h2,
.video-text h2.small {
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-weight: 700;
  font-size: clamp(16px, 2.0vw, 28px);
  line-height: 1.1;
  color: #0b3a5a;
  letter-spacing: 0;
}
.hero h1 span{ color:#0a66c2; -webkit-text-fill-color:#0a66c2; }
.hero p{ max-width:900px; font-size:17px; color:#33475b; margin-top:14px; }
.hero .cta{ margin-top:34px; }
.btn{ display:inline-block; padding:12px 20px; background:linear-gradient(90deg,#0a66c2,#004a9f); color:#fff; border-radius:8px; text-decoration:none; font-weight:600; }

/* About page specific layout helpers */
.about-row{
  display:flex;
  gap:48px;
  align-items:center;
  justify-content:center;
  margin-top:36px;
  flex-wrap:wrap;
}
.about-text{ flex:1 1 520px; min-width:280px; }
.about-box{ background:#f3f6f8; padding:28px; border-radius:6px; }
.about-box h2{ margin-top:0; color:#0b3a5a; margin-bottom:10px; }
.about-box p{ color:#33475b; line-height:1.7; margin:0; }
.about-image-wrap{ flex:0 0 420px; display:flex; align-items:center; justify-content:center; }

.about-image{ width:100%; max-width:420px; height:auto; border-radius:6px; box-shadow:0 8px 28px rgba(2,6,23,0.08); }

/* Video section (improved visuals) */
.video-section{
  padding: 72px 48px; /* increased horizontal padding so panel has more space from the viewport edges */
  background: transparent; /* section itself is transparent; visual panel limited via .video-panel */
}
.video-section .container{ max-width:1280px; margin:0 auto; }
.video-panel{ max-width:1200px; margin:0 auto; background:#f5fbfc; border-radius:14px; padding:36px 64px; box-shadow:0 16px 40px rgba(2,6,23,0.07); overflow:visible; }
.video-row{
  display:grid;
  /* smaller video, larger text column */
  grid-template-columns: 40% 60%;
  gap:48px;
  align-items:start;
}
.video-embed{ width:100%; }
.embed-wrap{
  position:relative;
  width:100%;
  padding-bottom:56.25%; /* 16:9 */
  height:0;
  border-radius:14px;
  overflow:hidden;
  box-shadow:0 18px 48px rgba(2,6,23,0.10);
  background:#000;
  border: 1px solid rgba(2,6,23,0.06);
}
.embed-wrap iframe{ position:absolute; left:0; top:0; width:100%; height:100%; border:0; display:block; }
.embed-wrap .video-link{ position:absolute; left:0; top:0; right:0; bottom:0; display:flex; align-items:center; justify-content:center; text-decoration:none; color:inherit; }
.video-thumb{ width:100%; height:100%; object-fit:cover; display:block; }
.video-play{ position:absolute; z-index:3; display:inline-flex; align-items:center; justify-content:center; width:84px; height:84px; border-radius:50%; background:rgba(11,30,45,0.7); color:#fff; font-size:32px; box-shadow:0 10px 30px rgba(2,6,23,0.25); transform:translateY(-4px); }
.embed-wrap .video-link:focus .video-play{ outline:2px solid rgba(10,102,194,0.18); }

/* spinner and fallback */
.video-spinner{ position:absolute; left:50%; top:50%; transform:translate(-50%,-50%); width:56px; height:56px; border-radius:50%; border:6px solid rgba(255,255,255,0.18); border-top-color: rgba(255,255,255,0.85); box-shadow:0 8px 22px rgba(2,6,23,0.18); animation:spin 1s linear infinite; z-index:4; }
@keyframes spin{ to{ transform: translate(-50%,-50%) rotate(360deg); } }
.embed-fallback{ display:flex; align-items:center; justify-content:center; height:100%; padding:18px; background:#fff; color:#243142; font-size:16px; }
.embed-fallback a{ margin-left:8px; color:#0a66c2; text-decoration:underline; }
.video-text{ display:flex; flex-direction:column; gap:18px; padding:8px 6px; }
.video-text h2{ font-size:30px; color:#0b3a5a; margin:0; line-height:1.06; font-weight:700; }
.video-text p{ color:#33475b; line-height:1.8; margin:0; font-size:17px; font-style:italic; }

/* Zig-zag visual: offset video and text slightly to create staggered look */
.video-embed{ transform: translateY(-12px); }
.video-text{ transform: translateY(12px); }
.watch-btn{
  align-self:flex-end;
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:12px 20px;
  border-radius:10px;
  border:2px solid #15A77A;
  color:#0b6b4a;
  text-decoration:none;
  font-weight:600;
  margin-top:8px;
  background:#fff;
  box-shadow: 0 8px 22px rgba(2,6,23,0.06);
}
.watch-btn:hover{ background:rgba(21,167,122,0.06); }
.watch-btn::after{ content: '›'; margin-left:8px; font-size:18px; transform:translateY(-1px); }

/* Footer / site-footer (custom dark footer with CTA) */
.site-footer{
  background: #071523; /* deep navy */
  color: #cbd6df;
  padding-top: 36px;
  margin-top: 48px;
}
.site-footer .foot-inner{ max-width:1200px; margin:0 auto; padding:36px 20px 18px; }
.site-footer .foot-grid{ display:grid; grid-template-columns: 1fr 1fr 1fr; gap:28px; align-items:start; }
.site-footer .foot-col h4{ color:#ffffff; margin-bottom:12px; font-size:16px; }
.site-footer .foot-col p, .site-footer .foot-col li, .site-footer .foot-col a{ color:#c2d0d9; font-size:14px; text-decoration:none; }
.site-footer .foot-col ul{ list-style:none; padding:0; margin:0; display:block; }
.site-footer .foot-col li{ margin-bottom:10px; }
.site-footer a{ color:inherit; opacity:0.95; }

/* Ensure the first footer column stacks logo above the brand text and centers it */
.site-footer .foot-col:first-child{ display:flex; flex-direction:column; align-items:center; text-align:center; gap:10px; }

/* Footer brand lines in the first column (slightly larger than body copy) */
.site-footer .foot-col:first-child p.foot-brand{ color:#cbd6df; font-weight:700; font-size:18px; margin:0; line-height:1.25; }

.site-footer .foot-bottom{ border-top:1px solid rgba(255,255,255,0.03); margin-top:26px; padding:18px 20px; text-align:center; color:#93a7b6; }

@media (max-width:900px){
  .site-footer .foot-grid{ grid-template-columns: 1fr 1fr; }
  .site-footer .footer-cta .cta-inner{ flex-direction:column; align-items:center; text-align:center; gap:12px; }
}

@media (max-width:520px){
  .site-footer .foot-grid{ grid-template-columns: 1fr; }
}


@media (max-width:640px){
  .modal-card{ padding:18px; }
  .modal-content-inner h1{ font-size:26px; }
  .hero h1{ font-size:28px; }
  .hero .container{ padding:60px 20px; min-height:unset; }
  .video-row{ grid-template-columns: 1fr; }
  .video-text{ padding-left:0; align-items:flex-start; transform: none; }
  .video-embed{ transform: none; }
  /* reduce horizontal padding on small screens so content fits */
  .video-section{ padding-left:20px; padding-right:20px; }
  .video-panel{ padding:20px; }
}

/* ===== OUR SERVICES ===== */
.our-services{ padding:60px 20px; background: #fff; }
.our-services .section-sub{ text-align:center; max-width:900px; margin:0 auto 26px; color:#3b5568; }
.services-grid{ display:grid; grid-template-columns: repeat(auto-fit,minmax(240px,1fr)); gap:22px; max-width:1200px; margin:28px auto 0; align-items:start; }
.service-card{ background: #ffffff; border-radius:12px; padding:18px; box-shadow:0 12px 30px rgba(2,6,23,0.06); text-align:center; transition:transform 180ms ease, box-shadow 180ms ease; display:flex; flex-direction:column; justify-content:flex-start; }
.service-card img{ width:100%; height:160px; object-fit:cover; object-position:center top; border-radius:8px; margin-bottom:12px; background:#f7fbfc; }
.service-card h3{ margin:8px 0 6px; font-size:18px; color:#0b2540; line-height:1.15; min-height:48px; display:flex; align-items:center; justify-content:center; text-align:center; }
.service-card p{ margin:0; color:#516b7f; font-size:14px; padding: 6px 4px 12px; }
.service-card:hover{ transform:translateY(-8px); box-shadow:0 20px 40px rgba(2,6,23,0.10); }

@media (max-width:900px){
  .service-card img{ height:140px; }
}

@media (max-width:520px){
  .services-grid{ grid-template-columns: 1fr; }
  .service-card img{ height:200px; }
}

/* Contact form layout helpers */
.contact-inner{ display:grid; grid-template-columns: 1fr 480px; gap:36px; align-items:start; margin-top:18px; }
.contact-info{ color:#2f556f; }
.contact-form-wrap{ max-width:480px; }
.contact-form input[type="text"], .contact-form input[type="email"], .contact-form textarea{ width:100%; padding:12px 14px; margin-bottom:12px; border:1px solid rgba(19,36,63,0.08); border-radius:6px; }
.contact-form button{ width:100%; padding:12px 18px; background:linear-gradient(90deg,#0a66c2,#004a9f); color:#fff; border-radius:8px; border:0; font-weight:700; cursor:pointer; }

/* In-page thank-you: hidden by default, shown when URL hash is #thanks using :target */
.thank-you-box{ display:none; background:#eef7f9; border-radius:10px; padding:18px; margin-top:12px; box-shadow:0 8px 20px rgba(2,6,23,0.04); }
#thanks:target{ display:block; }

@media (max-width:900px){
  .contact-inner{ grid-template-columns: 1fr; }
  .contact-form-wrap{ max-width:100%; }
}

.map-banner{ padding:0; }
.contact-map{ display:block; width:100%; height:360px; border-radius:8px; box-shadow:0 8px 24px rgba(2,6,23,0.04); border:1px solid rgba(2,6,23,0.04); }

/* Contact grid */
.contact-grid{ display:grid; grid-template-columns: 1fr 420px; gap:32px; align-items:start; justify-content:center; max-width:1100px; margin:0 auto; }
.contact-col{ }
.contact-panel{ background:#f7fbfc; padding:28px 28px; border-radius:10px; box-shadow:0 8px 24px rgba(2,6,23,0.04); margin:28px auto; max-width:1120px; }

/* Contact hero (like About page) */
.contact-hero{ text-align:center; padding:22px 8px 6px; }
.contact-hero h1{ font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif; font-size:clamp(28px,3.6vw,40px); color:#0b3a5a; margin:0 0 10px; font-weight:700; }
.contact-hero .lead{ max-width:820px; margin:0 auto; color:#475b6a; }

/* Zig-zag offsets to match video / About visuals (subtle) */
.contact-form-col{ transform: translateY(-6px); }
.office-col{ transform: translateY(6px); }

/* Tighter form width and input styling to match site */
.contact-form-col .contact-form input, .contact-form-col .contact-form textarea{ border-radius:6px; padding:10px 12px; border:1px solid rgba(19,36,63,0.06); }
.contact-form-col .contact-submit{ display:inline-block; width:200px; text-align:center; background:linear-gradient(90deg,#0a66c2,#004a9f); color:#fff; border-radius:8px; padding:10px 14px; border:0; box-shadow:0 8px 22px rgba(2,6,23,0.06); }
/* Office box tweaks */
.office-box{ background:#fff; padding:16px; border-radius:8px; border:1px solid rgba(2,6,23,0.03); box-shadow:0 8px 22px rgba(2,6,23,0.03); }

@media (max-width:900px){
  .contact-panel{ padding:18px; }
  .contact-grid{ grid-template-columns: 1fr; }
  .contact-form-col, .office-col{ transform:none; }
  .contact-hero h1{ font-size:28px; }
  .contact-map{ height:220px; }
}
.contact-form-col .contact-form input, .contact-form-col .contact-form textarea{ max-width:100%; }
.office-box{ background:#fff; border-radius:8px; padding:18px; box-shadow:0 10px 30px rgba(2,6,23,0.04); border:1px solid rgba(2,6,23,0.03); }
.contact-submit{ background:transparent; border:2px solid #0577b8; color:#0577b8; padding:10px 18px; border-radius:8px; font-weight:700; cursor:pointer; }
.lead{ color:#475b6a; margin-bottom:18px; }

@media (max-width:900px){
  .contact-grid{ grid-template-columns: 1fr; }
  .contact-map{ height:260px; }
}

/* map action button */
.map-open-btn{ display:inline-block; background:#0a66c2; color:#fff; padding:10px 16px; border-radius:8px; text-decoration:none; font-weight:700; box-shadow:0 8px 22px rgba(2,6,23,0.06); }
.map-open-btn:hover{ background:#0854a8; }

/* Map card + overlays to mimic Google embed style */
.map-card{ background:#fff; padding:12px; border-radius:10px; box-shadow:0 10px 30px rgba(2,6,23,0.06); border:1px solid rgba(2,6,23,0.04); position:relative; }
.map-frame{ overflow:hidden; border-radius:8px; }
.map-pin{ position:absolute; left:24px; top:40px; display:flex; align-items:flex-start; gap:10px; pointer-events:none; }
.map-pin-icon{ width:22px; height:22px; background:linear-gradient(180deg,#d93f3f,#b02b2b); border-radius:50%; box-shadow:0 6px 18px rgba(0,0,0,0.15); transform:translateY(8px); }
.map-infobox{ background:#ffffff; border-radius:6px; padding:12px 14px; box-shadow:0 8px 26px rgba(2,6,23,0.08); border:1px solid rgba(2,6,23,0.06); max-width:320px; }
.map-infobox h4{ margin:0 0 6px; font-size:18px; color:#0b3a5a; }
.map-infobox .infobox-address{ font-size:13px; color:#475b6a; line-height:1.4; }
.infobox-close{ position:absolute; right:8px; top:8px; background:transparent; border:0; font-size:14px; color:#7a8a97; cursor:pointer; }

@media (max-width:900px){
  .map-pin{ left:12px; top:14px; }
  .map-infobox{ max-width:260px; }
}

/* Ensure map banner content is constrained to a centered section */
.map-banner{ padding:24px 0; }
.map-card{ max-width:1120px; margin:0 auto; }
.map-frame iframe{ width:100%; height:360px; display:block; }

/* Contact page — centered form and map/office two-column layout */
.contact-panel .contact-form-wrap{ max-width:520px; margin:0 auto 18px; }
.map-office-grid{ display:grid; grid-template-columns: 1fr 420px; gap:28px; align-items:start; margin-top:24px; max-width:1100px; margin-left:auto; margin-right:auto; }
.map-office-grid .map-card{ /* keep map card visually consistent */ }
.map-actions{ text-align:right; margin-top:10px; }

@media (max-width:900px){
  .map-office-grid{ grid-template-columns: 1fr; }
  .map-actions{ text-align:left; }
}

/* dotted background moved to body; hero uses the default hero gradient above */

/* Interactive spotlight overlay (shown on click) */
.hero{
  --spot-x: 50%;
  --spot-y: 40%;
  --spot-size: 380px;
}
.hero::after{
  content: '';
  position: absolute;
  left: 0; top: 0; right: 0; bottom: 0;
  pointer-events: none;
  background: radial-gradient(circle at var(--spot-x) var(--spot-y), rgba(10,102,194,0.12) 0%, rgba(10,102,194,0.10) 10%, rgba(10,102,194,0.03) 25%, transparent 45%);
  opacity: 0;
  transition: opacity 260ms ease, transform 260ms ease;
  transform: scale(1);
  mix-blend-mode: overlay;
}
.hero.spot::after{ opacity: 1; }

/* Make hero position relative so overlay can position correctly */
.hero{ position: relative; overflow: hidden; }


.navbar{ padding: 18px 40px; }
.navbar .logo-section img{ width:64px; height:64px; }
.navbar nav{ margin-left:auto; }
.navbar nav a{ font-size:16px; padding:8px 6px; }

/* Mobile hamburger toggle */
.nav-toggle{
  display:none;
  background: transparent; /* no background on request */
  border: 0;
  width:44px;
  height:44px;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  border-radius:0; /* square/flat icon as in screenshot */
  box-shadow: none;
  padding:4px;
  flex: 0 0 auto;
  flex-direction: column;
  gap: 6px;
}
.nav-toggle .bar{ display:block; width:22px; height:3px; background:#0b2540; margin:3px 0; transition:transform .2s ease, opacity .2s ease; border-radius:2px }

@media (max-width:900px){
  .nav-toggle{ display:flex; }
  .navbar{ padding:12px 16px; }
  /* place the toggle on the right and center it vertically with the header */
  .nav-toggle{ margin-left: auto; align-self:center; }
  nav{ position:fixed; top:0; right:-320px; width:260px; height:100vh; background:#fff; box-shadow:-6px 0 20px rgba(2,6,23,0.08); display:flex; flex-direction:column; padding:80px 18px 18px; gap:12px; transition:right .22s ease; z-index:1200; }
  nav a{ padding:12px 8px; }
  .navbar.nav-open nav{ right:0; }
  .navbar.nav-open .nav-toggle .bar:nth-child(1){ transform: translateY(6px) rotate(45deg); }
  .navbar.nav-open .nav-toggle .bar:nth-child(2){ opacity:0; }
  .navbar.nav-open .nav-toggle .bar:nth-child(3){ transform: translateY(-6px) rotate(-45deg); }
}

/* Backdrop behind mobile nav to hide page content and prevent overlap */
.navbar.nav-open::before{
  content: '';
  position: fixed;
  inset: 0;
  background: rgba(6,10,20,0.06);
  z-index: 1190; /* sits below the nav (1200) but above page content */
}

/* Ensure nav is above the backdrop and all page content */
.navbar nav{ z-index: 1201; }

/* Hero caption card (rounded white box like original) */
.hero-caption{ display:inline-block; background: rgba(255,255,255,0.98); padding:14px 28px; border-radius:14px; box-shadow:0 10px 30px rgba(2,6,23,0.06); color:#f07b67; font-weight:700; font-size:28px; margin-bottom:12px; }
.hero-caption small{ display:block; color:#475b73; font-weight:400; font-size:14px; margin-top:8px; }

/* Team carousel styles */
.team-carousel{ max-width:1100px; margin:36px auto; padding:18px; }
.carousel-viewport{ overflow:hidden; }
.carousel-track{ display:flex; gap:12px; transition:transform .45s ease; will-change:transform; }
.carousel-card{ flex: 0 0 300px; background: rgba(255,255,255,0.9); border-radius:10px; box-shadow:0 6px 18px rgba(11,20,40,0.04); padding:14px; display:flex; gap:12px; align-items:center; border:1px solid rgba(11,20,40,0.02); }
.carousel-card img{ width:84px; height:84px; object-fit:cover; border-radius:8px; flex-shrink:0; }
.carousel-info h3{ margin:0 0 6px; font-size:18px; color:#072443; }
.carousel-info p{ margin:0; color:#475b73; font-size:14px; }
/* Canonical unified carousel controls: single button style */
.carousel-controls{ display:flex; gap:18px; justify-content:center; align-items:center; margin-top:14px; }
.carousel-controls button{ width:56px; height:56px; border-radius:12px; background:transparent; border:4px solid rgba(13,74,128,0.06); display:inline-flex; align-items:center; justify-content:center; padding:6px; cursor:pointer; background-repeat:no-repeat; background-position:center; background-size:28px; transition:transform 140ms ease, box-shadow 160ms ease, background-color 160ms ease; }
.carousel-controls button:hover{ transform: translateY(-4px); box-shadow:0 10px 30px rgba(11,20,40,0.06); background-color: rgba(13,74,128,0.03); }
.carousel-controls button:active{ transform: translateY(-2px) scale(0.995); }
.carousel-controls button:focus{ outline:3px solid rgba(10,102,194,0.12); }

/* Filled chevrons as crisp SVGs */
#prevBtn{ background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='%230b2540' d='M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z'/></svg>"); }
#nextBtn{ background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='%230b2540' d='M8.59 16.59L10 18l6-6-6-6-1.41 1.41L13.17 12z'/></svg>"); }

@media (max-width:900px){
  .carousel-card{ flex: 0 0 84%; }
}

@media (max-width:640px){
  .carousel-controls button{ width:48px; height:48px; border-radius:10px; background-size:20px; border-width:3px; }
}


/* --- About page specific tweaks (appended) --- */
.our-values{ padding:56px 20px; }
.our-values .section-head h2{ font-size:30px; color:#072443; margin-bottom:20px; }

/* Circular value cards */
.our-values .values-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:28px;
  max-width:980px;
  margin:28px auto 0;
  justify-items:center;
  align-items:start;
}

.our-values .value-card{
  text-align:center;
  width:260px;
  height:260px;
  padding:22px;
  background:#fff;
  border-radius:50%;
  box-shadow:0 10px 30px rgba(2,6,23,0.04);
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:flex-start;
  overflow:hidden;
  box-sizing:border-box;
  transition:transform 180ms ease, box-shadow 180ms ease;
}

.our-values .value-card:hover{ transform:translateY(-6px); box-shadow:0 18px 40px rgba(11,20,40,0.06); }

.our-values .value-card h3{ margin:12px 0 8px; font-size:20px; color:#072443; line-height:1; }
.our-values .value-card p{ margin:6px 0 0; color:#38506a; font-size:15px; line-height:1.55; }
.our-values .value-card ul{ list-style:disc; padding-left:18px; text-align:left; margin:8px auto 0; max-width:200px; color:#45607a; font-size:14px; line-height:1.4; }
.our-values .value-card ul li{ margin-bottom:8px; }

@media (max-width:940px){
  .our-values .values-grid{ grid-template-columns:repeat(2,1fr); }
  .our-values .value-card{ width:220px; height:220px; padding:18px; }
}

@media (max-width:640px){
  .our-values .values-grid{ grid-template-columns:1fr; gap:20px; }
  .our-values .value-card{ width:200px; height:200px; padding:14px; }
  .our-values .value-card p, .our-values .value-card ul{ font-size:14px; }
}

/* Slightly tighten the services grid on About page */
.why-choose .service-card, .approach .service-card{ min-height:120px; }

/* Team panel adjustments to match Home look */
.team-carousel.our-team .container{ background:transparent; padding:18px 6px; }
.team-carousel.our-team .carousel-track{ gap:18px; justify-content:center; }
.team-carousel.our-team .carousel-card img{ width:110px; height:110px; border-radius:50%; box-shadow:0 10px 30px rgba(11,20,40,0.06); }

@media (max-width:900px){
  .values-grid{ grid-template-columns:1fr; }
  .services-grid{ grid-template-columns:1fr; }
  .approach .services-grid{ grid-template-columns:repeat(2,1fr); }
}


