/* Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Inter:wght@400;500;600;700&display=swap');

:root {
  --primary-color: #34DE79;
  --secondary-color: #717171;
  --btn-bg: #16C15B;
  --bg-color: #71717150;
  --border-color: #BDBDBD;
  --hover-bg: #f6f6f6;
  --font-family: 'Inter', sans-serif;
  --heading-font: 'Bebas Neue', sans-serif;
  --sections-padding: 0vw 4vw;
  --nav: 64px;

  /* Cursor */
  --gx-rgb: 0, 204, 0;
  --gx-tip: 8px;
  --gx-halo: 44px;
  --gx-z: 999999;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  cursor: default;
}

/* html {
  scroll-snap-type: y mandatory;
  scroll-behavior: smooth;
} */

body {
  font-family: var(--font-family);
  background: url('../images/bg.jpg') center center / cover no-repeat;
  background-attachment: fixed;
  background-color: #484848;
}


/* -------------------------- */

.gx-cursor {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: var(--gx-z);
  opacity: 0;
  transition: opacity .2s ease;
}

/* OUTER HALO (your existing styles can stay) */
.gx-halo {
  position: fixed;
  width: var(--gx-halo);
  height: var(--gx-halo);
  border-radius: 50%;
  border: 2px solid rgba(var(--gx-rgb), 1);
  box-shadow: 0 0 16px rgba(var(--gx-rgb), .35);
  will-change: transform;
  opacity: 0.5;
}

@media (hover:none),
(pointer:coarse) {
  .gx-cursor {
    display: none !important;
  }
}


/* ----------------------------- */


/* Ensure anything [hidden] never flashes */
[hidden] {
  display: none !important;
}

/* --- Base Reset / Utilities --- */

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.no-scroll {
  overflow: hidden;
}

/* ============================== Navbar ============================== */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--nav);
  z-index: 1000;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.nav-wrap {
  font-size: clamp(10px, 1.24vw, 34px);
  background-color: rgba(0, 0, 0, 0.12);
  max-width: 100vw;
  margin: 0 auto;
  padding: 1vw 4vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  text-decoration: none;
  color: #fff;
}

.brand-logo {
  width: clamp(96px, 10vw, 260px);
  /* max-height: calc(var(--nav) - 16px); */
  object-fit: contain;
}

.ri-home-4-fill {
  padding-right: 6px;
  color: #fff;
}

/* Desktop nav hidden by default (shown via media query) */
.nav-desktop {
  display: none;
  gap: 18px;
  align-items: center;
}

.nav-desktop a {
  color: #fff;
  position: relative;
  display: inline-block;
  padding: 8px 12px;
  text-decoration: none;
  font-weight: 200;
}

/* double-dot effect */
.nav-desktop a::before,
.nav-desktop a::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 50%;
  background-color: var(--primary-color);
  opacity: 0;
  transition: opacity .35s ease;
  pointer-events: none;
}

.nav-desktop a::before {
  width: 12px;
  height: 12px;
  bottom: -8px;
}

.nav-desktop a::after {
  width: 6px;
  height: 6px;
  bottom: -5px;
}

.nav-desktop a:hover::before {
  opacity: .4;
}

.nav-desktop a:hover::after {
  opacity: 1;
}

.nav-desktop a.active::before {
  opacity: .4;
}

.nav-desktop a.active::after {
  opacity: 1;
}

/* Header button */
.hbtn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: #24382D;
  color: #fff;
  border-radius: 999px;
  border: 1px solid #484848;
  padding: 10px 16px;
  text-decoration: none;
  font-weight: 600;
}

.hbtn:hover {
  background: var(--primary-color);
  border-color: var(--primary-color);
  color: #fff;
  transition: background .3s ease, border .3s ease;
}

.hbtn.active {
  background: var(--primary-color);
  border-color: var(--primary-color);
  color: #fff;
  transition: background .3s ease, border .3s ease;
}

/* Hamburger (mobile) */
.hamburger {
  display: inline-flex;
  color: white;
  margin: 8px 2px;
  width: 28px;
  height: 28px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  background: var(--bg-color);
  cursor: pointer;
  font-size: 22px;
}

/* ==== Mobile Fullscreen Menu ==== */
.mobile-menu {
  position: fixed;
  color: white;
  border-radius: 0px 0px 20px 20px;
  height: 60vh;
  padding: 10px;
  inset: 0;
  background-color: #484848;
  transform: translateY(-100%);
  opacity: 0;
  visibility: hidden;
  transition: transform 1s ease, opacity 1s ease, visibility 1s;
}

.mobile-menu.open {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.mobile-menu-inner {
  height: 100dvh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  padding: 16px 20px 28px;
}

.nav-mobile-open {
  display: flex;
  justify-content: space-between;
}

.nav-mobile-open img {
  object-fit: contain;
  width: 160px;
  max-width: 100%;
}

.close-btn {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  border: 1px solid #e6e6e6;
  background: #fff;
  cursor: pointer;
  font-size: 22px;
}

.nav-mobile {
  display: grid;
  align-content: start;
  gap: 14px;
  margin-top: 20px;
}

.mobile-link {
  display: block;
  font-size: 20px;
  font-weight: 600;
  padding: 12px 10px;
  border-radius: 12px;
  border: 1px solid transparent;
  color: white;
  text-decoration: none;
}

.mobile-link:hover {
  background: #f7f7f7;
}

.mobile-meta {
  margin-top: 10px;
  display: grid;
  gap: 8px;
  border-top: 1px dashed #eee;
  padding-top: 12px;
}

.meta-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--btn-bg);
  font-weight: 600;
  font-size: 4.4vw;
  text-decoration: none;
}

.meta-item i {
  font-size: 18px;
}

/* ==== Helpers ==== */
.only-desktop {
  display: none;
}

.sections {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100dvh;
  padding: var(--sections-padding);
  scroll-padding-top: var(--nav);
  overflow: hidden;
  /* scroll-snap-align: start; */
}

/* ============================== Hero Section ============================== */


.wrap {
  width: 100%;
  max-width: 2200px;
  margin: 40px auto;
  padding: 0 20px;
}

/* Hero text */
.hero-text {
  margin-bottom: 60px;
  text-align: center;
}

.hero-text h1 {
  font-size: clamp(20px, 3.4vw, 100px); /* adjust size */
  font-weight: bold;
  background: linear-gradient(90deg, var(--primary-color), #ffffff, var(--primary-color));
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradientFlow 6s linear infinite;
  font-weight: 400;
  margin: 0;
}

@keyframes gradientFlow {
  from {
    background-position: 0% center;
  }
  to {
    background-position: 200% center;
  }
}

.hero-text p {
  font-size: clamp(10px, 1.4vw, 34px);
  margin: 0;
  color: #a4afc3;
}

/* Grid: 1 column mobile, 2 tablet, 4 desktop */
.grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

/* Card */
.card {
  background: var(--bg-color);
  border: 1px solid #696969;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0, 0, 0, .22);
  transition: transform .25s ease, box-shadow .25s ease;
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 52px rgba(0, 0, 0, .35);
  border-color: #8e8e8e;
}

/* Media */
.card__media {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
}

.card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.card__media::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, .25) 0%, rgba(0, 0, 0, .55) 65%, rgba(0, 0, 0, .75) 100%);
  z-index: 0;
}

.card__media h3 {
  font-family: var(--heading-font);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  margin: 0;
  font-size: clamp(10px, 4vw, 80px);
  line-height: 1;
  color: white;
  font-weight: 800;
  text-transform: uppercase;
  text-align: center;
}

.card__media::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 50%;
  border-bottom: 3px solid #fff;
  border-radius: 50px;
  opacity: .6;
}

/* Badge */
.badge {
  position: absolute;
  top: 12px;
  left: 12px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(15, 22, 40, .85);
  border: 1px solid rgba(255, 255, 255, .12);
  display: grid;
  place-items: center;
  z-index: 2;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .25);
}

.badge i {
  font-size: 14px;
  color: #e3e3e3;
}

/* Body */
.card__body {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  padding: 10px;
  text-align: center;
  flex-grow: 1;

}

.card__body .btn {
  margin-top: 20px;
  /* ensures button always sits a bit under description */
}

.card__desc {
  color: #a4afc3;
  line-height: 1.5;
  font-size: clamp(10px, 1vw, 24px);
}

/* Button */
.card-btn {
  display: inline-block;
  min-width: 160px;
  align-items: center;
  text-align: center;
  padding: 12px 18px;
  border-radius: 999px;
  border: none;
  background: var(--btn-bg);
  color: white;
  font-weight: 400;
  letter-spacing: .03em;
  box-shadow: inset 0 -2px 0 rgba(0, 0, 0, .08), 0 6px 18px rgba(0, 0, 0, .18);
  transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
  cursor: pointer;
  font-size: clamp(10px, 1.2vw, 34px);
}


/* Button */
.btn {
  display: inline-block;
  font-size: clamp(10px, 1.2vw, 34px);
  min-width: 160px;
  align-items: center;
  text-align: center;
  padding: 12px 18px;
  border-radius: 999px;
  border: none;
  background: var(--btn-bg);
  color: white;
  font-weight: 400;
  letter-spacing: .03em;
  box-shadow: inset 0 -2px 0 rgba(0, 0, 0, .08), 0 6px 18px rgba(0, 0, 0, .18);
  transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
  cursor: pointer;
}

.btn:hover {
  box-shadow: #34DE79 inset 0px 0, 0 4px 12px rgba(0, 255, 21, 0.188);
}

.ri-external-link-line {
  margin-left: 4px;
  font-size: 16px;
}

/* ============================== About Section ============================== */

.about {
  display: flex;
  align-items: center;
  gap: 1vw;
}

.about-left {
  /* background-color: red; */
  min-width: 50%;
}

.about-right {
  /* background-color: blue; */
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 50%;
  align-items: center;
}

.about-content {
  padding: 0vw 1vw;
  border-left: 2px solid var(--primary-color);
  margin-bottom: 2vw;
}

.about-heading {
  color: var(--primary-color);
  font-size: 1.6vw;
  margin-bottom: 0.4svh;
}

.about-description {
  
  color: white;
  font-size: 1vw;
  font-weight: 200;
  margin: 0px;
  text-align: justify;
}

/* ========== About Video ========== */
.video-shell {
  margin-bottom: 20px;
}

.video-card {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  /* height: 420px; */
}

.video-card .plyr {
  height: 100%;
  border-radius: inherit;
  overflow: hidden;
}

.video-card .plyr__video-wrapper {
  height: 100%;
}

.video-card video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}


.counters {
  display: flex;
  justify-content: space-between;
  max-width: 800px;
  width: 100%;
  text-align: center;
  gap: 40px;
  /* background: #f5f5f5; */
}

.counter-box {
  font-family: var(--heading-font);
  width: 248px;
  font-size: 4vw;
  font-weight: bold;
  color: var(--primary-color);
  background-color: var(--bg-color);
  padding: 10px;
  border-radius: 10px;

}

.counter-box p {
  font-family: var(--font-family);
  font-size: 1.2vw;
  font-weight: normal;
  margin: 8px 0 0;
  color: white;
}

/* Trusted Slider*/



/* ============================== Case Study Page ============================== */

#case .wrap{
  margin-top: 6vw;
}

#case .wrap h2 {
  color: var(--primary-color);
  font-size: clamp(10px, 2vw, 60px);
  font-weight: 700;
  margin: 0 0 12px;
}

.case-layout {
  display: grid;
  grid-template-columns: 1fr clamp(10px, 26vw, 540px);
  gap: 24px;
  align-items: center;
}

.details {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 10px;
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  gap: 14px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
}

.media {
  border-radius: 10px;
  height: clamp(200px, 16vw, 540px);
  overflow: hidden;
}

.media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.meta p {
  font-size: clamp(10px, 1.2vw, 36px);
  color: white;
  margin: 6px 0;
}

.block {
  border-radius: 10px;
}

.block h4 {
  color: var(--primary-color);
  margin: 0 0 6px;
  font-size: clamp(10px, 1.6vw, 36px);
}

.block p {
  font-weight: 400;
  margin: 0;
  color: white;
  font-size: clamp(10px, 1vw, 36px);
}

.rail {
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 14px;
}

.rail-btn {
  border: none;
  background-color: transparent;
  color: #fff;
  font-weight: 700;
  cursor: pointer;
  transition: transform .12s ease, box-shadow .12s ease, background .2s;
}

.rail i {
  color: var(--btn-bg);
  font-size: 4vw;
}

.rail-btn:hover {
  transform: translateY(-1px);
}

.rail-btn:active {
  transform: translateY(0);
}

.rail-viewport {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 10px;
  overflow: hidden;
  /* hides list overflow */
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.rail-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  /* grid-auto-rows: 80px; */
  gap: 12px;
}

.rail-item {
  background: var(--bg-color);
  border-radius: 12px;
  padding: 14px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: center;
  cursor: pointer;
  transition: outline .12s ease, transform .12s ease, background .2s;
  outline: 2px solid transparent;
}

.rail-item.active {
  background: #16C15B;
  box-shadow: 0 10px 24px rgba(31, 111, 235, 0.12);
}

.rail-title {
  font-size: clamp(10px, 1.12vw, 40px);
  font-weight: 700;
  color: white;
  margin-bottom: 6px;
}

.rail-meta {
  font-size: clamp(10px, 0.94vw, 28px);
  color: #efefef;
}


/* ============================== Contact Section ============================== */

#contact {
  background-image: url("../images/bg2.jpg");
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
}

.section-padding-remove {
  padding: 0;
  overflow: visible;
}

.contact-container {
  width: 100%;
}

.contact-content {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4vw;
  padding: 4vw;
  height: 74vh;
  margin-top: 10vh;
}

.contact-left-container {
  flex: 1;
  align-self: flex-start;
  /* height: 400px; */
}

.contact-right-container {
  flex: 1;
  align-self: flex-start;
  /* height: 400px; */
}

/* Form Start */

.form-heading h1 {
  font-size: 2vw;
  color: var(--primary-color);
  margin: 0;
}

.form-heading p {
  color: white;
  font-weight: 200;
  font-size: 1vw;
  margin-top: 0;
  margin-bottom: 20px;
}

form input,
form textarea {
  width: 88%;
  padding: 12px;
  margin-bottom: 14px;
  border: none;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 1vw;
  border: 1px solid #555;
  outline: none;
}

form input::placeholder,
form textarea::placeholder {
  color: #888;
  font-family: var(--font-family);
}

textarea {
  resize: none;
}

#formMessage {
  padding: 12px;
  text-align: center;
  color: white;
  border-radius: 6px;
  font-weight: 500;
  opacity: 1;
  transition: opacity 0.6s ease;
  position: relative;
  margin: 16px auto;
  max-width: 600px;
}

#formMessage.success {
  background-color: #4caf50; /* green */
}

#formMessage.error {
  background-color: #f44336; /* red */
}
/* 
#formMessage.hidden {
  display: none;
} */


.footer {
  display: flex;
  flex-direction: column;
  height: 20vh;
  background-color: var(--bg-color);
  padding: 1.2vw 4vw;
  align-items: center;
  justify-content: center;
  gap: 28px;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}


.footer-container {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 4vw;
}

.footer-content-a,
.footer-content-b,
.footer-content-c a {
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  padding: 8px;
  border: 1px solid var(--bg-color);
  background-color: var(--bg-color);
  border-radius: 100px;
  cursor: pointer;
  font-size: 1vw;
  transition: all ease-in-out 0.4;
}

.footer-content-a:hover,
.footer-content-b:hover,
.footer-content-c a:hover {
  background-color: var(--btn-bg);
  transition: all ease-in-out 0.4s;

}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  color: white;
  font-size: 14px;
  font-weight: 400;
}

.footer-bottom a{
  font-size: 1vw;
}

/* FAQ Start */

.contact-right-container h1 {
  color: var(--primary-color);
  font-size: 2vw;
  margin: 0;
}


.contact-right-container p {
  color: white;
  font-weight: 200;
  font-size: 1vw;
  margin-top: 0;
  margin-bottom: 20px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.8vw;
}

.ques {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: var(--bg-color);
  padding: 10px;
  cursor: pointer;
  transition: all 0.4s ease-in-out;
  border-radius: 6px;
}

.ques:hover {
  background-color: #888;
}

.ques h2 {
  margin: 0;
  color: white;
  font-size: 1.2vw;
  font-weight: 400;
}

.ans {
  max-height: 0px;
  overflow: hidden;
  border-radius: 0px 0px 6px 6px;
  transition: all 0.4s ease-in-out;
}

.faq.active .ques {
  border-radius: 6px 6px 0px 0px;
}

.faq.active .ans {
  max-height: 300px;
  transition: all 0.4s ease-in-out;
}

.faq i {
  color: white;
  transition: all 0.3s ease-in-out;
}

.faq.active i {
  transform: rotate(45deg);
}

.ans p {
  background-color: var(--bg-color);
  padding: 0px 10px 10px 10px;
  margin: 0;
  color: rgb(194, 194, 194);
  font-size: 1vw;
}







/* --- Responsive --- */
@media (min-width: 768px) {
  .hamburger {
    display: none;
  }

  .nav-desktop {
    display: inline-flex;
  }

  .only-desktop {
    display: inline-flex;
  }

  /* Cards */
  /* .grid {
    flex-wrap: wrap;
  } */

}

@media (prefers-reduced-motion: reduce) {
  .mobile-menu {
    transition: none;
  }
}

@media(max-width:576px) {

  .brand-logo {
    width: 34vw;
  }

  .sections {
    padding: 0;
    height: 102vh;
  }

  .mob-sections {
    height: 120vh;
  }

  .wrap {
    margin-top: 4vh;
  }

  .hero-text {
    margin: 0 0 2vh 0;
  }

  .hero-text h1 {
    margin: 0;
    font-size: 8.8vw;
  }

  .hero-text p {
    font-size: clamp(10px, 1.4vw, 34px);
    margin-bottom: 20px;
  }

  .card {
    flex-direction: row;
    height: 120px;
    border-radius: 10px;
  }

  .card__body {
    justify-content: space-around;
  }

  .card__media {
    height: 120px;
    width: 1140px;
    font-size: 10px;
  }

  .badge {
    top: 2px;
    left: 2px;
  }

  .card__media h3 {
    font-size: 8vw;
  }

  .card__desc {
    height: 120px;
    font-size: 10px;
  }

  .card-btn {
    padding: 4px;
    font-size: 3.2vw;
  }

  .about {
    flex-direction: column-reverse;
  }

  .video-shell {
    max-width: 360px;
    width: 100%;
  }

  .video-card {
    border-radius: 10px;
  }

  .counters {
    max-width: 410px;
    padding: 0px 24px;
  }

  .counter-box {
    font-size: 10vw;
  }

  .counter-box p {
    font-size: 3.2vw;
    margin: 0;
  }

  #about{
    flex-direction: column-reverse;
  }

  .about-left {
    padding: 10vw 8vw;
  }

  .about-heading {
    font-size: 5vw;
  }

  .about-description {
    font-size: 2.8vw;
  }

  .btn {
    min-width: none;
    padding: 10px 14px;
    margin-top: 10px;
  }

  /* Case Study Section */

  .wrap {
    padding: 0px 4px;
  }

  .case-layout {
    display: block;
  }

  .details {
    padding: 8px;
  }

  .block {
    padding: 0px;
  }

  .media {
    height: 120px;
  }

  /* End*/

  /* Contact Section */

  .contact-content {
    flex-direction: column;
    margin-top: 0vh;
    height: auto;
  }

  .form-heading h1 {
    font-size: 20px;
  }

  form input,
  form textarea {
    width: 100%;
  }

  .contact-right-container h1 {
    font-size: 6vw;
  }

  .ques h2 {
    font-size: 3.6vw;
  }

  .ans p {
    font-size: 3vw;
  }

  /* End */

  .footer{
    height: 24vh;
  }

  .footer-container {
    grid-template-columns: auto;
    gap: 4px;
  }

  .footer-content-a,
  .footer-content-b,
  .footer-content-c a {
    font-size: 2.8vw;
    gap: 4px;
  }

  .footer-bottom{
    flex-direction: column;
    gap: 0px;
  }

}

@media(min-width:768px) {
  .grid {
    grid-template-columns: repeat(2, 1fr);
  }

}


@media(min-width:1024px) {
  .grid {
    grid-template-columns: repeat(4, 1fr);
  }
}