/* ===================================================================
I. CSS RESETS, UTILITIES, AND BASE STYLES 
=================================================================== 
*/
:root {
    --primary-color: #007bff; /* Example: Blue for main accents */
    --secondary-color: #6c757d; /* Example: Grey */
    --dark-color: #343a40;
    --light-color: #f8f9fa;
    --header-height: 80px;
}

/* Prevent all overflow and reset box model */
html, body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    scroll-behavior: smooth;
    font-family: 'Montserrat', sans-serif;
    color: var(--dark-color);
    background-color: #ffffff;
}

* {
    box-sizing: border-box;
    max-width: 100%;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: color 0.3s ease;
}

a:hover {
    color: #0056b3;
}

h1, h2, h3 {
    margin-top: 0;
    font-weight: 700;
}

/* Container for Centering and Max-Width */
.container {
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
}
@media (min-width: 576px) { .container { max-width: 540px; } }
@media (min-width: 768px) { .container { max-width: 720px; } }
@media (min-width: 992px) { .container { max-width: 960px; } }
@media (min-width: 1200px) { .container { max-width: 1140px; } }

/* Section Base Styles */
.section {
    padding: 80px 0;
}
.section.bg-light {
    background-color: var(--light-color);
}
.section-header {
    text-align: center;
    margin-bottom: 50px;
}
.section-header h2 {
    font-size: 36px;
    color: var(--dark-color);
    margin-bottom: 10px;
    position: relative;
    display: inline-block;
}
.underline {
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 0 auto 20px;
    border-radius: 2px;
}

/* BUTTON STYLES */
.btn {
    display: inline-block;
    padding: 12px 30px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 5px;
    transition: all 0.3s ease;
    text-align: center;
    cursor: pointer;
}
.btn-primary {
    background-color: var(--primary-color);
    color: white;
    border: 2px solid var(--primary-color);
}
.btn-primary:hover {
    background-color: #0056b3;
    border-color: #0056b3;
    color: white;
}
.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}
.btn-secondary:hover {
    background-color: var(--primary-color);
    color: white;
}

/* BACK TO TOP BUTTON */
.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}
.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

/* WHATSAPP BUTTON */
/* WHATSAPP BUTTON */
.whatsapp-button {
    position: fixed;
    /* REDUCED 'top' TO CENTER THE BUTTON VERTICALLY */
    top: 50%; 
    /* The transform below moves the button up by half its own height to truly center it */
    transform: translateY(-50%); 
    right: 16px;
    background-color: #25D366;
    color: white;
    font-size: 28px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    /* Added translateY to the transition for smooth centering */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Updated hover effect to keep the transform property */
.whatsapp-button:hover {
    /* Retains the centering and adds scale effect */
    transform: translateY(-50%) scale(1.1); 
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.4);
}

/* Mobile adjustment for WhatsApp button */
@media screen and (max-width: 767px) {
    .whatsapp-button {
        /* Set to 50% for vertical center on mobile */
        top: 50%; 
        right: 10px;
        width: 50px;
        height: 50px;
        font-size: 22px;
    }
    /* Adjusted mobile hover to keep the transform property */
    .whatsapp-button:hover {
        transform: translateY(-50%) scale(1.1);
    }
}

/* Desktop adjustment for WhatsApp button */
@media screen and (min-width: 768px) {
    .whatsapp-button {
        /* Set to 50% for vertical center on desktop */
        top: 50%;
    }
}
/* ===================================================================
IV. HERO SECTION STYLES (Final Unified Block)
=================================================================== */

/* Note: Ensure the :root variables are defined earlier in your style.css */

#hero {
    /* CRITICAL: Set background color here (dark gray) */
    background-color: #6c757d; 
    
    position: relative; 
    width: 100%;
    /* Ensures the section takes up the full screen height minus the fixed header height */
    min-height: calc(100vh - var(--header-height)); 
    display: flex;
    align-items: center; /* Vertically center content */
    justify-content: center; /* Horizontally center content */
    text-align: center;
    padding-top: var(--header-height); /* Offset for fixed header */
    overflow: hidden; 
}

/* 🌟 CRITICAL: Canvas for the Animated Network Graph (Layer 1) 🌟 */
#hero-animation-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%; 
    height: 100%;
    z-index: 1; /* Below the overlay and content */
    /* 1. Add transition to the canvas */
    transition: opacity 0.3s ease-in-out; 
}
/* Must be in style.css */
.pattern-hidden {
    opacity: 0 !important;
    visibility: hidden !important; 
}
/* Existing overlay for darkening/masking the background (Layer 2) */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.2); /* Subtle tint */
    z-index: 2; /* Between canvas (1) and content (3) */
    /* 2. Add transition to the overlay */
    transition: opacity 0.3s ease-in-out; 
}
/* Styling for the new 'WELCOME TO' line */
.welcome-tag {
    /* Set the specific gold/yellow color */
    color: #ffc107; /* A bright, visible gold color */
    
    /* Make the text uppercase and a bit larger than regular paragraph text */
    font-size: 1.6em;
    font-weight: 500;
    
    /* Add some bottom margin to separate it from the H2 */
    margin-bottom: 5px; 
}

/* Styling for the tilde characters (~) */
.welcome-tag .tilda {
    /* Gives the tilde characters a nice space around them */
    padding: 0 5px;
}

/* Ensure the main company name is still black for contrast */
.about-intro h2.company-name {
    color: #000;
    margin-top: 0;
}
/* Ensure the hero-content sits above everything and is centered (Layer 3) */
.hero-content {
    position: relative;
    /* Increase z-index to ensure it is the top layer for events */
    z-index: 10; 
    max-width: 800px;
    padding: 0 15px;
    color: white; 
}

/* ===================================================================
V. HOVER HIDING STATE (Pattern Only - Controlled by JS)
=================================================================== */

/* This class is applied by the JavaScript to hide the pattern layers */
.pattern-hidden {
    opacity: 0 !important;
    /* Use visibility: hidden to completely stop the canvas animation rendering when hidden */
    visibility: hidden !important; 
}

/* --- Button Styles --- */
.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px; 
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.btn-secondary {
    background-color: transparent;
    color: white;
    border-color: white;
}
.btn-secondary:hover {
    background-color: white;
    color: var(--primary-color); 
}
/* ===================================================================
V. HOVER HIDING STATE (Pattern Only)
=================================================================== */

/* Ensure canvas and overlay have transitions for smooth fade-in */
#hero-animation-canvas,
.hero-overlay {
    transition: opacity 0.5s ease-in-out; 
}

/* State 1: Instantly hide the pattern (canvas and overlay) */
/* The visibility hidden ensures the animation completely stops rendering */
.pattern-hidden {
    opacity: 0 !important;
    visibility: hidden !important; 
}
/* ... rest of your CSS ... */
/* ===================================================================
II. HEADER AND NAVIGATION STYLES
=================================================================== 
*/
#header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background-color: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 990;
}
#header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    padding: 0 20px;
}
.logo {
    display: flex;
    align-items: center;
}
.logo img {
    height: 50px;
    margin-right: 10px;
}
.logo h1 a {
    font-size: 24px;
    font-weight: 800;
    color: var(--dark-color);
}
.logo h1 span {
    color: var(--primary-color);
}
.nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}
.nav-list li {
    margin-left: 25px;
}
.nav-list .nav-link {
    color: var(--dark-color);
    font-weight: 500;
    padding: 28px 0;
    display: block;
}
.nav-list .nav-link:hover, .nav-list .nav-link.active {
    color: var(--primary-color);
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    z-index: 1000;
}
.bar {
    width: 25px;
    height: 3px;
    background-color: var(--dark-color);
    margin: 4px 0;
    transition: all 0.3s ease;
}

@media (max-width: 992px) {
    #nav-menu {
        position: fixed;
        top: 0;
        right: -100%; 
        width: 70%;
        max-width: 300px;
        height: 100%;
        background-color: var(--dark-color);
        padding-top: 100px;
        transition: right 0.3s ease-in-out;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.2);
    }
    #nav-menu.active {
        right: 0;
    }
    .nav-list {
        flex-direction: column;
        padding-left: 20px;
    }
    .nav-list li {
        margin: 15px 0;
    }
    .nav-list .nav-link {
        color: var(--light-color);
        padding: 10px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    .nav-list .nav-link:hover, .nav-list .nav-link.active {
        color: var(--primary-color);
    }
    .menu-toggle {
        display: flex;
    }
    .logo h1 a {
        font-size: 20px;
    }
    .logo img {
        height: 40px;
    }
}

/* ===================================================================
III. HERO SECTION STYLES
=================================================================== 
*/
#hero {
    position: relative;
    /* Placeholder background image - replace with your image URL */
    background: url('image/global.jpg') center center/cover no-repeat; 
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: var(--header-height);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Dark overlay */
}
.hero-content {
    position: relative;
    color: white;
    z-index: 10;
    padding: 20px;
}
.hero-content h1 {
    font-size: 56px;
    margin-bottom: 20px;
    font-weight: 800;
}
.hero-content p {
    font-size: 22px;
    margin-bottom: 40px;
}
.hero-buttons .btn {
    margin: 0 10px;
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 36px;
    }
    .hero-content p {
        font-size: 18px;
    }
    .hero-buttons {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .hero-buttons .btn {
        margin: 10px 0;
        width: 80%;
    }
}
/* ===================================================================
   I. CONFIGURATION (Ensure this is in your :root)
=================================================================== */
:root {
    --dark-navy-blue: #1A2E47; /* Deep Navy Blue */
    --light-text-color: #f0f0f0; /* New variable for text contrast */
}

/* -------------------------------------------------------------------
   II. MEMBERSHIP SECTION (ID: #membership)
------------------------------------------------------------------- */

#membership {
    background-color: var(--dark-navy-blue) !important; 
    color: var(--light-text-color); /* Set text color to light grey */
}

/* Ensure all text elements inside Membership are light */
#membership h2, 
#membership p {
    color: var(--light-text-color) !important;
}
/* ===================================================================
   NEW BUTTON STYLE FOR BRAND LINK
=================================================================== */

.btn-brand-special {
    /* Base style: Bright, attractive color (e.g., vibrant orange/gold) */
    --brand-color: #FFA500; /* Vibrant Orange for attention */
    
    display: inline-block;
    padding: 12px 30px;
    font-size: 16px;
    font-weight: 700; /* Make text bolder */
    border-radius: 5px;
    text-align: center;
    cursor: pointer;
    transition: all 0.4s ease; /* Longer transition for smooth effect */
    
    /* Attractive Color Scheme */
    background-color: var(--brand-color);
    color: var(--dark-color); /* Dark text for high contrast on orange */
    border: 2px solid var(--brand-color);
    
    /* Initial Glow (Attractive effect) */
    box-shadow: 0 0 10px rgba(255, 165, 0, 0.5); 
}

/* Hover Effect: More attractive, effective color change and shine */
.btn-brand-special:hover {
    background-color: #ff8c00; /* Slightly darker orange on hover */
    color: white; /* Switch text color to white on hover */
    border-color: #ff8c00;
    /* Stronger shadow effect when clicked/hovered */
    box-shadow: 0 0 20px rgba(255, 165, 0, 0.8), 0 0 40px rgba(255, 165, 0, 0.3);
    transform: translateY(-2px); /* Slight lift effect */
}

/* Mobile adjustment: Ensure it fits well */
@media (max-width: 768px) {
    .hero-buttons .btn-brand-special {
        margin: 10px 0;
        width: 80%; /* Match other buttons on mobile */
    }
}

/* -------------------------------------------------------------------
   III. GLOBAL PRESENCE SECTION (ID: #global-presence)
------------------------------------------------------------------- */

#global-presence {
    /* CRITICAL FIX 1: Override background image and color completely */
    background: none !important; /* Remove any existing background property */
    background-color: var(--dark-navy-blue) !important; 
    
    color: var(--light-text-color); /* Set default text color to light grey */
    padding: 80px 0; /* Keep consistent padding */
}

/* CRITICAL FIX 2: Override the specific background image URL from the original CSS */
#global-presence.section.bg-light { 
    background: none !important;
    background-color: var(--dark-navy-blue) !important; 
}


/* Ensure all text elements inside Global Presence are light */
#global-presence .section-header h2,
#global-presence .trade-map-subtitle,
#global-presence .country-card p {
    color: var(--light-text-color) !important;
}

/* Keep the accent color for the count (15 + Countries) */
#global-presence .section-header .primary-text {
    color: var(--primary-color) !important;
}

/* Adjust Country Cards to stand out on the dark background */
.country-card {
    background-color: #2c4768; /* Slightly lighter dark blue */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
}

/* -------------------------------------------------------------------
   IV. ABOUT US STATS GRID STYLES 
   ------------------------------------------------------------------- */
.about-stats-grid {
    flex: 1; /* Give the grid its space (1/3 width) */
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2 columns, 2 rows */
    gap: 15px;
    padding-top: 20px;
}

.stat-card {
    background-color: #fff;
    border: 1px solid #eee;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    min-height: 180px; /* Ensure a consistent card height */
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.stat-card:hover {
    box-shadow: 0 10px 20px rgba(0, 123, 255, 0.15);
    transform: translateY(-5px);
}

.stat-icon {
    font-size: 32px;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.stat-number {
    font-size: 2.5em;
    font-weight: 800;
    color: var(--dark-color);
    margin: 5px 0;
}

.stat-label {
    font-size: 0.9em;
    color: var(--secondary-color);
    font-weight: 500;
    line-height: 1.3;
}

/* Mobile: Stack the cards vertically */
@media (max-width: 992px) {
    .about-content {
        flex-direction: column;
        align-items: center;
    }
    .about-stats-grid {
        margin-top: 30px;
        /* Revert to 2x2 grid when stacked */
        grid-template-columns: repeat(2, 1fr); 
        width: 100%;
        max-width: 600px; 
    }
}

@media (max-width: 576px) {
    .about-stats-grid {
        /* On very small screens, display 1 column */
        grid-template-columns: 1fr; 
    }
}
/* Update the existing CSS rule for the text column in the About section */
.about-text {
    flex: 2; 
    text-align: left; 
}

/* Ensure paragraph text is neat and has space below it */
.about-text p {
    text-align: left;
    /* KEY FIX 1: Increase vertical space between lines within a paragraph */
    line-height: 1.8; 
    /* KEY FIX 2: Increase space after one paragraph/point ends */
    margin-bottom: 20px; /* Increased from 15px/10px for clear separation */
    color: #555;
    font-size: 1em;
}

/* Adjust space below the main company name */
.about-text .company-name {
    font-size: 1.8em;
    color: var(--dark-color);
    margin-bottom: 25px; /* Increased space below heading */
    font-weight: 700;
}

/* Adjust space below the partnership subheading */
.about-text .sub-heading {
    font-size: 1.1em;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 15px; /* Added space below the "Win-Win Partnership..." title */
}

/* Ensure the main introduction block is clearly separated from the partnership block */
.about-intro {
    margin-bottom: 40px; 
}
/* ===================================================================
V. MEMBERSHIP SECTION STYLES (SASS syntax corrected)
=================================================================== 
*/
#membership {
    padding: 40px 0;
    text-align: center;
    background-color: var(--light-color);
}

#membership .page-header p {
    font-size: 16px;
    color: #777;
    margin-bottom: 30px; /* Increased margin for better separation */
    padding: 0 15px;
}

/* --- CONTAINER (NO SCROLLING) --- */
.documents-scroll-container {
    display: flex;
    flex-direction: column; /* Stack items vertically */
    align-items: center; /* Center items on the page */
    justify-content: center;
    
    height: auto; 
    overflow: visible; 
    
    gap: 25px; /* Spacing between certificates */
    padding: 10px 20px; 
}

/* --- INDIVIDUAL CERTIFICATE WRAPPER (MOBILE-FIRST) --- */
.document-display-wrapper {
    flex: 0 0 auto;
    width: 90%; 
    max-width: 400px; /* Larger size for better readability */
    height: auto; /* Allow height to adjust based on image */
    margin: 0; 
    
    background-color: #fff;
    padding: 15px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    
    cursor: pointer;
    transition: transform 0.3s ease-out, box-shadow 0.3s ease-out;
}

/* Disable hover effects for mobile (optional, but recommended) */
.document-display-wrapper:hover {
    transform: none; 
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); 
}

.document-display-wrapper img {
    width: 100%;
    height: auto; 
    object-fit: contain; 
    border: 1px solid #ddd;
    border-radius: 4px;
    display: block;
}

/* Desktop/Larger Screens: Show certificates in a row */
@media (min-width: 992px) {
    .documents-scroll-container {
        flex-direction: row; /* Switch back to row layout */
        flex-wrap: wrap; 
        max-width: 1200px;
        margin: 0 auto;
    }
    .document-display-wrapper {
        width: calc(33.33% - 25px); /* Show 3 per row (with gap) */
        max-width: 380px; 
        margin-bottom: 20px; /* Add spacing between rows */
    }
    
    /* Corrected hover syntax */
    .document-display-wrapper:hover { 
        transform: scale(1.05); 
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.25);
    }
}

/* ===================================================================
VI. WHY CHOOSE US SECTION STYLES
=================================================================== 
*/
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    padding: 0 20px;
}
/* Ensure the dark navy blue variable is defined (e.g., at the top in :root) */
:root {
    --dark-navy-blue: #1A2E47; 
    --light-text-color: #f0f0f0; 
    --feature-icon-color: #87CEEB; /* A light, visible blue for icons */
}

/* 1. Update the Card Background and Text Color */
.feature-card {
    /* Use !important for the background to force the change */
    background-color: var(--dark-navy-blue) !important; 
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4); 
    border: 1px solid rgba(255, 255, 255, 0.1); 
    
    /* Set ALL text and content inside the card to white/light by default */
    color: var(--light-text-color) !important; 
    
    /* Retain original layout styles */
    padding: 30px;
    border-radius: 8px;
    display: flex;
    align-items: flex-start;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.6);
}

/* 2. Fix Text, Headings, and Icons */

/* Fix: Change icon color (The default dark icon is invisible on a dark background) */
.feature-icon {
    font-size: 32px;
    color: var(--feature-icon-color) !important;
    margin-right: 15px;
    line-height: 1;
}

/* Fix: Ensure Headings (h3) are white and not invisible */
.feature-content h3 {
    font-size: 20px;
    margin-bottom: 5px;
    /* CRITICAL: Must be white/light */
    color: white !important; 
}

/* Fix: Ensure Paragraphs (p) are light grey and readable */
.feature-content p {
    /* Retain mobile size increase and set color */
    font-size: 15px; /* Use the desktop size for desktop view */
    color: #ccc !important; 
}

/* Mobile Media Query Fix (If you've kept the custom size increase) */
@media (max-width: 768px) {
    .feature-content h3 {
        color: white !important; /* Ensure mobile headings are white */
    }

    .feature-content p {
        font-size: 20px !important; /* Use the big size you requested */
        line-height: 1.7; 
        color: #ccc !important; /* Ensure mobile paragraphs are light grey */
    }
}

/* ===================================================================
VII. TESTIMONIALS SECTION STYLES (FIXED FOR FULL OVERLAY & NEW BACKGROUND)
=================================================================== 
*/
/* ===================================================================
VII. TESTIMONIALS SECTION STYLES (FIXED FOR SMALL CARDS & CAROUSEL)
=================================================================== 
*/
.section-full-height { 
    min-height: 80vh; 
    display: flex;
    flex-direction: column;
    justify-content: center; 
}

.testimonials-section {
    background-image: url('image/global.gif'); /* Use your actual image path */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;

    /* Makes it full height of screen */
    height: 100vh;
    min-height: 700px; /* Safe minimum height */

    position: relative;
    color: #fff;
    text-align: center;
    overflow: hidden;
    padding: 0; /* Ensures the background covers the full container */
}


.testimonial-overlay {
    /* CRITICAL FIX: Absolute positioning to cover full parent area */
    background-color: rgba(0, 0, 0, 0.7); 
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    
    padding: 80px 5%; 

    display: flex;
    flex-direction: column;
    justify-content: center; 
    align-items: center;
    box-sizing: border-box;
}

.testimonials-content {
    max-width: 1140px; /* Increased max-width for better display of 3 small cards */
    margin: 0 auto;
    z-index: 2;
    width: 100%;
}

/* --- NEW CAROUSEL STYLES --- */
.feedback-carousel-viewport {
    max-width: 100%;
    overflow: hidden; 
    margin: 20px 0;
    width: 100%; 
}

.feedback-cards-track {
    display: flex;
    justify-content: flex-start;
    gap: 30px; 
    transition: transform 0.8s ease-in-out; 
    
    /* CRITICAL FIX: Ensure the track is wide enough for cloning (JS needs this) */
    width: fit-content; 
    min-width: 100%; 
}

/* The Cards themselves: SUPER SMALL SIZE */
.feedback-card {
    /* CRITICAL FIX: Force fixed width for JS calculation (300px + 30px gap = 330px step) */
    flex: 0 0 300px; 
    min-width: 300px; 
    
    max-width: 300px; 
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    
    padding: 20px; /* Reduced padding */
    border-radius: 12px;
    text-align: left;
    height: auto;
    color: white;
    
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2); 
    backdrop-filter: blur(2px); 
}

.feedback-card .quote-icon {
    font-size: 20px;
    color: #f0a300;
    margin-bottom: 10px; 
}

.feedback-card .review-text {
    font-size: 0.9em; /* Smaller text */
    font-style: italic;
    line-height: 1.4; 
    margin-bottom: 15px;
}

.feedback-card .reviewer-details {
    display: flex;
    align-items: center;
    gap: 10px; 
    margin-top: 10px;
}

.feedback-card .reviewer-image {
    width: 30px; /* Smaller image */
    height: 30px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid #f0a300;
}

.feedback-card .reviewer-name {
    font-weight: 600;
    color: #f0a300;
    font-size: 0.9em; 
}

/* Ensure mobile retains single-card view */
@media (max-width: 768px) {
    .feedback-card {
        flex: 0 0 90vw; /* Takes up 90% of viewport width on mobile */
        min-width: 90vw;
    }
}
/* Inner track to hold all cards */

/* ===================================================================
VIII. CONTACT SECTION STYLES
=================================================================== 
*/
.contact-content {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
}
.contact-info {
    flex: 1;
    min-width: 300px;
}
.contact-form-container {
    flex: 2;
    min-width: 300px;
    background-color: var(--light-color);
    padding: 30px;
    border-radius: 8px;
}
.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
}
.contact-item .icon {
    font-size: 24px;
    color: white;
    background-color: var(--primary-color);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
}
.contact-item .info h3 {
    font-size: 18px;
    margin: 0;
    color: var(--dark-color);
}
.contact-item .info p {
    margin: 5px 0 0 0;
    font-size: 15px;
    color: #555;
}
.contact-form .form-group {
    margin-bottom: 20px;
}
.contact-form label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--dark-color);
}
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 16px;
}
.contact-form textarea {
    resize: vertical;
}
.btn-full {
    width: 100%;
}

.form-success.hidden {
    display: none;
}
.form-success {
    text-align: center;
    padding: 40px 20px;
}
.form-success i {
    font-size: 4rem;
    color: #28a745;
    margin-bottom: 15px;
}
.form-success h3 {
    color: #28a745;
    margin-bottom: 10px;
}


/* ===================================================================
IX. FOOTER STYLES
=================================================================== 
*/
#footer {
    background-color: var(--dark-color);
    color: white;
    padding-top: 50px;
}
.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    gap: 30px;
}
.footer-logo, .footer-links, .footer-contact, .footer-social {
    flex-basis: 22%;
    min-width: 200px;
}
.footer-logo h2 {
    font-size: 24px;
    margin-bottom: 10px;
}
.footer-logo span {
    color: var(--primary-color);
}
.footer-links h3, .footer-contact h3, .footer-social h3 {
    font-size: 18px;
    color: var(--primary-color);
    margin-bottom: 20px;
    position: relative;
}
.footer-links ul {
    list-style: none;
    padding: 0;
}
.footer-links ul li a {
    color: #bbb;
    display: block;
    padding: 5px 0;
}
.footer-links ul li a:hover {
    color: white;
}
.footer-contact p {
    color: #bbb;
    line-height: 1.8;
    margin-bottom: 10px;
    font-size: 14px;
}
.footer-contact i {
    margin-right: 10px;
    color: var(--primary-color);
}
.social-icons a {
    display: inline-block;
    width: 35px;
    height: 35px;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 50%;
    text-align: center;
    line-height: 35px;
    margin-right: 10px;
    transition: background-color 0.3s ease;
}
.social-icons a:hover {
    background-color: var(--primary-color);
}
.footer-bottom {
    text-align: center;
    padding: 20px 0;
}
.footer-bottom p {
    margin: 0;
    font-size: 14px;
    color: #bbb;
}

@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .footer-logo, .footer-links, .footer-contact, .footer-social {
        flex-basis: 100%;
        margin-bottom: 30px;
        min-width: unset;
    }
    .footer-contact p {
        padding: 0 15px;
    }
}
/* ===================================================================
X. GLOBAL PRESENCE SECTION STYLES
=================================================================== 
*/
#global-presence {
    padding: 80px 0;
    text-align: center;
    background: url('images/world-map-bg-light.png') center center/cover no-repeat var(--light-color); /* Light map background */
    position: relative;
    overflow: hidden; /* Ensures carousel doesn't spill out */
}

#global-presence .section-header {
    margin-bottom: 40px;
}

#global-presence .section-header h2 {
    font-size: 40px;
    color: var(--dark-color);
}
#global-presence .section-header .primary-text {
    color: var(--primary-color);
}

.trade-map-subtitle {
    font-size: 14px;
    color: var(--secondary-color);
    margin-top: -20px;
    margin-bottom: 20px;
    font-weight: 600;
    letter-spacing: 1px;
}
/* ... (Rest of Global Presence styles unchanged) ... */
.video-preview {
    position: relative;
    display: inline-block;
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 50px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.video-preview .global-map-bg {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 15px;
    filter: brightness(0.8); /* Slightly darken map */
    max-width: 800px; /* Adjust as needed */
}

.video-play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: var(--primary-color);
    color: white;
    width: 150px; /* Increased size */
    height: 60px; /* Increased size */
    border-radius: 30px; /* Oval shape */
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 8px 15px rgba(0, 123, 255, 0.4);
    z-index: 10;
}

.video-play-button i {
    margin-right: 10px;
    font-size: 24px;
}

.video-play-button:hover {
    background-color: #0056b3;
    transform: translate(-50%, -50%) scale(1.05);
    box-shadow: 0 12px 20px rgba(0, 123, 255, 0.6);
}

/* Countries Carousel Styles */
.countries-carousel-container {
    max-width: 100%; /* Limit width on larger screens */
    margin: 0 auto;
    overflow: hidden; /* Hide overflowing cards */
    padding: 20px 0;
    position: relative;
}

.countries-carousel-track {
    display: flex;
    justify-content: flex-start; /* Start from left */
    gap: 30px; /* Spacing between cards */
    will-change: transform; /* Hint to browser for performance */
}

.country-card {
    flex: 0 0 auto; /* Prevent shrinking */
    width: 150px; /* Fixed width for each card */
    padding: 15px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.country-card:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.country-card img {
    width: 80px; /* Flag size */
    height: 60px; /* Flag height */
    object-fit: cover; /* Ensures flags fill the space */
    border: 1px solid #eee;
    border-radius: 5px;
    margin-bottom: 10px;
}

.country-card p {
    font-size: 15px;
    font-weight: 600;
    color: var(--dark-color);
    margin: 0;
}
/* ===================================================================
   XI. SHAJAN ECO BRAND SHOWCASE STYLES (Transparency Update)
=================================================================== */

/* --- Styles based on your screenshot --- */
.dark-brand-box {
    /* Solid Dark Blue color matching the request */
    background-color: #1e2a38; 
    
    /* Standard padding, centering, and appearance */
    padding: 50px 20px 100px;
    text-align: center;
    color: white; 
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
    max-width: 800px;
    margin: 50px auto;
}

/* 2. Increased Brand Tag Size */
.brand-tag {
    color: #bbb;
    font-size: 1.5em; /* Increased size as requested */
    font-weight: 300;
    margin-bottom: 30px;
    display: block;
}

/* Style for the big SHAJAN ECO text */
/* Note: The font-size, weight, and color for SHAJAN ECO are set via inline styles in the HTML. */
.brand-card h3 {
    margin: 0;
    padding: 0;
    line-height: 1;
}

/* Text in the content box */
.product-description {
    max-width: 600px;
    margin: 20px auto 40px;
    color: #ccc;
    font-size: 1.1em;
}

/* --- FULL CIRCLE BUTTON STYLE --- */

/* Base styles for the button (link) */
.btn-explore {
    display: inline-flex; 
    justify-content: center;
    align-items: center;
    text-decoration: none;
    font-weight: bold;
    color: rgb(17, 16, 16); 
    background-color: #dee4de; /* Base color (Green) */
    padding: 0; 
    /* Apply a springy transition for smooth effects */
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); 
    text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
}

.half-circle-button { 
    /* Properties for a perfect circle */
    width: 150px; 
    height: 150px; 
    border-radius: 50%; /* Full circle */
    
    /* Text alignment and styling */
    font-size: 1.1em;
    line-height: 1.4; /* Allows multi-line text */
    padding: 10px; 
    
    /* Initial shadow/glow effect */
    box-shadow: 0 0 15px rgba(76, 175, 80, 0.7); 
    margin-top: 20px;
}

/* Enhanced Hover effect: Vibrant coloring and motion */
.half-circle-button:hover {
    background-color: #00bcd4; /* Vibrant blue on hover */
    /* Stronger blue glow effect */
    box-shadow: 0 0 20px #00bcd4, 0 0 40px rgba(0, 188, 212, 0.8); 
    transform: scale(1.08); /* Slightly enlarge the button */
}


/* All other brand-related styles (text, h3, button) remain as they were,
   ensuring the text stays bright white and visible. */
/* Responsive adjustments for carousel */
@media (max-width: 768px) {
    #global-presence .section-header h2 {
        font-size: 32px;
    }
    .country-card {
        width: 120px; /* Smaller cards on mobile */
        padding: 10px;
    }
    .country-card img {
        width: 70px;
        height: 50px;
    }
    .country-card p {
        font-size: 13px;
    }
    .countries-carousel-track {
        gap: 20px; /* Smaller gap on mobile */
    }
}

@media (max-width: 480px) {
    .country-card {
        width: 100px; /* Even smaller cards on very small screens */
    }
    .country-card img {
        width: 60px;
        height: 40px;
    }
    .countries-carousel-track {
        gap: 15px;
    }
}
/* -------------------------------------------------------------------
*** FINAL REVISED MOBILE STYLES for WHY CHOOSE US (max-width: 768px) ***
------------------------------------------------------------------- */
/* --- Mobile adjustment for the 'Shajan Eco' description text --- */
/* --- Mobile adjustment for the 'Shajan Eco' description text --- */
/* Add this new block to your stylesheet */
/* --- Mobile adjustment for the main SHAJAN ECO heading --- */
@media (max-width: 768px) {
    /* Target the h3 inside the brand-card class */
    .brand-card h3 { 
        /* Use a smaller size for mobile, e.g., 2.5em or 3em */
        /* We must use !important or higher specificity to override the inline style (font-size: 4em) */
        font-size: 2.8em !important; 
        
        /* You might want to adjust letter-spacing for smaller text too */
        letter-spacing: 1px !important;
    }
}