/**
 * Global Industrie - Secteurs Component Style Engine
 */
:root {
    --gi-red: #ff0000;
    --gi-red-dark: #ff0000;
    --gi-dark: #1a1a1a;
    --gi-gray: #4d4d4d;
    --gi-light-gray: #f5f6f7;
    --gi-border: #e8eae9;
    --gi-white: #ffffff;
    --gi-font-main: 'Open Sans', sans-serif;
    --gi-transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Page Reset Mechanics */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--gi-font-main);
    color: var(--gi-dark);
    background-color: var(--gi-white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.gi-container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 40px;
}

.gi-gallery-carousel-section {
    padding: 60px 0;
    overflow: hidden;
}

.gi-container {
    max-width: 1200px;
    margin: auto;
    padding: 0 20px;
}

.gi-gallery-main-title {
    text-align: center;
    color: #808080;
    margin-bottom: 30px;
    font-size: 28px;
    font-weight: 600;
}

.gi-gallery-wrapper {
    overflow: hidden;
}

.gi-gallery-scroll-grid {
    display: flex;
    gap: 20px;
    transition: transform 0.6s ease-in-out;
    will-change: transform;
}

.gi-gallery-item {
    min-width: 280px;
    flex-shrink: 0;
}

.gi-gallery-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
}

/* dots */
.gi-gallery-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
}

.gi-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ccc;
    cursor: pointer;
}

.gi-dot.active {
    background: var(--gi-red);
}

/* Reusable Dynamic Button Systems */
.gi-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 13px 30px;
    font-weight: 700;
    font-size: 0.85rem;
    text-decoration: none;
    border-radius: 4px;
    transition: var(--gi-transition);
    cursor: pointer;
}

.gi-btn-red {
    background-color: var(--gi-red);
    color: var(--gi-white);
    border: 1px solid var(--gi-red);
}

.gi-btn-red:hover {
    background-color: var(--gi-red-dark);
    border-color: var(--gi-red-dark);
}

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

.gi-btn-outline-white:hover {
    background-color: var(--gi-white);
    color: var(--gi-dark);
}

.gi-btn-outline-dark {
    background-color: transparent;
    color: var(--gi-dark);
    border: 1px solid var(--gi-dark);
}

.gi-btn-outline-dark:hover {
    background-color: var(--gi-dark);
    color: var(--gi-white);
}

/* ==========================================================================
   1. HERO HEADER SECTION
   ========================================================================== */
.gi-secteurs-hero {
    position: relative;
    width: 100%;
    min-height: 440px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.gi-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.gi-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gi-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26,26,26,0.92) 0%, rgba(26,26,26,0.5) 100%);
    z-index: 2;
}

.gi-hero-content {
    position: relative;
    z-index: 3;
    color: var(--gi-white);
}

.gi-hero-title {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.gi-hero-subtitle {
    font-size: 1.2rem;
    font-weight: 400;
    color: #e0e0e0;
    margin-bottom: 30px;
}

.gi-hero-buttons {
    display: flex;
    gap: 15px;
}

/* ==========================================================================
   2. INDUSTRIAL SECTORS ZIG-ZAG LIST
   ========================================================================== */
.gi-sectors-list-section {
    padding: 80px 0;
    background-color: var(--gi-white);
}

.gi-main-section-heading {
    font-size: 1.85rem;
    font-weight: 700;
    color: var(--gi-gray);
    text-align: center;
    margin-bottom: 70px;
}

.gi-sectors-stack {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.gi-sector-row {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 50px;
    align-items: center;
    background-color: var(--gi-white);
    border: 1px solid var(--gi-border);
    border-radius: 12px;
    overflow: hidden;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.02);
    transition: var(--gi-transition);
}

.gi-sector-row:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.05);
}

/* Alternating configurations rules */
.gi-sector-row.img-right {
    grid-template-columns: 1.1fr 1fr;
}

.gi-sector-visual {
    height: 280px;
    border-radius: 8px;
    overflow: hidden;
}

.gi-sector-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gi-sector-row:hover .gi-sector-visual img {
    transform: scale(1.03);
}

.gi-sector-info h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gi-dark);
    margin-bottom: 15px;
    position: relative;
}

.gi-sector-info p {
    font-size: 0.95rem;
    color: var(--gi-gray);
    text-align: justify;
    margin-bottom: 20px;
    line-height: 1.6;
}

.gi-sector-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px 20px;
    list-style-type: none;
}

.gi-sector-features li {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--gi-gray);
    position: relative;
    padding-left: 14px;
}

.gi-sector-features li::before {
    content: '•';
    color: var(--gi-red);
    position: absolute;
    left: 0;
    font-size: 1.1rem;
    top: -2px;
}

/* ==========================================================================
   3. EXPANSIVE FULL-WIDTH CREDENTIAL BRANDING BANNER
   ========================================================================== */
.gi-credentials-banner {
    position: relative;
    width: 100%;
    height: 320px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.gi-credentials-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.gi-credentials-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gi-credentials-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(26, 26, 26, 0.75);
    z-index: 2;
}

.gi-credentials-content {
    position: relative;
    z-index: 3;
    color: var(--gi-white);
}

.gi-credentials-content h2 {
    font-size: 2.4rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 15px;
    letter-spacing: -0.5px;
}

.gi-credentials-divider {
    width: 60px;
    height: 4px;
    background-color: var(--gi-red);
    margin-bottom: 15px;
}

.gi-credentials-sub {
    font-size: 1.1rem;
    font-weight: 500;
    color: rgba(255,255,255,0.9);
}

/* ==========================================================================
   4. REAL-TIME PROJECT GALLERY
   ========================================================================== */
.gi-gallery-carousel-section {
    padding: 80px 0;
    background-color: var(--gi-light-gray);
}

.gi-gallery-main-title {
    font-size: 1.85rem;
    font-weight: 700;
    color: var(--gi-gray);
    margin-bottom: 40px;
}

.gi-gallery-scroll-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.gi-gallery-item {
    height: 200px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    border: 1px solid var(--gi-border);
}

.gi-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: var(--gi-transition);
}

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

.gi-gallery-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.gi-dot {
    width: 8px;
    height: 8px;
    background-color: #d0d2d3;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--gi-transition);
}

.gi-dot.active {
    background-color: var(--gi-red);
    transform: scale(1.2);
}

/* ==========================================================================
   5. BOTTOM MARQUEE ACTION BAR
   ========================================================================== */
.gi-bottom-marquee-bar {
    background-color: var(--gi-red);
    padding: 24px 0;
    text-align: center;
}

.gi-marquee-text {
    color: var(--gi-white);
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: 0.5px;
}

/* ==========================================================================
   6. FLOATING INTERMEDIARY DIALOGUE CARD WIDGET
   ========================================================================== */
.gi-floating-widget-section {
    padding: 60px 0;
    background-color: var(--gi-white);
}

.gi-floating-card-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid var(--gi-border);
    padding: 30px 50px;
    border-radius: 60px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.02);
}

.gi-card-meta-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.gi-widget-icon {
    display: flex;
    align-items: center;
}

.gi-card-meta-left h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--gi-dark);
}

.gi-card-actions-right {
    display: flex;
    gap: 15px;
}

.gi-card-actions-right .gi-btn {
    border-radius: 30px;
    padding: 11px 26px;
}

/* ==========================================================================
   7. CORPORATE FOOTER SECTION
   ========================================================================== */
.gi-global-footer {
    background-color: #616265;
    color: var(--gi-white);
    padding: 60px 0 40px;
}

.gi-footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1.2fr;
    gap: 60px;
}

.gi-footer-brand-column .gi-footer-logo-wrapper {
    max-width: 140px;
    margin-bottom: 20px;
}

.gi-footer-brand-column .gi-footer-logo-wrapper img {
    width: 100%;
    display: block;
}

.gi-footer-brand-summary {
    font-size: 0.85rem;
    line-height: 1.5;
    color: #e0e0e0;
}

.gi-global-footer h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 20px;
    border-bottom: 2px solid var(--gi-red);
    display: inline-block;
    padding-bottom: 5px;
}

.gi-footer-links-flex {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px 20px;
}

.gi-footer-links-flex a {
    color: #e0e0e0;
    text-decoration: none;
    font-size: 0.88rem;
    transition: var(--gi-transition);
}

.gi-footer-links-flex a:hover {
    color: var(--gi-red);
    padding-left: 2px;
}

.gi-footer-social-icons {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.gi-footer-social-icons a {
    color: var(--gi-white);
    transition: var(--gi-transition);
}

.gi-footer-social-icons a:hover {
    color: var(--gi-red);
}

.gi-footer-meta-address {
    font-size: 0.75rem;
    color: #cccccc;
    line-height: 1.5;
}

/* ==========================================================================
   8. MEDIA QUERIES & RESPONSIVE LAYOUT SYSTEMS
   ========================================================================== */
@media (max-width: 1100px) {
    .gi-gallery-scroll-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }
    .gi-gallery-item {
        height: 170px;
    }
}

@media (max-width: 991px) {
    .gi-sector-row {
        grid-template-columns: 1fr !important;
        gap: 30px;
    }
    .gi-sector-visual {
        order: 1 !important;
        height: 240px;
    }
    .gi-sector-info {
        order: 2 !important;
    }
    .gi-footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .gi-hero-title {
        font-size: 2rem;
    }
    .gi-hero-subtitle {
        font-size: 1rem;
    }
    .gi-hero-buttons {
        flex-direction: column;
    }
    .gi-sector-features {
        grid-template-columns: 1fr;
    }
    .gi-credentials-content h2 {
        font-size: 1.8rem;
    }
    .gi-gallery-scroll-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .gi-floating-card-wrapper {
        flex-direction: column;
        border-radius: 20px;
        gap: 25px;
        text-align: center;
        padding: 30px 20px;
    }
    .gi-card-meta-left {
        flex-direction: column;
    }
    .gi-card-actions-right {
        width: 100%;
        flex-direction: column;
    }
    .gi-marquee-text {
        font-size: 0.95rem;
    }
}