/* --- CSS VARIABLES & THEME --- */
:root {
    --primary-color: #002B5C;
    /* Deep Navy Blue */
    --accent-color: #00A86B;
    /* Jade Green */
    --accent-hover: #008f5b;
    --bg-light: #f9fbfd;
    /* Very light blue-grey */
    --bg-white: #ffffff;
    --text-dark: #333333;
    --text-light: #666666;
    --border-color: #e1e8ed;
    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.12);
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Lato', sans-serif;
    --transition: all 0.3s ease;
}

/* --- RESET & BASIC STYLES --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    line-height: 1.7;
    background-color: var(--bg-white);
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    color: var(--primary-color);
    line-height: 1.3;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

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

/* --- TYPOGRAPHY UTILITIES --- */
h1 {
    font-size: 3.5rem;
    font-weight: 700;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

h3 {
    font-size: 1.5rem;
    font-weight: 600;
}

.sub-heading {
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 10px;
    font-family: var(--font-body);
}

.sub-heading.light {
    color: rgba(255, 255, 255, 0.7);
}

p {
    margin-bottom: 20px;
    color: var(--text-light);
}

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

.section-padding {
    padding: 100px 0;
}

.text-center {
    text-align: center;
}

/*Divider*/
.divider {
    height: 3px;
    width: 60px;
    background-color: var(--accent-color);
    margin-bottom: 30px;
}

.divider.center {
    margin: 0 auto 50px auto;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 35px;
    border-radius: 50px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-size: 0.9rem;
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--accent-color);
    color: var(--bg-white);
    box-shadow: 0 5px 15px rgba(39, 174, 96, 0.4);
}

.btn-primary:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(39, 174, 96, 0.6);
}

.btn-outline {
    border-color: var(--bg-white);
    color: var(--bg-white);
    margin-left: 15px;
}

.btn-outline:hover {
    background-color: var(--bg-white);
    color: var(--primary-color);
}

.text-link {
    color: var(--primary-color);
    font-weight: 700;
    border-bottom: 2px solid var(--accent-color);
    padding-bottom: 2px;
}

.text-link:hover {
    color: var(--accent-color);
    transition: var(--transition);
}

.construction-disclaimer {
    background-color: #fff1f1;
    color: #e74c3c;
    text-align: center;
    padding: 10px 20px;
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 1px;
    border-bottom: 1px solid rgba(231, 76, 60, 0.2);
    position: relative;
    z-index: 1001;
}

/* --- HEADER & NAV --- */
header {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
}

header.scrolled {
    box-shadow: var(--shadow-md);
    padding: 10px 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 90px;
    transition: var(--transition);
}

header.scrolled .nav-container {
    height: 70px;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 5px 0;
}

.logo-img {
    height: 50px;
    width: auto;
    object-fit: contain;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: -0.5px;
}

.logo-text span {
    color: var(--accent-color);
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    font-weight: 600;
    font-size: 1rem;
    color: var(--primary-color);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--accent-color);
    transition: var(--transition);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-phone {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    color: var(--primary-color);
    margin-left: 30px;
    padding: 10px 20px;
    border: 1px solid var(--border-color);
    border-radius: 30px;
}

.nav-phone:hover {
    border-color: var(--accent-color);
    color: var(--accent-color);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: var(--primary-color);
    transition: var(--transition);
}

/* --- HERO SECTION --- */
.hero {
    position: relative;
    background: url('https://images.unsplash.com/photo-1576091160399-112ba8d25d1d?ixlib=rb-1.2.1&auto=format&fit=crop&w=1950&q=80') no-repeat center center/cover;
    height: 85vh;
    min-height: 500px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(44, 62, 80, 0.85) 0%, rgba(39, 174, 96, 0.8) 100%);
}

.hero-content {
    position: relative;
    z-index: 10;
    color: var(--bg-white);
    max-width: 800px;
}

.hero h1 {
    color: var(--bg-white);
    font-size: 4rem;
    line-height: 1.2;
    margin-bottom: 25px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.hero p {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.35rem;
    margin-bottom: 40px;
    font-weight: 300;
}

.hero-btns {
    display: flex;
    align-items: center;
}

/* --- ABOUT SECTION --- */
.about {
    background-color: var(--bg-light);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.8;
}

.about-img {
    position: relative;
}

.about-img img {
    width: 100%;
    border-radius: 10px;
    box-shadow: var(--shadow-lg);
}

.experience-badge {
    position: absolute;
    bottom: -30px;
    right: -30px;
    background-color: var(--accent-color);
    color: var(--bg-white);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: var(--shadow-md);
}

.experience-badge .years {
    display: block;
    font-size: 2.5rem;
    font-weight: 900;
    line-height: 1;
    font-family: var(--font-heading);
}

.experience-badge .text {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* --- SERVICES SECTION --- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.service-card {
    background: var(--bg-white);
    padding: 40px;
    border-radius: 12px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.icon-circle {
    width: 80px;
    height: 80px;
    line-height: 80px;
    background-color: rgba(39, 174, 96, 0.1);
    color: var(--accent-color);
    font-size: 2rem;
    border-radius: 50%;
    margin: 0 auto 25px auto;
    transition: var(--transition);
}

.service-card:hover .icon-circle {
    background-color: var(--accent-color);
    color: var(--bg-white);
}

.service-card h3 {
    margin-bottom: 15px;
}

/* --- CONTACT SECTION --- */
.contact {
    background-color: var(--primary-color);
    color: var(--bg-white);
}

.contact h2 {
    color: var(--bg-white);
}

.contact p {
    color: rgba(255, 255, 255, 0.8);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 30px;
}

.info-icon {
    font-size: 1.5rem;
    background-color: rgba(255, 255, 255, 0.1);
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
}

.info-item h4 {
    color: var(--accent-color);
    margin-bottom: 5px;
    font-family: var(--font-body);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.status-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin: 10px 0 35px 0;
}

#open-status-container {
    margin: 0;
}

.rating-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--bg-white);
    transition: var(--transition);
    cursor: pointer;
}

.rating-badge:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.google-logo {
    color: #4285F4;
    font-weight: 900;
}

.stars-mini {
    color: #f1c40f;
    letter-spacing: 1px;
}

.rating-text {
    opacity: 0.9;
}

.status-bubble {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--bg-white);
    transition: var(--transition);
}

.status-open {
    background: rgba(46, 204, 113, 0.15) !important;
    border-color: rgba(46, 204, 113, 0.4) !important;
    box-shadow: 0 0 20px rgba(46, 204, 113, 0.2);
}

.status-closed {
    background: rgba(231, 76, 60, 0.15) !important;
    border-color: rgba(231, 76, 60, 0.4) !important;
    box-shadow: 0 0 20px rgba(231, 76, 60, 0.2);
}

.status-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
}

.status-open .status-dot {
    background-color: #2ecc71;
    box-shadow: 0 0 10px #2ecc71;
}

.status-closed .status-dot {
    background-color: #e74c3c;
    box-shadow: 0 0 10px #e74c3c;
}

.status-text {
    opacity: 0.9;
}

.next-open {
    display: block;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 2px;
    font-weight: 400;
}

.map-container {
    height: 450px;
    background-color: #ddd;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 5px solid rgba(255, 255, 255, 0.1);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* --- FOOTER --- */
footer {
    background-color: #1a252f;
    color: #95a5a6;
    padding: 60px 0 30px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-logo-img {
    height: 80px;
    width: auto;
    margin: 0 auto 20px auto;
    display: block;
}

.footer-logo {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--bg-white);
    margin-bottom: 20px;
}

.footer-logo span {
    color: var(--accent-color);
}

.small-text {
    font-size: 0.85rem;
    opacity: 0.7;
    margin-top: 10px;
}

/* --- MOBILE MENU OVERLAY --- */
.mobile-menu {
    position: fixed;
    top: 90px;
    left: 0;
    width: 100%;
    background-color: var(--bg-white);
    border-top: 1px solid var(--border-color);
    padding: 20px 0;
    box-shadow: var(--shadow-md);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    transform: translateY(-150%);
    transition: var(--transition);
    z-index: 999;
}

.mobile-menu.active {
    transform: translateY(0);
}

.mobile-link {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-color);
}

/* --- ANIMATIONS --- */
.fade-in,
.fade-in-up,
.fade-in-left,
.fade-in-right {
    opacity: 0;
    transition: all 1s ease-out;
}

.fade-in {
    opacity: 0;
}

.fade-in-up {
    transform: translateY(40px);
}

.fade-in-left {
    transform: translateX(-40px);
}

.fade-in-right {
    transform: translateX(40px);
}

.visible {
    opacity: 1;
    transform: translate(0) !important;
}

/* --- BIO PAGE UTILITIES --- */
.custom-list {
    margin-bottom: 30px;
}

.custom-list li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 12px;
    color: var(--text-light);
    font-weight: 500;
}

.custom-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: 900;
}

/* Stagger delays */
.delay-1 {
    transition-delay: 0.2s;
}

.delay-2 {
    transition-delay: 0.4s;
}

/* --- MEET THE DR SECTION --- */
.meet-dr {
    background-color: var(--bg-white);
}

.dr-content {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: center;
}

.dr-image-container {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
}

.dr-image-container img {
    width: 100%;
    aspect-ratio: 4/5;
    object-fit: cover;
    border-radius: 20px;
}

.dr-info {
    max-width: 600px;
}

.dr-quote {
    font-style: italic;
    font-size: 1.2rem;
    color: var(--text-dark);
    border-left: 4px solid var(--accent-color);
    padding-left: 20px;
    margin-bottom: 30px;
    line-height: 1.6;
}

.dr-features {
    display: flex;
    gap: 40px;
    margin-bottom: 40px;
}

.dr-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--primary-color);
    font-weight: 600;
}

.dr-feature svg {
    color: var(--accent-color);
}

/* --- TESTIMONIALS SECTION --- */
.testimonials {
    background-color: #0c1621;
    color: var(--bg-white);
    overflow: hidden;
}

.testimonials h2 {
    color: var(--bg-white);
}

.testimonials-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 60px;
}

.testimonials-track {
    display: flex;
    gap: 30px;
    animation: scrollTestimonials 40s linear infinite;
    width: max-content;
}

@keyframes scrollTestimonials {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-350px * 3 - 90px));
    }
}

/* Pause on hover */
.testimonials-track:hover {
    animation-play-state: paused;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 40px;
    border-radius: 15px;
    width: 350px;
    flex-shrink: 0;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.testimonial-card:hover {
    background: rgba(255, 255, 255, 0.08);
}

.stars {
    color: #f1c40f;
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.testimonial-text {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    margin-bottom: 30px;
    line-height: 1.6;
}

.reviewer {
    display: flex;
    align-items: center;
    gap: 15px;
}

.reviewer-img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--accent-color);
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 700;
    color: var(--bg-white);
}

.reviewer-info h4 {
    color: var(--bg-white);
    font-size: 1rem;
    margin-bottom: 2px;
}

.reviewer-info span {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
}

/* --- CTA SECTION --- */
.ready-cta {
    padding: 100px 0;
}

.cta-box {
    background: linear-gradient(135deg, #2ecc71 0%, #27ae60 100%);
    border-radius: 30px;
    padding: 80px 40px;
    text-align: center;
    color: var(--bg-white);
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(39, 174, 96, 0.3);
}

/* Leafy pattern overlay */
.cta-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 86c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zm66 3c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zm-46-45c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zm13-24c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23ffffff' fill-opacity='0.05' fill-rule='evenodd'/%3E%3C/svg%3E");
    opacity: 0.2;
}

.cta-box h2 {
    color: var(--bg-white);
    font-size: 3.5rem;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.cta-box p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 40px auto;
    position: relative;
    z-index: 1;
}

.cta-btns {
    display: flex;
    justify-content: center;
    gap: 20px;
    position: relative;
    z-index: 1;
}

.cta-btns .btn-white {
    background: var(--bg-white);
    color: #27ae60;
}

.cta-btns .btn-white:hover {
    background: #f0f0f0;
    transform: translateY(-3px);
}

.cta-btns .btn-outline-white {
    border-color: rgba(255, 255, 255, 0.5);
    color: var(--bg-white);
}

.cta-btns .btn-outline-white:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--bg-white);
}

/* --- MEDIA QUERIES --- */
@media (max-width: 968px) {
    h1 {
        font-size: 3rem;
    }

    h2 {
        font-size: 2rem;
    }

    .about-content,
    .contact-grid,
    .dr-content {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .dr-image-container {
        max-width: 500px;
        margin: 0 auto;
    }

    .cta-box h2 {
        font-size: 2.5rem;
    }

    .hero-content {
        text-align: center;
        margin: 0 auto;
    }

    .hero-btns {
        justify-content: center;
    }

    .experience-badge {
        right: 0;
        bottom: -20px;
        padding: 20px;
    }
}

@media (max-width: 768px) {

    .nav-links,
    .nav-phone {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero {
        height: 75vh;
    }

    h1 {
        font-size: 2.5rem;
    }

    .about-content {
        gap: 40px;
    }

    .dr-features {
        flex-direction: column;
        gap: 15px;
    }

    .cta-btns {
        flex-direction: column;
        gap: 15px;
    }

    .cta-btns .btn {
        width: 100%;
        margin-left: 0;
    }
}