/* Global Styles */
:root {
    --primary-color: #3498db;
    --secondary-color: #2c3e50;
    --accent-color: #e74c3c;
    --light-color: #f8f9fa;
    --dark-color: #343a40;
    --text-color: #333;
    --text-light: #6c757d;
    --border-color: #dee2e6;
    --shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 80px 0;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 15px;
}

p {
    margin-bottom: 15px;
}

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

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

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

ul {
    list-style: none;
}

.btn {
    display: inline-block;
    padding: 14px 35px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 16px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    outline: none;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(44, 62, 80, 0.4);
}

.btn-primary:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(52, 152, 219, 0.3);
}

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

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

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

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

.section-header {
    text-align: center;
    margin-bottom: 60px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.section-header h2 {
    font-size: 42px;
    position: relative;
    padding-bottom: 20px;
    margin-bottom: 25px;
    color: var(--secondary-color);
    font-weight: 700;
}

.section-header h2::after {
    content: '';
    position: absolute;
    display: block;
    width: 80px;
    height: 4px;
    background: var(--primary-color);
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.section-header p {
    font-size: 18px;
    color: var(--text-light);
    line-height: 1.8;
    max-width: 500px;
    margin: 0 auto;
}

/* Header Styles */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: transparent;
    transition: var(--transition);
    padding: 20px 0;
}

header.scrolled {
    background-color: white;
    box-shadow: var(--shadow);
    padding: 15px 0;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    font-size: 28px;
    font-weight: 700;
    color: white;
    margin-bottom: 0;
}

header.scrolled .logo h1 {
    color: var(--secondary-color);
}

.logo span {
    color: var(--primary-color);
}

.nav-links ul {
    display: flex;
}

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

.nav-links ul li a {
    color: white;
    font-weight: 500;
    position: relative;
}

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

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

.nav-links ul li a:hover::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    padding: 8px;
    border-radius: 5px;
    transition: var(--transition);
}

header.scrolled .menu-toggle {
    color: var(--text-color);
}

.menu-toggle:hover,
.menu-toggle:focus {
    background-color: rgba(255, 255, 255, 0.1);
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

.menu-toggle:active {
    transform: scale(0.9);
}

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    color: white;
    position: relative;
    display: flex;
    align-items: center;
    padding-top: 80px;
}

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

.hero-content {
    flex: 1;
    padding-right: 30px;
}

.hero-content h1 {
    font-size: 48px;
    margin-bottom: 20px;
}

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

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

.hero-image {
    flex: 1;
    text-align: right;
}

.wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

/* Features Section */
.features {
    background-color: var(--light-color);
}

.feature-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.feature-card {
    background-color: white;
    border-radius: 15px;
    padding: 40px 30px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
    border: 1px solid transparent;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    border-color: var(--primary-color);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background-color: rgba(52, 152, 219, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.feature-icon i {
    font-size: 30px;
    color: var(--primary-color);
}

.feature-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
}

.feature-card p {
    color: var(--text-light);
}

/* Services Section */
.service-tabs {
    margin-top: 50px;
    background: white;
    border-radius: 15px;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.tab-buttons {
    display: flex;
    justify-content: center;
    background: linear-gradient(135deg, var(--light-color), white);
    padding: 20px;
    gap: 10px;
    flex-wrap: wrap;
}

.tab-btn {
    background: white;
    border: 2px solid var(--border-color);
    padding: 12px 25px;
    font-size: 15px;
    font-weight: 600;
    color: var(--text-light);
    cursor: pointer;
    transition: var(--transition);
    border-radius: 25px;
    min-width: 120px;
    text-align: center;
}

.tab-btn.active {
    color: var(--primary-color);
    border-color: var(--primary-color);
    background-color: rgba(52, 152, 219, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
}

.tab-content {
    position: relative;
}

.tab-pane {
    display: none;
    animation: fadeIn 0.5s ease forwards;
    padding: 40px;
    background: white;
}

.tab-pane.active {
    display: flex;
    flex-wrap: wrap;
}

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

.tab-image {
    flex: 1;
    min-width: 300px;
}

.tab-image img {
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.tab-info {
    flex: 1;
    padding: 0 20px;
    min-width: 300px;
}

.tab-info h3 {
    font-size: 24px;
    margin-bottom: 15px;
}

.tab-info p {
    margin-bottom: 20px;
}

.tab-info ul {
    margin-bottom: 25px;
}

.tab-info ul li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.tab-info ul li i {
    color: var(--primary-color);
    margin-right: 10px;
}

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

.fleet-slider {
    display: flex;
    overflow-x: hidden;
    gap: 30px;
    margin-bottom: 30px;
}

.fleet-card {
    min-width: calc(33.333% - 20px);
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.fleet-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.fleet-info {
    padding: 20px;
    text-align: center;
}

.fleet-info h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

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

.fleet-nav {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.prev-btn, .next-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: white;
    border: none;
    box-shadow: var(--shadow);
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.prev-btn:hover, .next-btn:hover {
    background-color: var(--primary-color);
    color: white;
}

/* Tracking Section */
.tracking-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 30px;
}

.tracking-info {
    flex: 1;
    min-width: 300px;
}

.tracking-info h3 {
    font-size: 28px;
    margin-bottom: 20px;
}

.tracking-info p {
    margin-bottom: 25px;
}

.tracking-features {
    margin-bottom: 30px;
}

.tracking-features li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.tracking-features li i {
    width: 40px;
    height: 40px;
    background-color: rgba(52, 152, 219, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    color: var(--primary-color);
}

.tracking-image {
    flex: 1;
    min-width: 300px;
}

.tracking-image img {
    border-radius: 10px;
    box-shadow: var(--shadow);
}

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

.testimonial-slider {
    display: flex;
    overflow-x: hidden;
    gap: 30px;
}

.testimonial-card {
    min-width: calc(33.333% - 20px);
    background-color: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: var(--shadow);
}

.testimonial-text {
    margin-bottom: 20px;
    position: relative;
}

.testimonial-text i {
    font-size: 30px;
    color: rgba(52, 152, 219, 0.2);
    margin-bottom: 10px;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 15px;
}

.testimonial-author h4 {
    font-size: 18px;
    margin-bottom: 5px;
}

.testimonial-author p {
    color: var(--text-light);
    font-size: 14px;
    margin-bottom: 0;
}

.testimonial-dots {
    display: flex;
    justify-content: center;
    margin-top: 30px;
    gap: 10px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--border-color);
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background-color: var(--primary-color);
}

/* CTA Section */
.cta {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    color: white;
    text-align: center;
    padding: 60px 0;
}

.cta h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

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

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

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

.about-image img {
    border-radius: 10px;
    box-shadow: var(--shadow);
}

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

.about-info h3 {
    font-size: 28px;
    margin-bottom: 20px;
}

.about-stats {
    display: flex;
    flex-wrap: wrap;
    margin-top: 30px;
    gap: 20px;
}

.stat {
    flex: 1;
    min-width: 120px;
    text-align: center;
    padding: 20px;
    background-color: var(--light-color);
    border-radius: 10px;
}

.stat h4 {
    font-size: 36px;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.stat p {
    margin-bottom: 0;
    font-size: 14px;
}

/* Contact Section */
.contact-content {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.contact-info {
    flex: 1;
    min-width: 300px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.contact-card {
    background-color: var(--light-color);
    padding: 20px;
    border-radius: 10px;
    text-align: center;
}

.contact-card i {
    font-size: 30px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.contact-card h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

.contact-card p {
    color: var(--text-light);
    margin-bottom: 0;
}

.contact-form {
    flex: 1;
    min-width: 300px;
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    transition: var(--transition);
}

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

.form-group textarea {
    height: 150px;
    resize: none;
}

/* Footer */
footer {
    background-color: var(--secondary-color);
    color: white;
    padding: 60px 0 0;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 40px;
}

.footer-logo {
    flex: 2;
    min-width: 250px;
}

.footer-logo h2 {
    font-size: 28px;
    margin-bottom: 15px;
}

.footer-logo span {
    color: var(--primary-color);
}

.footer-logo p {
    margin-bottom: 20px;
    opacity: 0.8;
}

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

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

.social-links a:hover {
    background-color: var(--primary-color);
}

.footer-links,
.footer-services,
.footer-newsletter {
    flex: 1;
    min-width: 200px;
}

.footer-links h3,
.footer-services h3,
.footer-newsletter h3 {
    font-size: 20px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-links h3::after,
.footer-services h3::after,
.footer-newsletter h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background-color: var(--primary-color);
}

.footer-links ul li,
.footer-services ul li {
    margin-bottom: 10px;
}

.footer-links ul li a,
.footer-services ul li a {
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition);
}

.footer-links ul li a:hover,
.footer-services ul li a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-newsletter p {
    margin-bottom: 20px;
    opacity: 0.8;
}

.footer-newsletter form {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.footer-newsletter input {
    flex: 1;
    min-width: 150px;
    padding: 12px 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 5px;
    color: white;
    font-family: 'Poppins', sans-serif;
}

.footer-newsletter input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    margin-bottom: 0;
    opacity: 0.8;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    right: 30px;
    bottom: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: var(--secondary-color);
    color: white;
}

/* Responsive Styles */
@media screen and (max-width: 991px) {
    .hero-content h1 {
        font-size: 36px;
    }
    
    .section-header h2 {
        font-size: 30px;
    }
    
    .hero .container {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-content {
        padding-right: 0;
        margin-bottom: 40px;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .tab-pane.active {
        flex-direction: column;
    }
    
    .tab-image {
        margin-bottom: 30px;
    }
    
    .fleet-card {
        min-width: calc(50% - 15px);
    }
    
    .testimonial-card {
        min-width: calc(50% - 15px);
    }
}

@media screen and (max-width: 768px) {
    .menu-toggle {
        display: block;
        z-index: 1002;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background-color: white;
        z-index: 1001;
        transition: var(--transition);
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.15);
        padding: 80px 30px 30px;
        overflow-y: auto;
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .nav-links ul {
        flex-direction: column;
        width: 100%;
    }
    
    .nav-links ul li {
        margin: 0;
        width: 100%;
        border-bottom: 1px solid var(--border-color);
    }
    
    .nav-links ul li a {
        color: var(--text-color);
        display: block;
        padding: 15px 0;
        font-size: 16px;
        transition: var(--transition);
    }
    
    .nav-links ul li a:hover {
        color: var(--primary-color);
        padding-left: 10px;
    }
    
    .nav-links ul li a::after {
        display: none;
    }
    
    .fa-bars, .fa-times {
        display: block;
        cursor: pointer;
        transition: var(--transition);
    }
    
    .fa-times {
        position: absolute;
        top: 20px;
        right: 20px;
        color: var(--text-color);
        font-size: 24px;
        z-index: 1002;
    }
    
    .fa-times:hover {
        color: var(--primary-color);
        transform: rotate(90deg);
    }
    
    .fleet-card {
        min-width: 100%;
    }
    
    .testimonial-card {
        min-width: 100%;
    }
}

@media screen and (max-width: 576px) {
    section {
        padding: 60px 0;
    }
    
    .hero-content h1 {
        font-size: 28px;
    }
    
    .section-header h2 {
        font-size: 24px;
    }
    
    .tab-buttons {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }
    
    .tab-btn {
        flex: 1;
        min-width: 120px;
        max-width: none;
        margin-bottom: 0;
        padding: 12px 20px;
        font-size: 14px;
    }
    
    .about-stats {
        flex-direction: column;
    }
}
