:root {
    --primary-color: #6a5acd;
    /* SlateBlue */
    --secondary-color: #f0f8ff;
    /* AliceBlue */
    --dark-color: #1a1a2e;
    --light-color: #ffffff;
    --text-color: #4a4a4a;
    --font-family: 'Poppins', sans-serif;
}

body {
    font-family: var(--font-family);
    background-color: var(--light-color);
    color: var(--text-color);
    position: relative;
}

/* --- Navigation Bar --- */
.navbar {
    transition: background-color 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    padding: 1rem 0;
    background-color: transparent;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--dark-color);
}

.nav-link {
    font-weight: 500;
    color: var(--text-color);
    transition: color 0.3s;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
}

.navbar.scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

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

.btn-primary:hover {
    background-color: #5a4ab9;
    border-color: #5a4ab9;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(106, 90, 205, 0.2);
}

.btn-outline-primary {
    border-color: var(--primary-color);
    color: var(--primary-color);
    border-radius: 50px;
    padding: 10px 25px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    color: var(--light-color);
}


/* --- Hero Section --- */
#hero {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #e6e6fa 100%);
    padding: 120px 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

#hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--dark-color);
    line-height: 1.2;
}

#hero .lead {
    font-size: 1.25rem;
    color: var(--text-color);
    margin: 1.5rem 0;
}

#hero .hero-image-container {
    position: relative;
}

#hero .hero-image {
    border-radius: 30px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    transform: rotate(3deg);
    transition: all 0.4s ease-in-out;
}

#hero .hero-image:hover {
    transform: rotate(0deg) scale(1.05);
}

/* --- Section Styling --- */
section {
    padding: 80px 0;
}

.section-title {
    font-weight: 700;
    font-size: 2.5rem;
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.section-subtitle {
    color: var(--text-color);
    margin-bottom: 3rem;
}

/* --- Features Section --- */
.feature-card {
    background: var(--light-color);
    border: none;
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

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

.feature-card .btn {
    margin-top: auto;
}

.feature-icon {
    width: 64px;
    height: 64px;
    color: var(--primary-color);
    margin: 0 auto 1.5rem auto;
}

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--dark-color);
}

/* --- Dropdown Menu Styling --- */
.dropdown-menu {
    border: none;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    padding: 1rem 0;
    margin-top: 0.5rem;
}

.dropdown-item {
    padding: 0.75rem 1.5rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.dropdown-item:hover {
    background-color: var(--primary-color);
    color: var(--light-color);
}

.dropdown-divider {
    margin: 0.5rem 1rem;
}

/* --- Testimonials Section --- */
#testimonials {
    background-color: var(--secondary-color);
}

.testimonial-card {
    background: var(--light-color);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    height: 100%;
}

.testimonial-card p {
    font-style: italic;
}

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

.testimonial-author .author-name {
    font-weight: 600;
    color: var(--dark-color);
}

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

/* --- Pricing Section --- */
.pricing-card {
    border: 1px solid #e0e0e0;
    border-radius: 20px;
    padding: 2.5rem;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.pricing-card:hover,
.pricing-card.popular {
    border-color: var(--primary-color);
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(106, 90, 205, 0.15);
}

.pricing-card.popular {
    position: relative;
    overflow: hidden;
}

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

.pricing-card .price {
    font-size: 3rem;
    font-weight: 700;
    color: var(--dark-color);
}

.pricing-card .price-period {
    font-size: 1rem;
    color: var(--text-color);
}

.pricing-card ul {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
    flex-grow: 1;
}

.pricing-card ul li {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.pricing-card ul li i {
    color: var(--primary-color);
    margin-right: 10px;
}

/* --- FAQ Section --- */
#faq {
    background-color: var(--secondary-color);
}

.accordion-item {
    background-color: #fff;
    border: none;
    border-radius: 15px !important;
    margin-bottom: 1rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
}

.accordion-button {
    font-weight: 600;
    color: var(--dark-color);
    border-radius: 15px !important;
}

.accordion-button:not(.collapsed) {
    background-color: var(--primary-color);
    color: var(--light-color);
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: none;
}

.accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%236a5acd'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion-button:not(.collapsed)::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ffffff'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

/* --- Contact Section --- */
.contact-form {
    background: var(--light-color);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.form-control {
    border-radius: 10px;
    padding: 1rem;
    border: 1px solid #e0e0e0;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(106, 90, 205, 0.25);
}

/* --- CTA Section --- */
#cta {
    background: linear-gradient(135deg, var(--primary-color) 0%, #8a78e8 100%);
    color: var(--light-color);
    border-radius: 20px;
    padding: 4rem;
}

#cta h2 {
    font-weight: 700;
    font-size: 2.5rem;
}

#cta .btn-light {
    border-radius: 50px;
    padding: 12px 30px;
    font-weight: 600;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

#cta .btn-light:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
}

/* --- Footer --- */
footer {
    background-color: var(--dark-color);
    color: rgba(255, 255, 255, 0.7);
    padding: 40px 0;
}

footer a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s;
}

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

footer .social-icons a {
    font-size: 1.2rem;
    margin: 0 10px;
}

/* --- Promotional Popup Styles --- */
.promotional-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: fadeIn 0.3s ease-out;
}

.promotional-popup-modal {
    background: white;
    border-radius: 20px;
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    animation: slideIn 0.4s ease-out;
}

.promotional-popup-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(0, 0, 0, 0.1);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.promotional-popup-close:hover {
    background: rgba(0, 0, 0, 0.2);
    transform: scale(1.1);
}

.promotional-popup-close i {
    width: 20px;
    height: 20px;
    color: var(--dark-color);
}

.promotional-popup-content {
    padding: 0;
}

.promotional-popup-image {
    width: 100%;
    border-radius: 20px 20px 0 0;
    overflow: hidden;
    position: relative;
}

.promotional-popup-image img {
    width: 100%;
    height: auto;
    display: block;
}

.promotional-popup-text {
    padding: 2rem;
    text-align: center;
}

.promotional-popup-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color), #8a78e8);
    color: white;
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.promotional-popup-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.promotional-popup-discount {
    display: block;
    font-size: 2.5rem;
    color: var(--primary-color);
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.promotional-popup-description {
    color: var(--text-color);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.promotional-popup-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.promotional-popup-cta {
    background: linear-gradient(135deg, var(--primary-color), #8a78e8);
    border: none;
    border-radius: 50px;
    padding: 15px 30px;
    font-weight: 600;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    text-transform: uppercase;
}

.promotional-popup-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(106, 90, 205, 0.3);
}

.promotional-popup-phone {
    border-color: var(--primary-color);
    color: var(--primary-color);
    border-radius: 50px;
    padding: 12px 25px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.promotional-popup-phone:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-1px);
}

.promotional-popup-terms {
    border-top: 1px solid #e0e0e0;
    padding-top: 1rem;
    margin-top: 1rem;
}

/* Popup Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: scale(0.8) translateY(-50px);
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* Responsive Adjustments */
@media (max-width: 991.98px) {

    .navbar.scrolled,
    .navbar {
        background-color: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(15px);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    }

    #hero {
        text-align: center;
    }

    #hero h1 {
        font-size: 2.8rem;
    }

    #hero .hero-image-container {
        margin-top: 3rem;
    }

    .promotional-popup-modal {
        margin: 10px;
    }

    .promotional-popup-title {
        font-size: 1.7rem;
    }

    .promotional-popup-discount {
        font-size: 2rem;
    }

    .promotional-popup-text {
        padding: 1.5rem;
    }
}

@media (max-width: 767.98px) {
    .navbar-brand {
        font-size: 1.2rem;
    }

    #hero h1 {
        font-size: 2.2rem;
    }

    .promotional-popup-actions {
        flex-direction: column;
    }

    .promotional-popup-title {
        font-size: 1.5rem;
    }

    .promotional-popup-discount {
        font-size: 1.8rem;
    }

    .promotional-popup-description {
        font-size: 0.9rem;
    }
}