*{
            margin:0;
            padding:0;
            box-sizing:border-box;
            font-family:'Poppins',sans-serif;
        }

        html{
            scroll-behavior:smooth;
        }

        body{
            background:#0b0f19;
            color:white;
            overflow-x:hidden;
        }


        /* ===== AUTO HORIZONTAL SCROLL ===== */

.auto-gallery{
    width: 100%;
    overflow: hidden;
    position: relative;
}

.gallery-track{

    display: flex;
    gap: 20px;

    width: max-content;

    animation: autoScroll 25s linear infinite;
}

/* HOVER STOP */

.auto-gallery:hover .gallery-track{
    animation-play-state: paused;
}

/* SCROLL ANIMATION */

@keyframes autoScroll{

    from{
        transform: translateX(0);
    }

    to{
        transform: translateX(-50%);
    }
}


/* ===== GALLERY ALBUM CARDS ===== */

.gallery-album-card {
    position: relative;
    width: 320px;
    height: 220px;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    background: #131c2f;
    border: 1px solid rgba(0, 217, 255, 0.15);
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.4s ease, border-color 0.4s ease;
    flex-shrink: 0;
}

.gallery-album-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: rgba(0, 217, 255, 0.45);
    box-shadow: 0 12px 30px rgba(0, 217, 255, 0.2);
}

.gallery-album-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.gallery-album-card:hover img {
    transform: scale(1.08);
}

.gallery-album-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px 16px 14px;
    background: linear-gradient(to top, rgba(9, 13, 22, 0.95) 0%, rgba(9, 13, 22, 0.6) 60%, transparent 100%);
    display: flex;
    flex-direction: column;
    gap: 4px;
    pointer-events: none;
}

.gallery-album-title {
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 600;
    text-shadow: 0 2px 4px rgba(0,0,0,0.8);
    margin: 0;
}

.gallery-album-count {
    color: #00d9ff;
    font-size: 0.85rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

/* ===== MODAL ===== */

.gallery-modal{
    display: none;

    position: fixed;

    top: 0;
    left: 0;

    width: 100%;
    height: 100%;

    background: rgba(0,0,0,0.92);

    z-index: 9999;

    overflow-y: auto;

    padding: 80px 20px 40px;
}

.gallery-modal-header {
    max-width: 1100px;
    margin: 0 auto 24px;
    text-align: center;
}

.gallery-modal-title {
    color: #00d9ff;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.gallery-modal-subtitle {
    color: #94a3b8;
    font-size: 0.95rem;
}

.gallery-modal-img-wrap {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background: #131c2f;
    aspect-ratio: 4 / 3;
    border: 1px solid rgba(255, 255, 255, 0.1);
    cursor: pointer;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.gallery-modal-img-wrap:hover {
    transform: scale(1.03);
    border-color: #00d9ff;
    box-shadow: 0 8px 24px rgba(0, 217, 255, 0.25);
}

.gallery-modal-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.gallery-modal.active{
    display: block;
}

/* ===== CLOSE BUTTON ===== */

.close-btn{

    position: fixed;

    top: 20px;
    right: 30px;

    font-size: 45px;

    color: white;

    font-weight: bold;

    cursor: pointer;

    z-index: 10000;

    transition: 0.3s;
}

.close-btn:hover{
    transform: scale(1.2);
}

/* ===== MODAL CONTENT ===== */

.modal-content{

    max-width: 1100px;

    margin: auto;

    display: grid;

    grid-template-columns: repeat(auto-fit,minmax(250px,1fr));

    gap: 20px;
}

.modal-content img{

    width: 100%;

    border-radius: 16px;
}

        /* Navbar */

        nav{
            width:100%;
            padding:20px 8%;
            position:fixed;
            top:0;
            display:flex;
            justify-content:space-between;
            align-items:center;
            background:rgba(0,0,0,0.4);
            backdrop-filter:blur(10px);
            z-index:1000;
        }

        nav h1{
            color:#00d9ff;
            font-size:30px;
        }

        nav ul{
            display:flex;
            list-style:none;
            gap:25px;
        }

        nav ul li a{
            text-decoration:none;
            color:white;
            transition:0.3s;
        }

        nav ul li a:hover{
            color:#00d9ff;
        }

        /* Hero Section */

        .hero{
            height:100vh;
            background:linear-gradient(rgba(0,0,0,0.6),rgba(0,0,0,0.7)),
            url("../assets/hero/image1.jpeg");
            background-size:cover;
            background-position:center;
            display:flex;
            align-items:center;
            justify-content:center;
            text-align:center;
            padding:20px;
        }

        .hero-content h2{
            font-size:65px;
            margin-bottom:20px;
        }

        .hero-content span{
            color:#00d9ff;
        }

        .hero-content p{
            font-size:20px;
            max-width:700px;
            margin:auto;
            line-height:1.8;
        }

        .hero-btn{
            margin-top:30px;
            display:inline-block;
            padding:15px 40px;
            background:#00d9ff;
            color:black;
            text-decoration:none;
            border-radius:40px;
            font-weight:600;
            transition:0.3s;
        }

        .hero-btn:hover{
            transform:scale(1.05);
        }

        section{
            padding:100px 8%;
        }

        .section-title{
            text-align:center;
            font-size:45px;
            margin-bottom:60px;
            color:#00d9ff;
        }

        /* About */

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

        .about img{
            width:100%;
            border-radius:20px;
        }

        .about-text p{
            line-height:2;
            font-size:18px;
            text-align: center;
        }

        /* Stats */

        .stats{
            display:grid;
            grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
            gap:30px;
            text-align:center;
        }

        .stat-card{
            background:#131c2f;
            padding:40px;
            border-radius:20px;
            transition:0.3s;
        }

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

        .stat-card h2{
            font-size:50px;
            color:#00d9ff;
        }

        /* Activities */

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

        .card{
            background:#131c2f;
            border-radius:20px;
            overflow:hidden;
            transition:0.3s;
        }

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

        .card img{
            width:100%;
            height:220px;
            object-fit:cover;
        }

        .card-content{
            padding:25px;
        }

        .card-content h3{
            margin-bottom:15px;
            color:#00d9ff;
        }

        /* Achievements */

        .timeline{
            border-left:4px solid #00d9ff;
            padding-left:30px;
        }

        .timeline-item{
            margin-bottom:40px;
            background:#131c2f;
            padding:25px;
            border-radius:15px;
        }

        .timeline-item h3{
            color:#00d9ff;
            margin-bottom:10px;
        }

        /* Gallery */

        .gallery{
            display:grid;
            grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
            gap:20px;
        }

        .gallery img{
            width:100px;
            height:100px;
            object-fit:cover;
            border-radius:15px;
            transition:0.3s;
        }

        .gallery img:hover{
            transform:scale(1.05);
        }

        /* Team */

        .team{
            display:grid;
            grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
            gap:30px;
        }

        .team-card{
            background:#131c2f;
            text-align:center;
            padding:30px;
            border-radius:20px;
        }

        .team-card img{
            width:120px;
            height:120px;
            border-radius:50%;
            object-fit:cover;
            margin-bottom:20px;
        }

        .team-card h3{
            color:#00d9ff;
            margin-bottom:10px;
        }

        /* Comments */

        .comments{
            max-width:700px;
            margin:auto;
            text-align: center;
        }

        .comments textarea,
        .comments input{
            width:100%;
            padding:15px;
            margin-bottom:20px;
            border:none;
            border-radius:10px;
            background:#131c2f;
            color:white;
        }

        .comments button{
            padding:15px 35px;
            border:none;
            background:#00d9ff;
            border-radius:30px;
            font-weight:600;
            cursor:pointer;
        }

        .comment-box{
            background:#131c2f;
            padding:20px;
            border-radius:15px;
            margin-top:20px;
        }

        /* Footer */

        footer{
            background:#05070d;
            text-align:center;
            padding:30px;
            margin-top:50px;
        }

        footer p{
            color:#aaa;
        }

        /* Responsive */

        @media(max-width:900px){

            .hero-content h2{
                font-size:45px;
            }

            .about{
                grid-template-columns:1fr;
            }
        }

        /* =========================================
           RESPONSIVE NAVBAR
        ========================================= */

        .nav-toggle{
            display:none;
            width:44px;
            height:44px;
            border:1px solid rgba(0,217,255,0.35);
            border-radius:12px;
            background:rgba(19,28,47,0.7);
            cursor:pointer;
            align-items:center;
            justify-content:center;
            flex-direction:column;
            gap:5px;
            transition:transform .3s ease, background .3s ease, border-color .3s ease;
        }

        .nav-toggle:hover{
            background:rgba(0,217,255,0.12);
            border-color:#00d9ff;
            transform:translateY(-1px);
        }

        .nav-toggle span{
            width:20px;
            height:2px;
            border-radius:10px;
            background:#fff;
            transition:transform .3s ease, opacity .2s ease;
        }

        nav.menu-open .nav-toggle span:nth-child(1){
            transform:translateY(7px) rotate(45deg);
        }

        nav.menu-open .nav-toggle span:nth-child(2){
            opacity:0;
        }

        nav.menu-open .nav-toggle span:nth-child(3){
            transform:translateY(-7px) rotate(-45deg);
        }

        @media(max-width:900px){

            nav{
                padding:14px 5%;
            }

            nav h1{
                font-size:26px;
            }

            .nav-toggle{
                display:flex;
            }

            nav ul{
                position:absolute;
                top:calc(100% + 10px);
                left:5%;
                right:5%;
                display:flex;
                flex-direction:column;
                gap:4px;
                padding:10px;
                margin:0;
                background:rgba(11,15,25,0.96);
                border:1px solid rgba(0,217,255,0.18);
                border-radius:18px;
                box-shadow:0 18px 50px rgba(0,0,0,0.45);
                backdrop-filter:blur(18px);
                -webkit-backdrop-filter:blur(18px);
                opacity:0;
                visibility:hidden;
                transform:translateY(-10px) scale(.98);
                transform-origin:top;
                pointer-events:none;
                transition:opacity .28s ease, transform .28s ease, visibility .28s ease;
            }

            nav.menu-open ul{
                opacity:1;
                visibility:visible;
                transform:translateY(0) scale(1);
                pointer-events:auto;
            }

            nav ul li{
                width:100%;
            }

            nav ul li a{
                display:block;
                width:100%;
                padding:13px 15px;
                border-radius:12px;
                font-size:15px;
                transition:background .25s ease, color .25s ease, transform .25s ease;
            }

            nav ul li a:hover,
            nav ul li a:focus-visible{
                color:#00d9ff;
                background:rgba(0,217,255,0.08);
                transform:translateX(4px);
                outline:none;
            }
        }

        @media(max-width:480px){

            nav{
                padding:12px 4%;
            }

            nav h1{
                font-size:24px;
            }

            nav ul{
                left:4%;
                right:4%;
            }
        }

        @media(prefers-reduced-motion:reduce){

            nav ul,
            nav ul li a,
            .nav-toggle,
            .nav-toggle span{
                transition:none !important;
            }
        }

      /* ===== AUTO SCROLL TIMELINE ===== */

.auto-scroll-timeline{
    height: 420px;
    overflow: hidden;
    position: relative;
}

.auto-scroll-track{

    display: flex;
    flex-direction: column;
    gap: 20px;

    animation: smoothTimelineScroll 20s linear infinite;
}

/* Pause on Hover */

.auto-scroll-timeline:hover .auto-scroll-track{
    animation-play-state: paused;
}

/* Smooth Infinite Scroll */

@keyframes smoothTimelineScroll{

    from{
        transform: translateY(0);
    }

    to{
        transform: translateY(-50%);
    }
}

/* Responsive */

@media screen and (max-width:768px){

    .auto-scroll-timeline{
        height: 350px;
    }
}


/* =========================================
   PROJECTS CAROUSEL
========================================= */

.projects-carousel{
    position:relative;
    width:100%;
    display:flex;
    align-items:center;
    gap:20px;
}


/* VIEWPORT */

.projects-viewport{
    width:100%;
    overflow:hidden;
    border-radius:24px;
}


/* TRACK */

.projects-track{
    display:flex;
    gap:30px;
    transition:transform 0.6s cubic-bezier(0.22,1,0.36,1);
    will-change:transform;
}


/* PROJECT CARD */

.project-card{
    flex:0 0 calc((100% - 60px) / 3);

    background:#131c2f;
    border-radius:22px;

    overflow:hidden;

    border:1px solid rgba(0,217,255,0.08);

    transition:
        transform 0.4s ease,
        border-color 0.4s ease,
        box-shadow 0.4s ease;

}


/* CARD HOVER */

.project-card:hover{
    transform:translateY(-10px);

    border-color:rgba(0,217,255,0.45);

    box-shadow:
        0 15px 40px rgba(0,217,255,0.12);
}


/* PROJECT IMAGE */

.project-image{
    width:100%;
    height:230px;

    overflow:hidden;

    position:relative;

    background:#0b0f19;
}


.project-image img{
    width:100%;
    height:100%;

    object-fit:cover;

    display:block;

    transition:transform 0.6s ease;
}


/* IMAGE ZOOM */

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


/* IMAGE OVERLAY */

.project-image::after{
    content:"";

    position:absolute;

    inset:0;

    background:
        linear-gradient(
            to bottom,
            transparent 50%,
            rgba(11,15,25,0.35)
        );

    pointer-events:none;
}


/* CONTENT */

.project-content{
    padding:25px;
}


.project-content h3{
    color:#00d9ff;

    font-size:21px;

    margin-bottom:14px;

    line-height:1.4;
}


.project-content p{
    color:#d5d9e2;

    font-size:15px;

    line-height:1.8;

    min-height:108px;

    margin-bottom:20px;
}


/* PROJECT BUTTON */

.project-btn{
    display:inline-block;

    padding:10px 22px;

    border:1px solid #00d9ff;

    border-radius:30px;

    color:#00d9ff;

    text-decoration:none;

    font-size:14px;

    font-weight:600;

    transition:
        background 0.3s ease,
        color 0.3s ease,
        transform 0.3s ease;
}


.project-btn:hover{
    background:#00d9ff;

    color:#0b0f19;

    transform:translateY(-2px);
}


/* =========================================
   CAROUSEL ARROWS
========================================= */

.project-arrow{
    flex-shrink:0;

    width:50px;
    height:50px;

    border-radius:50%;

    border:1px solid rgba(0,217,255,0.4);

    background:#131c2f;

    color:#00d9ff;

    font-size:24px;

    display:flex;
    align-items:center;
    justify-content:center;

    cursor:pointer;

    transition:
        background 0.3s ease,
        color 0.3s ease,
        transform 0.3s ease,
        box-shadow 0.3s ease;
}


.project-arrow:hover{
    background:#00d9ff;

    color:#0b0f19;

    transform:scale(1.08);

    box-shadow:
        0 0 20px rgba(0,217,255,0.25);
}


.project-arrow:active{
    transform:scale(0.95);
}


/* =========================================
   DOTS
========================================= */

.project-dots{
    display:flex;

    justify-content:center;
    align-items:center;

    gap:10px;

    margin-top:30px;
}


.project-dot{
    width:9px;
    height:9px;

    border:none;

    padding:0;

    border-radius:50%;

    background:#445066;

    cursor:pointer;

    transition:
        width 0.3s ease,
        background 0.3s ease,
        box-shadow 0.3s ease;
}


.project-dot.active{
    width:28px;

    border-radius:20px;

    background:#00d9ff;

    box-shadow:
        0 0 12px rgba(0,217,255,0.4);
}


/* =========================================
   TABLET
========================================= */

@media(max-width:1100px){

    .project-card{
        flex:0 0 calc((100% - 30px) / 2);
    }

}


/* =========================================
   MOBILE
========================================= */

@media(max-width:700px){

    .projects-carousel{
        gap:10px;
    }


    .projects-viewport{
        border-radius:20px;
    }


    .projects-track{
        gap:20px;
    }


    .project-card{
        flex:0 0 100%;

        border-radius:20px;
    }


    .project-image{
        height:210px;
    }


    .project-content{
        padding:22px;
    }


    .project-content h3{
        font-size:19px;
    }


    .project-content p{
        font-size:14px;

        line-height:1.7;

        min-height:auto;
    }


    .project-arrow{
        width:42px;
        height:42px;

        font-size:19px;
    }


    .project-dots{
        margin-top:25px;
    }

}


/* =========================================
   SMALL MOBILE
========================================= */

@media(max-width:450px){

    .project-arrow{
        position:absolute;

        z-index:5;

        top:105px;
    }


    .project-prev{
        left:12px;
    }


    .project-next{
        right:12px;
    }


    .project-image{
        height:200px;
    }

}

/* =========================================
   PROJECT CAROUSEL
========================================= */

.projects-carousel{
    width:100%;

    display:flex;

    align-items:center;

    gap:20px;

    position:relative;
}


.projects-viewport{
    width:100%;

    overflow:hidden;

    border-radius:24px;
}


.projects-track{
    display:flex;

    gap:30px;

    transition:
        transform 0.6s
        cubic-bezier(0.22,1,0.36,1);

    will-change:transform;
}


/* =========================================
   PROJECT CARD
========================================= */

.project-card{

    flex:0 0 calc((100% - 60px) / 3);

    background:#131c2f;

    border-radius:22px;

    overflow:hidden;

    border:1px solid rgba(0,217,255,0.08);

    transition:
        transform 0.4s ease,
        border-color 0.4s ease,
        box-shadow 0.4s ease;

}


.project-card:hover{

    transform:translateY(-10px);

    border-color:
        rgba(0,217,255,0.45);

    box-shadow:
        0 15px 40px
        rgba(0,217,255,0.12);

}


/* =========================================
   PROJECT IMAGE
========================================= */

.project-image{

    width:100%;

    height:230px;

    overflow:hidden;

    background:#0b0f19;

}


.project-image img{

    width:100%;

    height:100%;

    object-fit:cover;

    display:block;

    transition:
        transform 0.6s ease;

}


.project-card:hover
.project-image img{

    transform:scale(1.08);

}


/* =========================================
   PROJECT CONTENT
========================================= */
.project-content {
    padding: 25px;

    display: flex;
    flex-direction: column;
    align-items: center;

    min-height: 250px;
}

.project-content h3 {
    width: 100%;
    text-align: center;

    color: #00d9ff;
    font-size: 21px;
    line-height: 1.4;

    margin-bottom: 12px;
}

.project-brief {
    width: 100%;
    text-align: center;

    color: #d5d9e2;
    font-size: 15px;
    line-height: 1.7;

    margin-bottom: auto;
    padding-bottom: 20px;
}.project-btn{

    display:inline-block;

    padding:10px 22px;

    border:1px solid #00d9ff;

    border-radius:30px;

    background:transparent;

    color:#00d9ff;

    font-family:'Poppins',sans-serif;

    font-size:14px;

    font-weight:600;

    cursor:pointer;

    transition:
        background 0.3s ease,
        color 0.3s ease,
        transform 0.3s ease,
        box-shadow 0.3s ease;
    
     margin-top: auto;

}


.project-btn:hover{

    background:#00d9ff;

    color:#0b0f19;

    transform:translateY(-2px);

    box-shadow:
        0 5px 20px
        rgba(0,217,255,0.2);

}


/* =========================================
   ARROWS
========================================= */

.project-arrow{

    flex-shrink:0;

    width:50px;

    height:50px;

    border-radius:50%;

    border:1px solid
        rgba(0,217,255,0.4);

    background:#131c2f;

    color:#00d9ff;

    font-size:24px;

    display:flex;

    align-items:center;

    justify-content:center;

    cursor:pointer;

    transition:
        background 0.3s ease,
        color 0.3s ease,
        transform 0.3s ease,
        box-shadow 0.3s ease;

}


.project-arrow:hover{

    background:#00d9ff;

    color:#0b0f19;

    transform:scale(1.08);

    box-shadow:
        0 0 20px
        rgba(0,217,255,0.25);

}


.project-arrow:active{

    transform:scale(0.95);

}


/* =========================================
   DOTS
========================================= */

.project-dots{

    display:flex;

    justify-content:center;

    align-items:center;

    gap:10px;

    margin-top:30px;

}


.project-dot{

    width:9px;

    height:9px;

    padding:0;

    border:none;

    border-radius:50%;

    background:#445066;

    cursor:pointer;

    transition:
        width 0.3s ease,
        background 0.3s ease;

}


.project-dot.active{

    width:28px;

    border-radius:20px;

    background:#00d9ff;

    box-shadow:
        0 0 12px
        rgba(0,217,255,0.4);

}


/* =========================================
   PROJECT MODAL
========================================= */

.project-modal{

    position:fixed;

    inset:0;

    z-index:99999;

    display:flex;

    align-items:center;

    justify-content:center;

    padding:30px;

    background:
        rgba(0,0,0,0.85);

    backdrop-filter:blur(10px);

    opacity:0;

    visibility:hidden;

    transition:
        opacity 0.35s ease,
        visibility 0.35s ease;

}


.project-modal.active{

    opacity:1;

    visibility:visible;

}


/* =========================================
   MODAL CONTENT
========================================= */

.project-modal-content{

    position:relative;

    width:100%;

    max-width:850px;

    max-height:90vh;

    overflow-y:auto;

    background:#131c2f;

    border:1px solid
        rgba(0,217,255,0.25);

    border-radius:25px;

    box-shadow:
        0 25px 80px
        rgba(0,0,0,0.5);

    transform:
        translateY(30px)
        scale(0.96);

    transition:
        transform 0.4s
        cubic-bezier(0.22,1,0.36,1);

}


.project-modal.active
.project-modal-content{

    transform:
        translateY(0)
        scale(1);

}


/* =========================================
   MODAL IMAGE
========================================= */

.project-modal-image{

    width:100%;

    height:400px;

    overflow:hidden;

}


.project-modal-image img{

    width:100%;

    height:100%;

    object-fit:cover;

    display:block;

}


/* =========================================
   MODAL BODY
========================================= */

.project-modal-body{

    padding:35px;

}


.project-modal-body h2{

    color:#00d9ff;

    font-size:30px;

    margin-bottom:20px;

}


.project-modal-body p{

    color:#d5d9e2;

    font-size:16px;

    line-height:1.9;

}


/* =========================================
   TECHNOLOGIES
========================================= */

.project-technologies{

    display:flex;

    flex-wrap:wrap;

    gap:10px;

    margin-top:25px;

}


.project-tech{

    padding:7px 14px;

    border-radius:20px;

    background:
        rgba(0,217,255,0.08);

    border:1px solid
        rgba(0,217,255,0.2);

    color:#00d9ff;

    font-size:13px;

}


/* =========================================
   CLOSE BUTTON
========================================= */

.project-modal-close{

    position:absolute;

    top:15px;

    right:15px;

    z-index:5;

    width:42px;

    height:42px;

    border:none;

    border-radius:50%;

    background:
        rgba(0,0,0,0.65);

    color:white;

    font-size:28px;

    line-height:1;

    cursor:pointer;

    transition:
        background 0.3s ease,
        transform 0.3s ease;

}


.project-modal-close:hover{

    background:#00d9ff;

    color:#0b0f19;

    transform:rotate(90deg);

}


/* =========================================
   TABLET
========================================= */

@media(max-width:1100px){

    .project-card{

        flex:0 0 calc((100% - 30px) / 2);

    }

}


/* =========================================
   MOBILE
========================================= */

@media(max-width:700px){

    .projects-carousel{

        gap:10px;

    }


    .projects-track{

        gap:20px;

    }


    .project-card{

        flex:0 0 100%;

        border-radius:20px;

    }


    .project-image{

        height:210px;

    }


    .project-content{

        padding:22px;

    }


    .project-content h3{

        font-size:19px;

    }


    .project-brief{

        font-size:14px;

        min-height:auto;

    }


    .project-arrow{

        width:42px;

        height:42px;

        font-size:19px;

    }


    .project-modal{

        padding:15px;

    }


    .project-modal-content{

        max-height:92vh;

        border-radius:20px;

    }


    .project-modal-image{

        height:220px;

    }


    .project-modal-body{

        padding:25px 20px;

    }


    .project-modal-body h2{

        font-size:23px;

    }


    .project-modal-body p{

        font-size:14px;

        line-height:1.8;

    }

}


/* =========================================
   SMALL MOBILE
========================================= */

@media(max-width:450px){

    .project-arrow{

        position:absolute;

        z-index:10;

        top:95px;

    }


    .project-prev{

        left:10px;

    }


    .project-next{

        right:10px;

    }

}
    
        /* =========================================================
           REZONX MOTION SYSTEM
           ========================================================= */

        :root{
            --motion-fast: 0.25s;
            --motion-normal: 0.55s;
            --motion-slow: 0.8s;
            --motion-ease: cubic-bezier(0.22, 1, 0.36, 1);
        }

        /* Hero entrance */
        .hero-content{
            animation: heroContentIn 0.9s var(--motion-ease) both;
        }

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

        /* Scroll reveal */
        .reveal-on-scroll{
            opacity:0;
            transform:translateY(35px);
            transition:
                opacity var(--motion-slow) var(--motion-ease),
                transform var(--motion-slow) var(--motion-ease);
            transition-delay:var(--reveal-delay, 0ms);
        }

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

        .reveal-from-left{
            opacity:0;
            transform:translateX(-35px);
            transition:
                opacity var(--motion-slow) var(--motion-ease),
                transform var(--motion-slow) var(--motion-ease);
        }

        .reveal-from-left.is-visible{
            opacity:1;
            transform:translateX(0);
        }

        /* Section titles */
        .section-title{
            transition:
                transform 0.5s var(--motion-ease),
                text-shadow 0.5s ease;
        }

        .section-title.is-visible{
            text-shadow:0 0 24px rgba(0,217,255,0.18);
        }

        /* Generic cards */
        .stat-card,
        .card,
        .timeline-item,
        .team-card{
            transition:
                transform 0.4s var(--motion-ease),
                box-shadow 0.4s ease,
                border-color 0.4s ease;
        }

        .stat-card,
        .card,
        .timeline-item,
        .team-card{
            border:1px solid transparent;
        }

        .stat-card:hover,
        .card:hover,
        .timeline-item:hover,
        .team-card:hover{
            border-color:rgba(0,217,255,0.22);
            box-shadow:0 16px 38px rgba(0,0,0,0.22);
        }

        /* Activity image zoom */
        .card img{
            transition:transform 0.65s var(--motion-ease);
        }

        .card:hover img{
            transform:scale(1.045);
        }

        /* Team image interaction */
        .team-card img{
            transition:
                transform 0.5s var(--motion-ease),
                box-shadow 0.5s ease;
        }

        .team-card:hover img{
            transform:scale(1.05);
            box-shadow:0 0 0 5px rgba(0,217,255,0.10);
        }

        /* Stats number glow while counting */
        .stat-number{
            transition:
                transform 0.35s var(--motion-ease),
                text-shadow 0.35s ease;
        }

        .stat-card.is-counting .stat-number{
            transform:scale(1.05);
            text-shadow:0 0 22px rgba(0,217,255,0.32);
        }

        /* Button micro-interactions */
        .hero-btn,
        .project-btn,
        .project-prev,
        .project-next,
        .project-dot,
        .comments button{
            transition:
                transform 0.25s var(--motion-ease),
                box-shadow 0.25s ease,
                background-color 0.25s ease;
        }

        .hero-btn:hover,
        .project-btn:hover,
        .comments button:hover{
            box-shadow:0 10px 28px rgba(0,217,255,0.18);
        }

        .hero-btn:active,
        .project-btn:active,
        .comments button:active{
            transform:scale(0.97);
        }

        /* Gallery images */
        .gallery img{
            transition:
                transform 0.45s var(--motion-ease),
                filter 0.45s ease;
        }

        .gallery img:hover{
            transform:scale(1.07);
            filter:brightness(1.08);
        }

        /* Accessibility: don't force motion */
        @media (prefers-reduced-motion: reduce){
            html{
                scroll-behavior:auto;
            }

            *,
            *::before,
            *::after{
                animation-duration:0.01ms !important;
                animation-iteration-count:1 !important;
                transition-duration:0.01ms !important;
                scroll-behavior:auto !important;
            }

            .reveal-on-scroll,
            .reveal-from-left{
                opacity:1;
                transform:none;
            }
        }


/* =========================================================
   PROJECT TECH STACK
   ========================================================= */

.project-tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 18px 0;
}

.project-tech-stack span {
    padding: 6px 12px;
    border: 1px solid rgba(0, 229, 255, 0.35);
    border-radius: 999px;

    background: rgba(0, 229, 255, 0.08);

    color: #00e5ff;

    font-size: 0.78rem;
    font-weight: 600;

    white-space: nowrap;
}


/* =========================================================
   VIEW PROJECT BUTTON
   ========================================================= */

.project-btn {
    width: 100%;
    margin-top: 4px;
}


/* =========================================================
   PROJECT ENGAGEMENT
   LIKES + COMMENTS
   ========================================================= */

.project-engagement {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 12px;

    margin-top: 18px;
    padding-top: 16px;

    border-top: 1px solid rgba(255, 255, 255, 0.08);
}


.project-like-btn,
.project-comment-btn {
    display: flex;
    align-items: center;
    justify-content: center;

    gap: 7px;

    flex: 1;

    padding: 10px 8px;

    border: none;
    border-radius: 10px;

    background: transparent;

    color: #cbd5e1;

    font-size: 0.9rem;
    font-weight: 600;

    cursor: pointer;

    transition:
        color 0.25s ease,
        background 0.25s ease,
        transform 0.2s ease;
}


.project-like-btn:hover,
.project-comment-btn:hover {
    color: #ffffff;

    background: rgba(255, 255, 255, 0.06);

    transform: translateY(-2px);
}


.project-like-btn:active,
.project-comment-btn:active {
    transform: scale(0.96);
}


.like-count,
.comment-count {
    color: #00e5ff;
    font-weight: 700;
}


/* =========================================================
   LIKED STATE
   ========================================================= */

.project-like-btn.liked {
    color: #ff5b79;
}


.project-like-btn.liked .like-count {
    color: #ff5b79;
}


/* =========================================================
   PROJECT COMMENTS SECTION
   ========================================================= */

.project-comments-section {
    margin-top: 35px;
    padding-top: 28px;

    border-top: 1px solid rgba(255, 255, 255, 0.1);
}


.comments-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;

    margin-bottom: 20px;
}


.comments-heading h3 {
    margin: 0;

    color: #ffffff;

    font-size: 1.3rem;
}


#modalCommentCount {
    color: #00e5ff;

    font-size: 0.9rem;
    font-weight: 600;
}


/* =========================================================
   COMMENT FORM
   ========================================================= */

#projectCommentForm {
    display: flex;
    flex-direction: column;

    gap: 12px;

    margin-bottom: 30px;
}


#projectCommentForm input,
#projectCommentForm textarea {
    width: 100%;

    padding: 13px 15px;

    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;

    outline: none;

    background: rgba(255, 255, 255, 0.04);

    color: #ffffff;

    font-family: inherit;
    font-size: 0.95rem;

    transition:
        border-color 0.2s ease,
        background 0.2s ease;
}


#projectCommentForm textarea {
    resize: vertical;

    min-height: 100px;
}


#projectCommentForm input::placeholder,
#projectCommentForm textarea::placeholder {
    color: #64748b;
}


#projectCommentForm input:focus,
#projectCommentForm textarea:focus {
    border-color: #00e5ff;

    background: rgba(0, 229, 255, 0.04);
}


/* =========================================================
   SUBMIT COMMENT BUTTON
   ========================================================= */

.submit-comment-btn {
    align-self: flex-start;

    padding: 12px 20px;

    border: none;
    border-radius: 10px;

    background: #00e5ff;

    color: #061018;

    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 700;

    cursor: pointer;

    transition:
        transform 0.2s ease,
        opacity 0.2s ease;
}


.submit-comment-btn:hover {
    transform: translateY(-2px);
}


.submit-comment-btn:active {
    transform: scale(0.97);
}


/* =========================================================
   COMMENTS LIST
   ========================================================= */

.project-comments-list {
    display: flex;
    flex-direction: column;

    gap: 15px;
}


.comment-item {
    padding: 16px;

    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;

    background: rgba(255, 255, 255, 0.03);
}


.comment-item-header {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 15px;

    margin-bottom: 8px;
}


.comment-item-name {
    color: #ffffff;

    font-size: 0.95rem;
    font-weight: 700;
}


.comment-item-date {
    color: #64748b;

    font-size: 0.75rem;
}


.comment-item-message {
    margin: 0;

    color: #cbd5e1;

    line-height: 1.6;
}


.no-comments {
    margin: 10px 0 0;

    color: #64748b;

    text-align: center;
}


/* =========================================================
   LOADING COMMENTS
   ========================================================= */

.comments-loading {
    padding: 20px;

    color: #94a3b8;

    text-align: center;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 600px) {

    .project-tech-stack {
        margin: 15px 0;
    }


    .project-tech-stack span {
        padding: 5px 10px;

        font-size: 0.72rem;
    }


    .project-engagement {
        gap: 6px;

        margin-top: 15px;
    }


    .project-like-btn,
    .project-comment-btn {
        gap: 5px;

        padding: 9px 4px;

        font-size: 0.8rem;
    }


    .comments-heading {
        align-items: flex-start;
        flex-direction: column;

        gap: 5px;
    }


    .comment-item-header {
        align-items: flex-start;
        flex-direction: column;

        gap: 4px;
    }


    .submit-comment-btn {
        width: 100%;
    }

}

/* ========================================
   PROJECT CARD LAYOUT FIX
======================================== */

.project-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-width: 0;
}

.project-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    width: 100%;
    min-width: 0;
}

.project-brief {
    margin-bottom: 20px;
    padding-bottom: 0;
}

/* TECH STACK */

.project-technologies {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    gap: 8px;
    width: 100%;
    min-height: auto;
    margin: 0 0 20px;
}

.tech-tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: normal;
    max-width: 100%;
    overflow-wrap: anywhere;
}

/* BOTTOM ACTIONS */

.project-actions {
    width: 100%;
    margin-top: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.view-project-btn {
    margin-bottom: 18px;
}

/* LIKE + COMMENT ROW */

.project-engagement {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    width: 100%;
    flex-wrap: wrap;
}

.like-btn,
.comment-btn {
    flex: 0 1 auto;
}


/* =========================================================
   RECENT HIGHLIGHTS
========================================================= */

#highlights {
    padding: 100px 0;
    overflow: hidden;
    text-align: center;
}


.highlights-eyebrow {
    margin-bottom: 10px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: #7c3aed;
}


.highlights-subtitle {
    max-width: 650px;
    margin: 0 auto 45px;
    padding: 0 20px;
    color: #6b7280;
    font-size: 1rem;
    line-height: 1.7;
}


.highlights-marquee {
    width: 100%;
    overflow: hidden;
    padding: 25px 0 35px;
}


.highlights-track {
    display: flex;
    gap: 30px;
    width: max-content;

    animation:
        highlightsScroll
        35s
        linear
        infinite;
}


.highlights-track:hover {
    animation-play-state: paused;
}


.highlight-card {
    position: relative;

    display: block;

    width: 360px;
    height: 450px;

    flex-shrink: 0;

    overflow: hidden;

    border-radius: 24px;

    text-decoration: none;

    background: #111827;

    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.15);

    transition:
        transform 0.4s ease,
        box-shadow 0.4s ease,
        filter 0.4s ease;

    cursor: pointer;
}


.highlight-card img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition:
        transform 0.5s ease;
}


.highlight-card::after {
    content: "";

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            to top,
            rgba(0, 0, 0, 0.92),
            rgba(0, 0, 0, 0.35) 55%,
            rgba(0, 0, 0, 0.05)
        );
}


.highlight-overlay {
    position: absolute;

    left: 0;
    right: 0;
    bottom: 0;

    z-index: 2;

    padding: 28px;

    text-align: left;

    color: white;
}


.highlight-date {
    display: inline-block;

    margin-bottom: 12px;

    font-size: 0.8rem;

    font-weight: 600;

    opacity: 0.85;
}


.highlight-overlay h2 {
    margin: 0 0 12px;

    font-size: 1.45rem;

    line-height: 1.35;
}


.highlight-overlay p {
    margin: 0;

    font-size: 0.9rem;

    line-height: 1.6;

    opacity: 0.85;
}


.highlight-link {
    display: inline-block;

    margin-top: 18px;

    font-weight: 700;

    font-size: 0.9rem;

    color: white;

    transition:
        transform 0.3s ease;
}


/* HOVER EFFECT */

.highlight-card:hover {
    transform: scale(1.05);

    z-index: 10;

    box-shadow:
        0 25px 50px rgba(0, 0, 0, 0.28);
}


.highlight-card:hover img {
    transform: scale(1.08);
}


.highlight-card:hover .highlight-link {
    transform: translateX(5px);
}


/* CONTINUOUS SCROLL */

@keyframes highlightsScroll {

    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }

}


/* MOBILE */

@media (max-width: 700px) {

    #highlights {
        padding: 75px 0;
    }


    .highlights-track {
        gap: 18px;

        animation-duration: 28s;
    }


    .highlight-card {
        width: 280px;
        height: 380px;

        border-radius: 20px;
    }


    .highlight-overlay {
        padding: 22px;
    }


    .highlight-overlay h2 {
        font-size: 1.2rem;
    }


    .highlight-overlay p {
        font-size: 0.82rem;
    }

}


/* REDUCED MOTION */

@media (prefers-reduced-motion: reduce) {

    .highlights-track {
        animation: none;
    }

}

/* =========================================================
   RECENT HIGHLIGHTS / ACTIVITIES
========================================================= */

.activities-section {
    padding: 100px 0;
    overflow: hidden;
    background:
        radial-gradient(
            circle at top center,
            rgba(0, 229, 255, 0.08),
            transparent 45%
        );
}

.activities-events-timeline {
    height: 420px;
    max-width: 900px;
    margin: 0 auto;
    overflow: hidden;
    padding: 10px 20px 25px;
    position: relative;
}

.activities-events-track {
    display: flex;
    flex-direction: column;
    gap: 20px;
    animation: activitiesEventsScroll 24s linear infinite;
}

.activities-events-section:hover .activities-events-track {
    animation-play-state: paused;
}

.activity-event-card {
    display: flex;
    flex-shrink: 0;
    min-height: 180px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    background: #111827;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.activity-event-image {
    width: 280px;
    min-width: 280px;
    object-fit: cover;
}

.activity-event-content {
    padding: 28px;
    text-align: left;
}

.activity-event-title {
    margin: 0 0 12px;
    color: #fff;
    font-size: 1.35rem;
    line-height: 1.35;
}

.activity-event-description {
    margin: 0;
    color: #9ca3af;
    font-size: 0.95rem;
    line-height: 1.6;
}

@keyframes activitiesEventsScroll {
    from {
        transform: translateY(0);
    }

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


.activities-header {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 50px;
    padding: 0 20px;
}


.activities-eyebrow {
    color: #00e5ff;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 12px;
}


.activities-subtitle {
    color: #a7b0c0;
    font-size: 1rem;
    line-height: 1.7;
}


.activities-marquee {
    width: 100%;
    overflow: hidden;
    position: relative;
}


.activities-track {
    display: flex;
    gap: 30px;
    width: max-content;
    animation: activitiesScroll 35s linear infinite;
    padding: 10px 0 25px;
}


/* PAUSE ON HOVER */

.activities-marquee:hover .activities-track {
    animation-play-state: paused;
}


/* ACTIVITY CARD */

.activity-card {
    width: 350px;
    min-width: 350px;
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    background: #111827;
    border: 1px solid rgba(255, 255, 255, 0.08);
    text-decoration: none;
    color: inherit;
    display: block;
    cursor: pointer;
    transition:
        transform 0.4s ease,
        box-shadow 0.4s ease,
        border-color 0.4s ease;
}


.activity-card:hover {
    transform: translateY(-12px);
    border-color: rgba(0, 229, 255, 0.6);
    box-shadow:
        0 25px 60px rgba(0, 229, 255, 0.16);
}


/* IMAGE */

.activity-image-wrapper {
    height: 230px;
    overflow: hidden;
    position: relative;
}


.activity-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition:
        transform 0.6s ease,
        filter 0.6s ease;
}


.activity-card:hover .activity-image {
    transform: scale(1.1);
    filter: brightness(0.7);
}


/* HOVER OVERLAY */

.activity-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;

    opacity: 0;

    background:
        linear-gradient(
            to top,
            rgba(6, 12, 24, 0.9),
            rgba(6, 12, 24, 0.15)
        );

    transition: opacity 0.4s ease;
}


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


.activity-read-more {
    padding: 12px 24px;
    border-radius: 999px;

    background: rgba(255, 255, 255, 0.95);
    color: #111827;

    font-weight: 700;
    font-size: 0.9rem;

    transform: translateY(15px);

    transition: transform 0.4s ease;
}


.activity-card:hover .activity-read-more {
    transform: translateY(0);
}


/* CONTENT */

.activity-content {
    padding: 22px;
}


.activity-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 10px;
}


.activity-description {
    color: #9ca3af;
    font-size: 0.92rem;
    line-height: 1.6;

    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;

    overflow: hidden;
}


/* DATE */

.activity-date {
    margin-top: 18px;

    color: #00e5ff;
    font-size: 0.8rem;
    font-weight: 600;
}


/* LOADING */

.activities-loading {
    width: 100vw;
    text-align: center;
    color: #9ca3af;
    padding: 50px;
}


/* INFINITE SCROLL */

@keyframes activitiesScroll {

    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }

}


/* MOBILE */

@media screen and (max-width: 700px) {

    .activities-section {
        padding: 70px 0;
    }


    .activity-card {
        width: 280px;
        min-width: 280px;
    }


    .activity-image-wrapper {
        height: 190px;
    }


    .activities-track {
        gap: 20px;
        animation-duration: 25s;
    }

    .activities-events-timeline {
        height: 360px;
        padding: 10px 16px 20px;
    }

    .activity-event-card {
        display: block;
    }

    .activity-event-image {
        width: 100%;
        min-width: 0;
        height: 170px;
    }

    .activity-event-content {
        padding: 20px;
    }

    .activity-event-title {
        font-size: 1.15rem;
    }

    .activity-event-description {
        font-size: 0.88rem;
    }

}

/* =========================================================
   FINAL PROJECT CARD / TECH STACK FIX
   ========================================================= */

.projects-track {
    align-items: stretch;
}

.project-card {
    display: flex !important;
    flex-direction: column !important;
    height: auto !important;
    min-height: 100% !important;
    min-width: 0 !important;
}

.project-content {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    width: 100% !important;
    flex: 1 1 auto !important;
    min-width: 0 !important;
}

.project-tech-stack {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    align-items: center !important;
    width: 100% !important;
    min-height: 64px !important;
    gap: 8px !important;
    margin: 18px 0 !important;
    position: relative !important;
    z-index: 2 !important;
}

.project-tech-stack span {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: relative !important;
    z-index: 3 !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.project-brief {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

.project-btn {
    margin-top: 4px !important;
}