/*
* Digital Marketing Agency Redesign
* AWWWARDS-Level Quality
* Dark Theme, Professional, Animated
*/

/* -------------------
   1. CSS Variables & Resets
   ------------------- */
:root {
  --bg-primary: #0a0a1a;
  --bg-secondary: #101024;
  --bg-tertiary: #1a1a3a;
  --primary-accent: #8a42ff;
  --primary-accent-hover: #a06aff;
  --secondary-accent: #00e0c6;
  --text-primary: #e0e0ff;
  --text-secondary: #a0a0c0;
  --text-headings: #ffffff;
  --border-color: #2a2a4a;
  --font-primary: "Poppins", sans-serif;
  --header-height: 80px;
  --shadow-light: 0 4px 15px rgba(0, 0, 0, 0.2);
  --shadow-medium: 0 8px 30px rgba(138, 66, 255, 0.1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-primary);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
  cursor: none; /* Hide default cursor */
}

body.no-scroll {
  overflow: hidden;
}

/* -------------------
   2. Custom Cursor
   ------------------- */
.cursor-dot,
.cursor-outline {
  pointer-events: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  opacity: 0;
  transition:
    opacity 0.3s ease-in-out,
    transform 0.2s ease-in-out;
  z-index: 9999;
}

.cursor-dot {
  width: 8px;
  height: 8px;
  background-color: var(--primary-accent);
}

.cursor-outline {
  width: 40px;
  height: 40px;
  border: 2px solid var(--primary-accent);
  transition:
    width 0.3s ease,
    height 0.3s ease,
    border-color 0.3s ease,
    background-color 0.3s ease;
}

body:hover .cursor-dot,
body:hover .cursor-outline {
  opacity: 1;
}

/* Cursor hover states */
a:hover ~ .cursor-outline,
button:hover ~ .cursor-outline,
.service-card:hover ~ .cursor-outline {
  width: 60px;
  height: 60px;
  background-color: rgba(138, 66, 255, 0.2);
  border-color: var(--primary-accent-hover);
}

/* -------------------
   3. Global Styles & Typography
   ------------------- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

h1,
h2,
h3,
h4 {
  font-weight: 700;
  color: var(--text-headings);
  line-height: 1.2;
}

h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
}

h2 {
  font-size: clamp(2rem, 5vw, 3rem);
}

h3 {
  font-size: clamp(1.25rem, 3vw, 1.5rem);
}

p {
  margin-bottom: 1rem;
  color: var(--text-secondary);
}

a {
  color: var(--primary-accent);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--primary-accent-hover);
}

.section-tagline {
  display: inline-block;
  color: var(--primary-accent);
  font-weight: 600;
  margin-bottom: 0.5rem;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
}

.section-title {
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.1rem;
}

/* -------------------
   4. Buttons
   ------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 14px 28px;
  border-radius: 50px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all 0.4s ease;
  z-index: 1;
}

.btn span {
  position: relative;
  z-index: 2;
}

.btn i {
  transition: transform 0.3s ease;
  z-index: 2;
}

.btn:hover i {
  transform: translateX(5px);
}

.btn-primary {
  background: var(--primary-accent);
  color: white;
}

.btn-primary:hover {
  background: var(--primary-accent-hover);
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(138, 66, 255, 0.3);
}

.btn-primary-light {
  background: white;
  color: var(--bg-primary);
}
.btn-primary-light:hover {
  background: #f0f0f0;
  color: var(--bg-primary);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(255, 255, 255, 0.2);
}

.btn-secondary {
  background: transparent;
  color: var(--text-primary);
  border: 2px solid var(--border-color);
}

.btn-secondary:hover {
  background: var(--primary-accent);
  color: white;
  border-color: var(--primary-accent);
}

/* -------------------
   5. Aurora Background Effect
   ------------------- */
.aurora-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: -1;
}

.aurora-shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(150px);
  opacity: 0.15;
  animation: move-aurora 20s infinite alternate;
}

.aurora-shape.shape-1 {
  width: 600px;
  height: 600px;
  background: #5a00e0;
  top: -20%;
  left: -10%;
  animation-duration: 25s;
}

.aurora-shape.shape-2 {
  width: 700px;
  height: 700px;
  background: #00e0c6;
  top: 50%;
  right: -20%;
  animation-duration: 20s;
  animation-delay: -5s;
}

.aurora-shape.shape-3 {
  width: 500px;
  height: 500px;
  background: #8a42ff;
  bottom: -15%;
  left: 30%;
  animation-duration: 30s;
  animation-delay: -10s;
}

@keyframes move-aurora {
  0% {
    transform: translate(0, 0) rotate(0deg);
  }
  100% {
    transform: translate(100px, 150px) rotate(90deg);
  }
}

/* -------------------
   6. Header & Navigation
   ------------------- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 1000;
  transition:
    background-color 0.3s ease,
    box-shadow 0.3s ease;
}

.header.scrolled {
  background-color: rgba(10, 10, 26, 0.8);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.header .container {
  height: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  height: 40px;
  width: auto;
  filter: invert(1);
  transition: transform 0.3s ease;
}

.logo-link:hover .logo {
  transform: scale(1.05);
}

.nav-list {
  display: flex;
  list-style: none;
  gap: 40px;
}

.nav-link {
  color: var(--text-primary);
  font-weight: 500;
  position: relative;
  padding: 10px 0;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-accent);
  transition: width 0.4s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1002;
}

.bar {
  width: 100%;
  height: 3px;
  background-color: var(--text-headings);
  border-radius: 3px;
  transition:
    transform 0.3s ease,
    opacity 0.3s ease;
}

.mobile-nav.is-open .bar-top {
  transform: translateY(9px) rotate(45deg);
}
.mobile-nav.is-open .bar-middle {
  opacity: 0;
}
.mobile-nav.is-open .bar-bottom {
  transform: translateY(-9px) rotate(-45deg);
}

/* -------------------
   7. Mobile Navigation
   ------------------- */
.mobile-nav {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  max-width: 320px;
  height: 100vh;
  background: var(--bg-secondary);
  z-index: 1001;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition: right 0.5s cubic-bezier(0.77, 0, 0.175, 1);
  box-shadow: -5px 0 25px rgba(0, 0, 0, 0.3);
}

.mobile-nav.is-open {
  right: 0;
}

.mobile-nav nav ul {
  list-style: none;
  text-align: center;
}

.mobile-nav nav ul li {
  margin: 20px 0;
}

.mobile-nav nav ul li a {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-headings);
  padding: 10px;
  display: block;
}

/* -------------------
   8. Hero Section
   ------------------- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--header-height);
}

.hero .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.hero-content {
  flex: 1;
  max-width: 600px;
}

.hero-title {
  margin-bottom: 1.5rem;
}

.highlight-text {
  color: var(--primary-accent);
}

.hero-subtitle {
  font-size: 1.1rem;
  max-width: 500px;
  margin-bottom: 2.5rem;
}

.hero-cta {
  display: flex;
  gap: 20px;
}

.hero-visual {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  max-width: 500px;
}

.hero-graphic {
  position: relative;
  width: 400px;
  height: 400px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.floating-logo {
  width: 150px;
  height: auto;
  animation: float 6s ease-in-out infinite;
  z-index: 2;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
  }
}

.graphic-ring {
  position: absolute;
  border-radius: 50%;
  border: 2px solid var(--border-color);
  animation: pulse-ring 8s ease-in-out infinite;
}

.ring-1 {
  width: 100%;
  height: 100%;
  animation-delay: 0s;
}
.ring-2 {
  width: 80%;
  height: 80%;
  animation-delay: -2s;
}
.ring-3 {
  width: 60%;
  height: 60%;
  animation-delay: -4s;
}

@keyframes pulse-ring {
  0%,
  100% {
    transform: scale(0.9);
    opacity: 0.5;
  }
  50% {
    transform: scale(1.05);
    opacity: 1;
  }
}

/* -------------------
   9. Services Section
   ------------------- */
.services-section {
  padding: 100px 0;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.service-card {
  background: linear-gradient(145deg, var(--bg-secondary), var(--bg-tertiary));
  border: 1px solid var(--border-color);
  padding: 40px 30px;
  border-radius: 16px;
  text-align: center;
  transition:
    transform 0.4s ease,
    box-shadow 0.4s ease;
  position: relative;
  overflow: hidden;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-medium);
}

.service-card::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle,
    rgba(138, 66, 255, 0.15),
    transparent 40%
  );
  transition: opacity 0.5s ease;
  opacity: 0;
  animation: rotate 10s linear infinite;
}

.service-card:hover::before {
  opacity: 1;
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.card-icon {
  font-size: 2.5rem;
  color: var(--primary-accent);
  margin-bottom: 20px;
  display: inline-block;
  background: var(--bg-primary);
  width: 80px;
  height: 80px;
  border-radius: 50%;
  line-height: 80px;
  box-shadow: var(--shadow-light);
}

.card-title {
  margin-bottom: 15px;
}

.card-description {
  font-size: 0.95rem;
  margin-bottom: 25px;
}

.card-link {
  font-weight: 600;
  color: var(--text-primary);
  transition: color 0.3s ease;
}

.card-link i {
  transition: transform 0.3s ease;
  margin-left: 5px;
}

.service-card:hover .card-link {
  color: var(--primary-accent);
}

.service-card:hover .card-link i {
  transform: translateX(5px);
}

/* -------------------
   10. About Section
   ------------------- */
.about-section {
  padding: 100px 0;
  background-color: var(--bg-secondary);
}

.about-section .container {
  display: flex;
  align-items: center;
  gap: 60px;
}

.about-visual {
  flex: 1;
  perspective: 1000px;
}
.about-image-wrapper {
  transform: rotateY(-20deg) rotateX(10deg);
  transition: transform 0.5s ease;
  border-radius: 20px;
  box-shadow: 20px 20px 50px rgba(0, 0, 0, 0.5);
  border: 1px solid var(--border-color);
}
.about-image-wrapper:hover {
  transform: rotateY(0) rotateX(0);
}
.image-placeholder {
  width: 100%;
  padding-bottom: 120%; /* Aspect ratio */
  background: url("https://via.placeholder.com/400x480/1a1a3a/8a42ff?text=Our+Team")
    center/cover;
  border-radius: 20px;
}

.about-content {
  flex: 1.2;
}

.about-stats {
  display: flex;
  gap: 40px;
  margin: 30px 0;
}

.stat-item {
  text-align: center;
}

.stat-number {
  display: block;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-accent);
}

.stat-label {
  color: var(--text-secondary);
}

/* -------------------
   11. Process Section
   ------------------- */
.process-section {
  padding: 100px 0;
}

.process-timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.process-timeline::after {
  content: "";
  position: absolute;
  width: 3px;
  background: var(--border-color);
  top: 0;
  bottom: 0;
  left: 50%;
  margin-left: -1.5px;
}

.process-step {
  padding: 10px 40px;
  position: relative;
  width: 50%;
}

.process-step:nth-child(odd) {
  left: 0;
  text-align: right;
}

.process-step:nth-child(even) {
  left: 50%;
}

.step-number-container {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: var(--bg-secondary);
  border: 3px solid var(--primary-accent);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1;
  box-shadow: var(--shadow-medium);
}
.process-step:nth-child(odd) .step-number-container {
  right: -30px;
}
.process-step:nth-child(even) .step-number-container {
  left: -30px;
}

.step-number {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-accent);
}

.step-content {
  padding: 20px 30px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  position: relative;
}

/* -------------------
   12. Testimonials Section
   ------------------- */
.testimonials-section {
  padding: 100px 0;
  background-color: var(--bg-secondary);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.testimonial-card {
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  padding: 30px;
  border-radius: 12px;
}

.testimonial-quote-icon {
  font-size: 2rem;
  color: var(--primary-accent);
  opacity: 0.5;
  margin-bottom: 15px;
}

.testimonial-text {
  margin-bottom: 25px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 15px;
}

.author-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: var(--primary-accent);
  /* Placeholder */
  background: url("https://via.placeholder.com/50") center/cover;
}

.author-name {
  margin: 0;
  font-size: 1.1rem;
}

.author-title {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

/* -------------------
   13. Interactive/Calculator Section
   ------------------- */
.interactive-section {
  padding: 100px 0;
}
.interactive-section .container {
  display: flex;
  gap: 50px;
  align-items: center;
}
.interactive-content {
  flex: 1;
}
.roi-calculator {
  flex: 1.2;
  background: var(--bg-secondary);
  padding: 40px;
  border-radius: 20px;
  border: 1px solid var(--border-color);
}
.roi-calculator .form-group {
  margin-bottom: 20px;
}
.roi-calculator label {
  display: block;
  margin-bottom: 10px;
  font-weight: 500;
}
input[type="range"] {
  -webkit-appearance: none;
  width: 100%;
  height: 8px;
  background: var(--border-color);
  border-radius: 5px;
  outline: none;
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  background: var(--primary-accent);
  cursor: pointer;
  border-radius: 50%;
}
.range-value {
  display: block;
  text-align: right;
  font-weight: 600;
  color: var(--primary-accent);
}
.roi-result {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid var(--border-color);
  text-align: center;
}
.roi-result h3 {
  font-size: 2.5rem;
  color: var(--secondary-accent);
}

/* -------------------
   14. Reporting Section
   ------------------- */
.reporting-section {
  padding: 100px 0;
}
.report-visual {
  margin-top: 60px;
  perspective: 1500px;
}
.dashboard-mockup {
  background-color: #0c0c1e;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 20px;
  transform: rotateX(15deg) rotateY(-10deg) scale(0.9);
  transition: transform 0.5s ease;
  box-shadow: 0 50px 100px rgba(0, 0, 0, 0.5);
}
.dashboard-mockup:hover {
  transform: rotateX(0) rotateY(0) scale(1);
}
.mockup-header {
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-color);
}
.kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 20px;
}
.kpi-card {
  background-color: var(--bg-secondary);
  padding: 15px;
  border-radius: 8px;
}
.kpi-card h4 {
  font-size: 0.9rem;
  color: var(--text-secondary);
  font-weight: 500;
}
.kpi-card p {
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  margin: 0;
}
.change.positive {
  color: var(--secondary-accent);
}
.chart-placeholder {
  width: 100%;
  height: 250px;
  background: linear-gradient(var(--bg-secondary), transparent);
  border-radius: 8px;
  position: relative;
  overflow: hidden;
}
.chart-placeholder::after {
  content: "Analytics Chart Placeholder";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: var(--text-secondary);
}

/* -------------------
   15. CTA Section
   ------------------- */
.cta-section {
  padding: 80px 0;
  background: linear-gradient(
    45deg,
    var(--primary-accent),
    var(--secondary-accent)
  );
}

.cta-section .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
}

.cta-title {
  color: var(--bg-primary);
  margin-bottom: 0.5rem;
}

.cta-text {
  color: rgba(10, 10, 26, 0.8);
  max-width: 600px;
  margin-bottom: 0;
}

/* -------------------
   16. Live Chat Widget
   ------------------- */
.live-chat-widget {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background: var(--primary-accent);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.5rem;
  color: white;
  cursor: pointer;
  z-index: 999;
  box-shadow: var(--shadow-medium);
  transition:
    transform 0.3s ease,
    background-color 0.3s ease;
}
.live-chat-widget:hover {
  transform: scale(1.1);
  background: var(--primary-accent-hover);
}

/* -------------------
   17. Footer
   ------------------- */
.footer {
  padding-top: 100px;
  background-color: var(--bg-primary);
  position: relative;
  overflow: hidden;
}

.footer-shapes {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: 0.05;
}
.footer-shape {
  position: absolute;
  background-color: var(--primary-accent);
  border-radius: 50%;
  filter: blur(100px);
}
.footer-shape.shape-1 {
  width: 400px;
  height: 400px;
  left: -100px;
  bottom: -100px;
}
.footer-shape.shape-2 {
  width: 300px;
  height: 300px;
  right: -50px;
  top: 0;
}

.footer .container {
  position: relative;
  z-index: 1;
}

.footer-top {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  padding-bottom: 50px;
  border-bottom: 1px solid var(--border-color);
}

.footer-logo {
  height: 60px;
  filter: invert(1);
  margin-bottom: 20px;
}

.footer-about-text {
  font-size: 0.95rem;
  margin-bottom: 20px;
}

.social-links {
  display: flex;
  gap: 15px;
}

.social-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--bg-tertiary);
  color: var(--text-secondary);
  display: flex;
  justify-content: center;
  align-items: center;
  transition:
    background-color 0.3s,
    color 0.3s;
}

.social-link:hover {
  background-color: var(--primary-accent);
  color: white;
}

.footer-col-title {
  margin-bottom: 20px;
  font-size: 1.2rem;
}

.footer-links ul,
.contact-info {
  list-style: none;
}

.footer-links ul li {
  margin-bottom: 10px;
}

.footer-links ul a,
.contact-info a {
  color: var(--text-secondary);
  transition:
    color 0.3s ease,
    padding-left 0.3s ease;
}

.footer-links ul a:hover,
.contact-info a:hover {
  color: var(--primary-accent);
  padding-left: 5px;
}

.contact-info li {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 15px;
  color: var(--text-secondary);
}
.contact-info i {
  color: var(--primary-accent);
  margin-top: 4px;
}

.footer-bottom {
  padding: 30px 0;
  text-align: center;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* -------------------
   18. Subpages (Contact, Legal)
   ------------------- */
body.subpage {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
body.subpage main {
  flex-grow: 1;
}

.page-header {
  padding: 160px 0 80px;
  text-align: center;
  background:
    linear-gradient(rgba(10, 10, 26, 0.5), rgba(10, 10, 26, 0.5)),
    url("https://via.placeholder.com/1920x400/0a0a1a/101024?text=") center/cover
      no-repeat;
}
.page-header h1 {
  margin-bottom: 1rem;
}
.page-header p {
  max-width: 600px;
  margin: 0 auto 1.5rem;
}
.breadcrumbs {
  color: var(--text-secondary);
}
.breadcrumbs a {
  color: var(--text-primary);
}
.breadcrumbs i {
  font-size: 0.8rem;
  margin: 0 10px;
}

.page-content,
.contact-section {
  padding: 100px 0;
}

.content-wrapper {
  max-width: 800px;
  margin: 0 auto;
  background-color: var(--bg-secondary);
  padding: 40px;
  border-radius: 12px;
  border: 1px solid var(--border-color);
}
.content-wrapper h2 {
  margin: 2rem 0 1rem;
  color: var(--primary-accent);
}

/* Contact Page Specifics */
.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  background-color: var(--bg-secondary);
  padding: 50px;
  border-radius: 20px;
  border: 1px solid var(--border-color);
}
.contact-methods {
  margin-top: 30px;
}
.contact-method {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 25px;
}
.method-icon {
  width: 60px;
  height: 60px;
  background-color: var(--bg-tertiary);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.5rem;
  color: var(--primary-accent);
}
.method-details h3 {
  font-size: 1.2rem;
  margin-bottom: 0;
}
.method-details p,
.method-details a {
  margin: 0;
  color: var(--text-secondary);
}

.contact-form .form-row {
  display: flex;
  gap: 20px;
}
.contact-form .form-group {
  flex: 1;
  margin-bottom: 20px;
  width: 100%;
}
.contact-form .form-group.full-width {
  flex-basis: 100%;
}
.contact-form label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
}
.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 14px;
  background-color: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  color: var(--text-primary);
  font-size: 1rem;
  transition:
    border-color 0.3s,
    box-shadow 0.3s;
}
.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  outline: none;
  border-color: var(--primary-accent);
  box-shadow: 0 0 0 3px rgba(138, 66, 255, 0.3);
}

/* Popup */
.popup {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.4s ease,
    visibility 0.4s ease;
  z-index: 2000;
}
.popup:target {
  opacity: 1;
  visibility: visible;
}
.popup-content {
  background: var(--bg-secondary);
  padding: 40px;
  border-radius: 12px;
  text-align: center;
  position: relative;
  max-width: 400px;
  transform: scale(0.8);
  transition: transform 0.4s ease;
}
.popup:target .popup-content {
  transform: scale(1);
}
.popup-close {
  position: absolute;
  top: 15px;
  right: 15px;
  font-size: 2rem;
  color: var(--text-secondary);
  line-height: 1;
}
.popup .fa-check-circle {
  font-size: 4rem;
  color: var(--secondary-accent);
  margin-bottom: 1rem;
}
.popup h3 {
  margin-bottom: 0.5rem;
}
.popup p {
  margin-bottom: 1.5rem;
}

/* -------------------
   19. Animations
   ------------------- */
.anim-reveal {
  opacity: 0;
  transform: translateY(30px);
}

/* -------------------
   20. Responsive Design
   ------------------- */

/* Tablets */
@media (max-width: 992px) {
  .nav-list {
    display: none;
  }
  .mobile-toggle {
    display: flex;
  }
  .hero .container {
    flex-direction: column;
    text-align: center;
  }
  .hero-content {
    max-width: 100%;
    margin-top: 40px;
  }
  .hero-cta {
    justify-content: center;
  }
  .about-section .container {
    flex-direction: column;
  }
  .interactive-section .container {
    flex-direction: column;
  }
  .cta-section .container {
    flex-direction: column;
    text-align: center;
  }
  .contact-wrapper {
    grid-template-columns: 1fr;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .process-timeline::after {
    left: 30px;
  }
  .process-step {
    width: 100%;
    padding-left: 80px;
    padding-right: 15px;
    text-align: left !important;
  }
  .process-step:nth-child(even) {
    left: 0;
  }
  .step-number-container {
    left: 0 !important;
  }
  .contact-wrapper {
    padding: 30px;
  }
  .contact-form .form-row {
    flex-direction: column;
  }
  .footer-top {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .social-links {
    justify-content: center;
  }
  .contact-info li {
    justify-content: center;
    text-align: left;
  }
}
