@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

:root {
  --black: #000000;
  --ink: #062F4F;
  --posy: #813772;
  --embers: #B82601;
  --white: #ffffff;
}

/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Montserrat', sans-serif;
  color: var(--white);
  background-color: var(--black);
  line-height: 1.5;
}

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

/* button styles */
.btn-glass {
    background-color: rgba(30, 30, 30, 0.7); /* Fallback */
}

@supports (backdrop-filter: blur(10px)) {
    .btn-glass {
        background-color: rgba(255, 255, 255, 0.1);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
    }
}


/* Header Styles */
header {
    position: fixed;
    background-color: transparent;
    width: 100%;
    top: 0;
    z-index: 1000;
    padding: 20px 0;
    height: 80px;
    transition: all 0.3s ease;
}

header.scrolled {
    background-color: rgba(0, 0, 0, 0.9) !important;
    padding: 10px 0 !important;
    height: 75px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: auto;
    width: 100%;
}

.logo {
    height: 60px;
    display: flex;
    align-items: center;
    margin-right: auto;
}

.logo img {
    height: 140px;
    width: auto;
    max-width: 300px;
    object-fit: contain;
    margin-left: 0;
}

nav {
    margin-left: auto;
}

.nav-menu {
    list-style: none;
    display: flex;
    gap: 30px;
    margin: 0;
    padding: 0;
}

.nav-link {
    color: var(--white);
    text-decoration: none;
    font-weight: 100;
    text-transform: lowercase;
    font-size: 1.1rem;
    letter-spacing: 1px;
}

.nav-item.dropdown > .nav-link::after {
  content: "▾";
  margin-left: 5px;
  font-size: 0.9rem;
}

/* Dropdown Panel Styles */
.dropdown-panel {
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    background-color: var(--black);
    color: var(--white);
    padding: 30px 0;
    display: none;
    z-index: 999;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border-top: 1px solid #333;
    max-height: 0;
    overflow: hidden;
    transition: none;
    opacity: 0;
}

.nav-item.dropdown.active .dropdown-panel {
    display: block;
    max-height: 500px;
    opacity: 1;
    transition: max-height 0.5s ease-in, opacity 0.3s ease 0.1s;
}

header.scrolled .dropdown-panel {
    top: 60px;
}

.dropdown-panel-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-wrap: nowrap;
    gap: 40px;
}

.dropdown-panel-left {
    flex: 0 0 300px;
}

.dropdown-panel-right {
    flex: 1;
}

.dropdown-image {
    width: 100%;
    height: auto;
    max-height: 300px;
    object-fit: cover;
    border-radius: 5px;
    margin-top: 20px;
}

.services-columns {
    display: flex;
    gap: 40px;
}

.services-columns > div {
    flex: 1;
}

.services-columns h4 {
    color: var(--posy);
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.problems-list {
    columns: 2;
    column-gap: 40px;
}

.problems-list li {
    break-inside: avoid;
    margin-bottom: 10px;
}

.dropdown-panel h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--white);
}

.dropdown-panel ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.dropdown-panel li {
    margin-bottom: 10px;
}

.dropdown-panel a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s;
}

.dropdown-panel a:hover {
    color: var(--posy);
}

.dropdown-panel-close {
    position: absolute;
    top: 10px;
    right: 20px;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #333;
}

/* Header Contact */
.header-contact {
    display: flex;
    align-items: center;
    gap: 20px;
}

.phone {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
}

.btn-schedule {
    background-color: var(--embers);
    border: none;
    color: var(--white);
    padding: 10px 20px;
    font-weight: 600;
    cursor: pointer;
    border-radius: 3px;
    text-transform: lowercase;
    font-size: 1rem;
    transition: all 0.3s;
}

.btn-schedule:hover {
    background-color: var(--posy);
}

/* Hero Section */
.hero {
    height: 100vh;
    min-height: 700px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    text-align: center;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.7) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
    color: var(--white);
    margin-top: 100px;
}

.hero-subtitle {
    font-size: 1.2rem;
    letter-spacing: 3px;
    margin-bottom: 20px;
    text-transform: uppercase;
    color: var(--embers);
    font-weight: 500;
}

.hero-title {
    font-size: 4rem;
    margin-bottom: 30px;
    font-weight: 800;
    line-height: 1.1;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hero-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
    margin-top: 40px;
}

.hero-phone {
    color: var(--white);
    font-size: 1.5rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    padding: 10px 20px;
    border: 2px solid var(--white);
    border-radius: 30px;
    transition: all 0.3s;
}

.hero-phone:hover {
    background-color: var(--white);
    color: var(--black);
}

/* About Section */
.about-section {
    padding: 100px 0;
    background-color: var(--black);
    color: var(--white);
}

.container {
    display: flex;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    gap: 60px;
}

.about-content-wrapper {
    display: flex;
    width: 100%;
}

.about-left-column {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.about-title {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.1;
    text-transform: lowercase;
    letter-spacing: 0.5px;
    margin: 0 0 20px 0;
    padding-right: 30px;
    border-right: 2px solid var(--posy);
    align-self: flex-start;
    /* Remove this line: font-family: 'Arial', sans-serif; */
}

.about-title span {
    color: var(--posy);
}

.about-text-content {
    max-width: 500px;
    padding-left: 30px;
}

.about-description {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 30px;
    text-transform: none;
    text-align: left;
    white-space: pre-line;
    font-weight: 400;
    letter-spacing: 0.3px;
    font-family: 'Arial', sans-serif;
}

.btn-meet-us {
    background-color: transparent;
    border: 2px solid var(--posy);
    color: var(--posy);
    padding: 10px 30px;
    font-weight: 600;
    cursor: pointer;
    border-radius: 3px;
    text-transform: lowercase;
    font-size: 1.1rem;
    transition: all 0.3s;
    margin-top: 10px;
    font-family: 'Arial', sans-serif;
    letter-spacing: 1px;
}

.btn-meet-us:hover {
    background-color: var(--posy);
    color: var(--black);
}

.dentist-images {
    display: flex;
    gap: 30px;
    flex: 0 0 40%;
    align-items: flex-start;
    margin-top: 20px;
}

.dentist-img-container {
    width: 250px;
    height: 380px;
    border-radius: 5px;
    overflow: hidden;
    border: 0.5px solid var(--posy);
    transition: transform 0.3s ease;
}

.dentist-img-container:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(129, 55, 114, 0.3);
}

.dentist-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* It's All in the Details Section */
.details-section {
    padding: 100px 0;
    background-color: var(--white);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.details-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0;
    display: flex;
    position: relative;
    min-height: 500px;
}

.details-image {
    flex: 0 0 55%;
    position: relative;
}

.details-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: -1;
    position: relative;
    text-align: left;
    margin-left: 0;
}

.details-content {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 50%;
    background-color: var(--white);
    padding: 60px;
    z-index: 2;
}

.details-title {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.1;
    text-transform: uppercase;
    margin-bottom: 25px;
    letter-spacing: 1px;
    color: var(--black);
    font-family: 'Arial', sans-serif;
}

.details-subtitle {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 30px;
    font-weight: 300;
    color: var(--black);
    padding-left: 25px;
}

.details-list {
    list-style: none;
    margin-bottom: 30px;
}

.details-list li {
    position: relative;
    padding-left: 45px;
    margin-bottom: 15px;
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--black);
}

.details-list li::before {
    content: ">>";
    padding-left: 15px;
    position: absolute;
    left: 0;
    color: var(--embers);
    font-weight: bold;
}

.details-btn {
    background-color: var(--embers);
    color: var(--white);
    border: none;
    padding: 12px 30px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 1rem;
    margin-top: 20px;
}

.details-btn:hover {
    background-color: var(--white);
    border: 2px solid var(--embers);
    color: var(--embers);
}

/* Dental Implants CTA Section */
.implants-cta {
    position: relative;
    padding: 120px 0;
    color: var(--black);
    text-align: center;
    overflow: hidden;
}

.implants-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('images/implantsbackground.jpg');
    background-size: cover;
    background-position: center;
    z-index: -1;
}

.implants-content-box {
    max-width: 800px;
    margin: 0 auto;
    padding: 90px;
    background-color: var(--white);
    position: relative;
    opacity: 0.8;
    box-shadow: 0 2px 18px 0 rgb(0 0 0 / .3);
    z-index: 10 !important;
}

.implants-title {
    font-size: 2.5rem;
    font-weight: 300;
    line-height: 1.1;
    text-transform: lowercase;
    letter-spacing: 1px;
    margin-bottom: 2.5px;
    color: var(--black);
}

.implants-subtitle {
    font-size: 2.5rem;
    font-weight: 800;
    text-transform: lowercase;
    margin-bottom: 30px;
    color: var(--black);
}

.implants-content {
    max-width: 600px;
    margin: 0 auto;
    font-weight: 150;
}

.implants-content p {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 30px;
    color: var(--black);
}

.btn-schedule-implants {
    background-color: var(--embers);
    color: var(--white);
    padding: 12px 30px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    border-radius: 3px;
    transition: all 0.3s;
    border: none;
}   

.btn-schedule-implants:hover {
    background-color: var(--white);
    color: var(--embers);
    border: 2px solid var(--black);
}

/* Invisalign Smile Preview Section */
.invisalign-section {
    padding: 50px 0;
    background-color: var(--posy);
    color: var(--white);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.invisalign-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.invisalign-title {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.invisalign-title span {
    color: var(--black);
}

.invisalign-subtitle {
    font-size: 1.3rem;
    margin-bottom: 40px;
    color: var(--white);
    font-weight: 300;
}

.invisalign-steps {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2px;
    text-align: left;
}

.invisalign-steps ol {
    flex: 1;
    padding-left: 30px;
    font-size: 1.2rem;
    line-height: 2;
    list-style-position: outside;
}

.invisalign-steps li {
    margin-bottom: 15px;
    position: relative;
    color: var(--white);
}

.qr-code-container {
    flex: 0 0 250px;
    padding: 20px;
    background-color: var(--white);
    border-radius: 10px;
    margin-left: 40px;
}

.qr-code {
    width: 100%;
    height: auto;
}

.btn-schedule-invisalign {
    background-color: var(--black);
    color: var(--white);
    padding: 12px 30px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    border-radius: 3px;
    transition: all 0.3s;
}   

.btn-schedule-invisalign:hover {
    background-color: var(--white);
    color: var(--black);
    border: 2px solid var(--black);
}

/* Excellence in Implant Dentistry Section */
.implant-section {
    padding: 100px 0;
    background-color: var(--black);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.implant-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0;
    display: flex;
    position: relative;
    min-height: 500px;
}

.implant-video {
    flex: 0 0 55%;
    position: relative;
}

.implant-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.implant-video::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.implant-content {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 50%;
    background-color: rgba(0, 0, 0, 0.8);
    padding: 60px;
    z-index: 2;
}

.implant-title {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.1;
    text-transform: lowercase;
    margin-bottom: 25px;
    letter-spacing: 1px;
    color: var(--white);
}

.implant-title span {
    color: var(--posy);
}

.implant-text {
    margin-bottom: 30px;
}

.implant-text p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 20px;
    color: var(--white);
}

/* Routine Care Sections */
.routine-sections-wrapper {
  overflow: hidden;
}

.routine-heading {
    font-size: 4rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--black);
    text-align: center;
    width: 100%;
    position: relative;
}

.routine-main-content {
    text-align: left;
}

.routine-content h2 {
    margin-bottom: 20px;
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.1;
    text-transform: lowercase;
    letter-spacing: 1px;
    color: var(--black);
}

.routine-content h2 span {
    color: var(--posy);
}

.routine-content p {
    margin-bottom: 25px;
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--black);
}

.routine-section {
  position: relative;
  min-height: 500px;
  display: flex;
  align-items: center;
  padding: 80px 0;
  background-image: url('images/marble-bg.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: -1;
}

.routine-container {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  position: relative;
  z-index: 2;
}

.routine-content {
  flex: 0 0 50%;
  padding-right: 60px;
  color: var(--black);
}

.routine-image-right {
  position: absolute;
  right: 0;
  top: 0;
  width: 50%;
  height: 100%;
  margin-right: calc((100vw - 100%) / -2);
}

.routine-image-left {
  position: absolute;
  left: 0;
  top: 0;
  width: 50%;
  height: 100%;
  margin-left: calc((100vw - 100%) / -2);
}

.routine-image-right img,
.routine-image-left img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.routine-section.alternate .routine-content {
  margin-left: auto;
  padding-left: 60px;
  padding-right: 0;
}

.routine-btn {
  background: transparent;
  border: 2px solid var(--embers);
  color: var(--embers);
  padding: 12px 30px;
  font-weight: 600;
  cursor: pointer;
  border-radius: 3px;
  text-transform: lowercase;
  font-size: 1.1rem;
  transition: all 0.3s;
}

.routine-btn:hover {
  background-color: var(--embers);
  color: var(--white);
}

/* Services Gallery Section */
.services-gallery-section {
    padding: 60px 20px; /* Adjust padding as needed */
    background-image: url('images/services-bg.png');
    color: var(--white);
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin: 0 auto 60px;
    text-transform: lowercase;
    letter-spacing: 1px;
    color: var(--white);
    max-width: 1200px;
    padding: 0 20px;
    width: 100%;
}

.services-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    width: 100%;
    max-width: 1400px; /* Or whatever maximum width you prefer */
    margin: 0 auto;
    padding: 0 20px;
}

.service-card {
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s ease;
    text-align: center;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.service-image-container {
    width: 100%;
    height: 200px;
    overflow: hidden;
    border-radius: 5px;
    margin-bottom: 20px;
    position: relative;
}

.service-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card:hover .service-image-container img {
    transform: scale(1.35);
}

.service-card h3 {
    font-size: 1.3rem;
    font-weight: 500;
    text-transform: lowercase;
    letter-spacing: 1px;
    color: var(--white);
    transition: color 0.3s ease;
    margin: auto 0;
    padding: 0 10px;
}

.service-card:hover h3 {
    color: var(--posy);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .services-gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 20px;
    }
    
    .service-image-container {
        height: 180px;
    }
}

@media (max-width: 480px) {
    .services-gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .section-title {
        font-size: 2rem;
        margin-bottom: 40px;
    }
}

/* Split Payment Options Section */
.payment-insurance-section {
  background-color: whitesmoke;
  padding: 50px 20px;
}

.payment-insurance-container {
  display: flex;
  max-width: 1200px;
  margin: 0 auto;
  border: 1px solid #3c7a89;
  border-radius: 25px;
  overflow: hidden;
}

.payment-left {
  flex: 1;
  background-color: whitesmoke;
  padding: 60px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #316b7c;
}

.payment-icon img {
  width: 40px;
  margin-bottom: 20px;
}

.paying-label {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 500;
  margin-bottom: 10px;
}

.payment-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.payment-text {
  font-size: 1.1rem;
  line-height: 1.6;
  max-width: 400px;
}

.insurance-right {
  flex: 1;
  background-color: #B82601;
  padding: 60px 40px;
  color: #ffffff;
  position: relative;
}

.insurance-heading {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 20px;
}

.insurance-description {
  font-size: 1.1rem;
  line-height: 1.7;
  max-width: 450px;
}

.insurance-graphic {
  position: absolute;
  bottom: 20px;
  right: 20px;
  width: 120px;
}

.insurance-graphic img {
  width: 100%;
  height: auto;
}

@media (max-width: 768px) {
  .payment-insurance-container {
    flex-direction: column;
  }

  .insurance-graphic {
    position: static;
    margin-top: 40px;
  }
}

.testimonial-carousel-section {
  background-color: #ffffff;
}

.testimonial-carousel-container {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  min-height: 400px;
}

.testimonial-carousel-box {
  flex: 1;
  background-color: #000;
  color: #fff;
  position: relative;
  padding: 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}

.testimonial-slide {
  display: none;
  text-align: center;
}

.testimonial-slide.active {
  display: block;
}

.quote-icon {
  font-size: 3rem;
  margin-bottom: 20px;
}

.testimonial-quote {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 20px;
}

.testimonial-author {
  font-weight: 600;
  font-size: 1rem;
}

.testimonial-nav {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 30px;
}

.testimonial-nav button {
  background: transparent;
  border: none;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
  transition: color 0.3s;
}

.testimonial-nav button:hover {
  color: #316b7c;
}

.testimonial-static-box {
  flex: 1;
  background-image: url('images/marble-bg.jpg');
  background-size: cover;
  background-position: center;
  padding: 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #000;
}

.testimonial-heading {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 10px;
  text-transform: lowercase;
}

.testimonial-subheading {
  font-size: 2rem;
  font-weight: 300;
  margin-bottom: 20px;
  text-transform: lowercase;
}

.testimonial-link {
  font-size: 1.1rem;
  color: #316b7c;
  text-decoration: none;
  font-weight: 500;
  border-bottom: 1px solid #316b7c;
  width: fit-content;
}

.testimonial-link:hover {
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
  .testimonial-carousel-container {
    flex-direction: column;
  }

  .testimonial-carousel-box,
  .testimonial-static-box {
    padding: 40px;
  }

  .testimonial-nav {
    bottom: 20px;
  }
}


/* Patient Lifetime Section */
.patient-lifetime-section {
  position: relative;
  overflow: hidden;
  min-height: 400px;
  z-index: 1;
  background-color: #f5f3ed; /* Background for right side */
}


.patient-image-block {
    flex: 1;
    min-width: 300px;
    position: relative;
    z-index: 2;
}

.patient-image-block img {
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}


.patient-curve-bg {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 50%;
  background-color: #bbb;
  border-top-right-radius: 100% 200px;
  border-bottom-right-radius: 100% 200px;
  z-index: 0;
}

.patient-lifetime-container {
    display: flex;
    gap: 60px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 100px 20px;
    position: relative;
    z-index: 2;
}

.patient-text-block {
    flex: 1;
    max-width: 600px;
}

.patient-title {
  font-size: 3rem;
  font-weight: 600;
  color: #000;
  margin-bottom: 40px;
  line-height: 1.2;
  z-index: 2;
  position: relative;
}

.patient-quote-block {
  color: #7b4f00;
  margin-bottom: 40px;
  z-index: 2;
}

.quote-icon {
  font-size: 3rem;
  color: #000;
  margin-bottom: 10px;
}

.patient-quote {
  font-size: 1.2rem;
  line-height: 1.7;
}

.patient-author {
  font-weight: bold;
  margin-top: 10px;
  font-size: 1rem;
}

.patient-cta-button {
  background-color: #005f5d;
  color: #ffffff;
  padding: 14px 30px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 1rem;
  display: inline-block;
  transition: all 0.3s;
}

.patient-cta-button:hover {
  background-color: #004544;
}


/* Mobile Responsive */
@media (max-width: 768px) {
    .patient-lifetime-container {
        flex-direction: column;
        text-align: center;
    }
    
    .patient-image-block {
        margin-top: 40px;
        order: 2;
    }
    
    .patient-text-block {
        order: 1;
    }
    
    .patient-curve-bg {
        width: 100%;
        height: 60%;
        top: auto;
        bottom: 0;
        border-radius: 0 0 100% 100%;
    }
}

@media (max-width: 768px) {
  .patient-curve-bg {
    width: 100%;
    height: 60%;
    top: auto;
    bottom: 0;
    border-radius: 0 0 100% 100%;
  }

  .patient-title {
    font-size: 2.2rem;
  }

  .patient-quote {
    font-size: 1.1rem;
  }

  .patient-cta-button {
    font-size: 0.95rem;
  }

  .patient-lifetime-container {
    flex-direction: column;
    text-align: center;
  }
}

/* Visit Us Section */
.visit-us-section {
  background-image: url('images/visit-bg.jpg');
  padding: 100px 20px;
  background-size: contain;
  background-position: center;
}

.visit-us-container {
  display: flex;
  max-width: 1200px;
  margin: 0 auto;
  gap: 60px;
  flex-wrap: wrap;
  align-items: center;
}

.visit-info {
  flex: 1;
}

.visit-title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: #000;
}

.visit-subtext {
  font-size: 1.2rem;
  margin-bottom: 40px;
  color: #444;
}

.visit-details {
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin-bottom: 30px;
}

.visit-detail h4 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 5px;
  color: #316b7c;
}

.visit-detail p,
.visit-detail a {
  font-size: 1rem;
  color: #222;
  line-height: 1.6;
  text-decoration: none;
}

.visit-detail a:hover {
  color: #813772;
}

.visit-map-link {
  display: inline-block;
  margin-top: 20px;
  font-weight: 600;
  color: #813772;
  text-decoration: none;
  border-bottom: 2px solid #813772;
}

.visit-map-link:hover {
  color: #000;
  border-color: #000;
}

.visit-map {
  flex: 1;
  min-width: 300px;
}

.visit-map img {
  width: 100%;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}


/* Footer */
.site-footer {
  background-color: #000;
  color: #ffffff;
  padding: 60px 20px 30px;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
  gap: 40px;
  justify-content: space-between;
}

.footer-brand {
  flex: 1;
  min-width: 250px;
}

.footer-logo {
  width: 180px;
  margin-bottom: 15px;
}

.footer-tagline {
  font-size: 1rem;
  font-weight: 300;
  max-width: 300px;
  line-height: 1.6;
}

.footer-links,
.footer-contact {
  flex: 1;
  min-width: 200px;
}

.footer-links h4,
.footer-contact h4 {
  font-size: 1.2rem;
  margin-bottom: 15px;
  font-weight: 600;
  color: #dbb75b;
}

.footer-links ul {
  list-style: none;
  padding: 0;
}

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

.footer-links a,
.footer-contact a {
  color: #ffffff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover,
.footer-contact a:hover {
  color: #dbb75b;
}

.footer-contact p {
  margin-bottom: 10px;
  font-size: 0.95rem;
}

.footer-social {
  margin-top: 15px;
}

.footer-social a {
  margin-right: 15px;
  color: #ffffff;
  font-size: 1.2rem;
  transition: color 0.3s;
}

.footer-social a:hover {
  color: #dbb75b;
}

.footer-bottom {
  text-align: center;
  margin-top: 40px;
  font-size: 0.9rem;
  color: #bbb;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
}

/* Responsive */
@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    gap: 30px;
    align-items: center;
    text-align: center;
  }

  .footer-social {
    justify-content: center;
  }
}


/* Mobile Menu */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.5rem;
  cursor: pointer;
}

/* Accessibility Menu */
.accessibility-menu {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
}

.accessibility-btn {
  background-color: var(--posy);
  color: var(--white);
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

/* Animation keyframes */
@keyframes slideFadeIn {
  0% {
    opacity: 0;
    transform: translateY(-20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideFadeOut {
  0% {
    opacity: 1;
    transform: translateY(0);
  }
  100% {
    opacity: 0;
    transform: translateY(-20px);
  }
}

.dropdown-panel.animate-in {
  animation: slideFadeIn 0.4s ease-out forwards;
}

.dropdown-panel.animate-out {
  animation: slideFadeOut 0.3s ease-in forwards;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .nav-menu {
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .hero {
        min-height: 600px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .nav-menu {
        display: none;
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        background-color: var(--black);
        flex-direction: column;
        padding: 20px;
        max-height: calc(100vh - 80px);
        overflow-y: auto;
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .nav-item {
        padding: 10px 0;
        border-bottom: 1px solid #333;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .dropdown-panel-content {
        flex-direction: column;
        padding: 20px;
    }
    
    .dropdown-panel-left,
    .dropdown-panel-right {
        flex: 1 1 100%;
    }
    
    .dropdown-image {
        max-height: 200px;
    }
    
    .services-columns {
        flex-direction: column;
        gap: 20px;
    }
    
    .problems-list {
        columns: 1;
    }
    
    .dropdown-panel-close {
        color: var(--white);
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-phone {
        font-size: 1.2rem;
    }
    
    .logo img {
        max-width: 180px;
    }
}

.scroll-reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
  will-change: opacity, transform;
}

.scroll-reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
/* Animation Enhancements */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes zoomIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes slideRight {
  from { opacity: 0; transform: translateX(-40px); }
  to { opacity: 1; transform: translateX(0); }
}

.animate-fadeUp {
  animation: fadeUp 1s ease-out forwards;
  opacity: 0;
}

.animate-zoomIn {
  animation: zoomIn 1s ease-out forwards;
  opacity: 0;
}

.animate-slideRight {
  animation: slideRight 1s ease-out forwards;
  opacity: 0;
}

.animate-delay-1 { animation-delay: 0.3s; }
.animate-delay-2 { animation-delay: 0.6s; }
.animate-delay-3 { animation-delay: 0.9s; }

.animate-visible { opacity: 1 !important; }
