/* ============================================
   JG CONSULTING - Brand Stylesheet
   Colors: Purple #3d2d5c | Lime Green #c4d656
   ============================================ */

/* --- Reset & Base --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Lato', sans-serif;
  font-size: 17px;
  line-height: 1.7;
  color: #3d2d5c;
  background-color: #f3ecd4;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  line-height: 1.2;
  color: #3d2d5c;
}

a {
  color: #3d2d5c;
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: #5a4a70;
}

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

/* --- Hero Section --- */
.hero {
  background: linear-gradient(135deg, #c4d656 0%, #b8cc4a 50%, #adc040 100%);
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 60px 40px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 10% 90%, rgba(61, 45, 92, 0.04) 0%, transparent 40%),
    radial-gradient(circle at 90% 10%, rgba(61, 45, 92, 0.06) 0%, transparent 40%);
  pointer-events: none;
}

.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-logo {
  width: 180px;
  height: auto;
  filter: drop-shadow(0 4px 20px rgba(61, 45, 92, 0.15));
}

.tagline {
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #3d2d5c;
  margin-bottom: 16px;
  opacity: 0.8;
}

.hero-title {
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 700;
  color: #3d2d5c;
  margin-bottom: 24px;
  letter-spacing: -1px;
  line-height: 1.15;
}

.hero-subtitle {
  font-size: 18px;
  line-height: 1.8;
  color: #3d2d5c;
  max-width: 580px;
  margin-bottom: 32px;
  opacity: 0.9;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 16px 32px;
  border: none;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-primary {
  background-color: #3d2d5c;
  color: #c4d656;
}

.btn-primary:hover {
  background-color: #2a1f40;
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(61, 45, 92, 0.3);
}

/* --- Section Base --- */
.section {
  padding: 100px 40px;
}

.section-inner {
  max-width: 1000px;
  margin: 0 auto;
}

.section h2 {
  font-size: clamp(28px, 4vw, 40px);
  margin-bottom: 32px;
  letter-spacing: -0.5px;
}

.section p {
  margin-bottom: 20px;
}

.section p:last-child {
  margin-bottom: 0;
}

/* --- Section Variants --- */
.section-light {
  background-color: #f3ecd4;
}

.section-green {
  background: linear-gradient(180deg, #c4d656 0%, #b8cc4a 100%);
}

.section-green h2,
.section-green h3,
.section-green p {
  color: #3d2d5c;
}

/* --- Grid Layouts --- */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  margin-top: 48px;
}

/* --- Cards --- */
.card {
  background-color: #ffffff;
  padding: 40px 32px;
  border-left: 4px solid #3d2d5c;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -4px;
  width: 4px;
  height: 0;
  background-color: #c4d656;
  transition: height 0.4s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(61, 45, 92, 0.12);
}

.card:hover::before {
  height: 100%;
}

.card-heading {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 16px;
  color: #3d2d5c;
}

.card p {
  font-size: 16px;
  line-height: 1.7;
  color: #5a4a70;
  margin-bottom: 0;
}

/* Cards on green background */
.section-green .card {
  background-color: rgba(255, 255, 255, 0.95);
}

/* --- Contact Section --- */
#contact p {
  font-size: 17px;
}

#contact a {
  color: #3d2d5c;
  font-weight: 500;
  border-bottom: 2px solid #c4d656;
  transition: border-color 0.3s ease;
}

#contact a:hover {
  border-color: #3d2d5c;
}

.small-text {
  font-size: 14px;
  color: #6b5b80;
  font-style: italic;
  margin-top: 24px;
}

/* --- Footer --- */
.footer {
  background-color: #3d2d5c;
  color: #e8e6f0;
  text-align: center;
  padding: 32px 40px;
  font-size: 14px;
}

.footer p {
  margin: 0;
  opacity: 0.8;
}

/* --- Responsive --- */
@media (max-width: 900px) {
  .hero {
    padding: 40px 24px;
    min-height: auto;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .hero-logo {
    margin: 0 auto;
    width: 140px;
  }

  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .section {
    padding: 72px 24px;
  }

  .grid-3 {
    gap: 24px;
  }

  .card {
    padding: 32px 24px;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 28px;
  }

  .section h2 {
    font-size: 26px;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }
}

/* --- Utility --- */
.text-center {
  text-align: center;
}

.mt-4 {
  margin-top: 32px;
}

.mb-4 {
  margin-bottom: 32px;
}
