:root {
    --primary-color: #DA3832;
    --primary-hover: #b82e29;
    --dark-color: #1a1a1a;
    --light-color: #ffffff;
    --gray-color: #f8f9fa;
    --text-muted: #6c757d;
    --transition: all 0.3s ease-in-out;
}

body {
    font-family: 'Outfit', sans-serif; /* Modern automotive font */
    color: var(--dark-color);
    background-color: var(--light-color);
    overflow-x: hidden;
}

/* Premium Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Navbar Customization */
.navbar {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    transition: var(--transition);
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.navbar.sticky {
    padding: 10px 0;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.navbar-brand {
    font-weight: 800;
    color: var(--dark-color) !important;
    font-size: 1.5rem;
}

.navbar-brand span {
    color: var(--primary-color);
}

.nav-link {
    font-weight: 600;
    color: var(--dark-color) !important;
    margin: 0 10px;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

/* Hero Slider */
.hero-slider .carousel-item {
    height: 100vh;
    min-height: 600px;
    background-size: cover;
    background-position: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0,0,0,0.8), rgba(0,0,0,0.2));
}

.hero-content {
    position: relative;
    z-index: 2;
    color: white;
}

.hero-content h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease;
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease 0.2s;
    animation-fill-mode: both;
}

/* Buttons */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    padding: 12px 30px;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 0;
    transition: var(--transition);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    border-color: var(--primary-hover);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(218, 56, 50, 0.3);
}

/* Service Cards */
/* Service Cards Redesign */
.service-card {
    border: none;
    border-radius: 20px;
    background: #fff;
    padding: 50px 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary-color);
    transform: translateY(100%);
    transition: var(--transition);
    z-index: -1;
}

.service-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 25px 50px rgba(0,0,0,0.15);
}

/* Optional: if you want the card to turn red on hover, uncomment this */
/* .service-card:hover { color: white; } */
/* .service-card:hover::before { transform: translateY(0); } */

.service-icon {
    font-size: 3.5rem;
    color: #333; /* Dark by default */
    margin-bottom: 25px;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    color: var(--primary-color);
    transform: scale(1.2) rotate(5deg);
}

.service-card h4 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    font-weight: 800;
}

.service-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 30px;
}

.service-card .btn {
    margin-top: auto;
    border-radius: 50px;
    padding: 10px 30px;
    font-size: 0.8rem;
    letter-spacing: 1px;
}

/* Gallery Filter */
.filter-btn {
    border: none;
    background: transparent;
    font-weight: 700;
    padding: 10px 20px;
    margin: 5px;
    cursor: pointer;
    transition: var(--transition);
    border-bottom: 2px solid transparent;
}

.filter-btn.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

.gallery-item {
    margin-bottom: 30px;
}

/* Gallery & Portfolio Redesign */
.gallery-wrapper {
    min-height: 200px;
}

.gallery-box {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    background: #fff;
    aspect-ratio: 4/3;
}

.gallery-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.gallery-overlay {
    position: absolute;
    bottom: -100%;
    left: 0;
    width: 100%;
    padding: 30px 20px;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    opacity: 0;
    transition: all 0.5s ease;
}

.gallery-box:hover .gallery-overlay {
    bottom: 0;
    opacity: 1;
}

.gallery-box:hover img {
    transform: scale(1.15);
}

.gallery-overlay h5 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    text-transform: uppercase;
    font-weight: 700;
}

.gallery-overlay span {
    font-size: 0.8rem;
    color: var(--primary-color);
    font-weight: 600;
    letter-spacing: 1px;
}

/* Video Section */
.video-card {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.video-thumb {
    position: relative;
}

.video-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 0 20px rgba(218, 56, 50, 0.5);
    transition: var(--transition);
}

.video-card:hover .video-play-btn {
    transform: translate(-50%, -50%) scale(1.15);
}

/* About Section Redesign */
.about-image-wrapper {
    position: relative;
    padding: 20px;
}

.about-image-main {
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    transition: var(--transition);
}

.about-image-wrapper:hover .about-image-main {
    transform: scale(1.02);
}

.experience-badge {
    position: absolute;
    bottom: 40px;
    right: 0;
    background: var(--primary-color);
    color: white;
    padding: 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 15px 30px rgba(218, 56, 50, 0.3);
    animation: float 3s ease-in-out infinite;
}

.experience-badge h2 {
    font-size: 2.5rem;
    margin-bottom: 0;
    line-height: 1;
}

.experience-badge p {
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 0;
}

.about-content h2 span {
    color: var(--primary-color);
}

.about-list {
    list-style: none;
    padding: 0;
    margin: 30px 0;
}

.about-list li {
    font-weight: 600;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    transition: var(--transition);
}

.about-list li i {
    width: 35px;
    height: 35px;
    background: rgba(218, 56, 50, 0.1);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    font-size: 0.9rem;
}

.about-list li:hover {
    transform: translateX(10px);
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Updated CTA in About */
.about-content .btn-primary {
    padding: 15px 40px;
    letter-spacing: 2px;
}

/* Footer */
footer {
    background-color: var(--dark-color);
    color: white;
    padding: 80px 0 20px;
}

footer a {
    color: #ccc;
    text-decoration: none;
    transition: var(--transition);
}

footer a:hover {
    color: var(--primary-color);
}

.footer-social a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    text-align: center;
    line-height: 40px;
    margin-right: 10px;
    border-radius: 50%;
}
/* Custom Pagination */
.pagination-custom .page-item .page-link {
    border: none;
    background: rgba(255,255,255,0.05);
    color: #fff;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    font-weight: 600;
    transition: var(--transition);
}

.pagination-custom .page-item.active .page-link {
    background: var(--primary-color);
    box-shadow: 0 5px 15px rgba(218, 56, 50, 0.4);
}

.pagination-custom .page-item .page-link:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}
/* Before & After Comparison Slider */
.comparison-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.06);
    margin-bottom: 30px;
}

.comparison-slider {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
    cursor: ew-resize;
    user-select: none;
}

.comparison-before, .comparison-after {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.comparison-before img, .comparison-after img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.comparison-before {
    width: 50%; /* Top layer - controlled side */
    border-right: 3px solid #fff;
    z-index: 3;
}

.comparison-after {
    width: 100%; /* Background layer */
    z-index: 1;
}

.comparison-handle {
    position: absolute;
    top: 0;
    left: 50%;
    bottom: 0;
    width: 4px;
    background: #fff;
    z-index: 10;
    pointer-events: none;
    transform: translateX(-50%);
}

.comparison-handle-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    border: 3px solid #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
    box-shadow: 0 0 20px rgba(0,0,0,0.3);
    transition: transform 0.2s ease, background 0.2s ease;
}

.comparison-slider:hover .comparison-handle-circle {
    transform: translate(-50%, -50%) scale(1.1);
    background: #000;
}

.comparison-handle-circle::before,
.comparison-handle-circle::after {
    content: '';
    position: absolute;
    width: 8px;
    height: 8px;
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
}

.comparison-handle-circle::before {
    transform: rotate(-135deg);
    left: 10px;
}

.comparison-handle-circle::after {
    transform: rotate(45deg);
    right: 10px;
}

.label-before, .label-after {
    position: absolute;
    top: 15px;
    padding: 4px 12px;
    background: rgba(0,0,0,0.6);
    color: white;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 4px;
    z-index: 4;
}

.label-before { left: 15px; }
.label-after { right: 15px; }

/* Comparison Pagination */
.comp-pagination {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
}

/* Testimonials Slider (Swiper) */
.testimonial-swiper {
    padding: 20px 0 60px !important;
}

.testimonial-card {
    background: #fff;
    border-radius: 20px;
    padding: 40px 30px;
    height: 100%;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    border: 1px solid rgba(0,0,0,0.05);
    position: relative;
    display: flex;
    flex-direction: column;
}

.swiper-slide {
    height: auto !important;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.quote-icon {
    position: absolute;
    top: 30px;
    right: 30px;
    font-size: 40px;
    color: rgba(218, 56, 50, 0.1);
    transition: color 0.3s ease;
}

.testimonial-card:hover .quote-icon {
    color: rgba(218, 56, 50, 0.2);
}

.customer-info {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.customer-img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 15px;
    border: 3px solid #fff;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.customer-info .customer-img.bg-light {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
}

.customer-info .customer-img.bg-light i {
    color: #ddd;
}

.customer-name {
    font-weight: 700;
    margin-bottom: 2px;
    font-size: 1.1rem;
    color: var(--dark-color);
}

.star-rating {
    color: #ffc107;
    font-size: 0.85rem;
}

.testimonial-text {
    font-style: italic;
    color: #555;
    line-height: 1.8;
    flex-grow: 1;
}

.slider-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
}

/* Swiper Pagination */
.testimonial-pagination {
    position: static !important;
    width: auto !important;
    display: flex;
    gap: 10px;
}

.testimonial-pagination .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: #f1f1f1;
    opacity: 1;
    border: 1px solid #eee;
    transition: all 0.3s ease;
}

.testimonial-pagination .swiper-pagination-bullet-active {
    background: var(--primary-color) !important;
    width: 30px;
    border-radius: 10px;
    border-color: var(--primary-color);
}

.slider-arrow {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 1px solid #eee;
    color: #333;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.slider-arrow:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
    transform: scale(1.1);
}

#testimonials h2 span {
    color: var(--primary-color);
}
