/* --- General Setup & Variables --- */
:root {
    --primary-blue: #0ed6ed;
    --primary-green: #198754;
    --dark-text: #2c3e50;
    --light-text: #f8f9fa;
    --background-light: #ffffff;
    --background-dark: #f8f9fa;
    --border-color: #dee2e6;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px; /* Offset for fixed header */
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: var(--dark-text);
    background-color: var(--background-light);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- Header & Navigation --- */
.navbar {
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: background-color 0.3s;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    height: 45px;
}

.nav-menu {
    list-style: none;
    display: flex;
    gap: 25px;
}

.nav-menu li a {
    text-decoration: none;
    color: var(--dark-text);
    font-weight: 600;
    padding: 10px 5px;
    position: relative;
    transition: color 0.3s;
}

.nav-menu li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-blue), var(--primary-green));
    transition: width 0.3s ease-in-out;
}

.nav-menu li a:hover, .nav-menu li a.active {
    color: var(--primary-blue);
}

.nav-menu li a:hover::after {
    width: 100%;
}


/* Dropdown Menu */
.dropdown {
    position: relative;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--background-light);
    list-style: none;
    padding: 10px 0;
    margin-top: 10px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    min-width: 200px;
}

.dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-menu li {
    padding: 10px 20px;
}

.dropdown-menu li a {
    white-space: nowrap;
}
.dropdown-menu li a::after {
    display: none;
}


/* Hamburger Menu */
.hamburger {
    display: none;
    cursor: pointer;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px 0;
    background-color: var(--dark-text);
    transition: all 0.3s ease-in-out;
}

/* --- Hero Section --- */
.hero-section {
    height: 100vh;
    background: url('img/bg.jpeg') no-repeat center center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    color: var(--light-text);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(10, 25, 47, 0.7);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.cta-button {
    display: inline-block;
    padding: 15px 30px;
    background: linear-gradient(90deg, var(--primary-blue), var(--primary-green));
    color: var(--light-text);
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    text-decoration: none;
    transition: transform 0.3s, box-shadow 0.3s;

}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

/* --- General Content Sections --- */
.content-section, .content-section-dark {
    padding: 80px 0;
}
.content-section-dark {
    background-color: var(--background-dark);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-blue), var(--primary-green));
}


/* --- Trade Financing Product Grid --- */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.product-card {
    background-color: var(--background-light);
    border-radius: 10px;
    overflow: hidden;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s, box-shadow 0.3s;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.product-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.product-card h3 {
    padding: 20px;
    font-weight: 600;
}

/* --- Two-Column Layout (Real Estate, Stock Market) --- */
.content-image-layout {
    display: flex;
    align-items: center;
    gap: 50px;
}

.content-image-layout .image-container,
.content-image-layout .text-container {
    flex: 1;
}

.content-image-layout.reverse {
    flex-direction: row-reverse;
}

.content-image-layout img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.content-image-layout h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

/* --- Careers & Contact --- */
.form-container {
    max-width: 800px;
    margin: 0 auto;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    overflow: hidden;
}

.contact-details {
    text-align: center;
    font-size: 1.1rem;
}

.contact-details p {
    margin-bottom: 15px;
}
.contact-details a {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 600;
}

/* --- Footer --- */
footer {
    background-color: var(--dark-text);
    color: var(--light-text);
    text-align: center;
    padding: 20px 0;
}


.career-btn {
    display: inline-block;
    background-color: var(--primary-blue);
    color: var(--text-light);
    padding: 12px 25px;
    border-radius: 5px;
    font-weight: 600;
    margin: 10px;
    transition: background-color 0.3s ease;
    border: 2px solid transparent;
  }

  .career-btn:hover {
    background-color: #82d73c; 
    color: var(--text-light);
  }

  .form-container {
    max-width: 800px;
    margin: auto;
    padding: 40px;
    background: var(--mid-grey);
    border-radius: 8px;
    text-align: center;
  }



/* --- Responsive Design --- */
@media (max-width: 992px) {
    .content-image-layout, .content-image-layout.reverse {
        flex-direction: column;
        text-align: center;
    }
     .content-image-layout h2 {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 80px;
        flex-direction: column;
        background-color: var(--background-light);
        width: 100%;
        height: calc(100vh - 80px);
        text-align: center;
        transition: 0.3s;
        gap: 0;
        padding-top: 20px;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        padding: 15px 0;
        width: 100%;
    }

    .dropdown:hover .dropdown-menu {
        display: none; /* Disable hover on mobile */
    }

    .dropdown-menu {
        position: static;
        display: block;
        background: none;
        box-shadow: none;
        padding-left: 30px;
        border-radius: 0;
        min-width: auto;
        margin-top: 0;
    }
    .dropdown-menu li {
        padding: 10px 0;
    }


    .hamburger {
        display: block;
    }
    
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    .hamburger.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    .hamburger.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }
    .hero-content p {
        font-size: 1rem;
    }
}