/* ==========================================================================
   Varnamala Technologies – Section Styles
   Source: Website Structure Sheet
   ========================================================================== */

/* Section Spacing */
.section {
  padding-top: 96px;
  padding-bottom: 96px;
  position: relative;
}

.section-soft {
  background-color: var(--soft);
}

.section-dark {
  background-color: var(--navy2);
  color: var(--white);
}

.section-dark h2,
.section-dark h3 {
  color: var(--white);
}

.section-dark p {
  color: #B4C2C9;
}

.section-dark .eyebrow {
  color: var(--gold);
}

.section-header {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 56px;
}

.section-header.text-left {
  text-align: left;
  margin-left: 0;
}

.section-title {
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: clamp(16px, 1.2vw, 18px);
  color: var(--muted);
  line-height: var(--lh-body);
}

/* 1. Hero Section (#home) */
.hero-section {
  padding-top: 80px;
  padding-bottom: 100px;
  background: radial-gradient(circle at 80% 20%, rgba(10, 120, 169, 0.08) 0%, transparent 60%),
              linear-gradient(180deg, var(--soft) 0%, var(--white) 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 48px;
}

.hero-headline {
  margin-bottom: 20px;
}

.hero-subheading {
  font-size: clamp(17px, 1.3vw, 20px);
  color: var(--muted);
  margin-bottom: 36px;
  max-width: 600px;
}

.hero-ctas {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-img-wrap {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
  background-color: var(--white);
}

.hero-badge-float {
  position: absolute;
  bottom: 20px;
  left: -20px;
  background-color: var(--navy);
  color: var(--white);
  padding: 12px 20px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
}

@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-subheading {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-ctas {
    justify-content: center;
  }
  .hero-badge-float {
    position: static;
    margin-top: 16px;
    display: inline-flex;
  }
}

/* 2. Trust Strip */
.trust-section {
  padding-top: 48px;
  padding-bottom: 48px;
  background-color: var(--white);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

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

.trust-number {
  font-family: var(--font-heading);
  font-size: clamp(32px, 3.5vw, 48px);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.1;
  margin-bottom: 6px;
}

.trust-label {
  font-size: 14px;
  color: var(--muted);
  font-weight: 500;
}

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

/* 3. About Section (#about) */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

/* 4 & 5. AI Sections (#ai, #ai-services) */
.ai-services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

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

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

/* 6 & 7. SAP Transformation & Digital Enterprise */
.cards-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

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

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

/* 8. Framework Section */
.framework-section {
  padding-top: 80px;
  padding-bottom: 80px;
  background-color: var(--soft);
}

/* 9. Industries Section (#industries) */
.industries-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

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

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

/* 10 & 11. Stories Section (#stories) */
.stories-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

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

/* 12. Clients Section (#clients) */
.clients-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 40px;
  padding: 32px 0;
}

.client-logo-item {
  filter: grayscale(100%);
  opacity: 0.7;
  transition: filter var(--transition), opacity var(--transition);
}

.client-logo-item:hover {
  filter: grayscale(0%);
  opacity: 1;
}

/* 13. Contact Section (#contact) */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 64px;
}

.contact-info-card {
  background-color: var(--soft);
  border-radius: var(--radius-lg);
  padding: 40px;
  border: 1px solid var(--line);
}

.contact-form {
  background-color: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-sm);
}

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

.form-label {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 8px;
}

.form-control {
  width: 100%;
  min-height: 48px;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--body);
  background-color: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form-control:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(10, 120, 169, 0.15);
  outline: none;
}

textarea.form-control {
  min-height: 120px;
  resize: vertical;
}

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