:root {
    --primary-color: #E53935; /* Red */
    --secondary-color: #8E24AA; /* Deep Purple */
    --accent-color: #1E88E5; /* Light Blue */
    --background-color: #F3E5F5; /* Lavender */
    --text-color: #4A148C; /* Dark Purple */
    --white: #FFFFFF; /* White */
    --light-gray: #D1C4E9; /* Light Lavender */
    --dark-gray: #311B92; /* Indigo */
    --box-shadow-color: rgba(229, 57, 53, 0.5); /* Red Box-shadow */
}

/* General Styling */
body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    background-color: var(--background-color);
    color: var(--text-color);
}

/* Navbar Styling */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--primary-color);
    padding: 15px 20px;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px var(--box-shadow-color);
}

.nav-links {
    list-style: none;
    display: flex;
    margin: 0;
}

.nav-links li {
    margin-left: 20px;
}

.nav-links a {
    color: var(--white);
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s ease;
}

.nav-links a:hover, .logo a:hover {
    color: var(--accent-color);
}

.nav-links.active {
    display: flex;
    flex-direction: column;
    width: 100%;
    position: absolute;
    top: 60px;
    left: 0;
    background-color: var(--primary-color);
    z-index: 999;
}

.logo {
    color: var(--white);
    font-size: 24px;
    font-weight: bold;
}

.logo a {
    text-decoration: none;
    color: inherit;
}

.burger {
    display: none;
    cursor: pointer;
}

.burger div {
    width: 25px;
    height: 3px;
    background-color: var(--white);
    margin: 5px;
    transition: all 0.3s ease;
}

/* Hero Section Styling */
#hero {
    position: relative;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    overflow: hidden;
    background: var(--secondary-color);
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    position: relative;
    padding: 20px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent background */
    z-index: 1;
}

.hero-text {
    position: relative;
    z-index: 2;
    color: var(--white);
    max-width: 800px;
    text-align: center;
    padding: 30px;
    border-radius: 10px;
    background-color: rgba(0, 0, 0, 0.6);
}

.hero-text h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.hero-text p {
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.cta-button {
    background-color: var(--accent-color);
    color: var(--white);
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background-color: var(--dark-gray);
}

.hero-image {
    background: url('/assets/banner/banner.avif') no-repeat center center;
    background-size: cover;
    width: 100%;
    height: 100%;
    position: absolute;
    z-index: 0;
}

/* Introduction Section */
#introduction {
    padding: 60px 20px;
    background-color: var(--background-color);
    text-align: center;
}

#introduction h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--text-color);
    position: relative;
}

#introduction h2::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background-color: var(--accent-color);
    margin: 10px auto;
}

#introduction .lead {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--text-color);
}

.about-content {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    background: var(--white);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 20px var(--box-shadow-color);
    align-items: center;
}

.about-image {
    flex: 1 1 300px;
    background: var(--light-gray);
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 0 10px var(--box-shadow-color);
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 0 10px var(--box-shadow-color);
}

.about-card {
    flex: 2 1 500px;
    background: var(--light-gray);
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 0 10px var(--box-shadow-color);
}

.about-card h3 {
    font-size: 2rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.about-card p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-color);
    margin-bottom: 15px;
}

.about-card .learn-more-button {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 20px;
    background-color: var(--accent-color);
    color: var(--white);
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease, color 0.3s ease;
    font-weight: bold;
}

.about-card .learn-more-button:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

/* Services Section */
#services {
    padding: 60px 20px;
    background-color: var(--background-color);
    text-align: center;
}

#services h2 {
    font-size: 2.5rem;
    margin-bottom: 40px;
    color: var(--text-color);
    position: relative;
}

#services h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: var(--accent-color);
    margin: 20px auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    justify-content: center;
}

.service-box {
    background: var(--white);
    border: 2px solid var(--light-gray);
    border-radius: 10px;
    padding: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    box-shadow: 0 4px 8px var(--box-shadow-color);
}

.service-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 16px var(--box-shadow-color);
}

.service-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.service-info h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.service-info p {
    color: var(--text-color);
    line-height: 1.6;
}

/* Why Choose Us Section */
#why-choose-us {
    padding: 60px 20px;
    background-color: var(--background-color);
    text-align: center;
}

#why-choose-us h2 {
    font-size: 2.5rem;
    margin-bottom: 40px;
    color: var(--text-color);
    position: relative;
}

#why-choose-us h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: var(--accent-color);
    margin: 20px auto;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.why-item {
    background: var(--white);
    border: 2px solid var(--light-gray);
    border-radius: 10px;
    padding: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 8px var(--box-shadow-color);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.why-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 16px var(--box-shadow-color);
}

.why-image {
    width: 100%;
    margin-bottom: 20px;
}

.why-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 2px 6px var(--box-shadow-color);
}

.why-text {
    text-align: left;
}

.why-text h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.why-text p {
    margin: 0 0 10px 0;
    color: var(--text-color);
    line-height: 1.6;
}

#pricing {
    padding: 60px 20px;
    background-color: var(--background-color);
    text-align: center;
}

#pricing h2 {
    font-size: 2.5rem;
    margin-bottom: 40px;
    color: var(--text-color);
    position: relative;
}

#pricing h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background-color: var(--accent-color);
    margin: 15px auto;
}

.pricing-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
}

.pricing-card {
    background: var(--white);
    border: 2px solid var(--light-gray);
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 4px 8px var(--box-shadow-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 16px var(--box-shadow-color);
}

.pricing-header {
    background: var(--primary-color);
    color: var(--white);
    padding: 15px;
    border-radius: 15px 15px 0 0;
    text-align: center;
}

.rate-price {
    font-size: 2rem;
    margin-top: 10px;
}

.pricing-body {
    padding: 20px;
    text-align: left;
}

.extra-info {
    margin-top: 40px;
    text-align: left;
}

.extra-info h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    color: var(--secondary-color);
}

.extra-info ul {
    list-style: disc;
    padding-left: 20px;
}

.cta-container {
    margin-top: 40px;
}

.cta-inner {
    background: var(--accent-color);
    padding: 20px;
    border-radius: 10px;
    color: var(--white);
}

.cta-button {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 20px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 5px;
    text-decoration: none;
    transition: background 0.3s ease;
}

.cta-button:hover {
    background: var(--dark-gray);
}

/* Contact Section */
#contact {
    padding: 60px 20px;
    background-color: var(--background-color);
    text-align: center;
}

#contact h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--text-color);
    position: relative;
}

#contact h2::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background-color: var(--accent-color);
    margin: 10px auto;
}

#contact p {
    margin-top: 20px;
    font-size: 1rem;
    color: var(--text-color);
}

form {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 400px;
    margin: 0 auto;
    background: var(--white);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 20px var(--box-shadow-color);
}

.form-group {
    width: 100%;
    margin-bottom: 15px;
}

label {
    display: block;
    font-weight: 500;
    margin-bottom: 5px;
    font-size: 1rem;
    color: var(--text-color);
    font-weight: bold;
    text-align: left;
}

input, textarea {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
    font-family: 'Roboto', sans-serif;
    box-sizing: border-box;
}

textarea {
    height: 100px;
    resize: vertical;
}

button {
    background-color: var(--accent-color);
    color: var(--white);
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s ease;
    margin-top: 10px;
    width: 100%;
}

button:hover {
    background-color: #e0a800;
}

.submit-button {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.submit-button:hover {
    background-color: var(--accent-color);
}

/* Footer Section */
footer {
    padding: 20px;
    background-color: var(--primary-color);
    text-align: center;
    color: var(--white);
}

footer p {
    margin: 5px 0;
}

footer a {
    color: var(--accent-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover {
    color: var(--secondary-color);
}

/* Call Button */
.call-button {
    display: none;
}

/* Responsive Design */
@media (max-width: 768px) {
    .call-button {
        display: block;
        position: fixed;
        bottom: 20px;
        right: 20px;
        background-color: var(--primary-color);
        color: white;
        padding: 15px;
        border-radius: 50%;
        text-align: center;
        box-shadow: 0 0 10px var(--box-shadow-color);
        cursor: pointer;
        transition: background-color 0.3s ease;
    }

    .call-button i {
        font-size: 1.5rem;
    }

    .call-button:hover {
        background-color: var(--accent-color);
    }

    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        background-color: var(--primary-color);
        position: absolute;
        top: 60px;
        left: 0;
        padding: 0;
    }

    .nav-links li {
        margin-left: 0;
        margin-bottom: 10px;
    }

    .nav-links.active {
        display: flex;
        align-items: center;
        justify-content: space-evenly;
        height: 30vh;
    }

    .burger {
        display: block;
    }

    .hero-text h1 {
        font-size: 1.8rem;
    }

    .hero-text p {
        font-size: 1rem;
    }

    .cta-button {
        padding: 10px 20px;
    }

    .about-content {
        flex-direction: column;
        gap: 20px;
    }

    .about-image, .about-card {
        flex: 1 1 100%;
        max-width: 100%;
    }

    .why-text h3 {
        font-size: 1.5rem;
    }

    .why-text p {
        font-size: 0.9rem;
    }

    .service-box, .why-card, .price-card {
        max-width: 100%;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .pricing-card {
        margin-bottom: 20px;
    }

    .extra-info, .cta-inner {
        padding: 15px;
    }

    .cta-button {
        
        text-align: center;
    }

    #contact p {
        padding: 0;
    }
}
