﻿/* ===== VARIABLES ===== */
:root {
    --primary-color: #8B7355;
    --primary-dark: #6B5344;
    --primary-light: #A89078;
    --secondary-color: #D4C4B5;
    --accent-color: #C9A86C;
    --text-color: #333333;
    --text-light: #666666;
    --text-muted: #999999;
    --bg-color: #FDFBF9;
    --bg-secondary: #F5F0EB;
    --white: #FFFFFF;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.12);
    --transition: all 0.3s ease;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Poppins', sans-serif;
}

/* ===== RESET & BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-color);
    background-color: var(--bg-color);
    overflow-x: hidden;
    cursor: default;
}

/* ===== CUSTOM CURSOR ===== */
.cursor-dot {
    width: 8px;
    height: 8px;
    background: var(--accent-color);
    border-radius: 50%;
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 99999;
    transform: translate(-50%, -50%);
    transition: width 0.2s, height 0.2s, background 0.2s;
}

.cursor-ring {
    width: 35px;
    height: 35px;
    border: 2px solid rgba(201, 168, 108, 0.5);
    border-radius: 50%;
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 99998;
    transform: translate(-50%, -50%);
    transition: width 0.3s, height 0.3s, border-color 0.3s, background 0.3s;
}

.cursor-dot.cursor-hover {
    width: 12px;
    height: 12px;
    background: var(--primary-color);
}

.cursor-ring.cursor-hover {
    width: 50px;
    height: 50px;
    border-color: rgba(139, 115, 85, 0.3);
    background: rgba(201, 168, 108, 0.08);
}

.cursor-trail {
    position: fixed;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(201, 168, 108, 0.4);
    pointer-events: none;
    z-index: 99997;
    transform: translate(-50%, -50%);
    animation: cursorTrailFade 0.6s ease forwards;
}

@keyframes cursorTrailFade {
    0% {
        opacity: 0.6;
        transform: translate(-50%, -50%) scale(1);
    }
    100% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.3);
    }
}

/* Hide custom cursor on touch devices */
@media (hover: none) and (pointer: coarse) {
    .cursor-dot,
    .cursor-ring,
    .cursor-trail {
        display: none !important;
    }
}

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

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

ul {
    list-style: none;
}

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

.section {
    padding: 100px 0;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.3;
    color: var(--text-color);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-subtitle {
    display: inline-block;
    font-size: 14px;
    font-weight: 500;
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 10px;
}

.section-title {
    font-size: 42px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.section-description {
    font-size: 16px;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 32px;
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 500;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

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

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

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

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

.btn-block {
    width: 100%;
}

/* ===== FLOATING LOGO ===== */
.floating-logo {
    position: fixed;
    top: 25px;
    left: 100px;
    z-index: 1001;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Dönen dairenin arkasındaki beyaz fon */
.floating-logo::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 185px;
    height: 185px;
    background: radial-gradient(circle, var(--white) 60%, rgba(255,255,255,0.8) 80%, transparent 100%);
    border-radius: 50%;
    z-index: -1;
}

.logo-circle {
    width: 160px;
    height: 160px;
    background: linear-gradient(145deg, var(--white) 0%, var(--bg-secondary) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 32px rgba(139, 115, 85, 0.2),
                0 2px 8px rgba(0, 0, 0, 0.1),
                inset 0 -2px 8px rgba(0, 0, 0, 0.05);
    border: 3px solid var(--white);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.logo-circle::before {
    content: '';
    position: absolute;
    width: 175px;
    height: 175px;
    border: 2px dashed var(--accent-color);
    border-radius: 50%;
    opacity: 0.6;
    animation: logoRotate 20s linear infinite;
}

@keyframes logoRotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.floating-logo:hover .logo-circle {
    transform: scale(1.05);
    box-shadow: 0 12px 40px rgba(139, 115, 85, 0.3),
                0 4px 12px rgba(0, 0, 0, 0.15);
}

.floating-logo .logo-img {
    width: 160px;
    height: 160px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.floating-logo:hover .logo-img {
    transform: scale(1.05);
}

/* Scrolled state for floating logo */
.floating-logo.scrolled {
    top: 15px;
}

.floating-logo.scrolled::before {
    width: 125px;
    height: 125px;
}

.floating-logo.scrolled .logo-circle {
    width: 100px;
    height: 100px;
    box-shadow: 0 4px 20px rgba(139, 115, 85, 0.15);
}

.floating-logo.scrolled .logo-circle::before {
    width: 115px;
    height: 115px;
}

.floating-logo.scrolled .logo-img {
    width: 100px;
    height: 100px;
}

/* ===== NAVBAR ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: transparent;
    padding: 40px 0;
    transition: var(--transition);
}

.navbar.scrolled {
    background-color: var(--white);
    box-shadow: var(--shadow);
    padding: 25px 0;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    padding-left: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-spacer {
    display: none;
}

.logo-img {
    width: 85px;
    height: 85px;
    object-fit: contain;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 600;
    color: var(--primary-color);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 35px;
}

.nav-link {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-color);
    position: relative;
}

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

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-cta {
    background-color: var(--primary-color);
    color: var(--white) !important;
    padding: 10px 24px;
    border-radius: 50px;
    white-space: nowrap;
}

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

.nav-cta:hover {
    background-color: var(--primary-dark);
}

/* ===== NAV CONTACT DROPDOWN ===== */
.nav-contact-mobile {
    display: none !important;
}

.nav-contact-wrapper {
    position: relative;
    margin-left: 5px;
    list-style: none;
}

.nav-contact-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    border: 2px solid var(--accent-color);
    color: var(--accent-color);
    padding: 9px 20px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    font-family: var(--font-body);
    white-space: nowrap;
}

.nav-contact-btn i {
    font-size: 15px;
}

.nav-contact-btn:hover {
    background: var(--accent-color);
    color: var(--white);
}

.contact-dropdown {
    position: absolute;
    top: calc(100% + 15px);
    right: 0;
    width: 320px;
    background: var(--white);
    border-radius: 16px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
    padding: 24px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 2000;
    border: 1px solid rgba(212, 196, 181, 0.3);
}

.contact-dropdown::before {
    content: '';
    position: absolute;
    top: -8px;
    right: 30px;
    width: 16px;
    height: 16px;
    background: var(--white);
    border-top: 1px solid rgba(212, 196, 181, 0.3);
    border-left: 1px solid rgba(212, 196, 181, 0.3);
    transform: rotate(45deg);
}

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

.contact-dropdown-title {
    font-family: var(--font-heading);
    font-size: 18px;
    color: var(--primary-color);
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--bg-secondary);
}

.contact-dropdown-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 0;
    text-decoration: none;
    color: var(--text-color);
    transition: var(--transition);
    border-bottom: 1px solid var(--bg-secondary);
}

.contact-dropdown-item:last-child {
    border-bottom: none;
}

.contact-dropdown-item:hover {
    color: var(--accent-color);
}

.contact-dropdown-item:hover .contact-dropdown-icon {
    background: var(--accent-color);
    color: var(--white);
    transform: scale(1.1);
}

.contact-dropdown-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: var(--bg-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: var(--primary-color);
    flex-shrink: 0;
    transition: var(--transition);
}

.contact-dropdown-icon.whatsapp {
    background: rgba(37, 211, 102, 0.1);
    color: #25D366;
}

.contact-dropdown-item:hover .contact-dropdown-icon.whatsapp {
    background: #25D366;
    color: var(--white);
}

.contact-dropdown-icon.instagram {
    background: rgba(225, 48, 108, 0.1);
    color: #E1306C;
}

.contact-dropdown-item:hover .contact-dropdown-icon.instagram {
    background: #E1306C;
    color: var(--white);
}

.contact-dropdown-text {
    display: flex;
    flex-direction: column;
}

.contact-dropdown-text strong {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 2px;
}

.contact-dropdown-text span {
    font-size: 12px;
    color: var(--text-light);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.hamburger,
.hamburger::before,
.hamburger::after {
    display: block;
    width: 25px;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.hamburger {
    position: relative;
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
}

.hamburger::before {
    top: -8px;
}

.hamburger::after {
    top: 8px;
}

/* ===== HERO ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: linear-gradient(135deg, var(--bg-color) 0%, var(--bg-secondary) 100%);
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="none" stroke="%23C9A86C" stroke-width="0.5" opacity="0.1"/></svg>');
    background-size: 300px;
    opacity: 0.5;
    animation: overlayDrift 25s ease-in-out infinite;
}

@keyframes overlayDrift {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(15px, -10px) scale(1.02); }
    50% { transform: translate(-10px, 15px) scale(1); }
    75% { transform: translate(10px, 10px) scale(1.01); }
}

/* Hero floating particles */
.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

.particle {
    position: absolute;
    border-radius: 50%;
    opacity: 0;
    animation: floatParticle linear infinite;
}

.particle-1 {
    width: 14px;
    height: 14px;
    background: var(--accent-color);
    top: 20%;
    left: 10%;
    animation-duration: 10s;
    animation-delay: 0s;
    opacity: 0.35;
}

.particle-2 {
    width: 20px;
    height: 20px;
    background: var(--primary-color);
    top: 60%;
    left: 85%;
    animation-duration: 12s;
    animation-delay: 1.5s;
    opacity: 0.25;
}

.particle-3 {
    width: 10px;
    height: 10px;
    background: var(--accent-color);
    top: 80%;
    left: 30%;
    animation-duration: 9s;
    animation-delay: 3s;
    opacity: 0.4;
}

.particle-4 {
    width: 28px;
    height: 28px;
    border: 3px solid var(--accent-color);
    background: transparent;
    top: 30%;
    left: 70%;
    animation-duration: 14s;
    animation-delay: 0.5s;
    opacity: 0.45;
}

.particle-5 {
    width: 9px;
    height: 9px;
    background: var(--primary-color);
    top: 50%;
    left: 50%;
    animation-duration: 11s;
    animation-delay: 2s;
    opacity: 0.35;
}

.particle-6 {
    width: 24px;
    height: 24px;
    border: 3px solid var(--primary-color);
    background: transparent;
    top: 15%;
    left: 60%;
    animation-duration: 13s;
    animation-delay: 4s;
    opacity: 0.4;
}

.particle-7 {
    width: 12px;
    height: 12px;
    background: var(--accent-color);
    top: 70%;
    left: 15%;
    animation-duration: 10s;
    animation-delay: 5s;
    opacity: 0.35;
}

.particle-8 {
    width: 32px;
    height: 32px;
    border: 3px solid var(--accent-color);
    background: transparent;
    top: 40%;
    left: 90%;
    animation-duration: 16s;
    animation-delay: 0.5s;
    opacity: 0.4;
}

@keyframes floatParticle {
    0% {
        transform: translateY(0) translateX(0) rotate(0deg) scale(1);
        opacity: 0;
    }
    10% {
        opacity: 0.35;
    }
    50% {
        transform: translateY(-150px) translateX(60px) rotate(180deg) scale(1.3);
        opacity: 0.45;
    }
    90% {
        opacity: 0.2;
    }
    100% {
        transform: translateY(-300px) translateX(-30px) rotate(360deg) scale(0.7);
        opacity: 0;
    }
}

/* Hero glowing orbs */
.hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    z-index: 0;
    pointer-events: none;
}

.hero-glow-1 {
    width: 500px;
    height: 500px;
    background: rgba(201, 168, 108, 0.2);
    top: -100px;
    right: -80px;
    animation: glowPulse1 7s ease-in-out infinite;
}

.hero-glow-2 {
    width: 400px;
    height: 400px;
    background: rgba(139, 115, 85, 0.15);
    bottom: -50px;
    left: -50px;
    animation: glowPulse2 9s ease-in-out infinite;
}

.hero-glow-3 {
    width: 350px;
    height: 350px;
    background: rgba(201, 168, 108, 0.12);
    top: 40%;
    left: 40%;
    animation: glowPulse3 11s ease-in-out infinite;
}

@keyframes glowPulse1 {
    0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.7; }
    33% { transform: translate(-40px, 25px) scale(1.2); opacity: 1; }
    66% { transform: translate(25px, -20px) scale(0.85); opacity: 0.6; }
}

@keyframes glowPulse2 {
    0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.6; }
    50% { transform: translate(50px, -40px) scale(1.3); opacity: 0.9; }
}

@keyframes glowPulse3 {
    0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.5; }
    25% { transform: translate(-25px, 20px) scale(1.15); opacity: 0.8; }
    75% { transform: translate(30px, -25px) scale(0.9); opacity: 0.4; }
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 120px 20px 80px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-subtitle {
    display: inline-block;
    font-size: 14px;
    font-weight: 500;
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 4px;
    margin-bottom: 15px;
}

.hero-title {
    font-size: 60px;
    color: var(--primary-color);
    margin-bottom: 25px;
    line-height: 1.1;
}

.hero-description {
    font-size: 15.5px;
    line-height: 1.6;
    color: var(--text-light);
    margin-bottom: 35px;
    max-width: 500px;
}

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

.hero-image {
    display: flex;
    justify-content: center;
}

.image-frame {
    position: relative;
    width: 400px;
    height: 500px;
    border-radius: 200px 200px 20px 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.image-frame::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    border: 2px solid var(--accent-color);
    border-radius: 220px 220px 40px 40px;
    z-index: -1;
}

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

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: var(--text-muted);
    font-size: 13px;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(10px); }
}

/* ===== ABOUT ===== */
.about {
    background-color: var(--white);
}

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

.about-image {
    position: relative;
}

.about-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
}

.experience-badge {
    position: absolute;
    bottom: -30px;
    right: -30px;
    background: linear-gradient(135deg, var(--accent-color), var(--primary-color));
    color: var(--white);
    padding: 25px 35px;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.experience-badge .years {
    display: block;
    font-size: 36px;
    font-weight: 700;
    font-family: var(--font-heading);
}

.experience-badge .text {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.about-text h3 {
    font-size: 28px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

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

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-top: 30px;
}

.feature {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    color: var(--text-color);
}

.feature i {
    color: var(--accent-color);
    font-size: 18px;
}

/* ===== SERVICES ===== */
.services {
    background-color: var(--bg-secondary);
    position: relative;
    overflow: hidden;
}

.services::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(201, 168, 108, 0.08) 0%, transparent 70%);
    top: -100px;
    right: -100px;
    pointer-events: none;
}

.services::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(139, 115, 85, 0.06) 0%, transparent 70%);
    bottom: -100px;
    left: -100px;
    pointer-events: none;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    position: relative;
    z-index: 1;
}

.service-card {
    background-color: var(--white);
    padding: 45px 35px;
    border-radius: 24px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.06);
    position: relative;
    overflow: hidden;
    border: 1px solid transparent;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(201, 168, 108, 0.05) 0%, rgba(139, 115, 85, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.service-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 25px 60px rgba(139, 115, 85, 0.15),
                0 15px 30px rgba(201, 168, 108, 0.1);
    border-color: rgba(201, 168, 108, 0.3);
}

.service-card:hover::before {
    opacity: 1;
}

.service-card:hover .service-icon {
    transform: scale(1.15) rotate(-5deg);
    background: linear-gradient(135deg, var(--accent-color), var(--primary-color));
    box-shadow: 0 15px 35px rgba(201, 168, 108, 0.4);
}

.service-card:hover .service-icon i {
    color: var(--white);
    transform: scale(1.1);
}

.service-icon {
    width: 90px;
    height: 90px;
    margin: 0 auto 30px;
    background: linear-gradient(135deg, var(--secondary-color), var(--bg-secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    z-index: 1;
}

.service-icon i {
    font-size: 36px;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.service-card h3 {
    font-size: 22px;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: 600;
    position: relative;
    z-index: 1;
    transition: color 0.3s ease;
}

.service-card:hover h3 {
    color: var(--primary-dark);
}

.service-card p {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.7;
    position: relative;
    z-index: 1;
}

/* ===== TESTS ===== */
.tests {
    background-color: var(--bg-color);
    position: relative;
    overflow: hidden;
}

.tests-parallax {
    position: absolute;
    top: -50px;
    left: 0;
    right: 0;
    bottom: -50px;
    background-image: url('../assets/arkaplan.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    opacity: 0.15;
    z-index: 0;
    pointer-events: none;
}

@supports (-webkit-touch-callout: none) {
    /* iOS fix - background-attachment: fixed doesn't work on mobile */
    .tests-parallax {
        background-attachment: scroll;
    }
}

.tests::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 80%, rgba(201, 168, 108, 0.05) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(139, 115, 85, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.tests-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    position: relative;
    z-index: 1;
}

.test-card {
    background-color: var(--white);
    padding: 40px 30px;
    border-radius: 20px;
    border: 1px solid rgba(212, 196, 181, 0.5);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.test-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-color), var(--primary-color));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.test-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(201, 168, 108, 0.03) 0%, rgba(139, 115, 85, 0.03) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.test-card:hover {
    transform: translateY(-12px) scale(1.02);
    border-color: var(--accent-color);
    box-shadow: 0 20px 50px rgba(139, 115, 85, 0.15),
                0 10px 20px rgba(201, 168, 108, 0.1);
}

.test-card:hover::before {
    transform: scaleX(1);
}

.test-card:hover::after {
    opacity: 1;
}

.test-card:hover .test-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 10px 30px rgba(201, 168, 108, 0.4);
}

.test-card:hover .test-icon i {
    transform: scale(1.1);
}

.test-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--accent-color), var(--primary-color));
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 8px 25px rgba(201, 168, 108, 0.3);
    position: relative;
    z-index: 1;
}

.test-icon i {
    font-size: 28px;
    color: var(--white);
    transition: transform 0.3s ease;
}

.test-card h3 {
    font-size: 20px;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: 600;
    transition: color 0.3s ease;
    position: relative;
    z-index: 1;
}

.test-card:hover h3 {
    color: var(--primary-dark);
}

.test-card p {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.7;
    position: relative;
    z-index: 1;
}

.test-duration {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 500;
    color: var(--primary-color);
    background: linear-gradient(135deg, var(--bg-secondary), var(--secondary-color));
    padding: 8px 16px;
    border-radius: 25px;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.test-card:hover .test-duration {
    background: linear-gradient(135deg, var(--accent-color), var(--primary-color));
    color: var(--white);
    transform: translateX(5px);
}

.test-duration i {
    color: var(--accent-color);
    transition: color 0.3s ease;
}

.test-card:hover .test-duration i {
    color: var(--white);
}

/* Test card as link */
a.test-card {
    text-decoration: none;
    color: inherit;
    display: block;
    cursor: pointer;
}

.test-detail-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: var(--primary-color);
    margin-top: 15px;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.test-detail-link i {
    transition: transform 0.3s ease;
    font-size: 12px;
}

.test-card:hover .test-detail-link {
    color: var(--accent-color);
}

.test-card:hover .test-detail-link i {
    transform: translateX(5px);
}

/* ===== FAQ ===== */
.faq {
    background-color: var(--bg-secondary);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background-color: var(--white);
    border-radius: 15px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.faq-question {
    width: 100%;
    padding: 25px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: none;
    border: none;
    cursor: pointer;
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 500;
    color: var(--text-color);
    text-align: left;
    transition: var(--transition);
}

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

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

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

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

.faq-item.active .faq-answer {
    max-height: 300px;
}

.faq-answer p {
    padding: 0 30px 25px;
    color: var(--text-light);
    font-size: 15px;
}

/* ===== CONTACT ===== */
.contact {
    background-color: var(--white);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

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

.info-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.info-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--secondary-color), var(--bg-secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.info-icon i {
    font-size: 18px;
    color: var(--primary-color);
}

.info-text h4 {
    font-size: 16px;
    color: var(--primary-color);
    margin-bottom: 5px;
    font-family: var(--font-body);
    font-weight: 600;
}

.info-text p {
    font-size: 14px;
    color: var(--text-light);
}

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

.social-link {
    width: 45px;
    height: 45px;
    background-color: var(--bg-secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    transition: var(--transition);
}

.social-link:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

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

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px 20px;
    font-family: var(--font-body);
    font-size: 15px;
    color: var(--text-color);
    background-color: var(--white);
    border: 1px solid var(--secondary-color);
    border-radius: 10px;
    outline: none;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(201, 168, 108, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="%23666" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polyline points="6 9 12 15 18 9"></polyline></svg>');
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 16px;
}

/* ===== FOOTER ===== */
.footer {
    background-color: var(--primary-dark);
    color: var(--white);
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand {
    max-width: 300px;
}

.footer-logo {
    width: 50px;
    height: 50px;
    margin-bottom: 20px;
    filter: brightness(0) invert(1);
}

.footer-brand p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
}

.footer-links h4,
.footer-contact h4 {
    font-size: 18px;
    margin-bottom: 25px;
    color: var(--white);
    font-family: var(--font-body);
    font-weight: 600;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

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

.footer-contact p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-contact i {
    color: var(--accent-color);
    width: 16px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
}

.footer-bottom p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
}

/* ===== WHATSAPP BUTTON ===== */
.whatsapp-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 30px;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: var(--transition);
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5); }
    70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-description {
        margin: 0 auto 35px;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-image {
        display: flex;
        order: -1;
        justify-content: center;
    }

    .image-frame {
        width: 280px;
        height: 350px;
        border-radius: 140px 140px 20px 20px;
    }

    .image-frame::before {
        border-radius: 160px 160px 40px 40px;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .experience-badge {
        right: 20px;
        bottom: -20px;
    }
    
    .services-grid,
    .tests-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 1200px) {
    .section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .section-subtitle {
        font-size: 12px;
        letter-spacing: 2px;
    }
    
    .section-header {
        margin-bottom: 40px;
    }
    
    /* ===== MOBILE FLOATING LOGO ===== */
    .floating-logo {
        left: 20px;
        transform: none;
        top: 12px;
    }
    
    .floating-logo::before {
        width: 90px;
        height: 90px;
    }
    
    .logo-circle {
        width: 70px;
        height: 70px;
        background: var(--white);
        box-shadow: 0 4px 20px rgba(139, 115, 85, 0.25),
                    0 2px 8px rgba(0, 0, 0, 0.1);
        border: 2px solid rgba(139, 115, 85, 0.1);
    }
    
    .logo-circle::before {
        width: 82px;
        height: 82px;
        border-width: 1.5px;
    }
    
    .floating-logo .logo-img {
        width: 70px;
        height: 70px;
    }
    
    .floating-logo.scrolled {
        top: 8px;
        transform: none;
    }
    
    .floating-logo.scrolled::before {
        width: 68px;
        height: 68px;
    }
    
    .floating-logo.scrolled .logo-circle {
        width: 50px;
        height: 50px;
        background: var(--white);
        box-shadow: 0 3px 15px rgba(139, 115, 85, 0.2);
    }
    
    .floating-logo.scrolled .logo-circle::before {
        width: 60px;
        height: 60px;
    }
    
    .floating-logo.scrolled .logo-img {
        width: 50px;
        height: 50px;
    }
    
    /* ===== MOBILE NAVBAR FIX ===== */
    .navbar {
        padding: 15px 0;
        background-color: var(--white);
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    }
    
    .navbar.scrolled {
        padding: 10px 0;
        background-color: var(--white);
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    }
    
    .nav-container {
        padding: 0 15px;
        padding-left: 95px;
        justify-content: flex-end;
    }
    
    .logo-img {
        width: 60px;
        height: 60px;
    }
    
    .logo-text {
        font-size: 18px;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100%;
        height: 100vh;
        height: 100dvh; /* Dynamic viewport height for mobile */
        background-color: var(--white);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 25px;
        transform: translateX(100%);
        transition: transform 0.3s ease;
        z-index: 999;
        padding: 80px 20px 40px;
        overflow-y: auto;
    }
    
    .nav-menu.active {
        transform: translateX(0);
    }
    
    .nav-link {
        font-size: 18px;
        padding: 10px 20px;
    }
    
    .nav-cta {
        margin-top: 10px;
        padding: 12px 30px;
    }

    .nav-contact-wrapper {
        display: none;
    }

    .nav-contact-mobile {
        display: block !important;
        position: relative;
        margin-right: 12px;
        z-index: 1001;
    }

    .nav-contact-mobile .nav-contact-btn {
        padding: 8px 16px;
        font-size: 13px;
    }

    .nav-contact-mobile .contact-dropdown {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        top: auto;
        width: 100%;
        border-radius: 20px 20px 0 0;
        transform: translateY(100%);
        z-index: 2000;
    }

    .nav-contact-mobile .contact-dropdown.active {
        transform: translateY(0);
    }

    .nav-contact-mobile .contact-dropdown::before {
        display: none;
    }
    
    .nav-toggle {
        display: flex;
        z-index: 1001;
        width: 40px;
        height: 40px;
        align-items: center;
        justify-content: center;
        background-color: var(--bg-secondary);
        border-radius: 8px;
    }
    
    .nav-toggle.active .hamburger {
        background-color: transparent;
    }
    
    .nav-toggle.active .hamburger::before {
        transform: rotate(45deg);
        top: 0;
    }
    
    .nav-toggle.active .hamburger::after {
        transform: rotate(-45deg);
        top: 0;
    }
    
    /* ===== MOBILE HERO ===== */
    .hero {
        min-height: auto;
        padding-top: 80px;
    }
    
    .hero-content {
        padding: 40px 15px 60px;
    }
    
    .hero-title {
        font-size: 36px;
        margin-bottom: 20px;
    }
    
    .hero-subtitle {
        font-size: 12px;
        letter-spacing: 3px;
    }
    
    .hero-description {
        font-size: 15px;
        margin-bottom: 30px;
        padding: 0 10px;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 12px;
        width: 100%;
        padding: 0 20px;
    }
    
    .hero-buttons .btn {
        width: 100%;
        padding: 14px 24px;
    }
    
    .scroll-indicator {
        display: none;
    }
    
    /* ===== MOBILE ABOUT ===== */
    .about-content {
        gap: 40px;
    }
    
    .about-image img {
        border-radius: 15px;
    }
    
    .experience-badge {
        position: relative;
        bottom: auto;
        right: auto;
        margin-top: 20px;
        display: inline-block;
        padding: 20px 30px;
    }
    
    .about-text h3 {
        font-size: 24px;
        text-align: center;
    }
    
    .about-text p {
        font-size: 14px;
        text-align: center;
    }
    
    .about-features {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .feature {
        justify-content: center;
    }
    
    /* ===== MOBILE SERVICES ===== */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .service-card {
        padding: 30px 25px;
        border-radius: 18px;
    }
    
    .service-icon {
        width: 70px;
        height: 70px;
        margin-bottom: 20px;
    }
    
    .service-icon i {
        font-size: 28px;
    }
    
    .service-card h3 {
        font-size: 18px;
    }
    
    .service-card p {
        font-size: 14px;
    }
    
    /* ===== MOBILE TESTS ===== */
    .tests-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .test-card {
        padding: 30px 25px;
        border-radius: 16px;
    }
    
    .test-icon {
        width: 60px;
        height: 60px;
    }
    
    .test-icon i {
        font-size: 24px;
    }
    
    .test-card h3 {
        font-size: 17px;
    }
    
    .test-card p {
        font-size: 13px;
    }
    
    /* ===== MOBILE FAQ ===== */
    .faq-list {
        padding: 0 5px;
    }
    
    .faq-item {
        border-radius: 12px;
        margin-bottom: 12px;
    }
    
    .faq-question {
        padding: 18px 20px;
        font-size: 14px;
    }
    
    .faq-question i {
        font-size: 14px;
    }
    
    .faq-answer p {
        padding: 0 20px 18px;
        font-size: 13px;
    }
    
    /* ===== MOBILE CONTACT ===== */
    .contact-content {
        gap: 40px;
    }
    
    .contact-info {
        gap: 20px;
    }
    
    .info-item {
        gap: 15px;
    }
    
    .info-icon {
        width: 45px;
        height: 45px;
    }
    
    .info-icon i {
        font-size: 16px;
    }
    
    .info-text h4 {
        font-size: 14px;
    }
    
    .info-text p {
        font-size: 13px;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .contact-form-wrapper {
        padding: 25px 20px;
        border-radius: 16px;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 14px 16px;
        font-size: 14px;
        border-radius: 10px;
    }
    
    .contact-form .btn {
        padding: 14px 24px;
        font-size: 14px;
    }
    
    /* ===== MOBILE FOOTER ===== */
    .footer {
        padding: 50px 0 25px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 35px;
        text-align: center;
    }
    
    .footer-brand {
        max-width: 100%;
    }
    
    .footer-links ul {
        align-items: center;
    }
    
    .footer-contact p {
        justify-content: center;
    }
    
    /* ===== MOBILE WHATSAPP ===== */
    .whatsapp-float {
        bottom: 20px;
        right: 16px;
        width: 52px;
        height: 52px;
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .section {
        padding: 50px 0;
    }
    
    .hero-title {
        font-size: 30px;
    }
    
    .hero-description {
        font-size: 14px;
    }
    
    .section-title {
        font-size: 24px;
    }
    
    .about-text h3 {
        font-size: 20px;
    }
    
    .experience-badge {
        padding: 15px 25px;
    }
    
    .experience-badge .years {
        font-size: 28px;
    }
    
    .experience-badge .text {
        font-size: 11px;
    }
    
    .service-card,
    .test-card {
        padding: 25px 20px;
    }
    
    .faq-question {
        padding: 15px 18px;
        font-size: 13px;
    }
    
    .contact-form-wrapper {
        padding: 20px 15px;
    }
    
    .footer-bottom p {
        font-size: 11px;
    }
}

/* ===== EXTRA SMALL DEVICES ===== */
@media (max-width: 360px) {
    .hero-title {
        font-size: 26px;
    }
    
    .logo-text {
        font-size: 16px;
    }
    
    .nav-link {
        font-size: 16px;
    }
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

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

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

/* Animate on scroll classes */
.animate-fade-up {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.animate-fade-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-fade-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.animate-fade-right {
    opacity: 0;
    transform: translateX(40px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-fade-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.animate-scale {
    opacity: 0;
    transform: scale(0.9);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-scale.visible {
    opacity: 1;
    transform: scale(1);
}

/* Stagger animation delays */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }
.delay-6 { transition-delay: 0.6s; }

/* Floating elements */
.float-animation {
    animation: float 3s ease-in-out infinite;
}

/* Gradient text effect */
.gradient-text {
    background: linear-gradient(135deg, var(--accent-color), var(--primary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Shimmer effect for loading */
.shimmer {
    background: linear-gradient(90deg, 
        var(--bg-secondary) 0%, 
        var(--white) 50%, 
        var(--bg-secondary) 100%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

/* Glow effect on hover */
.glow-hover {
    transition: box-shadow 0.3s ease;
}

.glow-hover:hover {
    box-shadow: 0 0 30px rgba(201, 168, 108, 0.3),
                0 0 60px rgba(201, 168, 108, 0.1);
}

/* ===== PAGE LOADER ===== */
.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--bg-color) 0%, var(--bg-secondary) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

.page-loader.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loader-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.loader-mind {
    position: relative;
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mind-circle {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    position: relative;
    z-index: 3;
    animation: mindPulse 2s ease-in-out infinite;
}

.mind-circle::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    background: var(--white);
    border-radius: 50%;
    opacity: 0.9;
}

.mind-wave {
    position: absolute;
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    opacity: 0;
}

.mind-wave.wave-1 {
    width: 60px;
    height: 60px;
    animation: waveExpand 2s ease-out infinite;
}

.mind-wave.wave-2 {
    width: 60px;
    height: 60px;
    animation: waveExpand 2s ease-out infinite 0.5s;
}

.mind-wave.wave-3 {
    width: 60px;
    height: 60px;
    animation: waveExpand 2s ease-out infinite 1s;
}

.mind-pulse {
    position: absolute;
    width: 80px;
    height: 80px;
    border: 2px dashed var(--accent-color);
    border-radius: 50%;
    animation: rotatePulse 4s linear infinite;
}

@keyframes mindPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(139, 115, 85, 0.4);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 0 20px 5px rgba(139, 115, 85, 0.2);
    }
}

@keyframes waveExpand {
    0% {
        width: 50px;
        height: 50px;
        opacity: 0.8;
    }
    100% {
        width: 120px;
        height: 120px;
        opacity: 0;
    }
}

@keyframes rotatePulse {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.loader-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.loader-brand {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 600;
    color: var(--primary-color);
    letter-spacing: 1px;
}

.loader-subtitle {
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--text-light);
    letter-spacing: 3px;
    text-transform: uppercase;
    animation: loadingDots 1.5s ease-in-out infinite;
}

@keyframes loadingDots {
    0%, 20% {
        opacity: 0.4;
    }
    50% {
        opacity: 1;
    }
    80%, 100% {
        opacity: 0.4;
    }
}

/* ===== TESTIMONIALS SECTION ===== */
.testimonials {
    background: var(--bg-secondary);
    position: relative;
    overflow: hidden;
}

.testimonials-parallax {
    position: absolute;
    top: -50px;
    left: 0;
    right: 0;
    bottom: -50px;
    background-image: url('../assets/arkaplan.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    opacity: 0.15;
    z-index: 0;
    pointer-events: none;
}

@supports (-webkit-touch-callout: none) {
    .testimonials-parallax {
        background-attachment: scroll;
    }
}

.testimonials-slider {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
    position: relative;
    z-index: 1;
}

.testimonial-card {
    background: var(--white);
    padding: 30px;
    border-radius: 20px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.testimonial-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.testimonial-author {
    font-weight: 600;
    color: var(--text-color);
}

.testimonial-stars {
    color: #f1c40f;
}

.testimonial-text {
    color: var(--text-light);
    font-style: italic;
    line-height: 1.8;
    margin-bottom: 15px;
}

.testimonial-date {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.testimonial-loading {
    text-align: center;
    padding: 40px;
    color: var(--text-muted);
    grid-column: 1 / -1;
}

.no-testimonials {
    text-align: center;
    padding: 40px;
    color: var(--text-muted);
    grid-column: 1 / -1;
}

/* Add Testimonial Form */
.add-testimonial {
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow);
    max-width: 600px;
    margin: 0 auto;
}

.add-testimonial h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 25px;
    text-align: center;
}

.testimonial-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.star-rating-label {
    display: block;
    margin-bottom: 10px;
    font-weight: 500;
    color: var(--text-color);
}

.star-rating {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
}

.star-rating i {
    font-size: 1.5rem;
    color: #ddd;
    cursor: pointer;
    transition: var(--transition);
}

.star-rating i.active,
.star-rating i:hover {
    color: #f1c40f;
}

/* ===== APPOINTMENT SECTION ===== */
.appointment {
    background: linear-gradient(135deg, var(--bg-color) 0%, var(--bg-secondary) 100%);
}

.appointment-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 50px;
    align-items: start;
}

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

.info-card {
    background: var(--white);
    padding: 25px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.info-card-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.info-card h4 {
    font-size: 1.1rem;
    color: var(--text-color);
    margin-bottom: 8px;
}

.info-card p {
    color: var(--text-light);
    font-size: 0.9rem;
}

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

.appointment-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

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

.appointment-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-color);
    font-size: 0.95rem;
}

.appointment-form label i {
    color: var(--primary-color);
    margin-right: 8px;
}

.appointment-form input,
.appointment-form select,
.appointment-form textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid #e8e0d8;
    border-radius: 10px;
    font-size: 1rem;
    font-family: var(--font-body);
    transition: var(--transition);
    background: var(--white);
}

.appointment-form input:focus,
.appointment-form select:focus,
.appointment-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(139, 115, 85, 0.1);
}

.radio-group {
    display: flex;
    gap: 20px;
}

.radio-label {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    padding: 15px 20px;
    border: 2px solid #e8e0d8;
    border-radius: 10px;
    transition: all 0.3s ease;
    flex: 1;
    position: relative;
}

.radio-label:hover {
    border-color: var(--primary-color);
    background: rgba(139, 115, 85, 0.03);
}

.radio-label input {
    display: none;
}

.radio-label input:checked + .radio-custom + .radio-text,
.radio-label input:checked ~ .radio-text {
    color: var(--primary-color);
    font-weight: 600;
}

.radio-label input:checked ~ .radio-custom {
    display: none;
}

.radio-label:has(input:checked) {
    border-color: var(--primary-color);
    background: rgba(139, 115, 85, 0.06);
    box-shadow: 0 0 0 3px rgba(139, 115, 85, 0.15);
}

.radio-custom {
    display: none;
}

.radio-text {
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
}

.radio-text i {
    font-size: 1.1rem;
}

.radio-text i {
    margin-right: 5px;
}

/* Form Success/Error Messages */
.form-message {
    padding: 15px 20px;
    border-radius: 10px;
    margin-bottom: 20px;
    display: none;
}

.form-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    display: block;
}

.form-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    display: block;
}

/* ===== RESPONSIVE FOR NEW SECTIONS ===== */
@media (max-width: 992px) {
    .appointment-content {
        grid-template-columns: 1fr;
    }
    
    .appointment-info {
        flex-direction: row;
        flex-wrap: wrap;
    }
    
    .info-card {
        flex: 1 1 calc(50% - 10px);
        min-width: 200px;
    }
}

@media (max-width: 768px) {
    .testimonials-slider {
        grid-template-columns: 1fr;
    }
    
    .testimonial-form .form-row,
    .appointment-form .form-row {
        grid-template-columns: 1fr;
    }
    
    .radio-group {
        flex-direction: column;
    }
    
    .appointment-info {
        flex-direction: column;
    }
    
    .info-card {
        flex: 1 1 100%;
    }
    
    .add-testimonial,
    .appointment-form-wrapper {
        padding: 25px;
    }
}

/* ===== CHATBOT — ADVANCED ===== */

/* Toggle Button */
.chatbot-toggle {
    position: fixed;
    bottom: 95px;
    right: 25px;
    width: 62px;
    height: 62px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    border: none;
    cursor: pointer;
    z-index: 9998;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    box-shadow: 0 6px 25px rgba(139, 115, 85, 0.45), 0 0 0 0 rgba(139, 115, 85, 0.3);
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    animation: chatbotPulseRing 3s ease-in-out infinite;
}

@keyframes chatbotPulseRing {
    0%, 100% { box-shadow: 0 6px 25px rgba(139, 115, 85, 0.45), 0 0 0 0 rgba(139, 115, 85, 0.25); }
    50% { box-shadow: 0 6px 25px rgba(139, 115, 85, 0.45), 0 0 0 12px rgba(139, 115, 85, 0); }
}

.chatbot-toggle:hover {
    transform: scale(1.12) translateY(-2px);
    box-shadow: 0 8px 35px rgba(139, 115, 85, 0.55);
    animation: none;
}

.chatbot-toggle.active {
    animation: none;
    transform: scale(1);
    box-shadow: 0 4px 15px rgba(139, 115, 85, 0.3);
}

.chatbot-toggle .chatbot-icon-chat,
.chatbot-toggle .chatbot-icon-close {
    position: absolute;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.chatbot-toggle .chatbot-icon-close {
    opacity: 0;
    transform: rotate(-180deg) scale(0.5);
}

.chatbot-toggle.active .chatbot-icon-chat {
    opacity: 0;
    transform: rotate(180deg) scale(0.5);
}

.chatbot-toggle.active .chatbot-icon-close {
    opacity: 1;
    transform: rotate(0deg) scale(1);
}

/* Badge */
.chatbot-badge {
    position: absolute;
    top: -8px;
    right: 60px;
    left: auto;
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
    font-size: 11px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 20px;
    display: none;
    align-items: center;
    white-space: nowrap;
    animation: chatbotBadgeIn 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    font-family: var(--font-body);
    box-shadow: 0 2px 10px rgba(231, 76, 60, 0.4);
    pointer-events: none;
}

@keyframes chatbotBadgeIn {
    from { opacity: 0; transform: scale(0.5) translateY(5px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}

@keyframes chatbotBadgeFadeOut {
    from { opacity: 1; }
    to { opacity: 0; }
}

/* Chat Window */
.chatbot-window {
    position: fixed;
    bottom: 175px;
    right: 25px;
    width: 400px;
    height: 560px;
    max-height: calc(100vh - 200px);
    background: var(--white);
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.18), 0 0 0 1px rgba(0, 0, 0, 0.03);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.92);
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    font-family: var(--font-body);
}

.chatbot-window.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

/* Header */
.chatbot-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 50%, #5a4030 100%);
    color: white;
    padding: 18px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
    overflow: hidden;
}

.chatbot-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 120px;
    height: 120px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 50%;
}

.chatbot-header::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 50%;
}

.chatbot-header-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 19px;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
    border: 2px solid rgba(255, 255, 255, 0.15);
}

.chatbot-header-info {
    flex: 1;
    position: relative;
    z-index: 1;
}

.chatbot-header-info h4 {
    font-family: var(--font-heading);
    font-size: 16px;
    margin: 0 0 2px 0;
    color: white;
    font-weight: 600;
    letter-spacing: 0.3px;
}

.chatbot-header-status {
    font-size: 12px;
    opacity: 0.9;
    display: flex;
    align-items: center;
    gap: 6px;
}

.chatbot-status-dot {
    width: 8px;
    height: 8px;
    background: #2ecc71;
    border-radius: 50%;
    display: inline-block;
    animation: statusPulse 2s infinite;
}

@keyframes statusPulse {
    0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(46, 204, 113, 0.5); }
    50% { opacity: 0.8; box-shadow: 0 0 0 4px rgba(46, 204, 113, 0); }
}

.chatbot-header-actions {
    display: flex;
    gap: 6px;
    position: relative;
    z-index: 1;
}

.chatbot-header-btn {
    background: rgba(255, 255, 255, 0.12);
    border: none;
    color: white;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    transition: all 0.2s;
    backdrop-filter: blur(4px);
}

.chatbot-header-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: scale(1.08);
}

/* Messages Area */
.chatbot-messages {
    flex: 1;
    overflow-y: auto;
    padding: 20px 16px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    background: linear-gradient(180deg, var(--bg-secondary) 0%, #f0ebe5 100%);
    scroll-behavior: smooth;
}

.chatbot-messages::-webkit-scrollbar {
    width: 4px;
}

.chatbot-messages::-webkit-scrollbar-track {
    background: transparent;
}

.chatbot-messages::-webkit-scrollbar-thumb {
    background: var(--secondary-color);
    border-radius: 10px;
}

/* Message Bubbles */
.chatbot-message {
    display: flex;
    gap: 8px;
    align-items: flex-end;
    animation: chatMsgIn 0.35s cubic-bezier(0.22, 0.61, 0.36, 1);
    max-width: 100%;
}

@keyframes chatMsgIn {
    from { opacity: 0; transform: translateY(12px) scale(0.97); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.chatbot-message.user {
    flex-direction: row-reverse;
}

.chatbot-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 13px;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(139, 115, 85, 0.25);
}

.chatbot-bubble {
    max-width: 78%;
    padding: 12px 16px;
    border-radius: 20px;
    font-size: 13.5px;
    line-height: 1.55;
    word-wrap: break-word;
    position: relative;
}

.chatbot-bubble a {
    color: var(--primary-color);
    text-decoration: underline;
    font-weight: 500;
}

.chatbot-bubble a:hover {
    color: var(--primary-dark);
}

.chatbot-message.bot .chatbot-bubble {
    background: var(--white);
    color: var(--text-color);
    border-bottom-left-radius: 6px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.chatbot-message.user .chatbot-bubble {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    border-bottom-right-radius: 6px;
    box-shadow: 0 2px 10px rgba(139, 115, 85, 0.3);
}

.chatbot-message.user .chatbot-bubble a {
    color: rgba(255, 255, 255, 0.9);
}

.bubble-time {
    font-size: 10px;
    opacity: 0.5;
    margin-top: 4px;
    text-align: right;
}

.chatbot-message.user .bubble-time {
    color: rgba(255, 255, 255, 0.7);
}

.chatbot-bubble strong {
    font-weight: 600;
    color: var(--primary-dark);
}

.chatbot-message.user .chatbot-bubble strong {
    color: white;
}

/* Typing indicator */
.typing-dots {
    display: flex;
    gap: 5px;
    padding: 5px 2px;
    align-items: center;
}

.typing-dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary-light);
    animation: typingBounce 1.4s infinite ease-in-out;
}

.typing-dots span:nth-child(1) { animation-delay: 0s; }
.typing-dots span:nth-child(2) { animation-delay: 0.15s; }
.typing-dots span:nth-child(3) { animation-delay: 0.3s; }

@keyframes typingBounce {
    0%, 60%, 100% { transform: translateY(0); opacity: 0.35; }
    30% { transform: translateY(-8px); opacity: 1; }
}

/* Quick Buttons */
.chatbot-quick-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    padding: 6px 0;
    animation: chatMsgIn 0.4s ease;
}

.chatbot-quick-btn {
    background: var(--white);
    color: var(--primary-color);
    border: 1.5px solid rgba(139, 115, 85, 0.25);
    padding: 7px 15px;
    border-radius: 22px;
    font-size: 12.5px;
    font-family: var(--font-body);
    cursor: pointer;
    transition: all 0.25s ease;
    white-space: nowrap;
    font-weight: 500;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}

.chatbot-quick-btn:hover {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    border-color: var(--primary-color);
    transform: translateY(-1px);
    box-shadow: 0 3px 12px rgba(139, 115, 85, 0.25);
}

.chatbot-quick-btn:active {
    transform: translateY(0);
}

/* Action Buttons */
.chatbot-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 4px 0;
    animation: chatMsgIn 0.4s ease;
}

.chatbot-action-btn {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    border: none;
    padding: 9px 18px;
    border-radius: 22px;
    font-size: 13px;
    font-family: var(--font-body);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 3px 12px rgba(139, 115, 85, 0.25);
}

.chatbot-action-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(139, 115, 85, 0.35);
}

.chatbot-action-btn:active {
    transform: translateY(0);
}

/* Input Area */
.chatbot-input-area {
    padding: 14px 16px;
    background: var(--white);
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
}

.chatbot-input-wrapper {
    flex: 1;
    position: relative;
}

.chatbot-input-wrapper input {
    width: 100%;
    border: 2px solid var(--bg-secondary);
    border-radius: 25px;
    padding: 11px 18px;
    padding-right: 55px;
    font-size: 13.5px;
    font-family: var(--font-body);
    outline: none;
    transition: all 0.25s ease;
    background: var(--bg-secondary);
}

.chatbot-input-wrapper input:focus {
    border-color: var(--primary-light);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(139, 115, 85, 0.1);
}

.chatbot-input-wrapper input::placeholder {
    color: var(--text-muted);
    font-size: 13px;
}

.chatbot-char-count {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 10px;
    color: var(--text-muted);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.2s;
}

.chatbot-input-wrapper input:focus ~ .chatbot-char-count {
    opacity: 1;
}

.chatbot-send {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: all 0.25s ease;
    flex-shrink: 0;
    box-shadow: 0 3px 12px rgba(139, 115, 85, 0.3);
}

.chatbot-send:hover {
    transform: scale(1.08) translateY(-1px);
    box-shadow: 0 5px 18px rgba(139, 115, 85, 0.4);
}

.chatbot-send:active {
    transform: scale(0.95);
}

/* Powered By */
.chatbot-footer {
    text-align: center;
    padding: 6px 0;
    background: var(--white);
    border-top: 1px solid rgba(0, 0, 0, 0.03);
}

.chatbot-footer span {
    font-size: 10px;
    color: var(--text-muted);
    letter-spacing: 0.3px;
}

/* ===== Chatbot Mobile ===== */
@media (max-width: 480px) {
    .chatbot-window {
        width: calc(100vw - 16px);
        height: calc(100dvh - 120px);
        max-height: calc(100dvh - 120px);
        bottom: 80px;
        right: 8px;
        border-radius: 20px;
    }

    .chatbot-toggle {
        bottom: 80px;
        right: 16px;
        width: 52px;
        height: 52px;
        font-size: 20px;
    }

    .chatbot-badge {
        font-size: 10px;
        padding: 3px 8px;
        top: -6px;
        right: 50px;
        left: auto;
    }

    .chatbot-bubble {
        max-width: 85%;
        font-size: 13px;
    }

    .chatbot-quick-btn {
        font-size: 12px;
        padding: 6px 12px;
    }

    .chatbot-action-btn {
        font-size: 12px;
        padding: 8px 14px;
    }
}

@media (max-width: 360px) {
    .chatbot-window {
        width: calc(100vw - 10px);
        right: 5px;
    }

    .chatbot-header {
        padding: 14px 16px;
    }

    .chatbot-messages {
        padding: 14px 10px;
    }
}