/* CSS Reset and Variables */
:root {
    --primary: #4a148c;
    --secondary: #7b1fa2;
    --accent: #ff7043;
    --dark: #212121;
    --light: #faf5ff;
    --gray: #757575;
    --light-gray: #ede7f6;
    --transition: all 0.3s ease;
    --shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    --border-radius: 8px;
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: var(--dark);
    background-color: #fff;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3rem;
}

h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary);
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
    color: var(--gray);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

section {
    padding: 5rem 0;
}

.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    background-color: var(--primary);
    color: white;
    border: none;
    border-radius: var(--border-radius);
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
}

.btn:hover {
    background-color: var(--secondary);
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.btn-accent {
    background-color: var(--accent);
}

.btn-light {
    background-color: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-light:hover {
    background-color: var(--primary);
    color: white;
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 1rem 0;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-text {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary);
    margin-left: 0.5rem;
}

.logo-icon {
    color: var(--secondary);
    font-size: 2rem;
}

.nav-menu {
    display: flex;
    list-style: none;
}

.nav-menu li {
    margin-left: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 500;
    transition: var(--transition);
}

.nav-menu a:hover {
    color: var(--primary);
}

.contact-info {
    display: flex;
    align-items: center;
}

.phone-info {
    margin-right: 2rem;
    display: flex;
    align-items: center;
}

.phone-icon {
    color: var(--secondary);
    margin-right: 0.5rem;
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    background: none;
    border: none;
    color: var(--primary);
    cursor: pointer;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.8)), url('../img/hero.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 10rem 0 6rem;
    margin-top: 5rem;
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.hero h1 {
    color: white;
    margin-bottom: 1.5rem;
}

.hero p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.hero-btns {
    display: flex;
    gap: 1rem;
}

.hero-image {
    flex: 1;
    text-align: center;
}

.hero-img-placeholder {
    width: 100%;
    max-width: 500px;
    height: 350px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 1.2rem;
}

.hero-img-placeholder i {
    font-size: 5rem;
    margin-bottom: 1rem;
    opacity: 0.8;
}

/* About Section */
.about {
    background-color: var(--light);
}

.about-container {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.about-content {
    flex: 1;
}

.about h2 {
    text-align: left;
}

.about-image {
    flex: 1;
    text-align: center;
}

.about-img-placeholder {
    width: 100%;
    height: 300px;
    background-color: var(--primary);
    border-radius: var(--border-radius);
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 1.2rem;
}

.about-img-placeholder i {
    font-size: 5rem;
    opacity: 0.8;
}

/* Why Choose Us */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature {
    background-color: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.feature:hover {
    transform: translateY(-10px);
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--secondary);
    margin-bottom: 1rem;
}

.section-cta {
    text-align: center;
    margin-top: 3rem;
}

/* Services */
.services {
    background-color: var(--light);
}

.services-tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 0.8rem 1.5rem;
    background-color: white;
    border: none;
    border-radius: 30px;
    margin: 0 0.5rem 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.tab-btn.active {
    background-color: var(--primary);
    color: white;
}

.services-content {
    display: none;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.services-content.active {
    display: grid;
}

.service-card {
    background-color: white;
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-icon {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

/* Testimonials */
.testimonials-slider {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.testimonial {
    background-color: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    margin: 1rem;
    display: none;
}

.testimonial.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.client-info {
    display: flex;
    align-items: center;
    margin-top: 1.5rem;
}

.client-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--light-gray);
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 1rem;
    color: var(--primary);
    font-weight: bold;
}

.slider-controls {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
    gap: 1rem;
}

.slider-btn {
    background-color: var(--light-gray);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
}

.slider-btn:hover {
    background-color: var(--primary);
    color: white;
}

/* FAQ */
.faq {
    background-color: var(--light);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background-color: white;
    margin-bottom: 1rem;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.faq-question {
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 500;
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: var(--transition);
}

.faq-answer.active {
    padding: 0 1.5rem 1.5rem;
    max-height: 500px;
}

.faq-toggle {
    font-size: 1.2rem;
    transition: var(--transition);
}

.faq-toggle.active {
    transform: rotate(45deg);
}

/* Contact Form */
.contact-form-container {
    display: flex;
    gap: 3rem;
    align-items: flex-start;
}

.contact-info-box {
    flex: 1;
    background-color: var(--primary);
    color: white;
    padding: 2rem;
    border-radius: var(--border-radius);
}

.contact-info-box h3 {
    color: white;
    margin-bottom: 1.5rem;
}

.contact-detail {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.contact-detail i {
    margin-right: 1rem;
    color: var(--secondary);
    font-size: 1.2rem;
}

.form-container {
    flex: 2;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid var(--light-gray);
    border-radius: var(--border-radius);
    font-family: 'Roboto', sans-serif;
    font-size: 1rem;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
}

.confirmation-message {
    display: none;
    background-color: #d4edda;
    color: #155724;
    padding: 1rem;
    border-radius: var(--border-radius);
    margin-top: 1rem;
    text-align: center;
}

/* Newsletter */
.newsletter {
    background-color: var(--primary);
    color: white;
    text-align: center;
}

.newsletter h2 {
    color: white;
}

.newsletter-form {
    max-width: 900px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1rem;
}

.newsletter-form .form-group {
    margin-bottom: 0;
}

.newsletter-checkbox {
    grid-column: span 2;
    display: flex;
    align-items: center;
    justify-content: center;
}

.newsletter-checkbox input {
    margin-right: 0.5rem;
}

.newsletter-btn {
    grid-column: span 2;
    margin-top: 1rem;
}

.newsletter-confirmation {
    display: none;
    background-color: rgba(255, 255, 255, 0.2);
    padding: 1rem;
    border-radius: var(--border-radius);
    margin-top: 1rem;
}

/* Footer */
footer {
    background-color: var(--dark);
    color: white;
    padding: 4rem 0 2rem;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.footer-logo i {
    color: var(--secondary);
    margin-right: 0.5rem;
}

.footer-links h4,
.footer-contact h4 {
    color: white;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--secondary);
    padding-left: 5px;
}

.social-icons {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: var(--transition);
}

.social-icon:hover {
    background-color: var(--secondary);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.footer-bottom a {
    color: var(--secondary);
    text-decoration: none;
}

.privacy-links {
    margin-top: 1rem;
}

.privacy-links a {
    margin: 0 1rem;
}

/* Responsive Design */
@media (max-width: 992px) {
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    .hero-container,
    .about-container,
    .contact-form-container {
        flex-direction: column;
    }

    .hero-content,
    .about-content {
        margin-bottom: 3rem;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: white;
        flex-direction: column;
        padding: 1.5rem;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu li {
        margin: 0.8rem 0;
    }

    .mobile-menu-btn {
        display: block;
    }

    .contact-info .phone-info {
        display: none;
    }

    .newsletter-form {
        grid-template-columns: 1fr;
    }

    .newsletter-checkbox,
    .newsletter-btn {
        grid-column: 1;
    }
}

@media (max-width: 576px) {
    section {
        padding: 3rem 0;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.8rem;
    }

    .hero-btns {
        flex-direction: column;
        align-items: flex-start;
    }

    .features {
        grid-template-columns: 1fr;
    }

    .services-content {
        grid-template-columns: 1fr;
    }
}

/* Modal styles */
.modal {
    display: none;
    /* Hidden by default */
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.6);
    /* Black overlay with opacity */
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    max-width: 1400px;
    width: 90%;
    position: relative;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    animation: fadeIn 0.3s;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 25px;
    font-weight: bold;
    color: #333;
    cursor: pointer;
}

.close:hover {
    color: #166534;
}

.modal h2 {
    margin-top: 0;
}

.modal p {
    line-height: 1.6;
}