﻿ 
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}
.container {
    max-width: 1000px;
    margin: 100px auto;
    display: flex;
    flex-wrap: wrap;
    background-color: transparent;
    justify-content: space-around;

}

.card {
    position: relative;
    margin: 60px 0 0 20px;
    width: 570px;
    height: 550px;
    background: #fff;
    transform-style: preserve-3d;
    transform: perspective(2000px);
    transition: 1s;
    box-shadow: inset 100px 0 50px rgba(0,0,0,0.5);
}

    .card:hover {
        z-index: 1111;
        transform: perspective(2000px) rotate(-10deg);
        box-shadow: inset 20px 0 50px rgba(0,0,0,0.5);
    }

    .card .img-container {
        position: relative;
        width: 100%;
        height: 100%;
        border: 1px solid #000;
        box-sizing: border-box;
        transform-origin: left;
        z-index: 1;
        transition: 1s;
    }

        .card .img-container img {
            position: absolute;
            left: 0;
            top: 0;
            height: 100%;
            width: 100%;
            object-fit: cover;
        }

    .card:hover .img-container {
        transform: rotateY(-135deg);
       
    }

    .card .card-details {
        position: absolute;
        left: 0;
        top: 0;
        box-sizing: border-box;
        padding: 20px;
        color: darkblue;
    }

        .card .card-details h2 {
            margin: 0;
            padding: 0.5em 0;
            text-transform: uppercase;
            font-size: 2em;
            color: darkblue;
            font-family: 'Microsoft Himalaya';
            font-size: 32px;
        }

        .card .card-details p {
            margin: 0;
            line-height: 30px;
            font-size: 1.1em;
            color: darkblue;
            font-family: 'Microsoft Himalaya';
            font-size: 28px;
            padding: 0;
        }

.neon-text {
    font-size: 30px;
    color: red;
    text-shadow: 0 0 5px #ff005e, 0 0 10px #ff005e, 0 0 20px #ff005e, 0 0 40px #ff005e, 0 0 80px #ff005e;
    animation: glow 1.5s infinite alternate;
      
}
    /*.neon-text:hover {
        animation-play-state: paused;*/ /* Pauses the animation at its current frame */
    /*}*/
@keyframes glow {
    0% {
        text-shadow: 0 0 5px #f6ff00, 0 0 10px #f6ff00, 0 0 20px #f6ff00, 0 0 40px #f6ff00, 0 0 80px #f6ff00;
        font-size:25px;
    }

    100% {
        text-shadow: 0 0 10px #00d4ff, 0 0 20px #00d4ff, 0 0 40px #00d4ff, 0 0 80px #00d4ff, 0 0 160px #00d4ff;
        font-size: 32px;
    }
}



/* ================= NAVBAR ================= */
/* ================= NAVBAR ================= */
.navbar {
    position: sticky;
    top: 0;
    background: rgba(245,245,220,0.95);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    box-shadow: 0 6px 22px rgba(0,0,0,0.12);
    z-index: 9999;
    will-change: transform;
}

/* INNER */
.nav-inner {
    max-width: 1300px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
}

/* LOGO */
.logo img {
    height: 56px;
}

/* ================= DESKTOP MENUS ================= */
.nav-menu-left,
.nav-menu-right {
    display: flex;
    list-style: none;
    gap: 10px;
    margin: 0;
    padding: 0;
}

    /* LINK STYLE */
    .nav-menu-left li a,
    .nav-menu-right li a {
        position: relative;
        padding: 10px 18px;
        color: #000080;
        font-weight: 600;
        text-decoration: none;
        border-radius: 40px;
        transition: background 0.3s ease, box-shadow 0.3s ease;
        -webkit-tap-highlight-color: transparent;
    }

/* HOVER (Desktop only) */
@media (hover: hover) {
    .nav-menu-left li a:hover,
    .nav-menu-right li a:hover {
        background: linear-gradient(135deg,#ffcc00,#ffd966);
        color: #000;
        box-shadow: 0 6px 18px rgba(255,204,0,0.4);
    }
}

/* ACTIVE */
.nav-menu-left li a.active,
.nav-menu-right li a.active {
    background: #ffcc00;
    color: #000;
}

/* ================= HAMBURGER ================= */
.hamburger {
    display: none;
    font-size: 30px;
    background: none;
    border: none;
    cursor: pointer;
    color: #000080;
}

/* ================= MOBILE ================= */
@media (max-width: 768px) {

    .hamburger {
        display: block;
    }

    .nav-menu-left,
    .nav-menu-right {
        position: fixed;
        left: 0;
        width: 100%;
        background: rgba(245,245,220,0.97);
        -webkit-backdrop-filter: blur(10px);
        backdrop-filter: blur(10px);
        flex-direction: column;
        align-items: center;
        overflow: hidden;
        /* SAFARI SAFE ANIMATION */
        height: 0;
        opacity: 0;
        transition: height 0.4s ease, opacity 0.3s ease;
    }

    .nav-menu-right {
        top: 76px;
    }

    .nav-menu-left {
        top: 280px;
    }

        .nav-menu-left.open,
        .nav-menu-right.open {
            height: auto;
            opacity: 1;
            padding-bottom: 20px;
        }

        .nav-menu-left li,
        .nav-menu-right li {
            width: 100%;
            text-align: center;
        }

            .nav-menu-left li a,
            .nav-menu-right li a {
                width: 100%;
                margin: 8px auto;
                padding: 10px;
                font-size: 17px;
                background: #fff;
                border-radius: 30px;
                box-shadow: 0 4px 12px rgba(0,0,0,0.08);
            }

                /* Touch feedback */
                .nav-menu-left li a:active,
                .nav-menu-right li a:active {
                    background: #ffcc00;
                    color: #000;
                }
}

.bodyy {
    height: 100%;
    background-repeat: no-repeat;
    background-size: cover;
    background-image: url("../Images/45.jpg");
    background-attachment: fixed;
    min-height: 100vh;
}