/* ----------  VARIABLES & RESET  ---------- */
:root {
    --deep-navy: #001F3F;   /* Deep ocean blue */
    --energy-blue: #7FDBFF; /* Ice blue */
    --gold-accent: #FFDC00; /* Bright gold */
    --light-teal: #2ECC40;  /* Fresh green (for eco-energy hint) */
    --off-white: #F6F9FC;   /* Pure white */
    --light-gray: #DFE7EF;  /* Light blue-gray */
    --dark-text: #111111;   /* True black for text */
    --primary-dark: #001F3F;
    --secondary-dark: #0D1B2A;
    --accent-light: #FFD166;
    --transition: all 0.3s ease;
    --section-padding: 100px 0;
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--dark-text);
    background-color: var(--off-white);
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.2;
}

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

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: 600;
    transition: var(--transition);
    text-align: center;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: var(--gold-accent);
    color: rgb(48, 48, 48);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);}

.btn-primary:hover {
    background: #e6c05a;
    transform: translateY(-3px);
    box-shadow: 0 7px 20px rgba(212, 175, 55, 0.4);
}

.btn-secondary {
    background: var(--energy-blue);
    color: white;
    box-shadow: 0 4px 15px rgba(0, 102, 204, 0.3);
}

.btn-secondary:hover {
    background: #005bb7;
    transform: translateY(-3px);
    box-shadow: 0 7px 20px rgba(0, 102, 204, 0.4);
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
    color: var(--primary-dark);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--gold-accent);
    transition: var(--transition);
}

.text-center {
    text-align: center;
}

.text-center .section-title::after {
    left: 50%;
    transform: translateX(-50%);
}

.divider-text {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--gold-accent);
    margin: 15px 0;
    position: relative;
    display: inline-block;
    padding: 0 20px;
}

.divider-text::before,
.divider-text::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 30px;
    height: 1px;
    background: var(--gold-accent);
}

.divider-text::before {
    left: -30px;
}

.divider-text::after {
    right: -30px;
}

/* ----------  HEADER DESIGN ---------- */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgb(13 32 53 / 78%);
    backdrop-filter: blur(10px);
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    padding: 0;
    border-bottom: 1px solid rgba(212, 175, 55, 0.3);
    transition: all 0.4s ease;
    height: 70px;
}

.header-scrolled {
    background: rgb(13 32 53 / 78%);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
    padding: 5px 0;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    height: 100%;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
    transition: transform 0.5s ease;
}

@media (max-width: 1200px) {
    .brand-name {
        display: none;
    }
}
.logo-container:hover {
    transform: translateX(5px);
}

.logo-container img {
    max-width: 150px;
    min-width: 150px;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
    margin-top: 145px;
}

.brand-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

.brand-name span {
    color: var(--gold-accent);
}

.nav-container {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    padding: 8px 0;
    position: relative;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.nav-links a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--gold-accent);
    transition: var(--transition);
    border-radius: 2px;
}

.nav-links a:hover {
    color: white;
}

.nav-links a:hover::before {
    width: 100%;
}

.nav-links a .nav-icon {
    font-size: 0.9rem;
    margin-bottom: 4px;
    opacity: 0.7;
    transition: var(--transition);
}

.nav-links a:hover .nav-icon {
    opacity: 1;
    transform: translateY(-3px);
    color: var(--gold-accent);
}

.header-actions {
    display: flex;
    gap: 15px;
    position: relative;
}

.contact-btn {
    background: linear-gradient(135deg, var(--gold-accent), #e6c05a);
    color: rgb(48, 48, 48);
    padding: 12px 25px;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
    position: relative;
    overflow: hidden;
    border: none;
    cursor: pointer;
}

.contact-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: 0.5s;
}

.contact-btn:hover::before {
    left: 100%;
}

.contact-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 7px 20px rgba(212, 175, 55, 0.4);
}

.hamburger {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.8rem;
    cursor: pointer;
    position: relative;
    z-index: 1001;
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 5px;
    transition: background 0.3s ease;
}

.hamburger:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Mobile Menu Styles */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background: rgb(48, 48, 48);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: right 0.4s ease;
    padding: 80px 30px 30px;
    box-shadow: -5px 0 25px rgba(0, 0, 0, 0.3);
    overflow-y: auto;
}

.mobile-menu.active {
    right: 0;
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px;
}

.mobile-nav-links a {
    color: rgba(255, 255, 255, 0.9);
    padding: 12px 15px;
    border-radius: 5px;
    font-weight: 500;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.05);
}

.mobile-nav-links a i {
    color: var(--gold-accent);
    width: 24px;
    text-align: center;
}

.mobile-nav-links a:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    transform: translateX(5px);
}

.mobile-actions {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 30px;
}

.close-menu {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    transition: background 0.3s ease;
}

.close-menu:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* ----------  HERO SECTION  ---------- */
.hero {
    min-height: 100vh;
    background: linear-gradient(rgba(13, 32, 53, 0.9), rgba(13, 32, 53, 0.9)),
                url('/img/shipment-new.jpg') center/cover;
    color: #f8f9fa;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 120px;
    background: var(--off-white);
    mask: url('data:image/svg+xml;utf8,<svg viewBox="0 0 1440 120" xmlns="http://www.w3.org/2000/svg"><path fill="white" d="M0,60 C240,100 480,20 720,60 C960,100 1200,20 1440,60 L1440,120 L0,120 Z"></path></svg>') no-repeat center bottom / cover;
    -webkit-mask: url('data:image/svg+xml;utf8,<svg viewBox="0 0 1440 120" xmlns="http://www.w3.org/2000/svg"><path fill="white" d="M0,60 C240,100 480,20 720,60 C960,100 1200,20 1440,60 L1440,120 L0,120 Z"></path></svg>') no-repeat center bottom / cover;
}

.hero-content {
    max-width: 800px;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
    max-width: 700px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    margin-top: 30px;
}

/* ----------  ABOUT SECTION  ---------- */
.about {
    padding: var(--section-padding);
    background: #f5f5f5;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    margin-top: 50px;
}

.about-content h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--dark-text);
}

.about-content p {
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.about-image {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    position: relative;
    transform: translateY(0);
    transition: transform 0.5s ease;}
}
.about-image:hover {
    transform: translateY(-10px);
}
.about-image img {
    width: 100%;
    height: auto;
    display: block;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 50px;
}

.stat-card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border-top: 4px solid var(--gold-accent);
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-text);
    margin-bottom: 10px;
}

.stat-label {
    font-size: 1rem;
    color: var(--gold-accent);
}

/* ----------  SERVICES SECTION  ---------- */
.services {
    padding: var(--section-padding);
    background: white;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.service-card {
    background: var(--off-white);
    border-radius: 10px;
    padding: 40px 30px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    border-color: var(--gold-accent);
}

.service-icon {
    font-size: 3rem;
    color: var(--gold-accent);
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--dark-text);
}

.service-card p {
    margin-bottom: 20px;
    color: var(--dark-text);
}

.service-link {
    color: var(--energy-blue);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: var(--transition);
}

.service-link:hover {
    color: var(--dark-text);
}

.service-link i {
    transition: var(--transition);
}

.service-link:hover i {
    transform: translateX(5px);
}

/* ========== MARKET UPDATES SECTION ========== */
.market-updates {
    padding: var(--section-padding);
    background: var(--off-white);
}

.updates-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.update-card {
    background: linear-gradient(135deg, #5AAEFF, var(--light-teal));
    padding: 30px;
    border-radius: 10px;
    color: white;
    text-align: center;
    transition: var(--transition);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.update-card:hover {
    animation: bounce 0.6s ease-in-out;
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    20% {
        transform: translateY(-15px);
    }
    40% {
        transform: translateY(0);
    }
    60% {
        transform: translateY(-8px);
    }
    80% {
        transform: translateY(0);
    }
}

.update-card h4 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    opacity: 0.9;
}

.update-card .price {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.update-card .change {
    font-size: 0.9rem;
    font-weight: 600;
}

.change.positive {
    color: var(--gold-accent);
}

.change.negative {
    color: #f44336;
}

/* ----------  GLOBAL NETWORK SECTION  ---------- */
.global-network {
    padding: var(--section-padding);
    background: url('https://images.unsplash.com/photo-1483728642387-6c3bdd6c93e5?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2076&q=80') center/cover;
    background-attachment: local;
    color: white;
    position: relative;
    overflow: hidden;
}

.map-container {
    position: relative;
    height: 500px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    overflow: hidden;
    margin: 50px 0;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.map-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: rgba(13, 32, 53, 0.7);
    padding: 30px;
    text-align: center;
    z-index: 3;
}

.map-title {
    font-size: 2.2rem;
    margin-bottom: 15px;
    color: white;
}

.map-stats {
    display: flex;
    gap: 30px;
    margin-top: 20px;
}

.map-stat {
    text-align: center;
}

.stat-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--gold-accent);
    margin-bottom: 5px;
}

.stat-label {
    font-size: 1rem;
    color: var(--gold-accent);
}

.regions-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.region-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    transform: translateY(0);
    transition: all 0.4s ease;
}

.region-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-10px);
    border-color: rgba(212, 175, 55, 0.3);
}

.region-icon {
    font-size: 2.5rem;
    color: var(--gold-accent);
    margin-bottom: 15px;
    transition: transform 0.3s ease;
}

.region-card:hover .region-icon {
    transform: scale(1.1);
}

.region-name {
    font-size: 1.4rem;
    margin-bottom: 10px;
    color: white;
}

.region-stats {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

.world-map {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://images.unsplash.com/photo-1534274988757-a28bf1a57c17?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2070&q=80') center/cover;
    opacity: 0.4;
}

.map-markers {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
}

.map-marker {
    position: absolute;
    width: 16px;
    height: 16px;
    background: var(--gold-accent);
    border-radius: 50%;
    box-shadow: 0 0 0 8px rgba(212, 175, 55, 0.3);
    animation: pulse 2s infinite;
    cursor: pointer;
    transform: translate(-50%, -50%);
}

.map-marker::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: rgba(212, 175, 55, 0.5);
    animation: ripple 2s infinite;
}

.map-marker:hover {
    transform: translate(-50%, -50%) scale(1.2);
}

.marker-1 { top: 30%; left: 25%; }
.marker-2 { top: 35%; left: 50%; }
.marker-3 { top: 60%; left: 45%; }
.marker-4 { top: 40%; left: 70%; }
.marker-5 { top: 70%; left: 30%; }

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.7); }
    70% { box-shadow: 0 0 0 12px rgba(212, 175, 55, 0); }
    100% { box-shadow: 0 0 0 0 rgba(212, 175, 55, 0); }
}

@keyframes ripple {
    0% { transform: scale(1); opacity: 1; }
    100% { transform: scale(3); opacity: 0; }
}

/* ----------  TESTIMONIALS SECTION  ---------- */
.testimonials {
    padding: var(--section-padding);
    background: white;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.testimonial-card {
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    position: relative;
    transform: translateY(0);
    transition: all 0.4s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 5rem;
    color: rgba(0, 102, 204, 0.1);
    font-family: Georgia, serif;
    line-height: 1;
}

.testimonial-content {
    position: relative;
    z-index: 1;
    font-style: italic;
    margin-bottom: 20px;
    font-size: 1.1rem;
    color: #555;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--gold-accent);
}

.author-info h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: var(--dark-text);
}

.author-info p {
    color: var(--dark-text);
    opacity: 0.7;
    font-size: 0.9rem;
}

/* ----------  CONTACT SECTION  ---------- */
#contact {
    padding: var(--section-padding);
    background: var(--dark-text);
    color: white;
    position: relative;
    overflow: hidden;
}

#contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('/img/ship-new.jpg') center/cover;
    opacity: 0.1;
    z-index: 0;
}

.contact-container {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Redefined .section-title moved below responsive blocks */
#contact .section-title,
#global .section-title {
    color: white;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-top: 50px;
}

.contact-form {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    padding: 40px;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transform: translateY(0);
    transition: all 0.4s ease;
}

.contact-form:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.form-group {
    margin-bottom: 25px;
    position: relative;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--gold-accent);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    font-family: inherit;
    transition: var(--transition);
    color: #808080;
    font-size: 1rem;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--gold-accent);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.2);
    background: rgba(255, 255, 255, 0.12);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.contact-info-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 25px;
}

.contact-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(5px);
    padding: 30px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
    display: flex;
    gap: 20px;
    align-items: flex-start;
    transform: translateY(0);
    transition: all 0.4s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
    border-color: var(--gold-accent);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: rgba(212, 175, 55, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon i {
    font-size: 1.8rem;
    color: var(--gold-accent);
}

.contact-details h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
    color: white;
}

.contact-details p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
}

.contact-details a {
    color: var(--gold-accent);
    transition: var(--transition);
    display: inline-block;
    margin-top: 5px;
    font-weight: 500;
}

.contact-details a:hover {
    color: #e6c05a;
    transform: translateX(3px);
}

.map-container {
    margin-top: 40px;
    height: 300px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
    filter: grayscale(20%) contrast(110%) brightness(90%);
}

/* Success Message */
.success-message {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--gold-accent);
    color: rgb(48, 48, 48);
    padding: 15px 25px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    z-index: 1000;
    font-weight: 600;
    display: none;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeOut {
    from { opacity: 1; transform: translateY(0); }
    to { opacity: 0; transform: translateY(20px); }
}

@media (max-width: 992px) {
    .contact-grid {
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .contact-form {
        padding: 30px;
    }

    .section-title {
        font-size: 2.2rem;
    }
}

@media (max-width: 576px) {
    .contact-form {
        padding: 25px 20px;
    }

    .contact-card {
        padding: 25px;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .contact-icon {
        margin-bottom: 15px;
    }

    .section-title {
        font-size: 2rem;
    }
}


/* ----------  CTA SECTION  ---------- */
.cta {
    padding: 80px 0;
    background: linear-gradient(rgba(13, 32, 53, 0.9), rgba(13, 32, 53, 0.9)),
                url('https://nextgenum.com/img/shipment.jpg') center/cover;
    color: white;
    text-align: center;
}

.cta h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta p {
    max-width: 700px;
    margin: 0 auto 30px;
    font-size: 1.1rem;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* ----------  FOOTER  ---------- */
/* Footer Variables (ensure these are in your styles.css) */
:root {
  --deep-navy: #0D1B2A;
  --off-white: #f5f5f5;
  --gold-accent: #FFD166;
  --energy-blue: #0A2239;
}

.footer-globe {
  background-color: var(--deep-navy);
  color: var(--off-white);
  padding: 50px 20px 20px;
  font-family: 'Segoe UI', sans-serif;
  position: relative;
  overflow: hidden;
}

.footer-globe .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  gap: 30px;
}

.footer-globe .footer-info {
  flex-basis: 30%;
  min-width: 250px;
}

/* Updated logo size */
.footer-globe .footer-logo {
  max-width: 150px; /* Adjust this value to your desired size */
  height: auto;
}

.footer-globe .mission-statement {
  font-size: 1.5em;
  font-weight: bold;
  color: var(--gold-accent);
  margin: 20px 0;
}

.footer-globe .globe-container {
  position: relative;
  width: 250px;
  height: 250px;
  margin: 0 40px;
  flex-shrink: 0;
}

/* CSS for the animated globe */
.globe {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: linear-gradient(to right, var(--gold-accent) 50%, var(--energy-blue) 50%);
  background-size: 200% 100%;
  animation: rotate-globe 10s linear infinite;
  box-shadow: 0 0 15px rgba(255, 209, 102, 0.4);
}

/* Dark Mode Ready */
[data-theme="dark"] {
  --off-white: #121212;
  --dark-text: #f8f9fa;
  --light-gray: #2c2c2c;
}

@keyframes rotate-globe {
  from {
    background-position: 0% center;
  }
  to {
    background-position: -200% center;
  }
}

.footer-globe .footer-links {
  flex-basis: 30%;
  display: flex;
  justify-content: space-between;
  min-width: 250px;
}

.footer-globe .footer-links .column {
  flex: 1;
}

.footer-globe h4 {
  color: var(--off-white);
  font-size: 1.1em;
  margin-bottom: 15px;
}

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

.footer-globe a {
  color: var(--off-white);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-globe a:hover {
  color: var(--gold-accent);
}

.footer-globe .social-icons a {
  font-size: 1.5em;
  margin-right: 15px;
  transition: color 0.3s ease;
}

.footer-globe .social-icons a:hover {
  color: var(--energy-blue);
}

.footer-globe .copyright {
  text-align: center;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Responsive design for tablets and mobile */
@media (max-width: 1024px) {
  .footer-globe .container {
    flex-direction: column;
    text-align: center;
  }

  .footer-globe .footer-info, .footer-globe .footer-links {
    flex-basis: 100%;
    margin-bottom: 30px;
  }
  
  .footer-globe .footer-links {
    justify-content: center;
    gap: 50px;
  }
}

/* ----------  RESPONSIVE DESIGN (UPDATED FOR FIXES) ---------- */
@media (max-width: 992px) {
    .section-title {
        font-size: 2.2rem;
    }

    .hero h1 {
        font-size: 3rem;
    }

    .about-grid {
        gap: 30px;
    }

    .contact-grid {
        gap: 30px;
    }

    .nav-links {
        display: none;
    }

    .header-actions {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .global-network {
        background-attachment: scroll;
    }

    .map-title {
        font-size: 1.8rem;
    }

    .map-stats {
        flex-direction: column;
        gap: 15px;
    }

    .stat-value {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-form {
        padding: 30px;
    }
    
    .section-title {
        font-size: 2.2rem;
    }

      .header-scrolled {
        padding: 8px 0;
        min-height: 60px;
    }

    .hero {
        padding-top: 100px;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

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

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

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

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .global-network {
        background: 
            linear-gradient(rgba(13, 32, 53, 0.9), rgba(13, 32, 53, 0.9)),
            var(--deep-navy);
        background-attachment: scroll;
    }
    
    .map-container {
        height: 400px;
        margin: 30px 0;
    }
    
    .map-overlay {
        padding: 20px;
    }
    
    .map-title {
        font-size: 1.6rem;
        line-height: 1.3;
    }
    
    .regions-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 480px) {
    /* New breakpoint for further mobile optimization */
    .hero h1 {
        font-size: 2rem;
    }

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

    .contact-form {
        padding: 30px 20px;
    }
    
    .contact-card {
        padding: 25px;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .contact-icon {
        margin-bottom: 15px;
    }

    .global-network {
        padding: 60px 0;
    }
    
    .map-container {
        height: 350px;
        margin: 20px 0;
    }
    
    .map-overlay {
        padding: 15px;
    }
    
    .map-title {
        font-size: 1.4rem;
        margin-bottom: 10px;
    }
    
    .map-stats {
        margin-top: 15px;
    }
    
    .stat-value {
        font-size: 1.8rem;
    }
    
    .stat-label {
        font-size: 0.9rem;
    }
}

/* iOS Safari specific fixes */
@supports (-webkit-touch-callout: none) {
    .global-network {
        background-attachment: scroll !important;
    }
}

/* Animation classes for scroll effects */
.fade-in {
    opacity: 1;
    transform: translateY(0);
}

/* Enhanced animations */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

.float-animation {
    animation: float 3s ease-in-out infinite;
}

/* Improved hover effects */
.hover-scale {
    transition: transform 0.3s ease;
}

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