/* ==========================================================================
   GLOBAL VARIABLES & RESET CONTEXT
   ========================================================================== */
:root {
  --bg-dark-core: #03030f;      /* Absolute Black Canvas */
  --bg-card-surface: #070719;   /* High-End Dark Blue Surface */
  --bg-card-elevated: #111322;  /* Elevated Blue for Deep Contrast nested layers */
  --accent-purple-glow: rgba(99, 102, 241, 0.15);
  --accent-blue-solid: #3b82f6;
  --accent-blue-hover: #2563eb;
  --accent-indigo: #4f46e5;
  --accent-indigo-hover: #4338ca;
  --text-main: #ffffff;
  --text-muted: #797c94;
  --text-slate: #94a3b8;
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
  scroll-behavior: smooth;
}

body::before {
  content: "";
  position: fixed;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background:
    radial-gradient(circle at 20% 20%, rgba(79,70,229,.15), transparent 30%),
    radial-gradient(circle at 80% 80%, rgba(59,130,246,.12), transparent 30%);
  animation: rotateBg 25s linear infinite;
  z-index: -1;
}

@keyframes rotateBg {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

body {
  background-color: var(--bg-dark-core);
  color: var(--text-main);
  font-family: 'Manrope', sans-serif;
  overflow-x: hidden;
}

/* ==========================================================================
   THEME DECLARATIONS & HOVER ENGINES
   ========================================================================== */
.reveal {
  opacity: 1; /* Fixed missing base definition container wrapper if needed */
}

.bg-theme-blue .Project-card,
.bg-theme-blue .portfolio-card,
.bg-theme-blue .cta-banner-custom {
  background-color: var(--bg-card-elevated) !important;
  border: 1px solid rgba(255, 255, 255, 0.06) !important;
}

.bg-theme-black .service-custom-card,
.bg-theme-black .why-us-card,
.bg-theme-black .Project-card,
.bg-theme-black .portfolio-card,
.bg-theme-black .cta-banner-custom {
  background-color: var(--bg-card-surface) !important;
  border: 1px solid rgba(255, 255, 255, 0.04) !important;
}

/* Seamless Cutout separations dependent on background layout context */
.bg-theme-blue .composition-fg-img { border-color: var(--bg-card-surface) !important; }
.bg-theme-black .composition-fg-img { border-color: var(--bg-dark-core) !important; }

/* 1. Floating Effect for the Brain Graphic */
@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0px); }
}

.brain-graphic {
  animation: float 4s ease-in-out infinite;
}

/* 2. Entrance Fade-in for Text */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-title {
  animation: fadeInUp 0.8s ease-out forwards;
}

.hero-subtitle {
  animation: fadeInUp 0.8s ease-out forwards;
  animation-delay: 0.2s; /* Creates the staggered look */
  opacity: 0; /* Keeps hidden until animation starts */
}


/* ==========================================================================
   FLOATING CAPSULE GLASSMORPHISM NAVBAR
   ========================================================================== */
.navbar {
  position: fixed;
  top: 20px;
  left: 5%;
  right: 5%;
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  border-radius: 50px !important; 
  background: rgba(255, 255, 255, 0.03) !important;
  backdrop-filter: blur(14px) saturate(180%);
  -webkit-backdrop-filter: blur(14px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  padding: 10px 30px !important;
  z-index: 1050;
  transition: var(--transition-smooth);
}

.navbar.scrolled {
  top: 10px;
  background: rgba(10, 10, 25, 0.7) !important;
  border-color: rgba(255, 255, 255, 0.12) !important;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
}

.navbar-brand {
  display: flex;
  align-items: center;
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--text-main) !important;
}

.navbar-brand img {
  max-height: 35px;
  margin-right: 10px;
}

.navbar-nav .nav-link {
  color: rgba(255, 255, 255, 0.75) !important;
  font-weight: 500;
  font-size: 0.95rem;
  padding: 6px 16px !important;
  position: relative;
  transition: color 0.2s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--text-main) !important;
}

.navbar-nav .nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 16px;
  right: 16px;
  height: 2px;
  background-color: #ef4444; 
  border-radius: 2px;
}

/* Navbar Button Utilities */
.btn-accent,
.btn-accent-nav {
  background: var(--accent-blue-solid);
  color: var(--text-main) !important;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 8px 26px;
  border-radius: 20px;
  border: none;
  display: inline-block;
  text-decoration: none !important;
  transition: var(--transition-smooth);
}

.btn-accent:hover,
.btn-accent-nav:hover {
  background: var(--accent-blue-hover);
  transform: translateY(-1px);
  box-shadow: 0 5px 15px rgba(59, 130, 246, 0.3);
}

/* ==========================================================================
   HERO INTERFACE STYLING
   ========================================================================== */
.hero-section {
  padding: 180px 0 100px 0;
  position: relative;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -1px;
  margin-bottom: 24px;
}

.gradient-text {
  background: linear-gradient(135deg, #a78bfa, #c084fc);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: 520px;
  margin-bottom: 35px;
}

.hero-cta-group {
  margin-bottom: 50px;
}

.btn-accent-hero {
  background: var(--accent-indigo);
  color: var(--text-main) !important;
  font-weight: 600;
  padding: 12px 32px;
  border-radius: 25px;
  margin-right: 15px;
  display: inline-block;
  text-decoration: none !important;
  transition: var(--transition-smooth);
}

.btn-accent-hero:hover {
  background: var(--accent-indigo-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(79, 70, 229, 0.4);
}

.btn-outline-hero {
  background: transparent;
  color: var(--text-main) !important;
  font-weight: 600;
  padding: 11px 32px;
  border-radius: 25px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: inline-block;
  text-decoration: none !important;
  transition: var(--transition-smooth);
}

.btn-outline-hero:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-2px);
}

.hero-stats-row {
  max-width: 500px;
}

.stat-badge {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--accent-blue-solid); 
  line-height: 1;
  margin-bottom: 6px;
  letter-spacing: -0.5px;
}

.stat-label {
  color: #555870;
  font-size: 0.82rem;
  font-weight: 500;
  display: block;
}

.hero-image-wrapper {
  position: relative;
  display: inline-block;
}

.hero-graphic {
  border-radius: 24px;
  max-height: 460px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}


#solutions {
  padding: 100px 0;
  position: relative;
}

.story-subtitle {
  color: var(--accent-indigo);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: 0.85rem;
  display: block;
  margin-bottom: 15px;
}

.story-title {
  color: var(--text-main);
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: 2.5rem;
  line-height: 1.2;
  margin-bottom: 25px;
  letter-spacing: -0.5px;
}

.story-desc {
  color: var(--text-muted);
  font-size: 0.98rem;
  line-height: 1.7;
  margin-bottom: 35px;
}

.story-features-list {
  margin-bottom: 35px;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 20px;
  text-align: left;
}

.feature-item p {
  color: #b9bbca;
  font-size: 0.93rem;
  line-height: 1.5;
  margin: 0;
}

.feature-item p strong {
  color: var(--text-main);
  font-weight: 600;
}

.check-icon {
  width: 24px;
  height: 24px;
  background-color: var(--accent-indigo);
  color: var(--text-main);
  font-size: 0.75rem;
  font-weight: bold;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
  flex-shrink: 0;
  margin-top: 2px;
}

.btn-discover-more {
  background: #5c67f2;
  color: var(--text-main) !important;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 14px 36px;
  border-radius: 25px;
  display: inline-block;
  text-decoration: none !important;
  transition: var(--transition-smooth);
  box-shadow: 0 4px 15px rgba(92, 103, 242, 0.3);
}

.btn-discover-more:hover {
  background: var(--accent-indigo);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(79, 70, 229, 0.4);
}

/* --- OVERLAPPING IMAGE COMPOSITION ENGINE (UPDATED) --- */
.image-composition-wrapper {
  position: relative;
  width: 100%;
  height: 480px; 
}

.rounded-image {
  border-radius: 24px;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.composition-bg-img {
  position: absolute;
  width: 70%;
  height: 320px;
  top: 0;
  right: 0;
  z-index: 1;
}

.composition-fg-img {
  position: absolute;
  width: 68%;
  height: 300px;
  bottom: 0;
  left: 0;
  z-index: 3;
  border: 6px solid var(--bg-dark-core);
  border-radius: 30px;
  transition: border-color 0.2s ease;
}

/* 1. Shifting the badge further up relative to the top container edge */
.floating-glass-badge {
  position: absolute;
  top: -15px;                 /* Shifted upward from 35px to clear the background graphics */
  right: -20px;
  width: 320px;
  background: rgba(255, 255, 255, 0.4); /* Slightly increased opacity for reliable dark text backdrop */
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  padding: 20px;
  display: flex;
  justify-content: space-around;
  z-index: 5;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.badge-metric-col {
  text-align: center;
}

/* 2. Deep Blue/Indigo Accent for Numbers */
.badge-metric-col h3 {
  color: #1e40af;            /* Slightly deeper vivid blue to guarantee readable contrast */
  font-weight: 700;
  font-size: 1.8rem;
  margin-bottom: 2px;
}

/* 3. High Contrast Dark Content/Labels */
.badge-metric-col span {
  color: #000000;            /* Content color set to black as requested */
  font-size: 0.8rem;
  font-weight: 600;          /* Boosted font weight slightly to ensure thin font rendering stays highly crisp */
  display: block;
}
/* ==========================================================================
   SERVICES GRID - DESIGN COMPLIANCE ARCHITECTURE (UPDATED)
   ========================================================================== */
#services {
  background-color: var(--bg-dark-core, #03030f);
  padding: 100px 0;
}

/* Section Header Styles */
.services-title {
  font-family: 'Manrope', sans-serif;
  font-size: 2.75rem;
  font-weight: 800;
  color: var(--text-main, #ffffff);
  text-align: center;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.services-subtitle {
  font-family: 'Manrope', sans-serif;
  font-size: 1rem;
  color: var(--text-muted, #797c94);
  text-align: center;
  max-width: 600px;
  margin: 0 auto 60px auto;
  line-height: 1.6;
}

/* Card Core Architecture */
.service-custom-card {
  background-color: var(--bg-card-surface, #070719); 
  border: 1px solid rgba(255, 255, 255, 0.04) !important;
  border-radius: 24px;
  padding: 50px 35px 40px 35px;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: var(--transition-smooth, all 0.3s cubic-bezier(0.4, 0, 0.2, 1));
}

/* Card Hover Dynamics */
.service-custom-card:hover {
  border-color: rgba(99, 102, 241, 0.25) !important;
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

/* Rounded Icon Canvas Container */
.service-icon-box {
  width: 68px;
  height: 68px;
  background: linear-gradient(135deg, #4f46e5, #3b82f6); /* Rich gradient fill matching design archetype */
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 30px;
  box-shadow: 0 8px 20px rgba(79, 70, 229, 0.2);
}

/* Custom asset styling inside container (e.g., emojis or icons) */
.service-icon-box img,
.service-icon-box i,
.service-icon-box span {
  font-size: 26px;
  line-height: 1;
}

/* Typography Configurations */
.service-card-title {
  color: var(--text-main, #ffffff);
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 1.4rem;
  letter-spacing: -0.3px;
  margin-bottom: 18px;
}

.service-card-desc {
  color: var(--text-muted, #797c94);
  font-size: 0.92rem;
  line-height: 1.65;
  margin-bottom: 30px;
  flex-grow: 1; /* Automatically standardizes layout heights across uneven text lengths */
}

/* Navigation & Interactive Anchors */
.service-link {
  color: var(--accent-blue-solid, #3b82f6) !important; /* Vivid blue matched to design layout links */
  font-family: 'Manrope', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none !important;
  display: inline-flex;
  align-items: center;
  transition: color 0.2s ease, transform 0.2s ease;
}

.service-link:hover {
  color: var(--accent-blue-hover, #2563eb) !important;
  transform: translateX(3px); /* Subtle micro-interaction pull on arrow */
}
/* ==========================================================================
   CALL TO ACTION MARKETING BANNER STYLING
   ========================================================================== */
.cta-banner-custom {
  border-radius: 24px;
  padding: 60px 40px;
  text-align: center;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
  margin-top: 40px;
}

.cta-banner-custom p {
  color: var(--text-muted);
  font-size: 1.05rem;
}

.btn-cta-submit {
  background: var(--accent-indigo);
  color: var(--text-main) !important;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 14px 36px;
  border-radius: 25px;
  display: inline-block;
  text-decoration: none !important;
  transition: var(--transition-smooth);
  box-shadow: 0 4px 15px rgba(79, 70, 229, 0.3);
}

.btn-cta-submit:hover {
  background: var(--accent-indigo-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(79, 70, 229, 0.5);
}

/* ==========================================================================
   PROJECTS SECTION
   ========================================================================== */
.Project-card {
  border-radius: 12px;
  overflow: hidden;
  height: 100%;
  transition: var(--transition-smooth);
}

.Project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.3);
}

.Project-img {
  height: 220px;
  width: 100%;
  background-size: cover;
  background-position: center;
}

.Project-card:nth-child(1) .Project-img { background-color: #1e293b; }
.Project-card:nth-child(2) .Project-img { background-color: #334155; }

.Project-body {
  padding: 2rem;
}

.Project-body h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.Project-body p {
  color: var(--text-muted);
  line-height: 1.6;
}

.tag {
  background-color: rgba(255, 255, 255, 0.05);
  color: var(--accent-blue-solid);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.35rem 0.75rem;
  border-radius: 4px;
  margin-right: 0.5rem;
  display: inline-block;
}

/* ==========================================================================
   PORTFOLIO SECTION STYLESHEET
   ========================================================================== */
#portfolio {
  color: var(--text-main);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

.portfolio-section-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  letter-spacing: -0.5px;
}

.portfolio-section-subtitle {
  color: #8fa0dd; 
  font-size: 1rem;
  line-height: 1.6;
  max-width: 650px;
}

.portfolio-filters {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.filter-pill {
  background: rgba(255, 255, 255, 0.05);
  color: #a5b4fc;
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 0.875rem;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.filter-pill.active, .filter-pill:hover {
  background: var(--accent-indigo);
  color: var(--text-main);
  box-shadow: 0 4px 15px rgba(79, 70, 229, 0.4);
}

.portfolio-card {
  border-radius: 20px;
  overflow: hidden;
  height: 100%;
  transition: var(--transition-smooth);
}

.portfolio-card:hover {
  transform: translateY(-50px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
  border-color: rgba(79, 70, 229, 0.3) !important;
}

.portfolio-img-container {
  position: relative;
  width: 100%;
  overflow: hidden;
  background-color: #1a1d36;
}

.portfolio-card-img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  transition: transform 0.10s ease;
}

.portfolio-card:hover .portfolio-card-img {
  transform: scale(1.03);
}

.portfolio-body {
  padding: 1.75rem;
}

.portfolio-meta-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.portfolio-category {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1px;
  color: #4361ee; 
}

.portfolio-rating {
  background-color: rgba(255, 184, 0, 0.1);
  color: #ffb800; 
  padding: 4px 10px;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.portfolio-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.85rem;
  color: var(--text-main);
}

.portfolio-desc {
  color: var(--text-slate);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.portfolio-tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tech-tag {
  background-color: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #cbd5e1;
  padding: 5px 14px;
  border-radius: 8px;
  font-size: 0.75rem;
  font-weight: 500;
  transition: background 0.2s ease;
}

.tech-tag:hover {
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--text-main);
}

/* ==========================================================================
   WHY US CUSTOM CARDS - DIRECT DESIGN COMPLIANCE
   ========================================================================== */
#why-us {
  background-color: #030310; /* Solid deep background matching your theme */
  padding: 60px 0;
}

/* Base Card Grid Architecture */
.why-us-card {
  background-color: #070719; /* Exact deep navy dark-mode tone */
  border: 1px solid rgba(255, 255, 255, 0.04); /* Ultra-faint light border to define layout edges */
  border-radius: 24px; /* Perfectly smoothed curved corners */
  padding: 45px 35px 35px 35px;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: all 0.3s ease-in-out;
}

.why-us-section-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  letter-spacing: -0.5px;
}

/* Clean micro-interaction hover effect */
.why-us-card:hover {
  border-color: rgba(99, 102, 241, 0.2);
  transform: translateY(-4px);
}

/* --- Rounded Icon Box --- */
.why-icon-box {
  width: 65px;
  height: 65px;
  background: #3b42c4; /* Custom violet-blue layout button background */
  border-radius: 18px; /* Smooth rounded square icon container */
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px; /* Adapts emoji metrics cleanly */
  margin-bottom: 30px;
  box-shadow: inset 0 -3px 0px rgba(0, 0, 0, 0.2); /* Inset shadow to give depth */
}

/* --- Card Text Configurations --- */
.why-card-title {
  color: #ffffff;
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: -0.3px;
  margin-bottom: 16px;
}

.why-card-desc {
  color: #797c94; /* Soft, readable gray for secondary content */
  font-size: 0.92rem;
  line-height: 1.6;
  margin-bottom: 40px;
  flex-grow: 1; /* Automatically keeps the dividers and metrics aligned across cards */
}

/* --- Metric Section Separator & Content --- */
.why-card-metric {
  width: 100%;
  /* The elegant divider line from the image */
  border-top: 1px solid rgba(255, 255, 255, 0.03);
  padding-top: 25px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.metric-num {
  font-size: 2.3rem;
  font-weight: 700;
  color: #3b52f6; /* Vivid royal blue matching the layout graphic numbers */
  line-height: 1;
  margin-bottom: 10px;
  letter-spacing: -0.5px;
}

.metric-label {
  color: #555870; /* Muted gray for the small percent/label text */
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.2px;
}

/* ==========================================================================
   CONTACT FORM & COMPONENT LAYOUTS
   ========================================================================== */
.feature-card {
  background-color: var(--bg-card-surface);
  border: 1px solid rgba(255, 255, 255, 0.03);
  border-radius: 12px;
  padding: 2.5rem;
}

.feature-card h3 {
  font-weight: 800;
}

.form-control {
  background-color: var(--bg-dark-core);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-main) !important;
  border-radius: 6px;
  padding: 1.5rem 1rem;
  transition: var(--transition-smooth);
}

textarea.form-control {
  height: auto;
  padding: 1rem;
}

.form-control:focus {
  background-color: var(--bg-dark-core);
  border-color: var(--accent-blue-solid);
  box-shadow: 0 0 8px rgba(59, 130, 246, 0.2);
}

.form-control::placeholder {
  color: #64748b;
}

#contact .feature-card .card-icon {
  margin-bottom: 0;
  flex-shrink: 0;
}

#contact h5 {
  font-weight: 700;
}

.contact-us-section-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  letter-spacing: -0.5px;
}

/* ==========================================================================
   FOOTER - DESIGN COMPLIANCE ARCHITECTURE (AS PER IMAGE)
   ========================================================================== */
footer {
  background-color: #020208; /* Extremely deep, uniform layout black canvas */
  padding: 80px 0 30px 0;
  font-family: 'Manrope', sans-serif;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr; /* Balances the layout proportions across columns */
  gap: 50px;
}

.footer-column {
  display: flex;
  flex-direction: column;
}

/* --- Column Header Elements --- */
footer h4.company-name {
  color: #ffffff;
  font-size: 1.85rem;
  font-weight: 800;
  margin-bottom: 25px;
  letter-spacing: -0.5px;
}

footer h5.column-title {
  color: #ffffff;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 25px;
}

/* --- Info Text & Typography Details --- */
.location-text {
  color: #38bdf8; /* Soft distinct soft blue tone matching your visual layout location text */
  font-size: 0.95rem;
  margin-bottom: 12px;
}

.contact-info {
  color: #ffffff;
  font-size: 0.95rem;
  margin-bottom: 12px;
}

.contact-info strong {
  font-weight: 700;
}

.contact-info a {
  color: #38bdf8; /* Accurate contact dynamic links tracking layout text colors */
  text-decoration: none;
  transition: color 0.2s ease;
}

.contact-info a:hover {
  color: #0ea5e9;
}

/* --- Links Lists Architecture --- */
footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

footer ul li {
  margin-bottom: 16px;
}

footer ul li a {
  text-decoration: none;
  font-size: 0.98rem;
  font-weight: 500;
  transition: opacity 0.2s ease;
}

/* Custom Red Anchors for 'Useful Links' Column */
.useful-links-list li a {
  color: #ef4444; /* Clean crimson red matching screenshot column layout perfectly */
}

/* Custom Slate/Grey Anchors for 'Our Services' Column */
.services-links-list li a {
  color: #94a3b8; /* Soft structural grey matching service columns */
}

footer ul li a:hover {
  opacity: 0.8;
}

/* --- Rounded Social Pill Graphics --- */
.social-links-row {
  display: flex;
  gap: 12px;
  margin-top: 25px;
}

.social-links-row a {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  text-decoration: none;
  font-size: 0.9rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.social-links-row a:hover {
  background-color: #ffffff;
  color: #020208;
  border-color: #ffffff;
  transform: translateY(-2px);
}

/* --- Layout Separation Rules & Copyright Base --- */
.footer-divider {
  max-width: 1120px;
  margin: 60px auto 25px auto;
  border: 0;
  border-top: 1px solid rgba(56, 189, 248, 0.3); /* Translucent soft cyan border divider rules */
}

.footer-bottom {
  text-align: center;
  color: #94a3b8;
  font-size: 0.9rem;
}

.footer-bottom strong {
  color: #ffffff;
  font-weight: 700;
}

/* Responsive Grid Adapters */
@media (max-width: 768px) {
  .footer-container {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 0 25px;
  }
  .footer-divider {
    margin: 40px 25px 25px 25px;
  }
}

/* ==========================================================================
   RESPONSIVE LAYOUT PORT TRANSLATIONS
   ========================================================================== */
@media (max-width: 1200px) {
  .floating-glass-badge {
    right: 0;
    width: 280px;
  }
}

@media (max-width: 991.98px) {
  .navbar {
    border-radius: 24px !important; 
    width: 94%;
    left: 3%;
    right: 3%;
    padding: 10px 20px !important;
  }
  
  .navbar-collapse {
    background: rgba(7, 7, 25, 0.98);
    backdrop-filter: blur(25px);
    border-radius: 14px;
    padding: 25px;
    margin-top: 15px;
    border: 1px solid rgba(255, 255, 255, 0.08);
  }
  
  .navbar-nav .nav-link {
    padding: 10px 0 !important;
  }
  
  .navbar-nav .nav-link.active::after {
    display: none; 
  }
  
  .navbar-btn-wrapper, .ml-lg-3 {
    margin-top: 15px;
  }
  
  .hero-section {
    padding: 140px 0 60px 0;
    text-align: center;
  }
  
  .hero-section .row > div:first-child {
    margin-bottom: 3rem;
  }

  .hero-section .row .col-4 {
    padding: 0 5px;
  }

  .hero-title {
    font-size: 2.6rem;
  }

  .story-title {
    font-size: 2.1rem;
  }
  
  .image-composition-wrapper {
    height: 420px;
    margin-top: 40px;
  }
  
  .composition-bg-img {
    height: 260px;
  }
  
  .composition-fg-img {
    height: 240px;
  }
}

@media (max-width: 767.98px) {
  .cta-banner-custom {
    padding: 40px 20px;
  }
  
  .cta-banner-custom h2 {
    font-size: 1.6rem;
  }
}

@media (max-width: 575.98px) {
  .image-composition-wrapper {
    height: 350px;
  }
  
  .floating-glass-badge {
    width: 240px;
    padding: 12px;
    top: 10px;
  }
  
  .badge-metric-col h3 {
    font-size: 1.4rem;
  }
}