/* =============================================
   Future Gate Trading - Stylesheet
   ============================================= */

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

html {
    scroll-behavior: smooth;
}

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

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

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

/* =============================================
   Navigation
   ============================================= */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: transparent;
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

.navbar.scrolled {
    background: rgba(0, 50, 90, 0.95);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.3);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 12px 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo img {
    height: 70px;
    width: auto;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-menu a {
    color: #fff;
    font-weight: 400;
    font-size: 0.95rem;
    letter-spacing: 0.3px;
    transition: color 0.3s;
}

.nav-menu a:hover {
    color: #7ec8f0;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.nav-toggle span {
    width: 25px;
    height: 2px;
    background: #fff;
    transition: all 0.3s;
}

/* =============================================
   Hero Slider
   ============================================= */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.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.55);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.hero-content h1 {
    color: #fff;
    font-size: 3.5rem;
    font-weight: 800;
    letter-spacing: 3px;
    margin-bottom: 30px;
    text-transform: uppercase;
}

.hero-btn {
    display: inline-block;
    padding: 14px 40px;
    background: #006AA6;
    color: #fff;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 4px;
    letter-spacing: 0.5px;
    transition: background 0.3s;
}

.hero-btn:hover {
    background: #005080;
}

/* =============================================
   About / Who Are We
   ============================================= */
.about {
    padding: 80px 30px;
    background: #fff;
}

.about-container {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-image {
    flex: 0 0 40%;
    max-width: 40%;
}

.about-image img {
    width: 100%;
    border-radius: 6px;
}

.about-text {
    flex: 1;
}

.about-text h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #006AA6;
    margin-bottom: 20px;
}

.about-text p {
    font-size: 1.1rem;
    color: #444;
    line-height: 1.8;
    text-align: justify;
}

/* =============================================
   What We Do
   ============================================= */
.whatwedo {
    position: relative;
    padding: 80px 30px;
    background: url('images/cropped-1-1024x301.jpg') center center / cover no-repeat fixed;
}

.whatwedo-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
}

.whatwedo-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.whatwedo-content h2 {
    color: #fff;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 25px;
}

.whatwedo-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    line-height: 1.85;
    text-align: justify;
}

/* =============================================
   Services
   ============================================= */
.services {
    padding: 80px 30px;
    background: #f8f9fa;
}

.section-title {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    color: #006AA6;
    margin-bottom: 50px;
}

.services-grid {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.service-img {
    height: 200px;
    overflow: hidden;
}

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

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

.service-card h3 {
    padding: 18px 20px;
    font-size: 1rem;
    font-weight: 600;
    color: #333;
    text-align: center;
}

/* Last 2 cards centered */
.services-grid .service-card:nth-child(4) {
    grid-column: 1 / 2;
    justify-self: end;
    width: 100%;
}

.services-grid .service-card:nth-child(5) {
    grid-column: 2 / 3;
    width: 100%;
}

/* =============================================
   Why Choose Us
   ============================================= */
.whychoose {
    position: relative;
    padding: 80px 30px;
    background: #006AA6;
}

.whychoose-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 50, 90, 0.9);
}

.whychoose-content {
    position: relative;
    z-index: 2;
    max-width: 1100px;
    margin: 0 auto;
}

.whychoose-content h2 {
    text-align: center;
    color: #fff;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 50px;
}

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

.whychoose-item {
    text-align: center;
    color: #fff;
}

.whychoose-item i {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #7ec8f0;
}

.whychoose-item h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 14px;
}

.whychoose-item p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.7;
}

/* =============================================
   Clients
   ============================================= */
.clients {
    padding: 80px 30px;
    background: #f8f9fa;
}

.clients-viewport {
    max-width: 1100px;
    margin: 0 auto;
    overflow: hidden;
}

.clients-track {
    display: flex;
    gap: 25px;
    transition: transform 0.6s ease;
}

.client-logo {
    flex: 0 0 calc((100% - 100px) / 5);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 25px;
    background: #fff;
    border-radius: 8px;
    height: 100px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.client-logo img {
    max-height: 60px;
    max-width: 150px;
    width: auto;
    object-fit: contain;
}

/* =============================================
   Contact
   ============================================= */
.contact {
    padding: 80px 30px;
    background: #f8f9fa;
}

.contact-container {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}

.contact-info h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #006AA6;
    margin-bottom: 30px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 20px;
}

.contact-item i {
    color: #006AA6;
    font-size: 1.1rem;
    margin-top: 4px;
    width: 20px;
    text-align: center;
}

.contact-item p {
    font-size: 1.05rem;
    color: #444;
}

.contact-map {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
}

.contact-map iframe {
    display: block;
}

/* =============================================
   Footer
   ============================================= */
.footer {
    background: #0a0a0a;
    padding: 30px 30px;
    text-align: center;
    border-top: 3px solid #006AA6;
}

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

/* =============================================
   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: #006AA6;
    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: #006AA6;
    color: #fff;
}

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

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

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

/* =============================================
   Animations
   ============================================= */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero-content h1,
.hero-content .hero-btn {
    animation: fadeInUp 1s ease;
}

/* =============================================
   Responsive
   ============================================= */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .services-grid .service-card:nth-child(4),
    .services-grid .service-card:nth-child(5) {
        grid-column: auto;
        justify-self: auto;
    }

    .clients-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        flex-direction: column;
        background: rgba(0, 50, 90, 0.95);
        padding: 20px 30px;
        gap: 12px;
    }

    .nav-menu.active {
        display: flex;
    }

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

    .about-container {
        flex-direction: column;
    }

    .about-image {
        flex: none;
        max-width: 80%;
        margin: 0 auto;
    }

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

    .whychoose-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .clients-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }

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

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 1.5rem;
        letter-spacing: 1px;
    }

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