@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Inter:wght@300;400;500;600&display=swap');

:root {
    /* Color Palette */
    --primary: #064E3B;
    --primary-light: #059669;
    --primary-soft: #D1FAE5;
    --secondary: #A7F3D0;
    --accent: #D4AF37;
    --accent-hover: #B8860B;
    --bg-light: #FDFBF7;
    --bg-white: #FFFFFF;
    --text-main: #1F2937;
    --text-muted: #4B5563;
    --text-light: #9CA3AF;
    
    /* Dark Mode */
    --dark-bg: #0F172A;
    --dark-card: #1E293B;
    --dark-text: #F8FAFC;
    --dark-muted: #94A3B8;

    /* Gradients */
    --grad-primary: linear-gradient(135deg, #064E3B 0%, #059669 100%);
    --grad-soft: linear-gradient(135deg, #ECFDF5 0%, #FDFBF7 100%);
    --grad-gold: linear-gradient(135deg, #D4AF37 0%, #F59E0B 100%);
    --grad-glow: radial-gradient(circle at 50% 50%, rgba(167, 243, 208, 0.4) 0%, transparent 70%);

    /* Shadows */
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.04);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-premium: 0 25px 50px -12px rgba(6, 78, 59, 0.12);

    /* Glassmorphism */
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.3);
    --glass-blur: blur(12px);

    /* Form Borders */
    --border: #e2e8f0;
    --border-focus: #064E3B;

    /* Spacing & Transitions */
    --section-padding: 100px 0;
    --border-radius: 24px;
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Dark Mode Overrides */
[data-theme="dark"] {
    --bg-light: var(--dark-bg);
    --bg-white: var(--dark-card);
    --text-main: var(--dark-text);
    --text-muted: var(--dark-muted);
    --glass-bg: rgba(30, 41, 59, 0.7);
    --glass-border: rgba(255, 255, 255, 0.1);
    --grad-soft: linear-gradient(135deg, #111827 0%, #0F172A 100%);
}


/* Loader */
.loader-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-light);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.8s ease-out, visibility 0.8s;
}

.loader {
    position: relative;
    width: 100px;
    height: 100px;
}

.loader-circle {
    width: 100%;
    height: 100%;
    border: 3px solid var(--primary-soft);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.loader-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--primary);
    width: 30px;
    height: 30px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

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

html {
    scroll-behavior: smooth;
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    color: var(--primary);
}

[data-theme="dark"] h1, 
[data-theme="dark"] h2, 
[data-theme="dark"] h3 {
    color: var(--dark-text);
}

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

ul {
    list-style: none;
}

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

/* Utility Classes */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section-padding {
    padding: var(--section-padding);
}

.glass {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-family: 'Outfit', sans-serif;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    gap: 8px;
}

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

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    filter: brightness(1.1);
}

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

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

.text-gradient {
    background: var(--grad-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

/* Animations */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
}

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

header.scrolled {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    padding: 12px 0;
    box-shadow: var(--shadow-sm);
    border-bottom: 1px solid var(--glass-border);
}

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

.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 100px;
    width: auto;
    transition: var(--transition);
    object-fit: contain;
}

header.scrolled .logo-img {
    height: 80px;
}

.footer-logo {
    height: 120px;
    margin-bottom: 24px;
}

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

.nav-links a {
    font-weight: 500;
    color: var(--text-main);
    font-size: 15px;
}

.nav-links a:hover {
    color: var(--primary);
}

.theme-toggle {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 20px;
    color: var(--text-main);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary-soft);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 24px;
    color: var(--primary);
}

.mobile-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--bg-white);
    padding: 40px 24px;
    box-shadow: var(--shadow-lg);
    display: none;
    z-index: 999;
}

.mobile-menu.active {
    display: block;
    animation: slideDown 0.4s ease-out;
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

.mobile-menu ul {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.mobile-menu ul li a {
    font-size: 18px;
    font-weight: 600;
}

/* Hero Section */
.hero-slider {
    width: 100%;
    height: 100vh;
}

.hero {
    min-height: 100vh;
    display: flex !important;
    align-items: center;
    position: relative;
    padding-top: 140px;
    background: var(--grad-soft);
    overflow: hidden;
}

.hero-slider .swiper-button-next,
.hero-slider .swiper-button-prev {
    background: var(--glass-bg);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
}

.hero-slider .swiper-button-next:after,
.hero-slider .swiper-button-prev:after {
    font-size: 20px;
    font-weight: bold;
}

.hero-slider .swiper-pagination-bullet-active {
    background: var(--primary);
}

.hero-content {
    flex: 1;
}

.hero h1 {
    font-size: 64px;
    line-height: 1.1;
    margin-bottom: 24px;
}

.hero p {
    font-size: 18px;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 540px;
}

.hero-btns {
    display: flex;
    gap: 16px;
}

.hero-image {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image .main-img-wrapper {
    position: relative;
    width: 450px;
    height: 450px;
    border-radius: 50% 50% 40% 60% / 60% 40% 60% 40%;
    overflow: hidden;
    background: var(--grad-primary);
    box-shadow: var(--shadow-lg);
    animation: morph 8s ease-in-out infinite;
}

@keyframes morph {
    0% { border-radius: 50% 50% 40% 60% / 60% 40% 60% 40%; }
    50% { border-radius: 40% 60% 50% 50% / 50% 60% 40% 50%; }
    100% { border-radius: 50% 50% 40% 60% / 60% 40% 60% 40%; }
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.floating-card {
    position: absolute;
    padding: 16px 24px;
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    z-index: 10;
}

.card-1 {
    top: 10%;
    right: 0;
    animation: float 4s ease-in-out infinite;
}

.card-2 {
    bottom: 20%;
    left: 0;
    animation: float 4s ease-in-out infinite reverse;
}

.floating-img {
    position: absolute;
    width: 140px;
    height: 140px;
    border-radius: 24px;
    overflow: hidden;
    border: 4px solid white;
    box-shadow: var(--shadow-lg);
    z-index: 5;
    transition: var(--transition);
}

.floating-img:hover {
    transform: scale(1.1) rotate(5deg);
    z-index: 15;
}

.floating-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.f-img-1 {
    top: -30px;
    left: -30px;
    animation: float 6s ease-in-out infinite;
}

.f-img-2 {
    bottom: -30px;
    right: -30px;
    animation: float 6s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

/* Stats */
.stats {
    display: flex;
    gap: 40px;
    margin-top: 60px;
}

.stat-item h3 {
    font-size: 32px;
    color: var(--primary);
}

.stat-item p {
    font-size: 14px;
    color: var(--text-muted);
    margin: 0;
}

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

.about-img-container {
    position: relative;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
}

.experience-badge {
    position: absolute;
    bottom: -30px;
    right: -30px;
    background: var(--primary);
    color: white;
    padding: 24px;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.experience-badge h4 {
    font-size: 36px;
    color: white;
    margin: 0;
}

/* Services */
.services-header {
    text-align: center;
    margin-bottom: 60px;
}

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

.service-card {
    padding: 40px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid transparent;
}

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

.service-icon {
    width: 70px;
    height: 70px;
    background: var(--primary-soft);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    font-size: 32px;
    color: var(--primary);
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background: var(--primary);
    color: white;
    transform: rotate(10deg);
}

/* Appointment Section */
.appointment {
    background: var(--grad-soft);
    border-radius: 40px;
    padding: 80px 40px;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: center;
}

.booking-form {
    padding: 48px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    font-size: 14px;
}

.form-group input, 
.form-group select, 
.form-group textarea {
    width: 100%;
    padding: 14px 20px;
    border-radius: 12px;
    border: 1px solid var(--text-light);
    background: rgba(255, 255, 255, 0.5);
    outline: none;
    transition: var(--transition);
}

.form-group input:focus, 
.form-group select:focus, 
.form-group textarea:focus {
    border-color: var(--primary);
    background: white;
    box-shadow: 0 0 0 4px rgba(6, 78, 59, 0.1);
}

/* Blog */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 32px;
}

.blog-card {
    overflow: hidden;
    background: var(--bg-white);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.blog-img {
    height: 240px;
    overflow: hidden;
}

.blog-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.blog-card:hover .blog-img img {
    transform: scale(1.1);
}

.blog-content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.blog-content .btn {
    margin-top: auto;
    align-self: flex-start;
}

.blog-content h4 {
    font-size: 20px;
    margin-bottom: 12px;
}

/* Premium Form Styles */
.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 20px;
    background: #f8fafc;
    border: 1.5px solid var(--border);
    border-radius: 12px;
    font-family: inherit;
    font-size: 16px;
    color: var(--text-main);
    transition: all 0.3s ease;
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary);
    background: white;
    box-shadow: 0 0 0 4px var(--primary-soft);
    transform: translateY(-2px);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #64748b;
    opacity: 0.9;
}

.booking-form {
    padding: 48px;
    background: white !important;
    border-radius: 32px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--border);
}

.appointment {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 40px;
    overflow: visible;
    padding: 0;
    background: transparent !important;
    border: none !important;
}

.form-header {
    margin-bottom: 32px;
}

.form-header h3 {
    font-size: 28px;
    color: var(--primary);
    margin-bottom: 8px;
}

.form-header p {
    font-size: 15px;
    color: var(--text-muted);
}

/* Footer */
footer {
    background: var(--grad-primary);
    color: white;
    padding: 80px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-logo {
    display: block;
    margin-bottom: 32px;
}

.footer-logo svg {
    height: 65px;
    width: auto;
}

.footer-links h5 {
    color: white;
    font-size: 18px;
    margin-bottom: 24px;
}

.footer-links ul li {
    margin-bottom: 12px;
}

.footer-links a:hover {
    padding-left: 8px;
    color: var(--accent);
}

.newsletter p {
    margin-bottom: 20px;
    opacity: 0.8;
}

.newsletter-form {
    display: flex;
    gap: 10px;
}

.newsletter-form input {
    flex: 1;
    padding: 12px 20px;
    border-radius: 50px;
    border: none;
    outline: none;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    opacity: 0.8;
}

/* Mobile Responsive */
@media (max-width: 992px) {
    .hide-mobile { display: none; }
    .menu-toggle { display: block; }
    
    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 160px;
    }

    .floating-img {
        display: none;
    }
    
    .hero h1 { font-size: 48px; }
    
    .hero p { margin: 0 auto 40px; }
    
    .hero-btns { justify-content: center; }
    
    .hero-image { margin-top: 80px; }
    
    .about-grid, .appointment {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(6, 78, 59, 0.4);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all 0.4s ease;
}

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

.modal-content {
    background: white;
    width: 90%;
    max-width: 600px;
    border-radius: 32px;
    padding: 40px;
    position: relative;
    box-shadow: var(--shadow-lg);
    transform: translateY(20px);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.modal-close {
    position: absolute;
    top: 24px;
    right: 24px;
    background: var(--bg-light);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--primary);
    transition: var(--transition);
}

.modal-close:hover {
    background: var(--primary);
    color: white;
    transform: rotate(90deg);
}

.modal-header {
    margin-bottom: 32px;
    text-align: center;
}

.modal-header h2 {
    font-size: 32px;
    color: var(--primary);
    margin-bottom: 8px;
}

.modal-header p {
    color: var(--text-muted);
}
