/* General Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  background-color: #ffffff;
  color: #333;
  line-height: 1.6;
}
a {
  color: white;
  margin: 0 10px;
  font-weight: bold;
  font-size: 1rem;
  text-decoration: none;
}
/* Header */
header {
  background: #4a10bc;
  color: #fff;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.hero {
  position: relative;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: white;
  overflow: hidden;
}

/* Background image */
.hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

/* Curved Overlay */
.hero::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(74, 16, 188, 0.8); /* Deep blue w/ opacity */
  clip-path: ellipse(65% 100% at 0% 100%); 
  /* ellipse(width height at x y) → play with values */
  z-index: 2;
}
.hero h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: #fff
}
/* Content */
.hero h2,
.hero p,
.hero .cta-buttons {
  position: relative;
  z-index: 3;
}
.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  max-width: 600px;
}

.button {
  background: white;
  color: #4a10bc;
  padding-top: 20px;
  padding: 0.8rem 1.5rem;
  border-radius: 25px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
}

.button:hover {
  background: #350b8a;
  color: white;
  transform: translateY(-2px);
}

/* Challenge Section */
.challenge-container {
  display: flex;
  align-items: center;     /* vertically center text and image */
  justify-content: space-between;
  gap: 30px;              /* space between text and image */
  margin-bottom: 50px;    /* space below the section */
}

.challenge-text {
  display: flex;
  flex-direction: row-reverse; /* puts text on the right, image on the left */
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 40px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding: 20px;
}

.challenge-text .highlights-content {
  flex: 1;
  text-align: left; /* keep text neat */
}

.challenge-image-wrapper img {
  max-width: 400px;  /* neat size */
  width: 100%;
  height: auto;
  border-radius: 10px; /* optional rounded corners */
}

.solutions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 40px;
}
.solution h2 {
  text-align: center;
  margin-top: 40px;
  margin-bottom: 1rem;
  font-size: 40px;
  color: #222;
}
.solution-card {
  background: #fff;
  border-radius: 12px;
  padding: 1.5rem;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.solution-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.solution-card .icon img {
  width: 100px;      /* controls the size */
  height: 100px;     /* keeps it square */
  object-fit: contain; /* prevents stretching */
  margin-bottom: 1rem;
}


.solution-card .icon {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 1rem;
}


.solution-card h3 {
  margin-bottom: 0.5rem;
  text-align: center;
  font-size: 1.25rem;
  color: #222;
}

.solution-card p {
  font-size: 1rem;
  color: #555;
}


/* Highlights Section */
.highlights {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 50px;
  gap: 40px;
  background: #fff;
}

.highlights-content {
  flex: 1;
}

.highlights-content h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}

.highlights-content p {
  font-size: 1.1rem;
  margin-bottom: 20px;
}

.highlights-content ul {
  list-style: none;
  padding: 0;
}

.highlights-content li {
  margin-bottom: 15px;
  font-size: 1rem;
}

.highlights-image {
  flex: 1;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.highlights-image img {
  position: relative;
  z-index: 2;
  max-width: 100%;
  border-radius: 10px;
}

/* Background shapes */
.highlights-image::before,
.highlights-image::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  z-index: 1;
}

.highlights-image::before {
  width: 400px;
  height: 400px;
  background: #fff; /* dark blue */
  top: -50px;
  right: -100px;
}

.highlights-image::after {
  width: 300px;
  height: 300px;
  background: #4a10bc; /* red */
  bottom: -50px;
  left: -50px;
}

.cards-section {
  display: flex;
  gap: 30px;
  justify-content: center;
  padding: 60px;
}

.card {
  background: #fff;
  padding: 30px;
  width: 45%;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.card .icon {
  font-size: 3rem;
  margin-bottom: 15px;
}

.card h2 {
  margin-bottom: 15px;
  font-size: 1.5rem;
}

.card p {
  margin-bottom: 20px;
  font-size: 1rem;
  line-height: 1.6;
}

/* Buttons */
.card .button {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 6px;
  text-decoration: none;
  color: #fff;
  transition: all 0.3s ease;
  margin-top: 10px;
}

.main-btn {
  background: #4a10bc; /* purple */
}

.main-btn:hover {
  background: #3a0e95;
}

.hidden-btn {
  background: #e63946; /* red */
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s ease;
}

/* Hover effect */
.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.card:hover .hidden-btn {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Vision & Mission */
.vision-mission {
  background: #4a10bc;
  color: #fff;
  padding: 2rem 1.5rem;
  border-radius: 8px;
  margin: 2rem auto;
  max-width: 100%;
}

.vision-mission h2 {
  margin-bottom: 1rem;
  text-align: center;
}

.vision-mission p {
  margin-bottom: 1rem;
  font-size: 1rem;
  text-align: center;
}

.site-footer {
  background: #f8f8f8;
  padding: 40px 20px;
  font-size: 14px;
  color: #333;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  margin-bottom: 30px;
}

.footer-column h3 {
  font-size: 16px;
  margin-bottom: 10px;
  font-weight: bold;
}

.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-column ul li {
  margin-bottom: 8px;
}

.footer-column ul li a {
  color: #333;
  text-decoration: none;
}

.footer-column ul li a:hover {
  text-decoration: underline;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid #ddd;
  padding-top: 15px;
}

.social-icons img {
  height: 24px;
  margin-left: 10px;
}

.card-buttons {
  margin-top: 20px;
}

.card-buttons .button {
  display: inline-block;
  margin-right: 10px;
  margin-top: 10px;
  padding: 10px 20px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.card-buttons .main-btn {
  background: #4a10bc; /* your purple theme */
  color: #fff;
}

.card-buttons .main-btn:hover {
  background: #350c8f;
}

.card-buttons .hidden-btn {
  background: #f1f1f1;
  color: #333;
  border: 1px solid #ccc;
}

.card-buttons .hidden-btn:hover {
  background: #e0e0e0;
}
#how-it-works {
  padding: 60px 20px;
  background: #f9fafb;
  text-align: center;
}

#how-it-works h2 {
  font-size: 2rem;
  margin-bottom: 10px;
}

#how-it-works p {
  color: #666;
  margin-bottom: 40px;
}

.how-grid {
  display: flex;
  justify-content: center;
  gap: 30px;       /* space between cards */
  flex-wrap: wrap; /* stack on smaller screens */
}

.how-card {
  flex: 1 1 45%;
  max-width: 500px;
  background: #fff;
  padding: 25px;
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
  text-align: left;
  transition: transform 0.3s ease;
}

.how-card:hover {
  transform: translateY(-5px);
}

.how-card h3 {
  margin-bottom: 10px;
  font-size: 1.4rem;
  color: #333;
}

.how-card .intro {
  margin-bottom: 20px;
  font-size: 0.95rem;
  line-height: 1.6;
  color: #555;
}

.how-card ol {
  margin: 0 0 20px 20px;
  padding: 0;
}

.how-card li {
  margin-bottom: 12px;
  font-size: 1rem;
  line-height: 1.6;
  color: #444;
}

/* Buttons container */
.card-buttons {
  display: flex;       /* display buttons side by side */
  gap: 10px;           /* space between buttons */
  flex-wrap: wrap;     /* stack on small screens */
  margin-top: 20px;
}

/* All buttons inside card-buttons */
.card-buttons a {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  text-align: center;
  transition: all 0.3s ease;
}

/* Main button */
.card-buttons a.main-btn {
  background-color: #4a10bc; /* purple theme */
  color: #fff;
  border: none;
}

.card-buttons a.main-btn:hover {
  background-color: #350c8f;
}

/* Hidden / secondary button */
.how-card .hidden-btn {
  display: inline-block !important;
  background-color: #f1f1f1;
  color: #4a10bc;
  border: 1px solid #ccc;
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
}
.how-card .hidden-btn:hover {
  background-color: #e0e0e0;
}

/* Responsive: stack cards vertically on smaller screens */
@media (max-width: 768px) {
  .how-card {
    flex: 1 1 100%;
  }
}

#partners .section-header h2 {
  font-size: 2rem;
  margin-bottom: 10px;
  color: #333;
}

#partners .section-header p {
  color: #666;
  margin-bottom: 40px;
  font-size: 1rem;
}

#partners .partner-logo img {
  filter: grayscale(0.2);
  transition: all 0.3s ease;
}

#partners .partner-logo img:hover {
  filter: grayscale(0);
  transform: scale(1.05);
}

/* CTA Section */
.cta-section {
  background: #4a10bc;   /* purple background */
  color: #fff;
  padding: 60px 20px;
  text-align: center;
  border-radius: 16px;
  margin: 50px auto;
  max-width: 1000px;
}

.cta-section h2 {
  font-size: 2rem;
  margin-bottom: 30px;
}

.cta-section .cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.cta-section .button {
  padding: 12px 30px;
  font-size: 1rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  text-align: center;
  transition: all 0.3s ease;
}

/* Primary button */
.cta-section .main-btn {
  background: #fff;
  color: #4a10bc;
}

.cta-section .main-btn:hover {
  background: #e0e0e0;
}

/* Secondary button (always visible) */
.cta-section .secondary-btn {
  background: #f1f1f1;
  color: #333;
  border: 1px solid #ccc;
}

.cta-section .secondary-btn:hover {
  background: #e0e0e0;
}
/* Responsive: stack buttons vertically on small screens */
@media (max-width: 600px) {
  .cta-section .cta-buttons {
    flex-direction: column;
  }
  .cta-section .button {
    width: 100%;
    max-width: 300px;
  }
}
#faq {
  background: #f9fafb;
  padding: 60px 20px;
  text-align: center;
}

#faq h2 {
  font-size: 2rem;
  margin-bottom: 10px;
}

#faq p {
  color: #666;
  margin-bottom: 40px;
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
  text-align: left;
}

.faq-item {
  background: #fff;
  border-radius: 12px;
  margin-bottom: 15px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  padding: 15px 20px;
  background: #4a10bc;
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  text-align: left;
  border: none;
  cursor: pointer;
  outline: none;
  transition: background 0.3s ease;
}

.faq-question:hover {
  background: #350c8f;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  background: #f1f1f1;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-answer p {
  margin: 10px 0;
}

/* When active */
.faq-item.active .faq-answer {
  max-height: 500px; /* ensure enough for content */
  padding: 15px 20px;
} 
.faq-item.active .faq-question {
  background: #350c8f;
}
/* Buttons container */
.faq-buttons {
  margin-top: 20px;
  text-align: center;
}
#scrollTopBtn {
  display: none; /* hidden by default */
  position: fixed;
  bottom: 40px;
  right: 40px;
  z-index: 1000;
  font-size: 24px;
  background-color: #4a10bc;
  color: white;
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  transition: background 0.3s ease, transform 0.3s ease;
}

#scrollTopBtn:hover {
  background-color: #350c8f;
  transform: translateY(-2px);
}

