/* --- 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 */
    --primary-color: #0a4d68;
    --secondary-color: #088395;
    --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;
}

/* Dark mode variables (optional) */
@media (prefers-color-scheme: dark) {
    :root {
        --white: #0f172a;
        --light-color: #1e293b;
        --text-color: #f8fafc;
        --text-muted: #cbd5e1;
        --border-color: #334155;
    }
}

/* ============================================ */
/* 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-sans);
    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;
}

/* Links */
a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover, a:focus {
    color: var(--accent-color);
}

/* Lists */
ul, ol {
    list-style: none;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--text-color);
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: clamp(1.25rem, 2.5vw, 1.5rem); }
h5 { font-size: 1.125rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: var(--space-lg);
    color: var(--text-muted);
    line-height: 1.7;
}

/* 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); }
}

/* ============================================ */
/* 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);
}

/* 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);
}

/* ============================================ */
/* 6. HEADER & NAVIGATION                       */
/* ============================================ */

/* Enhanced Site Header */
.site-header {
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--gray-100);
    box-shadow: var(--shadow-sm);
    z-index: var(--z-sticky);
    transition: all var(--transition-base);
}

.site-header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-lg);
    border-bottom: 1px solid var(--gray-200);
}

/* Enhanced Top Header */
.top-header {
    background: linear-gradient(135deg, var(--dark-color), var(--primary-color));
    color: var(--text-light);
    padding: var(--space-sm) 0;
    font-size: 0.875rem;
    position: relative;
    overflow: hidden;
}

.top-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="1" fill="white" opacity="0.1"/></svg>');
    opacity: 0.3;
}

.top-header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--space-lg);
    position: relative;
    z-index: 2;
}

.top-header a {
    color: var(--text-light);
    transition: all var(--transition-fast);
    text-decoration: none;
    position: relative;
}

.top-header a:hover {
    color: var(--accent-color);
    transform: translateY(-1px);
}

.top-header span {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-weight: 500;
}

/* Enhanced Main Header */
.main-header {
    padding: var(--space-lg) 0;
    position: relative;
}

.main-header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

/* Enhanced Logo */
.logo {
    font-family: var(--font-display);
    font-size: 2.25rem;
    font-weight: 800;
    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;
    transition: all var(--transition-base);
    text-decoration: none;
    position: relative;
}

.logo:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 4px 8px rgba(10, 77, 104, 0.2));
}

/* Enhanced Main Navigation */
.main-nav ul {
    display: flex;
    gap: var(--space-xl);
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-nav li {
    position: relative;
}

.main-nav a {
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-color);
    padding: var(--space-md) var(--space-sm);
    position: relative;
    transition: all var(--transition-base);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    gap: var(--space-xs);
}

.main-nav a::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--secondary-color), var(--accent-color));
    border-radius: var(--radius-full);
    transition: width var(--transition-base);
}

.main-nav a:hover {
    color: var(--secondary-color);
    background: rgba(8, 131, 149, 0.05);
    transform: translateY(-2px);
}

.main-nav a:hover::before {
    width: 80%;
}

/* Enhanced Submenu Styles */
.main-nav li.has-submenu > a::after {
    content: '▼';
    font-size: 0.7em;
    margin-left: var(--space-xs);
    display: inline-block;
    transition: transform var(--transition-base);
    opacity: 0.7;
}

.main-nav li.has-submenu:hover > a::after {
    transform: rotate(180deg);
    opacity: 1;
}

.submenu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    padding-top: var(--space-lg);
    z-index: var(--z-dropdown);
    min-width: 280px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all var(--transition-base);
}

.has-submenu:hover > .submenu {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
    transform: translateX(-50%) translateY(0);
}

.submenu ul {
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-2xl);
    border: 1px solid var(--gray-100);
    padding: var(--space-lg);
    list-style: none;
    margin: 0;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.submenu ul::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--secondary-color), var(--accent-color));
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}

.submenu li {
    margin: 0;
}

.submenu li a {
    display: block;
    padding: var(--space-md) var(--space-lg);
    white-space: nowrap;
    border-radius: var(--radius-lg);
    font-weight: 500;
    color: var(--text-color);
    text-transform: none;
    letter-spacing: normal;
    transition: all var(--transition-base);
    position: relative;
    margin-bottom: var(--space-xs);
}

.submenu li a::before {
    display: none;
}

.submenu li a:hover {
    background: linear-gradient(135deg, var(--light-color), rgba(8, 131, 149, 0.1));
    color: var(--primary-color);
    transform: translateX(4px);
    box-shadow: var(--shadow-sm);
}

.submenu li:last-child a {
    margin-bottom: 0;
}

/* Enhanced Mobile Navigation */
#hamburger-btn {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 32px;
    height: 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: calc(var(--z-fixed) + 1);
    position: relative;
    border-radius: var(--radius-sm);
    transition: all var(--transition-base);
}

#hamburger-btn:hover {
    background: rgba(8, 131, 149, 0.1);
    transform: scale(1.1);
}

#hamburger-btn .line {
    width: 100%;
    height: 3px;
    background: var(--dark-color);
    border-radius: var(--radius-full);
    transition: all var(--transition-base);
    transform-origin: center;
    position: relative;
}

#hamburger-btn .line::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: var(--radius-full);
    opacity: 0;
    transition: opacity var(--transition-base);
}

#hamburger-btn:hover .line::before {
    opacity: 1;
}

#hamburger-btn.active .line {
    background: var(--secondary-color);
}

#hamburger-btn.active .line:nth-child(1) {
    transform: translateY(10px) rotate(45deg);
}

#hamburger-btn.active .line:nth-child(2) {
    opacity: 0;
    transform: scale(0);
}

#hamburger-btn.active .line:nth-child(3) {
    transform: translateY(-10px) rotate(-45deg);
}

/* Enhanced Mobile Menu Overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
    z-index: calc(var(--z-fixed) - 1);
}

.main-nav.active ~ .mobile-menu-overlay,
.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Responsive Navigation */
@media (max-width: 768px) {
    #hamburger-btn {
        display: flex;
    }

    .top-header-content {
        flex-direction: column;
        gap: var(--space-sm);
        text-align: center;
    }

    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 85%;
        max-width: 380px;
        height: 100vh;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        padding: var(--space-4xl) var(--space-xl) var(--space-xl);
        transition: right var(--transition-slow);
        z-index: var(--z-fixed);
        box-shadow: var(--shadow-2xl);
        border-left: 1px solid var(--gray-100);
        overflow-y: auto;
    }

    .main-nav.active {
        right: 0;
    }

    .main-nav ul {
        flex-direction: column;
        align-items: stretch;
        gap: var(--space-sm);
        width: 100%;
    }

    .main-nav a {
        color: var(--text-color);
        font-size: 1.1rem;
        padding: var(--space-lg);
        border-radius: var(--radius-xl);
        background: var(--light-color);
        border: 1px solid var(--gray-100);
        justify-content: space-between;
        margin-bottom: var(--space-sm);
    }

    .main-nav a:hover {
        background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
        color: var(--white);
        transform: translateX(4px);
        box-shadow: var(--shadow-lg);
    }

    .main-nav a::before {
        display: none;
    }

    .main-nav li.has-submenu > a::after {
        font-size: 0.8em;
        opacity: 1;
    }

    /* Mobile Submenu */
    .submenu {
        position: static;
        transform: none;
        padding-top: 0;
        opacity: 0;
        visibility: hidden;
        max-height: 0;
        overflow: hidden;
        transition: all var(--transition-base);
        margin-top: var(--space-sm);
    }

    .has-submenu.active > .submenu,
    .has-submenu:hover > .submenu {
        opacity: 1;
        visibility: visible;
        max-height: 400px;
    }

    .submenu ul {
        background: var(--white);
        box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.05);
        border: 1px solid var(--gray-200);
        margin-left: var(--space-lg);
    }

    .submenu li a {
        font-size: 0.95rem;
        padding: var(--space-md) var(--space-lg);
        background: transparent;
        border: none;
        margin-bottom: var(--space-xs);
    }

    .submenu li a:hover {
        background: var(--light-color);
        color: var(--primary-color);
        transform: translateX(8px);
    }
}

@media (max-width: 576px) {
    .main-nav {
        width: 90%;
        padding: var(--space-3xl) var(--space-lg) var(--space-lg);
    }

    .logo {
        font-size: 1.8rem;
    }

    .main-header {
        padding: var(--space-md) 0;
    }
}

/* Desktop Navigation Visibility */
@media (min-width: 769px) {
    #hamburger-btn {
        display: none !important;
    }

    .main-nav {
        display: block !important;
        position: static !important;
        width: auto !important;
        height: auto !important;
        background: transparent !important;
        padding: 0 !important;
        box-shadow: none !important;
        border: none !important;
    }

    .main-nav ul {
        flex-direction: row !important;
        gap: var(--space-xl) !important;
    }

    .main-nav a {
        color: var(--text-color) !important;
        font-size: 0.9rem !important;
        padding: var(--space-md) var(--space-sm) !important;
        background: transparent !important;
        border: none !important;
        margin: 0 !important;
    }
}

/* 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;
    }
}

/* ============================================ */
/* 7. MAIN CONTENT AREAS                       */
/* ============================================ */

main {
    animation: fadeInUp 0.8s ease-out;
}

/* Hero/Slideshow Section */
.slideshow {
    padding: 0;
    width: 100%;
    position: relative;
}

.slide {
    height: 80vh;
    min-height: 600px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
}

.slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(10, 77, 104, 0.8), rgba(8, 131, 149, 0.6));
}

.slide-content {
    position: relative;
    z-index: 2;
    color: var(--white);
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.slide-content h1 {
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 800;
    margin-bottom: var(--space-lg);
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    background: linear-gradient(135deg, #ffffff, #e2e8f0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.slide-content p {
    font-size: clamp(1.125rem, 2vw, 1.5rem);
    font-weight: 300;
    margin-bottom: var(--space-3xl);
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* 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;
}

/* 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);
    color: var(--dark-color);
    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;
    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);
}

/* 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);
}

/* ============================================ */
/* 8. FOOTER STYLES                             */
/* ============================================ */

.site-footer {
    background: var(--dark-color);
    color: var(--text-light);
    position: relative;
    overflow: hidden;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
}

.footer-widgets {
    padding: var(--space-4xl) 0;
    border-bottom: 1px solid rgba(148, 163, 184, 0.2);
}

.widgets-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-3xl);
}

.footer-widget h4 {
    color: var(--white);
    margin-bottom: var(--space-xl);
    font-size: 1.375rem;
    font-weight: 700;
    position: relative;
}

.footer-widget h4::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, var(--secondary-color), var(--accent-color));
    border-radius: var(--radius-full);
}

.footer-widget p,
.footer-widget li {
    margin-bottom: var(--space-md);
    line-height: 1.7;
}

.footer-widget a {
    color: var(--text-light);
    display: inline-block;
    transition: all var(--transition-base);
    position: relative;
}

.footer-widget a:hover {
    color: var(--accent-color);
    transform: translateX(4px);
}

.social-links {
    display: flex;
    gap: var(--space-md);
    margin-top: var(--space-xl);
}

.social-links a {
    width: 44px;
    height: 44px;
    background: rgba(148, 163, 184, 0.1);
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    transition: all var(--transition-base);
}

.social-links a:hover {
    background: var(--accent-color);
    border-color: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.footer-copyright {
    background: rgba(15, 23, 42, 0.5);
    padding: var(--space-xl) 0;
    text-align: center;
    font-size: 0.9rem;
    border-top: 1px solid rgba(148, 163, 184, 0.1);
}

/* ============================================ */
/* 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);
}

/* ============================================ */
/* 11. PAGE LAYOUTS                             */
/* ============================================ */

/* Article Layout */
.article-layout-grid {
    display: grid;
    grid-template-columns: 3fr 1fr;
    gap: var(--space-4xl);
    padding: var(--space-4xl) 0;
}

.main-article-content {
    background: var(--white);
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-lg);
    padding: var(--space-3xl);
    border: 1px solid var(--gray-100);
}

.main-article-content h1 {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 800;
    margin-bottom: var(--space-md);
    color: var(--dark-color);
    line-height: 1.1;
}

.article-meta {
    color: var(--text-muted);
    margin-bottom: var(--space-2xl);
    font-weight: 500;
    padding-bottom: var(--space-lg);
    border-bottom: 1px solid var(--gray-200);
}

.article-featured-image {
    width: 100%;
    height: auto;
    border-radius: var(--radius-xl);
    margin-bottom: var(--space-2xl);
    box-shadow: var(--shadow-lg);
}

.article-content {
    line-height: 1.8;
    color: var(--text-color);
}

.article-content p {
    margin-bottom: var(--space-lg);
}

.article-content h2,
.article-content h3 {
    margin-top: var(--space-2xl);
    margin-bottom: var(--space-lg);
    color: var(--dark-color);
    position: relative;
}

.article-content h2::before {
    content: '';
    position: absolute;
    left: -var(--space-lg);
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 2rem;
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    border-radius: var(--radius-full);
}

.article-content ul,
.article-content ol {
    margin-left: var(--space-xl);
    margin-bottom: var(--space-lg);
}

.article-content li {
    margin-bottom: var(--space-sm);
}

/* Sidebar */
.sidebar-widget {
    background: var(--light-color);
    padding: var(--space-2xl);
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-lg);
    position: sticky;
    top: 120px;
    border: 1px solid var(--gray-200);
}

.sidebar-widget h3 {
    font-size: 1.5rem;
    color: var(--dark-color);
    padding-bottom: var(--space-md);
    margin-bottom: var(--space-xl);
    border-bottom: 2px solid var(--secondary-color);
    font-weight: 700;
}

.sidebar-widget ul {
    list-style: none;
}

.sidebar-widget li a {
    display: block;
    padding: var(--space-md) 0;
    margin-bottom: var(--space-md);
    border-bottom: 1px solid var(--gray-200);
    color: var(--text-color);
    font-weight: 500;
    transition: all var(--transition-base);
}

.sidebar-widget li a:hover {
    color: var(--secondary-color);
    padding-left: var(--space-sm);
}

.sidebar-widget li:last-child a {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

/* Category Tags */
.article-categories {
    margin-bottom: var(--space-xl);
}

.category-tag {
    display: inline-block;
    background: linear-gradient(135deg, var(--light-color), #ffffff);
    color: var(--secondary-color);
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    margin-right: var(--space-sm);
    margin-bottom: var(--space-sm);
    font-weight: 600;
    border: 1px solid var(--gray-200);
    transition: all var(--transition-base);
}

.category-tag:hover {
    background: var(--secondary-color);
    color: var(--white);
    transform: translateY(-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;
}

.page-header h1 {
    font-size: clamp(3rem, 5vw, 4rem);
    color: var(--white);
    font-weight: 800;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.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;
    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;
}

/* ============================================ */
/* 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 {
    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;
}

/* ============================================ */
/* 27. DARK MODE SUPPORT (Optional)           */
/* ============================================ */

@media (prefers-color-scheme: dark) {
    .card,
    .feature-box,
    .service-card,
    .news-card,
    .contact-form-container,
    .contact-details-container,
    .main-article-content,
    .sidebar-widget,
    .onboard-form {
        background: var(--gray-600);
        border-color: var(--gray-500);
        color: var(--white);
    }
    
    .form-group input,
    .form-group textarea {
        background: var(--gray-500);
        border-color: var(--gray-400);
        color: var(--white);
    }
    
    .form-group input::placeholder,
    .form-group textarea::placeholder {
        color: var(--gray-300);
    }
}

/* ============================================ */
/* 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);
    }

