/* ==========================================================================
   CSS Variables & Tokens
   ========================================================================== */
:root {
    /* Colors */
    --color-primary: #F47A2D; /* Orange */
    --color-primary-hover: #e0681f;
    --color-secondary: #114A8E; /* Dark Blue */
    --color-secondary-hover: #0d3a70;
    
    --color-white: #ffffff;
    --color-light-bg: #f8f9fa;
    --color-dark-bg: #1a202c;
    
    --color-text-main: #2d3748;
    --color-text-muted: #718096;
    --color-text-light: #e2e8f0;

    /* Typography */
    --font-family-main: 'Outfit', sans-serif;
    
    /* Shadows & Effects */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-hover: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    
    /* Layout */
    --container-width: 1200px;
}

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

html {
    scroll-behavior: smooth;
}

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

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

ul {
    list-style: none;
}

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

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

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

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

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

/* Typography Utilities */
h1, h2, h3, h4, h5, h6 {
    color: var(--color-secondary);
    font-weight: 600;
    line-height: 1.2;
}

.section-title {
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.section-title .underline {
    width: 60px;
    height: 4px;
    background-color: var(--color-primary);
    border-radius: 2px;
}

.text-center .underline {
    margin: 0 auto;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 500;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all var(--transition-normal);
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--color-primary);
    color: var(--color-white);
    box-shadow: var(--shadow-md);
}

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

.btn-outline {
    background-color: transparent;
    color: var(--color-primary);
    border-color: var(--color-primary);
}

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

/* ==========================================================================
   Header & Navbar
   ========================================================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
}

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

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

.header.scrolled .navbar {
    height: 70px;
}

.logo img {
    height: 50px;
    transition: height var(--transition-normal);
}

.header.scrolled .logo img {
    height: 40px;
}

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

.nav-links > a, .dropdown > a {
    font-weight: 500;
    color: var(--color-secondary);
    font-size: 1rem;
    position: relative;
    padding: 10px 0;
}

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

.nav-links > a:hover::after, .nav-links > a.active::after, .dropdown:hover > a::after {
    width: 100%;
}

.nav-links > a:hover, .nav-links > a.active, .dropdown:hover > a {
    color: var(--color-primary);
}

/* Dropdown */
.dropdown {
    position: relative;
}

.dropdown-content {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--color-white);
    min-width: 220px;
    box-shadow: var(--shadow-lg);
    border-radius: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all var(--transition-normal);
    z-index: 10;
    overflow: hidden;
}

.dropdown:hover .dropdown-content {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-content a {
    display: block;
    padding: 12px 20px;
    color: var(--color-text-main);
    border-bottom: 1px solid #f1f1f1;
    transition: background-color var(--transition-fast), padding-left var(--transition-fast);
}

.dropdown-content a:last-child {
    border-bottom: none;
}

.dropdown-content a:hover {
    background-color: var(--color-light-bg);
    color: var(--color-primary);
    padding-left: 25px;
}

/* Language Selector */
.language-selector {
    display: flex;
    gap: 10px;
    align-items: center;
}

.language-selector img {
    border-radius: 3px;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-fast);
}

.language-selector a:hover img {
    transform: scale(1.1);
}

.language-selector a:not(.active) img {
    filter: grayscale(100%);
    opacity: 0.6;
}

.language-selector a:not(.active):hover img {
    filter: grayscale(0%);
    opacity: 1;
}

.mobile-lang {
    display: none;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--color-secondary);
    cursor: pointer;
    z-index: 1001;
}

/* ==========================================================================
   Hero Banner
   ========================================================================== */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    background-image: url('../images/banner.jpeg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

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

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

.hero-title {
    font-size: 5rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--color-white);
    text-shadow: 0 4px 10px rgba(0,0,0,0.3);
    animation: fadeInUp 1s ease-out;
}

.hero-subtitle {
    font-size: 2rem;
    font-weight: 300;
    margin-bottom: 40px;
    text-shadow: 0 2px 5px rgba(0,0,0,0.3);
    animation: fadeInUp 1s ease-out 0.2s backwards;
}

.hero-content .btn {
    animation: fadeInUp 1s ease-out 0.4s backwards;
}

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

/* ==========================================================================
   About Us & Process
   ========================================================================== */
.about-process-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: flex-start;
}

.about-content {
    font-size: 1.1rem;
}

.about-content p {
    margin-bottom: 20px;
}

.about-content .highlight-text {
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--color-secondary);
    margin-top: 30px;
    padding: 20px;
    border-left: 4px solid var(--color-primary);
    background-color: var(--color-light-bg);
    border-radius: 0 8px 8px 0;
}

/* Process Timeline */
.process-timeline {
    position: relative;
    margin-top: 30px;
}

.process-timeline::before {
    content: '';
    position: absolute;
    left: 25px;
    top: 0;
    bottom: 0;
    width: 2px;
    background-color: rgba(17, 74, 142, 0.1);
}

.process-step {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
    position: relative;
}

.process-step:last-child {
    margin-bottom: 0;
}

.process-icon {
    width: 52px;
    height: 52px;
    background-color: var(--color-white);
    border: 2px solid var(--color-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    font-size: 1.2rem;
    position: relative;
    z-index: 2;
    flex-shrink: 0;
}

.process-info h4 {
    margin-top: 5px;
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.process-info p {
    color: var(--color-text-muted);
    font-size: 0.95rem;
}

/* ==========================================================================
   Features
   ========================================================================== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    background: var(--color-white);
    padding: 40px 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
    border: 1px solid rgba(0,0,0,0.05);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
    border-color: var(--color-primary);
}

.feature-card .icon-wrapper {
    width: 80px;
    height: 80px;
    background-color: rgba(244, 122, 45, 0.1);
    color: var(--color-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 20px;
    transition: all var(--transition-normal);
}

.feature-card:hover .icon-wrapper {
    background-color: var(--color-primary);
    color: var(--color-white);
}

.feature-card h3 {
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.feature-card p {
    color: var(--color-text-muted);
}

/* ==========================================================================
   Treatments
   ========================================================================== */
.treatments-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.treatment-card {
    background-color: var(--color-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
    display: flex;
    flex-direction: column;
}

.treatment-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.treatment-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform var(--transition-normal);
}

.treatment-card:hover .treatment-img {
    transform: scale(1.05);
}

.treatment-info {
    padding: 25px;
    background-color: var(--color-white);
    position: relative;
    z-index: 2;
    flex-grow: 1;
}

.treatment-info h3 {
    margin-bottom: 10px;
    font-size: 1.3rem;
    transition: color var(--transition-normal);
}

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

.treatment-card:hover .treatment-info h3 {
    color: var(--color-primary);
}

/* ==========================================================================
   Team
   ========================================================================== */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.team-card {
    background-color: var(--color-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.img-wrapper {
    position: relative;
    overflow: hidden;
}

.img-wrapper img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    object-position: top;
    transition: transform var(--transition-normal);
}

.team-card:hover img {
    transform: scale(1.05);
}

.badge {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background-color: var(--color-primary);
    color: var(--color-white);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    box-shadow: var(--shadow-sm);
    z-index: 5;
}

.team-info {
    padding: 20px;
    text-align: center;
    background-color: var(--color-white);
    position: relative;
    z-index: 2;
}

.team-info h3 {
    margin-bottom: 5px;
    font-size: 1.2rem;
}

.team-info p {
    color: var(--color-text-muted);
    font-weight: 500;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
    background-color: var(--color-dark-bg);
    color: var(--color-text-light);
    padding-top: 80px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
}

.footer-col h3 {
    color: var(--color-white);
    margin-bottom: 25px;
    font-size: 1.3rem;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background-color: var(--color-primary);
}

.footer-logo-wrapper {
    background-color: var(--color-white);
    padding: 15px;
    border-radius: 8px;
    display: inline-block;
    margin-bottom: 20px;
}

.footer-logo {
    height: 40px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

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

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

.contact-list li {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.contact-list i {
    color: var(--color-primary);
    margin-top: 5px;
}

.contact-list a:hover {
    color: var(--color-primary);
}

.hours-list li {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 10px;
}

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

.footer-bottom {
    background-color: rgba(0,0,0,0.2);
    padding: 20px 0;
    text-align: center;
    font-size: 0.9rem;
}

.map-container iframe {
    display: block;
    filter: grayscale(20%);
}

/* ==========================================================================
   Fixed WhatsApp Floating Button
   ========================================================================== */
.whatsapp-float {
    position: fixed;
    bottom: 40px;
    right: 40px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: #fff;
    border-radius: 50px;
    text-align: center;
    font-size: 35px;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.2);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-normal);
}

.whatsapp-float:hover {
    background-color: #1ebe57;
    transform: scale(1.1);
    color: #fff;
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */
@media (max-width: 992px) {
    .nav-links {
        display: none;
    }
    
    .desktop-lang {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .hero-title {
        font-size: 3.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.5rem;
    }
    
    /* Mobile Menu Active State */
    .header.nav-active {
        background-color: #ffffff;
    }

    .nav-active .nav-links {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        height: calc(100vh - 70px);
        background-color: var(--color-white);
        padding: 20px;
        box-shadow: var(--shadow-md);
        overflow-y: auto;
    }
    
    .nav-active .nav-links > a, 
    .nav-active .dropdown > a {
        font-size: 1.2rem;
        padding: 15px 0;
        border-bottom: 1px solid #eee;
        width: 100%;
    }

    .nav-active .mobile-lang {
        display: flex;
        justify-content: flex-start;
        margin-top: 20px;
        padding-top: 15px;
    }
    
    .dropdown-content {
        position: static;
        box-shadow: none;
        background-color: var(--color-light-bg);
        opacity: 1;
        visibility: visible;
        transform: none;
        display: none;
        margin-top: 10px;
    }
    
    .dropdown.active .dropdown-content {
        display: block;
    }
    
    .about-process-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .section-padding {
        padding: 50px 0;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section-title h2 {
        font-size: 2rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 30px;
    }
}
