/* Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Poppins", sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f9f9f9;
  overflow-x: hidden;
  scroll-behavior: smooth;
  position: relative;
  padding-top: 80px;
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  right: 0;
  width: 300px;
  height: 300px;
  background: radial-gradient(
    circle,
    rgba(74, 0, 224, 0.05) 0%,
    rgba(255, 255, 255, 0) 70%
  );
  z-index: -1;
}

body::after {
  content: "";
  position: fixed;
  bottom: 0;
  left: 0;
  width: 300px;
  height: 300px;
  background: radial-gradient(
    circle,
    rgba(142, 45, 226, 0.05) 0%,
    rgba(255, 255, 255, 0) 70%
  );
  z-index: -1;
}

a {
  text-decoration: none;
  color: #333;
  transition: all 0.3s ease;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
  position: relative;
}

.section-header h2 {
  font-size: 2.7rem;
  font-weight: 800;
  color: #333;
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
  letter-spacing: -0.5px;
}

.section-header h2::before {
  content: "";
  position: absolute;
  width: 30px;
  height: 30px;
  background: linear-gradient(
    135deg,
    rgba(74, 0, 224, 0.2),
    rgba(142, 45, 226, 0.2)
  );
  border-radius: 50%;
  left: -15px;
  top: -15px;
  z-index: -1;
  opacity: 0.6;
}

.section-header .underline {
  height: 5px;
  width: 80px;
  background: linear-gradient(to right, #4a00e0, #8e2de2);
  margin: 0 auto 25px;
  border-radius: 10px;
  position: relative;
}

.section-header .underline::before,
.section-header .underline::after {
  content: "";
  position: absolute;
  height: 5px;
  width: 15px;
  background: linear-gradient(to right, #8e2de2, #00c6ff);
  border-radius: 10px;
  top: 0;
}

.section-header .underline::before {
  left: -25px;
}

.section-header .underline::after {
  right: -25px;
}

.section-header p {
  font-size: 1.15rem;
  color: #666;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.8;
}

.btn-primary {
  display: inline-block;
  background: linear-gradient(to right, #4a00e0, #8e2de2);
  background-size: 200% auto;
  color: #fff;
  padding: 14px 34px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1.05rem;
  transition: all 0.5s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 10px 25px rgba(138, 45, 226, 0.3);
  position: relative;
  z-index: 20;
  overflow: hidden;
  letter-spacing: 0.5px;
}

.btn-primary:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(138, 45, 226, 0.4);
  background-position: right center;
}

.btn-primary::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: all 0.6s ease;
}

.btn-primary:hover::before {
  left: 100%;
}

section {
  padding: 80px 0;
  position: relative;
}

/* Header Styles */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: #ffffff;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  padding: 18px 0;
  transform: translateZ(0); /* Hardware acceleration */
}

@keyframes fadeSlideDown {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo h1 {
  font-size: 1.8rem;
  font-weight: 900;
  background: linear-gradient(to right, #4a00e0, #8e2de2);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  transition: all 0.3s ease;
}

.logo span {
  background: linear-gradient(to right, #8e2de2, #00c6ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 800;
}

.nav-links {
  display: flex;
  align-items: center;
}

.nav-links li {
  margin-left: 30px;
}

.nav-links a {
  font-weight: 500;
  position: relative;
  padding: 8px 0;
  margin: 0 5px;
  letter-spacing: 0.5px;
}

.nav-links a:hover {
  background: linear-gradient(to right, #4a00e0, #8e2de2);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.nav-links a.active {
  background: linear-gradient(to right, #4a00e0, #8e2de2);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 600;
}

.nav-links a.active::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(to right, #4a00e0, #8e2de2);
  border-radius: 10px;
  transform: scaleX(1);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(to right, #4a00e0, #8e2de2);
  border-radius: 10px;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
}

.nav-links a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.hamburger {
  display: none;
  cursor: pointer;
}

.bar {
  display: block;
  width: 25px;
  height: 3px;
  margin: 5px auto;
  transition: all 0.3s ease;
  background-color: #333;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, #4a00e0, #8e2de2, #00c6ff);
  background-size: 200% 200%;
  animation: gradientAnimation 15s ease infinite;
  color: #fff;
  padding: 150px 0 0;
  position: relative;
  overflow: visible;
}

@keyframes gradientAnimation {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.hero-content {
  max-width: 700px;
  margin-bottom: 150px;
  position: relative;
  z-index: 10;
}

.hero-content h1 {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 30px;
  margin-top: 40px;
  line-height: 1.2;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  letter-spacing: -0.5px;
}

.hero-content p {
  font-size: 1rem;
  margin-bottom: 30px;
  opacity: 1;
  font-weight: 600;
  color: #ffffff;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
  background-color: rgba(0, 0, 0, 0.25);
  padding: 12px 20px;
  border-radius: 8px;
  display: inline-block;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Add these CSS rules to your style.css file to fix the thin line issue on all pages */

/* Hero Wave Fix */
.hero-wave {
  position: relative;
  margin-top: -2px; /* Increased from -1px for better coverage */
  z-index: 1;
  line-height: 0; /* Remove any line height */
}

.hero-wave svg {
  display: block; /* Removes default inline spacing */
  width: 100%;
  height: auto;
  vertical-align: top; /* Ensures proper alignment */
}

/* Page Banner Wave Fix */
.banner-wave {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  line-height: 0;
  height: 150px;
  margin-bottom: -2px; /* Add negative margin to eliminate gap */
}

.banner-wave svg {
  display: block;
  width: 100%;
  height: 100%;
  vertical-align: top;
}

/* General wave container fix for all pages */
.hero,
.page-banner {
  position: relative;
  overflow: hidden; /* Ensure no overflow issues */
  padding-top: 100px; /* This creates space below the fixed header */
  z-index: 1; /* Creates a new stacking context */
}

/* Ensure sections after waves start cleanly */
.mission,
.pricing,
.contact-info,
.about-story {
  position: relative;
  margin-top: -1px; /* Pull up slightly to eliminate any gap */
  z-index: 2;
  background-color: #fff; /* Ensure solid background */
}

/* Additional fix for any remaining gaps */
.hero::after,
.page-banner::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #ffffff;
  z-index: 3;
}

.logo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.logo-main {
  display: flex;
  align-items: center;
}

.logo-tagline {
  display: block;
  font-size: 0.7rem;
  color: #222; /* Plain dark text, no coloring */
  margin-top: 1px;
  margin-left: 0; /* Remove left margin for direct alignment */
  font-weight: 200;
  letter-spacing: 0.01px;
  font-family: "Poppins", sans-serif;
}

/* Page Banner */
.page-banner {
  background: linear-gradient(135deg, #4a00e0, #8e2de2, #00c6ff);
  background-size: 200% 200%;
  animation: gradientAnimation 15s ease infinite;
  color: #fff;
  padding: 120px 0 0;
  position: relative;
  text-align: center;
  overflow: hidden;
}

.page-banner h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 15px;
}

.page-banner p {
  font-size: 1.2rem;
  margin-bottom: 120px;
  opacity: 0.9;
}

.banner-wave {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  line-height: 0;
  height: 150px; /* Increased height for the wave */
}

/* Mission Section */
.mission {
  background-color: #fff;
}

.mission-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.mission-content p {
  font-size: 1.2rem;
  color: #555;
  line-height: 1.8;
}

/* Features Section */
.features {
  background-color: #f9f9f9;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.feature-card {
  background-color: #fff;
  border-radius: 15px;
  padding: 35px 30px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: all 0.4s ease;
  border: 1px solid rgba(138, 45, 226, 0.05);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.feature-card:hover {
  transform: translateY(-15px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  border-color: rgba(138, 45, 226, 0.2);
}

.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(74, 0, 224, 0.03),
    rgba(142, 45, 226, 0.03)
  );
  clip-path: circle(0% at 100% 100%);
  transition: all 0.6s ease-out;
  z-index: -1;
}

.feature-card:hover::before {
  clip-path: circle(150% at 100% 100%);
}

.feature-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #4a00e0, #8e2de2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px;
  color: #fff;
  font-size: 2rem;
  box-shadow: 0 10px 20px rgba(138, 45, 226, 0.2);
  position: relative;
  z-index: 2;
  transition: all 0.4s ease;
}

.feature-card:hover .feature-icon {
  transform: scale(1.1);
  box-shadow: 0 15px 30px rgba(138, 45, 226, 0.3);
}

.feature-card h3 {
  font-size: 1.4rem;
  margin-bottom: 15px;
  color: #333;
  font-weight: 600;
  position: relative;
  display: inline-block;
  padding-bottom: 10px;
}

.feature-card h3::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 3px;
  background: linear-gradient(to right, #4a00e0, #8e2de2);
  border-radius: 10px;
  transition: all 0.3s ease;
}

.feature-card:hover h3::after {
  width: 60px;
}

.feature-card p {
  color: #666;
}

/* Services Section */
.services {
  background-color: #fff;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.service-card {
  background-color: #fff;
  border-radius: 15px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.4s ease;
  height: 100%;
  border: 1px solid #f0f0f0;
  position: relative;
  overflow: hidden;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
  border-color: rgba(138, 45, 226, 0.2);
}

.service-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
}

.service-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.service-card h3 {
  font-size: 1.4rem;
  margin-bottom: 15px;
  color: #333;
  font-weight: 600;
}

.service-card p {
  color: #666;
  line-height: 1.6;
}

/* Optional: Add a subtle purple accent on hover */
.service-card::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, #8a2de2, #4a00e0);
  transition: width 0.3s ease;
}

.service-card:hover::after {
  width: 100%;
}

/* Contact Section */
.contact-info {
  background-color: #fff;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 50px;
}

.contact-details .section-header {
  text-align: left;
}

.contact-details .underline {
  margin: 0 0 20px;
}

.contact-item {
  display: flex;
  margin-bottom: 30px;
}

.contact-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #4a00e0, #8e2de2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 20px;
  color: #fff;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contact-text h3 {
  font-size: 1.2rem;
  margin-bottom: 5px;
  color: #333;
}

.contact-text p {
  color: #666;
}

.social-media {
  margin-top: 40px;
}

.social-media h3 {
  font-size: 1.2rem;
  margin-bottom: 15px;
  color: #333;
}

.social-icons {
  display: flex;
}

.social-icons a {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #4a00e0, #8e2de2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 10px;
  color: #fff;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.social-icons a:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(138, 45, 226, 0.3);
}

/* Scroll to Top Button */
.scroll-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #8e2de2, #4a00e0);
  color: white;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  z-index: 1000;
}

.scroll-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.scroll-to-top:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.scroll-to-top i {
  font-size: 1.5rem;
}

/* Contact Form */
.contact-form {
  background-color: #f9f9f9;
  border-radius: 10px;
  padding: 40px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.contact-form .section-header {
  text-align: left;
}

.contact-form .underline {
  margin: 0 0 20px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: #333;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-family: "Poppins", sans-serif;
  font-size: 1rem;
  color: #333;
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: #8e2de2;
  outline: none;
  box-shadow: 0 0 0 2px rgba(142, 45, 226, 0.2);
}

/* Map Section */
.map-section {
  background-color: #f9f9f9;
}

.map-container {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

/* About Story Section */
.about-story {
  background-color: #fff;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 50px;
  align-items: center;
}

.about-content .section-header {
  text-align: left;
}

.about-content .underline {
  margin: 0 0 20px;
}

.about-content p {
  margin-bottom: 20px;
  color: #666;
  line-height: 1.8;
}

.about-image img {
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Values Section */
.values {
  background-color: #f9f9f9;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.value-card {
  background-color: #fff;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.value-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.value-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, #4a00e0, #8e2de2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: #fff;
  font-size: 1.8rem;
}

.value-card h3 {
  font-size: 1.3rem;
  margin-bottom: 15px;
  color: #333;
}

.value-card p {
  color: #666;
}

/* Team Section */
.team {
  background-color: #fff;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.team-member {
  background-color: #f9f9f9;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.team-member:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.member-image img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.member-info {
  padding: 20px;
  text-align: center;
}

.member-info h3 {
  font-size: 1.3rem;
  margin-bottom: 5px;
  color: #333;
}

.position {
  color: #8e2de2;
  font-weight: 500;
  margin-bottom: 10px;
}

.bio {
  color: #666;
  margin-bottom: 15px;
}

.member-social {
  display: flex;
  justify-content: center;
}

.member-social a {
  width: 35px;
  height: 35px;
  background: linear-gradient(135deg, #4a00e0, #8e2de2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 5px;
  color: #fff;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.member-social a:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(138, 45, 226, 0.3);
}

/* Testimonials Section */
.testimonials {
  padding: 80px 0;
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
  position: relative;
  overflow: hidden;
}

.testimonials::before {
  content: "";
  position: absolute;
  top: -50px;
  left: -50px;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: rgba(142, 45, 226, 0.1);
}

.testimonials::after {
  content: "";
  position: absolute;
  bottom: -50px;
  right: -50px;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: rgba(74, 0, 224, 0.1);
}

.testimonial-slider {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

.testimonial-item {
  background: white;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  margin: 20px;
  position: relative;
  transition: all 0.3s ease;
}

.testimonial-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.testimonial-item::before {
  content: "\201C";
  position: absolute;
  top: 20px;
  left: 20px;
  font-size: 4rem;
  color: rgba(142, 45, 226, 0.1);
  font-family: Georgia, serif;
  line-height: 1;
}

.testimonial-content {
  font-style: italic;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
}

.testimonial-author img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  margin-right: 15px;
  object-fit: cover;
  border: 3px solid #8e2de2;
}

.author-info h4 {
  margin: 0;
  color: #333;
  font-weight: 600;
}

.author-info p {
  margin: 5px 0 0;
  color: #666;
  font-size: 0.9rem;
}

.testimonial-dots {
  display: flex;
  justify-content: center;
  margin-top: 30px;
}

.dot {
  width: 12px;
  height: 12px;
  background: #ccc;
  border-radius: 50%;
  margin: 0 5px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.dot.active {
  background: #8e2de2;
  transform: scale(1.2);
}

/* CTA Section */
.cta {
  background: linear-gradient(135deg, #4a00e0, #8e2de2);
  color: #fff;
  text-align: center;
}

.cta-content h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 15px;
}

.cta-content p {
  font-size: 1.1rem;
  margin-bottom: 30px;
  opacity: 0.9;
}

.cta .btn-primary {
  background: #fff;
  color: #8e2de2;
}

.cta .btn-primary:hover {
  background: #f9f9f9;
}

/* Footer */
footer {
  background-color: #222;
  color: #fff;
  padding: 70px 0 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  margin-bottom: 50px;
}
/* ...existing code... */
.company-logo {
  height: 64px; /* Increased from 48px */
  width: auto;
  display: inline-block;
  vertical-align: middle;
  margin-right: 14px;
}
/* ...existing code... */
.logo {
  display: flex;
  align-items: center;
}
/* ...existing code... */

.footer-logo h2 {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 15px;
}

.footer-logo span {
  color: #8e2de2;
}

.footer-logo p {
  color: #aaa;
  line-height: 1.6;
}

.footer-links h3,
.footer-contact h3,
.footer-social h3 {
  font-size: 1.2rem;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-links h3::after,
.footer-contact h3::after,
.footer-social h3::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background: linear-gradient(to right, #4a00e0, #8e2de2);
}

.footer-links ul li {
  margin-bottom: 10px;
}

.footer-links ul li a {
  color: #aaa;
  transition: all 0.3s ease;
}

.footer-links ul li a:hover {
  color: #8e2de2;
  padding-left: 5px;
}

.footer-contact p {
  color: #aaa;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
}

.footer-contact p i {
  margin-right: 10px;
  color: #8e2de2;
}

.footer-social .social-icons a {
  background: #333;
}

.footer-social .social-icons a:hover {
  background: linear-gradient(135deg, #4a00e0, #8e2de2);
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid #444;
}

.footer-bottom p {
  color: #aaa;
  font-size: 0.9rem;
}

/* Responsive Styles */
@media (max-width: 992px) {
  .hero-content h1 {
    font-size: 2.5rem;
  }

  .page-banner h1 {
    font-size: 2.5rem;
  }

  .cta-content h2 {
    font-size: 2rem;
  }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    left: -100%;
    top: 70px;
    flex-direction: column;
    background-color: #fff;
    width: 100%;
    text-align: center;
    transition: 0.3s;
    box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
    padding: 20px 0;
  }

  .nav-links.active {
    left: 0;
  }

  .nav-links li {
    margin: 15px 0;
  }

  .hamburger {
    display: block;
  }

  .hamburger.active .bar:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .hamburger.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .hero-content h1 {
    font-size: 2rem;
  }

  .page-banner h1 {
    font-size: 2rem;
  }

  .section-header h2 {
    font-size: 2rem;
  }

  .cta-content h2 {
    font-size: 1.8rem;
  }

  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .about-content {
    order: 1;
  }

  .about-image {
    order: 0;
    margin-bottom: 30px;
  }
}

@media (max-width: 576px) {
  section {
    padding: 60px 0;
  }

  .hero {
    padding: 100px 0 0;
  }

  .hero-content {
    margin-bottom: 120px; /* Increased from 80px to 120px */
  }

  .hero-content h1 {
    font-size: 1.8rem;
  }

  .page-banner {
    padding: 60px 0 0;
  }

  .page-banner h1 {
    font-size: 1.8rem;
  }

  .page-banner p {
    margin-bottom: 120px; /* Increased from 60px to 120px */
  }

  /* Increase wave height for mobile */
  .hero-wave,
  .banner-wave {
    height: 180px; /* Increased from 150px to 180px for mobile */
  }

  .section-header h2 {
    font-size: 1.8rem;
  }

  .cta-content h2 {
    font-size: 1.5rem;
  }

  .contact-form {
    padding: 30px 20px;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

/* Header Styles */
/* header, */
header.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 12px 0;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);

  /* Capsule shape */
  width: 90%;
  left: 5%;
  border-radius: 50px;
  max-width: 1200px;
  margin: 0 auto;
}

/* Shrink effect on scroll */
header.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 12px 0;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);

  /* Perfectly centered capsule shape */
  width: calc(100% - 40px); /* Accounts for padding */
  left: 20px; /* Half of the reduced width */
  right: 20px; /* Half of the reduced width */
  margin: 0 auto; /* Centers the element */
  border-radius: 50px;
  max-width: 1200px; /* Match your container max-width */
}

/* Hide logo image and tagline when scrolled */
header.scrolled .company-logo,
header.scrolled .logo-tagline {
  opacity: 0;
  height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
}
header.scrolled .logo-main {
  transform: scale(0.9);
  transition: transform 0.3s ease;
}

/* Show only KSquare Media Solutions text */
header.scrolled .logo-main h1 {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0;
  background: none;
  color: #4a00e0;
  -webkit-background-clip: unset;
  background-clip: unset;
  letter-spacing: 0.5px;
}

/* Adjust nav for compact header */
header.scrolled .nav-links li {
  margin-left: 18px;
}

@media (max-width: 768px) {
  header,
  header.scrolled {
    width: 100vw;
    left: 0;
    transform: none;
    padding: 10px 8px;
    border-radius: 0 0 24px 24px;
  }
  header.scrolled {
    background: rgba(255, 255, 255, 0.85);
    box-shadow: 0 4px 16px rgba(74, 0, 224, 0.08);
  }
}

@media (max-width: 768px) {
  header.scrolled {
    width: 100%;
    left: 0;
    right: 0;
    border-radius: 0;
  }
}
.floating-icons-hero {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 3;
  overflow: visible;
}
.floating-icons-hero i {
  position: absolute;
  font-size: 2.2rem;
  color: rgba(255, 255, 255, 0.85);
  opacity: 0.95;
  pointer-events: none;
}
.floating-icons-hero i:nth-child(1) {
  left: 78%;
  animation: fallDown 5.5s linear infinite;
  animation-delay: 7.1s;
}
.floating-icons-hero i:nth-child(2) {
  left: 56%;
  animation: fallDown 9.3s linear infinite;
  animation-delay: 1.4s;
}
.floating-icons-hero i:nth-child(3) {
  left: 18%;
  animation: fallDown 6.5s linear infinite;
  animation-delay: 3.8s;
}
.floating-icons-hero i:nth-child(4) {
  left: 48%;
  animation: fallDown 7s linear infinite;
  animation-delay: 8.1s;
}
.floating-icons-hero i:nth-child(5) {
  left: 59%;
  animation: fallDown 5.5s linear infinite;
  animation-delay: 4.3s;
}
.floating-icons-hero i:nth-child(6) {
  left: 88%;
  animation: fallDown 8.1s linear infinite;
  animation-delay: 7.4s;
}
.floating-icons-hero i:nth-child(7) {
  left: 42%;
  animation: fallDown 9.5s linear infinite;
  animation-delay: 8.1s;
}
.floating-icons-hero i:nth-child(8) {
  left: 8%;
  animation: fallDown 9.4s linear infinite;
  animation-delay: 3s;
}
.floating-icons-hero i:nth-child(9) {
  left: 8%;
  animation: fallDown 9.3s linear infinite;
  animation-delay: 6.2s;
}
.floating-icons-hero i:nth-child(10) {
  left: 38%;
  animation: fallDown 8.2s linear infinite;
  animation-delay: 7.4s;
}
.floating-icons-hero i:nth-child(11) {
  left: 55%;
  animation: fallDown 5.6s linear infinite;
  animation-delay: 2s;
}
.floating-icons-hero i:nth-child(12) {
  left: 90%;
  animation: fallDown 7.1s linear infinite;
  animation-delay: 7.8s;
}
.floating-icons-hero i:nth-child(13) {
  left: 12%;
  animation: fallDown 7.9s linear infinite;
  animation-delay: 1.2s;
}
.floating-icons-hero i:nth-child(14) {
  left: 3%;
  animation: fallDown 6.8s linear infinite;
  animation-delay: 7.9s;
}
.floating-icons-hero i:nth-child(15) {
  left: 84%;
  animation: fallDown 6.6s linear infinite;
  animation-delay: 3.7s;
}
.floating-icons-hero i:nth-child(16) {
  left: 69%;
  animation: fallDown 8.2s linear infinite;
  animation-delay: 3.3s;
}
.floating-icons-hero i:nth-child(17) {
  left: 69%;
  animation: fallDown 9.1s linear infinite;
  animation-delay: 6s;
}
.floating-icons-hero i:nth-child(18) {
  left: 41%;
  animation: fallDown 7.7s linear infinite;
  animation-delay: 1.5s;
}
.floating-icons-hero i:nth-child(19) {
  left: 20%;
  animation: fallDown 9.5s linear infinite;
  animation-delay: 0s;
}
.floating-icons-hero i:nth-child(20) {
  left: 8%;
  animation: fallDown 9.1s linear infinite;
  animation-delay: 7.7s;
}

@keyframes fallDown {
  0% {
    transform: translateY(-100px) rotate(0deg);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  100% {
    transform: translateY(110vh) rotate(360deg);
    opacity: 0;
  }
}
.floating-icons-hero i {
  opacity: 0; /* start invisible */
  animation-fill-mode: forwards; /* keep last keyframe after animation */
}

/* Updated keyframes to fade in only during fall */
@keyframes fallDown {
  0% {
    transform: translateY(-100px) rotate(0deg);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  100% {
    transform: translateY(110vh) rotate(360deg);
    opacity: 0;
  }
}
/* Clean glassmorphism effect for response section */
.response {
  /* Clean glass background */
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);

  /* Simple border and shadow */
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);

  /* Spacing */
  padding: 20px;
  margin-top: 20px;
}

/* Text styling for better readability */
.response h3 {
  color: #2c3e50;
  margin-bottom: 12px;
  font-size: 1.2rem;
  font-weight: 600;
}

.response h5 {
  color: #34495e;
  margin-bottom: 15px;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
}

.response h6 {
  color: #2c3e50;
  margin-bottom: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  padding-left: 20px;
  position: relative;
  line-height: 1.4;
}

/* Simple checkmarks */
.response h6::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #27ae60;
  font-weight: bold;
}

/* Responsive */
@media (max-width: 768px) {
  .response {
    padding: 15px;
    border-radius: 10px;
  }
}
/* FAQ Styles */
.faq {
  padding: 80px 0;
  background: #f9f9ff;
}

.faq-grid {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.faq-question {
  width: 100%;
  padding: 20px;
  text-align: left;
  background: #fff;
  border: none;
  font-size: 18px;
  font-weight: 600;
  color: #333;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.faq-question:hover {
  background: #f1f1f1;
}

.faq-question i {
  transition: transform 0.3s ease;
}

.faq-question.active i {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0;
  max-height: 0;
  overflow: hidden;
  background: #fff;
  transition: all 0.3s ease;
}

.faq-answer p {
  padding: 0 20px 20px;
  margin: 0;
  color: #666;
  line-height: 1.6;
}

.faq-item.active .faq-answer {
  padding: 0 20px;
  max-height: 300px;
}
/* Services Preview Section */
.services-preview {
  padding: 80px 0;
  background: #f9f9ff;
}

.services-preview .services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin: 50px 0;
}

.service-card {
  background: #fff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-icon {
  font-size: 2.5rem;
  color: #8b39ea;
  margin-bottom: 20px;
}

.service-card h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: #333;
}

.service-card p {
  color: #666;
  line-height: 1.6;
}

.btn-secondary {
  display: inline-block;
  padding: 12px 30px;
  background: #8b39ea;
  color: white;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  border: 2px solid #8b39ea;
}

.btn-secondary:hover {
  background: transparent;
  color: #8b39ea;
}
.hero-image {
  height: 600px;
  width: 600px;
  opacity: 0.85;
  position: absolute;
  top: 55%;
  left: 120%;
  transform: translate(-50%, -50%);
  margin-left: 200px;
}

.plan-section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #333;
  text-align: center;
  margin-bottom: 40px;
}
.hero-dma-text {
  margin-top: 1.2rem;
  font-weight: bold;
  font-size: 1.25rem;
  color: #1976d2;
  letter-spacing: 1px;
  text-align: center;
  overflow: hidden;
  white-space: nowrap;
  width: 100%;
  position: relative;
  height: 2em;
  top: 100px;
}

.hero-dma-text span {
  display: inline-block;
  font-weight: bold;
  animation: scroll-left 7s linear infinite;
}

@keyframes scroll-left {
  0% {
    transform: translateX(100%);
  }
  100% {
    transform: translateX(-100%);
  }
}
/* Scrolling Services Text */
.scrolling-services {
  background: #ffffff;
  padding: 60px 0;
  overflow: hidden;
  position: relative;
  border-top: 1px solid #f0f0f0;
  border-bottom: 1px solid #f0f0f0;
}

.scrolling-wrapper {
  display: flex;
  white-space: nowrap;
  width: 100%;
  overflow: hidden;
}

.scrolling-text {
  display: inline-flex;
  animation: scrollText 25s linear infinite;
  font-size: 4.5rem;
  font-weight: 900;
  color: #4a00e0;
  text-transform: uppercase;
  letter-spacing: 3px;
  line-height: 1;
  padding: 20px 0;
  align-items: center;
}

.scrolling-text span {
  margin: 0 30px;
  display: inline-block;
  position: relative;
  white-space: nowrap;
}

.scrolling-text span:not(:last-child):after {
  content: "•";
  position: absolute;
  right: -25px;
  color: rgba(74, 0, 224, 0.3);
}

@keyframes scrollText {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Responsive adjustments */
@media (max-width: 1200px) {
  .scrolling-text {
    font-size: 4rem;
  }
}

@media (max-width: 992px) {
  .scrolling-text {
    font-size: 3.5rem;
  }
}

@media (max-width: 768px) {
  .scrolling-text {
    font-size: 2.8rem;
    letter-spacing: 2px;
  }
  .scrolling-text span {
    margin: 0 20px;
  }
}

@media (max-width: 576px) {
  .scrolling-services {
    padding: 40px 0;
  }
  .scrolling-text {
    font-size: 2.2rem;
    letter-spacing: 1px;
  }
  .scrolling-text span {
    margin: 0 15px;
  }
}

/* Back button styling */
.back-button {
  position: absolute;
  top: 100px;
  left: 20px;
  z-index: 100;
  background: rgba(255, 255, 255, 0.9);
  padding: 10px 20px;
  border-radius: 30px;
  color: #4a00e0;
  font-weight: 600;
  text-decoration: none;
  display: flex;
  align-items: center;
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.back-button:hover {
  background: white;
  transform: translateX(-3px);
}

.back-button i {
  margin-right: 8px;
}
.footer-contact a {
  color: inherit;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
  padding: 2px 4px;
  border-radius: 4px;
}

.footer-contact a:hover {
  color: #8e2de2; /* Your brand color */
  background-color: rgba(142, 45, 226, 0.1);
  text-decoration: underline;
}

.member-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #ffffff;
  font-size: 28px;
  box-shadow: 0 8px 20px rgba(102, 126, 234, 0.18);
  margin-bottom: 16px;
  flex: 0 0 auto;
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

/* Ensure icon inside scales nicely */
.member-icon i {
  font-size: 30px;
  line-height: 1;
}

/* Subtle lift on hover */
.team-member:hover .member-icon {
  transform: translateY(-6px);
  box-shadow: 0 14px 30px rgba(102, 126, 234, 0.22);
}

/* Centering for desktop / mobile */
.team-member {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
}

.member-icon {
  margin-top: 15px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #ffffff;
  font-size: 28px;
  box-shadow: 0 8px 20px rgba(102, 126, 234, 0.18);
  margin-bottom: 16px;
  flex: 0 0 auto;
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

/* Ensure icon inside scales nicely */
.member-icon i {
  font-size: 30px;
  line-height: 1;
}

/* Subtle lift on hover */
.team-member:hover .member-icon {
  transform: translateY(-6px);
  box-shadow: 0 14px 30px rgba(102, 126, 234, 0.22);
}

/* Centering for desktop / mobile */
.team-member {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
}
/* Hero actions (buttons) layout */
.hero .hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  margin-top: 16px;
  margin-left: -190px; /* slight left shift */
}

.hero .hero-actions .btn-primary {
  margin: 0; /* clear any inline margins */
}

@media (max-width: 576px) {
  .hero .hero-actions {
    flex-direction: column;
    gap: 10px;
    margin-left: 0; /* no shift on mobile */
  }
}
