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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

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

/* Variables */
:root {
    --primary-color: #003366; /* Deep Navy Blue */
    --secondary-color: #0055a5; /* Lighter Blue */
    --accent-color: #ff6600; /* Orange for Call to Actions */
    --text-color: #333;
    --light-bg: #f4f7f6;
    --white: #ffffff;
    --dark-overlay: rgba(0, 0, 0, 0.6);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

h1 {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
}

h2 {
    font-size: 2.5rem;
    font-weight: 600;
}

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

.section-padding {
    padding: 80px 0;
}

.bg-light {
    background-color: var(--light-bg);
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 4px;
    font-weight: 600;
    text-transform: uppercase;
    cursor: pointer;
    border: none;
    font-size: 0.9rem;
}

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

.btn-primary:hover {
    background-color: #e65c00;
    transform: translateY(-2px);
}

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

.btn-light:hover {
    background-color: #f0f0f0;
    transform: translateY(-2px);
}

/* Section Titles */
.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title .line {
    width: 60px;
    height: 4px;
    background-color: var(--accent-color);
    margin: 10px auto 0;
}

/* Top Bar */
.top-bar {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 10px 0;
    font-size: 0.9rem;
}

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

.top-bar .contact-info span {
    margin-right: 20px;
}

.top-bar .contact-info i {
    margin-right: 8px;
    color: var(--accent-color);
}

.top-bar .social-links a {
    color: var(--white);
    margin-left: 15px;
}

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

/* Header */
.main-header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 5px 0; /* Reduced padding to keep overall height similar with larger logo */
    height: 80px; /* Fixed height to ensure consistency */
    display: flex;
    align-items: center;
}

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

.logo img {
    height: 70px; /* Increased from 50px */
    width: auto;
    transition: all 0.3s ease;
}

.navbar .nav-links {
    display: flex;
    align-items: center;
}

.navbar .nav-links li {
    margin-left: 30px;
}

.navbar .nav-links a {
    font-weight: 500;
    color: var(--primary-color);
    position: relative;
}

.navbar .nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    bottom: -5px;
    left: 0;
    transition: width 0.3s;
}

.navbar .nav-links a:hover::after,
.navbar .nav-links a.active::after {
    width: 100%;
}

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

.burger div {
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 5px;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    /* Kept for backward compatibility if needed, but hero-carousel replaces it */
    display: none; 
}

/* Carousel Styles */
.hero-carousel {
    height: 80vh;
    min-height: 500px;
    position: relative;
    overflow: hidden;
    background-color: #003366;
}

.carousel-container {
    width: 100%;
    height: 100%;
    position: relative;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    z-index: 1;
}

.carousel-slide.active {
    opacity: 1;
    z-index: 2;
}

.carousel-slide .hero-content {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
    transition-delay: 0.5s;
    color: var(--white);
    max-width: 800px;
    padding: 0 20px;
}

.carousel-slide.active .hero-content {
    opacity: 1;
    transform: translateY(0);
}

.hero-content h1 {
    color: var(--white);
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

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

/* Carousel Controls */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.3);
    color: var(--white);
    border: none;
    font-size: 2rem;
    padding: 15px;
    cursor: pointer;
    z-index: 3;
    transition: background 0.3s;
}

.carousel-btn:hover {
    background: rgba(0, 0, 0, 0.6);
}

.prev-btn {
    left: 20px;
}

.next-btn {
    right: 20px;
}

/* Carousel Indicators */
.carousel-indicators {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 3;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background 0.3s;
}

.indicator.active {
    background: var(--accent-color);
}


/* About Section */
.about-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
}

.about-text {
    flex: 1;
    min-width: 300px;
}

.about-text p {
    margin-bottom: 1.5rem;
    color: #555;
}

.about-features {
    margin-top: 20px;
}

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

.about-features i {
    color: var(--accent-color);
    margin-right: 10px;
}

.about-image {
    flex: 1;
    min-width: 300px;
    height: auto;
    display: block;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

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

/* Simulated Image with CSS if no real image */
.img-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #003366, #0055a5);
    display: flex;
    align-items: center;
    justify-content: center;
}

.img-placeholder i {
    font-size: 5rem;
    color: rgba(255,255,255,0.2);
}

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

.service-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s;
}

.service-card:hover {
    transform: translateY(-10px);
}

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

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.service-card p {
    color: #666;
}

/* Fleet Section */
.fleet-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.fleet-text p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    color: #555;
}

.stats-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    margin-top: 50px;
    gap: 30px;
}

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

.stat-item .number {
    display: block;
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
}

.stat-item .label {
    font-size: 1.1rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* CTA Section */
.cta-section {
    background-color: var(--primary-color);
    color: var(--white);
    text-align: center;
    padding: 80px 20px;
}

.cta-section h2 {
    color: var(--white);
    margin-bottom: 20px;
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

/* Contact Section Layout Update */
.contact-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 50px;
}

.contact-left-column {
    flex: 1;
    min-width: 300px;
    display: flex;
    flex-direction: column;
    gap: 30px;
    justify-content: space-between; /* Ensures map pushes to bottom if there is extra space, though flex:1 on map is better */
}

.contact-info-box {
    width: 100%;
}

.map-container-small {
    width: 100%;
    flex: 1; /* Allow map to grow to fill space */
    min-height: 250px; /* Minimum height */
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border: 1px solid #ddd;
    display: flex; /* Ensure iframe fills it */
}

.map-container-small iframe {
    width: 100%;
    height: 100%; /* Fill the flex container */
    border: 0;
    display: block;
}

.info-item {
    margin-bottom: 25px;
    padding-left: 50px;
    position: relative;
}

.info-item:last-child {
    margin-bottom: 0;
}



.info-item i {
    position: absolute;
    left: 0;
    top: 5px;
    font-size: 2rem;
    color: var(--accent-color);
}

.info-item h4 {
    margin-bottom: 5px;
    font-size: 1.2rem;
}

.contact-form-box {
    flex: 1.5;
    min-width: 300px;
    background: var(--light-bg);
    padding: 30px; /* Reduced padding to compensate for taller textarea */
    border-radius: 8px;
}

.form-group {
    margin-bottom: 15px; /* Reduced margin to compensate for taller textarea */
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px 15px; /* Reduced padding to compensate for taller textarea */
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
    font-size: 1rem;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

/* Footer Rich Style */
.main-footer {
    background-color: #111;
    background-image: linear-gradient(to bottom, #1a1a1a, #0d0d0d);
    color: #bbb;
    padding: 70px 0 0;
    font-size: 0.95rem;
}

.footer-top {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 50px;
}

.footer-col {
    flex: 1;
    min-width: 200px;
}

.footer-about {
    flex: 1.5; /* Wider column for about info */
}

.footer-logo {
    background-color: rgba(255, 255, 255, 0.95);
    padding: 15px 20px;
    border-radius: 6px;
    display: inline-block;
    margin-bottom: 25px;
}

.footer-logo img {
    height: 80px; /* Increased size and optimized display */
    width: auto;
    filter: none; /* Show original logo colors */
    display: block;
}

.footer-about p {
    margin-bottom: 25px;
    line-height: 1.6;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    color: var(--white);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: var(--accent-color);
    transform: translateY(-3px);
}

.footer-links h3, .footer-contact h3 {
    color: var(--white);
    font-size: 1.2rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

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

.footer-links ul li {
    margin-bottom: 12px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    padding-bottom: 12px;
}

.footer-links ul li:last-child {
    border-bottom: none;
}

.footer-links a {
    color: #bbb;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-links a i {
    font-size: 0.7rem;
    color: var(--accent-color);
}

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

.footer-contact .contact-row {
    display: flex;
    margin-bottom: 20px;
    align-items: flex-start;
}

.footer-contact i {
    color: var(--accent-color);
    margin-right: 15px;
    margin-top: 5px;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 25px 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.bottom-links {
    display: flex;
    gap: 20px;
}

.bottom-links a {
    font-size: 0.85rem;
    color: #888;
}

.bottom-links a:hover {
    color: var(--accent-color);
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: -100%; /* Hidden by default */
    left: 0;
    width: 100%;
    background: var(--white);
    box-shadow: 0 -2px 20px rgba(0,0,0,0.1);
    z-index: 9999;
    padding: 20px 0;
    transition: bottom 0.5s ease;
}

.cookie-banner.show {
    bottom: 0;
}

.cookie-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.cookie-content p {
    flex: 1;
    margin: 0;
    color: var(--text-color);
    font-size: 0.95rem;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
}

.btn-sm {
    padding: 8px 20px;
    font-size: 0.85rem;
}

/* Back to Top Button */
#backToTop {
    display: none; /* Hidden by default */
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 99;
    border: 2px solid var(--accent-color);
    outline: none;
    background-color: transparent;
    color: var(--accent-color);
    cursor: pointer;
    width: 45px;
    height: 45px;
    line-height: 41px;
    text-align: center;
    padding: 0;
    border-radius: 4px;
    font-size: 1.2rem;
    box-shadow: none;
    transition: all 0.3s ease;
}

#backToTop:hover {
    background-color: var(--accent-color);
    color: var(--white);
    transform: translateY(-3px);
}



/* Responsive adjustments */
@media (max-width: 768px) {
    .footer-top {
        flex-direction: column;
        gap: 30px;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .bottom-links {
        justify-content: center;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .contact-wrapper {
        flex-direction: column;
    }
}

/* Responsive */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }
    
    .top-bar .contact-info {
        display: none; /* Hide top info on small screens to save space */
    }

    .top-bar .container {
        justify-content: center;
    }
    
    .navbar .nav-links {
        position: absolute;
        right: 0px;
        height: 92vh;
        top: 8vh;
        background-color: var(--white);
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 50%;
        transform: translateX(100%);
        transition: transform 0.5s ease-in;
        box-shadow: -2px 0 10px rgba(0,0,0,0.1);
        padding-top: 50px;
    }
    
    .navbar .nav-links li {
        margin: 20px 0;
        opacity: 0;
    }
    
    .burger {
        display: block;
    }
}

.nav-active {
    transform: translateX(0%) !important;
}

@keyframes navLinkFade {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0px);
    }
}

.toggle .line1 {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.toggle .line2 {
    opacity: 0;
}

.toggle .line3 {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* Logo Hover Effects */
.logo img,
.footer-logo img {
    transition: transform 0.3s ease, filter 0.3s ease;
}

.logo img:hover,
.footer-logo:hover img {
    transform: scale(1.05);
    filter: brightness(1.1);
}

/* Success Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.show {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: var(--white);
    padding: 40px;
    border-radius: 8px;
    text-align: center;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 5px 30px rgba(0,0,0,0.3);
    transform: translateY(-20px);
    transition: transform 0.3s ease;
}

.modal-overlay.show .modal-content {
    transform: translateY(0);
}

.modal-icon {
    font-size: 4rem;
    color: var(--accent-color);
    margin-bottom: 20px;
}

.modal-content h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.8rem;
}

.modal-content p {
    color: #666;
    margin-bottom: 30px;
    line-height: 1.6;
}


/* 3D Logo Effect */
.logo a, .footer-logo {
    perspective: 500px; /* Creates the 3D space */
    display: inline-block; /* Essential for perspective */
}

.logo img, .footer-logo img {
    transition: transform 0.5s ease, filter 0.3s ease;
    transform-style: preserve-3d; /* Essential for 3D */
    filter: drop-shadow(2px 4px 6px rgba(0,0,0,0.3)); /* Base shadow for depth */
}

.logo a:hover img, .footer-logo:hover img {
    /* 3D rotation and scale */
    transform: rotateX(10deg) rotateY(-10deg) scale(1.1);
    /* Enhanced shadow to simulate lifting */
    filter: drop-shadow(5px 10px 15px rgba(0,0,0,0.4));
}



