/* =========================================
   VARIABLES & DESIGN TOKENS
   ========================================= */
:root {
    --color-sidebar-bg: #070810;
    --color-sidebar-text: #e0e0e0;
    --color-white: #ffffff;
    --color-offwhite: #fafafa;
    --color-border: #eeeeee;
    --color-text-main: #333333;
    --color-text-muted: #666666;
    --color-safe-blue: #005b96;

    --font-primary: 'Montserrat', sans-serif;
    --sidebar-width: 320px;
    --transition-fast: 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-primary);
    background-color: var(--color-sidebar-bg);
    color: var(--color-text-main);
    overflow-x: hidden;
    line-height: 1.6;
}

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

.layout-wrapper {
    display: flex;
    min-height: 100vh;
    width: 100%;
}

.responsive-img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

/* =========================================
   SIDEBAR
   ========================================= */
.sidebar {
    width: var(--sidebar-width);
    background-color: var(--color-sidebar-bg);
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    padding: 3rem 2.5rem;
    z-index: 10000;
}

.logo-area {
    margin-bottom: 5rem;
}

.logo {
    max-width: 240px;
    height: auto;
    transition: transform var(--transition-fast);
}

.sidebar-nav {
    flex-grow: 1;
}

.sidebar-nav>ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.nav-btn {
    text-transform: uppercase;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
}

.nav-btn:hover,
.nav-btn.active {
    color: var(--color-white);
}

.nav-btn i {
    font-size: 1rem;
    opacity: 0.5;
    transition: transform 0.3s;
}

.nav-btn:hover i {
    opacity: 1;
}

.sidebar-submenu {
    list-style: none;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, margin-top 0.4s ease;
    padding-left: 1.5rem;
    margin-top: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.sidebar-submenu.open {
    max-height: 400px;
    margin-top: 1rem;
}

.sub-btn {
    text-transform: none;
    font-size: 0.8rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.5);
    justify-content: flex-start;
}

.sub-btn i {
    margin-right: 0.8rem;
    font-size: 1.1rem;
    opacity: 0.8;
}

.social-links {
    display: flex;
    gap: 1.2rem;
    margin-top: auto;
}

.social-links a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.4rem;
}

.social-links a:hover {
    color: var(--color-white);
}

/* =========================================
   MAIN CONTENT & SPA STRUCTURE
   ========================================= */
.main-content {
    margin-left: var(--sidebar-width);
    width: calc(100% - var(--sidebar-width));
    min-height: 100vh;
    background-color: var(--color-white);
    position: relative;
}

.mobile-header {
    display: none;
}



@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(15px);
    }

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

.page-padding {
    padding: 4rem;
}

.view-header {
    margin-bottom: 3rem;
    border-bottom: 1px solid var(--color-border);
    padding-bottom: 1.5rem;
}

.db-page-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-sidebar-bg);
    margin-bottom: 0.5rem;
    letter-spacing: -0.5px;
}

.db-page-subtitle {
    font-size: 1.1rem;
    color: var(--color-text-muted);
}

/* =========================================
   2x2 SECTOR GRID
   ========================================= */
/* Basic properties for grid - Responsive rules moved to end for priority */
.sector-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 1fr);
    min-height: 100vh;
    width: 100%;
}

.grid-item {
    position: relative;
    overflow: hidden;
    display: block;
    min-height: 350px;
    /* Ensure visibility even if image fails */
    background-color: #f5f5f5;
}

.grid-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.grid-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0) 40%);
}

.grid-item:hover .grid-bg {
    transform: scale(1.08);
}

.grid-label {
    position: absolute;
    bottom: 0;
    right: 0;
    background-color: var(--color-sidebar-bg);
    color: var(--color-white);
    padding: 1.2rem 3rem 1.2rem 2rem;
    font-size: 1.2rem;
    font-weight: 700;
    border-top-left-radius: 60px;
    transition: background-color var(--transition-fast);
    z-index: 2;
}

.grid-label::before {
    content: '';
    position: absolute;
    top: -20px;
    right: 0;
    width: 20px;
    height: 20px;
    box-shadow: 10px 10px 0 0 var(--color-sidebar-bg);
    border-bottom-right-radius: 20px;
    opacity: 0;
}

.grid-item:hover .grid-label {
    background-color: var(--color-safe-blue);
    padding-right: 3.5rem;
}

/* =========================================
   INNER VIEWS: ABOUT
   ========================================= */
.about-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: start;
}

.about-text h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--color-safe-blue);
}

.about-text p {
    margin-bottom: 1.2rem;
    color: var(--color-text-muted);
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--color-border);
}

.feature-box {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.feature-box i {
    font-size: 2rem;
    color: var(--color-safe-blue);
    background-color: rgba(0, 91, 150, 0.1);
    padding: 1rem;
    border-radius: 8px;
}

.feature-box h4 {
    font-size: 1.1rem;
    margin-bottom: 0.2rem;
}

.feature-box p {
    margin-bottom: 0;
    font-size: 0.95rem;
}

.img-wrapper {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* =========================================
   INNER VIEWS: SECTORS
   ========================================= */
.sectors-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.sector-card {
    background-color: var(--color-offwhite);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    padding: 2.5rem 2rem;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.sector-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.06);
    background-color: var(--color-white);
}

.card-icon {
    font-size: 2.5rem;
    color: var(--color-safe-blue);
    margin-bottom: 1.5rem;
}

.sector-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.card-content p {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    margin-bottom: 0.8rem;
}

/* =========================================
   INNER VIEWS: MEDIA / REFERENCES 
   ========================================= */
.media-masonry {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.placeholder-img {
    background-color: var(--color-offwhite);
    border-radius: 8px;
    height: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #999;
    border: 2px dashed #ddd;
    transition: background-color var(--transition-fast);
}

.placeholder-img i {
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.placeholder-img:hover {
    background-color: #f0f0f0;
    border-color: #ccc;
    cursor: pointer;
}

/* =========================================
   INNER VIEWS: CONTACT
   ========================================= */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
}

.info-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.info-item .icon-wrap {
    width: 50px;
    height: 50px;
    background-color: rgba(0, 91, 150, 0.1);
    color: var(--color-safe-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.info-item h4 {
    margin-bottom: 0.3rem;
}

.info-item p,
.info-item a {
    color: var(--color-text-muted);
    font-size: 0.95rem;
}

.info-item a:hover {
    color: var(--color-safe-blue);
}

.form-wrapper {
    background-color: var(--color-offwhite);
    padding: 3rem;
    border-radius: 12px;
    border: 1px solid var(--color-border);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group.row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-control {
    width: 100%;
    padding: 1rem 1.2rem;
    background-color: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: 6px;
    font-family: inherit;
    font-size: 0.95rem;
    color: var(--color-text-main);
    outline: none;
    transition: border-color var(--transition-fast);
}

.form-control:focus {
    border-color: var(--color-safe-blue);
}

textarea.form-control {
    resize: vertical;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2.5rem;
    font-weight: 600;
    border-radius: 6px;
    transition: all var(--transition-fast);
    cursor: pointer;
    font-size: 1rem;
    border: none;
}

.btn-primary {
    font-family: inherit;
    background-color: var(--color-safe-blue);
    color: var(--color-white);
}

.btn-primary:hover {
    background-color: #004573;
    box-shadow: 0 5px 15px rgba(0, 91, 150, 0.3);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--color-safe-blue);
    color: var(--color-safe-blue);
}

.btn-outline:hover {
    background-color: var(--color-safe-blue);
    color: var(--color-white);
    box-shadow: 0 5px 15px rgba(0, 91, 150, 0.2);
}

/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 1024px) {
    .sidebar {
        transform: translateX(-100%);
        transition: transform 0.4s;
    }

    .sidebar.open {
        transform: translateX(0);
        box-shadow: 10px 0 30px rgba(0, 0, 0, 0.5);
    }

    .main-content {
        margin-left: 0;
        width: 100%;
    }

    .mobile-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        background-color: var(--color-sidebar-bg);
        padding: 1rem 1.5rem;
        height: 70px;
        position: sticky;
        top: 0;
        z-index: 9999;
    }

    .mobile-logo {
        height: 35px;
    }

    #mobileMenuBtn {
        background: none;
        border: none;
        color: white;
        font-size: 2rem;
    }

    .sector-grid {
        height: auto;
        grid-template-columns: 1fr;
        grid-template-rows: repeat(4, 250px);
    }

    .page-padding {
        padding: 2rem 1.5rem;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

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

    .form-wrapper {
        padding: 2rem 1.5rem;
    }

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

/* =========================================
   COMPANY SECTION & LOGO RIBBONS
   ========================================= */
.company-section {
    margin-bottom: 5rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.company-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.brand-ribbon {
    display: flex;
    gap: 3rem;
    align-items: center;
    margin-top: 2rem;
    padding: 2rem;
    background-color: var(--color-white);
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    flex-wrap: wrap;
    justify-content: center;
}

.brand-ribbon img {
    height: 45px;
    object-fit: contain;
    filter: grayscale(100%) opacity(0.7);
    transition: all 0.3s ease;
}

.brand-ribbon img:hover {
    filter: grayscale(0%) opacity(1);
    transform: scale(1.05);
}

/* =========================================
   INNER VIEWS: 4IKLIM VALUES
   ========================================= */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--color-border);
}

.value-box {
    background-color: var(--color-offwhite);
    border: 1px solid var(--color-border);
    padding: 1.5rem;
    border-radius: 8px;
    display: flex;
    gap: 1.2rem;
    align-items: flex-start;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.value-box:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    background-color: var(--color-white);
}

.value-box i {
    font-size: 1.8rem;
    color: var(--color-safe-blue);
    background-color: rgba(0, 91, 150, 0.08);
    padding: 0.8rem;
    border-radius: 8px;
}

.value-box h4 {
    font-size: 1.05rem;
    margin-bottom: 0.3rem;
    color: var(--color-sidebar-bg);
}

.value-box p {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    margin-bottom: 0;
}

/* =========================================
   PREMIUM COMPANY PAGES
   ========================================= */
.company-hero {
    height: 450px;
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 4rem;
    position: relative;
    color: var(--color-white);
}

.hero-logo-wrapper {
    width: 220px;
    height: 220px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(8px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2.5rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    animation: fadeInRight 1s ease;
    flex-shrink: 0;
}

.hero-logo-wrapper img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.3));
}

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

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

@media (max-width: 1024px) {
    .company-hero {
        flex-direction: column;
        justify-content: center;
        gap: 2rem;
        padding: 4rem 2rem;
        height: auto;
        text-align: center;
    }

    .hero-stats {
        justify-content: center;
        flex-wrap: wrap;
    }

    .hero-logo-wrapper {
        width: 150px;
        height: 150px;
        padding: 1.5rem;
    }
}

.hero-content {
    max-width: 800px;
    animation: fadeIn 1s ease;
}

.hero-tag {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--color-safe-blue);
    background: rgba(255, 255, 255, 0.9);
    padding: 0.4rem 1rem;
    border-radius: 4px;
    display: inline-block;
    margin-bottom: 1rem;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.1;
}

.hero-content p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 2rem;
}

.hero-stats {
    display: flex;
    gap: 2rem;
    align-items: center;
}

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

.stat-num {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--color-white);
}

.stat-label {
    font-size: 0.8rem;
    opacity: 0.7;
    text-transform: uppercase;
}

.stat-line {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.3);
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--color-sidebar-bg);
}

.feature-highlights {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.feature-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.feature-item i {
    font-size: 2rem;
    color: var(--color-safe-blue);
    background: rgba(0, 91, 150, 0.05);
    padding: 1rem;
    border-radius: 50%;
}

.feature-item h4 {
    margin-bottom: 0.3rem;
    font-size: 1.05rem;
}

.feature-item p {
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

.highlight-wrapper {
    position: relative;
    overflow: visible !important;
}

.img-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--color-safe-blue);
    color: var(--color-white);
    padding: 1rem 2rem;
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: 8px;
    box-shadow: 0 10px 20px rgba(0, 91, 150, 0.2);
    z-index: 5;
}

/* =========================================
   IMAGE GALLERY MOSAIC (PREMIUM)
   ========================================= */
.image-gallery-mosaic {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 250px);
    gap: 1rem;
    position: relative;
}

.mosaic-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

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

.mosaic-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.mosaic-item:hover img {
    transform: scale(1.08);
}

.mosaic-badge {
    position: absolute;
    bottom: 1.5rem;
    left: 1.5rem;
    background: rgba(7, 8, 16, 0.8);
    backdrop-filter: blur(5px);
    color: var(--color-white);
    padding: 0.5rem 1.2rem;
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: 30px;
    z-index: 2;
}

@media (max-width: 1024px) {
    .company-hero {
        height: auto;
        min-height: 400px;
        padding: 4rem 2rem;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

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

    .stat-line {
        display: none;
    }

    .feature-highlights {
        grid-template-columns: 1fr;
    }

    .img-badge {
        position: relative;
        bottom: 0;
        right: 0;
        margin-top: 1rem;
        width: fit-content;
    }

    .image-gallery-mosaic {
        grid-template-rows: repeat(2, 180px);
    }
}

/* =========================================
   FEATURED PROJECTS (PREMIUM CARDS)
   ========================================= */
.featured-projects {
    margin-top: 5rem;
    padding-top: 4rem;
    border-top: 1px solid var(--color-border);
}

.featured-projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2.5rem;
}
@media (max-width: 1024px) {
    .featured-projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 768px) {
    .featured-projects-grid {
        grid-template-columns: 1fr;
    }
}

.project-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    height: 350px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: transform 0.4s ease;
}

.project-card:hover {
    transform: translateY(-10px);
}

.project-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

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

.project-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(7, 8, 16, 0.9) 0%, rgba(7, 8, 16, 0.4) 50%, rgba(7, 8, 16, 0) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2rem;
    transition: background 0.4s ease;
}

.project-card:hover .project-overlay {
    background: linear-gradient(to top, rgba(7, 8, 16, 0.95) 0%, rgba(7, 8, 16, 0.6) 60%, rgba(7, 8, 16, 0.2) 100%);
}

.project-tag {
    background: var(--color-safe-blue);
    color: var(--color-white);
    padding: 0.3rem 0.8rem;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 4px;
    align-self: flex-start;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.project-info h4 {
    color: var(--color-white);
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    transform: translateY(0);
    transition: transform 0.4s ease;
}

.project-info p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    margin-bottom: 0;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.4s ease;
}

.project-card:hover .project-info h4 {
    transform: translateY(-5px);
}

.project-card:hover .project-info p {
    transform: translateY(0);
    opacity: 1;
}

/* =========================================
   REFERENCES & MEDIA SECTION
   ========================================= */
.ref-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 3rem;
    justify-content: center;
}

.filter-btn {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    color: var(--color-text-main);
    padding: 0.8rem 1.5rem;
    border-radius: 30px;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all var(--transition-fast);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--color-safe-blue);
    color: var(--color-white);
    border-color: var(--color-safe-blue);
    box-shadow: 0 5px 15px rgba(0, 91, 150, 0.2);
}

.references-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.ref-card {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all var(--transition-fast);
    position: relative;
    overflow: hidden;
    cursor: default;
}

.ref-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 91, 150, 0.1);
    border-color: rgba(0, 91, 150, 0.2);
}

.ref-card i {
    font-size: 1.8rem;
    color: var(--color-safe-blue);
    background: rgba(0, 91, 150, 0.05);
    padding: 0.8rem;
    border-radius: 8px;
    flex-shrink: 0;
}

.ref-card h4 {
    font-size: 0.85rem;
    line-height: 1.4;
    color: var(--color-sidebar-bg);
    margin: 0;
    font-weight: 600;
    text-transform: uppercase;
}

.ref-card.hidden {
    display: none;
}

/* =========================================
   RESPONSIVE OVERRIDES
   ========================================= */
@media (max-width: 1024px) {
    .sector-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .sector-grid {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        grid-template-rows: repeat(3, 1fr) !important;
        min-height: calc(100vh - 70px) !important;
        height: calc(100vh - 70px) !important;
    }

    .grid-item {
        height: 100% !important;
        min-height: 0 !important;
        min-width: 0;
    }

    .grid-label {
        font-size: 0.85rem !important;
        padding: 0.6rem 1.2rem 0.6rem 1rem !important;
        border-top-left-radius: 30px !important;
        white-space: normal;
        max-width: 100%;
        line-height: 1.2;
    }

    .grid-item:hover .grid-label {
        padding-right: 1.5rem !important;
    }
}

/* =========================================
   LIGHTBOX STYLES
   ========================================= */
.lightbox {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(7, 8, 16, 0.95);
    backdrop-filter: blur(10px);
    justify-content: center;
    align-items: center;
}

.lightbox.active {
    display: flex;
}

.lightbox-content {
    max-width: 90%;
    max-height: 85vh;
    position: relative;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.5);
    animation: zoomIn 0.3s ease-out;
}

@keyframes zoomIn {
    from {
        transform: scale(0.9);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.lightbox-close {
    position: absolute;
    top: 2rem;
    right: 2.5rem;
    color: var(--color-white);
    font-size: 3rem;
    cursor: pointer;
    z-index: 10002;
    transition: transform 0.3s;
}

.lightbox-close:hover {
    transform: rotate(90deg);
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    font-size: 2.5rem;
    padding: 1rem;
    cursor: pointer;
    border-radius: 50%;
    transition: all 0.3s;
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background: var(--color-safe-blue);
}

.lightbox-prev {
    left: 2rem;
}

.lightbox-next {
    right: 2rem;
}

@media (max-width: 768px) {

    .lightbox-prev,
    .lightbox-next {
        font-size: 1.5rem;
        padding: 0.5rem;
    }

    .lightbox-prev {
        left: 1rem;
    }

    .lightbox-next {
        right: 1rem;
    }
}

/* ==========================================
   MOBILE FLOATING BUTTONS
   ========================================== */
.mobile-floating-buttons {
    display: none;
    position: fixed;
    bottom: 25px;
    right: 25px;
    flex-direction: column;
    gap: 15px;
    z-index: 999;
}

.float-btn {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.8rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    text-decoration: none;
}

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

.whatsapp-btn {
    background-color: #25D366;
}

.phone-btn {
    background-color: var(--color-safe-blue);
}

@media (max-width: 1024px) {
    .mobile-floating-buttons {
        display: flex;
    }
}

.lightbox-caption {
    color: var(--color-white);
    text-align: center;
    margin-top: 15px;
    font-size: 1.2rem;
    font-weight: 500;
    width: 100%;
}/* ==========================================
   FOOTER (SUB-PAGES ONLY)
   ========================================== */
.site-footer {
    background-color: var(--color-sidebar-bg);
    color: rgba(255, 255, 255, 0.7);
    padding: 4rem 3rem 1.5rem;
    margin-top: 4rem;
    font-family: var(--font-family);
}

.footer-container {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo-wrapper {
    display: inline-block;
    margin-bottom: 1.5rem;
}

.footer-logo {
    max-width: 200px;
    height: auto;
}

.footer-brand p {
    font-size: 0.95rem;
    line-height: 1.6;
}

.footer-col h4 {
    color: var(--color-white);
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

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

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

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
    display: inline-block;
}

.footer-links a:hover {
    color: var(--color-safe-blue);
    transform: translateX(5px);
}

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

.site-footer .contact-info li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.site-footer .contact-info i {
    color: var(--color-safe-blue);
    font-size: 1.3rem;
    margin-top: 0.15rem;
}

.site-footer .contact-info a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
}

.site-footer .contact-info a:hover {
    color: var(--color-safe-blue);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.85rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-legal {
    display: flex;
    gap: 1.5rem;
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
}

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

@media (max-width: 992px) {
    .footer-container {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .site-footer {
        padding: 3rem 1.5rem 1.5rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

/* COOKIE BANNER */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(7, 8, 16, 0.95);
    color: #fff;
    padding: 1rem 2rem;
    z-index: 10000;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.2);
    display: none;
    justify-content: center;
}
.cookie-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    width: 100%;
    gap: 2rem;
}
.cookie-content p {
    margin: 0;
    font-size: 0.9rem;
}
.cookie-content a {
    color: var(--color-safe-blue);
    text-decoration: underline;
}
@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
}
