/* ---
Root Variables and Global Styles
--- */
:root {
  --primary-color-start: #6a11cb;
  --primary-color-end: #2575fc;
  --secondary-color: #002366;
  --background-color: #f8f9fc;
  --surface-color: #ffffff;
  --text-color: #4a5568;
  --heading-color: #1a202c;
  --border-color: #e2e8f0;
  --white-color: #ffffff;
  --shadow-color: rgba(106, 17, 203, 0.1);

  --font-family: "Poppins", sans-serif;
  --header-height: 80px;
  --border-radius: 12px;
  --transition-speed: 0.3s;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-family);
  background-color: var(--background-color);
  color: var(--text-color);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  cursor: none; /* Hide default cursor */
}

body.no-scroll {
  overflow: hidden;
}

/* ---
Custom Cursor
--- */
.cursor-dot,
.cursor-outline {
  pointer-events: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  opacity: 0;
  z-index: 9999;
  transition:
    opacity 0.3s ease-in-out,
    transform 0.2s ease-in-out;
}

.cursor-dot {
  width: 8px;
  height: 8px;
  background-image: linear-gradient(
    45deg,
    var(--primary-color-start),
    var(--primary-color-end)
  );
}

.cursor-outline {
  width: 40px;
  height: 40px;
  background-color: rgba(106, 17, 203, 0.2);
}

body:hover .cursor-dot,
body:hover .cursor-outline {
  opacity: 1;
}

.cursor-outline.hover,
.cursor-outline.text-hover {
  transform: translate(-50%, -50%) scale(1.5);
  background-color: rgba(37, 117, 252, 0.3);
}

.cursor-dot.text-hover {
  transform: translate(-50%, -50%) scale(0.5);
}

/* ---
Global Elements & Typography
--- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--heading-color);
  font-weight: 700;
  line-height: 1.3;
}

h1 {
  font-size: 3.5rem;
}
h2 {
  font-size: 2.5rem;
}
h3 {
  font-size: 1.5rem;
}

p {
  margin-bottom: 1rem;
}
a {
  color: var(--primary-color-end);
  text-decoration: none;
  transition: color var(--transition-speed) ease;
}
a:hover {
  color: var(--primary-color-start);
}

ul {
  list-style: none;
}

section {
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.subtitle {
  display: inline-block;
  color: var(--primary-color-end);
  font-weight: 600;
  margin-bottom: 0.5rem;
  background: rgba(37, 117, 252, 0.1);
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.section-title {
  margin-bottom: 1rem;
}

.section-description {
  max-width: 600px;
  margin: 0 auto;
  font-size: 1.1rem;
}

/* ---
Buttons
--- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.8rem;
  border-radius: 50px;
  font-weight: 600;
  border: 2px solid transparent;
  transition: all var(--transition-speed) ease;
  overflow: hidden;
  position: relative;
  z-index: 1;
}

.btn span {
  margin-right: 0.5rem;
}

.btn-primary {
  background-image: linear-gradient(
    45deg,
    var(--primary-color-start),
    var(--primary-color-end)
  );
  color: var(--white-color);
  box-shadow: 0 4px 15px var(--shadow-color);
}

.btn-primary:hover {
  box-shadow: 0 8px 25px var(--shadow-color);
  transform: translateY(-3px);
}

.btn-secondary {
  background-color: var(--surface-color);
  color: var(--heading-color);
  border-color: var(--border-color);
}

.btn-secondary:hover {
  background-color: var(--heading-color);
  color: var(--white-color);
  border-color: var(--heading-color);
  transform: translateY(-3px);
}

/* ---
Header
--- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background-color: transparent;
  z-index: 1000;
  transition:
    background-color var(--transition-speed) ease,
    box-shadow var(--transition-speed) ease;
  padding: 0 1.5rem;
}

.header.scrolled {
  background-color: rgba(255, 255, 255, 0.9);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  backdrop-filter: blur(10px);
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
}

.logo-link {
  display: flex;
  align-items: center;
  color: var(--heading-color);
  font-weight: 700;
  font-size: 1.5rem;
}

.logo {
  height: 40px;
  filter: invert(1);
  margin-right: 0.75rem;
}

.nav-list {
  display: flex;
  gap: 2rem;
}

.nav-link {
  color: var(--heading-color);
  font-weight: 500;
  position: relative;
  padding: 0.5rem 0;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-image: linear-gradient(
    45deg,
    var(--primary-color-start),
    var(--primary-color-end)
  );
  transition: width var(--transition-speed) ease;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Mobile Toggle */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  width: 30px;
  height: 24px;
  position: relative;
  z-index: 1001;
}

.mobile-toggle .bar {
  display: block;
  width: 100%;
  height: 3px;
  background-color: var(--heading-color);
  border-radius: 3px;
  position: absolute;
  left: 0;
  transition: all 0.3s ease;
}

.mobile-toggle .bar:nth-child(1) {
  top: 0;
}
.mobile-toggle .bar:nth-child(2) {
  bottom: 0;
}

.mobile-nav.open .mobile-toggle .bar:nth-child(1) {
  transform: translateY(10.5px) rotate(45deg);
}

.mobile-nav.open .mobile-toggle .bar:nth-child(2) {
  transform: translateY(-10.5px) rotate(-45deg);
}

/* ---
Mobile Navigation
--- */
.mobile-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--surface-color);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.mobile-nav.open {
  transform: translateX(0);
}

.mobile-nav nav ul {
  text-align: center;
}

.mobile-nav nav li {
  margin: 2rem 0;
}

.mobile-nav nav a {
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--heading-color);
}

/* ---
Hero Section
--- */
.hero {
  padding-top: calc(var(--header-height) + 4rem);
  padding-bottom: 6rem;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.hero-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.hero-title {
  font-size: 4rem;
  margin-bottom: 1.5rem;
}

.highlight-text {
  background-image: linear-gradient(
    45deg,
    var(--primary-color-start),
    var(--primary-color-end)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-description {
  font-size: 1.25rem;
  margin-bottom: 2.5rem;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
}

/* Animated BG Shapes */
.hero-bg-shapes .shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.1;
  animation: float 15s infinite ease-in-out;
}

.hero-bg-shapes .shape-1 {
  width: 300px;
  height: 300px;
  background-color: var(--primary-color-start);
  top: 10%;
  left: 5%;
  animation-delay: 0s;
}

.hero-bg-shapes .shape-2 {
  width: 150px;
  height: 150px;
  background-color: var(--primary-color-end);
  bottom: 15%;
  right: 10%;
  animation-delay: 3s;
}

.hero-bg-shapes .shape-3 {
  width: 200px;
  height: 200px;
  background-color: var(--primary-color-start);
  top: 20%;
  right: 15%;
  animation-delay: 6s;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-30px) rotate(180deg);
  }
}

/* Scroll Down Indicator */
.scroll-down-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
}

.mouse {
  width: 25px;
  height: 40px;
  border: 2px solid var(--heading-color);
  border-radius: 20px;
  position: relative;
}

.mouse::before {
  content: "";
  width: 4px;
  height: 8px;
  background-color: var(--heading-color);
  border-radius: 2px;
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  animation: scroll-anim 1.5s infinite;
}

@keyframes scroll-anim {
  0% {
    opacity: 1;
    top: 8px;
  }
  100% {
    opacity: 0;
    top: 20px;
  }
}

/* ---
Services Section
--- */
.services-section {
  background-color: var(--surface-color);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.service-card {
  background-color: var(--surface-color);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  transition:
    transform var(--transition-speed) ease,
    box-shadow var(--transition-speed) ease,
    border-color var(--transition-speed) ease;
  transform-style: preserve-3d;
}

.service-card:hover {
  transform: translateY(-10px) rotateX(5deg) rotateY(-5deg);
  box-shadow: 0 15px 30px var(--shadow-color);
  border-color: var(--primary-color-end);
}

.card-icon {
  font-size: 2.5rem;
  color: var(--primary-color-end);
  margin-bottom: 1.5rem;
  background-image: linear-gradient(
    45deg,
    var(--primary-color-start),
    var(--primary-color-end)
  );
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white-color);
}

.card-title {
  margin-bottom: 1rem;
}

.card-description {
  margin-bottom: 2rem;
}

.card-link {
  font-size: 1.5rem;
  color: var(--heading-color);
  transition: color var(--transition-speed) ease;
  align-self: flex-end;
}
.service-card:hover .card-link {
  color: var(--primary-color-start);
}

/* ---
About Section
--- */
.about-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: center;
}

.about-image-col {
  position: relative;
}

.about-image {
  position: relative;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.about-image img {
  width: 100%;
  display: block;
}

.experience-badge {
  position: absolute;
  bottom: -30px;
  right: -30px;
  background-image: linear-gradient(
    45deg,
    var(--primary-color-start),
    var(--primary-color-end)
  );
  color: var(--white-color);
  padding: 1.5rem;
  border-radius: var(--border-radius);
  text-align: center;
  font-weight: 600;
  line-height: 1.2;
}

.experience-badge .count {
  font-size: 2.5rem;
  font-weight: 800;
  display: block;
}

.about-content-col .section-title {
  margin-bottom: 1.5rem;
}

.stats-grid {
  display: flex;
  gap: 2rem;
  margin-top: 2rem;
  margin-bottom: 2rem;
}
.stat-item {
  text-align: left;
}
.stat-number {
  font-size: 2.5rem;
  color: var(--primary-color-end);
  font-weight: 800;
}
.stat-number::after {
  content: "+";
}
.stat-number[data-target="98"]::after {
  content: "%";
}

.stat-label {
  margin: 0;
  font-weight: 500;
}

/* ---
Interactive Calculator Section
--- */
.interactive-calculator-section {
  background-color: var(--surface-color);
}
.calculator-wrapper {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3rem;
  background: var(--surface-color);
  padding: 3rem;
  border-radius: var(--border-radius);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  border: 1px solid var(--border-color);
}
.calculator-steps {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.calculator-steps h4 {
  margin-bottom: 1rem;
  color: var(--heading-color);
}
.checkbox-group,
.radio-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}
.checkbox-group label,
.radio-group label {
  display: inline-flex;
  align-items: center;
  background-color: var(--background-color);
  padding: 0.8rem 1.2rem;
  border-radius: 8px;
  cursor: pointer;
  transition: all var(--transition-speed) ease;
  border: 1px solid var(--border-color);
}
.checkbox-group label:hover,
.radio-group label:hover {
  background-color: #e9eef6;
  border-color: #c7d2e3;
}
.checkbox-group input:checked + label,
.radio-group input:checked + label {
  background-image: linear-gradient(
    45deg,
    var(--primary-color-start),
    var(--primary-color-end)
  );
  color: var(--white-color);
  border-color: transparent;
}
.checkbox-group input,
.radio-group input {
  display: none;
}
.calculator-result {
  background-color: var(--background-color);
  padding: 2rem;
  border-radius: var(--border-radius);
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.calculator-result h4 {
  margin-bottom: 1rem;
}
.estimated-price {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  color: var(--primary-color-end);
}
.disclaimer {
  font-size: 0.8rem;
  margin-bottom: 1.5rem;
}

/* ---
Testimonials Section
--- */
.testimonials-section {
  background-color: var(--background-color);
}
.testimonial-slider-wrapper {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}
.testimonial-slider {
  display: flex;
  transition: transform 0.5s ease-in-out;
}
.testimonial-slide {
  min-width: 100%;
  box-sizing: border-box;
  background-color: var(--surface-color);
  padding: 3rem;
  border-radius: var(--border-radius);
  text-align: center;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}
.testimonial-content {
  margin-bottom: 2rem;
}
.testimonial-content i {
  font-size: 2rem;
  color: var(--primary-color-end);
  opacity: 0.5;
  margin-bottom: 1rem;
}
.testimonial-content p {
  font-size: 1.1rem;
  font-style: italic;
  line-height: 1.8;
}
.testimonial-author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}
.testimonial-author img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
}
.author-info h4 {
  margin-bottom: 0;
}
.author-info span {
  font-size: 0.9rem;
  color: var(--text-color);
}
.slider-controls {
  display: flex;
  justify-content: space-between;
  position: absolute;
  top: 50%;
  width: 110%;
  left: -5%;
  transform: translateY(-50%);
}
.slider-controls button {
  background-color: var(--surface-color);
  border: 1px solid var(--border-color);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  transition: all var(--transition-speed) ease;
}
.slider-controls button:hover {
  background-color: var(--primary-color-end);
  color: var(--white-color);
  border-color: var(--primary-color-end);
}

/* ---
Client Marquee Section
--- */
.client-marquee-section {
  padding: 3rem 0;
  background-color: var(--surface-color);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}
.marquee-wrapper {
  width: 100%;
  overflow: hidden;
}
.marquee-content {
  display: flex;
  width: max-content;
  animation: marquee 30s linear infinite;
}
.marquee-content span {
  font-size: 1.5rem;
  color: var(--text-color);
  opacity: 0.6;
  margin: 0 3rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
}
@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* ---
FAQ Section
--- */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
}
.faq-item {
  background-color: var(--surface-color);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  margin-bottom: 1rem;
}
.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem;
  cursor: pointer;
}
.faq-question h3 {
  font-size: 1.1rem;
  margin: 0;
}
.faq-question i {
  transition: transform var(--transition-speed) ease;
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition:
    max-height 0.4s ease-out,
    padding 0.4s ease-out;
}
.faq-answer p {
  padding: 0 1.5rem;
  margin: 0;
}
.faq-item.active .faq-question i {
  transform: rotate(180deg);
}
.faq-item.active .faq-answer {
  max-height: 300px; /* Adjust as needed */
  padding-bottom: 1.5rem;
}

/* ---
CTA Section
--- */
.cta-section {
  padding: 0;
}
.cta-wrapper {
  background-image: linear-gradient(
    45deg,
    var(--primary-color-start),
    var(--primary-color-end)
  );
  color: var(--white-color);
  padding: 5rem 3rem;
  border-radius: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 20px 40px var(--shadow-color);
}
.cta-title {
  color: var(--white-color);
  margin-bottom: 0.5rem;
}
.cta-description {
  opacity: 0.9;
  margin: 0;
  max-width: 600px;
}
.cta-btn {
  background-color: var(--white-color);
  color: var(--primary-color-end);
  font-size: 1.1rem;
  flex-shrink: 0;
}
.cta-btn:hover {
  background-color: var(--background-color);
  transform: translateY(-3px) scale(1.05);
}

/* ---
Footer
--- */
.footer {
  background-color: var(--heading-color);
  color: rgba(255, 255, 255, 0.7);
  padding-top: 6rem;
  position: relative;
}
.footer-top {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  padding-bottom: 4rem;
}
.footer-logo-link {
  display: flex;
  align-items: center;
  margin-bottom: 1.5rem;
  color: var(--white-color);
  font-size: 1.5rem;
  font-weight: 700;
}
.footer-logo {
  height: 40px;
  margin-right: 0.75rem;
}
.footer-about-text {
  margin-bottom: 2rem;
}
.social-links {
  display: flex;
  gap: 1rem;
}
.social-link {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white-color);
  transition: all var(--transition-speed) ease;
}
.social-link:hover {
  background-color: var(--primary-color-end);
  border-color: var(--primary-color-end);
  transform: translateY(-3px);
}

.footer-col-title {
  color: var(--white-color);
  margin-bottom: 1.5rem;
  font-size: 1.2rem;
}
.footer-links ul li {
  margin-bottom: 0.75rem;
}
.footer-links ul a {
  color: rgba(255, 255, 255, 0.7);
}
.footer-links ul a:hover {
  color: var(--white-color);
  padding-left: 5px;
}
.contact-info li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1rem;
}
.contact-info i {
  color: var(--primary-color-end);
  margin-top: 5px;
}
.contact-info a {
  color: rgba(255, 255, 255, 0.7);
}
.contact-info a:hover {
  color: var(--white-color);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 2rem 0;
  text-align: center;
}

.footer-bg-shapes {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
}
.footer-bg-shapes .shape {
  position: absolute;
  background-color: var(--primary-color-end);
  border-radius: 50%;
  opacity: 0.05;
}
.footer-bg-shapes .shape-1 {
  width: 400px;
  height: 400px;
  bottom: -100px;
  left: -100px;
}
.footer-bg-shapes .shape-2 {
  width: 300px;
  height: 300px;
  top: -50px;
  right: -100px;
}

/* ---
Live Chat Widget
--- */
.live-chat-widget {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background-image: linear-gradient(
    45deg,
    var(--primary-color-start),
    var(--primary-color-end)
  );
  color: var(--white-color);
  padding: 0.8rem 1.2rem;
  border-radius: 50px;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 5px 15px var(--shadow-color);
  z-index: 998;
  transition: all var(--transition-speed) ease;
}
.live-chat-widget:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 25px var(--shadow-color);
}

/* ---
Subpages (Legal, Contact)
--- */
body.subpage {
  padding-top: var(--header-height);
}
body.subpage .header {
  background-color: var(--surface-color);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-header {
  padding: 5rem 0;
  text-align: center;
  background-color: var(--surface-color);
}
.page-subtitle {
  font-size: 1.1rem;
  max-width: 600px;
  margin: 1rem auto 0;
}
.breadcrumbs {
  margin-top: 1.5rem;
}
.breadcrumbs a {
  color: var(--text-color);
}
.breadcrumbs span {
  color: var(--heading-color);
  font-weight: 500;
}
.breadcrumbs i {
  font-size: 0.8rem;
  margin: 0 0.5rem;
}

.legal-content {
  background-color: var(--surface-color);
  padding: 4rem 0 6rem;
}
.legal-content .content-wrapper {
  max-width: 800px;
  margin: 0 auto;
  background-color: var(--surface-color);
}
.legal-content h2 {
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--border-color);
}

/* ---
Contact Page Specific
--- */
.contact-section-page {
  background-color: var(--surface-color);
  padding: 6rem 0;
}
.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
  background-color: var(--surface-color);
  border-radius: var(--border-radius);
}

.contact-info-col h2 {
  margin-bottom: 1rem;
}
.contact-info-col > p {
  margin-bottom: 2rem;
}
.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.contact-method {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.method-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: var(--background-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--primary-color-end);
}
.method-details h3 {
  font-size: 1.2rem;
  margin-bottom: 0.25rem;
}
.method-details p {
  margin: 0;
}

.contact-form-wrapper {
  background-color: var(--background-color);
  padding: 3rem;
  border-radius: var(--border-radius);
  border: 1px solid var(--border-color);
}
.form-row {
  display: flex;
  gap: 2rem;
}
.form-group {
  flex: 1;
  margin-bottom: 1.5rem;
}
.form-group label {
  display: block;
  font-weight: 500;
  margin-bottom: 0.5rem;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  background-color: var(--surface-color);
  transition:
    border-color var(--transition-speed) ease,
    box-shadow var(--transition-speed) ease;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary-color-end);
  box-shadow: 0 0 0 3px rgba(37, 117, 252, 0.2);
}
.form-submit-btn {
  width: 100%;
  font-size: 1.1rem;
}

/* Popup */
.popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-speed) ease;
}
.popup:target {
  opacity: 1;
  pointer-events: auto;
}
.popup-content {
  background: var(--surface-color);
  padding: 3rem;
  border-radius: var(--border-radius);
  text-align: center;
  position: relative;
  max-width: 400px;
  transform: scale(0.9);
  transition: transform var(--transition-speed) ease;
}
.popup:target .popup-content {
  transform: scale(1);
}
.popup-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 1.5rem;
  color: var(--text-color);
}
.popup-content .fa-check-circle {
  font-size: 4rem;
  color: #48bb78;
  margin-bottom: 1rem;
}
.popup-content h3 {
  margin-bottom: 0.5rem;
}
.popup-content p {
  margin-bottom: 2rem;
}

/* ---
Scroll Animations
--- */
.animate-on-scroll {
  opacity: 0;
  transition:
    opacity 0.6s ease-out,
    transform 0.6s ease-out;
}

.animate-on-scroll.fade-in {
  opacity: 0;
}
.animate-on-scroll.fade-in.is-visible {
  opacity: 1;
}

.animate-on-scroll.fade-in-up {
  transform: translateY(50px);
}
.animate-on-scroll.fade-in-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.animate-on-scroll.fade-in-left {
  transform: translateX(-50px);
}
.animate-on-scroll.fade-in-left.is-visible {
  opacity: 1;
  transform: translateX(0);
}

.animate-on-scroll.fade-in-right {
  transform: translateX(50px);
}
.animate-on-scroll.fade-in-right.is-visible {
  opacity: 1;
  transform: translateX(0);
}

/* ---
Responsive Design
--- */
@media (max-width: 1024px) {
  h1,
  .hero-title {
    font-size: 3rem;
  }
  h2,
  .section-title {
    font-size: 2.2rem;
  }
  section {
    padding: 5rem 0;
  }
  .about-wrapper {
    grid-template-columns: 1fr;
  }
  .about-image-col {
    max-width: 500px;
    margin: 0 auto;
  }
  .about-content-col {
    text-align: center;
  }
  .stats-grid {
    justify-content: center;
  }
  .cta-wrapper {
    flex-direction: column;
    text-align: center;
    gap: 2rem;
  }
  .calculator-wrapper {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 70px;
  }
  h1,
  .hero-title {
    font-size: 2.5rem;
  }
  h2,
  .section-title {
    font-size: 1.8rem;
  }
  .nav {
    display: none;
  }
  .mobile-toggle {
    display: block;
  }
  .header-cta {
    display: none;
  }

  .hero {
    padding-top: calc(var(--header-height) + 2rem);
  }
  .hero-buttons {
    flex-direction: column;
  }

  .footer-top {
    grid-template-columns: 1fr;
  }
  .footer-col {
    text-align: center;
  }
  .social-links {
    justify-content: center;
  }
  .contact-info li {
    justify-content: center;
  }

  .slider-controls {
    width: 100%;
    left: 0;
  }

  .contact-wrapper {
    grid-template-columns: 1fr;
  }
  .contact-form-wrapper {
    padding: 2rem;
  }
  .form-row {
    flex-direction: column;
    gap: 0;
  }
}
