:root {
  /* Instagram-Inspired Palette */
  --ig-blue: #018eec;
  --ig-purple: #015fa8;
  --ig-pink: #c13584;
  --ig-red: #fd1d1d;
  --ig-orange: #f77737;
  --ig-yellow: #fcaf45;
  --ig-light: #ffdc80;

  /* Grayscale */
  --ig-dark: #242d3f;
  --ig-gray: #dcf0ff;
  --ig-lightGray: #c8c9ce;
  --white: #ffffff;
  --black: #000000;
}

/* ============================
   RESET & BASE
============================ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  
}
body::-webkit-scrollbar {
  width: 10px;
}

body::-webkit-scrollbar-track {
  background: transparent;
}

body::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #018eec, #0166b3);
  border-radius: 8px;
  border: 2px solid #eef7ff;
}

body::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #0166b3, #014f8f);
}


html,
body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
   background: radial-gradient(circle at right, var(--ig-gray), #fff 90%);

  font-family: "Poppins", sans-serif;
  line-height: 1.6;
  scrollbar-width: thin;
  scrollbar-color: #018eec transparent;
}
 body {
      padding-top: 80px; 
    }
    @media (max-width: 1023px) {
      body {
        padding-top: 115px; /* Fully clears auto-height header on tablets */
      }
    }
    @media (max-width: 768px) {
      body {
        padding-top: 105px; /* Safely clears mobile header */
      }
    }
    @media (max-width: 480px) {
      body {
        padding-top: 90px; /* Adjusts for smaller logo on tiny phones */
      }
    }
    @media (min-width: 1400px) {
      body {
        padding-top: 100px; /* Adjust for large screen 100px header */
      }
    }

img {
  max-width: 100%;
  height: auto;
}

a {
  text-decoration: none;
}

ul {
  list-style: none;
}

/* Containers */
.container,
.footer-container,
.ivr-container,
.about-container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 15px;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 25px;
  background: var(--ig-pink);
  color: var(--white);
  font-weight: bold;
  border-radius: 30px;
  transition: 0.3s;
}

.btn:hover {
  background: var(--ig-purple);
}

/* ============================
   PRELOADER
============================ */
#preloader {
  position: fixed;
  inset: 0;
  background: var(--ig-gray);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

#preloader img {
  width: 520px;
}

#preloader.hide {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.6s ease;
}

/* ============================
   HEADER & NAVIGATION
============================ */
header {
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1001; /* Elevated z-index */
  transition:
    background 0.4s ease,
    padding 0.3s ease;
 background: radial-gradient(circle at left, var(--ig-gray), #fff 60%);
  box-shadow: 0 12px 30px rgba(1, 142, 236, 0.18);
  height: 80px;
  display: flex;
  align-items: center;
}

header.scrolled {
   background: radial-gradient(circle at left, var(--ig-gray), #fff 60%);
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
  width: 96%; 
  max-width: 1800px; 
  margin: 0 auto;
}

/* Logo */
header .logo {
  display: flex;
  align-items: center;
  height: 100%;
}

header .logo img {
  max-height: 160px;
  width: auto;
  object-fit: contain;
  display: block;
}

/* Nav Menu */
header nav {
  gap: 30px;
}
header nav > ul {
  display: flex;

  gap: 1px;
  align-items: center;
  margin: 0;
  padding: 0;
}

header nav ul li {
  font-family: "Cabin", sans-serif;
  font-size: 30px;
  margin: 10px;
  color: var(--ig-blue);
  font-weight: 600;
  /* --c: linear-gradient(var(--ig-purple) 0 0); */
  padding-bottom: 0.15em;
  background: var(--c), var(--c);
  background-size: 0.3em 0.1em;
  background-position: 50% 100%;
  background-repeat: no-repeat;
  transition:
    0.3s linear,
    background-size 0.3s 0.2s;
  position: relative; /* For dropdown positioning */
}

header nav ul li a {
  color: var(--ig-blue);
  font-weight: 700;
  transition: color 0.3s;
  font-size: 15px;
  line-height: 1;
  padding: 0;
}
header > nav > ul > li > a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -6px;
  width: 0;
  height: 3px;
  background: #018eec;
  transition: all 0.3s ease;
  transform: translateX(-50%);
}
header nav ul li:hover {
  background-size: 40% 0.1em;
  background-position:
    10% 100%,
    90% 100%;
  color: var(--ig-purple);
}

header nav ul li a:hover {
  color: #015fa8;
}

/* Social Icons (Header) */
header .social-icons {
  display: flex;
  gap: 15px;
  align-items: center;
}

header .social-icons a {
  width: 36px;
  height: 36px;
  background: #018eec;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    transform 0.3s ease,
    background 0.3s ease;
}

header .social-icons a:hover {
  background: #015fa8;
  transform: translateY(-3px);
}

#main-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: transform 0.3s ease-in-out;
    background-color: #fff; /* Ensures background stays solid when sticky */
  }
  #main-header.nav-hidden {
    transform: translateY(-100%);
  }

  /* Back to Top Arrow */
  #backToTop {
    display: none;
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
    background-color: #018eec;
    color: white;
    border: none;
    outline: none;
    cursor: pointer;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 20px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    transition: background-color 0.3s, transform 0.3s;
    align-items: center;
    justify-content: center;
  }
  #backToTop:hover {
    background-color: #0056b3;
    transform: translateY(-5px);
  }
  #backToTop.show {
    display: flex;
    animation: fadeInArrow 0.3s ease-in-out;
  }
  @keyframes fadeInArrow {
    from { opacity: 0; }
    to { opacity: 1; }
  }

  /* Expandable Footer */
  .footer-collapsible {
    display: none; /* Hidden by default */
    opacity: 0;
  }
  .footer-collapsible.expanded {
    display: block;
    animation: expandFooter 0.5s ease forwards;
  }
  @keyframes expandFooter {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
  }
  .footer-toggle-btn {
    background: none;
    border: none;
    color: #018eec;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    padding: 10px 0;
    margin-top: 15px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
  }
  .footer-toggle-btn i {
    transition: transform 0.3s ease;
  }


.menu-toggle {
  display: none;
  font-size: 26px;
  cursor: pointer;
  color: var(--ig-blue);
  z-index: 1002;
}

/* Mobile Social Icons (Hidden by default) */
.mobile-social .social-icons {
  display: none;
}

/* ============================
   DROPDOWNS
============================ */
/* Reset UL nesting */
header nav ul ul {
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* Main Dropdown */
header nav ul li .dropdown-menu {
  position: absolute;
  top: 120%;
  left: 0;
  min-width: 240px;
  background: var(--ig-gray);
  border-radius: 12px;
  box-shadow: 0 30px 70px rgba(1, 142, 236, 0.25);
  padding: 14px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(15px);
  transition: all 0.3s ease;
  z-index: 999;
  display: block; /* Managed by opacity/visibility for desktop */
}

header nav ul li.dropdown:hover > .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Dropdown Links */
header nav ul li .dropdown-menu li a {
  display: block;
  padding: 8px 16px;
  font-size: 12px;
  line-height: 1.4;
  color: var(--ig-dark);
  white-space: nowrap;
  font-weight: 600;
  transition:
    background 0.3s ease,
    padding-left 0.3s ease;
}

header nav ul li .dropdown-menu li a:hover {
  background: var(--ig-blue);
  padding-left: 26px;
  color: var(--ig-gray);
  border-radius: 10px;
}
header nav ul li .dropdown-menu li i {
  margin-right: 6px;
}

/* Submenu */
header nav ul li .dropdown-menu .submenu {
  position: absolute;
  top: 0;
  left: 100%;
  min-width: 230px;
  background: var(--ig-gray);
  color: var(--ig-blue);
  border-radius: 12px;
  /* box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15); */
  box-shadow: 0 30px 70px rgba(1, 142, 236, 0.25);
  /* padding: 6px 0; */
  opacity: 0;
  visibility: hidden;
  transform: translateX(15px);
  transition: all 0.3s ease;
}

header nav ul li .dropdown-menu li.has-submenu:hover > .submenu {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

.submenu li a {
  padding-left: 18px !important;
  font-weight: 400 !important;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  font-size: 14px;
  color: #333;
  border-radius: 10px;
  transition:
    background 0.3s ease,
    transform 0.3s ease;
}

.submenu a i {
  width: 20px;
  text-align: center;
  margin-right: 6px;
  font-size: 16px;
}

.submenu a:hover {
  transform: translateX(4px);
}

/* ============================
   ROLLING MARQUEE
============================ */
.service-marquee {
  width: 100%;
  background: linear-gradient(90deg, #018eec, #015fa8);
  color: #fff;
  height: 40px;
  display: flex;
  align-items: center;
  overflow: hidden;
  position: relative;
  z-index: 10;
}
.marquee-content {
  display: flex;
  white-space: nowrap;
  animation: marqueeRoll 25s linear infinite;
  min-width: 200%;
}
.marquee-content span {
  margin: 0 40px;
  font-size: 15px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}
@keyframes marqueeRoll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ============================
   HERO / HOME SLIDER (FULL SCREEN)
============================ */
/* ===== Hero Slider Styles ===== */
.hero-slider {
  position: relative;
  width: 100%;
  min-height: 90vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-bottom: 0;
}

.slider-container {
  width: 100%;
  max-width: 1400px;
  margin: auto;
  padding: 2rem 60px;
  position: relative;
}

/* ===== Slides ===== */
.slide {
  opacity: 0;
  transform: translateX(50px);
  transition: all 0.8s ease;
  position: absolute;
  top: 0;
  width: 100%;
}

.slide.active {
  opacity: 1;
  transform: translateX(0);
  position: relative;
}

.slide-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  flex-wrap: nowrap;
  padding: 0 2rem;
}

.text {
  flex: 1;
  min-width: 300px;
  padding-right: 2rem;
}
.text h1 {
  font-size: 3rem;
  color: #018eec;
  margin-bottom: 1rem;
  line-height: 1.2;
}
.text h1 span {
  color: #018eec;
}
.text p {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  color: #333;
}
.text button {
 padding: 0.8rem 2rem;
  border: none;
  border-radius: 50px;
  background: linear-gradient(135deg, #018eec, #0166b3);
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.4s ease;
  box-shadow: 0 5px 15px rgba(1,142,236,0.4);
}
.text button:hover {
  transform: translateY(-3px) scale(1.05);
  background: linear-gradient(135deg, #0166b3, #018eec);
  box-shadow: 0 10px 25px rgba(1,142,236,0.5);
}

.image {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  min-width: 300px;
}
.image img {
  max-width: 100%;
  transition: transform 0.5s ease;
}
.image img:hover {
  transform: scale(1.05);
}

/* ===== Arrows ===== */
.prev,
.next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #018eec;
  color: #fff;
  border: none;
  font-size: 2rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 20;
  transition: 0.3s;
}

.prev {
  left: 10px;
}

.next {
  right: 10px;
}

.prev:hover,
.next:hover {
  background: #0166b3;
  transform: translateY(-50%) scale(1.15);
}

/* ===== Dots ===== */
.dots {
  position: absolute;
  bottom: 20px;
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 1rem;
}
.dot {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: rgba(1, 142, 236, 0.3);
  cursor: pointer;
  transition: all 0.3s;
}
.dot.active {
  background: #018eec;
  transform: scale(1.3);
}

/* ===== Floating Background Circles ===== */
.floating {
  position: absolute;
  border-radius: 50%;
  background: #018eec;
  opacity: 0.08;
  animation: float 10s ease-in-out infinite;
}
.circle1 {
  width: 250px;
  height: 250px;
  top: 10%;
  left: 5%;
}
.circle2 {
  width: 300px;
  height: 300px;
  bottom: 10%;
  right: 10%;
}
.circle3 {
  width: 150px;
  height: 150px;
  top: 40%;
  right: 30%;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0) translateX(0);
  }
  25% {
    transform: translateY(-20px) translateX(10px);
  }
  50% {
    transform: translateY(10px) translateX(-10px);
  }
  75% {
    transform: translateY(-10px) translateX(5px);
  }
}

/* ===== Responsive ===== */
@media (max-width: 992px) {
  .slide-content {
    flex-direction: column;
    text-align: center;
  }
  .image {
    justify-content: center;
  }
}
@media (max-width: 576px) {
  .text h1 {
    font-size: 2rem;
  }
  .text p {
    font-size: 1rem;
  }
}

/* =======WHO WE ARE SECTION============================  */
/* WHO WE ARE SECTION */
.who-we-are {
  padding: 60px 0;
}

.who-we-are .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap; /* important */
}

/* Text */
.text-content {
  flex: 1 1 500px;
}

.text-content h2 {
  font-size: 2.3rem;
  margin-bottom: 15px;
  color: #018eec;
}

.text-content p {
  font-size: 1rem;
  line-height: 1.6;
  padding-bottom: 20px;
}

/* Image */
.image-content {
  flex: 1 1 300px;
  display: flex;
  justify-content: center;
}

.image-content img {
  width: 100%;
  max-width: 280px;
  height: auto;
  border-radius: 50%;
}

/* Tablet */
@media (max-width: 992px) {
  .text-content {
  flex: 1 1 100px;
}
  .who-we-are .container {
    flex-direction: column;
    text-align: center;
  }

  .text-content h2 {
    font-size: 2rem;
  }
}
.image-content img {
  width: 300px;
  border-radius: 50%;
  animation: rotateImage 20s linear infinite;
}

@keyframes rotateImage {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* Mobile */
@media (max-width: 576px) {
  .who-we-are {
    padding: 40px 0;
  }

  .text-content h2 {
    font-size: 1.6rem;
  }

  .text-content p {
    font-size: 0.95rem;
  }

  .image-content img {
    max-width: 220px;
  }
}

/* ============================
   PREMIUM ABOUT SECTION
============================ */
.about-section {
  width: 100%;
  /* padding: 0 8%; */
  padding-bottom: 120px;
  /* background: radial-gradient(circle at left, var(--ig-gray), #fff 60%); */
  background: transparent;
}

.about-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 80px;
}

.about-content {
  animation: slideInLeft 1s ease forwards;
}

.about-badge {
  display: inline-block;
  padding: 6px 16px;
  background: var(--ig-gray);
  color: var(--ig-blue);
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 18px;
}

.about-content h2 {
  font-size: 44px;
  line-height: 1.2;
  color:var(--ig-blue);
  margin-bottom: 22px;
}

.about-content h2 span {
  color:#018eec;
  position: relative;
}

.about-content h2 span::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 70%;
  height: 4px;
  background: linear-gradient(90deg, var(--ig-blue), #015fa8);
  border-radius: 10px;
}

.about-content p {
  font-size: 16px;
  line-height: 1.8;
  color: #555;
  margin-bottom: 18px;
  max-width: 520px;
}

.about-btn {
  display: inline-block;
  margin-top: 25px;
  padding: 14px 36px;
  border-radius: 50px;
  background: linear-gradient(135deg, #018eec, #0166b3);
  color: #fff;
  font-weight: 600;
  box-shadow: 0 20px 40px #0160a88b;
  transition: all 0.3s ease;
}

.about-btn:hover {
 transform: translateY(-3px) scale(1.05);
  background: linear-gradient(135deg, #0166b3, #018eec);
  box-shadow: 0 10px 25px rgba(1,142,236,0.5);
}

.about-visual {
  display: flex;
  justify-content: flex-end;
  animation: slideInRight 1s ease forwards;
}

.illustration-card {
  width: 360px;
  aspect-ratio: 4 / 5;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: float 6s ease-in-out infinite;
}

.illustration-card img {
  width: 90%;
  filter: drop-shadow(0 12px 25px rgba(106, 27, 154, 0.25));
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-60px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(60px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* ============================
   IVR SECTION
============================ */
.ivr-section {
  width: 100%;
  padding: 80px 0;
}

.ivr-container {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.ivr-content {
  flex: 1 1 520px;
  min-width: 320px;
}

.ivr-content h2 {
  word-break: normal;
  white-space: normal;
  line-height: 1.4;
  font-size: 2rem;
}

.ivr-content h2 span {
  display: inline;
  color: #6a4cff;
}

.ivr-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 30px;
}

.ivr-card {
  padding: 20px;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  text-align: center;
}

.ivr-card i {
  font-size: 26px;
  margin-bottom: 10px;
  color: #6a4cff;
}

.ivr-form-box {
  flex: 1 1 420px;
  min-width: 320px;
  max-width: 460px;
}

/* ============================
   CLIENT FLOW (MARQUEE)
============================ */
.client-flow {
  padding:10px 0;
  overflow: hidden;
}

.client-flow h2 {
  text-align: center;
  font-size: 3rem;
  font-weight: 800;
  color: #018eec;
  margin-bottom: 90px;
  letter-spacing: -0.03em;
}

.flow-wrap {
  position: relative;
}

.flow-wrap::before,
.flow-wrap::after {
  content: "";
  position: absolute;
  top: 0;
  width: 220px;
  height: 100%;
  z-index: 3;
  pointer-events: none;
}

.flow-wrap::before {
  left: 0;
}
.flow-wrap::after {
  right: 0;
}

.flow-track {
  display: flex;
  gap: 60px;
  width: max-content;
  animation: flow 30s linear infinite;
}

.flow-wrap:hover .flow-track {
  animation-play-state: paused;
}

.flow-card {
  width: 240px;
  height: 200px;
  border-radius: 28px;
  background: var(--ig-gray);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease;
  animation: float 6s ease-in-out infinite;
}

.flow-card:nth-child(even) {
  animation-delay: -3s;
}
.flow-card:hover {
  transform: translateY(-14px) rotate(-1deg);
}
.flow-card img {
  max-width: 120px;
  max-height: 44px;
  object-fit: contain;
  filter: grayscale(100%);
  transition: filter 0.3s ease;
}
.flow-card:hover img {
  filter: none;
}
.flow-card span {
  font-size: 0.95rem;
  font-weight: 600;
  color: #475569;
  letter-spacing: 0.05em;
}

@keyframes flow {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* ============================
   CASE STUDIES & ELEGANT
============================ */
.case-elegant {
  padding: 60px 40px 10px 40px;
}

.case-header {
  text-align: center;
  margin-bottom: 70px;
}

.case-header h2 {
  font-size: 30px;
  font-weight: 800;
  color: var(--ig-blue);
}

.case-header .highlight {
  color: #0166b3;
}

.case-header .subtext {
  font-size: 15px;
  color: #666;
  margin-top: 6px;
  padding-bottom: 30px;
}

/* GRID */
.case-wrapper {
  max-width: 1300px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 60px;
}

/* CARD */
.case-item {
  position: relative;
  background: #fff;
  border-radius: 22px;
  padding: 90px 35px 45px;
  box-shadow: 0 20px 40px rgba(1,142,236,0.12);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  cursor: pointer;
}

.case-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 60px rgba(1,142,236,0.18);
}

/* THUMB */
.case-thumb {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  overflow: hidden;
  position: absolute;
  top: -48px;
  left: 35px;
  background: #fff;
  transition: transform 0.35s ease;
}

.case-item:hover .case-thumb {
  transform: scale(1.05);
}

.case-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* INDEX */
.case-index {
  position: absolute;
  left: 35px;
  top: 60px;
  width: 36px;
  height: 36px;
  background: var(--ig-light);
  color: var(--ig-blue);
  border-radius: 50%;
  font-size: 12px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* TEXT */
.case-item h3 {
  margin-top: 28px;
  font-size: 18px;
}

.case-item p {
  margin: 14px 0 22px;
  font-size: 14px;
  line-height: 1.7;
}

.case-item a {
  font-size: 14px;
  font-weight: 600;
  color: var(--ig-blue);
  text-decoration: none;
}

.case-item a::after {
  content: " →";
  transition: transform 0.25s ease;
}

.case-item a:hover::after {
  transform: translateX(4px);
}
.case-item {
  position: absolute;
  width: 90%;
  max-width: 360px;
  background: var(--ig-gray);
   border: 2px solid var(--ig-blue);
  border-radius: 20px;
  overflow: hidden;
  padding: 20px;
  text-align: center;
  transition: all 0.6s ease;
}

.case-item img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 14px;
}
@media (max-width: 768px) {
  .case-item {
    max-width: 280px;
    padding: 15px;
  }

  .case-item img {
    height: 150px;
  }
}

/* POPUP */
.case-popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 999;
}

.case-popup {
  background: var(--ig-gray);
  width: 90%;
  max-width: 800px;
  border-radius: 20px;
  padding: 40px;
  position: relative;
  animation: popupIn 0.4s ease;
}

@keyframes popupIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

.popup-close {
  position: absolute;
  right: 20px;
  top: 20px;
  background: none;
  border: none;
  font-size: 26px;
  cursor: pointer;
}

.popup-tag {
  color: var(--ig-blue);
  font-size: 13px;
  font-weight: 600;
}

.popup-intro {
  margin: 10px 0 25px;
  color: #405de6;
}

.popup-sections {
  display: grid;
  gap: 20px;
}

.popup-box {
  background: var(--ig-light);
  padding: 20px;
  border-radius: 14px;
}

.popup-box.highlight {
  background: linear-gradient(135deg, #018eec, #0166b3);
  color: #fff;
}

.popup-box.highlight ul {
  padding-left: 18px;
}

.popup-cta {
  display: inline-block;
  margin-top: 25px;
  padding: 12px 28px;
  background: linear-gradient(135deg, #018eec, #0166b3);
  color: #fff;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
}
.popup-cta:hover {
 transform: translateY(-3px) scale(1.05);
background: linear-gradient(135deg, #0166b3, #018eec);
  box-shadow: 0 10px 25px rgba(1,142,236,0.5);
}

/* ============================
   3D CAROUSEL (TEAM)
============================ */
.carousel-container {
  width: 100%;
  height: 420px;
  position: relative;
  perspective: 1200px;
  margin: -79px auto -20px auto;
}

.carousel-track {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.card {
  position: absolute;
  width: 400px;
  height: 350px;
  background: var(--ig-gray);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 30px #0160a833;
  text-align: center;
  padding: 20px;
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  cursor: pointer;
}

.card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 16px;
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.card.center {
    z-index: 10;
  transform: scale(1.1) translateZ(0);
  opacity: 1;
}
.card.center h3{
  color: #015fa8;
}
.card.center a {
  color: #015fa8;
  text-decoration: none;
  font-weight: 700;
}
.card.left-1,
.card.right-1 {
  z-index: 5;
  transform: scale(0.9) translateZ(-100px);
  filter: blur(2px) grayscale(100%);
}
.card.left-2,
.card.right-2 {
  z-index: 1;
  transform: scale(0.8) translateZ(-200px);
  filter: blur(4px) grayscale(100%);
}
.card.hidden {
  opacity: 0;
  pointer-events: none;
}

.member-info {
  text-align: center;
  margin-top: 10px;
  transition: all 0.5s ease-out;
}
.member-name {
  color: var(--ig-blue);
  font-size: 2rem;
  font-weight: 700;
}
.member-role {
  color: #888;
  font-size: 1rem;
  opacity: 0.8;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 10px;
}
.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(106, 27, 154, 0.2);
  cursor: pointer;
  transition: all 0.3s ease;
}
.dot.active {
  background: var(--ig-blue);
  transform: scale(1.2);
}

.nav-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: var(--ig-blue);
  color: #fff;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 20;
  font-size: 1.5rem;
  border: none;
}
.nav-arrow.left {
  left: 10px;
}
.nav-arrow.right {
  right: 10px;
}

/* ============================
   FAQ SECTION
============================ */

.faq-section {
  padding: 80px 20px;
  background: linear-gradient(135deg, #f9f9f9, #eef2f7);
  font-family: 'Poppins', sans-serif;
}

.faq-section h2 {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 700;
  color: #222;
  margin-bottom: 10px;
}

.faq-section h3 {
  text-align: center;
  font-size: 1.3rem;
  font-weight: 500;
  color: #007bff;
  margin-bottom: 40px;
}

.faq-container {
  max-width: 900px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 15px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0px 4px 15px rgba(0,0,0,0.08);
  background: #fff;
}

.faq-question {
  width: 100%;
  background: #fff;
  border: none;
  outline: none;
  padding: 18px 22px;
  font-size: 1rem;
  font-weight: 600;
  color: #333;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: background 0.3s ease;
}

.faq-question:hover {
  background: #f1f7ff;
}

.faq-question .icon {
  font-size: 1.4rem;
  transition: transform 0.3s ease;
}

.faq-item.active .faq-question .icon {
  transform: rotate(45deg);
  color: #007bff;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 22px;
  background: #fafafa;
  transition: max-height 0.4s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
  max-height: 500px; /* enough for long answers */
  padding: 18px 22px;
}

.faq-answer p {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.6;
}

.faq-section {
  padding: 40px 20px;
  background: transparent;
}
.faq-header {
  text-align: center;
  color: var(--ig-blue);
  margin-bottom: 40px;
}
.faq-section h2 {
  font-size: 36px;
  font-weight: 700;
  color: var(--ig-blue);
}
.faq-section h3{
  color: #015fa8;
  margin-top: 8px;
}

.faq-item {
  background: #fff;
  border-radius: 14px;
  margin-bottom: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  overflow: hidden;
}

.faq-question {
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-weight: 600;
  font-size: 17px;
}

.icon {
  width: 32px;
  height: 32px;
  background: var(--ig-blue);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}
.faq-item.active .faq-question .icon{
  color: var(--white);
}
.faq-answer {
  display: none;
  padding: 0 24px 20px;
  font-size: 16px;
  color: #4b5563;
  line-height: 1.6;
}
.faq-item.active .faq-answer {
  display: block;
}

/* ============================
   TESTIMONIALS
============================ */
.testimonials {
  position: relative;
  padding: 20px 20px;
  background: transparent;
  overflow: hidden;
}
.testimonials {
  padding: 90px 20px;
  font-family: 'Poppins', sans-serif;
  text-align: center;
}

.testimonials h2 {
  font-size: 2.4rem;
  font-weight: 700;
  color: #222;
  margin-bottom: 10px;
}

.testimonials h3 {
  font-size: 1.2rem;
  font-weight: 500;
  color: #007bff;
  margin-bottom: 50px;
}

.testimonial-card {
  background: #fff;
  border-radius: 18px;
  padding: 30px 25px;
  box-shadow: 0px 8px 20px rgba(0,0,0,0.08);
  max-width: 600px;
  margin: 0 auto;
  transition: transform 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-8px);
}

.testimonial-text {
  font-size: 1rem;
  line-height: 1.7;
  color: #555;
  margin-bottom: 25px;
  font-style: italic;
  position: relative;
}

.testimonial-text::before {
  content: "“";
  font-size: 2.5rem;
  color: #54b154;
  position: absolute;
  left: -15px;
  top: -10px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 15px;
  justify-content: center;
}

.testimonial-author img {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #54b154;
}

.testimonial-author h4 {
  font-size: 1.05rem;
  font-weight: 600;
  color: #222;
  margin: 0;
}

.testimonial-author span {
  font-size: 0.9rem;
  color: #666;
}


.bg-orbs span {
  position: absolute;
  width: 320px;
  height: 320px;
  filter: blur(140px);
  opacity: 0.35;
  animation: orbFloat 22s ease-in-out infinite alternate;
}

.bg-orbs span:nth-child(1) {
  top: -120px;
  left: -120px;
}
.bg-orbs span:nth-child(2) {
  bottom: -140px;
  right: -100px;
  animation-delay: 5s;
}
.bg-orbs span:nth-child(3) {
  top: 45%;
  left: 65%;
  animation-delay: 10s;
}

@keyframes orbFloat {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(-90px);
  }
}

.testimonials-header {
  text-align: center;
  margin-bottom: 20px;
}
.testimonials-header h2 {
  font-size: 46px;
  color: var(--ig-blue);
  font-weight: 700;
}
.testimonials-header p {
  color: var(--ig-purple);
  margin-top: 10px;
  font-size: 18px;
}

.testimonial-card {
  position: relative;
  padding: 30px 48px;
  border-radius: 28px;
 background: linear-gradient(135deg, #018eec, #04355b);
  backdrop-filter: blur(22px);
  border: 1px solid rgb(255, 255, 255);
  height: 100%;
  overflow: hidden;
}


.quote {
  position: absolute;
  top: -32px;
  right: 32px;
  font-size: 110px;
  color: var(--ig-gray);
  animation: quoteFloat 5s ease-in-out infinite;
}

@keyframes quoteFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-14px);
  }
}

.testimonial-card p {
  color: #e5e7eb;
  font-size: 19px;
  line-height: 1.85;
  margin-bottom: 24px;
  position: relative;
  z-index: 2;
}

.author {
  display: flex;
  align-items: center;
  gap: 18px;
  position: relative;
  z-index: 2;
  justify-content: center;
}

.author img {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  border: 2px solid var(--white);
}
.author h4 {
  color: var(--ig-gray);
  font-size: 17px;
  font-weight: 600;
}
.author span {
  color: #fff;
  font-size: 14px;
}
.swiper-pagination-bullet-active {
  background: var(--ig-blue);
  color: var(--ig-purple);
}

/* festival offer */
.festival-offers {
  padding: 80px 20px;
  background:transparent;
  text-align: center;
  font-family: 'Poppins', sans-serif;
}

.festival-offers h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: #222;
  position: relative;
}

.festival-offers h2::after {
  content: "";
  width: 90px;
  height: 4px;
    background: linear-gradient(135deg, #018eec, #0166b3);
  display: block;
  margin: 12px auto 0;
  border-radius: 4px;
}

.festival-offers .sub-text {
  font-size: 1rem;
  color: #444;
  margin-bottom: 40px;
}

.offer-card {
  position: relative;
  height: 300px;
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-size: cover;
  background-position: center;
  box-shadow: 0px 8px 25px rgba(0,0,0,0.2);
}

.offer-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
}

.offer-content {
  position: relative;
  color: #fff;
  z-index: 2;
  padding: 20px;
}

.offer-content h3 {
  font-size: 1.8rem;
  margin-bottom: 10px;
}

.offer-content p {
  font-size: 1.1rem;
  margin-bottom: 15px;
}

.offer-content strong {
  color: #018eec;
}

.offer-content .btn {
  padding: 10px 22px;
  background: linear-gradient(135deg, #018eec, #0166b3);
  border-radius: 25px;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  color: #fff;
  transition: 0.3s;
}

.offer-content .btn:hover {
   background: linear-gradient(135deg, #0166b3, #018eec);
}
/* services */

.services-section {
    padding: 20px 20px;
    background: transparent;
    font-family: Arial, sans-serif;
  }

  .section-heading {
    text-align: center;
    margin-bottom: 60px;
  }

  .section-heading h2 {
    font-size: 2.5rem;
    color: var(--ig-blue);
  }

  .underline {
    width: 80px;
    height: 4px;
    background: #1e37b3;
    margin: 12px auto 0;
    border-radius: 4px;
  }

  .services-grid {
    max-width: 1100px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
  }

  .ser-card {
   background: var(--ig-gray);
    
    border: 2px solid var(--ig-blue);
    border-radius: 22px;
    padding: 30px 26px 34px;
    box-shadow: 0 20px 45px rgba(0,0,0,0.15);
    transition: all 0.35s ease;
    display: flex;
    flex-direction: column;
    align-content: center;
  }

  .ser-card:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 30px 65px rgba(0,0,0,0.25);
  }

  .ser-card h3 {
    font-size: 1.6rem;
    margin-bottom: 12px;
    align-self: center;
    color: var(--ig-blue);
  }

  .ser-card p {
    font-size: 0.95rem;
    text-align: center;
    color:  #050505;
    line-height: 1.55;
    margin-bottom: 20px;
    min-height: 72px;
  }

  .sub-services {
    list-style: none;
    padding: 0;
    margin: 0;
    color: #000000;
    display: flex;
    flex-direction: column;
    gap: 12px;
  }
  
.sub-services a {
  color: #333;                 
  font-size: 0.88rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  transition: 
    color 0.25s ease,
    transform 0.25s ease;
}

.sub-services a::after {
  display: none;
}

.sub-services a:hover {
  
  text-decoration: none;
  transform: translateX(4px);
}
  

  .sub-services li {
    display: grid;
    grid-template-columns: 18px 1fr;
    align-items: center;
    column-gap: 12px;
    padding: 12px 16px;
    border-radius: 12px;
    background: #018eec52;
    color: #fff;
    font-size: 0.9rem;
    line-height: 1.4;
     color: #242d3f;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
  }

  .sub-services li::before {
    content: "▶";
    font-size: 0.75rem;
    color: var(--ig-blue);
  }

  .sub-services li:hover {
    background: #018eec;
    color: #fff;
    transform: translateX(6px);
  }
  .sub-services li a:hover {
    color: #fff;
  }

  .sub-services li:hover::before {
    color: #fff;
  }

  @media (max-width: 900px) {
    .services-grid {
      grid-template-columns: repeat(2, 1fr);
    }
  }

  @media (max-width: 600px) {
    .services-grid {
      grid-template-columns: 1fr;
    }
  }


/* ============================
   FOOTER
============================ */
.site-footer {
  background: radial-gradient(circle at left, var(--ig-gray), #fff 60%);
  padding: 32px 40px 12px;
  font-family: "Poppins", sans-serif;
  display: flex;
  flex-direction: column;
}

/* GRID */
.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr 1.3fr;
  gap: 32px;
  align-items: start;
}

/* REMOVE EXTRA HEIGHT */
.site-footer,
.footer-container {
  min-height: auto !important;
  height: auto !important;
}

/* COMMON RESET */
.site-footer p,
.site-footer ul,
.site-footer li {
  margin: 0;
  padding: 0;
}

.footer-logo {
  line-height: 0;
}

/* LOGO */
.footer-logo img {
  display: block;   
  width: 150px;
  height: auto;
  margin: 0;        
  padding: 0;
}

/* ABOUT */
.footer-about {
  font-size: 0.85rem;
  line-height: 1.45;
  margin-bottom: 12px;
  color: #333;
}

/* HEADINGS */
.footer-col h3 {
  font-size: 1rem;
  margin-bottom: 8px;
  color: var(--ig-blue);
}

.footer-col h3::after {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--ig-blue);
  display: block;
  margin-top: 4px;
}

/* LISTS */
.footer-col ul li {
  margin-bottom: 6px;
}

.footer-col ul li a {
  font-size: 0.85rem;
  color: #333;
  text-decoration: none;
}

/* SERVICES */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.service-heading {
  font-size: 0.78rem;
  margin-bottom: 4px;
  font-weight: 600;
  color: var(--ig-blue);
}

/* SOCIAL */
.footer-social {
  margin-top: 8px;
}

.footer-social a {
  margin-right: 10px;
  font-size: 0.95rem;
  color: var(--ig-blue);
}

/* BOTTOM */
.footer-bottom {
  margin-top: 18px;
  padding-top: 10px;
  border-top: 1px solid rgba(0,0,0,0.08);
  font-size: 0.78rem;
  color: #555;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}
.footer-col ul li a {
  position: relative;
  display: inline-block;
}

.footer-col ul li a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 1.5px;
  background: var(--ig-blue);
  transition: width 0.25s ease;
}

.footer-col ul li a:hover::after {
  width: 100%;
}
.services-grid a {
  transition: color 0.25s ease, transform 0.25s ease;
}

.services-grid a:hover {
  color: var(--ig-blue);
  transform: translateX(3px);
}
.footer-social a {
  transition: transform 0.25s ease, color 0.25s ease;
}

.footer-social a:hover {
  transform: translateY(-2px);
  color: #0166b3;
}


@media (max-width: 900px) {
  .footer-container {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }
}


/* ============================
   CASE POPUP UI
============================ */
.case-popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(18, 28, 64, 0.65);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.45s ease,
    visibility 0.45s ease;
  z-index: 9999;
}

.case-popup-overlay.active {
  opacity: 1;
  visibility: visible;
}

.case-popup {
  width: 100%;
  max-width: 620px;
  max-height: 88vh;
  overflow-y: auto;
  background: linear-gradient(180deg, #ffffff 0%, #f6f7ff 100%);
  border-radius: 24px;
  padding: 40px 42px 44px;
  box-shadow:
    0 30px 60px rgba(18, 28, 64, 0.18),
    0 10px 20px rgba(18, 28, 64, 0.12);
  position: relative;
  transform: translateY(28px) scale(0.97);
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
  scrollbar-width: none;
}
.case-popup::-webkit-scrollbar {
  display: none;
}
.case-popup-overlay.active .case-popup {
  transform: translateY(0) scale(1);
}

.popup-close {
  position: absolute;
  top: 18px;
  right: 22px;
  font-size: 26px;
  background: none;
  border: none;
  color: #015fa8;
  cursor: pointer;
  transition: color 0.25s ease;
}
.popup-close:hover {
  color: var(--ig-purple);
}

.popup-tag {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  background: linear-gradient(
    135deg,
    rgba(30, 55, 179, 0.12),
    rgba(131, 58, 180, 0.12)
  );
  color: var(--ig-blue);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.4px;
  margin-bottom: 14px;
}

.case-popup h2 {
  font-size: 28px;
  font-weight: 700;
  color: #015fa8;
  margin-bottom: 12px;
}
.popup-intro {
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--ig-blue);
  margin-bottom: 28px;
}
.popup-sections {
  display: grid;
  gap: 18px;
  margin-bottom: 30px;
}

.popup-box {
  background: #ffffff;
  border-radius: 18px;
  padding: 18px 20px;
  border: 1px solid rgba(30, 55, 179, 0.08);
}
.popup-box h4 {
  font-size: 15.5px;
  font-weight: 600;
  color: #015fa8;
  margin-bottom: 6px;
}
.popup-box p {
  font-size: 14.5px;
  color: var(--ig-blue);
  line-height: 1.65;
}

.popup-box.highlight {
  background: linear-gradient(135deg, #018eec, #0166b3);
  color: #ffffff;
  border: none;
}
.popup-box.highlight h4 {
  color: #ffffff;
}
.popup-box.highlight li {
  list-style: none;
  padding-left: 22px;
  position: relative;
  font-size: 14.5px;
  margin-bottom: 6px;
}
.popup-box.highlight li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--ig-light);
  font-size: 13px;
}

.popup-cta {
  display: inline-block;
  padding: 13px 34px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--ig-blue), var(--ig-purple));
  color: #ffffff;
  font-weight: 600;
  font-size: 14.5px;
  text-decoration: none;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}
.popup-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(30, 55, 179, 0.35);
}

/* =====================================================
   UNIFIED MEDIA QUERIES
===================================================== */

/* --- Tablet / Large Mobile (Max: 1023px) --- */
@media (max-width: 1023px) {
  /* Header & Nav */
  header {
    height: auto;
    padding: 10px 0;
  }
  header .logo img {
    max-height: 90px;
  }

  /* Dropdowns - Mobile Compact Fix */
  nav ul li.dropdown > a {
    pointer-events: auto;
  }
  header nav ul li .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    background: #f8f9ff;
    margin-top: 5px;
    border-radius: 10px;
    padding: 6px;
    display: none;
    width: 100%;
  }
  header nav ul li.dropdown.open .dropdown-menu {
    display: block;
  }
  header nav ul li .dropdown-menu li a {
    padding: 8px 12px;
    font-size: 15px;
  }
  header nav ul li .dropdown-menu .submenu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    background: var(--ig-gray);
    margin-top: 4px;
    padding: 4px;
    width: 100%;
    margin-left: 15px;
  }

  header nav ul li .dropdown-menu {
    position: static;
    display: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    background: #f8f9ff;
    margin-top: 6px;
    border-radius: 10px;
    padding: 6px 0;
    width: 100%;
  }
  header nav ul li.dropdown.open > .dropdown-menu {
    display: block;
  }

  /* Swiper Arrows */
  .swiper-button-next,
  .swiper-button-prev {
    transform: scale(0.8);
  }
}

/* --- Tablet / Mobile (Max: 992px) --- */
@media (max-width: 992px) {
  /* Navigation Toggle */
  header .container {
    flex-wrap: wrap;
  }
  
  /* ======== FIX: Mobile Nav Overlay properly isolated ======== */
  header nav {
    position: absolute;
    top: 80px; /* Right below the header height */
    left: 0;
    width: 100%;
    background: #fff;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    z-index: 1000;
    display: none; 
    flex-direction: column;
    padding: 20px 0;
    max-height: calc(100vh - 80px);
    overflow-y: auto;
    overscroll-behavior: contain;
  }
  
  header nav.active {
    display: flex !important;
  }
  
  header nav > ul {
    flex-direction: column;
    gap: 15px;
    padding: 10px 0;
  }
  header nav ul li {
    margin: 10px 0;
    text-align: center;
    display: block !important;
    width: 100%;
  }

  /* Dropdown Trigger */
  nav ul li.dropdown > a {
    display: block;
    width: 100%;
    text-align: center;
    font-weight: 600;
  }
  .menu-toggle {
    display: block;
    z-index: 1002;
    position: relative;
  }

  /* Social Icons */
  header > .social-icons,
  header .container > .social-icons,
  .desktop-social {
    display: none !important;
  }
  .mobile-social .social-icons {
    display: flex;
    justify-content: center;
    gap: 14px;
    margin-top: 20px;
  }
  .mobile-social .social-icons a {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    color: #fff !important;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
  }

  /* Hero Adjustments */
  .slide-content {
    position: static;
    transform: none;
    text-align: center;
    padding: 20px;
  }
  .slide-image {
    position: static;
    transform: none;
    margin: 20px auto;
  }
  .slide-image img {
    max-width: 250px;
  }

  /* Sections Layout */
  .ivr-container,
  .about-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .ivr-content,
  .ivr-form-box {
    max-width: 100%;
  }
  .ivr-features {
    grid-template-columns: repeat(2, 1fr);
  }
  .ivr-content h2 {
    font-size: 1.8rem;
    text-align: center;
  }
  .ivr-content p {
    text-align: center;
  }
  .about-content p {
    margin-left: auto;
    margin-right: auto;
  }
  .footer-container {
    grid-template-columns: 1fr 1fr;
  }
  .footer-col h3::after {
    left: 50%;
    transform: translateX(-50%);
  }

  /* Services Carousel */
  .services-container {
    height: 480px;
  }
  .service-content h2 {
    font-size: 20px;
  }
  .service-content p {
    font-size: 13px;
    width: 50%;
  }
  .service-content button {
    padding: 8px 20px;
  }
  .services-slide {
    gap: 15px;
  }
  .service-item {
    flex: 0 0 240px;
    height: 320px;
  }
}

/* --- Mobile (Max: 768px) --- */
@media (max-width: 768px) {
  /* Nav */
  nav {
    width: 100%;
  }
  nav ul {
    background: #ffffff00;
    padding: 15px;
    border-radius: 10px;
  }
  nav ul li a {
    font-size: 15px;
    color: var(--ig-dark);
  }

  /* Hero Text & Image */
  .slide-content {
    left: 5%;
    max-width: 90%;
  }
  .slide-content h1 {
    font-size: 2rem;
  }
  .slide-content p {
    font-size: 1rem;
  }
  .slide-image {
    position: static;
    margin: 20px auto 0;
    text-align: center;
    transform: none;
  }
  .slide-image img {
    width: 200px;
    height: 200px;
  }

  /* Hero & Section Padding */
  .hero,
  .hero-section,
  .blog-hero,
  .contact-hero {
    height: auto;
    padding: 80px 20px;
    text-align: center;
  }
  .hero h1,
  .hero-section h1,
  .blog-hero h1,
  .contact-hero h1 {
    font-size: 1.9rem;
    line-height: 1.3;
  }

  /* Grids to Stack */
  .blog-grid,
  .contact-section,
  .services-grid,
  .footer-container {
    grid-template-columns: 1fr !important;
  }
  .footer-container {
    text-align: center;
  }
  .footer-col {
    margin-bottom: 30px;
    text-align: center;
  }
  .footer-social {
    justify-content: center;
  }

  /* Case Studies */
  .case-elegant {
    padding: 70px 20px 110px;
  }
  .case-item {
    padding: 90px 30px 40px;
    text-align: center;
  }
  .case-thumb,
  .case-index {
    left: 50%;
    transform: translateX(-50%);
  }
  .client-flow h2 {
    font-size: 2.2rem;
  }
  .flow-card {
    width: 190px;
    height: 170px;
  }

  /* Services Stack Mobile */
  .services-container {
    padding: 20px 10px;
    max-width: 100%;
    height: auto;
  }
  .service-item {
    flex: 0 0 200px;
    height: 280px;
    position: relative;
    width: 100%;
    transform: none;
    margin-bottom: 20px;
  }
  .service-item:nth-child(n) {
    left: 0 !important;
    opacity: 1;
  }
  .service-content {
    bottom: 15px;
    left: 10px;
    right: 10px;
    padding: 15px;
    display: block;
  }
  .service-content h2 {
    font-size: 14px;
  }
  .service-content p {
    font-size: 12px;
  }
  .service-content button {
    padding: 6px 16px;
    font-size: 12px;
  }
  .services-nav {
    position: static;
    margin-top: 20px;
    transform: none;
  }

  /* Testimonials */
  .testimonial-card {
    padding: 42px 30px;
  }
  .testimonials-header h2 {
    font-size: 32px;
  }

  /* Forms */
  .inquiry-form,
  .contact-form form {
    flex-direction: column;
  }
  .inquiry-form input,
  .inquiry-form button {
    width: 100%;
  }
}

/* --- Mobile / Small Mobile (Max: 576px / 767px Combined Final Logic) --- */
@media (max-width: 767px) {
  /* Final Mobile Hero Logic (Cleanup Version) */
  .home-slider,
  .swiper,
  .swiper-slide {
    min-height: auto !important;
    height: auto !important;
  }
  .swiper-slide {
    padding-bottom: 30px;
  }

  .slide-content {
    padding: 100px 20px 10px;
    text-align: center;
    max-width: 100%;
  }
  .slide-content h1 {
    margin-bottom: 10px;
    font-size: 1.8rem;
    line-height: 1.35;
  }
  .slide-content p {
    margin-bottom: 14px;
    font-size: 0.95rem;
  }
  .slide-content .btn {
    margin-bottom: 18px;
    margin-inline: auto;
    display: inline-block;
  }

  .slide-image {
    padding-bottom: 0;
    margin-bottom: 0;
    margin: 0 auto;
    text-align: center;
  }
  .slide-image img {
    max-width: 210px;
    height: auto;
    margin: 0 auto;
  }

  /* IVR Section Mobile */
  .ivr-features {
    grid-template-columns: 1fr;
  }
  .ivr-content h2 {
    font-size: 1.5rem;
  }
  .ivr-card h3 {
    font-size: 1rem;
  }
  .ivr-card p {
    font-size: 0.9rem;
  }
  .ivr-section {
    padding: 60px 15px;
  }

  /* Footer Heading Lines */
  .service-heading::after {
    margin-left: auto;
    margin-right: auto;
  }
}

/* --- Very Small Devices (Max: 480px) --- */
@media (max-width: 480px) {
  .slide-content h1 {
    font-size: 1.4rem;
  }
  .slide-content p {
    font-size: 0.85rem;
  }
  .btn {
    font-size: 13px;
    padding: 8px 18px;
  }

  header .logo img {
    max-height: 70px;
  }
  .menu-toggle {
    font-size: 22px;
  }

  /* Reduce padding everywhere */
  section {
    padding-left: 10px;
    padding-right: 10px;
  }

  /* Popup */
  .case-popup {
    padding: 28px;
    border-radius: 18px;
  }
  .case-popup h2 {
    font-size: 24px;
  }
  .popup-intro {
    font-size: 14.5px;
  }
  .popup-cta {
    width: 100%;
    text-align: center;
  }
}

/* --- Large Screens (Min: 1400px) --- */
@media (min-width: 1400px) {
  .slide-content h1 {
    font-size: 4.2rem; /* Scaled up properly */
  }
 
  .image-content img {
    width: 400px;
  }
  
  /* Force main sections to center and not over-stretch */
  .festival-offers .swiper,
  .client-flow .flow-wrap {
    max-width: 1400px;
    margin: 0 auto;
  }
}

/* --- Ultra-Wide Screens (4K / Min: 1920px) --- */
@media (min-width: 1920px) {
  html, body {
    font-size: 18px; /* Slightly bumps up global text size for readability */
  }
  
  .slider-container, 
  header .container,
  .footer-container {
    max-width: 1600px; /* Gives a bit more breathing room on 4K */
  }
  
  .hero-slider {
    min-height: 75vh; /* Prevents hero from being overly tall */
  }
}

/* Card motion */
.service-card,
.offer-card,
.case-elegant .card,
.testimonial-card {
  transition:
    transform 0.4s ease,
    box-shadow 0.4s ease;
}

.service-card:hover,
.case-elegant .card:hover,
.testimonial-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.12);
}

/* Buttons */
button,
.btn,
a.button {
  transition: transform 0.3s ease;
}

button:hover,
.btn:hover {
  transform: translateY(-2px);
}

/* Typography rhythm */
h1,
h2 {
  letter-spacing: -0.02em;
}

p {
  line-height: 1.7;
}

section {
  will-change: transform, opacity;
}

img {
  will-change: transform;
}

button,
.btn {
  transition: box-shadow 0.3s ease;
}

@media (max-width: 992px) {

  .slide-content {
    flex-direction: column;
    text-align: center;
    padding: 0 10px;
  }

  .text {
    padding-right: 0;
  }

  .image {
    justify-content: center;
  }

  .slider-container {
    padding: 2rem 20px;
  }

  .prev,
  .next {
    width: 40px;
    height: 40px;
    font-size: 1.5rem;
  }
}

@media (max-width: 576px) {

  .text h1 {
    font-size: 1.8rem;
  }

  .text p {
    font-size: 0.95rem;
  }

  .prev {
    left: 5px;
  }

  .next {
    right: 5px;
  }
}

    /* ==========================================
       SCROLL & FOOTER FEATURES
       ========================================== */
    /* Header Hide on Scroll */
    #main-header {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      z-index: 1000;
      transition: transform 0.3s ease-in-out;
      background-color: #fff;
      box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    }
    body {
      padding-top: 80px; 
    }

    /* Back to Top Button */
    #backToTop {
      display: none;
      position: fixed;
      bottom: 30px;
      right: 30px;
      z-index: 999;
      border: none;
      outline: none;
      background-color: #018eec;
      color: white;
      cursor: pointer;
      padding: 15px;
      border-radius: 50%;
      font-size: 20px;
      box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);
      width: 50px;
      height: 50px;
      align-items: center;
      justify-content: center;
      opacity: 0;
      visibility: hidden;
      transition: all 0.3s ease;
    }
    #backToTop.show {
      display: flex;
      opacity: 1;
      visibility: visible;
    }
    #backToTop:hover {
      background-color: #016bba;
      transform: translateY(-3px);
    }

    /* Advanced CSS Grid Logic for Smooth Footer Collapse */
    .footer-collapsible-wrapper {
      display: grid;
      grid-template-rows: 0fr;
      transition: grid-template-rows 0.6s ease-in-out;
      width: 100%;
    }
    .footer-collapsible-wrapper.open {
      grid-template-rows: 1fr;
    }
    .footer-collapsible-inner {
      overflow: hidden;
      opacity: 0;
      visibility: hidden;
      transition: opacity 0.4s ease-in-out, visibility 0.6s;
    }
    .footer-collapsible-wrapper.open .footer-collapsible-inner {
      opacity: 1;
      visibility: visible;
      transition: opacity 0.6s ease-in-out, visibility 0.1s;
    }

    /* Footer Toggle Button Enhancement */
    .footer-toggle-btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 10px;
      background: linear-gradient(135deg, #018eec, #0166b3);
      color: white;
      font-size: 1rem;
      font-weight: 600;
      border: none;
      padding: 12px 28px;
      border-radius: 30px;
      cursor: pointer;
      box-shadow: 0 4px 15px rgba(1, 142, 236, 0.4);
      transition: all 0.3s ease;
    }
    .footer-toggle-btn:hover {
      transform: translateY(-3px);
      box-shadow: 0 6px 20px rgba(1, 142, 236, 0.6);
    }
    .footer-toggle-btn i {
      transition: transform 0.4s ease;
    }
    .footer-toggle-btn.open i {
      transform: rotate(180deg);
    }

    /* ==========================================
       SPLIT TESTIMONIAL REDESIGN
       ========================================== */
    .split-testimonial-wrap {
      display: flex;
      flex-wrap: wrap;
      width: 100%;
      position: relative;
    }
    .split-testi-left {
      width: 40%;
      background: linear-gradient(135deg, #018eec, #0166b3); 
      color: #fff;
  font-weight: 600;
      padding: 8% 8% 8% 8%;
      display: flex;
      align-items: center;
      border-radius: 9px;
      position: relative;
      box-shadow: 0 10px 25px rgba(1,142,236,0.5);
      z-index: 1;
    }
    .testi-left-content {
      max-width: 450px;
    }
    .testi-brand-line {
      border: none;
      height: 2px;
      background: #ffffff;
      width: 100%;
      margin-bottom: 30px;
    }
    .testi-left-content h2 {
      font-size: 2.5rem;
      font-weight: 600;
      line-height: 1.3;
      margin-bottom: 20px;
      text-transform: uppercase;
      letter-spacing: 1px;
    }
    .testi-left-content p {
      font-size: 1rem;
      color: #ffffffe4;
      line-height: 1.6;
    }
    .split-testi-right {
      width: 60%;
      position: relative;
      padding: 5% 0;
      display: flex;
      align-items: center;
    }
    /* Negative margin to create the overlap effect */
    .splitTestimonialSwiper {
      width: 100%;
      margin-left: -120px; 
      padding: 20px 20px 20px 0;
      z-index: 2;
    }
    .split-testi-card {
     
      background: #dcf0ff;
      border: #018eec solid 2px;
      border-radius: 9px;
      padding: 40px 30px;
      box-shadow: 0 10px 30px rgba(0,0,0,0.08);
      height: 100%;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      min-height: 350px;
    }
    .testi-text {
      font-size: 0.95rem;
      color:  #242d3f;
      line-height: 1.8;
      margin-bottom: 30px;
    }
    .testi-author-info {
      margin-top: auto;
    }
    .testi-author-name {
      color: #018eec; 
      font-size: 0.95rem;
      font-weight: 500;
      margin-bottom: 5px;
    }
    .testi-author-role {
      color:  #242d3f; 
      font-size: 1rem;
      font-weight: 700;
    }

    /* Custom Navigation Buttons */
    .custom-testi-prev, .custom-testi-next {
      background-color: rgba(255, 255, 255, 0.1); 
      border: 1px solid rgba(255,255,255,0.2);
      color: #018eec;
      background-color: #018eec; 
      color: white;
      width: 45px;
      height: 45px;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      z-index: 10;
      cursor: pointer;
      box-shadow: 0 4px 10px rgba(0,0,0,0.15);
      transition: all 0.3s ease;
    }
    .custom-testi-prev:hover, .custom-testi-next:hover {
      background-color: #018eec; 
    }
    .custom-testi-prev {
      left: -140px; 
    }
    .custom-testi-next {
      right: 20px;
    }

    @media (max-width: 992px) {
      .split-testi-left {
        width: 100%;
        padding: 10% 5%;
      }
      .split-testi-right {
        width: 100%;
        padding: 10% 5%;
      }
      .splitTestimonialSwiper {
        margin-left: 0;
        padding: 0;
      }
      .custom-testi-prev {
        left: 0;
        background-color: #018eec;
      }
      .custom-testi-next {
        right: 0;
        background-color: #018eec;
      }
    }
  /* --- Large & Ultra-Wide Screens (Min: 1400px) --- */
@media (min-width: 1400px) {
  header { height: 100px; } 
  header .logo img { max-height: 220px; } 
  header nav { gap: 40px; } 
  header nav ul li { margin: 15px; } 
  header nav ul li a { font-size: 18px; } 
  header .social-icons a { 
    width: 44px; 
    height: 44px; 
    font-size: 1.2rem; 
  }
}

/* ==============================================================
   FULL WIDTH RESPONSIVENESS FOR LARGE SCREENS (1400px & Ultra-Wide)
   ============================================================== */
@media (min-width: 1400px) {
  .container,
  .footer-container,
  .ivr-container,
  .about-container,
  .slider-container,
  .services-grid,
  .split-testimonial-wrap,
  .faq-container,
  .case-wrapper,
  .contact-section,
  .blog-section,
  .about-section,
  .values-cards,
  .team h2, 
  .team-cards,
  .swiper.servicesSwiper {
    max-width: 96% !important;
    width: 96% !important;
  }

  .slide-content {
    padding: 0 4%;
  }
  .image img {
    max-width: 120%; 
  }

  .who-we-are .container {
    gap: 120px; 
  }
  .image-content img {
    max-width: 450px; 
  }

  .services-grid {
    gap: 40px;
  }
  .ser-card {
    padding: 40px 30px;
  }

  .split-testi-left {
    width: 30%; 
  }
  .split-testi-right {
    width: 70%;
  }
  .custom-testi-prev {
    left: -80px; 
  }

  .faq-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .faq-item {
    margin-bottom: 0;
    height: max-content;
  }

  .footer-container {
    grid-template-columns: 1.5fr 1fr 2.5fr; 
    gap: 80px;
  }
}

/* ==============================================================
   4K MONITOR SCALING (1920px and up)
   ============================================================== */
@media (min-width: 1920px) {
  .text h1 { font-size: 5rem; }
  .text p { font-size: 1.5rem; }
  .text button { font-size: 1.2rem; padding: 1rem 3rem; }
  
  .ser-card h3 { font-size: 2.2rem; }
  .ser-card p { font-size: 1.2rem; }
  .sub-services li { font-size: 1.1rem; padding: 16px; }

  .case-header h2 { font-size: 3rem; }
  .case-header .subtext { font-size: 1.2rem; }
  
  .split-testi-card { min-height: 400px; padding: 60px 50px; }
  .testi-text { font-size: 1.2rem; }
}

/* ============================
   PREMIUM RESPONSIVE BANNER SLIDER (FULL SCREEN)
============================ */
.banner-section {
  width: 100%;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: center;
}

.banner-container {
  width: 100%;
  max-width: 100%;
  padding: 0;
  margin: 0;
  position: relative;
}

.bannerSwiper {
  width: 100%;
  height: calc(100vh - 120px); /* Fill space below header (80px) and marquee (40px) */
  min-height: 400px;
  border-radius: 0; /* Fully square */
  border: none;
  overflow: hidden;
  background-color: transparent;
  transition: all 0.4s ease;
}

.bannerSwiper:hover {
  box-shadow: none;
  transform: none;
}

.bannerSwiper .swiper-slide {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: transparent;
}

.bannerSwiper .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover; 
  object-position: center;
}

/* UI/UX: Huge Classy Arrows */
.banner-next, .banner-prev {
  background: transparent !important;
  box-shadow: none !important;
  color: rgba(255, 255, 255, 0.7) !important;
  width: 80px !important;
  height: 100px !important;
  border-radius: 0 !important;
  transition: all 0.3s ease;
  transform: translateY(-50%) !important;
  margin-top: 0 !important;
}

.bannerSwiper:hover .banner-next,
.bannerSwiper:hover .banner-prev {
  color: #ffffff !important;
}

.banner-next:after, .banner-prev:after {
  font-size: 80px !important;
  font-weight: 200 !important; /* Elegant thin font weight */
  text-shadow: 0 4px 15px rgba(0,0,0,0.4);
}

.banner-next:hover, .banner-prev:hover {
  background: transparent !important;
  box-shadow: none !important;
  color: #fff !important;
  transform: translateY(-50%) scale(1.1) !important;
}

/* Modern Pill-Shaped Pagination Dots */
.banner-pagination {
  bottom: 20px !important;
}
.banner-pagination .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background: white;
  opacity: 0.6;
  border: 1px solid rgba(0,0,0,0.2);
  transition: all 0.3s ease;
}
.banner-pagination .swiper-pagination-bullet-active {
  opacity: 1;
  background: var(--ig-blue);
  width: 30px; 
  border-radius: 10px;
  border: none;
}

/* ============================
   RESPONSIVE BREAKPOINTS FOR BANNER
============================ */

/* 2. Ultra-Wide & 4K Monitors (1800px and up) */
@media (min-width: 1800px) {
  .banner-container {
    width: 100%; 
    max-width: 100%; 
  }
  .bannerSwiper {
    height: calc(100vh - 120px);
    max-height: none; 
    border-radius: 0; 
  }
}

/* 3. Tablets (Max: 1024px) */
@media (max-width: 1024px) {
  .bannerSwiper {
    height: 50vh;
    min-height: 350px;
  }
}

/* 4. Mobile Phones (Max: 768px) */
@media (max-width: 768px) {
  .banner-section {
    margin-top: 0px; 
    padding-bottom: 30px;
  }
  .banner-container {
    width: 100%; 
  }
  .bannerSwiper {
    height: calc(100vh - 120px) !important; 
    min-height: 300px !important; 
    border-radius: 0;
    border: none; 
  }
  
  .bannerSwiper:hover {
    transform: none;
    box-shadow: none;
  }
  /* Keep arrows visible but smaller */
  .banner-next, .banner-prev {
    display: flex !important;
    width: 40px !important;
  }
  .banner-next:after, .banner-prev:after {
    font-size: 40px !important;
  }
  .banner-pagination {
    bottom: 10px !important;
  }
  .banner-pagination .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
  }
  .banner-pagination .swiper-pagination-bullet-active {
    width: 22px;
  }
}

/* =========================================================
   FESTIVAL OFFERS - LARGE SCREEN RESPONSIVENESS
========================================================= */

.festival-offers .swiper {
  width: 96%;
  max-width: 1600px;
  margin: 0 auto;
  border-radius: 18px;
}

@media (min-width: 1400px) {
  .offer-card {
    height: 400px; 
  }
  .offer-content h3 {
    font-size: 2.2rem;
  }
  .offer-content p {
    font-size: 1.25rem;
  }
  .offer-content .btn {
    font-size: 1.1rem;
    padding: 12px 28px;
  }
}

@media (min-width: 1800px) {
  .festival-offers .swiper {
    width: 98%;
    max-width: 2400px; 
  }
  .offer-card {
    height: 500px; 
  }
  .festival-offers h2 {
    font-size: 3.5rem;
  }
  .festival-offers .sub-text {
    font-size: 1.4rem;
    margin-bottom: 60px;
  }
  .offer-content h3 {
    font-size: 3rem;
    margin-bottom: 20px;
  }
  .offer-content p {
    font-size: 1.5rem;
    margin-bottom: 25px;
  }
  .offer-content .btn {
    font-size: 1.3rem;
    padding: 15px 35px;
  }
}

/* --- Mobile Phones (Max: 768px) --- */
@media (max-width: 768px) {
  .bannerSwiper {
    display: flex;
  }
  
  .bannerSwiper .swiper-slide {
    height: 100% !important;
  }
  
  .bannerSwiper .swiper-slide img {
    height: 100% !important;
    object-fit: cover !important;
    display: block;
  }

  .banner-pagination .swiper-pagination-bullet { 
    margin: 0 4px !important;
    background: white !important; 
    opacity: 0.8; 
    border: 1px solid rgba(0,0,0,0.2);
  }
  .banner-pagination .swiper-pagination-bullet-active { 
    width: 24px !important; 
    border-radius: 10px !important;
    background: var(--ig-blue) !important;
    border: none !important;
    opacity: 1;
  }
}

/* ==========================================
   FIX 1: SERVICE SECTION REFINEMENTS
   ========================================== */
/* Make the "Our Services" heading uppercase */
.section-heading h2 {
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Prevent the service boxes from stretching massively on large screens */
@media (min-width: 1400px) {
  .services-section .services-grid {
    max-width: 1200px !important; /* Overrides the 96% width rule */
    width: 100% !important;
    margin: 0 auto !important;
  }
}


/* ==========================================
   FIX 2: FOOTER ALIGNMENT & SPACING
   ========================================== */
@media (min-width: 1024px) {
  /* Fix the main 3 columns (About | Quick Links | Our Services) */
  .footer-container {
    grid-template-columns: 350px 180px 1fr !important;
    gap: 40px !important;
    justify-content: start !important;
  }
  
  /* Tighten the gap between Marketing, Promote, and Development */
  .footer-col.services-col .services-grid {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 50px !important;
  }
}

/* Clean up the vertical spacing for the lists */
.footer-col ul li {
  margin-bottom: 12px !important;
}

.footer-col ul li a {
  font-size: 0.9rem !important;
}

.service-heading {
  display: inline-block;
  margin-bottom: 15px !important;
  font-size: 0.95rem !important;
  font-weight: 700 !important;
}


.footer-col {
  text-align: left !important; 
}
.footer-logo img {
  margin: 0 0 15px 0 !important; 
}
.footer-col h3::after {
  margin: 8px 0 20px 0 !important; 
}
.footer-social {
  justify-content: flex-start !important; 
  display: flex !important;
}

/* Structured Grid Layout for Large Screens */
@media (min-width: 1024px) {
  .footer-container {
    display: grid !important;
    /* Proportions: About (28%), Links (15%), Services (57%) */
    grid-template-columns: 2.8fr 1.5fr 5.7fr !important; 
    max-width: 1250px !important;
    margin: 0 auto !important; /* Centers the whole block on the screen */
    gap: 60px !important;
    align-items: start !important;
  }
  
  /* Reset widths so the grid controls the sizing */
  .footer-col { width: auto !important; } 

  /* The Services Sub-Grid (Marketing, Promote, Dev) */
  .footer-col.services-col .services-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 30px !important;
  }
}

/* Clean List Spacing */
.footer-col ul li {
  margin-bottom: 12px !important;
}

.service-heading {
  display: block !important;
  margin-bottom: 15px !important;
  font-size: 1rem !important;
  font-weight: 700 !important;
  color: var(--ig-blue) !important;
}
@media (min-width: 1400px) {
  .faq-container {
    grid-template-columns: 1fr !important; /* Forces a single column */
    max-width: 900px !important; /* Keeps it from stretching too wide */
    margin: 0 auto !important;
  }
}


@media (min-width: 1400px) {
  .carousel-container {
    height: 550px !important; /* Increases overall container height */
  }
  .case-item {
    max-width: 460px !important; /* Makes the cards wider */
    padding: 100px 40px 40px !important; 
  }
  .case-item img {
    height: 240px !important; /* Makes the images taller */
  }
}


@media (min-width: 1400px) {
  
  .about-container {
    max-width: 1200px !important; 
    width: 100% !important;
    margin: 0 auto !important; /* Centers the block on the screen */
    gap: 40px !important; /* Brings the text and image closer together */
  }
}

/* Removes the large vertical gap between the two sections */

.about-section {
  padding-top: 20px !important; 
}

.site-footer {
 
  background: linear-gradient(180deg, #d0e6ff 0%, #f0f7ff 100%) !important; 
  

  /* border-top: 2px solid #018eec !important;  */

  margin-top: 40px !important; 
  
  
  padding-top: 10px !important;
  padding-bottom: 20px !important;
}

/* Optional: Subtle adjustment to the bottom bar for the gradient theme */
.footer-bottom {
  /* background: #ffffff !important; */
  border-top: 1px solid var(--ig-blue) !important;
  margin-top: 30px !important;
}

/* ... existing code ... */
@media (min-width: 1400px) {
  .carousel-container {
    height: 550px !important; /* Increases overall container height */
  }
  .case-item {
    max-width: 460px !important; /* Makes the cards wider */
    padding: 100px 40px 40px !important; 
  }
  .case-item img {
    height: 240px !important; /* Makes the images taller */
  }
}

/* ==========================================
   ADDED: SCROLL, MENU, & LAYOUT FIXES
   ========================================== */

/* Fix Sticky Header overlapping content */
body { padding-top: 80px; }
@media (max-width: 1023px) { body { padding-top: 115px; } }
@media (max-width: 768px) { body { padding-top: 105px; } }
@media (max-width: 480px) { body { padding-top: 90px; } }
@media (min-width: 1400px) { body { padding-top: 100px; } }

#main-header {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
  transition: transform 0.3s ease-in-out; background-color: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Increase Menu Text Size */
nav ul.dropdown-menu li a, nav ul.submenu li a {
    font-size: 1.05rem !important; 
    padding-top: 12px !important;
    padding-bottom: 12px !important;
}

/* Permanently Visible Footer (Overrides old hidden logic) */
.footer-collapsible-wrapper { display: block !important; width: 100%; height: auto !important; }
.footer-collapsible-inner { overflow: visible !important; opacity: 1 !important; visibility: visible !important; }

/* Case Study Horizontal Scroll Fix */
.carousel-track {
  display: flex !important; flex-wrap: nowrap !important; overflow-x: visible !important;
  scroll-behavior: smooth !important; scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch; scrollbar-width: none; -ms-overflow-style: none; width: 100%;
}
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-track .case-item { flex: 0 0 auto !important; scroll-snap-align: start; }
.nav-arrow { z-index: 10 !important; }

/* Floating Back to Top & Admin Login Buttons */
#backToTop { display: none; position: fixed; bottom: 30px; right: 30px; z-index: 999; background-color: #018eec; color: white; cursor: pointer; padding: 15px; border-radius: 50%; width: 50px; height: 50px; align-items: center; justify-content: center; box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3); border: none; transition: all 0.3s ease; }
#backToTop.show { display: flex; }
#backToTop:hover { background-color: #016bba; transform: translateY(-3px); }

#adminLoginBtn { position: fixed; bottom: 30px; right: 90px; z-index: 999; background-color: #242d3f; color: white; text-decoration: none; border-radius: 50%; font-size: 18px; box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3); width: 50px; height: 50px; display: flex; align-items: center; justify-content: center; transition: all 0.3s ease; }
#adminLoginBtn:hover { background-color: #018eec; transform: translateY(-3px); }

.about-visual .illustration-card,
.about-visual .illustration-card img,
.who-we-are .image-content,
.who-we-are .image-content img {
    transform: none !important;
    animation: none !important;
}


/* ... existing code ... */

/* ==========================================
   FAQ SECTION TRUNCATION FIX
   ========================================== */
.faq-item {
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
}

.faq-answer,
.faq-answer p,
.faq-answer div {
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
    text-overflow: clip !important;
    -webkit-line-clamp: unset !important;
    -webkit-box-orient: unset !important;
    display: block; /* Allows natural block expansion */
}

.carousel-track { 
  display: flex !important; 
  flex-wrap: nowrap !important; 
  overflow-x: auto !important; /* Changed from visible to auto to allow JS scrolling */
  scroll-behavior: smooth !important; 
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch; 
  scrollbar-width: none; 
  -ms-overflow-style: none; 
  width: 100%;
  gap: 20px; /* Added gap to prevent cards from overlapping */
}
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-track .case-item { 
  flex: 0 0 350px !important; /* Forced exact width so cards never squish */
  max-width: 85vw !important; /* Keeps it responsive on mobile */
  scroll-snap-align: start; 
}