/* =========================
   Global / Variables
   ========================= */
:root{
  --primary-color:#001A38;
  --primary-dark:#02275B;
  --secondary-color:#01CF11;
  --light-color:#fff;
  --text-color:#12223d;
  --muted-color:#f5f7fa;
  --highlight-color:#01CF11;
}
*{margin:0;padding:0;box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  font-family:'Montserrat',sans-serif;
  color:var(--text-color);
  background:var(--light-color);
  line-height:1.6;
}
a{color:inherit;text-decoration:none}
img{max-width:100%;height:auto;display:block}
h1,h2,h3,h4,h5,h6{font-family:'Playfair Display',serif;color:var(--primary-color);line-height:1.3}

/* =========================
   Preloader
   ========================= */
#preloader{position:fixed;inset:0;background:#fff;display:flex;align-items:center;justify-content:center;z-index:2000}
.spinner{width:40px;height:40px;border:4px solid(var(--primary-color));border-top:4px solid var(--secondary-color);border-radius:50%;animation:spin 1s linear infinite}
@keyframes spin{to{transform:rotate(360deg)}}

/* =========================
   Top bar + Nav
   ========================= */
.top-bar{background:var(--primary-color);color:#fff;font-size:.8rem;padding:6px 0}
.top-bar .container{display:flex;justify-content:space-between;align-items:center}
.contact-info i{margin-right:6px}
.contact-info span:not(:last-child){margin-right:15px}
.social-icons a{color:#fff;margin-left:12px;transition:color .3s}
.social-icons a:hover{color:var(--secondary-color)}

nav.navbar{width:100%;background:rgba(255,255,255,.95);position:sticky;top:0;z-index:1000;border-bottom:1px solid #eaeaea}
nav .container{display:flex;align-items:center;justify-content:space-between;padding:10px 0}
.logo img{height:88px;width:auto}
.logo{font-weight:700;font-size:1.5rem;color:var(--primary-color)}
.nav-menu{list-style:none;display:flex;align-items:center}
.nav-menu li{position:relative;margin-left:20px}
.nav-menu a{padding:12px 0;display:inline-block;color:var(--text-color);font-weight:500;transition:color .3s}
.nav-menu a:hover{color:var(--secondary-color)}
.dropdown-menu{
  position:absolute;top:100%;left:0;min-width:200px;background:#fff;border-radius:4px;
  box-shadow:0 6px 15px rgba(0,0,0,.08);display:none;flex-direction:column;z-index:100
}
.nav-item:hover>.dropdown-menu{display:flex}
.dropdown-menu a{padding:10px 15px;color:var(--text-color);font-size:.9rem}
.dropdown-menu a:hover{background:var(--muted-color);color:var(--primary-color)}

/* Buttons */
.btn{display:inline-block;padding:12px 30px;border-radius:50px;font-weight:600;font-size:.95rem;transition:all .3s;cursor:pointer}
.btn-small{padding:8px 20px;font-size:.85rem}
.btn-primary{background:var(--secondary-color);color:var(--primary-color)}
.btn-primary:hover{background:#24e73d;color:var(--primary-color)}
.btn-secondary{background:var(--primary-color);color:#fff}
.btn-secondary:hover{background:var(--primary-dark)}

/* =========================
   HOME HERO — SLIDER
   (keeps the original static look)
   ========================= */
.home .hero-slider{
  position:relative;
  width:100%;               /* prevent horizontal overflow on browsers with scrollbars */
  min-height:clamp(600px,88vh,960px);
  margin:0; padding:0; overflow:hidden;
}
.home .hero-slider,
.home .hero-slider .swiper,
.home .hero-slider .swiper-wrapper,
.home .hero-slider .swiper-slide {
  width: 100%;
  height: clamp(560px, 88vh, 960px);
}

/* Set each slide image via: style="--bg:url('images/xxx.png')" */
.home .hero-slide{
  position:relative;
  background-image:var(--bg);
  background-size:cover !important;
  background-position:center center !important;
  background-repeat:no-repeat !important;
}

.home .hero-slide .hero-bg{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  z-index:-1;
}

/* Global navy wash for readability */
.home .hero-slide::before{
  content:"";position:absolute;inset:0;background:rgba(0,26,56,.60);pointer-events:none;z-index:0;
}

/* Left vignette panel (like your original) */
.home .hero-slide::after{
  content:"";position:absolute;top:0;left:0;bottom:0;width:clamp(520px,48vw,760px);
  background:linear-gradient(90deg,rgba(0,26,56,.85) 0%,rgba(0,26,56,.75) 60%,rgba(0,26,56,0) 100%);
  pointer-events:none;z-index:1;
}

/* Overlay content (force absolute & transparent to avoid legacy panel) */
.home .hero-slide .hero-overlay{
  position:absolute !important;
  inset:0 !important;
  background:transparent !important;
  display:flex;align-items:center;
  z-index:2;
}

.home .hero-overlay .container{max-width:1160px;padding-block:clamp(24px,4vh,64px);
 padding-left: clamp(45px, 7vw, 100px);}

/* Typography in hero */
.home .hero-title{
  color:#fff;font-family:"Playfair Display",serif;font-weight:600;line-height:1.1;
  font-size:clamp(2.0rem,3.0vw,3rem);margin:0 0 16px;max-width:100ch;

}
.home .hero-subtitle{
  color:#e6edf6;font-size:clamp(1rem,1.2vw,1.25rem);margin:0 0 22px;max-width:80ch;
}
.home .btn-group .btn + .btn{margin-left:12px}

/* Pagination & arrows */
.home .hero-pagination{
  position:absolute;left:50%;bottom:18px;transform:translateX(-50%);z-index:3;
}
.home .hero-pagination .swiper-pagination-bullet{
  width:10px;height:10px;border-radius:999px;background:rgba(255,255,255,.45);opacity:1;
  transition:transform .25s ease, background-color .25s ease;
}
.home .hero-pagination .swiper-pagination-bullet-active{background:#01CF11;transform:scale(1.18)}
.home .hero-nav{
  position:absolute;top:50%;transform:translateY(-50%);z-index:3;width:44px;height:44px;border-radius:999px;
  border:1px solid rgba(255,255,255,.35);background:rgba(0,0,0,.25);backdrop-filter:blur(2px);
  color:#fff;display:grid;place-items:center;cursor:pointer;transition:background .2s, transform .2s
}
.home .hero-prev{left:26px}
.home .hero-next{right:26px}
.home .hero-nav:hover{background:rgba(0,0,0,.38);transform:translateY(-50%) scale(1.04)}


/* Mobile */
@media (max-width:768px){
  .home .hero-slider{min-height:70vh}
  .home .hero-slide::after{width:70vw}
  .home .hero-prev,.home .hero-next{display:none}
}

/* Ensure next section hugs hero (no gaps) */
.home .hero-slider + .section,
.home .hero-slider + section{margin-top:0}

/* =========================
   Legacy static hero (for other pages)
   ========================= */
.hero{
  position:relative;
  background:linear-gradient(90deg,rgba(0,26,56,.8),rgba(2,39,91,.6)), url('../images/hero6-people.png') center/cover no-repeat;
  min-height:80vh;display:flex;align-items:center;justify-content:center;text-align:center;
}
.hero-overlay{background:rgba(255,255,255,.65);padding:60px 30px;border-radius:8px;max-width:800px}
.hero h1{font-size:2.5rem;margin-bottom:20px;color:var(--primary-color);line-height:1.2}
.hero p{font-size:1.1rem;margin-bottom:30px;color:var(--text-color)}
.btn-group .btn + .btn{margin-left:15px}


/* =========================
   Sections / Cards / Misc
   ========================= */
.section{padding:80px 0}
.section-title{font-size:2rem;color:var(--primary-color);margin-bottom:40px;text-align:center}
.container{width:90%;max-width:1200px;margin:0 auto}
.flex{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between}

.about .content{flex:1 1 50%;margin-right:40px}
.about .image{flex:1 1 50%}
.about .image img{border-radius:8px}

.cards{display:flex;flex-wrap:wrap;gap:30px;justify-content:center}
.card{
  flex:1 1 calc(33.333% - 40px);background:#fff;padding:30px;border-radius:8px;text-align:center;
  box-shadow:0 4px 12px rgba(0,0,0,.05)
}
.service-icon{font-size:2.5rem;margin-bottom:20px;color:var(--secondary-color)}
.card h3{margin-bottom:15px;font-size:1.2rem;color:var(--primary-color)}
.card p{font-size:.9rem}

/* CTA */
.cta{background:var(--primary-color);color:#fff;text-align:center;padding:60px 20px;border-radius:8px;margin:0 20px}
.cta h2{font-size:2rem;margin-bottom:20px;color:#fff!important}
.cta p{margin-bottom:30px;color:#fff!important}
.cta .btn-primary{background:#fff;color:var(--primary-color)}
.cta .btn-primary:hover{background:var(--muted-color);color:var(--primary-color)}

/* Blog */
.blog .posts{display:flex;flex-wrap:wrap;gap:30px;justify-content:center}
.blog .post{
  flex:1 1 calc(33.333% - 40px);background:#fff;border-radius:8px;overflow:hidden;box-shadow:0 4px 12px rgba(0,0,0,.05)
}
.blog .post img{width:100%;height:200px;object-fit:cover}
.blog .post h3{margin:15px;font-size:1.1rem;color:var(--primary-color)}
.blog .post p{margin:0 15px 15px;font-size:.9rem}
.read-more{display:inline-block;margin:0 15px 15px;font-weight:600;color:var(--primary-color);transition:color .3s}
.read-more:hover{color:var(--secondary-color)}

/* Contact */
.contact .flex{gap:40px}
.contact-info{flex:1 1 40%;color:var(--text-color)}
.contact-info h2{color:var(--primary-color);margin-bottom:15px;font-size:1.8rem}
.contact-info p{margin-bottom:10px;display:flex;align-items:center;font-size:.95rem}
.contact-info p i{margin-right:10px}
.contact-form{
  flex:1 1 55%;background:#fff;padding:30px;border-radius:8px;box-shadow:0 4px 12px rgba(0,0,0,.05)
}
.contact-form .form-group{margin-bottom:20px}
.contact-form input,.contact-form textarea{width:100%;padding:10px 12px;border:1px solid #ccc;border-radius:4px;font-size:1rem}
.contact-form textarea{min-height:120px;resize:vertical}
.contact-form button{
  background:var(--primary-color);color:#fff;border:none;padding:12px 24px;border-radius:50px;
  font-weight:600;cursor:pointer;transition:background-color .3s
}
.contact-form button:hover{background:#2c3250}
.contact-info i{margin-right:8px;color:var(--secondary-color)}
.social-links a{display:inline-block;margin-right:12px;color:var(--primary-color);font-size:1.1rem;transition:color .3s}
.social-links a:hover{color:var(--secondary-color)}

/* Footer */
footer{background:var(--primary-color);color:#fff;padding:60px 0 30px;font-size:.9rem}
.footer-nav{display:flex;flex-wrap:wrap;gap:40px;justify-content:space-between}
.footer-col{flex:1 1 30%;min-width:200px}
.footer-col h4{margin-bottom:20px;font-weight:600}
.footer-col ul{list-style:none}
.footer-col li{margin-bottom:10px}
.footer-col a{color:#fff;transition:color .3s}
.footer-col a:hover{color:var(--secondary-color)}
.footer-col form{display:flex;gap:10px;margin-top:10px}
.footer-col input{flex:1;padding:10px;border:none;border-radius:4px}
.footer-col button{background:var(--secondary-color);border:none;color:#fff;padding:10px 15px;border-radius:4px;cursor:pointer;transition:background .3s}
.footer-col button:hover{background:#a67e5c}
.footer-bottom{text-align:center;margin-top:40px;border-top:1px solid rgba(255,255,255,.2);padding-top:20px}

/* Reveal animations */
.reveal{opacity:0;transform:translateY(20px);transition:opacity .8s,transform .8s}
.reveal.visible{opacity:1;transform:none}
.delay-1{transition-delay:.2s}.delay-2{transition-delay:.4s}.delay-3{transition-delay:.6s}

/* Enhanced top bar variant */
.top-bar--clean{background:linear-gradient(90deg,var(--primary-color),var(--primary-dark));color:#fff}
.topbar-grid{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:10px}
.contact-chip{display:inline-flex;align-items:center;gap:6px;background:rgba(255,255,255,.12);padding:6px 12px;border-radius:20px;font-size:.85rem;color:#fff;transition:background .3s}
.contact-chip i{color:#fff}
.contact-chip:hover{background:rgba(255,255,255,.25)}
.top-bar--clean .social-icons{display:none}

/* Sticky social bar */
.sticky-social{position:fixed;bottom:0;left:0;right:0;background:var(--primary-color);color:#fff;padding:10px 0;z-index:999}
.social-rail{display:flex;justify-content:center;align-items:center;gap:20px;flex-wrap:wrap}
.s-icon{display:inline-flex;align-items:center;gap:6px;font-size:.9rem;color:#fff;transition:color .3s}
.s-icon i{font-size:1rem}
.s-icon:hover{color:var(--secondary-color)}
@media(max-width:768px){.s-icon span{display:none}}

/* Mobile navigation */
@media(max-width:992px){
  .nav-menu{
    position:fixed;top:0;right:-100%;width:280px;height:100vh;background:#fff;
    flex-direction:column;padding:80px 20px;align-items:flex-start;transition:right .3s;box-shadow:-4px 0 12px rgba(0,0,0,.05)
  }
  .nav-menu.open{right:0}
  .nav-menu li{margin-left:0;width:100%}
  .nav-menu li a{width:100%;padding:12px 10px;display:block}
  .dropdown-menu{position:static;background:transparent;box-shadow:none;padding-left:15px;display:none}
  .nav-item.open>.dropdown-menu{display:flex;flex-direction:column}
  .nav-toggle{display:block;background:none;border:none;cursor:pointer;padding:0;margin-left:20px}
  .nav-toggle span{display:block;width:25px;height:3px;background:var(--text-color);margin-bottom:5px;transition:transform .3s,opacity .3s}
  .nav-toggle.active span:nth-child(1){transform:translateY(8px) rotate(45deg)}
  .nav-toggle.active span:nth-child(2){opacity:0}
  .nav-toggle.active span:nth-child(3){transform:translateY(-8px) rotate(-45deg)}
  .about .content,.about .image,.contact-info,.contact-form{flex:1 1 100%;margin-right:0}
  .card,.blog .post{flex:1 1 100%}
  .footer-nav{flex-direction:column;gap:20px}
}

/* Optional: third/fourth option blocks (kept) */
.split-hero{display:flex;flex-wrap:wrap;min-height:90vh;margin-top:80px}
.split-hero .hero-left,.split-hero .hero-right{flex:1 1 50%;position:relative;min-height:400px}
.split-hero .hero-left img,.split-hero .hero-right img{width:100%;height:100%;object-fit:cover}
.split-hero .hero-right{display:flex;flex-direction:column;justify-content:center;padding:60px 40px;background:var(--light-color)}
.split-hero .hero-right h1{font-size:2.5rem;margin-bottom:20px;color:var(--primary-color)}
.split-hero .hero-right p{font-size:1.1rem;margin-bottom:30px;color:var(--text-color)}
.split-hero .hero-right .btn-group{display:flex;gap:20px}

.stats{background:var(--light-color);padding:60px 20px}
.stats .container{display:flex;justify-content:space-around;flex-wrap:wrap;gap:40px}
.stat{text-align:center;flex:1 1 200px}
.stat .number{font-size:2.5rem;font-weight:700;color:var(--secondary-color)}
.stat p{margin-top:10px;font-size:1rem}

.services-new{padding:60px 20px;background:var(--muted-color)}
.services-new .section-title{text-align:center;margin-bottom:40px}
.services-new .cards{display:flex;flex-wrap:wrap;gap:30px;justify-content:center}
.services-new .card{flex:1 1 280px;background:var(--light-color);padding:30px;border-radius:10px;box-shadow:0 4px 12px rgba(0,0,0,.05);transition:transform .3s,box-shadow .3s}
.services-new .card:hover{transform:translateY(-5px);box-shadow:0 10px 20px rgba(0,0,0,.08)}
.services-new .card i{font-size:2rem;color:var(--primary-color);margin-bottom:15px}
.services-new .card h3{margin-bottom:10px;font-size:1.3rem;color:var(--primary-color)}

.process{padding:60px 20px}
.process .section-title{text-align:center;margin-bottom:40px}
.process .steps{display:flex;flex-wrap:wrap;justify-content:center;gap:30px;counter-reset:step}
.process .step{flex:1 1 200px;background:var(--light-color);padding:30px;border-radius:8px;position:relative;box-shadow:0 4px 12px rgba(0,0,0,.05);text-align:center}
.process .step:before{counter-increment:step;content:counter(step);position:absolute;top:-20px;left:50%;transform:translateX(-50%);background:var(--secondary-color);color:#fff;width:40px;height:40px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-weight:700}
.process .step h4{margin-top:15px;margin-bottom:10px;font-size:1.2rem;color:var(--primary-color)}
.process .step p{font-size:.95rem;color:var(--text-color)}

.testimonials{padding:60px 20px;background:var(--light-color)}
.testimonials .section-title{text-align:center;margin-bottom:40px}
.testimonial{background:var(--muted-color);padding:30px;border-radius:8px;box-shadow:0 4px 12px rgba(0,0,0,.05)}
.testimonial p{font-style:italic;margin-bottom:15px}
.testimonial .author{font-weight:600;color:var(--primary-color)}

/* Secondary CTA */
.cta-two{background:var(--primary-color);color:#fff;text-align:center;padding:140px 20px 60px}
.cta-two h2{color:#fff;font-size:2rem;margin-bottom:20px}
.cta-two p{margin-bottom:30px;color:#fff}
.cta-two .btn-primary{background:#fff;color:var(--primary-color);padding:12px 25px;border-radius:5px;transition:background .3s}
.cta-two .btn-primary:hover{background:var(--highlight-color);color:var(--primary-color)}

/* Nav CTA override */
.nav-menu .btn.btn-primary{
  background:transparent;border:2px solid var(--primary-color);color:var(--primary-color);
  border-radius:30px;padding:8px 20px;box-shadow:none
}
.nav-menu .btn.btn-primary:hover{background:var(--primary-color);color:#fff}
