@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap');

:root {
    --maroon: #800000;
    --maroon-grad: linear-gradient(135deg, #800000 0%, #4a0000 100%);
    --grey-dark: #222222;
    --grey-light: #666666; /* Slightly lightened for better readability */
    --white: #ffffff;
    --transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}
* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Poppins', sans-serif; }s

/* --- Global Spacing & Layout Fixes --- */
body {
    line-height: 1.8; /* Increased from 1.6 to fix congestion */
    color: var(--grey-light);
}

/* Standardized Section Padding for high-end feel */
section, 
.services-section, 
.offices-section, 
.features-section, 
.about-modern,
.service-details-area {
    padding: 120px 0 !important; /* Forces breathing room between sections */
}

/* --- Header Core Fixes --- */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 2000; /* Increased to stay above all content */
    padding: 20px 0;
    background: transparent;
    transition: var(--transition);
}

/* Scrolled State */
header.scrolled {
    background: var(--white);
    padding: 8px 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 30px;
}

/* --- Logo Fixes --- */
.logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    z-index: 2001;
}

.logo img {
    height: 80px; /* Slightly larger as requested */
    width: auto;
    object-fit: contain;
    transition: var(--transition);
}

header.scrolled .logo img {
    height: 55px; /* Shrinks on scroll for cleaner UI */
}

/* --- Navigation Links --- */
.nav-links { 
    display: flex; 
    list-style: none;
    margin: 0 auto; /* Centers the links in the middle of navbar */
}

.nav-links li { margin: 0 15px; position: relative; }

.nav-links li a {
    text-decoration: none;
    color: var(--white);
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    transition: 0.3s;
    position: relative;
    padding: 10px 0;
}

/* Change text to dark when background turns white, and Maroon on hover */
header.scrolled .nav-links li a { 
    color: var(--grey-dark); 
}

header.scrolled .nav-links li a:hover { 
    color: var(--maroon) !important; 
}

/* --- Dropdown Animation Fix --- */
.dropdown-menu {
    position: absolute;
    top: 150%; /* Start lower */
    left: 0;
    background: var(--white);
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: var(--transition);
    list-style: none;
    padding: 15px 0;
    border-top: 3px solid var(--maroon);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    top: 100%; /* Align perfectly to bottom of header */
}

.dropdown-menu li a { 
    color: var(--grey-dark) !important; 
    padding: 10px 25px !important; 
    display: block; 
    font-size: 12px;
    border-bottom: 1px solid #f5f5f5;
}

.dropdown-menu li:last-child a { border-bottom: none; }

.dropdown-menu li a:hover {
    background: #f9f9f9;
    color: var(--maroon) !important;
    padding-left: 30px !important;
}
/* --- Slider & Hero --- */
.hero-slider { height: 100vh; width: 100%; overflow: hidden; position: relative; }
.slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1.2s ease-in-out;
    display: flex;
    /* Change from center to flex-end to push buttons down */
    align-items: flex-end; 
    justify-content: center;
    visibility: hidden;
    /* This padding controls how far from the very bottom the text sits */
    padding-bottom: 120px; 
}
.slide.active { opacity: 1; visibility: visible; }

/* Ken Burns (Zoom) Effect */
.slide-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    z-index: -1;
    transform: scale(1.15);
    transition: transform 8s linear;
}

.slide.active .slide-bg { transform: scale(1); }

.hero-content {
    text-align: center;
    color: var(--white);
    max-width: 1100px;
    padding: 0 20px;
    z-index: 5;
}
.hero-content h1 {
    font-size: 3.5rem; /* Adjusted for better scale */
    font-weight: 700;
    margin-bottom: 15px;
    text-shadow: 0 4px 10px rgba(0,0,0,0.5); /* Helps readability against complex BGs */
}
.animate-text { opacity: 0; transform: translateY(30px); transition: 1s ease-out; }
.slide.active .animate-text { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 0.4s; }
.delay-2 { transition-delay: 0.7s; }

/* Buttons */
.hero-btns {
    margin-top: 25px;
    display: flex;
    justify-content: center;
    gap: 15px;
}
.btn-schedule {
    background: var(--maroon);
    color: white !important;
    padding: 10px 20px; /* Slightly adjusted for better balance */
    font-weight: 600;
    border-radius: 4px;
    font-size: 11px;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-block;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease; /* Smooth transition for all properties */
    border: 1px solid var(--maroon);
    cursor: pointer;
}

/* Hover State */
.btn-schedule:hover {
    background: transparent;
    color: var(--maroon) !important;
    transform: translateY(-2px); /* Subtle lift effect */
    box-shadow: 0 4px 12px rgba(128, 0, 0, 0.2); /* Soft maroon shadow */
}

/* Optional: Shine effect animation on hover */
.btn-schedule::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    transition: 0.5s;
}

.btn-schedule:hover::after {
    left: 100%;
}
.btn-maroon, .btn-outline {
    padding: 10px 24px; /* Reduced padding for smaller size */
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}
.btn-maroon {
    background: var(--maroon); /* Uses #800000 from your root */
    color: white;
    padding: 18px 35px;
    border-radius: 6px;
    cursor: pointer;
    transition: var(--transition); /* Uses the 0.5s transition from your root */
}
.btn-outline { border: 1.5px solid var(--white); padding: 10px 24px; color: var(--white); text-decoration: none; border-radius: 4px; font-size: 13px; margin: 8px; display: inline-block; transition: 0.3s; }
.btn-maroon:hover, .btn-outline:hover { transform: translateY(-3px); box-shadow: 0 5px 15px rgba(0,0,0,0.3); }

/* Dots */
.slider-dots {
    position: absolute;
    /* Positioned below the content for a clean look */
    bottom: 40px; 
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 12px;
}
.dot {
    height: 4px;
    width: 35px;
    background: rgba(255,255,255,0.3);
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background: var(--maroon);
}

/* --- Services Section --- */
.services-section {
    padding: 100px 0;
    background-color: var(--white);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header .subtitle {
    color: var(--maroon);
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.section-header h2 {
    font-size: 32px;
    color: var(--grey-dark);
    margin-top: 10px;
    text-transform: uppercase;
}

.header-line {
    width: 60px;
    height: 3px;
    background: var(--maroon);
    margin: 15px auto 0;
}

/* --- Services Section --- */
.services-section {
    padding: 100px 0;
    background-color: #fcfcfc; /* Very light smoke grey */
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title .subtitle {
    color: var(--maroon);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 2px;
}

.section-title h2 {
    font-size: 32px;
    color: var(--grey-dark);
    margin-top: 10px;
}

.title-line {
    width: 60px;
    height: 3px;
    background: var(--maroon);
    margin: 15px auto;
}

/* Grid Layout */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Card Design */
.service-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 5px;
    text-align: left;
    transition: all 0.4s ease;
    border: 1px solid #eeeeee;
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
    border-color: var(--maroon);
}

.service-icon {
    font-size: 40px;
    color: var(--maroon);
    margin-bottom: 20px;
    transition: 0.3s;
}

.service-card h3 {
    font-size: 20px;
    color: var(--grey-dark);
    margin-bottom: 15px;
}

.service-card p {
    color: var(--grey-light);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.service-link {
    text-decoration: none;
    color: var(--maroon);
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
    transition: 0.3s;
}

.service-link i {
    margin-left: 5px;
    transition: 0.3s;
}

.service-card:hover .service-link i {
    transform: translateX(5px);
}

/* Hover Detail */
.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 4px;
    background: var(--maroon);
    transition: 0.4s;
}

.service-card:hover::before {
    width: 100%;
}


/* --- Offices Section Styles --- */
.offices-section {
    padding: 100px 0;
    background-color: var(--white);
}

.offices-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Forces exactly 3 columns */
    gap: 30px;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 30px;
}

.office-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: var(--transition);
    border-bottom: 3px solid #eee;
}

.office-card:hover {
    transform: translateY(-10px);
    border-bottom: 3px solid var(--maroon);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

/* Image Wrapper with Overlay */
.office-img-wrapper {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.office-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.office-card:hover .office-img-wrapper img {
    transform: scale(1.1);
}

.office-overlay {
    position: absolute;
    top: 15px;
    right: 15px;
}

.country-tag {
    background: var(--maroon);
    color: white;
    padding: 5px 15px;
    font-size: 11px;
    font-weight: 600;
    border-radius: 20px;
    text-transform: uppercase;
}

/* Info Section */
.office-info {
    padding: 30px;
    text-align: left;
}

.office-info h3 {
    font-size: 20px;
    color: var(--grey-dark);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.office-info h3 i {
    color: var(--maroon);
}

.office-info p {
    color: var(--grey-light);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 25px;
}

.office-btn {
    color: var(--maroon);
    text-decoration: none;
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
    border-bottom: 2px solid var(--maroon);
    padding-bottom: 4px;
    transition: 0.3s;
}

.office-btn:hover {
    letter-spacing: 1px;
}

/* Special Styling for the "Global" Card */
.global-card {
    background: var(--grey-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.global-content {
    padding: 40px;
}

.global-icon {
    font-size: 50px;
    margin-bottom: 20px;
    color: var(--maroon);
}

.global-card h3 { color: white; justify-content: center; }
.global-card p { color: #ccc; margin-bottom: 30px; }

.btn-outline-maroon {
    border: 2px solid var(--maroon);
    color: white;
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    font-size: 12px;
    transition: 0.3s;
}

.btn-outline-maroon:hover {
    background: var(--maroon);
}

/* --- Responsive: Stack them on Tablets/Mobile --- */
@media (max-width: 992px) {
    .offices-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 columns on tablets */
    }
}

@media (max-width: 768px) {
    .offices-grid {
        grid-template-columns: 1fr; /* 1 column on mobile */
    }
}

/* --- Features Section --- */
.features-section {
    padding: 100px 0;
    background-color: #ffffff;
}

.features-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
}

.features-header h2 {
    font-size: 32px;
    color: var(--grey-dark);
    margin: 15px 0;
}

.features-header p {
    color: var(--grey-light);
    line-height: 1.8;
    font-size: 15px;
}

/* Grid Layout */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Feature Item Styling */
.feature-item {
    display: flex;
    align-items: flex-start;
    padding: 30px;
    background: #fdfdfd;
    border-bottom: 2px solid #eee;
    transition: var(--transition);
}

.feature-item:hover {
    background: #fff;
    border-bottom: 2px solid var(--maroon);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 28px;
    color: var(--maroon);
    margin-right: 20px;
    padding-top: 5px;
}

.feature-text h3 {
    font-size: 18px;
    color: var(--grey-dark);
    margin-bottom: 10px;
}

.feature-text p {
    font-size: 14px;
    color: var(--grey-light);
    line-height: 1.5;
}

/* CTA Bar */
.features-cta {
    margin-top: 60px;
    text-align: center;
    padding: 30px;
    background: #f9f9f9;
    border-radius: 4px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.features-cta p {
    color: var(--grey-dark);
    font-size: 15px;
}
.btn-get-started {
    color: var(--maroon);
    text-decoration: none;
    font-weight: 700;
    font-size: 18px;
    border-bottom: 2px solid var(--maroon);
    padding-bottom: 5px;
    transition: var(--transition);
}

.btn-get-started:hover {
    color: var(--grey-dark);
    border-color: var(--grey-dark);
    letter-spacing: 1px;
}
/* Mobile Adjustments */
@media (max-width: 768px) {
    .features-cta {
        flex-direction: column;
        text-align: center;
    }
}
/* --- Modern About Section --- */
.about-modern {
    padding: 120px 0;
    background-color: #f9f9f9; /* Subtle grey background */
    overflow: hidden;
}

.about-flex-wrapper {
    display: flex;
    align-items: center;
    gap: 80px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Image Frames */
.about-images {
    flex: 1;
    position: relative;
}

.main-img-frame {
    width: 85%;
    height: 450px;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 20px 20px 60px rgba(0,0,0,0.1);
}

.main-img-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.secondary-img-frame {
    position: absolute;
    bottom: -40px;
    right: 0;
    width: 50%;
    height: 250px;
    border: 8px solid var(--white);
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 10px 10px 30px rgba(0,0,0,0.15);
}

.secondary-img-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* --- New Image Caption Bar (Replaces Badge) --- */
.image-caption-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(128, 0, 0, 0.85); /* Deep Maroon with transparency */
    color: var(--white);
    padding: 15px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    backdrop-filter: blur(5px); /* Modern frosted glass effect */
    transition: var(--transition);
}

.image-caption-bar i {
    font-size: 16px;
    color: var(--white);
}

.caption-text {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    line-height: 1;
}

/* Hover effect for the whole frame */
.secondary-img-frame:hover .image-caption-bar {
    background: rgba(128, 0, 0, 1); /* Becomes solid maroon on hover */
    padding-left: 25px; /* Subtle slide effect */
}

/* Ensure the secondary frame has enough height for the caption */
.secondary-img-frame {
    position: absolute;
    bottom: -40px;
    right: 0;
    width: 55%;
    height: 280px;
    border: 10px solid var(--white);
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 15px 15px 40px rgba(0,0,0,0.1);
}
/* Content Side */
.about-content-box {
    flex: 1;
}

.accent-line {
    width: 50px;
    height: 4px;
    background: var(--maroon);
    margin-bottom: 20px;
}

.about-content-box .sub-title {
    color: var(--grey-light);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 13px;
}

.about-content-box h2 {
    font-size: 38px;
    color: var(--grey-dark);
    margin: 15px 0 25px;
    line-height: 1.2;
}

.text-maroon { color: var(--maroon); }

.main-para {
    color: var(--grey-light);
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 30px;
}

/* Mini Features within About */
.about-features-mini {
    margin-bottom: 40px;
}

.mini-item {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
}

.mini-item i {
    font-size: 24px;
    color: var(--maroon);
    margin-top: 5px;
}

.mini-item h4 {
    color: var(--grey-dark);
    font-size: 18px;
    margin-bottom: 5px;
}

.mini-item p {
    color: var(--grey-light);
    font-size: 14px;
}
.btn-about {
    border: 2px solid var(--maroon);
    color: maroon;
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    font-size: 12px;
    transition: 0.3s;
}
.btn-about:hover {
    background: var(--maroon); /* Button gets maroon background */
    color: var(--white) !important; /* Text becomes white */
    transform: translateY(-3px);    /* Subtle lift for a premium feel */
    box-shadow: 0 5px 15px rgba(128, 0, 0, 0.3); /* Soft glow effect */
}

/* Floating Animation */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

.animate-float {
    animation: float 5s ease-in-out infinite;
}

/* Mobile Fix */
@media (max-width: 992px) {
    .about-flex-wrapper { flex-direction: column; gap: 60px; }
    .main-img-frame { width: 100%; }
    .secondary-img-frame { display: none; }
}

/* --- Request a Quote Section --- */
.quote-section {
    padding: 80px 0;
    background: #f4f4f4; /* Light grey backdrop to make the white container pop */
}

.quote-wrapper {
    display: flex;
    max-width: 1100px;
    margin: 0 auto;
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
}

/* Left Panel (Dark/Maroon) */
.quote-info-panel {
    flex: 1;
    background: linear-gradient(135deg, var(--grey-dark) 0%, #440000 100%);
    padding: 60px;
    color: var(--white);
    position: relative;
}

.tag-white {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 2px;
    background: rgba(255,255,255,0.1);
    padding: 5px 12px;
    border-radius: 20px;
    margin-bottom: 20px;
    display: inline-block;
}

.quote-info-panel h2 {
    font-size: 32px;
    line-height: 1.2;
    margin-bottom: 20px;
}

.text-maroon-light {
    color: #ff4d4d; /* Brighter red to pop against dark background */
}

.quote-info-panel p {
    font-size: 15px;
    opacity: 0.8;
    line-height: 1.6;
}

.quick-stats-mini {
    margin-top: 40px;
    display: flex;
    gap: 30px;
}

.q-stat {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    font-weight: 500;
}

.q-stat i {
    color: var(--white);
    font-size: 18px;
}

/* Right Action Area */
.quote-action-area {
    flex: 1.2;
    padding: 60px;
    display: flex;
    align-items: center;
    background: var(--white);
}

.action-content h3 {
    font-size: 24px;
    color: var(--grey-dark);
    margin-bottom: 10px;
}

.action-content p {
    color: var(--grey-light);
    margin-bottom: 35px;
}

/* Quote Specific Buttons */
.quote-btns {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.btn-maroon-quote {
    background: var(--maroon);
    color: var(--white);
    padding: 14px 30px;
    text-decoration: none;
    font-weight: 700;
    font-size: 13px;
    border-radius: 4px;
    text-transform: uppercase;
    transition: var(--transition);
}

.btn-maroon-quote:hover {
    background: var(--grey-dark);
    transform: translateY(-3px);
}

.btn-whatsapp-outline {
    border: 2px solid #25D366; /* WhatsApp Green */
    color: #25D366;
    padding: 12px 25px;
    text-decoration: none;
    font-weight: 700;
    font-size: 13px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.btn-whatsapp-outline:hover {
    background: #25D366;
    color: white;
}

/* Responsive Mobile */
@media (max-width: 992px) {
    .quote-wrapper { flex-direction: column; }
    .quote-info-panel, .quote-action-area { padding: 40px; }
}

/* --- Footer Styles --- */
.main-footer {
    background: #1a1a1a; /* Dark Grey */
    color: #ffffff;
    padding: 80px 0 30px;
    font-size: 14px;
    line-height: 1.6;
}

.footer-grid {
    display: grid;
    /* FIX: minmax(200px) ensures columns don't squish; auto-fit handles the wrap */
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    align-items: start;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* --- Typography Logo Style --- */
.footer-logo-text {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
    display: flex;
    align-items: center; /* FIX: Centers 'A' with the rest of the text */
    gap: 8px;
    white-space: nowrap;
    color: #ffffff;
}

.logo-accent {
    color: var(--maroon, #800000);
    font-size: 32px;
    border-left: 4px solid var(--maroon, #800000);
    padding-left: 10px;
    line-height: 1;
}

.logo-light {
    color: #999;
    font-weight: 400;
}

/* --- Columns & Content --- */
.about-col {
    /* Optional: Make the about section wider on large screens */
    min-width: 250px;
}

.about-col p {
    color: #999;
    line-height: 1.8;
    margin-bottom: 25px;
}

.footer-col h3 {
    color: #ffffff;
    font-size: 18px;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 12px;
    white-space: nowrap; /* FIX: Prevents headers from breaking awkwardly */
}

.footer-col h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 35px;
    height: 2px;
    background: var(--maroon, #800000);
}

/* --- Links & Contact Info --- */
.footer-links, .contact-info {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li, .contact-info li {
    margin-bottom: 15px;
}

.footer-links li a {
    color: #999;
    text-decoration: none;
    transition: 0.3s ease;
    display: inline-block;
}

.footer-links li a:hover {
    color: var(--maroon, #800000);
    transform: translateX(5px); /* Smooth slide effect */
}

.contact-info li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    color: rgba(255, 255, 255, 0.7);
}

.contact-info li i {
    color: var(--maroon, #800000);
    margin-top: 5px;
    font-size: 14px;
    width: 16px; /* Keeps icons aligned vertically */
}
.quick-links-padding {
    padding-left: 40px;
}
/* --- Social Icons --- */
.footer-socials {
    display: flex;
    gap: 12px;
}

.footer-socials a {
    width: 38px;
    height: 38px;
    background: #2a2a2a;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: 0.3s ease;
    text-decoration: none;
}

.footer-socials a:hover {
    background: var(--maroon, #800000);
    transform: translateY(-3px);
}

/* --- Footer Bottom --- */
.footer-bottom {
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #666;
    font-size: 13px;
}

.footer-legal {
    display: flex;
    gap: 20px;
    list-style: none;
}

.footer-legal li a {
    color: #666;
    text-decoration: none;
}

.footer-legal li a:hover {
    color: var(--maroon, #800000);
}

/* --- Responsive Fixes --- */
@media (max-width: 1200px) {
    .footer-grid {
        grid-template-columns: repeat(3, 1fr); /* 3 columns on smaller desktops */
    }
}

@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 columns on tablets */
    }
}

@media (max-width: 600px) {
    .footer-grid {
        grid-template-columns: 1fr; /* 1 column on mobile */
        gap: 30px;
    }
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
}

/* --- Global Theme & Variables --- */
:root {
    --maroon-grad: linear-gradient(135deg, #800000 0%, #4a0000 100%);
    --maroon: #800000;
    --grey-dark: #222222;
    --white: #ffffff;
    --transition: all 0.4s ease;
}

.section-padding { padding: 100px 0; }
.text-maroon { color: var(--maroon); }

/* --- Hero with Mesh Gradient --- */
.about-hero-premium {
    height: 70vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    color: #ffffff;
    
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../images/hero-shipping.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.hero-bg-visual {
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 30%, rgba(128, 0, 0, 0.15) 0%, transparent 50%),
                radial-gradient(circle at 80% 70%, rgba(34, 34, 34, 0.1) 0%, transparent 50%);
}

.text-gradient {
    background: var(--maroon-grad);
    background-clip: text;
    -webkit-background-clip: text;
    -moz-background-clip: text;
    -webkit-text-fill-color: transparent; 
    color: transparent; 
    font-weight: 800;
}

/* --- Identity Grid --- */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.main-image-wrapper { position: relative; }
.main-image-wrapper img { width: 100%; border-radius: 15px; box-shadow: 20px 20px 0px #f9f9f9; }

.experience-card {
    position: absolute;
    bottom: -15px;
    right: -15px;
    background: var(--maroon-grad);
    padding: 25px;
    border-radius: 10px;
    color: white;
    box-shadow: 0 10px 30px rgba(128,0,0,0.3);
}

.usp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 35px; }
.usp-card { 
    background: #fff; 
    padding: 25px; 
    border-radius: 12px; 
    border: 1px solid #f0f0f0; 
    border-left: 5px solid var(--maroon);
    transition: var(--transition);
}
.usp-card:hover { transform: translateY(-8px); box-shadow: 0 15px 35px rgba(0,0,0,0.05); }

/* --- Office Interactive Boxes --- */
.offices-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; margin-top: 50px; }
.office-box { 
    background: #fff; 
    padding: 50px; 
    border-radius: 20px;
    border: 1px solid #eee; 
    position: relative; 
    transition: var(--transition);
    overflow: hidden;
}
.office-box:hover { background: var(--grey-dark); color: white; transform: translateY(-10px); }
.office-hover-line { 
    position: absolute; bottom: 0; left: 0; width: 0; height: 5px; 
    background: var(--maroon); transition: 0.5s; 
}
.office-box:hover .office-hover-line { width: 100%; }

/* --- Mission/Vision Flex Expansion --- */
.mv-wrapper { display: flex; border-radius: 25px; overflow: hidden; box-shadow: 0 30px 60px rgba(0,0,0,0.1); }
.mv-card { flex: 1; padding: 100px 60px; transition: 0.7s cubic-bezier(0.4, 0, 0.2, 1); cursor: pointer; }
.vision-card { background: #fdfdfd; }
.mission-card { background: var(--maroon); color: white; }
.mv-card:hover { flex: 1.6; }

/* --- Animations --- */
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-15px); } }
.animate-float { animation: float 6s ease-in-out infinite; }

@media (max-width: 992px) {
    .grid-2, .offices-grid, .mv-wrapper { grid-template-columns: 1fr; flex-direction: column; }
}
/* --- Sidebar Styling --- */
.service-sidebar { display: flex; flex-direction: column; gap: 40px; }

.sidebar-widget {
    background: #fdfdfd;
    padding: 35px;
    border-radius: 12px;
    border: 1px solid #eee;
}

.widget-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 25px;
    border-left: 4px solid var(--maroon);
    padding-left: 15px;
}

/* Service Menu List */
.service-menu { list-style: none; }
.service-menu li { margin-bottom: 12px; }
.service-menu li a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: white;
    border-radius: 8px;
    color: var(--grey-dark);
    font-weight: 600;
    transition: var(--transition);
    border: 1px solid #f0f0f0;
}

.service-menu li a:hover {
    background: var(--maroon);
    color: white;
    border-color: var(--maroon);
}

/* Download Buttons */
.download-btn {
    display: flex;
    align-items: center;
    padding: 20px;
    background: var(--grey-dark);
    color: white !important;
    border-radius: 8px;
    margin-bottom: 15px;
    transition: 0.3s;
}

.download-btn.brochure { background: var(--maroon); }

.download-btn .icon { font-size: 24px; margin-right: 15px; }
.download-btn .text span { font-size: 11px; text-transform: uppercase; display: block; opacity: 0.8; }
.download-btn .text strong { font-size: 15px; }
.download-btn .fa-download { margin-left: auto; opacity: 0.5; }

.download-btn:hover { transform: translateY(-3px); box-shadow: 0 10px 20px rgba(0,0,0,0.1); }

/* CTA Box */
.contact-cta-widget {
    background: var(--maroon-grad);
    color: white;
    text-align: center;
    border: none;
}
.cta-inner i { font-size: 40px; margin-bottom: 15px; opacity: 0.3; }
.btn-sm-maroon {
    display: inline-block;
    background: white;
    color: var(--maroon);
    padding: 10px 25px;
    border-radius: 5px;
    font-weight: 700;
    margin-top: 15px;
    text-decoration: none;
}

/* --- Service Page Layout --- */
.service-flex-layout {
    display: flex;
    gap: 50px;
    align-items: flex-start;
}

.service-main-content {
    flex: 2; /* Takes up 66% of space */
}

.service-sidebar-column {
    flex: 1; /* Takes up 33% of space */
    position: sticky;
    top: 100px;
}

.service-image-box img {
    width: 100%;
    border-radius: 15px;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.benefit-list {
    list-style: none;
    margin: 25px 0;
}

.benefit-list li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    font-size: 16px;
}

.benefit-list li i {
    color: var(--maroon);
    margin-right: 15px;
    font-size: 18px;
}

.special-feature-box {
    background: #f9f9f9;
    padding: 30px;
    border-radius: 12px;
    display: flex;
    gap: 20px;
    border-left: 5px solid var(--maroon);
    margin-top: 40px;
}

.special-feature-box i {
    font-size: 35px;
    color: var(--maroon);
}
/* --- NVOCC Specific Layouts --- */
.how-it-works-box {
    margin-top: 40px;
    padding: 40px;
    background: #fdfdfd;
    border-radius: 15px;
    border: 1px solid #eee;
}

.step-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 25px;
}

.step-item {
    position: relative;
}

.step-num {
    font-size: 40px;
    font-weight: 900;
    color: var(--maroon);
    opacity: 0.1;
    position: absolute;
    top: -10px;
    left: 0;
}

.step-item h4 {
    position: relative;
    z-index: 1;
    margin-bottom: 10px;
    color: var(--grey-dark);
}

.visibility-cta {
    margin-top: 30px;
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: var(--maroon-grad);
    color: white;
    border-radius: 10px;
}

.visibility-cta i {
    font-size: 30px;
    opacity: 0.7;
}
/* --- NVOCC Hero Image Setup --- */
.nvocc-hero {
    /* Replace the global about image with your specific jfif file */
    background-image: linear-gradient(rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.65)), 
                      url('../images/nvocc-vessel-operations.jfif');
    
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 60vh; /* Slightly shorter for service pages to get to content faster */
    display: flex;
    align-items: center;
    position: relative;
}

/* Ensure the text-gradient compatibility remains for the title */
.nvocc-hero .text-gradient {
    background: var(--maroon-grad);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
}

/* Optional: Add a subtle animation to the background position */
.nvocc-hero:hover {
    background-position: 50% 45%;
    transition: background-position 10s ease-in-out;
}
/* --- Image Hover Container --- */
.image-hover-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.image-hover-wrapper img {
    width: 100%;
    display: block;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Gradient Overlay --- */
.image-overlay-content {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(128, 0, 0, 0.9) 0%, rgba(128, 0, 0, 0.2) 100%);
    display: flex;
    align-items: flex-end; /* Text sits at the bottom */
    padding: 40px;
    opacity: 0; /* Hidden by default */
    transition: all 0.5s ease;
    transform: translateY(20px); /* Slight slide for entry */
}

/* --- Text Inside Overlay --- */
.overlay-text {
    color: #fff;
    transform: translateY(20px);
    transition: all 0.5s ease 0.1s; /* Slight delay for text */
}

.overlay-text .category {
    font-size: 12px;
    letter-spacing: 3px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 5px;
    opacity: 0.8;
}

.overlay-text h3 {
    font-size: 32px;
    font-weight: 800;
    margin: 0;
    letter-spacing: 1px;
}

.overlay-line {
    width: 50px;
    height: 3px;
    background: #fff;
    margin-top: 15px;
    transition: width 0.5s ease;
}

/* --- Hover State Trigger --- */
.image-hover-wrapper:hover img {
    transform: scale(1.1); /* Zoom effect on image */
}

.image-hover-wrapper:hover .image-overlay-content {
    opacity: 1;
    transform: translateY(0);
}

.image-hover-wrapper:hover .overlay-text {
    transform: translateY(0);
}

.image-hover-wrapper:hover .overlay-line {
    width: 100px; /* Line grows on hover */
}
@media (max-width: 768px) {
    .step-grid { grid-template-columns: 1fr; }
}

/* --- Mobile Responsiveness --- */
@media (max-width: 992px) {
    .service-flex-layout {
        flex-direction: column;
    }
    .service-sidebar-column {
        width: 100%;
        position: static;
    }
}
/* --- Vessel Page Hero Background --- */
.vessel-hero {
    background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), 
         url('../images/vessel-handling-hero.jfif');
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Creates a high-end parallax effect */
}

/* Ensure 'active' links in sidebar are highlighted */
.service-menu li.active a {
    background: var(--maroon) !important;
    color: white !important;
    border-color: var(--maroon) !important;
}

/* --- Ocean Page Hero --- */
.ocean-hero {
    background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), 
          url('../images/ocean-freight-main.jpg');
    background-size: cover;
    background-position: center;
}

/* --- Features Grid for Ocean/Air --- */
.service-features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin: 30px 0;
}

.feature-card {
    padding: 30px;
    background: #f9f9f9;
    border-radius: 12px;
    border-top: 4px solid var(--maroon);
    transition: var(--transition);
}

.feature-card:hover {
    background: var(--white);
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transform: translateY(-5px);
}

.feature-card i {
    font-size: 30px;
    color: var(--maroon);
    margin-bottom: 15px;
}

.feature-card h4 {
    margin-bottom: 10px;
    color: var(--grey-dark);
}

@media (max-width: 768px) {
    .service-features-grid { grid-template-columns: 1fr; }
}

/* --- Air Freight Hero --- */
.air-hero {
    background-image: linear-gradient(rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.65)), 
         url('../images/air-freight-hero.jfif');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

/* Enhancing the Feature Cards for a "High-Tech" Feel */
.air-hero + .service-details-area .feature-card {
    border-top: 4px solid #b30000; /* Slightly brighter maroon to signify speed */
    background: #ffffff;
    box-shadow: 0 5px 15px rgba(0,0,0,0.03);
}

.air-hero + .service-details-area .feature-card i {
    animation: pulse-maroon 2s infinite;
}

@keyframes pulse-maroon {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.1); opacity: 0.7; }
    100% { transform: scale(1); opacity: 1; }
}
/* --- Road Transport Hero --- */
.road-hero {
    background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), 
         url('../images/road-transport-hero.jfif');
    background-size: cover;
    background-position: center;
}

/* Feature Icon Hover Animation */
.road-hero + .service-details-area .feature-card i {
    transition: transform 0.3s ease;
}

.road-hero + .service-details-area .feature-card:hover i {
    transform: translateX(10px); /* Simulates motion/driving */
    color: var(--maroon);
}

/* Specific Highlight for CIS Corridor text */
.visibility-cta strong {
    color: #fff;
    text-decoration: underline;
}

/* --- Project Handling Hero --- */
.project-hero {
    background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), 
         url('../images/project-handling-hero.jfif');
    background-size: cover;
    background-position: center;
}

/* Specific Style for Handling Features (Clean & Technical) */
.project-hero + .service-details-area .feature-card {
    border-top: 4px solid var(--maroon);
    background: #ffffff;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.project-hero + .service-details-area .feature-card i {
    color: var(--maroon);
    font-size: 32px;
}

/* Adjust Step Grid for a "Timeline" feel */
.project-hero + .service-details-area .step-item {
    border-left: 1px dashed #ddd;
    padding-left: 20px;
}
/* --- Warehousing Hero --- */
.warehouse-hero {
    background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), 
          url('../images/warehousing-hero.jfif');
    background-size: cover;
    background-position: center;
}

/* Specific Style for Warehouse Features */
.warehouse-hero + .service-details-area .feature-card {
    background: #ffffff;
    border-bottom: 4px solid var(--maroon);
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
}

.warehouse-hero + .service-details-area .feature-card i {
    color: var(--maroon);
    font-size: 32px;
}
/* --- Agency House Hero --- */
.agency-hero {
    background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), 
          url('../images/agency-house-hero.jfif');
    background-size: cover;
    background-position: center;
}

/* Specific Style for Agency Features */
.agency-hero + .service-details-area .feature-card {
    background: #fdfdfd;
    border: 1px solid #eee;
    border-left: 4px solid var(--maroon);
    transition: 0.3s ease-in-out;
}

.agency-hero + .service-details-area .feature-card:hover {
    background: #fff;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.agency-hero + .service-details-area .feature-card i {
    color: var(--maroon);
}

/* Spacing */
.spacing-text{
    padding-left: 20px;
    padding-top: 10px;

}


/* --- Consolidation Page Specific --- */
.consolidation-page-hero {
    background-image: linear-gradient(rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.75)), 
                      url('../images/lcl-consolidation-bg.jfif');
    background-size: cover;
    background-position: center;
}

.gateway-wrapper {
    max-width: 1200px;
    margin: 40px auto 0;
}

.gateway-item {
    border: 1px solid #eef0f2;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 10px 30px rgba(0,0,0,0.02);
}

.gateway-item input[type="checkbox"] {
    display: none;
}

.gateway-label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 40px;
    background: #ffffff;
    cursor: pointer;
    font-weight: 800;
    font-size: 18px;
    color: var(--grey-dark);
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.gateway-label:hover {
    background: #fafafa;
    color: var(--maroon);
}

.gateway-label i.fas {
    color: var(--maroon);
    margin-right: 15px;
}

.gateway-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0 40px;
    background: #fff;
}

.gateway-item input:checked ~ .gateway-content {
    max-height: 2000px; /* Increased to fit all cols */
    padding: 50px 40px;
    border-top: 1px solid #eee;
}

.gateway-item input:checked ~ .gateway-label .arrow {
    transform: rotate(180deg);
}

/* Grid Layout */
.destination-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.dest-col h4 {
    font-size: 14px;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--maroon);
    margin-bottom: 20px;
    border-bottom: 2px solid #f4f4f4;
    padding-bottom: 12px;
    display: block;
}

.dest-col ul {
    list-style: none;
    padding: 0;
}

.dest-col ul li {
    font-size: 14px;
    padding: 9px 0;
    color: var(--grey-light);
    border-bottom: 1px solid #fcfcfc;
    transition: padding-left 0.3s ease;
}

.dest-col ul li:hover {
    padding-left: 10px;
    color: var(--maroon);
}

.dest-col ul li::before {
    content: "\f054"; /* FontAwesome Arrow */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 10px;
    color: var(--maroon);
    margin-right: 12px;
}

/* --- Services Main Hero --- */
.services-main-hero {
    background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), 
                      url('../images/services-main-bg.jfif');
    background-size: cover;
    background-position: center;
}

/* --- Services Hub Grid --- */
.services-main-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.hub-card {
    text-decoration: none;
    background: #fff;
    padding: 50px 40px;
    border-radius: 15px;
    border: 1px solid #eee;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.hub-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
    border-color: var(--maroon);
}

.hub-icon {
    font-size: 40px;
    color: var(--maroon);
    margin-bottom: 25px;
    transition: var(--transition);
}

.hub-card:hover .hub-icon {
    transform: scale(1.1);
}

.hub-info h3 {
    color: var(--grey-dark);
    font-size: 24px;
    margin-bottom: 15px;
    font-weight: 700;
}

.hub-info p {
    color: var(--grey-light);
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 25px;
}

.explore-btn {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--maroon);
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* --- CTA Banner --- */
.service-cta-banner {
    background: #111;
    padding: 80px 0;
    color: #fff;
}

.cta-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.cta-text h2 { font-size: 32px; margin-bottom: 10px; }
.cta-text p { color: #888; }

@media (max-width: 768px) {
    .cta-flex { flex-direction: column; text-align: center; gap: 30px; }
}

/* --- Contact Page Styles --- */

.contact-hero {
    background-image: linear-gradient(rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.75)), 
                      url('../images/contact_hero.jfif');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 150px 0 100px;
}

/* Flex Layout */
.contact-flex-layout {
    display: flex;
    gap: 60px;
    align-items: flex-start;
}

.contact-form-column { 
    flex: 2; 
    background: #fff;
}

.contact-sidebar-info { 
    flex: 1; 
    position: sticky;
    top: 120px;
}

/* Form Styling */
.modern-contact-form {
    margin-top: 30px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
}

.form-group label {
    font-weight: 600;
    font-size: 14px;
    color: var(--grey-dark);
}

.form-group input, 
.form-group select, 
.form-group textarea {
    padding: 15px;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    font-size: 15px;
    transition: 0.3s;
}

.form-group input:focus, 
.form-group select:focus, 
.form-group textarea:focus {
    outline: none;
    border-color: var(--maroon);
    box-shadow: 0 0 0 3px rgba(128, 0, 0, 0.05);
}

/* Sidebar Cards */
.sidebar-title-box h4 {
    letter-spacing: 2px;
    color: var(--maroon);
    margin-bottom: 20px;
    font-size: 13px;
}

.office-mini-card {
    display: flex;
    gap: 20px;
    padding: 25px;
    background: #fff;
    border: 1px solid #f2f2f2;
    border-radius: 12px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.office-mini-card:hover { 
    transform: translateY(-5px);
    border-color: var(--maroon);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.office-mini-card .icon-box i { 
    color: var(--maroon); 
    font-size: 22px; 
}

.office-mini-card h4 { 
    font-size: 16px; 
    margin-bottom: 4px; 
    color: var(--grey-dark); 
    font-weight: 700;
}

.office-mini-card p {
    font-size: 14px;
    margin: 0;
}

.underline-no {
    text-decoration: none;
}

.contact-support-box {
    background: linear-gradient(135deg, var(--maroon) 0%, #4a0000 100%);
    padding: 35px;
    border-radius: 15px;
    color: #fff;
    margin-top: 30px;
}

.support-icon {
    font-size: 30px;
    margin-bottom: 15px;
}

.support-link {  
    color: #fff;
    font-weight: 700; 
    text-decoration: underline;
    font-size: 18px;
}

/* Responsive */
@media (max-width: 992px) {
    .contact-flex-layout {
        flex-direction: column;
        gap: 50px;
    }
    .contact-sidebar-info {
        position: static;
        width: 100%;
    }
    .form-row {
        grid-template-columns: 1fr;
    }
}
/* --- Global Network Premium Grid --- */
.network-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.network-card {
    background: #ffffff;
    border: 1px solid #f0f0f0;
    border-top: 4px solid var(--maroon);
    border-radius: 12px;
    padding: 30px;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    transition: all 0.3s ease;
}

.network-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(128, 0, 0, 0.08);
}

.network-card h3 {
    color: var(--grey-dark);
    font-size: 16px;
    font-weight: 800;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.network-card h3 i {
    color: var(--maroon);
    font-size: 18px;
}

/* THE FIX: Making every port box the same size */
.port-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Two equal columns */
    gap: 10px;
    list-style: none;
    padding: 0;
}

.port-grid li {
    background: #f8f9fa;
    color: var(--grey-light);
    font-size: 13px;
    font-weight: 600;
    padding: 10px 15px;
    border-radius: 6px;
    border: 1px solid #edf0f2;
    text-align: center;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 45px; /* Fixed height for uniformity */
}

.port-grid li:hover {
    background: var(--maroon);
    color: #ffffff;
    border-color: var(--maroon);
    transform: scale(1.03);
}

/* Ensure the list item doesn't have its own padding so the link can fill the area */
.port-grid li {
    padding: 0; /* Remove padding from LI */
    overflow: hidden;
    height: 45px;
    border: 1px solid #edf0f2;
    border-radius: 6px;
    background: #f8f9fa;
    transition: all 0.2s ease;
}

/* Make the anchor tag fill the entire 45px box */
.port-grid li a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    text-decoration: none;
    color: var(--grey-light);
    font-size: 13px;
    font-weight: 600;
    transition: all 0.2s ease;
}

/* Hover effect on the whole box */
.port-grid li:hover {
    background: var(--maroon);
    border-color: var(--maroon);
    transform: scale(1.03);
}

.port-grid li:hover a {
    color: #ffffff;
}
/* Responsive adjustment for small screens */
@media (max-width: 480px) {
    .port-grid {
        grid-template-columns: 1fr; /* Single column on mobile */
    }
}

/* --- Vessel Schedule Styling --- */
.schedule-hero {
    background-image: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('../images/vessel-schedule.jpg');
}

.schedule-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.update-status {
    font-size: 14px;
    color: var(--grey-light);
    font-weight: 600;
}

.update-status i { color: var(--maroon); margin-right: 8px; }

/* --- Vessel Schedule Global Styles --- */

.schedule-header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 35px;
    gap: 20px;
}

/* Modern Search Box */
.search-box {
    position: relative;
    width: 100%;
    max-width: 500px;
}

.search-box i {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--maroon);
    font-size: 16px;
}

.search-box input {
    width: 100%;
    padding: 16px 20px 16px 55px;
    border: 1px solid #e0e0e0;
    border-radius: 50px;
    outline: none;
    font-size: 15px;
    background: #ffffff;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    transition: all 0.3s ease;
}

.search-box input:focus {
    border-color: var(--maroon);
    box-shadow: 0 8px 25px rgba(128, 0, 0, 0.08);
}

/* Live Feed Indicator */
.live-status {
    display: flex;
    align-items: center;
    font-size: 14px;
    font-weight: 600;
    color: var(--grey-dark);
    white-space: nowrap;
}

.pulse-dot {
    height: 10px;
    width: 10px;
    background: #28a745; /* Maintaining green only for the 'Live' indicator */
    border-radius: 50%;
    display: inline-block;
    margin-right: 12px;
    box-shadow: 0 0 0 rgba(40, 167, 69, 0.4);
    animation: pulse 2s infinite;
}

/* Premium Table Container */
.table-container {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 15px 50px rgba(0,0,0,0.06);
    overflow: hidden;
    border: 1px solid #eeeeee;
}

.modern-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.modern-table th {
    background: #fcfcfc;
    padding: 22px 25px;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--grey-dark);
    font-weight: 800;
    border-bottom: 2px solid #f0f0f0;
}

.modern-table td {
    padding: 20px 25px;
    font-size: 15px;
    color: var(--grey-light);
    border-bottom: 1px solid #f8f8f8;
    vertical-align: middle;
}

.modern-table tr:last-child td {
    border-bottom: none;
}

.modern-table tr:hover {
    background-color: #fafafa;
}

.modern-table td strong {
    color: var(--grey-dark);
    font-weight: 700;
    font-size: 16px;
}

/* Neutral Status Badges (No Colors) */
.status-badge {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 4px; /* Squared edges for a more corporate look */
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: #f0f0f0; /* Neutral Grey */
    color: #444444;      /* Dark Grey Text */
    border: 1px solid #e0e0e0;
}

/* Loading State Styling */
.loading {
    text-align: center;
    padding: 60px !important;
    font-style: italic;
    color: var(--grey-light);
    letter-spacing: 1px;
}

/* Pulse Animation */
@keyframes pulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(40, 167, 69, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(40, 167, 69, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(40, 167, 69, 0); }
}

/* Responsive Table */
@media (max-width: 992px) {
    .schedule-header-flex {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .table-container {
        overflow-x: auto;
    }
    
    .modern-table {
        min-width: 900px; /* Forces scroll on mobile to keep data readable */
    }
}
/* Section Styling */
.mission-vision-section {
    padding: 80px 0;
    background: #ffffff; /* Clean white background to contrast the footer */
}

.section-title {
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 32px;
    font-weight: 800;
    color: #1a1a1a;
    text-transform: uppercase;
}

.text-maroon {
    color: #800000;
    margin-left: 8px;
}

.heading-underline {
    width: 60px;
    height: 3px;
    background: #800000;
    margin: 15px auto 0;
}

/* Wrapper for Side-by-Side Layout */
.mv-wrapper {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    justify-content: center;
}

/* Card Styling */
.mv-card {
    flex: 1;
    min-width: 300px;
    max-width: 500px;
    padding: 40px;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Vision: Light/White Style */
.vision-card {
    background: #f8f9fa;
    border: 1px solid #eee;
}

/* Mission: Dark/Maroon Style */
.mission-card {
    background: #800000;
    color: #ffffff;
}

.mv-icon {
    font-size: 30px;
    margin-bottom: 20px;
}

.vision-card .mv-icon { color: #800000; }
.mission-card .mv-icon { color: #ffffff; }

.mv-card h3 {
    font-size: 24px;
    margin-bottom: 15px;
    font-weight: 700;
}

.mv-card p {
    line-height: 1.7;
    font-size: 15px;
    margin: 0;
}

/* Hover Effects */
.mv-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

/* Responsive */
@media (max-width: 768px) {
    .mv-wrapper {
        flex-direction: column;
        align-items: center;
    }
    .mv-card {
        width: 100%;
    }
}

/* --- TABLET & MOBILE RESPONSIVENESS --- */

/* Tablets (1024px and below) */
@media (max-width: 1024px) {
    .services-grid, .offices-grid, .footer-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 columns instead of 3 or 4 */
        gap: 20px;
    }
    
    .about-flex-wrapper {
        flex-direction: column; /* Stack About image and text */
    }
}

/* Mobile Phones (768px and below) */
@media (max-width: 768px) {
    /* Navbar Adjustment */
    .nav-links {
        display: none; /* We usually hide these for a 'Hamburger' menu later */
    }
    
    .hero-content h1 {
        font-size: 2.5rem; /* Smaller text for small screens */
    }

    /* Stack everything in 1 column */
    .services-grid, .offices-grid, .footer-grid, .features-grid {
        grid-template-columns: 1fr; 
    }

    .about-images {
        margin-bottom: 30px;
    }

    /* Adjust Buttons */
    .hero-btns {
        flex-direction: column;
        gap: 10px;
    }

    .quote-wrapper {
        flex-direction: column;
        text-align: center;
    }
}
/* --- RESPONSIVE DESIGN --- */

/* For Tablets and Mobile */
@media screen and (max-width: 992px) {
    .navbar {
        padding: 15px 5%;
    }

    .mobile-menu-btn {
        display: block; /* Shows the hamburger button */
        font-size: 1.5rem;
        color: white;
        background: none;
        border: none;
        cursor: pointer;
    }

    .nav-links {
        display: none; /* Hide standard links */
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #800000; /* Maroon background for mobile menu */
        flex-direction: column;
        padding: 20px;
        text-align: center;
    }

    .nav-links.mobile-active {
        display: flex; /* Show menu when toggled */
    }

    .header-action {
        display: none; /* Hide Vessel Schedule button on small phones */
    }

    .hero-content h1 {
        font-size: 2.5rem; /* Shrink title for mobile */
    }
}

/* For Standard Mobile (Stacking Grids) */
@media screen and (max-width: 768px) {
    .services-grid, .offices-grid, .footer-grid, .features-grid {
        grid-template-columns: 1fr !important; /* Forces one column layout */
    }

    .about-flex-wrapper {
        flex-direction: column;
    }

    .quote-wrapper {
        flex-direction: column;
        text-align: center;
    }
}