/* Variable Definitions */
:root {
    --primary-color: #0056b3;
    --primary-dark: #004494;
    --secondary-color: #00a8cc;
    --accent-color: #ffc107;
    --text-color: #333333;
    --light-text: #666666;
    --bg-light: #f8f9fa;
    --white: #ffffff;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    --transition: all 0.3s ease;
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Outfit', sans-serif;
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Outfit', sans-serif;
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: 1px solid rgba(255, 255, 255, 0.5);
    --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.1);
}

/* Scroll Animation Classes */
.fade-in-section {
    opacity: 0;
    transform: translateY(40px) scale(0.98);
    transition: opacity 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94),
        transform 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: opacity, transform;
}

.fade-in-section.is-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* Stagger delay for grid items */
.services-grid .fade-in-section:nth-child(1),
.advantages-grid .fade-in-section:nth-child(1) {
    transition-delay: 0.1s;
}

.services-grid .fade-in-section:nth-child(2),
.advantages-grid .fade-in-section:nth-child(2) {
    transition-delay: 0.2s;
}

.services-grid .fade-in-section:nth-child(3),
.advantages-grid .fade-in-section:nth-child(3) {
    transition-delay: 0.3s;
}

.services-grid .fade-in-section:nth-child(4),
.advantages-grid .fade-in-section:nth-child(4) {
    transition-delay: 0.4s;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
    overflow-x: hidden;
}

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

ul {
    list-style: none;
}

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

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

.section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.25rem;
    color: var(--primary-color);
    margin-bottom: 10px;
    font-weight: 700;
}

.section-header p {
    color: var(--light-text);
    font-size: 1.1rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    cursor: pointer;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--white);
    box-shadow: 0 4px 15px rgba(0, 86, 179, 0.3);
    border: none;
    position: relative;
    overflow: hidden;
}

.btn-primary::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-primary:hover::after {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 86, 179, 0.4);
}

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

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

.btn-whatsapp {
    background-color: #25D366;
    color: var(--white);
    box-shadow: 0 4px 10px rgba(37, 211, 102, 0.3);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-whatsapp:hover {
    background-color: #128c7e;
    transform: translateY(-2px);
}

/* Header & Navbar */
.header {
    background-color: transparent;
    box-shadow: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: all 0.4s ease;
}

.header.scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: var(--shadow);
    padding: 15px 0;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--white);
    /* White text initially */
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.header.scrolled .logo {
    color: var(--text-color);
    text-shadow: none;
}

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

.nav-links a {
    font-weight: 500;
    font-size: 1rem;
    color: var(--white);
    /* White links initially */
    transition: var(--transition);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.header.scrolled .nav-links a {
    color: var(--text-color);
    text-shadow: none;
}

.header.scrolled .nav-links a:hover {
    color: var(--primary-color);
}

.hamburger span {
    background-color: var(--white);
}

.header.scrolled .hamburger span {
    background-color: var(--text-color);
}

.btn-nav {
    background-color: var(--primary-color);
    color: var(--white) !important;
    padding: 8px 20px;
    border-radius: 5px;
}

.btn-nav:hover {
    background-color: var(--primary-dark);
}

.hamburger {
    display: none;
    cursor: pointer;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--text-color);
    margin: 5px 0;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    color: var(--white);
    margin-top: 0;
    /* Remove margin so header overlays */
    padding-top: 0;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

/* Zoom Effect Removed */
.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* transition: transform 0.5s ease-out; Remove if no hover effect needed */
}

/*
@keyframes zoomEffect {
    0% { transform: scale(1); }
    100% { transform: scale(1.1); }
}
*/

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.4), rgba(0, 86, 179, 0.3));
    /* Modern Gradient */
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

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

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

/* About Section */
.about {
    background-color: var(--white);
}

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

.about-image img {
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.about-text h2 {
    font-size: 2.25rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.about-text p {
    margin-bottom: 20px;
    color: var(--light-text);
}

.about-list li {
    margin-bottom: 10px;
    font-weight: 500;
}

/* Services Section */
.services {
    background-color: var(--bg-light);
}

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

.service-card {
    background: var(--glass-bg);
    padding: 30px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

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

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

.service-card .icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

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

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

/* Advantages Section */
.advantages {
    background-color: var(--white);
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
}

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

.advantage-item h3 {
    margin-bottom: 10px;
    font-size: 1.2rem;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.advantage-item p {
    color: var(--light-text);
}

/* Fleet Section */
.fleet {
    background-color: var(--white);
}

.fleet-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    justify-content: center;
}

.fleet-card {
    background: var(--glass-bg);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 15px;
    padding: 30px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

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

.fleet-icon {
    font-size: 4rem;
    margin-bottom: 20px;
}

.fleet-info h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.fleet-tag {
    display: inline-block;
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.fleet-desc {
    color: var(--light-text);
    margin-bottom: 20px;
    line-height: 1.6;
}

.fleet-specs {
    list-style: none;
    text-align: left;
    background: rgba(0, 0, 0, 0.02);
    padding: 15px;
    border-radius: 10px;
    width: 100%;
}

.fleet-specs li {
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-color);
}

.fleet-specs li:last-child {
    margin-bottom: 0;
}

/* Gallery Section */
.gallery {
    background-color: var(--white);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
    transition: var(--transition);
}

.gallery-item img:hover {
    transform: scale(1.02);
}

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

.testimonials .section-header h2 {
    color: var(--white);
}

.testimonials-slider {
    display: flex;
    overflow: hidden;
    /* Hide overflow for marquee */
    padding-bottom: 20px;
    width: 100%;
    /* Mask fade effect for smoothness at edges */
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.testimonials-track {
    display: flex;
    gap: 30px;
    /* Animation duration depends on number of items. */
    animation: scroll 30s linear infinite;
    width: max-content;
}



@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-50% - 15px));
        /* Move half way (assuming duplicated content) + half gap */
    }
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 10px;
    backdrop-filter: blur(5px);

    /* Fixed width for consistent marquee */
    width: 350px;
    flex-shrink: 0;
}

.testimonial-card .quote {
    font-style: italic;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.testimonial-card .author {
    font-weight: 700;
    text-align: right;
}

/* Contact Section */
.contact {
    background-color: var(--bg-light);
}

.contact-box {
    background: var(--white);
    max-width: 800px;
    margin: 0 auto;
    padding: 50px;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.contact-box h2 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 2rem;
}

.contact-box>p {
    margin-bottom: 40px;
    color: var(--light-text);
}

.contact-info {
    display: flex;
    flex-direction: column;
    /* Stack items vertically */
    align-items: center;
    /* Center items horizontally */
    gap: 30px;
    margin-bottom: 40px;
    text-align: center;
    /* Ensure text inside items is centered */
}

.info-item {
    max-width: 600px;
    /* Prevent text from getting too wide on large screens */
}

.info-item .label {
    display: block;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 8px;
    font-size: 1.1rem;
    /* Slightly larger label */
}

.phone-number {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-color);
}

/* Footer */
.footer {
    background-color: #222;
    color: #aaa;
    padding: 20px 0;
    text-align: center;
}

.footer-logo {
    color: var(--white);
    font-weight: 700;
    margin-bottom: 10px;
}

/* Map Styling */
.map-container {
    width: 100%;
    margin-bottom: 30px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.map-container iframe {
    display: block;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        right: -100%;
        top: 0;
        /* Full height from top */
        height: 100vh;
        background-color: rgba(255, 255, 255, 0.95);
        /* Solid-ish background for readability */
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        /* Center horizontally */
        width: 100%;
        /* Full width for cleaner look */
        padding: 50px;
        box-shadow: none;
        /* Full screen doesn't need shadow */
        transition: right 0.4s cubic-bezier(0.77, 0, 0.175, 1);
        gap: 40px;
        /* More space between items */
        z-index: 1001;
    }

    .nav-links.active {
        right: 0;
    }

    /* Fix link colors in mobile menu since background is white */
    .nav-links a {
        color: var(--text-color) !important;
        font-size: 1.5rem;
        /* Larger font for mobile */
        font-weight: 700;
        text-shadow: none !important;
        text-align: center;
    }

    .nav-links a:hover {
        color: var(--primary-color) !important;
    }

    .hamburger {
        display: block;
        position: relative;
        z-index: 1002;
        /* Ensure above the menu overlay */
    }

    /* Ensure hamburger lines are dark when menu is open (active) */
    .hamburger.active span {
        background-color: var(--text-color) !important;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

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

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

    .contact-info {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

/* Floating WhatsApp Button */
.floating-wa {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 2000;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    border: 2px solid white;
}

.floating-wa:hover {
    transform: scale(1.1) translateY(-5px);
    background-color: #128c7e;
    box-shadow: 0 10px 20px rgba(37, 211, 102, 0.6);
}

.floating-wa svg {
    width: 35px;
    height: 35px;
    stroke: white;
}

/* FAQ Section */
.faq {
    background-color: var(--bg-light);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    margin-bottom: 20px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: var(--transition);
}

.faq-question {
    padding: 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--white);
    transition: background-color 0.3s;
}

.faq-question:hover {
    background-color: #f8f9fa;
}

.faq-question h3 {
    font-size: 1.1rem;
    color: var(--text-color);
    font-weight: 600;
}

.toggle-icon {
    font-size: 1.5rem;
    color: var(--primary-color);
    font-weight: 700;
    transition: transform 0.3s ease;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    background-color: var(--white);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.faq-answer p {
    padding: 20px;
    color: var(--light-text);
    line-height: 1.6;
}

/* Active State for FAQ */
.faq-item.active .toggle-icon {
    transform: rotate(45deg);
}

.faq-item.active .faq-question h3 {
    color: var(--primary-color);
}

/* Fix for mobile visibility - Disable scroll animation on small screens */
@media (max-width: 768px) {
    .fade-in-section {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
}