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

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Page Transition Animations */
body {
    opacity: 1;
}

/* Smooth page exit transition */
.page-transition {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: white;
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.1s ease;
}

.page-transition.active {
    opacity: 1;
    pointer-events: all;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #cecece;
    padding: 1rem 2rem;
    position: relative;
}

/* Content fade-in animations */
header {
    opacity: 1;
}

main section {
    opacity: 1;
}

/* Grid items visible immediately */
.inventory-grid > *,
.car-grid > *,
.services-grid > *,
.benefits-grid > *,
.quick-info-grid > * {
    opacity: 1;
}

/* Reduce animation on mobile for performance */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

.nav-brand {
    font-size: 1.5rem;
    font-weight: bold;
    color: #333;
    z-index: 999;
}

.nav-container a {
    text-decoration: none;
}

.nav-link-container {
    display: flex;
}

.nav-link {
    margin-left: 1.5rem;
    font-size: 1.2rem;
    font-weight: 700;
    color: #333;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover {
    background-color: #e74c3c;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1002;
}

.hamburger .bar {
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 3px 0;
    transition: all 0.3s ease;
    border-radius: 3px;
}

.hamburger.active .bar:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active .bar:nth-child(2) {
    opacity: 0;
}

.hamburger.active .bar:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
}


.header-content {
    text-align: center;
    padding: 4rem 2rem;
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('images/output.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    min-height: 60vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.header-content h1 {
    font-size: 3.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.8),
                 0 0 20px rgba(0, 0, 0, 0.6);
    color: #fff;
    letter-spacing: 2px;
}

.header-content p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8),
                 0 0 15px rgba(0, 0, 0, 0.5);
    color: #fff;
    max-width: 700px;
}

.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    background-color: #e74c3c;
    color: white;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: bold;
    border-radius: 5px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    margin-bottom: 3rem;
}

.btn:hover {
    background-color: #c0392b;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5);
}

.features {
    display: flex;
    gap: 3rem;
    margin-top: 2rem;
    flex-wrap: wrap;
    justify-content: center;
}

.feature-item {
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 15px;
    padding: 2rem 3rem;
    text-align: center;
    transition: all 0.3s ease;
    min-width: 250px;
}

.feature-item:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.feature-item i {
    font-size: 3rem;
    color: #e74c3c;
    margin-bottom: 1rem;
    filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.5));
}

.feature-item h3 {
    font-size: 1.5rem;
    font-weight: bold;
    color: #fff;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.feature-detail {
    font-size: 1.2rem;
    color: #ffd700;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    margin: 0;
}


/*featured vehicles*/

.featured-inventory {
    padding: 5rem 2rem;
    background: linear-gradient(180deg, #f7f7f7 0%, #ffffff 100%);
}

.section-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 2rem;
    max-width: 1100px;
    margin: 0 auto 2.5rem;
}

.section-eyebrow {
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.8rem;
    font-weight: 700;
    color: #e74c3c;
    margin-bottom: 0.6rem;
}

.section-header h2 {
    font-size: 2.4rem;
    color: #1f1f1f;
    margin-bottom: 0.6rem;
}

.section-subtitle {
    color: #5a5a5a;
    max-width: 520px;
    line-height: 1.6;
}

.inventory-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1100px;
    margin: 0 auto;
}

.inventory-card {
    background-color: #ffffff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.inventory-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 35px rgba(0, 0, 0, 0.12);
}

.card-media {
    position: relative;
    overflow: hidden;
}

.card-media img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.inventory-card:hover .card-media img {
    transform: scale(1.05);
}

.price-badge {
    position: absolute;
    right: 1rem;
    bottom: 1rem;
    background-color: #0f172a;
    color: #fff;
    padding: 0.4rem 0.85rem;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.95rem;
    box-shadow: 0 6px 14px rgba(15, 23, 42, 0.3);
}

.card-body {
    padding: 1.5rem 1.6rem 1.8rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.card-body h3 {
    font-size: 1.3rem;
    color: #1f1f1f;
}

.card-body h3 a {
    color: inherit;
    text-decoration: none;
}

.card-body h3 a:hover {
    color: #e74c3c;
}

.spec-list {
    list-style: none;
    display: grid;
    gap: 0.6rem;
    color: #4b5563;
    font-size: 0.95rem;
}

.spec-list i {
    color: #e74c3c;
    margin-right: 0.5rem;
}

.card-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 0.4rem;
}

.btn.btn-outline {
    background-color: transparent;
    color: #e74c3c;
    border: 2px solid #e74c3c;
    box-shadow: none;
}

.btn.btn-outline:hover {
    background-color: #e74c3c;
    color: #fff;
}

.btn.btn-sm {
    padding: 0.6rem 1.4rem;
    font-size: 0.95rem;
    margin-bottom: 0;
}

.text-link {
    background: none;
    border: none;
    color: #1f2937;
    font-weight: 600;
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.text-link:hover {
    color: #e74c3c;
}

.services {
    padding: 5rem 2rem;
    background-color: #f9f9f9;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    max-width: 1100px;
    margin: 0 auto;
}

.about-section {
    padding: 5rem 2rem;
    background-color: #ffffff;
}

.about-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    max-width: 1100px;
    margin: 0 auto;
    align-items: center;
}

.about-text p {
    color: #4b5563;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.about-points {
    display: grid;
    gap: 1.2rem;
}

.about-point {
    display: grid;
    grid-template-columns: 40px 1fr;
    gap: 1rem;
    align-items: start;
    background: #f8fafc;
    border-radius: 14px;
    padding: 1.1rem 1.2rem;
    box-shadow: 0 10px 20px rgba(15, 23, 42, 0.06);
}

.about-point i {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    background: #ffe8e5;
    color: #e74c3c;
    font-size: 1.1rem;
}

.about-point h3 {
    font-size: 1.1rem;
    margin-bottom: 0.35rem;
    color: #1f2937;
}

.about-point p {
    margin: 0;
    color: #6b7280;
}

.about-image img {
    width: 100%;
    border-radius: 18px;
    box-shadow: 0 18px 35px rgba(0, 0, 0, 0.12);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-image img:hover {
    transform: translateY(-4px);
    box-shadow: 0 22px 40px rgba(0, 0, 0, 0.16);
}

.call-to-action {
    padding: 4rem 2rem;
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('images/cta-background.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.call-to-action h2 {
    font-size: 2.8rem;
    margin-bottom: 0;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.8);
}

.call-to-action .btn-lg {
    min-width: 280px;
    padding: 1.2rem 2.5rem;
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.call-to-action .btn-lg:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.4);
}

.site-footer {
    background-color: #111827;
    color: #cbd5f5;
    padding: 4rem 2rem 2rem;
}

.footer-grid {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
}

.footer-brand h3 {
    color: #ffffff;
    font-size: 1.4rem;
    margin-bottom: 0.8rem;
}

.footer-brand p {
    color: #94a3b8;
    line-height: 1.6;
}

.footer-section h4 {
    color: #ffffff;
    font-size: 1rem;
    margin-bottom: 0.8rem;
    letter-spacing: 0.5px;
}

.footer-section ul {
    list-style: none;
    display: grid;
    gap: 0.6rem;
    color: #94a3b8;
}

.footer-links a {
    color: #cbd5f5;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: #e74c3c;
}

.footer-contact li {
    display: flex;
    gap: 0.6rem;
    align-items: flex-start;
}

.footer-contact i {
    color: #e74c3c;
    margin-top: 0.15rem;
}

.footer-social {
    display: flex;
    gap: 0.8rem;
    margin-top: 1rem;
}

.footer-social a {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    background-color: rgba(231, 76, 60, 0.15);
    color: #e74c3c;
    transition: all 0.2s ease;
    text-decoration: none;
}

.footer-social a:hover {
    background-color: #e74c3c;
    color: #fff;
}

.footer-bottom {
    border-top: 1px solid rgba(148, 163, 184, 0.2);
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    text-align: center;
    color: #94a3b8;
    font-size: 0.9rem;
}
/* Mobile Responsive */
@media (max-width: 768px) {
    .section-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .about-content {
        gap: 2rem;
    }

    .hamburger {
        display: flex;
    }

    .nav-link-container {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 70%;
        max-width: 300px;
        background-color: #cecece;
        flex-direction: column;
        align-items: flex-start;
        padding: 5rem 2rem 2rem;
        box-shadow: -2px 0 10px rgba(0, 0, 0, 0.3);
        transition: right 0.3s ease;
        z-index: 1001;
    }

    .nav-link-container.active {
        right: 0;
    }

    .nav-link {
        margin: 0.5rem 0;
        margin-left: 0;
        width: 100%;
        text-align: left;
    }

    .nav-link:hover {
        transform: translateX(5px);
    }

    .site-footer {
        padding: 3rem 1.5rem 2rem;
    }
}

/*smaller screens*/

@media screen and (max-width: 375px) {
    .nav-brand {
        font-size: 1.2rem;
    }

    .nav-link {
        font-size: 1rem;
        padding: 0.4rem 0.8rem;
    }
}

@media screen and (max-width: 320px) {
    .nav-brand {
        font-size: 1rem;
    }

    .nav-link {
        font-size: 0.9rem;
        padding: 0.3rem 0.6rem;
    }
}








/*inventory page*/
.inventory-hero {
    padding: 3rem 2rem 2rem;
    background: #111827;
    color: #f8fafc;
    text-align: center;
}

.inventory-hero h1 {
    font-size: 2.8rem;
    margin-bottom: 0.5rem;
}

.inventory-eyebrow {
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #facc15;
    font-weight: 600;
    font-size: 0.85rem;
    margin-bottom: 0.75rem;
}

.inventory-subtitle {
    max-width: 700px;
    margin: 0 auto;
    color: #cbd5f5;
}

.inventory-page {
    padding: 3rem 2rem 5rem;
    background: #f5f6fa;
}

.inventory-layout {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(260px, 320px) 1fr;
    gap: 2.5rem;
    align-items: start;
}

.filter-sidebar {
    position: sticky;
    top: 1.5rem;
    background: #fff;
    border-radius: 18px;
    padding: 1.75rem;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
}

.filter-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.filter-header h2 {
    font-size: 1.3rem;
}

.filter-form {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    font-weight: 600;
    color: #1f2937;
}

.filter-group span,
.filter-group legend {
    font-size: 0.95rem;
}

.filter-group select {
    width: 100%;
    padding: 0.75rem 0.9rem;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    font-size: 0.95rem;
    color: #1f2937;
    background: #fff;
}

.filter-range {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
}

.filter-group fieldset,
.filter-group legend {
    border: none;
    padding: 0;
    margin: 0;
}

.checkline {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-weight: 500;
    color: #475569;
}

.checkline input {
    accent-color: #e74c3c;
    width: 16px;
    height: 16px;
}

.inventory-results {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.results-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
}

.results-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: #475569;
    font-weight: 600;
}

.results-meta select {
    padding: 0.6rem 0.8rem;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    background: #fff;
    font-size: 0.9rem;
}

.inventory-page .inventory-grid {
    max-width: 100%;
    margin: 0;
}

.car-inventory {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.inventory-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
}

.inventory-header h2 {
    font-size: 1.6rem;
    color: #111827;
}

.inventory-header p {
    color: #64748b;
    font-weight: 500;
}

.inventory-header select {
    padding: 0.6rem 0.8rem;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    background: #fff;
    font-size: 0.9rem;
}

.car-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
}

.car-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 16px 32px rgba(15, 23, 42, 0.08);
    display: flex;
    flex-direction: column;
    min-height: 100%;
}

.car-media {
    position: relative;
}

.car-gallery {
    position: relative;
    overflow: hidden;
}

.car-gallery-track {
    display: flex;
    transition: transform 0.35s ease;
}

.gallery-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: none;
    background: rgba(15, 23, 42, 0.7);
    color: #fff;
    display: grid;
    place-items: center;
    cursor: pointer;
    z-index: 2;
}

.gallery-btn.prev {
    left: 10px;
}

.gallery-btn.next {
    right: 10px;
}

.gallery-btn:hover {
    background: rgba(15, 23, 42, 0.9);
}

.car-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
    flex: 0 0 100%;
}

.featured-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: #facc15;
    color: #111827;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.25);
}

.car-details {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.car-details h3 {
    font-size: 1.15rem;
    color: #111827;
}

.car-price {
    font-weight: 700;
    color: #e74c3c;
}

.car-features {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1rem;
    padding: 0;
    margin: 0;
    color: #475569;
    font-size: 0.9rem;
}

.car-inventory-card .card-media img {
    height: 180px;
}

.car-inventory-card .price-badge {
    font-size: 0.9rem;
    padding: 0.3rem 0.7rem;
}

@media screen and (max-width: 900px) {
    .inventory-layout {
        grid-template-columns: 1fr;
    }

    .filter-sidebar {
        position: static;
    }

    .inventory-header {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    overflow-y: auto;
    padding: 2rem;
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: white;
    border-radius: 12px;
    max-width: 1200px;
    width: 100%;
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: #e74c3c;
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: #c0392b;
    transform: rotate(90deg);
}

.modal-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    padding: 2rem;
}

.modal-gallery-main {
    width: 100%;
    aspect-ratio: 16/9;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 1rem;
}

.modal-gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modal-gallery-thumbs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.5rem;
}

.modal-thumb {
    aspect-ratio: 16/9;
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.modal-thumb:hover {
    border-color: #e74c3c;
}

.modal-thumb.active {
    border-color: #e74c3c;
}

.modal-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modal-details h2 {
    font-size: 2rem;
    color: #333;
    margin-bottom: 0.5rem;
}

.modal-price {
    font-size: 2rem;
    font-weight: bold;
    color: #e74c3c;
    margin-bottom: 1.5rem;
}

.modal-specs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 8px;
}

.spec-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
}

.spec-item i {
    color: #e74c3c;
    width: 20px;
}

.modal-description,
.modal-features {
    margin-bottom: 2rem;
}

.modal-description h3,
.modal-features h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #333;
}

.modal-description p {
    line-height: 1.6;
    color: #666;
}

.modal-features ul {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
}

.modal-features li {
    padding: 0.5rem;
    background: #f8f9fa;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.modal-features li:before {
    content: "✓";
    color: #27ae60;
    font-weight: bold;
}

.modal-actions {
    display: flex;
    gap: 1rem;
}

.modal-actions .btn {
    flex: 1;
}

.btn-secondary {
    background: #95a5a6;
}

.btn-secondary:hover {
    background: #7f8c8d;
}

@media (max-width: 968px) {
    .modal-body {
        grid-template-columns: 1fr;
    }

    .modal-specs {
        grid-template-columns: 1fr;
    }

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

    .modal-actions {
        flex-direction: column;
    }
}

/* Services Page Styles */
.services-page {
    padding: 3rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.services-grid-section {
    margin-bottom: 4rem;
}

.section-header.centered {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-color: #e74c3c;
}

.service-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.service-icon i {
    font-size: 2rem;
    color: white;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #333;
}

.service-card > p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.service-features {
    list-style: none;
    margin-bottom: 1.5rem;
}

.service-features li {
    padding: 0.5rem 0;
    color: #555;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.service-features i {
    color: #27ae60;
    font-size: 0.9rem;
}

/* Financing Calculator */
.financing-calculator {
    background: linear-gradient(135deg, #2c3e50, #34495e);
    padding: 4rem 2rem;
    margin: 4rem -2rem;
}

.calculator-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.calculator-info {
    color: white;
}

.calculator-info h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.calculator-info > p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.calculator-benefits {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.benefit-item i {
    font-size: 2rem;
    color: #e74c3c;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.benefit-item h4 {
    font-size: 1.2rem;
    margin-bottom: 0.25rem;
}

.benefit-item p {
    opacity: 0.8;
    font-size: 0.9rem;
}

.calculator-form {
    background: white;
    padding: 2rem;
    border-radius: 12px;
}

.form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 1.5rem;
}

.form-group span {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #333;
}

.form-group input,
.form-group select {
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #e74c3c;
}

.calculator-result {
    margin-top: 2rem;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 8px;
    display: none;
}

.calculator-result.show {
    display: block;
}

.result-item {
    text-align: center;
    margin-bottom: 1.5rem;
}

.result-item span {
    color: #666;
    font-size: 0.9rem;
}

.result-item h3 {
    font-size: 2.5rem;
    color: #e74c3c;
    margin-top: 0.5rem;
}

.result-details {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #ddd;
}

.result-details > div {
    display: flex;
    flex-direction: column;
    text-align: center;
}

.result-details span {
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 0.25rem;
}

.result-details strong {
    font-size: 1.1rem;
    color: #333;
}

/* Why Choose Us */
.why-choose-us {
    padding: 4rem 0;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.benefit-card {
    text-align: center;
    padding: 2rem;
}

.benefit-icon {
    width: 80px;
    height: 80px;
    background: #f8f9fa;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: all 0.3s ease;
}

.benefit-card:hover .benefit-icon {
    background: #e74c3c;
}

.benefit-icon i {
    font-size: 2rem;
    color: #e74c3c;
    transition: color 0.3s ease;
}

.benefit-card:hover .benefit-icon i {
    color: white;
}

.benefit-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #333;
}

.benefit-card p {
    color: #666;
    line-height: 1.6;
}

/* Services CTA */
.services-cta {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    padding: 4rem 2rem;
    margin: 4rem -2rem 0;
    text-align: center;
    color: white;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-buttons .btn {
    min-width: 200px;
}

.cta-buttons .btn-secondary {
    background: white;
    color: #e74c3c;
}

.cta-buttons .btn-secondary:hover {
    background: #f8f9fa;
}

/* Services Page Responsive */
@media (max-width: 968px) {
    .services-grid {
        grid-template-columns: 1fr;
    }

    .calculator-container {
        grid-template-columns: 1fr;
    }

    .financing-calculator {
        padding: 3rem 1.5rem;
        margin: 3rem -1.5rem;
    }

    .calculator-info h2 {
        font-size: 2rem;
    }

    .result-details {
        grid-template-columns: 1fr;
    }

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

    .services-cta {
        padding: 3rem 1.5rem;
        margin: 3rem -1.5rem 0;
    }

    .cta-content h2 {
        font-size: 2rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .cta-buttons .btn {
        width: 100%;
    }
}

/* Contact Page Styles */
.contact-page {
    padding: 3rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.contact-quick-info {
    margin-bottom: 4rem;
}

.quick-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.info-card {
    background: white;
    border: 2px solid #f0f0f0;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.info-card:hover {
    border-color: #e74c3c;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.info-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.info-icon i {
    font-size: 1.5rem;
    color: white;
}

.info-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
    color: #333;
}

.info-card p {
    color: #666;
    margin-bottom: 0.25rem;
}

.info-card a {
    color: #e74c3c;
    text-decoration: none;
    font-weight: 600;
}

.info-card a:hover {
    text-decoration: underline;
}

.info-subtext {
    font-size: 0.9rem;
    color: #999 !important;
}

/* Contact Main Section */
.contact-main-section {
    margin-bottom: 4rem;
}

.contact-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
}

.contact-form-wrapper {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 2.5rem;
}

.form-header {
    margin-bottom: 2rem;
}

.form-header h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: #333;
}

.form-header p {
    color: #666;
}

.contact-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.contact-form .form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 1.5rem;
}

.contact-form .form-group span {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #333;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #e74c3c;
}

.contact-form textarea {
    resize: vertical;
}

.checkbox-group {
    flex-direction: row !important;
    align-items: center;
    gap: 0.5rem;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin: 0;
}

.checkbox-group span {
    font-weight: normal !important;
    margin: 0 !important;
}

.form-success {
    display: none;
    background: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
    padding: 1rem;
    border-radius: 6px;
    margin-top: 1rem;
    text-align: center;
}

.form-success.show {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.form-success i {
    font-size: 1.5rem;
}

.form-success p {
    margin: 0;
}

/* Contact Sidebar */
.contact-info-sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.sidebar-section {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 1.5rem;
}

.sidebar-section h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #333;
}

.location-map {
    margin-bottom: 1rem;
}

.location-details {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.location-item {
    display: flex;
    gap: 1rem;
    align-items: start;
}

.location-item i {
    color: #e74c3c;
    font-size: 1.2rem;
    width: 20px;
    margin-top: 0.25rem;
}

.location-item strong {
    display: block;
    margin-bottom: 0.25rem;
    color: #333;
}

.location-item p {
    color: #666;
    line-height: 1.5;
    margin: 0;
}

.location-item a {
    color: #e74c3c;
    text-decoration: none;
}

.location-item a:hover {
    text-decoration: underline;
}

.social-links,
.quick-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.social-link,
.quick-links a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: #f8f9fa;
    border-radius: 6px;
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
}

.social-link:hover,
.quick-links a:hover {
    background: #e74c3c;
    color: white;
}

.social-link i,
.quick-links a i {
    width: 20px;
    text-align: center;
}

/* FAQ Section */
.contact-faq {
    margin-top: 4rem;
}

.faq-container {
    max-width: 900px;
    margin: 2rem auto 0;
}

.faq-item {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 1rem;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 1.5rem;
    background: none;
    border: none;
    text-align: left;
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    cursor: pointer;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: #f8f9fa;
}

.faq-question i {
    color: #e74c3c;
    transition: transform 0.3s ease;
}

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

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

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

.faq-answer p {
    padding: 0 1.5rem 1.5rem;
    color: #666;
    line-height: 1.6;
}

/* Contact Page Responsive */
@media (max-width: 968px) {
    .quick-info-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }

    .contact-container {
        grid-template-columns: 1fr;
    }

    .contact-form .form-row {
        grid-template-columns: 1fr;
    }

    .contact-form-wrapper {
        padding: 1.5rem;
    }

    .form-header h2 {
        font-size: 1.5rem;
    }
}

@media (max-width: 640px) {
    .quick-info-grid {
        grid-template-columns: 1fr;
    }
}