/* ---------------------------------------------------
   Design System Variables
--------------------------------------------------- */
:root {
    /* Colors */
    --clr-primary: #0A3A5A; /* Deep Ocean Blue - Trust, Corporate */
    --clr-primary-light: #185a8a;
    --clr-secondary: #2E8B57; /* Sea Green - Agriculture, Growth */
    --clr-secondary-light: #3cb371;
    --clr-accent: #F4A261; /* Vibrant Orange - Movement, Cargo */
    
    --clr-bg-light: #f8fafc;
    --clr-bg-white: #ffffff;
    --clr-bg-dark: #121e26;
    
    --clr-text-main: #334155;
    --clr-text-light: #64748b;
    --clr-text-white: #ffffff;
    
    /* Typography */
    --font-primary: 'Inter', sans-serif;
    --font-heading: 'Playfair Display', serif;
    
    /* Transitions */
    --clr-border: #e0dcd5;

    /* Font Families */
    --ff-primary: 'Inter', sans-serif;
    --ff-secondary: 'Playfair Display', serif;

    /* Transition for smooth theme switching */
    --theme-transition: background-color 0.4s ease, color 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}

[data-theme="dark"] {
    --clr-bg: #121212;
    --clr-bg-light: #1e1e1e;
    --clr-text: #e0e0e0;
    --clr-text-muted: #a0a0a0;
    --clr-border: #333333;
    --clr-primary: #1a4f35; /* Slightly lighter primary for dark mode */
    --clr-secondary: #4a9131; /* Slightly lighter secondary */
}

/* ---------------------------------------------------
   Reset & Base Styles
--------------------------------------------------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--ff-primary);
    background-color: var(--clr-bg);
    color: var(--clr-text);
    line-height: 1.6;
    overflow-x: hidden;
    transition: var(--theme-transition);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--ff-secondary);
    color: var(--clr-primary);
    line-height: 1.2;
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: var(--clr-primary);
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--clr-secondary);
}

ul {
    list-style: none;
}

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

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* ---------------------------------------------------
   Buttons
--------------------------------------------------- */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    border-radius: 4px;
    text-align: center;
    cursor: pointer;
    transition: all var(--transition-normal);
    border: 2px solid transparent;
}

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

.btn-primary:hover {
    background-color: var(--clr-primary-light);
    color: var(--clr-text-white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background-color: var(--clr-secondary);
    color: var(--clr-text-white);
}

.btn-secondary:hover {
    background-color: var(--clr-secondary-light);
    color: var(--clr-text-white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline-primary {
    background-color: transparent;
    border-color: var(--clr-primary);
    color: var(--clr-primary);
}

.btn-outline-primary:hover {
    background-color: var(--clr-primary);
    color: var(--clr-text-white);
}

/* ---------------------------------------------------
   Top Bar
--------------------------------------------------- */
.top-bar {
    background-color: var(--clr-primary);
    color: var(--clr-text-white);
    font-size: 0.875rem;
    padding: 0.5rem 0;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.contact-info-top span {
    margin-right: 1.5rem;
}

.contact-info-top i {
    margin-right: 0.5rem;
    color: var(--clr-accent);
}

.theme-switcher {
    display: inline-flex;
    align-items: center;
    margin-right: 1.5rem;
}

#theme-toggle {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--clr-text-white);
    padding: 0.3rem 0.6rem;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

#theme-toggle:hover {
    background: rgba(255, 255, 255, 0.2);
    color: var(--clr-accent);
}

.lang-switcher {
    display: inline-flex;
    align-items: center;
    margin-right: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.lang-switcher i {
    color: var(--clr-text-white);
    margin-right: 0.4rem;
    font-size: 0.9rem;
}

.lang-switcher select {
    background: transparent;
    border: none;
    color: var(--clr-text-white);
    font-size: 0.85rem;
    font-family: inherit;
    cursor: pointer;
    font-weight: 500;
    outline: none;
    appearance: none;
    -webkit-appearance: none;
    padding-right: 1rem;
    background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23ffffff%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.4-12.8z%22%2F%3E%3C%2Fsvg%3E");
    background-repeat: no-repeat;
    background-position: right 0 top 50%;
    background-size: 0.65em auto;
}

.lang-switcher select option {
    background: var(--clr-primary);
    color: white;
}

.social-links-top a {
    color: var(--clr-text-white);
    margin-left: 1rem;
    opacity: 0.8;
}

.social-links-top a:hover {
    opacity: 1;
    color: var(--clr-accent);
}

/* ---------------------------------------------------
   Header / Nav
--------------------------------------------------- */
#main-header {
    background-color: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all var(--transition-normal);
}

#main-header.scrolled {
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-md);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    transition: padding var(--transition-normal);
}

#main-header.scrolled .header-container {
    padding: 0.4rem 0;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    height: 100%;
}

.brand-logo {
    max-height: 120px; /* Greatly increased to make text and tagline visible */
    width: auto;
    object-fit: contain;
    transition: max-height 0.3s ease; /* Smooth transition for sticky shrinking */
}

@media (max-width: 768px) {
    .brand-logo {
        max-height: 80px;
    }
}

.logo-text {
    font-family: var(--ff-secondary);
    font-weight: 700;
    font-size: 1.8rem;
    color: var(--clr-primary);
    letter-spacing: 1px;
}

.main-nav ul {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.main-nav ul li a {
    color: var(--clr-text);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: color 0.3s ease;
    padding: 0.5rem 0;
    position: relative;
}

.main-nav ul li a:not(.btn-nav):hover,
.main-nav ul li a:not(.btn-nav).active {
    color: var(--clr-secondary);
}

.main-nav ul li a:not(.btn-nav)::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background-color: var(--clr-secondary);
    transition: width 0.3s ease;
}

.main-nav ul li a:not(.btn-nav):hover::after,
.main-nav ul li a:not(.btn-nav).active::after {
    width: 100%;
}

.btn-nav {
    padding: 0.6rem 1.2rem !important;
}

/* Header Scrolled */
.header-scrolled .header-main {
    padding: 1rem 0;
    background-color: rgba(255, 255, 255, 0.98);
}

[data-theme="dark"] .header-scrolled .header-main {
    background-color: rgba(30, 30, 30, 0.98);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

/* Ensure Logo text adapts in dark mode main header */
[data-theme="dark"] .header-main .logo-text {
    color: var(--clr-text-white);
}
.mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--clr-primary);
    cursor: pointer;
}

/* ---------------------------------------------------
   Footer
--------------------------------------------------- */
footer {
    background-color: var(--clr-bg-dark);
    color: var(--clr-text-white);
    padding-top: 4rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand .logo-text {
    color: var(--clr-text-white);
    margin-bottom: 1rem;
    display: inline-block;
}

.footer-brand p {
    color: #cbd5e1;
    max-width: 400px;
}

.footer-links h4,
.footer-contact h4 {
    color: var(--clr-text-white);
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-links h4::after,
.footer-contact h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background-color: var(--clr-secondary);
}

.footer-links a {
    color: #cbd5e1;
    display: block;
    margin-bottom: 0.75rem;
}

.footer-links a:hover {
    color: var(--clr-accent);
    padding-left: 5px;
}

.office {
    margin-bottom: 1.5rem;
}

.office strong {
    color: var(--clr-accent);
    display: block;
    margin-bottom: 0.25rem;
}

.office p {
    color: #cbd5e1;
    font-size: 0.9rem;
}

.footer-bottom {
    background-color: #0c141a;
    padding: 1.5rem 0;
    text-align: center;
    color: var(--clr-text-light);
    font-size: 0.875rem;
}

/* ---------------------------------------------------
   Mobile Responsiveness
--------------------------------------------------- */
@media (max-width: 768px) {
    .top-bar {
        display: none; /* Hide top bar on very small screens for space */
    }

    .mobile-toggle {
        display: block;
    }

    .main-nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--clr-bg-white);
        box-shadow: var(--shadow-md);
        transform: translateY(-150%);
        opacity: 0;
        transition: all var(--transition-normal);
        z-index: 999;
    }

    .main-nav.active {
        transform: translateY(0);
        opacity: 1;
    }

    .main-nav ul {
        flex-direction: column;
        padding: 2rem 0;
        gap: 1.5rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* ---------------------------------------------------
   Utilities
--------------------------------------------------- */
.section-padding {
    padding: 6rem 0;
}

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

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--clr-secondary);
    margin: 1rem 0 1.5rem;
    border-radius: 2px;
}

.text-center .section-title::after {
    margin-left: auto;
    margin-right: auto;
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--clr-text-muted); /* Used muted text */
    margin-bottom: 2rem;
    font-weight: 400;
}

.section-desc {
    color: var(--clr-text);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.mt-4 { margin-top: 2rem; }
.mb-4 { margin-bottom: 2rem; }

/* ---------------------------------------------------
   Hero Section
--------------------------------------------------- */
.hero {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    background: url('https://images.unsplash.com/photo-1586528116311-ad8ed7c80a30?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80') center/cover no-repeat fixed;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(10, 58, 90, 0.9) 0%, rgba(10, 58, 90, 0.6) 100%);
}

.hero-content {
    position: relative;
    z-index: 10;
    color: var(--clr-text-white);
    max-width: 800px;
}

.badge {
    display: inline-block;
    padding: 0.25rem 1rem;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    font-size: 0.875rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(4px);
}

.hero-title {
    font-size: 3.5rem;
    color: var(--clr-text-white);
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero-title .highlight {
    color: var(--clr-accent);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2.5rem;
    max-width: 600px;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-outline-white {
    background-color: transparent;
    border: 2px solid var(--clr-text-white);
    color: var(--clr-text-white);
}

.btn-outline-white:hover {
    background-color: var(--clr-text-white);
    color: var(--clr-primary);
}

/* ---------------------------------------------------
   About Section
--------------------------------------------------- */
.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text .section-desc {
    font-size: 1.1rem;
    color: var(--clr-text-main);
    margin-bottom: 2rem;
}

.features-list li {
    margin-bottom: 1rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.features-list i {
    color: var(--clr-secondary);
    font-size: 1.25rem;
    margin-top: 0.2rem;
}

.about-visuals {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Global Map Section */
.global-map-section {
    position: relative;
    width: 100%;
    overflow: hidden;
    background-color: #f8fafc;
}

.full-map-container {
    position: relative;
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
    /* Removed min-height to ensure container exactly matches SVG height */
}

.world-map-svg-full {
    display: block; /* Removes inline bottom spacing bug */
    width: 100%;
    height: auto;
    opacity: 0.15;
    filter: invert(18%) sepia(85%) saturate(2053%) hue-rotate(185deg) brightness(97%) contrast(93%);
}

/* Map Location Dots */
.map-dot {
    position: absolute;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    cursor: pointer;
    z-index: 2;
}

.map-dot.export {
    background-color: var(--clr-accent); /* Orange */
    box-shadow: 0 0 0 0 rgba(244, 162, 97, 0.7);
    animation: pulse-export 2s infinite;
}

.map-dot.import {
    background-color: var(--clr-primary); /* Blue */
    box-shadow: 0 0 0 0 rgba(10, 58, 90, 0.7);
    animation: pulse-import 2s infinite;
    animation-delay: 1s; /* Offset animation timing */
}

.map-dot.hq {
    background-color: #2E8B57; /* Green for HQ */
    box-shadow: 0 0 0 0 rgba(46, 139, 87, 0.7);
    animation: pulse-hq 2s infinite;
    width: 18px;
    height: 18px;
    z-index: 5;
}

.map-dot:hover::after {
    content: attr(title);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--clr-bg-dark);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 500;
    white-space: nowrap;
    margin-bottom: 10px;
    pointer-events: none;
    z-index: 10;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

@keyframes pulse-export {
    0% { transform: translate(-50%, -50%) scale(0.95); box-shadow: 0 0 0 0 rgba(244, 162, 97, 0.7); }
    70% { transform: translate(-50%, -50%) scale(1); box-shadow: 0 0 0 10px rgba(244, 162, 97, 0); }
    100% { transform: translate(-50%, -50%) scale(0.95); box-shadow: 0 0 0 0 rgba(244, 162, 97, 0); }
}

@keyframes pulse-import {
    0% { transform: translate(-50%, -50%) scale(0.95); box-shadow: 0 0 0 0 rgba(10, 58, 90, 0.7); }
    70% { transform: translate(-50%, -50%) scale(1); box-shadow: 0 0 0 10px rgba(10, 58, 90, 0); }
    100% { transform: translate(-50%, -50%) scale(0.95); box-shadow: 0 0 0 0 rgba(10, 58, 90, 0); }
}

@keyframes pulse-hq {
    0% { transform: translate(-50%, -50%) scale(0.95); box-shadow: 0 0 0 0 rgba(46, 139, 87, 0.7); }
    70% { transform: translate(-50%, -50%) scale(1); box-shadow: 0 0 0 15px rgba(46, 139, 87, 0); }
    100% { transform: translate(-50%, -50%) scale(0.95); box-shadow: 0 0 0 0 rgba(46, 139, 87, 0); }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    .about-container {
        grid-template-columns: 1fr;
    }
}

/* ---------------------------------------------------
   Helpers
--------------------------------------------------- */
.text-center { text-align: center; }
.bg-light {
    background-color: var(--clr-bg-light);
    transition: var(--theme-transition);
}
.text-white { color: var(--clr-text-white) !important; }
.text-white-80 { color: rgba(255, 255, 255, 0.8) !important; }
.section-header { margin-bottom: 4rem; }

/* ---------------------------------------------------
   Services / Products Section
--------------------------------------------------- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.service-card {
    background-color: var(--clr-bg);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
    border: 1px solid var(--clr-border);
}

[data-theme="dark"] .service-card {
    background-color: var(--clr-bg-light);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.service-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

[data-theme="dark"] .service-card:hover {
    box-shadow: 0 15px 35px rgba(62, 123, 39, 0.15); /* Slight green glow */
}

.service-img {
    height: 200px;
    overflow: hidden;
}

.service-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card:hover .service-img img {
    transform: scale(1.1);
}

.service-content {
    padding: 2rem;
    position: relative;
    text-align: center;
}

.service-icon {
    width: 60px;
    height: 60px;
    background-color: var(--clr-primary);
    color: var(--clr-text-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 0 4px 10px rgba(10, 58, 90, 0.3);
}

header.sticky {
    padding: 0.5rem 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

header.sticky .brand-logo {
    max-height: 80px; /* Shrinks when scrolled */
}

.service-title {
    margin-top: 1rem;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.service-content p {
    color: var(--clr-text-light);
    font-size: 0.95rem;
}

@media (max-width: 992px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

/* ---------------------------------------------------
   Global Presence Section
--------------------------------------------------- */
.global-presence {
    background: url('https://images.unsplash.com/photo-1451187580459-43490279c0fa?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80') center/cover no-repeat fixed;
    position: relative;
}

.global-presence::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(10, 58, 90, 0.85); /* Dark blue overlay */
}

.global-container {
    position: relative;
    z-index: 10;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.location-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 3rem;
    text-align: left;
}

.location-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 2rem;
    border-radius: 8px;
    color: var(--clr-text-white);
}

.location-card h4 {
    color: var(--clr-accent);
    margin-bottom: 1rem;
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.location-card p {
    color: #e2e8f0;
    margin-bottom: 1rem;
    line-height: 1.8;
}

.location-card .phone {
    font-weight: 600;
    color: var(--clr-text-white);
    margin-bottom: 0;
}

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

/* ---------------------------------------------------
   Contact Section
--------------------------------------------------- */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
}

.contact-methods {
    margin-top: 3rem;
}

.method {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.icon-box {
    width: 60px;
    height: 60px;
    background-color: rgba(10, 58, 90, 0.05);
    color: var(--clr-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.method strong {
    display: block;
    color: var(--clr-primary);
    margin-bottom: 0.25rem;
    font-size: 1.2rem;
}

.method p {
    color: var(--clr-text-light);
}

.contact-form-wrapper {
    background: var(--clr-bg-white);
    padding: 3rem;
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-row {
    display: flex;
    gap: 1.5rem;
}

.half-width {
    flex: 1;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--clr-primary);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.9rem 1.2rem;
    border: 1px solid var(--clr-border);
    border-radius: 6px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease, color 0.3s ease;
    background-color: var(--clr-bg);
    color: var(--clr-text);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--clr-secondary);
    box-shadow: 0 0 0 3px rgba(62, 123, 39, 0.1);
}

/* Dark mode specific for inputs */
[data-theme="dark"] .form-group input::placeholder,
[data-theme="dark"] .form-group textarea::placeholder {
    color: #888;
}

.form-group input.is-invalid,
.form-group select.is-invalid,
.form-group textarea.is-invalid {
    border-color: #dc3545;
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.1);
}

.error-message {
    display: none;
    color: #dc3545;
    font-size: 0.85rem;
    margin-top: 0.4rem;
    font-weight: 500;
}

.error-message.visible {
    display: block;
}

.btn-block {
    width: 100%;
    margin-top: 1rem;
}

.btn-block i {
    margin-left: 0.5rem;
}

@media (max-width: 768px) {
    .contact-container {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        flex-direction: column;
        gap: 0;
    }
    
    .contact-form-wrapper {
        padding: 2rem;
    }
}

/* ---------------------------------------------------
   Testimonials Section
--------------------------------------------------- */
.testimonials {
    background-color: var(--clr-bg-white);
}

.testimonials-slider-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 2rem 0;
}

.testimonials-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.testimonial-slide {
    min-width: 100%; /* Default 1 per view on mobile */
    padding: 0 1rem;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
}

/* Adjust slides for desktop to show 2 at a time if preferred, or keep 1 wide.
   We'll configure the JS to slide by exact widths. We will handle 2 per view on larger screens. */
@media (min-width: 900px) {
    .testimonial-slide {
        min-width: 50%; /* 2 per view on desktop */
    }
}

.testimonial-card {
    background: #f8fafc;
    padding: 3rem;
    border-radius: 12px;
    position: relative;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
    border: 1px solid #e2e8f0;
    width: 100%;
    max-width: 600px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.quote-icon {
    position: absolute;
    top: -20px;
    left: 3rem;
    width: 40px;
    height: 40px;
    background: var(--clr-accent);
    color: var(--clr-text-white);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1.2rem;
    box-shadow: var(--shadow-md);
}

.footer-logo {
    display: inline-block;
    margin-bottom: 1.5rem;
}

.brand-logo-footer {
    max-height: 140px; /* Much larger for footer to read tagline */
    width: auto;
    object-fit: contain;
    background: white; /* Optional: if logo needs a background */
    padding: 0.8rem;   /* Optional: inner spacing if white background added */
    border-radius: 6px; /* Optional: smooth edges */
}

.client-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    border-top: 1px solid #e2e8f0;
    padding-top: 1.5rem;
}

.client-img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--clr-primary);
}

.client-name {
    font-family: var(--font-primary);
    font-size: 1.1rem;
    color: var(--clr-primary);
    margin-bottom: 0.1rem;
    font-weight: 600;
}

.client-role {
    font-size: 0.85rem;
    color: var(--clr-text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 500;
}

/* Slider Controls */
.slider-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    margin-top: 2rem;
}

.slider-btn {
    background: white;
    border: 1px solid #e2e8f0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--clr-primary);
    transition: all 0.3s ease;
}

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

.slider-dots {
    display: flex;
    gap: 0.5rem;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #cbd5e1;
    cursor: pointer;
    transition: all 0.3s;
}

.dot.active {
    background: var(--clr-accent);
    transform: scale(1.2);
}

@media (max-width: 768px) {
    /* Removed grid override since we use flex track now */
}

/* ---------------------------------------------------
   WhatsApp Floating Button
--------------------------------------------------- */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: var(--shadow-lg);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
}

.whatsapp-float:hover {
    background-color: #1ebe57;
    color: #FFF;
    transform: scale(1.1);
}

@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 26px;
    }
}

/* ---------------------------------------------------
   Animations
--------------------------------------------------- */
.opacity-0 {
    opacity: 0;
}

.animate-fade-in-up {
    animation: fadeInUp 0.8s ease forwards;
}

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


