:root {
    --primary: #6C63FF;
    --secondary: #FFD166;
    --accent: #EF476F;
    --light: #F8F9FF;
    --dark: #2D3047;
    --text: #4A4A68;
    --white: #FFFFFF;
    --gradient-primary: linear-gradient(135deg, #6C63FF 0%, #8A84FF 100%);
    --gradient-secondary: linear-gradient(135deg, #FFD166 0%, #FFE4A1 100%);
    --gradient-accent: linear-gradient(135deg, #EF476F 0%, #FF6B9C 100%);
    --gradient-dark: linear-gradient(135deg, #2D3047 0%, #3D4163 100%);
    --gradient-light: linear-gradient(135deg, #F8F9FF 0%, #E6E9FF 100%);
    --shadow: 0 10px 30px rgba(108, 99, 255, 0.15);
    --shadow-heavy: 0 20px 40px rgba(108, 99, 255, 0.2);
    --transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.7;
    color: var(--text);
    overflow-x: hidden;
    background-color: var(--light);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Merriweather', serif;
    font-weight: 700;
}

.gradient-bg-primary {
    background: var(--gradient-primary);
}

.gradient-bg-secondary {
    background: var(--gradient-secondary);
}

.gradient-bg-accent {
    background: var(--gradient-accent);
}

.gradient-bg-dark {
    background: var(--gradient-dark);
}

.gradient-bg-light {
    background: var(--gradient-light);
}

.gradient-text-primary {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.gradient-text-secondary {
    background: var(--gradient-secondary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.btn-gradient-primary {
    background: var(--gradient-primary);
    border: none;
    color: white;
    transition: var(--transition);
    border-radius: 50px;
    padding: 12px 30px;
    font-weight: 600;
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
}

.btn-gradient-primary:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: 0.5s;
}

.btn-gradient-primary:hover:before {
    left: 100%;
}

.btn-gradient-primary:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-heavy);
    color: white;
}

.btn-gradient-secondary {
    background: var(--gradient-secondary);
    border: none;
    color: var(--dark);
    transition: var(--transition);
    border-radius: 50px;
    padding: 12px 30px;
    font-weight: 600;
    box-shadow: var(--shadow);
}

.btn-gradient-secondary:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-heavy);
    color: var(--dark);
}

/* Header & Navigation */
.navbar {
    padding: 20px 0;
    transition: var(--transition);
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 5px 20px rgba(108, 99, 255, 0.1);
}

.navbar.scrolled {
    padding: 12px 0;
    background: rgba(255, 255, 255, 0.98) !important;
}

.navbar-brand {
    font-family: 'Merriweather', serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary) !important;
    display: flex;
    align-items: center;
}

.navbar-brand span {
    color: var(--accent);
}

.nav-link {
    font-weight: 500;
    color: var(--dark) !important;
    margin: 0 8px;
    transition: var(--transition);
    position: relative;
    padding: 8px 0 !important;
}

.nav-link:hover {
    color: var(--primary) !important;
}

.nav-link:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 3px;
    transition: var(--transition);
}

.nav-link:hover:after {
    width: 100%;
}

.navbar .btn {
    border-radius: 50px;
    padding: 10px 25px;
    margin-left: 10px;
}

/* Banner Section */
.banner {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(rgba(45, 48, 71, 0.5), rgba(108, 99, 255, 0.5)), url('banner.jpg') no-repeat center center/cover;
    color: white;
}

.banner-content {
    max-width: 800px;
    z-index: 2;
}

.banner h1 {
    font-size: 3.8rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.banner p {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
}

.floating-elements {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    overflow: hidden;
    z-index: 1;
}

.floating-element {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: float 15s infinite linear;
}

.floating-element:nth-child(1) {
    width: 80px;
    height: 80px;
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.floating-element:nth-child(2) {
    width: 120px;
    height: 120px;
    top: 70%;
    left: 80%;
    animation-delay: 2s;
}

.floating-element:nth-child(3) {
    width: 60px;
    height: 60px;
    top: 40%;
    left: 85%;
    animation-delay: 4s;
}

.floating-element:nth-child(4) {
    width: 100px;
    height: 100px;
    top: 80%;
    left: 15%;
    animation-delay: 6s;
}

/* About Section */
.about {
    position: relative;
    overflow: hidden;
}

.about-icon {
    font-size: 10rem;
    color: var(--primary);
    animation: pulse 3s infinite ease-in-out;
    text-align: center;
    margin-bottom: 2rem;
}

/* Services Section */
.service-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-bottom: 30px;
    border: 1px solid rgba(108, 99, 255, 0.1);
}

.service-card:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--gradient-primary);
}

.service-card:hover {
    transform: translateY(-15px);
    box-shadow: var(--shadow-heavy);
}

.service-icon {
    font-size: 3.5rem;
    margin-bottom: 20px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: var(--transition);
}

.service-details {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    color: white;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transform: translateY(20px);
    transition: var(--transition);
    border-radius: 15px;
}

.service-card:hover .service-details {
    opacity: 1;
    transform: translateY(0);
}

.service-card:hover .service-icon,
.service-card:hover h3,
.service-card:hover p {
    opacity: 0;
}

.service-details ul {
    list-style: none;
    padding: 0;
    text-align: left;
}

.service-details li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 25px;
}

.service-details li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--secondary);
    font-weight: bold;
    font-size: 1.2rem;
}

/* Why Choose Us Section */
.feature {
    text-align: center;
    padding: 40px 25px;
    border-radius: 15px;
    background: white;
    transition: var(--transition);
    box-shadow: var(--shadow);
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(108, 99, 255, 0.1);
}

.feature:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--gradient-secondary);
}

.feature:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-heavy);
}

.feature i {
    font-size: 3.5rem;
    margin-bottom: 25px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Testimonials Section */
.testimonial {
    background: white;
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    text-align: center;
    margin: 0 15px;
    position: relative;
    border: 1px solid rgba(108, 99, 255, 0.1);
}

.testimonial:before {
    content: "" ";
 position: absolute;
    top: 20px;
    left: 30px;
    font-size: 5rem;
    color: var(--primary);
    opacity: 0.2;
    font-family: Georgia, serif;
}

.testimonial img {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 20px;
    border: 4px solid var(--secondary);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.testimonial p {
    font-style: italic;
    margin-bottom: 25px;
    position: relative;
    z-index: 1;
}

.testimonial h5 {
    color: var(--primary);
    margin-bottom: 5px;
}

/* Subscribe Section */
.subscribe-form {
    background: rgba(255, 255, 255, 0.15);
    padding: 50px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* FAQ Section */
.faq-item {
    margin-bottom: 20px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid rgba(108, 99, 255, 0.1);
}

.faq-question {
    background: white;
    padding: 25px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    transition: var(--transition);
}

.faq-question:hover {
    background: #f5f5ff;
}

.faq-question i {
    transition: var(--transition);
    color: var(--primary);
}

.faq-answer {
    padding: 0 25px;
    max-height: 0;
    overflow: hidden;
    transition: var(--transition);
    background: white;
}

.faq-item.active .faq-answer {
    padding: 25px;
    max-height: 500px;
}

.faq-item.active .faq-question i {
    transform: rotate(45deg);
}

/* Legal Section */
.legal-item {
    margin-bottom: 20px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid rgba(108, 99, 255, 0.1);
}

.legal-question {
    background: var(--gradient-primary);
    color: white;
    padding: 25px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    transition: var(--transition);
}

.legal-question:hover {
    background: #5a52e0;
}

.legal-question i {
    transition: var(--transition);
}

.legal-answer {
    padding: 0 25px;
    max-height: 0;
    overflow: hidden;
    transition: var(--transition);
    background: white;
}

.legal-item.active .legal-answer {
    padding: 25px;
    max-height: 1000px;
}

.legal-item.active .legal-question i {
    transform: rotate(45deg);
}

/* Contact Section */
.contact-detail {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
}

.contact-detail i {
    font-size: 1.8rem;
    color: var(--primary);
    margin-right: 20px;
    width: 40px;
    height: 40px;
    background: var(--gradient-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-form {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow);
    border: 1px solid rgba(108, 99, 255, 0.1);
}

/* Footer */
footer.gradient-bg-dark {
    background: var(--gradient-dark);
    color: #fff;
    padding: 70px 0 25px;
    font-family: 'Poppins', sans-serif;
}

footer h5 {
    color: #fff;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

footer h5::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--accent);
    border-radius: 3px;
}

footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

footer ul li {
    margin-bottom: 12px;
}

footer ul li a {
    color: #ccc;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    font-size: 15px;
}

footer ul li a:hover {
    color: var(--secondary);
    transform: translateX(6px);
}

footer p {
    color: #ccc;
    font-size: 15px;
    line-height: 1.7;
}

.newsletter-form {
    display: flex;
    margin-top: 20px;
}

.newsletter-form input {
    flex: 1;
    padding: 12px 15px;
    border: none;
    border-radius: 50px 0 0 50px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.newsletter-form button {
    background: var(--accent);
    color: white;
    border: none;
    padding: 0 20px;
    border-radius: 0 50px 50px 0;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
}

.newsletter-form button:hover {
    background: #e83562;
}

/* Alert Overlay */
.alert-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.alert-overlay.active {
    opacity: 1;
    visibility: visible;
}

.alert-box {
    background: white;
    padding: 50px;
    border-radius: 20px;
    text-align: center;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    transform: translateY(30px) scale(0.9);
    transition: var(--transition);
}

.alert-overlay.active .alert-box {
    transform: translateY(0) scale(1);
}

.alert-box i {
    font-size: 5rem;
    color: var(--primary);
    margin-bottom: 25px;
}

.alert-box h3 {
    color: var(--primary);
    margin-bottom: 20px;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    position: relative;
    display: inline-block;
    margin-bottom: 1.5rem;
}

.section-header h2:after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 4px;
}

/* Animations */
@keyframes float {
    0% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(180deg);
    }

    100% {
        transform: translateY(0) rotate(360deg);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

/* Particle Background */
.particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.particle {
    position: absolute;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    animation: float-particle 20s infinite linear;
}

@keyframes float-particle {
    0% {
        transform: translateY(0) translateX(0);
    }

    25% {
        transform: translateY(-20px) translateX(10px);
    }

    50% {
        transform: translateY(0) translateX(20px);
    }

    75% {
        transform: translateY(20px) translateX(10px);
    }

    100% {
        transform: translateY(0) translateX(0);
    }
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .banner h1 {
        font-size: 2.8rem;
    }

    .about-icon {
        font-size: 7rem;
    }

    .service-card {
        height: auto;
        min-height: 280px;
    }

    .subscribe-form {
        padding: 30px;
    }
}

/* Scroll Animation */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}