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

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
}

/* Header Styles */
.navbar {
    background: #000 !important;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    color: #fff !important;
}

.nav-link {
    color: #fff !important;
    font-weight: 500;
    margin: 0 10px;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #ffc107 !important;
}

.navbar-toggler {
    border: none;
    padding: 0;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.75%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='m4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Floating Share Button Styling */
.floating-share-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 9999;
}

.floating-share-btn .share-btn {
  display: block;
  margin: 10px 0;
  background-color: transparent;
  border-radius: 50%;
  width: 45px;
  height: 45px;
  transition: transform 0.3s ease;
}

.floating-share-btn .share-btn:hover {
  transform: scale(1.1);
}

.floating-share-btn .whatsapp img,
.floating-share-btn .facebook img,
.floating-share-btn .twitter img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
}

.floating-share-btn .whatsapp {
  background-color: #25D366;
}

.floating-share-btn .facebook {
  background-color: #3b5998;
}

.floating-share-btn .twitter {
  background-color: #1DA1F2;
}


/* Mobile navigation improvements */
@media (max-width: 991px) {
    .navbar-collapse {
        background: rgba(0, 0, 0, 0.95);
        margin-top: 1rem;
        padding: 1rem;
        border-radius: 10px;
    }

    .nav-link {
        padding: 0.75rem 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-link:last-child {
        border-bottom: none;
    }
}

/* Hero Section */
.hero-section {
    height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
        url('https://images.unsplash.com/photo-1449824913935-59a10b8d2000?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    position: relative;
    min-height: 500px;
}

/* Mobile hero background */
@media (max-width: 768px) {
    .hero-section {
        background-attachment: scroll;
        background-position: center center;
    }
}

.hero-content {
    text-align: center;
    color: white;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease 0.2s both;
}

.hero-buttons {
    animation: fadeInUp 1s ease 0.4s both;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.btn-hero {
    padding: 12px 30px;
    margin: 0 10px;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.btn-call {
    background: #026c1a;
    border: 2px solid #067831;
    color: white;
}

.btn-call:hover {
    background: transparent;
    color: #28a745;
}

.btn-whatsapp {
    background: #1d6438;
    border: 2px solid #25d366;
    color: white;
}

.btn-whatsapp:hover {
    background: transparent;
    color: #25d366;
}

/* Section Styles */
.section {
    padding: 80px 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    color: #333;
}

.section-subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 4rem;
    font-size: 1.1rem;
}

/* About Section */
.about-section {
    background: #f8f9fa;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.about-text h3 {
    color: #333;
    margin-bottom: 1.5rem;
}

.about-text p {
    color: #666;
    margin-bottom: 1rem;
}

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

/* Services Section */
.service-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

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

.service-icon {
    font-size: 3rem;
    color: #ffc107;
    margin-bottom: 1rem;
}

/* Gallery Section */
.gallery-section {
    background: #f8f9fa;
}

.filter-buttons {
    text-align: center;
    margin-bottom: 3rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.filter-btn {
    background: transparent;
    border: 2px solid #ffc107;
    color: #333;
    padding: 10px 25px;
    margin: 0 5px;
    border-radius: 25px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.filter-btn.active,
.filter-btn:hover {
    background: #a97e00;
    color: white;
}

.car-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, opacity 0.3s ease;
    margin-bottom: 2rem;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.car-item {
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.car-card:hover {
    transform: translateY(-5px);
}

.car-image {
    height: 200px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.car-price {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #ffc107;
    color: black;
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: 600;
}

.car-rating {
    position: absolute;
    bottom: 15px;
    left: 15px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 0.9rem;
}

.car-details {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.car-name {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.car-features {
    color: #666;
    margin-bottom: 1rem;
}

.pricing-details {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 10px;
    margin-top: 15px;
    border-left: 4px solid #ffc107;
}

.pricing-details p {
    margin-bottom: 8px;
    font-size: 13px;
    color: #555;
    line-height: 1.4;
}

.pricing-details p:last-child {
    margin-bottom: 0;
}

.pricing-details strong {
    color: #333;
}

.night-charge {
    color: #28a745;
    font-weight: 600;
}

/* Why Choose Us Section */
.why-choose-section {
    background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)),
        url('https://images.unsplash.com/photo-1503376780353-7e6692767b70?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
}

/* Mobile why choose us background */
@media (max-width: 768px) {
    .why-choose-section {
        background-attachment: scroll;
        background-position: center center;
    }
}

.why-choose-section .section-title {
    color: white;
}

.feature-item {
    text-align: center;
    margin-bottom: 2rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.feature-icon {
    font-size: 3rem;
    color: #ffc107;
    margin-bottom: 1rem;
}

/* Contact Section */
.contact-info {
    background: #333;
    color: white;
    padding: 2rem;
    border-radius: 15px;
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.contact-icon {
    font-size: 1.5rem;
    color: #ffc107;
    margin-right: 1rem;
    width: 40px;
}

/* Review card responsive improvements */
.review-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.review-text {
    flex-grow: 1;
}

/* Contact form responsive improvements */
.contact-form .form-control {
    margin-bottom: 1rem;
}

.contact-form .btn {
    width: 100%;
    margin-top: 1rem;
}

/* Footer */
.footer {
    background: #222;
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.social-links a {
    color: white;
    font-size: 1.5rem;
    margin: 0 10px;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: #ffc107;
}

.footer-bottom {
    border-top: 1px solid #444;
    padding-top: 1rem;
    text-align: center;
    color: #999;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */

/* Large devices (desktops, 1200px and up) */
@media (min-width: 1200px) {
    .hero-title {
        font-size: 4rem;
    }

    .section-title {
        font-size: 3rem;
    }

    .container {
        max-width: 1140px;
    }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 1199px) {
    .hero-title {
        font-size: 3rem;
    }

    .section-title {
        font-size: 2.5rem;
    }

    .hero-buttons .btn {
        margin: 5px;
    }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero-buttons .btn {
        margin: 5px 0;
        width: 200px;
    }

    .about-content {
        flex-direction: column;
    }

    .service-card {
        margin-bottom: 2rem;
    }

    .car-card {
        margin-bottom: 2rem;
    }

    .filter-buttons {
        flex-wrap: wrap;
        justify-content: center;
    }

    .filter-btn {
        margin: 5px;
        font-size: 0.9rem;
        padding: 8px 20px;
    }
}

/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 575px) {
    .hero-title {
        font-size: 2rem;
        line-height: 1.2;
    }

    .hero-subtitle {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
    }

    .section-title {
        font-size: 1.8rem;
        margin-bottom: 2rem;
    }

    .section-subtitle {
        font-size: 1rem;
        margin-bottom: 3rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero-buttons .btn {
        margin: 5px 0;
        width: 180px;
        font-size: 0.9rem;
        padding: 10px 20px;
    }

    .about-content {
        flex-direction: column;
    }

    .about-text h3 {
        font-size: 1.5rem;
    }

    .about-text p {
        font-size: 0.9rem;
    }

    .service-card {
        margin-bottom: 2rem;
        padding: 1.5rem;
    }

    .service-icon {
        font-size: 2.5rem;
    }

    .service-card h4 {
        font-size: 1.2rem;
    }

    .service-card p {
        font-size: 0.9rem;
    }

    .car-card {
        margin-bottom: 2rem;
    }

    .car-details {
        padding: 1rem;
    }

    .car-name {
        font-size: 1.1rem;
    }

    .car-features {
        font-size: 0.9rem;
    }

    .filter-buttons {
        flex-wrap: wrap;
        justify-content: center;
        gap: 5px;
    }

    .filter-btn {
        margin: 3px;
        font-size: 0.8rem;
        padding: 6px 15px;
        min-width: 80px;
    }

    .review-card {
        padding: 1.5rem !important;
        margin-bottom: 1.5rem;
    }

    .review-text {
        font-size: 0.9rem;
    }

    .contact-info {
        padding: 1.5rem;
        margin-bottom: 2rem;
    }

    .contact-item {
        margin-bottom: 1rem;
    }

    .contact-icon {
        font-size: 1.2rem;
        width: 30px;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .social-links a {
        font-size: 1.2rem;
        margin: 0 8px;
    }

    .navbar-brand {
        font-size: 1.2rem;
    }

    .nav-link {
        font-size: 0.9rem;
        margin: 0 5px;
    }
}

/* Ultra small devices (very small phones) */
@media (max-width: 375px) {
    .hero-title {
        font-size: 1.8rem;
    }

    .hero-subtitle {
        font-size: 0.8rem;
    }

    .section-title {
        font-size: 1.6rem;
    }

    .hero-buttons .btn {
        width: 160px;
        font-size: 0.8rem;
        padding: 8px 15px;
    }

    .filter-btn {
        font-size: 0.7rem;
        padding: 5px 12px;
        min-width: 70px;
    }

    .car-price {
        font-size: 0.8rem;
        padding: 3px 10px;
    }

    .car-rating {
        font-size: 0.8rem;
        padding: 3px 8px;
    }
}

/* Landscape orientation adjustments */
@media (max-height: 500px) and (orientation: landscape) {
    .hero-section {
        height: 100vh;
        min-height: 400px;
    }

    .hero-title {
        font-size: 2rem;
        margin-bottom: 0.5rem;
    }

    .hero-subtitle {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }

    .hero-buttons .btn {
        padding: 8px 20px;
        font-size: 0.9rem;
    }
}

/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2),
(min-resolution: 192dpi) {
    .car-image {
        background-size: cover;
    }
}

/* Touch-friendly improvements for mobile */
@media (max-width: 768px) {
    .btn {
        min-height: 44px;
        min-width: 44px;
    }

    .filter-btn {
        min-height: 44px;
    }

    .nav-link {
        min-height: 44px;
        display: flex;
        align-items: center;
    }

    .car-card {
        cursor: pointer;
    }

    .service-card {
        cursor: pointer;
    }
}

/* Print styles */
@media print {

    .navbar,
    .hero-buttons,
    .filter-buttons,
    .footer {
        display: none !important;
    }

    .hero-section {
        height: auto;
        background: none !important;
        color: black !important;
    }

    .section {
        padding: 20px 0;
    }
}