/* =========================================
   CSS Reset & Variables
   ========================================= */
   :root {
    /* Premium Color Palette */
    --primary: hsl(207, 73%, 34%);       /* Deep Trust Blue */
    --primary-light: hsl(207, 73%, 45%);
    --secondary: hsl(190, 60%, 45%);     /* Soft Teal */
    --accent: hsl(36, 100%, 65%);        /* Warm Gold/Orange for contrast */
    
    --bg-light: hsl(210, 20%, 98%);
    --bg-white: #ffffff;
    --text-main: hsl(215, 15%, 25%);
    --text-light: hsl(215, 10%, 45%);
    
    /* Typography */
    --font-primary: 'Noto Sans Georgian', 'Inter', sans-serif;
    
    /* Shadows & Transitions */
    --shadow-sm: 0 4px 6px rgba(0,0,0,0.05);
    --shadow-md: 0 10px 20px rgba(0,0,0,0.08);
    --shadow-lg: 0 20px 40px rgba(0,0,0,0.12);
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    
    /* Glassmorphism */
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(255, 255, 255, 0.3);
}

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

html {
    scroll-behavior: smooth;
}

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

h1, h2, h3, h4, h5, h6 {
    color: hsl(215, 25%, 15%);
    font-weight: 700;
    line-height: 1.2;
}

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

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

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

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

/* =========================================
   Typography & Utilities
   ========================================= */
.section-title {
    margin-bottom: 60px;
}

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

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

.divider {
    height: 4px;
    width: 60px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    margin: 0 auto 20px;
    border-radius: 2px;
}

.divider.left {
    margin: 0 0 20px 0;
}

.btn {
    display: inline-block;
    padding: 15px 35px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    box-shadow: 0 10px 20px rgba(30, 106, 175, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 25px rgba(30, 106, 175, 0.4);
    color: white;
}

.btn-secondary {
    background: var(--glass-bg);
    color: var(--primary);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
}

.btn-secondary:hover {
    background: white;
    transform: translateY(-3px);
}

.btn-primary-outline {
    border: 2px solid var(--primary);
    color: var(--primary);
    padding: 10px 25px;
    border-radius: 50px;
    font-weight: 600;
}

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

.w-100 {
    width: 100%;
}

/* =========================================
   Header / Navbar
   ========================================= */
#header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition);
    background: transparent;
    padding: 20px 0;
}

#header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    padding: 12px 0;
}

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

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

#header.scrolled .logo,
#header.scrolled .nav-links li a {
    color: var(--primary);
}

.logo i {
    font-size: 1.8rem;
    color: var(--accent);
}

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

.nav-links li a {
    color: white;
    font-weight: 600;
    position: relative;
}

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

.nav-links li a:not(.btn-primary-outline):hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

#header.scrolled .hamburger {
    color: var(--primary);
}

/* =========================================
   Hero Section
   ========================================= */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    /* Use local image or fallback to a nature/medical gradient if not found */
    background: url('../hero-bg.jpg') center/cover no-repeat;
    background-color: var(--primary);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(15, 32, 39, 0.9) 0%, rgba(32, 58, 67, 0.7) 100%);
}

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

.hero h1 {
    font-size: 4rem;
    color: white;
    margin-bottom: 20px;
    text-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 40px;
    opacity: 0.9;
    font-weight: 300;
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

/* =========================================
   Services Section
   ========================================= */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.glass-panel {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 40px 30px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.glass-panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background: linear-gradient(to bottom, var(--primary), var(--secondary));
    transition: var(--transition);
}

.glass-panel:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.glass-panel:hover::before {
    height: 100%;
}

.service-icon {
    width: 70px;
    height: 70px;
    background: rgba(30, 136, 229, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 25px;
    transition: var(--transition);
}

.glass-panel:hover .service-icon {
    background: var(--primary);
    color: white;
    transform: rotateY(360deg);
}

.service-card h3 {
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.service-card p {
    color: var(--text-light);
}

/* =========================================
   Expert Section
   ========================================= */
.expert {
    background: linear-gradient(135deg, var(--bg-white), var(--bg-light));
}

.expert-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.expert-name {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.expert-content p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    line-height: 1.8;
}

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

.expert-img {
    width: 400px;
    height: 400px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center 35%; /* This centers on the person, skipping top sky and bottom grass */
    border: 8px solid white;
    box-shadow: var(--shadow-lg);
    background-color: #ddd;
}

.expert-badge {
    position: absolute;
    bottom: 20px;
    background: var(--primary);
    color: white;
    padding: 15px 25px;
    border-radius: 50px;
    font-weight: 700;
    box-shadow: 0 10px 20px rgba(30, 106, 175, 0.4);
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
}

.expert-badge i {
    color: var(--accent);
}

/* =========================================
   About Section
   ========================================= */
.bg-light {
    background-color: var(--bg-white);
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.image-wrapper {
    position: relative;
    border-radius: 20px;
    padding: 20px 0 0 20px;
}

.image-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 80%;
    height: 80%;
    border: 3px solid var(--primary);
    border-radius: 20px;
    z-index: 1;
}

.about-placeholder-img {
    position: relative;
    z-index: 2;
    background: linear-gradient(135deg, var(--secondary), var(--primary));
    height: 450px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    color: rgba(255,255,255,0.5);
    box-shadow: var(--shadow-md);
}

.experience-badge {
    position: absolute;
    bottom: -20px;
    right: 20px;
    background: white;
    padding: 20px 30px;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
    z-index: 3;
    text-align: center;
    font-weight: 700;
    color: var(--primary);
}

.experience-badge span {
    display: block;
    font-size: 1.8rem;
    line-height: 1;
    margin-bottom: 5px;
    color: var(--accent);
}

.about-content p {
    margin-bottom: 20px;
    color: var(--text-light);
}

.about-features {
    list-style: none;
    margin-top: 30px;
}

.about-features li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    font-weight: 600;
}

.about-features li i {
    color: var(--secondary);
    background: rgba(38, 166, 154, 0.1);
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

/* =========================================
   Testimonials Section
   ========================================= */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.testimonial-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.quote-icon {
    font-size: 2.5rem;
    color: rgba(30, 136, 229, 0.2);
    margin-bottom: 15px;
}

.testimonial-text {
    font-size: 1.15rem;
    font-style: italic;
    color: var(--text-main);
    margin-bottom: 25px;
    line-height: 1.7;
}

.client-name {
    color: var(--primary);
    font-weight: 700;
    text-align: right;
    font-size: 1.1rem;
}

/* =========================================
   Contact Section
   ========================================= */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 50px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.info-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: var(--transition);
}

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

.info-card i {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 15px;
}

.info-card h4 {
    margin-bottom: 5px;
}

.info-card p {
    color: var(--text-light);
}

.contact-form {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px 20px;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
    background: var(--bg-light);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(30, 136, 229, 0.1);
    background: white;
}

/* =========================================
   Footer
   ========================================= */
.footer {
    background: var(--text-main);
    color: white;
    padding: 30px 0;
}

.footer p {
    opacity: 0.7;
}

/* =========================================
   Animations
   ========================================= */
.fade-in-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-up.appear {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-left.appear {
    opacity: 1;
    transform: translateX(0);
}

.fade-in-right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-right.appear {
    opacity: 1;
    transform: translateX(0);
}

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

/* =========================================
   Responsive
   ========================================= */
@media (max-width: 992px) {
    .about-container, .contact-grid, .expert-container {
        grid-template-columns: 1fr;
    }
    
    .expert-content {
        order: 2;
    }
    
    .expert-image-wrapper {
        order: 1;
        margin-bottom: 30px;
    }
    
    .expert-img {
        width: 300px;
        height: 300px;
    }
    
    .hero h1 {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 250px;
        height: 100vh;
        background: white;
        flex-direction: column;
        justify-content: center;
        box-shadow: var(--shadow-lg);
        transition: var(--transition);
        z-index: 999;
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .nav-links li a {
        color: var(--text-main);
        font-size: 1.2rem;
    }
    
    .nav-links li a.btn-primary-outline {
        margin-top: 20px;
    }
    
    .hamburger {
        display: block;
        z-index: 1000;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .section-padding {
        padding: 60px 0;
    }
}
