/* CSS variables for Color Theme */
:root {
    --primary-color: #d32f2f;
    /* Red */
    --secondary-color: #212121;
    /* Dark Gray */
    --light-bg: #f8f9fa;
    --text-dark: #333;
    --white: #ffffff;
    --gradient-red: linear-gradient(135deg, #d32f2f 0%, #ff5252 100%);
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-dark);
    background-color: var(--white);
    overflow-x: hidden;
}

/* Typography & Utilities */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    color: var(--secondary-color);
}

.text-primary-custom {
    color: var(--primary-color) !important;
}

.bg-primary-custom {
    background: var(--gradient-red) !important;
    color: white;
}

.bg-light-custom {
    background-color: var(--light-bg);
}

.section-padding {
    padding: 80px 0;
}

/* Buttons */
.btn-custom {
    background: var(--gradient-red);
    color: var(--white);
    border: none;
    padding: 10px 25px;
    font-weight: 600;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.btn-custom:hover {
    background: var(--secondary-color);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-outline-custom {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    font-weight: 600;
}

.btn-outline-custom:hover {
    background: var(--primary-color);
    color: var(--white);
}

/* Navbar */
.navbar {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 15px 0;
}

.navbar-brand {
    font-weight: 800;
    font-size: 24px;
    color: var(--primary-color) !important;
}

.nav-link {
    font-weight: 600;
    color: var(--secondary-color) !important;
    margin: 0 10px;
}

.nav-link:hover {
    color: var(--primary-color) !important;
}

/* Hero Section */
.hero {
    position: relative;
    /* Aapka naya local image path */
    background: url('images/ujjain back.png') center/cover no-repeat;
    padding: 120px 0 100px;
    color: var(--white);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
}

.hero .container {
    position: relative;
    z-index: 2;
}

.trust-badges img {
    height: 40px;
    margin-right: 15px;
    background: white;
    padding: 5px;
    border-radius: 4px;
}

.discount-banner {
    background: #ffeb3b;
    color: #000;
    display: inline-block;
    padding: 5px 15px;
    font-weight: 700;
    border-radius: 20px;
    margin-bottom: 20px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

/* Lead Form */
.lead-form {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.lead-form h4 {
    color: var(--secondary-color);
    margin-bottom: 20px;
    font-weight: 700;
}

.lead-form .form-control {
    border-radius: 5px;
    margin-bottom: 15px;
}

/* Countdown */
.countdown-timer {
    background: rgba(255, 255, 255, 0.1);
    padding: 15px;
    border-radius: 8px;
    display: inline-block;
    margin-top: 20px;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.time-box {
    display: inline-block;
    text-align: center;
    margin: 0 10px;
}

.time-box span {
    display: block;
    font-size: 24px;
    font-weight: 700;
    color: #ffeb3b;
}

.time-box small {
    font-size: 12px;
    text-transform: uppercase;
}

/* Cards & Hover Animations */
.service-card,
.price-card,
.package-card {
    background: var(--white);
    border-radius: 8px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.service-card:hover,
.price-card:hover,
.package-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

/* Pricing */
.price-card.popular {
    border: 2px solid var(--primary-color);
}

.price-card.popular::before {
    content: 'Best Value';
    position: absolute;
    top: 15px;
    right: -35px;
    background: var(--primary-color);
    color: white;
    padding: 5px 40px;
    transform: rotate(45deg);
    font-size: 12px;
    font-weight: bold;
    z-index: 2;
}

.price-car-img {
    width: 100%;
    height: 140px;
    object-fit: cover;
    border-radius: 6px;
    margin-bottom: 20px;
    border-bottom: 3px solid var(--primary-color);
}

.price-amount {
    font-size: 36px;
    font-weight: 700;
    color: var(--primary-color);
}

.price-amount small {
    font-size: 16px;
    color: #666;
}

.price-features {
    list-style: none;
    padding: 0;
    margin: 20px 0;
    text-align: left;
}

.price-features li {
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
}

.price-features li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: #4caf50;
}

/* Packages */
.package-card {
    padding: 0;
    text-align: left;
}

.package-img {
    height: 200px;
    background-color: #ddd;
    background-size: cover;
    background-position: center;
    position: relative;
}

.ribbon {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--primary-color);
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: bold;
}

.duration-badge {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
}

.package-content {
    padding: 20px;
}

/* Stats & Steps */
.step-icon {
    width: 80px;
    height: 80px;
    line-height: 80px;
    background: var(--light-bg);
    border-radius: 50%;
    font-size: 32px;
    color: var(--primary-color);
    margin: 0 auto 20px;
    display: block;
    text-align: center;
    transition: all 0.3s;
}

.step-card:hover .step-icon {
    background: var(--primary-color);
    color: white;
}

.stat-number {
    font-size: 48px;
    font-weight: 700;
    color: var(--primary-color);
}

/* Floating Buttons */
.float-whatsapp {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #25d366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    text-align: center;
    line-height: 60px;
    font-size: 30px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 999;
    transition: transform 0.3s;
}

.float-call {
    position: fixed;
    bottom: 20px;
    left: 20px;
    background: #2196f3;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    text-align: center;
    line-height: 60px;
    font-size: 30px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 999;
    transition: transform 0.3s;
}

.float-whatsapp:hover,
.float-call:hover {
    transform: scale(1.1);
    color: white;
}

/* Exit Intent Popup */
#exitPopup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1050;
    align-items: center;
    justify-content: center;
}

.popup-content {
    background: white;
    padding: 40px;
    border-radius: 10px;
    text-align: center;
    max-width: 500px;
    position: relative;
}

.close-popup {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 24px;
    cursor: pointer;
    color: #999;
}

/* Utilities */
.scroll-anim {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
}

.scroll-anim.visible {
    opacity: 1;
    transform: translateY(0);
}