/* ==========================================================================
   HI5 Web & Digital Solutions - Premium Light-Theme Redesign Stylesheet
   Inspirations: Tata AIA (Trust/Structure), The7 (Sleek Glass/Interactions), Black Snipers (Conversion)
   Colors: Ice Blue-Grey Canvas, Deep Royal Navy text, Crimson Red, Bright Orange Highlights
   ========================================================================== */

/* 1. Google Fonts & CSS Variables */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800;900&family=Sora:wght@400;500;600;700;800&display=swap');

:root {
  /* Core Canvas & Surfaces */
  --bg-white: #ffffff;
  --bg-slate: #f0f4fa;           /* Premium brand-exact ice-blue backdrop */
  --bg-slate-dark: #e2e8f0;      /* Hover canvas backgrounds */
  --bg-navy: #081e4b;            /* Brand dark navy background */
  
  /* Text Color Tokens */
  --text-navy: #1e293b;          /* Best Font Color Dark Text */
  --text-slate: #475569;         /* Slate 600: Highly readable body copy */
  --text-light: #64748b;         /* Slate 500: Subtitles and captions */
  
  /* Brand Color Tokens (Primary Blue & Accent Red) */
  --primary-blue: #0f4294;       /* Logo Corporate Royal Blue */
  --primary-blue-hover: #0b3373;  /* Hover state */
  --accent-red: #e31c23;         /* Logo Vibrant Red dot and offer cards */
  --accent-red-hover: #be131a;
  --accent-orange: #e31c23;      /* Map to red per user request */
  --accent-orange-hover: #be131a;
  
  /* Gradients */
  --grad-primary: linear-gradient(135deg, #0f4294 0%, #0b3373 100%);
  --grad-red: linear-gradient(135deg, #e31c23 0%, #be131a 100%);
  --grad-orange: linear-gradient(135deg, #e31c23 0%, #be131a 100%);
  --grad-text: linear-gradient(135deg, #1e293b 40%, #0f4294 100%);
  --grad-hero-bg: linear-gradient(135deg, #0f4294 0%, #081e4b 100%);
  --grad-hero: linear-gradient(135deg, #0f4294 0%, #081e4b 100%);
  
  /* Glassmorphism & Borders */
  --glass-bg: rgba(255, 255, 255, 0.7);
  --glass-border: rgba(15, 23, 42, 0.08);
  --border-light: rgba(15, 23, 42, 0.06);
  
  /* Layout & Sizing */
  --max-width: 1200px;
  --header-height: 100px;
  --border-radius-sm: 8px;
  --border-radius-md: 16px;
  --border-radius-lg: 24px;
  
  /* Premium Shadow Tokens (Depth & Elevation) */
  --shadow-sm: 0 4px 12px rgba(15, 23, 42, 0.03);
  --shadow-md: 0 12px 24px -10px rgba(15, 66, 148, 0.06);
  --shadow-lg: 0 30px 60px -15px rgba(15, 66, 148, 0.08);
  --shadow-hover: 0 30px 60px -15px rgba(15, 66, 148, 0.14);
  --shadow-neon-blue: 0 0 25px rgba(15, 66, 148, 0.12);
  --shadow-neon-red: 0 0 25px rgba(227, 28, 35, 0.12);
  
  /* Transitions */
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --font-heading: 'Outfit', 'Sora', sans-serif;
  --font-body: 'Inter', sans-serif;
}

/* 2. Global Reset & Base Styles */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--text-slate);
  background-color: var(--bg-white);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-navy);
  font-weight: 700;
  line-height: 1.25;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-smooth);
}

ul {
  list-style: none;
}

/* 3. Section Styling & Grid Layouts */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 3;
}

.section-padding {
  padding: 120px 0;
  position: relative;
}

@media (max-width: 768px) {
  .section-padding {
    padding: 80px 0;
  }
}

.text-center { text-align: center; }
.accent-dot { color: var(--accent-red); }

/* Alternating Sections Theme (Crisp Light Contrast) */
.light-section {
  background-color: var(--bg-white);
}

.dark-section {
  background-color: var(--bg-navy);
  color: #cbd5e1;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.dark-section h1,
.dark-section h2,
.dark-section h3,
.dark-section h4,
.dark-section h5,
.dark-section h6 {
  color: #ffffff;
}

.dark-section p {
  color: #cbd5e1;
}

.dark-section .section-header h2 {
  background: linear-gradient(135deg, #ffffff 40%, var(--primary-blue) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.dark-section .section-header p {
  color: #cbd5e1;
}

.dark-section .badge {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

/* Typography Gradient Fills */
.text-gradient {
  background: var(--grad-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.badge {
  display: inline-block;
  padding: 8px 16px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  border-radius: 50px;
  margin-bottom: 20px;
  font-family: var(--font-heading);
  background: rgba(12, 45, 117, 0.05);
  border: 1px solid rgba(12, 45, 117, 0.1);
  color: var(--primary-blue);
}

/* Red theme badge option */
.badge-red {
  background: rgba(227, 28, 65, 0.05);
  border-color: rgba(227, 28, 65, 0.1);
  color: var(--accent-red);
}

.section-header {
  max-width: 720px;
  margin: 0 auto 60px auto;
}

.section-header h2 {
  font-size: 2.5rem;
  margin-bottom: 18px;
  letter-spacing: -0.8px;
  background: var(--grad-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-header h2::after {
  content: '';
  display: block;
  width: 50px;
  height: 4px;
  background: var(--grad-primary);
  margin: 16px auto 0 auto;
  border-radius: 2px;
}

.section-header p {
  font-size: 1.1rem;
  color: var(--text-slate);
}

@media (max-width: 768px) {
  .section-header h2 {
    font-size: 2rem;
  }
}

/* 4. Buttons (Sleek Shimmer & Hover Dilation) */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 30px;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: var(--border-radius-sm);
  transition: var(--transition-smooth);
  cursor: pointer;
  border: 2px solid transparent;
  font-family: var(--font-heading);
  position: relative;
  overflow: hidden;
  letter-spacing: 0.5px;
}

.btn::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
  transition: all 0.6s ease;
}

.btn:hover::after {
  left: 100%;
}

.btn-primary {
  background: var(--grad-primary);
  color: var(--bg-white);
  box-shadow: 0 4px 15px rgba(12, 45, 117, 0.15);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(12, 45, 117, 0.25);
}

.btn-secondary {
  background: var(--grad-red);
  color: var(--bg-white);
  box-shadow: 0 4px 15px rgba(227, 28, 65, 0.15);
}

.btn-secondary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(227, 28, 65, 0.25);
}

.btn-white {
  background-color: var(--bg-white);
  color: var(--primary-blue);
  border-color: var(--glass-border);
  box-shadow: var(--shadow-sm);
}

.btn-white:hover {
  background-color: var(--bg-slate);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline-white {
  background-color: transparent;
  color: var(--bg-white);
  border-color: rgba(255, 255, 255, 0.45);
}

.btn-outline-white:hover {
  background-color: rgba(255, 255, 255, 0.08);
  border-color: var(--bg-white);
  transform: translateY(-2px);
}

/* 5. Sticky Glassmorphic Header Navigation (Dual-Row Style) */
.top-bar {
  background-color: var(--primary-blue);
  color: var(--bg-white);
  font-size: 0.82rem;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  z-index: 1001;
  font-family: var(--font-heading);
}

.top-bar-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-bar-left {
  display: flex;
  gap: 24px;
}

.top-bar-left a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 500;
  transition: var(--transition-smooth);
}

.top-bar-left a:hover {
  color: var(--bg-white);
}

.top-bar-right {
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
}

.header {
  position: fixed;
  top: 36px;                  /* Offset for the 36px high top-bar */
  left: 0;
  width: 100%;
  height: 90px;
  z-index: 1000;
  display: flex;
  align-items: center;
  transition: var(--transition-smooth);
  background-color: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--glass-border);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 100%;
}

.header .nav-link {
  color: var(--text-navy) !important;
  opacity: 0.85;
}

.header .hamburger span {
  background-color: var(--text-navy) !important;
}

/* Hanging Logo Card Layout */
.logo-holder {
  background: var(--bg-white);
  padding: 6px 20px 14px 20px;
  border-radius: 0 0 12px 12px;
  box-shadow: 0 10px 30px rgba(12, 45, 117, 0.08);
  border: 1px solid var(--glass-border);
  border-top: none;
  transform: translateY(-2px); /* Let it hang down slightly */
  transition: var(--transition-smooth);
  z-index: 1002;
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;    /* Hang from top of container */
}

.logo {
  display: inline-block;
}

.logo img {
  height: 74px;
  width: auto;
  object-fit: contain;
  display: block;
  transition: var(--transition-smooth);
}

/* Header Scrolled/Sticky State (Collapses top offset and moves to very top) */
.header.scrolled {
  top: 0;
  height: 75px;
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow-md);
}

.header.scrolled .logo-holder {
  padding: 4px 16px 10px 16px;
  box-shadow: 0 5px 15px rgba(12, 45, 117, 0.04);
}

.header.scrolled .logo img {
  height: 52px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-link {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  position: relative;
  padding: 8px 0;
}

.nav-link:hover, .nav-link.active {
  color: var(--primary-blue) !important;
  opacity: 1;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 3px;
  background-color: var(--primary-blue);
  border-radius: 2px;
  transition: var(--transition-smooth);
  transform: translateX(-50%);
}

.nav-link:hover::after, .nav-link.active::after {
  width: 20px;
}

.header-cta {
  display: flex;
  align-items: center;
}

/* Red Pill Header CTA Button (Black Snipers academy button style) */
.cta-header-btn {
  background: var(--grad-red) !important;
  color: var(--bg-white) !important;
  border-radius: 50px !important;    /* Makes it a perfect pill shape */
  padding: 10px 24px !important;
  font-size: 0.85rem !important;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 4px 12px rgba(227, 28, 65, 0.2) !important;
  border: none !important;
  transition: var(--transition-smooth) !important;
}

.cta-header-btn:hover {
  transform: translateY(-2px) scale(1.03) !important;
  box-shadow: 0 6px 18px rgba(227, 28, 65, 0.35) !important;
}

/* Hamburger mobile trigger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 26px;
  height: 18px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1100;
}

.hamburger span {
  width: 100%;
  height: 2px;
  transition: var(--transition-smooth);
}

.hamburger.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

@media (max-width: 992px) {
  .top-bar {
    display: none;             /* Hide top bar on mobile/tablet viewports */
  }

  .header {
    top: 0;                    /* Header aligns directly to top of viewport */
    height: 70px;
  }
  
  .logo-holder {
    padding: 6px 14px 10px 14px;
  }
  
  .logo img {
    height: 38px;
  }

  .hamburger {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background-color: var(--bg-white);
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 80px 40px;
    gap: 25px;
    transition: var(--transition-smooth);
    box-shadow: -10px 0 30px rgba(15, 23, 42, 0.05);
    z-index: 1050;
    border-left: 1px solid var(--glass-border);
  }

  .nav-menu.active {
    right: 0;
  }

  .nav-menu .nav-link {
    color: var(--text-navy) !important;
    font-size: 1.15rem;
    width: 100%;
    padding: 10px 0;
    border-bottom: 1px solid var(--border-light);
  }

  .nav-menu .nav-link:hover, 
  .nav-menu .nav-link.active {
    color: var(--primary-blue) !important;
    padding-left: 8px;
  }

  .header-cta {
    display: none;
  }
}

/* 6. Hero Section (Vibrant Split & Interactive Hover Collage) */
@keyframes gradientBg {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.hero {
  position: relative;
  background: var(--grad-hero-bg);
  min-height: 100vh;
  padding-top: 150px;
  padding-bottom: 90px;
  display: flex;
  align-items: center;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

/* Floating Stat Bubbles in Hero 3D Space */
.floating-stat-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  padding: 12px 20px;
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 5;
  pointer-events: none;
  animation: floatCard 6s ease-in-out infinite alternate;
  transition: var(--transition-smooth);
}

.stat-left {
  top: 120px;
  left: -40px;
  animation-delay: 0.5s;
}

.stat-right {
  bottom: 80px;
  right: -30px;
  animation-delay: 2.5s;
}

.stat-num {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 900;
  background: var(--grad-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.1;
}

.stat-text {
  font-size: 0.75rem;
  color: var(--text-slate);
  font-weight: 700;
  white-space: nowrap;
}

@media (max-width: 992px) {
  .floating-stat-card {
    display: none; /* Hide floating bubbles on smaller tablets/mobiles to avoid clutter */
  }
}

/* Grid layout for left/right split */
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 50px;
  width: 100%;
}

.hero-content h1 {
  font-size: 3.8rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -1.5px;
  margin-bottom: 20px;
  color: #ffffff;
}

.hero-content h1 span {
  color: var(--accent-red);
}

.hero-content p {
  font-size: 1.15rem;
  color: #e2e8f0;
  margin-bottom: 36px;
  max-width: 580px;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* 3D Perspective Collage (Replacing original browser mockup frame) */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  perspective: 1200px;         /* Creates a 3D space */
  min-height: 480px;
  width: 100%;
}

.hero-collage {
  position: relative;
  width: 100%;
  height: 440px;
  transform-style: preserve-3d;
}

/* Single mockup collage card */
.collage-card {
  position: absolute;
  width: 250px;
  height: 165px;
  background: var(--bg-white);
  border-radius: var(--border-radius-md);
  border: 1px solid var(--glass-border);
  box-shadow: 0 10px 30px rgba(12, 45, 117, 0.08);
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  z-index: 2;
  transform-origin: center center;
}

.collage-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

/* Collage Captions */
.collage-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-top: 1px solid var(--border-light);
  padding: 8px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  opacity: 0;
  transform: translateY(10px);
  transition: var(--transition-smooth);
}

.collage-card:hover .collage-caption {
  opacity: 1;
  transform: translateY(0);
}

.collage-title {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--text-navy);
}

.collage-tag {
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--accent-red);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Absolute Positions & Rotations (Creating structured depth collage) */

/* Card 1: Restaurant Site (Top Left) */
#mSlideRestID {
  top: 15px;
  left: 20px;
  transform: rotateZ(-8deg) rotateY(12deg) translateZ(10px);
}

/* Card 2: E-commerce (Top Right) */
#mSlideEcomID {
  top: 55px;
  right: 20px;
  transform: rotateZ(6deg) rotateY(-10deg) translateZ(20px);
  width: 270px;
  height: 178px;
  z-index: 3;
}

/* Card 3: Matrimony (Bottom Left) */
#mSlideMatrimonyID {
  bottom: 45px;
  left: 40px;
  transform: rotateZ(5deg) rotateY(8deg) translateZ(40px);
  width: 260px;
  height: 170px;
  z-index: 4;
}

/* Card 4: Real Estate (Bottom Right) */
#mSlideRealEstateID {
  bottom: 15px;
  right: 40px;
  transform: rotateZ(-5deg) rotateY(-12deg) translateZ(30px);
}

/* Hover Dilation States (Collage interactive effect) */
.collage-card:hover {
  transform: scale(1.1) rotateZ(0deg) rotateY(0deg) translateZ(80px) !important;
  z-index: 10;
  box-shadow: 0 25px 50px rgba(12, 45, 117, 0.22);
  border-color: rgba(12, 45, 117, 0.2);
}

.collage-card:hover img {
  transform: scale(1.05);
}

/* Floating Animations (Drives vitality in hero collage) */
.collage-card {
  animation: floatCard 6s ease-in-out infinite alternate;
}

#mSlideRestID { animation-delay: 0s; }
#mSlideEcomID { animation-delay: 1.5s; }
#mSlideMatrimonyID { animation-delay: 3s; }
#mSlideRealEstateID { animation-delay: 4.5s; }

@keyframes floatCard {
  0% { margin-top: 0px; }
  100% { margin-top: -12px; }
}

@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  
  .hero-content h1 {
    font-size: 2.8rem;
  }
  
  .hero-content p {
    margin-left: auto;
    margin-right: auto;
  }
  
  .hero-buttons {
    justify-content: center;
  }
  
  .hero-visual {
    min-height: 420px;
  }
  
  .hero-collage {
    max-width: 500px;
    margin: 0 auto;
  }
  
  .collage-card {
    width: 200px;
    height: 130px;
  }
  
  #mSlideEcomID { width: 210px; height: 140px; }
  #mSlideMatrimonyID { width: 210px; height: 140px; }
}

@media (max-width: 480px) {
  .collage-card {
    width: 170px;
    height: 110px;
  }
  
  #mSlideEcomID { width: 180px; height: 120px; }
  #mSlideMatrimonyID { width: 180px; height: 120px; }
  
  #mSlideRestID { left: 10px; }
  #mSlideEcomID { right: 10px; }
  #mSlideMatrimonyID { left: 20px; }
  #mSlideRealEstateID { right: 20px; }
}

/* 7. Services Overview Section (Structured Grid Cards) */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

.service-card {
  background-color: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--border-radius-md);
  padding: 40px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.service-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background-color: transparent;
  transition: var(--transition-smooth);
}

.service-card[data-service-id="web-design"]::after { background-color: var(--primary-blue); }
.service-card[data-service-id="ecommerce"]::after { background-color: var(--accent-red); }
.service-card[data-service-id="web-app"]::after { background-color: var(--primary-blue); }
.service-card[data-service-id="branding"]::after { background-color: var(--accent-red); }
.service-card[data-service-id="digital-marketing"]::after { background-color: var(--primary-blue); }
.service-card[data-service-id="whatsapp"]::after { background-color: var(--accent-red); }

.service-icon-wrapper {
  width: 60px;
  height: 60px;
  border-radius: var(--border-radius-sm);
  background-color: var(--bg-slate);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  color: var(--primary-blue);
  transition: var(--transition-smooth);
}

/* Service Card Hover Custom Effects (Color-Coded Ambient Glows) */
.service-card:hover {
  transform: translateY(-8px);
  border-color: transparent;
}

.service-card[data-service-id="web-design"]:hover {
  box-shadow: 0 20px 40px -15px rgba(12, 45, 117, 0.25), 0 0 15px rgba(12, 45, 117, 0.05);
}
.service-card[data-service-id="web-design"]:hover .service-icon-wrapper {
  background-color: var(--primary-blue);
  color: var(--bg-white);
}

.service-card[data-service-id="ecommerce"]:hover {
  box-shadow: 0 20px 40px -15px rgba(227, 28, 65, 0.25), 0 0 15px rgba(227, 28, 65, 0.05);
}
.service-card[data-service-id="ecommerce"]:hover .service-icon-wrapper {
  background-color: var(--accent-red);
  color: var(--bg-white);
}

.service-card[data-service-id="web-app"]:hover {
  box-shadow: 0 20px 40px -15px rgba(12, 45, 117, 0.25), 0 0 15px rgba(12, 45, 117, 0.05);
}
.service-card[data-service-id="web-app"]:hover .service-icon-wrapper {
  background-color: var(--primary-blue);
  color: var(--bg-white);
}

.service-card[data-service-id="branding"]:hover {
  box-shadow: 0 20px 40px -15px rgba(227, 28, 65, 0.25), 0 0 15px rgba(227, 28, 65, 0.05);
}
.service-card[data-service-id="branding"]:hover .service-icon-wrapper {
  background-color: var(--accent-red);
  color: var(--bg-white);
}

.service-card[data-service-id="digital-marketing"]:hover {
  box-shadow: 0 20px 40px -15px rgba(12, 45, 117, 0.25), 0 0 15px rgba(12, 45, 117, 0.05);
}
.service-card[data-service-id="digital-marketing"]:hover .service-icon-wrapper {
  background-color: var(--primary-blue);
  color: var(--bg-white);
}

.service-card[data-service-id="whatsapp"]:hover {
  box-shadow: 0 20px 40px -15px rgba(227, 28, 65, 0.25), 0 0 15px rgba(227, 28, 65, 0.05);
}
.service-card[data-service-id="whatsapp"]:hover .service-icon-wrapper {
  background-color: var(--accent-red);
  color: var(--bg-white);
}


.service-card h3 {
  font-size: 1.35rem;
  margin-bottom: 14px;
  color: var(--text-navy);
}

.service-card p {
  font-size: 0.95rem;
  color: var(--text-slate);
  margin-bottom: 24px;
  line-height: 1.6;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--primary-blue);
}

.service-link svg {
  width: 16px;
  height: 16px;
  transition: var(--transition-smooth);
}

.service-card:hover .service-link svg {
  transform: translateX(4px);
}

/* 8. Why Choose Us Section (Structured Trust Benefits) */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.why-card {
  background-color: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--border-radius-md);
  padding: 36px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.why-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--grad-primary);
  opacity: 0;
  transition: var(--transition-smooth);
}

.why-number {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 900;
  line-height: 1;
  background: linear-gradient(135deg, rgba(12, 45, 117, 0.15) 0%, rgba(12, 45, 117, 0.02) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 16px;
  display: inline-block;
  transition: var(--transition-smooth);
}

.dark-section .why-number {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.22) 0%, rgba(255, 255, 255, 0.05) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.why-number[style*="color"] {
  -webkit-text-fill-color: currentColor !important;
  background: none !important;
}

.why-card h3 {
  font-size: 1.2rem;
  margin-bottom: 12px;
  color: var(--text-navy);
}

.why-card p {
  font-size: 0.95rem;
  color: var(--text-slate);
  line-height: 1.6;
}

.why-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(12, 45, 117, 0.1);
}

.why-card:hover::before {
  opacity: 1;
}

.why-card:hover .why-number {
  transform: scale(1.08) translateX(4px);
  background: var(--grad-red);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.why-card:hover .why-number[style*="color"] {
  background: var(--grad-red) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
}

/* 9. Portfolio Showcase & Filters */
.portfolio-filters {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 50px;
  flex-wrap: wrap;
}

.filter-btn {
  background: var(--bg-white);
  border: 1px solid var(--glass-border);
  padding: 10px 22px;
  border-radius: 50px;
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-slate);
  cursor: pointer;
  transition: var(--transition-smooth);
  box-shadow: var(--shadow-sm);
}

.filter-btn:hover, .filter-btn.active {
  background: var(--primary-blue);
  color: var(--bg-white);
  border-color: var(--primary-blue);
  box-shadow: 0 4px 12px rgba(12, 45, 117, 0.2);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 30px;
}

.portfolio-item {
  background-color: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
}

.portfolio-img {
  position: relative;
  height: 230px;
  width: 100%;
  overflow: hidden;
}

.portfolio-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.portfolio-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(12, 45, 117, 0.85);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition-smooth);
}

.portfolio-link-btn {
  background-color: var(--bg-white);
  color: var(--primary-blue);
  padding: 12px 24px;
  border-radius: var(--border-radius-sm);
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: var(--shadow-md);
}

.portfolio-item:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(12, 45, 117, 0.12);
}

.portfolio-item:hover .portfolio-img img {
  transform: scale(1.05);
}

.portfolio-item:hover .portfolio-overlay {
  opacity: 1;
}

.portfolio-info {
  padding: 24px;
}

.portfolio-cat {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--accent-red);
  margin-bottom: 8px;
  letter-spacing: 1px;
}

.portfolio-info h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
  color: var(--text-navy);
}

.portfolio-info p {
  font-size: 0.9rem;
  color: var(--text-slate);
  line-height: 1.5;
}

@media (max-width: 480px) {
  .portfolio-grid {
    grid-template-columns: 1fr;
  }
}

/* 10. Industries We Serve (Clean Segment Cards) */
.industry-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
}

.industry-card {
  background-color: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--border-radius-md);
  padding: 30px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
}

.industry-icon {
  font-size: 2.2rem;
  margin-bottom: 16px;
  display: inline-block;
  transition: var(--transition-smooth);
}

.industry-card h3 {
  font-size: 1rem;
  color: var(--text-navy);
  font-weight: 700;
}

.industry-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(12, 45, 117, 0.12);
  background-color: var(--bg-slate);
}

.industry-card:hover .industry-icon {
  transform: scale(1.15) rotate(5deg);
}

/* 11. Testimonials Section (Clean Dilation & Borders) */
.testimonial-container {
  max-width: 800px;
  margin: 0 auto;
  overflow: hidden;
  position: relative;
}

.testimonial-slider {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  width: 100%;
}

.testimonial-slide {
  flex: 0 0 100%;
  width: 100%;
  padding: 10px;
  box-sizing: border-box;
}

.testimonial-card {
  background-color: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--border-radius-md);
  padding: 48px;
  box-shadow: var(--shadow-sm);
  position: relative;
}

.stars {
  color: #fbbf24;                /* Amber Star fill */
  font-size: 1.2rem;
  margin-bottom: 20px;
}

.testimonial-quote {
  font-size: 1.15rem;
  font-style: italic;
  line-height: 1.7;
  color: var(--text-navy);
  margin-bottom: 30px;
}

.testimonial-meta {
  display: flex;
  align-items: center;
  gap: 16px;
}

.testimonial-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--grad-primary);
  color: var(--bg-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
}

.testimonial-name h4 {
  font-size: 1rem;
  color: var(--text-navy);
  margin-bottom: 2px;
}

.testimonial-name p {
  font-size: 0.8rem;
  color: var(--text-light);
}

.testimonial-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 30px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: var(--border-light);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.dot.active {
  background-color: var(--primary-blue);
  width: 24px;
  border-radius: 5px;
}

@media (max-width: 768px) {
  .testimonial-card {
    padding: 30px;
  }
  .testimonial-quote {
    font-size: 1rem;
  }
}

/* 12. FAQ Section Accordion (Thin Borders & Orange Focus) */
.faq-grid {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background-color: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--border-radius-sm);
  overflow: hidden;
  transition: var(--transition-smooth);
}

.faq-question {
  padding: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-heading);
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--text-navy);
  cursor: pointer;
  transition: var(--transition-smooth);
  user-select: none;
}

.faq-toggle-icon {
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--primary-blue);
  transition: transform 0.4s ease;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-answer p {
  padding: 0 24px 24px 24px;
  font-size: 0.95rem;
  color: var(--text-slate);
  line-height: 1.6;
}

/* Active FAQ states */
.faq-item.active {
  border-color: rgba(12, 45, 117, 0.18);
  box-shadow: var(--shadow-sm);
}

.faq-item.active .faq-question {
  color: var(--primary-blue);
}

.faq-item.active .faq-toggle-icon {
  transform: rotate(45deg);
}

.faq-item.active .faq-answer {
  max-height: 500px;
}

/* 13. Rich SEO Content Block */
.seo-content-box {
  background-color: var(--bg-white) !important;
  border: 1px solid var(--border-light);
  border-radius: var(--border-radius-md);
  padding: 48px;
  box-shadow: var(--shadow-sm);
  color: var(--text-slate) !important;
}

.seo-content-box h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
  color: var(--text-navy) !important;
}

.seo-content-box p {
  font-size: 1rem;
  color: var(--text-slate) !important;
  margin-bottom: 24px;
  line-height: 1.6;
}

.seo-rich-text {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 36px;
  border-top: 1px solid var(--border-light);
  padding-top: 36px;
}

.seo-rich-text h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
  color: var(--text-navy) !important;
}

.seo-rich-text ul {
  margin-top: 12px;
}

.seo-rich-text li {
  margin-bottom: 8px;
  position: relative;
  padding-left: 20px;
  color: var(--text-slate) !important;
}

.seo-rich-text li strong {
  color: var(--text-navy) !important;
}

.seo-rich-text li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent-red) !important;
  font-weight: 700;
}

@media (max-width: 768px) {
  .seo-rich-text {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .seo-content-box {
    padding: 30px;
  }
}

/* 14. High-Impact Call-To-Action (CTA) Blocks */
.cta-section {
  background: var(--grad-primary);
  color: var(--bg-white) !important;
  text-align: center;
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.cta-section h2 {
  color: var(--bg-white);
  font-size: 2.6rem;
  margin-bottom: 18px;
  letter-spacing: -0.8px;
}

.cta-section p {
  color: rgba(255, 255, 255, 0.8) !important;
  font-size: 1.15rem;
  max-width: 700px;
  margin: 0 auto 36px auto;
}

/* 15. Form Elements & Inputs (Orange Ring focus) */
.contact-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 60px;
  align-items: start;
}

.contact-info h2 {
  font-size: 2.2rem;
  margin-bottom: 16px;
}

.contact-info p {
  font-size: 1.05rem;
  margin-bottom: 40px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-item {
  display: flex;
  gap: 20px;
  background-color: var(--bg-white);
  padding: 24px;
  border-radius: var(--border-radius-md);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
}

.contact-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: rgba(15, 66, 148, 0.15);
}

.contact-item-icon {
  width: 50px;
  height: 50px;
  border-radius: var(--border-radius-sm);
  background: rgba(15, 66, 148, 0.06);
  color: var(--primary-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: var(--transition-smooth);
}

.contact-item:hover .contact-item-icon {
  background: var(--primary-blue);
  color: #ffffff;
  transform: scale(1.05);
}

.contact-item-icon svg {
  width: 22px;
  height: 22px;
}

.contact-item-content h3 {
  font-size: 1.1rem;
  margin-bottom: 6px;
  color: var(--text-navy);
}

.contact-item-content p {
  font-size: 0.95rem;
  color: var(--text-slate);
  margin-bottom: 0;
}

.contact-map-card {
  border-radius: var(--border-radius-md);
  overflow: hidden;
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
  height: 250px;
  margin-top: 40px;
}

.contact-map-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
  border-color: rgba(15, 66, 148, 0.15);
}

.contact-form-container {
  background-color: var(--bg-white);
  border: 1px solid var(--glass-border);
  border-radius: var(--border-radius-lg);
  padding: 48px;
  box-shadow: var(--shadow-md);
  transition: var(--transition-smooth);
}

.contact-form-container:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(15, 66, 148, 0.15);
}

.contact-form-container h3 {
  font-size: 1.4rem;
  margin-bottom: 10px;
  color: var(--text-navy);
}

.contact-form-container p {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 30px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-navy);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.form-control {
  width: 100%;
  padding: 12px 18px;
  border-radius: var(--border-radius-sm);
  border: 1px solid var(--border-light);
  background-color: var(--bg-slate);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text-navy);
  transition: var(--transition-smooth);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-blue);
  background-color: var(--bg-white);
  box-shadow: 0 0 0 3px rgba(15, 66, 148, 0.08), 0 0 0 1px var(--primary-blue);
}

textarea.form-control {
  resize: vertical;
}

@media (max-width: 992px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .contact-form-container {
    padding: 30px;
  }
  .footer-top {
    grid-template-columns: 1.2fr 0.8fr 1fr;
  }
}

/* 16. Corporate Footer */
.footer {
  background-color: var(--bg-navy);
  color: rgba(255, 255, 255, 0.7);
  padding: 80px 0 30px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer h1, .footer h2, .footer h3, .footer h4 {
  color: var(--bg-white);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr 1.2fr;
  gap: 50px;
  margin-bottom: 50px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding-bottom: 50px;
}

.footer-logo {
  margin-bottom: 20px;
}

.footer-logo img,
#footerLogoImgID {
  height: 60px !important;
  width: auto !important;
  object-fit: contain;
  display: block;
}

.footer-col p {
  font-size: 0.95rem;
  line-height: 1.6;
  margin-top: 16px;
  margin-bottom: 24px;
}

.footer-col h3 {
  font-size: 1.15rem;
  margin-bottom: 20px;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a:hover {
  color: var(--bg-white);
  padding-left: 4px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 0.85rem;
}

.footer-bottom a:hover {
  color: var(--bg-white);
}

@media (max-width: 768px) {
  .footer-top {
    grid-template-columns: 1fr;
    gap: 35px;
  }
}

/* 17. Scroll-Reveal Dynamic Animations */
.reveal, .reveal-left, .reveal-right {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-left {
  transform: translateX(-30px);
}

.reveal-right {
  transform: translateX(30px);
}

.reveal.active, .reveal-left.active, .reveal-right.active {
  opacity: 1;
  transform: translate(0);
}

/* ==========================================================================
   HI5 Web & Digital Solutions - Corporate Footer & Floating Lead Gen Widgets
   ========================================================================== */

/* Footer Typography & Elements */
.footer-desc {
  color: rgba(255, 255, 255, 0.6) !important;
  font-size: 0.95rem;
  line-height: 1.7;
  margin-top: 16px;
  margin-bottom: 24px;
}

.footer-heading {
  font-size: 1.25rem;
  color: var(--bg-white);
  margin-bottom: 30px;
  position: relative;
  padding-bottom: 14px;
  letter-spacing: -0.5px;
}

.footer-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 35px;
  height: 3px;
  background-color: var(--accent-red);
  border-radius: 1.5px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-link {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.7);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: var(--transition-smooth);
}

.footer-link:hover {
  color: var(--bg-white);
  transform: translateX(6px);
}

.social-icons {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.social-icon {
  width: 38px;
  height: 38px;
  border-radius: var(--border-radius-sm);
  background-color: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.8);
  transition: var(--transition-smooth);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.85rem;
  font-weight: 700;
}

.social-icon:hover {
  background: var(--grad-red);
  color: var(--bg-white) !important;
  transform: translateY(-4px);
  box-shadow: var(--shadow-neon-red);
  border-color: transparent;
}

/* Footer Contact Details & SVGs */
.footer-contact-item {
  display: flex;
  gap: 14px;
  margin-bottom: 20px;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.7);
  align-items: flex-start;
}

.footer-contact-item svg {
  color: var(--accent-red);
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 4px;
}

.footer-contact-item a {
  color: rgba(255, 255, 255, 0.85);
  transition: var(--transition-smooth);
}

.footer-contact-item a:hover {
  color: var(--bg-white);
}

.footer-map-embed {
  border-radius: var(--border-radius-sm);
  overflow: hidden;
  height: 150px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 20px;
}

/* Footer Location Lists */
.footer-locations-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 15px;
}

.location-tag {
  font-size: 0.8rem;
  background-color: rgba(255, 255, 255, 0.03);
  color: rgba(255, 255, 255, 0.7);
  padding: 6px 14px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: var(--transition-smooth);
}

.location-tag:hover {
  background-color: var(--accent-red);
  color: var(--bg-white) !important;
  border-color: var(--accent-red);
  box-shadow: var(--shadow-neon-red);
}

/* 18. Floating Lead Gen Buttons */
.floating-actions {
  position: fixed;
  bottom: 30px;
  right: 30px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  z-index: 999;
}

.floating-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bg-white);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  cursor: pointer;
  position: relative;
  transition: var(--transition-smooth);
  border: none;
}

.floating-btn svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
}

.floating-btn:hover {
  transform: translateY(-5px) scale(1.08);
}

.btn-phone {
  background-color: #007bff;
  box-shadow: 0 10px 25px rgba(0, 123, 255, 0.3);
}

.btn-phone:hover {
  background-color: #0056b3;
}

.btn-whatsapp {
  background-color: #25D366;
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
  background-color: #20ba5a;
}

.btn-quote {
  background: var(--grad-red);
  box-shadow: 0 10px 25px rgba(227, 28, 65, 0.3);
}

.btn-quote:hover {
  box-shadow: var(--shadow-neon-red);
}

/* Floating Tooltips */
.tooltip {
  position: absolute;
  right: 65px;
  background-color: var(--text-navy);
  color: var(--bg-white);
  padding: 8px 16px;
  font-size: 0.8rem;
  font-weight: 700;
  border-radius: 6px;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-smooth);
  pointer-events: none;
  font-family: var(--font-heading);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow-md);
}

.floating-btn:hover .tooltip {
  opacity: 1;
  visibility: visible;
  right: 60px;
}

/* 19. Sticky Mobile Bottom CTA Bar */
.mobile-cta-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 60px;
  background-color: var(--text-navy);
  z-index: 999;
  grid-template-columns: 1fr 1fr;
  border-top: 3px solid var(--accent-red);
  box-shadow: 0 -10px 25px rgba(0, 0, 0, 0.15);
}

.mobile-cta-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--bg-white);
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  border-right: 1px solid rgba(255, 255, 255, 0.05);
  transition: var(--transition-smooth);
}

.mobile-cta-item:last-child {
  border-right: none;
}

.mobile-cta-item.bg-accent {
  background: var(--grad-red);
}

.mobile-cta-item svg {
  width: 20px;
  height: 20px;
}

@media (max-width: 768px) {
  .floating-actions {
    bottom: 80px;
    right: 20px;
  }
  
  .mobile-cta-bar {
    display: grid;
  }
}

/* ==========================================================================
   HI5 Web & Digital Solutions - Subpage Layouts & Services Details
   ========================================================================== */

/* Subpage Hero & Breadcrumbs */
.page-hero {
  background: var(--grad-hero-bg);
  padding: 160px 0 80px 0;
  color: #ffffff;
  text-align: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.page-hero h1 {
  font-size: 3.2rem;
  color: #ffffff;
  margin-bottom: 16px;
  letter-spacing: -1.5px;
  font-weight: 800;
  line-height: 1.2;
}

.page-hero p {
  color: #e2e8f0;
  font-size: 1.15rem;
  max-width: 650px;
  margin: 0 auto 24px auto;
  line-height: 1.7;
}

.breadcrumb {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.6);
  font-family: var(--font-heading);
}

.breadcrumb a {
  color: #ffffff;
  font-weight: 600;
  transition: var(--transition-smooth);
}

.breadcrumb a:hover {
  color: var(--accent-red);
}

.breadcrumb span {
  color: var(--accent-red);
  font-weight: 600;
}

/* Service Detail Rows (Alternate light theme subpages layout) */
.service-details-row {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 70px;
  align-items: center;
  margin-bottom: 100px;
}

.service-details-row:nth-child(even) {
  grid-template-columns: 1.1fr 1fr;
}

.service-details-row:last-child {
  margin-bottom: 0;
}

.service-details-image {
  background-color: var(--bg-white);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  border: 1px solid var(--glass-border);
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  position: relative;
  transition: var(--transition-smooth);
}

.service-details-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-details-image:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
}

.service-details-image:hover img {
  transform: scale(1.05);
}

.service-details-content h2 {
  font-size: 2.25rem;
  margin-bottom: 24px;
  position: relative;
  padding-bottom: 14px;
  letter-spacing: -1px;
  color: var(--text-navy);
}

.service-details-content h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background: var(--grad-primary);
  border-radius: 1.5px;
}

.service-details-content p {
  font-size: 1.05rem;
  color: var(--text-slate);
  margin-bottom: 30px;
  line-height: 1.7;
}

.service-features-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 40px;
}

.service-feature-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.98rem;
  color: var(--text-slate);
  font-weight: 500;
}

.service-feature-item svg {
  color: var(--accent-red);
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

@media (max-width: 992px) {
  .service-details-row, .service-details-row:nth-child(even) {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .page-hero h1 {
    font-size: 2.4rem;
  }
  
  .service-features-list {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   New Services Redesign & Homepage Hero Lead Form Extensions
   ========================================================================== */

/* 1. Hero Lead Form Card */
.hero-form-card {
  background: var(--bg-white);
  border: 1px solid var(--glass-border);
  border-radius: var(--border-radius-lg);
  padding: 30px;
  box-shadow: var(--shadow-lg);
  position: relative;
  z-index: 10;
  transition: var(--transition-smooth);
}

.hero-form-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}

.hero-form-card h3 {
  font-size: 1.5rem;
  color: var(--text-navy);
  margin-bottom: 20px;
  text-align: center;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.hero-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 20px;
}

@media (max-width: 576px) {
  .hero-form-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .hero-form-card {
    padding: 20px;
  }
  .hero-form-card h3 {
    font-size: 1.35rem;
  }
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: left;
}

.form-label {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-navy);
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.form-input, .form-select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: var(--border-radius-sm);
  background-color: var(--bg-slate);
  color: var(--text-navy);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  transition: var(--transition-smooth);
}

.form-input:focus, .form-select:focus {
  outline: none;
  border-color: var(--primary-blue);
  background-color: var(--bg-white);
  box-shadow: 0 0 0 3px rgba(12, 45, 117, 0.08);
}

.form-btn {
  width: 100%;
  border: none;
  background: var(--grad-primary);
  color: var(--bg-white);
  padding: 14px;
  font-size: 1rem;
  font-weight: 700;
  border-radius: var(--border-radius-sm);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-heading);
  transition: var(--transition-smooth);
  box-shadow: 0 4px 12px rgba(12, 45, 117, 0.15);
}

.form-btn:hover {
  background: var(--primary-blue-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(12, 45, 117, 0.25);
}

.form-btn svg {
  width: 18px;
  height: 18px;
  transition: var(--transition-smooth);
}

.form-btn:hover svg {
  transform: translateX(4px);
}

.form-secure-badge-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--border-light);
}

.secure-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-light);
}

.secure-badge svg {
  width: 14px;
  height: 14px;
  color: #10b981;
}

.form-google-rating {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--bg-white);
  border: 1px solid var(--glass-border);
  padding: 4px 12px;
  border-radius: 50px;
  box-shadow: var(--shadow-sm);
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--text-navy);
}

.form-google-rating span.stars {
  color: #fbbf24;
  font-size: 0.8rem;
  letter-spacing: -1px;
}

/* 2. Sticky Services Sub-Navigation */
.services-subnav {
  background-color: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--glass-border);
  position: sticky;
  top: 90px;
  z-index: 999;
  transition: var(--transition-smooth);
}

.header.scrolled + .page-hero + .services-subnav,
.header.scrolled ~ .services-subnav {
  top: 75px;
}

.subnav-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  overflow-x: auto;
  scrollbar-width: none;
}

.subnav-container::-webkit-scrollbar {
  display: none;
}

.subnav-link {
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-slate);
  padding: 8px 16px;
  border-radius: 50px;
  white-space: nowrap;
  border: 1px solid transparent;
  transition: var(--transition-smooth);
}

.subnav-link:hover, .subnav-link.active {
  color: var(--primary-blue);
  background-color: rgba(12, 45, 117, 0.05);
  border-color: rgba(12, 45, 117, 0.1);
}

@media (max-width: 992px) {
  .services-subnav {
    top: 70px;
  }
  .subnav-container {
    justify-content: flex-start;
    padding: 10px 20px;
  }
  .subnav-link {
    font-size: 0.82rem;
    padding: 6px 12px;
  }
}

/* 3. Service Detail Alignment Rules (Image top on mobile, alternating on desktop) */
@media (min-width: 993px) {
  .service-details-row:nth-child(even) .service-details-image {
    grid-column: 2;
  }
  .service-details-row:nth-child(even) .service-details-content {
    grid-column: 1;
    grid-row: 1;
  }
}

/* 4. Tech Stack Badges */
.tech-badge-container {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.tech-badge {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--primary-blue);
  background-color: rgba(12, 45, 117, 0.05);
  border: 1px solid rgba(12, 45, 117, 0.08);
  padding: 4px 10px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* 5. Process Section */
.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 40px;
}

.process-card {
  background: var(--bg-white);
  border: 1px solid var(--glass-border);
  border-radius: var(--border-radius-md);
  padding: 30px;
  box-shadow: var(--shadow-sm);
  position: relative;
  transition: var(--transition-smooth);
}

.process-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: rgba(12, 45, 117, 0.15);
}

.process-step-num {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 2.5rem;
  font-weight: 900;
  color: rgba(12, 45, 117, 0.06);
  line-height: 1;
  font-family: var(--font-heading);
  transition: var(--transition-smooth);
}

.process-card:hover .process-step-num {
  color: rgba(227, 28, 65, 0.08);
}

.process-icon-box {
  width: 50px;
  height: 50px;
  background-color: rgba(12, 45, 117, 0.05);
  border-radius: var(--border-radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--primary-blue);
  transition: var(--transition-smooth);
}

.process-card:hover .process-icon-box {
  background-color: var(--primary-blue);
  color: var(--bg-white);
}

.process-icon-box svg {
  width: 24px;
  height: 24px;
}

.process-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-navy);
  margin-bottom: 12px;
}

.process-card p {
  font-size: 0.92rem;
  color: var(--text-slate);
  line-height: 1.6;
}

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

@media (max-width: 768px) {
  .process-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* 6. Services FAQ Accordion */
.faq-accordion {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.accordion-item {
  background-color: var(--bg-white);
  border: 1px solid var(--glass-border);
  border-radius: var(--border-radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
}

.accordion-item:hover {
  border-color: rgba(12, 45, 117, 0.15);
  box-shadow: var(--shadow-md);
}

.accordion-header {
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  user-select: none;
  background-color: var(--bg-white);
  transition: var(--transition-smooth);
}

.accordion-header h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-navy);
  margin: 0;
  font-family: var(--font-heading);
}

.accordion-icon {
  width: 20px;
  height: 20px;
  color: var(--primary-blue);
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.accordion-item.active .accordion-icon {
  transform: rotate(180deg);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), padding 0.4s ease;
  padding: 0 24px;
}

.accordion-item.active .accordion-content {
  max-height: 500px;
  padding: 0 24px 20px 24px;
  border-top: 1px solid var(--border-light);
}

.accordion-content p {
  font-size: 0.95rem;
  color: var(--text-slate);
  line-height: 1.6;
  margin: 0;
}

/* ==========================================================================
   7. About Page Redesign Custom Styles (Timeline & Team Profiles)
   ========================================================================== */

/* Timeline Container & Layout */
.timeline-section {
  position: relative;
  background-color: var(--bg-slate);
}

.timeline-container {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
  padding: 40px 0;
}

/* Vertical track line */
.timeline-track {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(to bottom, var(--primary-blue) 0%, var(--accent-red) 50%, var(--primary-blue) 100%);
  transform: translateX(-50%);
  border-radius: 2px;
}

.timeline-item {
  position: relative;
  width: 50%;
  padding: 20px 40px;
  box-sizing: border-box;
}

/* Alternate timeline items (Left vs Right) */
.timeline-item.left {
  left: 0;
  text-align: right;
}

.timeline-item.right {
  left: 50%;
  text-align: left;
}

/* Timeline center Node dot */
.timeline-node {
  position: absolute;
  top: 50%;
  width: 20px;
  height: 20px;
  background-color: var(--bg-white);
  border: 4px solid var(--primary-blue);
  border-radius: 50%;
  z-index: 10;
  transform: translate(-50%, -50%);
  transition: var(--transition-smooth);
}

.timeline-item.left .timeline-node {
  left: 100%;
}

.timeline-item.right .timeline-node {
  left: 0;
}

/* Content box / Card */
.timeline-content {
  background-color: var(--bg-white);
  padding: 24px 30px;
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--glass-border);
  position: relative;
  transition: var(--transition-smooth);
}

.timeline-content:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(12, 45, 117, 0.15);
}

/* Connectors */
.timeline-content::before {
  content: '';
  position: absolute;
  top: calc(50% - 10px);
  width: 0;
  height: 0;
  border-style: solid;
}

.timeline-item.left .timeline-content::before {
  right: -10px;
  border-width: 10px 0 10px 10px;
  border-color: transparent transparent transparent var(--bg-white);
}

.timeline-item.right .timeline-content::before {
  left: -10px;
  border-width: 10px 10px 10px 0;
  border-color: transparent var(--bg-white) transparent transparent;
}

/* Hover effects */
.timeline-item:hover .timeline-node {
  background-color: var(--accent-red);
  border-color: var(--accent-red);
  box-shadow: 0 0 12px rgba(227, 28, 65, 0.5);
  transform: translate(-50%, -50%) scale(1.2);
}

/* Content text details */
.timeline-year {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--accent-red);
  margin-bottom: 8px;
}

.timeline-content h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-navy);
  margin-bottom: 10px;
}

.timeline-content p {
  font-size: 0.92rem;
  color: var(--text-slate);
  line-height: 1.6;
}

/* Responsive timeline for mobile (under 768px) */
@media (max-width: 768px) {
  .timeline-track {
    left: 20px;
  }
  
  .timeline-item {
    width: 100%;
    padding-left: 45px;
    padding-right: 0;
    text-align: left !important;
  }
  
  .timeline-item.left {
    left: 0;
  }
  
  .timeline-item.right {
    left: 0;
  }
  
  .timeline-item.left .timeline-node,
  .timeline-item.right .timeline-node {
    left: 20px;
  }
  
  .timeline-item.left .timeline-content::before,
  .timeline-item.right .timeline-content::before {
    left: -10px;
    border-width: 10px 10px 10px 0;
    border-color: transparent var(--bg-white) transparent transparent;
  }
}

/* Team Grid & Cards styling */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 40px;
}

.team-card {
  background-color: var(--bg-white);
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--glass-border);
  transition: var(--transition-smooth);
}

.team-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(12, 45, 117, 0.15);
}

.team-img-holder {
  position: relative;
  height: 280px;
  background-color: var(--bg-slate-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.team-img-holder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.team-card:hover .team-img-holder img {
  transform: scale(1.08);
}

.team-socials-overlay {
  position: absolute;
  bottom: -50px;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 12px;
  padding: 16px;
  background: linear-gradient(to top, rgba(12, 45, 117, 0.9) 0%, rgba(12, 45, 117, 0) 100%);
  transition: var(--transition-smooth);
  opacity: 0;
}

.team-card:hover .team-socials-overlay {
  bottom: 0;
  opacity: 1;
}

.team-social-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: var(--bg-white);
  color: var(--primary-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
}

.team-social-icon:hover {
  background-color: var(--accent-red);
  color: var(--bg-white);
  transform: scale(1.1);
}

.team-info {
  padding: 24px;
  text-align: center;
}

.team-info h3 {
  font-size: 1.25rem;
  color: var(--text-navy);
  margin-bottom: 4px;
}

.team-role {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent-red);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.team-bio {
  font-size: 0.9rem;
  color: var(--text-slate);
  line-height: 1.5;
}

/* Symmetrical Quality Guarantees Checklist grid */
.guarantees-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 40px;
}

.guarantee-card {
  background-color: var(--bg-white);
  padding: 30px;
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--glass-border);
  transition: var(--transition-smooth);
}

.guarantee-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: rgba(12, 45, 117, 0.12);
}

.guarantee-icon {
  width: 55px;
  height: 55px;
  border-radius: var(--border-radius-sm);
  background-color: rgba(12, 45, 117, 0.05);
  color: var(--primary-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: var(--transition-smooth);
}

.guarantee-card:hover .guarantee-icon {
  background-color: var(--accent-red);
  color: var(--bg-white);
}

.guarantee-card h3 {
  font-size: 1.15rem;
  color: var(--text-navy);
  margin-bottom: 12px;
}

.guarantee-card p {
  font-size: 0.92rem;
  color: var(--text-slate);
  line-height: 1.6;
}

@media (max-width: 992px) {
  .team-grid, .guarantees-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .team-grid, .guarantees-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* ==========================================================================
   8. Packages Page Custom Styles (Pricing Tables & Comparisons)
   ========================================================================== */

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-top: 40px;
}

.pricing-card {
  background-color: var(--bg-white);
  border-radius: var(--border-radius-md);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  padding: 35px 30px;
  position: relative;
  transition: var(--transition-smooth);
}

.pricing-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(10, 102, 255, 0.2);
}

/* Featured / Popular card styling */
.pricing-card.featured {
  border: 2px solid var(--accent-red);
  box-shadow: var(--shadow-lg), 0 0 25px rgba(227, 28, 65, 0.08);
}

.pricing-badge {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--grad-red);
  color: var(--bg-white);
  padding: 6px 16px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 20px;
  box-shadow: 0 4px 10px rgba(227, 28, 65, 0.2);
}

.pricing-plan-title {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text-navy);
  margin-bottom: 10px;
  text-align: center;
}

.pricing-plan-desc {
  font-size: 0.88rem;
  color: var(--text-slate);
  text-align: center;
  margin-bottom: 25px;
  line-height: 1.5;
  min-height: 45px;
}

.pricing-price-box {
  display: flex;
  align-items: baseline;
  justify-content: center;
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-light);
}

.pricing-currency {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-navy);
  margin-right: 2px;
}

.pricing-amount {
  font-size: 2.8rem;
  font-weight: 900;
  color: var(--text-navy);
  font-family: var(--font-heading);
}

.pricing-cycle {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-left: 5px;
}

.pricing-features-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 35px;
  flex-grow: 1;
}

.pricing-feature-item {
  display: flex;
  align-items: flex-start;
  font-size: 0.9rem;
  color: var(--text-slate);
  line-height: 1.4;
}

.pricing-feature-item svg {
  width: 16px;
  height: 16px;
  color: var(--accent-red);
  margin-right: 10px;
  flex-shrink: 0;
  margin-top: 2px;
}

.pricing-feature-item.disabled {
  color: var(--text-light);
  text-decoration: line-through;
  opacity: 0.6;
}

.pricing-feature-item.disabled svg {
  color: var(--text-light);
}

.pricing-btn {
  width: 100%;
  text-align: center;
  padding: 14px 20px;
  border-radius: var(--border-radius-sm);
  font-weight: 700;
  font-size: 0.95rem;
  transition: var(--transition-smooth);
}

/* Comparison Table Styling */
.comparison-section {
  background-color: var(--bg-slate);
}

.comparison-wrapper {
  overflow-x: auto;
  margin-top: 40px;
  border-radius: var(--border-radius-md);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-sm);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  background-color: var(--bg-white);
  text-align: left;
  min-width: 800px;
}

.comparison-table th, .comparison-table td {
  padding: 20px 24px;
  border-bottom: 1px solid var(--border-light);
  font-size: 0.92rem;
}

.comparison-table th {
  background-color: var(--bg-slate-dark);
  color: var(--text-navy);
  font-weight: 700;
  font-family: var(--font-heading);
}

.comparison-table td:first-child {
  font-weight: 600;
  color: var(--text-navy);
}

.comparison-table td {
  color: var(--text-slate);
}

.comparison-table tr:last-child td {
  border-bottom: none;
}

.comparison-check {
  color: var(--accent-red);
  font-weight: 700;
}

.comparison-dash {
  color: var(--text-light);
  opacity: 0.5;
}

/* Responsive Overrides */
@media (max-width: 1200px) {
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .pricing-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  
  .pricing-card {
    padding: 30px 25px;
  }
}

/* ==========================================================================
   HI5 Web & Digital Solutions - Services Page Overhaul Styles
   ========================================================================== */

/* 1. Services Details Section & Card-Based Rows */
.services-details-section {
  background-color: var(--bg-slate);
  padding: 100px 0;
}

.services-details-section .service-details-row {
  background-color: var(--bg-white);
  border-radius: var(--border-radius-lg);
  padding: 60px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--glass-border);
  margin-bottom: 50px;
  transition: var(--transition-smooth);
}

.services-details-section .service-details-row:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(12, 45, 117, 0.15);
}

/* 2. Color-Coded Ambient Glows behind Images */
.service-details-image {
  position: relative;
  z-index: 1;
}

.service-details-image::before {
  content: '';
  position: absolute;
  top: 10%;
  left: 10%;
  width: 80%;
  height: 80%;
  border-radius: var(--border-radius-lg);
  filter: blur(35px);
  opacity: 0.12;
  z-index: -1;
  transition: var(--transition-smooth);
}

/* Primary Blue Glow for Odd Rows */
#website-design .service-details-image::before,
#web-apps .service-details-image::before,
#digital-marketing .service-details-image::before {
  background: var(--primary-blue);
}

/* Accent Red Glow for Even Rows */
#ecommerce .service-details-image::before,
#branding .service-details-image::before,
#whatsapp-automation .service-details-image::before {
  background: var(--accent-red);
}

/* Hover effect on the image glow */
.service-details-row:hover .service-details-image::before {
  opacity: 0.25;
  filter: blur(45px);
  transform: scale(1.06);
}

/* 3. Global Outline Brand Button */
.btn-outline-brand {
  background-color: transparent;
  color: var(--primary-blue);
  border: 2px solid var(--primary-blue);
  box-shadow: none;
}

.btn-outline-brand:hover {
  background-color: var(--primary-blue);
  color: var(--bg-white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(15, 66, 148, 0.2);
}

/* 4. Tech Stack Badges Interactive Elevate */
.tech-badge {
  transition: var(--transition-smooth);
  cursor: default;
}

.tech-badge:hover {
  background-color: var(--primary-blue);
  color: var(--bg-white);
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(15, 66, 148, 0.15);
  border-color: var(--primary-blue);
}

/* 5. Features List Checkmark Badges & Interaction */
.service-feature-item {
  transition: var(--transition-smooth);
}

.service-details-row:hover .service-feature-item:hover {
  transform: translateX(6px);
  color: var(--text-navy);
}

.service-feature-item svg {
  background-color: rgba(227, 28, 35, 0.06);
  border-radius: 50%;
  padding: 4px;
  width: 24px;
  height: 24px;
  transition: var(--transition-smooth);
}

.service-feature-item:hover svg {
  background-color: var(--accent-red);
  color: var(--bg-white);
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(227, 28, 35, 0.3);
}

/* 6. Dark Theme Glassmorphism for Process Cards */
.dark-section .process-card {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 8px 32px rgba(8, 30, 75, 0.25);
  backdrop-filter: blur(8px);
}

.dark-section .process-card:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: 0 12px 40px rgba(8, 30, 75, 0.45);
  transform: translateY(-5px);
}

.dark-section .process-card h3 {
  color: #ffffff;
}

.dark-section .process-card p {
  color: #cbd5e1; /* slate-300: high legibility on dark surfaces */
}

.dark-section .process-step-num {
  color: rgba(255, 255, 255, 0.04);
}

.dark-section .process-card:hover .process-step-num {
  color: rgba(255, 255, 255, 0.08);
}

.dark-section .process-icon-box {
  background-color: rgba(255, 255, 255, 0.06);
  color: #ffffff;
}

.dark-section .process-card:hover .process-icon-box {
  background-color: var(--accent-red);
  color: #ffffff;
  box-shadow: 0 6px 20px rgba(227, 28, 35, 0.35);
}

/* 7. FAQ Accordion Active Borders */
.accordion-item.active {
  border-left: 4px solid var(--primary-blue);
  box-shadow: var(--shadow-md);
}

/* Alternate FAQ active border colors */
.accordion-item.active:nth-child(even) {
  border-left-color: var(--accent-red);
}

/* 8. Mobile Responsiveness Optimization */
@media (max-width: 992px) {
  .services-details-section .service-details-row {
    padding: 40px 30px;
    margin-bottom: 40px;
  }
}

@media (max-width: 768px) {
  .services-details-section {
    padding: 60px 0;
  }
  
  .services-details-section .service-details-row {
    padding: 30px 20px;
    margin-bottom: 30px;
  }
  
  .service-details-image::before {
    top: 5%;
    left: 5%;
    width: 90%;
    height: 90%;
    filter: blur(25px);
  }
}

/* ==========================================================================
   HI5 Web & Digital Solutions - Homepage Audit Upgrades
   ========================================================================== */

/* 1. Always-Visible Desktop Pills for Floating Actions */
@media (min-width: 769px) {
  .floating-actions {
    align-items: flex-end;
    gap: 12px;
  }

  .floating-btn {
    width: auto !important;
    height: 48px !important;
    border-radius: 24px !important;
    padding: 0 20px !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 10px !important;
    flex-direction: row !important;
  }

  .floating-btn:hover {
    transform: translateY(-5px) !important; /* Only lift, no scale */
  }

  .floating-btn svg {
    margin-right: 0 !important;
  }

  .floating-btn .tooltip {
    position: static !important;
    opacity: 1 !important;
    visibility: visible !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    color: inherit !important;
    padding: 0 !important;
    font-size: 0.88rem !important;
    pointer-events: auto !important;
    transform: none !important;
    margin: 0 !important;
    line-height: 1 !important;
  }
}

/* 2. Trust & Client Logos Banner Section */
.trust-banner-section {
  background: var(--bg-white);
  border-bottom: 1px solid var(--border-light);
  padding: 50px 0;
  position: relative;
  z-index: 10;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  text-align: center;
  margin-bottom: 45px;
}

.stat-item {
  padding: 10px;
  transition: var(--transition-smooth);
}

.stat-item:hover {
  transform: translateY(-3px);
}

.stat-item h3 {
  font-size: 2.75rem;
  font-weight: 800;
  margin-bottom: 8px;
  font-family: var(--font-heading);
  letter-spacing: -1px;
}

.stat-item:nth-child(odd) h3 {
  color: var(--primary-blue);
  text-shadow: 0 4px 10px rgba(15, 66, 148, 0.05);
}

.stat-item:nth-child(even) h3 {
  color: var(--accent-red);
  text-shadow: 0 4px 10px rgba(227, 28, 35, 0.05);
}

.stat-item p {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-slate);
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.logo-marquee-wrapper {
  border-top: 1px solid var(--border-light);
  padding-top: 35px;
  text-align: center;
}

.logo-marquee-title {
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 30px;
}

.logo-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.client-logo-item {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-navy);
  letter-spacing: -0.5px;
  display: flex;
  align-items: center;
  gap: 8px;
  opacity: 0.75;
  transition: var(--transition-smooth);
  cursor: default;
  background: var(--bg-slate);
  padding: 8px 18px;
  border-radius: 50px;
  border: 1px solid var(--glass-border);
}

.client-logo-item:hover {
  opacity: 1;
  transform: scale(1.05);
  border-color: rgba(15, 66, 148, 0.15);
  box-shadow: var(--shadow-sm);
}

/* 3. Case Studies Grid Section */
.case-studies-section {
  background-color: var(--bg-slate);
  padding: 100px 0;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.case-studies-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 40px;
}

.case-study-card {
  background-color: var(--bg-white);
  border-radius: var(--border-radius-lg);
  padding: 40px;
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-md);
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
}

.case-study-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(15, 66, 148, 0.15);
}

.case-study-tag {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  padding: 5px 12px;
  border-radius: 4px;
  margin-bottom: 20px;
  font-family: var(--font-heading);
}

.case-study-card:nth-child(1) .case-study-tag,
.case-study-card:nth-child(3) .case-study-tag {
  background-color: rgba(15, 66, 148, 0.06);
  color: var(--primary-blue);
}

.case-study-card:nth-child(2) .case-study-tag {
  background-color: rgba(227, 28, 35, 0.06);
  color: var(--accent-red);
}

.case-study-card h3 {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-navy);
  margin-bottom: 15px;
  line-height: 1.3;
}

.case-study-card p {
  font-size: 0.95rem;
  color: var(--text-slate);
  margin-bottom: 25px;
  line-height: 1.6;
}

.case-study-metrics {
  margin-top: auto;
  border-top: 1px solid var(--border-light);
  padding-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.metric-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
}

.metric-label {
  font-weight: 600;
  color: var(--text-light);
}

.metric-value {
  font-family: var(--font-heading);
  font-weight: 800;
  color: var(--text-navy);
  font-size: 0.95rem;
}

.metric-value.highlight-red {
  color: var(--accent-red);
}

.metric-value.highlight-blue {
  color: var(--primary-blue);
}

@media (max-width: 992px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }
  
  .logo-grid {
    gap: 25px;
  }

  .case-studies-grid {
    grid-template-columns: 1fr 1fr;
    gap: 25px;
  }
}

@media (max-width: 768px) {
  .case-studies-section {
    padding: 80px 0;
  }
  
  .case-studies-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .case-study-card {
    padding: 30px;
  }
}

@media (max-width: 576px) {
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .stat-item h3 {
    font-size: 2.25rem;
  }
}

/* ==========================================================================
   HI5 Web & Digital Solutions - Blog Listings & Article Styles
   ========================================================================== */

/* Blog listings (Light Theme Redesign) */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 36px;
}

.blog-card {
  background-color: var(--bg-white);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--glass-border);
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: var(--transition-smooth);
}

.blog-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(15, 66, 148, 0.25);
}

.blog-card-img {
  aspect-ratio: 16/10;
  background-color: var(--bg-slate);
  overflow: hidden;
  position: relative;
}

.blog-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.blog-card:hover .blog-card-img img {
  transform: scale(1.04);
}

.blog-card-content {
  padding: 36px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.blog-meta-date {
  font-size: 0.8rem;
  color: var(--accent-red);
  font-weight: 800;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.blog-card-content h2 {
  font-size: 1.4rem;
  margin-bottom: 18px;
  line-height: 1.4;
  letter-spacing: -0.5px;
  color: var(--text-navy);
}

.blog-card-content p {
  font-size: 0.98rem;
  margin-bottom: 30px;
  line-height: 1.6;
  flex-grow: 1;
  color: var(--text-slate);
}

.blog-read-btn {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--primary-blue);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.blog-card:hover .blog-read-btn {
  color: var(--accent-red);
}

.blog-read-btn svg {
  width: 18px;
  height: 18px;
  transition: var(--transition-smooth);
}

.blog-card:hover .blog-read-btn svg {
  transform: translateX(6px);
}

/* Single Blog Post Content (Light Theme Redesign) */
.blog-post-container {
  max-width: 850px;
  margin: 0 auto;
  padding: 100px 24px;
}

.blog-post-header {
  margin-bottom: 50px;
  text-align: center;
}

.blog-post-header h1 {
  font-size: 3.25rem;
  margin-bottom: 24px;
  color: var(--text-navy);
  letter-spacing: -1.5px;
}

.blog-post-meta {
  display: flex;
  justify-content: center;
  gap: 24px;
  font-size: 0.95rem;
  color: var(--text-light);
}

.blog-post-meta span {
  color: var(--accent-red);
  font-weight: 700;
}

.blog-post-image {
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  margin-bottom: 50px;
  border: 1px solid var(--glass-border);
  aspect-ratio: 16/9;
  background-color: var(--bg-slate);
  box-shadow: var(--shadow-sm);
}

.blog-post-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-post-content {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-slate);
}

.blog-post-content p {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 28px;
}

.blog-post-content h2 {
  font-size: 2rem;
  margin-top: 50px;
  margin-bottom: 24px;
  letter-spacing: -1px;
  color: var(--text-navy);
}

.blog-post-content h3 {
  font-size: 1.5rem;
  margin-top: 40px;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
  color: var(--text-navy);
}

.blog-post-content ul, .blog-post-content ol {
  margin-bottom: 30px;
  padding-left: 24px;
}

.blog-post-content li {
  margin-bottom: 12px;
  color: var(--text-slate);
}

.blog-post-content a {
  color: var(--primary-blue);
  text-decoration: underline;
  font-weight: 600;
}

.blog-post-content a:hover {
  color: var(--accent-red);
}

.blog-post-content blockquote {
  border-left: 4px solid var(--accent-red);
  padding: 10px 0 10px 24px;
  font-style: italic;
  margin: 40px 0;
  color: var(--text-slate);
  font-size: 1.2rem;
  background-color: var(--bg-slate);
  border-radius: 0 var(--border-radius-sm) var(--border-radius-sm) 0;
}

.blog-post-footer {
  margin-top: 70px;
  padding-top: 40px;
  border-top: 1px solid var(--glass-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}

.blog-share {
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: var(--font-heading);
}

.blog-share span {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-navy);
}
