/* =========================
   RESET
========================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, Helvetica, sans-serif;
}

body {
  color: #1f2937;
  line-height: 1.6;
  background: #ffffff;
}

img {
  max-width: 100%;
  display: block;
}

/* =========================
   SPACING TOKENS
========================= */
:root {
  --space-xs: clamp(8px, 1vw, 12px);
  --space-sm: clamp(12px, 2vw, 20px);
  --space-md: clamp(20px, 3vw, 40px);
  --space-lg: clamp(40px, 6vw, 80px);
  --space-xl: clamp(64px, 8vw, 120px);
}

/* =========================
   GLOBAL
========================= */
.min-h-screen {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.container {
  width: 100%;
  max-width: none;              
  padding-inline: clamp(16px, 3vw, 48px);
}

.description{
  color:#4B5563;
}

.text-center {
  text-align: center;
}

/* =========================
   HERO
========================= */
.hero {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-block: clamp(96px, 12vw, 180px);
  padding-inline: clamp(16px, 3vw, 48px);
  background-image: url('./assests/images/hero_image.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: clamp(85vh, 85vh, 95vh);
  text-align: center;
  color: white;
}

.hero h1 {
  font-weight: 800;
  line-height: 1.15;
  font-size: clamp(48px, 6vw, 96px);
}

.hero .blue,
.hero .orange {
  font-size: clamp(32px, 6vw, 96px);
}

.hero .blue { color: #1E3A8A; }
.hero .orange { color: #D97706; }

.hero p {
  margin-top: var(--space-sm);
  max-width: 640px;
  margin-inline: auto;
  font-size: clamp(18px, 1.8vw, 24px);
  color: #E5E7EB;
}

.hero-buttons {
  margin-top: var(--space-md);
  display: flex;
  justify-content: center;
  gap: clamp(12px, 2vw, 20px);
  flex-wrap: wrap;
}

/* =========================
   BUTTONS
========================= */
.btn-primary,
.btn-secondary {
  height: 48px;
  padding-inline: clamp(20px, 2vw, 36px);
  border-radius: 4px;
  cursor: pointer;
  font-size: clamp(14px, 1.2vw, 18px);
}

.btn-primary {
  background: #D97706;
  color: #fff;
  border: none;
  box-shadow: 0 10px 15px rgba(0,0,0,0.15);
}

/* .btn-primary:hover {
  background: #EA580C;
} */
/* .hero h1 span {
  display: inline;  
  margin: 0;       
} */

.btn-secondary {
  background: #fff;
  color: #1E3A8A;
  border: 1px solid #d1d5db;
  font-weight: 600;
  box-shadow: 0 10px 15px rgba(0,0,0,0.1);
}

/* =========================
   FEATURES
========================= */
.features {
  padding-block: var(--space-lg);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: clamp(24px, 4vw, 48px);
}

.icon {
  width: clamp(48px, 6vw, 64px);
  height: auto;
  margin-inline: auto;
}

.feature-item h3 {
  margin-top: var(--space-xs);
  font-size: clamp(16px, 1.5vw, 20px);
  font-weight: 600;
  color: #111827;
}

.feature-item p {
  margin-top: 8px;
  font-size: clamp(14px, 1vw, 18px);
  color: #6b7280;
}

/* =========================
   SOLUTIONS
========================= */
.solutions {
  background: #FFFDF6;
  padding-block: var(--space-xl);
}

.solutions .container {
  text-align: left;
}

.solution-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: clamp(20px, 3vw, 32px);
  display: flex;
  flex-direction: column;
   height: 100%;
}


.solution-card h3,
.solution-card p {
  text-align: left;
}

.solution-card h3 {
  font-size: clamp(16px, 1.4vw, 20px);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}


.solution-card p {
  font-size: clamp(14px, 1.2vw, 16px);
  margin-top: 8px;
  width: 100%;
}

.solution-card .details {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.35s ease;
}
.solution-card.open .details {
  max-height: 500px; /* enough for any paragraph */
}

.read-more-btn {
  margin-top: auto;
  align-self: flex-start;
  background: none;
  border: none;
  padding: 0;
  color: #D97706;
  font-weight: 600;
  cursor: pointer;
  font-size: clamp(14px, 1.1vw, 16px);
}



.solutions-grid {
  margin-top: var(--space-lg);
  display: grid;
  gap: clamp(20px, 3vw, 32px);
  align-items: stretch;
}

/* =========================
   MODAL
========================= */
.modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.modal.hidden {
  display: none;
}

.modal-content {
  background: #fff;
  border-radius: 8px;
  padding: 32px;
  max-width: 640px;
  width: 90%;
  position: relative;
}

.modal-content h2 {
  color: #D97706;
  margin-bottom: 12px;
}

.modal-content h4 {
  margin-top: 20px;
  color: #1E3A8A;
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 16px;
  font-size: 28px;
  border: none;
  background: none;
  cursor: pointer;
}

.view-details {
  margin-top: auto;   
  color: #D97706;
  font-weight: 600;
  text-decoration: none;
  font-size: 14px;
  padding-top: 16px;
}


.view-details:hover {
  text-decoration: underline;
}


@media (min-width: 1024px) {
  .solutions-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 1023px) {
  .solutions-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .solutions-grid {
    grid-template-columns: 1fr;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
  }
}


/* =========================
   IMPACT
========================= */
.impact {
  padding-block: var(--space-xl);
}

.impact-grid {
  margin-top: var(--space-lg);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(24px, 4vw, 56px);
}

.impact-item img {
  max-width: clamp(180px, 15vw, 240px);
  margin-inline: auto;
  margin-bottom: var(--space-xs);
}

@media (max-width: 768px) {
  .impact-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .impact-grid {
    grid-template-columns: 1fr;
  }
}

/* =========================
   PLATFORM
========================= */
.platform {
  background: #FFFDF6;
  padding-block: var(--space-xl);
}

.platform-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
}

.platform ul {
  margin-top: var(--space-md);
  list-style: none;
}

.platform li {
  display: flex;
  gap: clamp(12px, 2vw, 20px);
  margin-bottom: var(--space-sm);
  font-size: clamp(14px, 1.2vw, 16px);
}

.platform-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 8px;
}

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

/* =========================
   TESTIMONIAL
========================= */
.testimonial {
  padding-block: var(--space-xl);
  padding-inline: clamp(16px, 3vw, 48px);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-md);
}

.quote {
  display: flex;
  justify-content: center;
  width: 100%;
}

.quote img {
  width: clamp(32px, 4vw, 48px);
  margin-bottom: var(--space-sm);
}

.testimonial p {
  font-size: clamp(20px, 2vw, 30px);
  max-width: 720px;
  margin-inline: auto;
  line-height: 1.4;
}


.author-wrapper {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  text-align: left;
  margin-top: var(--space-sm);
}

.author-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.author {
  font-size: clamp(14px, 1.2vw, 16px);
  color: #6b7280;
}

.author strong {
  color: #1f2937;
}


/* =========================
   HERO (MOBILE STYLES)
========================= */

@media (max-width: 640px) {
  .hero h1 {
    font-size: clamp(36px, 8vw, 72px); /* Adjust font-size for mobile */
  }

  .hero h1 span {
    display: inline; /* Ensure spans are inline */
    margin: 0; /* Remove any margin */
  }

  .hero .blue,
  .hero .orange {
    font-size: 30px; /* Adjust font-size for the colors */
  }

  .hero-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
  }
}
