:root {
    --primary: #3b82f6;
    --primary-light: #60a5fa;
    --primary-dark: #2563eb;
    --secondary: #0f172a;
    --secondary-dark: #0f172a;
    --text: #f3f4f6;
    --text-muted: #94a3b8;
    --bg-dark: #0f172a;
    --bg-card: #1e293b;
    --bg-card-hover: #334155;
    --accent: #38bdf8;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text);
    background-color: var(--bg-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

section {
    padding: 5rem 1rem;
}

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

.btn {
    display: inline-block;
    background-color: var(--primary);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}


.btn-primary {
    background-color: var(--primary);
    color: white;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background-color: rgba(59, 130, 246, 0.1);
    transform: translateY(-2px);
}




.btn-secondary {
    background-color: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}


.btn-secondary:hover {
    background-color: rgba(59, 130, 246, 0.1);
}

.text-gradient {
    background: linear-gradient(to right, #3b82f6, #38bdf8);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

header.scrolled {
    padding: 0.5rem 0;
    background-color: rgba(15, 23, 42, 0.95);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
}

.logo span {
    color: var(--primary);
    margin-left: 0.25rem;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: var(--text);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary);
}

.btn-mobile-nav {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    color: white;
    font-size: 1.5rem;
}

.hero {
    background-color: var(--bg-dark);
    min-height: 100vh;
    padding: 120px 0 80px;
    /* Adjusted for fixed header */
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0.2;
    background: radial-gradient(circle at 50% 50%, var(--primary-light) 0%, transparent 50%);
}

.hero-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
    position: relative;
    z-index: 1;
    width: 100%;
}

.hero-content {
    flex: 1;
    max-width: 600px;
    z-index: 1;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    color: var(--text);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

.hero-image {
    flex: 1;
    max-width: 600px;
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-svg {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.25));
    animation: float 6s ease-in-out infinite;
    display: block;
    /* Ensures the SVG is properly displayed */
}

@keyframes float {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0);
    }
}

/* Hero Section Responsive Styles */
@media (max-width: 1280px) {
    .hero h1 {
        font-size: 3rem;
    }

    .hero p {
        font-size: 1.1rem;
    }
}

@media (max-width: 991px) {
    .hero {
        padding: 100px 0 60px;
    }

    .hero-wrapper {
        flex-direction: column;
    }

    .hero-content {
        max-width: 100%;
        text-align: center;
        margin-bottom: 2rem;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-image {
        max-width: 80%;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 80px 0 40px;
        min-height: auto;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .hero-image {
        max-width: 90%;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 70px 0 30px;
    }

    .hero h1 {
        font-size: 1.75rem;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .btn {
        width: 100%;
    }

    .hero-image {
        max-width: 100%;
    }
}

/* Features Section */
.features {
    background-color: var(--secondary);
    position: relative;
    overflow: hidden;
}

.section-title {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.section-title p {
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
    font-size: 1.1rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    background-color: var(--bg-card);
    border-radius: 1rem;
    padding: 2rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.feature-card:hover {
    transform: translateY(-5px);
    background-color: var(--bg-card-hover);
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.5);
}

.feature-icon {
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 0.75rem;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.feature-icon svg {
    width: 1.5rem;
    height: 1.5rem;
    color: white;
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    font-weight: 600;
    position: relative;
    z-index: 1;
}

.feature-card p {
    color: var(--text-muted);
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
    flex-grow: 1;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(56, 189, 248, 0.05));
    border-radius: 50%;
    transition: all 0.5s ease;
    opacity: 0;
}

.feature-card:hover::before {
    opacity: 1;
    transform: scale(1.5);
}

/* Animation */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.active {
    opacity: 1;
    transform: translateY(0);
}

/* SVG Animations */
.svg-animate {
    animation: svg-float 3s ease-in-out infinite;
}

@keyframes svg-float {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 991px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .hero-image {
        position: relative;
        right: 0;
        top: 0;
        transform: none;
        width: 100%;
        margin-top: 3rem;
        animation: float-mobile 6s ease-in-out infinite;
    }

    @keyframes float-mobile {
        0% {
            transform: translateY(0);
        }

        50% {
            transform: translateY(-10px);
        }

        100% {
            transform: translateY(0);
        }
    }

    .hero-content {
        max-width: 100%;
        text-align: center;
        margin: 0 auto;
    }

    .hero-buttons {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .section-title h2 {
        font-size: 2rem;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .btn {
        width: 100%;
        text-align: center;
    }

    .nav-links {
        display: none;
    }

    .btn-mobile-nav {
        display: block;
    }

    .mobile-nav-active .nav-links {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--secondary);
        padding: 2rem;
        box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
        gap: 1rem;
    }
}

/* Dashboard Section */
.dashboard {
    position: relative;
    padding: 6rem 0;
    overflow: hidden;
}

.dashboard-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.8), rgba(30, 41, 59, 0.8));
    z-index: -1;
}

.dashboard-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%233b82f6' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.2;
}

.dashboard-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 4rem;
}

.dashboard-text {
    flex: 1;
    min-width: 300px;
    max-width: 500px;
}

.dashboard-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.dashboard-text p {
    color: var(--text-muted);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.dashboard-image {
    flex: 1;
    min-width: 300px;
    position: relative;
    width: 100%;
    max-width: 600px;
}

.dashboard-image svg {
    width: 100%;
    height: auto;
    border-radius: 1rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
    transition: all 0.5s ease;
}

.dashboard-image:hover svg {
    transform: perspective(1000px) rotateY(0) rotateX(0);
}

.dashboard-image::before {
    content: '';
    position: absolute;
    top: 3rem;
    left: 3rem;
    width: calc(100% - 3rem);
    height: calc(100% - 3rem);
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 1rem;
    z-index: -1;
    opacity: 0.3;
    transition: all 0.5s ease;
}

.dashboard-image:hover::before {
    top: 2rem;
    left: 2rem;
}

.dashboard-features {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2rem;
}

.dashboard-feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    margin-right: 1rem;
}

.dashboard-feature i {
    color: var(--primary);
}

/* Responsive adjustments for dashboard section */
@media (max-width: 1200px) {
    .dashboard-image::before {
        top: 2rem;
        left: 2rem;
    }
}

@media (max-width: 991px) {
    .dashboard-content {
        flex-direction: column;
        align-items: center;
    }

    .dashboard-text {
        max-width: 100%;
        text-align: center;
        margin-bottom: 2rem;
    }

    .dashboard-features {
        justify-content: center;
    }

    .dashboard-feature {
        margin-right: 0;
    }

    .dashboard-image {
        width: 100%;
        max-width: 500px;
    }

    .dashboard-image::before {
        top: 1.5rem;
        left: 1.5rem;
        width: calc(100% - 1.5rem);
        height: calc(100% - 1.5rem);
    }
}

@media (max-width: 768px) {
    .dashboard {
        padding: 4rem 0;
    }

    .dashboard-text h2 {
        font-size: 2rem;
    }

    .dashboard-image {
        max-width: 100%;
    }

    .dashboard-image::before {
        top: 1rem;
        left: 1rem;
        width: calc(100% - 1rem);
        height: calc(100% - 1rem);
    }
}

@media (max-width: 480px) {
    .dashboard-text h2 {
        font-size: 1.75rem;
    }

    .dashboard-features {
        flex-direction: column;
        align-items: flex-start;
    }

    .dashboard-image::before {
        top: 0.5rem;
        left: 0.5rem;
        width: calc(100% - 0.5rem);
        height: calc(100% - 0.5rem);
    }
}

/* Testimonials */
.testimonials {
    background-color: var(--secondary);
    position: relative;
    overflow: hidden;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.testimonial-card {
    background-color: var(--bg-card);
    border-radius: 1rem;
    padding: 2rem;
    position: relative;
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.5);
}

.testimonial-content {
    position: relative;
    z-index: 1;
}

.testimonial-content p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    font-style: italic;
    position: relative;
}

.testimonial-content p::before {
    content: '"';
    font-size: 4rem;
    position: absolute;
    top: -2rem;
    left: -1rem;
    color: rgba(59, 130, 246, 0.1);
    font-family: serif;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-author-avatar {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
}

.testimonial-author-info h4 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.testimonial-author-info p {
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* Responsive adjustments for these sections */
@media (max-width: 991px) {
    .dashboard-text {
        max-width: 100%;
        text-align: center;
    }

    .dashboard-features {
        justify-content: center;
    }

    .dashboard-feature {
        margin-right: 0;
    }
}

/* Pricing Section */
.pricing {
    position: relative;
    overflow: hidden;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.pricing-card {
    background-color: var(--bg-card);
    border-radius: 1rem;
    padding: 2rem;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.pricing-card.popular {
    border-color: var(--primary);
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.3);
}

.pricing-card.popular::before {
    content: 'Most Popular';
    position: absolute;
    top: 1rem;
    right: -2rem;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.25rem 2rem;
    transform: rotate(45deg);
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.2);
}

.pricing-card.popular:hover {
    transform: translateY(-15px) scale(1.02);
}

.pricing-header {
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.pricing-header h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.pricing-price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: flex-start;
}

.pricing-price span {
    font-size: 1rem;
    color: var(--text-muted);
    margin-left: 0.25rem;
    font-weight: 400;
}

.pricing-description {
    color: var(--text-muted);
    margin-bottom: 2rem;
    font-size: 0.875rem;
}

.pricing-features {
    margin-bottom: 2rem;
    flex-grow: 1;
    position: relative;
    z-index: 1;
}

.pricing-feature {
    display: flex;
    align-items: center;
    margin-bottom: 0.75rem;
    font-size: 0.938rem;
}

.pricing-feature i {
    color: var(--primary);
    margin-right: 0.5rem;
    flex-shrink: 0;
    width: 1.25rem;
    height: 1.25rem;
}

.pricing-cta {
    position: relative;
    z-index: 1;
}

.pricing-card::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.05), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.pricing-card:hover::after {
    opacity: 1;
}

/* CTA Section */
.cta {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    position: relative;
    overflow: hidden;
    padding: 6rem 0;
}

.cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='52' height='26' viewBox='0 0 52 26' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.1'%3E%3Cpath d='M10 10c0-2.21-1.79-4-4-4-3.314 0-6-2.686-6-6h2c0 2.21 1.79 4 4 4 3.314 0 6 2.686 6 6 0 2.21 1.79 4 4 4 3.314 0 6 2.686 6 6 0 2.21 1.79 4 4 4v2c-3.314 0-6-2.686-6-6 0-2.21-1.79-4-4-4-3.314 0-6-2.686-6-6zm25.464-1.95l8.486 8.486-1.414 1.414-8.486-8.486 1.414-1.414z' /%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.1;
}

.cta-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    position: relative;
    z-index: 1;
    flex-wrap: wrap;
}

.cta-text {
    flex: 1;
    min-width: 300px;
}

.cta-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
    color: white;
}

.cta-text p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0;
    font-size: 1.1rem;
    max-width: 600px;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-cta {
    background-color: white;
    color: var(--primary);
}

.btn-cta:hover {
    background-color: rgba(255, 255, 255, 0.9);
    color: var(--primary-dark);
}

.btn-cta-secondary {
    background-color: transparent;
    border: 2px solid white;
    color: white;
}

.btn-cta-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* Contact Section */
.contact {
    background-color: var(--bg-dark);
    position: relative;
    overflow: hidden;
    padding: 5rem 0;
}

.contact-content {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 3rem;
    margin-top: 3rem;
}

/* Form Styles */
.contact-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    position: relative;
}

.form-group.full-width {
    grid-column: span 2;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
    color: var(--text-muted);
}

input,
textarea,
select {
    width: 100%;
    padding: 0.75rem 1rem;
    background-color: var(--bg-card);
    border: 1px solid rgba(59, 130, 246, 0.1);
    border-radius: 0.5rem;
    color: var(--text);
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
}

input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.2);
}

.btn-submit {
    grid-column: span 2;
    margin-top: 1rem;
    background: linear-gradient(135deg, var(--primary), var(--accent));
}

.btn-submit:hover {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
}

/* Contact Info Styles */
.contact-info-container {
    background-color: var(--bg-card);
    border-radius: 1rem;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.contact-info-icon {
    width: 2.5rem;
    height: 2.5rem;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    flex-shrink: 0;
}

.contact-info-icon i {
    color: white;
}

.contact-info-text h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.contact-info-text p {
    color: var(--text-muted);
    line-height: 1.5;
}

.contact-social {
    margin-top: 2rem;
}

.contact-social h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.contact-social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 2.5rem;
    height: 2.5rem;
    background-color: var(--bg-card-hover);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    transition: all 0.3s ease;
}

.social-link:hover {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    transform: translateY(-3px);
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .contact-content {
        grid-template-columns: 1fr;
    }

    .cta-content {
        flex-direction: column;
        text-align: center;
    }

    .cta-text p {
        max-width: 100%;
    }

    .cta-buttons {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .pricing-card.popular {
        transform: translateY(0) scale(1);
    }

    .pricing-card.popular:hover {
        transform: translateY(-5px) scale(1);
    }

    .contact-form {
        grid-template-columns: 1fr;
    }

    .form-group.full-width,
    .btn-submit {
        grid-column: span 1;
    }
}

/* FAQ Section */
.faq {
    position: relative;
    background-color: var(--secondary);
    overflow: hidden;
    padding: 5rem 0;
}

.faq-container {
    margin-top: 3rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.faq-item {
    background-color: var(--bg-card);
    border-radius: 0.75rem;
    margin-bottom: 1.5rem;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(59, 130, 246, 0.1);
}

.faq-item:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.faq-question {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin: 0;
    transition: color 0.3s ease;
}

.faq-item:hover .faq-question h3 {
    color: var(--primary);
}

.faq-toggle {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    width: 1.75rem;
    height: 1.75rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s ease;
}

.faq-toggle i {
    font-size: 0.75rem;
    transition: transform 0.3s ease;
}

.faq-answer {
    padding: 0 1.5rem;
    height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    opacity: 0;
}

.faq-answer p {
    padding-bottom: 1.5rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.faq-item.active .faq-answer {
    height: auto;
    opacity: 1;
}

.faq-item.active .faq-toggle i {
    transform: rotate(45deg);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .faq-question h3 {
        font-size: 1rem;
    }
}


/* Interface Showcase Section Styling */
.interface-showcase {
    position: relative;
    background-color: var(--bg-dark);
    padding: 6rem 0;
    overflow: hidden;
}

.interface-showcase::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 70% 30%, rgba(59, 130, 246, 0.1), transparent 60%);
    z-index: 0;
}

.interface-content {
    display: flex;
    flex-direction: column;
    gap: 4rem;
    position: relative;
    z-index: 1;
    margin-top: 2rem;
}

.interface-mockup {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.interface-image {
    width: 100%;
    max-width: 1000px;
    position: relative;
    margin: 0 auto;
}

.interface-features {
    position: relative;
    width: 100%;
}

.pos-interface {
    width: 100%;
    filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.2));
}

.pos-svg {
    width: 100%;
    height: auto;
}

.feature-label {
    position: absolute;
    color: var(--text);
    font-size: 1rem;
    font-weight: 500;
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s ease;
    animation: featuresFadeIn 0.8s ease forwards;
    animation-delay: calc(var(--delay, 0) * 0.2s);
}

.feature-label span {
    background: linear-gradient(to right, var(--primary), var(--accent));
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    white-space: nowrap;
    display: inline-block;
    font-style: italic;
}

.arrow-line {
    position: relative;
    width: 2px;
    height: 40px;
    background-color: var(--primary);
    margin-top: 5px;
}

.arrow-line::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 8px solid var(--primary);
}

.top-left {
    top: 5%;
    left: 10%;
    --delay: 1;
}

.top-right {
    top: 5%;
    right: 10%;
    --delay: 2;
}

.bottom-left {
    bottom: 5%;
    left: 15%;
    --delay: 3;
}

.bottom-right {
    bottom: 5%;
    right: 15%;
    --delay: 4;
}

.mid-right {
    top: 40%;
    right: 5%;
    --delay: 5;
}

.mid-top {
    top: 20%;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    --delay: 6;
}

.mid-top .arrow-line {
    height: 60px;
}

@keyframes featuresFadeIn {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.interface-text {
    max-width: 800px;
    margin: 0 auto;
}

.interface-text h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-align: center;
}

.interface-text>p {
    color: var(--text-muted);
    text-align: center;
    margin-bottom: 3rem;
    font-size: 1.1rem;
}

.feature-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-highlight-item {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    background-color: var(--bg-card);
    border-radius: 1rem;
    transition: all 0.3s ease;
}

.feature-highlight-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.3);
    background-color: var(--bg-card-hover);
}

.feature-icon {
    width: 3rem;
    height: 3rem;
    min-width: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 1rem;
    color: white;
    font-size: 1.2rem;
}

.feature-text h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.feature-text p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Responsive Styling */
@media (max-width: 991px) {
    .feature-label {
        display: none;
    }
}

@media (max-width: 768px) {
    .interface-showcase {
        padding: 4rem 0;
    }

    .interface-text h3 {
        font-size: 1.75rem;
    }

    .feature-highlights {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .interface-text h3 {
        font-size: 1.5rem;
    }
}
/* Enhanced Language Selector Styles */
.language-selector {
  display: flex;
  align-items: center;
  margin-left: 20px;
  background-color: rgba(59, 130, 246, 0.1);
  border-radius: 30px;
  padding: 2px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.lang-btn {
  background: none;
  border: none;
  color: #64748b;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  padding: 6px 12px;
  border-radius: 20px;
  transition: all 0.3s ease;
  position: relative;
  z-index: 1;
}

.lang-btn.active {
  color: #fff;
  background-color: #3b82f6;
  box-shadow: 0 2px 8px rgba(59, 130, 246, 0.4);
}

.lang-btn:hover:not(.active) {
  color: #3b82f6;
  background-color: rgba(59, 130, 246, 0.1);
}

/* Alternative design - if you prefer pills with border */
.language-selector.alt-style {
  background-color: transparent;
  box-shadow: none;
}

.language-selector.alt-style .lang-btn {
  border: 2px solid #e2e8f0;
  margin: 0 4px;
}

.language-selector.alt-style .lang-btn.active {
  border-color: #3b82f6;
}

/* Mobile Responsive Language Selector */
@media screen and (max-width: 768px) {
  .language-selector {
    position: absolute;
    top: 70px;
    right: 15px;
    background-color: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    z-index: 100;
  }
  
  .header-container {
    position: relative; /* Ensure the language-selector is positioned relative to header */
  }
}


/* RTL support for Arabic language */

/* General RTL styles */
[dir="rtl"] {
    text-align: right;
  }
  
  /* Container direction changes */
  [dir="rtl"] .header-container,
  [dir="rtl"] .hero-wrapper,
  [dir="rtl"] .feature-card,
  [dir="rtl"] .testimonial-content,
  [dir="rtl"] .pricing-card,
  [dir="rtl"] .faq-question,
  [dir="rtl"] .faq-answer,
  [dir="rtl"] .contact-info-item {
    direction: rtl;
  }
  
  /* Margin and padding adjustments */
  [dir="rtl"] .logo {
    margin-right: 0;
    margin-left: auto;
  }
  
  [dir="rtl"] .nav-links {
    margin-left: 0;
    margin-right: auto;
  }
  
  [dir="rtl"] .language-selector {
    margin-left: 0;
    margin-right: 20px;
  }
  
  [dir="rtl"] .btn {
    margin-left: 0;
    margin-right: 15px;
  }
  
  [dir="rtl"] .hero-buttons .btn:first-child {
    margin-right: 0;
  }
  
  [dir="rtl"] .feature-icon,
  [dir="rtl"] .contact-info-icon {
    margin-right: 0;
    margin-left: 15px;
  }
  
  [dir="rtl"] .testimonial-author-avatar {
    margin-right: 0;
    margin-left: 15px;
  }
  
  [dir="rtl"] .faq-toggle {
    right: auto;
    left: 20px;
  }
  
  [dir="rtl"] .pricing-feature i {
    margin-right: 0;
    margin-left: 10px;
  }
  
  [dir="rtl"] .contact-social-links a {
    margin-right: 0;
    margin-left: 15px;
  }
  
  [dir="rtl"] .contact-social-links a:last-child {
    margin-left: 0;
  }
  
  /* Fix for interface mockup which should remain LTR */
  [dir="rtl"] .interface-image svg,
  [dir="rtl"] .dashboard-image svg,
  [dir="rtl"] .hero-image svg {
    direction: ltr;
  }
  
  [dir="rtl"] .feature-highlights {
    direction: rtl;
  }
  
  /* Mobile menu adjustments for RTL */
  @media screen and (max-width: 768px) {
    [dir="rtl"] .btn-mobile-nav {
      margin-left: 0;
      margin-right: auto;
    }
    
    [dir="rtl"] .language-selector {
      left: 15px;
      right: auto;
    }
  }
  /* Google Reviews Section Styling */
.google-reviews {
    background-color: var(--secondary);
    position: relative;
    padding: 5rem 0;
    overflow: hidden;
}

.google-reviews::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 70%, rgba(59, 130, 246, 0.08), transparent 60%);
    z-index: 0;
}

.google-reviews-container {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3rem;
}

/* Google Reviews Summary Box */
.google-reviews-summary {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
}

.google-rating-box {
    background-color: var(--bg-card);
    border-radius: 1rem;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.2);
    transition: transform 0.3s ease;
}

.google-rating-box:hover {
    transform: translateY(-5px);
}

.google-logo-wrapper {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.google-logo-image {
    height: 30px;
    width: auto;
}

.reviews-text {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--text);
}

.rating-display {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.rating-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text);
}

.rating-stars {
    display: flex;
    gap: 0.25rem;
}

.rating-stars i {
    color: #FBBC05;
    font-size: 1.5rem;
}

.review-count {
    font-size: 1.25rem;
    color: var(--text-muted);
}

.btn-review {
    background: linear-gradient(135deg, #4285F4, #34A853);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-review:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(66, 133, 244, 0.3);
}

/* Custom Reviews Carousel */
.custom-reviews-carousel {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    position: relative;
}

.reviews-slider {
    display: flex;
    overflow-x: hidden;
    scroll-behavior: smooth;
    gap: 1.5rem;
    padding: 1rem 0.5rem;
    margin: 0 -0.5rem;
}

.review-card {
    flex: 0 0 calc(33.333% - 1rem);
    min-width: 300px;
    background-color: var(--bg-card);
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.15);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(15, 23, 42, 0.25);
    border: 1px solid rgba(59, 130, 246, 0.3);
}

.reviewer-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.reviewer-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    overflow: hidden;
}

.reviewer-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.reviewer-details {
    flex: 1;
}

.reviewer-details h4 {
    font-size: 1rem;
    font-weight: 600;
    margin: 0 0 0.25rem 0;
}

.review-date {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.verified-badge {
    color: #34A853;
    font-size: 1.25rem;
}

.review-rating {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 1rem;
}

.review-rating i {
    color: #FBBC05;
}

.review-text {
    flex-grow: 1;
    margin-bottom: 1rem;
}

.review-text p {
    color: var(--text-muted);
    line-height: 1.5;
    margin: 0;
}

.read-more-link {
    color: #4285F4;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    align-self: flex-start;
}

.read-more-link:hover {
    text-decoration: underline;
}

/* Carousel Controls */
.carousel-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 2rem;
    gap: 1.5rem;
}

.carousel-control {
    background: var(--bg-card-hover);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text);
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-control:hover {
    background: var(--primary);
    color: white;
}

.carousel-pagination {
    display: flex;
    gap: 0.5rem;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--bg-card-hover);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background-color: var(--primary);
    transform: scale(1.2);
}

/* CTA Button */
.google-reviews-cta {
    margin-top: 1rem;
}

.btn-with-icon {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Responsive Adjustments */
@media (max-width: 991px) {
    .reviews-slider {
        gap: 1rem;
    }
    
    .review-card {
        min-width: 280px;
    }
}

@media (max-width: 768px) {
    .rating-display {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .reviews-slider {
        overflow-x: auto;
        padding-bottom: 1.5rem;
    }
    
    .review-card {
        min-width: 260px;
        flex: 0 0 calc(100% - 2rem);
    }
}

@media (max-width: 480px) {
    .google-rating-box {
        padding: 1.5rem;
    }
    
    .rating-number {
        font-size: 2rem;
    }
    
    .rating-stars i {
        font-size: 1.25rem;
    }
    
    .reviews-slider {
        padding: 0.5rem;
    }
    
    .review-card {
        min-width: 100%;
        flex: 0 0 100%;
    }
}

/* RTL Support */
[dir="rtl"] .google-logo-wrapper,
[dir="rtl"] .rating-display,
[dir="rtl"] .rating-stars,
[dir="rtl"] .reviewer-info,
[dir="rtl"] .review-rating {
    flex-direction: row-reverse;
}

[dir="rtl"] .read-more-link {
    align-self: flex-end;
}

[dir="rtl"] .btn-with-icon {
    flex-direction: row-reverse;
}

@media (max-width: 1200px) {
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .pricing-grid {
        grid-template-columns: 1fr;
    }
}
