/* ===== CSS RESET & BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #1976d2;
    --primary-dark: #0d47a1;
    --secondary-color: #ff6f00;
    --text-color: #333;
    --text-light: #666;
    --bg-light: #f5f7fa;
    --white: #ffffff;
    --border-color: #e0e0e0;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 5px 25px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
    --container-width: 1200px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-color);
    background: var(--white);
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
}

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

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 20px;
    color: var(--text-color);
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 50px;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 15px;
    color: var(--text-light);
}

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

a:hover {
    color: var(--primary-dark);
}

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

ul {
    list-style: none;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

.btn-primary {
    display: inline-block;
    padding: 14px 32px;
    background: var(--secondary-color);
    color: var(--white);
    border-radius: 5px;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background: #e65100;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.material-icons {
    vertical-align: middle;
    font-size: 24px;
}

/* ===== HEADER & NAVIGATION ===== */
.header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
}


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

.logo img {
    height: 60px;
    width: auto;
    transition: var(--transition);
}

.nav-menu {
    display: flex;
    gap: 40px;
    align-items: center;
}

.nav-menu li a {
    color: var(--white);
    font-weight: 600;
    font-size: 1.05rem;
    padding: 8px 0;
    position: relative;
    transition: var(--transition);
}


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

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

.mobile-menu-toggle {
    display: none;
    color: var(--white);
}

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

/* ===== HERO SECTION ===== */
.hero {
    min-height: 100vh;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    padding: 130px 0 30px;
    position: relative;
}

.hero-content {
    text-align: center;
    color: var(--white);
    margin: 0 auto 40px;
}

.hero h1 {
    color: var(--white);
    font-size: 3rem;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
    margin-bottom: 15px;
}

.hero-description {
    font-size: 1.15rem;
    color: var(--white);
    margin-bottom: 15px;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.3);
    line-height: 1.7;
}

.hero-benefits {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.15);
    padding: 12px 24px;
    border-radius: 50px;
    backdrop-filter: blur(10px);
    font-weight: 600;
    color: var(--white);
}

.benefit-item .material-icons {
    color: var(--secondary-color);
}

.search-widget {
    box-shadow: var(--shadow-lg);
    margin: 0 auto;
}

.search-widget iframe {
  border-radius: 15px;
}

/* ===== HOW TO RENT SECTION ===== */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.step-item {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
    position: relative;
}

.step-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.step-number {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
}

.step-icon {
    font-size: 64px;
    color: var(--secondary-color);
    margin: 20px 0;
}

.step-item h3 {
    margin-bottom: 15px;
    color: var(--text-color);
}

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

/* ===== SERVICES SECTION ===== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.service-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.service-icon {
    font-size: 72px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.service-card h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

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

/* ===== WHY RENT SECTION ===== */
.why-rent-content {
    margin: 0 auto;
}

.why-rent-content > p {
    font-size: 1.05rem;
    margin-bottom: 25px;
    text-align: justify;
}

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

.benefit-box {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    background: var(--white);
    padding: 25px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.benefit-box:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.benefit-box .material-icons {
    font-size: 48px;
    color: var(--primary-color);
    flex-shrink: 0;
}

.benefit-box h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.benefit-box p {
    font-size: 0.9rem;
    margin: 0;
}

/* ===== PRICING SECTION ===== */
.pricing-intro {
    margin: 0 auto 50px;
}

.pricing-intro p {
    font-size: 1.05rem;
    margin-bottom: 30px;
}

.pricing-intro h3 {
    margin-top: 40px;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.savings-tips {
    display: grid;
    gap: 15px;
}

.savings-tips li {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 20px;
    background: var(--white);
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.savings-tips .material-icons {
    color: var(--secondary-color);
    flex-shrink: 0;
}

.price-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.price-card {
    background: var(--white);
    padding: 20px 15px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
}

.price-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border: 2px solid var(--primary-color);
}

.price-card .material-icons {
    font-size: 64px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.price-card h3 {
    margin-bottom: 15px;
    font-size: 1.3rem;;
}

.price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin: 20px 0;
}

.price-card .description {
    font-size: 0.9rem;
    color: var(--text-light);
}

.pricing-table-section {
    margin-top: 60px;
}

.pricing-table-section h3 {
    text-align: center;
    margin-bottom: 30px;
    color: var(--primary-color);
}

.table-responsive {
    overflow-x: auto;
}

.pricing-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.pricing-table thead {
    background: var(--primary-color);
    color: var(--white);
}

.pricing-table th,
.pricing-table td {
    padding: 18px 20px;
    text-align: left;
}

.pricing-table th {
    font-weight: 600;
    font-size: 0.95rem;
}

.pricing-table tbody tr {
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition);
}

.pricing-table tbody tr:hover {
    background: var(--bg-light);
}

.pricing-table td {
    font-size: 0.95rem;
}

/* ===== REVIEWS SECTION ===== */
.overall-rating {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    margin-bottom: 50px;
    padding: 40px;
    background: var(--white);
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.rating-score {
    font-size: 4rem;
    font-weight: 700;
    color: var(--secondary-color);
}

.rating-details {
    text-align: left;
}

.stars {
    margin-bottom: 10px;
}

.stars .material-icons {
    color: #ffc107;
    font-size: 28px;
}

.rating-details p {
    font-size: 1rem;
    margin: 0;
}

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

.review-card {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.review-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 10px;
}

.reviewer-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.avatar-icon {
    font-size: 48px;
    color: var(--primary-color);
}

.reviewer-info h4 {
    margin: 0;
    font-size: 1.1rem;
}

.reviewer-location {
    font-size: 0.85rem;
    color: var(--text-light);
    margin: 0;
}

.review-rating {
  margin-bottom: 10px;
}

.review-rating .material-icons {
    color: #ffc107;
    font-size: 20px;
}

.review-text {
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 15px;
    color: var(--text-color);
}

.review-date {
    font-size: 0.85rem;
    color: var(--text-light);
    margin: 0;
}

/* ===== TRAFFIC RULES SECTION ===== */
.traffic-main {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
    background: var(--white);
    padding: 40px;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.traffic-main .section-icon {
    font-size: 72px;
    color: var(--primary-color);
    flex-shrink: 0;
}

.traffic-content p {
    font-size: 1.05rem;
    margin-bottom: 20px;
}

.traffic-list {
    list-style: none;
}

.traffic-list li {
    padding: 12px 0 12px 30px;
    position: relative;
    font-size: 0.95rem;
}

.traffic-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: 700;
}

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

.traffic-card {
    background: var(--white);
    padding: 35px 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.traffic-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.traffic-card .material-icons {
    font-size: 56px;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.traffic-card h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.traffic-card p {
    font-size: 0.95rem;
}

/* ===== POPULAR PLACES SECTION ===== */
.places-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 35px;
}

.place-card {
    background: var(--white);
    padding: 35px 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.place-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.place-icon {
    font-size: 56px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.place-card h3 {
    color: var(--primary-color);
    margin-bottom: 12px;
}

.place-card p {
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.place-info {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-light);
    font-size: 0.9rem;
    padding-top: 15px;
    border-top: 1px solid var(--border-color);
    margin-top: auto;
}

.place-info .material-icons {
    color: var(--secondary-color);
    font-size: 20px;
}

/* ===== TOP CARS SECTION ===== */
.cars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
}

.car-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
}

.car-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.car-card.featured {
    border: 3px solid var(--secondary-color);
}

.popular-badge {
    position: absolute;
    top: 20px;
    right: -35px;
    background: var(--secondary-color);
    color: var(--white);
    padding: 8px 45px;
    font-size: 0.85rem;
    font-weight: 600;
    transform: rotate(45deg);
    z-index: 10;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.car-image {
    width: 100%;
    height: 220px;
    overflow: hidden;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.car-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.car-card h3 {
    padding: 25px 30px 10px;
    margin: 0;
    font-size: 1.6rem;
    color: var(--primary-color);
}

.car-category {
    padding: 0 30px;
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.car-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    padding: 0 30px 25px;
}

.feature {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
}

.feature .material-icons {
    color: var(--primary-color);
    font-size: 22px;
}

.car-price {
    padding: 20px 30px;
    background: var(--bg-light);
    font-size: 1.1rem;
    text-align: center;
}

.car-price strong {
    font-size: 1.8rem;
    color: var(--secondary-color);
}

.car-card .btn-primary {
    width: calc(100% - 60px);
    margin: 0 30px 30px;
}

/* ===== MODAL ===== */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
}

.modal.active {
    display: flex;
}

.modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
}

.modal-content {
    position: relative;
    background: var(--white);
    border-radius: 15px;
    max-width: 900px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    padding: 40px;
    z-index: 10;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    z-index: 11;
}

.modal-close:hover {
    background: var(--primary-color);
    color: var(--white);
}

.modal-content h2 {
    margin-bottom: 30px;
    text-align: center;
}

/* ===== FAQ SECTION ===== */
.faq-list {
    margin: 0 auto;
  display: grid;
  grid-template-columns: auto auto;
  gap: 0px 20px;
}

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

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 30px;
    text-align: left;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-color);
    cursor: pointer;
    transition: var(--transition);
}

.faq-question:hover {
    background: var(--bg-light);
}

.faq-question .material-icons {
    color: var(--primary-color);
    transition: var(--transition);
    font-size: 28px;
}

.faq-item.active .faq-question .material-icons {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 0 30px 25px;
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--text-color);
    color: var(--white);
}

.footer-locations {
    padding: 60px 0;
    background: var(--primary-dark);
}

.footer-locations h2 {
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
}

.footer-locations .material-icons {
    font-size: 32px;
}

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

.locations-grid ul {
    list-style: none;
}

.locations-grid li {
    margin-bottom: 12px;
}

.locations-grid a {
    color: var(--white);
    font-size: 0.95rem;
    transition: var(--transition);
}

.locations-grid a:hover {
    color: var(--secondary-color);
    padding-left: 5px;
}

.locations-grid li:not(:has(a)) {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

.footer-main {
    padding: 40px 0;
}

.footer-content {
    text-align: center;
}

.copyright {
    font-size: 0.95rem;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.9);
}

.footer-text {
    max-width: 800px;
    margin: 0 auto 30px;
    font-size: 0.9rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.8);
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--white);
    font-size: 0.95rem;
    transition: var(--transition);
}

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

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 992px) {
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .section {
        padding: 60px 0;
    }

    .steps-grid,
    .services-grid,
    .price-categories,
    .traffic-grid,
    .cars-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 30px;
    }

    .places-grid,
    .reviews-grid {
        grid-template-columns: 1fr;
    }

    .benefits-list {
        grid-template-columns: 1fr;
    }

    .locations-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }

    .nav-menu {
        position: fixed;
        top: 90px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 90px);
        background: var(--white);
        flex-direction: column;
        padding: 40px 20px;
        box-shadow: var(--shadow-lg);
        transition: left 0.3s ease;
        gap: 20px;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li a {
        color: var(--text-color);
        font-size: 1.2rem;
    }

    .hero {
        padding: 120px 0 60px;
        min-height: auto;
    }

    .hero h1 {
        font-size: 1.8rem;
    }

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

    .hero-benefits {
        flex-direction: column;
        gap: 15px;
    }

    .benefit-item {
        width: 100%;
        justify-content: center;
    }

    .search-widget {
        padding: 0px;
    }

    .overall-rating {
        flex-direction: column;
        text-align: center;
    }

    .car-image img { 
      object-fit: contain;
    }

    .faq-list {
      display: block;
    }

    .rating-details {
        text-align: center;
    }

    .traffic-main {
        flex-direction: column;
        text-align: center;
    }

    .pricing-table {
        font-size: 0.85rem;
    }

    .pricing-table th,
    .pricing-table td {
        padding: 12px 10px;
    }

    .modal-content {
        width: 95%;
        padding: 30px 20px;
    }

    .car-features {
        grid-template-columns: 1fr;
    }

    .locations-grid {
        grid-template-columns: 1fr;
    }

    h1 {
        font-size: 1.75rem;
    }

    h2 {
        font-size: 1.5rem;
        margin-bottom: 35px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .section {
        padding: 40px 0;
    }

    .hero h1 {
        font-size: 1.5rem;
    }

    .hero-description {
        font-size: 0.95rem;
    }

    .steps-grid,
    .services-grid,
    .price-categories,
    .traffic-grid,
    .cars-grid {
        grid-template-columns: 1fr;
    }

    .step-item,
    .service-card,
    .price-card,
    .traffic-card,
    .car-card {
        padding: 30px 20px;
    }

    .rating-score {
        font-size: 3rem;
    }

    .review-card {
        padding: 20px;
    }

    .table-responsive {
        font-size: 0.8rem;
    }

    .footer-locations h2 {
        font-size: 1.3rem;
    }
}
