:root {
  --primary-color: #ff8f0f;
  /* Your main brand color (orange) */
  --primary-hover: #dd7601;
  /* Slightly darker for hover */

  --bg-wht-color: #e9e9e9;
  /* Main light background */
  --bg-blk-color: #1f1f1f;
  /* Main light background */
  --section-bg: #f5f5f5;
  /* Slightly darker section background (subtle grey) */
  --card-bg: #ffffff;
  /* Card or container background (clean white) */

  --text-wht-bg-color: #333333;
  /* Darker text for readability on light backgrounds */
  --text-blk-bg-color: #e9e9e9;
  /* Lighter text for readability on Dark backgrounds */
  --para-color: #555555;
  /* Slightly lighter paragraph / secondary text */

  --accent-color: #0078ff;
  /* Accent color (e.g., links - can remain blue for contrast) */
  --accent-hover: #005ec2;
  /* Accent hover */

  --border-color: #e0e0e0;
  /* For dividers, borders (light grey) */


  --header-height: 80px;
  /* Header height (can remain the same) */
  --transition: all 0.3s ease;
  /* Standard transition */
}

/* Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html.lenis,
html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}

.lenis.lenis-stopped {
  overflow: hidden;
}

.lenis.lenis-smooth iframe {
  pointer-events: none;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: var(--bg-color);
  color: var(--text-color);
  line-height: 1.6;
  overflow-x: hidden;
}

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

ul {
  list-style: none;
}

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

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Button Styles */
.btn-primary,
.btn-secondary {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 4px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: var(--transition);
  cursor: pointer;
}

.btn-primary {
  background-color: var(--primary-color);
  color: var(--text-blk-bg-color);
  border: none;
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  transform: translateY(-2px);
  /* box-shadow: 0 5px 15px rgba(231, 123, 0, 0.3); */
}

/* Header & Navbar Styles */
.header {
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;

  /* Base state: compact pill */
  width: min(980px, calc(100% - 32px));
  padding: 10px 24px;
  border-radius: 999px;

  background: rgba(18, 18, 22, 0.78);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35), 0 2px 6px rgba(255, 255, 255, 0.06) inset;

  /* Fast, responsive cubic-bezier easing */
  transition: top 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              width 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              padding 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              background 0.35s ease,
              border-color 0.35s ease,
              box-shadow 0.35s ease;
  will-change: width, padding;
}

.header.scrolled {
  /* Dynamic expansion */
  width: min(1150px, calc(100% - 24px));
  padding: 6px 20px;
  
  /* Deeper dark glass tone for elevated readibility over page elements */
  background: rgb(14 14 18 / 62%);
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.55), 
              0 1px 2px rgba(255, 255, 255, 0.08) inset;
  top:8px;
}

.header.scrolled .logo a {
  transform: scale(0.85);
}

.header.scrolled .nav-cta a.btn-primary {
  transform: scale(0.88);
}

body.no-scroll {
  overflow: hidden;
}

.navbar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  width: 100%;
}
.logo {
  display: flex;
  align-items: center;
}
.logo a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 700;
  color: var(--text-blk-bg-color);
  transform-origin: left center;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.logo a img {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  object-fit: contain;
}

.nav-menu {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
}

.nav-item {
  margin: 0;
}

.nav-link {
  position: relative;
  font-size: 15px;
  font-weight: 600;
  padding: 8px 12px;
  color: #ffffff;
  border-radius: 999px;
  transition: color 0.25s ease, opacity 0.25s ease;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 4px;
  border-radius: 6px;
  background: radial-gradient(closest-side, var(--primary-color), rgba(255, 143, 15, 0));
  transition: width 0.25s ease;
}

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

.nav-link:hover,
.nav-link.active {
  color: var(--primary-color);
  text-shadow: 0 0 12px rgba(255, 143, 15, 0.35);
}
.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  cursor: pointer;
  border-radius: 10px;
  align-items: center;
  justify-content: center;
}

.nav-toggle:hover {
  background: transparent;
  border-color: transparent;
  transform: none;
}

.nav-toggle i {
  font-size: 22px;
  color: var(--primary-color);
  transition: var(--transition);
}

.nav-toggle.active i {
  transform: rotate(0deg);
}

.nav-toggle:hover i {
  color: var(--primary-hover);
}

/* ================================== */
/* == HERO SECTION WITH SLIDER     == */
/* == WITH BACKGROUND IMAGES        == */
/* ================================== */

.hero-section {
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;

  /* Fallback background */
  background-color: var(--bg-blk-color);

  /* Your variable for the header height */
  padding-top: var(--header-height);
  padding-bottom: 40px;
}

/* Background Image Slides */
.slide-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1.2s ease-in-out, visibility 1.2s ease-in-out;
  z-index: 1;
}

.slide-background.active {
  opacity: 1;
  visibility: visible;
}

.slide-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  animation: kenburns 20s ease-in-out infinite alternate;
}

/* Ken Burns zoom effect for images */
@keyframes kenburns {
  0% {
    transform: scale(1);
  }

  100% {
    transform: scale(1.1);
  }
}

/* Dark overlay for better text readability */
.slide-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg,
      rgba(31, 31, 31, 0.85) 0%,
      rgba(31, 31, 31, 0.6) 50%,
      rgba(31, 31, 31, 0.75) 100%);
  z-index: 2;
}

/* Content wrapper to keep text above background */
.slide-content-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  z-index: 10;
}

/* Slide Text Styles */
.slide-text {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s ease-in-out, visibility 0.8s ease-in-out;
  z-index: 10;
}

.slide-text.active {
  opacity: 1;
  visibility: visible;
}

.slide-text .container {
  position: relative;
  z-index: 10;
  max-width: 1200px;
  padding: 0 20px;
  text-align: left;
}

.hero-content {
  max-width: 700px;
}

.slide-text.active .hero-content h1 {
  animation: slideInUp 0.8s ease-out;
}

.slide-text.active .hero-content p {
  animation: slideInUp 0.8s ease-out 0.2s backwards;
}

.slide-text.active .hero-buttons {
  animation: slideInUp 0.8s ease-out 0.4s backwards;
}

.hero-section h1 {
  /* Fluid typography (scales from 2.5rem to 4rem) */
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 700;

  /* White text for contrast against images */
  color: #ffffff;

  line-height: 1.2;
  margin-bottom: 24px;
  text-shadow: 0 4px 15px rgba(0, 0, 0, 0.8), 0 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-section p {
  font-size: clamp(1rem, 2.5vw, 1.3rem);

  /* White text with slight transparency */
  color: #ffffff;
  opacity: 0.95;

  margin-bottom: 40px;
  max-width: 650px;
  line-height: 1.7;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8), 0 1px 3px rgba(0, 0, 0, 0.5);
}

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

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Shared Button Styles */
.hero-buttons a {
  padding: 14px 32px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 8px;
  border: 2px solid transparent;
  text-decoration: none;
  display: inline-block;
  transition: var(--transition);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Primary Button (Orange) */
.hero-section .btn-primary {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  color: #ffffff;
  /* box-shadow: 0 4px 20px rgba(255, 143, 15, 0.4); */
}

.hero-section .btn-primary:hover {
  background-color: var(--primary-hover);
  border-color: var(--primary-hover);
  /* box-shadow: 0 6px 30px rgba(255, 143, 15, 0.6); */
  transform: translateY(-3px);
}

/* Secondary Button (Ghost) */
.hero-section .btn-secondary {
  background-color: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(10px);
  box-shadow: none;
}

.hero-section .btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.8);
  transform: translateY(-3px);
  box-shadow: 0 4px 20px rgba(255, 255, 255, 0.2);
}

/* Slider Navigation Dots */
.slider-nav {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 20;
}

.slider-nav .dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.4);
  border: 2px solid rgba(255, 255, 255, 0.6);
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
  outline: none;
}

.slider-nav .dot:hover {
  background-color: rgba(255, 255, 255, 0.7);
  transform: scale(1.2);
}

.slider-nav .dot.active {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  width: 40px;
  border-radius: 6px;
  box-shadow: 0 0 15px rgba(255, 143, 15, 0.8);
}

/* Fallback gradient for browsers not loading images */
.slide-background::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #1f1f1f 0%, #2d2d2d 100%);
  z-index: 0;
}


/* ================================== */
/* == RESPONSIVE STYLES            == */
/* ================================== */

@media screen and (max-width: 1024px) {
  .hero-content {
    max-width: 600px;
  }

  .slide-image {
    background-position: center center;
  }
}

@media screen and (max-width: 768px) {
  .header {
    width: calc(100% - 32px) !important;
    max-width: 100% !important;
    padding: 8px 18px !important;
  }

  .header.scrolled {
    width: calc(100% - 24px) !important;
    padding: 6px 14px !important;
  }

  /* Reset container if one wraps .navbar */
  .header .container {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  /* Force .navbar to be full width flexbox with space-between */
  .header .navbar {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    width: 100% !important;
    gap: 0 !important;
  }

  /* Pin logo to left, remove top margin offset */
  .header .logo,
  .header .logo a {
    margin: 0 !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    transform: none !important;
  }

  /* Explicitly hide desktop navigation items */
  .header .nav-menu:not(.active),
  .header .nav-cta {
    display: none !important;
  }

  /* Pin hamburger toggle cleanly to the far right */
  .header .nav-toggle {
    display: flex !important;
    margin-left: auto !important;
    transform: none !important;
  }
  .hero-section {
    text-align: center;
    min-height: 520px;
    padding-top: 140px;
    /* extra room for floating header */
    padding-bottom: 100px;
  }

  .slide-text .container {
    text-align: center;
  }

  .hero-content {
    max-width: 100%;
    margin: 0 auto;
  }

  .hero-section h1 {
    font-size: clamp(1.8rem, 5vw, 2.5rem);
  }

  .hero-section p {
    font-size: clamp(0.9rem, 2vw, 1.1rem);
    margin-left: auto;
    margin-right: auto;
  }

  .hero-buttons {
    justify-content: center;
  }

  .slider-nav {
    bottom: 30px;
    gap: 10px;
  }

  .slider-nav .dot {
    width: 10px;
    height: 10px;
  }

  .slider-nav .dot.active {
    width: 35px;
  }

  /* Adjust image position for mobile */
  .slide-image {
    background-position: center center;
    animation: none;
    /* Disable zoom on mobile for performance */
  }

  /* Stronger overlay on mobile for better readability */
  .slide-overlay {
    background: linear-gradient(135deg,
        rgba(31, 31, 31, 0.88) 0%,
        rgba(31, 31, 31, 0.75) 50%,
        rgba(31, 31, 31, 0.85) 100%);
  }
}

@media screen and (max-width: 480px) {

  /* Balanced Glass mobile header */
  .header {
    top: 12px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: calc(100% - 32px) !important;
    max-width: 720px !important;
    /* padding: 10px 20px !important; */
    /* internal spacing */
    background: rgba(10, 10, 10, 0.85) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 50px !important;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35) !important;
  }

  .navbar {
    display: flex;
    justify-content: space-between;
    /* logo left, toggle right */
    align-items: center;
    gap: 12px;
  }

  .nav-menu {
    display: none;
  }

  .nav-toggle {
    display: flex;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
  }

  .nav-menu.active {
    position: fixed;
    top: 80px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 32px);
    max-width: 640px;
    padding: 16px;
    border-radius: 20px;
    background: rgba(20, 20, 20, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
    display: flex;
    flex-direction: column;
    gap: 8px;
    z-index: 9999;
  }


  .slider-nav .dot {
    width: 8px;
    height: 8px;
  }

  .slider-nav .dot.active {
    width: 28px;
  }

  /* Even stronger overlay on small screens */
  .slide-overlay {
    background: rgba(31, 31, 31, 0.9);
  }

  /* Fit modal menu on very small widths */
  .nav-menu.active {
    top: 64px;
    width: calc(100% - 16px);
    padding: 10px;
    border-radius: 14px;
  }
}

/* Apply the balanced glass header up to tablet widths */
@media screen and (max-width: 992px) {
  .header {
    top: 12px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: calc(100% - 32px) !important;
    max-width: 900px !important;
    /* padding: 10px 20px !important; */
    background: rgba(10, 10, 10, 0.85) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 50px !important;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35) !important;
  }

  .navbar {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    gap: 12px !important;
  }
}

/* High-resolution displays */
@media screen and (min-width: 1920px) {
  .hero-content {
    max-width: 800px;
  }

  .hero-section h1 {
    font-size: 4.5rem;
  }

  .hero-section p {
    font-size: 1.4rem;
  }
}

/* ===== Header CTA & Mobile Overrides (Floating Glass Navbar) ===== */
.nav-cta {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}
.nav-cta a.btn-primary {
  padding: 10px 22px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-hover));
  color: #fff;
  border: none;
  font-size: 14px;
  transform-origin: right center;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.25s ease,
              filter 0.25s ease;
}

.nav-cta a.btn-primary:hover {
  filter: brightness(1.08);
  /* box-shadow: 0 6px 20px rgba(255, 143, 15, 0.4); */
}

@media screen and (max-width: 768px) {

  /* Balanced Glass mobile header */
  .header {
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 32px);
    max-width: 720px;
    /* padding: 8px 16px; */
    /* tighter internal spacing */
    background: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
  }

  .navbar {
    display: flex;
    justify-content: space-between;
    /* logo left, toggle right */
    align-items: center;
    gap: 10px;
  }

  .nav-menu {
    display: none;
  }

  .nav-menu.active {
    position: fixed;
    top: 68px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 24px);
    max-width: 560px;
    padding: 12px;
    border-radius: 16px;
    background: rgba(20, 20, 20, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
    display: flex;
    flex-direction: column;
    gap: 6px;
    z-index: 9999;
    animation: menuIn 180ms ease-out;
  }

  .nav-item {
    width: 100%;
  }

  .nav-link {
    width: 100%;
    text-align: center;
  }

  .nav-toggle {
    display: flex;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.1);
    width: 34px;
    height: 34px;
    border-radius: 8px;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
  }

  .nav-toggle i {
    font-size: 18px;
  }

  .logo a img {
    width: 34px;
    height: 34px;
  }

  .nav-item {
    margin: 0;
  }

  .nav-link {
    padding: 12px;
  }

  .nav-cta {
    display: none;
  }
}

/* Mobile Menu Backdrop Overlay */
.nav-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.7);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  z-index: 998;
}

.nav-backdrop.active {
  opacity: 1;
  visibility: visible;
}

/* Mobile menu uses centered glass modal */

@keyframes menuIn {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(-6px);
  }

  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

/* cleaned: removed commented legacy hero mobile tweaks */

/* cleaned: removed commented 480px hero block */

@media screen and (max-width: 576px) {

  /* Small-screen floating header */
  .header {
    top: 10px;
    width: calc(100% - 20px);
    /* padding: 8px 10px; */
  }

  .navbar {
    grid-template-columns: auto 1fr auto;
    gap: 8px;
  }

  .logo a img {
    width: 36px;
    height: 36px;
  }

  .nav-toggle {
    width: 36px;
    height: 36px;
    border-radius: 8px;
  }

  .nav-menu.active {
    top: 70px;
    width: calc(100% - 20px);
    padding: 12px;
    border-radius: 16px;
  }
}

/* Footer Styles */
.footer {
  background-color: var(--bg-blk-color);
  padding: 50px 0 20px;
  position: relative;
  overflow: hidden;
  margin: 10px 0 0 0;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 40px;
  margin-bottom: 30px;
}

.footer-logo a {
  font-size: 28px;
  font-weight: 700;
  color: var(--text-blk-bg-color);
}

.footer-logo a img {
  width: 80px;
  margin-top: 10px;
}

.footer-logo p {
  color: var(--text-blk-bg-color);
  margin-top: 15px;
  max-width: 300px;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.footer-links-column h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
  color: var(--text-blk-bg-color);
}

.footer-links-column h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background-color: var(--primary-color);
}

.footer-links-column ul li {
  margin-bottom: 12px;
}

.footer-links-column ul li a {
  color: var(--text-blk-bg-color);
  transition: var(--transition);
}

.footer-links-column ul li a:hover {
  color: var(--primary-color);
  padding-left: 5px;
}

.footer-links-column ul li i {
  color: var(--primary-color);
  margin-right: 10px;
  font-size: 14px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 30px;
  border-top: 1px solid var(--border-color);
}

.social-icons {
  display: flex;
  gap: 15px;
}

.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: var(--card-bg);
  border-radius: 50%;
  color: var(--text-color);
  transition: var(--transition);
}

.social-icons a:hover {
  background-color: var(--primary-color);
  transform: translateY(-3px);
}

.footer-bottom p {
  color: var(--text-blk-bg-color);
  font-size: 14px;
}

/* Responsive Footer */
@media screen and (max-width: 992px) {
  .footer-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-logo {
    text-align: center;
  }

  .footer-logo p {
    max-width: 100%;
  }
}

@media screen and (max-width: 768px) {
  .footer-links {
    grid-template-columns: 1fr 1fr;
    gap: 30px 20px;
  }

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

@media screen and (max-width: 576px) {
  .footer-links {
    grid-template-columns: 1fr;
  }

  .footer {
    padding: 50px 0 20px;
  }
}

/* Page Header Styles */
.page-header {
  background-color: var(--section-bg);
  padding: 120px 0 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-header h1 {
  font-size: 3rem;
  margin-bottom: 15px;
  position: relative;
  z-index: 1;
}

.page-header p {
  color: var(--para-color);
  font-size: 1.2rem;
  max-width: 600px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* Contact Section Styles (legacy removed in favor of modern contact) */

/* Contact Section Home Styles */
.contact-cta {
  text-align: center;
  margin-top: 20px;
}

.contact-cta p {
  font-size: 1.2rem;
  margin-bottom: 20px;
  color: var(--text-color);
}

/* Legacy contact layout removed (now using .modern-contact-*) */

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

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: var(--text-color);
}

input,
select,
textarea {
  width: 100%;
  padding: 12px 15px;
  background-color: var(--section-bg);
  border: 1px solid var(--border-color);
  border-radius: 4px;
  color: var(--text-color);
  font-size: 1rem;
  transition: var(--transition);
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--primary-color);
  outline: none;
  box-shadow: 0 0 0 2px rgba(231, 123, 0, 0.2);
}

select {
  appearance: none;
  background-image: url('data:image/svg+xml;utf8,<svg fill="white" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/></svg>');
  background-repeat: no-repeat;
  background-position: right 10px center;
}

.checkbox-group {
  display: flex;
  align-items: center;
}

.checkbox-group input {
  width: auto;
  margin-right: 10px;
}

.checkbox-group label {
  margin-bottom: 0;
  cursor: pointer;
}

.submit-btn {
  width: 100%;
  padding: 14px;
  font-size: 1rem;
  margin-top: 10px;
}

/* Form Validation Styles */
.error {
  border-color: #ff3860 !important;
  box-shadow: 0 0 0 2px rgba(255, 56, 96, 0.2) !important;
}

.error-message {
  color: #ff3860;
  font-size: 0.85rem;
  margin-top: 5px;
  display: block;
  font-weight: 500;
  position: relative;
}

.success-message {
  background-color: rgba(39, 174, 96, 0.1);
  color: #27ae60;
  padding: 20px;
  border-radius: 5px;
  margin-bottom: 30px;
  text-align: center;
  font-size: 1.1rem;
  border-left: 4px solid #27ae60;
  animation: fadeIn 0.5s ease-in-out;
}

.success-message i {
  margin-right: 10px;
  font-size: 1.2rem;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Section Header Styles */
.section-header {
  text-align: center;
  margin-bottom: 30px;
}

.section-header h2 {
  font-size: 2.5rem;
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
}

.section-header h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 70px;
  height: 3px;
  background-color: var(--primary-color);
}

.section-header p {
  color: var(--para-color);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

/* Portfolio Section Styles */
.portfolio-section {
  padding: 70px 0;
  background-color: var(--bg-color);
}

.portfolio-filter {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.filter-btn {
  background-color: transparent;
  color: var(--text-color);
  border: none;
  padding: 8px 20px;
  margin: 0 5px 10px;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  border-radius: 30px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.filter-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background-color: var(--primary-color);
  z-index: -1;
  transition: var(--transition);
  border-radius: 30px;
}

.filter-btn:hover::before,
.filter-btn.active::before {
  width: 100%;
}

.filter-btn.active {
  color: var(--text-color);
}

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

.portfolio-item {
  transition: opacity 0.3s ease, transform 0.5s ease;
  opacity: 1;
  transform: translateY(0);
}

.portfolio-item.hide {
  display: none;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.portfolio-item {
  animation: fadeInUp 0.6s ease-out forwards;
}

.portfolio-card {
  background-color: var(--card-bg);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: var(--transition);
}

.portfolio-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.portfolio-img {
  position: relative;
  overflow: hidden;
  height: 250px;
}

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

.portfolio-card:hover .portfolio-img img {
  transform: scale(1.1);
}

.portfolio-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
}

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

.portfolio-links {
  display: flex;
  gap: 15px;
}

.portfolio-link,
.portfolio-preview {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  background-color: var(--primary-color);
  border-radius: 50%;
  color: var(--text-color);
  font-size: 1.1rem;
  transform: translateY(20px);
  opacity: 0;
  transition: all 0.4s ease;
}

.portfolio-card:hover .portfolio-link,
.portfolio-card:hover .portfolio-preview {
  transform: translateY(0);
  opacity: 1;
}

.portfolio-link:hover,
.portfolio-preview:hover {
  background-color: var(--primary-hover);
}

.portfolio-links i {
  color: var(--text-color);
}

.portfolio-info {
  padding: 25px 20px;
}

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

.portfolio-info p {
  color: var(--para-color);
  margin-bottom: 15px;
  font-size: 0.95rem;
}

.portfolio-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.portfolio-tech span {
  background-color: rgba(231, 123, 0, 0.1);
  color: var(--primary-color);
  padding: 5px 10px;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 500;
}



/*--------------------*/
/*  Project Detail    */
/*--------------------*/
.project-detail-section {
  padding: 100px 0;
  background-color: var(--bg-color);
  color: var(--text-color);
  text-align: center;
}

.project-detail-section .container {
  max-width: 900px;
  margin: 0 auto;
}

.project-detail-section h1 {
  font-size: 3em;
  margin-bottom: 20px;
  color: var(--primary-color);
}

.project-media {
  margin-bottom: 40px;
}

.project-media video {
  width: 100%;
  max-width: 800px;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.project-description {
  margin-bottom: 40px;
  font-size: 1.1em;
  line-height: 1.6;
  color: var(--text-color-light);
}

.project-links .btn {
  margin: 0 10px;
}

/* ================================== */
/* == DEVELOPMENT PROCESS SECTION  == */
/* ================================== */

.process-section {
  padding: 80px 0;
  background-color: var(--bg-color);
  position: relative;
  overflow: hidden;
}

.process-timeline {
  position: relative;
  max-width: 1000px;
  margin: 60px auto 0;
  padding: 20px 0;
}

/* Timeline connector line */
.process-timeline::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 3px;
  height: 100%;
  background: linear-gradient(180deg,
      transparent 0%,
      var(--primary-color) 10%,
      var(--primary-color) 90%,
      transparent 100%);
}

.process-step {
  position: relative;
  margin-bottom: 80px;
  opacity: 0;
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.process-step:last-child {
  margin-bottom: 0;
}

/* Alternating layout with scroll-reveal initial offsets */
.process-step:nth-child(odd) {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: calc(50% + 60px);
  transform: translateX(-40px) translateY(20px);
}

.process-step:nth-child(even) {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding-left: calc(50% + 60px);
  transform: translateX(40px) translateY(20px);
}

/* Revealed state on scroll */
.process-step.is-revealed {
  opacity: 1;
  transform: translateX(0) translateY(0);
}

/* Step number badge */
.step-number {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.85);
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-hover));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  color: #ffffff;
  box-shadow: 0 8px 25px rgba(255, 143, 15, 0.4);
  z-index: 2;
  border: 5px solid var(--bg-color);
  transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1),
              box-shadow 0.3s ease;
}

.process-step.is-revealed .step-number {
  transform: translate(-50%, -50%) scale(1);
}

.process-step:hover .step-number {
  transform: translate(-50%, -50%) scale(1.1);
  box-shadow: 0 12px 35px rgba(255, 143, 15, 0.6);
}

/* Step content card */
.step-content {
  background: var(--card-bg);
  padding: 35px 40px;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  position: relative;
  transition: all 0.4s ease;
  border: 2px solid transparent;
  max-width: 450px;
}

.process-step:hover .step-content {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
  border-color: var(--primary-color);
}

/* Arrow pointer */
.process-step:nth-child(odd) .step-content::after {
  content: '';
  position: absolute;
  top: 50%;
  right: -20px;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-left: 20px solid var(--card-bg);
  border-top: 20px solid transparent;
  border-bottom: 20px solid transparent;
  transition: border-left-color 0.4s ease;
}

.process-step:nth-child(odd):hover .step-content::after {
  border-left-color: var(--card-bg);
}

.process-step:nth-child(even) .step-content::after {
  content: '';
  position: absolute;
  top: 50%;
  left: -20px;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-right: 20px solid var(--card-bg);
  border-top: 20px solid transparent;
  border-bottom: 20px solid transparent;
  transition: border-right-color 0.4s ease;
}

.process-step:nth-child(even):hover .step-content::after {
  border-right-color: var(--card-bg);
}

/* Step icon */
.step-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, rgba(255, 143, 15, 0.1), rgba(255, 143, 15, 0.05));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: all 0.3s ease;
}

.step-icon i {
  font-size: 28px;
  color: var(--primary-color);
  transition: all 0.3s ease;
}

.process-step:hover .step-icon {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-hover));
  transform: rotate(5deg) scale(1.05);
}

.process-step:hover .step-icon i {
  color: #ffffff;
  transform: scale(1.1);
}

.step-content h3 {
  font-size: 1.5rem;
  margin-bottom: 12px;
  color: var(--text-color);
  font-weight: 600;
}

.step-content p {
  color: var(--para-color);
  line-height: 1.7;
  font-size: 1rem;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
  .process-section {
    padding: 60px 0;
  }

  .process-timeline {
    margin-top: 40px;
  }

  .process-timeline::before {
    display: none;
  }

  .process-step {
    display: block;
    padding: 0 !important;
    margin-bottom: 40px;
    position: relative;
    transform: translateY(30px) !important;
  }

  .process-step.is-revealed {
    transform: translateY(0) !important;
  }

  .process-step:nth-child(odd),
  .process-step:nth-child(even) {
    padding: 0 !important;
    justify-content: center;
  }

  /* Arrow connector between cards */
  .process-step::after {
    content: '\f107';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 2rem;
    color: var(--primary-color);
    animation: bounceArrow 2s ease-in-out infinite;
  }

  .process-step:last-child::after {
    display: none;
  }

  @keyframes bounceArrow {
    0%,
    100% {
      transform: translateX(-50%) translateY(0);
    }

    50% {
      transform: translateX(-50%) translateY(8px);
    }
  }

  .step-number {
    display: none;
  }

  .step-content {
    padding: 25px 20px;
    max-width: 100%;
    margin: 0 auto;
    text-align: center;
    position: relative;
  }

  /* Move step number to top-right corner of card */
  .step-content::before {
    content: attr(data-step);
    position: absolute;
    top: 15px;
    right: 15px;
    width: 35px;
    height: 35px;
    background: linear-gradient(135deg, rgba(255, 143, 15, 0.1), rgba(255, 143, 15, 0.05));
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--primary-color);
  }

  /* Remove side arrows on mobile */
  .process-step:nth-child(odd) .step-content::after,
  .process-step:nth-child(even) .step-content::after {
    display: none;
  }

  .step-icon {
    width: 50px;
    height: 50px;
    margin: 0 auto 15px;
  }

  .step-icon i {
    font-size: 22px;
  }

  .step-content h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
  }

  .step-content p {
    font-size: 0.9rem;
    line-height: 1.5;
  }
}

@media screen and (max-width: 480px) {
  .process-section {
    padding: 50px 0;
  }

  .process-timeline {
    margin-top: 30px;
  }

  .process-step {
    margin-bottom: 35px;
  }

  .process-step::after {
    bottom: -27px;
    font-size: 1.8rem;
  }

  .step-number {
    width: 50px;
    height: 50px;
    font-size: 1.1rem;
    border-width: 3px;
    margin-bottom: 12px;
  }

  .step-content {
    padding: 20px 18px;
  }

  .step-icon {
    width: 45px;
    height: 45px;
    margin-bottom: 12px;
  }

  .step-icon i {
    font-size: 20px;
  }

  .step-content h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
  }

  .step-content p {
    font-size: 0.85rem;
    line-height: 1.4;
  }
}

/* Services Section */
.services-section {
  padding: 60px 0;
  background-color: var(--section-bg);
}

/* Services Slider */
.services-slider {
  position: relative;
  width: 100%;
  overflow: hidden;
  margin-top: 30px;
  min-height: 300px;
}

.services-slider.loading::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.7);
  z-index: 5;
}

.services-slider.loading::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 40px;
  height: 40px;
  margin: -20px 0 0 -20px;
  border-radius: 50%;
  border: 3px solid var(--border-color);
  border-top-color: var(--primary-color);
  animation: spinner 0.8s linear infinite;
  z-index: 6;
}

@keyframes spinner {
  to {
    transform: rotate(360deg);
  }
}

.services-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
}

.service-card {
  background-color: var(--card-bg);
  border-radius: 8px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  flex: 0 0 calc(33.333% - 20px);
  margin: 0 10px;
  animation: fadeInUp 0.6s ease-out forwards;
  opacity: 0;
  height: 350px;
  /* Fixed height for consistent cards */
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.service-card:nth-child(1) {
  animation-delay: 0.1s;
}

.service-card:nth-child(2) {
  animation-delay: 0.2s;
}

.service-card:nth-child(3) {
  animation-delay: 0.3s;
}

.service-card:nth-child(4) {
  animation-delay: 0.4s;
}

.service-card:nth-child(5) {
  animation-delay: 0.5s;
}

.service-card:nth-child(6) {
  animation-delay: 0.6s;
}

/* Slider Controls */
.services-slider-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 30px;
}

.slider-arrow {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--card-bg);
  border: none;
  color: var(--primary-color);
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.slider-arrow::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--primary-color);
  opacity: 0;
  transition: var(--transition);
  z-index: -1;
}

.slider-arrow:hover {
  color: var(--text-color);
  background-color: var(--primary-color);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}



.slider-arrow:hover::before {
  opacity: 1;
}

.slider-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 20px;
}

.slider-dot {
  width: 10px;
  height: 10px;
  border: none;
  border-radius: 50%;
  background-color: var(--border-color);
  margin: 0 5px;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.slider-dot::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--primary-color);
  transform: scale(0);
  transition: transform 0.3s ease;
  border-radius: 50%;
}

.slider-dot:hover::after {
  transform: scale(0.7);
}

.slider-dot.active::after {
  transform: scale(1);
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 100%;
  background: var(--primary-color);
  transition: width 0.3s ease;
}

.service-card:hover::before {
  width: 10px;
}

.service-icon {
  width: 70px;
  height: 70px;
  background-color: rgba(231, 123, 0, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  position: relative;
  overflow: hidden;
}

.service-icon:empty::after {
  content: '';
  position: absolute;
  top: 50%;
  left: -100%;
  width: 300%;
  height: 20%;
  background: linear-gradient(to right,
      rgba(255, 255, 255, 0) 0%,
      rgba(255, 255, 255, 0.3) 50%,
      rgba(255, 255, 255, 0) 100%);
  animation: shimmer 1.5s infinite;
  transform: translateY(-50%);
}

@keyframes shimmer {
  0% {
    left: -100%;
  }

  100% {
    left: 100%;
  }
}

.service-icon i {
  font-size: 28px;
  color: var(--primary-color);
}

.service-card h3 {
  font-size: 22px;
  margin-bottom: 15px;
  color: var(--text-color);
}

.service-card p {
  color: var(--para-color);
  margin-bottom: 20px;
  line-height: 1.6;
}

.service-features {
  list-style: none;
  padding: 0;
  margin: 0 0 25px 0;
}

.service-features li {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  color: var(--para-color);
}

.service-features li i {
  color: var(--primary-color);
  margin-right: 10px;
  font-size: 14px;
}

.service-btn {
  margin-top: auto;
  align-self: flex-start;
  padding: 10px 20px;
  font-weight: 500;
  transition: var(--transition);
  background-color: transparent;
  color: var(--primary-color);
  border: 1px solid var(--primary-color);
  border-radius: 4px;
}

.service-btn:hover {
  background-color: var(--primary-color);
  color: var(--text-color);
  transform: translateY(-3px);
}

/* Responsive adjustments for services section */
@media (max-width: 992px) {
  .service-card {
    flex: 0 0 calc(50% - 20px);
  }
}

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

  .service-card {
    flex: 0 0 calc(100% - 20px);
    padding: 25px;
    height: auto;
    min-height: 300px;
  }

  .services-slider-controls {
    margin-top: 20px;
  }
}

@media (max-width: 480px) {
  .service-icon {
    width: 60px;
    height: 60px;
  }

  .slider-arrow:hover {
    color: var(--primary-color);
    background-color: var(--card-bg);
    box-shadow: none;
  }


  .service-icon i {
    font-size: 24px;
    animation: fadeIn 0.3s ease-in-out;
  }

  @keyframes fadeIn {
    from {
      opacity: 0;
      transform: scale(0.8);
    }

    to {
      opacity: 1;
      transform: scale(1);
    }
  }

  .service-card h3 {
    font-size: 20px;
  }

  .slider-arrow {
    width: 35px;
    height: 35px;
  }

  .slider-dot {
    width: 8px;
    height: 8px;
    margin: 0 3px;
  }
}

/* About Section Styles */
.about-section {
  padding: 60px 0 30px;
  background-color: var(--bg-color);
}

.about-content {
  display: flex;
  flex-direction: row;
  gap: 40px;
  /* margin-bottom: 50px; */
  align-items: center;
}

.about-image {
  flex: 1;
  max-width: 50%;
}

.about-image img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.about-text {
  flex: 1;
}

.about-text h3 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: var(--text-color);
}

.about-text p {
  color: var(--para-color);
  margin-bottom: 20px;
  line-height: 1.8;
  font-size: 1.1rem;
}

.about-stats {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  margin-top: 30px;
  gap: 15px;
}

.stat-item {
  flex: 1;
  min-width: 150px;
  background-color: var(--card-bg);
  padding: 20px 15px;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.stat-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 100%;
  background: var(--primary-color);
  transition: width 0.3s ease;
}

.stat-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.stat-item:hover::before {
  width: 10px;
}

.stat-number {
  display: block;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.stat-label {
  display: block;
  color: var(--text-color);
  font-size: 1rem;
  font-weight: 500;
}



/* Responsive styles for About and Team sections */
@media screen and (max-width: 992px) {
  .about-text h3 {
    font-size: 1.8rem;
  }
}

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

  .about-content {
    flex-direction: column;
    gap: 30px;
    /* margin-bottom: 50px; */
  }

  .about-image {
    max-width: 100%;
  }

  .about-text h3 {
    font-size: 1.6rem;
  }

  .about-text p {
    font-size: 1rem;
  }

  .stat-item {
    min-width: 120px;
    padding: 20px 15px;
  }

  .stat-number {
    font-size: 2rem;
  }
}

@media screen and (max-width: 576px) {
  .about-stats {
    flex-direction: column;
  }

  .stat-item {
    width: 100%;
  }
}

/* Contact Section Home Placeholder */
.contact-section-home {
  background-color: var(--bg-color);
  text-align: center;
}

.contact-cta {
  max-width: 600px;
  margin: 0 auto;
  background-color: var(--card-bg);
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.contact-cta p {
  font-size: 1.2rem;
  margin-bottom: 20px;
  color: var(--text-color);
}

.contact-cta .btn-primary {
  padding: 14px 30px;
  font-size: 1.1rem;
}

/* Map Section Styles */
.map-section {
  padding: 60px 0 80px;
  background-color: var(--bg-color);
}

.map-section h2 {
  text-align: center;
  margin-bottom: 40px;
  font-size: 2rem;
  color: var(--text-color);
}

.map-container {
  height: 600px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.map-placeholder {
  height: 100%;
  background-color: var(--card-bg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--para-color);
}

.map-placeholder i {
  font-size: 4rem;
  margin-bottom: 20px;
  color: var(--primary-color);
}

/* Accessibility */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Responsive Styles for Portfolio Section */
@media screen and (max-width: 1200px) {
  .portfolio-grid {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  }
}

@media screen and (max-width: 992px) {
  .section-header h2 {
    font-size: 2.2rem;
  }

  .portfolio-section,
  .services-section,
  .contact-section-home {
    padding: 30px 0;
  }

  .portfolio-grid {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
  }

  .contact-wrapper {
    grid-template-columns: 1fr;
  }

  .page-header h1 {
    font-size: 2.5rem;
  }
}

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

  .section-header p {
    font-size: 1rem;
  }

  .portfolio-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
  }

  .portfolio-img {
    height: 220px;
  }

  .portfolio-info h3 {
    font-size: 1.2rem;
  }

  .contact-form {
    padding: 30px;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .page-header {
    padding: 100px 0 50px;
  }

  .page-header h1 {
    font-size: 2rem;
  }
}

@media screen and (max-width: 576px) {

  .portfolio-section,
  .services-section,
  .about-section,
  .contact-section-home {
    padding: 30px 0;
  }

  .section-header {
    margin-bottom: 30px;
  }

  .section-header h2 {
    font-size: 1.8rem;
  }

  .portfolio-filter {
    margin-bottom: 25px;
  }

  .filter-btn {
    padding: 6px 15px;
    font-size: 0.9rem;
    margin: 0 3px 8px;
  }

  .portfolio-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .portfolio-info {
    padding: 20px 15px;
  }

  .contact-info {
    padding: 30px 20px;
  }

  .contact-form {
    padding: 25px 20px;
  }

  .map-container {
    height: 300px;
  }

  .contact-cta {
    padding: 30px 20px;
  }
}

/* ================================== */
/* ==  LEXORA CHATBOT - SENDBIRD   == */
/* ==  Enterprise SaaS Standard    == */
/* ================================== */

#lexora-chat-container {
  position: fixed;
  bottom: 30px;
  right: 30px;
  font-family: 'DM Sans', sans-serif;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  pointer-events: none; /* Let clicks pass through container area */
}

#lexora-chat-container > * {
  pointer-events: auto; /* Re-enable clicks on children */
}

#chat-box {
  width: 380px;
  height: 600px;
  max-height: calc(100vh - 120px);
  background: var(--bg-wht-color);
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  margin-bottom: 20px;
  overflow: hidden;
  opacity: 0;
  transform: translateY(20px) scale(0.95);
  animation: chatEnter 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  transform-origin: bottom right;
}

@keyframes chatEnter {
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.hidden {
  display: none !important;
}

/* Header */
#chat-header {
  background: var(--bg-blk-color);
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.chat-header-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.chat-avatar {
  width: 40px;
  height: 40px;
  background: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  font-size: 20px;
}

.chat-title h4 {
  color: #ffffff;
  font-size: 16px;
  font-weight: 700;
  margin: 0;
  line-height: 1.2;
}

.status-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  background: #10B981;
  border-radius: 50%;
  margin-right: 4px;
}

.chat-title {
  color: rgba(255, 255, 255, 0.7);
  font-size: 12px;
}

#chat-close-btn {
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.5);
  font-size: 18px;
  cursor: pointer;
  padding: 4px;
  transition: color 0.3s ease;
}

#chat-close-btn:hover {
  color: #ffffff;
}

/* Messages Area */
#chat-messages {
  flex: 1;
  padding: 24px;
  overflow-y: auto;
  background: #f8f9fa;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.msg {
  padding: 14px 18px;
  border-radius: 12px;
  max-width: 80%;
  font-size: 15px;
  line-height: 1.5;
  position: relative;
}

.bot-msg {
  background: #ffffff;
  color: #1a1a1a;
  border-top-left-radius: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  align-self: flex-start;
  border: 1px solid rgba(0,0,0,0.03);
}

/* Typing Indicator */
.typing-indicator {
  background: #ffffff;
  border: 1px solid rgba(0,0,0,0.03);
  border-top-left-radius: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  padding: 14px 18px;
  border-radius: 12px;
  max-width: 80px;
  align-self: flex-start;
  display: flex;
  align-items: center;
  gap: 4px;
}

.typing-indicator span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #999;
  display: inline-block;
  animation: typing-bounce 1.4s infinite;
}

.typing-indicator span:nth-child(1) {
  animation-delay: 0s;
}

.typing-indicator span:nth-child(2) {
  animation-delay: 0.2s;
}

.typing-indicator span:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes typing-bounce {
  0%, 60%, 100% {
    transform: translateY(0);
    opacity: 0.4;
  }
  30% {
    transform: translateY(-8px);
    opacity: 1;
  }
}

.user-msg {
  background: var(--primary-color);
  color: #ffffff;
  border-top-right-radius: 0;
  align-self: flex-end;
  box-shadow: 0 4px 12px rgba(231, 123, 0, 0.2);
}

/* Input Area */
#chat-input-area {
  padding: 16px;
  background: #ffffff;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  display: flex;
  gap: 10px;
}

#user-input {
  flex: 1;
  background: #f4f4f4;
  border: 1px solid transparent;
  padding: 12px 16px;
  border-radius: 24px;
  font-size: 14px;
  outline: none;
  transition: all 0.3s ease;
}

#user-input:focus {
  background: #ffffff;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 2px rgba(var(--primary-rgb), 0.1);
}

#send-btn {
  width: 44px;
  height: 44px;
  background: var(--primary-color);
  color: #ffffff;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 16px;
  padding: 0; /* Remove padding to center icon */
}

#send-btn::before {
  content: none; /* Remove old arrow content */
}

#send-btn:hover {
  transform: scale(1.05);
  background: var(--primary-hover);
}

/* Toggle Button */
#chat-toggle-btn {
  width: 64px;
  height: 64px;
  background: var(--primary-color);
  color: #ffffff;
  border: none;
  border-radius: 50%;
  box-shadow: 0 8px 24px rgba(var(--primary-rgb), 0.3);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  font-size: 24px;
}

#chat-toggle-btn.chat-open {
  transform: rotate(90deg);
  background: #333;
}

#chat-toggle-btn:hover {
  transform: scale(1.1);
}

#chat-toggle-btn.chat-open:hover {
  transform: rotate(90deg) scale(1.1);
}

#chat-toggle-btn i {
  display: block !important; /* Force icon display, controlled by JS innerHTML */
}

#chat-toggle-btn::before {
  content: none; /* Remove old content logic */
}

/* Responsive Chatbot Styles */
@media screen and (max-width: 992px) {
  #lexora-chat-container {
    bottom: 24px;
    right: 24px;
  }

  #chat-box {
    bottom: 72px;
  }
}

@media screen and (max-width: 768px) {
  #lexora-chat-container {
    bottom: 20px;
    right: 20px;
  }

  #chat-box {
    width: 340px;
    height: 520px;
    bottom: 72px;
  }

  #chat-toggle-btn {
    width: 56px;
    height: 56px;
    font-size: 22px;
  }

  #chat-toggle-btn i {
    font-size: 22px;
  }
}

@media screen and (max-width: 480px) {
  #lexora-chat-container {
    bottom: 16px;
    right: 16px;
    left: 16px;
  }

  #chat-box {
    width: calc(100vw - 32px);
    max-width: none;
    height: calc(100vh - 140px);
    max-height: 550px;
    border-radius: 12px;
    bottom: 68px;
    right: 0;
    left: 0;
  }

  #chat-header {
    padding: 16px 18px;
    font-size: 14px;
  }

  #chat-header::before {
    width: 32px;
    height: 32px;
    font-size: 12px;
  }

  #chat-messages {
    padding: 16px;
    gap: 10px;
  }

  #chat-input-area {
    padding: 14px 16px;
  }

  #user-input {
    padding: 11px 45px 11px 16px;
    font-size: 14px;
  }

  #send-btn {
    right: 24px;
    font-size: 16px;
  }

  #chat-toggle-btn {
    width: 52px;
    height: 52px;
  }

  #chat-toggle-btn::before {
    font-size: 20px;
  }

  #chat-toggle-btn.chat-open::before {
    font-size: 16px;
  }

  .msg {
    padding: 11px 14px;
    font-size: 14px;
    max-width: 80%;
  }
}

@media screen and (max-width: 360px) {
  #lexora-chat-container {
    bottom: 12px;
    right: 12px;
    left: 12px;
  }

  #chat-box {
    width: calc(100vw - 24px);
    height: calc(100vh - 120px);
    max-height: 480px;
    bottom: 64px;
  }

  #chat-messages {
    padding: 14px 12px;
  }

  #chat-input-area {
    padding: 12px;
  }

  #user-input {
    padding: 10px 42px 10px 14px;
    font-size: 13px;
  }

  #send-btn {
    right: 20px;
    font-size: 15px;
  }

  #chat-toggle-btn {
    width: 48px;
    height: 48px;
  }

  .msg {
    font-size: 13px;
    padding: 10px 12px;
  }
}

/* Chat bot styling end */

/* == CASE STUDY DETAIL PAGE == */
.case-study-detail-section {
  padding: 60px 0 80px;
  background: #1a1a1a;
  min-height: 100vh;
}

.case-study-hero {
  width: 100%;
  height: 500px;
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 50px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.case-study-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.case-study-quick-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-bottom: 60px;
}

.quick-stat {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 143, 15, 0.1);
  border-radius: 12px;
  padding: 25px;
  display: flex;
  align-items: center;
  gap: 20px;
  transition: all 0.3s ease;
}

.quick-stat:hover {
  border-color: var(--primary-color);
  background: rgba(255, 255, 255, 0.05);
  transform: translateY(-5px);
}

.stat-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--primary-color), #ff6b00);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: white;
  flex-shrink: 0;
}

.quick-stat .stat-label {
  display: block;
  font-size: 0.85rem;
  color: #808080;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 5px;
}

.quick-stat .stat-value {
  display: block;
  font-size: 1.1rem;
  color: white;
  font-weight: 600;
}

.case-study-content-grid {
  display: grid;
  grid-template-columns: 1fr 350px;
  gap: 50px;
  margin-bottom: 80px;
}

.case-study-main-content {
  color: white;
}

.content-block {
  margin-bottom: 50px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 143, 15, 0.1);
}

.content-block:last-child {
  border-bottom: none;
}

.content-block h2 {
  font-size: 1.8rem;
  color: white;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 15px;
}

.content-block h2 i {
  color: var(--primary-color);
  font-size: 1.5rem;
}

.content-block p {
  color: #b0b0b0;
  line-height: 1.8;
  font-size: 1.05rem;
  margin-bottom: 15px;
}

.process-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.process-step-item {
  background: rgba(255, 255, 255, 0.03);
  border-left: 3px solid var(--primary-color);
  padding: 20px;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.process-step-item:hover {
  background: rgba(255, 255, 255, 0.05);
  transform: translateX(10px);
}

.process-step-item h4 {
  color: white;
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.process-step-item p {
  color: #b0b0b0;
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 0;
}

.results-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 25px;
  margin-top: 30px;
}

.result-metric {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 143, 15, 0.1);
  border-radius: 12px;
  padding: 25px;
  text-align: center;
  transition: all 0.3s ease;
}

.result-metric:hover {
  border-color: var(--primary-color);
  transform: translateY(-5px);
}

.metric-value {
  display: block;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 10px;
  line-height: 1;
}

.metric-label {
  display: block;
  font-size: 0.95rem;
  color: #b0b0b0;
}

.tech-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.tech-badge {
  background: rgba(255, 143, 15, 0.1); 
  border: 1px solid rgba(255, 143, 15, 0.3);
  color: var(--primary-color);
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

.tech-badge:hover {
  background: var(--primary-color);
  color: white;
  transform: translateY(-3px);
}

.testimonial-block blockquote {
  background: rgba(255, 143, 15, 0.05);
  border-left: 4px solid var(--primary-color);
  padding: 30px;
  border-radius: 8px;
  font-style: italic;
  color: #d0d0d0;
  font-size: 1.1rem;
  line-height: 1.8;
  margin: 20px 0;
}

.testimonial-author {
  text-align: right;
  margin-top: 15px;
}

.testimonial-author strong {
  display: block;
  color: white;
  font-size: 1.1rem;
  margin-bottom: 5px;
}

.testimonial-author span {
  color: #808080;
  font-size: 0.9rem;
}

.case-study-sidebar {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.sidebar-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 143, 15, 0.1);
  border-radius: 12px;
  padding: 30px;
}

.sidebar-card h3 {
  color: white;
  font-size: 1.3rem;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 2px solid var(--primary-color);
}

.project-info-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.project-info-list li {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 143, 15, 0.1);
}

.project-info-list li:last-child {
  border-bottom: none;
}

.project-info-list strong {
  color: #b0b0b0;
  font-weight: 600;
}

.project-info-list span {
  color: white;
  text-align: right;
}

.features-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.features-list li {
  padding: 10px 0;
  padding-left: 30px;
  position: relative;
  color: #b0b0b0;
  line-height: 1.6;
}

/* .features-list li::before {
  content: '\f00c';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  left: 0;
  color: var(--primary-color);
} */

.cta-card {
  background: linear-gradient(135deg, rgba(255, 143, 15, 0.1), rgba(255, 107, 0, 0.1));
  border: 1px solid var(--primary-color);
  text-align: center;
}

.cta-card p {
  color: #b0b0b0;
  margin: 15px 0 25px;
  line-height: 1.6;
}

.cta-card .btn-primary {
  width: 100%;
  justify-content: center;
}

.related-case-studies {
  margin-top: 80px;
  padding-top: 60px;
  border-top: 2px solid rgba(255, 143, 15, 0.1);
}

.related-case-studies h2 {
  font-size: 2rem;
  color: white;
  margin-bottom: 40px;
  text-align: center;
}

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

.related-study-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 143, 15, 0.1);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
  text-decoration: none;
  display: block;
}

.related-study-card:hover {
  transform: translateY(-10px);
  border-color: var(--primary-color);
  box-shadow: 0 15px 40px rgba(255, 143, 15, 0.2);
}

.related-study-image {
  height: 200px;
  overflow: hidden;
}

.related-study-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.related-study-card:hover .related-study-image img {
  transform: scale(1.1);
}

.related-study-content {
  padding: 20px;
}

.related-study-content h4 {
  color: white;
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.related-study-content p {
  color: #b0b0b0;
  font-size: 0.9rem;
  line-height: 1.5;
}

@media screen and (max-width: 1024px) {
  .case-study-content-grid {
    grid-template-columns: 1fr 300px;
    gap: 40px;
  }
}

@media screen and (max-width: 768px) {
  .case-study-detail-section {
    padding: 40px 0 60px;
  }

  .case-study-hero {
    height: 300px;
    margin-bottom: 30px;
  }

  .case-study-quick-stats {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 40px;
  }

  .case-study-content-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 60px;
  }

  .case-study-sidebar {
    order: 2;
  }

  .content-block {
    margin-bottom: 40px;
    padding-bottom: 30px;
  }

  .content-block h2 {
    font-size: 1.5rem;
  }

  .results-metrics {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
  }

  .metric-value {
    font-size: 2rem;
  }

  .related-studies-grid {
    grid-template-columns: 1fr;
  }
}

@media screen and (max-width: 480px) {
  .case-study-hero {
    height: 250px;
    border-radius: 12px;
  }

  .quick-stat {
    padding: 20px;
    gap: 15px;
  }

  .stat-icon {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }

  .content-block h2 {
    font-size: 1.3rem;
    gap: 10px;
  }

  .content-block h2 i {
    font-size: 1.2rem;
  }

  .content-block p {
    font-size: 0.95rem;
  }

  .sidebar-card {
    padding: 20px;
  }

  .results-metrics {
    grid-template-columns: 1fr;
  }

  .metric-value {
    font-size: 1.8rem;
  }
}

/* ================================== */
/* == CASE STUDIES BENTO GRID      == */
/* ================================== */

.case-studies-section {
  padding: 80px 0;
  background-color: var(--bg-wht-color);
  position: relative;
}

.bento-cases-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(600px, 1fr));
  gap: 40px;
  margin-bottom: 50px;
}

/* Bento Case Card Container */
.bento-case-card {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  grid-template-rows: auto auto 1fr;
  grid-template-areas:
    "image stat"
    "image tech"
    "image info";
  gap: 16px;
  min-height: 500px;
  position: relative;
}

/* Bento Block Base Styles */
.bento-block {
  background: #fafaf8;
  border: 1px solid var(--border-color);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.bento-block:hover {
  border-color: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

/* Image Block (Left Side - Full Height) */
.bento-image {
  grid-area: image;
  position: relative;
  overflow: hidden;
}

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

.bento-case-card:hover .bento-image img {
  transform: scale(1.05);
}

.image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.6) 100%);
  display: flex;
  align-items: flex-start;
  padding: 20px;
}

.project-tag {
  background: rgba(255, 255, 255, 0.95);
  color: var(--primary-color);
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  backdrop-filter: blur(10px);
}

/* Stat Block (Top Right) */
.bento-stat {
  grid-area: stat;
  padding: 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: linear-gradient(135deg, var(--card-bg) 0%, var(--section-bg) 100%);
}

.stat-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-hover));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

.stat-icon i {
  color: white;
  font-size: 1.5rem;
}

.stat-number {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-wht-bg-color);
  line-height: 1;
  margin-bottom: 6px;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--para-color);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Tech Block (Middle Right) */
.bento-tech {
  grid-area: tech;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.tech-label {
  font-size: 0.8rem;
  color: var(--para-color);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
  font-weight: 600;
}

.tech-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tech-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--section-bg);
  color: var(--text-wht-bg-color);
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 500;
  transition: all 0.3s ease;
}

.tech-tag i {
  font-size: 1rem;
}

.tech-tag:hover {
  background: var(--primary-color);
  color: white;
  transform: translateY(-2px);
}

/* Info Block (Bottom Right) */
.bento-info {
  grid-area: info;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.bento-info h3 {
  font-size: 1.5rem;
  color: var(--text-wht-bg-color);
  margin-bottom: 12px;
  font-weight: 700;
  line-height: 1.3;
}

.bento-info p {
  color: var(--para-color);
  line-height: 1.6;
  margin-bottom: 20px;
  font-size: 0.95rem;
  flex-grow: 1;
}

.view-case-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary-color);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all 0.3s ease;
  width: fit-content;
}

.view-case-link:hover {
  color: var(--primary-hover);
  gap: 12px;
}

.view-case-link i {
  font-size: 0.85rem;
  transition: transform 0.3s ease;
}

.view-case-link:hover i {
  transform: translateX(4px);
}

.case-studies-cta {
  text-align: center;
  margin-top: 50px;
}

.case-studies-cta .btn-primary {
  padding: 16px 40px;
  font-size: 1.05rem;
  border-radius: 8px;
}

/* Responsive Design */
@media screen and (max-width: 1200px) {
  .bento-cases-wrapper {
    grid-template-columns: 1fr;
    gap: 35px;
  }
}

@media screen and (max-width: 768px) {
  .case-studies-section {
    padding: 60px 0;
  }

  .bento-cases-wrapper {
    gap: 30px;
  }

  /* Stack blocks vertically on mobile */
  .bento-case-card {
    grid-template-columns: 1fr;
    grid-template-rows: 250px auto auto auto;
    grid-template-areas:
      "image"
      "stat"
      "tech"
      "info";
    gap: 12px;
    min-height: auto;
  }

  .bento-image {
    min-height: 250px;
  }

  .stat-number {
    font-size: 1.8rem;
  }

  .bento-info h3 {
    font-size: 1.3rem;
  }
}

@media screen and (max-width: 480px) {
  .case-studies-section {
    padding: 50px 0;
  }

  .bento-case-card {
    gap: 10px;
  }

  .bento-block {
    border-radius: 12px;
  }

  .bento-stat,
  .bento-tech,
  .bento-info {
    padding: 20px;
  }

  .stat-number {
    font-size: 1.6rem;
  }

  .bento-info h3 {
    font-size: 1.2rem;
  }

  .tech-tag {
    font-size: 0.8rem;
    padding: 6px 10px;
  }

  }


/* ================================== */
/* == CASE STUDIES CINEMATIC SLIDER == */
/* ================================== */

.case-studies-section {
  padding: 120px 0 140px;
  background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
  position: relative;
  overflow: hidden;
}

.case-studies-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.05) 50%, transparent 100%);
}

.case-studies-section .section-header h2,
.case-studies-section .section-header p {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.case-studies-slider-container {
  position: relative;
  margin-top: 70px;
}

/* Swiper Customization */
.caseStudiesSwiper {
  width: 100%;
  padding: 0 0 60px 0;
  overflow: visible;
}

.caseStudiesSwiper .swiper-wrapper {
  align-items: stretch;
}

.caseStudiesSwiper .swiper-slide {
  width: auto;
  max-width: 900px;
  height: auto;
}

/* Cinematic Card */
.cinematic-card {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 28px;
  overflow: visible;
  background: transparent;
  transition: transform 1s cubic-bezier(0.16, 1, 0.3, 1),
              opacity 1s cubic-bezier(0.16, 1, 0.3, 1);
  transform: scale(0.92) translate3d(0, 0, 0);
  opacity: 0.5;
  will-change: transform, opacity;
}

.swiper-slide-active .cinematic-card {
  transform: scale(1) translate3d(0, 0, 0);
  opacity: 1;
}

.swiper-slide-prev .cinematic-card,
.swiper-slide-next .cinematic-card {
  transform: scale(0.92) translate3d(0, 0, 0);
  opacity: 0.5;
}

/* Card Image Wrapper - 16:9 Aspect Ratio */
.card-image-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 20px 60px -10px rgba(0, 0, 0, 0.08),
              0 8px 20px -5px rgba(0, 0, 0, 0.04);
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  transition: box-shadow 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.swiper-slide-active .card-image-wrapper {
  box-shadow: 0 30px 80px -10px rgba(0, 0, 0, 0.15),
              0 12px 30px -5px rgba(0, 0, 0, 0.08);
}

.card-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s cubic-bezier(0.16, 1, 0.3, 1);
  transform: scale(1) translate3d(0, 0, 0);
  will-change: transform;
}

.swiper-slide-active .card-image {
  transform: scale(1.02) translate3d(0, 0, 0);
}

.swiper-slide-active:hover .card-image {
  transform: scale(1.05) translate3d(0, 0, 0);
}

/* Card Info Box - Overlapping Bottom Left */
.card-info-box {
  position: absolute;
  bottom: -35px;
  left: 45px;
  right: 45px;
  max-width: 540px;
  background: #ffffff;
  padding: 36px 40px;
  border-radius: 24px;
  box-shadow: 0 15px 40px -5px rgba(0, 0, 0, 0.10),
              0 5px 15px -3px rgba(0, 0, 0, 0.05);
  z-index: 10;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  transition: transform 1s cubic-bezier(0.16, 1, 0.3, 1), 
              box-shadow 1s cubic-bezier(0.16, 1, 0.3, 1),
              opacity 1s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid rgba(0, 0, 0, 0.02);
  backdrop-filter: blur(10px);
  transform: translate3d(0, 0, 0);
  will-change: transform;
}

.swiper-slide-active:hover .card-info-box {
  transform: translate3d(0, -6px, 0);
  box-shadow: 0 25px 60px -5px rgba(0, 0, 0, 0.15),
              0 10px 25px -3px rgba(0, 0, 0, 0.08);
}

/* Card Category */
.card-category {
  display: inline-flex;
  align-items: center;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary-color);
  margin-bottom: 14px;
  line-height: 1.4;
  padding: 4px 12px;
  background: rgba(var(--primary-rgb, 104, 126, 234), 0.06);
  border-radius: 6px;
  width: fit-content;
  transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.swiper-slide-active:hover .card-category {
  background: rgba(var(--primary-rgb, 104, 126, 234), 0.10);
  transform: translateX(2px);
}

/* Card Title */
.card-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: #0f0f0f;
  margin: 0 0 14px 0;
  line-height: 1.3;
  letter-spacing: -0.025em;
  transition: color 0.3s ease;
}

.swiper-slide-active:hover .card-title {
  color: var(--primary-color);
}

/* Card Description */
.card-description {
  font-size: 1.0625rem;
  font-weight: 400;
  color: #5a5a5a;
  line-height: 1.75;
  margin: 0 0 28px 0;
  max-width: 90%;
}

/* Case Study Link with Magnetic Arrow */
.case-study-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9375rem;
  font-weight: 600;
  color: #0f0f0f;
  text-decoration: none;
  transition: gap 0.4s cubic-bezier(0.22, 1, 0.36, 1), color 0.3s ease;
  position: relative;
  cursor: pointer;
  padding: 4px 0;
}

.case-study-link span {
  position: relative;
}

.case-study-link span::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary-color), var(--primary-hover));
  transition: width 0.5s cubic-bezier(0.22, 1, 0.36, 1);
  border-radius: 2px;
}

.case-study-link:hover {
  color: var(--primary-color);
}

.case-study-link:hover span::after {
  width: 100%;
}

/* Arrow Icon with Magnetic Effect */
.arrow-icon {
  width: 22px;
  height: 22px;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
  color: var(--primary-color);
  flex-shrink: 0;
}

.case-study-link:hover {
  gap: 16px;
}

.case-study-link:hover .arrow-icon {
  transform: translateX(6px) rotate(-5deg) scale(1.1);
}

/* Custom Progress Bar */
.slider-progress-wrapper {
  position: relative;
  width: 100%;
  max-width: 300px;
  margin: 0 auto;
  height: 4px;
  background: rgba(0, 0, 0, 0.04);
  border-radius: 4px;
  margin-top: 60px;
  overflow: hidden;
}

.slider-progress-bar {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--primary-color) 0%, var(--primary-hover) 100%);
  border-radius: 4px;
  width: 0%;
  transition: width 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  box-shadow: 0 0 8px rgba(var(--primary-rgb, 104, 126, 234), 0.3);
}

/* Responsive Design */
@media screen and (max-width: 1200px) {
  .caseStudiesSwiper .swiper-slide {
    max-width: 800px;
  }

  .card-info-box {
    left: 30px;
    right: 30px;
    max-width: 480px;
    padding: 28px 32px;
  }

  .card-title {
    font-size: 1.5rem;
  }
}

@media screen and (max-width: 992px) {
  .case-studies-section {
    padding: 100px 0;
  }

  .caseStudiesSwiper .swiper-slide {
    max-width: 700px;
  }

  .card-info-box {
    left: 24px;
    right: 24px;
    max-width: 440px;
    padding: 24px 28px;
  }

  .card-title {
    font-size: 1.375rem;
  }

  .card-description {
    font-size: 0.9375rem;
  }
}

@media screen and (max-width: 768px) {
  .case-studies-section {
    padding: 80px 0 100px;
  }

  .case-studies-slider-container {
    margin-top: 50px;
  }

  .caseStudiesSwiper {
    padding: 0 0 60px 0;
  }

  .caseStudiesSwiper .swiper-slide {
    max-width: 90vw;
  }

  .card-image-wrapper {
    border-radius: 24px;
    box-shadow: 0 15px 50px -10px rgba(0, 0, 0, 0.10);
  }

  .card-info-box {
    position: relative;
    bottom: auto;
    left: 0;
    right: 0;
    max-width: 100%;
    margin-top: -25px;
    padding: 28px 24px;
    border-radius: 20px;
  }

  .card-category {
    font-size: 0.75rem;
    padding: 3px 10px;
  }

  .card-title {
    font-size: 1.375rem;
    margin-bottom: 12px;
  }

  .card-description {
    font-size: 0.9375rem;
    margin-bottom: 22px;
    max-width: 100%;
  }

  .slider-progress-wrapper {
    margin-top: 50px;
    max-width: 250px;
  }
}

@media screen and (max-width: 480px) {
  .case-studies-section {
    padding: 60px 0 80px;
  }

  .caseStudiesSwiper .swiper-slide {
    max-width: 95vw;
  }

  .card-image-wrapper {
    border-radius: 20px;
  }

  .card-info-box {
    padding: 24px 20px;
    margin-top: -20px;
    border-radius: 18px;
  }

  .card-category {
    font-size: 0.75rem;
    margin-bottom: 10px;
  }

  .card-title {
    font-size: 1.125rem;
    margin-bottom: 10px;
  }

  .card-description {
    font-size: 0.875rem;
    line-height: 1.6;
    margin-bottom: 18px;
  }

  .case-study-link {
    font-size: 0.875rem;
  }

  .arrow-icon {
    width: 18px;
    height: 18px;
  }

  .slider-progress-wrapper {
    margin-top: 30px;
    height: 2px;
  }
}

/* Case Study Pages (legacy block removed; using .case-study-detail-section & .case-detail-*) */


/* ================================== */
/* == CASE STUDY DETAIL PAGE       == */
/* ================================== */

.case-detail-hero {
  padding: calc(var(--header-height) + 3rem) 0 3rem;
  background: linear-gradient(180deg, #f0f0f3 0%, #f7f7f9 100%);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  position: relative;
}

.breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  font-size: 0.85rem;
  color: var(--para-color);
  padding: 6px 16px;
  background: rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 999px;
  backdrop-filter: blur(10px);
}

.breadcrumb a {
  color: var(--para-color);
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s ease;
}

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

.breadcrumb i {
  font-size: 0.65rem;
  opacity: 0.5;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 143, 15, 0.12);
  color: var(--primary-color);
  border: 1px solid rgba(255, 143, 15, 0.25);
  padding: 0.45rem 1.1rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.3px;
  margin-bottom: 1.25rem;
}

.case-detail-hero h1 {
  font-size: 3.25rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
  color: var(--text-wht-bg-color);
  line-height: 1.15;
  max-width: 900px;
}

.hero-meta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.meta-item {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 8px 18px;
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-wht-bg-color);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.meta-item i {
  color: var(--primary-color);
  font-size: 0.95rem;
}

/* Body & Main Layout */
.case-detail-body {
  padding: 4rem 0 6rem;
  background: #f7f7f9;
}

.case-detail-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 2.5rem;
  align-items: start;
}

.case-study-hero-image {
  margin-bottom: 2.5rem;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.1);
  background: #ffffff;
}

.case-study-hero-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  transition: transform 0.4s ease;
}

/* Bento Case Content Cards / Accordion */
.content-section.accordion-item {
  background: #ffffff;
  border-radius: 20px;
  border: 1px solid var(--border-color);
  padding: 2rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.content-section.accordion-item:hover {
  border-color: rgba(255, 143, 15, 0.3);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

.accordion-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  cursor: default;
}

.accordion-header-left {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.section-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(255, 143, 15, 0.08);
  border: 1px solid rgba(255, 143, 15, 0.2);
  color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

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

.section-heading-group {
  display: flex;
  flex-direction: column;
}

.section-eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--primary-color);
  margin-bottom: 2px;
}

.accordion-header h2 {
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-wht-bg-color);
  margin: 0;
}

.accordion-icon-badge {
  display: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--section-bg);
  border: 1px solid var(--border-color);
  align-items: center;
  justify-content: center;
  color: var(--para-color);
  font-size: 0.85rem;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.accordion-content {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.accordion-content p {
  line-height: 1.8;
  color: var(--para-color);
  font-size: 1.05rem;
  margin: 0;
}

/* Features List */
.features-list {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 0.85rem;
}

.features-list li {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.9rem 1.1rem;
  background: var(--section-bg);
  border-radius: 12px;
  border: 1px solid var(--border-color);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-wht-bg-color);
  transition: all 0.25s ease;
}

.features-list li:hover {
  background: #ffffff;
  border-color: rgba(255, 143, 15, 0.35);
  transform: translateX(4px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
}

.feature-bullet {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(255, 143, 15, 0.12);
  color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  flex-shrink: 0;
}

/* Sidebar Styling */
.case-detail-sidebar {
  position: sticky;
  top: 100px;
}

.sidebar-section {
  background: #ffffff;
  padding: 1.75rem;
  border-radius: 20px;
  border: 1px solid var(--border-color);
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.sidebar-section h3 {
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 1.25rem;
  color: var(--text-wht-bg-color);
}

/* Result KPI Cards */
.results-grid {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.result-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.9rem 1.15rem;
  background: #fbfbfc;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.result-card:hover {
  background: #ffffff;
  border-color: rgba(255, 143, 15, 0.35);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px -6px rgba(0, 0, 0, 0.05);
}

.result-icon-wrapper {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(255, 143, 15, 0.08);
  border: 1px solid rgba(255, 143, 15, 0.18);
  color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  flex-shrink: 0;
  transition: all 0.25s ease;
}

.result-card:hover .result-icon-wrapper {
  background: var(--primary-color);
  color: #ffffff;
  border-color: var(--primary-color);
}

.result-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.result-value {
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #111827;
  line-height: 1.2;
}

.result-label {
  font-size: 0.75rem;
  font-weight: 500;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 2px;
}

/* Tech Badges */
.tech-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tech-badge {
  display: inline-block;
  background: var(--section-bg);
  color: var(--text-wht-bg-color);
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  border: 1px solid var(--border-color);
  transition: all 0.2s ease;
}

.tech-badge:hover {
  background: #1f1f1f;
  color: #ffffff;
  border-color: #1f1f1f;
  transform: translateY(-2px);
}

/* High-Conversion Case Study CTA Card */
.sidebar-section.case-cta-card {
  background: linear-gradient(160deg, #18181e 0%, #0e0e12 100%) !important;
  border: 1px solid rgba(255, 143, 15, 0.3) !important;
  border-radius: 20px !important;
  padding: 2rem !important;
  box-shadow: 0 16px 40px -10px rgba(0, 0, 0, 0.45), 0 0 30px rgba(255, 143, 15, 0.12) !important;
  position: relative;
  overflow: hidden;
}

.sidebar-section.case-cta-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #ff8f0f, #ffb356, #ff8f0f);
}

.case-cta-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 143, 15, 0.12);
  border: 1px solid rgba(255, 143, 15, 0.25);
  color: #ff9f2a;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 1.1rem;
}

.case-cta-badge .pulse-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ff8f0f;
  box-shadow: 0 0 8px #ff8f0f;
  animation: pulseGlow 2s infinite ease-in-out;
}

@keyframes pulseGlow {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

.case-cta-card h3 {
  color: #ffffff !important;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
  line-height: 1.25;
}

.case-cta-card p {
  color: rgba(255, 255, 255, 0.75) !important;
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.case-cta-perks {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 1.5rem;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 12px;
}

.perk-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.82rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
}

.perk-item i {
  color: var(--primary-color);
  font-size: 0.85rem;
  flex-shrink: 0;
}

.case-cta-btn {
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 14px 20px;
  background: linear-gradient(135deg, #ff951a 0%, #ee7500 100%);
  color: #ffffff !important;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 25px -4px rgba(255, 143, 15, 0.45);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
}

.case-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px -4px rgba(255, 143, 15, 0.65);
  filter: brightness(1.06);
}

.case-cta-btn i {
  transition: transform 0.25s ease;
}

.case-cta-btn:hover i {
  transform: translateX(4px);
}

.case-cta-microcopy {
  display: block;
  text-align: center;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.45);
  margin-top: 0.85rem;
  line-height: 1.4;
}

.related-cases {
  padding: 4rem 0;
  background: var(--bg-wht-color);
}

.related-cases h2 {
  text-align: center;
  margin-bottom: 2rem;
  color: var(--text-wht-bg-color);
}

.related-grid {
  text-align: center;
}

.related-link {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  color: var(--primary-color);
  font-weight: 600;
  font-size: 1.1rem;
  text-decoration: none;
  padding: 1rem 2rem;
  border: 2px solid var(--primary-color);
  border-radius: 8px;
  transition: all 0.3s ease;
}

.related-link:hover {
  background: var(--primary-color);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(255, 143, 15, 0.3);
}

/* Responsive Design */
@media screen and (max-width: 1024px) {
  .case-detail-layout {
    grid-template-columns: 1fr;
  }

  .case-detail-sidebar {
    position: static;
  }
}

@media screen and (max-width: 768px) {
  .case-detail-hero {
    padding: calc(var(--header-height) + 1.5rem) 0 1.5rem;
  }

  .case-detail-hero h1 {
    font-size: 2.25rem;
  }

  .hero-meta {
    flex-direction: column;
    gap: 0.75rem;
  }

  .case-detail-body {
    padding: 2.5rem 0;
  }

  .accordion-header {
    cursor: pointer;
    user-select: none;
  }

  .accordion-icon-badge {
    display: flex;
  }

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

  .accordion-item.active .accordion-icon-badge {
    background: var(--primary-color);
    color: #ffffff;
    border-color: var(--primary-color);
  }

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

  .accordion-item.active .accordion-content {
    max-height: 2000px;
    margin-top: 1.25rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
  }
}

@media screen and (max-width: 576px) {
  .case-detail-hero h1 {
    font-size: 1.85rem;
  }

  .content-section.accordion-item {
    padding: 1.25rem;
    border-radius: 16px;
  }

  .section-icon {
    width: 40px;
    height: 40px;
    font-size: 1rem;
    border-radius: 10px;
  }

  .accordion-header h2 {
    font-size: 1.15rem;
  }

  .features-list {
    grid-template-columns: 1fr;
  }
}

/* ================================== */
/* ==      ABOUT US PAGE 2026      == */
/* ==   Professional Minimalist    == */
/* ================================== */

/* About Hero - Dark Background */
.about-hero {
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--bg-blk-color);
  padding: 160px 20px 100px;
  text-align: center;
}

.about-hero h1 {
  font-size: clamp(2.8rem, 8vw, 6rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--text-blk-bg-color);
  margin-bottom: 32px;
  letter-spacing: -0.02em;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}

.about-hero .highlight-word {
  color: var(--primary-color);
}

.about-hero p {
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  color: var(--text-blk-bg-color);
  opacity: 0.85;
  max-width: 750px;
  margin: 0 auto;
  line-height: 1.6;
  font-weight: 400;
}

/* Story Section - Light Background with Minimalist Layout */
.story-section {
  padding: 50px 0;
  background-color: var(--bg-wht-color);
}

.story-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.story-label {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.story-content h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--text-wht-bg-color);
  margin-bottom: 32px;
  letter-spacing: -0.02em;
}

.story-content p {
  font-size: 1.15rem;
  line-height: 1.8;
  color: var(--para-color);
  margin-bottom: 24px;
}

.story-content p:last-of-type {
  margin-bottom: 0;
}

/* Difference Section - Dark with Bento Grid Comparison */
.difference-section {
  padding: 120px 0;
  background-color: #121212;
}

.difference-header {
  text-align: center;
  margin-bottom: 60px;
}

.difference-header h2 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  color: var(--text-blk-bg-color);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.difference-header p {
  font-size: 1.2rem;
  color: var(--text-blk-bg-color);
  opacity: 0.7;
}

.comparison-bento {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.comparison-card {
  background-color: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 40px;
  transition: all 0.3s ease;
}

.comparison-card:hover {
  background-color: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.12);
}

.comparison-highlight {
  background-color: rgba(255, 119, 0, 0.05);
  border: 2px solid rgba(255, 119, 0, 0.3);
}

.comparison-highlight:hover {
  background-color: rgba(255, 119, 0, 0.08);
  border-color: rgba(255, 119, 0, 0.4);
}

.card-label {
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-blk-bg-color);
  opacity: 0.6;
  margin-bottom: 28px;
}

.comparison-highlight .card-label {
  color: var(--primary-color);
  opacity: 1;
}

.comparison-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.comparison-list li {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.comparison-list li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.list-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-blk-bg-color);
  letter-spacing: 0.3px;
}

.list-desc {
  font-size: 0.95rem;
  color: var(--text-blk-bg-color);
  opacity: 0.7;
  line-height: 1.5;
}

/* Product First Section - Light Background */
.product-first-section {
  padding: 50px 0;
  background-color: var(--bg-wht-color);
}

.product-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.section-badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--primary-color), #ff8c00);
  color: #fff;
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  margin-bottom: 24px;
}

.product-text h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--text-wht-bg-color);
  margin-bottom: 28px;
  letter-spacing: -0.02em;
}

.product-text p {
  font-size: 1.1rem;
  line-height: 1.75;
  color: var(--para-color);
  margin-bottom: 20px;
}

.product-stats {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.stat-box {
  background-color: #121212;
  padding: 32px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.stat-box .stat-number {
  font-size: 3rem;
  font-weight: 800;
  color: var(--primary-color);
  line-height: 1;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.stat-box .stat-label {
  font-size: 0.95rem;
  color: var(--text-blk-bg-color);
  opacity: 0.8;
  font-weight: 500;
}

/* SaaS Labs Section - Dark with Gradient */
.saas-labs-section {
  padding: 120px 0;
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
  position: relative;
  overflow: hidden;
}

.saas-labs-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 20% 50%, rgba(255, 119, 0, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.labs-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}

.labs-badge {
  display: inline-block;
  background: rgba(255, 119, 0, 0.15);
  border: 1px solid var(--primary-color);
  color: var(--primary-color);
  padding: 10px 24px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 24px;
}

.labs-content h2 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  color: var(--text-blk-bg-color);
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.labs-content p {
  font-size: 1.15rem;
  line-height: 1.8;
  color: var(--text-blk-bg-color);
  opacity: 0.85;
  margin-bottom: 20px;
}

.labs-cta {
  margin-top: 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.cta-text {
  font-size: 1rem;
  color: var(--text-blk-bg-color);
  opacity: 0.7;
  font-weight: 500;
}

.btn-labs {
  display: inline-block;
  background-color: var(--primary-color);
  color: #fff;
  padding: 16px 40px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 2px solid var(--primary-color);
}

.btn-labs:hover {
  background-color: transparent;
  color: var(--primary-color);
  transform: translateY(-2px);
}

/* Final CTA Section - High Contrast */
.final-about-cta {
  padding: 100px 0;
  background-color: var(--bg-blk-color);
  text-align: center;
}

.final-about-cta h2 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 800;
  color: var(--text-blk-bg-color);
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.final-about-cta p {
  font-size: 1.2rem;
  color: var(--text-blk-bg-color);
  opacity: 0.75;
  margin-bottom: 40px;
}

.final-about-cta .btn-primary {
  padding: 18px 48px;
  font-size: 1.1rem;
}

/* Responsive Design */
@media screen and (max-width: 992px) {
  .comparison-bento {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .product-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .product-stats {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .stat-box {
    flex: 1;
    min-width: 200px;
  }
}

@media screen and (max-width: 768px) {
  .about-hero {
    min-height: 70vh;
    padding: 140px 20px 80px;
  }

  .story-section,
  .difference-section,
  .product-first-section,
  .saas-labs-section {
    padding: 80px 0;
  }

  .difference-header {
    margin-bottom: 40px;
  }

  .comparison-card {
    padding: 32px;
  }

  .product-grid {
    gap: 40px;
  }

  .product-stats {
    flex-direction: column;
  }

  .stat-box {
    padding: 28px;
  }

  .final-about-cta {
    padding: 80px 0;
  }
}

@media screen and (max-width: 480px) {
  .about-hero h1 {
    font-size: 2.2rem;
  }

  .about-hero p {
    font-size: 1.05rem;
  }

  .story-content h2,
  .product-text h2 {
    font-size: 1.8rem;
  }

  .story-content p,
  .product-text p,
  .labs-content p {
    font-size: 1rem;
  }

  .comparison-card {
    padding: 28px;
  }

  .comparison-list {
    gap: 20px;
  }

  .comparison-list li {
    padding-bottom: 20px;
  }

  .stat-number {
    font-size: 2.5rem;
  }

  .labs-cta {
    margin-top: 36px;
  }

  .btn-labs {
    padding: 14px 32px;
    font-size: 0.95rem;
  }

  .final-about-cta h2 {
    font-size: 2rem;
  }

  .final-about-cta p {
    font-size: 1.05rem;
  }

  .final-about-cta .btn-primary {
    padding: 16px 36px;
    font-size: 1rem;
  }
}

/* ================================== */
/* ==       CTA SECTION             == */
/* ==   Split-Screen Layout         == */
/* ================================== */

/* ================================== */
/* == MINIMALIST FULL-WIDTH CTA    == */
/* ================================== */

.cta-section {
  padding: 0;
  width: 100%;
  background-color: transparent;
  position: relative;
  overflow: hidden;
}

.cta-fullwidth-wrapper {
  width: 100%;
  background: radial-gradient(circle at 50% 40%, #15161f 0%, #090a0d 100%);
  border-top: 1px solid rgba(255, 143, 15, 0.15);
  border-bottom: 1px solid rgba(255, 143, 15, 0.15);
  padding: 110px 0 100px;
  position: relative;
  overflow: hidden;
  text-align: center;
}

/* Subtle Ambient Glow */
.cta-ambient-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 700px;
  height: 350px;
  background: radial-gradient(ellipse at center, rgba(255, 143, 15, 0.12) 0%, transparent 70%);
  filter: blur(60px);
  pointer-events: none;
}

.cta-minimal-content {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 2;
}

.cta-minimal-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 143, 15, 0.1);
  border: 1px solid rgba(255, 143, 15, 0.25);
  color: #ff9f2a;
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  margin-bottom: 1.8rem;
}

.cta-minimal-badge .pulse-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ff8f0f;
  box-shadow: 0 0 8px #ff8f0f;
  animation: pulseGlow 2s infinite ease-in-out;
}

.cta-minimal-title {
  font-size: clamp(2.4rem, 4.5vw, 3.8rem);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
}

.cta-highlight-text {
  background: linear-gradient(135deg, #ffffff 40%, #ff9f2a 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.cta-minimal-subtitle {
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.6;
  max-width: 620px;
  margin: 0 auto 2.5rem;
  font-weight: 400;
}

.cta-minimal-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 2.8rem;
}

.cta-minimal-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  background: linear-gradient(135deg, #ff8f0f 0%, #ff7500 100%);
  color: #ffffff;
  font-size: 0.98rem;
  font-weight: 700;
  border-radius: 999px;
  text-decoration: none;
  /* box-shadow: 0 10px 30px -4px rgba(255, 143, 15, 0.45); */
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.cta-minimal-btn:hover {
  background: linear-gradient(135deg, #ffa333 0%, #ff8f0f 100%);
  transform: translateY(-3px) scale(1.02);
  /* box-shadow: 0 14px 38px -4px rgba(255, 143, 15, 0.6); */
  color: #ffffff;
}

.cta-minimal-btn i {
  font-size: 0.9rem;
  transition: transform 0.25s ease;
}

.cta-minimal-btn:hover i {
  transform: translateX(4px);
}

.cta-minimal-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 15px 28px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 999px;
  text-decoration: none;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: all 0.25s ease;
}

.cta-minimal-whatsapp i {
  color: #25d366;
  font-size: 1.1rem;
}

.cta-minimal-whatsapp:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.3);
  color: #ffffff;
  transform: translateY(-2px);
}

/* Minimal Trust Strip */
.cta-minimal-trust {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 0.82rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.3px;
}

.trust-dot {
  color: #ff8f0f;
  opacity: 0.7;
}

/* Responsive Rules */
@media screen and (max-width: 768px) {
  .cta-fullwidth-wrapper {
    padding: 75px 0 65px;
  }

  .cta-minimal-title {
    font-size: 2rem;
  }

  .cta-minimal-subtitle {
    font-size: 0.98rem;
    margin-bottom: 2rem;
  }

  .cta-minimal-actions {
    flex-direction: column;
    width: 100%;
    gap: 12px;
    margin-bottom: 2rem;
  }

  .cta-minimal-btn,
  .cta-minimal-whatsapp {
    width: 100%;
    justify-content: center;
  }

  .cta-minimal-trust {
    font-size: 0.76rem;
    gap: 10px;
  }
}

/* ================================== */
/* == MODERN CONTACT PAGE 2025     == */
/* ================================== */

.modern-contact-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #fafaf8 0%, #f5f5f5 100%);
}

.modern-contact-grid {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 60px;
  align-items: start;
}

/* Left Info Cards */
.contact-info-cards {
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: sticky;
  top: 100px;
}

.info-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 28px;
  display: flex;
  align-items: center;
  gap: 20px;
  transition: all 0.3s ease;
  border: 1px solid var(--border-color);
}

/* .info-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
  border-color: var(--primary-color);
} */

.info-icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-hover));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.info-icon i {
  font-size: 24px;
  color: white;
}

.info-content h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-wht-bg-color);
  margin-bottom: 6px;
}

.info-content p {
  font-size: 0.95rem;
  color: var(--para-color);
  margin: 0;
}

.social-card {
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.social-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-wht-bg-color);
  margin: 0;
}

.social-links-modern {
  display: flex;
  gap: 12px;
  width: 100%;
}

.social-link-modern {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--section-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  border: 1px solid var(--border-color);
}

.social-link-modern:hover {
  background: var(--primary-color);
  border-color: var(--primary-color);
  transform: translateY(-2px);
}

.social-link-modern i {
  font-size: 20px;
  color: var(--text-wht-bg-color);
  transition: all 0.3s ease;
}

.social-link-modern:hover i {
  color: white;
}

/* Right Form */
.modern-contact-form {
  background: #ffffff;
  border-radius: 24px;
  padding: 48px;
  border: 1px solid var(--border-color);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.form-header {
  margin-bottom: 40px;
}

.form-header h2 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-wht-bg-color);
  margin-bottom: 12px;
}

.form-header p {
  font-size: 1rem;
  color: var(--para-color);
  margin: 0;
}

/* Modern Form Groups with Floating Labels */
.modern-form-group {
  position: relative;
  margin-bottom: 8px;
}

.modern-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 8px;
}

.modern-form-group input,
.modern-form-group select,
.modern-form-group textarea {
  width: 100%;
  padding: 16px 16px 16px 16px;
  border: 2px solid var(--border-color);
  border-radius: 12px;
  font-size: 1rem;
  font-family: inherit;
  background: #fafaf8;
  transition: all 0.3s ease;
  color: var(--text-wht-bg-color);
}

.modern-form-group input:focus,
.modern-form-group select:focus,
.modern-form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  background: white;
  box-shadow: 0 0 0 4px rgba(255, 143, 15, 0.1);
}

.modern-form-group input:not(:placeholder-shown),
.modern-form-group select:not([value=""]),
.modern-form-group textarea:not(:placeholder-shown) {
  padding-top: 24px;
  padding-bottom: 8px;
}

/* Floating Label */
.floating-label {
  position: absolute;
  left: 16px;
  top: 16px;
  font-size: 1rem;
  color: var(--para-color);
  pointer-events: none;
  transition: all 0.3s ease;
  background: transparent;
}

.modern-form-group input:focus~.floating-label,
.modern-form-group input:not(:placeholder-shown)~.floating-label,
.modern-form-group select:focus~.floating-label,
.modern-form-group select:not([value=""])~.floating-label,
.modern-form-group textarea:focus~.floating-label,
.modern-form-group textarea:not(:placeholder-shown)~.floating-label {
  top: 8px;
  font-size: 0.75rem;
  color: var(--primary-color);
  font-weight: 600;
}

.modern-form-group textarea {
  resize: vertical;
  min-height: 140px;
}

.modern-form-group .error-message {
  display: block;
  color: #ff3860;
  font-size: 0.85rem;
  margin-bottom: 10px;
  margin-left: 4px;
  min-height: 20px;
}

.modern-form-group input.error,
.modern-form-group select.error,
.modern-form-group textarea.error {
  border-color: #ff3860;
  background: #fff5f7;
}

/* Modern Submit Button */
.modern-submit-btn {
  width: 100%;
  padding: 18px 32px;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-hover));
  color: white;
  border: none;
  border-radius: 12px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 12px;
}

.modern-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(255, 143, 15, 0.3);
}

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

.modern-submit-btn i {
  font-size: 1rem;
  transition: transform 0.3s ease;
}

.modern-submit-btn:hover i {
  transform: translateX(4px);
}

.modern-submit-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* Compact Mobile Card (Hidden on Desktop) */
.info-card-mobile-compact {
  display: none;
}

/* Responsive Design */
@media screen and (max-width: 1024px) {
  .modern-contact-grid {
    grid-template-columns: 320px 1fr;
    gap: 40px;
  }

  .modern-contact-form {
    padding: 36px;
  }

  .contact-info-cards {
    top: 80px;
  }
}

@media screen and (max-width: 768px) {
  .modern-contact-section {
    padding: 40px 0;
  }

  .modern-contact-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  /* Hide individual cards, show compact version */
  .contact-info-cards .info-card,
  .contact-info-cards .social-card {
    display: none;
  }

  .info-card-mobile-compact {
    display: block;
    background: #ffffff;
    border-radius: 16px;
    padding: 24px;
    border: 1px solid var(--border-color);
    /* position: unset; */
  }

  .contact-info-cards {
    position: static;
    top: unset;
  }

  .compact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
  }

  .compact-item:last-of-type {
    padding-bottom: 16px;
  }

  .compact-item i {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-hover));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 16px;
    flex-shrink: 0;
  }

  .compact-item span {
    font-size: 0.95rem;
    color: var(--text-wht-bg-color);
  }

  .compact-social {
    display: flex;
    gap: 12px;
    padding-top: 16px;
    justify-content: center;
  }

  .compact-social a {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--section-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
  }

  .compact-social a:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
  }

  .compact-social a i {
    font-size: 18px;
    color: var(--text-wht-bg-color);
    transition: all 0.3s ease;
  }

  .compact-social a:hover i {
    color: white;
  }

  .modern-contact-form {
    padding: 28px 20px;
  }

  .form-header {
    margin-bottom: 24px;
  }

  .form-header h2 {
    font-size: 1.6rem;
  }

  .form-header p {
    font-size: 0.9rem;
  }

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

  .modern-form-row {
    grid-template-columns: 1fr;
    gap: 0;
    margin-bottom: 2px;
  }

  .modern-form-group textarea {
    min-height: 100px;
  }

  .modern-submit-btn {
    padding: 16px 28px;
    margin-top: 8px;
  }
}

@media screen and (max-width: 480px) {
  .modern-contact-section {
    padding: 30px 0;
  }

  .modern-contact-grid {
    gap: 20px;
  }

  .info-card-mobile-compact {
    padding: 20px;
    border-radius: 12px;
  }

  .compact-item {
    padding: 10px 0;
  }

  .compact-item i {
    width: 32px;
    height: 32px;
    font-size: 14px;
  }

  .compact-item span {
    font-size: 0.9rem;
  }

  .modern-contact-form {
    padding: 24px 16px;
    border-radius: 12px;
  }

  .form-header h2 {
    font-size: 1.4rem;
  }

  .form-header p {
    font-size: 0.85rem;
  }

  .modern-form-group {
    margin-bottom: 2px;
  }

  .modern-form-group input,
  .modern-form-group select,
  .modern-form-group textarea {
    padding: 14px;
    font-size: 0.95rem;
    border-radius: 10px;
  }

  .modern-form-group textarea {
    min-height: 90px;
  }

  .floating-label {
    font-size: 0.95rem;
  }

  .modern-submit-btn {
    padding: 14px 24px;
    font-size: 1rem;
    border-radius: 10px;
  }
}