:root {
  --ghl-bg: #050b18;
  --ghl-text-primary: #ffffff;
  --ghl-text-secondary: #a0aec0;
  --ghl-accent: #ff7e41; /* Primary Orange */
  --ghl-gradient: linear-gradient(90deg, #ffffff 0%, #ffc4b0 100%);
  --ghl-btn-secondary: #162235;
}

.ghl-hero {
  background-color: var(--ghl-bg);
  padding: 80px 0;
  color: var(--ghl-text-primary);
  font-family: 'Inter', sans-serif; /* Recommended font for this look */
}

.ghl-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.ghl-hero__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
}

/* --- Content Styling --- */
.ghl-hero__content {
  flex: 1;
}

/* --- Architectural Logic (Light Section Refined) --- */
.ghl-arch {
  background-color: #ffffff;
  padding: 120px 0; /* Increased padding for better vertical spacing */
}

.ghl-arch__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 80px;
}

.ghl-arch__image {
  flex: 1.1; /* Slightly larger image container */
}

.ghl-arch__image img {
  width: 100%;
  border-radius: 20px; /* Softer rounded corners as seen in screenshot */
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  display: block;
}

.ghl-arch__content {
  flex: 0.9;
}

.ghl-arch__content .ghl-dark-title {
  margin-bottom: 24px;
  font-size: 36px;
}

.ghl-arch__content p {
  color: #718096;
  line-height: 1.7;
  font-size: 16px;
  margin-bottom: 35px;
}

.ghl-arch__list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.ghl-arch__list li {
  display: flex;
  align-items: flex-start; /* Aligns checkmark to top of text line */
  gap: 12px;
  margin-bottom: 18px;
  color: #2d3748;
  font-weight: 600;
  font-size: 15px;
  line-height: 1.4;
}

.ghl-arch__check {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  min-width: 20px; /* Prevents shrinking on smaller containers */
  border: 1.5px solid #7f9cf5;
  border-radius: 50%;
  color: #7f9cf5;
  font-size: 9px;
  margin-top: 2px; /* Fine-tuned alignment with text */
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .ghl-arch {
    padding: 80px 0;
  }
  .ghl-arch__inner {
    flex-direction: column;
    gap: 40px;
  }
  .ghl-arch__content {
    text-align: left; /* Keeps text left-aligned even on mobile per your style */
  }
}

.ghl-tag {
  display: inline-block;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--ghl-accent);
  margin-bottom: 24px;
}

.ghl-hero__title {
  font-size: 64px;
  line-height: 1.1;
  font-weight: 800;
  margin-bottom: 24px;
}

.ghl-gradient-text {
  background: var(--ghl-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.ghl-hero__desc {
  font-size: 18px;
  line-height: 1.6;
  color: var(--ghl-text-secondary);
  max-width: 500px;
  margin-bottom: 40px;
}

/* --- Buttons --- */
.ghl-hero__btns {
  display: flex;
  gap: 16px;
}

.ghl-btn {
  padding: 16px 32px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.ghl-btn--primary {
  background-color: var(--ghl-accent);
  color: white;
}

.ghl-btn--primary:hover {
  background-color: #e66a30;
  transform: translateY(-2px);
}

.ghl-btn--outline {
  background-color: var(--ghl-btn-secondary);
  color: var(--ghl-text-secondary);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.ghl-btn--outline:hover {
  background-color: #1e2d45;
  color: #fff;
}

/* --- Image Styling --- */
.ghl-hero__image {
  flex: 1;
  position: relative;
}

.ghl-hero__image img {
  width: 100%;
  height: auto;
  border-radius: 4px;
  border: 2px solid #3182ce; /* That subtle blue border glow from the image */
  box-shadow: 0 0 30px rgba(49, 130, 206, 0.2);
}

/* Responsive */
@media (max-width: 992px) {
  .ghl-hero__inner {
    flex-direction: column;
    text-align: center;
  }
  
  .ghl-hero__desc {
    margin: 0 auto 40px;
  }

  .ghl-hero__btns {
    justify-content: center;
  }
  
  .ghl-hero__title {
    font-size: 42px;
  }
}


/* --- Why GHL Section --- */
.ghl-why {
  background-color: #ffffff;
  padding: 100px 0;
  font-family: 'Inter', sans-serif;
}

.ghl-dark-title {
  color: #050b18; /* Matching the dark navy from the hero */
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 8px;
}

/* The gradient underline under the title */
.ghl-underline {
  display: block;
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, #c3dafe 0%, #ffc4b0 100%);
  border-radius: 2px;
  margin-bottom: 60px;
}

/* Grid Layout */
.ghl-why__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

/* Card Styling */
.ghl-why__card {
  background-color: #27344d; /* Subtle lighter navy for cards */
  padding: 45px 35px;
  border-radius: 12px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ghl-why__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(5, 11, 24, 0.15);
}

/* Icon Styles */
.ghl-why__icon {
  font-size: 24px;
  color: #ff7e41; /* The signature orange */
  margin-bottom: 30px;
}

/* Typography inside Cards */
.ghl-why__card h3 {
  color: #ffffff;
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 15px;
}

.ghl-why__card p {
  color: #cbd5e0; /* Muted gray-blue text */
  font-size: 15px;
  line-height: 1.6;
  margin: 0;
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .ghl-why__grid {
    grid-template-columns: 1fr; /* Stack cards on mobile/tablet */
    gap: 20px;
  }
  
  .ghl-why {
    padding: 60px 0;
  }
}


/* --- Automation Core Section --- */
.ghl-core {
  background-color: #050b18;
  padding: 100px 0;
  text-align: center;
  color: #ffffff;
}

.ghl-section-sub {
  color: #a0aec0;
  font-size: 16px;
  margin-bottom: 60px;
}

.ghl-core__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.ghl-core__card {
  background-color: #0d1526;
  padding: 40px;
  border-radius: 12px;
  text-align: left;
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.3s ease;
}

/* The subtle left accent line on the cards */
.ghl-core__card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 20%;
  height: 60%;
  width: 3px;
  background-color: #7f9cf5; /* Subtle blue accent */
  border-radius: 0 4px 4px 0;
}

.ghl-core__card:hover {
  background-color: #162033;
  transform: translateY(-5px);
}

.ghl-core__icon {
  font-size: 20px;
  color: #a0aec0;
  margin-bottom: 24px;
}

.ghl-core__card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
}

.ghl-core__card p {
  color: #718096;
  font-size: 14px;
  line-height: 1.6;
}

/* --- Stats Section --- */
.ghl-stats {
  background-color: #1a253a; /* Slightly lighter navy for contrast */
  padding: 80px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.ghl-stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
}

.ghl-stats__item {
  text-align: center;
  position: relative;
}

/* Vertical dividers between stats */
.ghl-stats__item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 15%;
  height: 70%;
  width: 1px;
  background-color: rgba(255, 255, 255, 0.1);
}

.ghl-stats__num {
  font-size: 48px;
  font-weight: 800;
  color: #cbd5e0;
  margin-bottom: 8px;
}

.ghl-stats__label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #ff7e41; /* Signature Orange */
}

/* Responsive */
@media (max-width: 992px) {
  .ghl-core__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .ghl-stats__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px 0;
  }
  .ghl-stats__item:nth-child(2)::after {
    display: none; /* Remove divider for 2-column stack */
  }
}

@media (max-width: 600px) {
  .ghl-core__grid {
    grid-template-columns: 1fr;
  }
  .ghl-stats__grid {
    grid-template-columns: 1fr;
  }
  .ghl-stats__item::after {
    display: none;
  }
}


/* --- Automation Core Section --- */
.ghl-core {
  background-color: #050b18;
  padding: 100px 0;
  text-align: center;
  color: #ffffff;
}

.ghl-section-sub {
  color: #a0aec0;
  font-size: 16px;
  margin-bottom: 60px;
}

.ghl-core__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.ghl-core__card {
  background-color: #0d1526;
  padding: 40px;
  border-radius: 12px;
  text-align: left;
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.3s ease;
}

/* The subtle left accent line on the cards */
.ghl-core__card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 20%;
  height: 60%;
  width: 3px;
  background-color: #7f9cf5; /* Subtle blue accent */
  border-radius: 0 4px 4px 0;
}

.ghl-core__card:hover {
  background-color: #162033;
  transform: translateY(-5px);
}

.ghl-core__icon {
  font-size: 20px;
  color: #a0aec0;
  margin-bottom: 24px;
}

.ghl-core__card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
}

.ghl-core__card p {
  color: #718096;
  font-size: 14px;
  line-height: 1.6;
}

/* --- Stats Section --- */
.ghl-stats {
  background-color: #1a253a; /* Slightly lighter navy for contrast */
  padding: 80px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.ghl-stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
}

.ghl-stats__item {
  text-align: center;
  position: relative;
}

/* Vertical dividers between stats */
.ghl-stats__item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 15%;
  height: 70%;
  width: 1px;
  background-color: rgba(255, 255, 255, 0.1);
}

.ghl-stats__num {
  font-size: 48px;
  font-weight: 800;
  color: #cbd5e0;
  margin-bottom: 8px;
}

.ghl-stats__label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #ff7e41; /* Signature Orange */
}

/* Responsive */
@media (max-width: 992px) {
  .ghl-core__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .ghl-stats__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px 0;
  }
  .ghl-stats__item:nth-child(2)::after {
    display: none; /* Remove divider for 2-column stack */
  }
}

@media (max-width: 600px) {
  .ghl-core__grid {
    grid-template-columns: 1fr;
  }
  .ghl-stats__grid {
    grid-template-columns: 1fr;
  }
  .ghl-stats__item::after {
    display: none;
  }
}

/* --- Industry Expertise --- */
.ghl-industry {
  background-color: #ffffff;
  padding: 100px 0;
}

.ghl-industry__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.ghl-industry__card {
  position: relative;
  height: 200px;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.ghl-industry__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.ghl-industry__overlay {
  position: absolute;
  inset: 0;
  background: rgba(5, 11, 24, 0.7); /* Dark overlay to make text legible */
  transition: background 0.3s ease;
}

.ghl-industry__card:hover .ghl-industry__bg {
  transform: scale(1.1);
}

.ghl-industry__card:hover .ghl-industry__overlay {
  background: rgba(5, 11, 24, 0.5);
}

.ghl-industry__body {
  position: relative;
  z-index: 2;
  text-align: center;
  color: white;
}

.ghl-industry__body i {
  font-size: 24px;
  margin-bottom: 15px;
  color: #cbd5e0;
}

.ghl-industry__body h3 {
  font-size: 16px;
  font-weight: 600;
}

/* --- FAQ Section --- */
.ghl-faq {
  background-color: #050b18;
  padding: 100px 0;
  color: white;
}

.ghl-faq .ghl-section-title {
  text-align: center;
  margin-bottom: 50px;
}

.ghl-faq__list {
  max-width: 800px;
  margin: 0 auto;
}

.ghl-faq__item {
  background-color: #0d1526;
  border-radius: 8px;
  margin-bottom: 15px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  overflow: hidden;
}

.ghl-faq__question {
  width: 100%;
  padding: 20px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: none;
  border: none;
  color: #a0aec0;
  font-size: 15px;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  transition: color 0.3s ease;
}

.ghl-faq__question:hover {
  color: white;
}

.ghl-faq__chevron {
  font-size: 12px;
  transition: transform 0.3s ease;
}

/* Logic for open state */
.ghl-faq__item.active .ghl-faq__chevron {
  transform: rotate(180deg);
}

.ghl-faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
  background-color: rgba(0,0,0,0.1);
}

.ghl-faq__item.active .ghl-faq__answer {
  max-height: 200px; /* Adjust as needed */
}

.ghl-faq__answer p {
  padding: 0 30px 25px;
  color: #718096;
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
}

/* --- Final CTA Section --- */
.ghl-cta {
  background-color: #ffffff;
  padding: 80px 0 120px;
}

.ghl-cta__box {
  background: radial-gradient(circle at top right, #1a253a, #050b18);
  padding: 80px 40px;
  border-radius: 40px;
  text-align: center;
  color: white;
}

.ghl-cta__box h2 {
  font-size: 42px;
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.2;
}

.ghl-cta__box p {
  color: #a0aec0;
  max-width: 600px;
  margin: 0 auto 40px;
}

.ghl-cta__btns {
  display: flex;
  gap: 15px;
  justify-content: center;
}

.ghl-btn--outline-light {
  background-color: rgba(255, 255, 255, 0.05);
  color: #a0aec0;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Responsive */
@media (max-width: 992px) {
  .ghl-industry__grid { grid-template-columns: repeat(2, 1fr); }
  .ghl-cta__box h2 { font-size: 32px; }
}

@media (max-width: 600px) {
  .ghl-industry__grid { grid-template-columns: 1fr; }
  .ghl-cta__btns { flex-direction: column; }
}


/* --- Delivery Framework Section --- */
.ghl-delivery {
  background-color: #050b18;
  padding: 120px 0;
  color: #ffffff;
  font-family: 'Inter', sans-serif;
}

.ghl-delivery .ghl-section-title {
  text-align: center;
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 80px;
  letter-spacing: -0.5px;
  color: #ffffff;
}

.ghl-delivery__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.ghl-delivery__card {
  background-color: #0d1526; /* Deep navy card */
  padding: 45px 40px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  position: relative;
  transition: all 0.3s ease;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}

.ghl-delivery__card:hover {
  background-color: #121b2e;
  border-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-5px);
}

/* The Ghost Numbers (01, 02, etc.) */
.ghl-delivery__num {
  position: absolute;
  top: 30px;
  right: 35px;
  font-size: 42px;
  font-weight: 800;
  color: white;
  line-height: 1;
  user-select: none;
  pointer-events: none;
  z-index: 1;
}

.ghl-delivery__card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 16px;
  color: #cbd5e0;
  position: relative;
  z-index: 2;
}

.ghl-delivery__card p {
  color: #718096;
  font-size: 15px;
  line-height: 1.6;
  margin: 0;
  max-width: 90%;
  position: relative;
  z-index: 2;
}

/* --- Container Utility --- */
.ghl-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .ghl-delivery__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .ghl-delivery {
    padding: 80px 0;
  }
  .ghl-delivery__grid {
    grid-template-columns: 1fr;
  }
  .ghl-delivery__card {
    padding: 35px 30px;
    min-height: auto;
  }
}