/* ==========================================================================
   00. CSS VARIABLES & THEMING
   ========================================================================== */
:root {
  /* Brand Colors */
  --brand-primary: #871B33;
  --brand-secondary: #004299;
  --brand-light: #FFF9E3;

  /* Accent & Tint Colors */
  --primary-light: #C86A89;
  --primary-soft: #F4D8E3;
  --secondary-light: #7DB8FF;
  --secondary-soft: #DCEBFF;
  --gold-light: #F6E6A9;
  --gold-soft: #FFF7D6;

  /* Theme Surfaces */
  --bg: #090B10;
  --surface: #111722;
  --surface-2: #171F2C;
  --surface-3: #1E2837;

  /* Text & Typography */
  --heading: #FFFFFF;
  --text: #D8E0EA;
  --muted: #9AA7B7;
  --white: #FFFFFF;

  /* Borders & Shadows */
  --border: rgba(255, 255, 255, 0.08);
  --border-light: rgba(255, 255, 255, 0.15);

  --shadow-lg: 0 30px 60px rgba(0, 0, 0, .30);
  --shadow-md: 0 15px 35px rgba(0, 0, 0, .20);
  --shadow-sm: 0 10px 25px rgba(0, 0, 0, .15);

  /* Transitions */
  --transition: .35s ease;
}

/* ==========================================================================
   01. GLOBAL RESETS & CROSS-BROWSER PRESETS
   ========================================================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5 {
  font-family: 'Space Grotesk', sans-serif;
  color: var(--heading);
  font-weight: 700;
  line-height: 1.15;
}

h1 { font-size: clamp(2.8rem, 5.5vw, 4.8rem); }
h2 { font-size: clamp(2.2rem, 4.5vw, 3.5rem); }
h3 { font-size: 1.6rem; }
p { color: var(--text); }
a { text-decoration: none; color: inherit; }
img { width: 100%; display: block; }
ul { list-style: none; }

/* Font Awesome Cross-Browser Fallback */
.fa-solid, .fab, .fas, .fa {
  font-family: "Font Awesome 6 Free", "Font Awesome 6 Brands" !important;
  font-style: normal;
  font-variant: normal;
  text-rendering: auto;
  line-height: 1;
}

/* ==========================================================================
   ICON & HOVER RECOVERY FIX
   ========================================================================== */
/* Force Font Awesome font family rendering */
.fa, .fas, .far, .fal, .fab, .fa-solid, .fa-brands {
  font-family: "Font Awesome 6 Free", "Font Awesome 6 Brands" !important;
  font-weight: 900 !important;
  display: inline-block;
  font-style: normal;
  font-variant: normal;
  text-rendering: auto;
  line-height: 1;
}

.fa-brands, .fab {
  font-family: "Font Awesome 6 Brands" !important;
  font-weight: 400 !important;
}

/* Service Card Hover States */
.service-card {
  cursor: pointer;
  transition: all 0.35s ease-in-out;
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: rgba(125, 184, 255, 0.4);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.service-card:hover .service-icon {
  background: linear-gradient(135deg, var(--primary-light), var(--secondary-light));
}

.service-card:hover .service-icon i {
  color: #ffffff;
}

/* Social Link Hovers */
.social-links a:hover i {
  color: #ffffff !important;
}

/* ==========================================================================
   02. LAYOUT CONTAINERS & COMMON COMPONENTS
   ========================================================================== */
.container {
  width: min(1280px, 92%);
  margin: auto;
  padding-left: 0;
  padding-right: 0;
}

.section {
  padding: 110px 0;
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 70px;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  border-radius: 100px;
  margin-bottom: 20px;
  font-size: .82rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  background: rgba(125, 184, 255, .08);
  border: 1px solid rgba(125, 184, 255, .15);
  color: var(--secondary-light);
}

.section-header p {
  margin-top: 20px;
  color: var(--muted);
  font-size: 1.08rem;
}

/* Global Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 28px;
  border-radius: 16px;
  font-weight: 600;
  transition: var(--transition);
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, #bb003e, #5309ff, #004ca7);
  color: #fff;
  box-shadow: 0 12px 35px rgba(62, 149, 255, 0.18);
}

.btn-primary:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(35, 134, 255, 0.25);
}

.btn-outline {
  border: 1px solid var(--border-light);
  color: #fff;
  background: rgba(255, 255, 255, .03);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, .06);
  transform: translateY(-4px);
}

/* ==========================================================================
   03. AMBIENT BACKGROUND & NOISE EFFECTS
   ========================================================================== */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 15% 15%, rgba(200, 106, 137, .12), transparent 30%),
    radial-gradient(circle at 85% 10%, rgba(125, 184, 255, .12), transparent 35%),
    radial-gradient(circle at 50% 70%, rgba(246, 230, 169, .06), transparent 40%);
  z-index: -5;
}

.bg-grid {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: 60px 60px;
  opacity: .35;
  pointer-events: none;
  z-index: -4;
}

.bg-noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .025;
  background-image: url("../images/noise.png");
  mix-blend-mode: soft-light;
  z-index: -3;
}

.glow {
  position: fixed;
  width: 550px;
  height: 550px;
  border-radius: 50%;
  filter: blur(120px);
  -webkit-filter: blur(120px);
  pointer-events: none;
  z-index: -2;
}

.glow-one { background: rgba(200, 106, 137, .10); top: -220px; left: -150px; }
.glow-two { background: rgba(125, 184, 255, .12); right: -180px; top: 120px; }
.glow-three { background: rgba(246, 230, 169, .06); bottom: -220px; left: 35%; }

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-light), var(--secondary-light));
  z-index: 9999;
}

/* ==========================================================================
   04. ANNOUNCEMENT BAR & NAVIGATION HEADER
   ========================================================================== */
.announcement-bar {
  background: #111722;
  border-bottom: 1px solid var(--border);
  padding: 12px 0;
  font-size: .92rem;
}

.announcement-bar p {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  color: var(--muted);
}

.announcement-bar span {
  background: linear-gradient(135deg, #370AFF, #6F1BFF);
  color: #fff;
  padding: 5px 14px;
  border-radius: 999px;
  font-size: .75rem;
  font-weight: 700;
}

.announcement-bar strong {
  color: #56F0BF;
  font-weight: 600;
}

.header {
  position: sticky;
  top: 0;
  z-index: 999;
  background: rgba(9, 11, 16, .92);
  border-bottom: 1px solid rgba(255, 255, 255, .06);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all .35s ease;
}

.header.scrolled {
  box-shadow: 0 10px 30px rgba(0, 0, 0, .25);
}

.header-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 88px;
}

.logo { display: flex; align-items: center; gap: 16px; margin-left: 0; padding-left: 0; }
.logo img { width: 58px; }
.logo h2 { font-size: 1.25rem; margin-bottom: 4px; }
.logo span { font-size: .82rem; color: var(--muted); display: block; }

.navigation ul { display: flex; align-items: center; gap: 34px; }
.navigation a { position: relative; color: var(--text); font-weight: 500; transition: var(--transition); }
.navigation a:hover, .navigation a.active { color: #fff; }

.navigation a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 0;
  height: 2px;
  border-radius: 50px;
  background: linear-gradient(90deg, var(--primary-light), var(--secondary-light));
  transition: .3s;
}

.navigation a:hover::after, .navigation a.active::after { width: 100%; }

.header-right { display: flex; align-items: center; gap: 14px; }

.mobile-menu {
  display: none;
  width: 48px;
  height: 48px;
  border: none;
  border-radius: 12px;
  background: var(--surface);
  color: #fff;
  cursor: pointer;
}

/* ==========================================================================
   05. HERO SECTION & FULL-BLEED SLIDER
   ========================================================================== */
.hero {
  position: relative;
  width: 100%;
  min-height: 580px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg-slider {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.bg-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center right;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 1.2s cubic-bezier(0.4, 0, 0.2, 1), transform 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.bg-slide.active {
  opacity: 1;
  transform: scale(1);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg, 
    rgba(9, 11, 16, 0.95) 0%, 
    rgba(9, 11, 16, 0.8) 45%, 
    rgba(9, 11, 16, 0.15) 100%
  );
  z-index: 2;
  pointer-events: none;
}

.hero-container {
  position: relative;
  z-index: 3;
  width: min(1280px, 92%);
  margin: 0 auto;
  padding: 40px 0;
}

.hero-slide {
  display: none !important;
}

.hero-slide.active {
  display: block !important;
  animation: fadeIn 0.8s ease forwards;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-content {
  max-width: 650px;
  text-align: left;
  margin-left: 0;
  padding-left: 0;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  padding: 6px 16px;
  border-radius: 999px;
  background: rgba(125, 184, 255, .1);
  border: 1px solid rgba(125, 184, 255, .25);
  color: var(--secondary-light);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.hero-content h1 {
  margin-bottom: 16px;
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  line-height: 1.15;
  font-weight: 700;
  word-break: normal;
}

.hero-content h1 span {
  display: block;
  background: linear-gradient(90deg, var(--primary-light), var(--secondary-light), var(--gold-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-content p {
  max-width: 540px;
  font-size: 1rem;
  color: var(--text);
  margin-bottom: 28px;
  line-height: 1.6;
}

.hero-buttons { 
  display: flex; 
  gap: 16px; 
  flex-wrap: wrap; 
  margin-bottom: 28px; 
}

.hero-highlights { 
  display: flex; 
  gap: 32px; 
  flex-wrap: wrap; 
  margin-top: 10px;
}

.hero-highlights div { 
  display: flex; 
  flex-direction: column; 
  gap: 4px;
}

.hero-highlights strong { 
  color: #fff; 
  font-size: 1.6rem; 
  font-family: "Space Grotesk", sans-serif; 
  line-height: 1;
}

.hero-highlights span { 
  color: var(--muted); 
  font-size: .85rem; 
}

.slider-controls {
  position: absolute;
  left: 50%;
  bottom: 25px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 20px;
  z-index: 20;
  background: rgba(17, 23, 34, 0.85);
  padding: 8px 20px;
  border-radius: 999px;
  border: 1px solid var(--border);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  pointer-events: auto;
}

.slide-arrow {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid #56F0BF;
  background: rgba(255, 255, 255, .05);
  color: #56F0BF;
  cursor: pointer;
  transition: .3s;
  display: flex;
  justify-content: center;
  align-items: center;
}

.slide-arrow:hover { 
  background: var(--surface-2); 
  transform: scale(1.1); 
}

.slider-dots { 
  display: flex; 
  gap: 10px; 
  align-items: center;
}

.dot {
  width: 10px;
  height: 10px;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  background: #FFFD37;
  transition: .3s;
  padding: 0;
}

.dot.active {
  width: 28px;
  border-radius: 50px;
  background: linear-gradient(90deg, #56F0BF, #FFFD37);
}

.hero-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, .08);
  z-index: 10;
}

.progress-bar {
  display: block;
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, #56F0BF, #FFFD37);
  transition: width 0.1s linear;
}

/* ==========================================================================
   06. SERVICES SECTION
   ========================================================================== */
.expertise-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.service-card {
  position: relative;
  padding: 36px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 28px;
  transition: .35s;
  overflow: hidden;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; width: 100%; height: 4px;
  background: linear-gradient(90deg, var(--primary-light), var(--secondary-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: .35s;
}

.service-card:hover {
  transform: translateY(-10px);
  background: var(--surface-2);
  border-color: rgba(125, 184, 255, .25);
  box-shadow: 0 25px 60px rgba(0, 0, 0, .30);
}

.service-card:hover::before { transform: scaleX(1); }

.featured-card { grid-column: span 2; }

.service-icon {
  width: 72px; height: 72px;
  border-radius: 20px;
  display: flex; justify-content: center; align-items: center;
  margin-bottom: 24px;
  background: linear-gradient(135deg, rgba(200, 106, 137, .15), rgba(125, 184, 255, .15));
}

.service-icon i { color: var(--secondary-light); font-size: 1.9rem; }

.service-number {
  position: absolute; top: 28px; right: 30px;
  font-size: 2.4rem; font-weight: 700; color: rgba(255, 255, 255, .05);
  font-family: "Space Grotesk", sans-serif;
}

.service-card h3 { margin-bottom: 18px; }
.service-card p { color: var(--muted); margin-bottom: 22px; }
.service-card ul { display: grid; gap: 10px; }
.service-card li { color: var(--text); position: relative; padding-left: 22px; }
.service-card li::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%;
  position: absolute; left: 0; top: 10px; background: #56F0BF;
}

/* ==========================================================================
   07. FEATURE HIGHLIGHTS & ANIMATED COUNTERS
   ========================================================================== */
.highlight-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.highlight-box {
  text-align: center;
  padding: 42px 20px;
  background: var(--surface);
  border-radius: 24px;
  border: 1px solid var(--border);
  transition: transform 0.35s ease, border-color 0.3s ease;
}

.highlight-box:hover {
  transform: translateY(-6px);
  border-color: rgba(125, 184, 255, 0.3);
}

.highlight-box h3 {
  font-size: 2.6rem;
  color: var(--secondary-light);
  margin-bottom: 10px;
  font-family: "Space Grotesk", sans-serif;
  line-height: 1.1;
}

.highlight-box p { color: var(--muted); }

/* ==========================================================================
   08. PORTFOLIO SHOWCASE & DYNAMIC FILTERING
   ========================================================================== */
.portfolio-filter {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 60px;
}

.filter-btn {
  padding: 12px 24px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  transition: .3s;
}

.filter-btn:hover, 
.filter-btn.active {
  color: #fff;
  background: linear-gradient(135deg, rgba(200, 106, 137, .18), rgba(125, 184, 255, .18));
  border-color: rgba(125, 184, 255, .3);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 28px;
}

.portfolio-item {
  transition: all 0.4s ease;
}

.portfolio-item.hide {
  display: none !important;
}

.portfolio-feature {
  grid-row: span 2;
  overflow: hidden;
  border-radius: 30px;
  background: var(--surface);
  border: 1px solid var(--border);
}

.portfolio-feature img { height: 420px; object-fit: cover; }
.portfolio-content { padding: 34px; }
.portfolio-category { color: var(--secondary-light); font-size: .9rem; letter-spacing: 1px; text-transform: uppercase; }
.portfolio-content h3 { margin: 18px 0; }
.portfolio-content p { color: var(--muted); margin-bottom: 28px; }
.portfolio-link { color: #56F0BF; font-weight: 600; }

.portfolio-card { position: relative; overflow: hidden; border-radius: 24px; min-height: 250px; }
.portfolio-card img { width: 100%; height: 100%; object-fit: cover; transition: .45s; }
.portfolio-card:hover img { transform: scale(1.08); }

.portfolio-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: flex-end;
  flex-direction: column;
  padding: 24px;
  background: linear-gradient(transparent, rgba(0, 0, 0, .85));
}

.portfolio-overlay span { color: #56F0BF; font-size: .85rem; margin-bottom: 8px; }
.portfolio-overlay h4 { color: #fff; }
.portfolio-footer { text-align: center; margin-top: 50px; }

/* ==========================================================================
   09. WHY CHOOSE G9
   ========================================================================== */
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.why-card {
  padding: 36px;
  background: var(--surface);
  border-radius: 24px;
  border: 1px solid var(--border);
  transition: .35s;
}

.why-card:hover {
  transform: translateY(-8px);
  border-color: #56F0BF;
}

.why-card i {
  font-size: 2rem;
  margin-bottom: 24px;
  color: #56F0BF;
}

.why-card h3 { margin-bottom: 16px; }
.why-card p { color: var(--muted); }

/* ==========================================================================
   10. OUR PROCESS
   ========================================================================== */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  position: relative;
  margin-top: 60px;
}

.process-grid::before {
  content: "";
  position: absolute;
  top: 48px; left: 10%; right: 10%; height: 2px;
  background: linear-gradient(90deg, rgba(200, 106, 137, .25), rgba(125, 184, 255, .25));
  z-index: 0;
}

.process-card {
  position: relative;
  z-index: 2;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 40px 28px;
  text-align: center;
  transition: .35s;
}

.process-card:hover {
  transform: translateY(-8px);
  border-color: #56F0BF
}

.process-number {
  width: 64px; height: 64px;
  margin: 0 auto 24px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-light), var(--secondary-light));
  color: #fff;
  display: flex; justify-content: center; align-items: center;
  font-weight: 700;
  font-family: "Space Grotesk", sans-serif;
}

.process-card i {
  font-size: 2rem;
  color: #56F0BF;
  margin-bottom: 18px;
}

/* ==========================================================================
   11. ABOUT US
   ========================================================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-image img {
  border-radius: 30px;
  box-shadow: var(--shadow-lg);
}

.about-content p {
  margin: 22px 0;
  color: var(--muted);
}

.about-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin: 40px 0;
}

.about-features div {
  display: flex;
  gap: 12px;
  align-items: center;
}

.about-features i { color: #56F0BF }

/* ==========================================================================
   12. FAQ ACCORDION STYLING
   ========================================================================== */
.faq-wrapper {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  transition: border-color 0.3s ease;
}

.faq-item.active {
  border-color: rgba(125, 184, 255, 0.35);
}

.faq-question {
  width: 100%;
  padding: 22px 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: transparent !important;
  border: none !important;
  outline: none !important;
  color: var(--heading);
  font-size: 1.1rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  font-family: 'Space Grotesk', sans-serif;
  gap: 16px;
  appearance: none;
  -webkit-appearance: none;
}

.faq-question i {
  font-size: 0.9rem;
  color: var(--secondary-light);
  transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1), padding 0.35s ease;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding: 0 28px 24px;
}

.faq-answer p {
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.6;
}

/* ==========================================================================
   13. CALL TO ACTION (CTA)
   ========================================================================== */
.cta { padding: 120px 0; }

.cta-box {
  text-align: center;
  padding: 90px 60px;
  border-radius: 36px;
  background: linear-gradient(145deg, rgba(200, 106, 137, .10), rgba(125, 184, 255, .10));
  border: 1px solid rgba(255, 255, 255, .08);
}

.cta-box h2 { max-width: 760px; margin: 20px auto; }
.cta-box p { max-width: 700px; margin: 0 auto 40px; color: var(--muted); }

/* ==========================================================================
   14. CONTACT SECTION & NATIVE SUCCESS MESSAGE
   ========================================================================== */
.contact-wrapper {
  max-width: 820px;
  margin: 0 auto;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.contact-form input, 
.contact-form textarea {
  width: 100%;
  padding: 18px 22px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--heading);
  font: inherit;
  transition: border-color 0.3s ease;
}

.contact-form textarea {
  min-height: 200px;
  resize: vertical;
}

.contact-form input:focus, 
.contact-form textarea:focus {
  outline: none;
  border-color: var(--secondary-light);
}

.btn-block {
  width: 100%;
  padding: 18px;
  font-size: 1.05rem;
}

.form-success-message {
  text-align: center;
  padding: 40px 30px;
  background: var(--surface);
  border: 1px solid rgba(125, 184, 255, 0.3);
  border-radius: 24px;
  box-shadow: var(--shadow-md);
  animation: fadeIn 0.5s ease forwards;
}

.form-success-message i {
  font-size: 3rem;
  color: var(--secondary-light);
  margin-bottom: 16px;
}

.form-success-message h3 {
  font-size: 1.8rem;
  margin-bottom: 10px;
  color: var(--heading);
}

.form-success-message p {
  color: var(--muted);
  font-size: 1rem;
  max-width: 500px;
  margin: 0 auto;
}

.form-success-message strong {
  color: #56F0BF;
}

/* ==========================================================================
   15. KEYWORDS STRIP
   ========================================================================== */
.keywords { padding: 70px 0; }

.keywords .container {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}

.keywords span {
  padding: 12px 22px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
  transition: .3s;
}

.keywords span:hover {
  color: #fff;
  background: rgba(125, 184, 255, .12);
}

/* ==========================================================================
   16. FOOTER & BACK TO TOP
   ========================================================================== */
.footer {
  padding: 80px 0 30px;
  border-top: 1px solid var(--border);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
  text-decoration: none;
}

.footer-logo img {
  width: 48px;
  height: auto;
}

.footer-logo h3 {
  font-size: 1.35rem;
  margin-bottom: 2px;
  color: var(--heading);
}

.footer-logo span {
  font-size: 0.8rem;
  color: var(--muted);
  display: block;
  font-weight: 400;
}

.footer-brand p {
  color: var(--muted);
  max-width: 340px;
  font-size: 0.95rem;
  line-height: 1.6;
}

.footer h4 { margin-bottom: 22px; }
.footer li { margin-bottom: 12px; }
.footer a { color: var(--muted); transition: .3s; }
.footer a:hover { color: #fff; }

.social-links { display: flex; gap: 14px; }

.social-links a {
  width: 46px; height: 46px;
  display: flex; justify-content: center; align-items: center;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--border);
  transition: var(--transition);
}

.social-links a:hover {
  background: linear-gradient(135deg, var(--primary-light), var(--secondary-light));
  color: #ffffff;
  transform: translateY(-3px);
}

.copyright {
  margin-top: 60px;
  text-align: center;
  color: var(--muted);
  border-top: 1px solid var(--border);
  padding-top: 30px;
}

.back-top {
  position: fixed;
  right: 30px; bottom: 30px;
  width: 54px; height: 54px;
  border: none; border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-light), var(--secondary-light));
  color: #fff;
  cursor: pointer;
  opacity: 0; visibility: hidden;
  transition: .35s;
  z-index: 999;
}

.back-top.show { opacity: 1; visibility: visible; }

/* ==========================================================================
   17. MEDIA QUERIES (RESPONSIVE FOR ALL MOBILE & TABLET SCREENS)
   ========================================================================== */
@media(max-width: 1200px) {
  .about-grid { grid-template-columns: 1fr; }
  .expertise-grid { grid-template-columns: repeat(2, 1fr); }
  .featured-card { grid-column: auto; }
  .portfolio-grid { grid-template-columns: 1fr; }
  .portfolio-feature { grid-row: auto; }
  .why-grid, .highlight-grid, .process-grid, .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media(max-width: 768px) {
  .form-row { grid-template-columns: 1fr; }

  .navigation {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(17, 23, 34, 0.98);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    padding: 24px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  }

  .navigation.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .navigation ul {
    flex-direction: column;
    width: 100%;
    gap: 20px;
    text-align: center;
  }

  .navigation a {
    font-size: 1.1rem;
    display: inline-block;
    padding: 8px 0;
  }

  .mobile-menu {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
  }

  .hero { height: auto; min-height: 500px; padding: 40px 0; }
  .hero-buttons { flex-direction: column; }
  .hero-highlights { justify-content: space-between; gap: 20px; }
  .expertise-grid, .why-grid, .highlight-grid, .process-grid, .footer-grid, .about-features { grid-template-columns: 1fr; }
  .cta-box { padding: 60px 30px; }
  .process-grid::before { display: none; }
}