
/*DO NOT DELETE ANY COMMENT IN THE PROGRAMAS, THEY ARE TO BE USED IN THEME TOGGLING*/

    html {
        scroll-behavior: smooth;
    }

    .programas-dark-theme {
    --accent: var(--accent-dark);
    --accent-transparent: var(--accent-dark-transparent);
    --bg-gradient: var(--gradient-dark);
    --text-primary: var(--text-dark);
    --text-secondary: rgba(255, 255, 255, 0.7);
    --card-bg: var(--card-bg-dark);
    --card-shadow: var(--card-shadow-dark);
    }

    .programas-light-theme {
    --accent: var(--accent-light);
    --accent-transparent: var(--accent-light-transparent);
    --bg-gradient: var(--gradient-light);
    --text-primary: var(--text-light);
    --text-secondary: rgba(44, 62, 80, 0.7);
    --card-bg: var(--card-bg-light);
    --card-shadow: var(--card-shadow-light);
    }




    #programs-projectunite {
    min-height: 100vh;
    overflow-x: hidden;
    background: var(--bg-gradient);
    color: var(--text-primary);
    line-height: 1.6;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins';
    transition: background-color 0.5s, color 0.5s;
    --gradient-light: linear-gradient(135deg, #f6f7f9, #ffffff);
    --gradient-dark: linear-gradient(135deg, #0f1114, #1a1e24);
    --accent-light: #FFD700; /* Changed to yellow */
    --accent-light-transparent: rgba(255, 215, 0, 0.2); /* Pale yellow */
    --accent-dark: #FFC300; /* Darker yellow */
    --accent-dark-transparent: rgba(255, 195, 0, 0.2);
    --text-light: #2c3e50;
    --text-dark: #e9f0ff;
    --card-bg-light: rgba(255, 255, 255, 0.8);
    --card-bg-dark: rgba(23, 28, 36, 0.8);
    --card-shadow-light: 0 20px 80px rgba(0, 0, 0, 0.1);
    --card-shadow-dark: 0 20px 80px rgba(0, 0, 0, 0.5);
    /* --font-primary: 'Segoe UI', system-ui, sans-serif;
    --font-secondary: 'Georgia', serif; */
    --card-radius: 24px;
    --button-radius: 50px;

    }


    #programas-canvas-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    }



    .programas-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
    position: relative;
    z-index: 1;
    }

    header {
    text-align: center;
    padding: 6rem 0 4rem;
    perspective: 1000px;
    }

    #programas-main-title {
    font-size: clamp(2.5rem, 7vw, 4.5rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
    background: linear-gradient(to right, var(--accent), var(--text-primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transform-style: preserve-3d;
    position: relative;
    } 


    .programas-tagline {
    font-size: clamp(1rem, 3vw, 1.5rem);
    color: var(--text-secondary);
    max-width: 800px;
    margin: 0 auto;
    font-weight: 300;
    }

    .programas-programs {
    display: grid;
    gap: 6rem;
    padding: 2rem 0 6rem;
    }

    .programas-program-card {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: var(--card-radius);
    padding: 3rem;
    box-shadow: var(--card-shadow);
    transition: transform 0.5s cubic-bezier(0.19, 1, 0.22, 1), box-shadow 0.5s;
    position: relative;
    overflow: hidden;
    }

    .programas-program-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 100px rgba(0, 0, 0, 0.2);
    }

    .programas-program-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s cubic-bezier(0.19, 1, 0.22, 1);
    }

    .programas-program-card:hover::before {
    transform: scaleX(1);
    }

    .programas-program-title {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    }

    .programas-program-philosophy {
    font-style: italic;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    padding-left: 1rem;
    border-left: 4px solid var(--accent);
    font-family: var(--font-secondary);
    font-size: 1.1rem;
    }

    .programas-program-description {
    margin-bottom: 2rem;
    font-size: 1.1rem;
    color: var(--text-secondary);
    position: relative;
    z-index: 2;
    }

    .programas-slideshow-container {
    width: 100%;
    height: 350px;
    position: relative;
    margin: 2rem 0;
    perspective: 1000px;
    transform-style: preserve-3d;
    }

    .programas-slideshow-track {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    transform-style: preserve-3d;
    }

    .programas-slide {
    position: absolute;
    width: 30%;
    height: 80%;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
    transform-style: preserve-3d;
    cursor: pointer;
    }

    .programas-slide.left {
    transform: translateX(-60%) scale(0.8) translateZ(-100px);
    filter: brightness(0.7);
    z-index: 1;
    }

    .programas-slide.center {
    transform: translateX(0) scale(1) translateZ(0);
    z-index: 3;
    }

    .programas-slide.right {
    transform: translateX(60%) scale(0.8) translateZ(-100px);
    filter: brightness(0.7);
    z-index: 1;
    }

    .programas-slide img, .programas-slide video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
    }

    .programas-slide-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 15px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    opacity: 0;
    transform: translateY(100%);
    transition: all 0.3s ease;
    }

    .programas-slide:hover .programas-slide-caption {
    opacity: 1;
    transform: translateY(0);
    }

    .programas-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease;
    }

    .programas-modal.active {
    opacity: 1;
    pointer-events: all;
    }

    .programas-modal-content {
    position: relative;
    width: 80%;
    max-width: 1000px;
    max-height: 80vh;
    background: var(--card-bg);
    padding: 2rem;
    overflow: auto;
    box-shadow: 0 30px 100px rgba(0, 0, 0, 0.3);
    transform: scale(0.8);
    border-radius: var(--card-radius);
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
    }

    .programas-modal.active .programas-modal-content {
    transform: scale(1);
    opacity: 1;
    }

    .programas-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--accent);
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    border: none;
    font-size: 1.5rem;
    transition: background 0.3s, transform 0.3s;
    }

    .programas-modal-close:hover {
    background: var(--text-primary);
    transform: rotate(90deg);
    }

    .programas-modal-title {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
    }

    .programas-modal-description {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: var(--accent-transparent);
    border-radius: 12px;
    border-left: 4px solid var(--accent);

    }
    .programas-modal-text {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-secondary);
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    white-space: pre-wrap;
    }

    .programas-modal-text strong {
    color: var(--accent);
    font-weight: 600;
    }

    .programas-modal-media {
    width: 100%;
    border-radius: var(--card-radius);
    overflow: hidden;
    margin-bottom: 2rem;
    }

    .programas-modal-media img, .programas-modal-media video {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    }

    .programas-impact-section {
    margin: 2rem 0;
    }

    .programas-stats {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 2rem;
    margin: 2rem 0;
    }

    .programas-stat {
    flex: 1;
    min-width: 150px;
    text-align: center;
    padding: 1.5rem;
    /* background: var(--accent-transparent); */
    border-radius: 16px;
    position: relative;
    overflow: hidden;
    transform: translateY(50px);
    opacity: 1;
    transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
    }

    .programas-stat.active {
    transform: translateY(0);
    opacity: 1;
    }

    .programas-stat::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* background: linear-gradient(135deg, var(--accent-transparent), transparent); */
    z-index: -1;
    }

    .programas-stat-number {
    font-size: 3rem;
    font-weight: bold;
    color: var(--accent);
    margin-bottom: 0.5rem;
    line-height: 1;
    }

    .programas-stat-label {
    color: var(--text-secondary);
    font-size: 1rem;
    }

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

    .programas-feature {
    background: var(--accent-transparent);
    padding: 1.5rem;
    border-radius: 16px;
    color: var(--text-primary);
    transform: translateY(30px);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.19, 1, 0.22, 1);
    }

    .programas-feature.active {
    transform: translateY(0);
    opacity: 1;
    }

    .programas-feature h3 {
    margin-bottom: 1rem;
    font-size: 1.2rem;
    position: relative;
    padding-left: 30px;
    }

    .programas-feature h3::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    background: var(--accent);
    border-radius: 50%;
    }

    .programas-cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: linear-gradient(45deg, var(--accent), var(--accent));
    color: white;
    text-decoration: none;
    border-radius: var(--button-radius);
    font-weight: 600;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s;
    position: relative;
    overflow: hidden;
    z-index: 1;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    }

    .programas-cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, var(--text-primary), var(--accent));
    opacity: 0;
    transition: opacity 0.3s;
    z-index: -1;
    }

    .programas-cta-button:hover::before {
    opacity: 1;
    }

    .programas-cta-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    }

    .programas-connector {
    width: 2px;
    height: 100px;
    background: linear-gradient(to bottom, var(--accent), transparent);
    margin: 0 auto;
    opacity: 0;
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 1s cubic-bezier(0.19, 1, 0.22, 1), opacity 1s;
    }

    .programas-connector.active {
    opacity: 1;
    transform: scaleY(1);
    }

    .programas-section-title {
    font-size: clamp(1.5rem, 3vw, 2rem);
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    }

    @media (max-width: 1024px) {
    .programas-slideshow-container {
        height: 300px;
    }
    
    .programas-slide {
        width: 40%;
    }
    
    .programas-slide.left {
        transform: translateX(-50%) scale(0.8) translateZ(-50px);
    }
    
    .programas-slide.right {
        transform: translateX(50%) scale(0.8) translateZ(-50px);
    }
    }

    @media (max-width: 768px) {
    .programas-container {
        padding: 1rem;
    }
    
    .programas-program-card {
        padding: 2rem;
    }
    
    .programas-slideshow-container {
        height: 600px;
    }
    
    .programas-slideshow-track {
    flex-direction: column; /* Change to vertical layout */
    transform-style: preserve-3d;
    overflow-y: hidden;
    position: relative;
    height: 100%;
    width: 100%;
    }

    .programas-slide {
    position: absolute;
    width: 85%;
    height: 40%; /* Smaller height for each slide */
    margin: 0 auto;
    left: 0;
    right: 0;
    transition: all 0.8s cubic-bezier(0.19, 1, 0.22, 1);
    }

    /* Positioning for vertical layout */
    .programas-slide.top {
    transform: translateY(-60%) scale(0.8) translateZ(-100px);
    filter: brightness(0.7);
    z-index: 1;
    }
    .programas-slide.center {
    transform: translateY(0) scale(1) translateZ(0);
    top: 35%; /* Center the middle slide */
    z-index: 3;
    }

    .programas-slide.bottom {
    transform: translateY(60%) scale(0.8) translateZ(-100px);
    filter: brightness(0.7);
    z-index: 1;
    }

    .programas-program-features {
    grid-template-columns: 1fr;
    }
    
    .programas-stats {
        flex-direction: column;
    }
    }

    @media (max-width: 480px) {
    header {
        padding: 4rem 0 2rem;
    }
    
    .programas-program-card {
        padding: 1.5rem;
    }
    
    .programas-slideshow-container {
        height: 550px;
    }
    
    .programas-slide {
        width: 90%;
        height: 35%;
    }
    }

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

    @keyframes pulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
    }

    @keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
    }



    :root {
        --primary: #fef3c7;
        --secondary: #eed688;
        --text-dark: #1f2937;
        --text-light: #4b5563;
    }        
    * {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
    }
    
    body {
        font-family: system-ui, -apple-system, sans-serif;
        
        line-height: 1.6;
        color: var(--text-dark);
        overflow-x: hidden;
        align-items: center;
    }

    /* Hero Section */
    .hero {
        background: linear-gradient(to bottom, var(--primary), #fff);
        min-height: 100vh;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        position: relative;
    }

    .hero-content {
        max-width: 800px;
        padding: 0 20px;
    }

    .hero h1 {
        font-size: 3.5rem;
        margin-bottom: 1.5rem;
        animation: fadeInUp 1s ease-out;
    }

    .hero p {
        font-size: 1.25rem;
        color: var(--text-light);
        margin-bottom: 2rem;
        animation: fadeInUp 1s ease-out 0.3s backwards;
    }

    .cta-button {
        display: inline-block;
        padding: 1rem 2rem;
        background: var(--secondary);
        color: white;
        text-decoration: none;
        border-radius: 9999px;
        font-weight: 600;
        transition: transform 0.3s ease;
        animation: fadeInUp 1s ease-out 0.6s backwards;
    }

    .cta-button:hover {
        transform: translateY(-3px);
        transform: scale(1.1);
        box-shadow: 0 8px 12px rgba(74, 74, 74, 0.622);
    
    }



    .vision-section, 
    .about-section {
        opacity: 1;
        transform: translateY(50px);
        transition: all 0.8s ease-out;
        max-width: 1400px;
        margin: 0 auto;
    }


    
    .vision-section.active,
    .about-section.active {
        opacity: 1;
        transform: translateY(0);
    }
    .section-title {
        font-size: 2.5rem;
        margin-bottom: 2rem;
        text-align: center;
    }
            /* Cards */
            .card {
        background: rgb(252, 249, 196);
        border-radius: 1rem;
        padding: 2rem;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        margin-bottom: 2rem;
        transition: transform 0.3s ease;
    }

    .card:hover {
        transform: translateY(-5px);
    }

    /* Read More functionality */
    .expandable-content {
        position: relative;
        max-height: 150px;
        overflow: hidden;
        transition: max-height 0.5s ease;
    }

    .expandable-content.expanded {
        max-height: 2000px;
    }

    .expandable-content::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        height: 50px;
        background: linear-gradient(transparent, rgb(254, 250, 198));
        pointer-events: none;
        transition: opacity 0.3s ease;
    }

    .expandable-content.expanded::after {
        opacity: 0;
    }

    .read-more-btn {
        display: inline-block;
        padding: 0.5rem 1rem;
        background: var(--secondary);
        color: white;
        border: none;
        border-radius: 0.5rem;
        cursor: pointer;
        margin-top: 1rem;
        transition: transform 0.3s ease;
    }

    .read-more-btn:hover {
        transform: translateY(-2px);
    }

    .content-wrapper {
        max-height: 300px;
        overflow: hidden;
        transition: max-height 0.5s ease;
    }

    .content-wrapper.expanded {
        max-height: 1000px;
    }

    .read-more {
        display: inline-flex;
        align-items: center;
        color: var(--secondary);
        cursor: pointer;
        margin-top: 1rem;
        font-weight: 600;
    }

    .read-more:hover {
        text-decoration: underline;
    }
    .read-more-btn:hover {
        transform: translateY(-2px);
    }

    .social-icon {
        width: 24px;
        height: 24px;
        color: var(--text-light);
        transition: color 0.3s ease;
    }

    .social-icon:hover {
        color: var(--text-dark);
    }
    



    /*The lists*/
    .li-container {

        max-width: 600px;
        margin: 0 auto;
        min-height: 200vh; /* Make page scrollable */
    }

    h1 {
        text-align: center;
        color: #333;
        margin-bottom: 40px;
    }

    .ululu {
        list-style: none;
        padding: 0;
        text-align: center;
    }

    .ululu li {
        background: rgb(255, 249, 225);
        margin: 30px 0;
        padding: 20px;
        border-radius: 8px;
        box-shadow: 0 2px 5px rgba(0,0,0,0.1);
        opacity: 0;
        transform: translateY(20px);
        transition: all 0.5s ease;
    }

    .ululu li.visible {
        opacity: 1;
        transform: translateY(0);
    }

    .ululu li.hidden {
        opacity: 0;
        transform: translateY(-20px);
    }

    .ululu li:hover {
        transform: scale(1.05);
        background-color: #e6f3ff;
        box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    }

    /* Extra items for scrolling */
    .spacer {
        height: 50vh;
    }

    /* Promise Section */
    .promise {
        background-color: #d3d7db;

        padding: 30px;
        text-align: center;
        border-radius: 20px;
        /* margin: 30px 0; */
        max-width: 1400px;
        margin: 0 auto;
    }

    .promise blockquote {
        font-style: italic;
        margin-top: 15px;
    }

    /* Expandabo Cards */
    .expandabo-section {
        margin-bottom: 20px;
    }

    .expandabo-card {
        background-color: var(--background-transparent);
        border-radius: 10px;
        overflow: hidden;
        transition: all 1.5s ease;

        margin-bottom: 15px;
        max-width: 1400px;
        margin: 0 auto;
    }
    .card-header {
display: flex;
justify-content: space-between;
align-items: center;
padding: 15px;
cursor: pointer;
background-color: #fef3c7;;

font-weight: bold;


}
    .card-content {
        max-height: 0;
        overflow: hidden;
        transition: max-height 1.5s ease, padding 0.3s ease;
        padding: 0 15px;
        }

        .card-content.active {
            max-height: 1000px;
            padding: 15px;
        }

        .card-content ul {
            padding-left: 30px;
            margin-bottom: 15px;
        }

        .card-content h3, 
        .card-content h4 {
            margin: 15px 0 10px;
            color: #2C3E50;
        }

    /* Mobile Specific Styles */
    @media (max-width: 768px) {
        body {
            padding: 10px;
        }

        .container {
            padding: 0 10px;
        }

        /* li {
            margin: 15px 0;
            touch-action: manipulation;
        } */

        /* Enhance touch target size */
        li:active {
            transform: scale(1.02);
            background-color: #e6f3ff;
            box-shadow: 0 2px 4px rgba(0,0,0,0.15);
        }

        /* Disable hover effects on touch devices */
        @media (hover: none) {
            li:hover {
                transform: none;
                background-color: white;
                box-shadow: 0 2px 5px rgba(0,0,0,0.1);
            }
        }
    }

    /* Small devices (phones) */
    @media (max-width: 480px) {
        .spacer {
            height: 20vh;
        }

        h1 {
            margin-bottom: 20px;
        }

        li {
            margin: 12px 0;
            padding: 15px;
        }
    }

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

    @media (max-width: 768px) {
        .hero h1 {
            font-size: 2.5rem;
        }
        .our-creative-team-section{
            font-size: 0.5rem;
        }
    }



/* Rest of the existing styles remain unchanged */

       :root {
        --primary: #fef3c7;
        --secondary: #eed688;
        --text-dark: #1f2937;
        --text-light: #4b5563;
    }        
    * {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
    }
    
    body {
        font-family: system-ui, -apple-system, sans-serif;
        
        line-height: 1.6;
        color: var(--text-dark);
        overflow-x: hidden;
        align-items: center;
    } 


            /* Team Section */
            .team-section {
        background: var(--primary);
        padding: 5rem 0;
        max-width: 1400px;
        margin: 0 auto;
        border-radius: 12px;
    }





.hero-team {
height: 100vh;
display: flex;
align-items: center;
justify-content: center;
text-align: center;
padding: 2rem;
opacity: 0;
transform: translateY(50px);
transition: all 1s ease;
}

.hero-team.visible {
opacity: 1;
transform: translateY(0);
}

.hero-team h1 {
font-size: 4rem;
margin-bottom: 1rem;
color: #2c2c2c;
}

.team-mini-section {

padding: 4rem 2rem;
max-width: 1200px;
margin: 0 auto;
}

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

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

.team-member {
position: relative;
opacity: 0;
transform: translateY(30px);
transition: all 0.8s ease;
text-align: center;
cursor: pointer;
padding: 1rem;
}

.team-member.visible {
opacity: 1;
transform: translateY(0);
}

.member-container {
transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
position: relative;
will-change: transform;
}

.team-member:hover .member-container {
transform: scale(1.1);
}

.member-image {
width: 200px;
height: 200px;
border-radius: 50%;
margin: 0 auto;
position: relative;
overflow: hidden;
background: #fff;
box-shadow: 0 4px 15px rgba(0,0,0,0.1);
transition: all 0.5s ease;
}

.team-member:hover .member-image {
box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

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

.team-member:hover .member-image img {
transform: scale(1.15);
}

.member-outline {
position: absolute;
top: -5px;
left: -5px;
right: -5px;
bottom: -5px;
border-radius: 50%;
border: 2px solid #ffd700;
opacity: 0;
transition: all 0.5s ease;
}


/* New styles for the popup card */
.profile-popup {
position: fixed;
top: 50%;
left: 50%;
transform: translate(-50%, -50%) scale(0.7);
background: linear-gradient(135deg, var(--primary), #fff);

padding: 2rem;
border-radius: 20px;
box-shadow: 0 10px 40px rgba(0,0,0,0.2);
z-index: 1000;
width: 90%;
max-width: 600px;
max-height: 80vh;
overflow-y: auto;
opacity: 0;
visibility: hidden;
transition: all 0.3s ease;
}

.profile-popup.active {
opacity: 1;
visibility: visible;
transform: translate(-50%, -50%) scale(1);
animation: shake 0.5s ease-in-out;
}

@keyframes shake {
0%, 100% { transform: translate(-50%, -50%) scale(1); }
25% { transform: translate(-52%, -50%) scale(1.02); }
50% { transform: translate(-50%, -48%) scale(0.98); }
75% { transform: translate(-48%, -50%) scale(1.02); }
}

.popup-overlay {
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: rgba(0,0,0,0.7);
opacity: 0;
visibility: hidden;
transition: all 0.3s ease;
z-index: 999;
}

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

.popup-close {
position: absolute;
top: 1rem;
right: 1rem;
background: none;
border: none;
font-size: 1.5rem;
cursor: pointer;
color: #666;
transition: color 0.3s ease;
}

.popup-close:hover {
color: #000;
}

.popup-content {
display: flex;
flex-direction: column;
gap: 1.5rem;
}

.popup-header {
display: flex;
align-items: center;
gap: 2rem;
}

.popup-image {
width: 120px;
height: 120px;
border-radius: 50%;
overflow: hidden;
}

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

.popup-title h2 {
color: #2c2c2c;
margin-bottom: 0.5rem;
}

.popup-title p {
color: #666;
font-size: 1.1rem;
}

.popup-details {
display: grid;
gap: 1rem;
}

.detail-section {
background: #f8f8f8;
padding: 1rem;
border-radius: 10px;
}

.detail-section h3 {
color: #2c2c2c;
margin-bottom: 0.5rem;
font-size: 1.1rem;
}

.detail-section p {
color: #666;
line-height: 1.6;
}

@media (max-width: 768px) {
.popup-header {
    flex-direction: column;
    text-align: center;
}

.profile-popup {
    width: 95%;
    padding: 1.5rem;
}
.team-grid {
            grid-template-columns: 1fr;
        }

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


    .team-container {
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 20px;
        
    }

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

    .team-member {
        background: white;
        padding: 2rem;
        border-radius: 1rem;
        text-align: center;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        transition: transform 0.3s ease;
    }

    .team-member:hover {
        transform: translateY(-5px);
    }

    .member-image {
        width: 150px;
        height: 150px;
        border-radius: 50%;
        margin: 0 auto 1rem;
        object-fit: cover;
    }
    @keyframes fadeInUp {
        from {
            opacity: 0;
            transform: translateY(20px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    @media (max-width: 768px) {
        .hero h1 {
            font-size: 2.5rem;
        }
        .our-creative-team-section{
            font-size: 0.5rem;
        }
    }

    /* manolo adds new hover timer indicator styles */
        .hover-timer {
        position: absolute;
        bottom: 0;
        left: 0;
        width: 0;
        height: 3px;
        background: #fef3c7;
        transition: width 3s linear;
        z-index: 2;
    }

    .team-member:hover .hover-timer {
        width: 100%;
    }

    /* Reset timer on hover out */
    .team-member:not(:hover) .hover-timer {
        width: 0;
        transition: width 0.3s linear;
    }

    /* Manolo adds visual feedback for hover state */
    .member-container::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
      
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    .team-member:hover .member-container::after {
        opacity: 1;
    }




    /*header and fyuuuuta*/
 



    /* ka Overlay styles */
    .hedaoverlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: rgba(0, 0, 0, 0.5);
        backdrop-filter: blur(4px);
        z-index: 999;
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    .hedaoverlay.hedaactive {
        display: block;
        opacity: 1;
    }

    :root {
        --primary-gradient: linear-gradient(135deg, #fcf4ad 0%, #fff3bf 100%);
        --hover-color: #3498db;
        --text-primary: #2d3436;
        --animation-timing: 0.3s;
    }

    footer {
        background: var(--primary-gradient);
        padding: 4rem 2rem 2rem;
        position: relative;
        overflow: hidden;
    }

    footer::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 4px;
        background-size: 200% 100%;
        animation: gradientSlide 3s linear infinite;
    }

    .footer-content {
        max-width: 1400px;
        margin: 0 auto;
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 2rem;
        position: relative;
    }

    .footer-section {
        background: rgba(255, 255, 255, 0.2);
        backdrop-filter: blur(10px);
        border-radius: 20px;
        padding: 2rem;
        box-shadow: 0 8px 32px rgba(31, 38, 135, 0.1);
        border: 1px solid rgba(255, 255, 255, 0.3);
        transition: all var(--animation-timing) cubic-bezier(0.4, 0, 0.2, 1);
    }

    .footer-section:hover {
        transform: translateY(-10px);
        box-shadow: 0 15px 45px rgba(31, 38, 135, 0.15);
        background: rgba(255, 255, 255, 0.25);
    }

    .footer-section h3 {
        color: var(--text-primary);
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
        position: relative;
        padding-bottom: 0.5rem;
    }

    .footer-section h3::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 40px;
        height: 3px;
        background: var(--hover-color);
        transition: width var(--animation-timing) ease;
    }

    .footer-section:hover h3::after {
        width: 100%;
    }

    .footer-section ul {
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .footer-section li {
        margin: 1rem 0;
        transition: all var(--animation-timing) ease;
        position: relative;
    }

    .footer-section a {
        color: var(--text-primary);
        text-decoration: none;
        transition: all var(--animation-timing) ease;
        display: inline-flex;
        align-items: center;
        position: relative;
        padding: 0.5rem 0;
    }

    .footer-section a::before {
        content: '→';
        opacity: 0;
        margin-right: 0.5rem;
        transform: translateX(-10px);
        transition: all var(--animation-timing) ease;
    }

    .footer-section a:hover::before {
        opacity: 1;
        transform: translateX(0);
        color: var(--hover-color);
    }

    .footer-section a:hover {
        color: var(--hover-color);
        transform: translateX(10px);
    }

    /* .social-links {
        display: flex;
        justify-content: center;
        gap: 1.5rem;
        margin-top: 3rem;
        flex-wrap: wrap;
    }

    .social-links a {
        width: 50px;
        height: 50px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        background: white;
        color: var(--text-primary);
        font-size: 1.5rem;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
        transition: all var(--animation-timing) cubic-bezier(0.68, -0.55, 0.265, 1.55);
        position: relative;
        overflow: hidden;
        text-decoration: none !important;
        border-bottom: none !important;
    }

    .social-links a::before {
        content: '';
        position: absolute;
        width: 100%;
        height: 100%;
        background: linear-gradient(45deg, #3498db, #2ecc71);
        opacity: 0;
        transition: opacity var(--animation-timing) ease;
    }

    .social-links a:hover {
        transform: translateY(-10px) scale(1.2);
        box-shadow: 0 15px 25px rgba(0, 0, 0, 0.15);
    }

    .social-links a i {
        transition: transform var(--animation-timing) ease;
        position: relative;
        z-index: 1;
    }

    .social-links a:hover i {
        transform: scale(1.2);
    }

    .social-links a:hover .fa-facebook { color: #3b5998; }
    .social-links a:hover .fa-twitter { color: #1da1f2; }
    .social-links a:hover .fa-instagram { 
        background: -webkit-linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
    }
    .social-links a:hover .fa-linkedin { color: #0077b5; }
    .social-links a:hover .fa-discord { color: #7289da; }
    .social-links a:hover .fa-whatsapp { color: #25D366; }
    .social-links a:hover .fa-envelope { color: #864842; }
    .social-links a:hover .fa-youtube { color: #ea4335; } */


    @import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600&display=swap');
    
    :root {
        --animation-timing: 0.3s;
        --fb-color: #3b5998;
        --twitter-color: #1da1f2;
        --linkedin-color: #0077b5;
        --discord-color: #7289da;
        --whatsapp-color: #25D366;
        --email-color: #864842;
        --youtube-color: #ea4335;
    }


    .social-links {
        display: flex;
        justify-content: center;
        gap: 1.5rem;
        margin-top: 3rem;
        flex-wrap: wrap;
    }

    .social-links a {
        width: 50px;
        height: 50px;
        border-radius: 50%;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        background: white;
        color: var(--text-primary);
        font-size: 1.5rem;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
        transition: all var(--animation-timing) cubic-bezier(0.68, -0.55, 0.265, 1.55);
        position: relative;
        text-decoration: none !important;
        border-bottom: none !important;
    }

    .social-links a::after {
        content: attr(data-profile);
        position: absolute;
        bottom: -35px;
        font-size: 14px;
        opacity: 0;
        transform: translateY(-10px);
        transition: all var(--animation-timing) ease;
        font-family: 'Poppins', sans-serif;
        white-space: nowrap;
        pointer-events: none;
        font-weight: 600;
        text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
        letter-spacing: 0.5px;
    }

    .social-links a:hover::after {
        opacity: 1;
        transform: translateY(0);
        animation: shimmer 2s infinite;
    }

    @keyframes shimmer {
        0% { filter: brightness(1); }
        50% { filter: brightness(1.2); }
        100% { filter: brightness(1); }
    }

    .social-links a:hover {
        transform: translateY(-10px) scale(1.2);
        box-shadow: 0 15px 25px rgba(0, 0, 0, 0.15);
        z-index: 2;
    }

    .social-links a i {
        transition: transform var(--animation-timing) ease;
        position: relative;
        z-index: 1;
    }

    .social-links a:hover i {
        transform: scale(1.2);
    }

    .social-links.has-hovered a:not(:hover) {
        opacity: 0.5;
        transform: scale(0.95);
        color: #837d4a;
    }


    /* Nolored icons and matching text */
    .social-links a:hover .fa-facebook, 
    .social-links a:hover[data-profile*="facebook"]::after { 
        color: var(--fb-color); 
    }

    .social-links a:hover .fa-twitter,
    .social-links a:hover[data-profile*="twitter"]::after { 
        color: var(--twitter-color); 
    }

    .social-links a:hover .fa-instagram,
    .social-links a:hover[data-profile*="instagram"]::after { 
        background: -webkit-linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        filter: drop-shadow(2px 2px 4px rgba(0,0,0,0.1));
    }

    .social-links a:hover .fa-linkedin,
    .social-links a:hover[data-profile*="linkedin"]::after { 
        color: var(--linkedin-color); 
    }

    .social-links a:hover .fa-discord,
    .social-links a:hover[data-profile*="discord"]::after { 
        color: var(--discord-color); 
    }

    .social-links a:hover .fa-whatsapp,
    .social-links a:hover[data-profile*="whatsapp"]::after { 
        color: var(--whatsapp-color); 
    }

    .social-links a:hover .fa-envelope,
    .social-links a:hover[data-profile*="gmail"]::after { 
        color: var(--email-color); 
    }

    .social-links a:hover .fa-youtube,
    .social-links a:hover[data-profile*="youtube"]::after { 
        color: var(--youtube-color); 
    }

    .copyright {
        text-align: center;
        margin-top: 3rem;
        padding: 2rem;
        background: rgba(255, 255, 255, 0.1);
        backdrop-filter: blur(3px);
        border-radius: 15px;
        animation: pulse 15s infinite;
    }

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

    body {
        font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
        min-height: 200vh;
    }

    .hedaheader {
        background-color: rgba(255, 255, 255, 0.98);
        padding: 15px;
        position: fixed;
        width: calc(100% - 30px);
        top: 12px;
        left:15px;
        right: 20px;
        z-index: 1000;
        border-radius: 25px;
        backdrop-filter: blur(10px);
        transition: all 0.9s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: 0 4px 6px rgba(0.2, 0.2, 0.2, 0.4);
        font-family: 'Ubuntu';
    }

    .hedaheader.scrolled {
        top: 0;
        left: 0;
        right: 0;
        border-radius: 0;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.312);
        background-color: rgba(254, 250, 223, 0.62);
       
    }

    .hedaheader.scrolled-down {
        border-radius: 0;
        box-shadow: 0 2px 4px rgba(0,0,0,0.1);
        width:100%;
    }

    .hedaheader.scrolled-up {
        top: 10px;
        left: 10px;
        right: 15px;
        border-radius: 20px;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.599);
        opacity: 0.9;
    }

    .hedanav {
        display: flex;
        justify-content: space-between;
        align-items: center;
        max-width: 1400px;
        margin: 0 auto;
        padding: 0 20px;
    }

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

    .hedalogo-text {
        font-size: 1.5rem;
        font-weight: 650;
        background: linear-gradient(45deg, #303030, #7c7c7c);
        -webkit-background-clip: text;
        color: transparent;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        white-space: nowrap;
    }

    .hedadonate-button {
        background-color: #fff3bf;
        color: #1f2937;
        border: none;
        padding: 10px 20px;
        border-radius: 8px;
        font-weight: bold;
        cursor: pointer;
        transition: transform 0.3s, box-shadow 0.3s;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.528);
    }

    .hedadonate-button:hover {
        transform: translateY(-2px);
        transform: scale(1.1);
        box-shadow: 0 8px 12px rgba(0, 0, 0, 0.622);
    }

    .hedanav-list {
        display: flex;
        list-style-type: none;
        align-items: center;
        gap: 2rem;
        margin-left: auto;
        margin: 0;
        padding: 0;
        z-index: 1000;
    }

    .hedanav-list li {
        position: relative;
    }

    .hedanav-list a {
        color: #1f2937;
        text-decoration: none;
        font-size: 1rem;
        transition: all 0.3s ease;
        font-weight: 500;
        padding: 8px 16px;
        border-radius: 8px;
        display: block;
        white-space: nowrap;
    }

    .hedanav-list a:hover {
        color: #4f46e5;
    }

    .hedahas-submenu {
        position: relative;
    }

    .hedahas-submenu > a {
        display: flex;
        align-items: center;
        gap: 4px;
    }

    .hedahas-submenu > a::after {
        content: '▾';
        margin-left: 5px;
        transition: transform 0.3s ease;
    }

    .hedahas-submenu:hover > a::after {
        transform: rotate(180deg);
    }

    .hedasubmenu {
        position: absolute;
        top: 100%;
        left: 0;
        background-color: #ffffff;
        min-width: 250px;
        list-style-type: none;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        border-radius: 8px;
        box-shadow: 0 4px 25px rgba(0, 0, 0, 0.1);
        padding: 8px;
        border: 1px solid rgba(229, 231, 235, 0.5);
    }

    .hedahas-submenu:hover .hedasubmenu {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .hedasubmenu li {
        margin: 0;
        padding: 0;
    }

    .hedasubmenu a {

        padding: 12px 16px;
        display: block;
        color: #374151;
        transition: all 0.3s ease;
        border-radius: 8px;
        white-space: nowrap;
    }

    .hedasubmenu a:hover {
        background-color: #f7efa8;
        color: #4f46e5;
        padding-left: 20px;
    }

    .hedahamburger {
        margin-left: 20px;
        display: none;
        flex-direction: column;
        cursor: pointer;
        padding: 4px;
        z-index: 1001;
        gap: 6px;
    }

    .hedahamburger span {
        width: 28px;
        height: 2px;
        background-color: #1f2937;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        transform-origin: left center;
    }

    @media (max-width: 1200px) {
        .hedanav-list {
            gap: 1rem;
        }
        .hedanav-list a {
            padding: 8px 12px;
            font-size: 0.95rem;
            white-space: nowrap;
        }
    }

    @media (max-width: 1024px) {
        .hedanav-list a {
            padding: 8px 8px;
            font-size: 0.9rem;
        }

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

    @media screen and (max-width: 900px) {
        .hedanav {
            justify-content: space-between;
        }
        .hedabrand {
            margin-right: 0;
        }
        .hedahamburger {
            display: flex;
        }

        .hedahamburger.hedaactive span:nth-child(1) {
            transform: rotate(45deg) translate(1px, -3px);
        }

        .hedahamburger.hedaactive span:nth-child(2) {
            opacity: 0;
            transform: translateX(-10px);
        }

        .hedahamburger.hedaactive span:nth-child(3) {
            transform: rotate(-45deg) translate(1px, 3px);
        }

        .hedanav-list {
            position: fixed;
            top: 0;
            right: -100%;
            height: 100vh;
            width: 85%;
            background: rgba(255, 255, 255, 0.98);
            backdrop-filter: blur(10px);
            flex-direction: column;
            align-items: stretch;
            padding: 5rem 2rem;
            transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
            gap: 0.5rem;
            border-radius: 15px;
            overflow-y: scroll;
            padding-left: 50px;
            text-align: left;
        }

        .hedanav-list.active {
            right: 0;
            box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        }

        .hedanav-list.hedaactive {
            right: 0;
            box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
        }

        .hedanav-list li {
            opacity: 0;
            transform: translateX(50px);
            transition: all 0.3s ease;
        }

        .hedanav-list.hedaactive li {
            opacity: 1;
            transform: translateX(0);
            transition-delay: calc(0.1s * var(--i));
        }

        .hedanav-list a {
            padding: 1rem;
            font-size: 1.1rem;
            border-radius: 12px;
            transition: all 0.3s ease;
        }

        .hedanav-list a:hover {
            background-color: #f4eca6;
        }

        .hedasubmenu {
            position: static;
            background-color: #e6e6e6;
            box-shadow: none;
            padding-left: 20px;
            padding: 0.5rem;
            margin: 0.5rem 0;
            display: none;
            opacity: 1;
            visibility: visible;
            transform: none;
        }

        .hedahas-submenu.hedaactive .hedasubmenu {
            display: block;
            animation: slideDown 0.5s ease forwards;
        }

        @keyframes slideDown {
            0% {
                opacity: 0;
                transform: translateY(-10px);
            }
            100% {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .hedahas-submenu > a::after {
            float: right;
            transform: rotate(-90deg);
        }

        .hedahas-submenu.hedaactive > a::after {
            transform: rotate(0);
        }

        .hedadonate-button {
            align-items: center;
            width: 100%;
            height: 50px;
            margin-top: 1rem;
            text-align: center;
        }

        .hedahamburger.active span:nth-child(1) {
            transform: rotate(45deg) translate(5px, 5px);
        }

        .hedahamburger.active span:nth-child(2) {
            opacity: 0;
        }

        .hedahamburger.active span:nth-child(3) {
            transform: rotate(-45deg) translate(5px, -5px);
        }
    }

    @media (max-width: 768px) {
        .footer-content {
            display: flex;
            flex-wrap: wrap;
            gap: 1rem;
        }

        .footer-section {
            flex: 1 1 300px;
            margin: 0.5rem;
            animation: slideIn var(--animation-timing) ease-out forwards;
            opacity: 0;
        }

        @keyframes slideIn {
            from {
                transform: translateY(30px);
                opacity: 0;
            }
            to {
                transform: translateY(0);
                opacity: 1;
            }
        }

        .footer-section:nth-child(1) { animation-delay: 0.1s; }
        .footer-section:nth-child(2) { animation-delay: 0.2s; }
        .footer-section:nth-child(3) { animation-delay: 0.3s; }
        .footer-section:nth-child(4) { animation-delay: 0.4s; }
    }

    @keyframes gradientSlide {
        0% { background-position: 0% 50%; }
        100% { background-position: 200% 50%; }
    }

    @keyframes pulse {
        0% { box-shadow: 0 0 0 0 rgba(52, 152, 219, 0.4); }
        70% { box-shadow: 0 0 0 20px rgba(52, 152, 219, 0); }
        100% { box-shadow: 0 0 0 0 rgba(52, 152, 219, 0); }
    }

    .footer-content:hover .footer-section:not(:hover) {
        filter: brightness(0.95);
        transform: scale(0.98);
    }

    .footer-section {
        scrollbar-width: thin;
        scrollbar-color: var(--hover-color) transparent;
    }

    .footer-section::-webkit-scrollbar {
        width: 6px;
    }

    .footer-section::-webkit-scrollbar-track {
        background: transparent;
    }

    .footer-section::-webkit-scrollbar-thumb {
        background-color: var(--hover-color);
        border-radius: 3px;
    }



