/*====================================================================
  GLOBAL IMPORTS & VARIABLES
====================================================================*/
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap");

:root {
  --primary: #f58217;
  --text: #020202;
  --background: #ffffff;
  --footer-bg: #ffffff;
  --header-bg: #ffffff;
  --body-font: "Poppins", sans-serif;
  --big-font-size: 2rem;
  --h2-font-size: 1.25rem;
  --normal-font-size: 0.938rem;
  --smaller-font-size: 0.75rem;
  --mb-2: 1rem;
  --mb-4: 2rem;
  --mb-5: 2.5rem;
  --mb-6: 3rem;
  --z-back: -10;
  --z-fixed: 100;
  --header-height: 3rem;
  --font-semi: 600;
}

/* Dark Mode Variables */
.dark {
  --text: #e0e0e0;
  --background: #0a0a0a;
  --header-bg: #111;
  --footer-bg: #111;
}

@media screen and (min-width: 968px) {
  :root {
    --big-font-size: 3.5rem;
    --h2-font-size: 2rem;
    --normal-font-size: 1rem;
    --smaller-font-size: 0.875rem;
  }
}

/*====================================================================
  BASE
====================================================================*/
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: var(--header-height) 0 0 0;
  /*margin: 0;*/
  font-family: var(--body-font);
  font-size: var(--normal-font-size);
  color: var(--text);
  background: var(--background);
  transition: background .4s, color .4s;
}
/*.l-main {*/
/*  padding-top: var(--header-height);*/
/*}*/

h1,h2,p { margin: 0; }
ul { margin:0; padding:0; list-style:none; }
a { text-decoration:none; color:inherit; }
/* Base Image Settings */
img {
    max-width: 100%;
    display: block;
}

/*====================================================================
  LAYOUT
====================================================================*/
.container { max-width:1200px; margin:0 auto; padding:0 2rem; }
.section { padding:3rem 0 2rem; }
section { scroll-margin-top: var(--header-height); }
/*section { scroll-margin-top: 0; }*/

/*====================================================================
  HEADER & NAV
====================================================================*/
.l-header,
header,
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-height) !important;
  background: var(--header-bg);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 12px rgba(0,0,0,0.08);
  z-index: 1000;
  display: flex;
  align-items: center;
  padding: 0 1.5rem;
}
.nav {
  height: 100%; width: 100%; display: flex; justify-content: space-between;
  align-items: center; padding: 0 2rem;
}
.nav__logo { color: var(--text); font-weight: 700; font-size: 1.1rem; }
.nav__menu {
  display: flex; align-items: center; gap: 2.5rem;
}
.nav__list { display: flex; gap: 2.5rem; margin: 0; padding: 0; }
.nav__link {
  position: relative; color: var(--text); font-weight: 600;
  transition: color .3s;
}
.nav__link::after {
  content: ""; position: absolute; left: 0; bottom: -6px;
  width: 100%; height: 2px; background: var(--primary);
  transform: scaleX(0); transform-origin: right;
  transition: transform .3s;
}
.nav__link:hover::after,
.active-link::after { transform: scaleX(1); transform-origin: left; }
.nav__toggle { color: var(--text); font-size: 1.5rem; cursor: pointer; display: none; }

/*====================================================================
  LANGUAGE SWITCH – SHARED
====================================================================*/
.lang-switch {
  display: flex; align-items: center; gap: .6rem;
  background: rgba(255,255,255,.12); padding: .35rem .7rem;
  border-radius: 2rem; font-weight: 600; font-size: .9rem; cursor: pointer;
}
.lang-label { transition: color .3s; }
.lang-label.active { color: var(--primary); }
.lang-toggle {
  position: relative; width: 36px; height: 20px;
  background: #555; border-radius: 20px; transition: background .3s;
}
.lang-toggle::before {
  content: ""; position: absolute; top: 2px; left: 2px;
  width: 16px; height: 16px; background: #fff; border-radius: 50%;
  transition: transform .3s;
}
.lang-toggle.active { background: var(--primary); }
.lang-toggle.active::before { transform: translateX(16px); }

/* Desktop: inside .nav__menu */
.lang-switch--desktop { display: flex; }
@media (max-width: 767px) { .lang-switch--desktop { display: none; } }

/*====================================================================
  MOBILE MENU PANEL (slide-in)
====================================================================*/
.nav__mobile-panel {
  position: fixed; top: 0; right: -100%; width: 85%; max-width: 340px;
  height: 100vh; background: #0a0a0a; flex-direction: column;
  justify-content: flex-start; align-items: flex-start;
  padding: 5rem 2rem 2rem; transition: right .4s cubic-bezier(.2,.8,.4,1);
  box-shadow: -12px 0 40px rgba(0,0,0,.6); overflow-y: auto; z-index: 1000;
}
.nav__mobile-panel.show { right: 0; }

/* Mobile links */
@media (max-width: 767px) {
  .nav__toggle { display: block; }
  .nav__menu { display: none; } /* Hide desktop menu */
  
  .nav__mobile-panel .nav__list {
    flex-direction: column; gap: 1.8rem; width: 100%; margin-top: 1rem;
  }
  .nav__mobile-panel .nav__link {
    font-size: 1.35rem; color: var(--primary); font-weight: 600;
    padding: .6rem 0; display: block; position: relative;
  }
  .nav__mobile-panel .nav__link:hover { color: #fff; }
  .nav__mobile-panel .nav__link::after {
    content: ""; position: absolute; left: 0; bottom: 0;
    width: 0; height: 2px; background: #fff; transition: width .3s;
  }
  .nav__mobile-panel .nav__link:hover::after { width: 100%; }
}

/*====================================================================
  MOBILE LANGUAGE SWITCH – INSIDE PANEL
====================================================================*/
@media (max-width: 767px) {
  .lang-switch--mobile {
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    background: rgba(255, 255, 255, 0.08);
    padding: 0.45rem 0.9rem;
    border-radius: 2rem;
    font-weight: 600;
    font-size: 0.95rem;
    margin: 2.5rem auto 1.5rem;
    width: fit-content;
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 10;
  }

  .lang-switch--mobile .lang-label {
    display: inline-block !important;
    color: #ccc;
    transition: color 0.3s;
  }

  .lang-switch--mobile .lang-label.active {
    color: var(--primary);
  }

  .lang-switch--mobile .lang-toggle {
    width: 40px;
    height: 22px;
    background: #444;
    border-radius: 20px;
    position: relative;
  }

  .lang-switch--mobile .lang-toggle::before {
    content: "";
    position: absolute;
    top: 2px;
    left: 2px;
    width: 18px;
    height: 18px;
    background: #fff;
    border-radius: 50%;
    transition: transform 0.3s;
  }

  .lang-switch--mobile .lang-toggle.active {
    background: var(--primary);
  }

  .lang-switch--mobile .lang-toggle.active::before {
    transform: translateX(18px);
  }
}

/*====================================================================
  HERO
====================================================================*/
.hero-watch {
  height:100vh; background:linear-gradient(rgba(0,0,0,.75),rgba(0,0,0,.75)),
    url('https://images.unsplash.com/photo-1558618047-3c8c98e967d2?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=85') center/cover fixed;
  display:flex; align-items:center; justify-content:center; text-align:center;
  color:#fff; position:relative; overflow:hidden;
}
.hero-overlay { position:absolute; inset:0; background:#0f0f0f; }
.hero-content { position:relative; z-index:2; max-width:900px; padding:0 2rem; }
.hero-title { font-size:5rem; font-weight:800; letter-spacing:4px; margin-bottom:.8rem;
  text-shadow:0 4px 20px rgba(0,0,0,.8); }
.hero-subtitle { font-size:1.5rem; font-weight:300; letter-spacing:2px;
  margin-bottom:2.5rem; opacity:.95; text-shadow:0 2px 10px rgba(0,0,0,.6); }

/*====================================================================
  BUTTONS
====================================================================*/
.btn-primary {
  display:inline-block; padding:1.2rem 3rem;
  background:linear-gradient(135deg,#f58217,#e07a15);
  color:#fff; font-weight:600; font-size:1.1rem; border-radius:50px;
  box-shadow:0 8px 25px rgba(245,130,23,.3); letter-spacing:1px;
  transition:all .4s;
}
.btn-primary:hover {
  transform:translateY(-4px); box-shadow:0 15px 35px rgba(245,130,23,.4);
  background:linear-gradient(135deg,#e07a15,#d66a0f);
}

/*====================================================================
  TEAM
====================================================================*/
.team-preview { 
    padding: 6rem 0; 
    background: #f1f0f0; 
    text-align: center; 
}

.team-preview h2 { 
    font-size: 2.5rem; 
    margin-bottom: 3rem; 
    color: #111; 
}

.team-grid { 
    display: flex; 
    justify-content: center; 
    gap: 3rem; 
    flex-wrap: wrap; 
}

/* FIX: Added specific layout rules to center the content */
.team-member {
    display: flex;
    flex-direction: column; /* Stack image and text */
    align-items: center;    /* Center horizontally */
    text-align: center;
    width: 280px;
}

.team-member img { 
    width: 180px; 
    height: 180px; 
    object-fit: cover; 
    border-radius: 1.4rem;
    border: 5px solid #f0f0f0; 
    transition: .4s;
    
    /* FIX: Ensures image centers even if display is block */
    display: block;
    margin: 0 auto; 
}

.team-member p { 
    margin-top: 1rem; 
    font-weight: 600; 
    font-size: 1.1rem; 
    color: #ccc; 
}

.team-member:hover img { 
    border-color: var(--primary); 
    transform: scale(1.05);
    box-shadow: 0 15px 40px rgba(0,0,0,.2); 
}

/* Dark Mode */
.dark .team-preview { background: #0a0a0a; color: #eee; }
.dark .team-preview h2 { color: #eee; }
.dark .team-member p { color: #ccc; }



/*====================================================================
  SERVICES
====================================================================*/
.services { padding:6rem 0; background:#111; color:#fff; }
.services .container { display:grid; grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
  gap:2rem; justify-items:center; max-width:1400px; margin:0 auto; padding:0 1rem; }
.service-card { background:#1a1a1a; padding:2.5rem 2rem; border-radius:1.2rem;
  text-align:center; width:100%; max-width:320px; transition:all .4s;
  box-shadow:0 10px 30px rgba(0,0,0,.3); display:flex; flex-direction:column;
  align-items:center; justify-content:center; cursor:pointer; position:relative;
  overflow:hidden; border:2px solid transparent; color:inherit; }
.service-card:hover { transform:translateY(-18px); box-shadow:0 20px 40px rgba(245,130,23,.25);
  border:2px solid var(--primary); background:#1f1f1f; }
.service-card::before { content:''; position:absolute; inset:-50%; width:200%; height:200%;
  background:radial-gradient(circle,rgba(245,130,23,.15) 0%,transparent 70%);
  opacity:0; transition:opacity .4s; pointer-events:none; }
.service-card:hover::before { opacity:1; }
.service-card i { font-size:2.8rem; color:var(--primary); margin-bottom:1rem; }
.service-card h3 { font-size:1.4rem; margin-bottom:.8rem; color:#fff; font-weight:600; }
.service-card p { font-size:.95rem; opacity:.9; line-height:1.5; color:#ddd; }
@media (max-width:768px) {
  .services .container { grid-template-columns:1fr; gap:1.5rem; }
  .service-card { padding:2rem 1.5rem; }
}

/* Dark Mode */
.dark .service-card { background:#1f1f1f; }

/*====================================================================
  ICON FIX (Boxicons)
====================================================================*/
.bx { font-family:"boxicons" !important; }
.bx-file-text:before { content:"\eb6f" !important; font-size:2.8rem; color:var(--primary) !important;
  display:block !important; margin:0 auto 1rem !important; text-align:center !important; }

/*====================================================================
  PRICING PREVIEW
====================================================================*/
.pricing-preview { padding:6rem 0; background:#f8f8f8; text-align:center; }
.pricing-preview h2 { font-size:2.5rem; margin-bottom:1.5rem; color:#111; }
.pricing-text { font-size:1.1rem; color:#555; max-width:700px; margin:0 auto 2.5rem; line-height:1.6; }
@media (max-width:768px) {
  .pricing-preview { padding:4rem 0; }
  .pricing-preview h2 { font-size:2rem; }
}

/* Dark Mode */
.dark .pricing-preview { background:#0a0a0a; color:#eee; }
.dark .pricing-preview h2 { color:#eee; }
.dark .pricing-text { color:#ccc; }

/*====================================================================
  STATS BAR
====================================================================*/
.stats-bar { padding:4rem 0; background:linear-gradient(135deg,#0f0f0f,#1a1a1a); color:#fff; }
.stats-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(180px,1fr));
  gap:2rem; text-align:center; }
.stat-item h3 { font-size:3rem; font-weight:800; color:var(--primary); margin-bottom:.5rem; }
.stat-item p { font-size:1rem; opacity:.9; }


  /*====================================================================
    CLIENTS
  ====================================================================*/
  .clients { padding:5rem 0; background:#fff; text-align:center; }
  .clients h2 { margin-bottom:3rem; color:#111; }
  .client-grid { display:flex; justify-content:center; align-items:center;
    gap:3rem; flex-wrap:wrap; opacity:.6; transition:.3s; }
  .client-logo img { height:40px; filter:grayscale(100%); transition:.3s; }
  .client-logo:hover img { filter:grayscale(0%); opacity:1; transform:scale(1.1); }

/* Dark Mode */
.dark .clients { background:#0a0a0a; }
.dark .clients h2 { color:#eee; }

/*====================================================================
  PROCESS TIMELINE
====================================================================*/
.process { padding:6rem 0; background:#f8f8f8; text-align:center; overflow:hidden; }
.process h2 { margin-bottom:4rem; color:#111; font-size:2.5rem; }
.process-timeline { position:relative; display:flex; justify-content:space-between;
  align-items:flex-start; max-width:1000px; margin:0 auto; padding:0 1rem; }
.timeline-line { position:absolute; top:25px; left:60px; right:60px; height:4px;
  background:#ddd; z-index:1; border-radius:2px; }
.process-step { position:relative; z-index:2; flex:1; text-align:center; min-width:180px; }
.step-number { width:50px; height:50px; background:#ccc; color:#fff;
  font-size:1.5rem; font-weight:700; border-radius:50%; display:flex;
  align-items:center; justify-content:center; margin:0 auto 1.5rem;
  transition:all .4s; }
.step-number.active { background:var(--primary);
  animation:glowScale 1.2s ease-out forwards;
  box-shadow:0 0 0 8px rgba(245,130,23,.2),0 0 0 16px rgba(245,130,23,.1); }
@keyframes glowScale {
  0% { transform:scale(1); box-shadow:0 0 0 0 rgba(245,130,23,0); }
  50% { transform:scale(1.5); box-shadow:0 0 0 12px rgba(245,130,23,.4),
        0 0 0 24px rgba(245,130,23,.2),0 0 40px rgba(245,130,23,.8); }
  100% { transform:scale(1); box-shadow:0 0 0 8px rgba(245,130,23,.2); }
}
.step-content { max-width:200px; margin:0 auto; }
.step-content h3 { margin:0 0 .8rem; color:#111; font-size:1.2rem; }
.step-content p { color:#555; font-size:.95rem; line-height:1.5; }
.timeline-line.filled-1 { background:linear-gradient(to right,var(--primary) 25%,#ddd 25%); }
.timeline-line.filled-2 { background:linear-gradient(to right,var(--primary) 50%,#ddd 50%); }
.timeline-line.filled-3 { background:linear-gradient(to right,var(--primary) 75%,#ddd 75%); }
.timeline-line.filled-4 { background:var(--primary); }
@media (max-width:768px) {
  .process-timeline { flex-direction:column; align-items:center; }
  .timeline-line { display:none; }
  .process-step { margin-bottom:2rem; }
  .step-number { margin-bottom:1rem; }
}

/* Dark Mode */
.dark .process { background:#0a0a0a; }
.dark .process h2 { color:#eee; }
.dark .step-content h3 { color:#eee; }
.dark .step-content p { color:#bbb; }

/*====================================================================
  TESTIMONIALS
====================================================================*/
.testimonials { padding:6rem 0; background:#111; color:#eee; text-align:center; }
.testimonials h2 { margin-bottom:3rem; color:var(--primary); }
.testimonial-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(300px,1fr));
  gap:2rem; }
.testimonial-card { background:#1a1a1a; padding:2rem; border-radius:1.2rem;
  border-left:4px solid var(--primary); }
.testimonial-card p { font-style:italic; margin-bottom:1.5rem; opacity:.9; }
.client-info { text-align:left; }
.client-info strong { color:var(--primary); }

/*====================================================================
  CERTIFICATIONS
====================================================================*/
.certs { padding:4rem 0; text-align:center; }
.certs h2 { margin-bottom:2rem; color:#111; }
.certs-grid { display:flex; justify-content:center; gap:3rem; flex-wrap:wrap; }
.cert-item { display:flex; flex-direction:column; align-items:center; min-width:160px; }
.cert-item i { font-size:2.5rem; color:var(--primary); margin-bottom:.8rem; }
.cert-item p { font-weight:600; color:#333; }

/* Dark Mode */
.dark .certs { background:#0a0a0a; }
.dark .certs h2 { color:#eee; }
.dark .cert-item p { color:#ccc; }

/*====================================================================
  CTA
====================================================================*/
.cta { padding:6rem 0; background:#fff; text-align:center; }
.cta h2 { font-size:2.5rem; margin-bottom:1rem; }
.cta p { color:#555; max-width:600px; margin:0 auto 2rem; font-size:1.1rem; }

/* Dark Mode */
.dark .cta { background:#0a0a0a; color:#eee; }
.dark .cta h2 { color:#eee; }
.dark .cta p { color:#ccc; }

/*====================================================================
  FOOTER
====================================================================*/
.footer {
  padding: 3rem 1.5rem 2rem !important;
  text-align: center;
  background: var(--footer-bg);
  margin-top: auto;
}
.footer__title { font-size:2rem; margin-bottom:var(--mb-4); }
.footer__social { display:flex; justify-content:center; gap:.5rem;
  align-items:center; margin-bottom:var(--mb-4); }
.footer__icon {
  display:flex; align-items:center; gap:.25rem; color:var(--text);
  font-size:1.5rem; transition:all .3s; overflow:hidden; white-space:nowrap;
}
.footer__icon span { max-width:0; opacity:0; transition:all .3s; font-size:.875rem; }
.footer__icon:hover span { max-width:120px; opacity:1; margin-left:.5rem; }
.footer__icon.facebook:hover   { color:#1877F2; }
.footer__icon.instagram:hover  { color:#E1306C; }
.footer__icon.twitter:hover    { color:#1DA1F2; }
.footer__icon.youtube:hover    { color:#f50606; }
.footer__icon.linkedin:hover   { color:#018afa; }
.footer__copy { font-size:var(--smaller-font-size); }

/*====================================================================
  NEWS & BLOG SECTION
====================================================================*/
.news-blog {
  padding:6rem 0; background:linear-gradient(135deg,#0a0a0a 0%,#111 100%);
  color:#eee; text-align:center; position:relative; overflow:hidden;
}
.news-blog h2 {
  font-size:2.5rem; margin-bottom:1rem; color:var(--primary);
  position:relative; display:inline-block;
}
.news-blog h2::after {
  content:''; position:absolute; bottom:-8px; left:50%;
  transform:translateX(-50%); width:80px; height:4px;
  background:var(--primary); border-radius:2px;
}
.news-subtitle { max-width:720px; margin:0 auto 3rem; font-size:1.1rem;
  opacity:.9; line-height:1.6; }
.news-grid {
  display:grid; grid-template-columns:repeat(2,minmax(0,1fr));
  gap:2rem; max-width:1300px; margin:0 auto;
}
.news-card {
  background:#1a1a1a; border-radius:1.4rem; overflow:hidden;
  transition:transform .4s,box-shadow .4s; box-shadow:0 8px 25px rgba(0,0,0,.3);
  position:relative;
}
.news-card:hover { transform:translateY(-12px);
  box-shadow:0 20px 45px rgba(245,130,23,.2); }
.news-card::before {
  content:''; position:absolute; inset:0;
  background:linear-gradient(135deg,rgba(245,130,23,.12) 0%,transparent 70%);
  opacity:0; transition:opacity .4s; pointer-events:none;
}
.news-card:hover::before { opacity:1; }
.news-link { display:block; color:inherit; text-decoration:none; }
.news-img-wrapper { position:relative; height:360px; overflow:hidden; background: #1a1a1a; }
.news-img-wrapper img { width:100%; height:100%; object-fit:cover;
  transition:transform .6s; }
.news-card:hover .news-img-wrapper img { transform:scale(1.1); }
.news-content { padding:1.5rem 1.2rem; text-align:left; }
.news-date { display:block; font-size:.85rem; color:var(--primary);
  margin-bottom:.5rem; font-weight:600; }
.news-content h3 { font-size:1.25rem; margin:0 0 .6rem; color:#fff; line-height:1.3; }
.news-content p { font-size:.95rem; color:#ccc; margin:0 0 1rem; line-height:1.5; }
.news-readmore { color:var(--primary); font-weight:600; font-size:.95rem;
  transition:color .3s; }
.news-readmore:hover { color:#fff; }
.news-cta-wrapper { margin-top:3rem; }
@media (max-width:768px) {
  .news-blog { padding:4rem 0; }
  .news-blog h2 { font-size:2rem; }
  .news-img-wrapper { height:200px; }
  .news-content { padding:1.2rem 1rem; }
  .news-grid { grid-template-columns:1fr; }
}

/* Dark Mode */
.dark .news-blog { background:#0a0a0a; }

/*====================================================================
  ACTIVE LINK & COUNTERS
====================================================================*/
.active-link { color:var(--primary) !important; }
.active-link::after { transform:scaleX(1) !important; }

.counter { font-size:3rem; font-weight:800; color:var(--primary);
  margin-bottom:.5rem; display:inline-block; }
.currency, .percent { font-size:1.8rem; font-weight:700; color:var(--primary);
  vertical-align:top; margin-left:4px; }
.stat-item p { font-size:1rem; opacity:.9; margin-top:0; }
.counter.animate { animation:countUp 2s ease-out forwards; }
@keyframes countUp { from{opacity:0;transform:translateY(20px);}
  to{opacity:1;transform:translateY(0);} }

/*====================================================================
  LANGUAGE FADE ANIMATION (used by lang.js)
====================================================================*/
.lang-fade { animation:langFade .35s ease-out; }
@keyframes langFade {
  from { opacity:0; transform:translateY(6px); }
  to   { opacity:1; transform:translateY(0); }
}

/*====================================================================
  MOBILE RESPONSIVE FIXES
====================================================================*/
@media (max-width:768px) {
  .hero-title { font-size:3.2rem; }
  .hero-subtitle { font-size:1.2rem; }
  .team-grid, .services .container { flex-direction:column; align-items:center; }
  .map-container { height:200px; }
  .map-dot span { display:none; }
  .map-modal-content { width:95%; height:70vh; border-radius:1.5rem; }
  .map-close { top:8px; right:12px; width:36px; height:36px; font-size:1.8rem; }
}

/*====================================================================
  UNIVERSAL GLOW HOVER (for service-card, news-card, team-member, etc.)
====================================================================*/
.glow-hover {
  background: #1a1a1a;
  border-radius: 1.2rem;
  padding: 1.2rem 1.6rem;
  transition: all .4s ease;
  box-shadow: 0 10px 30px rgba(0,0,0,.3);
  position: relative;
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
}
.glow-hover:hover {
  transform: translateY(-18px);
  box-shadow: 0 20px 40px rgba(245,130,23,.25);
  border: 2px solid var(--primary);
  background: #1f1f1f;
}
.glow-hover::before {
  content: '';
  position: absolute;
  inset: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(245,130,23,.15) 0%, transparent 70%);
  opacity: 0;
  transition: opacity .4s;
  pointer-events: none;
}
.glow-hover:hover::before { opacity: 1; }

/* Dark Mode */
.dark .glow-hover { background: #111; }
.dark .glow-hover:hover { background: #1a1a1a; }

/*====================================================================
  THEME TOGGLE (floating button)
====================================================================*/
.theme-toggle {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  width: 52px;
  height: 52px;
  background: rgba(255,255,255,0.96);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.45rem;
  cursor: pointer;
  box-shadow: 0 8px 25px rgba(0,0,0,0.22);
  z-index: 9999;
  backdrop-filter: blur(12px);
  transition: 0.4s ease;
}
.theme-toggle:hover { transform: scale(1.12); }
.dark .theme-toggle { background: #222; color: #fff; }

/*====================================================================
  PRO NEON SNAKE GLOW – AMELIKA LLC (ULTRA PREMIUM)
====================================================================*/
.neon-snake {
  position: relative;
  display: inline-block;
  font-family: "Poppins", sans-serif;
  font-weight: 800;
  letter-spacing: 6px;
  text-transform: uppercase;
  padding: 1.2rem 2rem;
  z-index: 2;
  isolation: isolate;
  cursor: default;
}

.neon-snake .text-3d {
  position: relative;
  display: inline-block;
  color: #fff;
  text-shadow: 
    0 1px 0 #ccc,
    0 2px 0 #c9c9c9,
    0 3px 0 #bbb,
    0 4px 0 #b9b9b9,
    0 5px 0 #aaa,
    0 6px 1px rgba(0,0,0,.1),
    0 0 5px rgba(255,255,255,.1),
    0 1px 3px rgba(255,255,255,.3),
    0 3px 5px rgba(255,255,255,.2),
    0 5px 10px rgba(255,255,255,.25),
    0 10px 10px rgba(255,255,255,.2),
    0 20px 20px rgba(255,255,255,.15);
  transition: all 0.4s ease;
  z-index: 2;
}

.neon-snake .text-3d.llc {
  font-size: 0.65em;
  letter-spacing: 3px;
  vertical-align: super;
  margin-left: 8px;
  opacity: 0.95;
}

/* SVG Snake Path (hidden but animated) */
.neon-snake svg {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 120%;
  height: 140%;
  transform: translate(-50%, -50%);
  z-index: -1;
  pointer-events: none;
  filter: drop-shadow(0 0 20px rgba(245,130,23,0.8));
}

.neon-snake svg path {
  fill: none;
  stroke: url(#snakeGradient);
  stroke-width: 4;
  stroke-linecap: round;
  stroke-dasharray: 1200;
  stroke-dashoffset: 1200;
  animation: snakeFlow 5s linear infinite;
}

/* Gradient Definition */
.neon-snake defs {
  display: none;
}

/* Liquid Metal Gradient */
#snakeGradient stop {
  stop-color: #f58217;
  stop-opacity: 1;
}
#snakeGradient stop:nth-child(2) { stop-color: #ff9a3d; }
#snakeGradient stop:nth-child(3) { stop-color: #f58217; }

/* Hover: Holographic Shimmer + Lift */
.neon-snake:hover .text-3d {
  transform: translateY(-4px);
  text-shadow: 
    0 1px 0 #ccc,
    0 2px 0 #c9c9c9,
    0 3px 0 #bbb,
    0 4px 0 #b9b9b9,
    0 5px 0 #aaa,
    0 6px 1px rgba(0,0,0,.1),
    0 0 15px rgba(245,130,23,.8),
    0 0 25px rgba(245,130,23,.6),
    0 0 40px rgba(245,130,23,.5),
    0 0 60px rgba(245,130,23,.4),
    0 0 80px rgba(245,130,23,.3);
}

/* Snake Flow Animation */
@keyframes snakeFlow {
  to {
    stroke-dashoffset: 0;
  }
}

/* Responsive */
@media (max-width: 768px) {
  .neon-snake {
    padding: 0.8rem 1.2rem;
  }
  .neon-snake .text-3d {
    font-size: 3.2rem !important;
  }
  .neon-snake .text-3d.llc {
    font-size: 0.6em;
  }
  .neon-snake svg {
    width: 130%;
    height: 160%;
  }
}

/* Dark Mode – Even More Intense */
.dark .neon-snake .text-3d {
  color: #fff;
  text-shadow: 
    0 1px 0 #ccc,
    0 2px 0 #bbb,
    0 3px 0 #aaa,
    0 4px 0 #999,
    0 5px 0 #888,
    0 6px 1px rgba(0,0,0,.3),
    0 0 20px rgba(245,130,23,.9),
    0 0 40px rgba(245,130,23,.7),
    0 0 60px rgba(245,130,23,.5),
    0 0 80px rgba(245,130,23,.4);
}

.dark .neon-snake svg path {
  filter: drop-shadow(0 0 30px rgba(245,130,23,1));
}

/*====================================================================
  GLOBAL ANIMATIONS – SCROLL-TRIGGERED & INTERACTIVE
====================================================================*/

/* 1. SECTION FADE-IN ON SCROLL */
.section-animate {
  opacity: 0;
  transform: translateY(60px);
  transition: all 1.2s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.section-animate.visible {
  opacity: 1;
  transform: translateY(0);
}

/* 2. STAGGERED CARD APPEAR */
.card-stagger {
  opacity: 0;
  transform: translateY(40px) scale(0.95);
  transition: all 0.8s ease-out;
}
.card-stagger.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}
.card-stagger:nth-child(1) { transition-delay: 0.1s; }
.card-stagger:nth-child(2) { transition-delay: 0.2s; }
.card-stagger:nth-child(3) { transition-delay: 0.3s; }
.card-stagger:nth-child(4) { transition-delay: 0.4s; }

/* 5. MAP DOTS – PULSE + POP ON HOVER */
.map-dot {
  transition: all 0.4s ease;
}
.map-dot:hover {
  transform: translate(-50%, -50%) scale(1.4);
  box-shadow: 0 0 50px rgba(245,130,23,1);
  z-index: 20;
}
.map-dot span {
  transform: translateX(-50%) scale(0);
  transition: all 0.4s ease;
}
.map-dot:hover span {
  transform: translateX(-50%) scale(1);
}

/* 6. STATS COUNTER – SMOOTH ROLL UP */
.counter {
  opacity: 100;
  transform: translateY(20px);
}
.counter.visible {
  opacity: 1;
  transform: translateY(0);
  animation: countUp 2s ease-out forwards;
}
@keyframes countUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* 7. CLIENT LOGOS – SLIDE IN + HOVER ZOOM */
.client-logo {
  opacity: 0;
  transform: translateX(-40px);
  transition: all 0.8s ease;
}
.client-logo.visible {
  opacity: 1;
  transform: translateX(0);
}
.client-logo:hover img {
  transform: scale(1.3) rotate(5deg);
  filter: grayscale(0%) brightness(1.2);
}

/* 8. PROCESS TIMELINE – DRAW LINE + POP STEPS */
.timeline-line {
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
  animation: drawLine 2s ease-out forwards;
}
@keyframes drawLine {
  to { stroke-dashoffset: 0; }
}
.process-step {
  opacity: 0;
  transform: scale(0.8);
}
.process-step.visible {
  opacity: 1;
  transform: scale(1);
  animation: popStep 0.6s ease-out forwards;
}
@keyframes popStep {
  0% { transform: scale(0.8); }
  60% { transform: scale(1.15); }
  100% { transform: scale(1); }
}

/* TESTIMONIALS – SMOOTH APPEAR WITHOUT HORIZONTAL OVERFLOW */
.testimonial-card {
  opacity: 0;
  transform: translateY(40px);   /* Only vertical movement = safe */
  transition: all 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Staggered fade-in + slight pop (beautiful but safe) */
.testimonial-card.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Optional: tiny delay for staggered effect (looks premium) */
.testimonial-card.visible:nth-child(1) { transition-delay: 0.1s; }
.testimonial-card.visible:nth-child(2) { transition-delay: 0.2s; }
.testimonial-card.visible:nth-child(3) { transition-delay: 0.3s; }
.testimonial-card.visible:nth-child(4)     { transition-delay: 0.4s; }

/* 10. CTA BUTTON – BREATHE + SHIMMER */
.cta .btn-primary {
  animation: breathe 3s ease-in-out infinite;
  position: relative;
  overflow: hidden;
}
.cta .btn-primary::before {
  content: '';
  position: absolute;
  top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: linear-gradient(135deg, transparent, rgba(255,255,255,0.3), transparent);
  transform: rotate(45deg);
  animation: shimmer 3s infinite;
  opacity: 0;
}
.cta .btn-primary:hover::before {
  opacity: 1;
}
@keyframes breathe {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.03); }
}
@keyframes shimmer {
  0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
  100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

/* 11. FOOTER SOCIAL – POP ON HOVER */
.footer__icon {
  transform: scale(1);
  transition: all 0.3s ease;
}
.footer__icon:hover {
  transform: scale(1.3) translateY(-4px);
}
.footer__icon span {
  transition: all 0.4s ease;
}

/* 12. MOBILE MENU – SMOOTH SLIDE + FADE */
.nav__mobile-panel {
  transition: right 0.5s cubic-bezier(0.25, 0.8, 0.25, 1), opacity 0.4s ease;
  opacity: 0;
}
.nav__mobile-panel.show {
  opacity: 1;
}
.nav__mobile-panel .nav__link {
  opacity: 0;
  transform: translateX(-30px);
  transition: all 0.5s ease;
}
.nav__mobile-panel.show .nav__link {
  opacity: 1;
  transform: translateX(0);
}
.nav__mobile-panel.show .nav__link:nth-child(1) { transition-delay: 0.1s; }
.nav__mobile-panel.show .nav__link:nth-child(2) { transition-delay: 0.2s; }
.nav__mobile-panel.show .nav__link:nth-child(3) { transition-delay: 0.3s; }

/*====================================================================
  PROCESS – HORIZONTAL TIMELINE (LIKE YOUR IMAGE)
====================================================================*/
.process-timeline-horizontal {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  position: relative;
  margin: 3rem 0;
  flex-wrap: wrap;
  gap: 2rem;
}

.process-step-h {
  flex: 1;
  min-width: 200px;
  text-align: center;
  position: relative;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

.process-step-h.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Circle with number */
.step-circle {
  width: 60px;
  height: 60px;
  background: #333;
  color: #fff;
  font-weight: 700;
  font-size: 1.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  position: relative;
  z-index: 2;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
  transition: all 0.4s ease;
}

.process-step-h:hover .step-circle {
  background: var(--primary);
  transform: scale(1.15);
  box-shadow: 0 0 25px rgba(245,130,23,0.6);
}

/* Connecting Line */
.process-timeline-horizontal::before {
  content: '';
  position: absolute;
  top: 30px;
  left: 60px;
  right: 60px;
  height: 4px;
  background: #444;
  z-index: 1;
}

.process-step-h:first-child .step-circle { margin-left: auto; }
.process-step-h:last-child .step-circle { margin-right: auto; }

/* Step Content */
.step-content h3 {
  font-size: 1.3rem;
  margin: 0.8rem 0 0.5rem;
  color: #fff;
}
.step-content p {
  font-size: 0.95rem;
  color: #ccc;
  margin: 0;
  line-height: 1.5;
}

/* Dark Mode */
.dark .step-circle { background: #444; }
.dark .process-timeline-horizontal::before { background: #555; }
.dark .step-content h3 { color: #fff; }
.dark .step-content p { color: #aaa; }

/* Mobile – Stack Vertically */
@media (max-width: 768px) {
  .process-timeline-horizontal {
    flex-direction: column;
    align-items: center;
  }
  .process-timeline-horizontal::before {
    display: none;
  }
  .process-step-h {
    width: 100%;
    max-width: 300px;
  }
  .step-circle {
    margin: 0 auto 1rem;
  }
}

/* ============================================================= */
/* FOOTER ICONS – HOVER ONLY (NO FLOAT)                        */
/* ============================================================= */

.footer__icon {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #ccc;
  font-size: 1.1rem;
  text-decoration: none;
  transition: all 0.3s ease;
  padding: 0.5rem 0;
}

.footer__icon i {
  font-size: 1.4rem;
  transition: transform 0.3s ease;
}

/* HOVER: lift + color */
.footer__icon:hover {
  color: var(--primary); /* orange */
  transform: translateY(-3px);
}

.footer__icon:hover i {
  transform: scale(1.2);
}

.progress-section {
  padding: 6rem 0;
  background: #0a0a0a;
  color: #eee;
  text-align: center;
}

.progress-container {
  max-width: 900px;
  margin: 3rem auto 0;
  padding: 0 1rem;
}

.progress-bar {
  position: relative;
  height: 3rem;
  background: #1a1a1a;
  border-radius: 2rem;
  overflow: hidden;
  box-shadow: inset 0 4px 12px rgba(0,0,0,.4);
  margin-bottom: 2rem;
}

.progress-fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #f58217, #ff9a3d);
  border-radius: 2rem;
  transition: width 0.6s ease;
  box-shadow: 0 0 25px rgba(245, 130, 23, 0.6);
}

.progress-label {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
  z-index: 2;
}

.progress-steps {
  display: flex;
  justify-content: space-between;
  font-size: 0.95rem;
  color: #aaa;
  flex-wrap: wrap;
}

.progress-steps .step {
  flex: 1;
  text-align: center;
  padding: 0 0.5rem;
  position: relative;
  transition: color 0.4s ease;
}

.progress-steps .step::before {
  content: "";
  position: absolute;
  top: -1.22rem;
  left: 50%;
  transform: translateX(-50%);
  width: 12px;
  height: 12px;
  background: #333;
  border-radius: 50%;
  transition: all 0.4s ease;
}

.progress-steps .step.active {
  color: #f58217;
  font-weight: 600;
}

.progress-steps .step.active::before {
  background: #f58217;
  box-shadow: 0 0 20px rgba(245, 130, 23, 0.7);
  transform: translateX(-50%) scale(1.3);
}

@media (max-width: 768px) {
  .progress-steps {
    flex-direction: column;
    gap: 1.2rem;
  }
  .progress-steps .step::before {
    top: auto;
    left: -2rem;
    bottom: 0.3rem;
  }
}

/* ============================================================
   DARK MODE TOGGLE – ANIMATED SUN/MOON (FIXED & PERFECT)
   ============================================================ */

.theme-toggle {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.6rem;
  color: #1a1a1a;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
  transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
  z-index: 9999;
  overflow: hidden;
  border: 3px solid transparent;
  backdrop-filter: blur(12px);
}

.theme-toggle::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(circle at center, rgba(245, 130, 23, 0.15) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.theme-toggle:hover::before {
  opacity: 1;
}

.theme-toggle i {
  position: absolute;
  transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  font-size: 1.6rem;
}

.theme-toggle .bx-moon {
  opacity: 1;
  transform: translateY(0) rotate(0deg);
  color: #ffd43b;
}

.theme-toggle .bx-sun {
  opacity: 0;
  transform: translateY(20px) rotate(180deg);
  color: #ff6b35;
}

.theme-toggle.active .bx-moon {
  opacity: 0;
  transform: translateY(-20px) rotate(-180deg);
}

.theme-toggle.active .bx-sun {
  opacity: 1;
  transform: translateY(0) rotate(0deg);
}

/* PULSE ON CLICK */
.theme-toggle:active {
  transform: scale(0.92);
}

.theme-toggle::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid #f58217;
  opacity: 0;
  transform: scale(0.8);
  animation: pulse-ring 1.5s infinite;
  pointer-events: none;
}

@keyframes pulse-ring {
  0% { transform: scale(0.8); opacity: 0.6; }
  70% { transform: scale(1.4); opacity: 0; }
  100% { transform: scale(1.4); opacity: 0; }
}

/* HOVER LIFT */
.theme-toggle:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(245, 130, 23, 0.3);
}

/* DARK MODE */
.dark .theme-toggle {
  background: #111;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.1);
}

.dark .theme-toggle:hover {
  box-shadow: 0 12px 40px rgba(255, 255, 255, 0.1);
}

.footer-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 2rem 1rem;
}

.footer__logo {
  margin-bottom: 1rem;
}

/* 3. FOOTER LOGO – IDENTICAL size everywhere */
.footer-logo-img,
.footer__logo img,
#footer-logo,
footer img {
  height: 160px !important;
  width: auto !important;
  padding: 0 !important;
  margin: 2rem auto 1.5rem auto !important;
  display: block;
}
@media (max-width: 768px) {
  .footer-logo-img,
  .footer__logo img,
  #footer-logo,
  footer img {
    height: 130px !important;
  }
}

/* Header logo – IDENTICAL size everywhere */
.nav__logo img,
.header .logo-img,
#nav-logo,
nav img.logo-img {
  height: 110px !important;
  width: auto !important;
  padding: 0 !important;
  margin: 0 !important;
  display: block;
}
@media (max-width: 768px) {
  .nav__logo img,
  .header .logo-img,
  #nav-logo,
  nav img.logo-img {
    height: 80px !important;
  }
}


body
/* Just add these 4 lines – nothing else */
html, body {
  width: 100vw;
  margin: 0;
  padding: 0;
}

/* This alone kills 99% of mobile overflow glitches */
* {
  max-inline-size: 100vw;   /* modern CSS – forces everything inside viewport */
  overflow-wrap: anywhere;
}

/* FINAL — THIS ONE ACTUALLY WORKS — NO MORE EXPERIMENTS */
html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  overflow-x: visible;           /* kills horizontal overflow */
  overflow-y: visible;
}

body {
  position: relative;           /* keeps everything normal */
}

/* hides the ugly second/ghost scrollbar but keeps smooth scrolling */
html { 
  -ms-overflow-style: none;     /* IE + Edge */
      /* Firefox */
}
html::-webkit-scrollbar { 
  display: none;                /* Chrome, Safari, new Edge, all mobiles */
}

/* Fix header height */
.l-header {
  height: 90px !important;
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
}

/* Fix logos — remove insane padding */
.nav__logo .logo-img,
.footer-logo-img {
  padding: 0 !important;
  margin: 0 auto !important;
  height: 120px !important;
  width: auto !important;
  display: block !important;
}
@media (max-width: 768px) {
  .nav__logo .logo-img,
  .footer-logo-img { height: 80px !important; }
}


/* Optional: make sure your back button / nav links stay the same */
.back-btn {
  height: 40px;
  padding: 0.55rem 1.1rem;
  font-size: 0.94rem;
}

/* Fix for Dynamic Stats Grid */
#dynamic-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); /* 4 items per row */
    gap: 2rem;
    width: 100%;
    text-align: center;
    align-items: center;
    justify-content: center;
}

/* Ensure the section background stays dark */
#stats-section {
    background: #0a0a0a; /* Or your linear-gradient */
    color: #fff;
}

/* Force Stats Text Color */
#stats-section .stat-item p {
    color: #ffffff !important;
    opacity: 0.9;
}

/* Footer Bottom Styling */
.footer-bottom {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 1rem;
    color: var(--text-color); /* Uses your theme variable */
}

.footer-bottom p {
    margin: 0;
}

.footer-link {
    color: inherit;
    text-decoration: none;
    opacity: 0.8;
    transition: 0.3s;
    border-bottom: 1px dashed transparent;
}

.footer-link:hover {
    opacity: 1;
    color: #f58217; /* Your orange accent */
    border-bottom-color: #f58217;
}

.separator {
    opacity: 0.5;
}

