body {
    scroll-behavior: smooth;
}

/* Sticky Navbar */
.navbar {
    position: sticky;
    top: 0;
    z-index: 999;
}

/* Hero Section with Background Image */
.hero-section {
    background-image: url('https://source.unsplash.com/1600x900/?modern-home,interior');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 100vh;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(60px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}


/* Dark Overlay for readability */
.hero-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

/* Funky Background Gradients */
.bg-gradient-warning {
    background: linear-gradient(135deg, #f39c12, #f1c40f);
}

.bg-gradient-primary {
    background: linear-gradient(135deg, #007bff, #00c6ff);
}

.bg-gradient-danger {
    background: linear-gradient(135deg, #e74c3c, #ff7675);
}

.bg-gradient-success {
    background: linear-gradient(135deg, #27ae60, #2ecc71);
}

.bg-gradient-info {
    background: linear-gradient(135deg, #17a2b8, #48c6ef);
}

.bg-gradient-secondary {
    background: linear-gradient(135deg, #6c757d, #95a5a6);
}

.animate-fade {
    opacity: 0;
    animation: fadeInUp 1s ease forwards;
}

.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

.delay-3 {
    animation-delay: 0.6s;
}

.delay-4 {
    animation-delay: 0.8s;
}

.delay-5 {
    animation-delay: 1s;
}

.delay-6 {
    animation-delay: 1.2s;
}

/* Hover Lift Effect */
.funky-card {
    transition: 0.5s ease !important;
}

.funky-card:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 0 25px rgba(255, 255, 255, 0.2);
}

/* Shadow and card effect */
.warranty-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.warranty-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* Animations */
@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(40px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Stylish Gradient Background for Quote Section */
.quote-section {
    background: linear-gradient(135deg, #667eea, #764ba2);
    /* Purple-Blue */
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

/* Optional: Add some subtle floating dots background effect */
.quote-section::before {
    content: "";
    position: absolute;
    top: -50px;
    left: -50px;
    width: 200%;
    height: 200%;
    background-image: radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 20px 20px;
    animation: moveBG 40s linear infinite;
    z-index: 0;
    opacity: 0.3;
}

.quote-section .container {
    position: relative;
    z-index: 2;
}

/* Animate the background dots */
@keyframes moveBG {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(-50px, -50px);
    }
}

.service-card,
.why-card {
    transition: 0.3s ease;
}

.service-card:hover {
    scale: 105%;
}

.why-card {
    transform: translateY(5px);
}

.animate-fade {
    animation: fadeInUp 1s ease forwards;
    opacity: 0;
}

.delay-1 {
    animation-delay: 0.5s;
}

.delay-2 {
    animation-delay: 1s;
}

/* Section Spacing */
section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
}

.bg-gradient {
    background: linear-gradient(to right, #0f2027, #203a43, #2c5364);
    color: white;
}

.custombg {
    background-color: #d63384;
}

.custombg1 {
    color: chartreuse;
}

.custombg2 {
    color: #fd7e14;
}

.thank-you-message {
    display: none;
    font-size: 18px;
    color: green;
    text-align: center;
    margin-top: 1rem;
}

.modal.fade .modal-dialog {
    transform: scale(0.9);
    opacity: 0;
    transition: all 0.3s ease-in-out;
}

.modal.fade.show .modal-dialog {
    transform: scale(1);
    opacity: 1;
}

.icon-red {
    color: #dc3545;
}

.icon-cyan {
    color: #0dcaf0;
}

.icon-gray {
    color: #6c757d;
}

.warranty-item {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease;
    border-radius: 0.5rem;
    background-color: #fff;
    padding: 2rem 1.5rem;
}

.warranty-item:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* Simple fade-in animation */
@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.read-more-btn {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.375rem 1rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(45deg, hsla(310, 78%, 56%, 0.963), #1d3557);
    /* red to blue gradient */
    border: none;
    border-radius: 0.375rem;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.3s ease;
}

.read-more-btn:hover {
    background: linear-gradient(45deg, #1d3557, hsla(310, 78%, 56%, 0.954));
    /* reverse gradient on hover */
    text-decoration: none;
}

.animate-fadeUp {
    animation-name: fadeInUp;
    animation-duration: 0.8s;
    animation-fill-mode: both;
}

.service-link {
    text-decoration: none;
    color: inherit;
}

.service-card {
    padding: 30px;
    border-radius: 15px;
    background: #fff;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.08);
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0px 8px 25px rgba(0, 0, 0, 0.12);
}

.icon-box {
    width: 80px;
    height: 80px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    margin: 0 auto;
}

/* Soft background colors */
.bg-primary-light {
    background: rgba(0, 123, 255, 0.15);
}

.bg-success-light {
    background: rgba(40, 167, 69, 0.15);
}

.bg-warning-light {
    background: rgba(255, 193, 7, 0.20);
}

.bg-danger-light {
    background: rgba(220, 53, 69, 0.15);
}

.bg-info-light {
    background: rgba(23, 162, 184, 0.15);
}

.bg-secondary-light {
    background: rgba(108, 117, 125, 0.15);
}

.bg-dark-light {
    background: rgba(0, 0, 0, 0.10);
}