/* ===========================================
   GLOWMED - SKINCARE WEBSITE
   Modern, Responsive Design with Skincare Colors
   =========================================== */

/* ===== VARIABLES & RESET ===== */
:root {
    /* Color Palette - Skincare Inspired */
    --primary-soft: #FFF5F7;      /* Soft pink - feminine, gentle */
    --primary-light: #FFE4E8;     /* Light pink - clean, fresh */
    --primary: #FFB6C1;           /* Pink - skincare, feminine */
    --primary-dark: #D87093;      /* Dark pink - professional */
    --secondary: #E8F4F8;         /* Light blue - clean, clinical */
    --accent: #8FB9C7;            /* Soft teal - freshness */
    --accent-dark: #5A8B9C;       /* Deep teal - trust, reliability */
    --neutral-light: #FAFAFA;     /* Off-white - clean background */
    --neutral: #F0F0F0;          /* Light gray - subtle contrast */
    --neutral-medium: #D8D8D8;   /* Medium gray - borders */
    --neutral-dark: #555555;     /* Dark gray - text */
    --text-dark: #333333;        /* Main text */
    --text-light: #666666;       /* Secondary text */
    --success: #9BCFAB;          /* Soft green - natural, healthy */
    --warning: #FFD8A5;          /* Soft yellow - caution */
    --danger: #F8AFAF;           /* Soft red - gentle alert */
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--primary-soft) 0%, var(--secondary) 100%);
    --gradient-accent: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    --gradient-dark: linear-gradient(135deg, var(--primary-dark) 0%, var(--accent-dark) 100%);
    
    /* Typography */
    --font-heading: 'Montserrat', 'Segoe UI', Arial, sans-serif;
    --font-body: 'Lato', 'Roboto', 'Open Sans', sans-serif;
    --font-special: 'Playfair Display', Georgia, serif;
    
    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 2rem;
    --space-lg: 3rem;
    --space-xl: 5rem;
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 15px;
    --radius-lg: 25px;
    --radius-full: 50px;
    
    /* Shadows */
    --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 5px 20px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 15px 40px rgba(0, 0, 0, 0.15);
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* Container Widths */
    --container-sm: 100%;
    --container-md: 90%;
    --container-lg: 1200px;
    --container-xl: 1400px;
}

/* ===== RESET & BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--neutral-light);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    width: var(--container-sm);
    max-width: var(--container-lg);
    margin: 0 auto;
    padding: 0 var(--space-sm);
}

@media (min-width: 768px) {
    .container {
        width: var(--container-md);
        padding: 0 var(--space-md);
    }
}

@media (min-width: 1200px) {
    .container {
        width: 100%;
        max-width: var(--container-xl);
    }
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: var(--space-sm);
    color: var(--text-dark);
}

h1 {
    font-size: 2.5rem;
    font-weight: 700;
}

h2 {
    font-size: 2rem;
    color: var(--primary-dark);
}

h3 {
    font-size: 1.5rem;
    color: var(--accent-dark);
}

h4 {
    font-size: 1.25rem;
}

p {
    margin-bottom: var(--space-sm);
    color: var(--text-light);
}

a {
    color: var(--primary-dark);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--accent-dark);
}

.section-title {
    text-align: center;
    margin-bottom: var(--space-lg);
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--gradient-accent);
    border-radius: var(--radius-full);
}

.text-center {
    text-align: center;
}

.text-primary {
    color: var(--primary-dark);
}

.text-accent {
    color: var(--accent-dark);
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-xs);
    padding: 12px 28px;
    border-radius: var(--radius-full);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
    z-index: -1;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--gradient-accent);
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    background: var(--gradient-dark);
    color: white;
    box-shadow: var(--shadow-hover);
    transform: translateY(-2px);
}

.btn-secondary {
    background: white;
    color: var(--primary-dark);
    border: 2px solid var(--primary);
}

.btn-secondary:hover {
    background: var(--primary-soft);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--primary-dark);
    border: 2px solid var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
}

.btn-lg {
    padding: 16px 40px;
    font-size: 1.1rem;
}

.btn-sm {
    padding: 8px 20px;
    font-size: 0.9rem;
}

.btn-block {
    width: 100%;
}

.btn-icon {
    width: 40px;
    height: 40px;
    padding: 0;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* ===== HEADER & NAVIGATION ===== */
.site-header {
    background: white;
    box-shadow: var(--shadow-sm);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: all var(--transition-normal);
}

.site-header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-md);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    text-decoration: none;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: var(--gradient-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 1.2rem;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-dark);
    letter-spacing: -0.5px;
}

.logo-text span {
    color: var(--accent-dark);
}

/* Desktop Navigation */
.nav-desktop {
    display: none;
}

@media (min-width: 992px) {
    .nav-desktop {
        display: flex;
        align-items: center;
        gap: var(--space-md);
    }
}

.nav-links {
    display: flex;
    gap: var(--space-md);
    list-style: none;
}

.nav-link {
    font-family: var(--font-heading);
    font-weight: 500;
    color: var(--text-dark);
    text-decoration: none;
    padding: 0.5rem 0;
    position: relative;
    transition: color var(--transition-fast);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-accent);
    transition: width var(--transition-normal);
    border-radius: var(--radius-full);
}

.nav-link:hover {
    color: var(--primary-dark);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link.active {
    color: var(--primary-dark);
    font-weight: 600;
}

/* Mobile Navigation */
.menu-toggle {
    display: block;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary-dark);
    cursor: pointer;
    z-index: 1001;
}

@media (min-width: 992px) {
    .menu-toggle {
        display: none;
    }
}

.nav-mobile {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background: white;
    box-shadow: var(--shadow-lg);
    padding: var(--space-xl) var(--space-md);
    transition: right var(--transition-normal);
    z-index: 1000;
    overflow-y: auto;
}

.nav-mobile.active {
    right: 0;
}

.nav-mobile .nav-links {
    flex-direction: column;
    gap: var(--space-sm);
    margin-top: var(--space-lg);
}

.nav-mobile .nav-link {
    font-size: 1.1rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--neutral);
}

.nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
    z-index: 999;
}

.nav-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* ===== HERO SECTION ===== */
.hero-section {
    background: var(--gradient-primary);
    padding: calc(80px + var(--space-xl)) 0 var(--space-xl);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 200"><path fill="%23FFB6C1" fill-opacity="0.1" d="M45.7,-45.7C58.5,-33,68.1,-16.5,68.2,0.1C68.3,16.7,58.8,33.3,46,46C33.3,58.8,16.7,68.3,0,68.2C-16.7,68.2,-33.3,58.8,-46,46C-58.8,33.3,-68.3,16.7,-68.2,0C-68.2,-16.7,-58.8,-33.3,-46,-46C-33.3,-58.8,-16.7,-68.3,0,-68.2C16.7,-68.2,33.3,-58.8,45.7,-45.7Z" transform="translate(100 100)" /></svg>') no-repeat;
    background-size: contain;
    background-position: center right;
    opacity: 0.3;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-lg);
    align-items: center;
    position: relative;
    z-index: 1;
}

@media (min-width: 768px) {
    .hero-container {
        grid-template-columns: 1fr 1fr;
    }
}

.hero-content {
    text-align: center;
}

@media (min-width: 768px) {
    .hero-content {
        text-align: left;
    }
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: var(--space-sm);
    background: var(--gradient-dark);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 3rem;
    }
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: var(--space-md);
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 768px) {
    .hero-subtitle {
        margin-left: 0;
        margin-right: 0;
    }
}

.hero-cta {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    align-items: center;
}

@media (min-width: 768px) {
    .hero-cta {
        flex-direction: row;
        justify-content: flex-start;
    }
}

.hero-image {
    position: relative;
    text-align: center;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    transform: perspective(1000px) rotateY(-10deg);
    transition: transform var(--transition-normal);
}

.hero-image img:hover {
    transform: perspective(1000px) rotateY(0deg);
}

.floating-elements {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
}

.floating-element {
    position: absolute;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    animation: float 6s ease-in-out infinite;
}

.floating-element:nth-child(1) {
    width: 60px;
    height: 60px;
    top: 10%;
    left: 5%;
    animation-delay: 0s;
}

.floating-element:nth-child(2) {
    width: 40px;
    height: 40px;
    top: 70%;
    left: 10%;
    animation-delay: 2s;
}

.floating-element:nth-child(3) {
    width: 50px;
    height: 50px;
    top: 40%;
    right: 10%;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(10deg);
    }
}

/* ===== FEATURES SECTION ===== */
.features-section {
    padding: var(--space-xl) 0;
    background: white;
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-md);
}

@media (min-width: 768px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 992px) {
    .features-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.feature-card {
    background: white;
    padding: var(--space-md);
    border-radius: var(--radius-md);
    text-align: center;
    transition: all var(--transition-normal);
    border: 1px solid var(--neutral);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary);
}

.feature-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto var(--space-sm);
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--primary-dark);
    transition: all var(--transition-normal);
}

.feature-card:hover .feature-icon {
    background: var(--gradient-accent);
    color: white;
    transform: scale(1.1);
}

.feature-title {
    font-size: 1.25rem;
    margin-bottom: var(--space-xs);
    color: var(--primary-dark);
}

.feature-description {
    font-size: 0.95rem;
    color: var(--text-light);
}

/* ===== SERVICES SECTION ===== */
.services-section {
    padding: var(--space-xl) 0;
    background: var(--primary-soft);
    position: relative;
}

.services-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><path fill="white" opacity="0.1" d="M0,0 L100,0 L100,100 Z" /></svg>');
    background-size: cover;
    pointer-events: none;
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-md);
    position: relative;
    z-index: 1;
}

@media (min-width: 768px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 992px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.service-card {
    background: white;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
    position: relative;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.service-image {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.service-card:hover .service-image img {
    transform: scale(1.1);
}

.service-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--gradient-accent);
    color: white;
    padding: 5px 15px;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 600;
}

.service-content {
    padding: var(--space-md);
}

.service-title {
    font-size: 1.3rem;
    margin-bottom: var(--space-xs);
    color: var(--primary-dark);
}

.service-description {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: var(--space-sm);
    min-height: 60px;
}

.service-price {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: var(--space-sm);
    border-top: 1px solid var(--neutral);
}

.price-amount {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-dark);
}

.price-duration {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* ===== APPOINTMENT SECTION ===== */
.appointment-section {
    padding: var(--space-xl) 0;
    background: white;
}

.appointment-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-lg);
    align-items: center;
}

@media (min-width: 992px) {
    .appointment-container {
        grid-template-columns: 1fr 1fr;
    }
}

.appointment-image img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.appointment-form {
    background: white;
    padding: var(--space-lg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.form-group {
    margin-bottom: var(--space-md);
}

.form-label {
    display: block;
    margin-bottom: var(--space-xs);
    font-weight: 600;
    color: var(--text-dark);
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--neutral-medium);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: all var(--transition-fast);
    background: white;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(255, 182, 193, 0.1);
}

.form-control::placeholder {
    color: #999;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-sm);
}

@media (min-width: 576px) {
    .form-row {
        grid-template-columns: 1fr 1fr;
    }
}

.form-textarea {
    min-height: 120px;
    resize: vertical;
}

.form-check {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
}

.form-check-input {
    width: 18px;
    height: 18px;
}

.form-check-label {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* ===== BLOG PREVIEW SECTION ===== */
.blog-section {
    padding: var(--space-xl) 0;
    background: var(--neutral-light);
}

.blog-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-md);
}

@media (min-width: 768px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 992px) {
    .blog-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.blog-card {
    background: white;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.blog-image {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.blog-card:hover .blog-image img {
    transform: scale(1.1);
}

.blog-category {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--gradient-accent);
    color: white;
    padding: 5px 15px;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 600;
}

.blog-content {
    padding: var(--space-md);
}

.blog-meta {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-sm);
    font-size: 0.85rem;
    color: var(--text-light);
}

.blog-date {
    display: flex;
    align-items: center;
    gap: 5px;
}

.blog-title {
    font-size: 1.2rem;
    margin-bottom: var(--space-xs);
    color: var(--text-dark);
}

.blog-title a {
    color: inherit;
    text-decoration: none;
}

.blog-title a:hover {
    color: var(--primary-dark);
}

.blog-excerpt {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: var(--space-sm);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-read-more {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: var(--primary-dark);
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
}

.blog-read-more:hover {
    gap: 10px;
}

/* ===== TESTIMONIALS SECTION ===== */
.testimonials-section {
    padding: var(--space-xl) 0;
    background: var(--gradient-primary);
}

.testimonial-slider {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.testimonial-slide {
    background: white;
    padding: var(--space-lg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    text-align: center;
    display: none;
}

.testimonial-slide.active {
    display: block;
    animation: fadeIn var(--transition-normal);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.testimonial-content {
    font-size: 1.1rem;
    font-style: italic;
    color: var(--text-light);
    margin-bottom: var(--space-md);
    position: relative;
}

.testimonial-content::before,
.testimonial-content::after {
    content: '"';
    font-size: 2rem;
    color: var(--primary);
    opacity: 0.3;
    position: absolute;
}

.testimonial-content::before {
    top: -10px;
    left: -10px;
}

.testimonial-content::after {
    bottom: -20px;
    right: -10px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
}

.testimonial-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--primary);
}

.testimonial-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-info h4 {
    margin-bottom: 2px;
    color: var(--primary-dark);
}

.testimonial-info p {
    margin-bottom: 0;
    font-size: 0.9rem;
    color: var(--text-light);
}

.testimonial-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    margin-top: var(--space-md);
}

.testimonial-dots {
    display: flex;
    gap: 8px;
}

.testimonial-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--neutral-medium);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.testimonial-dot.active {
    background: var(--primary);
    transform: scale(1.2);
}

.testimonial-prev,
.testimonial-next {
    background: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--primary-dark);
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-fast);
}

.testimonial-prev:hover,
.testimonial-next:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
}

/* ===== FOOTER ===== */
.site-footer {
    background: var(--text-dark);
    color: white;
    padding: var(--space-xl) 0 0;
}

.footer-top {
    padding-bottom: var(--space-lg);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-lg);
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 992px) {
    .footer-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.footer-col h3 {
    color: white;
    font-size: 1.2rem;
    margin-bottom: var(--space-md);
    position: relative;
    padding-bottom: 10px;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--primary);
}

.footer-about .logo-text {
    color: white;
    margin-bottom: var(--space-sm);
}

.footer-about p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: var(--space-md);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: var(--space-xs);
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color var(--transition-fast);
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-links a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.footer-contact p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: var(--space-sm);
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-newsletter p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: var(--space-sm);
}

.newsletter-form {
    display: flex;
    gap: var(--space-xs);
}

.newsletter-form input {
    flex: 1;
    padding: 12px 16px;
    border: none;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-family: var(--font-body);
}

.newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.newsletter-form button {
    white-space: nowrap;
}

.footer-bottom {
    padding: var(--space-md) 0;
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

.footer-bottom p {
    margin-bottom: 0;
}

.social-links {
    display: flex;
    gap: var(--space-sm);
    justify-content: center;
    margin-top: var(--space-md);
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all var(--transition-fast);
}

.social-link:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

/* ===== UTILITIES ===== */
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.mt-1 { margin-top: var(--space-xs) !important; }
.mb-1 { margin-bottom: var(--space-xs) !important; }
.mt-2 { margin-top: var(--space-sm) !important; }
.mb-2 { margin-bottom: var(--space-sm) !important; }
.mt-3 { margin-top: var(--space-md) !important; }
.mb-3 { margin-bottom: var(--space-md) !important; }
.mt-4 { margin-top: var(--space-lg) !important; }
.mb-4 { margin-bottom: var(--space-lg) !important; }
.mt-5 { margin-top: var(--space-xl) !important; }
.mb-5 { margin-bottom: var(--space-xl) !important; }

.pt-0 { padding-top: 0 !important; }
.pb-0 { padding-bottom: 0 !important; }
.pt-1 { padding-top: var(--space-xs) !important; }
.pb-1 { padding-bottom: var(--space-xs) !important; }
.pt-2 { padding-top: var(--space-sm) !important; }
.pb-2 { padding-bottom: var(--space-sm) !important; }
.pt-3 { padding-top: var(--space-md) !important; }
.pb-3 { padding-bottom: var(--space-md) !important; }
.pt-4 { padding-top: var(--space-lg) !important; }
.pb-4 { padding-bottom: var(--space-lg) !important; }
.pt-5 { padding-top: var(--space-xl) !important; }
.pb-5 { padding-bottom: var(--space-xl) !important; }

.d-none { display: none !important; }
.d-block { display: block !important; }
.d-flex { display: flex !important; }
.d-grid { display: grid !important; }

@media (min-width: 768px) {
    .d-md-none { display: none !important; }
    .d-md-block { display: block !important; }
    .d-md-flex { display: flex !important; }
    .d-md-grid { display: grid !important; }
}

.text-sm { font-size: 0.9rem !important; }
.text-md { font-size: 1rem !important; }
.text-lg { font-size: 1.1rem !important; }
.text-xl { font-size: 1.25rem !important; }

.rounded { border-radius: var(--radius-sm) !important; }
.rounded-lg { border-radius: var(--radius-lg) !important; }
.rounded-full { border-radius: var(--radius-full) !important; }

.shadow { box-shadow: var(--shadow-sm) !important; }
.shadow-lg { box-shadow: var(--shadow-lg) !important; }

.bg-primary { background: var(--primary-soft) !important; }
.bg-white { background: white !important; }
.bg-light { background: var(--neutral-light) !important; }

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* ===== RESPONSIVE BREAKPOINTS ===== */
@media (max-width: 575.98px) {
    html { font-size: 14px; }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .btn {
        padding: 10px 20px;
    }
    
    .service-card,
    .blog-card {
        margin-bottom: var(--space-md);
    }
}

@media (min-width: 576px) and (max-width: 767.98px) {
    html { font-size: 15px; }
    
    .hero-title {
        font-size: 2.25rem;
    }
}

@media (min-width: 768px) and (max-width: 991.98px) {
    .hero-title {
        font-size: 2.75rem;
    }
}

/* ===== PRINT STYLES ===== */
@media print {
    .site-header,
    .site-footer,
    .hero-cta,
    .btn {
        display: none !important;
    }
    
    body {
        background: white !important;
        color: black !important;
        font-size: 12pt !important;
    }
    
    .container {
        width: 100% !important;
        max-width: none !important;
        padding: 0 !important;
    }
    
    a {
        color: black !important;
        text-decoration: underline !important;
    }
}

/* ===== ACCESSIBILITY ===== */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--primary-dark);
    color: white;
    padding: 8px 16px;
    text-decoration: none;
    z-index: 1001;
    transition: top 0.3s;
}

.skip-link:focus {
    top: 0;
}

/* ===== CUSTOM SCROLLBAR ===== */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--neutral-light);
}

::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

/* ===== ADDITIONAL STYLES FOR HEADER/FOOTER FUNCTIONALITY ===== */

/* User dropdown */
.nav-user {
    position: relative;
}

.user-dropdown {
    position: relative;
}

.user-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
}

.user-toggle .fa-chevron-down {
    font-size: 0.8rem;
    transition: transform 0.3s;
}

.user-toggle:hover .fa-chevron-down {
    transform: rotate(180deg);
}

.user-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    min-width: 200px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all var(--transition-normal);
    z-index: 100;
}

.user-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.user-menu a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    color: var(--text-dark);
    text-decoration: none;
    border-bottom: 1px solid var(--neutral);
    transition: all var(--transition-fast);
}

.user-menu a:hover {
    background: var(--primary-soft);
    color: var(--primary-dark);
    padding-left: 20px;
}

.user-menu a.logout {
    color: var(--danger);
}

.user-menu a.logout:hover {
    background: rgba(248, 175, 175, 0.1);
}

.user-menu .divider {
    height: 1px;
    background: var(--neutral);
    margin: 8px 0;
}

/* Mobile navigation adjustments */
.nav-mobile-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: var(--space-md);
    margin-bottom: var(--space-md);
    border-bottom: 1px solid var(--neutral);
}

.menu-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary-dark);
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all var(--transition-fast);
}

.menu-close:hover {
    background: var(--primary-soft);
}

.nav-mobile .nav-links {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.nav-mobile .nav-links li {
    margin: 0;
}

.nav-mobile .nav-links a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 0;
    color: var(--text-dark);
    text-decoration: none;
    border-bottom: 1px solid var(--neutral);
    transition: all var(--transition-fast);
}

.nav-mobile .nav-links a:hover {
    color: var(--primary-dark);
    background: var(--primary-soft);
    padding-left: 10px;
}

.nav-divider {
    font-size: 0.9rem;
    color: var(--text-light);
    padding: 15px 0 5px;
    border-bottom: 1px solid var(--neutral);
    margin-top: 15px;
}

.nav-mobile-footer {
    padding-top: var(--space-md);
    border-top: 1px solid var(--neutral);
    margin-top: var(--space-md);
}

.contact-info-mobile p {
    margin: 10px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-info-mobile a {
    color: var(--text-dark);
    text-decoration: none;
}

.social-links-mobile {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}

.social-links-mobile a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-dark);
    text-decoration: none;
    transition: all var(--transition-fast);
}

.social-links-mobile a:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-3px);
}

/* Breadcrumb */
.breadcrumb-nav {
    background: var(--neutral-light);
    padding: 15px 0;
    margin-top: 80px;
}

.breadcrumb-nav ol {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    list-style: none;
    margin: 0;
    padding: 0;
}

.breadcrumb-nav li {
    display: flex;
    align-items: center;
}

.breadcrumb-nav a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color var(--transition-fast);
}

.breadcrumb-nav a:hover {
    color: var(--primary-dark);
}

.breadcrumb-nav .separator {
    margin: 0 10px;
    color: var(--neutral-medium);
}

.breadcrumb-nav [aria-current="page"] {
    color: var(--primary-dark);
    font-weight: 600;
}

/* Back to top button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient-accent);
    color: white;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--transition-normal);
    z-index: 999;
    box-shadow: var(--shadow-lg);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--gradient-dark);
    transform: translateY(-5px);
}

/* Cookie consent */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    padding: 20px;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.1);
    transform: translateY(100%);
    transition: transform var(--transition-normal);
    z-index: 1000;
}

.cookie-consent.visible {
    transform: translateY(0);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.cookie-content p {
    margin: 0;
    flex: 1;
    min-width: 300px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
}

/* Notifications */
.notification {
    position: fixed;
    top: 100px;
    right: 30px;
    background: white;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    max-width: 400px;
    opacity: 0;
    transform: translateX(100%);
    transition: all var(--transition-normal);
    z-index: 10000;
    overflow: hidden;
}

.notification.show {
    opacity: 1;
    transform: translateX(0);
}

.notification-content {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
}

.notification-success .notification-content {
    border-left: 4px solid var(--success);
}

.notification-error .notification-content {
    border-left: 4px solid var(--danger);
}

.notification-info .notification-content {
    border-left: 4px solid var(--accent);
}

.notification-content i {
    font-size: 1.5rem;
}

.notification-success i {
    color: var(--success);
}

.notification-error i {
    color: var(--danger);
}

.notification-info i {
    color: var(--accent);
}

.notification-close {
    margin-left: auto;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-light);
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all var(--transition-fast);
}

.notification-close:hover {
    background: var(--neutral);
    color: var(--text-dark);
}

/* Loading overlay */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 3px solid var(--neutral);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Tooltips */
.custom-tooltip {
    position: fixed;
    background: var(--text-dark);
    color: white;
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    z-index: 1000;
    pointer-events: none;
    white-space: nowrap;
}

.custom-tooltip::before {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 5px solid var(--text-dark);
}

/* Lightbox */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
    z-index: 10000;
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-content {
    max-width: 90%;
    max-height: 90%;
    position: relative;
}

.lightbox img {
    max-width: 100%;
    max-height: 80vh;
    display: block;
    border-radius: var(--radius-md);
}

.lightbox-caption {
    color: white;
    text-align: center;
    padding: 15px 0;
    font-size: 1.1rem;
}

.lightbox-close {
    position: absolute;
    top: -40px;
    right: 0;
    background: none;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Service filter */
.service-filter-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: var(--space-lg);
}

.service-filter {
    padding: 8px 20px;
    background: white;
    border: 2px solid var(--neutral);
    border-radius: var(--radius-full);
    color: var(--text-light);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.service-filter:hover,
.service-filter.active {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

/* Search results */
.search-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    max-height: 400px;
    overflow-y: auto;
    display: none;
}

.search-results-list {
    padding: 10px 0;
}

.search-result-item {
    display: block;
    padding: 12px 20px;
    color: var(--text-dark);
    text-decoration: none;
    border-bottom: 1px solid var(--neutral);
    transition: all var(--transition-fast);
}

.search-result-item:hover {
    background: var(--primary-soft);
}

.search-result-item h4 {
    margin-bottom: 5px;
    font-size: 1rem;
}

.search-result-item p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-light);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.no-results {
    padding: 20px;
    text-align: center;
    color: var(--text-light);
}

/* Responsive adjustments for header/footer */
@media (max-width: 991px) {
    .nav-desktop {
        display: none;
    }
    
    .header-actions .btn {
        display: none;
    }
}

@media (min-width: 992px) {
    .menu-toggle {
        display: none;
    }
}

@media (max-width: 767px) {
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-content p {
        min-width: auto;
        justify-content: center;
    }
    
    .notification {
        left: 20px;
        right: 20px;
        max-width: none;
    }
    
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
}