/* Hero Section Styles */

.hero-section {

    position: relative;

    min-height: 100vh;

    min-height: max(100vh, 700px); /* Grow with content, at least viewport height */

    overflow: visible;

    background-color: rgba(0, 0, 0, 0.8); /* Slightly darker fallback background */

    color: #ffffff;

    margin-top: 0; /* Ensure no margin */

    z-index: 1; /* Set z-index to be below header but above other content */

    /* Ensure hero section covers the entire viewport from top */

    top: 0;

    left: 0;

    width: 100%;

}



/* Ensure no gaps above hero section that could show white background */
/* Scoped to non-modern hero to avoid conflicting with modern hero overlay */

.hero-section:not(.hero-modern)::before {

    content: '';

    position: absolute;

    top: -100px; /* Extend above the hero to cover any potential gaps */

    left: 0;

    width: 100%;

    height: 100px;

    background: inherit; /* Same background as hero */

    z-index: -2;

}



.hero-background {

    position: absolute;

    top: 0;

    left: 0;

    width: 100%;

    height: 100%;

    background-image: url('/assets/img/hero-image-taxi.webp');

    background-size: cover;

    background-position: center center;

    background-repeat: no-repeat;

    z-index: -1;

    filter: brightness(0.4); /* Darken the image to ensure better contrast */

    transform: scale(1.05);

    transition: transform 15s ease;

}



.hero-section:hover .hero-background {

    transform: scale(1.15);

}


.hero-section::after {

    display: none;

}

@keyframes floatAnimation {
    10% {

        transform: translateY(-5px) rotate(0deg);

    }

    20% {

        transform: translateY(0px) rotate(-2deg);

    }

    30% {

        transform: translateY(5px) rotate(0deg);

    }

    40% {

        transform: translateY(0px) rotate(2deg);

    }

    50% {

        transform: translateY(-10px) rotate(0deg);

    }

    60% {

        transform: translateY(0px) rotate(-2deg);

    }

    70% {

        transform: translateY(5px) rotate(0deg);

    }

    80% {

        transform: translateY(0px) rotate(2deg);

    }

    90% {

        transform: translateY(-5px) rotate(0deg);

    }

    100% {

        left: 110%;

        transform: translateY(0px) rotate(-2deg);

    }

}



.hero-content {

    height: 100%;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    padding: 1rem;

    position: relative;

    z-index: 2; 

    padding-top: calc(var(--header-height, 80px) + 2rem); /* Reduced to create more space for bottom buttons */

    padding-bottom: 280px; /* Increased back to 280px to ensure buttons have enough space */

}



.hero-content::before {

    content: '';

    position: absolute;

    top: 50%;

    left: 50%;

    transform: translate(-50%, -50%);

    width: 100%;

    max-width: 900px;

    height: 400px;

    background: radial-gradient(circle, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0) 70%);

    z-index: -1;

}



.hero-content-inner {

    max-width: 64rem;

    width: 100%;

    text-align: center;

    animation: fadeIn 1.5s ease-out;

    margin-top: 80px; /* Increased from 60px to 80px for additional spacing */

    padding-top: 60px; /* Increased from 40px to 60px for more spacing */

}



/* Video controls removed for performance optimization - all video styles cleaned up */



.video-btn:hover {

    transform: scale(1.05);

    background: linear-gradient(135deg, rgba(255, 107, 53, 0.95) 0%, rgba(247, 183, 49, 0.95) 100%);

    border-color: rgba(255, 255, 255, 1);

    box-shadow: 

        0 8px 32px rgba(255, 107, 53, 0.4),

        0 4px 16px rgba(0, 0, 0, 0.3),

        inset 0 2px 0 rgba(255, 255, 255, 0.3);

}



.video-btn:active {

    transform: scale(1.02);

    transition-duration: 0.1s;

}



.video-btn i {

    font-size: 24px;

    margin-left: 3px;

    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);

    transition: all 0.3s ease;

}



.video-btn:hover i {

    font-size: 26px;

    text-shadow: 0 3px 6px rgba(0, 0, 0, 0.4);

}



/* Pulse animation for attention */

.video-btn::after {

    content: '';

    position: absolute;

    top: -2px;

    left: -2px;

    right: -2px;

    bottom: -2px;

    border: 2px solid rgba(247, 183, 49, 0.6);

    border-radius: 50%;

    animation: videoPulse 2s infinite;

    opacity: 0;

}



@keyframes videoPulse {

    0% {

        opacity: 0.8;

        transform: scale(1);

    }

    50% {

        opacity: 0.5;

        transform: scale(1.05);

    }

    100% {

        opacity: 0;

        transform: scale(1.1);

    }

}



/* Desktop - Large screens */

@media (min-width: 1200px) {

    .video-btn {

        width: 50px;

        height: 50px;

    }

    

    .video-btn i {

        font-size: 20px;

        margin-left: 3px;

    }

    

    .video-btn:hover i {

        font-size: 22px;

    }

}



/* Tablet - Medium screens */

@media (max-width: 1024px) {

    .video-btn {

        width: 45px;

        height: 45px;

    }

    

    .video-btn i {

        font-size: 18px;

        margin-left: 3px;

    }

    

    .video-btn:hover i {

        font-size: 20px;

    }

}



/* Mobile - Small screens */

@media (max-width: 768px) {

    .video-controls {

        /* Position above floating social buttons on mobile */

        bottom: 140px;

        right: 20px;

        position: fixed;

    }

    

    .video-btn {

        width: 40px;

        height: 40px;

        border-width: 2px;

        box-shadow: 

            0 4px 16px rgba(247, 183, 49, 0.4),

            0 2px 8px rgba(0, 0, 0, 0.3);

    }

    

    .video-btn i {

        font-size: 16px;

        margin-left: 2px;

    }

    

    .video-btn:hover i {

        font-size: 18px;

    }

}



/* Very small mobile devices */

@media (max-width: 480px) {

    .video-controls {

        bottom: 120px;

        right: 15px;

    }

    

    .video-btn {

        width: 50px;

        height: 50px;

        border-width: 2px;

    }

    

    .video-btn i {

        font-size: 20px;

        margin-left: 2px;

    }

    

    .video-btn:hover i {

        font-size: 22px;

    }

}



/* Landscape orientation adjustments */

@media (max-width: 768px) and (orientation: landscape) {

    .video-controls {

        /* Keep above floating buttons in landscape */

        bottom: 100px;

        right: 20px;

    }

    

    .video-btn {

        width: 55px;

        height: 55px;

    }

    

    .video-btn i {

        font-size: 22px;

    }

}



/* High DPI / Retina displays */

@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {

    .video-btn {

        border-width: 1.5px;

    }

}



/* Video Modal */

.video-modal {

    position: fixed;

    top: 0;

    left: 0;

    width: 100%;

    height: 100%;

    background-color: rgba(0, 0, 0, 0.9);

    z-index: 1000;

    display: none;

    align-items: center;

    justify-content: center;

}



.video-modal.active {

    display: flex;

    animation: fadeIn 0.3s ease;

}



.modal-content {

    position: relative;

    width: 90%;

    max-width: 1000px;

    aspect-ratio: 16/9;

}



.modal-content video {

    width: 100%;

    height: 100%;

    object-fit: cover;

    border-radius: 8px;

    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);

}



.close-modal {

    position: absolute;

    top: -40px;

    right: -40px;

    width: 40px;

    height: 40px;

    border-radius: 50%;

    background: rgba(255, 255, 255, 0.2);

    border: none;

    color: white;

    font-size: 20px;

    display: flex;

    align-items: center;

    justify-content: center;

    cursor: pointer;

    transition: all 0.3s ease;

}



.close-modal:hover {

    background: rgba(255, 255, 255, 0.4);

    transform: rotate(90deg);

}



/* Responsive adjustments */

@media (max-width: 768px) {



    .video-controls {

        bottom: 80px; 

        right: 20px;

    }

    

    .video-btn {

        width: 50px;

        height: 50px;

    }

    

    .close-modal {

        top: -30px;

        right: -30px;

        width: 30px;

        height: 30px;

    }

    

    .hero-section {

        min-height: 100vh;

    }

    

    .hero-content-inner {

        margin-top: 40px;

        padding-top: 20px;

    }

    

    .hero-content {

        padding-bottom: 120px; 

    }

    

    .hero-cta {

        margin-bottom: 2rem;

    }

    

    .hero-features {

        margin-bottom: 2rem;

    }



}



@media (min-width: 1200px) {



    .hero-content {

        padding-bottom: 180px; 

    }

}



/* Adjust services section to avoid any gap */

.services-section {

    position: relative;

    z-index: 0; 

    /* Removed conflicting margin-top: -1px that was overriding services-section.css */

}



.hero-title {

    font-size: 2rem;

    font-weight: 600;

    margin-bottom: 1rem;

    color: #ffffff;

    position: relative;

    display: inline-block;

    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5); /* Add text shadow for better readability */

    letter-spacing: 0.5px;

    line-height: 1.2;

}



.hero-title::after {

    content: '';

    position: absolute;

    bottom: -0.5rem;

    left: 50%;

    transform: translateX(-50%);

    width: 80px;

    height: 3px;

    background: #FEB800;

    border-radius: 3px;

    box-shadow: 0 2px 5px rgba(254, 184, 0, 0.5);

}



.hero-subtitle {

    font-size: 1rem;

    background-color: rgba(0, 0, 0, 0.3);

    backdrop-filter: blur(10px);

    padding: 1rem 1.5rem;

    border-radius: 0.75rem;

    display: inline-block;

    margin-bottom: 4rem;

        margin-top: 1rem;

    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);

    border: 1px solid rgba(255, 255, 255, 0.05);

    font-weight: 400;

    letter-spacing: 0.5px;

    line-height: 1.5;

    max-width: 60%;

}



.hero-cta {

    display: flex;

    flex-wrap: wrap;

    gap: 1.25rem;

    justify-content: center;

    margin-top: 2.5rem;

    margin-bottom: 3.5rem; 

    position: relative;

    z-index: 5; 

}



.hero-cta-buttons {

    display: flex;

    flex-wrap: wrap;

    justify-content: center;

    gap: 1.5rem; /* 24px */

    margin-top: 2.5rem; /* 40px */

    margin-bottom: 2.5rem; 

    /* animation: fadeInUp 1s ease-out 0.8s; /* Optional: if you want same animation */

    /* animation-fill-mode: backwards; */

}



.primary-button {

    display: inline-block;

    padding: 1.1rem 2.5rem;

    background: linear-gradient(to right, #EAB308, #F97316);

    color: #000000;

    font-weight: 700;

    font-size: 1.125rem;

    border-radius: 9999px;

    transition: all 0.3s ease;

    box-shadow: 0 4px 15px rgba(234, 179, 8, 0.3);

    position: relative;

    overflow: hidden;

    z-index: 1;

    animation-fill-mode: backwards;

}



.primary-button::before {

    content: '';

    position: absolute;

    top: 0;

    left: 0;

    width: 0%;

    height: 100%;

    background: linear-gradient(to right, #F97316, #EAB308);

    transition: all 0.5s ease;

    z-index: -1;

}



.primary-button:hover {

    color: #000000;

    transform: translateY(-3px);

    box-shadow: 0 8px 25px rgba(234, 179, 8, 0.4);

}



.primary-button:hover::before {

    width: 100%;

}



.secondary-button {

    display: inline-block;

    padding: 1.1rem 2.5rem;

    background-color: rgba(255, 255, 255, 0.08);

    backdrop-filter: blur(10px);

    color: #ffffff;

    font-weight: 600;

    font-size: 1.125rem;

    border-radius: 9999px;

    transition: all 0.3s ease;

    border: 1px solid rgba(255, 255, 255, 0.2);

}



.secondary-button:hover {

    background-color: rgba(255, 255, 255, 0.15);

    transform: translateY(-3px);

    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);

    border-color: rgba(255, 255, 255, 0.3);

}



.hero-features {

    display: flex;

    flex-wrap: wrap;

    justify-content: center;

    gap: 1.5rem;

    margin-top: 2.5rem; /* Reduced from 3.5rem */

    margin-bottom: 6rem; 

    position: relative;

    z-index: 5; 

}



.feature-item {

    display: flex;

    align-items: center;

    gap: 0.75rem;

    padding: 0.75rem 1.5rem;

    background-color: rgba(0, 0, 0, 0.4);

    backdrop-filter: blur(10px);

    border-radius: 9999px;

    transition: all 0.3s ease;

    cursor: pointer;

    border: 1px solid rgba(255, 255, 255, 0.05);

    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);

    animation: fadeInUp 0.6s ease-out forwards;

    opacity: 0;

    transform: translateY(20px);

}



.feature-item:nth-child(1) {

    animation-delay: 0.3s;

}



.feature-item:nth-child(2) {

    animation-delay: 0.5s;

}



.feature-item:nth-child(3) {

    animation-delay: 0.7s;

}



.feature-item:hover {

    background-color: rgba(0, 0, 0, 0.5);

    transform: translateY(-3px) scale(1.05);

    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);

    border-color: rgba(255, 255, 255, 0.15);

}



.feature-item i {

    font-size: 1.25rem;

    color: #EAB308;

    filter: drop-shadow(0 0 5px rgba(234, 179, 8, 0.5));

}



.feature-item span {

    font-weight: 500;

    letter-spacing: 0.3px;

}



@keyframes fadeIn {

    from {

        opacity: 0;

        transform: translateY(20px);

    }

    to {

        opacity: 1;

        transform: translateY(0);

    }

}



@keyframes fadeInUp {

    0% {

        opacity: 0;

        transform: translateY(20px);

    }

    100% {

        opacity: 1;

        transform: translateY(0);

    }

}



@media (min-width: 768px) {

    .hero-title {

        font-size: 4rem;

        margin-bottom: 2rem;

    }

    

    .hero-subtitle {

        font-size: 1.35rem;

        margin-bottom: 2.5rem;

    }

}



@media (min-width: 1024px) {

    .hero-title {

        font-size: 4rem;

    }

}



/* Small mobile devices (320px to 480px) */

@media (max-width: 480px) {

    .hero-section {

        min-height: 120vh; 

    }

    

    .hero-content {

        padding-top: calc(var(--header-scrolled-height, 70px) + 3rem); /* Reduced to create more space for buttons */

        padding-bottom: 200px; /* Increased from 120px to 200px to ensure buttons are fully visible */

    }

    

    .hero-content-inner {

        margin-top: 40px; /* Increased from 30px to 40px */

        padding-top: 30px; /* Increased from 20px to 30px */

    }

    

    .hero-title {

        font-size: 2.2rem;

        margin-bottom: 1rem;

    }

    

    .hero-subtitle {

        font-size: 1.1rem;

        padding: 0.8rem 1.2rem;

        margin-bottom: 1.5rem;

    }



}



/* Medium mobile devices (481px to 768px) */

@media (min-width: 481px) and (max-width: 768px) {

    .hero-section {

        min-height: 115vh; 

    }

    

    .hero-content {

        padding-top: calc(var(--header-scrolled-height, 70px) + 4rem); /* Reduced to create more space for buttons */

        padding-bottom: 220px; /* Increased from 140px to 220px to ensure buttons are fully visible */

    }

    

    .hero-content-inner {

        margin-top: 50px; /* Increased from 40px to 50px */

        padding-top: 40px; /* Increased from 30px to 40px */

    }

    

    .hero-title {

        font-size: 2.8rem;

        margin-bottom: 1.3rem;

    }

    

    .hero-subtitle {

        font-size: 1.2rem;

        padding: 0.9rem 1.4rem;

        margin-bottom: 1.8rem;

    }



}



/* Tablets and small laptops (769px to 992px) */

@media (min-width: 769px) and (max-width: 992px) {

    .hero-content {

        padding-top: calc(var(--header-height, 80px) + 10rem); /* Increased from 7rem to 10rem for better spacing */

        padding-bottom: 130px; 

    }

    

    .hero-content-inner {

        margin-top: 60px; /* Increased from 50px to 60px */

        padding-top: 45px; /* Increased from 35px to 45px */

    }

    

    .hero-title {

        font-size: 3.5rem;

        margin-bottom: 1.5rem;

    }

    

    .hero-subtitle {

        font-size: 1.3rem;

        padding: 1rem 1.5rem;

        margin-bottom: 2rem;

    }



}



/* Final Video Controls Override - Ensure proper positioning above floating social buttons */

.hero-section .video-controls,

body .video-controls,

section .video-controls {

    position: fixed !important;

    bottom: 200px !important;

    right: 30px !important;

    top: auto !important;

    left: auto !important;

    transform: none !important;

    z-index: 100 !important;

}



/* Mobile overrides for video controls */

@media (max-width: 768px) {

    .hero-section .video-controls,

    body .video-controls,

    section .video-controls {

        bottom: 140px !important;

        right: 20px !important;

    }

}



@media (max-width: 480px) {

    .hero-section .video-controls,

    body .video-controls,

    section .video-controls {

        bottom: 120px !important;

        right: 15px !important;

    }

}



@media (max-width: 360px) {

    .hero-section .video-controls,

    body .video-controls,

    section .video-controls {

        bottom: 100px !important;

        right: 10px !important;

    }

}