:root {
    --primary-color: #0f172a;
    /* Slate 900 */
    --accent-color: #2563eb;
    /* Blue 600 */
    --text-color: #334155;
    /* Slate 700 */
    --heading-color: #0f172a;
    /* Slate 900 */
    --bg-color: #ffffff;
    --section-bg: #f8fafc;
    /* Slate 50 */
    --card-bg: #ffffff;
    --border-color: #e2e8f0;
    /* Slate 200 */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    }

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
    filter: blur(10px) brightness(0.4);
    z-index: -1;
    }

    h1,
    h2,
    h3,
    h4,
    .navbar-brand {
        font-family: 'Outfit', sans-serif;
        color: var(--heading-color);
        font-weight: 700;
    }

    /* Custom Navbar */
    .navbar {
        background: rgba(255, 255, 255, 0.8);
        backdrop-filter: blur(10px);
        border-bottom: 1px solid var(--border-color);
        transition: var(--transition);
    }

    .navbar.scrolled {
        padding: 0.5rem 1rem;
    }

    .nav-link {
        font-weight: 500;
        color: var(--text-color) !important;
        position: relative;
        padding: 0.5rem 1rem !important;
    }

    .nav-link::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 1rem;
        right: 1rem;
        height: 2px;
        background: var(--accent-color);
        transform: scaleX(0);
        transition: var(--transition);
    }

    .nav-link:hover::after,
    .nav-link.active::after {
        transform: scaleX(1);
    }

    /* Hero Section */
    .hero {
        padding: 160px 0 100px;
        background: linear-gradient(135deg, #f8fafc 0%, #eff6ff 100%);
        position: relative;
        overflow: hidden;
    }

    .hero::before {
        content: '';
        position: absolute;
        top: 0;
        right: 0;
        width: 50%;
        height: 100%;
        background-image: url('assets/hero_background.png');
        background-size: cover;
        background-position: center;
        opacity: 0.5;
        filter: blur(10px) brightness(0.4);
        mask-image: linear-gradient(to left, rgba(0, 0, 0, 1), rgba(0, 0, 0, 0));
    }

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

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

    .btn-primary {
        background-color: var(--accent-color);
        border: none;
        padding: 0.8rem 2rem;
        font-weight: 600;
        border-radius: 8px;
        transition: var(--transition);
    }

    .btn-primary:hover {
        background-color: #1d4ed8;
        transform: translateY(-2px);
        box-shadow: 0 10px 15px -3px rgba(37, 99, 235, 0.2);
    }

    .btn-outline-primary {
        color: var(--accent-color);
        border: 2px solid var(--accent-color);
        padding: 0.8rem 2rem;
        font-weight: 600;
        border-radius: 8px;
    }

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

    /* Sections */
    section {
        padding: 100px 0;
    }

    #worldchanger {
        background: rgba(255, 255, 255, 0.9);
        color: black;
    }

    .section-title {
        font-size: 2.5rem;
        margin-bottom: 3rem;
        position: relative;
        display: inline-block;
    }

    .section-title::after {
        content: '';
        position: absolute;
        bottom: -10px;
        left: 0;
        width: 60px;
        height: 4px;
        background: var(--accent-color);
        border-radius: 2px;
    }

    /* Cards */
    .card {
        border: 1px solid var(--border-color);
        border-radius: 16px;
        transition: var(--transition);
        overflow: hidden;
        box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    }

    .card:hover {
        transform: translateY(-5px);
        box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
    }

    .feature-icon {
        width: 48px;
        height: 48px;
        background: rgba(37, 99, 235, 0.1);
        color: var(--accent-color);
        border-radius: 12px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }

    /* Contact Form */
    .form-control {
        padding: 0.8rem 1rem;
        border-radius: 8px;
        border: 1px solid var(--border-color);
    }

    .form-control:focus {
        box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
        border-color: var(--accent-color);
    }

    /* Contact Background */
    .contact-bg {
        background: linear-gradient(135deg, var(--accent-color) 0%, #1e40af 100%);
    }

    /* Footer */
    footer {
        background: var(--primary-color);
        color: #94a3b8;
        padding: 80px 0 40px;
    }

    footer h5 {
        color: #fff;
        margin-bottom: 1.5rem;
    }

    footer a {
        color: #94a3b8;
        text-decoration: none;
        transition: var(--transition);
    }

    footer a:hover {
        color: #fff;
    }

    .social-links a {
        font-size: 1.5rem;
        margin-right: 1rem;
    }

    /* Scroll Reveal animation basics */
    .reveal {
        opacity: 0;
        transform: translateY(30px);
        transition: all 0.8s ease-out;
    }

    .reveal.active {
        opacity: 1;
        transform: translateY(0);
    }

    /* Hover Card Effect */
    .hover-card {
        transition: all 0.3s ease;
        box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    }

    .hover-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15) !important;
    }

    /* JavaScript Frameworks Hover Popup */
    .js-hover-card {
        cursor: pointer;
    }

    .js-hover-card:hover .js-frameworks-popup {
        display: block !important;
        animation: fadeInUp 0.3s ease;
    }

    @keyframes fadeInUp {
        from {
            opacity: 0;
            transform: translateY(10px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    /* Accordion Customization */
    .accordion-button:not(.collapsed) {
        background-color: rgba(37, 99, 235, 0.05);
        color: var(--accent-color);
    }

    .accordion-button:focus {
        box-shadow: none;
        border-color: rgba(37, 99, 235, 0.2);
    }