* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body{
    background-color: #1a1a1a;
}



.header {
background: #680112;
 position: fixed;
 top: 0;
 left: 0;
 width: 100%;
 padding: 20px 100px;
 display: flex;
 justify-content: space-between;
 align-items: center;
 z-index: 99;
}

.logo {
    font-size: 25px;
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    cursor: default;
    opacity: 0;
    animation: slideRight 1s ease forwards;
}

.navbar a {
    display: inline-block;
    font-size: 18px;
    color: #1f242d;
    text-decoration: none;
    font-weight: 500;
    margin-left: 35px;
    transition: .3s;
    opacity: 0;
    animation: slideTop .5s ease forwards;
    animation-delay: calc(.2s * var(--i));
}

.navbar a:hover,
.navbar a.active {
    color: #f0f0f0;
}


.home {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 70px 10% 0;
    
}

.home-img img {
    width: 300px;               
    height: 300px;               
    border-radius: 50%;          
    object-fit: cover;           
    margin-right: 100px;
    opacity: 0;
    animation: zoomIn .1s ease forwards, floatImage 4s ease-in-out infinite;
    animation-delay: 2s, 3s;
}


.home-content {
    max-width: 600px;
    color: #fff;
}

.home-content h3 {
    font-size: 32px;
    font-weight: 700;
    opacity: 0;
    animation: slideBottom .1s ease forwards;
    animation-delay: .7s;
}

.home-content h3:nth-of-type(2) {
    margin-bottom: 30px;
    animation: slideTop .1s ease forwards;
    animation-delay: .7s;
}

.home-content h3 span {
    color: #8a061c;
    
}

.home-content h1 {
    font-size: 56px;
    font-weight: 700;
    margin: -3px 0;
    opacity: 0;
    animation: slideLeft .1s ease forwards;
    animation-delay: 1s;
}

.home-content p {
    font-size: 16px;
    opacity: 0;
    animation: slideRight .1s ease forwards;
    animation-delay: 1s;
}


.social-media a {
    position: relative;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.05); /* glass background */
    border: none;
    border-radius: 50%;
    font-size: 20px;
    color: #ffffff;
    text-decoration: none;
    margin: 30px 15px 30px 0;
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    box-shadow:
        inset 0 0 6px rgba(255, 255, 255, 0.1),
        0 0 15px rgba(161, 0, 17, 0.6); /* external red glow */
    overflow: hidden;
    transition: all 0.3s ease;
    opacity: 0;
    animation: slideLeft 0.1s ease forwards;
    animation-delay: calc(.2s * var(--i));
}

/* Enhanced glowing circular red ring */
.social-media a::before {
    content: "";
    position: absolute;
    inset: -3px; /* slight oversize for ring */
    border-radius: 50%;
    padding: 3px;
    background: conic-gradient(from 0deg, #ff0033, #ff1a4d, #a10011);
    mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    mask-composite: exclude;
    -webkit-mask-composite: destination-out;
    filter: blur(4px); 
    opacity: 0.9;
    z-index: 0;
    pointer-events: none;
}


.social-media a > * {
    position: relative;
    z-index: 1;
}


.social-media a:hover {
    transform: scale(1.08);
    background: rgba(161, 0, 17, 0.07);
    box-shadow:
        0 0 25px rgba(161, 0, 17, 0.75),
        inset 0 0 6px rgba(255, 255, 255, 0.15);
}



.btn {
    position: relative;
    display: inline-block;
    padding: 12px 28px;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 1px;
    color: #ffffff;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.05); /* glassy look */
    border: none;
    border-radius: 40px;
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    box-shadow:
        inset 0 0 6px rgba(255, 255, 255, 0.1),
        0 0 15px rgba(161, 0, 17, 0.6); /* strong external red glow */

    overflow: hidden;
    transition: all 0.3s ease;
    opacity: 0;
    animation: slideTop 0.1s ease forwards;
    animation-delay: 2s;
}


.btn::before {
    content: "";
    position: absolute;
    inset: -3px; 
    border-radius: 40px;
    padding: 3px;
    background: linear-gradient(135deg, #ff0033, #ff1a4d, #a10011);
    mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    mask-composite: exclude;
    -webkit-mask-composite: destination-out;
    filter: blur(4px); 
    opacity: 0.9; 
    z-index: 0;
    pointer-events: none;
}


.btn > * {
    position: relative;
    z-index: 1;
}


.btn:hover {
    background: rgba(161, 0, 17, 0.1);
    transform: scale(1.04);
    box-shadow:
        0 0 30px rgba(161, 0, 17, 0.8),
        inset 0 0 6px rgba(255, 255, 255, 0.15);
}


/* RESPONSIVE STYLES */

@media (max-width: 1024px) {
    .header {
        padding: 20px 50px;
    }

    .home {
        padding: 70px 5%;
    }

    .home-img img {
        width: 250px;
        height: 250px;
        margin-right: 50px;
    }

    .home-content h1 {
        font-size: 48px;
    }

    .home-content h3 {
        font-size: 28px;
    }
}


@media (max-width: 768px) {
    .header {
        flex-direction: column;
        align-items: flex-start;
        padding: 15px 30px;
    }

    .navbar {
        margin-top: 15px;
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
    }

    .navbar a {
        margin-left: 0;
        font-size: 16px;
    }

    .home {
        flex-direction: column;
        text-align: center;
        padding: 120px 5% 30px;
        height: auto;
    }

    .home-img {
        margin-top: 30px;
    }

    .home-img img {
        width: 200px;
        height: 200px;
        margin-right: 0;
    }

    .home-content {
        max-width: 100%;
    }

    .home-content h1 {
        font-size: 36px;
    }

    .home-content h3 {
        font-size: 24px;
    }

    .home-content p {
        font-size: 14px;
    }

    .social-media {
        justify-content: center;
    }

    .btn {
        padding: 10px 24px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .home-content h1 {
        font-size: 30px;
    }

    .home-content h3 {
        font-size: 20px;
    }

    .home-content p {
        font-size: 13px;
    }

    .home-img img {
        width: 180px;
        height: 180px;
    }

    .btn {
        padding: 10px 20px;
        font-size: 13px;
    }

    .navbar {
        flex-direction: column;
        gap: 8px;
    }
}




/*KEYFRAMES ANIMATION*/

@keyframes slideRight {
    0% {
        transform: translateX(-100px);
        opacity: 0;
    }

    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideLeft {
    0% {
        transform: translateX(100px);
        opacity: 0;
    }

    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideTop {
    0% {
        transform: translateY(100px);
        opacity: 0;
    }

    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes slideBottom {
    0% {
        transform: translateY(-100px);
        opacity: 0;
    }

    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes zoomIn {
    0% {
        transform: scale(0);
        opacity: 0;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes floatImage {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-24px);
    }

    100% {
        transform: translateY(0);
    }
}