﻿@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600;700;800;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Raleway:ital,wght@0,100..900;1,100..900&family=Rubik+Glitch&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
    scroll-behavior: smooth;
}

:root {
    /*Navigation Colors*/
    --nav-bg: #840016;
    --secondary: #d4a373;
    --txt-color: white;
}

::-webkit-scrollbar {
    width: 0;
}

html {
    scrollbar-width: none;
}

.navbar {
    background-color: white;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 1000;
}

.navbar-brand .flareLogo {
    height: 80px;
    width: 80px;
    transition: all 0.3s ease;
    letter-spacing: 1px;
    margin: -15px 0;
    object-fit: cover;
}

    .navbar-brand .flareLogo:hover {
        color: #5e0010;
        transform: scale(1.05);
    }

.navbar-menu {
    display: flex;
    gap: 2rem;
}

    .navbar-menu a {
        color: #333;
        text-decoration: none;
        font-weight: 500;
        transition: all 0.3s ease;
        position: relative;
        text-align: center;
        padding: 0.5rem 0;
    }

        .navbar-menu a::before {
            content: '';
            position: absolute;
            width: 100%;
            height: 2px;
            bottom: 0;
            left: 0;
            background-color: #840016;
            visibility: hidden;
            transform: scaleX(0);
            transition: all 0.3s ease-in-out;
        }

        .navbar-menu a:hover {
            color: #840016;
        }

            .navbar-menu a:hover::before {
                visibility: visible;
                transform: scaleX(1);
            }

.navbar-account {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 2.5em;
    color: #840016;
    transition: all 0.3s ease;
    padding: 0 0.6rem;
    border-radius: 20%;
    margin-left: -7px;
    padding-top: 10px;
    transition: all 0.3s ease;
}

    .navbar-account:hover {
        color: #5e0010;
        background-color: rgba(132, 0, 22, 0.1);
    }

.navbar-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    transition: all 0.3s ease;
}

    .navbar-toggle:hover {
        transform: scale(1.1);
    }

.navbar-toggle-icon {
    display: block;
    width: 30px;
    height: 3px;
    background-color: #840016;
    position: relative;
    transition: all 0.3s ease-in-out;
}

    .navbar-toggle-icon::before,
    .navbar-toggle-icon::after {
        content: '';
        position: absolute;
        width: 30px;
        height: 3px;
        background-color: #840016;
        transition: all 0.3s ease-in-out;
    }

    .navbar-toggle-icon::before {
        transform: translateY(-10px);
    }

    .navbar-toggle-icon::after {
        transform: translateY(10px);
    }

.navbar-toggle.active .navbar-toggle-icon {
    background-color: transparent;
}

    .navbar-toggle.active .navbar-toggle-icon::before {
        transform: rotate(45deg);
    }

    .navbar-toggle.active .navbar-toggle-icon::after {
        transform: rotate(-45deg);
    }

@media (max-width: 768px) {
    .navbar-brand .flareLogo {
        margin-left: 0;
        font-size: 3rem;
        transform: translateY(0px);
    }

    .navbar-menu {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: white;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        clip-path: circle(0% at 100% 0);
        transition: clip-path 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    }

        .navbar-menu.active {
            clip-path: circle(150% at 100% 0);
        }

        .navbar-menu a {
            font-size: 1.2rem;
            opacity: 0;
            transform: translateY(20px);
            transition: all 0.5s ease;
        }

        .navbar-menu.active a {
            opacity: 1;
            transform: translateY(0);
        }

            .navbar-menu.active a:nth-child(1) {
                transition-delay: 0.2s;
            }

            .navbar-menu.active a:nth-child(2) {
                transition-delay: 0.3s;
            }

            .navbar-menu.active a:nth-child(3) {
                transition-delay: 0.4s;
            }

            .navbar-menu.active a:nth-child(4) {
                transition-delay: 0.5s;
            }

            .navbar-menu.active a:nth-child(5) {
                transition-delay: 0.6s;
            }

    .navbar-toggle {
        display: block;
    }


    .navbar-account {
        padding-top: 15px;
    }
}

@media (max-width: 380px) {
    .navbar-brand {
        font-size: 2rem;
    }

    .navbar-account {
        padding-top: 7px;
    }
}

.no-scroll {
    overflow: hidden;
}

.navbar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(132, 0, 22, 0.05), rgba(255, 255, 255, 0.1));
    z-index: -1;
}

@keyframes backgroundAnimation {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

@keyframes gradientFlow {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

@keyframes borderPulse {
    0% {
        transform: translate(-50%, -50%) scale(0.8);
        opacity: 1;
    }

    100% {
        transform: translate(-50%, -50%) scale(1.6);
        opacity: 0;
    }
}

@keyframes textGlow {
    0%, 100% {
        text-shadow: 0 0 10px rgba(255,255,255,0.3);
    }

    50% {
        text-shadow: 0 0 20px rgba(255,255,255,0.7);
    }
}

.home-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: linear-gradient(-45deg, #840016, #d4a373, #ff6b6b, #4ecdc4);
    background-size: 400% 400%;
    color: white;
    padding: 2rem;
    animation: gradientFlow 15s ease infinite;
    overflow: hidden;
}

#particles-js {
    height: 100%;
    width: 100%;
    overflow: hidden;
    position: absolute;
}

.section-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(0,0,0,0.2), rgba(0,0,0,0.6));
    z-index: 1;
}

.geometric-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0.2;
}

.geometric-shape {
    position: absolute;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.1);
}

.logo-container {
    position: relative;
    z-index: 2;
    display: inline-block; 
    /*clip-path: ellipse(50% 70%);*/
}

    .logo-container::before,
    .logo-container::after {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 300px; 
        height: 300px;
        border: 3px solid rgba(255, 255, 255, 1);
        border-radius: 50%;
        z-index: 1; 
        animation: borderPulse 1.5s ease-out infinite;
    }

    .logo-container::after {
        width: 320px; 
        height: 320px;
        border: 3px solid rgba(255, 255, 255, 0.5);
        animation: borderPulse 1.5s ease-out infinite 0.75s;
    }

.logo {
    width: 250px;
    height: 250px;
    object-fit: contain;
    border-radius: 50%;
    border: 6px solid rgba(255,255,255,0.3);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    transition: all 0.5s ease;
}

    .logo:hover {
        transform: scale(1.05) rotateY(20deg);
    }

.title {
    font-size: 5rem;
    font-weight: 900;
    letter-spacing: 3px;
    margin-bottom: 1rem;
    text-transform: uppercase;
    animation: textGlow 3s infinite alternate;
    position: relative;
    z-index: 2;
}

.subtitle {
    font-size: 1.5rem;
    max-width: 700px;
    margin: 0 auto 2.5rem;
    opacity: 0.9;
    font-weight: 300;
    letter-spacing: 1px;
    position: relative;
    z-index: 2;
}

.action-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    position: relative;
    z-index: 2;
}

.btn {
    background: rgba(255,255,255,0.2);
    color: white;
    border: 2px solid rgba(255,255,255,0.3);
    padding: 15px 35px;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    backdrop-filter: blur(10px);
    font-size: inherit;
    position: relative;
    overflow: hidden;
}

    .btn::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(120deg, transparent, rgba(255,255,255,0.1), transparent);
        transition: all 0.5s;
    }

    .btn:hover::before {
        left: 100%;
    }

    .btn:hover {
        transform: scale(1.1) rotate(-2deg);
        box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    }

@media screen and (max-width: 768px) {
    .title {
        font-size: 3rem;
    }

    .subtitle {
        font-size: 1rem;
    }

    .logo {
        width: 180px;
        height: 180px;
    }

}

@media screen and (max-width: 415px) {
    .btn {
        padding: 10px 25px;
        font-size: 18px;
    }
}

@media screen and (max-width: 406px) {
    .btn {
        padding: 10px 25px;
        font-size: inherit;
    }
}

@media screen and (max-width: 380px) {
    .btn {
        padding: 10px 25px;
        font-size: 14px;
    }
}

@keyframes fadeInSlide {
    from {
        opacity: 0;
        transform: translateX(30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

#about {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 100vh;
    padding: 4rem 6rem;
    background: linear-gradient(135deg, var(--nav-bg), var(--secondary));
    color: white;
    position: relative;
    overflow: hidden;
}

.about-txt {
    flex: 1;
    padding-right: 2rem;
    position: relative;
    z-index: 2;
}

.aboutCard {
    opacity 0;
    transition: all 0.5s ease;
    transform: translateX(50px);
}

    .aboutCard.visible {
        animation: fadeInSlide 1s ease forwards;
    }

    .about-txt h3 {
        font-size: 5rem;
        font-weight: 900;
        margin-bottom: 1.5rem;
        letter-spacing: -2px;
        text-transform: uppercase;
        position: relative;
        display: inline-block;
        opacity: 0;
    }

        .about-txt h3::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            height: 4px;
            background: white;
            transform: scaleX(0);
            transform-origin: right;
            transition: transform 0.5s ease;
        }

        .about-txt h3:hover::after {
            transform: scaleX(1);
            transform-origin: left;
        }

.about-txt p {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    padding: 2rem;
    font-size: 1.1rem;
    font-weight: 300;
    line-height: 1.8;
    text-align: justify;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    position: relative;
    overflow: hidden;
    opacity: 0;
}

        .about-txt p::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(45deg, rgba(255,255,255,0.05), transparent);
            transform: skewX(-15deg);
        }

.olshcoInside {
    flex: 1;
    max-width: 50%;
    height: 570px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.4);
    filter: brightness(0.7) contrast(1);
    transition: all 0.5s ease;
    position: relative;
    z-index: 1;
    opacity: 0;
}

    .olshcoInside:hover {
        transform: scale(1.02);
        filter: brightness(1) contrast(1.3);
    }

@media screen and (max-width: 1024px) {
    #about {
        flex-direction: column;
        padding: 2rem;
    }

    .about-txt {
        padding-right: 0;
        margin-bottom: 2rem;
    }

    .olshcoInside {
        max-width: 100%;
        height: 400px;
    }
}

@media screen and (max-width: 768px) {
    #about {
        padding: 2rem 1rem;
    }

    .about-txt h3 {
        font-size: 3rem;
        text-align: center;
        width: 100%;
    }

    .about-txt p {
        font-size: 1rem;
        padding: 1rem;
    }
}

#recite {
    width: 100%;
    padding: 4rem 2rem;
    background: linear-gradient(-135deg, var(--secondary), var(--nav-bg));
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.recitePanel {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.reciteCard {
    background: white;
    border-radius: 15px;
    padding: 3rem;
    width: 400px;
    min-height: 500px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.5s ease;
}

    .reciteCard:hover {
        transform: scale(1.05);
        box-shadow: 0 0 10px white;
        outline: 2px solid white;
        outline-offset: 10px;
    }

    .reciteCard.visible {
        animation: slideInUp 0.7s ease forwards;
    }

    .reciteCard .bxs-quote-left,
    .reciteCard .bxs-quote-right {
        position: absolute;
        color: rgba(132,0,22,0.1);
        font-size: 3rem;
        transition: all 0.5s ease;
    }

    .reciteCard:hover .bxs-quote-left,
    .reciteCard:hover .bxs-quote-right {
        color: var(--nav-bg); 
        text-shadow: 0 0 5px white;
    }

.bxs-quote-left {
    top: 10px;
    left: 10px;
}

.bxs-quote-right {
    bottom: 10px;
    right: 10px;
}

.reciteCard h5 {
    font-size: 2rem;
    color: var(--nav-bg);
    margin-bottom: 1rem;
    text-align: center;
    position: relative;
    z-index: 1;
    transition: color 0.3s ease;
}

.reciteCard:hover h5 {
    color: var(--secondary);
}

.reciteCard p {
    color: var(--text-color);
    margin-bottom: 1rem;
    line-height: 1.6;
    position: relative;
    z-index: 1;
    transition: opacity 0.3s ease;
    /*text-align-last: center;*/
    font-size: 1.2rem;
}

.reciteCard:hover p {
    opacity: 0.8;
}

.reciteCard ul {
    list-style-type: none;
    color: var(--text-color);
    line-height: 1.6;
    position: relative;
    z-index: 1;
    font-size: 1.2rem;
}

@media screen and (max-width: 1024px) {
    .recitePanel {
        flex-direction: column;
        align-items: center;
    }

    .reciteCard {
        width: 100%;
        max-width: 500px;
    }
}

@media screen and (max-width: 768px) {
    #recite {
        padding: 3rem 1rem;
    }
}

@media screen and (max-width: 380px) {
    .reciteCard {
        padding: 3rem 2rem;
    }
}

:root {
    --primary-color: rgba(240, 0, 0, 0.8);
    --content-max-width: 90vw;
    --title-size-desktop: 6rem;
    --title-size-tablet: 4rem;
    --title-size-mobile: 2.5rem;
    --desc-size-desktop: 1.125rem;
    --desc-size-tablet: 1rem;
    --desc-size-mobile: 0.875rem;
}

.carousel {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

    .carousel .list {
        position: relative;
        width: 100%;
        height: 100%;
    }

    .carousel .item {
        position: absolute;
        width: 100%;
        height: 100%;
        background-size: cover;
        background-position: center;
        opacity: 0; 
        visibility: hidden;
        transform: translateX(-30px);
        transition: opacity 0.5s ease, visibility 0.5s ease, transform 0.5s ease;
    }

        .carousel .item.active {
            opacity: 1;
            visibility: visible; 
            transform: translateX(0); 
        }

    .carousel .content {
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        padding: 40px;
        background: linear-gradient(transparent, rgba(0, 0, 0, 1));
        color: white;
        transform: translateY(100%); 
        opacity: 0;
        transition: transform 0.5s ease, opacity 0.5s ease;
    }

    .carousel .item.active .content {
        transform: translateY(0);
        opacity: 1; 
    }

        .carousel .item.active .content .name {
            animation: fadeInC 0.6s ease forwards; 
        }

        .carousel .item.active .content .des {
            animation: fadeInC 0.8s ease forwards; 
        }

@keyframes fadeInC {
    0% {
        opacity: 0;
        visibility: hidden;
        transform: translateY(10px); 
    }

    100% {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
}

    .carousel .title {
        font-size: 2.5rem;
        margin-bottom: 0.5rem;
        text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    }

    .carousel .name {
        font-size: 1.8rem;
        margin-bottom: 1rem;
        font-weight: 900;
        color: #f0f0f0;
    }

    .carousel .des {
        font-size: 1.1rem;
        line-height: 1.6;
        max-width: 800px;
    }

    .carousel .arrows {
        position: absolute;
        top: 50%;
        left: 0;
        right: 0;
        transform: translateY(-50%);
        display: flex;
        justify-content: space-between;
        padding: 0 20px;
        z-index: 100;
    }

        .carousel .arrows button {
            width: 50px;
            height: 50px;
            border-radius: 20%;
            background: linear-gradient(145deg, rgba(255,255,255,0.9), rgba(255,255,255,0.7));
            border: none;
            font-size: 24px;
            cursor: pointer;
            transition: all 0.5s ease;
            display: flex;
            align-items: center;
            justify-content: center;
            position: relative;
            overflow: hidden;
        }

            .carousel .arrows button:hover {
                background: var(--nav-bg);
                color: white;
                transform: scale(1.1);
            }

.ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.8); 
    transform: scale(0); 
    animation: rippleEffect 0.6s ease-out;
    pointer-events: none;
    z-index: 9;
}

@keyframes rippleEffect {
    0% {
        transform: scale(0);
        opacity: 0.8;
    }

    50% {
        opacity: 0.4;
    }

    100% {
        transform: scale(2);
        opacity: 0;
    }
}

    .carousel .timeRunning {
        position: absolute;
        bottom: 0;
        left: 0;
        width: 0;
        height: 3px;
        background: #fff;
        transition: width 0.1s linear;
    }

@media (max-width: 768px) {
    .carousel {
        height: 400px;
        background-image: url('../Tinapay/olshcologo-removebg-preview.png');
    }

        .carousel .title {
            font-size: 1.8rem;
        }

        .carousel .name {
            font-size: 1.4rem;
        }

        .carousel .des {
            font-size: 1rem;
        }

        .carousel .arrows button {
            width: 40px;
            height: 40px;
            font-size: 20px;
        }
}

#services {
    background: linear-gradient(-135deg, var(--nav-bg), var(--secondary));
    min-height: 100vh;
    padding: 4rem 2rem;
    text-align: center;
}

    #services h2 {
        color: white;
        margin-bottom: 3rem;
        padding-bottom: 1.5rem;
        font-size: 5rem;
        position: relative;
        font-weight: 800;
    }

        #services h2::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            height: 4px;
            background: white;
            transform: scaleX(0);
            transform-origin: right;
            transition: transform 0.5s ease;
        }

        #services h2:hover::after {
            transform: scaleX(1);
            transform-origin: left;
        }

.serviceContainer {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}

.serveCard {
    background: white;
    width: 450px;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.5s ease, opacity 1s cubic-bezier(0.5, 0, 0, 1), transform 1s cubic-bezier(0.5, 0, 0, 1);
    text-align: center;
    transform: translateY(0);
    opacity: 0;
}

    .serveCard:hover {
        transform: translateY(-15px);
        box-shadow: 0 0 10px white;
        outline: 2px solid white;
        outline-offset: 10px;
    }

    .serveCard.visible {
        animation: slideInUp 0.7s ease forwards;
    }

    .serveCard i {
        font-size: 3rem;
        margin-bottom: 1rem;
        color: var(--nav-bg);
        transition: all 0.5s ease;s
    }

    .serveCard:hover i {
        font-size: 5rem;
        
    }

    .serveCard h5 {
        color: black;
        margin-bottom: 1rem;
        font-size: 1.5rem;
    }

    .serveCard p {
        color: black;
        line-height: 1.6;
    }

@media screen and (max-width: 1024px) {
    .serviceContainer {
        flex-direction: column;
        align-items: center;
    }

    .serveCard {
        width: 100%;
        max-width: 500px;
    }
}

@media screen and (max-width: 768px) {
    #services {
        padding: 2rem 1rem;
    }

    #services h2 {
        font-size: 3rem;
        margin-bottom: 1.3rem;
        padding-bottom: 0;
    }
}

#location {
    background: linear-gradient(135deg, var(--secondary), var(--nav-bg));
    min-height: 100vh;
    padding: 4rem 2rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

    #location .locationText {
        margin-bottom: 3rem;
    }

    #location h3 {
        color: white;
        font-size: 5rem;
        font-weight: 800;
        position: relative;
        margin-bottom: 1rem;
    }

        #location h3::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            height: 4px;
            background: white;
            transform: scaleX(0);
            transform-origin: right;
            transition: transform 0.5s ease;
        }

        #location h3:hover::after {
            transform: scaleX(1);
            transform-origin: left;
        }

    #location p {
        color: white;
        font-size: 1.2rem;
    }

.mapContainer {
    width: 100%;
    max-width: 1050px;
    padding: 1rem;
    border-radius: 20px;
    outline: 3px solid white;
    outline-offset: 10px;
}

.gmaps {
    width: 100%;
    height: 500px;
    border: 0;
    border-radius: 15px;
    box-shadow: 0 0 10px white;
    transition: all 0.5s ease;

}

    .gmaps:hover {
        transform: scale(1.02);
        box-shadow: 0 0 20px rgba(255,255,255,0.3);
    }

@media screen and (max-width: 1024px) {
    #location h3 {
        font-size: 3rem;
    }
}

@media screen and (max-width: 600px) {
    #location {
        padding: 2rem 1rem;
    }

        #location h3 {
            font-size: 2rem;
            padding-bottom: 0.7rem;
        }

    .mapContainer {
        padding: 0.2rem;
    }
}

footer {
    background: white;
    color: var(--nav-bg);
    padding: 4rem 2rem 2rem;
    position: relative;
    overflow: hidden;
}

.footer-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.1);
    z-index: 1;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    position: relative;
    z-index: 2;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

    .footer-logo img {
        width: 80px;
        height: 80px;
        border-radius: 50%;
        object-fit: cover;
    }

    .footer-logo p {
        width: 70%;
    }

.footer-section h3 {
    position: relative;
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

    .footer-section h3::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 50px;
        height: 3px;
        background: var(--secondary);
    }

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

    .social-links a {
        color: var(--nav-bg);
        font-size: 1.5rem;
        transition: all 0.3s ease;
        text-decoration: none;
    }

        .social-links a:hover {
            transform: translateY(-5px);
            color: var(--secondary);
        }

.contact-info a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    text-decoration: none;
    color: var(--nav-bg);
    transition: all 0.3s ease;
}

.contact-info i {
    color: var(--secondary);
}

.quick-links ul {
    list-style: none;
}

    .quick-links ul li {
        margin-bottom: 0.5rem;
    }

        .quick-links ul li a {
            color: var(--nav-bg);
            text-decoration: none;
            transition: color 0.3s ease;
        }

            .quick-links ul li a:hover, .contact-info a:hover {
                color: var(--secondary);
            }

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    margin-top: 2rem;
    z-index: 100;
    position: relative;
}

.github-link {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--secondary);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 25px rgba(0,0,0,0.2);
    transition: all 0.5s ease, opacity 0.7s ease-in-out;
    text-decoration: none;
    pointer-events: none;
    opacity: 0;
    z-index: 100;
    overflow: hidden;
}

    .github-link:hover {
        transform: scale(1.1) rotate(360deg);
        background: var(--nav-bg);
        box-shadow: 0 0 35px rgba(0,0,0,0.5);
    }

@media screen and (max-width: 1024px) {
    .footer-container {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
}

@media screen and (max-width: 768px) {
    .footer-logo p {
        width: 100%;
    }
}

@media screen and (max-width: 680px) {
    .footer-container {
        grid-template-columns: 1fr;
    }
}

.members {
    position: relative;
    color: #840016;
    text-decoration: none;
    margin: 0 4px;
    font-weight: bold;
    transition: all 0.3s ease;
    position: relative;
    padding: 2px 8px;
    overflow: hidden;
    cursor: pointer;
}

    .members::before,
    .members::after {
        content: '';
        position: absolute;
        pointer-events: none;
    }

    .members::before {
        width: 100%;
        height: 2px;
        bottom: -2px;
        left: 0;
        background: linear-gradient(90deg, transparent, #840016, transparent);
        animation: shimmer-line 2s infinite;
    }

    .members::after {
        width: 4px;
        height: 4px;
        border-radius: 50%;
        background: #840016;
        bottom: -3px;
        left: 50%;
        transform: translateX(-50%);
        box-shadow: 0 0 6px #840016;
        animation: pulse-dot 2s infinite;
    }

    .members span {
        display: inline-block;
        transition: transform 0.3s ease, color 0.3s ease;
    }

    .members .shine {
        position: absolute;
        top: 0;
        left: -100%;
        width: 50%;
        height: 100%;
        background: linear-gradient( 90deg, transparent, rgba(255, 255, 255, 0.4), transparent );
        pointer-events: none;
        transition: all 0.5s ease;
        opacity: 0;
    }

    .members .letter {
        display: inline-block;
        transform: translateY(0);
        transition: all 0.3s ease;
    }

    .members:hover {
        color: #ff3333;
        text-shadow: 0 0 5px rgba(255, 51, 51, 0.3);
        transform: translateY(-1px);
    }

        .members:hover .letter:nth-child(odd) {
            transform: translateY(-1px);
            color: #ff5e5e;
        }

        .members:hover .letter:nth-child(even) {
            transform: translateY(1px);
            color: #ff3333;
        }

        .members:hover::before {
            background: linear-gradient(90deg, transparent, #ff3333, transparent);
            animation: shimmer-line 1s infinite;
            height: 3px;
        }

        .members:hover::after {
            background: #ff3333;
            box-shadow: 0 0 12px #ff3333;
            animation: pulse-dot 0.8s infinite;
            width: 6px;
            height: 6px;
        }

@keyframes shimmer-line {
    0% {
        background-position: -100% 0;
    }

    100% {
        background-position: 200% 0;
    }
}

@keyframes pulse-dot {
    0%, 100% {
        transform: translateX(-50%) scale(1);
        opacity: 1;
    }

    50% {
        transform: translateX(-50%) scale(1.5);
        opacity: 0.7;
    }
}

@keyframes shine {
    0% {
        transform: translateX(-200%) rotate(25deg);
        opacity: 0.5;
    }

    100% {
        transform: translateX(200%) rotate(25deg);
        opacity: 0;
    }
}
