/* --- Ajuta Sites Modern & Enhanced Stylesheet --- */
/* --- Updated: August 2025 --- */


/* ============================================ */
/* 2. RESET & BASE STYLES                       */
/* ============================================ */

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-family);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
    overflow-x: hidden;
    letter-spacing: -0.01em;
}

/* Improved focus styles */
:focus {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
}

:focus:not(:focus-visible) {
    outline: none;
}


/* Images */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ============================================ */
/* 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); }
}





/* Section Titles */
.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    margin-bottom: var(--space-3xl);
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -var(--space-md);
    left: 50%;
    transform: translateX(-50%);
    width: 4rem;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary-color), var(--accent-color));
    border-radius: var(--radius-full);
}

.section-title.text-left::after {
    left: 0;
    transform: translateX(0);
}


/* Scroll Effects */
@media (min-width: 769px) {
    .site-header.scrolled .main-nav a {
        padding: var(--space-sm);
    }

    .site-header.scrolled .logo {
        font-size: 2rem;
    }

    .site-header.scrolled .main-header {
        padding: var(--space-md) 0;
    }
}

/* Focus States for Accessibility */
.main-nav a:focus,
#hamburger-btn:focus {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
}

.main-nav a:focus:not(:focus-visible),
#hamburger-btn:focus:not(:focus-visible) {
    outline: none;
}

/* High Contrast Support */
@media (prefers-contrast: high) {
    .main-nav a::before {
        height: 4px;
    }

    .submenu ul {
        border: 2px solid var(--dark-color);
    }

    .main-nav a:hover {
        background: var(--dark-color);
        color: var(--white);
    }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    .main-nav a,
    .submenu,
    #hamburger-btn .line,
    .site-header {
        transition: none !important;
    }

    .main-nav a:hover,
    .submenu li a:hover {
        transform: none !important;
    }
}


/* 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;
    color: var(--dark-color);
}

.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);
}


/* ============================================ */
/* 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);
}

/* ============================================ */
/* 11. PAGE LAYOUTS                             */
/* ============================================ */




/* ============================================ */
/* 12. SERVICE & PORTFOLIO PAGES               */
/* ============================================ */



/* ============================================ */
/* 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;
    color: var(--dark-color);
    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;
}


/* 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);
}



/* ============================================ */
/* 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;
    }
}


/* ============================================ */
/* 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 {
    background: linear-gradient(135deg, var(--dark-color), var(--primary-color));
    text-align: center;
    padding: var(--space-2xl);
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-xl);
    position: relative;
    overflow: hidden;
}

.cta-widget::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="2" fill="white" opacity="0.1"/></svg>');
    opacity: 0.5;
}

.cta-widget .container {
    position: relative;
    z-index: 2;
}

.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;
}




/* --- 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);
    }

