/* GLOBAL STYLES */
*, *::before, *::after {
  box-sizing: border-box;
}

html, body {
  scroll-behavior: smooth;
  overflow-x: hidden;
  width: 100%;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Segoe UI', sans-serif;
  background-color: #f9f9f9;
  color: #333;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  text-decoration: none;
  color: inherit;
}

/* NAVBAR */
.navbar {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 40px;
  background-color: #fff;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
  flex-wrap: wrap;
  z-index: 1000;
  opacity: 1;
  transform: none;
  transition: opacity 0.6s ease-out, transform 0.6s ease-out, box-shadow 0.3s ease;
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}

.navbar.navbar-animate {
  opacity: 0;
  transform: translateY(-12px);
}

.navbar.navbar-visible {
  opacity: 1;
  transform: translateY(0);
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}

.logo {
  font-weight: bold;
  font-size: 1.8rem;
  color: #007bff;
  flex-shrink: 0;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 10px;
  padding: 0;
  margin: 0;
  align-items: center;
  flex-wrap: wrap;
  
}

nav li {
  position: relative;
}

nav a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  padding: 8px 12px;
  display: inline-block;
  transition: color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease, opacity 0.4s ease;
}

/* Stagger only while animating in (fail-safe) */
.navbar.navbar-animate:not(.navbar-visible) .nav-left > nav > ul > li > a {
  opacity: 0;
  transform: translateY(6px);
}

.navbar.navbar-animate:not(.navbar-visible) .nav-right a {
  opacity: 0;
  transform: translateY(6px);
}

/* Ensure dropdown links are always visible */
.dropdown-content a,
.dropdown-content h3 {
  opacity: 1 !important;
  transform: none !important;
}

.nav-right {
  display: flex;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
}

.nav-right .signin {
  color: #333;
  font-weight: 500;
  padding: 8px 15px;
}

.nav-right .cta {
  background-color: #007bff;
  color: #fff;
  padding: 8px 18px;
  border-radius: 6px;
  font-weight: 500;
  white-space: nowrap;
  transition: background 0.3s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.nav-right .cta:hover {
  background-color: #0056b3;
  transform: translateY(-2px);
  box-shadow: 0 10px 18px rgba(0, 91, 187, 0.35);
}

.navbar.navbar-visible nav li:nth-child(1) > a {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.05s;
}

.navbar.navbar-visible nav li:nth-child(2) > a {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.1s;
}

.navbar.navbar-visible nav li:nth-child(3) > a {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.15s;
}

.navbar.navbar-visible nav li:nth-child(4) > a {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.2s;
}

.navbar.navbar-visible .nav-right .signin {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.25s;
}

.navbar.navbar-visible .nav-right .cta {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.3s;
}

/* Dropdown Styles - Mega Menu */
.dropdown {
  position: static; /* Allows mega menu to span full width relative to navbar */
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #fff;
  width: 100%;
  left: 0;
  top: 100%;
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
  z-index: 1001;
  border-top: 1px solid #eee;
  padding: 40px 0;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Show class for click interaction */
.dropdown-content.show {
  display: flex; /* Use flexbox for layout */
  justify-content: center;
  opacity: 1;
  transform: translateY(0);
}

/* Hover-open removed to prevent accidental opening during scroll; controlled via JS */

.mega-menu {
  display: flex;
  justify-content: center;
  gap: 60px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

.mega-menu-grid {
  display: flex;
  gap: 60px;
}

.mega-column h3 {
  font-size: 1.1rem;
  color: #111;
  margin-bottom: 20px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.mega-column a {
  display: block;
  color: #555;
  padding: 8px 0;
  text-decoration: none;
  font-size: 1rem;
  transition: color 0.2s ease;
}

.mega-column a:hover {
  color: #007bff;
  background-color: transparent;
}

/* Featured Card in Mega Menu */
.mega-featured {
  width: 350px;
  background-color: #000;
  border-radius: 12px;
  padding: 30px;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: linear-gradient(135deg, #111 0%, #333 100%);
}

.featured-content h3 {
  font-size: 1.4rem;
  margin-bottom: 15px;
  line-height: 1.3;
  color: #fff;
}

.featured-content p {
  font-size: 0.95rem;
  color: #ccc;
  margin-bottom: 25px;
  line-height: 1.5;
}

.btn-white {
  display: inline-block;
  background-color: #fff;
  color: #000;
  padding: 10px 20px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: transform 0.2s ease, box-shadow 0.25s ease;
}

.btn-white:hover {
  transform: translateY(-2px);
  background-color: #f0f0f0;
  box-shadow: 0 10px 18px rgba(0,0,0,0.18);
}



/* RESPONSIVE */
@media screen and (max-width: 1024px) {
  .navbar {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }

  .nav-left {
    flex-direction: column;
    gap: 15px;
    width: 100%;
  }

  nav ul {
    flex-direction: column;
    gap: 10px;
    width: 100%;
    display: none;
    padding: 10px 0;
  }

  nav ul.active {
    display: flex;
  }

  .nav-right {
    width: 100%;
    justify-content: flex-start;
  }

  .hamburger {
    display: inline-flex;
  }
}

@media screen and (max-width: 600px) {
  .nav-left, .nav-right {
    width: 100%;
    justify-content: space-between;
  }

  .dropdown-menu {
    position: static;
    transform: none;
    opacity: 1;
    box-shadow: none;
    margin-top: 5px;
    width: 100%;
  }
}


/* HERO SECTION */
.hero {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding: 60px 40px;
  background: radial-gradient(circle at top left, #eff6ff 0, #ffffff 55%, #eef2ff 100%);
  position: relative;
  overflow: hidden;
  background-size: 200% 200%;
  animation: hero-gradient-pulse 24s ease-in-out infinite alternate;
}

.hero-text {
  flex: 1 1 500px;
  max-width: 600px;
}

.hero-text h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.hero-text h1 span {
  color: #6a5acd;
}

.hero-text p {
  font-size: 1.1rem;
  margin-bottom: 30px;
}

.buttons {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
}

.btn-black {
  background-color: #000;
  color: #fff;
  padding: 10px 20px;
  border-radius: 6px;
  text-decoration: none;
  box-shadow: 0 10px 20px rgba(15, 23, 42, 0.25);
  transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
  transform-origin: center;
}

.btn-black:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 16px 30px rgba(15, 23, 42, 0.35);
  background-color: #111827;
}

.btn-black:active {
  transform: translateY(0) scale(0.96);
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.25);
}

.hero .btn-black {
  animation: cta-pulse 2.6s ease-in-out 1.2s infinite;
}

.hero-image {
  flex: 1 1 420px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-image img {
  width: 100%;
  max-width: 500px;
  border-radius: 100px;
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: no-preference) {
  .hero-text {
    animation: fade-up 0.9s ease-out 0.1s both;
  }

  .hero-title {
    animation: hero-title-reveal 1.1s ease-out 0.25s both;
  }

  .hero-image img {
    opacity: 0;
    transform: translateY(24px) scale(0.96);
    animation: fade-in-up 0.9s ease-out 0.25s forwards, float 18s ease-in-out 1.8s infinite;
  }
}

/* FEATURES SECTION */
.features {
  padding: 60px 40px;
  background-color: #f0f4f8;
}

.features-header {
  text-align: center;
  margin-bottom: 40px;
}

.features-header h2 {
  font-size: 2rem;
  margin-bottom: 10px;
}

.features-header p {
  font-size: 1.1rem;
  color: #555;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.feature-card {
  background-color: #fff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  text-align: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.feature-card img {
  width: 50px;
  margin-bottom: 15px;
}

.feature-card h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.feature-card p {
  font-size: 1rem;
  color: #666;
}

.feature-card:hover {
  transform: translateY(-8px) scale(1.01) rotateX(3deg) rotateY(-3deg);
  box-shadow: 0 18px 32px rgba(15,23,42,0.16);
  border-color: #3b82f6;
}



/* How It Works Section */
.how-it-works {
  padding: 60px 20px;
  background-color: #f9f9f9;
  text-align: center;
}

.how-it-works-header h2 {
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.how-it-works-header p {
  font-size: 1.1rem;
  color: #666;
  max-width: 600px;
  margin: 0 auto 40px;
}

.how-it-works-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.step {
  background-color: #fff;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  text-align: left;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.step-number {
  font-size: 2rem;
  font-weight: bold;
  color: #007bff;
  margin-bottom: 15px;
}

.step h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.step p {
  font-size: 1rem;
  color: #555;
  line-height: 1.6;
}

/* TESTIMONIALS */
.testimonials {
  padding: 60px 40px;
  background-color: #fff;
  text-align: center;
}

.testimonial-header h2 {
  font-size: 2rem;
  margin-bottom: 10px;
}

.testimonial-header p {
  font-size: 1.1rem;
  color: #555;
  margin-bottom: 40px;
}

.testimonial-carousel {
  position: relative;
  max-width: 700px;
  margin: 0 auto;
}

.testimonial {
  display: none;
  transition: opacity 0.5s ease-in-out;
}

.testimonial.active {
  display: block;
  opacity: 1;
}

.quote {
  font-size: 1.2rem;
  font-style: italic;
  margin-bottom: 30px;
  color: #333;
}

.author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
}

.author img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
}

.carousel-nav {
  margin-top: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.carousel-nav button {
  background-color: #fff;
  border: 1px solid #ccc;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.3s ease;
}

.carousel-nav button:hover {
  background-color: #f0f0f0;
}

.arrow {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-top: 2px solid #333;
  border-right: 2px solid #333;
}

.arrow.left {
  transform: rotate(-135deg);
}

.arrow.right {
  transform: rotate(45deg);
}

.dots {
  display: flex;
  gap: 10px;
}

.dot {
  width: 12px;
  height: 12px;
  background-color: #ccc;
  border-radius: 50%;
  cursor: pointer;
}

.dot.active {
  background-color: #007bff;
}

/* PRICING SECTION */
.pricing {
  padding: 80px 20px;
  background-color: #f9fafb;
  text-align: center;
}

.pricing-header h2 {
  font-size: 2.8rem;
  font-weight: 800;
  margin-bottom: 15px;
  color: #111827;
}

.pricing-header p {
  font-size: 1.1rem;
  color: #6b7280;
  max-width: 600px;
  margin: 0 auto 50px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .pricing-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.pricing-card {
  background-color: #fff;
  padding: 35px;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.05);
  text-align: left;
  border: 1px solid #e5e7eb;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pricing-card:hover {
  transform: translateY(-8px) rotateX(2deg) rotateY(2deg);
  box-shadow: 0 10px 15px rgba(0,0,0,0.08);
}

.pricing-card.most-popular {
  border: 2px solid #3b82f6;
  position: relative;
  overflow: hidden;
}

.popular-badge {
  position: absolute;
  top: -1px;
  right: 20px;
  background-color: #3b82f6;
  color: #fff;
  padding: 6px 12px;
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: 0 0 6px 6px;
}

.pricing-card h3 {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.pricing-card .price {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 10px;
}

.pricing-card .price span {
  font-size: 1rem;
  color: #6b7280;
  font-weight: 500;
}

.pricing-card .subtitle {
  font-size: 1rem;
  color: #6b7280;
  margin-bottom: 25px;
  min-height: 60px;
}

.features-list {
  list-style: none;
  padding: 0;
  margin: 20px 0;
  flex-grow: 1;
}

.features-list li {
  display: flex;
  align-items: center;
  margin-bottom: 12px;
  font-size: 1rem;
  color: #374151;
}

.features-list .check-icon {
  margin-right: 10px;
  font-weight: bold;
  color: #10b981;
}

.features-list li.dimmed {
  color: #9ca3af;
}

.features-list li.dimmed .check-icon {
  color: #9ca3af;
}

.pricing-card .btn-black, .pricing-card .btn-outline {
  display: block;
  width: 100%;
  text-align: center;
  padding: 14px 0;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  margin-top: auto;
  transition: all 0.3s ease;
}

.pricing-card .btn-black {
    background-color: #111827;
    color: #fff;
}

.pricing-card .btn-black:hover {
    background-color: #374151;
}

.pricing-card .btn-outline {
  border: 1px solid #d1d5db;
  background-color: #fff;
  color: #111827;
}

.pricing-card .btn-outline:hover {
  background-color: #f9fafb;
}

.pricing-card.most-popular .btn-black {
    background-color: #3b82f6;
}

.pricing-card.most-popular .btn-black:hover {
    background-color: #2563eb;
}

/* Animation styles */
.animated-card {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animated-card.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Generic scroll reveal */
.scroll-fade {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out, box-shadow 0.7s ease-out;
}

.scroll-fade.visible {
  opacity: 1;
  transform: translateY(0);
}

/* FAQ SECTION REDESIGN */
.faq-section {
  padding: 100px 0;
  background-color: #ffffff;
}

.faq-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
}

.faq-header {
  text-align: center;
  margin-bottom: 60px;
}

.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.faq-card {
  background-color: #f8fafc;
  border-radius: 16px;
  padding: 24px;
  border: 1px solid #e2e8f0;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  height: fit-content;
  position: relative;
  overflow: hidden;
}

.faq-card:hover {
  border-color: #2563eb;
  background-color: #ffffff;
  box-shadow: 0 10px 25px rgba(37, 99, 235, 0.15);
  transform: translateY(-2px);
}

.faq-card.active {
  border-color: #10b981;
  background: linear-gradient(135deg, #ffffff 0%, #f0fdf4 100%);
  box-shadow: 0 15px 35px rgba(16, 185, 129, 0.2);
  transform: translateY(-4px);
}

.faq-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #2563eb, #10b981);
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.faq-card.active::before {
  transform: scaleX(1);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.faq-question h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0;
  color: #1e293b;
}

.faq-icon {
  font-size: 1.5rem;
  color: #64748b;
  transition: transform 0.3s ease;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  margin-top: 0;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-answer p {
  margin: 0;
  padding: 16px 0 0;
  color: #475569;
  line-height: 1.6;
  font-size: 0.95rem;
  transform: translateY(-10px);
  transition: transform 0.4s ease 0.1s;
}

.faq-card.active {
  border-color: #10b981;
  background: linear-gradient(135deg, #ffffff 0%, #f0fdf4 100%);
  box-shadow: 0 15px 35px rgba(16, 185, 129, 0.2);
  transform: translateY(-4px);
}

.faq-card.active .faq-icon {
  transform: rotate(45deg);
  color: #10b981;
  font-weight: bold;
}

.faq-card.active .faq-answer {
  max-height: 300px;
  opacity: 1;
  margin-top: 1rem;
}

.faq-card.active .faq-answer p {
  transform: translateY(0);
}

/* Question hover and click effects */
.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  padding: 8px 0;
  border-radius: 8px;
  transition: all 0.3s ease;
  user-select: none;
}

.faq-question:hover {
  background-color: rgba(37, 99, 235, 0.05);
  padding-left: 12px;
  padding-right: 12px;
  margin: -8px -12px;
}

.faq-question:active {
  transform: scale(0.98);
}

.faq-footer {
  text-align: center;
  margin-top: 60px;
}

.support-link {
  color: #2563eb;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s ease;
}

.support-link:hover {
  border-color: #2563eb;
}

@media (max-width: 768px) {
  .faq-grid {
    grid-template-columns: 1fr;
  
  }
}

/* Scroll progress bar */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, #3b82f6, #6366f1, #ec4899);
  transform-origin: left;
  transform: scaleX(0);
  z-index: 2000;
  pointer-events: none;
}

/* Section title underline */
.section-title {
  position: relative;
  display: inline-block;
  padding-bottom: 0.25rem;
}

.section-title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, #3b82f6, #6366f1);
  transform-origin: left;
  transform: scaleX(0);
  transition: transform 0.6s ease-out;
}

.scroll-fade.visible .section-title::after {
  transform: scaleX(1);
}

/* RESPONSIVE */
@media screen and (max-width: 1024px) {
  .hero {
    flex-direction: column;
    text-align: center;
  }

  .hero-text {
    max-width: 100%;
  }

  .pricing-grid, .feature-grid, .contact-grid {
    grid-template-columns: 1fr;
  }

  .buttons {
    justify-content: center;
    gap: 16px;
  }
}

@media screen and (max-width: 600px) {
  .navbar {
    flex-direction: column;
    align-items: flex-start;
  }

  nav ul {
    flex-direction: column;
    gap: 15px;
  }

  .hero {
    padding: 40px 20px;
  }

  .hero-image img {
    border-radius: 28px;
  }

  .pricing-card {
    width: 100%;
  }

  .faq-list {
    padding: 0 10px;
  }
}
/* contact and getting in touch */
.contact {
  padding: 80px 40px;
  background-color: #f4f7f6; /* Light background for contrast */
}

.contact-header {
  text-align: center;
  margin-bottom: 50px;
}

.contact-header h2 {
  font-size: 2.5rem;
  margin-bottom: 15px;
  color: #222;
}

.contact-header p {
  font-size: 1.1rem;
  color: #666;
  max-width: 600px;
  margin: 0 auto;
}

.contact-grid {
  display: flex;
  gap: 50px;
  max-width: 1100px;
  margin: 0 auto;
  flex-wrap: wrap;
  align-items: flex-start;
}

.contact-form {
  flex: 1 1 500px;
  background-color: #fff;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.contact-form-message {
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 0.95rem;
  margin-bottom: 20px;
  display: none;
}

.contact-form-message.visible {
  display: block;
}

.contact-form-message.success {
  background-color: #e8f5e9;
  color: #2e7d32;
  border: 1px solid #a5d6a7;
}

.contact-form-message.error {
  background-color: #ffebee;
  color: #c62828;
  border: 1px solid #ef9a9a;
}

.contact-info {
  flex: 1 1 300px;
  padding-top: 20px;
}

.contact-form label {
  font-weight: 600;
  margin-top: 20px;
  margin-bottom: 8px;
  display: block;
  color: #333;
  font-size: 0.95rem;
}

.contact-form .contact-form-message + label {
  margin-top: 0;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  padding: 12px 15px;
  font-size: 1rem;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  width: 100%;
  box-sizing: border-box;
  background-color: #fafafa;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: #007bff;
  outline: none;
  box-shadow: 0 0 0 3px rgba(0,123,255,0.1);
  background-color: #fff;
}

.contact-form textarea {
  height: 150px;
  resize: vertical;
}

.checkbox {
  display: flex;
  align-items: flex-start;
  margin-top: 25px;
  margin-bottom: 10px;
}

.checkbox input {
  margin-right: 12px;
  width: auto;
  margin-top: 4px; /* Align with first line of text */
}

.checkbox label {
  margin: 0;
  font-weight: 400;
  font-size: 0.9rem;
  color: #555;
  line-height: 1.4;
}

.contact-form .btn-black {
  margin-top: 30px;
  background-color: #111;
  color: #fff;
  padding: 14px 24px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  width: 100%;
  font-size: 1rem;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.contact-form .btn-black:hover {
  background-color: #333;
  transform: translateY(-2px);
}

.contact-info h3 {
  font-size: 1.5rem;
  margin-bottom: 25px;
  color: #222;
}

.contact-info p {
  margin-bottom: 15px; /* Reduced from 25px */
  font-size: 1.05rem;
  color: #444;
  line-height: 1.6;
}

.contact-info strong {
  color: #111;
  display: block;
  margin-bottom: 2px; /* Reduced from 5px */
}

.support-note {
  margin-top: 40px;
  padding: 25px;
  background-color: #eef2f6;
  border-radius: 10px;
}

.support-note h4 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: #007bff;
}

.support-note p {
  font-size: 0.95rem;
  margin-bottom: 20px;
}

.btn-outline {
  border: 2px solid #333;
  color: #333;
  background-color: transparent;
  padding: 10px 20px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  display: inline-block;
  transition: all 0.3s ease;
}

.btn-outline:hover {
  background-color: #333;
  color: #fff;
}

/* RESPONSIVE */
@media screen and (max-width: 1024px) {
  .contact-grid {
    flex-direction: column;
    gap: 40px;
  }
  
  .contact-form, .contact-info {
    width: 100%;
    flex: auto;
  }
}
/* ================= FOOTER (EXTENDED) ================= */
.footer {
  background-color: #f8f8f8;
  padding: 60px 40px;
  font-size: 0.95rem;
  color: #333;
}

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: space-between;
}

.footer-brand,
.footer-column {
  flex: 1 1 220px;
  min-width: 220px;
}

.footer-brand h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.footer-brand p {
  margin-bottom: 20px;
  color: #555;
}

.social-icons a {
  margin-right: 10px;
  font-size: 1.2rem;
  color: #333;
  text-decoration: none;
}

.footer-column h4 {
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.footer-column ul {
  list-style: none;
  padding: 0;
}

.footer-column ul li {
  margin-bottom: 8px;
}

.footer-column ul li a {
  text-decoration: none;
  color: #333;
}

.footer-column ul li a:hover {
  text-decoration: underline;
}

.newsletter-form {
  display: flex;
  flex-direction: column;
}

.newsletter-form input {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
  margin-bottom: 10px;
  width: 100%;
  box-sizing: border-box;
}

.newsletter-form button {
  padding: 10px;
  background-color: #000;
  color: #fff;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}

.footer-bottom {
  border-top: 1px solid #ddd;
  margin-top: 40px;
  padding-top: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.footer-links {
  list-style: none;
  display: flex;
  gap: 20px;
  padding: 0;
  margin-top: 10px;
}

.footer-links li a {
  text-decoration: none;
  color: #333;
}

/* RESPONSIVE */
@media screen and (max-width: 768px) {
  .footer-grid {
    flex-direction: column;
    gap: 30px;
    align-items: flex-start;
  }
  .footer-links {
    flex-direction: column;
    gap: 10px;
    margin-top: 20px;
  }
}

/* Hamburger for mobile */
.hamburger {
  display: none;
  width: 40px;
  height: 32px;
  border-radius: 999px;
  border: 1px solid #e5e7eb;
  background-color: #ffffff;
  align-items: center;
  justify-content: center;
  gap: 4px;
  cursor: pointer;
  padding: 0;
  margin-left: auto;
  transition: box-shadow 0.25s ease, background-color 0.25s ease, transform 0.25s ease;
}

.hamburger span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background-color: #111827;
  transition: transform 0.25s ease, opacity 0.2s ease, background-color 0.25s ease;
}

.hamburger:hover {
  box-shadow: 0 10px 18px rgba(15,23,42,0.18);
  background-color: #f9fafb;
}

.hamburger.active span:nth-child(1) {
  transform: translateY(4px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-4px) rotate(-45deg);
}

/* Button ripple */
.btn-ripple {
  position: relative;
  overflow: hidden;
}

.btn-ripple::after {
  content: "";
  position: absolute;
  inset: -10%;
  border-radius: inherit;
  background: radial-gradient(circle at center, rgba(255, 255, 255, 0.35) 0, transparent 60%);
  opacity: 0;
  transform: scale(0);
  pointer-events: none;
}

.btn-ripple.ripple-active::after {
  animation: button-ripple 0.5s ease-out forwards;
}

/* Animations */
@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fade-in-up {
  from {
    opacity: 0;
    transform: translateY(28px) scale(0.94);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes float {
  0% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-10px) scale(1.01);
  }
  100% {
    transform: translateY(0) scale(1);
  }
}

@keyframes cta-pulse {
  0%, 100% {
    transform: translateY(0) scale(1);
    box-shadow: 0 10px 20px rgba(15, 23, 42, 0.25);
  }
  50% {
    transform: translateY(-1px) scale(1.04);
    box-shadow: 0 18px 32px rgba(15, 23, 42, 0.4);
  }
}

@keyframes hero-gradient-pulse {
  0% {
    background-position: 0% 0%;
  }
  50% {
    background-position: 50% 100%;
  }
  100% {
    background-position: 100% 0%;
  }
}

@keyframes hero-title-reveal {
  0% {
    letter-spacing: 0.12em;
    opacity: 0.2;
    filter: blur(4px);
  }
  100% {
    letter-spacing: normal;
    opacity: 1;
    filter: blur(0);
  }
}

@keyframes button-ripple {
  0% {
    opacity: 0.55;
    transform: scale(0);
  }
  100% {
    opacity: 0;
    transform: scale(1.8);
  }
}

/* Reduce motion preferences */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .hero-image img {
    animation: none !important;
    transform: none !important;
    opacity: 1 !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .scroll-fade,
  .animated-card,
  .hero-image img {
    opacity: 1;
    transform: none;
    transition: none;
    animation: none;
  }
}
