/* Variables */
:root {
    --primary-color: #F58B27;
    --dark-color: #333333;
    --light-color: #f8f9fa;
    --gray-color: #6c757d;
}

/* General Styles */
body {
    font-family: 'Roboto', sans-serif;
    color: var(--dark-color);
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
}

.section-padding {
    padding: 80px 0;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--primary-color);
}

.section-subtitle {
    color: var(--gray-color);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Navigation */
.navbar {
    background-color: rgba(0, 0, 0, 0.9);
    padding: 15px 0;
    transition: all 0.3s ease;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
}

.navbar-nav .nav-link {
    font-weight: 500;
    margin: 0 10px;
    position: relative;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    width: 100%;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('https://images.unsplash.com/photo-1492144534655-ae79c964c9d7?ixlib=rb-4.0.3&auto=format&fit=crop&w=1200&q=80') no-repeat center center/cover;
    color: white;
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-content {
    z-index: 1;
    position: relative;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 500px;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    padding: 12px 30px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #e07d1f;
    border-color: #e07d1f;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.btn-outline-light:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.hero-image-container {
    position: relative;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

/* Service Cards */
.service-card {
    background: white;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 100%;
}

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

.service-icon {
    width: 80px;
    height: 80px;
    background-color: rgba(245, 139, 39, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--primary-color);
    font-size: 2rem;
}

.service-card h3 {
    margin-bottom: 15px;
    font-size: 1.5rem;
}

/* Road Banner Section */
.road-banner-section {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../../assets/images/car-road.jpg') no-repeat center center/cover;
    height: 80vh;
    display: flex;
    align-items: center;
    position: relative;
    color: white;
}

.road-banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(245, 139, 39, 0.2), rgba(0, 0, 0, 0.7));
}

.road-banner-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.road-banner-text {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Pricing Section */
.pricing-card {
    background: white;
    border-radius: 15px;
    padding: 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    height: 100%;
}

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

.pricing-card.featured {
    border: 2px solid var(--primary-color);
    transform: scale(1.05);
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-10px);
}

.popular-badge {
    position: absolute;
    top: 20px;
    right: -30px;
    background: var(--primary-color);
    color: white;
    padding: 5px 40px;
    transform: rotate(45deg);
    font-size: 0.8rem;
    font-weight: 600;
}

.pricing-header {
    background: linear-gradient(135deg, var(--primary-color), #e07d1f);
    color: white;
    padding: 30px;
    text-align: center;
}

.pricing-header h3 {
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.price {
    display: flex;
    align-items: baseline;
    justify-content: center;
}

.currency {
    font-size: 1.5rem;
    margin-right: 5px;
}

.amount {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1;
}

.period {
    font-size: 1rem;
    margin-left: 5px;
    opacity: 0.9;
}

.pricing-features {
    padding: 30px;
}

.pricing-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pricing-features li {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features i {
    margin-right: 10px;
    width: 20px;
}

.pricing-features .fa-check {
    color: #28a745;
}

.pricing-features .fa-times {
    color: #dc3545;
}

.pricing-footer {
    padding: 0 30px 30px;
    text-align: center;
}

.pricing-footer .btn {
    width: 100%;
    padding: 12px;
    font-weight: 600;
}

/* About Section */
.feature-list {
    margin-top: 30px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

.feature-item i {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-right: 15px;
    margin-top: 5px;
}

.about-image {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
}

/* Testimonials */
.testimonial-card {
    background: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    height: 100%;
}

.testimonial-content {
    margin-bottom: 20px;
    position: relative;
}

.testimonial-content p {
    font-style: italic;
    position: relative;
    padding-left: 20px;
}

.testimonial-content p::before {
    content: '"';
    font-size: 3rem;
    color: var(--primary-color);
    position: absolute;
    left: -10px;
    top: -15px;
    opacity: 0.3;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.testimonial-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 15px;
}

.testimonial-author h5 {
    margin-bottom: 5px;
}

.testimonial-author span {
    color: var(--gray-color);
    font-size: 0.9rem;
}

/* Contact Form */
.contact-form .form-control {
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.contact-form .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(245, 139, 39, 0.25);
}

/* Footer */
.footer {
    background-color: #222;
    color: white;
}

.footer h5 {
    margin-bottom: 15px;
}

.footer a {
    color: #ddd;
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    margin-left: 10px;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

/* Animations */
.animate-fade-in {
    animation: fadeIn 1s ease-out;
}

.animate-fade-in-delay {
    animation: fadeIn 1s ease-out 0.5s both;
}

.animate-fade-in-delay-2 {
    animation: fadeIn 1s ease-out 1s both;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

/* Google Maps */
.map-container {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
        margin-top: 1.5rem;
    }

    .hero-content{
        padding-top:50px;
    }
    
    .hero-section .row.align-items-center {
        align-items: flex-start !important;
        padding-top: 2rem;
    }

    .section-title {
        font-size: 2rem;
    }
    
    .section-padding {
        padding: 60px 0;
    }
    
    .road-banner-title {
        font-size: 2.2rem;
    }
    
    .road-banner-text {
        font-size: 1.1rem;
    }
    
    .pricing-card.featured {
        transform: scale(1);
    }
    
    .pricing-card.featured:hover {
        transform: translateY(-10px);
    }
}

/* Engine Reprogramming Banner Section */
.reprogramming-banner-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, #e07d1f 100%);
    height: 30vh;
    display: flex;
    align-items: center;
    position: relative;
    color: rgb(62, 61, 61);
}

.reprogramming-banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.3));
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .reprogramming-banner-section {
        height: 2Ovh;
    }
}

/* Custom Icons for Reprogramming Services */
.service-icon-small {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-right: 15px;
}

/* Diesel Icon - Dark Blue Theme */
.diesel-icon {
    background-color: rgba(13, 110, 253, 0.1);
    color: #0d6efd;
    border: 2px solid #0d6efd;
}

/* Petrol Icon - Orange Theme */
.petrol-icon {
    background-color: rgba(255, 193, 7, 0.1);
    color: #ffc107;
    border: 2px solid #ffc107;
}

/* FlexFuel Icon - Green Theme */
.flexfuel-icon {
    background-color: rgba(40, 167, 69, 0.1);
    color: #28a745;
    border: 2px solid #28a745;
}

/* Ethanol Icon - Light Green Theme */
.ethanol-icon {
    background-color: rgba(111, 194, 65, 0.1);
    color: #6fc241;
    border: 2px solid #6fc241;
}

/* EGR Icon - Purple Theme */
.egr-icon {
    background-color: rgba(151, 117, 250, 0.1);
    color: #9775fa;
    border: 2px solid #9775fa;
}

/* FAP Icon - Brown Theme */
.fap-icon {
    background-color: rgba(141, 110, 99, 0.1);
    color: #8d6e63;
    border: 2px solid #8d6e63;
}

/* AdBlue Icon - Teal Theme */
.adblue-icon {
    background-color: rgba(32, 201, 151, 0.1);
    color: #20c997;
    border: 2px solid #20c997;
}

/* Hover Effects */
.pricing-item:hover .service-icon-small {
    transform: scale(1.1);
    transition: transform 0.3s ease;
}

.pricing-item:hover .diesel-icon {
    background-color: rgba(13, 110, 253, 0.2);
    box-shadow: 0 0 15px rgba(13, 110, 253, 0.3);
}

.pricing-item:hover .petrol-icon {
    background-color: rgba(255, 193, 7, 0.2);
    box-shadow: 0 0 15px rgba(255, 193, 7, 0.3);
}

.pricing-item:hover .flexfuel-icon {
    background-color: rgba(40, 167, 69, 0.2);
    box-shadow: 0 0 15px rgba(40, 167, 69, 0.3);
}

.pricing-item:hover .ethanol-icon {
    background-color: rgba(111, 194, 65, 0.2);
    box-shadow: 0 0 15px rgba(111, 194, 65, 0.3);
}

.pricing-item:hover .egr-icon {
    background-color: rgba(151, 117, 250, 0.2);
    box-shadow: 0 0 15px rgba(151, 117, 250, 0.3);
}

.pricing-item:hover .fap-icon {
    background-color: rgba(141, 110, 99, 0.2);
    box-shadow: 0 0 15px rgba(141, 110, 99, 0.3);
}

.pricing-item:hover .adblue-icon {
    background-color: rgba(32, 201, 151, 0.2);
    box-shadow: 0 0 15px rgba(32, 201, 151, 0.3);
}

/* Price Tag Styling */
.price-tag {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-color);
    background-color: rgba(245, 139, 39, 0.1);
    padding: 8px 16px;
    border-radius: 25px;
    border: 2px solid rgba(245, 139, 39, 0.3);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .service-icon-small {
        width: 40px;
        height: 40px;
        font-size: 1rem;
        margin-right: 10px;
    }
    
    .price-tag {
        font-size: 1.1rem;
        padding: 6px 12px;
    }
}

/* Modern Responsive Pricing Table */
.pricing-table {
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.pricing-item {
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.3s ease;
}

.pricing-item:last-child {
    border-bottom: none;
}

.pricing-item:hover {
    background-color: #f8f9fa;
    transform: translateX(5px);
}

.pricing-item-content {
    display: flex;
    align-items: center;
    padding: 1.5rem 2rem;
    gap: 1.5rem;
}

.service-icon-container {
    flex-shrink: 0;
}

.service-icon-small {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    transition: all 0.3s ease;
}

.service-info {
    flex: 1;
    min-width: 0; /* Prevents flex item from overflowing */
}

.service-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: #2d3748;
}

.service-description {
    font-size: 0.9rem;
    color: #718096;
    margin-bottom: 0;
}

.price-container {
    flex-shrink: 0;
}

.price-tag {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-color);
    background: linear-gradient(135deg, rgba(245, 139, 39, 0.1), rgba(245, 139, 39, 0.05));
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    border: 2px solid rgba(245, 139, 39, 0.2);
    white-space: nowrap;
}

/* Icon Colors */
.diesel-icon {
    background: linear-gradient(135deg, #0d6efd, #0a58ca);
    color: white;
    box-shadow: 0 4px 15px rgba(13, 110, 253, 0.3);
}

.petrol-icon {
    background: linear-gradient(135deg, #ffc107, #e0a800);
    color: white;
    box-shadow: 0 4px 15px rgba(255, 193, 7, 0.3);
}

.flexfuel-icon {
    background: linear-gradient(135deg, #28a745, #1e7e34);
    color: white;
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
}

.ethanol-icon {
    background: linear-gradient(135deg, #6fc241, #4ca830);
    color: white;
    box-shadow: 0 4px 15px rgba(111, 194, 65, 0.3);
}

.egr-icon {
    background: linear-gradient(135deg, #9775fa, #7c5cf7);
    color: white;
    box-shadow: 0 4px 15px rgba(151, 117, 250, 0.3);
}

.fap-icon {
    background: linear-gradient(135deg, #8d6e63, #6d4c41);
    color: white;
    box-shadow: 0 4px 15px rgba(141, 110, 99, 0.3);
}

.adblue-icon {
    background: linear-gradient(135deg, #20c997, #199d75);
    color: white;
    box-shadow: 0 4px 15px rgba(32, 201, 151, 0.3);
}

/* Hover Effects */
.pricing-item:hover .service-icon-small {
    transform: scale(1.1) rotate(5deg);
}

.pricing-item:hover .price-tag {
    background: linear-gradient(135deg, rgba(245, 139, 39, 0.2), rgba(245, 139, 39, 0.1));
    border-color: rgba(245, 139, 39, 0.4);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .pricing-table {
        border-radius: 16px;
        margin: 0 -1rem;
    }
    
    .pricing-item-content {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem 1rem;
        gap: 1rem;
    }
    
    .service-icon-small {
        width: 70px;
        height: 70px;
        font-size: 1.6rem;
        margin: 0 auto;
    }
    
    .service-info {
        width: 100%;
    }
    
    .service-title {
        font-size: 1.2rem;
    }
    
    .service-description {
        font-size: 0.95rem;
    }
    
    .price-tag {
        font-size: 1.4rem;
        padding: 0.75rem 1.75rem;
        margin-top: 0.5rem;
    }
    
    .pricing-item:hover {
        transform: translateY(-2px);
    }
}

/* Small Mobile Devices */
@media (max-width: 480px) {
    .pricing-item-content {
        padding: 1.25rem 0.75rem;
    }
    
    .service-icon-small {
        width: 60px;
        height: 60px;
        font-size: 1.4rem;
    }
    
    .service-title {
        font-size: 1.1rem;
    }
    
    .price-tag {
        font-size: 1.3rem;
        padding: 0.6rem 1.5rem;
    }
}

/* Animation for page load */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.pricing-item {
    animation: fadeInUp 0.6s ease-out;
}

.pricing-item:nth-child(1) { animation-delay: 0.1s; }
.pricing-item:nth-child(2) { animation-delay: 0.2s; }
.pricing-item:nth-child(3) { animation-delay: 0.3s; }
.pricing-item:nth-child(4) { animation-delay: 0.4s; }
.pricing-item:nth-child(5) { animation-delay: 0.5s; }
.pricing-item:nth-child(6) { animation-delay: 0.6s; }
.pricing-item:nth-child(7) { animation-delay: 0.7s; }