/* Global Styles */
:root {
    --primary-color: #5000ba;
    --secondary-color: #ffffff;
    --text-color: #000000;
    --accent-color: #5000ba;
    --background-light: #ffffff;
    --background-dark: #000000;
    --gradient-primary: linear-gradient(135deg, #5000ba 0%, #5000ba 100%);
    --shadow-color: rgba(80, 0, 186, 0.1);
    --overlay-color: rgba(80, 0, 186, 0.8);
    --light-text: #6b7280;
    --section-bg: #f3f4f6;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    background-color: var(--background-light);
    color: var(--text-color);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 5%;
    background: var(--primary-color);
    backdrop-filter: blur(8px);
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    padding: 0.6rem 5%;
}

.logo {
    display: flex;
    align-items: center;
}

.logo a {
    text-decoration: none;
    display: block;
}

.logo-img {
    height: 42px;
    width: auto;
    transition: transform 0.3s ease;
    padding: 4px;
}

.logo:hover .logo-img {
    transform: translateY(-3px);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--secondary-color);
    font-weight: 500;
    font-size: 1rem;
    padding: 0.45rem 0;
    position: relative;
    transition: color 0.3s ease;
    opacity: 0.9;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary-color);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a:hover {
    color: var(--secondary-color);
    opacity: 1;
}

/* Contact CTA Button */
.nav-cta {
    background: var(--secondary-color) !important;
    color: var(--primary-color) !important;
    padding: 0.6rem 1.3rem !important;
    border-radius: 8px;
    transition: all 0.3s ease !important;
}

.nav-cta:hover {
    background: var(--secondary-color) !important;
    color: var(--primary-color) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.nav-cta::after {
    display: none;
}

/* Mobile Menu */
.menu-btn {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--secondary-color);
    transition: color 0.3s ease;
}

.menu-btn:hover {
    color: var(--secondary-color);
    opacity: 0.9;
}

@media (max-width: 1024px) {
    .menu-btn {
        display: block;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        flex-direction: column;
        background: white;
        padding: 1rem 0;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
        gap: 0;
    }

    .nav-links a {
        display: block;
        padding: 1rem 2rem;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }

    .nav-links a:last-child {
        border-bottom: none;
    }

    .nav-cta {
        margin: 1rem 2rem;
        text-align: center;
    }

    .logo-img {
        height: 38px;
    }
}

@media (max-width: 768px) {
    .logo-img {
        height: 35px;
    }
}

@media (max-width: 480px) {
    .logo-img {
        height: 32px;
    }
}

/* Hero Section */
.hero {
    padding: 8rem 5% 5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 100vh;
    background: var(--background-light);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="10" cy="10" r="2" fill="%232563eb20"/></svg>') repeat;
    opacity: 0.5;
    z-index: 1;
}

.hero-content {
    flex: 1;
    max-width: 650px;
    position: relative;
    z-index: 2;
}

.hero-text {
    padding-right: 2rem;
}

.hero-subtitle {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: rgba(80, 0, 186, 0.1);
    color: var(--primary-color);
    border-radius: 50px;
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.hero-content h1 {
    font-size: 4rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--text-color);
    font-weight: 800;
}

.highlight {
    color: var(--primary-color);
    position: relative;
    display: inline-block;
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 30%;
    background: rgba(37, 99, 235, 0.2);
    z-index: -1;
    transform: rotate(-2deg);
}

.hero-content p {
    font-size: 1.2rem;
    color: var(--light-text);
    margin-bottom: 2.5rem;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.cta-button {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    background: var(--primary-color);
    color: var(--secondary-color);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.cta-button:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px var(--shadow-color);
}

.secondary-button {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    background: white;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.secondary-button:hover {
    background: var(--primary-color);
    color: var(--secondary-color);
    transform: translateY(-2px);
}

.hero-stats {
    display: flex;
    gap: 3rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.stat-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-color);
}

.stat-label {
    color: var(--light-text);
    font-size: 0.9rem;
}

.hero-visual {
    flex: 1;
    position: relative;
    z-index: 2;
    padding-left: 2rem;
}

.hero-image-wrapper {
    position: relative;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

.main-image {
    width: 100%;
    height: 400px;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    animation: float 6s ease-in-out infinite;
    object-fit: cover;
}

.floating-card {
    position: absolute;
    background: var(--secondary-color);
    padding: 1rem 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px var(--shadow-color);
    border: 1px solid rgba(80, 0, 186, 0.1);
    display: flex;
    align-items: center;
    gap: 1rem;
    font-weight: 500;
}

.floating-card i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

.card-1 {
    top: -20px;
    left: -20px;
    animation: float 5s ease-in-out infinite;
}

.card-2 {
    bottom: 40px;
    left: -40px;
    animation: float 7s ease-in-out infinite;
}

.card-3 {
    top: 40px;
    right: -20px;
    animation: float 6s ease-in-out infinite;
}

.shape-1, .shape-2 {
    position: absolute;
    border-radius: 50%;
    background: var(--gradient-primary);
    opacity: 0.1;
}

.shape-1 {
    width: 300px;
    height: 300px;
    top: -150px;
    right: -150px;
}

.shape-2 {
    width: 200px;
    height: 200px;
    bottom: -100px;
    left: -100px;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

/* Update responsive styles for hero section */
@media (max-width: 1024px) {
    .hero {
        flex-direction: column;
        padding-top: 6rem;
        text-align: center;
    }

    .hero-text {
        padding-right: 0;
    }

    .hero-content h1 {
        font-size: 3rem;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-visual {
        margin-top: 4rem;
        padding-left: 0;
    }

    .floating-card {
        display: none;
    }
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-stats {
        flex-direction: column;
        gap: 2rem;
        align-items: center;
    }
}

/* Services Section */
.services {
    padding: 8rem 5%;
    background: var(--section-bg);
    position: relative;
    overflow: hidden;
}

.services::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: var(--gradient-primary);
    border-radius: 50%;
    opacity: 0.05;
    z-index: 1;
}

.services::after {
    content: '';
    position: absolute;
    bottom: -40%;
    left: -20%;
    width: 600px;
    height: 600px;
    background: var(--accent-color);
    border-radius: 50%;
    opacity: 0.05;
    z-index: 1;
}

.services h2 {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--text-color);
    position: relative;
    z-index: 2;
}

.section-subtitle {
    text-align: center;
    color: var(--light-text);
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 4rem;
    position: relative;
    z-index: 2;
}

.service-detail {
    display: flex;
    align-items: center;
    gap: 4rem;
    margin-bottom: 8rem;
    position: relative;
    z-index: 2;
    background: var(--secondary-color);
    border-radius: 30px;
    padding: 3rem;
    box-shadow: 0 20px 40px var(--shadow-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-detail:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px var(--shadow-color);
}

.service-detail.reverse {
    flex-direction: row-reverse;
}

.service-content {
    flex: 1;
    max-width: 600px;
}

.service-content h3 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    color: var(--text-color);
    position: relative;
    padding-bottom: 1rem;
}

.service-content h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.service-content p {
    font-size: 1.1rem;
    color: var(--light-text);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.service-features {
    list-style: none;
    margin-bottom: 2.5rem;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    color: var(--text-color);
}

.service-features li i {
    width: 24px;
    height: 24px;
    background: var(--gradient-primary);
    color: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
}

.service-image {
    flex: 1;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px var(--shadow-color);
    transform: perspective(1000px) rotateY(0deg);
    transition: transform 0.5s ease;
}

.service-detail:hover .service-image {
    transform: perspective(1000px) rotateY(5deg);
}

.service-detail.reverse:hover .service-image {
    transform: perspective(1000px) rotateY(-5deg);
}

.service-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-detail:hover .service-image img {
    transform: scale(1.05);
}

.service-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem 2rem;
    background: var(--primary-color);
    color: var(--secondary-color);
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transform: translateX(-100%);
    transition: transform 0.5s ease;
}

.service-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px var(--shadow-color);
}

.service-cta:hover::before {
    transform: translateX(100%);
}

.service-cta i {
    transition: transform 0.3s ease;
}

.service-cta:hover i {
    transform: translateX(5px);
}

@media (max-width: 1024px) {
    .service-detail, 
    .service-detail.reverse {
        flex-direction: column;
        gap: 3rem;
        padding: 2rem;
        text-align: center;
    }

    .service-content {
        max-width: 100%;
    }

    .service-content h3::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .service-features {
        display: inline-block;
        text-align: left;
    }

    .service-image {
        width: 100%;
        max-width: 500px;
        margin: 0 auto;
    }

    .services h2 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .services {
        padding: 6rem 5%;
    }

    .service-detail {
        padding: 1.5rem;
        margin-bottom: 4rem;
    }

    .service-content h3 {
        font-size: 1.8rem;
    }

    .service-image {
        height: 300px;
    }

    .service-image img {
        height: 300px;
    }
}

/* About Section */
.about {
    padding: 5rem 5%;
    display: flex;
    align-items: center;
    gap: 4rem;
}

.about-content {
    flex: 1;
}

.about-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.about-stats {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.stat {
    text-align: center;
}

.stat h3 {
    font-size: 2.5rem;
    color: var(--primary-color);
}

/* Blog Section */
.blog {
    padding: 5rem 5%;
    background: var(--background-light);
}

.blog h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    margin-bottom: 3rem;
}

.blog-card {
    background: var(--secondary-color);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 20px var(--shadow-color);
    transition: transform 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-10px);
}

.blog-image {
    position: relative;
    height: 240px;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card:hover .blog-image img {
    transform: scale(1.1);
}

.blog-category {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--primary-color);
    color: var(--secondary-color);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

.blog-content {
    padding: 2rem;
}

.blog-meta {
    display: flex;
    gap: 1.5rem;
    color: var(--light-text);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.blog-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.blog-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    line-height: 1.4;
    color: var(--text-color);
}

.blog-content p {
    color: var(--light-text);
    margin-bottom: 1.5rem;
}

.read-more {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: gap 0.3s ease;
}

.read-more:hover {
    gap: 1rem;
}

.blog-cta {
    text-align: center;
}

.view-all-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.view-all-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px var(--shadow-color);
}

/* Features Section */
.features {
    padding: 5rem 5%;
    background: var(--background-light);
}

.features h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--secondary-color);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 20px var(--shadow-color);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: rgba(37, 99, 235, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.feature-icon i {
    font-size: 2rem;
    color: var(--primary-color);
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.feature-card p {
    color: var(--light-text);
    margin-bottom: 1rem;
}

.feature-hover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    color: var(--secondary-color);
    padding: 2rem;
    opacity: 0;
    transform: translateY(100%);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.feature-card:hover .feature-hover {
    opacity: 1;
    transform: translateY(0);
}

.feature-hover h4 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.feature-hover ul {
    list-style: none;
    text-align: center;
}

.feature-hover li {
    margin-bottom: 0.5rem;
}

/* Testimonials Section */
.testimonials {
    padding: 5rem 5%;
    background: var(--section-bg);
}

.testimonials h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

.testimonials-container {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.testimonials-slider {
    overflow: hidden;
    position: relative;
    padding: 2rem 0;
}

.testimonial-slide {
    display: none;
    animation: fadeIn 0.5s ease forwards;
}

.testimonial-slide.active {
    display: block;
}

.testimonial-content {
    background: var(--secondary-color);
    padding: 3rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 4px 20px var(--shadow-color);
}

.client-image {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 1.5rem;
    border: 3px solid var(--primary-color);
    position: relative;
}

.client-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

.quote-icon {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.testimonial-content p {
    font-size: 1.1rem;
    color: var(--text-color);
    margin-bottom: 1.5rem;
    font-style: italic;
}

.client-info h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.client-info span {
    color: var(--light-text);
}

.rating {
    color: #ffd700;
    margin-top: 1rem;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.slider-btn:hover {
    background: var(--primary-color);
    color: white;
}

.prev-btn {
    left: -20px;
}

.next-btn {
    right: -20px;
}

/* FAQ Section */
.faq {
    padding: 5rem 5%;
    background: var(--section-bg);
    position: relative;
    overflow: hidden;
}

.faq::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: var(--gradient-primary);
    border-radius: 50%;
    opacity: 0.05;
    z-index: 1;
}

.faq::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: var(--accent-color);
    border-radius: 50%;
    opacity: 0.05;
    z-index: 1;
}

.faq h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
}

.faq-subtitle {
    text-align: center;
    color: var(--light-text);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 2;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.faq-item {
    background: var(--secondary-color);
    border-radius: 16px;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 20px var(--shadow-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.faq-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px var(--shadow-color);
}

.faq-question {
    padding: 1.8rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 16px;
}

.faq-question h3 {
    font-size: 1.2rem;
    color: var(--text-color);
    font-weight: 600;
    transition: color 0.3s ease;
    padding-right: 2rem;
}

.faq-icon {
    position: relative;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(80, 0, 186, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.faq-icon i {
    color: var(--primary-color);
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.faq-answer {
    padding: 0 1.8rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    line-height: 1.8;
    color: var(--light-text);
}

.faq-item.active {
    background: linear-gradient(145deg, var(--secondary-color), rgba(80, 0, 186, 0.02));
}

.faq-item.active .faq-question {
    border-bottom: 1px solid rgba(80, 0, 186, 0.1);
    border-radius: 16px 16px 0 0;
}

.faq-item.active .faq-question h3 {
    color: var(--primary-color);
}

.faq-item.active .faq-icon {
    background: var(--primary-color);
}

.faq-item.active .faq-icon i {
    color: var(--secondary-color);
    transform: rotate(45deg);
}

.faq-item.active .faq-answer {
    padding: 1.8rem;
    max-height: 300px;
}

.faq-answer p {
    margin-bottom: 1rem;
}

.faq-answer ul {
    list-style: none;
    padding-left: 1.5rem;
}

.faq-answer ul li {
    position: relative;
    margin-bottom: 0.8rem;
}

.faq-answer ul li::before {
    content: '';
    position: absolute;
    left: -1.5rem;
    top: 0.5rem;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent-color);
}

@media (max-width: 768px) {
    .faq-question h3 {
        font-size: 1.1rem;
        padding-right: 1rem;
    }

    .faq-icon {
        width: 25px;
        height: 25px;
    }

    .faq-answer {
        font-size: 0.95rem;
    }
}

/* Contact Section */
.contact {
    position: relative;
    padding: 8rem 5%;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    overflow: hidden;
}

.contact-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(var(--primary-color) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.05;
    pointer-events: none;
}

.contact-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.contact-header {
    text-align: center;
    margin-bottom: 4rem;
}

.contact-subtitle-tag {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: rgba(80, 0, 186, 0.1);
    color: var(--primary-color);
    border-radius: 50px;
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.contact-header h2 {
    font-size: 3rem;
    color: var(--text-color);
    margin-bottom: 1rem;
    font-weight: 800;
}

.contact-subtitle {
    font-size: 1.2rem;
    color: var(--light-text);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px var(--shadow-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px var(--shadow-color);
}

.info-header {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
}

.info-header i {
    font-size: 1.5rem;
    color: var(--primary-color);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(80, 0, 186, 0.1);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.contact-card:hover .info-header i {
    background: var(--primary-color);
    color: white;
    transform: scale(1.1);
}

.info-text h3 {
    font-size: 1.3rem;
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.info-text p {
    color: var(--light-text);
    line-height: 1.6;
    margin: 0;
}

.social-connect {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px var(--shadow-color);
    text-align: center;
}

.social-connect h3 {
    font-size: 1.3rem;
    color: var(--text-color);
    margin-bottom: 1rem;
}

.social-connect p {
    color: var(--light-text);
    margin-bottom: 1.5rem;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.social-icon {
    width: 45px;
    height: 45px;
    border-radius: 12px;
    background: rgba(80, 0, 186, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.2rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-icon:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}

.contact-form {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 4px 30px var(--shadow-color);
}

.form-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.form-header h3 {
    font-size: 2rem;
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.form-header p {
    color: var(--light-text);
}

.form-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.input-group {
    position: relative;
    margin-bottom: 1.5rem;
}

.input-group input,
.input-group textarea,
.input-group select {
    width: 100%;
    padding: 1rem 1.2rem;
    border: 2px solid rgba(80, 0, 186, 0.1);
    border-radius: 12px;
    background: white;
    font-size: 1rem;
    transition: all 0.3s ease;
    color: var(--text-color);
}

.input-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%235000ba' viewBox='0 0 16 16'%3E%3Cpath d='M8 11.5l-6-6h12z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1.2rem center;
    padding-right: 2.5rem;
}

.input-group textarea {
    height: 150px;
    resize: vertical;
}

.input-group label {
    position: absolute;
    left: 1rem;
    top: 1rem;
    padding: 0 0.5rem;
    color: var(--light-text);
    font-size: 1rem;
    pointer-events: none;
    transition: all 0.3s ease;
    background: white;
}

.input-group input:focus,
.input-group textarea:focus,
.input-group select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(80, 0, 186, 0.1);
}

.input-group input:focus + label,
.input-group textarea:focus + label,
.input-group input:not(:placeholder-shown) + label,
.input-group textarea:not(:placeholder-shown) + label {
    top: -0.5rem;
    left: 0.8rem;
    font-size: 0.85rem;
    color: var(--primary-color);
}

.submit-btn {
    width: 100%;
    padding: 1.2rem;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    cursor: pointer;
    transition: all 0.3s ease;
    overflow: hidden;
    position: relative;
}

.submit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transform: translateX(-100%);
    transition: transform 0.5s ease;
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(80, 0, 186, 0.3);
}

.submit-btn:hover::before {
    transform: translateX(100%);
}

.submit-btn i {
    transition: transform 0.3s ease;
}

.submit-btn:hover i {
    transform: translateX(5px) rotate(-15deg);
}

@media (max-width: 1024px) {
    .contact-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-info {
        order: 2;
    }
    
    .contact-form {
        order: 1;
    }

    .contact-header h2 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .contact {
        padding: 4rem 5%;
    }
    
    .form-group {
        grid-template-columns: 1fr;
    }
    
    .contact-header h2 {
        font-size: 2rem;
    }

    .contact-form {
        padding: 2rem;
    }

    .info-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 1rem;
    }

    .info-text {
        text-align: center;
    }
}

/* Footer */
footer {
    background: var(--primary-color);
    color: var(--secondary-color);
    padding: 5rem 5% 2rem;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% -50%, rgba(255, 255, 255, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.2fr;
    gap: 3rem;
    margin-bottom: 3rem;
    position: relative;
    z-index: 1;
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.brand-col {
    max-width: 400px;
}

.footer-logo span {
    font-size: 2.2rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--secondary-color) 0%, rgba(255, 255, 255, 0.8) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 1px;
}

.footer-logo p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
}

.contact-item:hover {
    color: var(--secondary-color);
    transform: translateX(5px);
}

.contact-item i {
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.contact-item:hover i {
    background: var(--secondary-color);
    color: var(--primary-color);
}

.footer-col h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
    position: relative;
    padding-bottom: 0.8rem;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--secondary-color);
    border-radius: 2px;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-links a::before {
    content: '→';
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--secondary-color);
    transform: translateX(5px);
}

.footer-links a:hover::before {
    opacity: 1;
    transform: translateX(0);
}

.social-text {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    line-height: 1.6;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    color: var(--secondary-color);
    font-size: 1.2rem;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-links a:hover {
    background: var(--secondary-color);
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 1;
}

.footer-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-info p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

.footer-legal {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.footer-legal a:hover {
    color: var(--secondary-color);
}

.separator {
    color: rgba(255, 255, 255, 0.3);
}

@media (max-width: 1024px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }

    .brand-col {
        grid-column: 1 / -1;
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-col {
        text-align: center;
    }

    .footer-col h3::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .contact-item {
        justify-content: center;
    }

    .footer-links a::before {
        display: none;
    }

    .social-links {
        justify-content: center;
    }

    .footer-info {
        flex-direction: column;
        text-align: center;
    }

    .footer-legal {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .footer-legal {
        flex-direction: column;
        gap: 0.5rem;
    }

    .separator {
        display: none;
    }
}