@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Bubbler+One&family=Gravitas+One&family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=MedievalSharp&family=Merriweather:ital,opsz,wght@0,18..144,300..900;1,18..144,300..900&family=Petrona:ital,wght@0,100..900;1,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Petrona:ital,wght@0,100..900;1,100..900&display=swap');

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    border: none;
    outline: none;
    font-family: 'Poppins', sans-serif;
}

html{
    font-size: 62.5%;
    scroll-behavior: smooth;
}

body{
    width: 100%;
    height: 100vh;
    overflow-x: hidden;
    background-color: black;
    color: white;
}

header{
    margin-top: 20px;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1rem 9%;
    background-color: transparent;
    filter: drop-shadow(10px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
}

.logo{
    font-family:'Times New Roman', Times, serif;
    font-size: 2.9rem;
    font-weight: 500;
    letter-spacing: 0.12rem;
    color: #b74b4b;
    text-decoration: none;
}
.logo{
    text-shadow: 0 0 6px rgba(183,75,75,0.35);
}

/* Cursor */
.cursor{
    display: inline-block;
    margin-left: 2px;
    animation: blink 1s infinite;
    color: #b74b4b;
}

/* Blink animation */
@keyframes blink{
    0%, 50%, 100% { opacity: 1; }
    25%, 75% { opacity: 0; }
}


.logo:hover{
    transform: scale(1.1);
}

nav a{
    font-size: 1.8rem;
    color: white;
    margin-left: 4rem;
    font-weight: 500;
    transition: 0.3s ease;
    border-bottom: 3px solid transparent;
}

nav a:hover,
nav a.active{
    color: #b74b4b;
    border-bottom: 3px solid #b74b4b;
}

@media(max-width:995px){
    nav{
        position: absolute;
        display: none;
        top: 0;
        right: 0;
        width: 40%;
        border-left: 3px solid #b74b4b;
        border-bottom: 3px solid #b74b4b;
        border-bottom-left-radius: 2rem;
        padding: 1rem solid;
        background-color: #161616;
        border-top: 0.1rem solid rgba(0,0,0,0.1);
    }

    nav.active{
        display: block;
    }

    nav a{
        display: block;
        font-size: 2rem;
        margin: 3rem 0;
    }

    nav a:hover,
    nav a.active{
        padding: 1rem;
        border-radius: 0.5rem;
        border-bottom: 0.5rem solid #b74b4b;
    }
}

section{
    min-height: 100vh;
    padding: 5rem 9% 5rem;
    position: relative;
    transition: background 0.8s ease;
}

.home{
    min-height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8rem;
    position: relative;
    overflow: hidden;
    background: #000;
    perspective: 1500px;
}

.home::before,
.home::after{
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: radial-gradient(
        circle,
        rgba(183, 75, 75, 0.45),
        rgba(183, 75, 75, 0.15),
        transparent 65%
    );
    filter: blur(120px);
    animation: moveBlob 14s infinite alternate ease-in-out;
    z-index: 0;
}

/* Top-left blob */
.home::before{
    top: -250px;
    left: -250px;
}

/* Bottom-right blob */
.home::after{
    bottom: -250px;
    right: -250px;
    animation-delay: 7s;
}
@keyframes moveBlob{
    0%{
        transform: translate(0, 0) scale(1);
    }
    33%{
        transform: translate(120px, 80px) scale(1.15);
    }
    66%{
        transform: translate(-80px, 120px) scale(0.95);
    }
    100%{
        transform: translate(60px, -60px) scale(1.1);
    }
}
.home{
    perspective: 1200px;
}

.home::before{
    transform-origin: center;
}

.home::after{
    transform-origin: center;
}
.home > *{
    position: relative;
    z-index: 2;
}


.home .home-content h1{
    font-size: 6rem;
    font-weight: 700;
    line-height: 1.3;
}

span{
    color: #b74b4b;
}

.home-content h3{
    font-size: 4rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.home-content p{
    font-size: 1.6rem;
}

.home-img{
    border-radius: 70%;
    margin-top: 10px;
    padding-top: 5%;
}

.home-img img{
    position: relative;
    width: 32vw;
    border-radius: 10%;
    box-shadow: 0 0 25px solid #b74b4b;
    cursor: pointer;
    transition: 0.2s linear;
}

.home-img img:hover{
    font-size: 1.8rem;
    font-weight: 500;
}

.social-icons a{
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 4rem;
    height: 4rem;
    background-color: transparent;
    border: 0.2rem solid #b74b4b;
    font-size: 2rem;
    border-radius: 50%;
    margin: 3rem 1.5rem 3rem 0;
    transition: 0.3s ease;
    color: #b74b4b;
}

.social-icons a:hover{
    color: black;
    transform: scale(1.3) translateY(-5px);
    background-color: #b74b4b;
    box-shadow: 0  0 25px #b74b4b;
}

.btn{
    display: inline-block;
    padding: 1rem 2.8rem;
    background-color: black;
    border-radius: 4rem;
    font-size: 1.6rem;
    color: #b74b4b;
    letter-spacing: 0.3rem;
    font-weight: 600;
    border: 2px solid #b74b4b;
    transition: 0.3s ease;
    cursor: pointer;
}

.btn:hover{
    transform: scale3d(1.03);
    background-color: #b74b4b;
    color: black;
    box-shadow: 0 0 25px #b74b4b;
}

.typing-text{
    font-size: 50px;
    font-weight: 600;
    min-width: 280px;
}

.typing-text span{
    position: relative;
}

.typing-text span::before{
    content: "software Developer";
    color: #b74b4b;
    animation: words 20s infinite;
}

.typing-text span::after{
    content: "";
    background-color: black;
    position: absolute;
    width: calc(100% + 8px);
    height: 100%;
    border-left: 3px solid black;
    right: -8;
    animation: cursor 0.6s infinite;
}
.logo-icon{
  color:green; /* or your accent color */
  margin-right: 6px;
  animation: pulse 2s infinite ease-in-out;
  text-shadow:
    0 0 4px white,
    0 0 8px yellow;

  transition: text-shadow 0.5s smooth ease-in-out;

}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.15); }
  100% { transform: scale(1); }
}


@keyframes cursor{
    to{
        border-left: 3px solid #b74b4b;
    }
}

@keyframes words{
    0%, 20%{
        content: "BCA Student";
    }
    21%, 40%{
        content: "Bug Wrestler";
    }
    41%, 60%{
        content: "Web Developer";
    }
    61%, 80%{
        content: "Content Writer";
    }
    81%, 100%{
        content: "GenAI Learner";
    }
}

@media (max-width: 1000px){
    .home{
        gap: 4rem;
    }
}

@media(max-width:995px){
    .home{
        flex-direction: column;
        /* margin: 5rem 4rem; */
    }

    .home .home-content h3{
        font-size: 2.5rem;
    }

    .home-content h1{
        font-size: 5rem;
    }

    .home-img img{
        width: 70vw;
        margin-top: 4rem;
    }
}
.services{
    min-height: 100vh;
    padding: 8rem 9%;
    background: radial-gradient(
        circle at top left,
        rgba(183, 75, 75, 0.25),
        transparent 40%
    ),
    radial-gradient(
        circle at bottom right,
        rgba(183, 75, 75, 0.15),
        transparent 45%
    ),
    #000;
    animation: gradientMove 10s ease-in-out infinite alternate;
    perspective: 1200px;
}
@keyframes gradientMove {
    0% {
        background-position: 0% 0%, 100% 100%;
    }
    100% {
        background-position: 10% 10%, 90% 90%;
    }
}
.section-title{
    text-align: center;
    font-size: 4.5rem;
    margin-bottom: 6rem;
    font-weight: 700;
    color: white;
}

.section-title span{
    color: #b74b4b;
}
.services-container{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 4rem;
}

.service-card{
    background: rgba(15, 15, 15, 0.85);
    border-radius: 2rem;
    padding: 4rem 3rem;
    text-align: center;
    transform-style: preserve-3d;
    transition: 0.4s ease;
    border: 1px solid rgba(183, 75, 75, 0.25);
    box-shadow:
        0 15px 40px rgba(0,0,0,0.6);
        cursor: pointer;
}
.service-card:hover{
    transform: translateY(-12px) scale(1.02);
    box-shadow:
        0 0 25px rgba(183, 75, 75, 0.6),
        0 0 50px rgba(183, 75, 75, 0.3);
}
.service-card i{
    font-size: 4rem;
    color: #b74b4b;
    margin-bottom: 2rem;
    text-shadow:
        0 0 10px rgba(183, 75, 75, 0.8);
}

.service-card h3{
    font-size: 2.4rem;
    margin-bottom: 1rem;
    color: white;
}

.service-card p{
    font-size: 1.5rem;
    color: #cfcfcf;
    line-height: 1.6;
}
.reveal{
    opacity: 0;
    transform: translateY(60px);
    transition: 1s ease;
}

.reveal.active{
    opacity: 1;
    transform: translateY(0);
}
.home::before,
.home::after{
    content: "";
    position: absolute;
    width: 800px;
    height: 800px;
    background: radial-gradient(
        circle,
        rgba(183,75,75,0.45),
        rgba(183,75,75,0.15),
        transparent 65%
    );
    filter: blur(140px);
    animation: meshMove 16s infinite alternate ease-in-out;
    z-index: 0;
}

.home::before{
    top: -300px;
    left: -300px;
}

.home::after{
    bottom: -300px;
    right: -300px;
    animation-delay: 8s;
}
@keyframes meshMove{
    0%{ transform: translate(0,0) scale(1); }
    50%{ transform: translate(160px,120px) scale(1.2); }
    100%{ transform: translate(-120px,-100px) scale(1); }
}
.home::marker{ display: none; } /* safety */

.home::after{
    pointer-events: none;
}
.home::selection{ background: transparent; }
.home,
.services{
    position: relative;
    overflow: hidden;
}
.section-divider{
    height: 120px;
    background: linear-gradient(
        to bottom,
        rgba(0,0,0,0),
        #000
    );
}
section{
    scroll-margin-top: 110px; /* match header height */
}

.home::selection{ background: transparent; }

.home::after{
    mask-image: linear-gradient(
        to bottom,
        black 80%,
        transparent 100%
    );
}
.skills{
    min-height: 100vh;
    padding: 8rem 9%;
    background: radial-gradient(
        circle at top right,
        rgba(183,75,75,0.18),
        transparent 40%
    ),
    #000;
}

.skills-container{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 4rem;
}

.skill-card{
    background: rgba(15,15,15,0.9);
    border-radius: 2.5rem;
    padding: 4.5rem 4rem;   /* ⬅ bigger cards */
    text-align: center;
    border: 1px solid rgba(183,75,75,0.25);
    cursor: pointer;

    /* PERFORMANCE */
    will-change: transform;
    transform: scale(1);
    transition:
        transform 0.25s ease-out,
        box-shadow 0.25s ease-out,
        filter 0.25s ease-out;
}


.skill-card:hover,
.skill-card.active{
    transform: translateY(-10px);
    box-shadow:
        0 0 25px rgba(183,75,75,0.6),
        0 0 50px rgba(183,75,75,0.35);
}
.skills{
    min-height: 100vh;
    padding: 8rem 9%;
    position: relative;
    overflow: hidden;
    background: #000;
    perspective: 1200px;
}
.skills::before,
.skills::after{
    content: "";
    position: absolute;
    inset: -50%;
    background: linear-gradient(
        120deg,
        rgba(183,75,75,0.35),
        rgba(183,75,75,0.15),
        rgba(0,0,0,0.9),
        rgba(183,75,75,0.25)
    );
    background-size: 300% 300%;
    animation: gradient3DMove 18s linear infinite;
    transform-origin: center;
    z-index: 0;
}.skills{
    min-height: 100vh;
    padding: 8rem 9%;
    position: relative;
    overflow: hidden;
    background: #000;
}

/* SINGLE LIGHTWEIGHT 3D LAYER */
.skills::before{
    content: "";
    position: absolute;
    width: 120%;
    height: 120%;
    top: -10%;
    left: -10%;
    background: linear-gradient(
        120deg,
        rgba(183,75,75,0.35),
        rgba(0,0,0,0.9),
        rgba(183,75,75,0.25)
    );
    animation: skillsFloat 18s linear infinite;
    transform: translateZ(0);
    will-change: transform;
    z-index: 0;
}
keyframes gradient3DMove{
    0%{
        background-position: 0% 50%;
        transform: rotateZ(0deg);
    }
    50%{
        background-position: 100% 50%;
        transform: rotateZ(180deg);
    }
    100%{
        background-position: 0% 50%;
        transform: rotateZ(360deg);
    }
}
.skills > *{
    position: relative;
    z-index: 2;
}
.skills-container:has(.skill-card.active) .skill-card:not(.active){
    transform: scale(0.92);
    filter: brightness(0.75);
}
.skill-desc{
    font-size: 1.5rem;
    color: #ccc;

    max-height: 0;
    opacity: 0;
    overflow: hidden;

    transform: translateY(10px);
    transition:
        max-height 0.25s ease-out,
        opacity 0.2s ease-out,
        transform 0.2s ease-out;
}
.skill-card.active .skill-desc{
    max-height: 160px;
    opacity: 1;
    transform: translateY(0);
    margin-top: 1.5rem;
}
.skill-card i{
    font-size: 4.8rem;   /* ⬅ bigger icon */
    color: #b74b4b;
    margin-bottom: 2rem;
    transition: transform 0.2s ease-out, text-shadow 0.2s ease-out;
}

.skill-card.active i{
    transform: scale(1.2);
    text-shadow: 0 0 18px rgba(183,75,75,1);
}

.education{
    min-height: 100vh;
    padding: 8rem 9%;
    position: relative;
    overflow: hidden;
    background: #000;
}
.education::before,
.education::after{
    content: "";
    position: absolute;
    inset: -30%;
    background: linear-gradient(
        120deg,
        rgba(183,75,75,0.28),
        rgba(0,0,0,0.85),
        rgba(183,75,75,0.22)
    );
    background-size: 200% 200%;
    will-change: transform;
    animation: eduFloat 18s linear infinite;
    z-index: 0;
}
.education::before{
    filter: blur(40px);
}

.education::after{
    filter: blur(70px);
    animation-duration: 28s;
}

.education::before{
    filter: blur(80px);
}

.education::after{
    filter: blur(140px);
    animation-duration: 35s;
}

@keyframes eduGradient{
    0%{ background-position: 0% 50%; transform: rotate(0deg); }
    50%{ background-position: 100% 50%; transform: rotate(180deg); }
    100%{ background-position: 0% 50%; transform: rotate(360deg); }
}
.education > *{
    position: relative;
    z-index: 2;
}
.education-container{
    display: flex;
    flex-direction: column;
    gap: 5rem;
}
.edu-card{
    display: flex;
    gap: 4rem;
    align-items: center;
    background: rgba(15,15,15,0.9);
    border-radius: 2.5rem;
    padding: 4rem;
    border: 1px solid rgba(183,75,75,0.25);
    cursor: pointer;

    /* ✅ SHADOW */
    box-shadow:
        0 10px 30px rgba(0,0,0,0.6),
        0 0 20px rgba(183,75,75,0.15);

    will-change: transform;
    transition: transform 0.25s ease-out, box-shadow 0.25s ease-out;
}



.edu-card:nth-child(even){
    flex-direction: row-reverse;
}
.edu-card:hover{
    transform: translate3d(0,-8px,0);
}

.edu-img{
    flex: 1;
}

.edu-img img{
    width: 100%;
    border-radius: 2rem;
    transition: transform 0.25s ease-out, box-shadow 0.25s ease-out;
    transform: scale(1);
}

.edu-content{
    flex: 2;
}

.edu-content h3{
    font-size: 2.6rem;
    margin-bottom: 0.5rem;
}

.edu-year{
    display: inline-block;
    font-size: 1.4rem;
    color: #b74b4b;
    margin-bottom: 1.5rem;
}

.edu-content p{
    font-size: 1.6rem;
    line-height: 1.7;
    color: #ccc;
}
@media(max-width: 900px){
    .edu-card{
        flex-direction: column !important;
        text-align: center;
    }
}
@keyframes eduFloat{
    0%{
        transform: translate3d(0,0,0) rotate(0deg);
    }
    50%{
        transform: translate3d(80px,60px,0) rotate(180deg);
    }
    100%{
        transform: translate3d(0,0,0) rotate(360deg);
    }
}
.edu-title{
    font-size: 2.6rem;
    transition: color 0.25s ease-out, text-shadow 0.25s ease-out;
}

.edu-card.active .edu-title{
    color: #b74b4b;
    text-shadow: 0 0 10px rgba(183,75,75,0.6);
}
.edu-card.active{
    transform: translateY(-8px);
}
.projects{
    min-height: 100vh;
    padding: 8rem 9%;
    position: relative;
    overflow: hidden;
    background: #000;
}
.projects::before{
    content: "";
    position: absolute;
    width: 120%;
    height: 120%;
    top: -10%;
    left: -10%;
    background: linear-gradient(
        130deg,
        rgba(183,75,75,0.28),
        rgba(0,0,0,0.9),
        rgba(183,75,75,0.22)
    );
    animation: projectFloat 20s linear infinite;
    transform: translateZ(0);
    will-change: transform;
    z-index: 0;
}

@keyframes projectFloat{
    0%{ transform: translate3d(0,0,0) rotate(0deg); }
    50%{ transform: translate3d(50px,40px,0) rotate(180deg); }
    100%{ transform: translate3d(0,0,0) rotate(360deg); }
}
.projects > *{
    position: relative;
    z-index: 2;
}
.project-card{
    background: rgba(15,15,15,0.9);
    border-radius: 2.5rem;
    padding: 4rem;
    border: 1px solid rgba(183,75,75,0.25);
    transition: transform 0.25s ease-out, box-shadow 0.25s ease-out;
    will-change: transform;
}
.project-card:hover{
    transform: translate3d(0,-8px,0);
    box-shadow:
        0 0 30px rgba(183,75,75,0.6),
        0 0 60px rgba(183,75,75,0.35);
}
.project-card h3{
    font-size: 2.4rem;
    margin-bottom: 0.6rem;
}

.project-tech{
    display: inline-block;
    font-size: 1.3rem;
    color: #b74b4b;
    margin-bottom: 1.5rem;
}

.project-card p{
    font-size: 1.5rem;
    line-height: 1.7;
    color: #ccc;
}
.edu-card:hover,
.edu-card.active{
    box-shadow:
        0 15px 40px rgba(0,0,0,0.7),
        0 0 35px rgba(183,75,75,0.4);
}
/* ===================== CERTIFICATIONS SECTION ===================== */

.certifications{
    min-height: 100vh;
    padding: 8rem 9%;
    position: relative;
    overflow: hidden;
    background: #000;
}

/* ---------- 3D CIRCULAR MOVING BACKGROUND (LIGHTWEIGHT) ---------- */
.certifications::before{
    content: "";
    position: absolute;
    width: 150%;
    height: 150%;
    top: -25%;
    left: -25%;
    background: conic-gradient(
        from 0deg,
        rgba(183,75,75,0.35),
        rgba(0,0,0,0.9),
        rgba(183,75,75,0.25),
        rgba(0,0,0,0.9),
        rgba(183,75,75,0.35)
    );
    animation: certRotate 32s linear infinite;
    transform: translateZ(0);
    will-change: transform;
    z-index: 0;
}

/* GPU-only animation */
@keyframes certRotate{
    0%{ transform: rotate(0deg); }
    100%{ transform: rotate(360deg); }
}

/* Keep content above background */
.certifications > *{
    position: relative;
    z-index: 2;
}

/* ---------- CERT CONTAINER ---------- */
.cert-container{
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

/* ---------- CERT CARD ---------- */
.cert-card{
    display: flex;
    gap: 3rem;
    align-items: center;

    background: rgba(15,15,15,0.9);
    border-radius: 2.5rem;
    padding: 3.5rem 4rem;
    border: 1px solid rgba(183,75,75,0.25);

    box-shadow:
        0 10px 30px rgba(0,0,0,0.6),
        0 0 20px rgba(183,75,75,0.15);

    cursor: pointer;
    will-change: transform;
    transition:
        transform 0.25s ease-out,
        box-shadow 0.25s ease-out;
}

/* ---------- HOVER / ACTIVE INTERACTION ---------- */
.cert-card:hover,
.cert-card.active{
    transform: translate3d(0,-8px,0);
    box-shadow:
        0 0 35px rgba(183,75,75,0.6),
        0 0 70px rgba(183,75,75,0.35);
}

/* ---------- CERT IMAGE ---------- */
.cert-img img{
    width: 110px;
    height: auto;
    border-radius: 1.5rem;
    box-shadow: 0 0 20px rgba(0,0,0,0.6);
    transition: transform 0.25s ease-out;
}

/* Slight emphasis when active */
.cert-card.active .cert-img img{
    transform: scale(1.08);
}

/* ---------- CERT CONTENT ---------- */
.cert-content h3{
    font-size: 2.4rem;
    margin-bottom: 0.4rem;
}

.cert-org{
    display: inline-block;
    font-size: 1.3rem;
    color: #b74b4b;
    margin-bottom: 1.2rem;
}

.cert-content p{
    font-size: 1.5rem;
    line-height: 1.7;
    color: #ccc;
}

/* Skills line */
.cert-skills{
    margin-top: 1rem;
    font-size: 1.3rem;
    color: #aaa;
}

/* ---------- RESPONSIVE ---------- */
@media(max-width: 900px){
    .cert-card{
        flex-direction: column;
        text-align: center;
    }

    .cert-img img{
        width: 90px;
    }
}
.cert-link{
    display: inline-block;
    margin-top: 1.4rem;
    padding: 0.8rem 1.8rem;

    font-size: 1.3rem;
    font-weight: 500;
    color: #b74b4b;

    border: 1px solid rgba(183,75,75,0.5);
    border-radius: 2rem;

    transition: all 0.25s ease;
}

.cert-link:hover{
    background: #b74b4b;
    color: #000;
    box-shadow: 0 0 15px rgba(183,75,75,0.6);
}
/* ===================== CONTACT SECTION ===================== */

/* ================= CONTACT SECTION ================= */

.contact{
    min-height: 100vh;
    padding: 8rem 9%;
    position: relative;
    overflow: hidden;
    background: #000;
}

/* ---- Animated ambient background (fills blank space) ---- */
.contact::before{
    content: "";
    position: absolute;
    inset: -30%;
    background:
        radial-gradient(circle at 20% 30%, rgba(183,75,75,0.28), transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(183,75,75,0.22), transparent 45%),
        linear-gradient(120deg, rgba(183,75,75,0.18), transparent 60%);
    animation: contactAmbient 22s linear infinite;
    z-index: 0;
}

@keyframes contactAmbient{
    0%{ transform: translate(0,0) rotate(0deg); }
    50%{ transform: translate(40px,-30px) rotate(180deg); }
    100%{ transform: translate(0,0) rotate(360deg); }
}

/* keep content above background */
.contact > *{
    position: relative;
    z-index: 2;
}

/* ================= CONTACT CARDS WRAPPER ================= */

.contact-cards{
    max-width: 1100px;
    margin: 0 auto;
    padding: 5rem;
    border-radius: 3rem;
    text-align: center;

    background: rgba(255,255,255,0.03);
    backdrop-filter: blur(8px);

    box-shadow:
        inset 0 0 40px rgba(183,75,75,0.08),
        0 20px 60px rgba(0,0,0,0.7);

    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 3.5rem;
}

/* ================= SECTION HEADING ================= */

.contact-head{
    grid-column: 1 / -1;
    font-size: 4.2rem;
    margin-bottom: 2rem;
}

.contact-head span{
    color: #b74b4b;
}

/* ================= INDIVIDUAL CONTACT CARD ================= */

.contact-card{
    background: rgba(15,15,15,0.9);
    border-radius: 2.4rem;
    padding: 4rem 3rem;

    border: 1px solid rgba(183,75,75,0.25);

    box-shadow:
        0 12px 30px rgba(0,0,0,0.6),
        0 0 20px rgba(183,75,75,0.15);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

/* hover interaction */
.contact-card:hover{
    transform: translateY(-10px);
    box-shadow:
        0 0 40px rgba(183,75,75,0.6),
        0 0 80px rgba(183,75,75,0.35);
}

/* ================= ICON ================= */

.contact-card i{
    font-size: 3.8rem;
    color: #b74b4b;
    margin-bottom: 1.5rem;
}

/* ================= TITLE ================= */

.contact-card h3{
    font-size: 2rem;
    margin-bottom: 0.8rem;
}

/* ================= TEXT ================= */

.contact-card p{
    font-size: 1.4rem;
    color: #ccc;
    word-break: break-word;
}

/* ================= MOBILE TWEAK ================= */

@media(max-width: 600px){
    .contact-cards{
        padding: 3rem;
    }

    .contact-head{
        font-size: 3.2rem;
    }
}
@media (max-width: 100px){
    .home::before,
    .home::after{
        width: 100%;
        height: 100%;
        filter: blur(60px);
        animation: none;
        opacity: 0.6;
    }
}
@media (max-width: 100px){
    .home-img img{
        width: 80vw;
        max-width: 280px;
    }
}
@media (max-width: 100px){
    .home{
        gap: 3rem;
    }
}
