:root {
    --primary-dark: #001233;
    /* Deep Dark Blue */
    --primary-blue: #0056b3;
    /* Standard Blue */
    --accent-blue: #007bff;
    /* Bright Blue */
    --light-blue-bg: #f0f8ff;
    --text-color: #333333;
    --text-light: #777777;
    --white: #ffffff;
    --border-color: #e5e5e5;
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --transition: all 0.3s ease;
}

@import url('custom_sections.css');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--primary-dark);
    margin-bottom: 1rem;
    font-weight: 700;
}

.service-box .icon-wrapper {
    /* font-size: 60px; REMOVED as we use SVGs */
    margin-bottom: 25px;
    display: inline-block;
    /* Ensure centered */
    width: auto;
    /* Added for flexibility with SVG */
    height: auto;
    /* Added for flexibility with SVG */
}

.service-box .icon-wrapper svg {
    display: block;
    margin: 0 auto;
    width: 80px;
    /* Force uniform size */
    height: 80px;
}

/* Service Box Hover Effects */
.service-box:hover .icon-wrapper {
    transform: scale(1.1);
    /* Slight zoom on hover */
    transition: transform 0.3s ease;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Utilities */
.btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--accent-blue);
    color: var(--white);
    border-radius: 50px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    text-align: center;
}

.btn:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
}

.section-padding {
    padding: 80px 0;
}

.text-center {
    text-align: center;
}

.flex {
    display: flex;
    flex-wrap: wrap;
}

.justify-between {
    justify-content: space-between;
}

.align-center {
    align-items: center;
}

.grid {
    display: grid;
    gap: 30px;
}

/* Header */
header {
    background-color: var(--primary-dark);
    color: var(--white);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 50px;
    /* Adjust as needed */
}

.nav-menu {
    display: flex;
    gap: 30px;
}

.nav-menu li a {
    color: var(--white);
    font-weight: 500;
    font-size: 16px;
    position: relative;
}

.nav-menu li a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--accent-blue);
    transition: var(--transition);
}

.nav-menu li a:hover:after {
    width: 100%;
}

.search-icon {
    font-size: 18px;
    cursor: pointer;
}

/* Footer */
footer {
    background-color: var(--white);
    color: var(--text-color);
    padding-top: 80px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.footer-col h4 {
    color: var(--primary-dark);
    margin-bottom: 25px;
    position: relative;
    display: inline-block;
    font-size: 18px;
    font-weight: 700;
}

.footer-col h4:before {
    content: '';
    position: absolute;
    left: -15px;
    top: 3px;
    height: 18px;
    width: 4px;
    background-color: var(--accent-blue);
}

.footer-col ul li {
    margin-bottom: 15px;
}

.footer-col ul li a {
    color: var(--text-light);
    font-size: 15px;
    font-weight: 500;
}

.footer-col ul li a:hover {
    color: var(--accent-blue);
    padding-left: 5px;
}

/* Newsletter Pill Style */
.newsletter-form {
    position: relative;
    background-color: #f0f0f0;
    border-radius: 50px;
    padding: 5px;
    display: flex;
    align-items: center;
}

.newsletter-form input {
    flex: 1;
    background: transparent;
    border: none;
    padding: 10px 20px;
    outline: none;
    font-size: 14px;
}

.newsletter-form button {
    background-color: var(--accent-blue);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.newsletter-form button:hover {
    background-color: var(--primary-dark);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 25px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background-color: #f0f4f9;
    color: var(--primary-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--accent-blue);
    color: white;
}

.footer-bottom {
    background-color: var(--primary-dark);
    padding: 25px 0;
    text-align: center;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 0;
}

/* Page Header */
.page-header {
    background-color: var(--primary-dark);
    padding: 100px 0;
    text-align: center;
    color: var(--white);
    background-image: linear-gradient(rgba(0, 18, 51, 0.8), rgba(0, 18, 51, 0.8));
    /* Overlay */
}

.page-header h1 {
    color: var(--white);
    font-size: 3rem;
    margin-bottom: 10px;
}

.breadcrumb {
    color: var(--accent-blue);
    font-weight: 600;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .nav-menu-wrapper {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--primary-dark);
        padding: 20px;
        display: none;
        flex-direction: column;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-menu-wrapper.active {
        display: block;
    }

    .nav-menu {
        flex-direction: column;
        gap: 15px;
    }

    .mobile-toggle {
        display: block !important;
    }

    .grid {
        grid-template-columns: 1fr !important;
    }

    .flex {
        flex-direction: column;
        gap: 20px;
    }

    .hero-section h1 {
        font-size: 2.5rem !important;
    }

    .container {
        padding: 0 15px;
    }

    /* Footer Stack */
    .footer-grid {
        grid-template-columns: 1fr !important;
        gap: 30px;
    }

    .about-grid {
        grid-template-columns: 1fr !important;
    }

    .about-image-wrapper {
        margin-bottom: 50px;
    }
}

/* About Section Specifics (User Provided) */
.vision-bg {
    position: relative;
    z-index: 1;
    text-align: center;
}

/* Van Foreground */
.van-wrapper {
    position: absolute;
    right: -60px;
    bottom: -30px;
    z-index: 5;
    transform: translateY(40px);
    /* Floating effect */
    animation: float 3.5s ease-in-out infinite;
}

.van-wrapper img {
    width: 400px;
    /* Reduced size */
    max-width: 100%;
    transition: transform 0.4s ease;
    filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.25));
}

.van-wrapper:hover {
    animation-play-state: paused;
}

.van-wrapper:hover img {
    transform: translateY(-10px) scale(1.02);
}

@keyframes float {
    0% {
        transform: translateY(40px);
    }

    50% {
        transform: translateY(25px);
    }

    100% {
        transform: translateY(40px);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .van-wrapper {
        position: relative;
        transform: none;
        margin-top: 30px;
        text-align: center;
        animation: none;
        right: auto;
        bottom: auto;
    }

    .van-wrapper img {
        width: 320px;
    }

    .about-visuals-wrapper {
        min-height: auto !important;
    }
}

/* Service Section Specifics - Layout & Text */
.service-box {
    text-align: center;
    padding: 20px;
    transition: transform 0.3s ease;
}

.service-box:hover {
    transform: translateY(-10px);
}

.service-box h4 {
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 15px;
    color: var(--primary-dark);
}

.service-box p {
    font-size: 14px;
    color: #4da5ff;
    /* Light blue text for description as seen in image */
    line-height: 1.6;
    margin-bottom: 30px;
}

.service-arrow-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background-color: #edf2f7;
    /* Very light gray/blue */
    border-radius: 50%;
    color: #a0aec0;
    font-size: 18px;
    transition: all 0.3s ease;
}

.service-arrow-btn:hover {
    background-color: var(--accent-blue);
    color: white;
    transform: rotate(45deg);
    /* Optional effect */
}

/* Manager Section Specifics */
.manager-image-wrapper {
    display: inline-block;
    border-radius: 30px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.manager-image-wrapper img {
    width: 100%;
    max-width: 400px;
    display: block;
    transition: transform 0.3s ease;
}

.manager-image-wrapper:hover img {
    transform: scale(1.03);
}

/* Partners Slider Specifics */
.partners-track::-webkit-scrollbar {
    display: none;
}

.partner-logo {
    height: 130px;
    /* Increased from 80px */
    width: auto;
    object-fit: contain;
    /* filter: grayscale(100%); Remove grayscale to match colorful design */
    opacity: 1;
    transition: transform 0.3s;
    flex-shrink: 0;
}

.partner-logo:hover {
    transform: scale(1.1);
}

.slider-arrow {
    background: none;
    border: none;
    color: var(--accent-blue);
    font-size: 20px;
    cursor: pointer;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s;
}

.slider-arrow:hover {
    background-color: var(--light-blue-bg);
}

/* Gallery Hover Effect */
.gallery-item:hover img {
    transform: scale(1.1);
    cursor: pointer;
    /* Indicate clickable */
}

/* Lightbox Modal */
.lightbox-modal {
    display: none;
    /* Hidden by default */
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s;
}

/* Scroll Animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Hover Overlay */
.gallery-item:hover .hover-overlay {
    opacity: 1 !important;
}

.modal-content {
    margin: auto;
    display: block;
    width: auto;
    max-width: 90%;
    max-height: 90vh;
    border-radius: 5px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    animation: zoomIn 0.3s;
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
    z-index: 1001;
}

.close-modal:hover,
.close-modal:focus {
    color: var(--accent-blue);
    text-decoration: none;
    cursor: pointer;
}

@keyframes fadeIn {
    from {
        opacity: 0
    }

    to {
        opacity: 1
    }
}

/* Partners Auto Slide / Marquee */
@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.partners-track {
    display: flex;
    gap: 50px;
    width: max-content;
    animation: marquee 25s linear infinite;
}

.partners-track:hover {
    animation-play-state: paused;
}

@keyframes zoomIn {
    from {
        transform: scale(0.9)
    }

    to {
        transform: scale(1)
    }
}

/* Contact Form Styles */
.contact-form-group {
    margin-bottom: 20px;
}

.contact-form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--primary-dark);
    font-size: 14px;
}

.contact-form-control {
    width: 100%;
    padding: 15px 20px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    background-color: #f8f9fa;
    font-size: 15px;
    font-family: inherit;
    transition: all 0.3s ease;
    color: var(--text-color);
}

.contact-form-control:focus {
    border-color: var(--accent-blue);
    background-color: #fff;
    box-shadow: 0 0 0 4px rgba(0, 123, 255, 0.1);
    outline: none;
}

.contact-form-control::placeholder {
    color: #999;
}

textarea.contact-form-control {
    resize: vertical;
    min-height: 50px;
    /* Allows it to be small if rows=1 but expandable */
}


/* Base style for gallery images */
.gallery-img {
    width: 100%;
    height: 250px;       /* Fixed height for desktop grid uniformity */
    object-fit: cover;   /* Crops slightly to fill the box on desktop */
    transition: transform 0.4s ease;
    display: block;
}

/* Mobile Specific Adjustment */
@media (max-width: 768px) {
    .gallery-img {
        height: auto;      /* Allows the image to scale naturally */
        object-fit: contain; /* Ensures the whole image is visible */
        border-radius: 8px;
    }
    
    .grid {
        gap: 20px;         /* Adds some breathing room between full images */
    }
}


/* --- Desktop Hover Effect --- */
.about-visuals-wrapper:hover .van-wrapper {
    /* Moves the van up and to the right toward the towers */
    /* Scale(0.7) creates the illusion of driving away into the distance */
    transform: translate(80px, -100px) scale(0.7); 
    filter: drop-shadow(0 5px 15px rgba(0,0,0,0.3));
}

/* --- Mobile Specific Hover (Fixes the "Fine in Web" issue) --- */
@media (max-width: 768px) {
    .about-visuals-wrapper {
        min-height: 320px !important;
        overflow: hidden; /* Prevents the van from going off-screen */
    }

    .van-wrapper {
        /* Centering the van for mobile screens */
        position: absolute;
        bottom: 20px;
        right: 50%;
        transform: translateX(50%);
        transition: all 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    }

    .van-wrapper img {
        width: 220px !important; /* Smaller size for mobile */
    }

    /* Mobile Hover Path: Moves straight up toward the vision logo */
    .about-visuals-wrapper:hover .van-wrapper {
        transform: translate(50%, -60px) scale(0.65) !important;
    }
}