    /* ===== VARIABLES ===== */
    :root {
        /* Light Mode */
        --primary: #3B82F6;
        --secondary: #10B981;
        --accent: #8B5CF6;
        --background: #F8FAFC;
        --surface: #FFFFFF;
        --text: #0F172A;
        --text-secondary: #334155;
        --shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
        --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    }

    [data-theme="dark"] {
        /* Dark Mode */
        --primary: #3B82F6;
        --secondary: #10B981;
        --accent: #8B5CF6;
        --background: #0F172A;
        --surface: #1E293B;
        --text: #F8FAFC;
        --text-secondary: #CBD5E1;
        --shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.3), 0 4px 6px -2px rgba(0, 0, 0, 0.15);
        --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.3), 0 10px 10px -5px rgba(0, 0, 0, 0.14);
    }

    /* ===== RESET & BASE STYLES ===== */
    * {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
    }

    html, body {
        max-width: 100%;
        overflow-x: hidden;
        position: relative;
        scroll-behavior: smooth;
        font-size: 16px;
    }

    body {
        font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
        background-color: var(--background);
        color: var(--text);
        line-height: 1.6;
        transition: background-color 0.3s, color 0.3s;
    }

    h1, h2, h3, h4, h5, h6 {
        font-weight: 700;
        line-height: 1.2;
        margin-bottom: 1rem;
    }

    h1 {
        font-size: 3.5rem;
    }

    h2 {
        font-size: 2.5rem;
    }

    h3 {
        font-size: 1.75rem;
    }

    p {
        margin-bottom: 1rem;
    }

    a {
        color: var(--primary);
        text-decoration: none;
        transition: color 0.3s;
    }

    a:hover {
        color: var(--accent);
    }

    button {
        cursor: pointer;
        border: none;
        outline: none;
        font-family: inherit;
    }

    .container {
        width: 100%;
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 2rem;
        box-sizing: border-box;
    }

    section {
        padding: 4rem 0;
    }

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

    .section-title h2 {
        display: inline-block;
        position: relative;
    }

    .section-title h2::after {
        content: '';
        position: absolute;
        bottom: -10px;
        left: 50%;
        transform: translateX(-50%);
        width: 60px;
        height: 4px;
        background: var(--primary);
        border-radius: 2px;
    }

    /* ===== COMPONENTS ===== */
    .btn {
        display: inline-block;
        padding: 0.8rem 1.6rem;
        border-radius: 8px;
        font-weight: 600;
        transition: all 0.3s;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        font-size: 0.9rem;
    }

    .btn-primary {
        background-color: var(--primary);
        color: white;
        box-shadow: 0 4px 14px rgba(59, 130, 246, 0.3);
    }

    .btn-primary:hover {
        background-color: #2563eb;
        color: white;
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
    }

    .btn-secondary {
        background-color: var(--secondary);
        color: white;
        box-shadow: 0 4px 14px rgba(16, 185, 129, 0.3);
    }

    .btn-secondary:hover {
        background-color: #059669;
        color: white;
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
    }

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

    .btn-outline:hover {
        background-color: var(--primary);
        color: white;
        transform: translateY(-2px);
    }

    .card {
        background-color: var(--surface);
        border-radius: 16px;
        overflow: hidden;
        box-shadow: var(--shadow);
        transition: transform 0.3s, box-shadow 0.3s;
    }

    .card:hover {
        transform: translateY(-5px);
        box-shadow: var(--shadow-lg);
    }

    .card-content {
        padding: 1.5rem;
    }

    .badge {
        display: inline-block;
        padding: 0.25rem 0.75rem;
        border-radius: 9999px;
        font-size: 0.75rem;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        margin-bottom: 1rem;
    }

    .badge-primary {
        background-color: rgba(59, 130, 246, 0.1);
        color: var(--primary);
    }

    .badge-secondary {
        background-color: rgba(16, 185, 129, 0.1);
        color: var(--secondary);
    }

    .badge-accent {
        background-color: rgba(139, 92, 246, 0.1);
        color: var(--accent);
    }

    /* ===== NAVBAR ===== */
    .navbar {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 1000;
        background-color: var(--surface);
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        transition: all 0.3s;
        height: 80px;
    }

    .navbar.scrolled {
        padding: 0.5rem 0;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    }

    .navbar-container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        height: 100%;
        padding: 0 2rem;
        max-width: 1200px;
        margin: 0 auto;
    }

    .navbar-logo {
        font-size: 1.8rem;
        font-weight: 800;
        color: var(--text);
        display: flex;
        align-items: center;
        height: 100%;
    }

    .navbar-logo span {
        color: var(--primary);
    }

    .navbar-menu {
        display: flex;
        align-items: center;
        list-style: none;
        height: 100%;
    }

    .navbar-item {
        margin-left: 2.5rem;
        height: 100%;
        display: flex;
        align-items: center;
    }

    .navbar-link {
        color: var(--text);
        font-weight: 600;
        position: relative;
        font-size: 1.1rem;
        padding: 0.5rem 0;
    }

    .navbar-link::after {
        content: '';
        position: absolute;
        bottom: -5px;
        left: 0;
        width: 0;
        height: 2px;
        background-color: var(--primary);
        transition: width 0.3s;
    }

    .navbar-link:hover::after,
    .navbar-link.active::after {
        width: 100%;
    }

    .navbar-toggle {
        display: none;
        cursor: pointer;
        background: transparent;
        border: none;
        color: var(--text);
        font-size: 1.6rem;
        padding: 0.8rem;
        position: relative;
        z-index: 1001;
        height: 100%;
        align-items: center;
    }

    .navbar-close {
        display: none;
    }

    /* Mobile Navigation Styles */
    @media screen and (max-width: 768px) {
        section {
            padding: 3rem 0;
        }

        .hero {
            padding: 5rem 0 2rem;
        }

        .container {
            width: 100%;
            padding: 0 1.5rem;
            margin: 0 auto;
        }

        .hero {
            flex-direction: column;
            text-align: center;
            padding-top: 100px;
            min-height: auto;
            padding-bottom: 2rem;
        }

        .hero-content {
            max-width: 100%;
            margin-bottom: 2rem;
            padding: 0 1rem;
        }

        .hero-title {
            font-size: 2.5rem;
            line-height: 1.2;
        }

        .hero-description {
            font-size: 1.1rem;
            margin-bottom: 1.5rem;
        }

        .hero-btns {
            justify-content: center;
            gap: 1rem;
        }

        .hero-image-wrapper {
            margin-top: 1rem;
            padding: 0 1rem;
        }

        .hero-image {
            max-width: 400px;
            margin: 0 auto;
        }

        .about-content {
            grid-template-columns: 1fr !important;
            gap: 2rem;
            direction: ltr !important;
        }

        .about-content .about-text {
            direction: ltr !important;
            order: 1;
            padding: 0 1rem;
        }

        .about-content .about-image {
            order: 2;
            margin: 0 auto;
            max-width: 100%;
            padding: 0 1rem;
        }

        .about-content .about-image img {
            width: 100%;
            height: auto;
            max-height: 400px;
            object-fit: cover;
            border-radius: 16px;
        }

        .features-grid {
            grid-template-columns: 1fr;
            gap: 1.5rem;
            padding: 0 1rem;
        }

        .feature-item {
            flex-direction: row;
            align-items: center;
            gap: 1.5rem;
        }

        .pricing-card.popular {
            transform: scale(1);
        }

        .navbar {
            height: 70px;
        }

        .navbar-container {
            padding: 0 1.5rem;
            position: relative;
        }

        .navbar-logo {
            font-size: 1.6rem;
        }

        .navbar-toggle {
            display: flex;
            position: relative;
            right: 0;
            top: 0;
            height: 100%;
        }

        .navbar-close {
            display: block;
            position: absolute;
            top: 1.5rem;
            right: 1.5rem;
            font-size: 1.8rem;
            color: var(--text);
            cursor: pointer;
            background: transparent;
            border: none;
            padding: 0.5rem;
            transition: all 0.3s ease;
            z-index: 1002;
            opacity: 0.8;
        }

        .navbar-close:hover {
            transform: rotate(90deg);
            opacity: 1;
        }

        .navbar-menu {
            position: fixed;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 80%;
            max-width: 300px;
            max-height: 80vh;
            height: auto;
            background-color: var(--surface);
            flex-direction: column;
            align-items: center;
            justify-content: flex-start;
            padding: 3rem 2rem 2rem;
            transition: all 0.3s ease-in-out;
            z-index: 1000;
            border-radius: 15px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
            overflow-y: auto;
            opacity: 0;
            visibility: hidden;
        }

        .navbar-menu.active {
            opacity: 1;
            visibility: visible;
        }

        .navbar-menu::-webkit-scrollbar {
            width: 5px;
        }

        .navbar-menu::-webkit-scrollbar-thumb {
            background-color: var(--primary);
            border-radius: 10px;
        }

        .navbar-menu::-webkit-scrollbar-track {
            background-color: rgba(0, 0, 0, 0.05);
            border-radius: 10px;
        }

        .navbar-close {
            position: absolute;
            top: 1rem;
            right: 1rem;
            font-size: 1.5rem;
            color: var(--text);
            cursor: pointer;
            background: transparent;
            border: none;
            padding: 0.5rem;
            transition: all 0.3s ease;
            z-index: 1002;
            opacity: 0.8;
        }

        .navbar-close:hover {
            transform: rotate(90deg);
            opacity: 1;
        }

        .navbar-item {
            margin: 0.8rem 0;
            opacity: 0;
            transform: translateY(10px);
            transition: all 0.3s ease;
            width: 100%;
            text-align: center;
        }

        .navbar-menu.active .navbar-item {
            opacity: 1;
            transform: translateY(0);
        }

        .navbar-link {
            font-size: 1.2rem;
            padding: 0.5rem 0;
            display: inline-block;
            position: relative;
            transition: color 0.3s ease;
            width: 100%;
        }

        /* Modal background overlay */
        .navbar-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.5);
            z-index: 999;
            opacity: 0;
            visibility: hidden;
            transition: all 0.3s ease;
        }

        .navbar-overlay.active {
            opacity: 1;
            visibility: visible;
        }

        .theme-switch {
            margin: 1.5rem 0 0;
        }

        .footer-grid {
            grid-template-columns: 1fr;
            gap: 3rem;
        }
    }

    @media screen and (max-width: 480px) {
        section {
            padding: 2rem 0;
        }

        .hero {
            padding: 4rem 0 1.5rem;
        }

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

        .hero-description {
            font-size: 1rem;
            line-height: 1.5;
        }

        .hero-btns {
            flex-direction: column;
            width: 100%;
            max-width: 300px;
            margin: 0 auto;
        }

        .hero-btns .btn {
            width: 100%;
            text-align: center;
            margin-bottom: 0.5rem;
        }

        .hero-image-wrapper {
            display: none; /* Hide image on very small devices */
        }

        .hero-image {
            max-width: 320px;
            border-radius: 15px;
        }

        .section-title {
            margin-bottom: 2rem;
        }

        .navbar {
            height: 60px;
        }

        .navbar-container {
            padding: 0 1rem;
        }

        .navbar-logo {
            font-size: 1.4rem;
        }

        .navbar-toggle {
            font-size: 1.4rem;
            padding: 0.6rem;
        }

        .navbar-menu {
            width: 90%;
            padding: 2.5rem 1.5rem 1.5rem;
        }

        .services-grid {
            margin: 0;
            padding: 0;
        }

        .card {
            margin: 0 0 1.5rem;
        }

        .navbar-close {
            top: 0.8rem;
            right: 0.8rem;
            font-size: 1.4rem;
        }

        .navbar-link {
            font-size: 1.1rem;
        }

        .navbar-item {
            margin: 0.6rem 0;
        }
    }

    /* ===== THEME SWITCHER ===== */
    .theme-switch {
        position: relative;
        width: 60px;
        height: 30px;
        background-color: var(--surface);
        border-radius: 30px;
        border: 2px solid var(--text-secondary);
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 0 5px;
        margin-left: 2rem;
    }

    .theme-switch .icon {
        font-size: 14px;
        color: var(--text-secondary);
    }

    .theme-switch::after {
        content: '';
        position: absolute;
        left: 2px;
        width: 26px;
        height: 26px;
        background-color: var(--primary);
        border-radius: 50%;
        transition: transform 0.3s;
    }

    [data-theme="dark"] .theme-switch::after {
        transform: translateX(30px);
    }

    /* ===== HERO SECTION ===== */
    .hero {
        min-height: auto;
        padding: 80px 0 3rem;
        display: flex;
        align-items: center;
        position: relative;
        overflow: hidden;
        transition: all 0.3s ease;
    }

    .hero-content {
        width: 100%;
        max-width: 600px;
        z-index: 1;
        transition: all 0.3s ease;
    }

    .hero-title {
        font-size: 4rem;
        margin-bottom: 1.5rem;
        line-height: 1.1;
        position: relative;
    }

    .hero-title span {
        color: var(--primary);
        position: relative;
    }

    .hero-title span::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 10px;
        background-color: rgba(59, 130, 246, 0.2);
        z-index: -1;
    }

    .hero-description {
        font-size: 1.25rem;
        margin-bottom: 2rem;
        color: var(--text-secondary);
    }

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

    .hero-image-wrapper {
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        margin-top: 2rem;
    }

    .hero-image {
        width: 100%;
        max-width: 600px;
        height: auto;
        object-fit: contain;
        border-radius: 20px;
        box-shadow: var(--shadow);
    }

    /* Hero flex for large screens */
    @media screen and (min-width: 1025px) {
        .hero-flex {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 3rem;
        }
        .hero-content {
            flex: 1 1 0;
            max-width: 50%;
        }
        .hero-image-wrapper {
            flex: 1 1 0;
            max-width: 50%;
            display: flex;
            justify-content: flex-end;
            align-items: center;
        }
        .hero-image {
            max-width: 100%;
            height: auto;
            border-radius: 20px;
            box-shadow: var(--shadow);
        }
    }

    /* ===== SERVICES SECTION ===== */
    .services {
        background-color: var(--background);
        padding-top: 2rem;
    }

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

    .service-card {
        height: 100%;
    }

    .service-icon {
        width: 60px;
        height: 60px;
        border-radius: 12px;
        background-color: rgba(59, 130, 246, 0.1);
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom: 1.5rem;
        color: var(--primary);
        font-size: 1.5rem;
    }

    .service-card:nth-child(2) .service-icon {
        background-color: rgba(16, 185, 129, 0.1);
        color: var(--secondary);
    }

    .service-card:nth-child(3) .service-icon {
        background-color: rgba(139, 92, 246, 0.1);
        color: var(--accent);
    }

    .service-title {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }

    .service-description {
        color: var(--text-secondary);
        margin-bottom: 1.5rem;
    }

    /* ===== FEATURES SECTION ===== */
    .features {
        background-color: var(--surface);
        position: relative;
        overflow: hidden;
    }

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

    .feature-item {
        display: flex;
        align-items: flex-start;
        gap: 1rem;
        margin-bottom: 2rem;
    }

    .feature-icon {
        width: 40px;
        height: 40px;
        border-radius: 8px;
        background-color: rgba(59, 130, 246, 0.1);
        display: flex;
        align-items: center;
        justify-content: center;
        color: var(--primary);
        font-size: 1rem;
        flex-shrink: 0;
    }

    .feature-content h3 {
        font-size: 1.25rem;
        margin-bottom: 0.5rem;
    }

    .feature-content p {
        color: var(--text-secondary);
        font-size: 0.9rem;
    }

    /* ===== ABOUT SECTION ===== */
    .about {
        background-color: var(--background);
    }

    .about-content {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
        align-items: center;
    }

    .about-text h2 {
        margin-bottom: 1.5rem;
    }

    .about-text p {
        color: var(--text-secondary);
        margin-bottom: 1.5rem;
    }

    .about-stats {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
        margin-top: 2rem;
    }

    .stat-item {
        background-color: var(--surface);
        padding: 1.5rem;
        border-radius: 12px;
        text-align: center;
        box-shadow: var(--shadow);
    }

    .stat-number {
        font-size: 2.5rem;
        font-weight: 700;
        color: var(--primary);
        margin-bottom: 0.5rem;
    }

    .stat-item:nth-child(2) .stat-number {
        color: var(--secondary);
    }

    .stat-item:nth-child(3) .stat-number {
        color: var(--accent);
    }

    .stat-item:nth-child(4) .stat-number {
        color: var(--primary);
    }

    .stat-label {
        color: var(--text-secondary);
        font-size: 0.9rem;
        text-transform: uppercase;
        letter-spacing: 1px;
    }

    .about-image {
        width: 100%;
        border-radius: 16px;
        overflow: hidden;
        box-shadow: var(--shadow-lg);
    }

    .about-image img {
        width: 100%;
        height: auto;
        object-fit: cover;
    }

    /* ===== PROJECTS SECTION ===== */
    .projects {
        background-color: var(--surface);
    }

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

    .project-card {
        height: 100%;
    }

    .project-image {
        width: 100%;
        height: 200px;
        overflow: hidden;
        position: relative;
    }

    .project-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.5s;
    }

    .project-card:hover .project-image img {
        transform: scale(1.1);
    }

    .project-overlay {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
        opacity: 0;
        transition: opacity 0.3s;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .project-card:hover .project-overlay {
        opacity: 1;
    }

    .project-overlay a {
        color: white;
        background-color: var(--primary);
        width: 40px;
        height: 40px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0 0.5rem;
        transform: translateY(20px);
        opacity: 0;
        transition: all 0.3s;
    }

    .project-card:hover .project-overlay a {
        transform: translateY(0);
        opacity: 1;
    }

    .project-overlay a:hover {
        background-color: var(--accent);
    }

    .project-overlay a:nth-child(2) {
        transition-delay: 0.1s;
    }

    .project-title {
        font-size: 1.25rem;
        margin-bottom: 0.5rem;
    }

    .project-category {
        color: var(--text-secondary);
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }

    /* ===== CTA SECTION ===== */
    .cta {
        background-color: var(--primary);
        color: white;
        position: relative;
        overflow: hidden;
    }

    .cta-content {
        position: relative;
        z-index: 1;
        text-align: center;
        max-width: 800px;
        margin: 0 auto;
    }

    .cta h2 {
        color: white;
        margin-bottom: 1rem;
    }

    .cta p {
        color: rgba(255, 255, 255, 0.8);
        margin-bottom: 2rem;
    }

    .cta-bg {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(45deg, var(--primary), var(--accent));
        opacity: 0.8;
        z-index: 0;
    }

    .cta-shape {
        position: absolute;
        bottom: -50px;
        right: -50px;
        width: 300px;
        height: 300px;
        border-radius: 50%;
        background-color: rgba(255, 255, 255, 0.1);
        z-index: 0;
    }

    .cta-shape:nth-child(2) {
        top: -50px;
        left: -50px;
        width: 200px;
        height: 200px;
        background-color: rgba(255, 255, 255, 0.05);
    }

    /* ===== FOOTER ===== */
    .footer {
        background-color: var(--surface);
        padding: 5rem 0 2rem;
    }

    .footer-grid {
        display: grid;
        grid-template-columns: 2fr 1fr 1fr 1fr;
        gap: 2rem;
        margin-bottom: 4rem;
    }

    .footer-logo {
        font-size: 1.5rem;
        font-weight: 800;
        color: var(--text);
        margin-bottom: 1rem;
    }

    .footer-logo span {
        color: var(--primary);
    }

    .footer-text {
        color: var(--text-secondary);
        margin-bottom: 1.5rem;
    }

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

    .footer-social a {
        width: 40px;
        height: 40px;
        border-radius: 50%;
        background-color: rgba(59, 130, 246, 0.1);
        display: flex;
        align-items: center;
        justify-content: center;
        color: var(--primary);
        transition: all 0.3s;
    }

    .footer-social a:hover {
        background-color: var(--primary);
        color: white;
        transform: translateY(-3px);
    }

    .footer-title {
        font-size: 1.25rem;
        margin-bottom: 1.5rem;
    }

    .footer-links {
        list-style: none;
    }

    .footer-link {
        margin-bottom: 0.75rem;
    }

    .footer-link a {
        color: var(--text-secondary);
        transition: all 0.3s;
    }

    .footer-link a:hover {
        color: var(--primary);
        padding-left: 5px;
    }

    .footer-contact {
        display: flex;
        align-items: flex-start;
        gap: 1rem;
        margin-bottom: 1rem;
    }

    .footer-contact-icon {
        color: var(--primary);
        font-size: 1.25rem;
    }

    .footer-contact-text {
        color: var(--text-secondary);
    }

    .footer-bottom {
        border-top: 1px solid rgba(0, 0, 0, 0.1);
        padding-top: 2rem;
        text-align: center;
        color: var(--text-secondary);
        font-size: 0.9rem;
    }

    [data-theme="dark"] .footer-bottom {
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }

    /* Project Modal Styles */
    .project-modal {
        display: none;
        position: fixed;
        z-index: 1001;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        overflow: auto;
        background-color: rgba(0, 0, 0, 0.7);
        opacity: 0;
        transition: opacity 0.3s;
    }

    .project-modal.active {
        display: block;
        opacity: 1;
    }

    .project-modal-content {
        background-color: var(--surface);
        margin: 5% auto;
        padding: 2rem;
        border-radius: 16px;
        width: 80%;
        max-width: 900px;
        max-height: 90vh;
        overflow-y: auto;
        box-shadow: var(--shadow-lg);
        transform: translateY(-50px);
        opacity: 0;
        transition: all 0.3s;
    }

    .project-modal.active .project-modal-content {
        transform: translateY(0);
        opacity: 1;
    }

    .project-modal-close {
        color: var(--text-secondary);
        float: right;
        font-size: 2rem;
        font-weight: bold;
        cursor: pointer;
        transition: color 0.3s;
    }

    .project-modal-close:hover {
        color: var(--primary);
    }

    .project-modal-header {
        margin-bottom: 1.5rem;
        padding-bottom: 1rem;
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    }

    [data-theme="dark"] .project-modal-header {
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .project-modal-header h2 {
        margin-bottom: 0.5rem;
    }

    /* Project Filters */
    .project-filters {
        display: flex;
        flex-wrap: wrap;
        gap: 1rem;
        margin-bottom: 3rem;
    }

    .filter-btn {
        padding: 0.5rem 1.25rem;
        border-radius: 30px;
        font-size: 0.85rem;
        background-color: transparent;
        border: 2px solid var(--text-secondary);
        color: var(--text-secondary);
        transition: all 0.3s;
    }

    .filter-btn:hover, .filter-btn.active {
        background-color: var(--primary);
        border-color: var(--primary);
        color: white;
    }

    /* FAQ Styles */
    .faq-item {
        transition: all 0.3s;
    }

    .faq-question {
        padding: 0.5rem 0;
    }

    .faq-icon {
        transition: transform 0.3s;
    }

    .faq-item.active .faq-icon {
        transform: rotate(180deg);
    }

    .faq-answer {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease-out;
    }

    .faq-item.active .faq-answer {
        max-height: 500px;
        display: block;
    }

    /* ===== ANIMATIONS ===== */
    @keyframes fadeInUp {
        from {
            opacity: 0;
            transform: translateY(20px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    @keyframes fadeIn {
        from {
            opacity: 0;
        }
        to {
            opacity: 1;
        }
    }

    @keyframes float {
        0% {
            transform: translateY(0px);
        }
        50% {
            transform: translateY(-20px);
        }
        100% {
            transform: translateY(0px);
        }
    }

    .animate-fadeInUp {
        animation: fadeInUp 1s both;
    }

    .animate-fadeIn {
        animation: fadeIn 1s both;
    }

    .animate-float {
        animation: float 6s infinite ease-in-out;
    }

    .delay-1 {
        animation-delay: 0.1s;
    }

    .delay-2 {
        animation-delay: 0.2s;
    }

    .delay-3 {
        animation-delay: 0.3s;
    }

    .delay-4 {
        animation-delay: 0.4s;
    }

    .delay-5 {
        animation-delay: 0.5s;
    }

    .delay-6 {
        animation-delay: 0.6s;
    }

    /* ===== RESPONSIVE DESIGN ===== */
    @media screen and (max-width: 1024px) {
        .hero-title {
            font-size: 3rem;
        }

        .hero-image {
            width: 40%;
            right: 2%;
            top: 25%;
        }

        .footer-grid {
            grid-template-columns: repeat(2, 1fr);
        }
    }

    @media screen and (max-width: 480px) {
        .hero {
            padding-top: 90px;
        }

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

        .hero-description {
            font-size: 1rem;
            line-height: 1.5;
        }

        .hero-btns {
            flex-direction: column;
            width: 100%;
            max-width: 300px;
            margin: 0 auto;
        }

        .hero-btns .btn {
            width: 100%;
            text-align: center;
            margin-bottom: 0.5rem;
        }

        .hero-image-wrapper {
            margin-top: 0.5rem;
        }

        .hero-image {
            max-width: 320px;
            border-radius: 15px;
        }

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

        .navbar-container {
            padding: 0.8rem 1.5rem;
        }

        .navbar-logo {
            font-size: 1.3rem;
        }

        .container {
            padding: 0 1rem;
        }
    }
