@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Poppins:wght@500;600;700;800&display=swap");

:root {
  /* Clarity Pro Theme Colors */
  --bg-main: #f8fafc;
  --bg-alt: #f1f5f9;
  --bg-glass: rgba(255, 255, 255, 0.7);
  --bg-glass-dark: rgba(255, 255, 255, 0.9);

  --text-main: #1e293b;
  --text-muted: #64748b;
  --text-light: #f8fafc;

  --header-dark: #4b5563;
  --header-light: #9ca3af;
  --header-gradient: linear-gradient(
    135deg,
    var(--header-dark),
    var(--header-light)
  );

  --btn-primary: #2563eb;
  --btn-accent: #6ee7b7;
  --btn-gradient: linear-gradient(
    135deg,
    var(--btn-primary),
    var(--btn-accent)
  );
  --btn-gradient-hover: linear-gradient(
    135deg,
    var(--btn-accent),
    var(--btn-primary)
  );

  --border-color: rgba(148, 163, 184, 0.2);
  --shadow-sm:
    0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
  --shadow-md:
    0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.025);
  --shadow-lg:
    0 20px 25px -5px rgba(0, 0, 0, 0.05), 0 10px 10px -5px rgba(0, 0, 0, 0.02);
  --shadow-glass: 0 8px 32px 0 rgba(31, 38, 135, 0.07);

  --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --border-radius: 16px;
  --section-pad: 100px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif;
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Poppins", sans-serif;
  color: var(--text-main);
  line-height: 1.2;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 100%;
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Utilities */
.text-gradient {
  background: var(--btn-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.text-gradient-dark {
  background: var(--header-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.section-title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-align: center;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--text-muted);
  text-align: center;
  max-width: 600px;
  margin: 0 auto 4rem;
}

.glass-card {
  background: var(--bg-glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-glass);
  padding: 2.5rem;
  transition: var(--transition);
}

.glass-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  background: var(--bg-glass-dark);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 600;
  font-family: "Poppins", sans-serif;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  font-size: 1rem;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-primary {
  background: var(--btn-gradient);
  color: white;
  box-shadow: 0 10px 20px rgba(37, 99, 235, 0.2);
}

.btn-primary::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: var(--btn-gradient-hover);
  z-index: -1;
  transition: opacity 0.4s ease-in-out;
  opacity: 0;
}

.btn-primary:hover::before {
  opacity: 1;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 25px rgba(37, 99, 235, 0.3);
  color: white;
}

.btn-secondary {
  background: white;
  color: var(--text-main);
  border: 1px solid var(--border-color);
}

.btn-secondary:hover {
  border-color: var(--btn-primary);
  color: var(--btn-primary);
}

/* Header Structure */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: var(--transition);
  padding: 20px 0;
  background: transparent;
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
  padding: 15px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo img {
  height: 40px;
  width: auto;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.nav-menu {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  gap: 32px;
}

.nav-link {
  font-weight: 500;
  color: var(--text-main);
  position: relative;
  padding: 5px 0;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--btn-gradient);
  transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-link:hover,
.nav-link.active {
  color: var(--btn-primary);
}

.nav-close,
.nav-toggle {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
  background: none;
  border: none;
  color: var(--text-main);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

/* Mobile Nav */
@media screen and (max-width: 992px) {
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: -5px 0 30px rgba(0, 0, 0, 0.1);
    padding: 80px 40px;
    flex-direction: column;
    transition: right 0.4s ease-in-out;
  }

  .nav-menu.show-menu {
    right: 0;
  }

  .nav-list {
    flex-direction: column;
    gap: 30px;
  }

  .nav-link {
    font-size: 1.25rem;
  }

  .nav-close {
    display: block;
    position: absolute;
    top: 25px;
    right: 25px;
  }

  .nav-toggle {
    display: block;
  }

  .header-actions .btn {
    display: none;
  }
}

/* Animations */
.animate-element {
  opacity: 0;
  transform: translateY(40px);
  transition:
    opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.animate-element.in-view {
  opacity: 1;
  transform: translateY(0);
}

.delay-100 {
  transition-delay: 0.1s;
}
.delay-200 {
  transition-delay: 0.2s;
}
.delay-300 {
  transition-delay: 0.3s;
}

/* Dynamic Split Text */
.split-word {
  display: inline-block;
  overflow: hidden;
}

.split-char {
  display: inline-block;
  transform: translateY(100%);
  opacity: 0;
  color: var(--text-main); /* FIX: Added text color */
  transition:
    transform 0.6s cubic-bezier(0.16, 1, 0.3, 1),
    opacity 0.6s ease;
}

.split-text-active .split-char {
  transform: translateY(0);
  opacity: 1;
  -webkit-text-fill-color: var(
    --text-main
  ); /* FIX: Removes transparent fill bug */
}

/* Dynamic Split Text */
.split-word {
  display: inline-block;
  overflow: hidden;
}

.split-char {
  display: inline-block;
  transform: translateY(100%);
  opacity: 0;
  transition:
    transform 0.6s cubic-bezier(0.16, 1, 0.3, 1),
    opacity 0.6s ease;
}

.split-text-active .split-char {
  transform: translateY(0);
  opacity: 1;
}

/* --- Hero Section --- */
.hero {
  position: relative;
  padding: 180px 0 100px;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

/* Background Abstract Shapes */
.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background:
    radial-gradient(
      circle at top right,
      rgba(110, 231, 183, 0.1),
      transparent 40%
    ),
    radial-gradient(
      circle at bottom left,
      rgba(37, 99, 235, 0.05),
      transparent 50%
    );
}

.shape {
  position: absolute;
  filter: blur(60px);
  border-radius: 50%;
  animation: float 10s infinite ease-in-out alternate;
}

.shape-1 {
  width: 400px;
  height: 400px;
  background: linear-gradient(
    135deg,
    rgba(37, 99, 235, 0.2),
    rgba(110, 231, 183, 0.2)
  );
  top: -100px;
  right: -100px;
}

.shape-2 {
  width: 300px;
  height: 300px;
  background: linear-gradient(
    135deg,
    rgba(75, 85, 99, 0.1),
    rgba(156, 163, 175, 0.1)
  );
  bottom: 10%;
  left: -50px;
  animation-delay: -5s;
}

@keyframes float {
  0% {
    transform: translate(0, 0) scale(1);
  }
  100% {
    transform: translate(30px, 50px) scale(1.1);
  }
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-content h1 {
  font-size: 4.5rem;
  line-height: 1.1;
  margin-bottom: 24px;
  letter-spacing: -1px;
}

.hero-content p {
  font-size: 1.25rem;
  color: var(--text-muted);
  margin-bottom: 40px;
  max-width: 500px;
}

.hero-btns {
  display: flex;
  gap: 20px;
}

.hero-visual {
  position: relative;
  height: 600px;
  perspective: 1000px;
}

/* 3D Glass Mockup */
.mockup-3d {
  position: absolute;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  animation: rotate3d 20s infinite linear;
}

.mockup-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 24px;
  padding: 30px;
  box-shadow: var(--shadow-xl);
}

.card-main {
  width: 80%;
  height: 70%;
  top: 15%;
  left: 10%;
  transform: translateZ(50px);
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.card-float-1 {
  width: 40%;
  height: 30%;
  top: 5%;
  right: 0;
  transform: translateZ(100px);
  background: var(--header-gradient);
}

.card-float-2 {
  width: 50%;
  height: 25%;
  bottom: 5%;
  left: 0;
  transform: translateZ(80px);
  background: var(--btn-gradient);
}

.mock-line {
  height: 12px;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.05);
  width: 100%;
}
.mock-line.short {
  width: 60%;
}
.mock-line.chart {
  flex-grow: 1;
  background: linear-gradient(to top, rgba(37, 99, 235, 0.1), transparent);
  border-bottom: 2px solid var(--btn-primary);
}

@keyframes rotate3d {
  0% {
    transform: rotateY(0deg) rotateX(5deg);
  }
  50% {
    transform: rotateY(15deg) rotateX(-5deg);
  }
  100% {
    transform: rotateY(0deg) rotateX(5deg);
  }
}

@media screen and (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-content p {
    margin: 0 auto 40px;
  }
  .hero-btns {
    justify-content: center;
  }
  .hero-visual {
    height: 400px;
    display: none; /* Hide complex 3D on mobile for performance */
  }
  .hero-content h1 {
    font-size: 3rem;
  }
}

/* --- Trust Bar --- */
.trust-bar {
  padding: 40px 0;
  background: white;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.trust-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 30px;
  opacity: 0.6;
  filter: grayscale(100%);
  transition: var(--transition);
}

.trust-wrapper:hover {
  opacity: 1;
  filter: grayscale(0%);
}

.trust-logo {
  font-size: 1.5rem;
  font-weight: 700;
  font-family: "Poppins";
  color: var(--header-dark);
}

/* --- About Section --- */
.about-section {
  padding: var(--section-pad) 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-image {
  position: relative;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about-image img {
  width: 100%;
  transform: scale(1.05);
  transition: transform 0.8s ease;
}

.about-image:hover img {
  transform: scale(1);
}

.about-overlay {
  position: absolute;
  bottom: 20px;
  right: 20px;
  background: var(--bg-glass-dark);
  padding: 20px;
  border-radius: 12px;
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-md);
}

.about-stats {
  display: flex;
  gap: 30px;
  margin-top: 40px;
}

.stat-item h4 {
  font-size: 2.5rem;
  color: var(--btn-primary);
  margin-bottom: 5px;
}

.stat-item p {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 500;
}

@media screen and (max-width: 992px) {
  .about-grid {
    grid-template-columns: 1fr;
  }
}

/* --- Services Grid --- */
.services-section {
  padding: var(--section-pad) 0;
  background: var(--bg-alt);
  position: relative;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
}

.service-icon {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  background: rgba(37, 99, 235, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: var(--btn-primary);
  margin-bottom: 24px;
  transition: var(--transition);
}

.glass-card:hover .service-icon {
  background: var(--btn-gradient);
  color: white;
  transform: rotateY(180deg);
}

.service-card h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
}

.service-card p {
  color: var(--text-muted);
  margin-bottom: 20px;
}

.service-link {
  font-weight: 600;
  color: var(--btn-primary);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.service-link i {
  transition: transform 0.3s;
}

.service-link:hover i {
  transform: translateX(5px);
}

/* --- Interactive Dashboard Mockup --- */
.dashboard-section {
  padding: var(--section-pad) 0;
}

.dashboard-container {
  background: white;
  border-radius: 24px;
  padding: 40px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
}

.dashboard-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 20px;
}

.dash-tabs {
  display: flex;
  gap: 20px;
}

.dash-tab {
  padding: 8px 16px;
  border-radius: 20px;
  background: var(--bg-alt);
  color: var(--text-muted);
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
}

.dash-tab.active,
.dash-tab:hover {
  background: var(--btn-primary);
  color: white;
}

.chart-area {
  height: 300px;
  display: flex;
  align-items: flex-end;
  gap: 2%;
  padding-top: 20px;
}

.bar {
  flex: 1;
  background: rgba(37, 99, 235, 0.2);
  border-radius: 6px 6px 0 0;
  position: relative;
  transition:
    height 1s ease-out,
    background 0.3s;
}

.bar:hover {
  background: var(--btn-primary);
}

.bar::after {
  content: attr(data-val);
  position: absolute;
  top: -25px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 12px;
  font-weight: 600;
  opacity: 0;
  transition: opacity 0.3s;
}

.bar:hover::after {
  opacity: 1;
}

/* --- Industry Expertise (Tabs) --- */
.industry-section {
  padding: var(--section-pad) 0;
  background: var(--header-dark);
  color: white;
}

.industry-section .section-title,
.industry-section .section-subtitle {
  color: white;
}

.industry-layout {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 60px;
}

.industry-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.ind-btn {
  padding: 20px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  text-align: left;
  color: white;
  font-family: "Poppins";
  font-size: 1.1rem;
  cursor: pointer;
  transition: var(--transition);
}

.ind-btn.active,
.ind-btn:hover {
  background: var(--btn-primary);
  border-color: var(--btn-primary);
  padding-left: 30px;
}

.ind-content {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 24px;
  padding: 40px;
  display: none;
  animation: fadeInRight 0.5s ease forwards;
}

.ind-content.active {
  display: block;
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@media screen and (max-width: 768px) {
  .industry-layout {
    grid-template-columns: 1fr;
  }
}

/* --- Parallax Project Highlights --- */
.case-studies {
  padding: var(--section-pad) 0;
}

.case-item {
  position: relative;
  height: 500px;
  border-radius: 24px;
  overflow: hidden;
  margin-bottom: 40px;
  display: flex;
  align-items: center;
}

.case-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 120%; /* Extra height for parallax */
  background-size: cover;
  background-position: center;
  background-color: var(--header-dark); /* Fallback */
  z-index: -1;
  transition: transform 0.1s linear;
}

.case-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to right,
    rgba(30, 41, 59, 0.9) 0%,
    rgba(30, 41, 59, 0.4) 100%
  );
}

.case-content {
  position: relative;
  padding: 60px;
  color: white;
  max-width: 600px;
  z-index: 2;
}

.case-content h3 {
  font-size: 2.5rem;
  color: white;
  margin-bottom: 20px;
}

.tag {
  display: inline-block;
  padding: 6px 12px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(5px);
  border-radius: 20px;
  font-size: 0.85rem;
  margin-bottom: 20px;
}

/* --- ROI Calculator --- */
.calculator-section {
  padding: var(--section-pad) 0;
  background: var(--bg-alt);
}

.calc-wrapper {
  background: white;
  border-radius: 24px;
  padding: 50px;
  box-shadow: var(--shadow-lg);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.calc-controls label {
  display: block;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--text-main);
}

.calc-slider {
  width: 100%;
  margin-bottom: 30px;
  -webkit-appearance: none;
  height: 8px;
  background: var(--bg-alt);
  border-radius: 4px;
  outline: none;
}

.calc-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--btn-primary);
  cursor: pointer;
  box-shadow: 0 0 10px rgba(37, 99, 235, 0.3);
}

.val-display {
  float: right;
  color: var(--btn-primary);
  font-weight: 700;
}

.calc-results {
  background: var(--header-dark);
  border-radius: 16px;
  padding: 40px;
  color: white;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.res-box {
  margin-bottom: 30px;
}

.res-box h4 {
  color: var(--text-muted);
  font-size: 1rem;
  margin-bottom: 10px;
}

.res-box .amount {
  font-size: 3rem;
  font-weight: 700;
  color: var(--btn-accent);
}

@media screen and (max-width: 768px) {
  .calc-wrapper {
    grid-template-columns: 1fr;
    padding: 30px;
  }
}

/* --- Testimonials --- */
.testimonials-section {
  padding: var(--section-pad) 0;
}

.testi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.testi-card {
  position: relative;
}

.quote-icon {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 3rem;
  color: rgba(37, 99, 235, 0.1);
  font-family: serif;
  line-height: 1;
}

.testi-card p {
  font-size: 1.1rem;
  font-style: italic;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.client-info {
  display: flex;
  align-items: center;
  gap: 15px;
}

.client-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--header-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: bold;
}

.client-details h4 {
  font-size: 1rem;
  margin-bottom: 2px;
}

.client-details span {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* --- CTA Banner --- */
.cta-section {
  padding: 80px 0;
}

.cta-banner {
  background: var(--header-gradient);
  border-radius: 24px;
  padding: 60px;
  text-align: center;
  color: white;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle,
    rgba(110, 231, 183, 0.2) 0%,
    transparent 60%
  );
  animation: rotate3d 10s linear infinite;
}

.cta-banner h2 {
  color: white;
  font-size: 2.5rem;
  margin-bottom: 20px;
  position: relative;
  z-index: 2;
}

.cta-banner p {
  font-size: 1.2rem;
  margin-bottom: 40px;
  opacity: 0.9;
  position: relative;
  z-index: 2;
}

/* --- Footer --- */
.footer {
  background: white;
  padding: 80px 0 20px;
  border-top: 1px solid var(--border-color);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 60px;
}

.footer-about .logo img {
  height: 40px;
  margin-bottom: 20px;
}

.footer-about-text {
  color: var(--text-muted);
  margin-bottom: 24px;
  max-width: 300px;
}

.social-links {
  display: flex;
  gap: 15px;
}

.social-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--header-dark);
  transition: var(--transition);
}

.social-link:hover {
  background: var(--btn-primary);
  color: white;
  transform: translateY(-3px);
}

.footer-col-title {
  font-size: 1.1rem;
  margin-bottom: 24px;
  color: var(--text-main);
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  color: var(--text-muted);
  font-weight: 500;
}

.footer-links a:hover {
  color: var(--btn-primary);
  padding-left: 5px;
}

.footer-contact ul {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--text-muted);
}

.footer-contact i {
  color: var(--btn-primary);
  margin-top: 4px;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid var(--border-color);
  color: var(--text-muted);
  font-size: 0.9rem;
}

@media screen and (max-width: 992px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media screen and (max-width: 576px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* --- Forms & Legal Pages Adjustments --- */
.page-header-section {
  padding: 180px 0 80px;
  background: var(--bg-alt);
  text-align: center;
  border-bottom: 1px solid var(--border-color);
}

.breadcrumbs {
  margin-top: 15px;
  color: var(--text-muted);
  font-weight: 500;
}

.breadcrumbs span {
  color: var(--btn-primary);
}

.legal-content {
  max-width: 800px;
  margin: 0 auto;
  background: white;
  padding: 50px;
  border-radius: 24px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
}

.legal-content h2 {
  margin: 40px 0 20px;
  font-size: 1.8rem;
}

.legal-content p {
  margin-bottom: 20px;
  color: var(--text-muted);
  font-size: 1.05rem;
}

.contact-page-section {
  padding: var(--section-pad) 0;
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 60px;
  background: white;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.contact-info-panel {
  background: var(--header-gradient);
  color: white;
  padding: 50px;
}

.contact-info-panel h3,
.contact-title {
  color: white;
  margin-bottom: 20px;
}

.contact-info-panel p {
  opacity: 0.9;
  margin-bottom: 40px;
}

.contact-details-list {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.contact-details-list li {
  display: flex;
  gap: 20px;
}

.contact-details-list i {
  font-size: 1.5rem;
  color: var(--btn-accent);
}

.contact-details-list h4 {
  color: white;
  font-size: 1.1rem;
  margin-bottom: 5px;
}

.contact-details-list a,
.contact-details-list p {
  color: rgba(255, 255, 255, 0.8);
}

.contact-form-wrapper {
  padding: 50px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  margin-bottom: 25px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  font-size: 0.9rem;
}

.form-control {
  width: 100%;
  padding: 15px 20px;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  font-family: "Inter", sans-serif;
  font-size: 1rem;
  transition: var(--transition);
  background: var(--bg-alt);
}

.form-control:focus {
  outline: none;
  border-color: var(--btn-primary);
  background: white;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

textarea.form-control {
  resize: vertical;
  min-height: 150px;
}

@media screen and (max-width: 992px) {
  .contact-wrapper {
    grid-template-columns: 1fr;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
}

/* Chat Widget Mock */
.chat-widget {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background: var(--btn-gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 24px;
  box-shadow: var(--shadow-lg);
  cursor: pointer;
  z-index: 999;
  transition: var(--transition);
  animation: pulse 2s infinite;
}

.chat-widget:hover {
  transform: scale(1.1);
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.4);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(37, 99, 235, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 99, 235, 0);
  }
}
