/* --- Google Font --- */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Edu+NSW+ACT+Foundation:wght@400;700&display=swap');

/* --- CSS Variables --- */
:root {
    --primary-color: #19e7d6;
    --primary-gradient-end: #00a495;
    --dark-bg: #121212;
    --card-bg: #1e1e1e;
    --light-text: #f0f0f0;
    --secondary-text: #a0a0a0;
    --border-color: #333;
}

/* --- Global Reset & Base Styles --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 120px;
    /* Adjusted for floating navbar */
}


/* Find and replace the old body rule with this one */
body {
    font-family: "Manrope", sans-serif;
    color: #eaeaea;
    line-height: 1.6;
    padding: 0 auto;
    position: relative;
    overflow-wrap: normal;

    /* ===> NEW: FLOWING PLASMA BACKGROUND FOR ENTIRE PAGE <=== */
    background-color: #0d0d17;
    /* The deep blue/purple base color */
    background-image:
        radial-gradient(ellipse at 20% 80%, rgba(0, 240, 181, 0.15), transparent 50%),
        radial-gradient(circle at 80% 10%, rgba(138, 180, 248, 0.12), transparent 50%),
        radial-gradient(ellipse at 20% 80%, rgba(185, 138, 255, 0.10), transparent 50%);
    background-size: 200% 200%;
    animation: hero-gradient-flow 13s ease-in-out infinite;
    user-select: none;

}


.container {
    width: 90%;
    /* The container will try to be 90% of the screen width */
    max-width: 1400px;
    /* BUT it will not get any wider than 1400px */
    margin: 0 auto;
    /* This keeps it centered */
    padding: 0;
    /* We remove the side padding here */
}

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

ul {
    list-style: none;
}

img {
    max-width: 100%;
}

h1,
h2,
h3 {
    line-height: 1.2;
}

h1 {
    font-size: 3.5rem;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.5rem;
}

section {
    padding: 100px 0;
}

/* ===> ADD THIS ENTIRE BLOCK TO CREATE SPACING <=== */

/* Space above "What We Do" */
section#services {
    margin-top: 2px;
}

/* Space above "AI STARTUP IDEATOR" */
section#ai-suggester {
    margin-top: 60px;
}

/* Space above "Our Recent Work" */
section#portfolio {
    margin-top: 60px;
}

/* Space above "About Our Agency" */
section#about {
    margin-top: 60px;
}

/* Space above "Get In Touch" */
section#contact {
    margin-top: 60px;
}





/* ==========================================================================
   2. HEADER & NAVIGATION (Final Corrected Version)
   ========================================================================== */

#main-header {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 1400px;
    /* Matches .container width */
    z-index: 1000;
    padding: 10px;
    box-sizing: border-box;
    display: flex;
    justify-content: space-between;
    /* Aligns items to ends */
    align-items: center;
}

#main-nav {
    max-width: 1350px;
    width: 100%;
    margin: 0 auto;
    border-radius: 14px;
    position: relative;
    background: transparent;
    transition: background .4s ease;
    overflow: hidden;
    
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 5px 30px;
    background-color: transparent;
    backdrop-filter: blur(0px);
    border-radius: 100px;
    transition: background-color .4s ease, backdrop-filter .4s ease, padding .3s ease;
}


#main-header.scrolled .nav-content {
    background-color: rgba(49, 49, 49, 0.5);
    backdrop-filter: blur(3px);
    border: 1px solid rgba(255, 253, 253, 0.1);
    padding: 5px 30px;
}

/* --- Logo & Nav Links Styling --- */
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--light-text);
}

.logo img {
    height: 50px;
    width: auto;
}

.logo span {

    font-size: 1.9rem;
    font-weight: bold;
    font-family: "Poiret One", sans-serif;
    font-style: normal;
    letter-spacing: 0.6rem;
}

.desktop-nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
}

.desktop-nav-links a {
    color: var(--light-text);
    font-weight: 400;
    transition: color 0.3s ease;
}

.desktop-nav-links a:hover {
    color: #ffffff;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.7);
}

/* The mobile slide-out menu is hidden by default on desktop */
.nav-links {
    display: none;
}

/* The hamburger is hidden by default on desktop */
.hamburger {
    display: none;
    cursor: pointer;
    z-index: 10010;
    /* Very high z-index */
}

.hamburger .bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    transition: all 0.3s ease-in-out;
    background-color: var(--light-text);
    border-radius: 2px;
}

.hamburger.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.hamburger.active .bar:nth-child(2) {
    opacity: 0;
}

.hamburger.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}






/* --- Buttons --- */

/* ===> ADD THIS ENTIRE NEW BLOCK FOR THE ANIMATED BUTTON <=== */
.btn-animated {
    display: inline-block;
    padding: 2px;
    /* This creates the border thickness */
    border: none;
    border-radius: 8px;
    /* The outer radius */
    background: linear-gradient(90deg, var(--primary-color), #ff00c8, #0077ff);
    background-size: 200% 200%;
    animation: funky-gradient-flow 4s linear infinite;
    position: relative;
    text-align: center;
    margin-top: 20px
}

.btn-animated span {
    display: block;
    background-color: var(--card-bg);
    /* The inner button color */
    color: var(--light-text);
    padding: 10px 30px;
    border-radius: 6px;
    /* A slightly smaller inner radius */
    transition: background-color 0.3s ease;
    font-family: "Manrope", sans-serif;
    font-size: 1.3rem;
    font-weight: 800;
    font-family: "Delius", cursive;
    width: 240px;
}

.btn-animated:hover span {
    background-color: transparent;
    /* On hover, reveal the gradient */
    color: #fff;
    /* Ensure text is readable */
}

.btn-animated:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.s-btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid var(--primary-color);
}

/* ===> ADD THIS NEW RULE FOR THE GLASS BUTTON <=== */
.btn-glass {
    /* The Glass Effect */
    background-color: rgba(255, 255, 255, 0.1);
    /* Faint white background */
    backdrop-filter: blur(5px);

    /* The Text and Border Color */
    color: var(--light-text);
    border: 1px solid rgba(255, 255, 255, 0.2);

    /* A subtle glow on hover */
    transition: all 0.3s ease;
}

.btn-glass:hover {
    background-color: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.btn-primary {
    background: linear-gradient(45deg, var(--primary-color), var(--primary-gradient-end));
    color: var(--dark-bg);
    position: relative;
    overflow: hidden;
}

/* ===> ADD THIS NEW RULE FOR THE WHATSAPP AND TELEGRAM BUTTON <=== */

.wt-button-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    /* ← yahin se control hoga */
    padding-top: 20px;
    font-family: "Delius", cursive;
    font-size: 1.5rem;
    font-weight: bold;

}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    font-size: 1rem;
    font-weight: bold;
    text-decoration: none;
    border-radius: 25px;
    color: white;
    border: none;

}

.btn-whatsapp {
    background-color: #22c55e;
}

.btn-telegram {
    background-color: #3b82f6;
}

.btn-whatsapp:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 10px 20px rgba(37, 211, 102, 0.25);
}

.btn-telegram:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 10px 20px rgba(37, 170, 211, 0.25);
}

/* ===> ADD THIS NEW RULE TO FIX THE BUTTON TEXT <=== */
.btn-primary span {
    position: relative;
    z-index: 1;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 240, 181, 0.2);
}

/* Find and replace the old .btn-outline rule */
.btn-outline {
    /* The Glass Effect */
    background-color: rgba(255, 255, 255, 0.05);
    /* Very faint white background */
    backdrop-filter: blur(5px);

    /* The Text and Border */
    color: var(--light-text);
    border: 1px solid rgba(255, 255, 255, 0.2);
    /* Faint white border */

    /* Prepare for transitions */
    transition: all 0.3s ease;
}

/* Find and replace the old .btn-outline:hover rule */
.btn-outline:hover {
    /* Make the glass slightly brighter on hover */
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-3px);

    /* ===> THE NEW GLOWING EDGE EFFECT <=== */
    box-shadow: 0 0 15px rgba(0, 240, 181, 0.5),
        /* Teal glow */
        0 0 25px rgba(255, 0, 200, 0.3);
    /* Magenta glow */
}

.btn:active {
    transform: translateY(-1px) scale(0.98);
}

.btn-schedule {
    padding: 12px 25px;
    /* Button ke size ko adjust karne ke liye padding. Aap इसे अपनी पसंद से बदल सकते हैं। */
    border-radius: 20px;
    /* ये बटन को एक gol (pill-shaped) border dega। आप इसे 8px ya 10px jaise chhote value par set kar sakte hain agar aapko halka gol corners chahiye। */
    display: inline-flex;
    /* Button ke content (text) ko center karne ke liye */
    align-items: center;
    /* Content ko vertically center karega */
    justify-content: center;
    /* Content ko horizontally center karega */
    gap: 8px;
    /* Agar aap future mein button mein icon add karte hain toh uske liye space। */
    font-size: 1.3rem;
    /* Font size adjust karein agar zaroorat ho */

    background: linear-gradient(90deg, #a855f7, #ec4899);
    /* Example: A deep purple color */
    color: black;
    /* Example: White text color */
    border: 2px solid rgb(5, 201, 201);


}

.btn-schedule span {
    color: black;
    font-family: "Delius", cursive;
    font-weight: bold;
}

.btn-schedule:hover {
    /* Make the glass slightly brighter on hover */
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-3px);

    /* ===> THE NEW GLOWING EDGE EFFECT <=== */
    box-shadow: 0 0 15px rgba(0, 240, 181, 0.5),
        /* Teal glow */
        0 0 25px rgba(255, 0, 200, 0.3);
    /* Magenta glow */
}

#btn-schedule span {
    position: relative;
    z-index: 1;
}

.hrtag{
    border: none;
    height: 1px;
    background-color: #575555;
}

/* --- Hero Section --- */
/* Find and replace the old #hero rule with this one */
#hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    background-color: #0d0d17;
    /* The deep blue/purple base color */
    background-image:
        radial-gradient(ellipse at 20% 80%, rgba(0, 240, 181, 0.15), transparent 50%),
        radial-gradient(ellipse at 80% 10%, rgba(138, 180, 248, 0.12), transparent 50%),
        radial-gradient(ellipse at 20% 80%, rgba(185, 138, 255, 0.10), transparent 50%);
    background-size: 200% 200%;
    animation: hero-gradient-flow 10s ease-in-out infinite;
}





/* ===> ADD THIS RULE TO KEEP HERO CONTENT ON TOP <=== */
#hero .container {
    position: relative;
    z-index: 1;
    /* Sits on top of the fade effect and the background */
}


/* ===> ADD THIS RULE TO CONTROL THE HERO HEADING WIDTH <=== */
#hero .hero-title {
    max-width: 84vw;
    /* Adjust this value */
    margin: 0 auto 25px;
    /* Centers the heading and adds space below */

    font-family: "Noto Sans KR", sans-serif;
    font-weight: 300;
    font-size: 68px;
    text-align: center;
    padding: 0.1rem;
}

.hero-title span {
    display: inline-block;
    opacity: 0;
    transform: translateY(30px) rotate(10deg);
    animation: letter-fade-in 0.8s forwards cubic-bezier(0.2, 0.8, 0.2, 1);

}

@keyframes letter-fade-in {
    to {
        opacity: 1;
        transform: translateY(0) rotate(0);
    }
}


#hero .subtitle {
    max-width: 780px;
    margin: 25px auto 0;
    color: var(--secondary-text);
    color: #9a9494;
    text-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.05);
    font-size: clamp(16px, 2.5vw, 30px);
    font-family: "Playpen Sans Arabic", cursive;
    font-weight: 300;
    margin-bottom: 15px;
    letter-spacing: 0.02rem;
    margin-top: 0px;
}


/* --- Section Title --- */
.section-title {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    font-family: "Ribeye", serif;
    background: linear-gradient(to bottom, #ffffff, rgba(0, 0, 0, 0.3));

    -webkit-background-clip: text;
    background-clip: text;

    color: transparent;
}

/* --- OPTION 3: Colorful Gradient with Rounded Edges --- */
.section-title::after {
    content: "";
    display: block;
    width: 100px;
    height: 3px;
    margin: 10px auto 0;
    border-radius: 4px;
    background: linear-gradient(90deg, #000000, #7b7b7b, #000000);
    background-size: 200% auto;
    animation: shineLine 2.5s linear infinite;
}

@keyframes shineLine {
    0% {
        background-position: 0% 50%;
    }

    100% {
        background-position: 200% 50%;
    }
}

/* ====== Services Section ====== */
#services {
    padding: 1px 20px;
    text-align: center;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto;
    margin-top: 60px;
}

.service-card {
    position: relative;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    color: #eaeaea;
    z-index: 1;
    transition: 0.3s ease;
    overflow: hidden;
    box-shadow: inset 0 0 0 rgba(0, 240, 181, 0.15)
}



.service-card::before {
    content: "";
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    background: radial-gradient(circle, rgba(0, 240, 181, 0.07), transparent 70%);
    z-index: -1;
    animation: floatGlow 10s ease-in-out infinite;
    pointer-events: none;
}

@keyframes floatGlow {
    0% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(-5%, -5%);
    }

    100% {
        transform: translate(0, 0);
    }
}



.service-card:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(0, 240, 181, 0.12),
        0 0 30px rgba(138, 180, 248, 0.10),
        0 0 40px rgba(185, 138, 255, 0.08);
    transform: translateY(-10px);

}


.icon-pallet {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #8ab4f8;
}

.icon-code {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #8ab4f8;
}

.icon-app {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #8ab4f8;
}

.icon-compass {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #8ab4f8;
}

.icon-marketing {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #8ab4f8;
}

.icon-social {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #8ab4f8;
}

.service-card-content h3 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: white;
    font-family: "Manrope", sans-serif;
}

.service-card-content p {
    font-size: 1.3rem;
    line-height: 1.4;
    color: #bfb5b5;
    font-family: "Manrope", sans-serif;
}


@property --angle {
    syntax: '<angle>';
    inherits: false;
    initial-value: 0deg;
}

@keyframes rotate-gradient {
    from {
        --angle: 0deg;
    }

    to {
        --angle: 360deg;
    }
}

/* ===> ADD THIS NEW KEYFRAME RULE <=== */
@keyframes gradient-flow {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* ===> ADD THIS NEW KEYFRAME RULE FOR THE HERO BACKGROUND <=== */
@keyframes hero-gradient-flow {
    0% {
        background-position: 0% 50%;
    }

    25% {
        background-position: 50% 0%;
    }

    50% {
        background-position: 100% 50%;
    }

    75% {
        background-position: 50% 100%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* ===> ADD THIS NEW KEYFRAME RULE FOR THE AURORA EFFECT <=== */
@keyframes aurora-flow {
    0% {
        background-position: 0% 50%, 50% 100%, 100% 0%;
    }

    50% {
        background-position: 100% 50%, 0% 0%, 50% 100%;
    }

    100% {
        background-position: 0% 50%, 50% 100%, 100% 0%;
    }
}

/* ===> ADD THIS NEW KEYFRAME FOR THE FUNKY BUTTON <=== */
@keyframes funky-gradient-flow {
    0% {
        background-position: 0% 50%;
    }

    100% {
        background-position: 200% 50%;
    }
}



/* ==========================================================================
   AI Startup Ideator Section (Corrected Nested Box Effect)
   ========================================================================== */

#ai-suggester .section-title {
    margin-bottom: 60px;
}

/* Find and replace the .ai-ideator-card and its :hover rule */

/* 1. The Outer Frame - NOW with an ALWAYS-ON animated border */
.ai-ideator-card {

    border-radius: 16px;
    padding: 2px;
    /* Border thickness */
    position: relative;
    background: rgba(57, 57, 57, 0.1);
    border: 2px dotted rgba(224, 224, 224, 0.2);
    /* The animated gradient background is now always active */
    animation: rotate-gradient 4s linear infinite;
    backdrop-filter: blur(20px);

    /* We still want the transition for the hover effects */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    /* The colorful glow effect using box-shadow */

}

/* 2. The Inner Content Box with the "Aurora" background */
.ai-ideator-inner {
    border-radius: 14px;
    /* Slightly smaller radius */
    padding: 60px 50px;
    position: relative;
    overflow: hidden;

    backdrop-filter: blur(15px);


    animation: aurora-flow 12s ease-in-out infinite;
}

/* 3. The content inside the inner box */
.ai-input-area {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    width: 100%;
}

.ai-input-area h3 {
    color: white;
    font-family: "Diphylleia", serif;
    text-align: center;
}

/* --- The rest of the styles for label, textarea, button remain the same --- */
#ai-suggester .ai-input-area label {
    font-size: 1.2rem;
    font-weight: 400;
    color: #f4d58d;
    text-shadow: 0 0 6px rgba(255, 174, 255, 0.3);
    max-width: 900px;
    display: block;
    text-align: center;
    font-family: "Manrope", sans-serif;
    letter-spacing: 3px;


}

#ai-suggester .ai-input-area textarea {
    width: 100%;
    max-width: 700px;
    min-height: 60px;
    padding: 20px 30px;
    line-height: 1.5;
    border-radius: 50px;
    font-family: "Manrope", sans-serif;
    font-size: 1rem;
    text-align: center;
    resize: none;
    color: var(--light-text);
    transition: all 0.3s ease;
    background-color: rgba(18, 18, 18, 0.6);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);

}

#ai-suggester .ai-input-area textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 15px rgba(0, 240, 181, 0.2);
}

#ai-suggester #generate-btn {
    border: none;
    padding: 15px 40px;
    font-size: 1.5rem;
    font-weight: 700;
    color: black;
    border-radius: 50px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(90deg, #00f0b5, #8ab4f8, #00f0b5);
    background-size: 200% auto;
    animation: plasma-shift 3s ease-in-out infinite;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 0 15px rgba(0, 240, 181, 0.2);
    font-family: "Delius", cursive;

}

@keyframes plasma-shift {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

#ai-suggester #generate-btn span {
    position: relative;
    z-index: 1;
}

#ai-suggester #generate-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 0 25px rgba(0, 240, 181, 0.3), 0 0 35px rgba(138, 180, 248, 0.25);
}

.recent-work-section {
    padding: 50px 0;
    position: relative;
    background: transparent;
    z-index: 1;
    margin-left: 10px;
    margin-right: 10px;

}

.recent-work-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 20px;
    z-index: -1;
}

.section-title {
    text-align: center;
    font-size: 2.8rem;
    margin-bottom: 40px;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;


}

.portfolio-scroll {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    padding: 20px 0;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}

.portfolio-scroll::-webkit-scrollbar {
    display: none;
}

.d-para {
    color: #f4d58d;
    display: block;
    text-align: center;
    justify-content: center;
    font-size: 1.7rem;
    font-weight: 500;
    font-family: "Manrope", sans-serif;
    letter-spacing: 3px;
}

.demo-card {
    flex: 0 0 330px;
    scroll-snap-align: start;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    padding: 20px;
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    min-height: 400px; /* Ensure consistent minimum height */
}

.demo-card:hover {
    transform: translateY(-10px);
    border-color: rgba(0, 240, 181, 0.5);
    box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.05),
        0 0 30px rgba(202, 248, 237, 0.15);

}

.demo-card img {
    width: 100%;
    border-radius: 14px;
    margin-bottom: 15px;
}

.demo-card h3 {
    font-size: 1.9rem;
    margin-bottom: 10px;
    color: #fefae0;
    font-family: "Manrope", sans-serif;
}

.demo-card p {
    font-size: 1.3rem;
    text-align: center;
    margin-bottom: 15px;
    color: #bfb5b5;
    font-family: "Manrope", sans-serif;
    flex-grow: 1; /* This will push the button to the bottom */
    display: flex;
    align-items: center; /* Center the text vertically within the flex space */
}

.demo-btn {
    /* Basic Button Styling */
    padding: 15px 30px;
    /* Adjust padding as needed for size */
    border: none;
    /* Remove default border */
    border-radius: 30px;
    /* Highly rounded corners */
    cursor: pointer;
    /* Indicate it's clickable */
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    /* Example font */
    font-size: 18px;
    /* Adjust font size */
    font-weight: bold;
    /* Make text bold */
    color: #333333;
    /* Darker text for contrast on bright green */
    text-shadow: 0px 1px 0px rgba(255, 255, 255, 0.3);
    /* Subtle text shadow for depth */

    /* Electric Lime Green Gradient Background */
    background: linear-gradient(145deg, #A7FF83, #1BE7FF);
    /* Lime green to a bright cyan/aqua */
    /* Alternative gradient if you want purely green:
    background: linear-gradient(145deg, #7CFC00, #32CD32); / / From Lawn Green to Lime Green */

    /* Subtle Box Shadow for a "Glow" Effect */
    box-shadow: 0px 0px 5px rgba(124, 252, 0, 0.7),
        /* Bright green glow */
        0px 0px 10px rgba(0, 255, 0, 0.3);
    /* Wider, softer green glow */

    /* Transition for Hover Effects */
    transition: all 0.3s ease;

    font-family: "Delius", cursive;
    font-size: 1.4rem;
    
    /* Ensure button stays at bottom */
    margin-top: auto;
    align-self: center;
}



.demo-btn:hover {
    transform: translateY(-3px);
    /* Lift button slightly on hover */
    box-shadow: 0px 0px 10px rgba(124, 252, 0, 0.9),
        /* Brighter primary glow */
        0px 0px 20px rgba(0, 255, 0, 0.5);
    /* Larger, softer glow */
}

/* Active State (when clicked) */
.demo-btn:active {
    transform: translateY(0);
    /* Button returns to original position */
    box-shadow: 0px 0px 10px rgba(124, 252, 0, 0.5),
        /* Slightly less glow when pressed */
        0px 0px 20px rgba(0, 255, 0, 0.2);
}






.glass-section {
    margin: 60px auto;
    padding: 40px 20px;
    max-width: 1200px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(12px);
    box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.05),
        0 0 30px rgba(202, 248, 237, 0.15);
    color: white;
    text-align: center;
    margin-top: 70px;
}



.card-grid h3 {
    color: white;
    font-family: "Manrope", sans-serif;
    font-size: 2.1rem;
}

.card-grid p {
    color: #efe7e7;
    font-family: "Manrope", sans-serif;
}


.card-grid,
.fortune-grid {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.card,
.fortune-card {
    flex: 1 1 250px;
    padding: 20px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    margin-top: 20px;
    font-family: "Delius", cursive;
}

.card:hover,
.fortune-card:hover {
    transform: translateY(-5px);
    box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.05),
        0 0 30px rgba(202, 248, 237, 0.15);
}

.fortune-card.revealed {
    background: rgba(0, 255, 170, 0.2);
    font-weight: bold;
}

.f-para {
    color: #f4d58d;
    font-size: 1.8rem;
    font-family: "Manrope", sans-serif;
    letter-spacing: 0.3rem;
    margin-top: 1px;
}





.f-glass-section {
    margin: 60px auto;
    padding: 40px 20px;
    max-width: 1200px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(12px);
    box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.05),
        0 0 30px rgba(202, 248, 237, 0.15);
    color: white;
    text-align: center;
    margin-top: 1px;
}

.g-para {
    font-family: "Manrope", sans-serif;
    font-size: 30px;
    letter-spacing: 0.7rem;
    margin-top: 1px;
    color: #f4d58d;
}




/* --- About Section --- */

/* ==========================================================================
   About Section (NEW Glass Background)
   ========================================================================== */

/* ===> ADD THIS NEW RULE FOR THE GLASSY TEXT COLUMN <=== */
.about-text-content {
    /* The Glass Effect */
    background-color: rgba(30, 30, 30, 0.2);
    backdrop-filter: blur(10px);

    /* A subtle border to define the pane */
    border: 1px solid rgba(255, 255, 255, 0.1);

    border-radius: 16px;
    /* Rounded corners */
    padding: 40px;
    /* Add some space inside the box */
    /* The colorful glow effect using box-shadow */
    box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.05),
        0 0 30px rgba(202, 248, 237, 0.15);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-top: 60px;
}

.about-subtitle {
    font-size: 2.8rem;
    margin-bottom: 30px;
    text-align: left;
    color: #e9d5ff;
    text-shadow: 0 0 10px rgba(34, 211, 238, 0.5);
    font-family: "Lacquer", system-ui;
}

.about-subtitle span {
    background: linear-gradient(to right, var(--primary-color), #aaffec);
    -webkit-background-clip: text;
    background-clip: text;
    color: #bb3939;
    text-shadow: 0 0 10px rgba(34, 211, 238, 0.1);
}

.about-text-content p {
    font-size: 1.3rem;
    color: #f4f4f5;
    margin-bottom: 20px;
    line-height: 1.7;
    font-family: "Josefin Slab", serif;
}

.about-quote {
    margin-top: 20px;
    padding-left: 15px;
    border-left: 3px solid #00f5d4;
    font-style: italic;
    color: #22deee;
    font-weight: 500;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.feature-box-inner:hover {
    transform: translateX(-3px);
    box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.05),
        0 0 30px rgba(202, 248, 237, 0.15);
}

.feature-box {
    border-radius: 14px;
    padding: 2px;
    background: linear-gradient(135deg, #2c2c3a, #3a3a4f);
    transition: transform 0.3s ease;
}

.feature-box:hover {
    transform: translateY(-10px);
    background: linear-gradient(135deg, #3f3f68, #5a5a80)
}

.feature-box-inner {
    display: flex;
    align-items: center;
    padding: 25px;
    border-radius: 12px;
    height: 100%;
    background: #1c1b23;
    box-shadow: inset 0 0 10px rgba(138, 180, 248, 0.15);
    color: #eaeaea;
    transition: 0.3s ease;

}

.icon-heart {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 20px;
    font-size: 3rem;
    color: #ff1493;
}

.icon-coding {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 20px;
    font-size: 3rem;
    color: #00bfff;
}

.icon-brain {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 20px;
    font-size: 3rem;
    color: #a020f0;
}

.icon-users {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 20px;
    font-size: 3rem;
    color: #ff7f50;
}

.feature-text h4 {
    color: #ffffff;
    margin-bottom: 5px;
    font-size: 1.3rem;
    font-family: "Manrope", sans-serif;

}

.feature-text p {
    color: #bfb5b5;
    font-size: 1.1rem;
    margin-bottom: 0;
    font-family: "Manrope", sans-serif;
}

/* Responsive adjustments */
@media(max-width: 992px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-subtitle {
        text-align: center;
    }
}

/* ==========================================================================
   Philosophy Section (Final Premium Upgrade)
   ========================================================================== */

/* 1. Add space ABOVE the entire section */
#philosophy {
    text-align: center;
    margin-top: 60px;
    /* This creates the gap from the section above */
    /* We no longer need a background on the section itself */
}

.philosophy-header {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 50px;
}

/* 2. Style the gradient icon */
.philosophy-header .fa-quote-left {
    font-size: 5rem;
    line-height: 1;
    /* Apply a gradient to the icon */
    background: #d2c35f;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

#philosophy .section-title {
    margin: 0;
    font-size: 2.8rem;
    /* Match the font size */
}



/* 3. Style the two parts of the heading with different colors */
#philosophy .text-part-1 {
    /* "Our" */
    background: linear-gradient(to right, #f0f0f0, #737373);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;

}

#philosophy .text-part-2 {
    /* "Philosophy" */
    background: linear-gradient(to right, #00bbf9, #00f5d4);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}


.philosophy-quotes {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    margin-bottom: 40px;
}

/* The rest of the styles for quote-box, etc. can remain the same */
.quote-box {
    width: 100%;
    max-width: 800px;
    padding: 35px 45px;
    border-radius: 16px;
    position: relative;
    overflow: hidden;
    background-color: rgba(18, 18, 18, 0.2);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.05);
    transition: all 0.4s ease;
}

.quote-box:hover {
    transform: translateY(-10px);
    border-color: rgba(0, 240, 181, 0.5);
    box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.05),
        0 0 30px rgba(202, 248, 237, 0.15);
}

.main-quote {
    font-size: 1.9rem;
    font-weight: 600;
    line-height: 1.3;
    color: #ffffff;
    font-family: "Diphylleia", serif;
}

.sub-quote {
    font-size: 1.5rem;
    color: #bfb5b5;
    font-style: italic;
    font-weight: 300;
    font-family: "Diphylleia", serif;
}

.philosophy-footer-text {
    font-size: 45px;
    color: #bfb5b5;
    font-weight: 400;
    max-width: 700px;
    margin: 0 auto;
    font-family: "Manrope", sans-serif;

}


/* ==========================================================================
   Founders Section
   ========================================================================== */

/* Section Background */
#founders-section {
    padding: 5px 20px;
    background: transparent;
    backdrop-filter: blur(10px);
    position: relative;
    text-align: center;
}

/* Section Heading */
.founder-heading {
    font-size: 2.8rem;
    color: white;
    margin-bottom: 60px;
    position: relative;
    display: inline-block;
}

/* Card Container */
.founder-flip-container {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;

}

/* Card */
.founder-flip-card {
    width: 300px;
    height: 450px;
    perspective: 1000px;
}

/* Flip Mechanics */
.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transform-style: preserve-3d;
    transition: transform 0.8s;
}

.founder-flip-card:hover .flip-card-inner {
    transform: rotateY(180deg);
}

/* Shared Card Styles */
.flip-card-front,
.flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 20px;
    backdrop-filter: blur(12px);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.1);
    backface-visibility: hidden;
    transition: border 0.3s ease;
    overflow: hidden;
}

/* Multicolor border animation on hover */
.founder-flip-card:hover .flip-card-front,
.founder-flip-card:hover .flip-card-back {
    border: 3px solid transparent;
    animation: rainbow-border 4s linear infinite;
    background-clip: padding-box;
}

/* Front */
.flip-card-front {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    padding: 20px 20px;
    font-family: "Manrope", sans-serif;
    font-size: 1.7rem;
}

.flip-card-front img {
    width: 225px;
    height: 300px;
    border-radius: 5%;
    object-fit: cover;
    border: 1px white;
    margin-bottom: 15px;
}

.flip-card-front h4 {
    font-size: 1rem;
    margin-top: 3px;
    color: #f8e670;
    font-weight: 600;
    font-family: "Diphylleia", serif;
    letter-spacing: 2px;
}

/* Back */
.flip-card-back {
    transform: rotateY(180deg);
    padding: 25px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #ebe4e4;
}



.flip-card-back p {
    font-size: 1rem;
    line-height: 1.3;
    font-family: "Manrope", sans-serif;
}

.founder-footer {
    font-size: 40px;
    margin-top: 40px;
    color: #d7cece;
    font-weight: bold;
    text-align: center;
    display: block;
    font-family: "Cinzel", serif;
}

.founder-socials {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 20px;
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
}

.founder-socials a {
    color: white;
    font-size: 22px;
    transition: transform 0.3s ease, color 0.3s ease;
}

.founder-socials a:hover {
    transform: scale(1.3);
    color: #00ffff;
}

/* Make sure the back card has relative position */
.flip-card-back {
    position: relative;
    padding-bottom: 70px;
    /* give space for icons */
}






/* --- Contact Section --- */
/* Find and replace the old .contact-wrapper rule with this one */
/* Find and replace the old .contact-wrapper rule */
/* Find and replace the old .contact-wrapper rule */
.contact-wrapper {
    position: relative;
    border-radius: 16px;
    padding: 2px;
    /* Border thickness */

    /* The animated border background */
    background: conic-gradient(from var(--angle), var(--primary-color), #ff00c8, #0077ff, var(--primary-color));
    animation: rotate-gradient 4s linear infinite;
    margin-top: 60px;
    box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.05),
        0 0 30px rgba(202, 248, 237, 0.15);
}

/* ===> ADD THIS NEW RULE FOR THE INNER CONTENT <=== */
/* Find and replace the old .contact-wrapper-inner rule */
.contact-wrapper-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    padding: 50px;
    border-radius: 14px;
    align-items: flex-start;
    position: relative;
    overflow: hidden;

    background-color: #0d0d17;
    /* Deep base tone */

    background-image:
        radial-gradient(circle at 20% 80%, rgba(0, 240, 181, 0.08), transparent 60%),
        radial-gradient(circle at 80% 30%, rgba(138, 180, 248, 0.06), transparent 60%),
        radial-gradient(circle at 50% 50%, rgba(185, 138, 255, 0.05), transparent 60%),
        radial-gradient(circle at 60% 60%, rgba(255, 255, 255, 0.02), transparent 50%);

    background-size: 250% 250%;
    background-blend-mode: screen;
    animation: contactPlasmaFlow 18s ease-in-out infinite;
}

@media (max-width: 768px) {
    .contact-wrapper-inner {
        grid-template-columns: 1fr;
        padding: 30px 20px;
    }

    .contact-info {
        text-align: center;
    }

    #contact-form {
        width: 100%;
    }

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

@keyframes contactPlasmaFlow {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}


.contact-info h3 {
    color: white;
    margin-bottom: 20px;
    font-size: 3rem;
    font-family: "Manrope", sans-serif;
    ;
}

.contact-info p {
    color: #f4d58d;
    margin-bottom: 30px;
    font-family: "Manrope", sans-serif;
    font-size: 1.6rem;
}

.contact-info ul li {
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-family: "Manrope", sans-serif;
    font-weight: 500;
}

.contact-info ul li i {
    color: #00bbf9;
    margin-right: 20px;
    width: 22px;
    font-size: 1.2rem;
    text-align: center;
}

#contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--secondary-text);
    font-size: 1.2rem;
    font-family: "Manrope", sans-serif;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    background-color: var(--dark-bg);
    color: var(--light-text);
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    /* ===> THE NEW GLASS EFFECT <=== */
    background-color: rgba(30, 30, 30, 0.5);
    /* Semi-transparent dark background */
    backdrop-filter: blur(5px);
    /* The blur effect */
    border: 1px solid rgba(255, 255, 255, 0.1);
    /* A faint edge */
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 15px rgba(0, 240, 181, 0.2);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

#contact-form button {
    width: 100%;
    padding: 15px 30px;
    font-size: 1rem;
    cursor: pointer;

}

section#contact {
    margin-bottom: 60px;
    /* <--- Adjust this value as needed */
}

.contact-info ul li:last-child {
    margin-top: 30px;
    /* Add some space above the button */
    /* We can remove the flex alignment from here as the button handles it */
}



.btn-contact {
    /* Basic Button Styling (similar to your other button for consistency) */
    padding: 15px 30px;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    font-size: 35px;
    font-weight: bold;
    color: #FFFFFF;
    /* White text for better contrast on orange */
    text-shadow: 0px 1px 0px rgba(0, 0, 0, 0.3);
    /* Subtle dark text shadow */

    /* Vibrant Orange / Tangerine Gradient Background */
    background: linear-gradient(145deg, #f6a13a, #f6b235);
    /* DarkOrange to Orange */
    /* Alternative gradient for a more fiery look:
    background: linear-gradient(145deg, #FF4500, #FF6F00); / / OrangeRed to a brighter orange */

    /* Subtle Box Shadow for a "Glow" Effect (orange glow) */
    box-shadow: 0px 0px 10px rgba(226, 153, 64, 0.7),
        /* Bright orange glow */
        0px 0px 10px rgba(219, 159, 49, 0.3);
    /* Wider, softer orange glow */

    /* Transition for Hover Effects */
    transition: all 0.3s ease;
    max-width: 700px;
    color: black;
    font-family: "Delius", cursive;


}

/* Hover Effect */
.btn-contact:hover {
    transform: translateY(-3px);
    /* Lift button slightly on hover */
    box-shadow: 0px 0px 10px rgba(255, 140, 0, 0.9),
        /* Brighter primary orange glow */
        0px 0px 20px rgba(255, 165, 0, 0.5);
    /* Larger, softer orange glow */
}

/* Active State (when clicked) */
.btn-contact:active {
    transform: translateY(0);
    /* Button returns to original position */
    box-shadow: 0px 0px 10px rgba(255, 140, 0, 0.5),
        /* Slightly less glow when pressed */
        0px 0px 20px rgba(255, 165, 0, 0.2);
}





/* --- Footer --- */
/* Find and replace the old footer rule */
footer {
    text-align: center;
    padding: 10px 0;

    /* The Glass Effect */
    background-color: rgba(30, 30, 30, 0.5);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    /* A top border to separate it */

    /* Full-width trick */
    position: relative;
    width: 100vw;
    left: 50%;
    transform: translateX(-50%);
    box-sizing: border-box;
}

.social-links {
    margin-bottom: 20px;
}

.social-links a {
    font-size: 1.5rem;
    color: var(--secondary-text);
    margin: 0 15px;
    transition: color 0.3s ease, transform 0.3s ease;
}

.social-links a:hover {
    color: var(--primary-color);
    transform: translateY(-5px);
}

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

/* --- Scroll Animation --- */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================================================
   AI Results Modal Styling
   ========================================================================== */

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(32, 32, 32, 0.8);
    backdrop-filter: blur(10px);
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;

    /* This hides the modal by default */
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.4s ease, visibility 0s 0.4s;
}

.modal-overlay.visible {
    /* This shows the modal when the '.visible' class is added by JS */
    visibility: visible;
    opacity: 1;
    transition: opacity 0.4s ease;
}

.modal-overlay .modal-content {
    /* This targets the #ai-results-tablet */
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 40px;
    width: 90%;
    max-width: 800px;
    position: relative;
    transform: scale(0.95);
    transition: transform 0.4s ease;
}

.modal-overlay.visible .modal-content {
    transform: scale(1);
}

/* --- Back Arrow Button --- */
.modal-overlay .back-arrow {
    position: absolute;
    top: 15px;
    right: 15px;
    background: transparent;
    border: none;
    color: var(--secondary-text);
    font-size: 2.5rem;
    line-height: 1;
    padding: 0;
    cursor: pointer;
    transition: color 0.3s ease, transform 0.3s ease;
}

.modal-overlay .back-arrow:hover {
    color: var(--primary-color);
    transform: rotate(90deg);
}

/* --- Modal Content & Spinner --- */
.modal-content h3 {
    text-align: center;
    color: white;
    margin-bottom: 30px;
    font-family: "Manrope", sans-serif;
    font-size: 1.8rem;
}

.modal-content .result-row {
    display: flex;
    justify-content: space-between;
    padding: 15px 0;
    border-bottom: 1px solid var(--border-color);
    align-items: center;
    font-family: "Manrope", sans-serif;
}

.modal-content .result-row:last-child {
    border-bottom: none;
}

.modal-content .result-row.plans {
    flex-direction: column;
    align-items: flex-start;
}

.modal-content .result-row strong {
    color: var(--light-text);
    flex-shrink: 0;
    margin-right: 20px;
}

.modal-content .result-row span {
    color: var(--secondary-text);
    text-align: right;
}

.modal-content .result-row ul {
    list-style-type: disc;
    padding-left: 20px;
    margin-top: 10px;
    color: var(--secondary-text);
}

.modal-content .result-row ul li {
    margin-bottom: 8px;
}

.modal-content .spinner-wrapper {
    display: block;
    text-align: center;
    padding: 40px 0;
}

.modal-content .spinner {
    width: 50px;
    height: 50px;
    border: 4px solid var(--border-color);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 15px;
}

/* ==========================================================================
   Schedule a Call Modal Styling (FUNKY & UPGRADED)
   ========================================================================== */

/* The outer overlay is mostly the same, just a bit darker */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(10, 10, 10, 0.7);
    /* Darker overlay */
    backdrop-filter: blur(15px);
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.4s ease, visibility 0s 0.4s;
}

.modal-overlay.visible {
    visibility: visible;
    opacity: 1;
    transition: opacity 0.4s ease;
}

/* 1. The Modal Content Box - now has the animated border */
.modal-overlay .modal-content {
    width: 90%;
    max-width: 550px;
    position: relative;
    border-radius: 16px;
    padding: 2px;
    /* Border thickness */

    /* The animated border background */
    background: conic-gradient(from var(--angle), var(--primary-color), #ff00c8, #0077ff, var(--primary-color));
    animation: rotate-gradient 4s linear infinite;

    transform: scale(0.95);
    transition: transform 0.4s ease;
    overflow: visible;
    box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.05),
        0 0 30px rgba(202, 248, 237, 0.15);
}

.modal-overlay.visible .modal-content {
    transform: scale(1);
}

/* We need a new inner div for the aurora background */
/* Find and replace the old .schedule-modal-inner rule */
.schedule-modal-inner {
    padding: 40px 20px;
    border-radius: 16px;
    position: relative;
    height: auto;
    max-height: 90vh;
    overflow: visible;

    background-color: #0d0d17;

    background-image:
        radial-gradient(circle at 20% 80%, rgba(0, 240, 181, 0.07), transparent 60%),
        radial-gradient(circle at 80% 30%, rgba(138, 180, 248, 0.06), transparent 60%),
        radial-gradient(circle at 60% 60%, rgba(185, 138, 255, 0.05), transparent 60%),
        radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.02), transparent 60%);

    background-size: 220% 220%;
    background-blend-mode: screen;
    animation: modalPlasmaFlow 16s ease-in-out infinite;
    color: #ffffff;
}

@keyframes modalPlasmaFlow {
    0% {
        background-position: 10% 50%;
    }

    50% {
        background-position: 90% 60%;
    }

    100% {
        background-position: 10% 50%;
    }
}

/* --- Back Arrow Button --- */
.modal-overlay .back-arrow {
    position: absolute;
    top: 3px;
    right: 10px;
    background: transparent;
    border: none;
    color: var(--secondary-text);
    font-size: 2.5rem;
    line-height: 1;
    padding: 0;
    cursor: pointer;
    z-index: 2;
    /* Ensure it's on top */
    transition: color 0.3s ease, transform 0.3s ease;
}

.modal-overlay .back-arrow:hover {
    color: var(--primary-color);
    transform: rotate(90deg);
}

/* --- Form Content Styling --- */
.schedule-modal-inner h3 {
    text-align: center;
    color: #ffffff;
    margin-bottom: 10px;
    font-family: "Manrope", sans-serif;
}

.schedule-modal-inner p {
    text-align: center;
    color: #f4d58d;
    margin-bottom: 30px;
    font-family: "Manrope", sans-serif;
    font-size: 1.2rem;
}

.schedule-modal-inner .form-group {
    margin-bottom: 20px;
}

.schedule-modal-inner label {
    display: block;
    margin-bottom: 8px;
    font-size: 1.1rem;
    color: var(--secondary-text);
    font-family: "Manrope", sans-serif;
}

/* Glassy inputs */
.schedule-modal-inner input,
.schedule-modal-inner select {
    width: 100%;
    padding: 15px;
    border-radius: 8px;
    font-family: "Manrope", sans-serif;
    font-size: 1rem;
    color: var(--light-text);
    background-color: rgba(18, 18, 18, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.schedule-modal-inner input:focus,
.schedule-modal-inner select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 15px rgba(0, 240, 181, 0.2);
}

/* Funky Submit Button */
#schedule-form button[type="submit"] {
    width: 100%;
    border: none;
    padding: 15px 40px;
    max-width: 360px;
    display: flex;
    justify-content: center;
    margin: 0 auto;

    font-size: 1.3rem;
    font-weight: 700;
    color: black;
    border-radius: 50px;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    background: linear-gradient(90deg, #00f0b5, #8ab4f8, #00f0b5);
    background-size: 300%;
    animation: plasma-shift 3s ease-in-out infinite;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    font-family: "Delius", cursive;
}


@keyframes plasma-shift {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}




#schedule-form button[type="submit"]:hover {
    transform: scale(1.05);
    box-shadow: 0 0 25px rgba(0, 240, 181, 0.4);
}

/* ===> NEW: Custom Glassy Dropdown Styles <=== */
.custom-select-wrapper {
    position: relative;
}

.custom-select {
    position: relative;
    cursor: pointer;
}

.custom-select-trigger {
    width: 100%;
    padding: 15px;
    border-radius: 8px;
    font-size: 1.1rem;
    color: var(--secondary-text);
    /* Dim color for placeholder */
    background-color: rgba(18, 18, 18, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: "Manrope", sans-serif;
}

.custom-select-trigger:hover,
.custom-select.open .custom-select-trigger {
    border-color: var(--primary-color);
    box-shadow: 0 0 15px rgba(0, 240, 181, 0.2);
}

.custom-select-trigger.selected span {
    color: var(--light-text);
    /* Bright color for selected text */
}

.arrow {
    position: relative;
    height: 10px;
    width: 10px;

}

.arrow::before,
.arrow::after {
    content: '';
    position: absolute;
    bottom: 0px;
    width: 2px;
    height: 100%;
    background-color: var(--secondary-text);
    transition: all 0.3s ease;
}

.arrow::before {
    left: 0;
    transform: rotate(-45deg);
}

.arrow::after {
    right: 0;
    transform: rotate(45deg);
}

.custom-select.open .arrow::before {
    transform: rotate(45deg);
}

.custom-select.open .arrow::after {
    transform: rotate(-45deg);
}

.custom-options::-webkit-scrollbar {
    width: 8px;
}

.custom-options::-webkit-scrollbar-track {
    background: var(--dark-bg);
    border-radius: 10px;
}

.custom-options::-webkit-scrollbar-thumb {
    background-color: var(--primary-color);
    border-radius: 10px;
    border: 2px solid var(--dark-bg);
}

.custom-options {
    position: absolute;
    top: 100%;
    /* Position below the trigger */
    left: 0;
    right: 0;
    background-color: rgba(18, 18, 18, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    margin-top: 5px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    max-height: 200px;
    /* Limit height and enable scrolling */
    overflow-y: auto;
    z-index: 50;
    /* Ensure it appears above other content */

    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    scrollbar-width: thin;
    /* Firefox */
    scrollbar-color: var(--primary-color) var(--dark-bg);
    font-family: "Manrope", sans-serif;
    font-size: 1.2rem;
}

.custom-select.open .custom-options {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.custom-option {
    display: block;
    padding: 15px;
    color: var(--light-text);
    transition: background-color 0.3s ease;
}

.custom-option:hover {
    background-color: rgba(0, 240, 181, 0.2);
}

.custom-option.selected {
    background-color: var(--primary-color);
    color: var(--dark-bg);
    font-weight: 600;
}

.custom-options {
    touch-action: pan-y;
    -webkit-overflow-scrolling: touch;
}



/*REPPLE EFFECT*/
.cursor-trail {
    position: fixed;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    background: radial-gradient(circle at center, rgba(185, 204, 199, 0.6)), rgba(0, 240, 181, 0);

    background-size: 200% 200%;
    animation: vapor-fade 1s ease-out forwards, rainbow-shift 2s linear infinite;
    opacity: 0.7;
    transform: translate(-50%, -50%);
    filter: blur(10px);
}

@keyframes vapor-fade {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.7;
    }

    100% {
        transform: translate(-50%, -50%) scale(2);
        opacity: 0;
    }
}

@keyframes rainbow-shift {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}


/* Optional Floating Animation */
@keyframes floatUpDown {

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

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



/* Responsive Styles */
@media (max-width: 850px) {

    html,
    body {
        /* Added to fix potential overflow causing misalignment */
        overflow-x: hidden;
    }

    body {
        padding: 0 auto;
    }

    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    /* Hide the desktop navigation links */
    .desktop-nav-links {
        display: none;
    }

    /* Ensure the hamburger button is visible and on the right */
    .hamburger {
        display: block;
        /* Use block instead of flex for simplicity */
        z-index: 10010;
        position: relative;
        /* Helps with stacking context */
    }

    /* Position the visible nav bar and hamburger button correctly */
    #main-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        max-width: 100%;
        /* Override desktop max-width */
        padding: 10px 15px;
        margin-bottom: 0px;
    }

    #main-nav {
        width: auto;
        /* Allow logo to define its own width */
    }

    .nav-content {
        /* Added/Modified for mobile padding and border-radius */
        padding: 5px 15px;
        /* Adjust padding for mobile */
        border-radius: 14px;
        /* Reduced border-radius for mobile */
    }

    #main-header.scrolled .nav-content {
        padding: 1px 15px;
        /* Adjust padding for mobile scrolled state */
        border-radius: 14px;
        /* Ensure consistent border-radius when scrolled */
    }

    /* ===> NEW STYLES FOR THE BEAUTIFUL SLIDE-OUT MENU <=== */
    /* Find and replace the old .nav-links rule inside your @media query */
    /* Find and replace the old .nav-links rule inside your @media query */
    /* Find and replace the old .nav-links rule inside your @media query */
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        /* Start fully off-screen */
        width: 80%;
        max-width: 350px;


        /* The Glassy Panel Background */
        padding: 10px;
        backdrop-filter: blur(3px);
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.3);
        border-left: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 20px;


        display: flex;
        flex-direction: column;

        /* Align items to the top and add padding */
        justify-content: flex-start;
        padding-top: 120px;
        /* Space from the top of the screen */

        align-items: center;
        gap: 8px;
        /* Space between links */

        transition: right 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
        z-index: 10000;

        height: 600px;
        max-height: 520px;
        max-width: 320px;
    }

    .nav-links.active {
        right: 0;
        /* Slide into view */
    }

    .nav-links li {
        margin: 0;
        width: 100%;
        text-align: center;
    }

    .nav-links a {
        display: block;
        padding: 10px 20px;
        width: 80%;
        margin: 0 auto;
        font-size: 1.1rem;
        font-weight: 600;
        color: rgb(255, 255, 255);
        transition: all 0.3s ease;
        background: rgba(0, 0, 0, 0.5);
        border: 1px solid rgba(128, 128, 128, 0.7);
        backdrop-filter: blur(0px);
        transition: all 0.3s ease;
        letter-spacing: 1px;
        border-radius: 12px;
        font-family: "Manrope", sans-serif;
        font-size: 1.2rem;
        backdrop-filter: blur(5px);
        font-family: "Playpen Sans Arabic", cursive;
    }

    /* Find and replace the old .nav-links a:hover rule */
    .nav-links a:hover {
        transform: scale(1.05);
        box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.05),
            0 0 30px rgba(202, 248, 237, 0.15);
    }

    /* Staggered animation for menu items (optional but cool) */
    .nav-links.active li {
        animation: slide-in 0.5s forwards cubic-bezier(0.2, 0.8, 0.2, 1);
        opacity: 0;
    }

    @keyframes slide-in {
        to {
            opacity: 1;
            transform: translateX(0);
        }
    }

    .nav-links.active li:nth-child(1) {
        animation-delay: 0.1s;
    }

    .nav-links.active li:nth-child(2) {
        animation-delay: 0.2s;
    }

    .nav-links.active li:nth-child(3) {
        animation-delay: 0.3s;
    }

    .nav-links.active li:nth-child(4) {
        animation-delay: 0.4s;
    }

    .nav-links.active li:nth-child(5) {
        animation-delay: 0.5s;
    }


    /* Modal full height within screen */
    #ai-modal,
    #schedule-modal {
        /* Both modals need these adjustments */
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 10px;
        box-sizing: border-box;
        overflow-y: auto;
        /* Enable vertical scrolling for the modal overlay itself if needed */
    }

    .modal-content {
        width: 100%;
        max-width: 95vw;
        height: auto;
        /* Allow content to dictate height */
        max-height: 90vh;
        /* Max height to prevent overflow on very small screens */
        background: #ffffff10;
        border-radius: 16px;
        padding: 16px;
        box-sizing: border-box;
        overflow-y: hidden;
        /* Enable vertical scrolling for modal content */
    }

    .schedule-modal-inner {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: stretch;
        gap: 16px;
        max-width: 100%;
        box-sizing: border-box;
        max-height: 80vh;
    }

    .results-content {
        font-size: clamp(0.75rem, 2vw, 0.9rem);
        line-height: 1.4;
        word-wrap: break-word;
        overflow: hidden;
        max-width: 100%;
    }

    .results-content h3 {
        font-size: 1.3rem;
        margin-bottom: 12px;
        text-align: center;
    }

    .result-row {
        display: flex;
        flex-direction: column;
        margin-bottom: 12px;
    }

    .result-row strong {
        font-weight: 600;
        margin-bottom: 4px;
        font-size: 0.9rem;
    }

    .result-row span,
    .result-row ul {
        font-size: inherit;
        line-height: 1.4;
        padding-left: 0;
        margin: 0;
    }

    .result-row ul {
        list-style: disc inside;
    }

    #modal-back-btn,
    .schedule-back-btn {
        /* Apply to both back buttons */
        font-size: 24px;
        align-self: flex-end;
        background: none;
        border: none;
        color: white;
        cursor: pointer;
    }

    .schedule-modal-inner h3 {
        font-size: 1.4rem;
        /* Adjusted for smaller screens */
        margin-bottom: 8px;
    }

    .schedule-modal-inner p {
        font-size: 0.9rem;
        /* Adjusted for smaller screens */
        margin-bottom: 15px;
    }

    .schedule-modal-inner label,
    .custom-select-trigger {
        font-size: 0.85rem;
        /* Adjusted for smaller screens */
    }

    .schedule-modal-inner input,
    .custom-select-trigger,
    .custom-option {
        padding: 10px;
        /* Slightly less padding for smaller screens */
        font-size: 0.9rem;
    }

    #schedule-form button[type="submit"] {
        font-size: 1rem;
        /* Adjusted for smaller screens */
        padding: 10px 25px;
        /* Adjusted padding */
    }

    /* Additional Mobile Specific Styles */
    section {
        padding: 60px 0;
        /* Adjust section padding for mobile */
    }

    #hero{
        margin-top: 0px;
    }

    /* Hero Section */
    #hero .hero-title {
        font-size: 33px;
        word-wrap: break-word;
        margin-top: 0;
        letter-spacing: 0.1rem;

    }

    #hero dotlottie-player{
        margin-bottom: 0px;
        margin-top: 0px;
    }


    #hero .subtitle {
        font-size: clamp(0.9rem, 3.5vw, 1.2rem);
        /* Tighter clamp for mobile */
    }

    .btn-animated{
        margin-top: 2px;
        padding: 10px;
        margin-bottom: 25px;
    }
    .btn-animated span{
        padding: 5px 10px;
        width: 200px;
    }

    /* Services Section */
    .service-card {
        padding: 1.5rem;
        /* Slightly less padding */
    }

    .service-card-content h3 {
        font-size: 1.7rem;
        /* Smaller heading for mobile */
    }

    .service-card-content p {
        font-size: 1.1rem;
        /* Smaller paragraph text for mobile */
    }

    /* Our Work Section */
    .d-para {
        font-size: 1.2rem;
        /* Smaller for mobile */
    }

    .demo-card {
        flex: 0 0 280px;
        /* Make cards slightly smaller for mobile horizontal scroll */
        padding: 15px;
    }

    .demo-card h3 {
        font-size: 1.6rem;
    }

    .demo-card p {
        font-size: 1.1rem;
    }

    .demo-btn {
        font-size: 1.1rem;
        padding: 10px 20px;
    }

    /* AI Startup Suggester */
    .ai-ideator-inner {
        padding: 40px 20px;
        /* Adjusted padding */
    }

    .ai-input-area h3 {
        font-size: 1.5rem;
    }

    #ai-suggester .ai-input-area label {
        font-size: 1rem;
    }

    #ai-suggester #generate-btn {
        font-size: 1.2rem;
        padding: 12px 30px;
    }

    /* Learning Lounge */
    .glass-section {
        padding: 30px 15px;
        margin-left: 10px;
        margin-right: 10px;
    }


    .f-glass-section{
        margin-left: 10px;
        margin-right: 10px;
    }

    .g-para {
        font-size: 1.3rem;
        /* Smaller for mobile */
        letter-spacing: 0.2rem;
    }

    .card h3 {
        font-size: 1.8rem;
    }

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

    /* Fortune Cards */
    .f-glass-section {
        padding: 30px 15px;
    }

    .f-para {
        font-size: 1.3rem;
        /* Smaller for mobile */
        letter-spacing: 0.2rem;
    }

    .fortune-card {
        font-size: 1.2rem;
        padding: 15px;
    }

    /* About Section */
    .about-text-content {
        padding: 30px 20px;
        /* Adjusted padding */
    }

    .about-subtitle {
        font-size: 2rem;
    }

    .about-text-content p,
    .about-quote {
        font-size: 0.95rem;
    }

    .feature-box-inner {
        padding: 20px;
    }

    .feature-text h4 {
        font-size: 1.3rem;
    }

    .feature-text p {
        font-size: 0.9rem;
    }

    /* Philosophy Section */
    .philosophy-header .fa-quote-left {
        font-size: 3.5rem;
    }

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

    .main-quote {
        font-size: 1.3rem;
    }

    .sub-quote {
        font-size: 1.1rem;
    }

    .philosophy-footer-text {
        font-size: 1.5rem;
    }

    /* Founders Section */
    .founder-flip-card {
        width: 250px;
        /* Slightly smaller card for mobile */
        height: 350px;
    }

    .flip-card-front img {
        width: 180px;
        height: 220px;
    }

    .flip-card-front h3 {
        font-size: 1.5rem;
    }

    .flip-card-front h4 {
        font-size: 0.9rem;
    }

    .flip-card-back p {
        font-size: 0.95rem;
    }

    .founder-footer {
        font-size: 1.8rem;
        margin-top: 30px;
    }

    .founder-socials {
        font-size: 1.1rem;
    }

    /* Contact Section */
    .contact-info h3 {
        font-size: 2rem;
    }

    .contact-info p {
        font-size: 1.2rem;
    }

    .contact-info ul li {
        font-size: 1.1rem;
    }

    .form-group label {
        font-size: 1rem;
    }

    .btn-contact {
        font-size: 1.2rem;
        padding: 12px 25px;
    }

    .wt-button-group .btn {
        font-size: 0.95rem;
        /* Smaller buttons for mobile */
        padding: 10px 20px;
    }

    .contact-wrapper-inner {
        padding: 20px;
        /* Reduced padding for smaller screens */
    }
}

/* ==== SHOWCASE FILTERING SECTION STYLES ==== */
.showcase-filters {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin: 30px 0;
    flex-wrap: wrap;
}

.filter-tab {
    background: rgba(25, 231, 214, 0.1);
    border: 2px solid rgba(25, 231, 214, 0.3);
    color: #19e7d6;
    padding: 12px 25px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    min-width: 120px;
}

.filter-tab:hover {
    background: rgba(25, 231, 214, 0.2);
    border-color: rgba(25, 231, 214, 0.6);
    transform: translateY(-2px);
}

.filter-tab.active {
    background: linear-gradient(135deg, #19e7d6, #00a495);
    border-color: #19e7d6;
    color: #0d0d17;
    font-weight: 700;
}

.filter-tab:focus {
    outline: 2px solid #19e7d6;
    outline-offset: 2px;
}

/* Showcase Grid Layout */
.showcase-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    padding: 20px 0;
}

.showcase-card {
    opacity: 1;
    transform: scale(1);
    transition: all 0.4s ease;
    height: auto;
    min-height: 450px; /* Consistent minimum height for all showcase cards */
    display: flex;
    flex-direction: column;
}

.showcase-card.hidden {
    opacity: 0;
    transform: scale(0.8);
    pointer-events: none;
    height: 0;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

/* Client Project Enhancements */
.client-project {
    position: relative;
    border: 2px solid rgba(255, 215, 0, 0.3);
    background: rgba(255, 215, 0, 0.05);
}

/* Client project title alignment fix */
.client-project h3 {
    font-size: 1.9rem; /* Same as demo card */
    margin-bottom: 10px; /* Same as demo card */
    color: #ffd700 !important; /* Golden color for client project titles */
    font-family: "Manrope", sans-serif; /* Same font family as demo card */
    font-weight: 600; /* Reduced from 700 to match demo style */
    text-align: center;
    margin-top: 0; /* Remove extra margin */
    padding-top: 0; /* Remove extra padding */
}

/* Client project description alignment */
.client-project p {
    font-size: 1.3rem; /* Same as demo card */
    text-align: center;
    margin-bottom: 15px; /* Same as demo card */
    color: #bfb5b5 !important; /* Same color as demo card */
    font-family: "Manrope", sans-serif; /* Same font family as demo card */
    flex-grow: 1; /* Same flex behavior as demo card */
    display: flex;
    align-items: center; /* Same alignment as demo card */
    padding: 0; /* Remove extra padding */
}

.client-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, #ffd700, #ff8c00);
    color: #0d0d17;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    z-index: 3; /* Higher z-index to stay above everything */
    box-shadow: 0 2px 8px rgba(255, 215, 0, 0.3);
}

.client-logo {
    position: absolute;
    top: 15px;
    left: 15px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid rgba(255, 215, 0, 0.5);
    z-index: 3; /* Higher z-index to stay above everything */
}

.client-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Client project image spacing */
.client-project img:not(.client-logo img) {
    margin-top: 10px; /* Add top margin to avoid logo overlap */
    margin-bottom: 20px; /* More space before title */
}

.client-btn {
    background: linear-gradient(135deg, #ffd700, #ff8c00);
    color: #0d0d17;
    border: none;
    /* Ensure button stays at bottom for client cards too */
    margin-top: auto;
    align-self: center;
}

.client-btn:hover {
    background: linear-gradient(135deg, #ff8c00, #ffd700);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.4);
}

/* Mobile Responsive for Showcase */
@media (max-width: 768px) {
    .showcase-filters {
        gap: 10px;
    }
    
    .filter-tab {
        padding: 10px 20px;
        font-size: 0.9rem;
        min-width: 100px;
    }
    
    .showcase-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .client-badge {
        top: 10px;
        right: 10px;
        padding: 4px 10px;
        font-size: 0.7rem;
    }
    
    .client-logo {
        top: 10px;
        left: 10px;
        width: 35px;
        height: 35px;
    }
}

@media (max-width: 480px) {
    .filter-tab {
        padding: 8px 15px;
        font-size: 0.85rem;
        min-width: 90px;
    }
}