﻿/* ==================================
   KRITI DIGITAL SOLUTIONS - STYLE.CSS
   Apptunix-Style Dark Premium Theme
   Color: Dark Navy + Hot Pink
   ================================== */

/* ---- CSS Variables ---- */
:root {
  --primary-dark: #080E1D;
  --primary-deeper: #060D18;
  --card-bg: #0E1829;
  --card-bg-hover: #111f38;
  --accent: #E91E63;
  --accent-light: #FF6090;
  --accent-glow: rgba(233, 30, 99, 0.3);
  --text-white: #ffffff;
  --text-light: #c0c8d8;
  --text-muted: #8892a4;
  --border-color: rgba(255, 255, 255, 0.07);
  --gradient-main: linear-gradient(
    135deg,
    #080E1D 0%,
    #0B1120 50%,
    #080E1D 100%
  );
  --gradient-accent: linear-gradient(135deg, #E91E63, #FF6090);
  --gradient-blue: linear-gradient(135deg, #E91E63, #FF6090);
  --gradient-card: linear-gradient(
    180deg,
    rgba(14, 24, 41, 0.9) 0%,
    rgba(8, 14, 29, 1) 100%
  );
  --font-primary: "Inter", sans-serif;
  --font-heading: "Outfit", sans-serif;
  --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.25);
  --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.45);
  --shadow-glow: 0 0 30px var(--accent-glow);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 30px;
  --transition: all 0.3s ease;
  --transition-slow: all 0.5s ease;
}

/* ---- Reset & Base ---- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  overflow-x: hidden;
  width: 100vw;
  max-width: 100%;
}

body {
  font-family: var(--font-primary);
  background: var(--primary-dark);
  color: var(--text-white);
  line-height: 1.7;
  overflow-x: hidden;
  width: 100%;
  position: relative;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.3;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: var(--transition);
}
a:hover {
  color: var(--accent-light);
}

img {
  max-width: 100%;
  height: auto;
}

section {
  padding: 80px 0;
  position: relative;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, #fff 0%, #c0c8d8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-light);
  max-width: 700px;
  margin-bottom: 3rem;
}

.accent-text {
  color: var(--accent);
  -webkit-text-fill-color: var(--accent);
}

/* ---- Navbar ---- */
.kd-navbar {
  background: rgba(10, 22, 40, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-color);
  padding: 12px 0;
  transition: var(--transition);
  z-index: 9999;
}

.kd-navbar.scrolled {
  background: rgba(6, 15, 30, 0.98);
  padding: 8px 0;
  box-shadow: var(--shadow-md);
}

.nav-logo {
  height: 42px;
  width: auto;
  margin-right: 10px;
  transition: var(--transition);
}

.brand-text {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--text-white);
  letter-spacing: -0.5px;
}

.brand-tagline {
  font-size: 0.65rem;
  color: rgba(255,255,255,0.45);
  font-weight: 400;
  margin-left: 4px;
  vertical-align: middle;
  letter-spacing: 0.5px;
}

.kd-navbar .nav-link {
  color: var(--text-light) !important;
  font-weight: 500;
  font-size: 0.95rem;
  padding: 8px 16px !important;
  transition: var(--transition);
  position: relative;
}

.kd-navbar .nav-link:hover,
.kd-navbar .nav-link.active {
  color: var(--text-white) !important;
}

.kd-navbar .nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--accent);
  transform: translateX(-50%);
  transition: var(--transition);
  border: none !important;
  margin: 0 !important;
  display: block;
}

.kd-navbar .nav-link:hover::after {
  width: 60%;
}

.toggler-icon {
  font-size: 1.5rem;
  color: var(--text-white);
}

/* ---- CTA Button ---- */
.btn-kd-primary {
  background: var(--gradient-accent);
  color: #fff;
  border: none;
  padding: 10px 24px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.btn-kd-primary::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: left 0.5s;
}

.btn-kd-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
  color: #fff;
}

.btn-kd-primary:hover::before {
  left: 100%;
}

.btn-kd-outline {
  background: transparent;
  color: var(--text-white);
  border: 2px solid var(--accent);
  padding: 10px 24px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: var(--transition);
}

.btn-kd-outline:hover {
  background: var(--accent);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

.btn-nav-cta {
  padding: 8px 20px;
  font-size: 0.85rem;
}

/* ---- Mega Menu ---- */
.mega-dropdown {
  position: static !important;
}

.mega-menu {
  width: 100%;
  background: rgba(10, 22, 40, 0.98);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-color);
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  padding: 0;
  margin-top: 0;
  box-shadow: var(--shadow-lg);
  animation: slideDown 0.3s ease;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.mega-menu-inner {
  padding: 30px 40px;
}

.mega-menu-title {
  color: var(--text-muted);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 20px;
  font-weight: 600;
}

.mega-menu-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  text-decoration: none;
  margin-bottom: 4px;
}

.mega-menu-item:hover {
  background: var(--card-bg);
  transform: translateX(5px);
}

.mega-item-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(233, 30, 99, 0.1);
  border: 1px solid rgba(233, 30, 99, 0.2);
  border-radius: var(--radius-sm);
  color: var(--accent);
  font-size: 1.2rem;
  flex-shrink: 0;
  transition: var(--transition);
}

.mega-menu-item:hover .mega-item-icon {
  background: var(--accent);
  color: #fff;
}

.mega-item-content h6 {
  color: var(--text-white);
  font-size: 0.9rem;
  margin-bottom: 2px;
}

.mega-item-content p {
  color: var(--text-muted);
  font-size: 0.78rem;
  margin: 0;
}

.mega-menu-sidebar {
  background: var(--card-bg);
  border-radius: var(--radius-md);
  padding: 24px;
  height: 100%;
}

.mega-sidebar-card {
  text-align: center;
  padding: 20px 0;
}

.mega-sidebar-card i {
  font-size: 2.5rem;
  color: var(--accent);
  margin-bottom: 15px;
  display: block;
}

.mega-sidebar-card h6 {
  color: var(--text-white);
  margin-bottom: 10px;
}

.mega-sidebar-card p {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-bottom: 15px;
}

.btn-mega {
  background: var(--gradient-accent);
  color: #fff;
  border-radius: 50px;
  padding: 6px 16px;
  font-size: 0.8rem;
}

.btn-mega:hover {
  color: #fff;
  box-shadow: var(--shadow-glow);
}

/* Regular Dropdown */
.kd-dropdown {
  background: rgba(10, 22, 40, 0.98);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 10px;
  animation: slideDown 0.3s ease;
}

.kd-dropdown .dropdown-item {
  color: var(--text-light);
  font-size: 0.9rem;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.kd-dropdown .dropdown-item:hover {
  background: var(--card-bg);
  color: var(--accent);
  transform: translateX(5px);
}

/* Mega Menu & Dropdown Hover (Desktop) */
@media (min-width: 992px) {
  .kd-navbar .dropdown .dropdown-menu {
    display: block;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    margin-top: 15px; /* Adjusting visual space with margin */
    transition: opacity 0.3s ease, visibility 0s linear 0.3s;
  }
  
  /* The Bridge! Prevent mouse leaving gap */
  .kd-navbar .dropdown .dropdown-menu::before {
    content: '';
    position: absolute;
    top: -20px; /* Covers the gap */
    left: 0;
    right: 0;
    height: 20px;
    background: transparent;
  }
  
  .kd-navbar .dropdown:hover > .dropdown-menu,
  .kd-navbar .dropdown:focus-within > .dropdown-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition: opacity 0.3s ease, visibility 0s linear 0s;
  }
}

/* ---- Hero Section ---- */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--gradient-main);
  position: relative;
  overflow: hidden;
  padding-top: 100px;
}

.hero-section::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -30%;
  width: 80%;
  height: 80%;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 60%);
  animation: heroGlow 8s ease-in-out infinite alternate;
  pointer-events: none;
}

.hero-section::after {
  content: "";
  position: absolute;
  bottom: -50%;
  left: -20%;
  width: 60%;
  height: 60%;
  background: radial-gradient(
    circle,
    rgba(233, 30, 99, 0.08) 0%,
    transparent 60%
  );
  animation: heroGlow 10s ease-in-out infinite alternate-reverse;
  pointer-events: none;
}

@keyframes heroGlow {
  0% {
    transform: scale(1) translate(0, 0);
  }
  100% {
    transform: scale(1.2) translate(30px, -20px);
  }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 20, 147, 0.1);
  border: 1px solid rgba(255, 20, 147, 0.3);
  border-radius: 50px;
  padding: 8px 20px;
  font-size: 0.85rem;
  color: var(--accent-light);
  margin-bottom: 20px;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(255, 20, 147, 0.3);
  }
  50% {
    box-shadow: 0 0 0 10px rgba(255, 20, 147, 0);
  }
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 1.5rem;
  letter-spacing: -1px;
}

.hero-title .typed-text {
  color: var(--accent);
  display: inline;
}

.hero-description {
  font-size: 1.15rem;
  color: var(--text-light);
  max-width: 600px;
  margin-bottom: 2rem;
  line-height: 1.8;
}

.hero-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.hero-stats {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}

.hero-stat-item {
  text-align: center;
}

.hero-stat-item .stat-icon {
  color: var(--accent);
  font-size: 1.2rem;
  margin-bottom: 5px;
}

.hero-stat-item .stat-text {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.hero-visual {
  position: relative;
}

.hero-image-container {
  position: relative;
  z-index: 2;
}

.hero-image-container img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

/* Floating Elements */
.floating-card {
  position: absolute;
  background: rgba(15, 31, 58, 0.9);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 12px 20px;
  animation: float 6s ease-in-out infinite;
  z-index: 3;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-15px);
  }
}

/* ---- Trusted By Section ---- */
.trusted-section {
  padding: 40px 0;
  background: var(--primary-deeper);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.trusted-label {
  color: var(--accent);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-right: 30px;
  white-space: nowrap;
}

.trusted-logos {
  display: flex;
  align-items: center;
  overflow: hidden;
  position: relative;
}

.trusted-logos-track {
  display: flex;
  gap: 50px;
  animation: scroll 30s linear infinite;
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.trusted-logos-track img {
  height: 45px; /* Slightly larger for better visibility of real logos */
  width: auto;
  opacity: 0.8;
  transition: var(--transition);
  object-fit: contain;
}

.trusted-logos-track img:hover {
  opacity: 1;
  transform: scale(1.05);
}

/* ---- Innovation / About Section ---- */
/* =========================================
   INNOVATION / ABOUT SECTION (Revised)
   ========================================= */
.innovation-section {
    padding: 100px 0;
    background: #0f172a; /* Deep dark blue like Apptunix */
    position: relative;
    overflow: hidden;
}

.innovation-title-text {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 1.8rem; /* Smaller heading above main title */
    line-height: 1.2;
    color: #fff;
    margin-bottom: 5px;
    opacity: 0.9;
}

.innovation-highlight {
    font-family: 'Outfit', sans-serif;
    font-weight: 900;
    font-size: 4rem; /* Huge title */
    color: var(--accent);
    /* background: linear-gradient(90deg, #4facfe 0%, #00f2fe 100%); Removed gradient blue */
    /* -webkit-background-clip: text; */
    /* background-clip: text; */
    /* -webkit-text-fill-color: transparent; */
    /* color: transparent; */
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 25px;
    letter-spacing: 2px;
}

.innovation-text {
    color: #94a3b8; /* Slate gray */
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 40px;
    max-width: 95%;
}

/* Visuals Container */
.innovation-visuals-container {
    position: relative;
    margin-top: 20px;
}

/* Desktop Grid Layout — 2 images side by side */
.innovation-img-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

/* 4:3 Aspect Ratio Image Box */
.inn-img-box-43 {
    position: relative;
    width: 100%;
    padding-top: 75%; /* 4:3 = 75% of width */
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0,0,0,0.4);
    display: flex;
    align-items: center;
    justify-content: center;
}

.inn-img-box-43 img {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.inn-img-box-43:hover img {
    transform: scale(1.05);
}

.innovation-video-box {
    width: 100%;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    background: #000;
    position: relative;
}

.innovation-video-box iframe,
.innovation-video-box video {
    display: block;
    width: 100%;
    border-radius: 16px;
}

/* Stats Row */
.innovation-stats-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255,255,255,0.08);
    border-bottom: 1px solid rgba(255,255,255,0.08); /* Optional: Apptunix might not have bottom border */
    padding: 30px 0;
    margin-top: 40px;
    flex-wrap: wrap;
    gap: 20px;
}

.innovation-stat {
    text-align: center;
    position: relative;
    flex: 1;
    padding: 0 10px;
}

.innovation-stat:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 40px;
    width: 1px;
    background: rgba(255,255,255,0.1);
}

.innovation-stat-num {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 2.2rem;
    color: #fff;
    margin-bottom: 5px;
}

.innovation-stat-label {
    font-size: 0.68rem;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

/* Mobile Swiper Layout */
.mobile-slide-img {
    height: 250px;
    border-radius: 12px;
    overflow: hidden;
}
.mobile-slide-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.mobile-slide-video {
    height: 250px;
    border-radius: 12px;
    overflow: hidden;
    background: #000;
}
.mobile-slide-video iframe,
.mobile-slide-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 991px) {
    .innovation-section {
        padding: 60px 0;
    }
    .innovation-title-text {
        font-size: 1.5rem;
        text-align: center;
    }
    .innovation-highlight {
        font-size: 2.8rem;
        text-align: center;
        display: block; /* Center align needs block */
    }
    .innovation-text {
        text-align: center;
        margin-left: auto;
        margin-right: auto;
        font-size: 1rem;
    }
    
    .innovation-stats-row {
        flex-direction: row; /* Keep as row but wrap */
        justify-content: center;
        gap: 30px;
        margin-top: 30px;
        border-bottom: none;
    }
    .innovation-stat {
        flex: 0 0 45%; /* 2 per row */
        margin-bottom: 15px;
    }
    .innovation-stat::after {
        display: none;
    }
    
    /* Swiper Styling */
    .innovationSwiper {
        padding-bottom: 40px; /* Space for pagination */
    }
    .innovationSwiper .swiper-slide {
        width: 85%; /* Shows part of next slide */
        margin-right: 15px;
    }
}

/* ---- Tech Offerings Section ---- */
.tech-offerings-section {
  background: var(--primary-deeper);
}

.tech-offering-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 40px 30px;
  transition: var(--transition-slow);
  height: 100%;
}

.tech-offering-card:hover {
  border-color: var(--accent);
  transform: translateY(-8px);
  box-shadow: var(--shadow-glow);
}

.tech-offering-card h4 {
  font-size: 1.4rem;
  margin-bottom: 15px;
}

.tech-offering-card p {
  color: var(--text-light);
  font-size: 0.95rem;
}

/* ---- Power Trio / Tabbed Section ---- */
.power-trio-section {
  background: var(--gradient-main);
}

.power-tabs {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.power-tab {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 18px 20px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
  border-left: 3px solid transparent;
  background: transparent;
}

.power-tab:hover,
.power-tab.active {
  background: var(--card-bg);
  border-left-color: var(--accent);
}

.power-tab .tab-title {
  font-weight: 600;
  font-size: 1rem;
  color: var(--text-white);
}

.power-tab .tab-subtitle {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.power-panel {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 40px;
  display: none;
}

.power-panel.active {
  display: block;
  animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.power-panel h3 {
  color: var(--accent);
  margin-bottom: 15px;
  font-size: 1.6rem;
}

/* ---- Case Studies ---- */
.case-studies-section {
  background: var(--primary-deeper);
}

.case-study-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition-slow);
}

.case-study-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.case-study-img {
  height: 220px;
  object-fit: cover;
  width: 100%;
}

.case-study-body {
  padding: 25px;
}

.case-study-stats {
  display: flex;
  gap: 20px;
  margin-top: 15px;
}

.case-study-stats span {
  font-size: 0.8rem;
  color: var(--accent);
  font-weight: 600;
}

/* ---- Technology Cards Section ---- */
.tech-cards-section {
  background: linear-gradient(
    180deg,
    var(--primary-dark) 0%,
    #0d1e38 50%,
    var(--primary-dark) 100%
  );
}

.tech-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  height: 350px;
  cursor: pointer;
  flex: 1;
  min-width: 180px;
  transition:
    flex 0.5s ease,
    min-width 0.5s ease;
}

.tech-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

.tech-card::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60%;
  background: linear-gradient(transparent, rgba(10, 22, 40, 0.9));
  pointer-events: none;
}

.tech-card-label {
  position: absolute;
  bottom: 20px;
  left: 20px;
  z-index: 2;
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
}

.tech-cards-container {
  display: flex;
  gap: 15px;
}

.tech-cards-container .tech-card:hover {
  flex: 2.5;
}

.tech-card:hover img {
  transform: scale(1.1);
}

/* ---- CTA Banner ---- */
.cta-banner-section {
  background: var(--gradient-main);
  padding: 60px 0;
}

.cta-banner {
  background: linear-gradient(135deg, #0f1f3a 0%, #162a4e 50%, #0f1f3a 100%);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 50px 60px;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -30%;
  width: 60%;
  height: 150%;
  background: radial-gradient(circle, var(--accent-glow), transparent 60%);
  animation: ctaGlow 6s ease-in-out infinite alternate;
}

@keyframes ctaGlow {
  0% {
    opacity: 0.3;
  }
  100% {
    opacity: 0.6;
  }
}

.cta-banner h3 {
  position: relative;
  z-index: 2;
  font-size: 2rem;
  margin-bottom: 10px;
}
.cta-banner p {
  position: relative;
  z-index: 2;
  color: var(--text-light);
  margin-bottom: 25px;
}

/* ---- Services Grid ---- */
.services-section {
  background: var(--primary-deeper);
}

.service-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 30px;
  transition: var(--transition-slow);
  height: 100%;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--gradient-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card:hover {
  border-color: var(--accent);
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(255, 20, 147, 0.15);
}

.service-icon {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 20, 147, 0.1);
  border-radius: var(--radius-sm);
  color: var(--accent);
  font-size: 1.5rem;
  margin-bottom: 15px;
  transition: var(--transition);
}

.service-card:hover .service-icon {
  background: var(--accent);
  color: #fff;
  transform: rotate(5deg) scale(1.1);
}

.service-card h5 {
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.service-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* ---- We Care Section ---- */
.wecare-section {
  background: var(--gradient-main);
  text-align: center;
}

/* ---- Awards Section ---- */
.awards-section {
  background: var(--primary-deeper);
}

.award-item {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 25px;
  text-align: center;
  transition: var(--transition);
}

.award-item:hover {
  border-color: var(--accent);
  transform: translateY(-5px);
}

.award-item img {
  height: 60px;
  margin-bottom: 10px;
  filter: brightness(0) invert(1);
}

/* ---- Industries Section ---- */
.industries-section {
  background: #0E1726;
}

.industry-card {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition-slow);
  height: 100%;
}

.industry-card:hover {
  background: rgba(233, 30, 99, 0.08);
  transform: translateY(-5px);
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.industry-card-img {
  height: 140px;
  width: 100%;
  object-fit: cover;
}

.industry-card-body {
  padding: 18px;
}

.industry-card-body h6 {
  font-size: 1rem;
  margin-bottom: 10px;
  color: #fff;
}

.industry-sub-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  color: var(--text-light);
  margin-bottom: 5px;
}

.industry-sub-item i {
  color: var(--accent);
  font-size: 0.5rem;
}

/* ---- Why Choose Us ---- */
.whychoose-section {
  background: #111827;
}

.whychoose-card {
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 35px 25px;
  text-align: center;
  transition: var(--transition-slow);
  height: 100%;
}

.whychoose-card:hover {
  background: rgba(233, 30, 99, 0.08);
  transform: translateY(-8px);
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.whychoose-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 20, 147, 0.15);
  border-radius: 50%;
  font-size: 1.5rem;
  color: var(--accent);
  transition: var(--transition);
}

.whychoose-card:hover .whychoose-icon {
  background: var(--accent);
  color: #fff;
  transform: scale(1.15);
}

.whychoose-card h5 {
  font-size: 1.1rem;
  margin-bottom: 12px;
  color: #fff;
}
.whychoose-card p {
  font-size: 0.85rem;
  color: var(--text-light);
}

/* ---- Tech Stacks ---- */
.techstacks-section {
  background: var(--primary-deeper);
}

.tech-tab-nav {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: var(--card-bg);
  border-radius: var(--radius-md);
  padding: 15px;
  border: 1px solid var(--border-color);
}

.tech-tab-btn {
  padding: 14px 20px;
  border-radius: var(--radius-sm);
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.95rem;
  text-align: left;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.tech-tab-btn:hover,
.tech-tab-btn.active {
  background: var(--primary-dark);
  color: var(--text-white);
  font-weight: 600;
}

.tech-tab-btn.active::after {
  content: "→";
  color: var(--accent);
  font-size: 1.2rem;
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.tech-stack-item {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 25px;
  text-align: center;
  transition: var(--transition);
  min-height: 120px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.tech-stack-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.tech-stack-item img {
  height: 50px;
  margin-bottom: 10px;
}

.tech-stack-item .tech-name {
  font-size: 0.85rem;
  color: #333;
  font-weight: 600;
}

.tech-stack-icon {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin-bottom: 10px;
  color: var(--accent);
}

/* ---- Blog Section ---- */
.blog-section {
  background: var(--gradient-main);
}

.blog-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition-slow);
  height: 100%;
}

.blog-card:hover {
  transform: translateY(-8px);
  border-color: var(--accent);
  box-shadow: 0 15px 40px rgba(255, 20, 147, 0.1);
}

.blog-card-img {
  height: 200px;
  width: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.blog-card:hover .blog-card-img {
  transform: scale(1.05);
}

.blog-card-body {
  padding: 25px;
}

.blog-card-meta {
  display: flex;
  gap: 15px;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.blog-card-body h5 {
  font-size: 1rem;
  margin-bottom: 10px;
  line-height: 1.5;
}

.blog-card-body h5 a {
  color: var(--text-white);
}
.blog-card-body h5 a:hover {
  color: var(--accent);
}

/* ---- FAQ Section ---- */
.faq-section {
  background: var(--primary-deeper);
}

.faq-item {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  margin-bottom: 10px;
  overflow: hidden;
  transition: var(--transition);
}

.faq-item:hover {
  border-color: rgba(255, 20, 147, 0.3);
}

.faq-question {
  padding: 18px 25px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition);
}

.faq-question:hover {
  color: var(--accent);
}

.faq-question i {
  transition: transform 0.3s ease;
  color: var(--accent);
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
  padding: 0 25px;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding: 0 25px 20px;
}

.faq-answer p {
  color: var(--text-light);
  font-size: 0.9rem;
  line-height: 1.8;
}

/* ---- Contact / Let's Talk Section ---- */
.contact-section {
  background: var(--gradient-main);
}

.contact-form-wrap {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 40px;
}

.contact-form-wrap .form-control,
.contact-form-wrap .form-select {
  background: var(--primary-dark);
  border: 1px solid var(--border-color);
  color: var(--text-white);
  padding: 12px 18px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  transition: var(--transition);
}

.contact-form-wrap .form-control:focus,
.contact-form-wrap .form-select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(255, 20, 147, 0.1);
  background: var(--primary-dark);
  color: var(--text-white);
}

.contact-form-wrap .form-control::placeholder {
  color: var(--text-muted);
}

/* ---- Footer ---- */
.kd-footer {
  background: var(--primary-deeper);
}

.footer-cta-section {
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  padding: 50px 0;
}

.footer-cta-section h3 {
  font-size: 1.8rem;
  color: #fff;
}

.footer-main {
  padding: 60px 0 40px;
  border-bottom: 1px solid var(--border-color);
}

.footer-logo {
  height: 50px;
  margin-bottom: 10px;
}

.footer-brand h5 {
  font-size: 1.2rem;
  margin-bottom: 5px;
}

.footer-tagline {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-bottom: 15px;
}

.footer-desc {
  color: var(--text-light);
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 20px;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--card-bg);
  border-radius: 50%;
  color: var(--text-light);
  font-size: 1rem;
  transition: var(--transition);
  border: 1px solid var(--border-color);
}

.footer-social a:hover {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
  transform: translateY(-3px);
}

.footer-heading {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--text-white);
  position: relative;
  padding-bottom: 10px;
}

.footer-heading::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--accent);
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 5px;
}

.footer-links a::before {
  content: "›";
  color: var(--accent);
  font-size: 1.2rem;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--accent);
  transform: translateX(5px);
}

.footer-text {
  color: var(--text-light);
  font-size: 0.9rem;
  margin-bottom: 15px;
}

.footer-contact-info {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-light);
  font-size: 0.9rem;
}

.contact-item i {
  color: var(--accent);
  font-size: 1rem;
}

.contact-item a {
  color: var(--text-light);
}
.contact-item a:hover {
  color: var(--accent);
}

.newsletter-form .input-group {
  border-radius: 50px;
  overflow: hidden;
  border: 1px solid var(--border-color);
}

.newsletter-form .form-control {
  background: var(--card-bg);
  border: none;
  color: var(--text-white);
  padding: 10px 15px;
  font-size: 0.85rem;
}

.newsletter-form .form-control::placeholder {
  color: var(--text-muted);
}

.newsletter-form .btn {
  border-radius: 0 50px 50px 0;
  padding: 10px 18px;
}

.footer-bottom {
  padding: 20px 0;
}

.copyright {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin: 0;
}

.footer-bottom-links {
  display: flex;
  gap: 20px;
}

.footer-bottom-links a {
  color: var(--text-muted);
  font-size: 0.85rem;
}

.footer-bottom-links a:hover {
  color: var(--accent);
}

/* ---- Back to Top ---- */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  color: #fff;
  border-radius: 50%;
  font-size: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 999;
  box-shadow: var(--shadow-glow);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  transform: translateY(-5px);
  color: #fff;
}

/* ---- Responsive ---- */
@media (max-width: 1200px) {
  .hero-title {
    font-size: 2.8rem;
  }
  .section-title {
    font-size: 2rem;
  }
  .innovation-highlight {
    font-size: 3rem;
  }
  .tech-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 992px) {
  .hero-title {
    font-size: 2.3rem;
  }
  .hero-section {
    min-height: auto;
    padding: 120px 0 60px;
  }
  .section-title {
    font-size: 1.8rem;
  }
  .innovation-highlight {
    font-size: 2.5rem;
  }
  .stats-row {
    gap: 20px;
  }
  .stat-number {
    font-size: 2rem;
  }

  .mega-menu {
    position: relative !important;
    border-radius: var(--radius-md);
    margin: 5px 0;
  }
  .mega-menu-inner {
    padding: 15px;
  }
  .mega-menu-sidebar {
    display: none;
  }

  .tech-cards-container {
    flex-wrap: wrap;
  }
  .tech-card {
    min-width: calc(50% - 10px);
    height: 250px;
  }
  .tech-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .tech-tab-nav {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .cta-banner {
    padding: 30px 25px;
  }
  .cta-banner h3 {
    font-size: 1.5rem;
  }
}

@media (max-width: 768px) {
  section {
    padding: 50px 0;
  }
  .hero-title {
    font-size: 1.8rem;
  }
  .hero-buttons {
    flex-direction: column;
  }
  .hero-stats {
    gap: 20px;
    justify-content: center;
  }
  .section-title {
    font-size: 1.5rem;
  }
  .innovation-highlight {
    font-size: 2rem;
  }
  .innovation-images {
    grid-template-columns: repeat(2, 1fr);
  }
  .stats-row {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }
  .tech-card {
    min-width: 100%;
    height: 200px;
  }
  .tech-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .power-panel {
    padding: 25px;
  }
  .footer-cta-section h3 {
    font-size: 1.3rem;
  }
  .contact-form-wrap {
    padding: 25px;
  }
}

@media (max-width: 576px) {
  .hero-title {
    font-size: 1.5rem;
  }
  .section-title {
    font-size: 1.3rem;
  }
  .section-subtitle {
    font-size: 0.95rem;
  }
  .innovation-highlight {
    font-size: 1.8rem;
  }
  .innovation-images {
    grid-template-columns: 1fr;
  }
  .tech-grid {
    grid-template-columns: 1fr 1fr;
  }
  .brand-text {
    display: none;
  }
  .nav-logo {
    height: 35px;
  }
}

/* ---- Utility ---- */
.text-gradient {
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.glass-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
}

.glow-border:hover {
  box-shadow: var(--shadow-glow);
}

/* Loading animation */
.skeleton {
  background: linear-gradient(
    90deg,
    var(--card-bg) 25%,
    var(--card-bg-hover) 50%,
    var(--card-bg) 75%
  );
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: var(--radius-sm);
}

@keyframes shimmer {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

/* ============================================================
   NEW STYLES: Video Hero, Horizontal Slider, DevIcon, Footer
   ============================================================ */

/* ---- Video Background Hero ---- */
.hero-video-bg {
  position: relative;
  overflow: hidden;
}

.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    180deg,
    rgba(10, 22, 40, 0.85) 0%,
    rgba(10, 22, 40, 0.7) 50%,
    rgba(10, 22, 40, 0.9) 100%
  );
  z-index: 2;
}

/* ---- Mega Menu Alignment Fix ---- */
.mega-dropdown .dropdown-menu.mega-menu {
  left: 0 !important;
  right: 0 !important;
  transform: none !important;
  top: 100% !important;
  margin-top: 0 !important;
}

/* ---- Hero Trust Badges (Apptunix Style) ---- */
.hero-trust-badges {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50px;
  padding: 6px 16px;
  font-size: 0.78rem;
  color: var(--text-light);
  backdrop-filter: blur(10px);
}

.hero-trust-badge i {
  color: var(--accent);
  font-size: 0.9rem;
}

/* ---- Hero Bottom Stats Bar (Apptunix Style) ---- */
.hero-bottom-stats {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 4;
  background: rgba(15, 31, 58, 0.7);
  backdrop-filter: blur(20px);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 20px 0;
}

.hero-stats-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.hero-stat-block {
  text-align: center;
  flex: 1;
  position: relative;
}

.hero-stat-block:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
}

.hero-stat-num {
  font-size: 1.8rem;
  font-weight: 900;
  font-family: var(--font-heading);
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
}

.hero-stat-label {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 2px;
}

/* ---- Tech Offerings Horizontal Slider ---- */
.tech-offerings-slider-wrap {
  margin-top: 40px;
  padding: 0 40px;
}

.tech-offerings-swiper {
  padding-bottom: 50px;
}

.tech-offerings-swiper .swiper-slide {
  width: 350px;
  height: auto;
}

.tech-offering-card .toc-icon {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 20, 147, 0.12);
  border: 1px solid rgba(255, 20, 147, 0.3);
  border-radius: var(--radius-md);
  margin-bottom: 20px;
  font-size: 1.6rem;
  color: var(--accent);
  transition: var(--transition);
}

.tech-offering-card:hover .toc-icon {
  background: var(--accent);
  color: #fff;
}

.tech-offering-card ul {
  list-style: none;
  padding: 0;
  margin: 15px 0 0 0;
}

.tech-offering-card ul li {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 0;
  color: var(--text-light);
  font-size: 0.9rem;
}

.tech-offering-card ul li i {
  color: var(--accent);
  font-size: 0.85rem;
}

.tech-offerings-swiper .swiper-pagination-bullet {
  background: var(--text-muted);
  opacity: 0.5;
}

.tech-offerings-swiper .swiper-pagination-bullet-active {
  background: var(--accent);
  opacity: 1;
}

/* ---- Power Trio Tab Icons ---- */
.power-tab .pt-icon {
  width: 42px;
  height: 42px;
  min-width: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 20, 147, 0.1);
  border-radius: var(--radius-sm);
  color: var(--accent);
  font-size: 1.2rem;
  transition: var(--transition);
}

.power-tab.active .pt-icon,
.power-tab:hover .pt-icon {
  background: var(--accent);
  color: #fff;
}

/* ---- DevIcon Tech Stack Colored Icons ---- */
.tech-stack-icon i[class*="devicon-"] {
  font-size: 2.2rem !important;
}

/* ---- Pre-Footer CTA ---- */
.prefooter-cta {
  padding: 50px 0;
  background: linear-gradient(135deg, rgba(255, 20, 147, 0.08) 0%, rgba(13, 110, 253, 0.08) 100%);
  border-top: 1px solid var(--border-color);
}

.prefooter-cta h3 {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 5px;
}

/* ---- Main Footer ---- */
.kd-footer {
  background: var(--primary-deeper);
  border-top: 1px solid var(--border-color);
  padding: 60px 0 30px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 15px;
}

.footer-logo {
  height: 40px;
  width: auto;
}

.footer-brand h5 {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 700;
}

.footer-about {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 20px;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.footer-social a {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 50%;
  color: var(--text-light);
  font-size: 1rem;
  transition: var(--transition);
}

.footer-social a:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  transform: translateY(-3px);
}

.footer-title {
  color: var(--text-white);
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--accent);
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 8px;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.88rem;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--accent);
  padding-left: 5px;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.fc-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.fc-item i {
  color: var(--accent);
  font-size: 1.1rem;
  margin-top: 3px;
}

.fc-item span,
.fc-item a {
  color: var(--text-muted);
  font-size: 0.88rem;
  text-decoration: none;
}

.fc-item a:hover {
  color: var(--accent);
}

.newsletter-form .input-group {
  border-radius: 50px;
  overflow: hidden;
  border: 1px solid var(--border-color);
}

.newsletter-form .form-control {
  background: var(--card-bg);
  border: none;
  color: var(--text-white);
  padding: 10px 16px;
  font-size: 0.85rem;
}

.newsletter-form .form-control::placeholder {
  color: var(--text-muted);
}

.newsletter-form .btn {
  border-radius: 0;
  padding: 10px 18px;
}

.footer-bottom {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid var(--border-color);
}

.footer-bottom p {
  color: var(--text-muted);
  font-size: 0.82rem;
  margin: 0;
}

.footer-bottom-links {
  display: flex;
  gap: 20px;
}

.footer-bottom-links a {
  color: var(--text-muted);
  font-size: 0.82rem;
}

.footer-bottom-links a:hover {
  color: var(--accent);
}

/* ---- Responsive: New Additions ---- */
@media (max-width: 991px) {
  .tech-offerings-slider-wrap {
    padding: 0 15px;
  }
  
  .tech-offerings-swiper .swiper-slide {
    width: 280px;
  }
  
  .hero-stats-bar {
    flex-wrap: wrap;
    gap: 15px;
  }
  
  .hero-stat-block {
    flex: 0 0 calc(33.33% - 10px);
  }
  
  .hero-stat-block:not(:last-child)::after {
    display: none;
  }
  
  .hero-stat-num {
    font-size: 1.4rem;
  }
}

@media (max-width: 767px) {
  .hero-trust-badges {
    flex-direction: column;
    align-items: center;
    gap: 8px;
  }
  
  .hero-trust-badge {
    font-size: 0.72rem;
    padding: 5px 12px;
  }
  
  .hero-stats-bar {
    gap: 10px;
  }
  
  .hero-stat-block {
    flex: 0 0 calc(50% - 10px);
  }
  
  .hero-stat-num {
    font-size: 1.2rem;
  }
  
  .hero-stat-label {
    font-size: 0.65rem;
  }
  
  .prefooter-cta h3 {
    font-size: 1.2rem;
  }
  
  .footer-bottom {
    text-align: center;
  }
  
  .footer-bottom .d-flex {
    flex-direction: column;
    gap: 10px;
  }
  
  .footer-bottom-links {
    justify-content: center;
  }
}

/* =========================================
   STAFF AUGMENTATION SECTION
   ========================================= */
.staff-aug-section {
    padding: 100px 0;
    background: var(--bg); /* Same dark background */
    position: relative;
    overflow: hidden;
}

.staff-aug-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #fff;
    text-align: center;
}

.staff-aug-subtitle {
    font-size: 1.1rem;
    color: var(--light);
    max-width: 700px;
    margin: 0 auto 60px;
    text-align: center;
    line-height: 1.6;
}

.staff-sw-container {
    padding: 20px 0 60px; /* Bottom padding for pagination */
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

/* Custom Swiper Slide Styles for Staff Card */
.staff-slide {
    width: auto; /* Allow auto width for centered slides */
    height: auto;
    display: flex;
    justify-content: center;
    padding: 20px; /* Space for hover */
}

/* Circle Card Design */
.staff-step-card {
    background: linear-gradient(145deg, #0f172a, #1e293b); /* Darker blue */
    border: 1px dashed rgba(255,255,255,0.2); /* Dashed border */
    border-radius: 50%;
    width: 280px;
    height: 280px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 30px;
    margin: 0 auto;
    position: relative;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    z-index: 2; /* Ensure on top of connectors */
}

.staff-step-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent);
    box-shadow: 0 20px 50px rgba(255, 20, 147, 0.2);
    border-style: solid; /* Solid on hover */
}

.staff-step-icon {
    font-size: 2.8rem;
    color: #fff; /* White icon */
    margin-bottom: 20px;
    transition: transform 0.3s ease;
    text-shadow: 0 0 15px var(--accent);
}

.staff-step-card:hover .staff-step-icon {
    transform: scale(1.1) rotate(5deg);
    color: var(--accent);
}

.staff-step-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 10px;
    line-height: 1.3;
}

.staff-step-desc {
    font-size: 0.9rem;
    color: #94a3b8;
    line-height: 1.5;
}

/* Step Number Badge */
.staff-step-num {
    position: absolute;
    top: 25px;
    right: 25px; /* Position on rim */
    width: 32px;
    height: 32px;
    background: #fb2576; /* Hot Pink */
    color: #fff;
    border-radius: 50%;
    font-weight: 700;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(251, 37, 118, 0.4);
    border: 2px solid #0f172a; /* Border matching bg */
}

/* Staff Aug Refinement: Connected Steps */
@media (min-width: 992px) {
    .staff-step-card::after {
        content: '';
        position: absolute;
        top: 50%;
        right: -55px;
        width: 55px; /* Connector length */
        height: 2px;
        border-top: 2px dotted rgba(255,255,255,0.2); /* Dotted line */
        transform: translateY(-50%);
        z-index: 1;
    }
    .swiper-slide:last-child .staff-step-card::after {
        display: none;
    }
}

/* Timezone Section */
.timezone-section {
    padding: 80px 0;
    background: #050f1e; 
    color: #fff;
    text-align: center;
    overflow: hidden;
}
.tz-sw-container {
    padding: 40px 0;
    max-width: 1200px;
    margin: 0 auto;
}
.tz-card {
    background: transparent;
    border: none;
    text-align: center;
    padding: 10px;
}
.clock-face {
    width: 140px;
    height: 140px;
    border: 2px solid rgba(255,255,255,0.15);
    border-radius: 50%;
    margin: 0 auto 20px;
    position: relative;
    background: rgba(255,255,255,0.03);
    box-shadow: inset 0 0 20px rgba(0,0,0,0.3);
}
.clock-center {
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
}
.hand {
    position: absolute;
    bottom: 50%;
    left: 50%;
    transform-origin: bottom center;
    border-radius: 4px;
    z-index: 5;
    transition: transform 0.05s linear; /* Smooth movement */
}
.hand.hour {
    width: 4px;
    height: 35px;
    background: #fff;
    margin-left: -2px;
}
.hand.minute {
    width: 2px;
    height: 50px;
    background: #cbd5e1;
    margin-left: -1px;
}
.hand.second {
    width: 1px;
    height: 55px;
    background: var(--accent);
    margin-left: -0.5px;
}
.clock-number {
    position: absolute;
    width: 20px;
    height: 20px;
    text-align: center;
    line-height: 20px;
    font-size: 10px;
    color: rgba(255,255,255,0.7); /* Brighter */
}
.tz-city {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #fff;
}
.tz-time {
    font-size: 0.9rem;
    color: var(--light);
    font-family: monospace;
}

/* Agile Teams Section */
.agile-section {
    padding: 100px 0;
    background: #0b1120; /* Very dark/black blue */
    overflow: hidden;
}
.agile-sw-container {
    padding: 40px 0;
    max-width: 1200px;
    margin: 0 auto;
}
.agile-card {
    background: #111827; /* Darker than staff */
    border: 1px solid rgba(255,255,255,0.05);
    width: 280px;
    height: 280px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 30px;
    text-align: center;
    margin: 0 auto;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0,0,0,0.4); /* Stronger shadow */
    position: relative;
    z-index: 2; /* Ensure on top of connectors */
}
.agile-card:hover {
    border-color: var(--accent);
    transform: scale(1.05);
    box-shadow: 0 15px 40px rgba(0,0,0,0.6);
}
.agile-step-num {
    font-size: 1.8rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 10px;
    opacity: 0.9;
}
.agile-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: #fff;
}
.agile-desc {
    font-size: 0.85rem;
    color: #9ca3af;
    opacity: 0.9;
    line-height: 1.4;
    max-width: 80%;
}
/* Agile Connector */
@media (min-width: 992px) {
    .agile-card::after {
        content: '';
        position: absolute;
        top: 50%;
        right: -50px;
        width: 50px;
        height: 1px;
        background: rgba(255,255,255,0.15); /* Solid thin line */
        transform: translateY(-50%);
        z-index: 1;
    }
    .swiper-slide:last-child .agile-card::after {
        display: none;
    }
    /* Arrow head for flow */
    .agile-card::before {
        content: '';
        position: absolute;
        top: 50%;
        right: -55px; /* Moved slightly right */
        width: 8px;
        height: 8px;
        border-top: 1px solid rgba(255,255,255,0.3);
        border-right: 1px solid rgba(255,255,255,0.3);
        transform: translateY(-50%) rotate(45deg); /* Arrow pointing right */
        z-index: 2;
    }
    .swiper-slide:last-child .agile-card::before { display: none; }
}

/* ==================================
   INDUSTRIES SECTION
   ================================== */
.industries-section {
    background: #0E1726;
    padding: 90px 0;
    position: relative;
    overflow: hidden;
}

.industries-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 50px;
}

.industries-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

.badge-pill {
    display: inline-block;
    padding: 6px 18px;
    font-size: 0.75rem;
    border-radius: 50px;
    background: rgba(233, 30, 99, 0.12);
    color: #FF6090;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 20px;
    border: none;
}

.text-gradient {
    background: linear-gradient(90deg, var(--accent), var(--accent-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.industries-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 50px;
}

.industry-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    padding: 22px;
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    height: 100%;
    min-height: auto;
}

.industry-card:hover {
    background: rgba(233, 30, 99, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    transform: translateY(-4px);
}

.industry-content {
    position: relative;
    z-index: 2;
}

.industry-icon-box {
    width: 44px;
    height: 44px;
    background: rgba(255, 20, 147, 0.08); /* accent-glow low opacity */
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--accent);
    margin-bottom: 20px;
    transition: all 0.4s ease;
}

.industry-card:hover .industry-icon-box {
    background: rgba(255, 20, 147, 0.15);
    transform: scale(1.1);
}

.industry-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 10px;
    transition: color 0.3s;
}

.industry-card:hover .industry-name {
    color: var(--text-white);
}

.industry-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.industry-arrow {
    display: flex;
    justify-content: flex-end;
    font-size: 1.1rem;
    color: var(--text-muted);
    transition: all 0.3s ease;
    margin-top: 12px;
}

.industry-card:hover .industry-arrow {
    color: var(--accent-light);
    transform: translateX(5px);
}

/* Responsive */
@media (min-width: 1280px) {
    .container {
        max-width: 1280px;
    }
}

@media (max-width: 1199px) {
    .industries-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .industries-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .industries-grid {
        grid-template-columns: 1fr;
    }
    .industries-title {
        font-size: 2rem;
    }
}


/* ==================================
   WHY CHOOSE US SECTION
   ================================== */
.why-choose-section {
    background: #111827;
    padding: 90px 0;
    position: relative;
    overflow: hidden;
}

.why-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 50px;
}

.why-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 650px;
    margin: 0 auto;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.why-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    padding: 22px;
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    height: 100%;
    min-height: auto;
}

.why-card:hover {
    background: rgba(233, 30, 99, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    transform: translateY(-4px);
}

.why-icon-box {
    width: 44px;
    height: 44px;
    background: rgba(255, 20, 147, 0.08);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    transition: all 0.3s ease;
}

.why-card:hover .why-icon-box {
    background: rgba(255, 20, 147, 0.15);
    transform: scale(1.1);
}

.why-icon-box i {
    font-size: 1.2rem;
    color: var(--accent);
}

.why-card-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 15px;
}

.why-card-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 0;
}

@media (max-width: 1199px) {
    .why-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .why-grid {
        grid-template-columns: 1fr;
    }
    .why-title {
        font-size: 2rem;
    }
}


/* ==================================
   

/* --- Merged tow.css --- */
/* ================================================================
   TECH OFFERINGS — KRITI DIGITAL PREMIUM REDESIGN
   New Structure: Grid-Based Layouts for Alignment Perfection
   Theme: Deep Navy + Hot Pink + Cyan
   ================================================================ */

:root {
    --tow-bg: #080E1D;
    --tow-card-bg: #0E1829;
    --tow-glass: rgba(255, 255, 255, 0.03);
    --tow-border: rgba(255, 255, 255, 0.07);
    --tow-accent: #E91E63;
    --tow-accent-glow: rgba(233, 30, 99, 0.35);
    --tow-cyan: #E91E63;
    --tow-text-main: #ffffff;
    --tow-text-muted: #8892a4;
}

.tow-section {
    padding: 100px 0 120px;
    background: var(--tow-bg);
    position: relative;
    overflow: hidden;
}

/* Background Ambient Glows */
.tow-section::before {
    content: '';
    position: absolute;
    top: -10%; left: -10%;
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(255,20,147,0.06), transparent 70%);
    pointer-events: none;
    z-index: 0;
}
.tow-section::after {
    content: '';
    position: absolute;
    bottom: -10%; right: -10%;
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(0,212,255,0.05), transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.container {
    position: relative;
    z-index: 1;
}

/* ── Top Header Row ── */
.tow-top-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 50px;
    flex-wrap: wrap;
    gap: 30px;
}

.tow-top-left {
    max-width: 600px;
}

.tow-eyebrow {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--tow-accent);
    margin-bottom: 12px;
    position: relative;
    padding-left: 14px;
}
.tow-eyebrow::before {
    content: '';
    position: absolute;
    left: 0; top: 50%;
    width: 8px; height: 8px;
    background: var(--tow-accent);
    border-radius: 50%;
    transform: translateY(-50%);
    box-shadow: 0 0 10px var(--tow-accent-glow);
}

.tow-main-title {
    font-family: 'Outfit', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    color: var(--tow-text-main);
    margin: 0;
}

/* ── Tabs Container ── */
.tow-tabs {
    display: flex;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--tow-border); /* Single border around container */
    border-radius: 50px; /* Pill shape container */
    padding: 6px;
    gap: 0; /* Tabs touch */
    position: relative;
}

.tow-tab {
    background: transparent;
    border: none;
    border-radius: 40px;
    padding: 12px 24px;
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--tow-text-muted);
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap; 
    text-align: center;
    line-height: 1.3;
}

.tow-tab:hover {
    color: var(--tow-text-main);
}

.tow-tab.active {
    background: var(--tow-accent);
    color: white;
    box-shadow: 0 4px 15px var(--tow-accent-glow);
}

/* ── Main Content Card Container ── */
.tow-main-card {
    background: var(--tow-card-bg);
    border: 1px solid var(--tow-border);
    border-radius: 24px;
    padding: 0; /* Panels have padding */
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
    overflow: hidden;
    min-height: 480px; 
    position: relative;
}

/* ── Panel Transition ── */
.tow-panel {
    display: none;
    padding: 60px;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}
.tow-panel.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.tow-panel-header {
    text-align: center;
    margin-bottom: 50px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.tow-panel-title {
    font-family: 'Outfit', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--tow-text-main);
    margin-bottom: 10px;
}

.tow-panel-desc {
    font-size: 1rem;
    color: var(--tow-text-muted);
    line-height: 1.6;
}


/* ──  GRID SYSTEM  ── */
.tow-grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 40px;
}

.tow-clocks-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); /* Responsive auto-fit */
    gap: 30px;
    margin-bottom: 40px;
    justify-content: center;
}


/* ── PROCESS CARDS (Offshore & Agile) ── */
.tow-card-step, .tow-agile-card {
    background: var(--tow-glass);
    border: 1px solid var(--tow-border);
    border-radius: 16px;
    padding: 30px 24px;
    position: relative;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.tow-card-step:hover, .tow-agile-card:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

/* Active Highlight for Step 2 */
.tow-card-step.active {
    border-color: var(--tow-accent);
    box-shadow: 0 0 20px rgba(255, 20, 147, 0.15);
}

.step-icon, .agile-icon {
    width: 56px;
    height: 56px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    position: relative;
}

.tow-card-step.active .step-icon {
    background: var(--tow-accent);
    box-shadow: 0 4px 15px var(--tow-accent-glow);
}

.step-icon i, .agile-icon i {
    font-size: 1.5rem;
    color: var(--tow-accent);
}
.tow-card-step.active .step-icon i { color: white; }

.step-num {
    position: absolute;
    top: -8px; right: -8px;
    background: var(--tow-card-bg);
    border: 1px solid var(--tow-border);
    color: var(--tow-text-muted);
    font-size: 0.7rem;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 6px;
}

.tow-card-step h4, .tow-agile-card h4 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--tow-text-main);
    margin-bottom: 10px;
    line-height: 1.3;
}

.tow-card-step p, .tow-agile-card p {
    font-size: 0.9rem;
    color: var(--tow-text-muted);
    line-height: 1.5;
    margin: 0;
}

/* Agile connecting arrows (between cards) */
.agile-arrow {
    position: absolute;
    right: -24px; top: 50%;
    transform: translateY(-50%);
    color: var(--tow-border);
    font-size: 1.5rem;
    z-index: 2;
}


/* ── CLOCK CARDS (Staff Aug Panel) ── */
.tow-clock-card {
    background: rgba(10, 22, 40, 0.6);
    border: 1px solid var(--tow-border);
    border-radius: 20px;
    padding: 30px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.tow-clock-card:hover {
    border-color: var(--tow-accent);
    background: rgba(15, 31, 58, 0.8);
    transform: translateY(-5px);
}

.clock-face {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.1);
    position: relative;
    margin-bottom: 20px;
    background: rgba(0,0,0,0.2);
    box-shadow: inset 0 0 15px rgba(0,0,0,0.5);
}

.tow-clock-card:hover .clock-face {
    border-color: var(--tow-accent);
    box-shadow: 0 0 15px var(--tow-accent-glow);
}

.clock-center {
    width: 6px; height: 6px;
    background: var(--tow-accent);
    border-radius: 50%;
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
}

.hand {
    position: absolute;
    bottom: 50%; left: 50%;
    transform-origin: bottom center;
    border-radius: 4px;
    z-index: 5;
}

.hand.hour {
    width: 4px; height: 25px;
    background: white;
}
.hand.minute {
    width: 2px; height: 35px;
    background: rgba(255,255,255,0.8);
}
.hand.second {
    width: 1px; height: 40px;
    background: var(--tow-accent);
    z-index: 6;
}

.tow-tick {
    position: absolute;
    width: 2px; height: 5px;
    background: rgba(255,255,255,0.2);
    left: 50%; top: 50%;
    transform-origin: center;
}

.tow-clock-info {
    text-align: center;
}

.tow-city {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--tow-text-main);
    margin-bottom: 4px;
}

.tow-dtime {
    display: block;
    font-family: 'JetBrains Mono', monospace; /* Monospace for alignment */
    font-size: 0.8rem;
    color: var(--tow-accent);
}


/* ── CTA BUTTONS ── */
.tow-cta-row {
    text-align: center;
    margin-top: 20px;
}

.tow-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--tow-accent);
    color: white;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px var(--tow-accent-glow);
}

.tow-cta-btn:hover {
    background: #e0107f;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--tow-accent-glow);
    color: white;
}

.tow-cta-btn.secondary {
    background: transparent;
    border: 1px solid var(--tow-accent);
    box-shadow: none;
}
.tow-cta-btn.secondary:hover {
    background: var(--tow-accent);
}


/* ── RESPONSIVE ── */
@media (max-width: 991px) {
    .tow-grid-4 {
        grid-template-columns: repeat(2, 1fr); /* 2x2 grid on Tablet */
    }
    .agile-arrow { display: none; } /* Hide arrows on grid wrap */
    
    .tow-top-row {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .tow-panel-header { margin-bottom: 30px; }
    .tow-panel { padding: 40px 20px; }
}

@media (max-width: 576px) {
    .tow-grid-4 {
        grid-template-columns: 1fr; /* Stack on Mobile */
    }
    .tow-clocks-grid {
        grid-template-columns: 1fr; /* Stack clocks on small mobile */
    }
    .tow-main-title { font-size: 1.8rem; }
    .tow-tabs {  
        flex-direction: column;
        background: transparent;
        border: none;
        width: 100%;
    }
    .tow-tab { 
        width: 100%; 
        border: 1px solid var(--tow-border);
        margin-bottom: 8px;
    }
}


/* --- Merged power_trio.css --- */
/* ================================================================
   POWER TRIO SECTION — KRITI DIGITAL
   Theme: Deep Navy + Hot Pink + Cyan
   ================================================================ */

.pt-section {
    padding: 100px 0 120px;
    background: #080E1D;
    position: relative;
    overflow: hidden;
}

/* Background Ambient Glows */
.pt-section::before {
    content: '';
    position: absolute;
    top: 20%; left: -200px;
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(255,20,147,0.05), transparent 70%);
    pointer-events: none;
    z-index: 0;
}
.pt-section::after {
    content: '';
    position: absolute;
    bottom: -10%; right: -200px;
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(233,30,99,0.05), transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.pt-container {
    display: flex;
    gap: 60px;
    align-items: flex-start;
    position: relative;
    z-index: 2;
}

/* ── HEADER ── */
.pt-header {
    margin-bottom: 60px;
    position: relative;
    z-index: 2;
}

.pt-eyebrow {
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    display: block;
    margin-bottom: 10px;
}

.pt-title {
    font-family: 'Outfit', sans-serif;
    font-size: 2.8rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
}

/* ── LEFT MENU ── */
.pt-menu {
    flex: 0 0 320px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.pt-item {
    padding: 24px 30px;
    border-left: 4px solid rgba(255,255,255,0.1);
    cursor: pointer;
    transition: all 0.3s ease;
    background: transparent;
}

.pt-item:hover {
    background: rgba(255,255,255,0.02);
    border-left-color: rgba(255,20,147,0.5);
}

.pt-item.active {
    background: linear-gradient(90deg, rgba(255,20,147,0.1) 0%, transparent 100%);
    border-left-color: #ff1493;
}

.pt-item-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: rgba(255,255,255,0.6);
    margin-bottom: 6px;
    transition: color 0.3s;
}

.pt-item:hover .pt-item-title,
.pt-item.active .pt-item-title {
    color: #fff;
}

.pt-item-desc {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.4);
    margin: 0;
}

/* ── RIGHT CONTENT PANELS ── */
.pt-content {
    flex: 1;
    position: relative;
    min-height: 500px;
}

.pt-panel {
    display: none;
    background: var(--card-bg);
    border-radius: 24px;
    padding: 50px;
    color: #fff;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.4s ease, transform 0.4s ease;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(255,255,255,0.1);
}

/* If active: */
.pt-panel.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.pt-panel-header {
    margin-bottom: 40px;
    position: relative;
    padding-right: 60px; 
}

.pt-panel-header h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.pt-panel-header p {
    font-size: 1.05rem;
    line-height: 1.6;
    color: rgba(255,255,255,0.8);
    max-width: 600px;
}

.pt-arrow-circle {
    position: absolute;
    top: 0; right: 0;
    width: 50px; height: 50px;
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    transition: all 0.3s;
}

.pt-panel:hover .pt-arrow-circle {
    background: #ff1493;
    border-color: #ff1493;
    transform: rotate(45deg);
}

.pt-subtitle {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: #fff;
}

/* Expertise Grid */
.pt-expertise-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 30px;
}

.pt-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.07);
    color: #fff;
    border-radius: 12px;
    padding: 20px 24px;
    min-width: 140px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 12px;
    transition: transform 0.3s;
    flex: 1;
}

.pt-card:hover {
    transform: translateY(-5px);
    background: rgba(255,255,255,0.06);
    border-color: rgba(233,30,99,0.3);
}

.pt-card i {
    font-size: 1.8rem;
    color: #ff1493; /* Hot Pink Icon */
}

.pt-card span {
    font-size: 0.85rem;
    font-weight: 700;
    line-height: 1.2;
}

/* Products Grid */
.pt-products-grid {
    display: flex;
    gap: 20px;
}

.pt-prod-card {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 16px 24px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    transition: background 0.3s;
}

.pt-prod-card:hover {
    background: rgba(255,255,255,0.2);
}

.pt-prod-name {
    font-size: 1.2rem;
    font-weight: 700;
    font-family: 'Outfit', sans-serif;
}

.pt-prod-card i {
    opacity: 0.6;
    transition: transform 0.3s;
}
.pt-prod-card:hover i {
    transform: translateX(4px);
    opacity: 1;
}

/* Responsive */
@media (max-width: 991px) {
    .pt-container { flex-direction: column; gap: 30px; }
    .pt-menu { flex: auto; width: 100%; flex-direction: row; overflow-x: auto; padding-bottom: 10px; border-bottom: 1px solid rgba(255,255,255,0.1); }
    .pt-item { border-left: none; border-bottom: 3px solid transparent; padding: 16px 20px; min-width: 200px; }
    .pt-item.active { background: transparent; border-bottom-color: #ff1493; }
    .pt-content { width: 100%; }
    .pt-panel { padding: 30px; }
    .pt-title { font-size: 2rem; }
}

@media (max-width: 576px) {
    .pt-expertise-grid { display: grid; grid-template-columns: 1fr; gap: 15px; }
    .pt-products-grid { flex-direction: column; }
    .pt-card { min-width: 0; padding: 16px; }
}


/* --- Merged tech-stack.css --- */
/* ===========================================
   KRITI DIGITAL - TECH STACK COMPONENT
   =========================================== */

/* Tech Stack Section */
.tech-stack-section {
    background: #0B1120;
    color: white;
    padding: 90px 0;
    position: relative;
    overflow: hidden;
}

/* Section title — consistent with other sections */
.tech-stack-section .section-title h2 {
    font-size: 2.3rem;
    font-weight: 700;
    color: white;
    background: none;
    -webkit-text-fill-color: white;
    -webkit-background-clip: unset;
    background-clip: unset;
}

.tech-stack-section .section-title h2 span {
    -webkit-text-fill-color: white;
    background: none;
    color: white;
}

/* Badge inherits .badge-pill from style.css */

/* Category Tab Nav */
.tech-tab-nav {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

/* Category Button — matches badge-pill dark pink style */
.tech-tab-btn {
    background: rgba(233, 30, 99, 0.12);
    border: 1px solid rgba(233, 30, 99, 0.25);
    color: #FF6090;
    padding: 12px 22px;
    border-radius: 50px;
    text-align: center;
    font-weight: 600;
    font-family: 'Outfit', sans-serif;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    display: block;
    position: relative;
}

/* Remove any pseudo-element that injects icons */
.tech-tab-btn::before,
.tech-tab-btn::after {
    display: none !important;
    content: none !important;
}

.tech-tab-btn:hover {
    background: rgba(233, 30, 99, 0.2);
    border-color: rgba(233, 30, 99, 0.4);
    color: #ff7eaa;
}

.tech-tab-btn.active {
    background: rgba(233, 30, 99, 0.25);
    border-color: rgba(233, 30, 99, 0.5);
    color: #fff;
}

/* Tab Label */
.tech-tab-btn .tab-label {
    display: block;
}

/* Tech Icons Grid */
.tech-icons-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

/* Tech Icon Cards */
.tech-icon-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.tech-icon-item:hover {
    background: rgba(233, 30, 99, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

/* Devicon / Icon i tag — white by default, colored on hover */
.tech-icon-item i {
    width: 40px;
    height: 40px;
    margin-bottom: 10px;
    font-size: 40px;
    display: inline-block;
    filter: brightness(0) invert(1);
    opacity: 0.7;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.tech-icon-item:hover i {
    opacity: 1;
    filter: none;
}

/* Tech name label */
.tech-icon-item span {
    display: block;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 500;
}

.tech-icon-item:hover span {
    color: white;
}

/* Fallback icon — auto initials when no icon_class provided */
.tech-fallback-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: rgba(233, 30, 99, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: #FF6090;
    font-size: 0.9rem;
    margin: 0 auto 10px;
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .tech-tab-nav {
        flex-direction: row;
        overflow-x: auto;
        margin-bottom: 30px;
        padding-bottom: 10px;
    }

    .tech-tab-btn {
        white-space: nowrap;
        width: auto;
    }

    .tech-icons-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 576px) {
    .tech-icons-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .tech-stack-section .section-title h2 {
        font-size: 1.8rem;
    }
}


/* --- Merged new_sections.css --- */
/* ================================================================
   NEW SECTIONS — ACCORDION, CTA, SERVICES GRID
   Theme: Deep Navy + Hot Pink + Cyan
   ================================================================ */

/* --- 1. IMAGE ACCORDION --- */
.ns-accordion-section {
    background: #060f1e;
    padding: 80px 0 100px;
    position: relative;
    overflow: hidden;
}

.ns-header .ns-title {
    font-family: 'Outfit', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    background: linear-gradient(135deg, #fff 0%, #c0c8d8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    display: block;
}

.ns-header .ns-subtitle {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.6);
}

.ns-accordion-container {
    display: flex;
    justify-content: center;
    height: 500px;
    width: 100%;
    margin-top: 40px;
}

.ns-acc-item {
    flex: 1;
    position: relative;
    background-size: cover;
    background-position: center;
    border-right: 1px solid rgba(255,255,255,0.1);
    transition: flex 0.5s ease-in-out;
    cursor: pointer;
    overflow: hidden;
}

.ns-acc-item:last-child {
    border-right: none;
}

.ns-acc-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(180deg, rgba(6,15,30,0) 0%, rgba(6,15,30,0.9) 100%);
    pointer-events: none;
}

.ns-acc-content {
    position: absolute;
    bottom: 30px;
    left: 30px;
    z-index: 2;
    transform: translateY(20px);
    transition: transform 0.4s ease;
}

.ns-acc-content h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    color: #fff;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    white-space: nowrap;
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform-origin: center;
    opacity: 0.8;
    transition: all 0.4s ease;
}

.ns-acc-content p {
    color: rgba(255,255,255,0.7);
    font-size: 1rem;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: all 0.5s ease;
}

/* Active State */
.ns-acc-item:hover, .ns-acc-item.active {
    flex: 4; /* Expand */
}

.ns-acc-item:hover .ns-acc-content h3,
.ns-acc-item.active .ns-acc-content h3 {
    writing-mode: horizontal-tb;
    transform: rotate(0);
    position: relative;
    bottom: auto;
    left: auto;
    opacity: 1;
    font-size: 2rem;
    color: #ff1493; /* Highlight */
}

.ns-acc-item:hover .ns-acc-content,
.ns-acc-item.active .ns-acc-content {
    transform: translateY(0);
}

.ns-acc-item:hover .ns-acc-content p, 
.ns-acc-item.active .ns-acc-content p {
    opacity: 1;
    max-height: 100px;
    margin-top: 10px;
}


/* --- 2. CTA BANNER --- */
.ns-cta-section {
    background: #02070f;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background-size: cover;
    background-position: center;
}

.ns-cta-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(90deg, #060f1e 0%, rgba(6,15,30,0.8) 100%);
    z-index: 1;
}

.ns-cta-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.ns-cta-content h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 16px;
    background: linear-gradient(135deg, #fff 0%, #c0c8d8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    display: inline-block;
}

.ns-cta-content p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 24px;
}

.ns-cta-content .btn-outline-light {
    border-color: #ff1493;
    color: #ff1493;
}

.ns-cta-content .btn-outline-light:hover {
    background: #ff1493;
    color: #fff;
}


/* --- 3. SERVICES GRID --- */
.ns-services-section {
    background: #0a1628; /* Slightly lighter navy */
    padding: 100px 0;
    position: relative;
}

.ns-services-section::before {
    content: '';
    position: absolute;
    top: -50px; right: -50px;
    width: 300px; height: 300px;
    background: radial-gradient(circle, rgba(0,212,255,0.05), transparent 70%);
    pointer-events: none;
}

.ns-service-card {
    background: #0f1f3a;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 40px 30px;
    height: 100%;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.ns-service-card:hover {
    background: rgba(255, 255, 255, 0.06);
    transform: translateY(-10px);
    border-color: rgba(255, 20, 147, 0.3);
}

.ns-icon-circle {
    width: 60px; height: 60px;
    background: rgba(255, 20, 147, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    transition: all 0.3s ease;
}

.ns-service-card:hover .ns-icon-circle {
    background: #ff1493;
    box-shadow: 0 0 20px rgba(255, 20, 147, 0.4);
}

.ns-icon-circle i {
    font-size: 1.5rem;
    color: #ff1493;
}

.ns-service-card:hover .ns-icon-circle i {
    color: #fff;
}

.ns-service-card h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 12px;
}

.ns-service-card p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 768px) {
    .ns-accordion-container { flex-direction: column; height: auto; }
    .ns-acc-item { height: 80px; width: 100%; }
    .ns-acc-item.active { height: 300px; }
    .ns-acc-content h3 { writing-mode: horizontal-tb; transform: rotate(0); position: relative; bottom: auto; left: auto; }
}


/* --- Merged sections.css --- */
/* ===========================================
   KRITI DIGITAL - DYNAMIC SECTIONS CSS
   Globals | Testimonials | Blog | FAQ | Contact
   =========================================== */

/* ── GLOBAL: SECTION BADGE ── */
.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 18px;
    font-size: 0.75rem;
    border-radius: 50px;
    background: rgba(233, 30, 99, 0.12);
    color: #FF6090;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 12px;
}

/* ── GLOBAL: HEADING + HIGHLIGHT ── */
.section-heading {
    font-size: 2.3rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
}

.highlight {
    background: linear-gradient(135deg, #E91E63, #FF6090);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-sub {
    color: #8892a4;
    font-size: 0.95rem;
    max-width: 600px;
    margin: 0 auto;
}

/* ── GLOBAL: PRIMARY BUTTON ── */
.primary-btn {
    background: linear-gradient(135deg, #E91E63, #FF6090);
    padding: 12px 28px;
    border-radius: 50px;
    color: #fff;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: 0.3s ease;
    text-decoration: none;
    font-size: 0.95rem;
}

.primary-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(233, 30, 99, 0.35);
    color: #fff;
}

/* ============================================
   1. TESTIMONIALS
   ============================================ */
.testimonials-section {
    background: #0a1628;
    padding: 90px 0;
    position: relative;
}

.testimonial-card {
    background: #0f1f3a;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 30px;
    height:100%;
    display: flex;
    flex-direction: column;
    transition: all 0.35s ease;
}

.testimonial-card:hover {
    border-color: rgba(255, 20, 147, 0.25);
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.testimonial-stars {
    margin-bottom: 16px;
}

.testimonial-stars i {
    color: #f59e0b;
    font-size: 1rem;
    margin-right: 2px;
}

.testimonial-text {
    color: #c0c8d8;
    font-size: 0.9rem;
    line-height: 1.7;
    flex: 1;
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-footer {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.testimonial-avatar img {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
}

.avatar-initials {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 20, 147, 0.15);
    color: #ff47ab;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
    flex-shrink: 0;
}

.testimonial-info h6 {
    color: #fff;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 2px;
}

.testimonial-info span {
    color: #8892a4;
    font-size: 0.75rem;
}

.testimonial-company-logo {
    margin-left: auto;
    max-height: 24px;
    opacity: 0.5;
    transition: opacity 0.3s;
}

.testimonial-card:hover .testimonial-company-logo {
    opacity: 0.9;
}

/* ============================================
   2. BLOG
   ============================================ */
.blog-section {
    background: #060f1e;
    padding: 90px 0;
}

.blog-card-link {
    text-decoration: none;
    display: block;
    height: 100%;
}

.blog-card {
    background: #0f1f3a;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: all 0.35s ease;
}

.blog-card:hover {
    border-color: rgba(255, 20, 147, 0.25);
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.blog-card-img-wrap {
    height: 200px;
    overflow: hidden;
    background: #0a1628;
}

.blog-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card:hover .blog-card-img {
    transform: scale(1.05);
}

.blog-card-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: rgba(255, 255, 255, 0.1);
}

.blog-card-body {
    padding: 22px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-card-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 10px;
}

.blog-card-meta span {
    color: #8892a4;
    font-size: 0.75rem;
}

.blog-card-title {
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 8px;
    line-height: 1.4;
}

.blog-card-excerpt {
    color: #8892a4;
    font-size: 0.85rem;
    line-height: 1.6;
    flex: 1;
}

.blog-read-more {
    color: #ff1493;
    font-size: 0.8rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: 10px;
    transition: gap 0.3s;
}

.blog-card:hover .blog-read-more {
    gap: 8px;
}

/* -- Blog Category Tabs -- */
.blog-tabs-wrap {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 10px;
}

.blog-tab {
    background: #0f1f3a;
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #c0c8d8;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.82rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.blog-tab:hover {
    border-color: rgba(233, 30, 99, 0.3);
    color: #FF6090;
}

.blog-tab.active {
    background: linear-gradient(135deg, #E91E63, #FF6090);
    border-color: transparent;
    color: #fff;
    box-shadow: 0 4px 15px rgba(233, 30, 99, 0.3);
}

.blog-tab i {
    font-size: 0.9rem;
}

/* -- Blog Category Badge inside Card -- */
.blog-card-cat {
    display: inline-block;
    background: rgba(233, 30, 99, 0.12);
    color: #FF6090;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 20px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 8px;
}

/* -- Blog Fade Animation -- */
@keyframes blogFadeIn {
    from { opacity: 0; transform: translateY(15px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ============================================
   3. FAQ
   ============================================ */
.faq-section {
    background: #0a1628;
    padding: 90px 0;
}

.faq-item {
    background: #0f1f3a;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    margin-bottom: 10px;
    overflow: hidden;
    transition: border-color 0.3s ease;
}

.faq-item:hover,
.faq-item.active {
    border-color: rgba(255, 20, 147, 0.25);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    cursor: pointer;
    gap: 12px;
    transition: background 0.3s;
}

.faq-question span {
    color: #fff;
    font-weight: 600;
    font-size: 0.9rem;
    flex: 1;
}

.faq-question i {
    color: #ff1493;
    font-size: 1.2rem;
    transition: transform 0.35s ease;
    flex-shrink: 0;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;
    padding: 0 20px;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 20px 18px;
}

.faq-answer p {
    color: #c0c8d8;
    font-size: 0.85rem;
    line-height: 1.7;
    margin: 0;
}

/* ============================================
   4. CONTACT
   ============================================ */
.contact-section {
    background: #060f1e;
    padding: 90px 0;
}

.contact-info-wrap {
    display: flex;
    flex-direction: column;
    gap: 20px;
    height: 100%;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    background: #0f1f3a;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 22px;
    transition: all 0.35s ease;
}

.contact-info-item:hover {
    border-color: rgba(255, 20, 147, 0.25);
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.contact-info-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(255, 20, 147, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-info-icon i {
    color: #ff47ab;
    font-size: 1.2rem;
}

.contact-info-item h6 {
    color: #fff;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 4px;
}

.contact-info-item p {
    color: #c0c8d8;
    font-size: 0.85rem;
    margin: 0;
}

.contact-info-item a {
    color: #c0c8d8;
    text-decoration: none;
    transition: color 0.3s;
}

.contact-info-item a:hover {
    color: #ff47ab;
}

.contact-form-card {
    background: #0f1f3a;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 30px;
}

.contact-form-card .form-control,
.contact-form-card .form-select {
    background: #0a1628;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    border-radius: 10px;
    padding: 12px 16px;
    font-size: 0.9rem;
    transition: border-color 0.3s;
}

.contact-form-card .form-control::placeholder {
    color: #8892a4;
}

.contact-form-card .form-control:focus,
.contact-form-card .form-select:focus {
    border-color: #ff1493;
    box-shadow: 0 0 0 2px rgba(255, 20, 147, 0.15);
    background: #0a1628;
    color: #fff;
}

.contact-form-card .form-select {
    color: #8892a4;
}

.contact-form-card .form-select option {
    background: #0a1628;
    color: #fff;
}

.btn-cta-submit {
    background: linear-gradient(135deg, #ff1493, #ff47ab);
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 14px 32px;
    font-weight: 600;
    font-size: 0.95rem;
    width: 100%;
    transition: all 0.3s;
    cursor: pointer;
}

.btn-cta-submit:hover {
    box-shadow: 0 8px 25px rgba(255, 20, 147, 0.35);
    transform: translateY(-2px);
    color: #fff;
}

/* Spin animation for loader */
@keyframes ri-spin {
    100% { transform: rotate(360deg); }
}
.ri-spin { animation: ri-spin 1s linear infinite; display: inline-block; }

/* ── RESPONSIVE ── */
@media (max-width: 991px) {
    .section-heading {
        font-size: 1.8rem;
    }
    .faq-section .row > div {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

@media (max-width: 576px) {
    .testimonials-section,
    .blog-section,
    .faq-section,
    .contact-section {
        padding: 60px 0;
    }
    .section-heading {
        font-size: 1.5rem;
    }
}


/* Innovation Section Fix */
.innovation-section {
    padding: 80px 0;
    width: 100%;
    position: relative;
    overflow: hidden;
    min-height: 400px; 
}
.innovation-title-text {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: #fff;
}
body.light-mode .innovation-title-text {
    color: #1a202c;
}
.innovation-highlight {
    font-size: 3rem;
    font-weight: 800;
    text-transform: uppercase;
    background: linear-gradient(135deg, #E91E63, #FF6090);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: block;
    margin-bottom: 2rem;
}
.innovation-text {
    font-size: 1.1rem;
    color: #cbd5e0;
    line-height: 1.7;
    margin-bottom: 2rem;
}
body.light-mode .innovation-text {
    color: #4a5568;
}
.innovation-visuals-container {
    position: relative;
    width: 100%;
}
.innovation-img-grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}
.inn-img-box-43 {
    width: 100%;
    aspect-ratio: 4/3;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    transition: transform 0.4s ease;
}
.inn-img-box-43 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.inn-img-box-43:hover img {
    transform: scale(1.1);
}
.inn-img-box-43 i {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.innovation-stats-row {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 40px;
    margin-top: 40px;
}
body.light-mode .innovation-stats-row {
    border-top-color: rgba(0,0,0,0.1);
}
.innovation-stat {
    flex: 1;
    min-width: 120px;
    text-align: center; 
}
.innovation-stat-num {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 5px;
    background: linear-gradient(135deg, #E91E63, #FF6090);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
body.light-mode .innovation-stat-num {
    background: linear-gradient(to right, #1a202c, #4a5568);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.innovation-stat-label {
    font-size: 0.85rem;
    color: #a0aec0;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 600;
}

/* --- Services Grid --- */
.ns-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

@media (max-width: 576px) {
    .ns-services-grid {
        grid-template-columns: 1fr; /* Stack on mobile */
    }
}

/* --- Mobile Offcanvas Menu Fixes --- */
@media (max-width: 991px) {
    .kd-navbar {
        background: var(--primary-deeper);
        padding: 10px 0;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
    }
    
    #navbarOffcanvas {
        background-color: var(--primary-dark) !important;
        width: 320px;
    }
    #navbarOffcanvas .offcanvas-body {
        padding: 1.5rem;
    }
    #navbarOffcanvas .nav-item {
        padding: 10px 0;
        border-bottom: 1px solid rgba(255,255,255,0.05);
    }
    #navbarOffcanvas .nav-link {
        font-size: 1.15rem;
        color: #fff !important;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    #navbarOffcanvas .mega-dropdown .dropdown-menu {
        position: static !important;
        float: none;
        width: 100%;
        margin-top: 10px;
        background-color: rgba(255,255,255,0.02) !important;
        border: none !important;
        box-shadow: none !important;
        padding: 10px 0 !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
    }
    #navbarOffcanvas .mega-menu-inner {
        padding: 0;
    }
    #navbarOffcanvas .mega-menu-title {
        display: none; /* Hide title on mobile to save space */
    }
    #navbarOffcanvas .mega-menu-item {
        padding: 10px;
        border-radius: 8px;
        margin-bottom: 5px;
        display: flex;
        align-items: center;
        gap: 12px;
    }
    #navbarOffcanvas .mega-menu-item h6 {
        font-size: 0.95rem;
        margin-bottom: 2px;
    }
    #navbarOffcanvas .mega-item-content p {
        display: none; /* Hide descriptions on mobile */
    }
    #navbarOffcanvas .btn-nav-cta {
        margin-top: 20px !important;
    }
}
