/* Variables */
:root {
    --primary: #3a86ff;
    --secondary: #20c997;
    --dark: #2d3436;
    --light: #f8f9fa;
    --white: #ffffff;
    --blue-soft: #eef2f7;
    --shadow: 0 10px 30px rgba(0,0,0,0.08);
    --transition: all 0.3s ease;
}

/* Base reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--white);
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    display: block;
}

ul { list-style: none; }
a { text-decoration: none; color: inherit; }

/* Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section { padding: 80px 0; }
.text-center { text-align: center; }
.light-bg { background: var(--blue-soft); }

.grid { display: grid; gap: 30px; }
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }

@media (min-width: 768px) {
    .grid-2 { grid-template-columns: 1fr 1fr; }
    .grid-3 { grid-template-columns: repeat(3, 1fr); }
    .grid-cards { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
}

.grid-cards {
    display: grid;
    gap: 20px;
    margin-top: 40px;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.btn-primary { background: var(--primary); color: var(--white); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 10px 20px rgba(58,134,255,0.3); }

.btn-secondary { background: var(--secondary); color: var(--white); }
.btn-white { background: var(--white); color: var(--primary); }
.btn-teal { background: #008080; color: var(--white); }

/* Loader */
.loader-wrapper {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: var(--white);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
}
.loader {
    width: 50px; height: 50px;
    border: 5px solid var(--blue-soft);
    border-top: 5px solid var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}
@keyframes spin { 100% { transform: rotate(360deg); } }

/* Navbar */
.navbar {
    position: sticky;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 15px 0;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo-text { font-size: 24px; font-weight: 800; color: var(--primary); display: block; }
.logo-sub { font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: var(--secondary); display: block; }
.logo img{
    width: 50px;
    height: auto;
    border-radius: 15px;
}

.nav-menu {
    display: flex;
    align-items: center;
}

.nav-link {
    margin: 0 15px;
    font-weight: 500;
    color: var(--dark);
    transition: var(--transition);
}

.nav-link:hover { color: var(--primary); }

.appointment-btn { margin-left: 20px; font-size: 14px; }

.hamburger {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px 0;
    background: var(--primary);
    transition: var(--transition);
}

@media (max-width: 1024px) {
    .hamburger { display: block; }
    .nav-menu {
        position: fixed;
        left: -100%; top: 70px;
        flex-direction: column;
        background: var(--white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 10px rgba(0,0,0,0.1);
        padding: 40px 0;
    }
    .nav-menu.active { left: 0; }
    .nav-link { margin: 15px 0; font-size: 18px; }
    .appointment-btn { margin-left: 0; margin-top: 10px; }
}

/* Hero Section */
.hero {
    height: 80vh;
    background: url('https://images.unsplash.com/photo-1516627145497-ae6968895b74?auto=format&fit=crop&q=80&w=1920') no-repeat center center/cover;
    display: flex;
    align-items: center;
    position: relative;
    color: var(--white);
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to right, rgba(0,0,0,0.6), transparent);
}

.hero-content {
    position: relative;
    z-index: 10;
    padding: 0 20px;
    max-width: 700px;
    margin: 0 auto;
}

.hero-title { font-size: 3rem; font-weight: 800; line-height: 1.2; margin-bottom: 20px; }
.hero-title span { color: var(--secondary); }
.hero-desc { font-size: 1.2rem; margin-bottom: 30px; opacity: 0.9; }

.hero-btns .btn { margin-right: 15px; margin-bottom: 10px; }

@media (max-width: 768px) {
    .hero-title { font-size: 2.2rem; }
    .hero-content { text-align: center; }
}

/* Sections Styling */
.section-subtitle {
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
    font-size: 14px;
}

.section-title {
    font-size: 2.5rem;
    margin: 10px 0 40px;
}

.section-title span { color: var(--primary); }

.card {
    background: var(--white);
    padding: 30px;
    border-radius: 20px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.card:hover { transform: translateY(-10px); }

/* Service Cards */
.service-card {
    text-align: center;
}

.service-card i {
    font-size: 40px;
    color: var(--primary);
    margin-bottom: 20px;
    background: var(--blue-soft);
    width: 80px; height: 80px;
    line-height: 80px;
    border-radius: 50%;
}

/* Feature Cards */
.feature-card {
    text-align: center;
    padding: 20px;
}
.f-icon { font-size: 30px; color: var(--secondary); margin-bottom: 10px; }

/* About Section */
.rounded-img { border-radius: 30px; box-shadow: var(--shadow); }
.about-features .feat-item { margin-bottom: 10px; display: flex; align-items: center; gap: 10px; font-weight: 500; }
.about-features i { color: var(--secondary); }
.experience-box { margin-top: 30px; padding: 20px; border-left: 5px solid var(--primary); background: var(--blue-soft); }

/* Process */
.process-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; margin-top: 40px; }
.step { text-align: center; position: relative; }
.step-num { font-size: 40px; font-weight: 800; color: rgba(58,134,255,0.1); }

/* Gallery */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 15px; }
.gallery-item img { border-radius: 15px; height: 200px; object-fit: cover; width: 100%; transition: var(--transition); }
.gallery-item img:hover { filter: brightness(0.8); cursor: pointer; }

/* Testimonials */
.testimonial-card .stars { color: #f1c40f; margin-bottom: 10px; }

/* Contact Section */
.info-item { display: flex; gap: 20px; margin-bottom: 30px; }
.info-item i { font-size: 24px; color: var(--primary); }

.contact-form-box input, 
.contact-form-box select, 
.contact-form-box textarea {
    width: 100%;
    padding: 15px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 10px;
    outline: none;
}

.w-100 { width: 100%; }

/* CTA Section */
.cta-section {
    background: var(--primary);
    color: var(--white);
    padding: 80px 0;
}
.cta-btns { margin-top: 30px; }
.cta-btns .btn { margin: 10px; }

/* Footer */
.footer { background: #1a1a1a; color: var(--white); padding: 80px 0 20px; }
.grid-footer { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 40px; }
.footer-col h4 { margin-bottom: 20px; font-size: 18px; border-bottom: 2px solid var(--primary); display: inline-block; padding-bottom: 5px; }
.footer-col ul li { margin-bottom: 10px; opacity: 0.8; }
.footer-col ul li a:hover { color: var(--primary); }
.social-links a { font-size: 20px; margin-right: 15px; transition: var(--transition); }
.social-links a:hover { color: var(--primary); }
.copyright { text-align: center; padding-top: 50px; opacity: 0.6; font-size: 14px; }

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: 0.8s all ease;
}
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Floating Action Buttons */
.floating-btns { position: fixed; bottom: 30px; left: 30px; z-index: 100; display: flex; flex-direction: column; gap: 15px; }
.floating-btns a { width: 60px; height: 60px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 30px; color: white; box-shadow: 0 10px 20px rgba(0,0,0,0.2); transition: var(--transition); }
.float-wa { background: #25d366; }
.float-call { background: var(--primary); }
.floating-btns a:hover { transform: scale(1.1); }

/* Back to top */
#backToTop {
    position: fixed;
    bottom: 30px; right: 30px;
    width: 50px; height: 50px;
    background: var(--dark);
    color: white;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 100;
    transition: var(--transition);
}
#backToTop:hover { background: var(--primary); }

@media (max-width: 600px) {
    .section-title { font-size: 2rem; }
    .floating-btns a { width: 50px; height: 50px; font-size: 24px; }
}