:root {
    --primary-blue: #1a237e;
    --dark-blue: #0d47a1;
    --navy-blue: #1565c0;
}

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

body {
    font-family: 'Inter', sans-serif;
    color: #212121;
    line-height: 1.6;
    overflow-x: hidden;
}

.main-content {
    margin-top: 5%;
}

@media (max-width: 768px) {
    .main-content {
        margin-top: 70px;
        padding-bottom: 80px; /* space for fixed bottom bar */
    }
    .main-footer {
        display: none !important; /* footer hidden on mobile; use bottom bar */
    }
}

/* Header Styles */
.main-header {
    background: #ffffff;
    border-bottom: 1px solid #e5e5e5;
}

/* ==========================
   HEADER CONTAINER
========================== */
.header-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: stretch;
    padding: 0 12px;
    flex-wrap: wrap;
    min-width: 0;
}

/* ==========================
   LEFT LOGO (prevent overlap with nav)
========================== */
.header-left {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    min-width: 0;
    max-width: 200px;
    margin-right: 24px;
    overflow: hidden;
}

.logo-section {
    flex-shrink: 0;
    display: block;
    line-height: 0;
}

.logo-section img {
    height: 48px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
    display: block;
}

/* ==========================
   RIGHT SIDE (zoom-out: allow shrink)
========================== */
.header-right {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

/* ==========================
   TOP BAR (full width to right edge – no gap)
========================== */
.header-top {
    background: #f4f5f6;
    display: flex;
    justify-content: flex-end;
    font-size: 13px;
    font-weight: 600;
    /* Extend to viewport right edge (container is max 1400px + 12px padding) */
    margin-right: min(0px, calc(-50vw + 700px - 12px));
    padding-right: max(24px, calc(50vw - 700px + 36px));
}

/* Top bar links */
.header-top a {
    text-decoration: none;
    color: #111;
    border: 1px solid #e7e7e7;
    padding: 10px;
}

.header-top a:hover {
    background-color: #0056b3;
    color: #fff;
    border: 1px solid #e7e7e7;
    padding: 10px;
}

/* ==========================
   BOTTOM NAV
========================== */
.header-bottom {
    padding: 14px 0;
}

/* ==========================
   NAV MENU (no overlap with logo, wrap when needed)
========================== */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 24px;
}

.nav-menu .nav-link {
    white-space: nowrap;
}

/* Push buttons to the end */
.nav-actions {
    margin-left: auto; 
    display: flex;
    gap: 10px; 
}

/* Push button to the right */
.header-cta {
    margin-left: auto;
}

/* Nav links */
.nav-menu .nav-link {
    text-decoration: none;
    color: #111;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.6px;
    position: relative;
    padding-bottom: 12px;
}

/* Blue underline effect */
.nav-menu .nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0%;
    height: 3px;
    background: #0056b3;
    transition: width 0.3s ease;
}

.nav-menu .nav-link:hover::after {
    width: 100%;
}

/* Dropdown icon */
.nav-menu i {
    font-size: 11px;
    margin-left: 6px;
}

/* ==========================
   CTA BUTTON
========================== */
.header-cta {
    background: var(--button_background-gradient, linear-gradient(120deg, #1a466e 0%, #0069b4 25%, #265aa6 50%, #482683 75%, #1e205f 100%));
    color: #ffffff;
    border: none;
    padding: 10px 26px;
    font-size: 13px;
    font-weight: 500;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.header-cta:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

/* ==========================
   RESPONSIVE (prevent logo/nav overlap)
========================== */
@media (max-width: 1200px) {
    .nav-menu {
        gap: 18px;
    }
    .header-left {
        max-width: 180px;
    }
    .logo-section img {
        max-width: 180px;
    }
}

@media (max-width: 1024px) {
    .nav-menu {
        gap: 14px;
    }
    .nav-menu .nav-link {
        font-size: 13px;
    }
    .header-left {
        max-width: 160px;
    }
    .logo-section img {
        max-width: 160px;
        height: 42px;
    }
}

/* Hamburger: hidden on desktop */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 22px;
    color: #1a202c;
    cursor: pointer;
    padding: 10px 14px;
    margin-left: auto;
    min-width: 44px;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    transition: background-color 0.2s ease, color 0.2s ease;
}
.nav-toggle:hover {
    background-color: rgba(0, 0, 0, 0.05);
    color: #0d1117;
}
.nav-toggle:focus {
    outline: 2px solid #2563eb;
    outline-offset: 2px;
}
.nav-toggle:active {
    background-color: rgba(0, 0, 0, 0.08);
}
.nav-toggle .fa-bars,
.nav-toggle .fa-times {
    pointer-events: none;
}

/* Tablet & below: show hamburger, collapse nav */
@media (max-width: 1024px) {
    .nav-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .header-container {
        flex-wrap: wrap;
        padding: 12px 16px;
    }

    .header-right {
        display: none;
        width: 100%;
        order: 3;
        flex-direction: column;
        padding-top: 12px;
        border-top: 1px solid #e5e5e5;
    }

    .header-right.mobile-open {
        display: flex;
    }

    .header-top {
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px;
        padding: 12px 0;
        margin-right: 0;
        padding-right: 0;
    }

    .header-bottom {
        padding: 8px 0;
    }

    .nav-menu {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        width: 100%;
    }

    .nav-menu .nav-link {
        padding: 14px 16px;
        border-bottom: 1px solid #eee;
    }

    .nav-menu .nav-link::after {
        display: none;
    }

    .header-cta {
        margin: 12px 0 0;
        width: 100%;
        padding: 14px;
    }
}

@media (max-width: 768px) {
    .header-container {
        flex-direction: row;
        align-items: center;
        flex-wrap: wrap;
    }

    .header-left {
        max-width: none;
        margin-right: 0;
    }

    .logo-section img {
        max-width: 140px;
        height: 40px;
    }
}

/* ==========================
   STICKY HEADER css
========================== */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    background: #ffffff;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

/* Shadow when scrolling */
.main-header.scrolled {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}



/* ==========================
   Hero Section css start here
========================== */


.hero-section {
    background: #fff;
    color: white;
    padding: 80px 40px;
    position: relative;
    height:640;
    display: flex;
    align-items: center;
    overflow: hidden;
}

/* 1. The Image in the Background */
.hero-bg-image {
    position: absolute;
    top: 0; 
    left: 0;
    width: 100%; 
    height: 100%;
    background: url('/images/hero/hero-bg.webp') no-repeat center center;
    background-size: cover;
    z-index: 1;
    clip-path: polygon(0 0, 100% 0, 100% 79%, 89% 100%, 0 100%);
}

/* 2. The Slanted Color Block */
.hero-slant-overlay {
    position: absolute;
    top: 0; 
    left: 0;
    width: 100%; 
    height: 77%;
    /* Gradient color matching the image */
    background-image: linear-gradient(140deg, #1a466e 0%, #0069b4 27%, #265aa6 36%, #482683 50%, #1e205f 74%);    
    /* This creates the slant from top right to bottom left */
    clip-path: polygon(0 0, 84% 0, 45% 100%, 0% 100%);
    z-index: 2;
}

/* 3. Text and Icons Layout */
.hero-container {
    position: relative;
    z-index: 3;
    width: 50%; /* Keeps text on the left side */
}

.hero-title {
    font-size: 53px;
    font-weight: 800;
    line-height: 1.1;
    padding-bottom: 50px;
    text-transform: none; /* Matches your image's casing */
    margin-left: -25px;
}

/* Quick links area css */
/* Container for the text and links */
.hero-content {
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Positioning the Quick Links at the bottom */
.Block-QuickLinks {
    position: absolute;
    bottom: -100px; /* Adjust this to sit perfectly above the bottom edge */
    left: 30%;
    top: 87%;
    width: 100%;
}

.h3-label {
    font-size: 13px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 1px;
    border-bottom: 1px solid;
    padding-bottom: 10px;
}

/* Grid layout for the 4 items */
.block-grid-row {
    display: flex;
    gap: 115px;
    align-items: flex-start;
}

.grid-item {
    display: flex;
    flex-direction: column;
    gap: 12px;
    cursor: pointer;
    min-width: 120px;
}

.grid-item .icon {
    font-size: 24px;
    color: #fff;
}

.grid-item .item-title a {
    color: #fff;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    white-space: nowrap;
}

/* The blue bar below the active item */
.active-indicator {
    width: 35px;
    height: 4px;
    background-color: #007bff; /* Adjust your specific blue here */
    margin-top: 5px;
    opacity: 0;
    transition: opacity 0.3s;
}

.grid-item.active .active-indicator,
.grid-item:hover .active-indicator {
    opacity: 1;
}

/* The faint telescope in the background */
.telescope-watermark {
    position: absolute;
    bottom: 20%;
    left: 10%;
    font-size: 250px;
    color: rgba(255, 255, 255, 0.05);
    pointer-events: none;
    z-index: -1;
}



@media (max-width: 1200px) {
    .header-container {
        padding: 0 30px;
    }
    
    .nav-menu {
        gap: 18px;
        margin: 0 20px;
    }
    
    .nav-menu .nav-link {
        font-size: 11px;
    }
    
    .footer-top {
        grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
        gap: 35px;
    }
}

/* Tablet: hero title wrap + quick links layout */
@media (max-width: 1024px) {
    .hero-container {
        width: 75%;
    }
    .hero-title {
        font-size: 28px;
        line-height: 1.25;
        margin-top: 60px;
        padding-bottom: 32px;
        margin-left: 0;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    .Block-QuickLinks {
        left: 10%;
        width: 88%;
    }
    .block-grid-row {
        gap: 28px;
        flex-wrap: wrap;
    }
    .grid-item {
        min-width: 0;
    }
    .grid-item .item-title a {
        white-space: normal;
        line-height: 1.4;
        font-size: 14px;
    }
}

@media (max-width: 992px) {
    .hero-title {
        font-size: 32px;
        margin-top: 100px;
    }
    
    .hero-container {
        width: 70%;
    }
    
    .Block-QuickLinks {
        left: 15%;
        width: 90%;
    }
    
    .block-grid-row {
        gap: 40px;
        flex-wrap: wrap;
    }
    
    .content-section {
        padding: 50px 30px;
    }
    
    .footer-top {
        grid-template-columns: 1fr 1fr;
        gap: 35px;
    }
    
    .main-footer {
        padding: 50px 30px 25px;
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding: 60px 20px 120px;
        min-height: 500px;
    }
    
    .hero-container {
        width: 100%;
        padding: 0 16px;
    }
    
    .hero-title {
        font-size: 24px;
        line-height: 1.25;
        margin-top: 20px;
        padding-bottom: 24px;
    }
    
    .hero-slant-overlay {
        clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%);
    }
    
    .Block-QuickLinks {
        position: relative;
        left: 0;
        top: auto;
        bottom: auto;
        width: 100%;
        padding: 24px 16px 0;
    }
    
    .block-grid-row {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    
    .grid-item {
        min-width: 0;
    }
    
    .grid-item .item-title a {
        font-size: 13px;
        white-space: normal;
    }
    
    .grid-item .icon {
        font-size: 20px;
    }
    
    .quick-link-icon {
        width: 80px;
        height: 80px;
        font-size: 32px;
    }
    
    .footer-top {
        grid-template-columns: 1fr;
        gap: 35px;
    }
    
    .footer-watermark {
        font-size: 200px;
    }
    
    .footer-container {
        padding: 0;
    }
    
    .main-footer {
        padding: 40px 20px 20px;
    }
    
    .logo-section .logo-text {
        font-size: 36px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 20px;
    }
    
    .block-grid-row {
        grid-template-columns: 1fr;
    }
}

/* ==========================
   Hero Section css end here
============================= */


/* ===============================
   Trading Section css start here
================================== */

.trading-section {
    padding: 80px 0;
    background-color: #fff;
    font-family: 'Inter', sans-serif;
    padding-left: 15px;
}

.trading-grid {
    display: grid;
    grid-template-columns: 1.7fr 3fr; /* Title takes 25%, Industries take 75% */
    gap: 0;
}

/* Vertical Borders for that "Grid" look */
.grid-col {
    /* padding: 0 0 0 15px; */
    border-right: 1px solid #eee;
}

.title-col {
    border-left: 1px solid #eee; /* Outer left border */
    width: 91%;
}

/* Typography */
.main-heading {
    font-size: 38px;
    font-weight: 900;
    background: linear-gradient(120deg, #1a466e 0%, #0069b4 25%, #265aa6 50%, #482683 75%, #1e205f 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
    line-height: 1.2;
    margin-bottom: 30px;
}

.intro-text {
    font-size: 20px;
    color: #000;
    line-height: 1.6;
    margin-bottom: 40px;
}

.btn-more {
    display: inline-block;
    padding: 10px 24px;
    border: 1px solid #000;
    border-radius: 30px;
    color: #000;
    text-decoration: none;
    font-weight: 600;
    font-size: 12px;
    letter-spacing: 1px;
    transition: all 0.3s;
}

.btn-more:hover {
    background: #005FAA;
    color: #fff;
    border-color: #005FAA;
}

/* Industry Grid Layout */
.sub-label {
    font-size: 18px;
    font-weight: 800;
    color: #0f3a5c;
    letter-spacing: 0px;
    margin-bottom: 45px;
    display: inline-block;
    border-bottom: 5px solid ;
    border-image: linear-gradient(
        120deg,
        #1a466e 0%,
        #0069b4 25%,
        #265aa6 50%,
        #482683 75%,
        #1e205f 100%
    ) 1; /* The underline under OUR INDUSTRIES */
    padding-bottom: 5px;
}

.industries-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}
.industry-card {
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    z-index: 1;
    padding: 20px 20px 10px;
}

.industry-card:hover {
    background-color: #ffffff; 
    z-index: 10;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.32); /* Soft shadow for depth */
}

.industry-card h3 {
    font-size: 22px;
    font-weight: 800;
    color: #0f3a5c;
    margin-bottom: 20px;
}

.industry-card p {
    font-size: 16px;
    color: #000;
    line-height: 1.7;
}

/* Responsive */
@media (max-width: 1024px) {
    .trading-grid {
        grid-template-columns: 1fr;
    }
    .grid-col {
        border: none;
        padding: 20px;
    }
    .industries-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* --- Add this for Mobile Work --- */
@media (max-width: 768px) {
    .trading-section {
        padding: 40px 16px;
    }

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

    .grid-col {
        border-right: none;
        padding: 20px 15px;
    }

    .title-col {
        border-left: none;
        width: 100%;
    }

    .main-heading {
        font-size: 28px;
    }

    .intro-text {
        font-size: 16px;
        margin-bottom: 24px;
    }

    .industries-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .industry-card {
        padding: 16px;
    }

    .industry-card h3 {
        font-size: 18px;
    }

    .industry-card p {
        font-size: 15px;
    }

    .sub-label {
        font-size: 16px;
        margin-bottom: 24px;
    }
}
}

/* ===============================
   Trading Section css end here
================================== */

/* ===============================
   TIC Services Section CSS Start here
================================== */

.tic-main-heading {
    font-size: 37px;
    font-weight: 800;
    background: linear-gradient(120deg, #1a466e 0%, #0069b4 25%, #265aa6 50%, #482683 75%, #1e205f 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
    line-height: 1.2;
    margin-bottom: 30px;
    margin-top: 130px;
}

.tic-services-section {
    padding: 60px 0 0;
    background-color: #fff;
    border-top: 1px solid #eee;
}

.tic-grid {
    display: grid;
    grid-template-columns: 1.1fr 6fr; /* Keeps same alignment as Trading section */
    gap: 0;
}

.services-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    padding-left: 20px;
}

.service-item {
    position: relative;
    overflow: hidden;
    height: 380px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    z-index: 2;
}

.service-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Icon Overlays at the bottom left */
.item-icon {
    position: absolute;
    bottom: 20px;
    left: 20px;
    color: #fff;
    font-size: 28px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.item-icon p {
    font-size: 14px;
    font-weight: 800;
}

/* --- Mobile Work for TIC Section --- */
@media (max-width: 1024px) {
    .tic-grid {
        grid-template-columns: 1fr;
    }
    
    .tic-grid .title-col {
        border-bottom: 1px solid #eee;
        margin-top: -300px;
        margin-bottom: 30px;
    }

    .services-gallery {
        grid-template-columns: repeat(2, 1fr); /* 2x2 grid on tablets */
        padding-left: 0;
    }
}

@media (max-width: 576px) {
    .services-gallery {
        grid-template-columns: 1fr; /* Stacked on phones */
    }
    
    .service-item {
        height: 250px;
    }
}

/* ===============================
   TIC Services Section CSS End here
================================== */

/* ===============================
   Control Section css start here
================================== */
.take-control-section {
    position: relative;
    padding: 70px 0 70px;
    background-image: linear-gradient(144deg, #1a466e -15%, #0069b4 9%, #265aa6 28%, #482683 45%, #1e205f 100%);
    overflow: hidden;
    color: #fff;
    margin-top: -90px;
}

/* Creating the white corner cut from the image */
.take-control-section::after {
    content: "";
    position: absolute;
    bottom: 0;
    right: 0;
    width: 35%; /* Adjust width of the cut */
    height: 100%;
    background-color: #fff;
    /* This creates the sharp diagonal angle */
    clip-path: polygon(115% 0, 100% 100%, 28% 100%);
    z-index: 1;
}

.control-grid {
    display: flex;
    align-items: center;
    position: relative;
    z-index: 2; /* Ensures content stays above the white cut */
    margin-top: 60px;
}

.control-title {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: -1px;
}

.control-text {
    font-size: 25px;
    font-weight: 200 !important;
    line-height: 1.6;
    font-family: "Roboto", Arial, helvetica, sans-serif;
}

/* Discover More Button Styling */
.btn-discover {
    display: inline-block;
    padding: 10px 24px;
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 40px;
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    font-size: 12px;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    margin-top: 90px;
    margin-left: 240px;
}

.btn-discover:hover {
    background: #fff;
    color: #482683;
    transform: scale(1.05);
}

/* --- Mobile Work --- */
@media (max-width: 992px) {
    .control-grid {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }
    
    .take-control-section::after {
        display: none; /* Remove cut on mobile for better text layout */
    }

    .control-title {
        font-size: 36px;
    }

    .control-action {
     margin-top: -100px;   
    }
}
/* ===============================
   Control Section css End here
================================== */

/* ===============================
   Authorized Section css End here
================================== */

/* ===============================
   Authorized Section CSS
================================== */

.authorized-section {
    padding: 60px 0;
    background-color: #f8faff; /* Very light blue tint background */
    background-image: url('/images/authorized/authorized-bg.png'); /* The dotted map from image_db13dc.jpg */
    background-position: center right;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
}

.authorized-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 50px;
    align-items: center;
}

.auth-content {
    padding-left: 5px;
}

/* Reuse your existing gradient heading style */
.auth-content .main-heading {
    font-size: 38px;
    margin-bottom: 50px;
    line-height: 1.1;
}

.auth-list {
    list-style: none;
    padding: 0;
    margin-bottom: 50px;
}

.auth-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

/* Circular Blue Icons */
.auth-icon {
    width: 45px;
    height: 45px;
    background: #005FAA; /* Solid blue from image_db13dc.jpg */
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    font-size: 16px;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(0, 95, 170, 0.2);
}

.auth-list p {
    font-size: 17px;
    font-weight: 400;
    color: #000;
    margin: 0;
}

/* Our Locations Button */
.btn-locations {
    display: inline-block;
    padding: 12px 24px;
    border: 1px solid #ddd;
    border-radius: 30px;
    color: #000;
    text-decoration: none;
    font-weight: 400;
    font-size: 12px;
    letter-spacing: 1px;
    background: #fff;
    transition: all 0.3s ease;
}

.btn-locations:hover {
    background: #005FAA;
    color: #fff;
    border-color: #005FAA;
}

/* --- Mobile Work --- */
@media (max-width: 991px) {
    .authorized-section {
        background-image: none; /* Hide map on small screens for clarity */
        padding: 60px 0;
    }
    
    .authorized-grid {
        grid-template-columns: 1fr;
    }

    .auth-list p {
        font-size: 18px;
    }
}
/* ===============================
   Authorized Section css End here
================================== */


/* ===============================
   Advantages Section css Start here
================================== */

.advantages-section {
    position: relative;
    padding: 40px 0;
    /* The container image covers the WHOLE section background */
    background-image: url('/images/advantages/advantages-bg.webp');
    background-size: cover;
    background-position: center;
    overflow: hidden;
    color: #fff;
    clip-path: polygon(0 0, 129% 0, 89% 100%, 0% 100%);
}

/* The Blue Gradient Overlay with the Angle */
.gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Gradient from your brand style */
    background-image: linear-gradient(150deg, #1a466e 0%, #0069b4 25%, #265aa6 35%, #482683 55%, #1e205f 100%);
    /* This creates the diagonal shape that reveals the image on the right */
    clip-path: polygon(0 0, 100% 0, 65% 100%, 0% 100%);
    z-index: 1;
}

.advantages-grid {
    position: relative;
    z-index: 10; /* Ensures text is on top of the gradient */
    display: grid;
    grid-template-columns: 1fr; /* Text stays on the left */
    max-width: 40%; /* Keeps text within the blue area */
    padding-left: 10px;
}

.advantages-title {
    font-size: 35px;
    font-weight: 800;
    margin-bottom: 5px;
}

.advantages-subtitle {
    font-size: 22px;
    font-weight: 200;
    opacity: 0.9;
    margin-bottom: 40px;
}

.advantages-list {
    list-style: none;
    padding: 0;
}

.advantages-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 10px;
    font-size: 14px;
    line-height: 1.5;
}

.advantages-list li span {
    margin-top: -5px;
}

.advantages-list i {
    font-size: 22px;
    color: #fff; /* White checkmarks */
}

/* --- Mobile Fix --- */
@media (max-width: 991px) {
    .gradient-overlay {
        clip-path: none; /* Full blue background on mobile for readability */
        opacity: 0.9; /* Let the image peak through slightly */
    }
    
    .advantages-grid {
        max-width: 100%;
    }

    .advantages-title {
        font-size: 36px;
    }
}
/* ===============================
   Advantages Section css End here
================================== */




/* ===============================
   Regional Section css Start here
================================== */

.offices-section {
    padding: 80px 0;
    background-color: #fff;
    /* Vertical background lines to match Trading in Trust section */
    background-image: linear-gradient(to right, #eee 1px, transparent 1px);
    background-size: 20% 100%; /* Adjust based on column count */
}

.office-header {
    padding-left: 5px;
}

/* Bold blue heading with gradient-like purple accent */
.offices-section .main-heading1 {
    font-size: 35px;
    font-weight: 800;
    color: #0f3a5c;
    background: linear-gradient(120deg, #1a466e 0%, #0069b4 10%, #482683 26%, #1e205f 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
}

.offices-section .main-heading span {
    color: #482683; /* Purple accent on "offices" */
}

/* Flexbox layout for the 5 office items */
.offices-grid {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding-top: 50px;
    width: 100%;
}

.office-item {
    flex: 1;
    min-width: 0; /* allow shrink, prevent overflow */
    text-align: left;
}

.flag-wrapper {
    margin-bottom: 20px;
    display: flex;
    align-items: center;
}

.flag-wrapper img {
    height: auto;
    width: 100%;
    max-width: 100%;
}

.office-item h4 {
    font-size: 20px;
    font-weight: 800;
    color: #0f3a5c;
    line-height: 1.4;
    max-width: 240px; /* cap on large screens only */
}

/* --- Tablet: avoid wrap/overflow at 1024px --- */
@media (max-width: 1024px) {
    .offices-section {
        padding: 60px 24px;
    }
    .offices-section .custom-container {
        padding-left: 16px;
        padding-right: 16px;
        max-width: 100%;
    }
    .offices-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 32px 24px;
        padding-top: 32px;
    }
    .office-item h4 {
        max-width: none;
        width: 100%;
        font-size: 16px;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    .flag-wrapper img {
        max-width: 48px;
    }
}

@media (max-width: 991px) {
    .offices-grid {
        gap: 28px 20px;
    }
}

@media (max-width: 576px) {
    .offices-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .offices-section .main-heading1 {
        font-size: 28px;
    }
    .office-item h4 {
        font-size: 15px;
    }
}
/* ===============================
   Regional Section css End here
================================== */

/* Content Sections */
.content-section {
    padding: 80px 40px;
}

.content-container {
    max-width: 1400px;
    margin: 0 auto;
}
/* discover more */
.discover-container {
    position: relative;
    z-index: 3;
    width: 50%; /* text occupies left half */
    height: 100%;
    padding: 60px 30px;
    color: #fff;
    /* display: flex;
    flex-direction: column;
    justify-content: center; */
}

.discover-content {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.discover-title {
    font-size: 40px;
    font-weight: 900;
    margin-bottom: 10px;
}

.discover-row {
    display: flex;
    align-items: center; /* vertically center */
    gap: 20px; /* space between image and quote */
}

.discover-circle {
    width: 50px;
    height: 50px;
    background: #fff;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0; /* keep circle size */
}

.discover-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.quote {
    position: relative;
    font-size: 27px;
    line-height: 1.4;
    width: 90%;
    margin: 0;
}

.quote::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 25px;
    height: 25px;
    background-image: url('{{ asset("images/discoverMore/blockquote.png") }}');
    background-size: contain;
    background-repeat: no-repeat;
}


/* Discover button */
.more-Discover {
    width: 170px;
    height: 50px;
    display: inline-block;
    padding: 14px 28px;
    border-radius: 30px;
    font-size: 15px;
    font-weight: 600;
    color: #000;
    background: #fff;
    /* background: linear-gradient(90deg, #3949ab, #1a237e); */
    text-decoration: none;
    transition: all 0.3s ease;
    margin-top: 100px;
}

.more-Discover:hover {
    /* transform: translateY(-2px); */
    box-shadow: 0 8px 20px rgba(0,0,0,0.35);
}

 /* Background Image */
.discover-bg-image {
    /* position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%; */
    /* background: url('/images/discoverMore/bg-01.webp') no-repeat center center; */
    /* background-size: cover; */
    z-index: 1;
    clip-path: polygon(0 0, 100% 0, 100% 79%, 89% 100%, 0 100%);
} 

.Discover-section {
    background: #fff;
    color: white;
    position: relative;
    height:600px;
    
}

.carousel-item img {
    height: 527px;
    object-fit: cover;
    clip-path: polygon(0 0, 125% 0, 86% 100%, 0% 100%) !important;
}

.carousel-caption{
   position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 84%;
    padding: 90px 0 0 15px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    text-align: left;
    color: #fff;
    /* z-index: 3; */
    /* background: none; */
}

.carousel-item .hero-slant-overlay {
    background-image: linear-gradient(140deg, #1a466e 0%, #0069b4 27%, #265aa6 36%, #482683 50%, #1e205f 74%) !important;
    clip-path: polygon(0 0, 91% 0, 57% 100%, 0% 100%) !important;
}

.carousel-caption a {
    margin-top: 70px;
}


/* Responsive adjustments */
@media (max-width: 992px) {
    .discover-container {
        width: 100%;
        padding: 40px 20px;
    }
    .discover-title {
        font-size: 2.2rem;
    }
    .discover-circle {
        width: 100px;
        height: 100px;
    }
    .quote {
        font-size: 1rem;
        max-width: 100%;
    }
}


/* stay updated */
.section-title {
    font-size: 42px;
    font-weight: 800;
    background: linear-gradient(120deg, #1a466e 0%, #0069b4 25%, #265aa6 50%, #482683 75%, #1e205f 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.more-news {
    width: 150px;
    height: 50px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 30px;
    border-radius: 30px;
    font-size: 15px;
    font-weight: 400;
    text-decoration: none;
    color: #000;
    background: #fff;
    border: 1px solid #000;
    transition: all 0.3s ease;
}

.more-news:hover {
    background: #005FAA;
    color: #fff; 
    /* transform: translateY(-2px); */
    /* box-shadow: 0 8px 20px rgba(26,35,126,0.35); */
}

.section-text {
    font-size: 16px;
    color: #555;
    line-height: 1.8;
}
/* stay-updated section */
.text-btn{
    display: flex;
    justify-content: space-between;
    margin: 10px;
    padding: 0 15px;
}
.news-card {
    background: #fff;
    /* padding: 16px; */
    /* border-radius: 10px; */
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.news-card:hover {
    /* transform: translateY(-5px); */
    /* box-shadow: 0 10px 25px rgba(0,0,0,0.1); */
}

.news-title {
    font-size: 18px;
    font-weight: 800;
    
}
.news-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-left: 10px;
    color:#03468d;
}

.arrow {
    opacity: 0;          /* hide by default */
    transition: opacity 0.3s ease, transform 0.3s ease;
    font-size: 2.0rem;
    margin-right: 20px;
}

.news-card:hover .arrow {
    opacity: 1;          /* show on hover */
   
}

/* Footer */
.main-footer {
    /* background: #1a237e; */
    background:  linear-gradient(140deg, #1a466e 0%, #0069b4 27%, #265aa6 37%, #482683 65%, #1e205f 90%);
    color: white;
    padding: 90px 0px 25px;
    position: relative;
    overflow: hidden;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.footer-watermark {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 350px;
    font-weight: 800;
    color: rgba(255,255,255,0.025);
    z-index: 1;
    letter-spacing: -15px;
    opacity: 0.8;
}

.footer-top {
    display: grid;
    grid-template-columns: 1.0fr 1fr 1.5fr 1.0fr 1.0fr;
    gap: 90px;
    margin-bottom: 50px;
}

.footer-logo-section {
    margin-bottom: 0;
}

.footer-logo-section .logo-text {
    font-size: 36px;
    font-weight: 800;
    color: white;
    letter-spacing: -1.5px;
    margin-bottom: 4px;
    line-height: 1;
}

.footer-logo-section .tagline {
    font-size: 11px;
    color: rgba(255,255,255,0.9);
    line-height: 1.4;
    margin-bottom: 0;
}
.footer-list{
    font-size: 14px;
}
.footer-copyright {
    font-size: 16px;
    color: rgba(255,255,255,1);
    /* margin-top: 18px; */
}

.footer-column h5 {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 22px;
    color: white;
    letter-spacing: 0.8px;
}

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

.footer-column ul li {
    margin-bottom: 16px;
}

.footer-column ul li a {
    color: white;
    text-decoration: none;
    font-size: 14px;
    line-height: 1.3;
    position: relative;
    padding-left: 0;
    transition: padding-left 0.3s ease, color 0.3s ease;
}

.footer-column ul li a::before {
    content: "›";
    position: absolute;
    left: 0;
    font-size: 18px;
    opacity: 0;
    transition: opacity 0.3s ease;
    color: white;
}

.footer-column ul li a:hover {
    padding-left: 12px; /* move text right */
    color: white;
}

.footer-column ul li a:hover::before {
    opacity: 1; /* show arrow */
}


.footer-newsletter {
    margin-top: 35px;
}

.footer-newsletter h5 {
    margin-bottom: 18px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.footer-newsletter-form {
    display: flex;
    /* gap: 8px; */
    margin-bottom: 22px;
}

.footer-newsletter-form input {
    flex: 1;
    padding: 11px 14px;
    border: 1px solid rgba(255,255,255,0.25);
    background: white;
    color: black;
    border-radius: 50px 0px 0px 50px;
    font-size: 13px;
    font-family: inherit;
}

.footer-newsletter-form input::placeholder {
    color: rgba(0, 0, 0, 0.55);
}

.footer-newsletter-form input:focus {
    outline: none;
    border-color: rgba(255,255,255,0.4);
    background: rgba(255,255,255,0.12);
}

.footer-newsletter-form button {
    background: #1565c0;
    color: white;
    border: none;
    padding: 11px 22px;
    border-radius: 2px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: 0.8px;
    cursor: pointer;
    transition: background 0.3s;
    white-space: nowrap;
}

.footer-newsletter-form button:hover {
    background: #1976d2;
}

.footer-social {
    display: flex;
    gap: 10px;
}

.footer-social a {
    width: 52px;
    height: 52px;
    background: rgba(255,255,255,0);
    border-radius: 50%;
    border: 1px white solid;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: background 0.3s;
    font-size: 15px;
    font-weight: 600;
}

/* .footer-social a:hover {
    background: rgba(255,255,255,0.22);
} */
 /* Facebook */
.footer-social a.facebook:hover {
    background: #1877F2;
    border: none;
}

/* LinkedIn */
.footer-social a.linkedin:hover {
    background: #0a66c2;
    border: none;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.12);
    padding: 20px 16px;
    margin-top: 35px;
    display: flex;
    justify-content: space-between;
    gap: 35px;
    flex-wrap: wrap;
}

.footer-bottom a {
    color: rgba(255,255,255,0.65);
    text-decoration: none;
    font-size: 11px;
    transition: color 0.3s;
    letter-spacing: 0.3px;
}

.footer-bottom a:hover {
    color: rgba(255,255,255,0.9);
}
.footer-links {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
}

.footer-links a {
    font-size: 14px;
    color: #fff;
    text-decoration: none;
    white-space: nowrap;
}

.footer-links a:hover {
    color: #bbb;
}
/* ==========================
   Mobile bottom bar (replaces footer on small screens)
========================== */
.mobile-bottom-bar {
    display: none;
}

@media (max-width: 768px) {
    .mobile-bottom-bar {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        height: 56px;
        padding-bottom: env(safe-area-inset-bottom, 0);
        background: #fff;
        border-top: 1px solid #e5e5e5;
        box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.06);
        z-index: 998;
        align-items: center;
        justify-content: space-around;
    }
    .mobile-bottom-bar .bottom-bar-item {
        flex: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2px;
        padding: 6px 4px;
        color: #5a5a5a;
        text-decoration: none;
        font-size: 10px;
        font-weight: 500;
        transition: color 0.2s;
    }
    .mobile-bottom-bar .bottom-bar-item i {
        font-size: 18px;
    }
    .mobile-bottom-bar .bottom-bar-item:hover,
    .mobile-bottom-bar .bottom-bar-item:focus {
        color: #1565c0;
    }
    .mobile-bottom-bar .bottom-bar-item:active {
        color: #0d47a1;
    }
}

.inquiry-sidebar {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    background: linear-gradient(120deg, #1a466e 0%, #0069b4 25%, #265aa6 50%, #482683 75%, #1e205f 100%);;
    color: white;
    padding: 20px 13px;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    cursor: pointer;
    z-index: 999;
    font-weight: 400;
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: 0px;
    box-shadow: -2px 0 8px rgba(0,0,0,0.2);
    transition: background 0.3s;
}

.inquiry-sidebar:hover {
    background: var(--navy-blue);
}