/* =============================================
   RND Technology Providers — Main Stylesheet
   Brand: Green #90AF45 | Teal #4B5B5B | White #FFFFFF
   Secondary: Light Green #D2E598 | Light Teal #709190 | Salmon #BA6D56
   ============================================= */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --green:       #90AF45;
  --teal:        #4B5B5B;
  --white:       #FFFFFF;
  --light-green: #D2E598;
  --light-teal:  #709190;
  --salmon:      #BA6D56;
  --teal-dark:   #3a4747;
  --gray-bg:     #f7f8f5;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', Arial, sans-serif;
  color: var(--teal);
  line-height: 1.6;
}

/* ---- HEADER ---- */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 3px solid var(--green);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5%;
  height: 72px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

header img.logo {
  height: 48px;
  width: auto;
}

nav {
  display: flex;
  gap: 2rem;
  align-items: center;
}

nav a {
  text-decoration: none;
  color: var(--teal);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.3px;
  transition: color 0.2s;
}

nav a:hover {
  color: var(--green);
}

nav a.btn-nav {
  background: var(--salmon);
  color: var(--white);
  padding: 0.45rem 1.2rem;
  border-radius: 4px;
  transition: background 0.2s;
}

nav a.btn-nav:hover {
  background: #a55c47;
  color: var(--white);
}

/* ---- HERO ---- */
.hero {
  background: var(--teal);
  color: var(--white);
  padding: 100px 5% 80px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero-text h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.2;
  margin-bottom: 1.25rem;
  color: var(--white);
}

.hero-text h1 span {
  color: var(--green);
}

.hero-text p {
  font-size: 1.125rem;
  color: #c8d4d4;
  margin-bottom: 2rem;
  max-width: 480px;
}

.btn-primary {
  display: inline-block;
  background: var(--green);
  color: var(--white);
  padding: 0.75rem 2rem;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  transition: background 0.2s, transform 0.1s;
  margin-right: 1rem;
}

.btn-primary:hover {
  background: #7a9638;
  transform: translateY(-1px);
}

.btn-secondary {
  display: inline-block;
  border: 2px solid var(--white);
  color: var(--white);
  padding: 0.75rem 2rem;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: background 0.2s;
}

.btn-secondary:hover {
  background: rgba(255,255,255,0.1);
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-badge {
  width: 300px;
  height: 300px;
  border-radius: 50%;
  border: 4px solid var(--green);
  background: rgba(144,175,69,0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 1rem;
}

.hero-badge .badge-icon {
  font-size: 4rem;
}

.hero-badge p {
  font-size: 1rem;
  font-weight: 600;
  color: var(--light-green);
  letter-spacing: 0.5px;
  padding: 0 2rem;
}

/* ---- SECTIONS COMMON ---- */
section {
  padding: 80px 5%;
}

.section-label {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 0.5rem;
}

.section-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--teal);
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--light-teal);
  max-width: 560px;
  margin-bottom: 3rem;
}

/* ---- SERVICES ---- */
.services {
  background: var(--gray-bg);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.service-card {
  background: var(--white);
  border-radius: 8px;
  padding: 2rem;
  border-top: 4px solid var(--green);
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  transition: transform 0.2s, box-shadow 0.2s;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

.service-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
  display: block;
}

.service-card h3 {
  font-size: 1.1rem;
  color: var(--teal);
  margin-bottom: 0.6rem;
}

.service-card p {
  font-size: 0.95rem;
  color: var(--light-teal);
  line-height: 1.7;
}

/* ---- WHY US ---- */
.why-us {
  background: var(--white);
}

.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.why-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.why-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.why-dot {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--light-green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.why-item h4 {
  font-size: 1rem;
  color: var(--teal);
  margin-bottom: 0.25rem;
}

.why-item p {
  font-size: 0.92rem;
  color: var(--light-teal);
}

.why-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.stat-box {
  background: var(--teal);
  color: var(--white);
  border-radius: 8px;
  padding: 2rem 1.5rem;
  text-align: center;
}

.stat-box .stat-number {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--green);
  display: block;
  line-height: 1;
}

.stat-box .stat-label {
  font-size: 0.85rem;
  color: #c8d4d4;
  margin-top: 0.4rem;
  display: block;
}

/* ---- CTA BAND ---- */
.cta-band {
  background: var(--green);
  text-align: center;
  padding: 60px 5%;
}

.cta-band h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--white);
  margin-bottom: 1rem;
}

.cta-band p {
  color: rgba(255,255,255,0.85);
  font-size: 1.05rem;
  margin-bottom: 2rem;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

.btn-white {
  display: inline-block;
  background: var(--white);
  color: var(--green);
  padding: 0.8rem 2.2rem;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  transition: background 0.2s, transform 0.1s;
}

.btn-white:hover {
  background: var(--light-green);
  transform: translateY(-1px);
}

/* ---- CONTACT ---- */
.contact {
  background: var(--teal-dark);
  color: var(--white);
}

.contact .section-title {
  color: var(--white);
}

.contact .section-subtitle {
  color: #c8d4d4;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.contact-item-icon {
  font-size: 1.4rem;
  width: 40px;
  flex-shrink: 0;
}

.contact-item h4 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--light-teal);
  margin-bottom: 0.2rem;
}

.contact-item p, .contact-item a {
  color: var(--white);
  text-decoration: none;
  font-size: 0.98rem;
}

.contact-item a:hover {
  color: var(--light-green);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-form input,
.contact-form textarea {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 4px;
  padding: 0.75rem 1rem;
  color: var(--white);
  font-size: 0.95rem;
  font-family: inherit;
  transition: border-color 0.2s;
  outline: none;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(255,255,255,0.4);
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--green);
}

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

.btn-salmon {
  display: inline-block;
  background: var(--salmon);
  color: var(--white);
  padding: 0.75rem 2rem;
  border-radius: 4px;
  border: none;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
  font-family: inherit;
  align-self: flex-start;
}

.btn-salmon:hover {
  background: #a55c47;
  transform: translateY(-1px);
}

/* ---- FOOTER ---- */
footer {
  background: #2c3636;
  color: #9ab0b0;
  padding: 40px 5% 24px;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

footer img.logo-footer {
  height: 36px;
  /* Invert teal mark to light on dark bg */
  filter: brightness(0) invert(1) opacity(0.8);
}

.footer-links {
  display: flex;
  gap: 1.5rem;
}

.footer-links a {
  color: #9ab0b0;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--light-green);
}

.footer-divider {
  border: none;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.85rem;
}

.footer-bottom a {
  color: #9ab0b0;
  text-decoration: none;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 768px) {
  .hero {
    grid-template-columns: 1fr;
    padding: 60px 5%;
    text-align: center;
  }

  .hero-text p {
    max-width: 100%;
  }

  .hero-visual {
    display: none;
  }

  .why-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  nav {
    gap: 1rem;
  }

  nav a:not(.btn-nav) {
    display: none;
  }
}
