/* Variables & Reset */
:root {
    --primary-color: #004E98; /* Lighter professional blue */
    --secondary-color: #3A6EA5;
    --accent-color: #c5a47e; /* Gold/Bronze tone for luxury feel */
    --text-light: #f4f4f4;
    --text-dark: #333333;
    --text-gray: #666666;
    --white: #ffffff;
    --off-white: #fdfcf7; /* Creamy off-white */
    --light-bg: #f7f5f0; /* Slightly darker cream for backgrounds */
    --transition: all 0.3s ease;
    --font-main: 'Montserrat', sans-serif;
    --font-heading: 'Playfair Display', serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    color: var(--primary-color);
    margin-bottom: 1rem;
}

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

ul {
    list-style: none;
}

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

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

.section {
    padding: 5rem 0;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

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

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

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    cursor: pointer;
    font-size: 0.9rem;
}

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

.btn-primary:hover {
    background-color: transparent;
    color: var(--accent-color);
}

.btn-outline {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--white);
    margin-left: 1rem;
}

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

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(0, 78, 152, 0.95);
    padding: 0.5rem 0; /* Reduced padding slightly to accommodate larger logo */
    z-index: 1000;
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

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

.logo-link {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.logo img {
    height: 50px;
    width: auto;
    filter: brightness(0) invert(1); /* Ensure white logo */
}

.logo-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-left: 1px solid var(--accent-color);
    padding-left: 10px;
}

.wordmark-stack {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
}

.wordmark-line {
    display: block;
    width: 130px;
    height: auto;
}

.logo-wordmark {
    display: block;
    width: 35px;
    height: auto;
}

.logo-main {
    font-family: var(--font-heading);
    color: var(--white);
    font-size: 1.5rem;
    line-height: 1;
}

.logo-sub {
    font-family: var(--font-main);
    color: var(--accent-color);
    font-size: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

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

.nav-links a {
    color: var(--white);
    font-weight: 500;
    font-size: 0.9rem;
    text-transform: uppercase;
    transition: var(--transition);
    position: relative;
}

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

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

.btn-nav {
    background-color: var(--accent-color);
    padding: 0.5rem 1.5rem !important;
    border-radius: 50px;
}

.btn-nav:hover {
    background-color: #b08d65;
}

.btn-nav::after {
    display: none;
}

.nav-socials {
    display: flex;
    gap: 15px;
    margin-left: 10px;
    border-left: 1px solid rgba(255,255,255,0.2);
    padding-left: 20px;
}

.nav-socials a {
    font-size: 1.1rem;
    color: var(--white);
    opacity: 0.8;
    transition: var(--transition);
}

.nav-socials a::after {
    display: none; /* Disable underline effect for icons */
}

.nav-socials a:hover {
    color: var(--accent-color);
    opacity: 1;
    transform: translateY(-2px);
}

.hamburger {
    display: none;
    cursor: pointer;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--white);
    margin: 5px 0;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: -2;
    transform: scale(1.1);
    animation: zoomEffect 20s infinite alternate;
}

@keyframes zoomEffect {
    from { transform: scale(1); }
    to { transform: scale(1.1); }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 78, 152, 0.85), rgba(0, 78, 152, 0.7));
    z-index: -1;
}

/* Hero Grid Layout */
.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    width: 100%;
}

.hero-brand-area {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 2rem;
}

.hero-big-logo {
    height: 220px;
    width: auto;
    filter: brightness(0) invert(1);
}

.hero-brand-text {
    text-align: left;
    border-left: 3px solid var(--accent-color);
    padding-left: 2rem;
}

.hero-brand-text.wordmark-stack {
    align-items: flex-start;
}

.hero-brand-text.wordmark-stack .wordmark-line {
    width: 280px;
}

.brand-main {
    font-family: var(--font-heading);
    font-size: 6rem;
    line-height: 0.9;
    color: var(--white);
}

.brand-sub {
    font-family: var(--font-main);
    font-size: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 6px;
    color: var(--accent-color);
    margin-top: 10px;
}

.hero-text-area {
    text-align: left;
}

.hero-text-area h1 {
    font-size: 4rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--white);
}

.highlight {
    color: var(--accent-color);
    font-style: italic;
}

.hero-text-area p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 0 2.5rem 0;
    opacity: 0.9;
}

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

/* About Section */
.about {
    background-color: var(--off-white);
}

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

.about-image {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.experience-badge {
    position: absolute;
    bottom: 30px;
    right: -20px;
    background-color: var(--accent-color);
    color: var(--white);
    padding: 1.5rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.experience-badge .number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
}

.experience-badge .text {
    font-size: 0.9rem;
    text-transform: uppercase;
}

.about-text .lead {
    font-size: 1.2rem;
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 1.5rem;
}

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

.features-list li {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
}

.features-list i {
    color: var(--accent-color);
    font-size: 1.2rem;
}

/* Services Section */
.services {
    background-color: var(--light-bg);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.service-card {
    background-color: var(--white);
    padding: 2.5rem 2rem;
    height: 100%;
    border-radius: 10px;
    text-align: center;
    transition: var(--transition);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    border-bottom: 3px solid transparent;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    border-bottom: 3px solid var(--accent-color);
}

.service-icon {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
}

.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

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

/* Experience / Video Section */
.experience {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 6rem 0;
}

.experience-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.experience .section-title {
    color: var(--white);
    text-align: left;
}

.video-placeholder {
    position: relative;
    display: flex;
    justify-content: center;
}

.vertical-video-container {
    width: 300px;
    height: 530px; /* 9:16 aspect ratio approx */
    background-color: #000;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
    border: 4px solid rgba(255,255,255,0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.vertical-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

.video-controls {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    background-color: rgba(0,0,0,0.3);
    transition: var(--transition);
}

.video-controls.hidden {
    opacity: 0;
    pointer-events: none;
}

.play-button {
    width: 70px;
    height: 70px;
    background-color: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--transition);
    animation: pulse 2s infinite;
}

.play-button:hover {
    transform: scale(1.1);
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(197, 164, 126, 0.7); }
    70% { box-shadow: 0 0 0 20px rgba(197, 164, 126, 0); }
    100% { box-shadow: 0 0 0 0 rgba(197, 164, 126, 0); }
}

/* Showcase */
.showcase {
    padding: 0;
}

.showcase-item {
    position: relative;
    height: 400px;
    overflow: hidden;
}

.showcase-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.showcase-item:hover img {
    transform: scale(1.05);
}

.showcase-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 2rem;
    background: linear-gradient(transparent, rgba(0, 78, 152, 0.9));
    color: var(--white);
}

/* Contact Section */
.contact {
    background-color: var(--off-white);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 0;
    background-color: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.1);
}

.contact-info {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 3rem;
    position: relative;
    overflow: hidden;
}

.contact-info::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.05);
}

.contact-info .section-title {
    color: var(--white);
    text-align: left;
    font-size: 2rem;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 2rem;
}

.info-item i {
    font-size: 1.5rem;
    color: var(--accent-color);
    margin-top: 5px;
}

.info-item h4 {
    color: var(--white);
    margin-bottom: 0.3rem;
    font-size: 1.1rem;
}

.info-item p {
    opacity: 0.8;
    font-size: 0.9rem;
}

.social-links {
    margin-top: 3rem;
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--accent-color);
    transform: translateY(-3px);
}

.contact-form-container {
    padding: 3rem;
}

.medical-form h3 {
    margin-bottom: 2rem;
    color: var(--primary-color);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-dark);
    font-size: 0.9rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: var(--font-main);
    font-size: 0.95rem;
    transition: var(--transition);
    background-color: var(--light-bg);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    background-color: var(--white);
    box-shadow: 0 0 0 3px rgba(197, 164, 126, 0.1);
}

.btn-submit {
    width: 100%;
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 1rem;
    font-size: 1rem;
    margin-top: 1rem;
}

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

/* Footer */
footer {
    background-color: #00284d;
    color: var(--white);
    padding: 3rem 0;
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-logo img {
    height: 40px;
    margin: 0 auto 1rem;
}

.footer-links {
    margin: 2rem 0;
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.footer-links a {
    opacity: 0.7;
    transition: var(--transition);
}

.footer-links a:hover {
    opacity: 1;
    color: var(--accent-color);
}

.copyright {
    opacity: 0.5;
    font-size: 0.8rem;
}

/* Floating WhatsApp Button */
.floating-whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    z-index: 2000;
    transition: all 0.3s ease;
    text-decoration: none;
}

.floating-whatsapp:hover {
    transform: scale(1.1) rotate(10deg);
    box-shadow: 0 6px 15px rgba(0,0,0,0.4);
    color: #fff;
}

/* Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s forwards 0.5s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.reveal-left, .reveal-right, .reveal-bottom {
    opacity: 1;
    transition: all 1s ease;
}

.js-active .reveal-left, .js-active .reveal-right, .js-active .reveal-bottom {
    opacity: 0;
}

.reveal-left { transform: translateX(-50px); }
.reveal-right { transform: translateX(50px); }
.reveal-bottom { transform: translateY(50px); }

.js-active .reveal-active, .reveal-active {
    opacity: 1;
    transform: translate(0);
}

/* Responsive */
@media (max-width: 992px) {
    .hero {
        padding-top: 80px;
        padding-bottom: 80px;
        height: auto;
        min-height: 100vh;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }
    
    .hero-brand-area {
        justify-content: center;
        flex-direction: column;
    }
    
    .hero-brand-text {
        border-left: none;
        border-top: 2px solid var(--accent-color);
        padding-left: 0;
        padding-top: 1rem;
        align-items: center;
        text-align: center;
    }

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

    .hero-text-area h1 { font-size: 3rem; }
    
    .hero-text-area p {
        margin: 0 auto 2.5rem;
    }

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

    .about-grid { grid-template-columns: 1fr; gap: 2rem; }
    .experience-layout { grid-template-columns: 1fr; text-align: center; }
    .experience .section-title { text-align: center; }
    .stats-grid { justify-items: center; }
    .contact-wrapper { grid-template-columns: 1fr; }
    .contact-info::before { display: none; }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background-color: var(--primary-color);
        flex-direction: column;
        justify-content: center;
        transition: var(--transition);
        box-shadow: -5px 0 15px rgba(0,0,0,0.2);
    }

    .nav-socials {
        border-left: none;
        border-top: 1px solid rgba(255,255,255,0.1);
        padding-left: 0;
        padding-top: 20px;
        margin-left: 0;
        margin-top: 10px;
    }

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

    .hamburger { display: block; z-index: 1001; }
    
    .hero-text-area h1 { font-size: 2.5rem; }
    .hero-big-logo { height: 140px; }
    .brand-main { font-size: 3.5rem; }
    .brand-sub { font-size: 1rem; letter-spacing: 3px; }
    
    .form-row { grid-template-columns: 1fr; gap: 0; }
    .section { padding: 3rem 0; }
}

/* Language Modal */
.lang-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
}

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

.lang-modal-content {
    background: white;
    padding: 3rem;
    border-radius: 15px;
    text-align: center;
    max-width: 500px;
    width: 90%;
    transform: translateY(20px);
    transition: transform 0.3s ease;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.lang-modal.active .lang-modal-content {
    transform: translateY(0);
}

.lang-modal-logo {
    height: 60px;
    margin-bottom: 2rem;
}

.lang-options {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.lang-btn {
    padding: 1rem 2rem;
    border: 2px solid var(--primary-color);
    border-radius: 8px;
    background: transparent;
    color: var(--primary-color);
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

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

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

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

/* Navbar Language Toggle */
.nav-lang-toggle {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
    margin-left: 1rem;
}

.nav-lang-toggle:hover {
    background: white;
    color: var(--primary-color);
}

@media (max-width: 768px) {
    .nav-lang-toggle {
        margin: 1rem 0 0 0;
        width: 100%;
        text-align: center;
    }
}

/* FAQ Accordion Styles */
.faq-item {
    border-bottom: 1px solid #ddd;
    margin-bottom: 1rem;
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
    background: none;
    border: none;
    cursor: pointer;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--primary-color);
    text-align: left;
    transition: var(--transition);
}

.faq-question:hover {
    color: var(--accent-color);
}

.faq-question i {
    transition: transform 0.3s ease;
    color: var(--accent-color);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 1rem;
}

.faq-item.active .faq-answer {
    padding-bottom: 1.5rem;
}

.faq-answer p {
    font-size: 0.95rem;
    color: var(--text-gray);
    line-height: 1.6;
}
