/* ============================================= */
/* ROOT VARIABLES & BASE STYLES */
/* ============================================= */
:root {
  /* Colors from Design */
  --color-cream: #f5f1ed;
  --color-beige-light: #e8e4de;
  --color-beige: #d4c8b8;
  --color-tan: #c4a77d;
  --color-tan-dark: #b89b6a;
  --color-rust: #a67c52;
  --color-teal: #6b7f7f;
  --color-teal-dark: #5a6e6e;
  --color-dark: #1a1a1a;
  --color-text: #333333;
  --color-text-light: #666666;
  --color-white: #ffffff;
   --color-accent-teal: #4a6b6b;
  --color-accent-dark-teal: #3d5a5a;
   --text-darkk: #3a4743;

  /* Typography */
  --font-primary: "Inter", sans-serif;

  /* Spacing */
  --section-padding: 0;
  --container-padding: 60px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-primary);
  font-weight: 400;
  color: var(--color-text);
  line-height: 1.6;
  background-color: var(--color-cream);
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

img {
  max-width: 100%;
  height: auto;
}

/* ============================================= */
/* SECTION 1: HERO SECTION */
/* ============================================= */
.hero-section {
  background-color: var(--color-cream);
  min-height: 100vh;
  position: relative;
}
.navmove{
    margin-left: 3%;
}
/* Header */
.hero-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 20px 0;
}

.logo a {
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo-text {
  font-size: 24px;
  font-weight: 400;
  letter-spacing: 8px;
  color: var(--color-dark);
}

.logo-subtext {
  font-size: 8px;
  font-weight: 400;
  letter-spacing: 2px;
  line-height: 1.3;
  color: var(--color-dark);
  text-transform: uppercase;
}

/* Hamburger Menu */
.hamburger-menu {
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.hamburger-menu span {
  display: block;
  width: 28px;
  height: 2px;
  background-color: var(--color-dark);
  transition: all 0.3s ease;
}

/* Hero Content */
.hero-content {
  padding-top: 120px;
  padding-bottom: 60px;
}


.hero-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 3px;
  color: var(--color-dark);
  margin-bottom: 30px;
  text-transform: uppercase;
   margin-left: 3%;
}

.hero-title {
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -2px;
}

.hero-title .line-1 {
  display: block;
  font-size: clamp(50px, 6vw, 104px);
  color: var(--color-dark);
  font-weight: 300;
  margin-left: 2%;
}

.hero-title .line-2 {
  display: block;
  font-size: clamp(48px, 8vw, 99px);
  color: var(--color-dark);
  font-weight: 400;
  margin-left: 45%;
  
}

.hero-title .line-3 {
  display: block;
  font-size: clamp(48px, 8vw, 100px);
  color: var(--color-dark);
  font-weight: 300;
  margin-left: 12%;
}

/* Hero Image */
.hero-image-wrapper {
  width: 100%;
  overflow: hidden;
  max-height: 500px;
}

.hero-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  object-position: center top;
}

/* ============================================= */
/* SECTION 2: SERVICES OVERVIEW */
/* ============================================= */
.services-section {
  background-color: var(--color-white);
}

/* Custom column widths */
.col-lg-3-custom {
  flex: 0 0 auto;
  width: 26.666%;
}

.sidebar-col {
  flex: 0 0 auto;
  width: 20%;
}

/* Sidebar */
.sidebar {
  background-color: var(--color-cream);
  height: 100%;
  min-height: 700px;
  padding: 80px 40px;
  display: flex;
  flex-direction: column;
}

.sidebar-title {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 4px;
  color: var(--color-dark);
  margin-bottom: 80px;
}

.sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.sidebar-link {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 3px;
  color: var(--color-text-light);
  transition: color 0.3s ease;
  position: relative;
}

.sidebar-link:hover,
.sidebar-link.active {
  color: var(--color-dark);
}

.sidebar-link.active::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: var(--color-dark);
}

/* Service Cards */
.service-card {
  height: 100%;
  min-height: 700px;
  padding: 60px 40px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.service-card-content {
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
  z-index: 2;
  color: var(--color-cream);
}

/* Card Variants */
.service-card-dental {
  background-color: #c2a991;
}

.service-card-medical {
  background-color: #b48a65;
  color: var(--color-white);
}

.service-card-hair {
  background: linear-gradient(
      rgba(107, 127, 127, 0.85),
      rgba(107, 127, 127, 0.85)
    ),
    url("../servicesImages/Genesis Med Solutions - Services - Hair - Secondary Banner.png");
  background-size: cover;
  background-position: center;
  color: var(--color-white);
}

/* Service Number */
.service-number {
  font-size: clamp(80px, 12vw, 140px);
  font-weight: 300;
  line-height: 1;
  opacity: 0.9;
  margin-bottom: 20px;
}

.service-card-dental .service-number {
  color: var(--color-white);
}

/* Service Description */
.service-description {
  font-size: 13px;
  font-weight: 400;
  line-height: 1.8;
  margin-bottom: auto;
  opacity: 0.9;
}

/* Service Info */
.service-info {
  margin-top: auto;
  margin-bottom: 60px;
}

.service-title {
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 600;
  letter-spacing: 2px;
  line-height: 1.2;
  margin-bottom: 25px;
}

.service-list {
  font-size: 12px;
  font-weight: 400;
  line-height: 2;
  opacity: 0.85;
}

.service-list li {
  font-style: italic;
}

/* Service CTA */
.service-cta {
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-top: auto;
  padding-top: 30px;
}

.service-cta:hover {
  opacity: 0.8;
}

.cta-line {
  display: inline-block;
  width: 1px;
  height: 30px;
  background-color: currentColor;
  opacity: 0.5;
}

/* ============================================= */
/* SECTION 3: HAIR RESTORATION DETAILS */
/* ============================================= */
.hair-restoration-section {
  background-color: var(--color-cream);
  margin-left: 3%;
  padding: 100px 0;
}

/* Left Column */
.restoration-left {
  padding-right: 40px;
}

.restoration-title {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 400;
  letter-spacing: 2px;
  line-height: 1.1;
  color: var(--color-dark);
  margin-bottom: 30px;
}

.download-btn {
  display: inline-block;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 2px;
  color: var(--color-white);
  background-color: #425655;
  padding: 12px 20px;
  margin-bottom: 40px;
  transition: all 0.3s ease;
}

.download-btn:hover {
  background-color: var(--color-text);
  color: var(--color-white);
}

.restoration-image-wrapper {
  width: 100%;

  overflow: hidden;
}

.restoration-image {
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* Right Column */
.restoration-right {
  padding-left: 60px;
  
}

.restoration-intro {
  font-size: clamp(24px, 3vw, 39px);
  font-weight: 300;
  line-height: 1.4;
  color: var(--color-dark);
  margin-bottom: 25px;
}

.consultation-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 600;
  color: var(--color-dark);
  padding-bottom: 5px;
  border-bottom: 1px solid var(--color-dark);
  margin-bottom: 50px;
}

.consultation-link:hover {
  color: var(--color-rust);
  border-color: var(--color-rust);
}

.consultation-link i {
  font-size: 12px;
}

/* Custom Accordion */
.restoration-accordion {
  border-top: 1px solid var(--color-beige-light);
}

.accordion-item-custom {
  border-bottom: 2px solid var(--color-text-light);
}

.accordion-header-custom {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 25px 0;
  cursor: pointer;
}

.accordion-title-wrapper {
  flex: 1;
}

.accordion-title {
  font-size: clamp(20px, 2.5vw, 32px);
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-dark);
  margin-bottom: 5px;
}

.accordion-subtitle {
  font-size: 12px;
  font-weight: 400;
  color: var(--color-text-light);
  margin-top: 8px;
}

.accordion-note {
  font-size: 11px;
  font-weight: 400;
  color: var(--color-text-light);
  font-style: italic;
}

.accordion-toggle {
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
  color: #425655;
  transition: transform 0.3s ease;
}

.accordion-toggle i {
  font-size: 18px;
}

.accordion-item-custom.active .accordion-toggle {
  transform: rotate(180deg);
}

/* Accordion Content */
.accordion-content {
  display: none;
  padding-bottom: 25px;
}

.accordion-item-custom.active .accordion-content {
  display: block;
}

.package-list {
  margin-bottom: 15px;
}

.package-list li {
  font-size: 13px;
  font-weight: 400;
  color: var(--color-text);
  padding: 5px 0;
}

.package-note {
  font-size: 11px;
  font-weight: 400;
  color: var(--color-text-light);
  font-style: italic;
  line-height: 1.6;
}

/* ============================================
   why we exist section
   ============================================ */
/* General Section Setup */
.genesis-section {
  max-height: 100vh;
  color: #fff;
}

.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("../servicesImages/Genesis\ Med\ Solutions\ -\ Services\ -\ Hair\ -\ Lower\ Graphic.png")
    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) {
  .col-lg-3-custom {
    width: 30%;
  }

  .sidebar-col {
    width: 10%;
  }

  .sidebar {
    padding: 60px 20px;
  }

  .sidebar-title {
    font-size: 10px;
    letter-spacing: 2px;
  }
}

@media (max-width: 991px) {
  .services-section .row {
    flex-wrap: wrap;
  }

  .sidebar-col {
    width: 100%;
    order: -1;
  }

  .sidebar {
    min-height: auto;
    flex-direction: row;
    align-items: center;
    padding: 30px 40px;
    gap: 40px;
  }

  .sidebar-title {
    margin-bottom: 0;
  }

  .sidebar-nav {
    flex-direction: row;
    gap: 30px;
  }

  .col-lg-3-custom {
    width: 33.333%;
  }

  .service-card {
    min-height: 600px;
  }

  .restoration-right {
    padding-left: 0;
    border-left: none;
    border-top: 1px solid var(--color-beige-light);
    padding-top: 40px;
    margin-top: 40px;
  }

  .restoration-left {
    padding-right: 0;
  }
}

@media (max-width: 767px) {
  .col-lg-3-custom {
    width: 100%;
  }

  .service-card {
    min-height: 500px;
    padding: 40px 30px;
  }

  .hero-content {
    padding-top: 100px;
    padding-bottom: 40px;
  }

  .hero-title .line-2,
  .hero-title .line-3 {
    margin-left: 0;
  }

  .sidebar {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .sidebar-nav {
    flex-direction: column;
    gap: 20px;
  }

  .hair-restoration-section {
   
    padding: 60px 0;
   
  }

  .restoration-image-wrapper {
    max-width: 200px;
    margin: 0 auto;
  }
}

@media (max-width: 576px) {
  .hero-label {
    font-size: 10px;
    letter-spacing: 2px;
  }

  .service-number {
    font-size: 60px;
  }

  .service-card {
    padding: 30px 20px;
  }

  .accordion-title {
    font-size: 18px;
  }
}
