:root {
  --primary: #5c6bc0;
  /* Indigo[400] */
  --primary-dark: #3949ab;
  --primary-light: #9fa8da;
  --primary-bg: #f5f7ff;
  --text: #2d3748;
  --text-light: #718096;
  --white: #ffffff;
  --gray: #edf2f7;
  --light: #f9fafb;
  --grey: #6b7280;
  --light-gray: #e5e7eb;
  --secondary: #10b981;
  --dark: #1f2937;
  --light: #f9fafb;
  --light-gray: #e5e7eb;
  --white: #ffffff;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.12);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Poppins", sans-serif;
  color: var(--dark);
  background-color: var(--light);
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

section {
  padding: 100px 0;
  position: relative;
}

h1,
h2,
h3,
h4 {
  margin-bottom: 1.5rem;
  line-height: 1.2;
  font-weight: 700;
}

h1 {
  font-size: 3rem;
}

h2 {
  font-size: 2.5rem;
}

h3 {
  font-size: 2rem;
}

h4 {
  font-size: 1.5rem;
}



img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}
  @keyframes fadeInUp {
    from {
      opacity: 0;
      transform: translateY(20px);
    }

    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

@keyframes float {
  0% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-15px);
  }

  100% {
    transform: translateY(0px);
  }
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.05);
  }

  100% {
    transform: scale(1);
  }
}

@keyframes scaleIn {
  from {
    transform: scale(0.9);
    opacity: 0;
  }

  to {
    transform: scale(1);
    opacity: 1;
  }
}

/* Hero Section */
.hero {
  background: linear-gradient(
    135deg,
    var(--primary-bg) 0%,
    rgba(245, 247, 255, 0) 100%
  );
  padding: 120px 0 80px;
  overflow: hidden;
}

.hero-content {
  display: flex;
  align-items: center;
  gap: 60px;
}

.hero-text {
  flex: 1;
  animation: fadeIn 0.8s ease-out;
}

.hero-text h1 , .features-hero h1{
  font-size: 3rem;
  line-height: 1.1;
  margin-bottom: 20px;
  background: linear-gradient(to right, var(--primary), var(--primary-dark));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
}

.hero-text p {
  font-size: 1.2rem;
  max-width: 500px;
  margin-bottom: 30px;
}

.hero-cta {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.hero-image {
  flex: 1;
  position: relative;
  animation: float 6s ease-in-out infinite;
}

.hero-image img {
  width: 240px;
  /* Adjust this value to your preferred width */
  height: auto;
  /* Maintains aspect ratio */
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  transform: perspective(1000px) rotateY(-10deg);
  transition: var(--transition);
}

.hero-image:hover img {
  transform: perspective(1000px) rotateY(0deg);
}

/* Features Section */
.features {
  background: var(--white);
  position: relative;
}


.section-title {
  text-align: center;

}

.section-title h2 {
  position: relative;
  display: inline-block;
  font-size: 1.8rem;
  color: #333;
}

.section-title p {
  max-width: 700px;
  margin: 20px auto 20px;
  color: #666;
  font-size: 1.1rem;
}

.section-title h2::after {
  content: "";
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--primary);
  border-radius: 2px;
}


.feature-card.animated {
  opacity: 1;
  transform: translateY(0);
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-md);
}

.feature-icon {
  width: 80px;
  height: 80px;
  background: var(--primary-bg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px;
  color: var(--primary);
  font-size: 2.5rem;
  transition: var(--transition);
}

.feature-card:hover .feature-icon {
  background: var(--primary);
  color: var(--white);
  transform: rotate(15deg) scale(1.1);
}

.feature-card h3 {
  margin-bottom: 15px;
  color: var(--primary);
}


  .features-scroller {
    width: 100%;
    overflow-x: auto;
    padding: 20px 0;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
  }

  .features-grid {
    display: flex;
    gap: 40px;
    padding: 0 calc(50% - 150px);
    /* Centers first card initially */
    scroll-snap-align: center;
  }

  .features-scroller {
    overflow-x: auto;
    
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
    /* IE/Edge */
    -webkit-overflow-scrolling: touch;
    /* iOS smooth scroll */
    scroll-snap-type: x mandatory;
    /* Optional: Snap scrolling */
  }

  .features-scroller::-webkit-scrollbar {
    display: none;
    /* Chrome/Safari/Opera */
  }

  .features-scroller h3{

    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--primary);
  }
  .features-grid::after {
    content: "";
    flex: 0 0 20px; /* Adjust spacing as needed */
  }

  .feature-card {
    flex: 0 0 280px;
    /* Slightly smaller for mobile */
    scroll-snap-align: center;
    min-height: 300px;
    padding: 20px;
    background: #fff;
    border-radius: 10px;
    transition: transform 0.3s ease;
    text-align: center;

  }

  /* Active card highlight effect */
  .feature-card:active {
    transform: scale(0.98);
  }

  /* Auto-centering scroll behavior */
  @media (max-width: 1020px) {
    .features-grid {
      padding: 0 20px;
      scroll-padding: 0 20px;
    }

    /* Snap point indicators (optional) */
    .features-scroller::-webkit-scrollbar {
      height: 4px;
    }

    .features-scroller::-webkit-scrollbar-thumb {
      background: rgba(0, 0, 0, 0.2);
      border-radius: 2px;
    }
  }

  /* Large screen centering */
  @media (min-width: 1020px) {
    .features-scroller {
      overflow-x: visible;
    }

    .features-grid {
      justify-content: center;
      padding: 0;
    }
  }








/* About Preview */
.about-preview {
  background: var(--gray);
  position: relative;
}

.about-content {
  display: flex;
  align-items: center;
  gap: 60px;
}

.about-text {
  flex: 1;
}

.about-text h2 {
  position: relative;
  margin-bottom: 25px;
}

.about-text h2::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 60px;
  height: 4px;
  background: var(--primary);
}

.about-image {
  flex: 1;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transition: var(--transition);
}

.about-image:hover {
  transform: scale(1.02);
}

/* Stats Section */
.stats {
  background: var(--primary);
  /* Light gray background */
  padding: 80px 0;
  text-align: center;
}

.stats h2 {
  color: white;
  /* White heading */
  margin-bottom: 15px;
}

.stats p {
  color: rgba(255, 255, 255, 0.9);
  /* Slightly transparent white */
  margin-bottom: 40px;
  font-size: 1.1rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  margin-top: 50px;
}



@media (max-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr); 
    gap: 15px;
  }
}


.stat-card {
  padding: 30px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
}

.stat-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(129, 140, 248, 0.2);
}

.stat-number {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: #818cf8;
  /* indigo-400 */
}

.stat-label {
  font-size: 1.1rem;
  color: var(--text-light);
  font-weight: 500;
}

/* CTA Section */
.cta {
  background: linear-gradient(
    135deg,
    var(--primary-dark) 0%,
    var(--primary) 100%
  );
  color: var(--white);
  text-align: center;
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.1;
  z-index: 0;
}

.cta .container {
  position: relative;
  z-index: 1;
}

.cta h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.cta p {
  max-width: 700px;
  margin: 0 auto 40px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.2rem;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 20px; 
}

/* Responsive */
@media (max-width: 1200px) {
  h1 {
    font-size: 2.8rem;
  }

  h2 {
    font-size: 2.2rem;
  }
}






/* How it works scc*/

/* Hero Section */
.how-it-works-hero {
  background: linear-gradient(
    135deg,
    var(--primary-bg) 0%,
    rgba(245, 247, 255, 0) 100%
  );
  padding: 100px 0 60px;
  text-align: center;
}

.how-it-works-hero h1 {
  font-size: 2.8rem;
  background: linear-gradient(to right, var(--primary), var(--primary-dark));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 20px;
}

.how-it-works-hero p {
  max-width: 700px;
  margin: 0 auto 30px;
  font-size: 1.2rem;
}


/* Steps Section - Modern & Sleek */


.steps-section {
  background: var(--white);
  position: relative;
  overflow: hidden;
}

.steps-container {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
}

.step {
  display: grid;
  grid-template-columns: 80px 1fr 1fr;
  gap: 20px;
  align-items: center;
  padding: 50px 0;
  position: relative;
}

.step-number {
  width: 60px;
  height: 60px;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: bold;
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.step-content {
  padding-right: 30px;
}

.step-content h3 {
  font-size: 22px;
  margin-bottom: 15px;
  color: #2c3e50;
}

.step-content p {
  color: #7f8c8d;
  line-height: 1.6;
  font-size: 16px;
}

/* Image Container with Perfect Sizing */
.step-image {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 15px 30px rgba(0,0,0,0.06);
  height: auto; /* Fixed height */
  width: 280px; /* Flexible width */
  position: relative;
}

.step-image img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Ensures images fill container */
  object-position: center; /* Centers the image */
  transition: transform 0.5s ease;
}

/* Hover Effects */
.step:hover .step-image {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.step:hover .step-image img {
  transform: scale(1.05);
}

/* Connector Lines */
.step:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 40px;
  bottom: 0;
  width: calc(100% - 80px);
  height: 1px;
  background: linear-gradient(90deg, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0) 100%);
}

/* Mobile Responsive */
@media (max-width: 992px) {
  .step {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 70px 20px;
    text-align: center;
  }
  
  .step-number {
    margin: 0 auto;
  }
  
  .step-content {
    padding: 0 15px;
  }
  
  .step-image {
    height: auto;
    max-width: 500px;
    margin: 0 auto;
    order: 3; /* Moves image to bottom on mobile */
  }
  
  .step:not(:last-child)::after {
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    bottom: 30px;
  }
}

/* Small Mobile Adjustments */
@media (max-width: 576px) {
  .steps-section {
    padding: 60px 0;
  }
  
  .step {
    padding: 50px 15px;
  }
  
  .step-image {
    height: auto;
    width: 200px;
  }
  
  .step-content h3 {
    font-size: 20px;
  }
  
  .step-content p {
    font-size: 15px;
  }
}





/* UPI Comparison Section */
.upi-comparison {
  background: var(--gray);
  padding: 80px 0;
}

.comparison-container {
  display: flex;
  align-items: center;
  gap: 50px;
}

.comparison-text {
  flex: 1;
}

.comparison-image {
  flex: 1;
  text-align: center;
}

.comparison-text h2 {
  position: relative;
  margin-bottom: 20px;
}

.comparison-text h2::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 60px;
  height: 4px;
  background: var(--primary);
}


.comparison-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
}

.comparison-item i {
  color: var(--primary);
  font-size: 1.2rem;
  margin-top: 3px;
}

/* Payment Methods Section */
.payment-methods {
  background: var(--white);
  padding: 80px 0;
}

.methods-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

/* Horizontal scroll for small screens */
@media (max-width: 768px) {
  .methods-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 20px;
    padding: 20px 0;
    -webkit-overflow-scrolling: touch;
    margin-left: 15px;
    margin-right: 15px;
  }
  
  .method-card {
    scroll-snap-align: start;
    min-width: calc(100vw - 60px); /* Full width minus margins */
    width: calc(100vw - 60px);
    flex: 0 0 auto;
    height: 100%; /* Maintain height */
    box-sizing: border-box; /* Include padding in width */
    padding: 30px 20px; /* Adjusted padding for mobile */
  }
  
  /* Hide scrollbar but keep functionality */
  .methods-grid::-webkit-scrollbar {
    display: none;
  }
  .methods-grid {
    -ms-overflow-style: none;
    scrollbar-width: none;
  }
}

.method-card {
  background: var(--white);
  padding: 30px;
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  text-align: center;
  border: 1px solid rgba(0, 0, 0, 0.05);
  /* Add fixed aspect ratio or min-height if needed */
  min-height: 350px; /* Adjust this value as needed */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.method-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-md);
}

.method-icon {
  width: 60px;
  height: 60px;
  background: var(--primary-bg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: var(--primary);
  font-size: 1.5rem;
  transition: var(--transition);
}

.method-card:hover .method-icon {
  background: var(--primary);
  color: var(--white);
  transform: rotate(15deg) scale(1.1);
}

/* Ensure content stays properly aligned */
.method-card h3 {
  font-size: 1.5rem;
  color: var(--primary);
  margin-bottom: 15px;
}

.method-card p {
  margin-bottom: 20px;
}

/* Payment Methods Section */
.payment-methods {
  background: var(--white);
  padding: 80px 0;
}

.methods-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

/* Horizontal scroll for small screens */
@media (max-width: 768px) {
  .method-card h3 {
    font-size: 1rem;
    color: var(--primary);
    margin-bottom: 10px;
  }
  
  .method-card p {
    margin-bottom: 10px;
    font-size: 0.8rem;
  }
  
  .method-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--primary);
    font-size: 1rem;
    transition: var(--transition);
  }


  .methods-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 15px;
    padding: 10px 10px;
    -webkit-overflow-scrolling: touch;
    margin: 0;
  }
  
  .method-card {
    scroll-snap-align: start;
    min-width: 250px; /* Reduced fixed width */
    width: 250px;
    flex: 0 0 auto;
    height: 100%;
    box-sizing: border-box;
    padding: 10px;
  }
  
  /* Hide scrollbar */
  .methods-grid::-webkit-scrollbar {
    display: none;
  }
  .methods-grid {
    -ms-overflow-style: none;
    scrollbar-width: none;
  }
}

.method-card {
  background: var(--white);
  padding: 30px;
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  text-align: center;
  border: 1px solid rgba(0, 0, 0, 0.05);
  min-height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Rest of your existing styles... */


/* FAQ Section */
.faq-section {
  background: var(--gray);
  padding: 80px 0;
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--white);
  border-radius: 8px;
  margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.faq-question {
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-weight: 600;
  transition: var(--transition);
}

.faq-question:hover {
  color: var(--primary);
}

.faq-answer {
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: var(--transition);
}

.faq-item.active .faq-answer {
  padding: 0 20px 20px;
  max-height: 500px;
}

.faq-toggle {
  transition: var(--transition);
}

.faq-item.active .faq-toggle {
  transform: rotate(180deg);
}

/* Responsive Design */
@media (max-width: 992px) {
  .step {
    flex-direction: column;
    text-align: center;
  }

  .step-number {
    margin-bottom: 20px;
  }

  .comparison-container {
    flex-direction: column;
  }

  .comparison-image {
    order: -1;
    margin-bottom: 40px;
  }
}


/* about scc */

section {
  padding: 80px 0;
  position: relative;
}



p {
  margin-bottom: 1.5rem;
  color: var(--text-light);
  font-size: 1.1rem;
}


img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
}



/* Header */
header {
  background: var(--white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
}

.logo {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary);
}

.nav-links {
  display: flex;
  gap: 30px;
}

.nav-links a {
  color: var(--text);
  font-weight: 500;
  position: relative;
}

.nav-links a:hover {
  color: var(--primary);
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: var(--transition);
}

.nav-links a:hover::after {
  width: 100%;
}

/* Hero About */
.about-hero {
  background: linear-gradient(135deg, var(--primary-bg) 0%, #ffffff 100%);
  padding: 120px 0 80px;
  text-align: center;
}

.about-hero h1 , .how-it-works-hero h1{
  font-size: 2.6rem;
  margin-bottom: 20px;
  background: linear-gradient(to right, var(--primary), var(--primary-dark));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
}



/* Mission Section */
.mission {
  background: var(--white);
}

.mission .container {
  display: flex;
  align-items: center;
  gap: 60px;
}

.mission-image {
  flex: 1;
  animation: float 6s ease-in-out infinite;
}

.mission-text {
  flex: 1;
}

.mission-text h2 {
  position: relative;
  margin-bottom: 30px;
}

.mission-text h2::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 60px;
  height: 4px;
  background: var(--primary);
}

/* Team Section */
.team {
  background: var(--gray);
}

  /* ===== Team Section ===== */
  .team {
    background: var(--gray);
  }

  /* Team Grid (Horizontal Scroll) */
  .team-grid {
    display: flex;
    gap: 30px;
    padding: 0;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    scroll-padding: 0 20px;
    -webkit-overflow-scrolling: touch;
  }

  /* Hide scrollbar but keep functionality */
  .team-grid::-webkit-scrollbar {
    display: none;
  }

  .team-grid {
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  /* Team Member Card */
  .team-member {
    flex: 0 0 280px;
    scroll-snap-align: start;
    background: white;
    border-radius: 12px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: all 0.3s ease;
    opacity: 0;
    /* For scroll animation */
  }

  .team-member:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
  }

  /* Member Image */
  .member-image {
    width: 120px;
    height: 120px;
    margin: 30px auto 20px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f0f4ff, #e0e8ff);
    display: grid;
    place-items: center;
    font-size: 40px;
    color: #3a5bff;
  }

  /* Member Info */
  .member-info {
    padding: 25px;
    text-align: center;
  }
  
  .member-info h3 {
    color: var(--primary);
    font-size: 1.3rem;
    margin-bottom: 5px;
  }
  
  .member-info p {
    color: var(--text-light);
    font-size: 0.9rem;
   
  }



  .team-member.animated {
    opacity: 1;
    transform: translateY(0);
  }
  

  /* Social Links */
  .social-links {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 15px;
  }
  
  .social-links a {
    width: 35px;
    height: 35px;
    background: var(--primary-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    transition: var(--transition);
  }
  
  .social-links a:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-3px);
  }
  /* Right Spacing for Last Card */
  .team-grid::after {
    content: "";
    flex: 0 0 20px;
  }

  /* Responsive Adjustments */
  @media (max-width: 768px) {
    .team-member {
      flex: 0 0 240px;
    }

    .member-image {
      width: 100px;
      height: 100px;
      font-size: 32px;
    }
  }


  /* ===== Values Section ===== */
  .values {
    background: var(--white);
    padding: 80px 0;
  }

  /* Horizontal Scrolling Container */
  .values-scroller {
    overflow-x: auto;
    padding: 30px 0;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Firefox */
    mask-image: linear-gradient(
      to right,
      transparent 0%,
      black 20px,
      black calc(100% - 20px),
      transparent 100%
    );
  }

  .values-scroller::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
  }

  /* Values Grid */
  .values-grid {
    display: flex;
    gap: 30px;
    padding: 0 20px;
    width: max-content;
    scroll-padding: 0 20px;
  }

  /* Value Card */
  .value-card {
    flex: 0 0 300px;
    background: var(--white);
    padding: 40px 30px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    border-top: 4px solid var(--primary);
    opacity: 0;
    transform: translateY(30px);
    scroll-snap-align: start;
  }

  .value-card.animated {
    opacity: 1;
    transform: translateY(0);
  }

  .value-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 40px rgba(92, 107, 192, 0.15);
  }

  /* Value Icon */
  .value-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-bg);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.5rem;
    margin-bottom: 20px;
    transition: transform 0.3s ease;
  }

  .value-card:hover .value-icon {
    transform: scale(1.1);
  }

  /* Right spacing for last card */
  .values-grid::after {
    content: "";
    flex: 0 0 20px;
  }

  /* Responsive Adjustments */
  @media (max-width: 768px) {
    .value-card {
      flex: 0 0 280px;
      padding: 30px 25px;
    }
  }









/* Responsive */
@media (max-width: 992px) {
  .mission .container {
    flex-direction: column;
  }

  .mission-image {
    order: -1;
    margin-bottom: 40px;
  }

  .btn-outline-white {
    margin-left: 0;
    display: block;
    background: transparent;
    color: var(--white);
    border-color: var(--white);
  }
}


/* Contacts Scc */

/* Contact Hero */
.contact-hero {
  background: linear-gradient(135deg, var(--primary-bg) 0%, #ffffff 100%);
  padding: 100px 0;
  text-align: center;
}

.contact-hero h1 {
  font-size: 3rem;
  margin-bottom: 20px;
  background: linear-gradient(to right, var(--primary), var(--primary-dark));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
}

.contact-hero p {
  max-width: 700px;
  margin: 0 auto 40px;
  font-size: 1.2rem;
}

/* Contact Container */
.contact-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 50px;
  margin-top: 60px;
}

/* Contact Info */
.contact-info {
  background: var(--primary-bg);
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.contact-info h2 {
  color: var(--primary);
  margin-bottom: 30px;
  position: relative;
}

.contact-info h2::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 60px;
  height: 4px;
  background: var(--primary);
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 30px;
}

.contact-icon {
  width: 50px;
  height: 50px;
  background: var(--primary);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
  transition: var(--transition);
}

.contact-item:hover .contact-icon {
  transform: rotate(15deg) scale(1.1);
}

.contact-details h3 {
  color: var(--primary);
  margin-bottom: 5px;
}

.contact-details p,
.contact-details a {
  color: var(--text-light);
}

.contact-details a:hover {
  color: var(--primary);
}

/* WhatsApp Button */
.whatsapp-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #25d366;
  color: white;
  padding: 12px 25px;
  border-radius: 8px;
  font-weight: 500;
  margin-top: 10px;
  transition: var(--transition);
}

.whatsapp-btn:hover {
  background: #128c7e;
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(37, 211, 102, 0.3);
}

/* Contact Form */
.contact-form {
  background: var(--white);
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.contact-form h2 {
  color: var(--primary);
  margin-bottom: 30px;
  position: relative;
}

.contact-form h2::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 60px;
  height: 4px;
  background: var(--primary);
}

.form-group {
  margin-bottom: 25px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: var(--text);
}

.form-control {
  width: 100%;
  padding: 15px;
  border: 1px solid var(--gray);
  border-radius: 8px;
  font-family: inherit;
  font-size: 1rem;
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(92, 107, 192, 0.2);
}

textarea.form-control {
  min-height: 150px;
  resize: vertical;
}

.submit-btn {
  background: var(--primary);
  color: var(--white);
  border: none;
  padding: 15px 30px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  width: 100%;
  font-size: 1.1rem;
}

.submit-btn:hover {
  background: var(--primary-dark);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(92, 107, 192, 0.3);
}

/* Map Section */


a {
  text-decoration: none;
  color: var(--primary);
  transition: var(--transition);
}



/* Security Section */
.security-section {
  background: var(--primary);
  color: var(--white);
  padding: 80px 0;
  text-align: center;
}

.security-section h2 {
  color: var(--white);
}

.security-section p {
  color: rgba(255, 255, 255, 0.9);
  max-width: 800px;
  margin: 0 auto 40px;
}

.security-card:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-5px);
}
    /* ===== Security Section ===== */
    .security-section {
      position: relative;
  }

  .security-bg {
      color: white;
      margin-bottom: 40px;
  }


  .security-bg h2::after {
      content: "";
      position: absolute;
      bottom: -10px;
      left: 0;
      width: 60px;
      height: 3px;
      background: rgba(255, 255, 255, 0.5);
  }

  .security-bg p {
      color: rgba(255, 255, 255, 0.9);
      max-width: 700px;
  }

  /* Scrolling Container */
  .security-scroller {
      overflow-x: auto;
      padding: 20px 0;
      scroll-snap-type: x proximity;
      -webkit-overflow-scrolling: touch;
      scrollbar-width: none;
      margin: 0 -20px;
  }

  .security-scroller::-webkit-scrollbar {
      display: none;
  }

  /* Features Grid */
  .security-features {
      display: inline-flex;
      gap: 25px;
      padding: 0 20px;
      scroll-padding: 0 20px;
      width: max-content;
  }

  /* Security Cards */
  .security-card {
      scroll-snap-align: start;
      flex: 0 0 280px;
      background: white;
      border-radius: 12px;
      padding: 30px;
      box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
      transition: all 0.3s ease;
      text-align: center;
      border-top: 4px solid #5c6bc0;
      /* Indigo-400 */
  }

  .security-card i {
      font-size: 2.5rem;
      color: #5c6bc0;
      /* Indigo-400 */
      margin-bottom: 20px;
  }

  .security-card h3 {
      font-size: 1.2rem;
      margin-bottom: 15px;
      color: #333;
  }

  .security-card p {
      font-size: 0.95rem;
      line-height: 1.5;
      color: #666;
  }

  /* Hover Effects */
  .security-card:hover {
      transform: translateY(-5px);
      box-shadow: 0 10px 25px rgba(92, 107, 192, 0.15);
  }

  /* Right spacing */
  .security-features::after {
      content: "";
      flex: 0 0 20px;
  }

  /* Desktop Layout */
  @media (min-width: 992px) {
      .security-scroller {
          overflow: visible;
          padding: 0;
          margin: 0;
      }

      .security-features {
          display: grid;
          grid-template-columns: repeat(4, 1fr);
          gap: 30px;
          width: 100%;
          padding: 0;
      }

      .security-card {
          flex: 1;
      }
  }
      /* ===== Security Section ===== */
      .security-section {
        position: relative;
    }

    .security-bg {
        color: white;
        margin-bottom: 40px;
    }

    .security-bg h2::after {
        content: "";
        position: absolute;
        bottom: -10px;
        left: 0;
        width: 60px;
        height: 3px;
        background: rgba(255, 255, 255, 0.5);
    }

    .security-bg p {
        color: rgba(255, 255, 255, 0.9);
        max-width: 700px;
    }

    /* Scrolling Container */
    .security-scroller {
        overflow-x: auto;
        padding: 20px 0;
        scroll-snap-type: x proximity;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        margin: 0 -20px;
    }

    .security-scroller::-webkit-scrollbar {
        display: none;
    }

    /* Features Grid */
    .security-features {
        display: inline-flex;
        gap: 25px;
        padding: 0 20px;
        scroll-padding: 0 20px;
        width: max-content;
    }

    /* Security Cards */
    .security-card {
        scroll-snap-align: start;
        flex: 0 0 280px;
        background: white;
        border-radius: 12px;
        padding: 30px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
        transition: all 0.3s ease;
        text-align: center;
        border-top: 4px solid #5c6bc0;
        /* Indigo-400 */
    }

    .security-card i {
        font-size: 2.5rem;
        color: #5c6bc0;
        /* Indigo-400 */
        margin-bottom: 20px;
    }

    .security-card h3 {
        font-size: 1.2rem;
        margin-bottom: 15px;
        color: #333;
    }

    .security-card p {
        font-size: 0.95rem;
        line-height: 1.5;
        color: #666;
    }

    /* Hover Effects */
    .security-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 25px rgba(92, 107, 192, 0.15);
    }

    /* Right spacing */
    .security-features::after {
        content: "";
        flex: 0 0 20px;
    }

    /* Desktop Layout */
    @media (min-width: 992px) {
        .security-scroller {
            overflow: visible;
            padding: 0;
            margin: 0;
        }

        .security-features {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 30px;
            width: 100%;
            padding: 0;
        }

        .security-card {
            flex: 1;
        }
    }

    /* Mobile-first styles (applies to screens < 768px) */
    @media (max-width: 767px) {
        .security-bg {
            padding: 0;
            /* Reduced from 60px */
        }

        .security-bg h2 {
            font-size: 1.2rem;
            /* Smaller heading */
        }

        .security-bg p {
            font-size: 0.9rem;
            /* Smaller text */
            /* Tighter spacing */
        }

        .security-scroller {
            margin-top: -20px;
            /* Less overlap needed */
        }

        .security-card {
            flex: 0 0 240px;
            /* Narrower cards */
 
        }

        .security-card i {
            font-size: 1.5rem;
            /* Smaller icons */
            margin-bottom: 15px;
        }

        .security-card h3 {
            font-size: 1rem;
            margin-bottom: 10px;
        }

        .security-card p {
            font-size: 0.8rem;
        }
    }

    /* Tablet adjustments (768px - 991px) */
    @media (min-width: 768px) and (max-width: 991px) {
        .security-card {
            flex: 0 0 260px;
        }
    }



  /* Tablet adjustments (768px - 991px) */
  @media (min-width: 768px) and (max-width: 991px) {
      .security-card {
          flex: 0 0 260px;
      }
  }





/* CTA Section */
.cta-section {
  background: linear-gradient(
    135deg,
    var(--primary-dark) 0%,
    var(--primary) 100%
  );
  color: var(--white);
  text-align: center;
  padding: 80px 0;
}

.cta-section h2 {
  color: var(--white);
  margin-bottom: 20px;
}

.cta-section p {
  color: rgba(255, 255, 255, 0.9);
  max-width: 700px;
  margin: 0 auto 30px;
}


.btn-white {
  background: var(--white);
  color: var(--primary);
  padding: 8px 12px;
  border-radius: 10px;
}

.btn-white:hover {
  background: rgba(255, 255, 255, 0.9);
  color: var(--primary-dark);
}

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}

.btn-outline-white:hover {
  background: var(--white);
  color: var(--primary);
}

/* Responsive Design */
@media (max-width: 992px) {
  .showcase-container {
    flex-direction: column;
  }


  .showcase-image {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
  }

  .showcase-image {
    order: -1;
    margin-bottom: 40px;
  }
}



/* QR Modal Styles */
.qr-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1000;
}

.qr-modal-content {
  position: absolute;
  top: 50%; /* Push down from top 50% */
  left: 50%; /* Push right from left 50% */
  transform: translate(-50%, -50%); /* Pull back by half its size */
  width: 500px;
  max-width: 90%;
  background: white;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

@keyframes modalFadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.qr-modal-header {
  padding: 20px;
  border-bottom: 1px solid #f0f0f0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.qr-modal-header h3 {
  margin: 0;
  color: #333;
  font-size: 1.3rem;
  font-weight: 600;
}

.close-modal {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: #888;
  transition: color 0.2s;
}

.close-modal:hover {
  color: #333;
}

.qr-modal-body {
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 20px;
}

.qr-code-container {
  position: relative;
  background: white;
  padding: 15px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  border: 1px solid #f0f0f0;
  min-width: 150px;
  min-height: 150px;
}

.qr-code-container img {
  width: 150px;
  height: 150px;
  display: block;
  transition: opacity 0.3s ease;
}

.qr-code-placeholder {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
  width: 40px;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: transparent; /* Remove white background */
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.qr-code-placeholder.active {
  opacity: 1;
}

.qr-code-placeholder i {
  font-size: 2rem;
  color: var(--primary);
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

.qr-instructions {
  flex: 1;
}

.qr-instructions h4 {
  margin-top: 0;
  margin-bottom: 15px;
  color: #444;
  font-size: 1.1rem;
  font-weight: 500;
}

.qr-instructions ol {
  padding-left: 20px;
  margin: 0;
  color: #555;
  font-size: 0.9rem;
  line-height: 1.6;
}

.qr-instructions li {
  margin-bottom: 8px;
}

.qr-instructions strong {
  color: #333;
  font-weight: 600;
}

.qr-timer {
  margin-top: 15px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: #ff6b6b;
}

.qr-timer i {
  font-size: 0.9rem;
}

.qr-modal-footer {
  padding: 15px 20px;
  border-top: 1px solid #f0f0f0;
  display: flex;
  justify-content: center;
}

.btn {
  padding: 10px 20px;
  border-radius: 8px;
  border: none;
  font-weight: 500;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s;
}

.btn-primary {
  background-color: var(--primary);
  color: white;
}

.btn-primary:hover {
  background-color: var(--primary);
  transform: translateY(-1px);
}

.btn-refresh i {
  transition: transform 0.3s ease;
}

.btn-refresh:active i {
  transform: rotate(360deg);
}

/* Floating Button */
.qr-login-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 999;
}

.qr-login-btn {
  background-color: var(--primary);
  color: white;
  border: none;
  border-radius: 50px;
  padding: 12px 20px;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 15px rgba(108, 92, 231, 0.3);
  transition: all 0.2s;
}

.qr-login-btn:hover {
  background-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(108, 92, 231, 0.4);
}

.qr-login-btn i {
  font-size: 1.1rem;
}

/* Comparison Table */
.comparison {
  background: var(--gray);
}

table {
  width: 100%;
  border-collapse: collapse;
  margin: 30px 0;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

th,
td {
  padding: 15px;
  text-align: left;
  border-bottom: 1px solid var(--gray);
}

th {
  background: var(--primary);
  color: white;
  font-weight: 600;
}

tr:nth-child(even) {
  background-color: var(--primary-bg);
}

tr:hover {
  background-color: rgba(30, 64, 175, 0.05);
}

.highlight {
  color: var(--primary);
  font-weight: 600;
}

/* Business Section */
.business {
  background: var(--white);
}

/* Hero Section */
.hero {
  background: linear-gradient(
    135deg,
    var(--primary-bg) 0%,
    rgba(240, 244, 255, 0) 100%
  );
  padding: 120px 0 80px;
  overflow: hidden;
}

.hero-content {
  display: flex;
  align-items: center;
  gap: 60px;
}

.hero-text {
  flex: 1;
  animation: fadeIn 0.8s ease-out;
}



.hero-text p {
  font-size: 1.2rem;
  max-width: 500px;
  margin-bottom: 30px;
}



.hero-stats {
  display: flex;
  gap: 30px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.stat-number {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--text-light);
}

.hero-image {
  flex: 1;
  position: relative;
  animation: float 6s ease-in-out infinite;
}

.hero-image img {
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  transform: perspective(1000px) rotateY(-10deg);
  transition: var(--transition);
}

.hero-image:hover img {
  transform: perspective(1000px) rotateY(0deg);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 24px;
  border-radius: 10px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
  font-size: 0.9rem;
  border: 2px solid transparent;
  line-height: 1.5;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 4px 15px rgba(30, 64, 175, 0.3);
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(30, 64, 175, 0.4);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: var(--white);
}

.btn-white {
  background: var(--white);
  color: var(--primary);
}

.btn-white:hover {
  background: rgba(255, 255, 255, 0.9);
  color: var(--primary-dark);
}

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}

/* About Preview */

.about-image {
  width: 450px;
  /* Your desired width */
  height: auto;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transition: var(--transition);
  flex: 0 0 auto;
  /* This prevents flex from overriding your width */
}

.about-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  /* Ensures image fills container nicely */
}

.about-image:hover {
  transform: scale(1.02);
}

/* Government Section */
.government {
  background: var(--primary-bg);
  position: relative;
}

.contact-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiPjxkZWZzPjxwYXR0ZXJuIGlkPSJwYXR0ZXJuIiB3aWR0aD0iNDAiIGhlaWdodD0iNDAiIHBhdHRlcm5Vbml0cz0idXNlclNwYWNlT25Vc2UiIHBhdHRlcm5UcmFuc2Zvcm09InJvdGF0ZSg0NSkiPjxyZWN0IHdpZHRoPSIyMCIgaGVpZ2h0PSIyMCIgZmlsbD0icmdiYSgyNTUsMjU1LDI1NSwwLjA1KSIvPjwvcGF0dGVybj48L2RlZnM+PHJlY3QgZmlsbD0idXJsKCNwYXR0ZXJuKSIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIvPjwvc3ZnPg==");
  opacity: 0.3;
}

.contact-hero h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.contact-hero p {
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto;
  opacity: 0.9;
  position: relative;
  z-index: 1;
}

/* Contact Container */
.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin: 60px auto;
  position: relative;
}

/* Contact Info Section */
.contact-info {
  background: var(--white);
  border-radius: 12px;
  padding: 40px;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}

.contact-info::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(to bottom, var(--primary), var(--secondary));
}

.contact-info h2 {
  font-size: 1.8rem;
  margin-bottom: 30px;
  color: var(--primary);
}

.contact-item {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
  align-items: flex-start;
}

.contact-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
  box-shadow: 0 4px 6px rgba(79, 70, 229, 0.2);
}

.contact-details h3 {
  font-size: 1.1rem;
  margin-bottom: 5px;
  color: var(--dark);
}

.contact-details p,
.contact-details a {
  color: var(--grey);
  transition: var(--transition);
}

.contact-details a:hover {
  color: var(--primary);
}

.whatsapp-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #25d366;
  color: white !important;
  padding: 8px 16px;
  border-radius: 6px;
  margin-top: 10px;
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition);
}

.whatsapp-btn:hover {
  background: #128c7e;
  transform: translateY(-2px);
}

/* Contact Form Section */
.contact-form {
  background: var(--white);
  border-radius: 12px;
  padding: 40px;
  box-shadow: var(--shadow-md);
}

.contact-form h2 {
  font-size: 1.8rem;
  margin-bottom: 30px;
  color: var(--primary);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: var(--dark);
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--light-grey);
  border-radius: 8px;
  font-family: "Poppins", sans-serif;
  font-size: 1rem;
  transition: var(--transition);
  background-color: var(--light);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-light);
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

textarea.form-control {
  min-height: 150px;
  resize: vertical;
}

.submit-btn {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--white);
  border: none;
  padding: 14px 28px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  width: 100%;
  box-shadow: 0 4px 6px rgba(79, 70, 229, 0.2);
}

.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(79, 70, 229, 0.3);
}

/* Map Section */
.map-section {
  margin: 80px auto;
}

.map-section h2 {
  font-size: 1.8rem;
  margin-bottom: 20px;
  text-align: center;
  color: var(--primary);
}

.map-container {
  height: 400px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* Responsive Design */
@media (max-width: 992px) {
  .contact-container {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .contact-hero h1 {
    font-size: 2rem;
  }
}

@media (max-width: 768px) {
  .contact-hero {
    padding: 60px 0;
  }

  .contact-info,
  .contact-form {
    padding: 30px;
  }
}

@media (max-width: 480px) {
  .contact-hero h1 {
    font-size: 1.8rem;
  }

  .contact-hero p {
    font-size: 1rem;
  }

  .contact-item {
    flex-direction: column;
    gap: 10px;
  }

  .contact-icon {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }
}

/* Footer */
footer {
  background: var(--text);
  color: var(--white);
  padding: 60px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  margin-bottom: 50px;
}

.footer-logo {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 20px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
}

.footer-about {
  margin-bottom: 25px;
  opacity: 0.8;
}

.footer-social {
  display: flex;
  gap: 15px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.1rem;
  transition: var(--transition);
}

.footer-social a:hover {
  background: var(--primary);
  transform: translateY(-3px);
}

.footer-title {
  font-size: 1.2rem;
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 10px;
}

.footer-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background: var(--primary);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  transition: var(--transition);
  display: inline-block;
}

.footer-links a:hover {
  color: var(--white);
  transform: translateX(5px);
}

.footer-bottom {
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  font-size: 0.9rem;
  opacity: 0.8;
}

@media (max-width: 576px) {
  .methods-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-title::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .footer-social {
    justify-content: center;
  }
}

/* Water Bill */
/* Hero Section */
.bill-hero {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--white);
  padding: 60px 0;
  text-align: center;
  margin-bottom: 40px;
}

.bill-hero h1 {
  font-size: 2.2rem;
  margin-bottom: 15px;
}

.bill-hero p {
  font-size: 1.1rem;
  opacity: 0.9;
  max-width: 700px;
  margin: 0 auto;
}

/* Bill Payment Container */
.bill-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  margin-bottom: 60px;
}

/* Search Section */
.search-section {
  background: var(--white);
  border-radius: 12px;
  box-shadow: var(--shadow-md);
  margin-bottom: 50 !important;
  padding: 30px !important; 
  width: 100% !important; 
}

.search-section h2 {
  font-size: 1.5rem;
  margin-bottom: 20px;
  color: var(--primary);
}

.search-form {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.form-group {
  flex: 1;
  min-width: 250px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--light-gray);
  border-radius: 8px;
  font-family: "Poppins", sans-serif;
  font-size: 1rem;
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-light);
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.search-btn {
  background: var(--primary);
  color: var(--white);
  border: none;
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  align-self: flex-end;
}

.search-btn:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

/* Customer Details Section */
.customer-details {
  background: var(--white);
  border-radius: 12px;
  padding: 30px;
  box-shadow: var(--shadow-md);
  margin-bottom: 50 !important;
  padding: 30px !important; 
  width: 100% !important; 
  display: none;
}

.customer-details.active {
  display: block;
  animation: fadeIn 0.5s ease-out;
}


.customer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 1px solid var(--light-gray);
}

.customer-header h2 {
  font-size: 1.5rem;
  color: var(--primary);
}

.customer-badge {
  background: var(--secondary);
  color: var(--white);
  padding: 5px 10px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
}

.customer-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-bottom: 30px;
}

.info-item h3 {
  font-size: 0.9rem;
  color: black;
  margin-bottom: 5px;
}

.info-item p {
  font-weight: 500;
}

/* Payment Section */
.payment-section {
  background: var(--white);
  border-radius: 12px;
  padding: 30px;
  box-shadow: var(--shadow-md);
  display: none;
}

.payment-section.active {
  display: block;
  animation: fadeIn 0.5s ease-out;
}

.payment-header {
  margin-bottom: 20px;
}

.payment-header h2 {
  font-size: 1.5rem;
  color: var(--primary);
  margin-bottom: 10px;
}

.payment-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.amount-group {
  grid-column: span 2;
}

.amount-input {
  position: relative;
}

.amount-input span {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-weight: 600;
  color: var(--gray);
}

.amount-input input {
  padding-left: 40px !important;
}

.calculation-result {
  background: var(--light);
  padding: 15px;
  border-radius: 8px;
  margin-top: 10px;
  display: none;
}

.calculation-result.active {
  display: block;
}

.calculation-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
}

.calculation-row:last-child {
  margin-bottom: 0;
  font-weight: 600;
  color: var(--primary);
}

.payment-options {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

.payment-btn {
  flex: 1;
  min-width: 200px;
  padding: 14px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.payment-btn.primary {
  background: var(--primary);
  color: var(--white);
  border: none;
}

.payment-btn.primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(79, 70, 229, 0.3);
}

.payment-btn.outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.payment-btn.outline:hover {
  background: rgba(79, 70, 229, 0.1);
}

/* QR Code Modal */
.qr-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.qr-modal.active {
  opacity: 1;
  visibility: visible;
}

.qr-content {
  background: var(--white);
  border-radius: 12px;
  padding: 30px;
  width: 90%;
  max-width: 400px;
  text-align: center;
  position: relative;
  transform: translateY(20px);
  transition: var(--transition);
}

.qr-modal.active .qr-content {
  transform: translateY(0);
}

.qr-content h3 {
  font-size: 1.3rem;
  margin-bottom: 20px;
  color: var(--primary);
}

#qrcode {
  margin: 0 auto 20px;
  padding: 10px;
  background: var(--white);
  border-radius: 8px;
  display: inline-block;
}

.qr-close {
  position: absolute;
  top: 15px;
  right: 15px;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--gray);
}

/* Responsive Design */
@media (max-width: 768px) {
  .bill-hero {
    padding: 40px 0;
  }

  .bill-hero h1 {
    font-size: 1.8rem;
  }

  .payment-form {
    grid-template-columns: 1fr;
  }

  .amount-group {
    grid-column: span 1;
  }

  .payment-btn {
    min-width: 100%;
  }
}

@media (max-width: 480px) {
  .bill-hero h1 {
    font-size: 1.6rem;
  }

  .search-form {
    flex-direction: column;
    gap: 15px;
  }

  .search-btn {
    width: 100%;
  }

  .customer-info {
    grid-template-columns: 1fr;
  }
}

.customer-details p {
  color: rgba(0, 0, 0, 0.54); /* Black with 54% opacity */
}
.about-hero .btn-outline-white {
  border: 2px solid #5c6bc0; /* Indigo[400] border */
  background: transparent; /* Transparent background */
  color: #5c6bc0; /* Indigo[400] text */
  padding: 10px 20px;
  font-size: 15px;
  font-weight: bold;
  text-decoration: none;
  display: inline-block;
  border-radius: 10px;
  transition: all 0.3s ease;
}

.about-hero .btn-outline-white:hover {
  background: #5c6bc0; /* Indigo[400] background on hover */
  color: white; /* White text on hover */
  border: 2px solid #5c6bc0; /* Indigo[400] border */
}
.about-hero .btn-white {
  background: #5c6bc0; /* Indigo[400] background */
  color: white; /* White text */
  border: 2px solid #5c6bc0; /* Indigo[400] border */
  padding: 10px 20px;
  font-size: 15px;
  font-weight: bold;
  text-decoration: none;
  display: inline-block;
  border-radius: 10px;
  transition: all 0.3s ease;
}

.about-hero .btn-white:hover {
  background: white; /* White background on hover */
  color: #5c6bc0; /* Indigo[400] text on hover */
  border: 2px solid #ffffff; /* Maintain border */
}
/* Add this at the end of your CSS file */



/* Mobile-specific heading sizes */
@media (max-width: 576px) {
  h1 {
    font-size: 2rem !important; /* Reduced from 3rem */
  }
  
  h2 {
    font-size: 1.4rem !important; /* Reduced from 2.5rem */
  }
  
  h3 {
    font-size: 1.2rem !important; /* Reduced from 2rem */
  }
  

  /* Specific hero heading adjustments */
  .hero-text h1,
  .about-hero h1,
  .contact-hero h1,
  .features-hero h1,
  .how-it-works-hero h1 {
    font-size: 1.8rem !important;
  }
  
  /* Section title adjustments */
  .section-title h2 {
    font-size: 1.5rem !important;
  }
  
  /* Reduce paragraph font size slightly */
  p {
    font-size: 1rem !important;
  }
  
  /* Adjust hero padding */
  .hero,
  .about-hero,
  .contact-hero,
  .features-hero,
  .how-it-works-hero {
    padding: 60px 0 40px !important;
  }
  
  /* Reduce section padding */
  section {
    padding: 60px 0 !important;
  }
}
@media (max-width: 768px) {
  .about-content,
  .hero-content{
    flex-direction: column; /* Stacks the elements vertically on smaller screens */
  }
  
  .about-text, .about-image, .hero-text, .hero-image {
    flex: auto; /* Reset flex for stacked view */
  }
  
  .about-text, .hero-text {
    order: 1; /* Ensures text comes before the image on small screens */
  }
  
  .about-image{
    order: 2; 
    width: 70%; 
    height: auto; 
  }
.hero-image {
    order: 2; 
    
    height: auto; 
  }
  .mission-image{
    order: 2; 
  }
}



.about-content ul {
  display: flex;
  flex-direction: column; /* Stack items vertically by default */
  padding: 0;
  list-style: none; /* Removes default bullet points */
  margin: 0;
}

.about-content ul li {
  display: flex; /* Ensures icon and text are in a row */
  align-items: flex-start; /* Changed from 'start' to 'flex-start' for better browser support */
  margin-bottom: 10px; /* Space between list items */
  font-size: 1rem; /* Adjust font size for readability */
}

.about-content ul li::before {
  content: "✔"; /* Example icon (can be changed) */
  display: inline-block;
  color: #5c6bc0; /* Icon color (adjust as needed) */
  font-size: 1.2rem; /* Icon size slightly larger than text */
  margin-right: 8px; /* Space between icon and text */
  flex-shrink: 0; /* Prevents the icon from shrinking */
}

@media (max-width: 768px) {
  .about-content ul {
    flex-direction: column; /* Changed to row for horizontal layout */
    flex-wrap: wrap; /* Allows items to wrap */
    gap: 10px; /* Adds spacing between items */
  }

  .about-content ul li {
    flex: 1 1 calc(50% - 10px); /* Each item takes half-width with gap */
    font-size: 0.9rem;
    margin-bottom: 0;
    min-width: 0; /* Allows text to overflow properly */
  }

  .about-content ul li::before {
    font-size: 1rem;
  }
  
  /* Add this to ensure text aligns properly when wrapping */
  .about-content ul li span {
    display: inline-block;
    text-align: left;
    word-break: break-word;
  }
}

/* For all screen sizes */
.hero-cta {
  display: flex;
  gap: 15px; /* Space between buttons */
  flex-wrap: wrap; /* Allow buttons to wrap on very small screens */
}
.hero-cta a,  .cta-buttons a 

{
  font-size: 1rem; /* Reduce button font size */
  padding: 6px 10px; /* Shrink padding for smaller buttons */
  border-radius: 10px;
}
/* Center buttons on small screens */
@media (max-width: 768px) {
  .hero-cta {
    flex-direction: row;
    justify-content: center; 
    margin-top: 20px; 
  }
  .hero-cta a,
  .cta-buttons a 
  
  {
    font-size: 0.8rem; 
    padding: 6px 10px; 
    border-radius: 10px;
  }

  .cta-buttons {
    margin-top: 20px; 
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
  }
  
  /* Optional: Make buttons full width on very small screens */
  @media (max-width: 480px) {
    .hero-cta {
      flex-direction: row;
    }


    .hero-cta a {
      width: 100%;
      text-align: center;
    }
  }
}





  /* ========== WATER BILL PAYMENT STYLES ========== */
  :root {
    --water-primary: #5c6bc0;
    --water-primary-dark: #3f51b5;
    --water-primary-light: #7986cb;
    --water-text-light: #ffffff;
    --water-text-dark: #333333;
    --water-bg-light: #f5f5f5;
    --water-border: #e0e0e0;
    --water-success: #4caf50;
    --water-error: #f44336;
  }

  .water-hero-section {
    background: linear-gradient(135deg, var(--water-primary) 0%, var(--water-primary-dark) 100%);
    color: var(--water-text-light);
    padding: 3rem 1rem;
    text-align: center;
    margin-bottom: 2rem;
  }

  .water-hero-container {
    max-width: 1200px;
    margin: 0 auto;
  }

  .water-hero-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
  }

  .water-hero-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 800px;
    margin: 0 auto;
  }

  .water-main-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
  }

  .water-bill-container {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    margin-bottom: 2rem;
  }

  .water-section-title {
    font-size: 1.8rem;
    color: var(--water-text-dark);
    margin-bottom: 1rem;
    text-align: center;
  }

  .water-search-section {
    max-width: 600px;
    margin: 0 auto;
  }

  .water-search-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
  }

  .water-form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
  }

  .water-form-label {
    font-weight: 600;
    color: var(--water-text-dark);
  }

  .water-form-control {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid var(--water-border);
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
  }

  .water-form-control:focus {
    border-color: var(--water-primary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(92, 107, 192, 0.2);
  }

  .water-search-btn {
    background-color: var(--water-primary);
    color: white;
    border: none;
    border-radius: 12px;
    padding: 0.8rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
  }

  .water-search-btn:hover {
    background-color: var(--water-primary-dark);
  }

  .water-btn-icon {
    font-size: 0.9em;
  }

  .water-customer-section,
  .water-payment-section {
    display: none;
    max-width: 800px;
    margin: 0 auto;
  }

  .water-customer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
  }

  .water-customer-badge {
    background-color: var(--water-success);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
  }

  .water-customer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
  }

  .water-info-card {
    background: var(--water-bg-light);
    border-radius: 12px;
    padding: 1.2rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  }

  .water-info-title {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 0.5rem;
  }

  .water-info-value {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--water-text-dark);
  }

  .water-action-btn {
    background-color: var(--water-primary);
    color: white;
    border: none;
    border-radius: 12px;
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin: 0 auto;
  }

  .water-action-btn:hover {
    background-color: var(--water-primary-dark);
  }

  .water-payment-header {
    text-align: center;
    margin-bottom: 1.5rem;
  }

  .water-payment-subtitle {
    color: #666;
    margin-top: 0.5rem;
  }

  .water-amount-group {
    margin-bottom: 1.5rem;
  }

  .water-amount-input {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
  }

  .water-amount-input span {
    font-weight: 600;
  }

  .water-calculation-result {
    background: var(--water-bg-light);
    border-radius: 12px;
    padding: 1rem;
    display: none;
  }

  .water-calculation-row {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--water-border);
  }

  .water-calculation-row:last-child {
    border-bottom: none;
    font-weight: 600;
  }

  .water-payment-options {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
  }

  .water-payment-btn {
    flex: 1;
    padding: 0.8rem;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
  }

  .water-payment-primary {
    background-color: var(--water-primary);
    color: white;
    border: none;
  }

  .water-payment-primary:hover {
    background-color: var(--water-primary-dark);
  }

  .water-payment-outline {
    background-color: transparent;
    color: var(--water-primary);
    border: 2px solid var(--water-primary);
  }

  .water-payment-outline:hover {
    background-color: rgba(92, 107, 192, 0.1);
  }

  /* QR Modal Styles */
  .water-qr-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
  }

  .water-qr-modal.active {
    opacity: 1;
    visibility: visible;
  }

  .water-qr-content {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    width: 90%;
    max-width: 400px;
    text-align: center;
    position: relative;
  }

  .water-qr-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 1.5rem;
    background: none;
    border: none;
    cursor: pointer;
    color: #666;
  }

  .water-qr-content h3 {
    margin-bottom: 1rem;
    color: var(--water-primary);
  }

  .water-qr-content p {
    margin: 1rem 0;
    color: #666;
  }

  .water-qr-amount {
    font-weight: 600;
    color: var(--water-text-dark);
    margin-top: 1.5rem;
  }

  /* Active States */
  .water-active {
    display: block !important;
    animation: water-fadeIn 0.5s ease-out;
  }

  @keyframes water-fadeIn {
    from {
      opacity: 0;
      transform: translateY(10px);
    }

    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  /* ========== RESPONSIVE STYLES ========== */
  @media only screen and (max-width: 768px) {
    .water-hero-title {
      font-size: 2rem;
    }

    .water-hero-subtitle {
      font-size: 1rem;
    }

    .water-section-title {
      font-size: 1.5rem;
    }

    .water-bill-container {
      padding: 1.5rem;
    }

    .water-customer-grid {
      grid-template-columns: 1fr 1fr;
    }

    .water-payment-options {
      flex-direction: column;
    }
  }

  @media only screen and (max-width: 576px) {
    .water-hero-title {
      font-size: 1.8rem;
    }

    .water-customer-grid {
      grid-template-columns: 1fr;
    }

    .water-customer-header {
      flex-direction: column;
      align-items: flex-start;
      gap: 0.5rem;
    }

    .water-form-control {
      padding: 0.7rem;
    }

    .water-search-btn,
    .water-action-btn,
    .water-payment-btn {
      padding: 0.7rem;
      font-size: 0.9rem;
    }

    .water-info-card {
      padding: 1rem;
    }
  }


  /* Primary color styling */


  .bill-hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 3rem 1rem;
    text-align: center;
    margin-bottom: 2rem;
  }

  .hero-container {
    max-width: 1200px;
    margin: 0 auto;
  }

  .hero-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
  }

  .main-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
  }

  .section-title {
    font-size: 1.8rem;
    color: #333;
    margin-bottom: 1.5rem;
    text-align: center;
  }

  .search-section,
  .customer-section,
  .payment-section {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    margin-bottom: 2rem;
    display: none;
  }

  .search-section {
    display: block;
  }

  .search-form {
    max-width: 500px;
    margin: 0 auto;
  }

  .form-group {
    margin-bottom: 1.5rem;
  }

  .form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #555;
  }

  .form-input {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 12px;
    font-size: 1rem;
    transition: border-color 0.3s;
  }

  .form-input:focus {
    border-color: var(--primary);
    outline: none;
    box-shadow: 0 0 0 2px rgba(92, 107, 192, 0.2);
  }

  .primary-btn {
    background-color: var(--primary);
    color: white;
    border: none;
    border-radius: 12px;
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .primary-btn:hover {
    background-color: var(--primary-dark);
  }

  .search-btn {
    width: 100%;
  }

  .action-btn {
    margin-top: 1.5rem;
    width: 100%;
    max-width: 300px;
    margin-left: auto;
    margin-right: auto;
    display: block;
  }

  .btn-icon {
    margin-right: 0.5rem;
  }

  .customer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 1.5rem;
  }

  .info-card {
    background: #f9f9f9;
    border-radius: 12px;
    padding: 1.2rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  }

  .info-title {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 0.5rem;
  }

  .info-value {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
  }

  .payment-form {
    max-width: 500px;
    margin: 0 auto;
  }

  .payment-options {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
  }

  .payment-btn {
    flex: 1;
  }

  /* Active states for sections */
  .active {
    display: block !important;
    animation: fadeIn 0.5s ease-out;
  }

  @keyframes fadeIn {
    from {
      opacity: 0;
      transform: translateY(10px);
    }

    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  /* Responsive Styles */
  @media only screen and (max-width: 576px) {
    .hero-subtitle {
      font-size: 1rem;
    }

    .section-title {
      font-size: 1.5rem;
    }

    .search-section,
    .customer-section,
    .payment-section {
      padding: 1.5rem;
    }

    .customer-grid {
      grid-template-columns: 1fr;
      gap: 1rem;
    }

    .payment-options {
      flex-direction: column;
    }

    .payment-btn {
      width: 100%;
    }

    .action-btn {
      max-width: 100%;
    }

    .form-input {
      padding: 0.7rem;
    }

    .primary-btn {
      padding: 0.7rem 1rem;
      font-size: 0.9rem;
    }
  }













.map-section {
  padding: 40px 0;
}

.map-container {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  height: auto;
  padding: 0;
  margin: 0;
}

/* Default iframe size for desktops */
.map-container iframe {
  width: 100%;
  height: 400px;
  border: none;
  display: block;
  border-radius: 8px;
}

/* Mobile-specific adjustments */
@media (max-width: 768px) {
  .map-section {
    padding: 20px 0;
  }

  .map-container {
    height: auto !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  .map-container iframe {
    height: 200px !important;
  }
}
/* ===== Core Features Section ===== */
.features-section {
  padding: 80px 0;
  background: #ffffff;
}

/* Mobile Scrolling */
.features-scroller {
  overflow-x: auto;
  padding: 30px 10px;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  margin: 0 -10px;
}

.features-scroller::-webkit-scrollbar {
  display: none;
}

/* Features Grid */
.features-grid {
  display: inline-flex;
  gap: 25px;
  padding: 0 calc(50% - 175px); /* Center first card */
  scroll-padding: 0 calc(50% - 175px);
}

/* Feature Cards */
.feature-card {
  scroll-snap-align: start;
  flex: 0 0 300px;
  background: var(--gray);
  border-radius: 12px;
  padding: 20px;
  transition: all 0.3s ease;
  margin-top: 10px;
  opacity: 0;
  transform: translateY(20px);
}

.feature-card.animated {
  opacity: 1;
  transform: translateY(0);
}

.feature-icon {
  width: 60px;
  height: 60px;
  background: rgba(92, 107, 192, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #5c6bc0;
  font-size: 1.5rem;
  margin-bottom: 20px;
  transition: all 0.3s ease;
}

.feature-card h3 {
  font-size: 1.2rem;
  margin-bottom: 15px;
  color: var(--primary);
}

.feature-card p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #666;
}

/* Hover Effects */
.feature-card:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 10px 25px rgba(92, 107, 192, 0.1);
}

.feature-card:hover .feature-icon {
  transform: scale(1.1) rotate(5deg);
  background: #5c6bc0;
  color: white;
}

/* Right spacing for last card */
.features-grid::after {
  content: "";
  flex: 0 0 20px;
}

/* Desktop Layout */
@media (min-width: 992px) {
  .features-scroller {
    overflow: visible;
    padding: 0;
    margin: 0;
  }
  
  .features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    padding: 0;
    width: 100%;
  }
  
  .feature-card {
    flex: 1;
    min-width: auto;
  }
}

/* Tablet Layout */
@media (max-width: 991px) and (min-width: 768px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .features-section {
    padding: 40px 0 !important; /* Reduce section padding */
  }
  
  .section-title {
    margin-bottom: 10px !important; /* Reduce title bottom margin */
  }
  
  .section-title p {
    margin-bottom: 10px !important; /* Reduce paragraph margin */
  }
  
  .features-scroller {
    padding: 10px 0 !important; /* Reduce scroller padding */
  }
}


.feature-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 2rem;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.25rem;
    border-radius: 0.75rem;
    background-color: #f8fafc;
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
}

.feature-item:hover {
    background-color: #ffffff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border-left: 4px solid #10b981;
    transform: translateY(-2px);
}

.feature-item i {
    color: #10b981;
    font-size: 1.5rem;
    margin-top: 0.25rem;
    flex-shrink: 0;
}

.feature-item h4 {
    color: #1e293b;
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.feature-item p {
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .feature-item {
        padding: 1rem;
    }

    .feature-item i {
        font-size: 1.25rem;
    }

    .feature-item h4 {
        font-size: 1rem;
    }

    .feature-item p {
        font-size: 0.875rem;
    }
}

