/**
 * Main Stylesheet
 * mumsataa.my.id
 * 
 * Modern, clean, and professional design
 * Fully responsive with Bootstrap 5
 */

/* ================================================================================
   CSS VARIABLES
   ================================================================================ */
:root {
    /* Colors */
    --primary-color: #4f46e5;
    --primary-dark: #4338ca;
    --primary-light: #818cf8;
    --secondary-color: #64748b;
    --success-color: #10b981;
    --danger-color: #ef4444;
    --warning-color: #f59e0b;
    --info-color: #3b82f6;
    
    /* Neutrals */
    --dark-color: #0f172a;
    --dark-light: #1e293b;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1e293b;
    --gray-900: #0f172a;
    
    /* White variants */
    --white: #ffffff;
    --white-soft: #f8fafc;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    --gradient-hero: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-dark: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    
    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-display: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    
    /* Spacing */
    --section-padding: 5rem;
    --section-padding-sm: 3rem;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    
    /* Transitions */
    --transition-fast: 150ms ease-in-out;
    --transition-base: 300ms ease-in-out;
    --transition-slow: 500ms ease-in-out;
    
    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius: 0.5rem;
    --radius-md: 0.75rem;
    --radius-lg: 1rem;
    --radius-xl: 1.5rem;
    --radius-full: 9999px;
}

/* ================================================================================
   BASE STYLES
   ================================================================================ */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-primary);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--gray-700);
    background-color: var(--white);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.2;
    color: var(--dark-color);
    margin-bottom: 1rem;
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: clamp(1.25rem, 2.5vw, 1.5rem); }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: 1rem;
}

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

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

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

/* ================================================================================
   NAVBAR
   ================================================================================ */
.navbar {
    padding: 1rem 0;
    background: transparent;
    transition: all var(--transition-base);
    z-index: 1030;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow);
    padding: 0.75rem 0;
}

.navbar-brand {
    display: flex;
    align-items: center;
}

.navbar-brand img {
    max-height: 40px;
    max-width: 120px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}

.brand-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.navbar-nav .nav-link {
    font-weight: 500;
    color: var(--gray-700);
    padding: 0.5rem 1rem;
    position: relative;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 1rem;
    right: 1rem;
    height: 2px;
    background: var(--primary-color);
    transform: scaleX(0);
    transition: transform var(--transition-base);
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--primary-color);
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    transform: scaleX(1);
}

.navbar-spacer {
    height: 76px;
}

/* Mobile menu */
@media (max-width: 991.98px) {
    .navbar {
        padding: 0.75rem 0;
    }
    
    .navbar-collapse {
        background: var(--white);
        padding: 1rem;
        border-radius: var(--radius-lg);
        box-shadow: var(--shadow-lg);
        margin-top: 0.75rem;
        max-height: calc(100vh - 100px);
        overflow-y: auto;
        border: 1px solid var(--gray-200);
    }
    
    .navbar-nav {
        padding: 0.5rem 0;
    }
    
    .navbar-nav .nav-item {
        margin: 0.25rem 0;
    }
    
    .navbar-nav .nav-link {
        padding: 0.75rem 1rem;
        border-radius: var(--radius);
        transition: all 0.2s ease;
    }
    
    .navbar-nav .nav-link:hover,
    .navbar-nav .nav-link.active {
        background: var(--gray-100);
        color: var(--primary-color);
    }
    
    .navbar-nav .nav-link::after {
        display: none;
    }
    
    /* Mobile search box */
    .search-box {
        margin: 0.75rem 0;
        width: 100%;
    }
    
    .search-box input {
        width: 100%;
    }
    
    .search-dropdown {
        position: static;
        width: 100%;
        margin-top: 0.5rem;
        box-shadow: var(--shadow-md);
    }
    
    /* Mobile dark mode toggle */
    #darkModeToggle {
        padding: 0.75rem 1rem;
        width: 100%;
        text-align: left;
        border-radius: var(--radius);
    }
    
    #darkModeToggle:hover {
        background: var(--gray-100);
    }
    
    /* Mobile WhatsApp button */
    .navbar-nav .btn-primary {
        margin-top: 0.5rem;
        width: 100%;
        justify-content: center;
    }
    
    /* Navbar toggler improvements */
    .navbar-toggler {
        padding: 0.5rem;
        border: none;
        border-radius: var(--radius);
        transition: all 0.2s ease;
    }
    
    .navbar-toggler:focus {
        box-shadow: none;
        background: var(--gray-100);
    }
    
    .navbar-toggler-icon {
        width: 1.5em;
        height: 1.5em;
    }
    
    .navbar-spacer {
        height: 70px;
    }
}

/* ================================================================================
   BUTTONS
   ================================================================================ */
.btn {
    font-weight: 500;
    padding: 0.625rem 1.5rem;
    border-radius: var(--radius);
    transition: all var(--transition-fast);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-primary {
    background: var(--gradient-primary);
    border: none;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px -5px rgba(79, 70, 229, 0.4);
}

.btn-outline-primary {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-outline-primary:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
}

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

.btn-light:hover {
    background: var(--gray-100);
    color: var(--primary-dark);
}

.btn-lg {
    padding: 0.875rem 2rem;
    font-size: 1.1rem;
}

.btn-sm {
    padding: 0.375rem 1rem;
    font-size: 0.875rem;
}

.btn-rounded {
    border-radius: var(--radius-full);
}

/* ================================================================================
   HERO SECTION
   ================================================================================ */
.hero-section {
    position: relative;
    padding: var(--section-padding) 0;
    background: var(--gradient-hero);
    color: var(--white);
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

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

.hero-title {
    color: var(--white);
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.hero-subtitle {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: 2rem;
    max-width: 600px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-image {
    position: relative;
    z-index: 1;
}

.hero-image img {
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
}

.hero-shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
}

.hero-shape-1 {
    width: 300px;
    height: 300px;
    top: -100px;
    right: -100px;
}

.hero-shape-2 {
    width: 200px;
    height: 200px;
    bottom: -50px;
    left: -50px;
}

/* ================================================================================
   SECTION STYLES
   ================================================================================ */
.section {
    padding: var(--section-padding) 0;
}

.section-sm {
    padding: var(--section-padding-sm) 0;
}

.section-bg {
    background: var(--gray-100);
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    margin-bottom: 1rem;
}

.section-title p {
    color: var(--gray-500);
    max-width: 600px;
    margin: 0 auto;
}

.section-divider {
    width: 60px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
    margin: 0 auto 1.5rem;
}

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

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

.card-img-top {
    height: 200px;
    object-fit: cover;
}

.card-body {
    padding: 1.5rem;
}

.card-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.card-text {
    color: var(--gray-500);
    margin-bottom: 1rem;
}

/* Blog card */
.blog-card .card-img-top {
    height: 220px;
}

.blog-card .card-category {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: var(--primary-light);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 500;
    border-radius: var(--radius-full);
    margin-bottom: 0.75rem;
}

.blog-card .card-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.875rem;
    color: var(--gray-400);
    margin-bottom: 0.75rem;
}

/* Portfolio card */
.portfolio-card {
    position: relative;
    overflow: hidden;
}

.portfolio-card img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

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

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.9) 0%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.5rem;
    opacity: 0;
    transition: opacity var(--transition-base);
}

.portfolio-card:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-overlay h4 {
    color: var(--white);
    margin-bottom: 0.5rem;
}

.portfolio-overlay p {
    color: var(--gray-300);
    margin-bottom: 0;
}

.portfolio-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-top: 0.75rem;
}

.portfolio-tags span {
    padding: 0.25rem 0.5rem;
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
    font-size: 0.75rem;
    border-radius: var(--radius-sm);
}

/* Product card */
.product-card .card-img-top {
    height: 200px;
    background: var(--gray-100);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--primary-color);
}

.product-card .card-price {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.75rem;
}

.product-card .card-type {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.375rem 0.75rem;
    background: var(--white);
    font-size: 0.75rem;
    font-weight: 500;
    border-radius: var(--radius-full);
    box-shadow: var(--shadow);
}

/* ================================================================================
   ABOUT SECTION
   ================================================================================ */
.about-image {
    position: relative;
}

.about-image img {
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
}

.about-image::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    right: 20px;
    bottom: 20px;
    border: 3px solid var(--primary-color);
    border-radius: var(--radius-xl);
    z-index: -1;
}

.about-content h2 {
    margin-bottom: 1.5rem;
}

.about-content p {
    color: var(--gray-500);
    margin-bottom: 1.5rem;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.about-stat h3 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 0.25rem;
}

.about-stat p {
    font-size: 0.875rem;
    color: var(--gray-400);
    margin: 0;
}

/* ================================================================================
   TESTIMONIALS
   ================================================================================ */
.testimonial-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    text-align: center;
}

.testimonial-card .quote-icon {
    font-size: 2.5rem;
    color: var(--primary-light);
    margin-bottom: 1rem;
}

.testimonial-card p {
    font-size: 1.1rem;
    color: var(--gray-600);
    font-style: italic;
    margin-bottom: 1.5rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-author h5 {
    margin: 0;
    font-size: 1rem;
}

.testimonial-author span {
    font-size: 0.875rem;
    color: var(--gray-400);
}

.rating {
    color: var(--warning-color);
    margin-bottom: 1rem;
}

/* ================================================================================
   CTA SECTION
   ================================================================================ */
.cta-section {
    background: var(--gradient-primary);
    padding: var(--section-padding) 0;
    color: var(--white);
    text-align: center;
}

.cta-section h2 {
    color: var(--white);
    margin-bottom: 1rem;
}

.cta-section p {
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto 2rem;
}

/* ================================================================================
   FOOTER
   ================================================================================ */
.footer {
    background: var(--dark-color);
    color: var(--gray-300);
    padding: var(--section-padding) 0 1.5rem;
}

.footer-title {
    color: var(--white);
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
}

.footer-text {
    color: var(--gray-400);
    line-height: 1.7;
}

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

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: var(--gray-400);
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: var(--white);
    padding-left: 5px;
}

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

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.footer-contact i {
    color: var(--primary-color);
    font-size: 1.1rem;
}

.footer-contact a {
    color: var(--gray-400);
}

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

.social-links {
    display: flex;
    gap: 0.75rem;
}

.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: var(--white);
    transition: all var(--transition-fast);
}

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

.footer-divider {
    border-color: rgba(255, 255, 255, 0.1);
    margin: 3rem 0 1.5rem;
}

.copyright {
    color: var(--gray-500);
    margin: 0;
    font-size: 0.875rem;
}

.footer-credits {
    color: var(--gray-500);
    margin: 0;
    font-size: 0.875rem;
}

/* ================================================================================
   BACK TO TOP BUTTON
   ================================================================================ */
.btn-back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--transition-base);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.btn-back-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
}

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

.btn-whatsapp-float:hover {
    color: var(--white);
    transform: scale(1.1);
}

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

/* ================================================================================
   BREADCRUMB
   ================================================================================ */
.breadcrumb-section {
    background: var(--gray-100);
    padding: 2rem 0;
}

.breadcrumb {
    margin: 0;
}

.breadcrumb-item a {
    color: var(--gray-500);
}

.breadcrumb-item.active {
    color: var(--primary-color);
}

/* ================================================================================
   PAGINATION
   ================================================================================ */
.pagination {
    gap: 0.25rem;
}

.page-link {
    border: none;
    padding: 0.5rem 1rem;
    color: var(--gray-600);
    border-radius: var(--radius);
    font-weight: 500;
}

.page-link:hover {
    background: var(--gray-100);
    color: var(--primary-color);
}

.page-item.active .page-link {
    background: var(--primary-color);
    color: var(--white);
}

/* ================================================================================
   FORMS
   ================================================================================ */
.form-control {
    border: 2px solid var(--gray-200);
    border-radius: var(--radius);
    padding: 0.75rem 1rem;
    font-size: 1rem;
    transition: all var(--transition-fast);
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.1);
}

.form-label {
    font-weight: 500;
    color: var(--gray-700);
    margin-bottom: 0.5rem;
}

/* ================================================================================
   SEARCH BOX
   ================================================================================ */
.search-box {
    position: relative;
}

.search-box input {
    padding-left: 3rem;
}

.search-box i {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray-400);
}

/* ================================================================================
   FILTER BUTTONS
   ================================================================================ */
.filter-buttons {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.5rem 1rem;
    border: 2px solid var(--gray-200);
    background: var(--white);
    color: var(--gray-600);
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white);
}

/* ================================================================================
   MODAL STYLES
   ================================================================================ */
.modal-content {
    border: none;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
}

.modal-header {
    border-bottom: 1px solid var(--gray-100);
    padding: 1.5rem;
}

.modal-body {
    padding: 1.5rem;
}

.modal-footer {
    border-top: 1px solid var(--gray-100);
    padding: 1rem 1.5rem;
}

/* ================================================================================
   BADGES
   ================================================================================ */
.badge {
    padding: 0.5em 0.75em;
    font-weight: 500;
    border-radius: var(--radius);
}

.badge-pill {
    border-radius: var(--radius-full);
}

/* ================================================================================
   READING PROGRESS
   ================================================================================ */
.reading-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: var(--primary-color);
    z-index: 9999;
    transition: width 0.1s;
}

/* ================================================================================
   SHARE BUTTONS
   ================================================================================ */
.share-buttons {
    display: flex;
    gap: 0.75rem;
}

.share-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: all var(--transition-fast);
}

.share-btn:hover {
    transform: translateY(-3px);
    color: var(--white);
}

.share-btn.facebook { background: #1877f2; }
.share-btn.twitter { background: #1da1f2; }
.share-btn.whatsapp { background: #25d366; }
.share-btn.linkedin { background: #0a66c2; }

/* ================================================================================
   RESPONSIVE BREAKPOINTS
   ================================================================================ */
@media (max-width: 1399.98px) {
    :root {
        --section-padding: 4rem;
    }
}

@media (max-width: 1199.98px) {
    .about-stats {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 991.98px) {
    :root {
        --section-padding: 3rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .about-image {
        margin-bottom: 2rem;
    }
    
    .about-image::before {
        display: none;
    }
}

@media (max-width: 767.98px) {
    .about-stats {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .btn-whatsapp-float {
        bottom: 80px;
        right: 20px;
        width: 48px;
        height: 48px;
        font-size: 1.5rem;
    }
    
    .btn-back-to-top {
        right: 20px;
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 575.98px) {
    :root {
        --section-padding: 2.5rem;
    }
    
    .section-title {
        margin-bottom: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .hero-buttons .btn {
        width: 100%;
    }
}

/* ================================================================================
   ANIMATIONS
   ================================================================================ */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

.animate-fade-in {
    animation: fadeIn 0.6s ease forwards;
}

.animate-slide-up {
    animation: slideUp 0.6s ease forwards;
}

.animate-slide-in-right {
    animation: slideInRight 0.6s ease forwards;
}

/* ================================================================================
   UTILITIES
   ================================================================================ */
.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.bg-gradient-primary {
    background: var(--gradient-primary);
}

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

.shadow-hover:hover {
    box-shadow: var(--shadow-xl);
}

.img-hover-zoom {
    overflow: hidden;
}

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

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

/* Loading spinner */
.spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: var(--white);
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Empty state */
.empty-state {
    text-align: center;
    padding: 4rem 2rem;
}

.empty-state-icon {
    font-size: 4rem;
    color: var(--gray-300);
    margin-bottom: 1rem;
}

.empty-state h4 {
    color: var(--gray-600);
    margin-bottom: 0.5rem;
}

.empty-state p {
    color: var(--gray-400);
}

/* ================================================================================
   SEARCH DROPDOWN
   ================================================================================ */
.search-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    z-index: 1000;
    max-height: 400px;
    overflow-y: auto;
    margin-top: 0.5rem;
}

.search-result-item {
    display: block;
    padding: 1rem;
    border-bottom: 1px solid var(--gray-100);
    color: inherit;
    text-decoration: none;
    transition: background var(--transition-fast);
}

.search-result-item:hover {
    background: var(--gray-50);
}

.search-result-img {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: var(--radius);
    margin-right: 1rem;
}

.search-result-icon {
    width: 50px;
    height: 50px;
    background: var(--gray-100);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
}

.search-result-content h6 {
    margin-bottom: 0.25rem;
    font-size: 0.95rem;
}

/* ================================================================================
   NEWSLETTER FORM
   ================================================================================ */
.newsletter-form .input-group {
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-form input {
    border-top-left-radius: var(--radius-full);
    border-bottom-left-radius: var(--radius-full);
    padding-left: 1.5rem;
}

.newsletter-form button {
    border-top-right-radius: var(--radius-full);
    border-bottom-right-radius: var(--radius-full);
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

/* ================================================================================
   DARK MODE
   ================================================================================ */
.dark-mode {
    --dark-color: #f8fafc;
    --dark-light: #e2e8f0;
    --gray-100: #1e293b;
    --gray-200: #334155;
    --gray-300: #475569;
    --gray-400: #64748b;
    --gray-500: #94a3b8;
    --gray-600: #cbd5e1;
    --gray-700: #e2e8f0;
    --gray-800: #f1f5f9;
    --gray-900: #f8fafc;
    --white: #0f172a;
    --white-soft: #1e293b;
}

.dark-mode body {
    background-color: var(--white);
    color: var(--gray-600);
}

.dark-mode .navbar.scrolled {
    background: rgba(15, 23, 42, 0.95);
}

.dark-mode .card {
    background: var(--white-soft);
    color: var(--gray-600);
}

.dark-mode .footer {
    background: var(--white-soft);
}

.dark-mode .form-control {
    background: var(--white-soft);
    border-color: var(--gray-300);
    color: var(--gray-600);
}

.dark-mode .dropdown-menu {
    background: var(--white-soft);
    border-color: var(--gray-300);
}

.dark-mode .dropdown-item {
    color: var(--gray-600);
}

.dark-mode .dropdown-item:hover {
    background: var(--gray-200);
}

.dark-mode .search-dropdown {
    background: var(--white-soft);
    border-color: var(--gray-300);
}

.dark-mode .search-result-item:hover {
    background: var(--gray-200);
}

/* ================================================================================
   VIDEO PAGE STYLES
   ================================================================================ */
.video-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.video-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15) !important;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.video-card:hover .video-overlay {
    opacity: 1;
}

.video-overlay .btn {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease;
}

.video-overlay .btn:hover {
    transform: scale(1.1);
}

.video-duration {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(0,0,0,0.85);
    color: white;
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
}

.video-card .card-img-top {
    transition: transform 0.5s ease;
}

.video-card:hover .card-img-top {
    transform: scale(1.05);
}

.video-modal .modal-content {
    background: #000;
    border: none;
}

.video-modal .modal-header {
    background: #1a1a1a;
    border-bottom: 1px solid #333;
    color: white;
}

.video-modal .btn-close {
    filter: invert(1);
}

/* Responsive Video Grid */
@media (max-width: 768px) {
    .video-card {
        margin-bottom: 1.5rem;
    }
    
    .video-overlay {
        opacity: 1;
        background: rgba(0,0,0,0.25);
    }
    
    .video-overlay .btn {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .video-duration {
        font-size: 0.75rem;
        padding: 2px 6px;
    }
    
    .filter-buttons {
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 10px;
    }
    
    .filter-btn {
        white-space: nowrap;
        flex-shrink: 0;
    }
}

@media (max-width: 576px) {
    .video-card .card-title {
        font-size: 1rem;
    }
    
    .video-card .card-text {
        font-size: 0.875rem;
    }
}

/* Video Admin Styles */
.video-thumbnail-preview {
    max-width: 200px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

/* Search Box Mobile Optimization */
@media (max-width: 991px) {
    .search-box {
        width: 100%;
        margin: 0.5rem 0 !important;
    }
    
    .search-dropdown {
        position: fixed;
        top: 70px;
        left: 10px;
        right: 10px;
        max-height: 60vh;
    }
}

/* Navbar Mobile */
@media (max-width: 991px) {
    .navbar-collapse {
        max-height: 80vh;
        overflow-y: auto;
    }
    
    #darkModeToggle {
        padding: 0.5rem;
    }
}

/* Fix navbar spacing for logo and hamburger menu */
.navbar > .container {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
}

.navbar-brand {
    margin-right: 1rem;
    padding-right: 0.5rem;
    flex-shrink: 0;
}

.navbar-toggler {
    margin-left: auto;
    padding: 0.25rem 0.5rem;
    border: none;
    background: transparent;
}

/* Mobile responsive fixes */
@media (max-width: 991.98px) {
    .navbar-brand img {
        max-width: 100px;
        max-height: 35px;
    }
    
    .navbar-brand {
        max-width: calc(100% - 60px);
        overflow: hidden;
    }
}

/* Ensure hamburger icon is visible and clickable */
.navbar-toggler-icon {
    width: 1.5em;
    height: 1.5em;
}
