/* Google Font */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');

/* Brand Tokens */
:root{
  --brand:#7A0C0C;
  --brand-2:#8B1E1E;
  --gold:#D4AF37;
  --gold-dark:#9C7A2F;
  --charcoal:#1C1F24;
  --paper:#F9F5EF;
  --grad: linear-gradient(135deg,#7A0C0C 0%,#8B1E1E 60%,#D4AF37 100%);
}

html,body{height:100%}
body{
  font-family:Poppins,system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,'Helvetica Neue',Arial,sans-serif;
  color:#222;
  background:#fff;
}

.company_name {
    padding-top: 12px;
    line-height: 19px;
}

/* Utility */
.bg-paper{background:var(--paper)}
.section-title{font-weight:700}
.section-head p{max-width:720px;margin-inline:auto}


section.section {
    padding-top: 150px !important;
    padding-bottom: 150px !important;
}

.section-head{
  margin-bottom:100px !important;
}

/* Topbar */
.topbar{
  background:var(--charcoal);
  color:#eee;
  font-size:.875rem;
  padding:.35rem 0;
}
.topbar a{color:#eee;text-decoration:none}
.topbar .btn-xs{padding:.325rem .65rem;color:var(--white);border-radius:.2rem; background:var(--brand);}
.btn-xs.btn-ghost:hover{background:rgba(212,175,55,.08); color:var(--paper);}

.social a {
    display: inline-block;
    padding: 5px;
    border-radius: 50%;
    background: var(--brand);
    height: 30px;
    width: 30px;
    line-height: 15px;
    transition: 0.3s;
}

.social a>i.bx {
    color: #fff;
}
.social a:hover {background: #8B1E1E;transform: scale(1.1);}

/* Navbar */
.mainnav{
  position:sticky;top:0;z-index:1020;
  background:#fff;border-bottom:1px solid #eee;
}
.navbar-brand span{color:var(--brand)}
.navbar .nav-link{font-weight:500;padding:.75rem 1rem}
.navbar .nav-link.active{color:var(--brand)}
.navbar .dropdown-menu{border-color:#eee}

/* Buttons */
.btn-brand {
  background: linear-gradient(145deg, #a31212, #7A0C0C);
  color: #fff;
  border: none;
  padding: 0.6rem 1.4rem;
  font-weight: 600;
  border-radius: 50px;
  /* box-shadow: 0 4px 10px rgba(122, 12, 12, 0.3); */
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

/* Glossy shine overlay */
.btn-brand::before {
  content: '';
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(120deg, rgba(255,255,255,0.4), rgba(255,255,255,0));
  transform: skewX(-25deg);
  transition: all 0.5s ease;
}

/* Shine movement on hover */
.btn-brand:hover::before {
  left: 125%;
}

/* Hover effect */
.btn-brand:hover {
  background: linear-gradient(145deg, #b31414, #8e0f0f);
  /* box-shadow: 0 6px 14px rgba(122, 12, 12, 0.4); */
  transform: translateY(-2px);
}

/* Optional active state */

.btn-gold {
  background: linear-gradient(145deg, #f5d97c, #D4AF37);
  color: #fff;
  border: none;
  padding: 0.6rem 1.4rem;
  font-weight: 600;
  border-radius: 50px;
  box-shadow: 0 4px 10px rgba(212, 175, 55, 0.4);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  text-transform: uppercase;
}

/* Glossy reflection overlay */
.btn-gold::before {
  content: '';
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0.6),
    rgba(255, 255, 255, 0)
  );
  transform: skewX(-25deg);
  transition: all 0.5s ease;
}

/* Shine movement on hover */
.btn-gold:hover::before {
  left: 125%;
}

/* Hover effect */
.btn-gold:hover {
  background: linear-gradient(145deg, #ffe488, #e0b93f);
  box-shadow: 0 6px 14px rgba(212, 175, 55, 0.5);
  transform: translateY(-2px);
}

/* Active state */
.btn-gold:active {
  transform: translateY(0);
  box-shadow: 0 3px 8px rgba(212, 175, 55, 0.4);
}

.btn-brand:active {
  transform: translateY(0);
  box-shadow: 0 3px 8px rgba(122, 12, 12, 0.3);
}

.btn-ghost{
  border:1px solid var(--gold);color:var(--gold);background:transparent;
}
.btn-ghost:hover{background:rgba(212,175,55,.1);color:var(--gold-dark)}
.btn-ghost-light{border-color:#fff;color:#fff}
.btn-ghost-light:hover{background:rgba(255,255,255,.12);color:#fff}

/* HERO */
.hero-wrap{position:relative}
.hero-slide{
  min-height:70vh; background-size:cover; background-position:center;
  position:relative; display:flex; align-items:center;
}
.hero-overlay{
  position:absolute; inset:0;
  background:linear-gradient(120deg,rgba(28,31,36,.7),rgba(122,12,12,.55));
}
.hero-slide .container{position:relative; z-index:2}
.text-contrast{color:#f4f4f4}

/* Stats */
.trustbar .stat i{font-size:2rem;color:var(--gold)}
.trustbar .stat h3{color:var(--brand);font-weight:700}

/* Services */
.service-card{border:1px solid #eee;border-radius:14px;transition:.2s}
.service-card:hover{transform:translateY(-4px);box-shadow:0 12px 28px rgba(0,0,0,.08)}
.service-card .icon-wrap i{font-size:2rem;color:var(--brand)}

/* Why EAF */
.why-eaf{background:
  radial-gradient(900px 400px at right -20%, rgba(212,175,55,.08), transparent 60%),
  linear-gradient(180deg,#fff,#fff)
}
.usp-list{columns:2;gap:1.5rem;padding-left:0;list-style:none}
.usp-list li{margin-bottom:.5rem}
.usp-list i{color:var(--gold);margin-right:.35rem}
.shield-box .shield{
  width:160px;height:200px;border-radius:20px 20px 10px 10px;
  background:linear-gradient(180deg,#D4AF37,#9C7A2F);
  filter:blur(40px); position:absolute; right:10%; top:10%; opacity:.25;
}
.shield-box{position:relative}

/* Sectors */
.sector-tile{
  border:1px solid #eee;border-radius:14px;padding:24px;text-align:center;background:#fff
}
.sector-tile i{font-size:2rem;color:var(--brand)}

/* Clients */
.clients-carousel .owl-item img{
  height:100% !important;
}
.client-logo{display:flex;align-items:center;justify-content:center;height:120px;filter:grayscale(2);opacity:1;transition:.2s;background:#fff;border:1px dashed #eee;border-radius:5px;padding:10px; object-fit:contain;}
.client-logo:hover{filter:none;opacity:1}
.clint-logo img{
  object-fit: contain !important;
}

/* Testimonials */
.testimonial{
  border:1px solid #eee;border-radius:14px;padding:24px;background:#fff
}
.testimonial blockquote{font-size:1.05rem;margin:0 0 .5rem 0}

/* CTA Band */
.cta-band{background:var(--brand-2);padding:28px 0;color:#fff}

/* Mini Contact */
.mini-contact{background:#fff;border-top:1px solid #eee;padding:28px 0}

/* Footer */
.footer-section{background:var(--charcoal);color:#ddd}
.footer-section a{color:#ddd;text-decoration:none}
.footer-section .widget-title{color:#fff;margin-bottom:.75rem}
.footer-links li{margin-bottom:.35rem}
.footer-bottom{border-top:1px solid rgba(255,255,255,.08);padding:12px 0;background:#171a1f}
.footer-bottom a:hover{color:#fff}

/* Back to top */
.back-to-top{
  position:fixed;right:16px;bottom:100px;width:40px;height:40px;border-radius:50%;
  display:grid;place-items:center;border:1px solid var(--gold);background:#111;color:#fff;opacity:.85
}
.back-to-top.hide{display:none}

/* Badges */
.brand-badge{background:var(--gold);color:#111;font-weight:600}


/* OUr Services */

.service-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 0.75rem 2rem rgba(0,0,0,0.15);
}
.service-img {
  position: relative;
  overflow: hidden;
}
.service-img img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.service-card:hover .service-img img {
  transform: scale(1.08);
}
.service-img .overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.5);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.service-card:hover .overlay {
  opacity: 1;
}

/* Blog */
.blog-card .overlay {
  background: rgba(15, 44, 74, 0.6);
  opacity: 0;
  transition: all 0.4s ease;
}
.blog-card:hover .overlay {
  opacity: 1;
}
.btn-brand {
  background-color: #9b1c1c;
  border: none;
}
.btn-brand:hover {
  background-color: #c42a2a;
}

/* About Us */
  .bg-brand-gradient {
    background: linear-gradient(90deg, #7A0C0C 0%, #D4AF37 100%);
  }
  .text-brand { color: #7A0C0C; }
  .bg-brand { background-color: #7A0C0C; }
  .bg-gold { background-color: #D4AF37; }
  .bg-green { background-color: #1A8754; }
  .icon-circle {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .divider {
    border-radius: 2px;
  }

  /* Managemnet Team*/
  :root {
    --brand:#7A0C0C;
    --gold:#D4AF37;
    --green:#1A8754;
  }
  .brand-gradient {
    background: linear-gradient(90deg, var(--brand) 0%, var(--gold) 100%);
    opacity: .9;
  }
  /* Team Card */
  .team-card {
    background: #fff;
    border-radius: 18px;
    padding: 1.25rem;
    text-align: center;
    box-shadow: 0 8px 20px rgba(0,0,0,.05);
    transition: transform .25s ease, box-shadow .25s ease;
  }
  .team-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 36px rgba(0,0,0,.08);
  }

  .team-photo-wrap {
    width: 100%;
    aspect-ratio: 1/1;
    overflow: hidden;
    border-radius: 15px;
  }
  .team-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
    transition: transform .3s ease;
  }
  .team-card:hover .team-photo {
    transform: scale(1.05);
  }
  .team-body h3 {
    color: var(--brand);
  }

  /* Team Template */
    
  .brand-gradient { background: linear-gradient(90deg, var(--brand), var(--gold)); opacity: .9; }
  .text-brand { color: var(--brand); }
  .profile-photo { width: 220px; height: 220px; object-fit: cover; border-radius: 15px; }
  .profile-bio p { font-size: 0.98rem; line-height: 1.75; color: #555; }
  .card-header { border:none; }
  .list-group-item { border:none; transition:all .2s ease; }
  .list-group-item:hover { background:rgba(122,12,12,.06); color:var(--brand); }


  /* Hero Slider Dots */
  .owl-dots {
    /* display: none; */
    position: absolute;
    /* background: #fff; */
    bottom: 20px;
    left: 50%;
    /* z-index: 13; */
    transform: translateX(-50%);
}

.hero-slider .owl-dots button.owl-dot {
    border: 2px solid var(--brand);
    height: 15px;
    width: 15px;
    margin-right: 10px;
    background-color: #fff;
    margin-bottom: 20px;
    border-radius: 50%;
    transition: 0.3s;
}

.hero-slider .owl-dots button.owl-dot.active {
    background: var(--brand);
    border: 1px solid #fff;
}


.hero-slider .owl-nav {
    display: flex;
    justify-content: space-between;
    justify-items: stretch;
    padding: 0px 30px;
    top: 50%;
    font-size: 50px;
    color: #fff;
    position: absolute;
     width: 100%;
}

.hero-slider .owl-nav button.owl-prev, .hero-slider .owl-nav button.owl-next {
    background: var(--brand);
    height:60px;
    width:60px;
    line-height: 25px;
}


/* Sticky + slide animation for navbar */
/* Headroom base */
/* Headroom applied to the WHOLE header (topbar + navbar) */
#site-header.headroom {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1030;                 /* above content, below modals */
  will-change: transform, box-shadow;
  transition: transform .28s ease, box-shadow .2s ease;
  background: #fff;              /* solid bg so content doesn't bleed through */
}

/* Slide behavior handled by Headroom states */
#site-header.headroom--unpinned { transform: translateY(-100%); }
#site-header.headroom--pinned   { transform: translateY(0); }

/* Subtle shadow once you leave the very top */
.header-shadow { box-shadow: 0 .125rem .25rem rgba(0,0,0,.075); }

/* Prevent content jump under the fixed header */
body.with-header-offset { padding-top: var(--header-h, 0px); }

/* (Optional) keep your navbar white even if theme differs */
.mainnav { background: #fff; }


/* Chat Bot */

  .eaf-chat-btn{
    position:fixed;right:150px;bottom:50px;z-index:1040;
    border:none;border-radius:999px;padding:12px 16px;
    box-shadow:0 10px 25px rgba(0,0,0,.15); display:flex;align-items:center;gap:8px;
  }
  .eaf-chat-panel{
    position:fixed; right:16px; bottom:80px; width:330px; max-width:92vw; z-index:1040;
    background:#fff; border-radius:16px; box-shadow:0 20px 40px rgba(0,0,0,.18); overflow:hidden; display:none;
  }
  .eaf-chat-header{
    padding:12px 14px; color:#fff; 
    background: linear-gradient(135deg,#7A0C0C, #D4AF37);
    display:flex; align-items:center; justify-content:space-between;
  }
  .eaf-chat-body{ max-height:60vh; overflow:auto; padding:12px; background:#f8f9fa;}
  .eaf-msg{ display:flex; margin-bottom:10px; }
  .eaf-msg.bot .b{ background:#fff; border:1px solid #eee; }
  .eaf-msg.you { justify-content:flex-end; }
  .eaf-msg .b{ padding:10px 12px; border-radius:12px; max-width:85%; color:#191919; }
  .eaf-msg.you .b{ background:#7A0C0C; color:#000; }
  .eaf-quick{ display:flex; flex-wrap:wrap; gap:8px; margin-top:6px; }
  .eaf-quick button{ border:1px solid #dee2e6; background:#fff; border-radius:20px; padding:6px 10px; font-size:.875rem; }
  .eaf-chat-input{ display:flex; gap:8px; padding:10px; background:#fff; border-top:1px solid #eee; }
  .eaf-chat-input input{ flex:1; }

  /* CSS */
  .bd-border-shadow path {
    filter: drop-shadow(0 0 6px rgba(212, 175, 55, 0.7));
}


.district-label {
    font-size: 12px;
    font-weight: 600;
    color: #eef10d;       /* EAF Maroon */
    /* text-shadow: 0 0 3px white; */
    /* background: rgba(255,255,255,0.6); */
    /* padding: 2px 4px; */
    /* border-radius: 4px; */
    white-space: nowrap;
    /* border: 1px solid #ddd;*/} 
