/* Import a modern font */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap');

:root {
    --primary-color: #005A9C;
    --secondary-color: #007BFF;
    --dark-color: #232931;
    --light-color: #FFFFFF;
    --grey-color: #F4F4F4;
    --box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    --navbar-height: 90px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'Poppins', sans-serif; line-height: 1.6; background-color: var(--light-color); color: var(--dark-color); padding-top: var(--navbar-height); }
body.no-scroll { overflow: hidden; }
.container { max-width: 1200px; margin: auto; padding: 0 2rem; }
a { text-decoration: none; color: var(--primary-color); }

/* --- THE FINAL NAVBAR --- */
.navbar { position: fixed; top: 0; left: 0; width: 100%; z-index: 1000; padding: 1.5rem 0; transition: background-color 0.4s ease, padding 0.4s ease, box-shadow 0.4s ease; background-color: transparent; box-shadow: none; height: var(--navbar-height); }
.navbar.scrolled { background-color: var(--light-color); padding: 1rem 0; box-shadow: 0 2px 10px rgba(0,0,0,0.1); }
.navbar-container { display: flex; justify-content: space-between; align-items: center; }
.logo { font-size: 1.8rem; font-weight: 700; color: var(--light-color); transition: color 0.4s ease; z-index: 1002; }
.navbar.scrolled .logo { color: var(--primary-color); }
.nav-links { list-style: none; display: flex; align-items: center; margin: 0; padding: 0; }
.nav-links li { margin: 0 15px; }
.nav-links a { color: var(--light-color); font-weight: 600; font-size: 1rem; padding-bottom: 5px; position: relative; transition: color 0.4s ease; }
.navbar.scrolled .nav-links a { color: var(--dark-color); }
.nav-links a::after { content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 2px; background-color: var(--secondary-color); transition: width 0.3s ease; }
.nav-links a:hover::after { width: 100%; }
.navbar.scrolled .nav-links a:hover { color: var(--secondary-color); }
.btn { display: inline-block; padding: 10px 25px; border-radius: 50px; font-weight: 600; transition: background-color 0.3s ease, transform 0.3s ease; text-decoration: none; border: none; cursor: pointer; }
.btn-primary { background-color: var(--secondary-color); color: var(--light-color); }
.btn-primary:hover { background: var(--primary-color); transform: translateY(-2px); }

/* Mobile Navigation */
.hamburger { display: none; cursor: pointer; z-index: 1002; }
.hamburger .bar { display: block; width: 25px; height: 3px; margin: 5px auto; background-color: var(--light-color); transition: all 0.3s ease-in-out; }
.navbar.scrolled .hamburger .bar { background-color: var(--dark-color); }
.mobile-nav { position: fixed; top: 0; left: 100%; width: 100%; height: 100vh; background-color: rgba(255, 255, 255, 0.98); backdrop-filter: blur(5px); display: flex; flex-direction: column; justify-content: center; align-items: center; transition: left 0.4s cubic-bezier(0.77, 0, 0.175, 1); z-index: 1001; }
.mobile-nav.active { left: 0; }
.mobile-nav a { color: var(--dark-color); font-size: 2rem; margin: 1.5rem 0; font-weight: 600; }
.mobile-nav a:hover { color: var(--secondary-color); }
.mobile-nav .mobile-cta { margin-top: 2rem; font-size: 1.5rem; }
.hamburger.active .bar { background-color: var(--dark-color); }
.hamburger.active .bar:nth-child(2) { opacity: 0; }
.hamburger.active .bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hamburger.active .bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* General Section Styles */
.section { padding: 5rem 0; }
.section-title { text-align: center; font-size: 2.5rem; margin-bottom: 3.5rem; color: var(--dark-color); }
.section-title-left { text-align: left; font-size: 2.5rem; margin-bottom: 2rem; color: var(--dark-color); }

/* --- PAGE HEADERS & HERO --- */
.hero { background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('/images/hero-background.jpg') no-repeat center center/cover; min-height: 100vh; color: var(--light-color); display: flex; justify-content: center; align-items: center; text-align: center; margin-top: calc(-1 * var(--navbar-height)); }
.page-header { background-color: var(--dark-color); color: var(--light-color); padding: 3rem 0; text-align: center; margin-top: calc(-1 * var(--navbar-height)); }
.hero-content h1, .page-header h1 { font-size: 3.8rem; margin-bottom: 1rem; text-shadow: 2px 2px 8px rgba(0,0,0,0.7); }
.hero-content p { font-size: 1.3rem; max-width: 600px; margin: 0 auto 2rem; text-shadow: 1px 1px 4px rgba(0,0,0,0.7); }
.hero-content .btn { background: var(--secondary-color); color: var(--light-color); font-size: 1.1rem; margin-top: 1rem; }
.hero-content .btn:hover { background: var(--primary-color); transform: translateY(-3px); }
.breadcrumbs a { color: var(--secondary-color); }
.breadcrumbs span { color: var(--light-color); }

/* --- CAR CARD & LISTINGS --- */
.car-listings { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 2rem; }
.car-card { background: var(--light-color); border: 1px solid #eef0f3; border-radius: 12px; box-shadow: 0 4px 20px rgba(0,0,0,0.05); overflow: hidden; transition: transform 0.3s ease, box-shadow 0.3s ease; display: flex; flex-direction: column; }
.car-card:hover { transform: translateY(-5px); box-shadow: 0 8px 25px rgba(0,0,0,0.1); }
.car-card img { width: 100%; height: 220px; object-fit: cover; border-radius: 12px 12px 0 0; }
.car-card-content { padding: 1.25rem; display: flex; flex-direction: column; flex-grow: 1; }
.car-card-content h3 { font-size: 1.4rem; font-weight: 700; color: var(--dark-color); margin-bottom: 1rem; }
.price-grid { margin-bottom: 1rem; border-top: 1px solid var(--grey-color); padding-top: 1rem; }
.price-grid p { display: flex; justify-content: space-between; font-size: 0.9rem; color: #6c757d; margin-bottom: 0.5rem; }
.price-grid p strong { font-weight: 700; font-size: 1rem; color: var(--primary-color); }
.car-features { display: flex; justify-content: space-around; padding: 1rem 0; font-size: 0.9rem; color: #6c757d; border-top: 1px solid var(--grey-color); margin-top: 1rem; }
.car-features span i { color: var(--primary-color); margin-right: 0.5rem; }
.card-buttons { display: flex; gap: 0.75rem; margin-top: 1.25rem; }
.card-buttons .btn { flex: 1; font-weight: 700; font-size: 0.95rem; padding: 12px 10px; border-radius: 8px; }
.btn-secondary { background-color: #f8f9fa; color: var(--dark-color); border: 1px solid #dee2e6; }
.btn-secondary:hover { background-color: #e9ecef; }
.btn-whatsapp { background-color: #25D366; color: white; }
.btn-whatsapp:hover { background-color: #1DAA54; }
.price-list { list-style: none; padding: 0; margin: 1.5rem 0; border: 1px solid #eee; border-radius: 8px; }
.price-list li { display: flex; justify-content: space-between; padding: 1rem; border-bottom: 1px solid #eee; }
.price-list li:last-child { border-bottom: none; }
.price-list li strong { color: #555; }
.price-list li span { font-size: 1.2rem; font-weight: 600; color: var(--primary-color); }
.car-detail-layout { display: grid; grid-template-columns: 2fr 1fr; gap: 3rem; align-items: flex-start; }
.car-detail-image img { width: 100%; border-radius: 10px; box-shadow: var(--box-shadow); }
.car-detail-info h1 { font-size: 2.5rem; margin-bottom: 1rem; }

/* === WHY CHOOSE US, ABOUT PAGE, ETC (RESTORED) === */
.why-choose-us-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; text-align: center; }
.feature-item { padding: 2.5rem 2rem; background: #fff; border: 1px solid #e0e0e0; border-radius: 10px; transition: transform 0.3s ease, box-shadow 0.3s ease; }
.feature-item:hover { transform: translateY(-5px); box-shadow: var(--box-shadow); }
.feature-item i { font-size: 3rem; color: var(--secondary-color); margin-bottom: 1.5rem; }
.feature-item h3 { font-size: 1.5rem; margin-bottom: 0.5rem; }
.two-column-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.column-text p { margin-bottom: 1rem; font-size: 1.1rem; color: #555; }
.column-image img { width: 100%; border-radius: 10px; box-shadow: var(--box-shadow); }
.mission-vision-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.mission-card, .vision-card { background-color: var(--light-color); padding: 2.5rem; border-radius: 10px; text-align: center; box-shadow: var(--box-shadow); }
.mission-card i, .vision-card i { font-size: 3rem; color: var(--secondary-color); margin-bottom: 1.5rem; }
.mission-card h3, .vision-card h3 { font-size: 1.8rem; margin-bottom: 1rem; }
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 2rem; }
.team-member-card { text-align: center; background-color: #fff; padding: 2.5rem 1.5rem; border-radius: 8px; box-shadow: 0 5px 20px rgba(0,0,0,0.07); border: 1px solid #eee; transition: transform 0.3s ease, box-shadow 0.3s ease; }
.team-member-card:hover { transform: translateY(-8px); box-shadow: 0 10px 25px rgba(0,0,0,0.1); }
.team-icon { width: 80px; height: 80px; margin: 0 auto 1.5rem auto; background-color: var(--secondary-color); color: var(--light-color); border-radius: 50%; display: flex; justify-content: center; align-items: center; font-size: 2.5rem; }
.team-member-card h4 { font-size: 1.5rem; margin-bottom: 0.25rem; color: var(--dark-color); }
.team-member-card p { color: #777; font-weight: 600; }
.contact-info-wrapper { max-width: 800px; margin: 0 auto; text-align: center; }
.contact-details { background-color: var(--grey-color); padding: 3rem; border-radius: 10px; text-align: left; }
.contact-item { display: flex; align-items: flex-start; gap: 1.5rem; margin-bottom: 2rem; }
.contact-item:last-child { margin-bottom: 0; }
.contact-item i { font-size: 1.8rem; color: var(--primary-color); margin-top: 5px; width: 30px; text-align: center; }
.contact-item strong { font-size: 1.2rem; display: block; margin-bottom: 0.25rem; }
.contact-item p { margin: 0; color: #555; font-size: 1.1rem; }
.contact-item a { color: var(--secondary-color); font-weight: 600; }

/* === CTA, REVIEWS, FAQ (STYLES RESTORED) === */
.cta-section { background: var(--primary-color); color: var(--light-color); text-align: center; padding: 4rem 1rem; }
.cta-section h2 { font-size: 2.5rem; margin-bottom: 1rem; }
.cta-section p { font-size: 1.2rem; margin-bottom: 2rem; max-width: 600px; margin-left: auto; margin-right: auto; }
.btn-light { background: var(--light-color); color: var(--primary-color); font-weight: 700; display: inline-block; padding: 12px 30px; border-radius: 50px; transition: background-color 0.3s ease, transform 0.3s ease; }
.btn-light:hover { background: var(--grey-color); color: var(--primary-color); transform: translateY(-3px); }
.reviews-section { background-color: var(--grey-color); padding-bottom: 6rem; overflow: hidden; }
.reviews-container { width: 100%; display: flex; white-space: nowrap; }
.reviews-track { display: flex; animation: scroll 40s linear infinite; }
.review-card { background: var(--light-color); min-width: 350px; margin: 0 1rem; padding: 2rem; border-radius: 10px; box-shadow: var(--box-shadow); display: flex; flex-direction: column; justify-content: space-between; }
.review-stars { color: #f8b400; margin-bottom: 1rem; font-size: 1.2rem; }
.review-card p { white-space: normal; flex-grow: 1; font-style: italic; color: #555; margin-bottom: 1rem; }
.review-author { font-weight: 600; color: var(--dark-color); text-align: right; }
@keyframes scroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
.faq-accordion { max-width: 800px; margin: 0 auto; border: 1px solid #e0e0e0; border-radius: 10px; overflow: hidden; }
.faq-item { border-bottom: 1px solid #e0e0e0; }
.faq-item:last-child { border-bottom: none; }
.faq-question { padding: 1.5rem; cursor: pointer; background: #fff; font-size: 1.2rem; font-weight: 600; margin: 0; position: relative; }
.faq-question::after { content: '+'; position: absolute; right: 1.5rem; font-size: 1.5rem; transition: transform 0.3s ease; }
.faq-item.active .faq-question::after { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; background: var(--grey-color); transition: max-height 0.3s ease, padding 0.3s ease; }
.faq-answer p { padding: 1.5rem; margin: 0; }
.faq-item.active .faq-answer { max-height: 200px; }
.map-section { padding: 0; line-height: 0; }
.booking-layout { display: grid; grid-template-columns: 2fr 1fr; gap: 3rem; align-items: flex-start; }
.booking-form-wrapper h3, .car-summary h3 { font-size: 1.8rem; margin-bottom: 1.5rem; padding-bottom: 0.5rem; border-bottom: 2px solid var(--grey-color); }
.booking-form .form-group { margin-bottom: 1.5rem; }
.booking-form label { display: block; margin-bottom: 0.5rem; font-weight: 600; }
.booking-form input { width: 100%; padding: 12px; border: 1px solid #ccc; border-radius: 5px; font-size: 1rem; }
.form-row { display: flex; gap: 1rem; }
.form-row .form-group { flex: 1; }
.car-summary .car-card { box-shadow: none; border: 1px solid #ddd; }
.confirmation-page .page-header p { font-size: 1.2rem; max-width: 600px; margin: 0.5rem auto 0; }
.confirmation-summary { max-width: 700px; margin: 0 auto; background: #fff; padding: 2.5rem; border-radius: 8px; box-shadow: var(--box-shadow); }
.confirmation-summary h2 { text-align: center; font-size: 2.2rem; margin-bottom: 2rem; }
.summary-section { margin-bottom: 2rem; padding-bottom: 2rem; border-bottom: 1px solid #eee; }
.summary-section:last-of-type { border-bottom: none; }
.summary-section h4 { font-size: 1.2rem; margin-bottom: 1.5rem; color: #555; }
.summary-car-item { display: flex; align-items: center; gap: 1rem; }
.summary-car-item img { width: 100px; border-radius: 5px; }
.summary-car-item strong { font-size: 1.2rem; }
.summary-car-item span { color: #777; }
.summary-item { display: flex; justify-content: space-between; align-items: center; padding: 0.5rem 0; }
.summary-item span { color: #777; }
.summary-item strong { font-size: 1.1rem; }
.summary-total { display: flex; justify-content: space-between; align-items: center; margin-top: 1.5rem; padding-top: 1.5rem; border-top: 2px solid var(--dark-color); }
.summary-total span { font-size: 1.2rem; font-weight: 600; }
.summary-total strong { font-size: 1.8rem; color: var(--secondary-color); }
.confirmation-note { text-align: center; margin-top: 2rem; color: #555; }
.confirmation-summary .btn { display: block; width: fit-content; margin: 2rem auto 0; }

/* --- FOOTER --- */
.site-footer { background-color: var(--dark-color); color: #a9a9a9; padding-top: 4rem; font-size: 0.95rem; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 2rem; padding-bottom: 3rem; }
.footer-column h4 { color: var(--light-color); font-size: 1.2rem; margin-bottom: 1.5rem; position: relative; }
.footer-column h4::after { content: ''; position: absolute; left: 0; bottom: -8px; height: 2px; width: 50px; background-color: var(--secondary-color); }
.footer-column p { margin-bottom: 1rem; line-height: 1.8; }
.footer-column ul { list-style: none; padding: 0; }
.footer-column ul li a { color: #a9a9a9; text-decoration: none; display: block; padding: 0.5rem 0; transition: color 0.3s ease, padding-left 0.3s ease; }
.footer-column ul li a:hover { color: var(--light-color); padding-left: 5px; }
.footer-column .social-links { display: flex; gap: 1rem; }
.social-links a { color: var(--light-color); background-color: #3b3b3b; width: 40px; height: 40px; display: flex; justify-content: center; align-items: center; border-radius: 50%; text-decoration: none; transition: background-color 0.3s ease, transform 0.3s ease; }
.social-links a:hover { background-color: var(--secondary-color); transform: translateY(-3px); }
.footer-column p i { margin-right: 0.5rem; color: var(--secondary-color); }
.footer-bottom-bar { background-color: var(--dark-color); padding: 1.5rem 0; text-align: center; border-top: 1px solid #3b3b3b; }
.footer-bottom-bar p { margin: 0; }
.map-section + .site-footer, main > .section:last-of-type + .site-footer { margin-top: 0; }

@media (max-width: 820px) {
    body { padding-top: 75px; }
    .hero { margin-top: -75px; }
    .nav-links, .nav-cta { display: none; }
    .hamburger { display: block; }
    .hero-content h1 { font-size: 2.8rem; }
    .two-column-layout, .mission-vision-grid, .booking-layout, .car-detail-layout { grid-template-columns: 1fr; }
    .column-image { order: -1; margin-bottom: 2rem; }
    .section-title-left { text-align: center; }
    .car-summary { margin-top: 3rem; }
}

/* Scroll Animation Styles */
.section.hidden { opacity: 0; transform: translateY(50px); transition: opacity 0.8s ease-out, transform 0.8s ease-out; }
.section.visible { opacity: 1; transform: translateY(0); }
/* =========================== */
/* === NEW BLOG PAGE STYLES === */
/* =========================== */
.blog-content {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.8;
}

.blog-logo {
    text-align: center;
    margin-bottom: 3rem;
}

.blog-logo img {
    max-width: 150px;
    height: auto;
}

.blog-content h2 {
    font-size: 2rem;
    margin-top: 3rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--grey-color);
}

.blog-content h3 {
    font-size: 1.5rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.blog-content ul {
    list-style: none;
    padding-left: 0;
}

.blog-content ul li {
    padding-left: 1.5rem;
    position: relative;
    margin-bottom: 0.75rem;
}

.blog-content ul li::before {
    content: '•';
    color: var(--secondary-color);
    font-weight: bold;
    display: inline-block;
    width: 1em;
    margin-left: -1.5em;
    position: absolute;
    top: 0;
}

.team-grid-detailed {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.team-member-detailed-card {
    background-color: var(--grey-color);
    padding: 1rem;
    border-radius: 5px;
    border-left: 4px solid var(--secondary-color);
}

.team-member-detailed-card h4 {
    margin: 0 0 0.25rem 0;
    font-size: 1.1rem;
    color: var(--dark-color);
}

.team-member-detailed-card span {
    font-size: 0.9rem;
    color: #555;
}

.keywords-section {
    margin-top: 2rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.keywords-section span {
    background-color: var(--grey-color);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.9rem;
    color: #555;
}
/* Stats Section */
.stats-section {
  background: #f9f9f9;
  padding: 60px 0;
  text-align: center;
}
.stats-section .container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  max-width: 1100px;
  margin: auto;
}
.stat h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-color, #005A9C);
  margin-bottom: 10px;
  transition: transform 0.3s ease;
}
.stat p {
  font-size: 1.1rem;
  color: #555;
}
.stat:hover h2 {
  transform: scale(1.1);
}
