/* ============================================
   Genesis Med Solutions - About Page Styles
   ============================================ */

/* CSS Variables */
:root {
  --bg-cream: #f5f3ef;
  --bg-light: #f5f3ef;
  --text-dark: #1a1a1a;
  --text-gray: #4a4a4a;
  --dark-green: #204545;
  --dark-line-green: #142424;
  --border-color: #c5c2ba;
  --divider-color: #c5c2ba;
  --white: #ffffff;
  --color-accent-teal: #4a6b6b;
  --color-accent-dark-teal: #3d5a5a;
   --text-darkk: #3a4743;
}

/* Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Inter", sans-serif;
  font-weight: 400;
  color: var(--text-dark);
  line-height: 1.5;
  background-color: var(--bg-cream);
}

.container-fluid {
  padding-left: 60px;
  padding-right: 60px;
  max-width: 1600px;
  margin: 0 auto;
}

/* Typography */
.text-dark-green {
  color: var(--dark-green);
}

/* ============================================
   Header / Navigation
   ============================================ */
.header-nav {
  padding: 30px 0;
}

.navbar-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
}

.logo-img {
  height: 30px;
  width: auto;
}

/* Hamburger Menu */
.hamburger-menu {
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.hamburger-menu:focus {
  outline: none;
}

.hamburger-line {
  display: block;
  width: 28px;
  height: 1px;
  background-color: var(--text-dark);
}

/* Nav Menu */
.nav-menu {
  list-style: none;
  padding: 20px 0;
  margin: 0;
  text-align: right;
}

.nav-menu li {
  margin-bottom: 10px;
}

.nav-menu a {
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 1px;
  color: var(--text-dark);
  text-decoration: none;
  text-transform: uppercase;
}

.nav-menu a:hover {
  color: var(--dark-green);
}

/* ============================================
   Section Labels (01, 02, etc.)
   ============================================ */
.section-label {
  margin-bottom: 30px;
}

.section-number {
  display: block;
  font-size: 42px;
  font-weight: 300;
  line-height: 1;
  color: var(--text-dark);
  margin-bottom: 5px;
}

.section-name {
  display: block;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 2px;
  color: var(--text-dark);
  text-transform: uppercase;
}
/* row style */
.rcontentrow {
  border: 1px solid var(--dark-green);

  margin-top: 10px;
  margin-bottom: 10px;
}
/* ============================================
   Section Titles
   ============================================ */
.section-title {
  font-size: 48px;
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -1px;
  color: var(--text-dark);
  margin-bottom: 30px;
}

/* ============================================
   Section 01 - Hero
   ============================================ */
.section-hero {
  background-color: var(--bg-cream);
  min-height: 100vh;
  padding-bottom: 60px;
}

.hero-title {
  font-size: 270px;
  font-weight: 350;
  line-height: 0.9;
  color: var(--text-dark);
  margin-bottom: 50px;
  margin-top: 20px;
}
.section-number {
  color: var(--dark-green);
  font-weight: 500;
}

.hero-content {
  align-items: flex-start;
}

.hero-text {
  font-size: 26px;
  font-weight: 350;
  line-height: 1.7;
  color: var(--text-dark);
  margin-bottom: 30px;
  max-width: 380px;
}

.btn-primary-custom {
  display: inline-block;
  background-color: var(--dark-green);
  color: var(--white);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 14px 45px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-primary-custom:hover {
  background-color: var(--dark-green);
  color: var(--white);
}

.hero-image-wrapper {
  position: relative;
  overflow: hidden;
  height: 700px;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}
.seprateRow {
  border: 1px solid var(--dark-line-green);
  margin-top: 10px;
  margin-bottom: 10px;
}
/* ============================================
   Section 02 - Why People Choose Genesis
   ============================================ */
.section-reasons {
  background-color: var(--bg-cream);
  padding: 80px 0;
}

.section-reasons h2 {
  font-size: 65px;
  line-height: 1.25;
  letter-spacing: 6px;
  margin-bottom: 0;
}

.reasons-list {
  border-top: 1px solid var(--border-color);
}

.reason-item {
  border-bottom: 1px solid var(--border-color);
  padding: 20px 0;
}

.reason-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  cursor: pointer;
}

.reason-content {
  flex: 1;
}

.reason-title {
  font-size: 40px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--text-dark);
  margin: 0;
}

.reason-description {
  font-size: 13px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--text-gray);
  margin-top: 12px;
  margin-bottom: 0;
  max-width: 320px;
}

.reason-arrow {
  font-size: 18px;
  color: var(--text-dark);
  margin-left: 20px;
  transition: transform 0.3s ease;
}

.reason-item:not(.expanded) .reason-description {
  display: none;
}

.reason-item.expanded .reason-arrow {
  transform: rotate(180deg);
}

/* ============================================
   Section 03 - What We Offer
   ============================================ */
.section-offer {
  background-color: var(--bg-light);
  padding: 60px 0 80px;
}

.services-row {
  margin: 0 -10px;
  border-left: 1px solid var(--border-color);
  border-right: 1px solid var(--border-color);
}

.services-row > [class*="col-"] {
  padding: 0 10px;
  border-right: 1px solid var(--border-color);
}

.services-row > [class*="col-"]:last-child {
  border-right: none;
}

.service-card {
  height: 100%;
}

.service-header {
  padding-bottom: 15px;

  margin-bottom: 15px;
  min-height: 70px;
  display: flex;
  align-items: flex-end;
}

.service-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 1px;
  line-height: 1.4;
  color: var(--text-gray);
  text-transform: uppercase;
}

.service-image-wrapper {
  position: relative;
  overflow: hidden;
  margin-bottom: 20px;
  height: 220px;
}

.service-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-arrow {
  position: absolute;
  bottom: 10px;
  right: 10px;
  width: 32px;
  height: 32px;

  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 25px;
}

.service-arrow:hover {
  background-color: var(--dark-green);
}

.service-content {
  padding-top: 10px;
}

.service-intro {
  font-size: 13px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--text-dark);
  margin-bottom: 15px;
}

.service-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.service-list li {
  font-size: 12px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--text-gray);
  padding-left: 15px;
  position: relative;
  margin-bottom: 8px;
}

.service-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--text-dark);
}

/* Offer Right Side Content */
.offer-text-content {
  padding-left: 60px;
  padding-top: 60px;
}

.offer-title {
  font-size: 72px;
  line-height: 1;
  margin-bottom: 40px;
}

.offer-description {
  font-size: 20px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--text-dark);
  max-width: 400px;
}

/* ============================================
   Section 04 - How We Support Your Journey
   ============================================ */

.journey-section {
  min-height: 100vh;
  background-color: var(--bg-cream);
  position: relative;
}

/* Image Container */
.image-container {
  height: 100%;
  min-height: 600px;
  overflow: hidden;
}

.main-image {
  width: 100%;
  height: 100%;
  min-height: 600px;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* Content Wrapper */
.content-wrapper {
  padding: 60px 80px 40px 60px;
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 600px;
  position: relative;
  overflow: hidden;
}

/* Header Section */
.header-section {
  margin-bottom: 30px;
}

.main-headingg {
  position: relative;
  font-size: 68px;
  font-weight: 300;
  color: var(--text-dark-teal);
  line-height: 1.15;
  text-transform: uppercase;
  background-color: #f5f2ec;
  width: fit-content;
  margin: 0;
  z-index: 1;
}

/* Description Section */
.description-section {
  margin-top: auto;
  margin-bottom: 40px;
  padding-left: 250px;
  display: flex;
  align-items: flex-start;
  gap: 25px;
  position: relative;
}

.description-text {
  position: relative;
  z-index: 1;
  background-color: #f5f2ec;
  width: fit-content;
  font-size: 26px;
  font-weight: 400;
  color: var(--text-gray);
  line-height: 1.2;
  margin: 0;
}


/* Features Section */
.features-section {
  margin-top: auto;
}

.features-row {
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  gap: 0;
  position: static;
}

.feature-item {
  flex: 1;
  padding: 0 20px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  min-height: 100px;
}

.feature-item:first-child {
  padding-left: 0;
}

.feature-item-last {
  flex: 1.2;
}

.feature-divider {
  width: 1px;
  background-color: var(--divider-color);
  flex-shrink: 0;
  position: absolute;
  top: 0;
  bottom: 0;
  height: auto;
}

.feature-text {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--text-dark);
  text-transform: uppercase;
  text-align: center;
  line-height: 1.6;
  margin: 0;
}

/* Bottom Decorative Bar */
.bottom-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50%;
  height: 8px;
  background-color: var(--accent-teal);
}

/* ============================================
   why we exist section
   ============================================ */
/* General Section Setup */
.genesis-section {
  max-height: 100vh;
  color: #fff;
}

/* Left Background Image */
.left-content {
  background: linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.1)),
    url("../images/homeImages/homeSectionFive.jpg") center/cover no-repeat;
  padding: 5% 5%;
  position: relative;
  background-color: #d2c1b0; /* Fallback color */
}

/* Right Side Image */
.right-image {
  background: url("../images/homeImages/banner1.jpg") center/cover no-repeat;
  min-height: 400px;
}

.section-title {
  font-size: 15px;
  letter-spacing: 3px;
  font-weight: 400;
  margin: 15px 0;
  color: rgb(41, 40, 40);
}

.main-heading {
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.5px;
  margin: 20px 0;
}

.description {
  font-size: 11px;
  line-height: 1.6;
  opacity: 0.9;
}

/* The Lines Styling */
.line-100 {
  width: 100%;
  height: 1px;
  background-color: rgba(255, 255, 255, 0.6);
}

.line-50 {
  width: 50%;
  height: 1px;
  background-color: rgba(255, 255, 255, 0.6);
}

/* Button Styling */
.read-story {
  border-radius: 0;
  padding: 10px 25px;
  font-size: 0.8rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-color: #fff;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .line-50 {
    width: 100%;
  } /* Lines look better full width on mobile */
  .col-md-6.offset-md-6 {
    margin-left: 0;
    width: 100%;
  }
}
.section-titlee {
  font-size: 15px;
  letter-spacing: 3px;
  font-weight: 400;
  margin: 15px 0;
  color: white;
}

/* ============================================
   eight section
   ============================================ */

.eight-section {
  min-height: 100vh;
  display: flex;
  align-items: stretch;
  color: var(--color-accent-dark-teal);
}
.eight-content h5 {
  color: var(--text-darkk);
  font-weight: 600;
}

.eight-image {
  background: url("../aboutImages/erik-lucatero-d2MSDujJl2g-unsplash.jpg")
    center/cover no-repeat;
  width: 50%;
}

.eight-content {
  width: 50%;
  background: #dfe7e2;
  padding: 1px 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.btnTwo {
  border-color: var(--color-accent-dark-teal);
  color: var(--color-accent-dark-teal);
}
.btnOne {
  background-color: var(--color-accent-dark-teal);
  border-color: var(--color-accent-dark-teal);
}
.eight-content p {
  font-size: 12px;
  width: 50%;
}

.eight-content h1 {
  font-weight: 800;
  font-size: 50px;
}

.buttons button {
  margin-right: 10px;
}

@media (max-width: 992px) {
  .eight-section {
    flex-direction: column;
  }
  .eight-image,
  .eight-content {
    width: 100%;
    height: 50vh;
  }
}
/* ================= HEADER ================= */
.genesiss-section {
  min-height: 00px;
  background-color: var(--bg-color);
  color: var(--text-dark);
  overflow: hidden;
}

/* --- Left Side Brand Styling --- */
.brand-container {
  position: relative;
  letter-spacing: 15px;
}

.main-logo-text {
  font-size: 10rem; /* Large impact text */
  font-weight: 300;
  line-height: 0.8;
  margin: 0;
  opacity: 0.9;
}
.genesis-large-logoo {
  width: 100%;
  height: 40vh;
}

.med-solutions {
  position: absolute;
  top: 20%;
  right: -60px;
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 5px;
  display: flex;
  flex-direction: column;
}

/* --- Right Side Navigation --- */
.section-ttitle {
  font-size: 0.75rem;
  letter-spacing: 2px;
  font-weight: 600;
  margin-right: 15px;
  white-space: nowrap;
}

.title-line {
  flex-grow: 1;
  height: 1px;
  background-color: var(--text-dark);
  opacity: 0.3;
}

.nav-link {
  color: var(--text-dark) !important;
  padding: 5px 0;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 1.5px;
}

.active-link {
  color: var(--accent-gold) !important;
}

.contact-info p {
  font-size: 0.8rem;
  margin-bottom: 5px;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
}

.contact-info i {
  margin-right: 10px;
  font-size: 1rem;
}

/* Responsive adjustment for smaller screens */
@media (max-width: 992px) {
  .main-logo-text {
    font-size: 5rem;
  }
  .med-solutions {
    position: static;
    margin-top: 20px;
  }
}

/* ================= IMAGE GRID ================= */
.image-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ================= FOOTER ================= */
.footer {
  background-color: #f5f2ec;
  padding: 15px 40px;
}

.footer p {
  font-size: 11px;
  letter-spacing: 2px;
  margin: 0;
}

.footer span {
  font-weight: bold;
}

/* ============================================
   Responsive Styles
   ============================================ */
@media (max-width: 1200px) {
  .container-fluid {
    padding-left: 40px;
    padding-right: 40px;
  }

  .hero-title {
    font-size: 100px;
  }

  .offer-title {
    font-size: 56px;
  }

  .journey-title {
    font-size: 48px;
  }
}

@media (max-width: 991px) {
  .container-fluid {
    padding-left: 30px;
    padding-right: 30px;
  }

  .hero-title {
    font-size: 72px;
  }

  .section-title {
    font-size: 40px;
  }

  .section-reasons .section-title {
    font-size: 50px;
    margin-bottom: 40px;
  }

  .hero-image-wrapper {
    height: 400px;
    margin-top: 40px;
  }

  .offer-text-content {
    padding-left: 0;
    padding-top: 40px;
    margin-top: 40px;
    border-top: 1px solid var(--border-color);
  }

  .offer-title {
    font-size: 48px;
  }

  .journey-content {
    padding-left: 0;
    margin-top: 40px;
  }

  .journey-steps-wrapper {
    padding-left: 0;
  }

  .journey-image-wrapper {
    height: 350px;
  }

  .journey-title {
    font-size: 42px;
  }

  .journey-steps {
    flex-wrap: wrap;
  }

  .journey-step-col {
    flex: 0 0 50%;
    max-width: 50%;
    margin-bottom: 20px;
    min-height: auto;
    padding-bottom: 20px;
  }

  .journey-step-col:nth-child(2n) {
    border-right: none;
  }
}

@media (max-width: 767px) {
  .container-fluid {
    padding-left: 20px;
    padding-right: 20px;
  }

  .hero-title {
    font-size: 48px;
    letter-spacing: -1px;
  }

  .section-number {
    font-size: 32px;
  }

  .section-title {
    font-size: 32px;
  }

  .section-reasons .section-title {
    font-size: 36px;
  }

  .reason-title {
    font-size: 18px;
  }

  .hero-image-wrapper {
    height: 300px;
  }

  .service-card {
    margin-bottom: 40px;
  }

  .service-image-wrapper {
    height: 200px;
  }

  .offer-title {
    font-size: 40px;
  }

  .offer-description {
    font-size: 16px;
  }

  .journey-image-wrapper {
    height: 280px;
  }

  .journey-title {
    font-size: 36px;
  }

  .journey-step-col {
    flex: 0 0 100%;
    max-width: 100%;
    border-right: none;
    border-bottom: 1px solid var(--border-color);
    padding: 15px 0;
  }

  .journey-step-col:last-child {
    border-bottom: none;
  }
}

@media (max-width: 575px) {
  .hero-title {
    font-size: 36px;
  }

  .section-reasons .section-title {
    font-size: 30px;
  }

  .offer-title {
    font-size: 32px;
  }

  .journey-title {
    font-size: 30px;
  }
}
@media (max-width: 991.98px) {
  .content-wrapper {
    padding: 40px 40px 30px 40px;
  }

  .section-number {
    font-size: 56px;
  }

  .main-heading {
    font-size: 34px;
  }

  .description-section {
    padding-left: 100px;
  }

  .feature-text {
    font-size: 10px;
  }

  .feature-divider {
    height: 60px;
  }
}

@media (max-width: 767.98px) {
  .image-container {
    min-height: 400px;
  }

  .main-image {
    min-height: 400px;
  }

  .content-wrapper {
    padding: 30px 20px;
    min-height: auto;
  }

  .section-number {
    font-size: 48px;
  }

  .main-heading {
    font-size: 28px;
  }

  .description-section {
    padding-left: 0;
    margin-top: 30px;
  }

  .features-row {
    flex-wrap: wrap;
    gap: 20px;
  }

  .feature-item {
    flex: 0 0 45%;
    padding: 10px;
    min-height: 60px;
  }

  .feature-item-last {
    flex: 0 0 100%;
  }

  .feature-divider {
    display: none;
  }

  .bottom-bar {
    width: 100%;
  }
}

@media (max-width: 575.98px) {
  .section-number {
    font-size: 40px;
  }

  .main-heading {
    font-size: 24px;
  }

  .description-text {
    font-size: 13px;
  }

  .feature-item {
    flex: 0 0 100%;
  }
}
