/* CSS Variables */
:root {
    --primary: #0d2840;
    /* Deep Ocean Blue */
    --secondary: #2b7a8c;
    /* Teal */
    --accent: #6db9c4;
    /* Light Teal */
    --text-main: #2b3a4a;
    --text-light: #5c6c7b;
    --white: #ffffff;
    --bg-main: #f9fbfb;
    --bg-light: #e6f0f2;
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(255, 255, 255, 0.4);
    --glass-shadow: 0 8px 32px 0 rgba(13, 40, 64, 0.08);
    --transition: all 0.3s ease;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Outfit', sans-serif;
    color: var(--text-main);
    background-color: var(--bg-main);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

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

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

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

.bg-light {
    background-color: var(--white);
}

.section-title {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--secondary);
    margin-bottom: 1.5rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header p {
    color: var(--text-light);
    font-size: 1.1rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
    text-align: center;
}

.btn-primary {
    background-color: var(--secondary);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(43, 122, 140, 0.3);
}

.btn-primary:hover {
    background-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(13, 40, 64, 0.2);
}

.btn-secondary {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

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

.mt-2 {
    margin-top: 1.5rem;
}

/* Glassmorphism Classes */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: var(--glass-shadow);
    transition: var(--transition);
}

.glass-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px 0 rgba(13, 40, 64, 0.12);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 12px 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
}

.navbar.scrolled .logo,
.navbar.scrolled .nav-link {
    color: var(--primary);
}

.navbar.scrolled .btn-header {
    background-color: var(--secondary);
    color: var(--white);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--white);
    transition: var(--transition);
}

.logo-icon {
    font-size: 2rem;
}

.logo-img {
    height: 45px;
    width: auto;
    object-fit: contain;
    filter: contrast(2);
}

.logo-text {
    line-height: 1.1;
    font-size: 1.9rem;
}

.logo-text-wrapper {
    display: flex;
    flex-direction: column;
}

.logo-dr-name {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--accent);
    letter-spacing: 1px;
    margin-top: 2px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    color: var(--white);
    font-weight: 500;
    transition: var(--transition);
    font-size: 1rem;
}

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

.btn-header {
    background-color: var(--white);
    color: var(--primary);
    padding: 10px 24px;
    border-radius: 30px;
    font-weight: 600;
}

.btn-header:hover {
    background-color: var(--accent);
    color: var(--white);
    transform: translateY(-2px);
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 1001;
}

.menu-toggle .bar {
    width: 25px;
    height: 3px;
    background-color: var(--white);
    transition: var(--transition);
    border-radius: 3px;
}

.navbar.scrolled .menu-toggle .bar {
    background-color: var(--primary);
}

.menu-toggle.active .bar:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.menu-toggle.active .bar:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active .bar:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

.navbar.scrolled .menu-toggle.active .bar {
    background-color: var(--primary);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 80px;
    background: url('../assets/images/hero.png') no-repeat center center/cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(5, 13, 26, 0.9) 0%, rgba(5, 13, 26, 0.7) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.hero-subtitle {
    display: inline-block;
    color: var(--accent);
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.hero h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    font-weight: 700;
    color: var(--accent);
}

.hero h1 .highlight {
    color: var(--accent);
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    max-width: 600px;
    color: rgba(255, 255, 255, 0.9);
}

.hero-actions {
    display: flex;
    gap: 1rem;
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-image {
    position: relative;
    border-radius: 20px;
}

.about-image img {
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.experience-card {
    position: absolute;
    bottom: -30px;
    right: -30px;
    background: rgba(255, 255, 255, 0.95);
    padding: 1.5rem;
    text-align: center;
    width: max-content;
}

.experience-card h3 {
    color: var(--secondary);
    font-size: 2rem;
    line-height: 1;
}

.experience-card p {
    font-size: 0.9rem;
    color: var(--text-light);
    font-weight: 500;
}

.about-text p {
    margin-bottom: 1.5rem;
    color: var(--text-light);
}

.check-list {
    margin-top: 2rem;
}

.check-list li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 1rem;
    font-weight: 500;
    color: var(--primary);
}

.check-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--secondary);
    font-weight: bold;
}

/* Treatments Section */
.treatments-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
}

.treatment-card {
    text-align: center;
    position: relative;
    overflow: hidden;
    padding: 3rem 2rem;
}

.card-icon {
    width: 60px;
    height: 60px;
    background: var(--bg-light);
    color: var(--secondary);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1.5rem;
    transition: var(--transition);
}

.treatment-card:hover .card-icon {
    background: var(--secondary);
    color: var(--white);
    transform: scale(1.1);
}

.treatment-card h3 {
    color: var(--primary);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.treatment-card p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* Technologies Section */
.technologies {
    background-color: var(--primary);
    color: var(--white);
}

.technologies .section-title {
    color: var(--white);
}

.technologies .section-header p {
    color: rgba(255, 255, 255, 0.7);
}

.tech-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.blur-bg {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 3rem;
    transition: var(--transition);
}

.blur-bg:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-5px);
}

.tech-content h3 {
    color: var(--accent);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.tech-content p {
    color: rgba(255, 255, 255, 0.8);
}

.tech-img {
    max-width: 100%;
    height: auto;
    max-height: 300px;
    object-fit: contain;
    border-radius: 12px;
    margin: 0 auto 1.5rem auto;
    display: block;
}

.tech-item.full-width {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 2rem;
    align-items: center;
}

.tech-item.full-width .tech-img {
    flex: 1;
    min-width: 300px;
    max-width: 50%;
    margin-bottom: 0;
}

.tech-item.full-width .tech-content {
    flex: 1;
    min-width: 300px;
}

/* Footer Section */
.footer {
    background-color: #0b1a26;
    color: var(--white);
    padding-top: 80px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    margin-bottom: 4rem;
}

.footer h3 {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    color: var(--accent);
}

.footer p {
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 1rem;
}

.contact-details p strong {
    color: var(--white);
}

.footer-hours ul li {
    display: flex;
    justify-content: space-between;
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
}

.footer-hours ul li span {
    color: var(--white);
    font-weight: 500;
}

.footer-bottom {
    background-color: #08131d;
    padding: 20px 0;
    text-align: center;
}

.footer-bottom p {
    margin: 0;
    font-size: 0.9rem;
}

/* Process Section */
.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.process-step {
    padding: 2.5rem 2rem;
    position: relative;
}

.step-icon {
    width: 50px;
    height: 50px;
    background: var(--secondary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.process-step h3 {
    color: var(--primary);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.process-step p {
    color: var(--text-light);
}

/* FAQ Section */
.faq-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    text-align: left;
    padding: 2rem;
}

.faq-item h3 {
    color: var(--primary);
    margin-bottom: 1rem;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
}

.faq-item h3::before {
    content: '?';
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-width: 30px;
    height: 30px;
    background: var(--accent);
    color: var(--white);
    border-radius: 50%;
    margin-right: 15px;
    font-size: 1rem;
    font-weight: bold;
}

.faq-item p {
    color: var(--text-light);
    padding-left: 45px;
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 {
    transition-delay: 0.2s;
}

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

.delay-3 {
    transition-delay: 0.6s;
}

/* ===== MEDIA QUERIES (Mobile Responsiveness) ===== */
@media (max-width: 992px) {

    .about-grid,
    .tech-grid {
        gap: 2rem;
    }

    .hero h1 {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .section-padding {
        padding: 60px 0;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .hero-actions {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        display: block;
    }

    .about-grid,
    .tech-grid {
        grid-template-columns: 1fr;
    }

    .about-image {
        margin-bottom: 3rem;
    }

    .experience-card {
        bottom: -20px;
        right: 10px;
    }

    /* Mobile Navigation */
    .menu-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 350px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        justify-content: center;
        padding: 2rem;
        gap: 1.5rem;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
        transition: 0.4s cubic-bezier(0.77, 0, 0.175, 1);
        z-index: 1000;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-menu .nav-link {
        color: var(--primary);
        font-size: 1.2rem;
        font-weight: 600;
        display: block;
        width: 100%;
    }

    .nav-menu .btn-header {
        background-color: var(--secondary);
        color: var(--white);
        margin-top: 1rem;
        text-align: center;
    }

    .navbar .logo {
        position: relative;
        z-index: 1001;
    }

    /* Override navbar text color on mobile when menu opens */
    .menu-toggle.active .bar {
        background-color: var(--primary) !important;
    }

    .nav-open .logo {
        color: var(--primary) !important;
    }
}

/* ===== RDV MODAL ===== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(5, 13, 26, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: var(--white);
    max-width: 600px;
    width: 90%;
    padding: 3rem 2.5rem;
    border-radius: 20px;
    position: relative;
    transform: translateY(20px) scale(0.95);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.modal-overlay.active .modal-content {
    transform: translateY(0) scale(1);
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    font-size: 2.5rem;
    color: var(--text-light);
    cursor: pointer;
    transition: color 0.3s ease;
    line-height: 1;
}

.modal-close:hover {
    color: var(--primary);
}

.modal-checkboxes {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.checkbox-container {
    display: flex;
    align-items: flex-start;
    position: relative;
    padding-left: 40px;
    cursor: pointer;
    font-size: 1.05rem;
    color: var(--text-main);
    user-select: none;
}

.checkbox-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    position: absolute;
    top: 3px;
    left: 0;
    height: 24px;
    width: 24px;
    background-color: #f0f4f8;
    border: 2px solid var(--secondary);
    border-radius: 6px;
    transition: all 0.2s ease;
}

.checkbox-container:hover input ~ .checkmark {
    background-color: #e6f0f2;
}

.checkbox-container input:checked ~ .checkmark {
    background-color: var(--secondary);
    border-color: var(--secondary);
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.checkbox-container input:checked ~ .checkmark:after {
    display: block;
}

.checkbox-container .checkmark:after {
    left: 7px;
    top: 3px;
    width: 6px;
    height: 12px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.checkbox-text {
    line-height: 1.4;
    font-weight: 500;
}

.modal-btn {
    width: 100%;
    opacity: 1;
    transition: all 0.3s ease;
    font-size: 1.1rem;
    padding: 16px;
}

.modal-btn:disabled {
    background-color: #cbd5e1;
    border-color: #cbd5e1;
    color: #64748b;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}