/* =============================================
   SCALE HIKE CONSULTING — style.css
   ============================================= */

/* ===== CSS VARIABLES ===== */
:root {
  --navy: #1a2e5e;
  --green: #2ebd59;
  --green-dark: #1e9944;
  --light: #f4f7ff;
  --white: #ffffff;
  --gray: #6b7280;
  --light-gray: #e8edf5;
}

/* ===== RESET & BASE ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--white);
  color: var(--navy);
  overflow-x: hidden;
}

/* ===== NAVIGATION ===== */
nav {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(26, 46, 94, 0.08);
  padding: 0 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  box-shadow: 0 2px 24px rgba(26, 46, 94, 0.07);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 100%;
}

.nav-logo img {
  height: 100%;
  width: 80px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  gap: 32px;
  align-items: center;
}

.nav-links a {
  text-decoration: none;
  color: var(--navy);
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.2s;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--green);
  transition: width 0.3s;
}

.nav-links a:hover::after {
  width: 100%;
}

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

.nav-cta {
  background: var(--green) !important;
  color: white !important;
  padding: 10px 24px;
  border-radius: 50px;
  font-weight: 600 !important;
  transition: background 0.2s, transform 0.2s !important;
}

.nav-cta:hover {
  background: var(--green-dark) !important;
  transform: translateY(-1px);
}

.nav-cta::after {
  display: none !important;
}

/* ===== SECTION VISIBILITY ===== */
section {
  display: none;
}

section.active {
  display: block;
}

/* ===== SHARED UTILITIES ===== */
.section-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 100px 5%;
}

.section-tag {
  display: inline-block;
  color: var(--green);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.8rem;
  margin-bottom: 12px;
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 3.5vw, 3rem);
  color: var(--navy);
  margin-bottom: 20px;
  line-height: 1.2;
}

.section-title span {
  color: var(--green);
}

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

.section-sub {
  color: var(--gray);
  line-height: 1.7;
}

/* ===== BUTTONS ===== */
.btn-primary {
  background: var(--green);
  color: white;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.3s;
  display: inline-block;
}

.btn-primary:hover {
  background: var(--green-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(46, 189, 89, 0.35);
}

.btn-outline {
  border: 2px solid rgba(255, 255, 255, 0.4);
  color: white;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.3s;
  display: inline-block;
}

.btn-outline:hover {
  border-color: white;
  background: rgba(255, 255, 255, 0.08);
}

/* ===== ANIMATIONS ===== */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* =============================================
   PAGE: HOME
   ============================================= */
#home {
  min-height: 100vh;
  padding-top: 72px;
  background: linear-gradient(135deg, var(--navy) 0%, #0d1e40 60%, #12284d 100%);
  position: relative;
  overflow: hidden;
}
.hero-bg-shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-bg-shapes::before {
  content: '';
  position: absolute;
  top: -10%;
  right: -5%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(46, 189, 89, 0.15) 0%, transparent 70%);
}

.hero-bg-shapes::after {
  content: '';
  position: absolute;
  bottom: -20%;
  left: -10%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(46, 189, 89, 0.08) 0%, transparent 70%);
}

.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 5%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  min-height: calc(100vh - 72px);
}

.hero-text {
  animation: fadeUp 0.8s ease both;
}

.hero-badge {
  display: inline-block;
  background: rgba(46, 189, 89, 0.15);
  border: 1px solid rgba(46, 189, 89, 0.4);
  color: var(--green);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 20px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.hero-text h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  color: white;
  line-height: 1.15;
  margin-bottom: 20px;
}

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

.hero-text p {
  color: rgba(255, 255, 255, 0.72);
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 36px;
}

.hero-btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-visual {
  animation: fadeUp 0.9s 0.2s ease both;
}

.hero-card {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  padding: 40px;
  backdrop-filter: blur(8px);
}

.hero-logo-big {
  text-align: center;
  margin-bottom: 32px;
}

.hero-logo-big img {
  height: 90px;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}

.hero-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.stat-box {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  padding: 24px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.stat-box .num {
  font-family: 'Playfair Display', serif;
  font-size: 2.4rem;
  color: var(--green);
  font-weight: 900;
}

.stat-box p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.85rem;
  margin-top: 4px;
}

/* =============================================
   PAGE: ABOUT
   ============================================= */
#about {
  min-height: 100vh;
  background: var(--light);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-text p {
  color: var(--gray);
  line-height: 1.8;
  margin-bottom: 16px;
  font-size: 1.02rem;
}

.about-values {
  display: grid;
  gap: 16px;
  margin-top: 32px;
}

.value-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: white;
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 2px 16px rgba(26, 46, 94, 0.06);
  border-left: 4px solid var(--green);
}

.value-icon {
  font-size: 1.8rem;
  flex-shrink: 0;
}

.value-item h4 {
  color: var(--navy);
  font-weight: 700;
  margin-bottom: 4px;
}

.value-item p {
  color: var(--gray);
  font-size: 0.9rem;
  margin: 0;
  line-height: 1.5;
}

.about-visual {
  background: var(--navy);
  border-radius: 24px;
  padding: 40px;
  color: white;
  text-align: center;
}

.about-visual img {
  width: 140px;
  margin-bottom: 24px;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}

.about-visual h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  margin-bottom: 12px;
}

.about-visual > p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  line-height: 1.7;
}

.about-contact-card {
  margin-top: 28px;
  background: rgba(46, 189, 89, 0.15);
  border-radius: 16px;
  padding: 20px;
}

.about-contact-card p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.88rem;
  line-height: 1.6;
}

.about-contact-card a {
  color: var(--green);
  text-decoration: none;
}

/* =============================================
   PAGE: SERVICES
   ============================================= */
#services {
  min-height: 100vh;
  background: white;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 48px;
}

.service-card {
  background: var(--light);
  border-radius: 20px;
  padding: 36px 28px;
  transition: all 0.35s;
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--green);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s;
}

.service-card:hover {
  border-color: var(--green);
  box-shadow: 0 12px 40px rgba(26, 46, 94, 0.12);
  transform: translateY(-6px);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-icon {
  font-size: 2.8rem;
  margin-bottom: 16px;
}

.service-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
}

.service-card p {
  color: var(--gray);
  font-size: 0.93rem;
  line-height: 1.7;
}

.service-features {
  margin-top: 16px;
  list-style: none;
}

.service-features li {
  color: var(--gray);
  font-size: 0.88rem;
  padding: 4px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.service-features li::before {
  content: '✓';
  color: var(--green);
  font-weight: 700;
}

/* =============================================
   PAGE: WHY US
   ============================================= */
#whyus {
  min-height: 100vh;
  background: white;
}

.whyus-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.why-card {
  background: var(--navy);
  color: white;
  border-radius: 20px;
  padding: 32px 24px;
  text-align: center;
  transition: transform 0.3s;
}

.why-card:hover {
  transform: translateY(-8px);
}

.why-card:nth-child(even) {
  background: var(--green);
}

.why-card .why-icon {
  font-size: 2.4rem;
  margin-bottom: 16px;
}

.why-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.why-card p {
  font-size: 0.88rem;
  opacity: 0.85;
  line-height: 1.6;
}

/* Testimonials */
.testimonials {
  margin-top: 64px;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 32px;
}

.testimonial-card {
  background: var(--light);
  border-radius: 20px;
  padding: 28px;
  border-left: 4px solid var(--green);
  box-shadow: 0 2px 16px rgba(26, 46, 94, 0.06);
}

.testimonial-card p {
  color: var(--gray);
  font-style: italic;
  line-height: 1.7;
  margin-bottom: 16px;
}

.testimonial-author {
  font-weight: 700;
  color: var(--navy);
  font-size: 0.9rem;
}

.testimonial-role {
  color: var(--green);
  font-size: 0.82rem;
}

.stars {
  color: #f59e0b;
  font-size: 1.1rem;
  margin-bottom: 10px;
}

/* =============================================
   PAGE: CONTACT
   ============================================= */
#contact {
  min-height: 100vh;
  background: var(--light);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 60px;
  align-items: start;
  margin-top: 48px;
}

.contact-info-block {
  background: var(--navy);
  border-radius: 24px;
  padding: 40px;
  color: white;
}

.contact-info-block h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  margin-bottom: 28px;
}

.contact-detail {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 24px;
}

.contact-detail-icon {
  width: 44px;
  height: 44px;
  background: rgba(46, 189, 89, 0.2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contact-detail h4 {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 4px;
}

.contact-detail p {
  color: white;
  font-size: 0.95rem;
  line-height: 1.6;
}

.contact-detail a {
  color: var(--green);
  text-decoration: none;
}

/* Contact Form */
.contact-form-wrap {
  background: white;
  border-radius: 24px;
  padding: 40px;
  box-shadow: 0 4px 32px rgba(26, 46, 94, 0.08);
}

.contact-form-wrap h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  color: var(--navy);
  margin-bottom: 28px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

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

.form-group label {
  display: block;
  color: var(--navy);
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--light-gray);
  border-radius: 12px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  color: var(--navy);
  transition: border-color 0.2s;
  outline: none;
  background: var(--light);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--green);
  background: white;
}

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

.form-submit {
  width: 100%;
  background: var(--green);
  color: white;
  border: none;
  padding: 15px;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  transition: all 0.3s;
}

.form-submit:hover {
  background: var(--green-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(46, 189, 89, 0.3);
}

#form-msg {
  margin-top: 14px;
  text-align: center;
  font-weight: 600;
  font-size: 0.95rem;
  display: none;
}

#form-msg.success {
  color: var(--green);
  display: block;
}

#form-msg.error {
  color: #e74c3c;
  display: block;
}

/* =============================================
   FOOTER
   ============================================= */
footer {
  background: var(--navy);
  color: white;
  padding: 48px 5% 24px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand img {
  height: 60px;
  filter: brightness(0) invert(1);
  opacity: 0.9;
  margin-bottom: 16px;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  line-height: 1.7;
}

.footer-col h4 {
  color: var(--green);
  font-weight: 700;
  margin-bottom: 16px;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 1px;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s;
}

.footer-col ul li a:hover {
  color: var(--green);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.85rem;
}

/* =============================================
   MOBILE MENU
   ============================================= */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
}

.hamburger span {
  width: 24px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: all 0.3s;
}

nav.menu-open .nav-links {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 72px;
  left: 0;
  width: 100%;
  background: white;
  padding: 20px 5%;
  box-shadow: 0 8px 24px rgba(26, 46, 94, 0.1);
  gap: 16px;
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 900px) {
  .nav-links {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .hero-inner {
    grid-template-columns: 1fr;
  }

  .about-grid {
    grid-template-columns: 1fr;
  }

  .services-grid {
    grid-template-columns: 1fr 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .whyus-grid {
    grid-template-columns: 1fr 1fr;
  }

  .testimonial-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }
}

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

  .whyus-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-stats {
    grid-template-columns: 1fr 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
}
