/* --- Ajuta Sites Modern & Enhanced Stylesheet --- */
/* --- Updated: August 2025 --- */

/* ============================================ */
/* 1. IMPORTS & VARIABLES                       */
/* ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Poppins:wght@300;400;500;600;700;800&display=swap');

:root {
    /* Primary Colors */
  
    --accent-color: #05bfdb;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --error-color: #ef4444;
    
    /* Neutral Colors */
    --white: #ffffff;
    --light-color: #f8fafc;
    --light-gray: #f1f5f9;
    --gray-100: #e2e8f0;
    --gray-200: #cbd5e1;
    --gray-300: #94a3b8;
    --gray-400: #64748b;
    --gray-500: #475569;
    --gray-600: #334155;
    --dark-color: #1e293b;
    --text-color: #0f172a;
    --text-muted: #64748b;
    --text-light: #94a3b8;
    
    /* Typography */
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-display: 'Poppins', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    
    /* Spacing Scale */
    --space-xs: 0.25rem;    /* 4px */
    --space-sm: 0.5rem;     /* 8px */
    --space-md: 1rem;       /* 16px */
    --space-lg: 1.5rem;     /* 24px */
    --space-xl: 2rem;       /* 32px */
    --space-2xl: 3rem;      /* 48px */
    --space-3xl: 4rem;      /* 64px */
    --space-4xl: 6rem;      /* 96px */
    
    /* Border & Radius */
    --border-width: 1px;
    --border-color: var(--gray-200);
    --radius-sm: 0.375rem;  /* 6px */
    --radius-md: 0.5rem;    /* 8px */
    --radius-lg: 0.75rem;   /* 12px */
    --radius-xl: 1rem;      /* 16px */
    --radius-2xl: 1.5rem;   /* 24px */
    --radius-full: 9999px;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);
    
    /* Transitions */
    --transition-fast: 0.15s ease-in-out;
    --transition-base: 0.3s ease-in-out;
    --transition-slow: 0.5s ease-in-out;
    
    /* Z-Index Scale */
    --z-dropdown: 1000;
    --z-sticky: 1020;
    --z-fixed: 1030;
    --z-modal-backdrop: 1040;
    --z-modal: 1050;
    --z-popover: 1060;
    --z-tooltip: 1070;
    --z-toast: 1080;
}



/* ============================================ */
/* 2. RESET & BASE STYLES                       */
/* ============================================ */

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}


/* ============================================ */
/* 3. UTILITY CLASSES                           */
/* ============================================ */

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

@media (min-width: 640px) {
    .container { padding: 0 var(--space-xl); }
}

/* Text Utilities */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.text-xs { font-size: 0.75rem; }
.text-sm { font-size: 0.875rem; }
.text-base { font-size: 1rem; }
.text-lg { font-size: 1.125rem; }
.text-xl { font-size: 1.25rem; }
.text-2xl { font-size: 1.5rem; }

.font-light { font-weight: 300; }
.font-normal { font-weight: 400; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.font-extrabold { font-weight: 800; }

.text-primary { color: var(--primary-color); }
.text-secondary { color: var(--secondary-color); }
.text-accent { color: var(--accent-color); }
.text-muted { color: var(--text-muted); }
.text-white { color: var(--white); }

/* Spacing Utilities */
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: var(--space-sm); }
.mb-2 { margin-bottom: var(--space-md); }
.mb-3 { margin-bottom: var(--space-lg); }
.mb-4 { margin-bottom: var(--space-xl); }
.mb-5 { margin-bottom: var(--space-2xl); }
.mb-6 { margin-bottom: var(--space-3xl); }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: var(--space-sm); }
.mt-2 { margin-top: var(--space-md); }
.mt-3 { margin-top: var(--space-lg); }
.mt-4 { margin-top: var(--space-xl); }
.mt-5 { margin-top: var(--space-2xl); }
.mt-6 { margin-top: var(--space-3xl); }

/* Display Utilities */
.hidden { display: none; }
.block { display: block; }
.inline-block { display: inline-block; }
.flex { display: flex; }
.inline-flex { display: inline-flex; }
.grid { display: grid; }

/* Flexbox Utilities */
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.items-end { align-items: flex-end; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.justify-start { justify-content: flex-start; }
.justify-end { justify-content: flex-end; }
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.flex-1 { flex: 1; }

/* Grid Utilities */
.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid-cols-auto { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }

.gap-1 { gap: var(--space-sm); }
.gap-2 { gap: var(--space-md); }
.gap-3 { gap: var(--space-lg); }
.gap-4 { gap: var(--space-xl); }
.gap-5 { gap: var(--space-2xl); }
.gap-6 { gap: var(--space-3xl); }

/* ============================================ */
/* 4. ANIMATION KEYFRAMES                       */
/* ============================================ */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(2rem);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

@keyframes bounce {
    0%, 100% { transform: translateY(-25%); animation-timing-function: cubic-bezier(0.8, 0, 1, 1); }
    50% { transform: none; animation-timing-function: cubic-bezier(0, 0, 0.2, 1); }
}

/* ============================================ */
/* 5. COMPONENTS                                */
/* ============================================ */

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-xl);
    font-family: var(--font-display);
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border: 2px solid transparent;
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: all var(--transition-base);
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left var(--transition-slow);
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    color: var(--white);
}

.btn-secondary {
    background: transparent;
    color: var(--secondary-color);
    border-color: var(--secondary-color);
}

.btn-secondary:hover {
    background: var(--secondary-color);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-light {
    background: var(--white);
    color: var(--dark-color);
    border-color: var(--white);
    box-shadow: var(--shadow-sm);
}

.btn-light:hover {
    background: var(--light-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    color: var(--dark-color);
}

.btn-lg {
    padding: var(--space-lg) var(--space-2xl);
    font-size: 1rem;
}

.btn-sm {
    padding: var(--space-sm) var(--space-md);
    font-size: 0.75rem;
}

/* Cards */
.card {
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    transition: all var(--transition-base);
    border: 1px solid var(--gray-100);
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-2xl);
}

.card-body {
    padding: var(--space-2xl);
}

.card-header {
    padding: var(--space-lg) var(--space-2xl);
    border-bottom: 1px solid var(--gray-100);
    background: var(--light-color);
}

.card-footer {
    padding: var(--space-lg) var(--space-2xl);
    border-top: 1px solid var(--gray-100);
    background: var(--light-color);
}





/* ============================================ */
/* 7. MAIN CONTENT AREAS                       */
/* ============================================ */

main {
    animation: fadeInUp 0.8s ease-out;
}
/* Hero/Slideshow Section */
.slideshow {
    padding: 0 !important;
    width: 100%;
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.slide {
    height: 80vh;
    min-height: 600px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    display: flex;
    align-items: center;
    animation: slideZoom 20s ease-in-out infinite;
}

@keyframes slideZoom {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg, 
        rgba(10, 77, 104, 0.85) 0%, 
        rgba(8, 131, 149, 0.7) 50%,
        rgba(6, 95, 110, 0.8) 100%
    );
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    transition: opacity 0.5s ease;
}

.slide:hover .slide-overlay {
    opacity: 0.9;
}

.slide-content {
    position: relative;
    z-index: 2;
    color: var(--white);
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    padding: var(--space-xl);
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.slide-content h1 {
    font-size: 5rem;
    font-weight: 800;
    margin-bottom: var(--space-lg);
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--secondary-color);
   
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.slide-content p {
    font-size: clamp(1.125rem, 2vw, 1.5rem);
    font-weight: 300;
    line-height: 1.6;
    margin-bottom: var(--space-3xl);
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 
        0 2px 4px rgba(0, 0, 0, 0.3),
        0 1px 2px rgba(0, 0, 0, 0.2);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 1s ease-out 0.3s both;
}

/* Responsive enhancements */
@media (max-width: 768px) {
    .slide {
        height: 70vh;
        min-height: 500px;
    }
    
    .slide-content {
        padding: var(--space-lg);
    }
    
    .slide-content h1 {
        letter-spacing: -0.01em;
    }
}

@media (max-width: 480px) {
    .slide {
        min-height: 450px;
    }
    
    .slide-content p {
        font-weight: 400;
    }
}

/* Enhanced accessibility */
@media (prefers-reduced-motion: reduce) {
    .slide,
    .slide-content,
    .slide-content h1,
    .slide-content p {
        animation: none;
    }
    
    .slide:hover .slide-overlay {
        transition: none;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .slide-overlay {
        background: linear-gradient(
            135deg, 
            rgba(10, 77, 104, 0.95) 0%, 
            rgba(8, 131, 149, 0.9) 100%
        );
    }
    
    .slide-content h1 {
        -webkit-text-fill-color: white;
        text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
    }
}
/* Section Base Styles */
.section {
    padding: var(--space-4xl) 0;
}

.section-alt {
    background: var(--light-color);
}

.section-dark {
    background: var(--dark-color);
    color: var(--white);
}

.section-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
}

/* About Section */
.about-intro-section {
    background: linear-gradient(135deg, var(--light-color), #ffffff);
}

.about-intro-grid-two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4xl);
    align-items: center;
    margin-bottom: var(--space-4xl);
}

.about-content h2.section-title::after {
    left: 0;
    transform: translateX(0);
}

.about-image {
    position: relative;
}

.about-image::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--accent-color), var(--secondary-color));
    border-radius: var(--radius-2xl);
    z-index: -1;
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-xl);
}

/* Feature Boxes */
.feature-boxes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-xl);
}

.feature-box {
    background: var(--white);
    padding: var(--space-2xl);
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-lg);
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all var(--transition-base);
    border: 1px solid var(--gray-100);
}

.feature-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary-color), var(--accent-color));
}

.feature-box:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-2xl);
}

.feature-box h4 {
    color: var(--primary-color);
    margin-bottom: var(--space-lg);
    font-size: 1.375rem;
    font-weight: 700;
}



.feature-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: inline-block;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.feature-box:hover .feature-icon {
    color: var(--secondary-color);
    transform: scale(1.1);
}



/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--space-2xl);
}

.service-card {
    background: var(--white);
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    transition: all var(--transition-base);
    display: flex;
    flex-direction: column;
    border: 1px solid var(--gray-100);
}

.service-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-2xl);
}

.service-card-image {
    width: 100%;
    height: 240px;
    overflow: hidden;
    position: relative;
}

.service-card-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(10, 77, 104, 0.1), rgba(8, 131, 149, 0.1));
    opacity: 0;
    transition: opacity var(--transition-base);
}

.service-card:hover .service-card-image::after {
    opacity: 1;
}

.service-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.service-card:hover .service-card-image img {
    transform: scale(1.1);
}

.service-card-content {
    padding: var(--space-2xl);
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.service-card-content h3 {
    margin-bottom: var(--space-lg);
   
    font-weight: 700;
}

.service-card-content .btn {
    margin-top: auto;
}

/* News Grid */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--space-2xl);
}

.news-card {
    background: var(--white);
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    transition: all var(--transition-base);
    border: 1px solid var(--gray-100);
}

.news-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-2xl);
}

.news-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.news-card:hover img {
    transform: scale(1.05);
}

.news-card-content {
    padding: var(--space-2xl);
}

.news-card-content h3 {
    margin-bottom: var(--space-md);
    font-size: 1.25rem;
    font-weight: 700;
    
}

.news-card-content .read-more {
    display: inline-block;
    margin-top: var(--space-lg);
    font-weight: 600;
    color: var(--secondary-color);
    transition: color var(--transition-fast);
}

.news-card-content .read-more:hover {
    color: var(--accent-color);
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-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 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.cta-section .container {
    position: relative;
    z-index: 2;
}

.cta-section h2 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    color: var(--white);
}

/* ============================================ */
/* CONTINUATION FROM PART 1 - CTA SECTION      */
/* ============================================ */

.cta-section p {
    font-size: 1.25rem;
    max-width: 700px;
    margin: var(--space-lg) auto var(--space-3xl) auto;
    opacity: 0.95;
    color: rgba(255, 255, 255, 0.9);
}


/* ============================================ */
/* 9. PRELOADER & ANIMATIONS                   */
/* ============================================ */

#preloader {
    position: fixed;
    inset: 0;
    background: var(--white);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity var(--transition-slow);
}

#preloader.fade-out {
    opacity: 0;
    pointer-events: none;
}

.spinner {
    width: 60px;
    height: 60px;
    border: 4px solid var(--gray-200);
    border-top: 4px solid var(--secondary-color);
    border-radius: var(--radius-full);
    animation: spin 1s linear infinite;
    position: relative;
}

.spinner::after {
    content: '';
    position: absolute;
    inset: 8px;
    border: 2px solid transparent;
    border-top: 2px solid var(--accent-color);
    border-radius: var(--radius-full);
    animation: spin 1.5s linear infinite reverse;
}

/* Scroll Animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(2rem);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================ */
/* 10. CUSTOM SCROLLBAR                        */
/* ============================================ */

::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: var(--light-color);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    border-radius: var(--radius-lg);
    border: 2px solid var(--light-color);
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, var(--accent-color), var(--secondary-color));
}

/* Firefox Scrollbar */
html {
    scrollbar-width: thin;
    scrollbar-color: var(--secondary-color) var(--light-color);
}

/* ============================================ */
/* ENHANCED PAGE LAYOUTS - ALL DESIGNS         */
/* ============================================ */

/* Article Layout Grid */
.article-layout-grid {
    display: grid;
    grid-template-columns: 3fr 1fr;
    gap: var(--space-4xl, 4rem);
    padding: var(--space-5xl, 5rem) 0;
    max-width: 1400px;
    margin: 0 auto;
}

/* Main Article Content */
.main-article-content {
    background: var(--bg-primary, #ffffff);
    border-radius: var(--border-radius-2xl, 24px);
    box-shadow: var(--shadow-2xl, 0 25px 50px -12px rgba(0, 0, 0, 0.25));
    padding: var(--space-4xl, 4rem);
    border: 1px solid var(--border-color, #e5e7eb);
    position: relative;
    overflow: hidden;
    transition: all 0.4s var(--ease-out-expo);
}

.main-article-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    opacity: 0.8;
}

.main-article-content:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-3xl, 0 35px 60px -15px rgba(0, 0, 0, 0.3));
}

.main-article-content h1 {
    font-size: clamp(2.75rem, 5vw, 4rem);
    font-weight: 800;
    margin-bottom: var(--space-lg, 1.5rem);
    color: var(--text-primary, #1f2937);
    line-height: 1.1;
    letter-spacing: -0.02em;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.article-meta {
    display: flex;
    align-items: center;
    gap: var(--space-xl, 2rem);
    color: var(--text-muted, #6b7280);
    margin-bottom: var(--space-3xl, 3rem);
    padding-bottom: var(--space-xl, 2rem);
    border-bottom: 1px solid var(--border-color, #e5e7eb);
    font-weight: 500;
    font-size: 0.95rem;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.meta-item i {
    font-size: 0.9rem;
    opacity: 0.7;
}

.article-featured-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: var(--border-radius-xl, 16px);
    margin-bottom: var(--space-3xl, 3rem);
    box-shadow: var(--shadow-xl, 0 20px 25px -5px rgba(0, 0, 0, 0.1));
    transition: all 0.4s var(--ease-out-expo);
    position: relative;
    overflow: hidden;
}

.article-featured-image:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-2xl, 0 25px 50px -12px rgba(0, 0, 0, 0.25));
}

.article-featured-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.article-featured-image:hover::after {
    opacity: 1;
}

.article-content {
    line-height: 1.8;
    color: var(--text-secondary, #475569);
    font-size: 1.1rem;
}

.article-content p {
    margin-bottom: var(--space-xl, 2rem);
    font-weight: 400;
}

.article-content h2,
.article-content h3,
.article-content h4 {
    margin-top: var(--space-3xl, 3rem);
    margin-bottom: var(--space-lg, 1.5rem);
    color: var(--text-primary, #1f2937);
    position: relative;
    font-weight: 700;
}

.article-content h2 {
    font-size: 2rem;
    padding-left: var(--space-xl, 2rem);
}

.article-content h2::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 2.5rem;
    background: var(--gradient-primary);
    border-radius: var(--border-radius-full, 9999px);
    box-shadow: var(--glow-primary, 0 0 20px rgba(139, 92, 246, 0.3));
}

.article-content h3 {
    font-size: 1.5rem;
    border-left: 4px solid var(--accent-color, #f59e0b);
    padding-left: var(--space-lg, 1.5rem);
}

.article-content h4 {
    font-size: 1.25rem;
    color: var(--primary-color, #1e40af);
}

.article-content blockquote {
    background: linear-gradient(135deg, var(--bg-accent, rgba(139, 92, 246, 0.05)), transparent);
    border-left: 4px solid var(--primary-color, #1e40af);
    padding: var(--space-2xl, 2rem);
    margin: var(--space-2xl, 2rem) 0;
    border-radius: 0 var(--border-radius-xl, 16px) var(--border-radius-xl, 16px) 0;
    font-style: italic;
    position: relative;
}

.article-content blockquote::before {
    content: '"';
    font-size: 4rem;
    color: var(--primary-color, #1e40af);
    opacity: 0.2;
    position: absolute;
    top: -1rem;
    left: 1rem;
    font-family: serif;
}

.article-content ul,
.article-content ol {
    margin-left: var(--space-2xl, 2rem);
    margin-bottom: var(--space-xl, 2rem);
}

.article-content li {
    margin-bottom: var(--space-md, 1rem);
    position: relative;
}

.article-content ul li::before {
    content: '▸';
    color: var(--primary-color, #1e40af);
    font-weight: bold;
    position: absolute;
    left: -1.5rem;
}

.article-content ol {
    counter-reset: list-counter;
}

.article-content ol li {
    counter-increment: list-counter;
}

.article-content ol li::before {
    content: counter(list-counter);
    background: var(--gradient-primary);
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 600;
    margin-right: 0.75rem;
    position: absolute;
    left: -2.5rem;
    top: 0.25rem;
}

/* Sidebar */
.sidebar-widget {
    background: var(--bg-secondary, #f8fafc);
    padding: var(--space-3xl, 3rem);
    border-radius: var(--border-radius-2xl, 24px);
    box-shadow: var(--shadow-lg, 0 10px 15px -3px rgba(0, 0, 0, 0.1));
    position: sticky;
    top: 140px;
    border: 1px solid var(--border-color, #e5e7eb);
    transition: all 0.3s var(--ease-out-expo);
}

.sidebar-widget:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl, 0 20px 25px -5px rgba(0, 0, 0, 0.1));
}

.sidebar-widget h3 {
    font-size: 1.5rem;
    color: var(--text-primary, #1f2937);
    padding-bottom: var(--space-lg, 1.5rem);
    margin-bottom: var(--space-2xl, 2rem);
    border-bottom: 3px solid var(--primary-color, #1e40af);
    font-weight: 700;
    position: relative;
}

.sidebar-widget h3::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: var(--border-radius-full, 9999px);
}

.sidebar-widget ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-widget li {
    margin-bottom: var(--space-md, 1rem);
}

.sidebar-widget li:last-child {
    margin-bottom: 0;
}

.sidebar-widget li a {
    display: flex;
    align-items: center;
    gap: var(--space-md, 1rem);
    padding: var(--space-lg, 1.5rem) var(--space-xl, 2rem);
    border-radius: var(--border-radius-lg, 12px);
    color: #475569 !important;
    font-weight: 500;
    transition: all 0.3s var(--ease-out-expo);
    border: 1px solid transparent;
    background: rgba(255, 255, 255, 0.5);
}

.sidebar-widget li a:hover {
    color: #1e40af !important;
    background: var(--bg-accent, rgba(139, 92, 246, 0.05));
    border-color: var(--border-color, #e5e7eb);
    transform: translateX(8px);
    box-shadow: var(--shadow-md, 0 4px 6px -1px rgba(0, 0, 0, 0.1));
}

.sidebar-widget li a::before {
    content: '→';
    color: #1e40af !important;
    font-weight: 600;
    transition: transform 0.3s ease;
}

.sidebar-widget li a:hover::before {
    transform: translateX(3px);
}

/* CTA Widget */
.cta-widget {
    background: var(--gradient-primary) !important;
    color: white;
    border: none !important;
    position: relative;
    overflow: hidden;
}

.cta-widget::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 60 60"><circle cx="30" cy="30" r="2" fill="white" opacity="0.1"/></svg>');
    animation: float 6s ease-in-out infinite;
}

.cta-widget h3 {
    color: white !important;
    border-bottom-color: rgba(255, 255, 255, 0.3) !important;
}

.cta-widget h3::after {
    background: rgba(255, 255, 255, 0.5) !important;
}

.cta-widget p {
    color: rgba(255, 255, 255, 0.9) !important;
    margin-bottom: var(--space-2xl, 2rem);
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: var(--space-md, 1rem);
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: var(--space-lg, 1.5rem) var(--space-2xl, 2rem);
    border-radius: var(--border-radius-lg, 12px);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s var(--ease-out-expo);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.cta-button:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

/* Category Tags */
.article-categories {
    margin-bottom: var(--space-2xl, 2rem);
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md, 1rem);
}

.category-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--gradient-glass, linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05)));
    color: var(--primary-color, #1e40af);
    padding: var(--space-md, 1rem) var(--space-lg, 1.5rem);
    border-radius: var(--border-radius-full, 9999px);
    font-size: 0.875rem;
    font-weight: 600;
    border: 1px solid var(--border-color, #e5e7eb);
    transition: all 0.3s var(--ease-out-expo);
    text-decoration: none;
    backdrop-filter: var(--blur-amount, blur(10px));
}

.category-tag:hover {
    background: var(--gradient-primary);
    color: white;
    transform: translateY(-2px) scale(1.05);
    box-shadow: var(--glow-primary, 0 0 20px rgba(139, 92, 246, 0.3));
    border-color: transparent;
}

.category-tag i {
    font-size: 0.8rem;
}

/* ============================================ */
/* THEME-SPECIFIC LAYOUT STYLES                */
/* ============================================ */

/* Creative Dark Theme */
.creative-theme .main-article-content {
    background: var(--bg-secondary, #1a1a2e);
    border: 1px solid var(--border-light, rgba(255, 255, 255, 0.1));
    box-shadow: var(--shadow-dark, 0 20px 60px rgba(0, 0, 0, 0.5));
}

.creative-theme .sidebar-widget {
    background: var(--bg-tertiary, #16213e);
    border: 1px solid var(--border-light, rgba(255, 255, 255, 0.1));
}

.creative-theme .sidebar-widget li a {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-secondary, #cbd5e1);
}

.creative-theme .category-tag {
    background: var(--bg-accent, rgba(139, 92, 246, 0.1));
    border: 1px solid var(--border-light, rgba(255, 255, 255, 0.1));
}

/* Corporate Elegance Theme */
.elegance-theme .main-article-content {
    background: var(--bg-primary, #ffffff);
    box-shadow: var(--shadow-2xl, 0 25px 50px -12px rgba(0, 0, 0, 0.1));
}

.elegance-theme .sidebar-widget {
    background: var(--bg-secondary, #f8fafc);
    box-shadow: var(--shadow-lg, 0 10px 15px -3px rgba(0, 0, 0, 0.05));
}

.elegance-theme .article-content h2::before {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
}

/* Modern Tech Theme */
.modern-theme .main-article-content {
    background: var(--gradient-glass, linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05)));
    backdrop-filter: var(--blur-amount, blur(20px));
    border: 1px solid var(--border-light, rgba(255, 255, 255, 0.1));
}

.modern-theme .sidebar-widget {
    background: var(--gradient-glass, linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05)));
    backdrop-filter: var(--blur-amount, blur(20px));
    border: 1px solid var(--border-light, rgba(255, 255, 255, 0.1));
}

.modern-theme .sidebar-widget li a {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: var(--blur-amount, blur(10px));
}

/* ============================================ */
/* RESPONSIVE DESIGN                           */
/* ============================================ */

@media (max-width: 1024px) {
    .article-layout-grid {
        grid-template-columns: 1fr;
        gap: var(--space-3xl, 3rem);
        padding: var(--space-4xl, 4rem) 0;
    }
    
    .sidebar-widget {
        position: static;
        order: -1;
    }
    
    .main-article-content {
        padding: var(--space-3xl, 3rem);
    }
}

@media (max-width: 768px) {
    .article-layout-grid {
        padding: var(--space-3xl, 3rem) 0;
        gap: var(--space-2xl, 2rem);
    }
    
    .main-article-content {
        padding: var(--space-2xl, 2rem);
        border-radius: var(--border-radius-xl, 16px);
    }
    
    .sidebar-widget {
        padding: var(--space-2xl, 2rem);
        border-radius: var(--border-radius-xl, 16px);
    }
    
    .article-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--space-md, 1rem);
    }
    
    .article-featured-image {
        height: 300px;
    }
    
    .article-content h2 {
        padding-left: var(--space-lg, 1.5rem);
    }
    
    .article-content h2::before {
        width: 4px;
        height: 2rem;
    }
}

@media (max-width: 480px) {
    .main-article-content {
        padding: var(--space-xl, 2rem) var(--space-lg, 1.5rem);
    }
    
    .sidebar-widget {
        padding: var(--space-xl, 2rem) var(--space-lg, 1.5rem);
    }
    
    .article-featured-image {
        height: 250px;
    }
    
    .article-content h2 {
        font-size: 1.75rem;
        padding-left: var(--space-md, 1rem);
    }
    
    .sidebar-widget li a {
        padding: var(--space-md, 1rem) var(--space-lg, 1.5rem);
    }
}

/* ============================================ */
/* ANIMATIONS & EFFECTS                        */
/* ============================================ */

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

/* Stagger animations for sidebar items */
.sidebar-widget li {
    opacity: 0;
    transform: translateX(-20px);
    animation: slideInRight 0.6s var(--ease-out-expo) forwards;
}

@keyframes slideInRight {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.sidebar-widget li:nth-child(1) { animation-delay: 0.1s; }
.sidebar-widget li:nth-child(2) { animation-delay: 0.2s; }
.sidebar-widget li:nth-child(3) { animation-delay: 0.3s; }
.sidebar-widget li:nth-child(4) { animation-delay: 0.4s; }
.sidebar-widget li:nth-child(5) { animation-delay: 0.5s; }

/* ============================================ */
/* ACCESSIBILITY                               */
/* ============================================ */

@media (prefers-reduced-motion: reduce) {
    .main-article-content,
    .sidebar-widget,
    .category-tag {
        transition: opacity 0.3s ease;
    }
    
    .main-article-content:hover,
    .sidebar-widget:hover,
    .category-tag:hover {
        transform: none;
    }
    
    .sidebar-widget li {
        animation: none;
        opacity: 1;
        transform: none;
    }
}

/* Focus styles */
.main-article-content:focus-within,
.sidebar-widget:focus-within {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

.category-tag:focus,
.sidebar-widget li a:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* High contrast support */
@media (prefers-contrast: high) {
    .main-article-content,
    .sidebar-widget {
        border-width: 2px;
    }
    
    .article-content h2::before {
        width: 8px;
    }
    
    .category-tag {
        border-width: 2px;
    }
}
/* ============================================ */
/* 12. SERVICE & PORTFOLIO PAGES               */
/* ============================================ */

.page-header {
    background: linear-gradient(135deg, var(--dark-color), var(--primary-color));
    color: var(--white);
    padding: var(--space-4xl) 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::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 60 60"><circle cx="30" cy="30" r="2" fill="white" opacity="0.1"/></svg>');
    opacity: 0.5;
}

.page-header .container {
    position: relative;
    z-index: 2;
}



.services-archive-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--space-2xl);
}

.service-archive-card {
    display: flex;
    flex-direction: column;
    background: var(--white);
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    transition: all var(--transition-base);
    border: 1px solid var(--gray-100);
}

.service-archive-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-2xl);
}

.service-archive-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.service-archive-card:hover img {
    transform: scale(1.05);
}

.service-card-content .read-more {
    margin-top: auto;
    padding-top: var(--space-lg);
    font-weight: 600;
    color: var(--secondary-color);
    transition: color var(--transition-fast);
}

.service-card-content .read-more:hover {
    color: var(--accent-color);
}

/* Portfolio Grid */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--space-2xl);
}

.portfolio-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-lg);
    transition: all var(--transition-base);
}

.portfolio-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-2xl);
}

.portfolio-item-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.9), transparent);
    color: var(--white);
    padding: var(--space-3xl) var(--space-xl) var(--space-xl) var(--space-xl);
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.portfolio-item:hover .portfolio-item-overlay {
    transform: translateY(0);
}

.portfolio-item img {
    display: block;
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.portfolio-item:hover img {
    transform: scale(1.1);
}

/* Team Grid */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-2xl);
}

.team-member-card {
    background: var(--white);
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-lg);
    text-align: center;
    padding: var(--space-2xl);
    transition: all var(--transition-base);
    border: 1px solid var(--gray-100);
}

.team-member-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-2xl);
}

.team-member-card img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: var(--radius-full);
    margin: 0 auto var(--space-lg) auto;
    box-shadow: var(--shadow-lg);
    border: 4px solid var(--white);
    transition: all var(--transition-base);
}

.team-member-card:hover img {
    transform: scale(1.05);
    border-color: var(--accent-color);
}

.team-member-card h4 {
    margin-top: var(--space-lg);
    color: var(--dark-color);
    font-size: 1.375rem;
    font-weight: 700;
}

.team-member-title {
    color: var(--text-muted);
    font-weight: 500;
    margin-bottom: var(--space-lg);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ============================================ */
/* 13. FORM STYLES                             */
/* ============================================ */

.contact-page-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: var(--space-4xl);
    align-items: flex-start;
}

.contact-form-container,
.contact-details-container {
    background: var(--white);
    padding: var(--space-3xl);
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--gray-100);
}

.contact-form-container h3,
.contact-details-container h3 {
    font-size: 2rem;
    font-weight: 700;
   
    margin-bottom: var(--space-2xl);
}

.form-group {
    margin-bottom: var(--space-xl);
}

.form-group label {
    display: block;
    margin-bottom: var(--space-sm);
    font-weight: 600;
    color: var(--text-color);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: var(--space-lg);
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-lg);
    font-family: var(--font-sans);
    font-size: 1rem;
    transition: all var(--transition-base);
    background: var(--white);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(8, 131, 149, 0.1);
}

.contact-details-container p {
    margin-bottom: var(--space-lg);
    line-height: 1.8;
    color: var(--text-muted);
}

.map-container {
    margin-top: var(--space-2xl);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    height: 300px;
}

/* ============================================ */
/* 14. SPECIALIZED SECTIONS                    */
/* ============================================ */

/* Menu Section */
.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--space-xl);
    margin-top: var(--space-3xl);
}

.menu-item {
    background: var(--white);
    padding: var(--space-2xl);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    transition: all var(--transition-base);
    border: 1px solid var(--gray-100);
}

.menu-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-2xl);
}

.menu-item-header {
    display: flex;
    align-items: baseline;
    margin-bottom: var(--space-md);
}

.menu-item-header h4 {
    font-size: 1.375rem;
    color: var(--dark-color);
    white-space: nowrap;
    margin: 0;
    font-weight: 700;
}

.menu-item-dots {
    flex-grow: 1;
    border-bottom: 2px dotted var(--gray-300);
    margin: 0 var(--space-md);
    position: relative;
    bottom: 4px;
}

.menu-item-price {
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--primary-color);
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.menu-item-description {
    color: var(--text-muted);
    font-size: 0.9rem;
    padding-left: var(--space-sm);
    line-height: 1.6;
}

/* Gallery Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-lg);
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    transition: all var(--transition-base);
}

.gallery-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-2xl);
}

.gallery-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* Designs Showcase */
.designs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: var(--space-2xl);
}

.design-card {
    display: flex;
    flex-direction: column;
    background: var(--white);
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    transition: all var(--transition-base);
    border: 1px solid var(--gray-100);
}

.design-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-2xl);
}

.design-card-image {
    width: 100%;
    height: 280px;
    background: var(--light-color);
    position: relative;
    overflow: hidden;
}

.design-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.design-card:hover .design-card-image img {
    transform: scale(1.05);
}

.design-card-content {
    padding: var(--space-2xl);
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.design-price {
    font-size: 2rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: var(--space-sm) 0 var(--space-lg) 0;
}

.design-card-actions {
    margin-top: auto;
    padding-top: var(--space-xl);
    display: flex;
    gap: var(--space-md);
}

.design-card-actions .btn {
    flex-grow: 1;
    text-align: center;
}

/* ============================================ */
/* 15. RESPONSIVE DESIGN                       */
/* ============================================ */

/* Large Tablets & Small Laptops */
@media (max-width: 1024px) {
    .container {
        max-width: 100%;
        padding: 0 var(--space-lg);
    }
    
    .slide-content h1 {
        font-size: clamp(2.5rem, 5vw, 3.5rem);
    }
    
    .about-intro-grid-two-col {
        gap: var(--space-2xl);
    }
}


    
    /* Layout Adjustments */
    .about-intro-grid-two-col {
        grid-template-columns: 1fr;
        text-align: center;
        gap: var(--space-3xl);
    }
    
    .about-intro-grid-two-col .about-image {
        order: -1;
    }
    
   
   
    
    .sidebar-widget {
        position: static;
        margin-top: var(--space-3xl);
    }
}

/* Mobile Phones */
@media (max-width: 576px) {
    .container {
        padding: 0 var(--space-md);
    }
 
    
    /* Typography */
    .slide-content h1 {
        font-size: 2.5rem;
    }
    
    .slide-content p {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .cta-section h2 {
        font-size: 2.5rem;
    }
    
    /* Layout */
    .section {
        padding: var(--space-3xl) 0;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .card-body,
    .contact-form-container,
    .contact-details-container {
        padding: var(--space-xl);
    }
    
    .main-article-content {
        padding: var(--space-xl);
    }
    
    .btn {
        padding: var(--space-md) var(--space-lg);
        font-size: 0.8rem;
    }
    
    .btn-lg {
        padding: var(--space-lg) var(--space-xl);
        font-size: 0.875rem;
    }
}

/* Large Screens */
@media (min-width: 1440px) {
    .container {
        max-width: 1400px;
    }
    
    .section {
        padding: var(--space-4xl) 0 6rem 0;
    }
}

/* Ultra Wide Screens */
@media (min-width: 1920px) {
    .container {
        max-width: 1600px;
    }
}



/* ============================================ */
/* 16. PRINT STYLES                            */
/* ============================================ */

@media print {
    * {
        background: transparent !important;
        color: black !important;
        box-shadow: none !important;
        text-shadow: none !important;
    }
    
    .site-header,
    .site-footer,
    .sidebar-widget,
    #preloader {
        display: none !important;
    }
    
    .main-article-content {
        box-shadow: none !important;
        border: 1px solid #ccc !important;
    }
    
    a {
        text-decoration: underline !important;
    }
    
    .btn {
        border: 1px solid #000 !important;
        background: transparent !important;
        color: #000 !important;
    }
}

/* ============================================ */
/* 17. HIGH CONTRAST & ACCESSIBILITY          */
/* ============================================ */

@media (prefers-contrast: high) {
    .card,
    .feature-box,
    .service-card,
    .news-card {
        border: 2px solid #000;
    }
    
    .main-nav a::after {
        height: 3px;
    }
}

/* ============================================ */
/* 18. REDUCED MOTION PREFERENCES              */
/* ============================================ */

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    
    .animate-on-scroll {
        opacity: 1 !important;
        transform: none !important;
    }
    
    .btn:hover,
    .card:hover,
    .service-card:hover,
    .news-card:hover {
        transform: none !important;
    }
}

/* ============================================ */
/* 19. ADVANCED COMPONENTS                     */
/* ============================================ */

/* Onboarding Layout */
.onboarding-layout-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: var(--space-4xl);
    padding: var(--space-4xl) 0;
}

.onboard-form {
    background: var(--white);
    padding: var(--space-3xl);
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--gray-100);
}

.onboard-form fieldset {
    border: 2px solid var(--gray-200);
    padding: var(--space-2xl);
    border-radius: var(--radius-xl);
    margin-bottom: var(--space-2xl);
    background: var(--light-color);
    transition: border-color var(--transition-base);
}

.onboard-form fieldset:focus-within {
    border-color: var(--secondary-color);
}

.onboard-form legend {
    font-weight: 700;
    padding: 0 var(--space-md);
    font-size: 1.375rem;
    color: var(--dark-color);
    background: var(--white);
}

.onboard-form .form-group input,
.onboard-form .form-group textarea,
.onboard-form .form-group select {
    width: 100%;
    padding: var(--space-lg);
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-lg);
    font-size: 1rem;
    background: var(--white);
    transition: all var(--transition-base);
}

.onboard-form .form-group input:focus,
.onboard-form .form-group textarea:focus,
.onboard-form .form-group select:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(8, 131, 149, 0.1);
}

/* Order Summary Card */
.order-summary-card {
    background: linear-gradient(135deg, var(--light-color), var(--white));
    border-radius: var(--radius-2xl);
    padding: var(--space-2xl);
    box-shadow: var(--shadow-xl);
    position: sticky;
    top: 120px;
    border: 2px solid var(--gray-200);
}

.summary-design-image {
    width: 100%;
    margin: var(--space-lg) 0;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.summary-design-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform var(--transition-base);
}

.summary-design-image:hover img {
    transform: scale(1.02);
}

.order-summary-card h3 {
    font-size: 1.75rem;
    color: var(--dark-color);
    font-weight: 700;
    margin-bottom: var(--space-lg);
}

.order-summary-card h4 {
    font-size: 1.25rem;
    color: var(--dark-color);
    font-weight: 600;
    margin-bottom: var(--space-md);
}

.summary-price {
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: var(--space-sm) 0 var(--space-lg) 0;
    display: block;
}

.order-summary-card hr {
    border: 0;
    border-top: 2px solid var(--gray-200);
    margin: var(--space-xl) 0;
}

.order-summary-card ul {
    list-style: none;
    padding: 0;
}

.order-summary-card li {
    margin-bottom: var(--space-md);
    padding-left: var(--space-lg);
    position: relative;
    color: var(--text-muted);
    line-height: 1.6;
}

.order-summary-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--success-color);
    font-weight: 700;
    font-size: 1.1rem;
}

/* Progress Bar */
.progress-bar {
    display: flex;
    justify-content: space-between;
    margin-bottom: var(--space-2xl);
    background: var(--light-color);
    border-radius: var(--radius-xl);
    padding: var(--space-sm);
    box-shadow: var(--shadow-sm);
}

.progress-step {
    flex: 1;
    text-align: center;
    padding: var(--space-lg) var(--space-sm);
    color: var(--text-muted);
    font-weight: 600;
    position: relative;
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
    cursor: pointer;
}

.progress-step.active {
    color: var(--white);
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    box-shadow: var(--shadow-md);
}

.progress-step.completed {
    color: var(--success-color);
    background: rgba(16, 185, 129, 0.1);
}

.onboard-form .form-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: var(--space-2xl);
    padding-top: var(--space-xl);
    border-top: 2px solid var(--gray-200);
}

.form-section-heading {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-top: var(--space-2xl);
    margin-bottom: var(--space-lg);
    padding-bottom: var(--space-md);
    border-bottom: 2px solid var(--secondary-color);
    position: relative;
}

.form-section-heading::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 60px;
    height: 2px;
    background: var(--accent-color);
}

/* ============================================ */
/* 20. SIDEBAR NAVIGATION                      */
/* ============================================ */

.sidebar-nav-menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

.sidebar-nav-menu a {
    display: flex;
    align-items: center;
    padding: var(--space-md) var(--space-lg);
    margin-bottom: var(--space-sm);
    border-radius: var(--radius-lg);
    color: var(--text-color);
    font-weight: 500;
    transition: all var(--transition-base);
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.sidebar-nav-menu a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 0;
    height: 100%;
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    transition: width var(--transition-base);
    z-index: -1;
}

.sidebar-nav-menu a:hover {
    background: var(--light-color);
    color: var(--primary-color);
    transform: translateX(4px);
}

.sidebar-nav-menu a:hover::before {
    width: 4px;
}

.sidebar-nav-menu li.active a {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    box-shadow: var(--shadow-md);
}

.sidebar-nav-menu li.active a::before {
    width: 100%;
    background: rgba(255, 255, 255, 0.1);
}

/* CTA Widget */


.cta-widget h4 {
    color: var(--white);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: var(--space-lg);
}

.cta-widget p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: var(--space-xl);
    line-height: 1.6;
}

/* ============================================ */
/* 21. LIST & PAGINATION STYLES               */
/* ============================================ */

/* Article List */
.article-list-item {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: var(--space-2xl);
    margin-bottom: var(--space-2xl);
    align-items: center;
    background: var(--white);
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    transition: all var(--transition-base);
    border: 1px solid var(--gray-100);
}

.article-list-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-2xl);
}

.article-list-image {
    overflow: hidden;
}

.article-list-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.article-list-item:hover .article-list-image img {
    transform: scale(1.05);
}

.article-list-content {
    padding: var(--space-2xl);
}

.article-list-content h3 {
    margin-bottom: var(--space-md);
    font-size: 1.5rem;
    font-weight: 700;
}

.article-list-content h3 a {
    color: var(--dark-color);
    transition: color var(--transition-fast);
}

.article-list-content h3 a:hover {
    color: var(--secondary-color);
}

.article-list-content p {
    color: var(--text-muted);
    margin-bottom: var(--space-lg);
    line-height: 1.6;
}

.article-list-content .article-meta {
    font-size: 0.875rem;
    color: var(--text-light);
    margin-bottom: 0;
}

/* News Archive Grid */
.news-archive-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--space-2xl);
}

/* Pagination */
.pagination {
    margin-top: var(--space-3xl);
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--space-sm);
    flex-wrap: wrap;
}

.pagination a,
.pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    padding: 0 var(--space-md);
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-lg);
    color: var(--text-color);
    font-weight: 600;
    text-decoration: none;
    transition: all var(--transition-base);
    background: var(--white);
}

.pagination a:hover {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.pagination span.active {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-md);
}

.pagination .prev,
.pagination .next {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ============================================ */
/* 22. DYNAMIC PAGE SECTIONS                  */
/* ============================================ */

.page-section {
    padding: var(--space-4xl) 0;
    position: relative;
}

.page-section.section-with-bg {
    background: var(--light-color);
}

.text-image-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4xl);
    align-items: center;
}

.text-image-grid.right .image-content {
    grid-column: 2;
    grid-row: 1;
}

.text-image-grid.right .text-content {
    grid-column: 1;
    grid-row: 1;
}

.text-image-grid.left .image-content {
    grid-column: 1;
    grid-row: 1;
}

.text-image-grid.left .text-content {
    grid-column: 2;
    grid-row: 1;
}

.text-image-grid .image-content {
    position: relative;
}

.text-image-grid .image-content::before {
    content: '';
    position: absolute;
    top: -var(--space-lg);
    left: -var(--space-lg);
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--accent-color), var(--secondary-color));
    border-radius: var(--radius-2xl);
    z-index: -1;
    opacity: 0.8;
}

.text-image-grid .image-content img {
    width: 100%;
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-xl);
}

.text-image-grid .text-content h2 {
    font-size: clamp(2rem, 3vw, 2.5rem);
    margin-bottom: var(--space-xl);
    color: var(--dark-color);
}

.text-image-grid .text-content p {
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: var(--space-lg);
}

/* ============================================ */
/* 23. UTILITY ANIMATIONS                      */
/* ============================================ */

.fade-in {
    animation: fadeIn 0.8s ease-out;
}

.slide-up {
    animation: slideUp 0.8s ease-out;
}

.bounce {
    animation: bounce 2s infinite;
}

.pulse {
    animation: pulse 2s infinite;
}

.hover-lift {
    transition: transform var(--transition-base);
}

.hover-lift:hover {
    transform: translateY(-4px);
}

.hover-scale {
    transition: transform var(--transition-base);
}

.hover-scale:hover {
    transform: scale(1.02);
}

.loading-shimmer {
    background: linear-gradient(90deg, var(--gray-200) 25%, var(--gray-100) 50%, var(--gray-200) 75%);
    background-size: 200% 100%;
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

/* ============================================ */
/* 24. ERROR & SUCCESS STATES                  */
/* ============================================ */

.alert {
    padding: var(--space-lg);
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-lg);
    border: 1px solid transparent;
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.alert-success {
    background: rgba(16, 185, 129, 0.1);
    color: var(--success-color);
    border-color: rgba(16, 185, 129, 0.2);
}

.alert-warning {
    background: rgba(245, 158, 11, 0.1);
    color: var(--warning-color);
    border-color: rgba(245, 158, 11, 0.2);
}

.alert-error {
    background: rgba(239, 68, 68, 0.1);
    color: var(--error-color);
    border-color: rgba(239, 68, 68, 0.2);
}

.alert-info {
    background: rgba(8, 131, 149, 0.1);
    color: var(--secondary-color);
    border-color: rgba(8, 131, 149, 0.2);
}

/* Form Validation States */
.form-group.has-error input,
.form-group.has-error textarea {
    border-color: var(--error-color);
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.form-group.has-success input,
.form-group.has-success textarea {
    border-color: var(--success-color);
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

.error-message {
    color: var(--error-color);
    font-size: 0.875rem;
    margin-top: var(--space-xs);
    display: block;
}

.success-message {
    color: var(--success-color);
    font-size: 0.875rem;
    margin-top: var(--space-xs);
    display: block;
}

/* ============================================ */
/* 25. FINAL RESPONSIVE BREAKPOINTS           */
/* ============================================ */

/* Extra Large Mobile */
@media (max-width: 480px) {
    .designs-grid,
    .services-archive-grid {
        grid-template-columns: 1fr;
    }
    
    .article-list-item {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .article-list-image img {
        height: 200px;
    }
    
    .text-image-grid {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }
    
    .text-image-grid .image-content,
    .text-image-grid.right .image-content,
    .text-image-grid.left .image-content {
        order: -1;
    }
    
    .onboarding-layout-grid {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }
    
    .order-summary-card {
        position: static;
        order: -1;
        margin-bottom: var(--space-2xl);
    }
    
    .pagination {
        gap: var(--space-xs);
    }
    
    .pagination a,
    .pagination span {
        min-width: 36px;
        height: 36px;
        font-size: 0.875rem;
    }
}

/* Small Mobile */
@media (max-width: 360px) {
    .container {
        padding: 0 var(--space-sm);
    }
    
    .btn {
        padding: var(--space-sm) var(--space-md);
        font-size: 0.75rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .card-body,
    .contact-form-container,
    .contact-details-container,
    .main-article-content {
        padding: var(--space-lg);
    }
}

/* ============================================ */
/* 26. PERFORMANCE OPTIMIZATIONS               */
/* ============================================ */

/* GPU Acceleration for Animations */
.btn,
.card,
.service-card,
.news-card,
.portfolio-item,
.team-member-card {
    transform: translateZ(0);
    backface-visibility: hidden;
    perspective: 1000px;
}

/* Optimize Images */
img {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: optimize-contrast;
}



/* ============================================ */
/* 28. FINAL POLISH & CONSISTENCY             */
/* ============================================ */

/* Ensure all interactive elements have consistent hover states */
button,
.btn,
input[type="submit"],
input[type="button"] {
    cursor: pointer;
    user-select: none;
}

/* Smooth focus transitions */
input,
textarea,
select,
button,
.btn,
a {
    transition: all var(--transition-base);
}

/* Consistent border radius across components */
.card,
.btn,
.form-group input,
.form-group textarea,
.alert,
.pagination a,
.pagination span {
    border-radius: var(--radius-lg);
}

/* Ensure proper spacing in all text content */
.card-body > *:last-child,
.contact-form-container > *:last-child,
.contact-details-container > *:last-child,
.main-article-content > *:last-child {
    margin-bottom: 0;
}

/* Final accessibility improvements */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
.latest-news-section {
    padding: var(--space-4xl) 0; /* 96px top/bottom */
    position: relative;
   
}

.services-section {
    padding: var(--space-4xl) 0; /* 96px top/bottom */
    position: relative;
   
}

.cta-section {
    padding: var(--space-4xl) 0; /* 96px top/bottom */
    position: relative;
   
}

.about-intro-section {
    padding: var(--space-4xl) 0; /* 96px top/bottom */
    position: relative;
   
}

.slideshow  {
    
    position: relative;
   
}

/* Different spacing options */
.spacing-none {
    padding: 0;
}

.spacing-small {
    padding: var(--space-2xl) 0; /* 48px */
}

.spacing-default {
    padding: var(--space-4xl) 0; /* 96px */
}

.spacing-large {
    padding: var(--space-4xl) 0 6rem 0; /* 96px top, 96px bottom */
}

.spacing-extra-large {
    padding: 8rem 0; /* 128px */
}

/* Section spacer utility */
.section-spacer {
    height: var(--space-3xl); /* 64px gap between sections */
}

/* Background variations */
.bg-light {
    background: var(--light-color);
}

.bg-dark {
    background: var(--dark-color);
    color: white;
}

.bg-primary {
    background: var(--primary-color);
    color: white;
}

/* Alternating section backgrounds */
.even-section {
    background: var(--white);
}

.odd-section {
    background: var(--light-color);
}

/* Responsive spacing adjustments */
@media (max-width: 768px) {
    .dynamic-section {
        padding: var(--space-3xl) 0; /* Reduced padding on mobile */
    }
    
    .spacing-large,
    .spacing-extra-large {
        padding: var(--space-3xl) 0; /* Normalize large spacing on mobile */
    }
}

/* --- Partners Grid --- */
.partners-grid { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 3rem; margin-top: 2rem; }
.partner-logo { display: block; height: 60px; filter: grayscale(100%) opacity(0.6); transition: all 0.3s ease; }
.partner-logo:hover { filter: grayscale(0) opacity(1); transform: scale(1.1); }
.partner-logo img { height: 100%; width: auto; }

/* --- Testimonials --- */
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; }
.testimonial-card { background: rgba(255,255,255,0.05); padding: 2rem; border-radius: var(--border-radius); border-top: 4px solid var(--accent-color); }
.testimonial-card blockquote { border: none; font-style: italic; font-size: 1.1em; margin: 0 0 1rem 0; padding: 0; color: #fff; }
.testimonial-card cite { font-style: normal; text-align: right; display: block; color: var(--text-light); }
.testimonial-card cite strong { color: #fff; }

 
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
