/*
 * ========================================
 * Kimet Law Office - UI Redesign
 * ========================================
 * Modern, Professional Legal Services Website
 * UI REDESIGN: Complete visual overhaul, no backend changes
 * ========================================
 */

/* ==================== CSS VARIABLES ==================== */
:root {
    /* Colors - Primary Palette */
    --primary-color: #1B4965;
    --secondary-color: #C1666B;
    --accent-color: #D4A574;
    --dark-color: #0D2636;
    --light-color: #F4F6F8;
    
    /* Colors - Semantic */
    --success-color: #48A9A6;
    --warning-color: #E4B363;
    --danger-color: #C1666B;
    --info-color: #62B6CB;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #1B4965 0%, #0D2636 100%);
    --gradient-accent: linear-gradient(135deg, #D4A574 0%, #E4B363 100%);
    --gradient-hero: linear-gradient(135deg, #0D2636 0%, #1B4965 50%, #2C5F7C 100%);
    --gradient-overlay: linear-gradient(135deg, rgba(13, 38, 54, 0.9) 0%, rgba(27, 73, 101, 0.85) 100%);
    
    /* Typography */
    --font-primary: 'Cairo', 'Tajawal', sans-serif;
    --font-secondary: 'Almarai', 'Cairo', sans-serif;
    
    --font-size-h1: 3.5rem;
    --font-size-h2: 2.75rem;
    --font-size-h3: 2.25rem;
    --font-size-h4: 1.75rem;
    --font-size-h5: 1.5rem;
    --font-size-h6: 1.25rem;
    --font-size-body: 1rem;
    --font-size-small: 0.875rem;
    
    --font-weight-light: 300;
    --font-weight-regular: 400;
    --font-weight-medium: 600;
    --font-weight-bold: 700;
    --font-weight-extra-bold: 800;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-xxl: 4rem;
    --spacing-xxxl: 6rem;
    
    /* Border Radius */
    --border-radius-sm: 8px;
    --border-radius-md: 12px;
    --border-radius-lg: 16px;
    --border-radius-xl: 24px;
    --border-radius-round: 50%;
    --border-radius-pill: 50px;
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(13, 38, 54, 0.08);
    --shadow-md: 0 4px 16px rgba(13, 38, 54, 0.12);
    --shadow-lg: 0 8px 32px rgba(13, 38, 54, 0.16);
    --shadow-xl: 0 16px 48px rgba(13, 38, 54, 0.24);
    --shadow-hover: 0 12px 40px rgba(27, 73, 101, 0.2);
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    --transition-bounce: 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    font-size: var(--font-size-body);
    font-weight: var(--font-weight-regular);
    line-height: 1.7;
    color: var(--dark-color);
    background-color: var(--light-color);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ==================== TYPOGRAPHY ==================== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    font-weight: var(--font-weight-bold);
    line-height: 1.3;
    margin-bottom: var(--spacing-md);
    color: var(--dark-color);
}

h1 { font-size: var(--font-size-h1); }
h2 { font-size: var(--font-size-h2); }
h3 { font-size: var(--font-size-h3); }
h4 { font-size: var(--font-size-h4); }
h5 { font-size: var(--font-size-h5); }
h6 { font-size: var(--font-size-h6); }

p {
    margin-bottom: var(--spacing-sm);
    line-height: 1.8;
}

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

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

/* ==================== SECTION TITLES ==================== */
.section-title {
    font-size: var(--font-size-h2);
    font-weight: var(--font-weight-extra-bold);
    color: var(--dark-color);
    margin-bottom: var(--spacing-md);
    position: relative;
    display: inline-block;
    text-align: center;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--gradient-accent);
    border-radius: var(--border-radius-sm);
}

.section-subtitle {
    font-size: var(--font-size-body);
    color: #666;
    margin-bottom: var(--spacing-xl);
    line-height: 1.8;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* ==================== PRELOADER ==================== */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-hero);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 99999;
    transition: opacity var(--transition-slow) ease, visibility var(--transition-slow) ease;
}

#preloader.fade-out {
    opacity: 0;
    visibility: hidden;
}

.preloader-content {
    text-align: center;
    position: relative;
}

.logo-container {
    width: 180px;
    height: 180px;
    margin: 0 auto 30px;
    position: relative;
    animation: logoFloat 3s ease-in-out infinite;
}

.logo-container img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 10px 30px rgba(212, 165, 116, 0.4));
    animation: logoPulse 2s ease-in-out infinite;
}

.loading-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 220px;
    height: 220px;
    border-radius: var(--border-radius-round);
    border: 3px solid transparent;
    border-top-color: var(--accent-color);
    border-right-color: var(--accent-color);
    animation: ringRotate 1.5s linear infinite;
}

.loading-ring::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    border-radius: var(--border-radius-round);
    border: 3px solid transparent;
    border-bottom-color: var(--secondary-color);
    border-left-color: var(--secondary-color);
    animation: ringRotate 2s linear infinite reverse;
}

.loading-text {
    color: #fff;
    font-size: 1.25rem;
    font-weight: var(--font-weight-medium);
    letter-spacing: 2px;
    margin-top: 20px;
    animation: textGlow 2s ease-in-out infinite;
}

.loading-dots span {
    animation: dotBounce 1.4s infinite ease-in-out both;
    display: inline-block;
    margin: 0 2px;
}

.loading-dots span:nth-child(1) { animation-delay: -0.32s; }
.loading-dots span:nth-child(2) { animation-delay: -0.16s; }

/* Preloader Animations */
@keyframes logoFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
}

@keyframes logoPulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.05); opacity: 0.9; }
}

@keyframes ringRotate {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes textGlow {
    0%, 100% { text-shadow: 0 0 10px rgba(212, 165, 116, 0.5); }
    50% { text-shadow: 0 0 20px rgba(212, 165, 116, 0.8), 0 0 30px rgba(212, 165, 116, 0.6); }
}

@keyframes dotBounce {
    0%, 80%, 100% { transform: scale(0); }
    40% { transform: scale(1); }
}

/* ==================== HERO SECTION ==================== */
.hero-section {
    position: relative;
    min-height: 100vh;
    background: var(--gradient-hero);
    overflow: hidden;
    display: flex;
    align-items: center;
    padding: var(--spacing-xxxl) 0;
}

.hero-section::before {
    content: '';
    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 1440 320"><path fill="%23ffffff" fill-opacity="0.03" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,154.7C960,171,1056,181,1152,165.3C1248,149,1344,107,1392,85.3L1440,64L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') bottom center no-repeat;
    background-size: cover;
    opacity: 0.4;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(212, 165, 116, 0.08), transparent 50%);
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: var(--font-size-h1);
    font-weight: var(--font-weight-extra-bold);
    color: #fff;
    margin-bottom: var(--spacing-lg);
    line-height: 1.2;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.hero-title .text-primary {
    color: var(--accent-color);
    position: relative;
    display: inline-block;
}

.hero-subtitle {
    font-size: var(--font-size-h4);
    color: #e0e0e0;
    margin-bottom: var(--spacing-lg);
    font-weight: var(--font-weight-medium);
}

.hero-description {
    font-size: 1.1rem;
    color: #c0c0c0;
    line-height: 1.8;
    margin-bottom: var(--spacing-xl);
    max-width: 600px;
}

.hero-buttons {
    display: flex;
    gap: var(--spacing-md);
    flex-wrap: wrap;
}

/* ==================== BUTTONS ==================== */
.btn {
    padding: 15px 40px;
    font-size: 1.1rem;
    font-weight: var(--font-weight-medium);
    border-radius: var(--border-radius-pill);
    transition: all var(--transition-normal);
    text-decoration: none;
    display: inline-block;
    border: none;
    cursor: pointer;
    text-align: center;
}

.btn-primary {
    background: var(--gradient-accent);
    color: var(--dark-color);
    box-shadow: var(--shadow-md);
}

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

.btn-outline-light {
    background: transparent;
    color: #fff;
    border: 2px solid #fff;
}

.btn-outline-light:hover {
    background: #fff;
    color: var(--primary-color);
}

.btn-secondary {
    background: var(--secondary-color);
    color: #fff;
    box-shadow: var(--shadow-md);
}

.btn-secondary:hover {
    background: var(--dark-color);
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

/* ==================== CARDS ==================== */
.card {
    background: #fff;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
    border: none;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.card-body {
    padding: var(--spacing-lg);
}

.card-title {
    font-size: var(--font-size-h5);
    font-weight: var(--font-weight-bold);
    color: var(--dark-color);
    margin-bottom: var(--spacing-sm);
}

.card-text {
    color: #666;
    line-height: 1.8;
}

/* ==================== SERVICES SECTION ==================== */
.services-section {
    padding: var(--spacing-xxxl) 0;
    background: #fff;
}

.service-card {
    position: relative;
    padding: var(--spacing-xl);
    background: #fff;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
    border: 1px solid rgba(27, 73, 101, 0.08);
    height: 100%;
}

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

.service-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-accent);
    border-radius: var(--border-radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-lg);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
}

.service-icon i {
    font-size: 2.5rem;
    color: #fff;
}

.service-title {
    font-size: var(--font-size-h5);
    font-weight: var(--font-weight-bold);
    color: var(--dark-color);
    margin-bottom: var(--spacing-sm);
}

.service-description {
    color: #666;
    line-height: 1.8;
    margin-bottom: var(--spacing-md);
}

.service-link {
    color: var(--primary-color);
    font-weight: var(--font-weight-medium);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition-normal);
}

.service-link:hover {
    color: var(--accent-color);
    gap: 12px;
}

/* ==================== STATS SECTION ==================== */
.stats-section {
    padding: var(--spacing-xxxl) 0;
    background: var(--gradient-primary);
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    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 1440 320"><path fill="%23ffffff" fill-opacity="0.03" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,154.7C960,171,1056,181,1152,165.3C1248,149,1344,107,1392,85.3L1440,64L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>');
    opacity: 0.1;
}

.stat-card {
    text-align: center;
    padding: var(--spacing-xl);
    position: relative;
}

.stat-icon {
    width: 70px;
    height: 70px;
    background: rgba(212, 165, 116, 0.2);
    border-radius: var(--border-radius-round);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--spacing-md);
    transition: var(--transition-normal);
}

.stat-card:hover .stat-icon {
    background: var(--accent-color);
    transform: scale(1.1);
}

.stat-icon i {
    font-size: 2rem;
    color: var(--accent-color);
    transition: var(--transition-normal);
}

.stat-card:hover .stat-icon i {
    color: #fff;
}

.stat-number {
    font-size: 3rem;
    font-weight: var(--font-weight-extra-bold);
    color: #fff;
    margin-bottom: var(--spacing-xs);
    display: block;
}

.stat-label {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: var(--font-weight-medium);
}

/* ==================== TEAM SECTION ==================== */
.team-section {
    padding: var(--spacing-xxxl) 0;
    background: var(--light-color);
}

.team-card {
    background: #fff;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.team-image {
    position: relative;
    overflow: hidden;
    padding-top: 100%;
    background: var(--gradient-primary);
}

.team-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

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

.team-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--gradient-overlay);
    padding: var(--spacing-md);
    transform: translateY(100%);
    transition: var(--transition-normal);
}

.team-card:hover .team-overlay {
    transform: translateY(0);
}

.team-social {
    display: flex;
    gap: var(--spacing-sm);
    justify-content: center;
}

.team-social a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: var(--border-radius-round);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: var(--transition-normal);
}

.team-social a:hover {
    background: var(--accent-color);
    transform: translateY(-3px);
}

.team-info {
    padding: var(--spacing-lg);
    text-align: center;
}

.team-name {
    font-size: var(--font-size-h5);
    font-weight: var(--font-weight-bold);
    color: var(--dark-color);
    margin-bottom: var(--spacing-xs);
}

.team-position {
    color: var(--accent-color);
    font-weight: var(--font-weight-medium);
    margin-bottom: var(--spacing-sm);
}

.team-bio {
    color: #666;
    font-size: var(--font-size-small);
    line-height: 1.6;
}

/* ==================== TESTIMONIALS SECTION ==================== */
.testimonials-section {
    padding: var(--spacing-xxxl) 0;
    background: #fff;
}

.testimonial-card {
    background: var(--light-color);
    border-radius: var(--border-radius-lg);
    padding: var(--spacing-xl);
    position: relative;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
    border: 1px solid rgba(27, 73, 101, 0.05);
}

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

.testimonial-quote {
    position: absolute;
    top: var(--spacing-lg);
    right: var(--spacing-lg);
    font-size: 3rem;
    color: var(--accent-color);
    opacity: 0.2;
}

.testimonial-text {
    color: #666;
    line-height: 1.8;
    margin-bottom: var(--spacing-lg);
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

.testimonial-avatar {
    width: 60px;
    height: 60px;
    border-radius: var(--border-radius-round);
    background: var(--gradient-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.5rem;
    font-weight: var(--font-weight-bold);
    flex-shrink: 0;
}

.testimonial-info {
    flex: 1;
}

.testimonial-name {
    font-weight: var(--font-weight-bold);
    color: var(--dark-color);
    margin-bottom: 4px;
}

.testimonial-rating {
    color: var(--accent-color);
}

/* ==================== ARTICLES & VIDEOS SECTION ==================== */
.articles-section,
.videos-section {
    padding: var(--spacing-xxxl) 0;
}

.articles-section {
    background: var(--light-color);
}

.videos-section {
    background: #fff;
}

.article-card,
.video-card {
    background: #fff;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.article-card:hover,
.video-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.article-image,
.video-thumbnail {
    position: relative;
    overflow: hidden;
    padding-top: 60%;
    background: var(--gradient-primary);
}

.article-image img,
.video-thumbnail img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.article-card:hover .article-image img,
.video-card:hover .video-thumbnail img {
    transform: scale(1.1);
}

.article-badge,
.video-badge {
    position: absolute;
    top: var(--spacing-md);
    right: var(--spacing-md);
    background: var(--accent-color);
    color: #fff;
    padding: 6px 16px;
    border-radius: var(--border-radius-pill);
    font-size: var(--font-size-small);
    font-weight: var(--font-weight-medium);
}

.video-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: var(--border-radius-round);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 2rem;
    transition: var(--transition-normal);
}

.video-card:hover .video-play-btn {
    background: var(--accent-color);
    color: #fff;
    transform: translate(-50%, -50%) scale(1.1);
}

.article-content,
.video-content {
    padding: var(--spacing-lg);
    flex: 1;
    display: flex;
    flex-direction: column;
}

.article-meta,
.video-meta {
    display: flex;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-sm);
    font-size: var(--font-size-small);
    color: #999;
}

.article-meta span,
.video-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.article-title,
.video-title {
    font-size: var(--font-size-h6);
    font-weight: var(--font-weight-bold);
    color: var(--dark-color);
    margin-bottom: var(--spacing-sm);
    line-height: 1.4;
}

.article-excerpt,
.video-description {
    color: #666;
    line-height: 1.7;
    margin-bottom: var(--spacing-md);
    flex: 1;
}

.article-link,
.video-link {
    color: var(--primary-color);
    font-weight: var(--font-weight-medium);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition-normal);
}

.article-link:hover,
.video-link:hover {
    color: var(--accent-color);
    gap: 12px;
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 1200px) {
    :root {
        --font-size-h1: 3rem;
        --font-size-h2: 2.5rem;
        --font-size-h3: 2rem;
    }
}

@media (max-width: 992px) {
    :root {
        --font-size-h1: 2.5rem;
        --font-size-h2: 2rem;
        --font-size-h3: 1.75rem;
        --spacing-xxxl: 4rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 768px) {
    :root {
        --font-size-h1: 2rem;
        --font-size-h2: 1.75rem;
        --font-size-h3: 1.5rem;
        --spacing-xl: 2rem;
        --spacing-xxl: 3rem;
        --spacing-xxxl: 3rem;
    }
    
    .btn {
        padding: 12px 30px;
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    :root {
        --font-size-h1: 1.75rem;
        --font-size-h2: 1.5rem;
        --font-size-h3: 1.25rem;
    }
    
    .hero-section {
        min-height: 80vh;
    }
}



/* ==================== FOOTER ==================== */
.footer {
    background: var(--dark-color);
    color: #fff;
}

.footer-main {
    padding: var(--spacing-xxxl) 0 var(--spacing-xl);
    background: var(--gradient-primary);
}

.footer-logo img {
    filter: brightness(0) invert(1);
    transition: transform var(--transition-normal);
}

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

.footer-logo h5 {
    color: #fff;
    font-weight: var(--font-weight-bold);
    margin-bottom: var(--spacing-sm);
}

.footer-description {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    margin-bottom: var(--spacing-lg);
}

.footer-social {
    display: flex;
    gap: var(--spacing-sm);
}

.footer-social .social-link {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius-round);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    transition: all var(--transition-normal);
    font-size: 1.1rem;
}

.footer-social .social-link:hover {
    background: var(--accent-color);
    color: var(--dark-color);
    transform: translateY(-5px);
}

.footer-title {
    color: var(--accent-color);
    font-size: 1.2rem;
    font-weight: var(--font-weight-bold);
    margin-bottom: var(--spacing-lg);
    position: relative;
    padding-bottom: var(--spacing-sm);
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 50px;
    height: 2px;
    background: var(--accent-color);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: var(--spacing-sm);
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all var(--transition-normal);
    display: inline-block;
    position: relative;
    padding-right: 15px;
}

.footer-links a::before {
    content: '\f053';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    right: 0;
    opacity: 0;
    transition: all var(--transition-normal);
}

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

.footer-links a:hover::before {
    opacity: 1;
}

.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-md);
    color: rgba(255, 255, 255, 0.8);
}

.footer-contact i {
    color: var(--accent-color);
    font-size: 1.1rem;
    margin-top: 4px;
    flex-shrink: 0;
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color var(--transition-normal);
}

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

/* Footer Newsletter */
.footer-newsletter {
    background: rgba(0, 0, 0, 0.2);
    padding: var(--spacing-xl) 0;
}

.footer-newsletter h5 {
    color: #fff;
    font-weight: var(--font-weight-bold);
    font-size: 1.3rem;
}

.footer-newsletter p {
    color: rgba(255, 255, 255, 0.7);
}

.newsletter-form .input-group {
    max-width: 500px;
}

.newsletter-form .form-control {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    padding: 14px 20px;
    border-radius: var(--border-radius-md) 0 0 var(--border-radius-md);
    transition: all var(--transition-normal);
}

.newsletter-form .form-control::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.newsletter-form .form-control:focus {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--accent-color);
    box-shadow: none;
    color: #fff;
}

.newsletter-form .btn {
    background: var(--gradient-accent);
    color: var(--dark-color);
    border: none;
    padding: 14px 30px;
    font-weight: var(--font-weight-medium);
    border-radius: 0 var(--border-radius-md) var(--border-radius-md) 0;
    transition: all var(--transition-normal);
}

.newsletter-form .btn:hover {
    background: var(--accent-color);
    transform: translateX(-3px);
}

/* Footer Bottom */
.footer-bottom {
    background: rgba(0, 0, 0, 0.3);
    padding: var(--spacing-lg) 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.copyright p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
}

.footer-bottom-links {
    display: flex;
    gap: var(--spacing-lg);
    justify-content: flex-start;
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color var(--transition-normal);
}

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

/* ==================== BACK TO TOP BUTTON ==================== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient-accent);
    color: var(--dark-color);
    border: none;
    border-radius: var(--border-radius-round);
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-lg);
    z-index: 1000;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--accent-color);
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

/* ==================== WHATSAPP FLOAT BUTTON ==================== */
.whatsapp-float {
    position: fixed;
    bottom: 90px;
    left: 30px;
    z-index: 1000;
}

.whatsapp-btn {
    width: 60px;
    height: 60px;
    background: #25D366;
    color: #fff;
    border-radius: var(--border-radius-round);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    text-decoration: none;
    box-shadow: var(--shadow-lg);
    transition: all var(--transition-normal);
    animation: pulse 2s infinite;
}

.whatsapp-btn:hover {
    background: #128C7E;
    color: #fff;
    transform: scale(1.1);
    box-shadow: var(--shadow-xl);
}

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

/* ==================== COOKIE CONSENT ==================== */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--dark-color);
    color: #fff;
    padding: var(--spacing-lg) 0;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.2);
    z-index: 9999;
    display: none;
    opacity: 0;
    transform: translateY(100%);
    transition: all var(--transition-normal);
}

.cookie-consent.show {
    opacity: 1;
    transform: translateY(0);
}

.cookie-consent p {
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
}

.cookie-consent a {
    color: var(--accent-color);
    text-decoration: underline;
}

.cookie-consent .btn {
    background: var(--accent-color);
    color: var(--dark-color);
    border: none;
    padding: 8px 20px;
    border-radius: var(--border-radius-md);
    font-weight: var(--font-weight-medium);
    transition: all var(--transition-normal);
}

.cookie-consent .btn:hover {
    background: var(--gradient-accent);
    transform: translateY(-2px);
}

.cookie-consent .btn-outline {
    background: transparent;
    color: rgba(255, 255, 255, 0.8);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.cookie-consent .btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    color: #fff;
}

/* ==================== RESPONSIVE FOOTER ==================== */
@media (max-width: 992px) {
    .footer-main {
        padding: var(--spacing-xxl) 0 var(--spacing-lg);
    }
    
    .footer-bottom-links {
        justify-content: center;
        margin-top: var(--spacing-sm);
    }
}

@media (max-width: 768px) {
    .footer-section {
        text-align: center;
    }
    
    .footer-title::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .footer-links a::before {
        display: none;
    }
    
    .footer-contact li {
        justify-content: center;
    }
    
    .footer-bottom-links {
        flex-direction: column;
        gap: var(--spacing-sm);
        align-items: center;
    }
    
    .back-to-top,
    .whatsapp-float {
        left: 20px;
    }
    
    .back-to-top {
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }
    
    .whatsapp-btn {
        width: 55px;
        height: 55px;
        font-size: 1.8rem;
    }
}



/* ==================== ANIMATIONS & EFFECTS ==================== */

/* Fade In Up Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Fade In Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Slide In From Right */
@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Slide In From Left */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Scale Up Animation */
@keyframes scaleUp {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Bounce Animation */
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* Rotate Animation */
@keyframes rotate360 {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Shake Animation */
@keyframes shake {
    0%, 100% {
        transform: translateX(0);
    }
    10%, 30%, 50%, 70%, 90% {
        transform: translateX(-5px);
    }
    20%, 40%, 60%, 80% {
        transform: translateX(5px);
    }
}

/* Glow Animation */
@keyframes glow {
    0%, 100% {
        box-shadow: 0 0 5px var(--accent-color), 0 0 10px var(--accent-color);
    }
    50% {
        box-shadow: 0 0 20px var(--accent-color), 0 0 30px var(--accent-color);
    }
}

/* Scroll Indicator Animation */
@keyframes scrollIndicator {
    0% {
        opacity: 0;
        transform: translateY(0);
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: translateY(20px);
    }
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.scroll-down {
    display: inline-block;
    width: 40px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: var(--border-radius-round);
    color: #fff;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: scrollIndicator 2s infinite;
    transition: all var(--transition-normal);
}

.scroll-down:hover {
    border-color: var(--accent-color);
    color: var(--accent-color);
    animation: bounce 1s infinite;
}

/* Animate on Scroll Classes */
.animate-in {
    animation: fadeInUp 0.8s ease-out;
}

.fade-in {
    animation: fadeIn 1s ease-out;
}

.slide-in-right {
    animation: slideInRight 0.8s ease-out;
}

.slide-in-left {
    animation: slideInLeft 0.8s ease-out;
}

.scale-up {
    animation: scaleUp 0.6s ease-out;
}

/* Hover Effects */
.hover-lift {
    transition: transform var(--transition-normal);
}

.hover-lift:hover {
    transform: translateY(-10px);
}

.hover-scale {
    transition: transform var(--transition-normal);
}

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

.hover-rotate {
    transition: transform var(--transition-normal);
}

.hover-rotate:hover {
    transform: rotate(5deg);
}

.hover-glow {
    transition: box-shadow var(--transition-normal);
}

.hover-glow:hover {
    box-shadow: 0 0 20px var(--accent-color);
}

/* Image Hover Effects */
.image-zoom {
    overflow: hidden;
}

.image-zoom img {
    transition: transform var(--transition-slow);
}

.image-zoom:hover img {
    transform: scale(1.1);
}

.image-brightness {
    overflow: hidden;
}

.image-brightness img {
    transition: filter var(--transition-normal);
}

.image-brightness:hover img {
    filter: brightness(1.2);
}

/* Text Gradient Effect */
.text-gradient {
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Shimmer Effect */
@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

.shimmer {
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    background-size: 1000px 100%;
    animation: shimmer 2s infinite;
}

/* Loading Spinner */
.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid rgba(27, 73, 101, 0.1);
    border-top-color: var(--primary-color);
    border-radius: var(--border-radius-round);
    animation: rotate360 1s linear infinite;
}

/* Ripple Effect */
@keyframes ripple {
    0% {
        transform: scale(0);
        opacity: 1;
    }
    100% {
        transform: scale(4);
        opacity: 0;
    }
}

.ripple-effect {
    position: relative;
    overflow: hidden;
}

.ripple-effect::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: var(--border-radius-round);
    background: rgba(255, 255, 255, 0.5);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.ripple-effect:active::after {
    width: 300px;
    height: 300px;
}

/* Floating Animation */
@keyframes floating {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

.floating {
    animation: floating 3s ease-in-out infinite;
}

/* Parallax Effect */
.parallax {
    transition: transform 0.5s cubic-bezier(0, 0, 0, 1);
}

/* Smooth Reveal on Scroll */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

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

/* Button Ripple Effect */
.btn-ripple {
    position: relative;
    overflow: hidden;
}

.btn-ripple::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: var(--border-radius-round);
    background: rgba(255, 255, 255, 0.5);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-ripple:active::before {
    width: 300px;
    height: 300px;
}

/* Gradient Border Animation */
@keyframes gradientBorder {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.gradient-border {
    position: relative;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color), var(--secondary-color));
    background-size: 200% 200%;
    animation: gradientBorder 3s ease infinite;
}

/* Typewriter Effect */
@keyframes typewriter {
    from {
        width: 0;
    }
    to {
        width: 100%;
    }
}

.typewriter {
    overflow: hidden;
    border-left: 2px solid var(--accent-color);
    white-space: nowrap;
    animation: typewriter 3s steps(40) 1s 1 normal both;
}

/* Neon Glow Effect */
.neon-glow {
    text-shadow: 
        0 0 5px var(--accent-color),
        0 0 10px var(--accent-color),
        0 0 20px var(--accent-color),
        0 0 40px var(--accent-color);
    animation: glow 2s ease-in-out infinite;
}

/* Card Flip Effect */
.flip-card {
    perspective: 1000px;
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.8s;
    transform-style: preserve-3d;
}

.flip-card:hover .flip-card-inner {
    transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
}

.flip-card-back {
    transform: rotateY(180deg);
}

/* Progress Bar Animation */
@keyframes progressBar {
    from {
        width: 0;
    }
    to {
        width: 100%;
    }
}

.progress-animated {
    animation: progressBar 2s ease-out;
}

/* Skeleton Loading */
@keyframes skeleton {
    0% {
        background-position: -200px 0;
    }
    100% {
        background-position: calc(200px + 100%) 0;
    }
}

.skeleton {
    background: linear-gradient(90deg, #f0f0f0 0px, #f8f8f8 40px, #f0f0f0 80px);
    background-size: 200px 100%;
    animation: skeleton 1.5s infinite;
}

/* Attention Seeker */
@keyframes attention {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.attention {
    animation: attention 1s ease-in-out infinite;
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

