/* =============================================
   Future Gate Group - Stylesheet
   ============================================= */

/* Reset & Base */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    color: #212121;
    line-height: 1.6;
    background: #fff;
}

a {
    text-decoration: none;
    color: inherit;
}

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

/* =============================================
   Hero Section — Slider + Split Layout
   ============================================= */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #000;
    overflow: hidden;
}

/* Slider Background */
.hero-slider {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 1;
}

/* Centered Logo at Top */
.hero-logo {
    position: relative;
    z-index: 2;
    margin-top: 40px;
    margin-bottom: 10px;
}

.hero-logo img {
    height: 200px;
    width: auto;
    margin: 0 auto;
}

.slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.35);
    border: none;
    cursor: pointer;
    transition: all 0.3s;
}

.slider-dot.active {
    background: #fff;
    transform: scale(1.2);
}

.hero-inner {
    position: relative;
    z-index: 2;
    max-width: 900px;
    width: 100%;
    padding: 20px 40px 40px;
    text-align: center;
}

.hero-text {
    padding: 0;
}

.hero-tagline {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 2.8rem;
    font-weight: 300;
    font-style: normal;
    color: #fff;
    line-height: 1.3;
    margin-bottom: 22px;
}

.hero-description {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.1rem;
    font-weight: 300;
    line-height: 1.8;
    margin-bottom: 12px;
    text-align: justify;
}

.hero-arrow {
    position: relative;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 2px solid rgba(255, 255, 255, 0.35);
    border-radius: 50%;
    color: #fff;
    font-size: 1.1rem;
    margin-top: 10px;
    margin-bottom: 30px;
    transition: all 0.3s;
    animation: bounce 2s infinite;
}

.hero-arrow:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: #fff;
}

/* =============================================
   Companies Section — Alternating Rows
   ============================================= */
.companies {
    padding: 70px 0 40px;
    background: #fff;
}

.section-title {
    text-align: center;
    font-size: 1.6rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 50px;
    letter-spacing: 3px;
    text-transform: uppercase;
}

/* Company Row — side by side */
.company-row {
    display: flex;
    align-items: stretch;
    max-width: 1100px;
    margin: 0 auto 40px;
    background: #f9f9f9;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    transition: box-shadow 0.3s;
}

.company-row:hover {
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.1);
}

.company-image {
    flex: 0 0 42%;
    max-width: 42%;
    overflow: hidden;
}

.company-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}

.company-row:hover .company-image img {
    transform: scale(1.03);
}

.company-info {
    flex: 1;
    padding: 30px 35px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.company-logo {
    max-width: 200px;
    height: auto;
    margin-bottom: 18px;
}

.company-info p {
    font-size: 1.1rem;
    color: #444;
    line-height: 1.75;
    margin-bottom: 16px;
    text-align: justify;
}

.read-more {
    color: #1863dc;
    font-weight: 500;
    font-size: 0.9rem;
    transition: color 0.3s;
    align-self: flex-start;
}

.read-more:hover {
    color: #0d4db3;
    text-decoration: underline;
}

/* Reversed row — image on right */
.company-row.reverse {
    flex-direction: row-reverse;
}

/* =============================================
   Footer
   ============================================= */
.footer {
    background: #111;
    color: #ccc;
    padding: 50px 30px 0;
}

.footer-container {
    max-width: 1100px;
    margin: 0 auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 40px;
    padding-bottom: 35px;
}

.footer-col h4 {
    color: #fff;
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 14px;
    padding-bottom: 8px;
    border-bottom: 2px solid #1863dc;
    display: inline-block;
}

.footer-col p {
    font-size: 0.83rem;
    line-height: 1.7;
    margin-bottom: 8px;
}

.footer-col i {
    color: #1863dc;
    margin-right: 7px;
    width: 14px;
    text-align: center;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 18px 0;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.78rem;
    color: #777;
}

/* =============================================
   Animations
   ============================================= */
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-8px);
    }
    60% {
        transform: translateY(-4px);
    }
}

/* Scroll reveal */
.company-row {
    opacity: 0;
    transform: translateY(25px);
    transition: opacity 0.6s ease, transform 0.6s ease, box-shadow 0.3s ease;
}

.company-row.visible {
    opacity: 1;
    transform: translateY(0);
}

/* =============================================
   Cookie Popup
   ============================================= */
.cookie-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.cookie-popup {
    background: #fff;
    border-radius: 12px;
    padding: 35px 30px;
    max-width: 420px;
    width: 100%;
    text-align: center;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.3);
}

.cookie-icon {
    font-size: 2.5rem;
    color: #1863dc;
    margin-bottom: 15px;
}

.cookie-popup h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 12px;
}

.cookie-popup p {
    font-size: 0.88rem;
    color: #555;
    line-height: 1.65;
    margin-bottom: 22px;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.cookie-btn {
    padding: 10px 28px;
    border: none;
    border-radius: 6px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.88rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.3s;
}

.cookie-btn.accept {
    background: #1863dc;
    color: #fff;
}

.cookie-btn.accept:hover {
    background: #0d4db3;
}

.cookie-btn.decline {
    background: #f0f0f0;
    color: #555;
    border: 1px solid #ddd;
}

.cookie-btn.decline:hover {
    background: #e0e0e0;
}

/* =============================================
   Responsive
   ============================================= */
@media (max-width: 900px) {
    .hero-inner {
        flex-direction: column;
        text-align: center;
        padding: 20px 25px 30px;
        gap: 25px;
    }

    .hero-image {
        flex: none;
        max-width: 55%;
    }

    .hero-tagline {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    .hero-logo img {
        height: 60px;
    }

    .hero-tagline {
        font-size: 1.8rem;
    }

    /* Companies */
    .company-row,
    .company-row.reverse {
        flex-direction: column;
    }

    .company-image {
        flex: none;
        max-width: 100%;
        height: 220px;
    }

    .company-info {
        padding: 22px 20px;
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
}

@media (max-width: 480px) {
    .hero-image {
        max-width: 75%;
    }

    .hero-tagline {
        font-size: 1.5rem;
    }

    .hero-description {
        font-size: 0.85rem;
    }

    .section-title {
        font-size: 1.3rem;
        letter-spacing: 1.5px;
    }

    .company-image {
        height: 180px;
    }
}
