@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&display=swap');

/* --- DESIGN SYSTEM VARIABLES (DARK PREMIUM THEME) --- */
:root {
    --font-primary: 'Outfit', sans-serif;

    /* Dark Palette */
    --bg-dark: #060b13;
    /* Deep space dark blue/black */
    --bg-card: #111827;
    /* Slate 900 card background */
    --bg-card-hover: #162032;
    /* Card hover state */
    --bg-surface: #0e1522;
    /* Surface for section alternates */
    --bg-white: #ffffff;

    /* Accent Palette */
    --accent: #22c55e;
    /* Neon Green */
    --accent-light: #4ade80;
    /* Mint Accent */
    --accent-dark: #16a34a;
    /* Deep Forest Emerald */
    --accent-glow: rgba(34, 197, 94, 0.25);

    /* Text Palette */
    --text-white: #f8fafc;
    /* Slate 50 */
    --text-muted: #94a3b8;
    /* Slate 400 */
    --text-dim: #64748b;
    /* Slate 500 */

    /* Layout & Borders */
    --border-color: rgba(255, 255, 255, 0.08);
    --glass-bg: rgba(6, 11, 19, 0.8);
    --glass-border: rgba(255, 255, 255, 0.06);

    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.4);
    --shadow-premium: 0 20px 40px rgba(0, 0, 0, 0.5);
    --shadow-accent: 0 8px 30px rgba(34, 197, 94, 0.15);

    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 36px;

    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);

    --max-width: 1280px;
}

/* --- RESET & BASES --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    background-color: var(--bg-dark);
    color: var(--text-white);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

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

a:hover {
    color: var(--accent-light);
}

ul {
    list-style: none;
}

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

/* --- UTILITIES --- */
.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

.section-padding {
    padding: 100px 0;
}

.text-center {
    text-align: center;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: none;
    gap: 8px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    color: #ffffff;
    box-shadow: var(--shadow-accent);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--accent-light), var(--accent));
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(34, 197, 94, 0.35);
    color: #ffffff;
}

.btn-accent {
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    color: #ffffff;
    box-shadow: var(--shadow-accent);
}

.btn-accent:hover {
    background: linear-gradient(135deg, var(--accent-light), var(--accent));
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(34, 197, 94, 0.35);
    color: #ffffff;
}

.btn-outline {
    background-color: transparent !important;
    background-image: none !important;
    border: 2px solid var(--accent) !important;
    color: var(--accent) !important;
}

.btn-outline:hover {
    background-color: var(--accent) !important;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(34, 197, 94, 0.35);
}

/* Section Badges */
.badge {
    display: inline-flex;
    align-items: center;
    padding: 8px 20px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-radius: 50px;
    background-color: rgba(34, 197, 94, 0.08);
    border: 1px solid rgba(34, 197, 94, 0.2);
    color: var(--accent);
}

.badge-accent {
    background-color: rgba(34, 197, 94, 0.12);
    border-color: var(--accent);
    color: var(--accent-light);
}

/* Headings & Text */
.section-subtitle {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--accent-light);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 12px;
    display: block;
}

.section-title {
    font-size: 2.7rem;
    font-weight: 800;
    color: var(--text-white);
    line-height: 1.2;
    margin-bottom: 20px;
}

/* Text Gradient Effect */
.section-title span,
.text-gradient {
    background: linear-gradient(135deg, var(--accent), var(--accent-light), #a3e635);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-desc {
    max-width: 600px;
    margin: 0 auto 50px auto;
    color: var(--text-muted);
    font-size: 1.1rem;
}

body {
    padding-top: 38px;
}

/* --- GLASS HEADER --- */
.header {
    position: fixed;
    top: 38px; /* Shifts down below top-header */
    left: 0;
    width: 100%;
    z-index: 99999; /* Higher than all standard page sections to stay on top */
    transition: var(--transition-smooth);
    background-color: rgba(6, 11, 19, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
}

.header.scrolled {
    top: 0; /* Snap back to absolute top on scroll */
    background-color: #060b13; /* Solid background prevents text bleed-through when scrolling */
    box-shadow: var(--shadow-md);
    padding: 10px 0;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
    transition: var(--transition-smooth);
}

.header.scrolled .header-container {
    height: 70px;
}

.logo-link {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 48px;
    width: auto;
    object-fit: contain;
    /* Overlay filter to make system vana svg logo stand out on dark bg if needed */
    filter: brightness(0.95) contrast(1.05);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 16px;
}

.mobile-menu-footer {
    display: none !important;
}

.nav-link {
    font-weight: 500;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    position: relative;
    padding: 10px 18px;
    border-radius: var(--radius-sm);
    transition: var(--transition-fast);
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent);
    background: rgba(34, 197, 94, 0.08);
}

.nav-cta {
    display: flex;
    align-items: center;
}

/* Mobile Toggle */
.mobile-nav-toggle {
    display: none;
    width: 32px;
    height: 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding: 0;
    z-index: 1010;
}

.mobile-nav-toggle span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: #ffffff !important;
    border-radius: 2px;
    transition: var(--transition-smooth);
}

/* --- HERO SLIDER SECTION --- */
.hero-slider-section {
    height: 100vh;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.slider-wrapper {
    height: 100%;
    width: 100%;
    position: relative;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1s cubic-bezier(0.4, 0, 0.2, 1), visibility 1s;
    z-index: 1;
}

.slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(6, 11, 19, 0.85) 0%, rgba(14, 21, 34, 0.95) 100%);
    z-index: 2;
}

.slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

/* Slide Content Layout */
.slide-content-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 50px;
    align-items: center;
    position: relative;
    z-index: 3;
    width: 100%;
}

.slide-text {
    opacity: 0;
    transform: translateY(40px);
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.3s, opacity 0.8s ease 0.3s;
}

.slide.active .slide-text {
    opacity: 1;
    transform: translateY(0);
}

.slide-title {
    font-size: 3.8rem;
    font-weight: 800;
    line-height: 1.15;
    color: var(--text-white);
    margin-top: 16px;
    margin-bottom: 24px;
}

.slide-title span {
    background: linear-gradient(135deg, var(--accent), var(--accent-light), #a3e635);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.slide-desc {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 36px;
    max-width: 560px;
    line-height: 1.6;
}

.slide-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.slide-badge-container {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    height: 100%;
    opacity: 0;
    transform: scale(0.9) rotate(-5deg);
    transition: transform 1s cubic-bezier(0.16, 1, 0.3, 1) 0.5s, opacity 1s ease 0.5s;
}

.slide.active .slide-badge-container {
    opacity: 1;
    transform: scale(1) rotate(0);
}

/* Floating Badges inside Slide */
.slide .hero-floating-badge {
    position: relative;
    bottom: auto;
    left: auto;
    background-color: var(--bg-card);
    padding: 24px 36px;
    border-radius: var(--radius-md);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4), var(--shadow-accent);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    border: 1px solid var(--border-color);
    border-top: 4px solid var(--accent);
    text-align: center;
}

.slide .floating-badge-number {
    font-size: 3.2rem;
    font-weight: 800;
    color: var(--accent);
}

.slide .floating-badge-text {
    font-size: 0.9rem;
    color: var(--text-white);
}

/* Slider Controls Navigation Buttons */
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: rgba(17, 24, 39, 0.6);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text-white);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: var(--transition-smooth);
}

.slider-btn:hover {
    background-color: var(--accent);
    border-color: var(--accent);
    box-shadow: var(--shadow-accent);
    color: #ffffff;
}

.prev-btn {
    left: 40px;
}

.next-btn {
    right: 40px;
}

/* Slider Indicators (dots) */
.slider-indicators {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.indicator {
    width: 30px;
    height: 6px;
    border-radius: 3px;
    background-color: rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: var(--transition-smooth);
}

.indicator.active {
    width: 50px;
    background-color: var(--accent);
    box-shadow: var(--shadow-accent);
}

/* Responsive adjustments for Slider */
@media (max-width: 1024px) {
    .slide-content-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
        padding-top: 100px;
    }

    .slide-desc {
        margin-left: auto;
        margin-right: auto;
    }

    .slide-actions {
        justify-content: center;
    }

    .slide-badge-container {
        margin-top: 20px;
    }
}

@media (max-width: 768px) {
    .slide-title {
        font-size: 2.7rem;
    }

    .slider-btn {
        width: 44px;
        height: 44px;
        top: auto;
        bottom: 30px;
        transform: none;
    }

    .prev-btn {
        left: 20px;
    }

    .next-btn {
        right: 20px;
    }

    /* Subpage Hero & Breadcrumbs responsive */
    .subpage-hero {
        padding: 120px 0 60px 0 !important;
    }

    .subpage-title {
        font-size: 2rem !important;
    }

    .breadcrumbs {
        flex-wrap: wrap !important;
        font-size: 0.82rem !important;
        line-height: 1.5 !important;
        padding: 0 15px !important;
    }
}

/* Floating Stats Badge */
.hero-floating-badge {
    position: absolute;
    bottom: 30px;
    left: -30px;
    background-color: var(--bg-card);
    padding: 16px 24px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-premium);
    display: flex;
    align-items: center;
    gap: 16px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-left: 5px solid var(--accent);
    animation: float 4s ease-in-out infinite;
}

.floating-badge-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--accent);
    line-height: 1;
}

.floating-badge-text {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* --- PRODUCT CATEGORIES CAROUSEL --- */
.categories {
    background-color: var(--bg-surface);
    position: relative;
    overflow: hidden;
}

.categories-carousel-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 10px 0;
}

.categories-slider-track {
    display: flex;
    gap: 24px;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    width: 100%;
}

.category-slider-card {
    flex: 0 0 calc(50% - 12px); /* 2 items visible side-by-side on desktop */
    height: 380px;
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--border-color);
    cursor: pointer;
    transition: var(--transition-smooth);
}

.category-slider-card:hover {
    transform: translateY(-6px);
    border-color: rgba(34, 197, 94, 0.25);
    box-shadow: var(--shadow-accent);
}

.category-card-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.category-slider-card:hover .category-card-bg {
    transform: scale(1.05);
}

.category-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(3, 6, 12, 0.95) 0%, rgba(3, 6, 12, 0.4) 60%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 40px;
    z-index: 2;
    transition: var(--transition-smooth);
}

.category-slider-card:hover .category-card-overlay {
    background: linear-gradient(to top, rgba(3, 6, 12, 0.98) 0%, rgba(3, 6, 12, 0.5) 60%, transparent 100%);
}

.category-card-badge {
    align-self: flex-start;
    background-color: rgba(34, 197, 94, 0.12);
    border: 1px solid rgba(34, 197, 94, 0.2);
    color: var(--accent-light);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 4px 12px;
    border-radius: 50px;
    margin-bottom: 14px;
}

.category-card-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 8px;
}

.category-card-desc {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 20px;
    line-height: 1.5;
}

.category-card-link {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--accent);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.category-slider-card:hover .category-card-link {
    color: var(--accent-light);
}

/* Category Slider dots */
.categories-slider-indicators {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

.cat-indicator {
    width: 24px;
    height: 5px;
    border-radius: 3px;
    background-color: rgba(255, 255, 255, 0.15);
    cursor: pointer;
    transition: var(--transition-smooth);
}

.cat-indicator.active {
    width: 40px;
    background-color: var(--accent);
    box-shadow: var(--shadow-accent);
}

/* Responsive category card grid size */
@media (max-width: 992px) {
    .category-slider-card {
        flex: 0 0 100%; /* Show 1 item on tablet/mobile */
    }
}

/* --- WHY CHOOSE US (ABOUT HIGHLIGHT) --- */
.why-us {
    background-color: var(--bg-dark);
}

.why-us-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 60px;
    align-items: center;
}

.why-us-image-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.why-us-img {
    width: 100%;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
}

.why-us-img.tall {
    grid-row: span 2;
    height: 100%;
    object-fit: cover;
}

.why-us-content {
    padding-left: 20px;
}

.why-features {
    display: grid;
    gap: 24px;
    margin-top: 36px;
}

.why-feature-item {
    display: flex;
    gap: 16px;
}

.why-feature-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background-color: rgba(34, 197, 94, 0.08);
    border: 1px solid rgba(34, 197, 94, 0.15);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.why-feature-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 6px;
}

.why-feature-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* --- PRODUCT PAGE & GRID --- */
.products-filter-wrapper {
    margin-bottom: 45px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
}

.filter-btn {
    padding: 10px 26px;
    font-family: var(--font-primary);
    font-size: 0.9rem;
    font-weight: 600;
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition-fast);
}

.filter-btn:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.filter-btn.active {
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    color: #ffffff;
    border: none;
    box-shadow: var(--shadow-accent);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
    gap: 30px;
}

.product-card {
    background-color: var(--bg-card);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-accent);
    border-color: rgba(34, 197, 94, 0.25);
}

.product-img-wrapper {
    position: relative;
    overflow: hidden;
    background-color: #0c121e;
}

.product-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: var(--transition-smooth);
}

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

.product-category-tag {
    position: absolute;
    top: 16px;
    left: 16px;
    background-color: rgba(17, 24, 39, 0.85);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--accent-light);
    box-shadow: var(--shadow-sm);
}

.product-info {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 10px;
}

.product-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 20px;
    flex-grow: 1;
    line-height: 1.6;
}

.product-specs {
    border-top: 1px solid var(--border-color);
    padding-top: 16px;
    margin-bottom: 20px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.spec-item {
    display: flex;
    flex-direction: column;
}

.spec-label {
    font-size: 0.7rem;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.spec-value {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-white);
}

.product-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
}

.product-price {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--accent);
}

.product-btn {
    padding: 8px 18px;
    font-size: 0.85rem;
}

/* --- CONTACT SECTION & PAGE --- */
.contact-grid {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 50px;
}

.contact-info-wrapper {
    background-color: var(--bg-card);
    color: var(--text-white);
    padding: 50px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.contact-info-wrapper::after {
    content: '';
    position: absolute;
    bottom: -10%;
    right: -10%;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(34, 197, 94, 0.08) 0%, transparent 70%);
    border-radius: 50%;
}

.contact-info-title {
    font-size: 2.1rem;
    font-weight: 800;
    margin-bottom: 16px;
}

.contact-info-desc {
    color: var(--text-muted);
    margin-bottom: 40px;
}

.contact-details-list {
    display: grid;
    gap: 30px;
    position: relative;
    z-index: 1;
}

.contact-detail-item {
    display: flex;
    gap: 20px;
}

.contact-detail-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background-color: rgba(34, 197, 94, 0.08);
    border: 1px solid rgba(34, 197, 94, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: var(--accent);
    flex-shrink: 0;
}

.contact-detail-content h4 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.contact-detail-content p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.contact-form-wrapper {
    background-color: var(--bg-card);
    padding: 50px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 24px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group.full-width {
    grid-column: span 2;
}

.form-label {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 8px;
}

.form-control {
    font-family: var(--font-primary);
    padding: 14px 18px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    color: var(--text-white);
    transition: var(--transition-fast);
    background-color: var(--bg-surface);
}

.form-control:focus {
    outline: none;
    border-color: var(--accent);
    background-color: var(--bg-card);
    box-shadow: 0 0 0 3px var(--accent-glow);
}

textarea.form-control {
    resize: none;
    min-height: 140px;
}

/* Form Success State Notification */
.form-message {
    padding: 14px 20px;
    border-radius: var(--radius-sm);
    margin-bottom: 24px;
    font-size: 0.95rem;
    font-weight: 600;
    display: none;
}

.form-message.success {
    background-color: rgba(34, 197, 94, 0.1);
    color: var(--accent-light);
    border: 1px solid rgba(34, 197, 94, 0.2);
    display: block;
}

/* --- FOOTER --- */
.footer {
    background-color: #03060c;
    color: var(--text-muted);
    padding-top: 80px;
    padding-bottom: 30px;
    border-top: 1px solid var(--border-color);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 0.8fr 1.2fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-logo {
    margin-bottom: 24px;
}

.footer-logo-img {
    height: 45px;
    /* Keeps logo.png perfectly readable on footer */
    filter: brightness(0.95) contrast(1.05);
}

.footer-about-text {
    font-size: 0.95rem;
    margin-bottom: 24px;
    line-height: 1.7;
}

.footer-socials {
    display: flex;
    gap: 12px;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
    transition: var(--transition-smooth);
}

.social-icon:hover {
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: var(--shadow-accent);
    border-color: var(--accent);
}

.footer-title {
    color: var(--text-white);
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 24px;
    position: relative;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--accent);
}

.footer-links {
    display: grid;
    gap: 12px;
}

.footer-link-item a {
    color: var(--text-muted);
}

.footer-link-item a:hover {
    color: var(--accent);
    padding-left: 4px;
}

.footer-newsletter-text {
    font-size: 0.95rem;
    margin-bottom: 16px;
}

.newsletter-form {
    display: flex;
    gap: 8px;
}

.newsletter-input {
    flex-grow: 1;
    padding: 12px 16px;
    border-radius: 50px;
    border: 1px solid var(--border-color);
    background-color: rgba(255, 255, 255, 0.04);
    color: var(--text-white);
    font-size: 0.9rem;
    font-family: var(--font-primary);
}

.newsletter-input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-glow);
}

.newsletter-btn {
    padding: 12px 22px;
    border-radius: 50px;
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding-top: 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.85rem;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-copy {
    color: var(--text-dim);
}

.footer-legal-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 24px;
}

.footer-legal-links a {
    color: var(--text-muted);
}

.footer-legal-links a:hover {
    color: var(--text-white);
}

/* --- SUBPAGE HERO --- */
.subpage-hero {
    background: linear-gradient(135deg, #03060c 0%, var(--bg-dark) 100%);
    color: var(--text-white);
    padding: 160px 0 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid var(--border-color);
}

.subpage-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 80% 20%, rgba(34, 197, 94, 0.08) 0%, transparent 60%);
}

.subpage-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
}

.breadcrumbs {
    display: flex;
    justify-content: center;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--text-muted);
    position: relative;
    z-index: 1;
}

.breadcrumbs a {
    color: var(--text-muted);
}

.breadcrumbs a:hover {
    color: var(--accent);
}

.breadcrumbs span {
    color: var(--text-dim);
}

/* --- ANIMATIONS --- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(40px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

/* --- RESPONSIVE BREAKPOINTS --- */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    .hero-text {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-image-container {
        max-width: 550px;
        margin: 0 auto;
    }

    .hero-floating-badge {
        left: 0;
    }

    .why-us-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .why-us-content {
        padding-left: 0;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .section-title {
        font-size: 2.1rem;
    }

    .hero-title {
        font-size: 2.7rem;
    }

    .mobile-nav-toggle {
        display: flex;
        z-index: 100000 !important; /* Ensure hamburger stays clickable on top of overlay */
    }

    .nav-menu {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: rgba(3, 6, 12, 0.99);
        backdrop-filter: blur(30px);
        -webkit-backdrop-filter: blur(30px);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        gap: 15px;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        padding: 90px 40px 140px 40px;
        z-index: 99999;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .nav-menu.active {
        opacity: 1;
        visibility: visible;
    }

    .nav-menu .nav-link {
        font-size: 1.6rem;
        font-weight: 700;
        color: var(--text-white);
        text-decoration: none;
        padding: 10px 0;
        width: auto;
        border-bottom: none;
        display: block;
        text-align: center;
        opacity: 0;
        transform: translateY(20px);
        transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1), transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), color 0.3s ease;
    }

    .nav-menu.active .nav-link {
        opacity: 1;
        transform: translateY(0);
    }

    /* Staggered Slide-up Animations */
    .nav-menu.active .nav-link:nth-child(1) { transition-delay: 0.1s; }
    .nav-menu.active .nav-link:nth-child(2) { transition-delay: 0.14s; }
    .nav-menu.active .nav-link:nth-child(3) { transition-delay: 0.18s; }
    .nav-menu.active .nav-link:nth-child(4) { transition-delay: 0.22s; }
    .nav-menu.active .nav-link:nth-child(5) { transition-delay: 0.26s; }
    .nav-menu.active .nav-link:nth-child(6) { transition-delay: 0.3s; }
    .nav-menu.active .nav-link:nth-child(7) { transition-delay: 0.34s; }

    .nav-menu .nav-link:hover {
        color: var(--accent);
        transform: scale(1.05);
    }

    .mobile-menu-footer {
        display: flex !important;
        flex-direction: column;
        align-items: center;
        margin-top: 30px;
        border-top: 1px solid rgba(255, 255, 255, 0.08);
        padding-top: 25px;
        width: 100%;
        max-width: 260px;
        text-align: center;
        opacity: 0;
        transform: translateY(20px);
        transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1) 0.38s, transform 0.4s cubic-bezier(0.16, 1, 0.3, 1) 0.38s;
    }

    .nav-menu.active .mobile-menu-footer {
        opacity: 1;
        transform: translateY(0);
    }

    .mobile-menu-socials a {
        color: var(--text-muted) !important;
        font-size: 1.25rem !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 44px !important;
        height: 44px !important;
        background: rgba(255, 255, 255, 0.03) !important;
        border: 1px solid rgba(255, 255, 255, 0.08) !important;
        border-radius: 50% !important;
        transition: all 0.3s ease !important;
    }

    .mobile-menu-socials a:hover {
        color: var(--accent-light) !important;
        background: rgba(34, 197, 94, 0.1) !important;
        border-color: rgba(34, 197, 94, 0.2) !important;
        transform: translateY(-3px) !important;
    }

    .nav-cta {
        display: none;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .form-group.full-width {
        grid-column: span 1;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 15px;
    }

    .footer-legal-links {
        justify-content: center;
        flex-wrap: wrap;
        gap: 10px 15px;
    }
}

@media (max-width: 480px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px 20px;
    }

    .footer-grid > div:nth-child(1),
    .footer-grid > div:nth-child(4) {
        grid-column: span 2;
    }

    .why-us-image-grid {
        grid-template-columns: 1fr;
    }

    .why-us-img.tall {
        grid-row: auto;
        height: 250px;
    }

    .contact-info-wrapper {
        padding: 30px;
    }

    .contact-form-wrapper {
        padding: 30px;
    }
}

/* --- TOP HEADER BAR --- */
.top-header {
    background-color: #03060c;
    border-bottom: 1px solid var(--border-color);
    font-size: 0.82rem;
    color: var(--text-muted);
    padding: 8px 0;
    height: 38px;
    position: absolute; /* Changed from fixed to let it scroll out of viewport */
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100000; /* Set extremely high to sit above header navigation */
}

.top-header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.top-header-info {
    display: flex;
    gap: 24px;
}

.top-header-info a {
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 8px;
}

.top-header-info a:hover {
    color: var(--accent-light);
}

.top-header-info i {
    color: var(--accent);
}

.top-header-socials {
    display: flex;
    gap: 16px;
}

.top-header-socials a {
    color: var(--text-muted);
    transition: var(--transition-fast);
}

.top-header-socials a:hover {
    color: var(--accent-light);
    transform: scale(1.15);
}

/* --- DYNAMIC SLIDER VERTICAL LINES BACKGROUND EFFECT --- */
.hero-particles {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 3; /* Placed over slide background (z-index 2) but behind slide content (z-index 4 / class slide-content-grid) */
    pointer-events: none;
}

/* Slide content z-index adjustment to stand on top of particles */
.slide-content-grid {
    z-index: 4 !important;
}

.hero-particles .particle {
    position: absolute;
    width: 2px;
    background: linear-gradient(to bottom, transparent, var(--accent), transparent);
    border-radius: 2px;
    opacity: 0;
    animation: floatParticle 8s infinite linear;
}

@keyframes floatParticle {
    0% {
        transform: translateY(105vh);
        opacity: 0;
    }
    10% {
        opacity: 0.4;
    }
    90% {
        opacity: 0.4;
    }
    100% {
        transform: translateY(-20vh);
        opacity: 0;
    }
}

/* Responsive adjustments for Top Header */
@media (max-width: 992px) {
    .top-header {
        display: block !important;
        position: absolute;
        height: 38px;
    }
    .top-header-info a:nth-child(1),
    .top-header-info a:nth-child(2) {
        display: none !important;
    }
    body {
        padding-top: 38px !important;
    }
    .header {
        top: 38px !important;
    }
    .header.scrolled {
        top: 0 !important;
    }
}

/* --- SERVICES SECTION --- */
.services {
    background-color: var(--bg-dark);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 40px 30px;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-accent);
    border-color: rgba(34, 197, 94, 0.25);
}

.service-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background-color: rgba(34, 197, 94, 0.08);
    border: 1px solid rgba(34, 197, 94, 0.15);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 24px;
    transition: var(--transition-smooth);
}

.service-card:hover .service-icon {
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    color: #ffffff;
    border-color: var(--accent);
    box-shadow: 0 4px 15px var(--accent-glow);
}

.service-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 12px;
}

.service-desc {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* --- PROJECT GALLERY SECTION --- */
.gallery {
    background-color: var(--bg-surface);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 240px;
    gap: 20px;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--border-color);
    cursor: pointer;
}

.gallery-item.large {
    grid-column: span 2;
    grid-row: span 2;
}

.gallery-item.wide {
    grid-column: span 2;
}

.gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(3, 6, 12, 0.9) 0%, rgba(3, 6, 12, 0.3) 60%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
    z-index: 2;
}

.gallery-item:hover .gallery-img {
    transform: scale(1.06);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
    visibility: visible;
}

.gallery-tag {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--accent-light);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 6px;
}

.gallery-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-white);
}

/* --- BLOGS SECTION --- */
.blogs {
    background-color: var(--bg-dark);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.blog-card {
    background-color: var(--bg-card);
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-accent);
    border-color: rgba(34, 197, 94, 0.25);
}

.blog-img-wrapper {
    position: relative;
    overflow: hidden;
    background-color: #0c121e;
}

.blog-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: var(--transition-smooth);
}

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

.blog-info {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.blog-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 12px;
    font-size: 0.8rem;
    color: var(--text-dim);
}

.blog-meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.blog-meta-item i {
    color: var(--accent);
}

.blog-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-white);
    line-height: 1.3;
    margin-bottom: 12px;
}

.blog-title a:hover {
    color: var(--accent);
}

.blog-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 20px;
    line-height: 1.6;
    flex-grow: 1;
}

.blog-link {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--accent);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.blog-card:hover .blog-link {
    color: var(--accent-light);
}

/* Responsiveness for new sections */
@media (max-width: 992px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 200px;
    }
    .gallery-item.large {
        grid-column: span 1;
        grid-row: span 1;
    }
    .gallery-item.wide {
        grid-column: span 1;
    }
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }
    .gallery-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 250px;
    }
}

/* --- DETAIL PAGES LAYOUT & TYPOGRAPHY --- */
.detail-grid {
    display: grid;
    grid-template-columns: 2.2fr 1fr;
    gap: 50px;
    align-items: start;
}

.detail-grid.sidebar-left {
    grid-template-columns: 1fr 2.2fr;
}

.detail-main {
    width: 100%;
}

.detail-sidebar {
    width: 100%;
    position: sticky;
    top: 120px;
}

.blog-detail-body {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.85;
}

.blog-detail-body p {
    margin-bottom: 24px;
}

.blog-detail-body h3 {
    color: var(--text-white);
    font-size: 1.5rem;
    font-weight: 700;
    margin-top: 40px;
    margin-bottom: 16px;
    line-height: 1.3;
}

.blog-detail-body h3::after {
    content: '';
    display: block;
    width: 40px;
    height: 3px;
    background-color: var(--accent);
    margin-top: 10px;
    border-radius: 2px;
}

.blog-detail-body ul {
    margin: 20px 0 30px 24px;
    padding-left: 0;
    list-style: none;
}

.blog-detail-body li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 12px;
    color: var(--text-muted);
}

.blog-detail-body li::before {
    content: '➔';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--accent);
    font-size: 0.9rem;
}

@media (max-width: 992px) {
    .detail-grid,
    .detail-grid.sidebar-left,
    .detail-grid.sidebar-right {
        grid-template-columns: 1fr !important;
        gap: 40px;
    }
    .detail-sidebar {
        position: static;
        width: 100%;
    }
}

/* --- ABOUT PAGE STATS GRID --- */
.about-stats-grid {
    grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 576px) {
    .about-stats-grid {
        grid-template-columns: 1fr !important;
        text-align: center;
        gap: 25px !important;
    }
}

/* --- FLOATING CONTACT DOCK (BOTTOM-LEFT) --- */
.floating-contact-dock {
    position: fixed;
    bottom: 30px;
    left: 30px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 9998; /* Directly underneath full screen mobile menu overlay */
    transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1), transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.floating-contact-dock.dock-hidden {
    opacity: 0;
    visibility: hidden;
    transform: translateY(30px);
    pointer-events: none;
}

.dock-item {
    position: relative;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
    font-size: 1.35rem;
    background: rgba(6, 11, 19, 0.75);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    text-decoration: none;
}

/* Tooltip on Hover */
.dock-tooltip {
    position: absolute;
    left: 65px;
    background: #060b13;
    color: var(--text-white);
    padding: 6px 14px;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-10px);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
    border: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: var(--shadow-sm);
}

.dock-item:hover .dock-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

/* Colors & Hover Effects */
.dock-item.whatsapp:hover {
    background: #25d366;
    color: #ffffff;
    border-color: #25d366;
    box-shadow: 0 0 20px rgba(37, 211, 102, 0.45);
    transform: translateY(-4px) scale(1.06);
}

.dock-item.phone:hover {
    background: var(--accent);
    color: #ffffff;
    border-color: var(--accent);
    box-shadow: 0 0 20px rgba(0, 242, 96, 0.45);
    transform: translateY(-4px) scale(1.06);
}

.dock-item.directions:hover {
    background: #ff9800;
    color: #ffffff;
    border-color: #ff9800;
    box-shadow: 0 0 20px rgba(255, 152, 0, 0.45);
    transform: translateY(-4px) scale(1.06);
}

/* Mobile adjustments */
@media (max-width: 992px) {
    .floating-contact-dock {
        bottom: 25px;
        left: 25px;
        gap: 10px;
    }
    .dock-item {
        width: 46px;
        height: 46px;
        font-size: 1.2rem;
    }
    .dock-tooltip {
        display: none !important; /* Avoid tooltips interfering with finger taps */
    }
}

/* --- COOKIE CONSENT BANNER --- */
.cookie-banner {
    position: fixed;
    bottom: 30px;
    right: 30px;
    max-width: 380px;
    background: rgba(6, 11, 19, 0.92);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    padding: 20px;
    box-shadow: var(--shadow-premium);
    z-index: 9997; /* Below mobile overlay, above standard content */
    display: flex;
    flex-direction: column;
    gap: 15px;
    transform: translateY(100px);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.cookie-banner.show {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

.cookie-content {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.cookie-icon {
    font-size: 1.4rem;
    color: var(--accent);
    flex-shrink: 0;
    margin-top: 2px;
}

.cookie-content p {
    font-size: 0.85rem;
    line-height: 1.5;
    color: var(--text-muted);
    margin: 0;
}

.cookie-content a {
    color: var(--accent);
    text-decoration: underline;
    font-weight: 600;
}

.cookie-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.cookie-accept-btn {
    border-color: var(--accent) !important;
    background-color: var(--accent) !important;
    color: #000000 !important;
    font-weight: 700 !important;
    transition: var(--transition-smooth) !important;
}

.cookie-accept-btn:hover {
    background-color: var(--accent-light) !important;
    border-color: var(--accent-light) !important;
    box-shadow: 0 0 12px rgba(0, 242, 96, 0.3);
}

.cookie-decline-btn {
    border-color: rgba(255, 255, 255, 0.12) !important;
    color: var(--text-muted) !important;
    background: transparent !important;
    font-weight: 600 !important;
    transition: var(--transition-smooth) !important;
}

.cookie-decline-btn:hover {
    background-color: rgba(255, 255, 255, 0.05) !important;
    color: var(--text-white) !important;
    border-color: rgba(255, 255, 255, 0.2) !important;
}

/* --- SERVICES & PROJECTS PAGE RESPONSIVE GRIDS --- */
.services-page-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.projects-page-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    grid-auto-rows: 280px;
    gap: 30px;
}

.detail-grid.sidebar-right {
    grid-template-columns: 2.2fr 1fr;
}

@media (max-width: 576px) {
    .cookie-banner {
        bottom: 20px;
        right: 20px;
        left: auto;
        width: calc(100% - 40px);
        max-width: 290px;
        padding: 16px;
    }

    /* Mobile Slider & Subpage Responsive Tweaks */
    .slide-title {
        font-size: 2.1rem !important;
        line-height: 1.25 !important;
        margin-bottom: 16px !important;
    }
    .slide-desc {
        font-size: 1rem !important;
        margin-bottom: 24px !important;
    }
    .slide-actions {
        gap: 10px !important;
        width: 100% !important;
    }
    .slide-actions .btn {
        width: 100% !important;
        justify-content: center !important;
    }
    .subpage-title {
        font-size: 1.65rem !important;
    }
    .detail-main table td,
    .detail-sidebar table td {
        padding: 10px 12px !important;
        font-size: 0.85rem !important;
    }
    .product-description-content {
        font-size: 1rem !important;
        line-height: 1.7 !important;
    }
    .services-page-grid,
    .projects-page-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }
    .projects-page-grid {
        grid-auto-rows: 250px !important;
    }
    .products-grid {
        grid-template-columns: 1fr !important;
    }
}