/*
Theme Name: Dhilaalo Pro - Full Width Edition
Theme URI: https://dhilaalo.com
Author: Dhilaalo Team
Author URI: https://dhilaalo.com
Description: Premium Full Width Magazine & Blogging WordPress Theme - Edge to Edge, Modern, Professional
Version: 5.0
License: GPL v2 or later
Text Domain: dhilaalo
*/

/* ================= TABLE OF CONTENTS ================= */
/* 1. ROOT VARIABLES & RESET
/* 2. TYPOGRAPHY
/* 3. FULL WIDTH LAYOUT
/* 4. HEADER & NAVIGATION
/* 5. HERO SLIDER (FULL)
/* 6. CATEGORIES (FULL)
/* 7. POSTS & CARDS (FULL)
/* 8. MAGAZINE LAYOUTS (FULL)
/* 9. SIDEBAR (FULL)
/* 10. PAGINATION
/* 11. NEWSLETTER (FULL)
/* 12. TESTIMONIALS (FULL)
/* 13. FOOTER (FULL)
/* 14. RESPONSIVE FULL WIDTH
/* 15. ANIMATIONS
/* ==================================================== */

/* ================= 1. ROOT VARIABLES & RESET ================= */
:root {
    /* Colors */
    --primary: #2563eb;
    --primary-dark: #1e40af;
    --primary-light: #3b82f6;
    --secondary: #8b5cf6;
    --accent: #f59e0b;
    --dark: #0f172a;
    --dark-light: #1e293b;
    --gray: #64748b;
    --gray-light: #94a3b8;
    --light: #f8fafc;
    --white: #ffffff;
    --border: #e2e8f0;
    
    /* Spacing */
    --space-xs: 8px;
    --space-sm: 16px;
    --space-md: 24px;
    --space-lg: 32px;
    --space-xl: 48px;
    --space-2xl: 64px;
    --space-3xl: 80px;
    
    /* Borders */
    --radius: 12px;
    --radius-lg: 20px;
    --radius-xl: 30px;
    --radius-full: 999px;
    
    /* Shadows */
    --shadow: 0 10px 30px rgba(0,0,0,0.05);
    --shadow-hover: 0 20px 40px rgba(0,0,0,0.1);
    --shadow-strong: 0 25px 50px rgba(0,0,0,0.15);
    
    /* Transitions */
    --transition: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* Container */
    --container-padding: 40px;
    --container-max: 1600px;
}

/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: var(--light);
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
}

/* ================= 2. TYPOGRAPHY ================= */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--dark);
    letter-spacing: -0.02em;
}

h1 { font-size: clamp(40px, 6vw, 64px); }
h2 { font-size: clamp(32px, 5vw, 48px); }
h3 { font-size: clamp(24px, 4vw, 32px); }
h4 { font-size: clamp(20px, 3vw, 24px); }
h5 { font-size: clamp(18px, 2.5vw, 20px); }
h6 { font-size: clamp(16px, 2vw, 18px); }

p {
    color: var(--gray);
    font-size: clamp(16px, 2vw, 18px);
    line-height: 1.7;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ================= 3. FULL WIDTH LAYOUT ================= */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

/* Full width sections */
.full-width {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

/* Section spacing */
section {
    padding: var(--space-3xl) 0;
}

@media (max-width: 768px) {
    section {
        padding: var(--space-2xl) 0;
    }
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: var(--space-2xl);
}

.section-header h2 {
    font-size: clamp(36px, 5vw, 48px);
    font-weight: 800;
    margin-bottom: var(--space-sm);
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.section-header p {
    color: var(--gray);
    font-size: clamp(18px, 2vw, 20px);
    max-width: 700px;
    margin: 0 auto;
}

/* ================= 4. HEADER & NAVIGATION ================= */
.dh-header {
    position: sticky;
    top: 0;
    width: 100%;
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    z-index: 1000;
    transition: var(--transition);
}

.dh-header.scrolled {
    box-shadow: var(--shadow);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-sm) var(--container-padding);
    max-width: var(--container-max);
    margin: 0 auto;
}

/* Logo */
.site-branding .site-title {
    font-size: 28px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.5px;
}

.site-branding img {
    max-height: 50px;
    width: auto;
}

/* Navigation */
.main-nav {
    flex: 1;
    display: flex;
    justify-content: center;
}

.nav-menu {
    display: flex;
    gap: 40px;
    list-style: none;
}

.nav-menu li {
    position: relative;
}

.nav-menu a {
    font-weight: 600;
    color: var(--dark);
    padding: 8px 0;
    position: relative;
    font-size: 16px;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transition: var(--transition);
    border-radius: var(--radius-full);
}

.nav-menu a:hover::after,
.nav-menu .current-menu-item a::after {
    width: 100%;
}

/* Dropdown */
.nav-menu .menu-item-has-children {
    position: relative;
}

.nav-menu .menu-item-has-children > a {
    padding-right: 20px;
}

.nav-menu .menu-item-has-children > a::before {
    content: '\f107';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
}

.nav-menu .sub-menu {
    position: absolute;
    top: 100%;
    left: -20px;
    min-width: 240px;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-hover);
    padding: 15px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: var(--transition);
    z-index: 100;
    border: 1px solid var(--border);
}

.nav-menu .menu-item-has-children:hover .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-menu .sub-menu a {
    padding: 12px 25px;
    display: block;
    font-size: 15px;
}

.nav-menu .sub-menu a:hover {
    background: var(--light);
    padding-left: 30px;
}

/* Right Actions */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 25px;
}

.search-toggle {
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: var(--dark);
    transition: var(--transition);
}

.search-toggle:hover {
    color: var(--primary);
    transform: scale(1.1);
}

.btn-text {
    color: var(--dark);
    font-weight: 600;
    font-size: 16px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--white);
    padding: 12px 28px;
    border-radius: var(--radius-full);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
    box-shadow: 0 5px 15px rgba(37,99,235,0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(37,99,235,0.4);
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    background: none;
    border: none;
    z-index: 1001;
}

.menu-toggle span {
    width: 28px;
    height: 2px;
    background: var(--dark);
    transition: var(--transition);
    border-radius: var(--radius-full);
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(-10px);
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Mobile Styles */
@media (max-width: 992px) {
    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 350px;
        height: 100vh;
        background: var(--white);
        padding: 100px 40px;
        box-shadow: -10px 0 40px rgba(0,0,0,0.1);
        transition: right 0.5s ease;
        z-index: 999;
    }

    .main-nav.active {
        right: 0;
    }

    .nav-menu {
        flex-direction: column;
        gap: 25px;
    }

    .nav-menu a {
        font-size: 18px;
    }

    .nav-menu .sub-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        padding-left: 20px;
        display: none;
        border: none;
    }

    .nav-menu .menu-item-has-children.active .sub-menu {
        display: block;
    }

    .nav-actions .btn-text,
    .nav-actions .btn-primary {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }

    .mobile-auth {
        display: flex;
        flex-direction: column;
        gap: 15px;
        margin-top: 40px;
    }

    .mobile-auth .btn-primary {
        display: flex;
        justify-content: center;
    }
}

/* ================= 5. HERO SLIDER (FULL) ================= */
.hero-slider {
    position: relative;
    height: 90vh;
    min-height: 700px;
    overflow: hidden;
    width: 100vw;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1s ease;
    display: flex;
    align-items: center;
}

.slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

.slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(15,23,42,0.9) 0%, rgba(37,99,235,0.7) 100%);
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 800px;
    color: var(--white);
    padding: 0 var(--container-padding);
    margin: 0 auto;
}

.post-category {
    display: inline-block;
    background: var(--accent);
    color: var(--white);
    padding: 8px 20px;
    border-radius: var(--radius-full);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-content h1 {
    font-size: clamp(40px, 6vw, 64px);
    color: var(--white);
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-content .post-meta {
    display: flex;
    gap: 25px;
    margin-bottom: 20px;
    font-size: 16px;
    opacity: 0.9;
}

.hero-content .post-meta i {
    margin-right: 8px;
}

.hero-content p {
    color: rgba(255,255,255,0.9);
    font-size: clamp(18px, 2.5vw, 20px);
    margin-bottom: 35px;
    max-width: 700px;
}

/* Slider Navigation */
.slider-nav {
    position: absolute;
    bottom: 40px;
    right: 40px;
    display: flex;
    gap: 15px;
    z-index: 10;
}

.slider-nav button {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    border: 2px solid rgba(255,255,255,0.3);
    color: var(--white);
    cursor: pointer;
    font-size: 20px;
    transition: var(--transition);
    backdrop-filter: blur(5px);
}

.slider-nav button:hover {
    background: var(--primary);
    border-color: var(--primary);
    transform: scale(1.1);
}

.slider-dots {
    position: absolute;
    bottom: 40px;
    left: 40px;
    display: flex;
    gap: 10px;
    z-index: 10;
}

.slider-dots .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: var(--transition);
}

.slider-dots .dot.active {
    width: 40px;
    border-radius: var(--radius-full);
    background: var(--primary);
}

@media (max-width: 768px) {
    .hero-slider {
        height: 70vh;
        min-height: 500px;
    }

    .hero-content h1 {
        font-size: 32px;
    }

    .hero-content p {
        font-size: 16px;
    }

    .slider-nav,
    .slider-dots {
        bottom: 20px;
    }

    .slider-nav {
        right: 20px;
    }

    .slider-dots {
        left: 20px;
    }
}

/* ================= 6. CATEGORIES (FULL) ================= */
.categories-section {
    padding: var(--space-3xl) 0;
    background: var(--white);
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.category-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px 30px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border);
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transform: scaleX(0);
    transition: var(--transition);
}

.category-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.category-card:hover::before {
    transform: scaleX(1);
}

.category-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.category-card h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.category-count {
    color: var(--gray);
    font-size: 15px;
}

@media (max-width: 992px) {
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 576px) {
    .categories-grid {
        grid-template-columns: 1fr;
    }
}

/* ================= 7. POSTS & CARDS (FULL) ================= */
.posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.post-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--border);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.post-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.post-image {
    position: relative;
    height: 240px;
    overflow: hidden;
}

.post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.post-card:hover .post-image img {
    transform: scale(1.1);
}

.post-category-badge {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--white);
    padding: 6px 18px;
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 600;
    z-index: 2;
    box-shadow: 0 5px 15px rgba(37,99,235,0.3);
}

.post-content {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.post-meta {
    display: flex;
    gap: 15px;
    font-size: 14px;
    color: var(--gray);
    margin-bottom: 12px;
}

.post-meta i {
    margin-right: 5px;
}

.post-title {
    font-size: 20px;
    margin-bottom: 12px;
    line-height: 1.4;
}

.post-title a {
    color: var(--dark);
    transition: var(--transition);
}

.post-title a:hover {
    color: var(--primary);
}

.post-excerpt {
    color: var(--gray);
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}

.read-more {
    color: var(--primary);
    font-weight: 600;
    font-size: 15px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
}

.read-more i {
    transition: transform 0.3s ease;
}

.read-more:hover i {
    transform: translateX(8px);
}

@media (max-width: 992px) {
    .posts-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .posts-grid {
        grid-template-columns: 1fr;
    }
    
    .post-image {
        height: 200px;
    }
}

/* ================= 8. MAGAZINE LAYOUTS (FULL) ================= */
.magazine-layout {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 40px;
}

/* Featured Post */
.featured-post-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--border);
}

.featured-post-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.featured-image {
    height: 400px;
    overflow: hidden;
}

.featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.featured-post-card:hover .featured-image img {
    transform: scale(1.05);
}

.featured-content {
    padding: 35px;
}

.featured-category {
    display: inline-block;
    background: var(--accent);
    color: var(--white);
    padding: 6px 18px;
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.featured-title {
    font-size: 28px;
    margin-bottom: 15px;
}

.featured-title a {
    color: var(--dark);
    transition: var(--transition);
}

.featured-title a:hover {
    color: var(--primary);
}

.featured-excerpt {
    color: var(--gray);
    margin-bottom: 20px;
    line-height: 1.7;
    font-size: 16px;
}

.featured-meta {
    display: flex;
    gap: 25px;
    color: var(--gray);
    font-size: 15px;
    margin-bottom: 25px;
}

/* List Posts */
.list-posts {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.list-post-item {
    display: flex;
    gap: 20px;
    background: var(--white);
    padding: 20px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--border);
}

.list-post-item:hover {
    transform: translateX(-8px);
    box-shadow: var(--shadow-hover);
}

.list-post-image {
    width: 120px;
    height: 90px;
    border-radius: var(--radius);
    overflow: hidden;
    flex-shrink: 0;
}

.list-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.list-post-content h3 {
    font-size: 18px;
    margin-bottom: 8px;
}

.list-post-content h3 a {
    color: var(--dark);
    transition: var(--transition);
}

.list-post-content h3 a:hover {
    color: var(--primary);
}

.list-post-meta {
    font-size: 13px;
    color: var(--gray);
    display: flex;
    gap: 15px;
}

@media (max-width: 992px) {
    .magazine-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .featured-image {
        height: 300px;
    }
}

/* ================= 9. SIDEBAR (FULL) ================= */
.sidebar {
    position: sticky;
    top: 100px;
    align-self: start;
}

.widget {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}

.widget-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 12px;
}

.widget-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: var(--radius-full);
}

.widget ul {
    list-style: none;
}

.widget li {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border);
}

.widget li:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.widget a {
    color: var(--gray);
    transition: var(--transition);
    display: block;
}

.widget a:hover {
    color: var(--primary);
    padding-left: 8px;
}

/* Popular Posts Widget */
.popular-post {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.popular-post:last-child {
    margin-bottom: 0;
}

.popular-post img {
    width: 80px;
    height: 80px;
    border-radius: var(--radius);
    object-fit: cover;
}

.popular-post h4 {
    font-size: 16px;
    margin-bottom: 5px;
}

.popular-post .date {
    font-size: 13px;
    color: var(--gray);
}

/* Tags Widget */
.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tag-cloud a {
    background: var(--light);
    padding: 6px 15px;
    border-radius: var(--radius-full);
    font-size: 13px;
    color: var(--gray);
    border: 1px solid var(--border);
    transition: var(--transition);
}

.tag-cloud a:hover {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
    transform: translateY(-2px);
}

@media (max-width: 992px) {
    .sidebar {
        position: static;
    }
}

/* ================= 10. PAGINATION ================= */
.pagination {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 60px;
}

.pagination a,
.pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--white);
    color: var(--dark);
    border: 1px solid var(--border);
    transition: var(--transition);
    font-weight: 600;
}

.pagination .current {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--white);
    border-color: transparent;
}

.pagination a:hover {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
    transform: translateY(-3px);
}

/* ================= 11. NEWSLETTER (FULL) ================= */
.newsletter-section {
    background: linear-gradient(135deg, var(--dark), var(--dark-light));
    position: relative;
    overflow: hidden;
    width: 100vw;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

.newsletter-section::before {
    content: '';
    position: absolute;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, var(--primary) 0%, transparent 70%);
    top: -300px;
    right: -300px;
    opacity: 0.2;
}

.newsletter-section::after {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--secondary) 0%, transparent 70%);
    bottom: -200px;
    left: -200px;
    opacity: 0.2;
}

.newsletter-wrapper {
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-xl);
    padding: 60px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    position: relative;
    z-index: 2;
}

.newsletter-content {
    color: var(--white);
}

.newsletter-content h2 {
    color: var(--white);
    margin-bottom: 15px;
    font-size: clamp(32px, 4vw, 42px);
}

.newsletter-content p {
    color: rgba(255,255,255,0.8);
    margin-bottom: 30px;
    font-size: 18px;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    gap: 15px;
}

.newsletter-form input {
    flex: 1;
    padding: 16px 25px;
    border: none;
    border-radius: var(--radius-full);
    font-size: 16px;
    outline: none;
    background: rgba(255,255,255,0.1);
    color: var(--white);
    border: 1px solid rgba(255,255,255,0.2);
}

.newsletter-form input::placeholder {
    color: rgba(255,255,255,0.6);
}

.newsletter-form input:focus {
    border-color: var(--primary);
    background: rgba(255,255,255,0.15);
}

.newsletter-form button {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--white);
    border: none;
    border-radius: var(--radius-full);
    padding: 16px 35px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
    box-shadow: 0 10px 25px rgba(37,99,235,0.3);
}

.newsletter-form button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(37,99,235,0.4);
}

.newsletter-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 50px;
}

.stat-item {
    text-align: center;
    color: var(--white);
}

.stat-item h3 {
    color: var(--white);
    font-size: 36px;
    margin-bottom: 5px;
}

.stat-item p {
    color: rgba(255,255,255,0.8);
    font-size: 15px;
}

@media (max-width: 992px) {
    .newsletter-wrapper {
        grid-template-columns: 1fr;
        padding: 40px;
        gap: 40px;
    }
    
    .form-group {
        flex-direction: column;
    }
    
    .newsletter-stats {
        flex-wrap: wrap;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .newsletter-wrapper {
        padding: 30px;
    }
}

/* ================= 12. TESTIMONIALS (FULL) ================= */
.testimonials-section {
    background: linear-gradient(135deg, var(--light), #ffffff);
    width: 100vw;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

.testimonial-slider {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    overflow: hidden;
    padding: 0 20px;
}

.testimonial-track {
    display: flex;
    transition: transform 0.6s ease;
}

.testimonial-card {
    min-width: 100%;
    padding: 50px;
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-hover);
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--border);
}

.testimonial-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-strong);
}

.testimonial-card p {
    font-size: 20px;
    font-style: italic;
    margin-bottom: 30px;
    color: var(--dark);
    line-height: 1.8;
}

.testimonial-card .user {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.testimonial-card img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary);
}

.testimonial-card h4 {
    margin-bottom: 5px;
    font-size: 18px;
}

.testimonial-card span {
    font-size: 15px;
    color: var(--gray);
}

.testimonial-slider .prev,
.testimonial-slider .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--white);
    border: none;
    cursor: pointer;
    font-size: 20px;
    transition: var(--transition);
    z-index: 10;
    box-shadow: 0 10px 20px rgba(37,99,235,0.3);
}

.testimonial-slider .prev:hover,
.testimonial-slider .next:hover {
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 15px 30px rgba(37,99,235,0.4);
}

.testimonial-slider .prev {
    left: -20px;
}

.testimonial-slider .next {
    right: -20px;
}

@media (max-width: 768px) {
    .testimonial-card {
        padding: 30px;
    }
    
    .testimonial-card p {
        font-size: 18px;
    }
    
    .testimonial-slider .prev,
    .testimonial-slider .next {
        display: none;
    }
}

/* ================= 13. FOOTER (FULL) ================= */
.site-footer {
    background: var(--dark);
    color: var(--gray-light);
    padding: 80px 0 0;
    width: 100vw;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 50px;
    padding-bottom: 60px;
}

.footer-col h4 {
    color: var(--white);
    font-size: 20px;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 12px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: var(--radius-full);
}

.footer-col p {
    color: var(--gray-light);
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 20px;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-contact span {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
}

.footer-contact i {
    color: var(--primary);
    width: 20px;
    font-size: 18px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 15px;
}

.footer-links a {
    color: var(--gray-light);
    transition: var(--transition);
    font-size: 15px;
    display: inline-block;
}

.footer-links a:hover {
    color: var(--primary);
    transform: translateX(8px);
}

/* Footer Newsletter */
.footer-newsletter {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-newsletter input {
    padding: 14px 18px;
    border: none;
    border-radius: var(--radius);
    background: rgba(255,255,255,0.1);
    color: var(--white);
    outline: none;
    border: 1px solid rgba(255,255,255,0.1);
}

.footer-newsletter input:focus {
    border-color: var(--primary);
}

.footer-newsletter button {
    padding: 14px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--white);
    border: none;
    border-radius: var(--radius);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.footer-newsletter button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(37,99,235,0.3);
}

/* Footer Social */
.footer-social {
    display: flex;
    justify-content: center;
    gap: 20px;
    padding: 40px 0;
    border-top: 1px solid rgba(255,255,255,0.1);
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-social a {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 18px;
    transition: var(--transition);
}

.footer-social a:hover {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    transform: translateY(-5px) scale(1.1);
}

/* Footer Bottom */
.footer-bottom {
    text-align: center;
    padding: 25px 0;
    font-size: 15px;
    color: var(--gray-light);
}

@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

/* ================= 14. RESPONSIVE FULL WIDTH ================= */
@media (max-width: 1400px) {
    :root {
        --container-padding: 30px;
    }
}

@media (max-width: 1200px) {
    :root {
        --container-padding: 25px;
    }
}

@media (max-width: 992px) {
    :root {
        --container-padding: 20px;
        --space-3xl: 60px;
    }
}

@media (max-width: 768px) {
    :root {
        --container-padding: 15px;
        --space-3xl: 50px;
        --space-2xl: 40px;
    }
}

@media (max-width: 576px) {
    :root {
        --container-padding: 12px;
        --space-3xl: 40px;
    }
}

/* ================= 15. ANIMATIONS ================= */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.fade-in-up {
    animation: fadeInUp 0.8s ease forwards;
}

.fade-in-left {
    animation: fadeInLeft 0.8s ease forwards;
}

.fade-in-right {
    animation: fadeInRight 0.8s ease forwards;
}

.scale-in {
    animation: scaleIn 0.6s ease forwards;
}

/* Loading Spinner */
.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid var(--border);
    border-top-color: var(--primary);
    border-right-color: var(--secondary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Hover Effects */
.hover-lift {
    transition: var(--transition);
}

.hover-lift:hover {
    transform: translateY(-5px);
}

.hover-scale {
    transition: var(--transition);
}

.hover-scale:hover {
    transform: scale(1.05);
}

.hover-glow {
    transition: var(--transition);
}

.hover-glow:hover {
    box-shadow: 0 0 30px rgba(37,99,235,0.3);
}

/* ================= UTILITY CLASSES ================= */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

/* Margin */
.mt-0 { margin-top: 0; }
.mt-1 { margin-top: var(--space-xs); }
.mt-2 { margin-top: var(--space-sm); }
.mt-3 { margin-top: var(--space-md); }
.mt-4 { margin-top: var(--space-lg); }
.mt-5 { margin-top: var(--space-xl); }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: var(--space-xs); }
.mb-2 { margin-bottom: var(--space-sm); }
.mb-3 { margin-bottom: var(--space-md); }
.mb-4 { margin-bottom: var(--space-lg); }
.mb-5 { margin-bottom: var(--space-xl); }

/* Padding */
.p-1 { padding: var(--space-xs); }
.p-2 { padding: var(--space-sm); }
.p-3 { padding: var(--space-md); }
.p-4 { padding: var(--space-lg); }
.p-5 { padding: var(--space-xl); }

/* Display */
.hidden { display: none; }
.visible { display: block; }
.flex { display: flex; }
.grid { display: grid; }

/* Width */
.w-100 { width: 100%; }
.w-75 { width: 75%; }
.w-50 { width: 50%; }
.w-25 { width: 25%; }

/* Print Styles */
@media print {
    .dh-header,
    .hero-slider,
    .newsletter-section,
    .testimonials-section,
    .site-footer,
    .pagination,
    .sidebar,
    .footer-social,
    .footer-newsletter {
        display: none !important;
    }

    body {
        background: white;
        color: black;
        font-size: 12pt;
    }

    .container {
        max-width: 100%;
        padding: 0;
        margin: 0;
    }

    a {
        text-decoration: underline;
        color: black;
    }

    img {
        max-width: 100% !important;
        page-break-inside: avoid;
    }

    h1, h2, h3, h4, h5, h6 {
        page-break-after: avoid;
        page-break-inside: avoid;
    }

    p {
        orphans: 3;
        widows: 3;
    }
}