/* ======================================================
   GAURAV PORTFOLIO
   Design System Variables
   ====================================================== */

:root {

    /* ==================================================
       COLORS
       ================================================== */

    --clr-bg: #050505;
    --clr-bg-secondary: #0d0d0d;
    --clr-card: #121212;
    --clr-card-hover: #191919;

    --clr-primary: #e60039;
    --clr-primary-dark: #b80028;
    --clr-primary-light: #ff3366;

    --clr-white: #ffffff;
    --clr-text: #e2e2e2;
    --clr-text-light: #c8c8c8;

    --clr-border: rgba(255,255,255,.08);

    --clr-success: #00c853;
    --clr-warning: #ffb300;
    --clr-danger: #ff1744;



    /* ==================================================
       TYPOGRAPHY
       ================================================== */

    --font-heading: "Poppins", sans-serif;
    --font-body: "Inter", sans-serif;

    --fw-light: 300;
    --fw-regular: 400;
    --fw-medium: 500;
    --fw-semibold: 600;
    --fw-bold: 700;
    --fw-extra-bold: 800;



    /* ==================================================
       FONT SIZE
       ================================================== */

    --fs-xs: .75rem;
    --fs-sm: .875rem;
    --fs-base: 1rem;
    --fs-md: 1.125rem;
    --fs-lg: 1.5rem;
    --fs-xl: 2rem;
    --fs-2xl: 3rem;
    --fs-3xl: 4rem;
    --fs-hero: 5rem;



    /* ==================================================
       SPACING
       ================================================== */

    --space-xs: .5rem;
    --space-sm: .75rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 5rem;
    --space-section: 7rem;



    /* ==================================================
       BORDER RADIUS
       ================================================== */

    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-xl: 30px;
    --radius-round: 50px;



    /* ==================================================
       CONTAINER
       ================================================== */

    --container-width: 1200px;



    /* ==================================================
       SHADOWS
       ================================================== */

    --shadow-sm:
        0 5px 20px rgba(0,0,0,.25);

    --shadow-md:
        0 10px 30px rgba(0,0,0,.35);

    --shadow-lg:
        0 20px 50px rgba(0,0,0,.45);

    --shadow-red:
        0 0 20px rgba(255,45,85,.35);

    --shadow-red-lg:
        0 0 45px rgba(255,45,85,.45);



    /* ==================================================
       GLASS EFFECT
       ================================================== */

    --glass-bg:
        rgba(255,255,255,.04);

    --glass-border:
        rgba(255,255,255,.08);

    --glass-blur:
        blur(16px);



    /* ==================================================
       TRANSITIONS
       ================================================== */

    --transition-fast: .25s ease;

    --transition-normal: .35s ease;

    --transition-slow: .6s ease;



    /* ==================================================
       Z INDEX
       ================================================== */

    --z-loader: 99999;

    --z-cursor: 9999;

    --z-navbar: 1000;

    --z-dropdown: 900;

    --z-overlay: 800;

    --z-normal: 1;



    /* ==================================================
       SECTION
       ================================================== */

    --section-padding: 120px;



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

    --nav-height: 80px;



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

    --btn-height: 56px;



    /* ==================================================
       GRID
       ================================================== */

    --grid-gap: 30px;



    /* ==================================================
       BREAKPOINTS
       ================================================== */

    --desktop-large: 1400px;
    --desktop: 1200px;
    --laptop: 992px;
    --tablet: 768px;
    --mobile: 576px;
    --mobile-small: 400px;

}
/* ======================================================
   RESET CSS
   ====================================================== */

/* Box sizing */

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


/* Smooth Scrolling */

html {
    scroll-behavior: smooth;
}


/* Body */

body {
    min-height: 100vh;
    overflow-x: hidden;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}


/* Images */

img,
picture,
svg,
video,
canvas {
    display: block;
    max-width: 100%;
}


/* Forms */

input,
button,
textarea,
select {
    font: inherit;
    border: none;
    outline: none;
    background: none;
}


/* Buttons */

button {
    cursor: pointer;
}


/* Links */

a {
    text-decoration: none;
    color: inherit;
}


/* Lists */

ul,
ol {
    list-style: none;
}


/* Table */

table {
    border-collapse: collapse;
    border-spacing: 0;
}


/* Headings */

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: inherit;
}


/* Paragraph */

p {
    overflow-wrap: break-word;
}


/* Textarea */

textarea {
    resize: none;
}


/* Input Placeholder */

input::placeholder,
textarea::placeholder {
    color: inherit;
}


/* Selection */

::selection {
    background: var(--clr-primary);
    color: var(--clr-white);
}
/* ======================================================
   GLOBAL STYLES
   ====================================================== */

/* ======================================================
   ACCESSIBILITY & FONT DISPLAY OPTIMIZATIONS
   ====================================================== */

@font-face {
    font-family: 'Font Awesome 6 Free';
    font-display: swap;
}

@font-face {
    font-family: 'Font Awesome 6 Brands';
    font-display: swap;
}

.visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

body{
    font-family: var(--font-body);
    background: var(--clr-bg);
    color: var(--clr-white);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* ======================================================
   ANIMATED BACKGROUND
   ====================================================== */

body::before{
    content: "";
    position: fixed;
    inset: 0;
    z-index: -2;

    background:
        radial-gradient(circle at 20% 20%, rgba(255,45,85,.12), transparent 25%),
        radial-gradient(circle at 80% 80%, rgba(255,45,85,.10), transparent 30%),
        radial-gradient(circle at 50% 10%, rgba(255,45,85,.06), transparent 35%);

    animation: backgroundMove 12s ease-in-out infinite alternate;
}

@keyframes backgroundMove{

    from{
        transform: translateY(0px);
    }

    to{
        transform: translateY(-40px);
    }

}

/* ======================================================
   GRID BACKGROUND
   ====================================================== */

body::after{

    content:"";

    position:fixed;

    inset:0;

    z-index:-3;

    background-image:

        linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),

        linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);

    background-size:60px 60px;

}

/* ======================================================
   CONTAINER
   ====================================================== */

.container{

    width:min(var(--container-width),90%);

    margin-inline:auto;

}

/* ======================================================
   SECTION
   ====================================================== */

.section{

    padding:var(--section-padding) 0;

}

.section-header{

    text-align:center;

    margin-bottom:80px;

}

.section-subtitle{

    color:var(--clr-primary);

    text-transform:uppercase;

    letter-spacing:3px;

    font-size:.9rem;

    font-weight:600;

}

.section-title{

    font-size:clamp(1.75rem,4vw,3rem);

    font-family:var(--font-heading);

    margin:12px 0;

}

.section-description{

    max-width:650px;

    margin:auto;

    color:var(--clr-text-light);

}

/* ======================================================
   BUTTONS
   ====================================================== */

.btn{

    display:inline-flex;

    align-items:center;

    justify-content:center;

    gap:10px;

    padding:15px 34px;

    border-radius:50px;

    font-weight:600;

    transition:var(--transition-normal);

    cursor:pointer;

    position:relative;

    overflow:hidden;

}

.btn-primary{

    background: #d80032;

    color: #ffffff;

    font-weight: 700;

    box-shadow: var(--shadow-red);

}

.btn-primary:hover{

    transform:translateY(-5px);

    background:var(--clr-primary-dark);

    box-shadow:var(--shadow-red-lg);

}

.btn-outline{

    border:1px solid var(--clr-border);

    color:white;

    backdrop-filter:blur(12px);

}

.btn-outline:hover{

    background:var(--clr-primary);

    border-color:var(--clr-primary);

}

.btn-secondary{

    background:transparent;

    border:2px solid var(--clr-primary);

    color:var(--clr-primary);

    backdrop-filter:blur(12px);

}

.btn-secondary:hover{

    background:var(--clr-primary);

    color:white;

    transform:translateY(-5px);

    box-shadow:var(--shadow-red);

}

/* ======================================================
   GLASS CARD
   ====================================================== */

.glass-card{

    background:var(--glass-bg);

    backdrop-filter:var(--glass-blur);

    -webkit-backdrop-filter:var(--glass-blur);

    border:1px solid var(--glass-border);

    border-radius:var(--radius-lg);

    transition:transform var(--transition-normal),
               border-color var(--transition-normal),
               box-shadow var(--transition-normal);

}

@media (max-width:768px){

    .glass-card{

        backdrop-filter:none;

        -webkit-backdrop-filter:none;

        background:rgba(255,255,255,.06);

    }

}

.glass-card:hover{

    transform:translateY(-8px);

    border-color:rgba(255,45,85,.4);

    box-shadow:var(--shadow-red);

}

/* ======================================================
   BADGES
   ====================================================== */

.badge{

    display:inline-flex;

    align-items:center;

    gap:8px;

    padding:10px 18px;

    border-radius:40px;

    border:1px solid var(--clr-border);

    background:rgba(255,255,255,.03);

    transition:var(--transition-fast);

}

.badge:hover{

    background:var(--clr-primary);

    transform:translateY(-4px);

}

/* ======================================================
   GRID SYSTEM
   ====================================================== */

.grid-2{

    display:grid;

    grid-template-columns:repeat(2,1fr);

    gap:40px;

}

.grid-3{

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:30px;

}

.grid-4{

    display:grid;

    grid-template-columns:repeat(4,1fr);

    gap:25px;

}

/* ======================================================
   FLEX
   ====================================================== */

.flex{

    display:flex;

}

.flex-center{

    display:flex;

    align-items:center;

    justify-content:center;

}

.flex-between{

    display:flex;

    align-items:center;

    justify-content:space-between;

}

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

.img-cover{

    width:100%;

    height:100%;

    object-fit:cover;

}

/* ======================================================
   TEXT
   ====================================================== */

.highlight{

    color:var(--clr-primary);

}

.text-center{

    text-align:center;

}

/* ======================================================
   ANIMATION
   ====================================================== */

.fade-up{

    opacity:0;

    transform:translateY(50px);

}

.show{

    opacity:1;

    transform:translateY(0);

    transition:.8s ease;

}

/* ======================================================
   SCROLLBAR
   ====================================================== */

::-webkit-scrollbar{

    width:8px;

}

::-webkit-scrollbar-track{

    background:#090909;

}

::-webkit-scrollbar-thumb{

    background:var(--clr-primary);

    border-radius:20px;

}

::-webkit-scrollbar-thumb:hover{

    background:var(--clr-primary-dark);

}

/* ======================================================
   SELECTION
   ====================================================== */

::selection{

    background:var(--clr-primary);

    color:white;

}

/* ======================================================
   ACCESSIBILITY
   ====================================================== */

.visually-hidden{

    position:absolute;

    width:1px;

    height:1px;

    padding:0;

    margin:-1px;

    overflow:hidden;

    clip:rect(0,0,0,0);

    white-space:nowrap;

    border:0;

}

.skip-link{

    position:absolute;

    top:-100%;

    left:1rem;

    z-index:calc(var(--z-loader) + 1);

    padding:12px 20px;

    background:var(--clr-primary);

    color:#fff;

    border-radius:var(--radius-sm);

    font-weight:600;

    transition:top .2s ease;

}

.skip-link:focus{

    top:1rem;

}

:focus-visible{

    outline:2px solid var(--clr-primary);

    outline-offset:3px;

}

:focus:not(:focus-visible){

    outline:none;

}

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

    *,
    *::before,
    *::after{

        animation-duration:.01ms !important;

        animation-iteration-count:1 !important;

        transition-duration:.01ms !important;

        scroll-behavior:auto !important;

    }

}
/* ==========================================
   NAVBAR
========================================== */

.header {

    position: fixed;
    top: 0;
    left: 0;

    width: 100%;

    z-index: var(--z-navbar);

    transition: var(--transition-normal);

}

/* Added when page scrolls */

.header.scrolled {

    background: rgba(12, 12, 12, 0.75);

    backdrop-filter: blur(18px);

    -webkit-backdrop-filter: blur(18px);

    border-bottom: 1px solid rgba(255,255,255,.08);

    box-shadow: 0 10px 40px rgba(0,0,0,.35);

}

/* ==========================================
   NAVBAR CONTAINER
========================================== */

.navbar {

    height: var(--nav-height);

    display: flex;

    align-items: center;

    justify-content: space-between;

}

/* ==========================================
   LOGO
========================================== */

.logo {

    font-family: var(--font-heading);

    font-size: 2rem;

    font-weight: 800;

    color: var(--clr-white);

    letter-spacing: 2px;

    transition: var(--transition-normal);

}

.logo span {

    color: var(--clr-primary);

}

.logo:hover {

    letter-spacing: 4px;

}

/* ==========================================
   NAV MENU
========================================== */

.nav-menu {

    display: flex;

    align-items: center;

    gap: 2rem;

}

.nav-link {

    position: relative;

    color: var(--clr-text);

    font-size: .95rem;

    font-weight: 500;

    transition: var(--transition-fast);

}

.nav-link:hover {

    color: var(--clr-white);

}

.nav-link::after {

    content: "";

    position: absolute;

    left: 0;
    bottom: -8px;

    width: 0;
    height: 2px;

    background: var(--clr-primary);

    transition: .35s ease;

}

.nav-link:hover::after,
.nav-link.active::after {

    width: 100%;

}

.nav-link.active {

    color: var(--clr-white);

}

/* ==========================================
   NAV BUTTON
========================================== */

.nav-btn {

    padding: 13px 28px;

    font-size: .95rem;

}

/* ==========================================
   HAMBURGER
========================================== */

.hamburger {

    display: none;

    width: 30px;

    height: 24px;

    cursor: pointer;

    position: relative;

    background: none;

    border: none;

    padding: 0;

}

.hamburger span {

    position: absolute;

    width: 100%;

    height: 3px;

    background: var(--clr-white);

    border-radius: 10px;

    transition: .35s ease;

}

.hamburger span:nth-child(1) {

    top: 0;

}

.hamburger span:nth-child(2) {

    top: 10px;

}

.hamburger span:nth-child(3) {

    bottom: 0;

}

/* ==========================================
   HAMBURGER ACTIVE
========================================== */

.hamburger.active span:nth-child(1) {

    transform: rotate(45deg);

    top: 10px;

}

.hamburger.active span:nth-child(2) {

    opacity: 0;

}

.hamburger.active span:nth-child(3) {

    transform: rotate(-45deg);

    bottom: 11px;

}

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

@media (max-width: 992px) {

    .hamburger {

        display: block;

        z-index: 1100;

    }

    .nav-btn {

        display: none;

    }

    .nav-menu {

        position: fixed;

        top: 0;
        right: -100%;

        width: 100%;
        height: 100vh;

        background: rgba(5,5,5,.96);

        backdrop-filter: blur(20px);

        display: flex;

        flex-direction: column;

        justify-content: center;

        align-items: center;

        gap: 2rem;

        transition: .45s ease;

    }

    .nav-menu.active {

        right: 0;

    }

    .nav-link {

        font-size: 1.3rem;

    }

}
/* ======================================================
   HERO SECTION
====================================================== */

.hero{

    min-height:100vh;

    display:flex;

    align-items:center;

    position:relative;

    overflow:hidden;

    padding-top:100px;

}

/* ======================================================
   CONTAINER
====================================================== */

.hero-container{

    display:grid;

    grid-template-columns:1.3fr .9fr;

    align-items:center;

    gap:70px;

}

/* ======================================================
   LEFT
====================================================== */

.hero-content{

    z-index:2;

}

.hero-subtitle{

    display:inline-block;

    color:var(--clr-primary);

    font-size:1rem;

    font-weight:600;

    letter-spacing:2px;

    margin-bottom:18px;

}

.hero-title{

    font-family:var(--font-heading);

    font-size:clamp(3.5rem,8vw,5.8rem);

    font-weight:800;

    line-height:1.05;

    margin-bottom:20px;

}

.hero-title span{

    color:var(--clr-primary);

}

.hero-role{

    font-size:1.7rem;

    font-weight:600;

    color:var(--clr-white);

    margin-bottom:25px;

}

.hero-role span{

    color:var(--clr-primary);

    margin:0 10px;

}

.hero-description{

    max-width:620px;

    color:var(--clr-text);

    font-size:1.1rem;

    line-height:1.9;

    margin-bottom:40px;

}

/* ======================================================
   BUTTONS
====================================================== */

.hero-buttons{

    display:flex;

    gap:20px;

    flex-wrap:wrap;

    margin-bottom:45px;

}

/* ======================================================
   SOCIAL
====================================================== */

.hero-social{

    display:flex;

    gap:18px;

}

.hero-social a{

    width:55px;

    height:55px;

    border-radius:50%;

    display:flex;

    justify-content:center;

    align-items:center;

    font-size:1.25rem;

    color:var(--clr-white);

    border:1px solid rgba(255,255,255,.1);

    background:rgba(255,255,255,.03);

    transition:.35s ease;

}

.hero-social a:hover{

    background:var(--clr-primary);

    transform:translateY(-8px);

    box-shadow:0 0 25px rgba(255,45,85,.45);

}

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

.hero-image{

    display:flex;

    justify-content:center;

    align-items:center;

    position:relative;

}

.image-wrapper{

    position:relative;

    width:430px;

    height:430px;

    border-radius:50%;

    display:flex;

    justify-content:center;

    align-items:center;

}

.image-wrapper img{

    width:100%;

    height:100%;

    object-fit:cover;

    border-radius:50%;

    border:5px solid rgba(255,255,255,.08);

    position:relative;

    z-index:3;

}

/* ======================================================
   GLOW
====================================================== */

.image-glow{

    position:absolute;

    width:470px;

    height:470px;

    border-radius:50%;

    background:

    radial-gradient(circle,
    rgba(255,45,85,.35) 0%,
    rgba(255,45,85,.12) 45%,
    transparent 72%);

    animation:glowPulse 5s ease-in-out infinite;

    will-change:transform,opacity;

}

@keyframes glowPulse{

    0%{

        transform:scale(.95);

        opacity:.7;

    }

    50%{

        transform:scale(1.08);

        opacity:1;

    }

    100%{

        transform:scale(.95);

        opacity:.7;

    }

}

/* ======================================================
   SCROLL INDICATOR
====================================================== */

.scroll-indicator{

    position:absolute;

    bottom:35px;

    left:50%;

    transform:translateX(-50%);

    width:34px;

    height:58px;

    border:2px solid rgba(255,255,255,.25);

    border-radius:40px;

    display:flex;

    justify-content:center;

    align-items:flex-start;

    padding-top:8px;

}

.scroll-indicator span{

    width:6px;

    height:12px;

    background:var(--clr-primary);

    border-radius:20px;

    animation:scrollDown 2s infinite;

}

@keyframes scrollDown{

    0%{

        transform:translateY(0);

        opacity:1;

    }

    100%{

        transform:translateY(22px);

        opacity:0;

    }

}

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

@media(max-width:992px){

    .hero{

        text-align:center;

        padding-top:150px;

    }

    .hero-container{

        grid-template-columns:1fr;

    }

    .hero-description{

        margin:auto auto 40px;

    }

    .hero-buttons{

        justify-content:center;

    }

    .hero-social{

        justify-content:center;

    }

    .hero-image{

        order:-1;

        margin-bottom:50px;

    }

    .image-wrapper{

        width:320px;

        height:320px;

    }

    .image-glow{

        width:360px;

        height:360px;

    }

}

@media(max-width:576px){

    .hero-title{

        font-size:3rem;

    }

    .hero-role{

        font-size:1.2rem;

    }

    .hero-description{

        font-size:1rem;

    }

    .image-wrapper{

        width:260px;

        height:260px;

    }

    .image-glow{

        width:300px;

        height:300px;

    }

}
/* ==========================================
   ABOUT SECTION
========================================== */

.about{
    position: relative;
    overflow: hidden;
}

/* Background Glow */

.about::before{
    content: "";
    position: absolute;
    top: -180px;
    right: -180px;

    width: 420px;
    height: 420px;

    border-radius: 50%;

    background: radial-gradient(circle,
    rgba(255,45,85,.14) 0%,
    rgba(255,45,85,.06) 45%,
    transparent 72%);

    pointer-events: none;

    z-index: -1;
}

/* ==========================================
   LAYOUT
========================================== */

.about-container{

    display: grid;

    grid-template-columns: 400px 1fr;

    gap: 70px;

    align-items: center;

}

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

.about-image{

    display: flex;

    justify-content: center;

}

.about-image-wrapper{

    position: relative;

    width: 360px;
    height: 360px;

    border-radius: 30px;

    overflow: hidden;

    background: var(--glass-bg);

    border: 1px solid var(--glass-border);

    box-shadow: var(--shadow-red);

    transition: .4s ease;

}

.about-image-wrapper:hover{

    transform: translateY(-10px);

    box-shadow: var(--shadow-red-lg);

}

.about-image-wrapper img{

    width: 100%;
    height: 100%;

    object-fit: cover;

}

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

.about-content h3{

    font-size: 2rem;

    margin-bottom: 25px;

    color: var(--clr-white);

}

.about-content p{

    color: var(--clr-text);

    margin-bottom: 18px;

    line-height: 1.9;

}

/* ==========================================
   QUICK HIGHLIGHTS
========================================== */

.about-highlights{

    display: grid;

    grid-template-columns: repeat(2,1fr);

    gap: 15px;

    margin: 40px 0;

}

.highlight-item{

    display: flex;

    align-items: center;

    gap: 12px;

    padding: 15px 18px;

    background: rgba(255,255,255,.03);

    border: 1px solid rgba(255,255,255,.06);

    border-radius: 14px;

    transition: .35s;

}

.highlight-item:hover{

    background: rgba(255,45,85,.08);

    transform: translateY(-5px);

}

.highlight-item i{

    color: var(--clr-primary);

    font-size: 1.1rem;

}

/* ==========================================
   STATS
========================================== */

.about-stats{

    display: grid;

    grid-template-columns: repeat(2,1fr);

    gap: 20px;

    margin-top: 40px;

}

.stat-card{

    padding: 30px;

    text-align: center;

    transition: .35s;

}

.stat-card:hover{

    transform: translateY(-8px);

}

.stat-card h2,
.stat-card .stat-number{

    font-size: 2.5rem;

    color: var(--clr-primary);

    font-weight: 700;

    margin-bottom: 10px;

    display: block;

}

.stat-card span{

    color: var(--clr-text-light);

    font-size: .95rem;

}

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

@media(max-width:992px){

    .about-container{

        grid-template-columns: 1fr;

        text-align: center;

    }

    .about-image{

        margin-bottom: 40px;

    }

    .about-highlights{

        grid-template-columns: 1fr;

    }

}

@media(max-width:576px){

    .about-image-wrapper{

        width: 280px;

        height: 280px;

    }

    .about-content h3{

        font-size: 1.7rem;

    }

    .about-stats{

        grid-template-columns: 1fr;

    }

}
/* ======================================================
   SKILLS SECTION
====================================================== */

.skills {
    position: relative;
    overflow: hidden;
}

/* Background Glow */

.skills::before {
    content: "";
    position: absolute;
    left: -220px;
    bottom: -220px;

    width: 500px;
    height: 500px;

    border-radius: 50%;

    background: radial-gradient(circle,
            rgba(255, 45, 85, .12),
            transparent 70%);

    filter: blur(60px);

    z-index: -1;
}

/* ======================================================
   GRID
====================================================== */

.skills-grid {

    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 35px;

}

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

.skill-card {

    position: relative;

    padding: 35px;

    border-radius: 22px;

    overflow: hidden;

    transition: .35s ease;

}

.skill-card::before {

    content: "";

    position: absolute;

    top: 0;
    left: 0;

    width: 100%;
    height: 4px;

    background: linear-gradient(90deg,
            var(--clr-primary),
            transparent);

}

.skill-card:hover {

    transform: translateY(-10px);

    box-shadow: var(--shadow-red-lg);

}

/* ======================================================
   TITLE
====================================================== */

.card-title {

    display: flex;

    align-items: center;

    gap: 15px;

    margin-bottom: 28px;

}

.card-title i {

    color: var(--clr-primary);

    font-size: 1.5rem;

}

.card-title h3 {

    font-size: 1.4rem;

}

/* ======================================================
   TAGS
====================================================== */

.skill-tags {

    display: flex;

    flex-wrap: wrap;

    gap: 15px;

}

/* ======================================================
   PILL
====================================================== */

.skill-pill {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    padding: 12px 18px;

    border-radius: 50px;

    font-size: .95rem;

    font-weight: 500;

    color: var(--clr-white);

    background: rgba(255,255,255,.04);

    border: 1px solid rgba(255,255,255,.08);

    transition: .35s ease;

    cursor: default;

}

.skill-pill:hover {

    transform: translateY(-5px) scale(1.05);

    box-shadow: 0 0 20px rgba(255,45,85,.30);

}

/* ======================================================
   TECH COLORS
====================================================== */

.skill-pill:nth-child(1){

    border-color:#f16529;

    color:#f16529;

}

.skill-pill:nth-child(2){

    border-color:#2965f1;

    color:#2965f1;

}

.skill-pill:nth-child(3){

    border-color:#f7df1e;

    color:#f7df1e;

}

.skill-pill:nth-child(4){

    border-color:#61dafb;

    color:#61dafb;

}

.skill-pill:nth-child(5){

    border-color:#4fdd1b;

    color:#20e3b2;

}
.skill-pill:nth-child(6){

    border-color:#e040fb;

    color:#ff4d6d;

}
.skill-pill:nth-child(7){

    border-color:#ffb74d;

    color:#ffd166;
}
.skill-pill:nth-child(8){

    border-color:#ff5252;

    color:#ff5252;
}
.skill-pill:nth-child(9){

    border-color:#40c4ff;

    color:#48cae4;
}
.skill-pill:nth-child(10){

    border-color:#ff4081;

    color:#ff70a6;
}
.skill-pill:hover{

    color:#fff;

    background:var(--clr-primary);

    border-color:var(--clr-primary);

}

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

@media(max-width:992px){

    .skills-grid{

        grid-template-columns:1fr;

    }

}

@media(max-width:576px){

    .skill-card{

        padding:25px;

    }

    .card-title h3{

        font-size:1.2rem;

    }

    .skill-pill{

        padding:10px 16px;

        font-size:.85rem;

    }

}
/* ======================================================
   PROJECTS SECTION
====================================================== */

.projects {
    position: relative;
    overflow: hidden;
}

/* Background Glow — opacity-only (no filter:blur repaint cost) */

.projects::before {
    content: "";
    position: absolute;
    top: -250px;
    left: -250px;
    width: 550px;
    height: 550px;
    background: radial-gradient(
        circle,
        rgba(255, 45, 85, 0.14) 0%,
        rgba(255, 45, 85, 0.06) 40%,
        transparent 70%
    );
    pointer-events: none;
    z-index: -1;
}

/* ======================================================
   FEATURED PROJECT
====================================================== */

.featured-project {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    padding: 35px;
    margin-bottom: 70px;
    border-radius: 24px;
    overflow: hidden;
}

.featured-image {
    overflow: hidden;
    border-radius: 18px;
    aspect-ratio: 1200 / 550;
}

.featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.featured-image:hover img {
    transform: scale(1.05);
}

.project-tag {
    display: inline-block;
    padding: 8px 18px;
    background: rgba(255, 45, 85, 0.15);
    color: var(--clr-primary);
    border-radius: 30px;
    margin-bottom: 18px;
    font-size: 0.9rem;
    font-weight: 600;
}

.featured-content h2 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    margin-bottom: 20px;
}

.featured-content p {
    color: var(--clr-text);
    line-height: 1.8;
    margin-bottom: 25px;
}

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

.tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 30px;
}

.tech-stack span {
    padding: 10px 16px;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: transform 0.35s ease, background 0.35s ease;
}

.tech-stack span:hover {
    background: var(--clr-primary);
    transform: translateY(-3px);
}

.project-card .tech-stack,
.project-card-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 0 22px 16px;
    margin-bottom: 0;
}

.project-card .tech-stack span,
.project-card-tech span {
    padding: 5px 12px;
    font-size: 0.75rem;
    font-weight: 500;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--clr-text-light);
    transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease;
}

.project-card .tech-stack span:hover,
.project-card-tech span:hover {
    background: var(--clr-primary);
    color: #fff;
    transform: translateY(-2px);
}

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

.project-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 35px;
}

.project-card {
    position: relative;
    overflow: hidden;
    border-radius: 22px;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    display: flex;
    flex-direction: column;
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 32px rgba(255, 45, 85, 0.25);
}

.project-card__media {
    overflow: hidden;
    aspect-ratio: 600 / 273;
    flex-shrink: 0;
}

.project-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.project-card:hover .project-card__media img {
    transform: scale(1.05);
}

.project-card h3 {
    padding: 20px 22px 8px;
    font-size: clamp(1.1rem, 2vw, 1.4rem);
}

.project-card p {
    padding: 0 22px 12px;
    color: var(--clr-text-light);
    flex: 1;
}

/* ======================================================
   PROJECT BUTTONS — compact SaaS style
====================================================== */

.project-card-buttons,
.project-buttons {
    padding: 4px 22px 22px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-top: auto;
}

.project-card-buttons .btn,
.project-buttons .btn {
    width: fit-content;
    min-height: 40px;
    padding: 10px 18px;
    font-size: 0.8125rem;
    font-weight: 600;
    border-radius: 14px;
    line-height: 1.2;
    white-space: nowrap;
    flex-shrink: 0;
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        background 0.25s ease,
        border-color 0.25s ease,
        color 0.25s ease;
}

.project-card-buttons .btn:hover,
.project-buttons .btn:hover {
    transform: translateY(-2px);
}

.project-card-buttons .btn-primary:hover,
.project-buttons .btn-primary:hover {
    box-shadow: 0 4px 16px rgba(255, 45, 85, 0.35);
}

.project-card-buttons .btn-outline:hover,
.project-buttons .btn-outline:hover {
    transform: translateY(-2px);
}

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

@media (max-width: 992px) {
    .featured-project {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 576px) {
    .featured-project {
        padding: 22px;
    }

    .project-card-buttons,
    .project-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .project-card-buttons .btn,
    .project-buttons .btn {
        width: 100%;
        justify-content: center;
    }
}
/* ==========================================
   EXPERIENCE
========================================== */

.timeline{

    position:relative;

    max-width:850px;

    margin:70px auto 0;

}

.timeline::before{

    content:"";

    position:absolute;

    left:20px;

    top:0;

    width:3px;

    height:100%;

    background:rgba(255,45,85,.3);

}

.timeline-item{

    position:relative;

    padding-left:70px;

    margin-bottom:60px;

}

.timeline-dot{

    position:absolute;

    left:10px;

    top:20px;

    width:22px;

    height:22px;

    border-radius:50%;

    background:var(--clr-primary);

    border:4px solid var(--clr-bg);

    box-shadow:0 0 20px rgba(255,45,85,.5);

}

.timeline-content{

    padding:30px;

    transition:.35s;

}

.timeline-content:hover{

    transform:translateY(-8px);

    box-shadow:var(--shadow-red-lg);

}

.timeline-date{

    display:inline-block;

    padding:8px 18px;

    border-radius:30px;

    background:rgba(255,45,85,.15);

    color:var(--clr-primary);

    margin-bottom:18px;

    font-weight:600;

}

.timeline-content h3{

    font-size:1.6rem;

    margin-bottom:8px;

}

.timeline-content h4{

    color:var(--clr-text-light);

    margin-bottom:18px;

}

.timeline-content p{

    color:var(--clr-text);

    line-height:1.8;

}

.timeline-list {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.timeline-list li {
    position: relative;
    padding-left: 24px;
    color: var(--clr-text);
    line-height: 1.7;
    font-size: 0.95rem;
}

.timeline-list li::before {
    content: "▹";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--clr-primary);
    font-size: 1.1rem;
    line-height: 1.5;
}

.timeline-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 15px;
}

.timeline-tech span {
    padding: 5px 12px;
    font-size: 0.75rem;
    font-weight: 500;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--clr-text-light);
    transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease;
}

.timeline-tech span:hover {
    background: var(--clr-primary);
    color: #fff;
    transform: translateY(-2px);
}

@media(max-width:768px){

    .timeline{

        margin-left:15px;

    }

    .timeline-item{

        padding-left:55px;

    }

}
/* ==========================================
   HIRE ME
========================================== */

.hire-wrapper{

    display:grid;

    grid-template-columns:1fr 1fr;

    gap:60px;

    padding:50px;

    border-radius:24px;

}

.hire-content p{

    margin:25px 0;

    line-height:1.9;

}

.hire-features{

    margin:40px 0;

}

.feature{

    display:flex;

    align-items:center;

    gap:15px;

    margin-bottom:20px;

}

.feature i{

    color:var(--clr-primary);

}

.response-time{

    margin-top:35px;

    color:var(--clr-text-light);

}

.response-time i{

    color:var(--clr-primary);

    margin-right:10px;

}

/* FORM */

.hire-form{

    display:flex;

    flex-direction:column;

    gap:20px;

}

.input-group input,
.input-group select,
.input-group textarea{

    width:100%;

    padding:18px;

    border-radius:14px;

    background:rgba(255,255,255,.04);

    border:1px solid rgba(255,255,255,.08);

    color:var(--clr-white);

}
/* ==========================================
   SELECT OPTIONS
========================================== */

.input-group select{

    appearance:none;
    -webkit-appearance:none;
    -moz-appearance:none;

    background:#1b1719;

    color:#ffffff;

}

.input-group select option{

    background:#1b1719;

    color:#ffffff;

    padding:15px;

}

.input-group input:focus,
.input-group select:focus,
.input-group textarea:focus{

    border-color:var(--clr-primary);

}

.input-group textarea{

    resize:none;

}

.hire-form button{

    width:fit-content;

}

@media(max-width:992px){

    .hire-wrapper{

        grid-template-columns:1fr;

    }

}

@media(max-width:576px){

    .hire-wrapper{

        padding:25px;

    }

    .hire-form button{

        width:100%;

    }

}
/* =====================================================
   SUCCESS POPUP
===================================================== */

.success-modal{

    position:fixed;

    inset:0;

    display:flex;

    justify-content:center;

    align-items:center;

    background:rgba(0,0,0,.82);

    opacity:0;

    visibility:hidden;

    transition:opacity .35s ease, visibility .35s ease;

    z-index:999999;

}

.success-modal.show{

    opacity:1;

    visibility:visible;

}

.success-box{

    width:min(460px,90%);

    background:#111111;

    border:1px solid rgba(255,45,85,.25);

    border-radius:24px;

    padding:40px 35px;

    text-align:center;

    transform:translateY(30px) scale(.95);

    transition:.35s ease;

    box-shadow:
    0 20px 60px rgba(0,0,0,.6),
    0 0 40px rgba(255,45,85,.15);

}

.success-modal.show .success-box{

    transform:translateY(0) scale(1);

}


.success-icon{

    animation: pulse 2s infinite;

    width:90px;

    height:90px;

    margin:0 auto 25px;

    display:flex;

    justify-content:center;

    align-items:center;

    border-radius:50%;

    background:rgba(34,197,94,.15);

    border:2px solid rgba(34,197,94,.25);

}

@keyframes pulse{

    0%{

        box-shadow:0 0 0 0 rgba(34,197,94,.5);

    }

    70%{

        box-shadow:0 0 0 20px rgba(34,197,94,0);

    }

    100%{

        box-shadow:0 0 0 0 rgba(34,197,94,0);

    }

}


.success-icon i{

    font-size:3rem;

    color:#22c55e;

}

.success-box h2{

    font-size:2rem;

    margin-bottom:18px;

    color:#ffffff;

}

.success-box p{

    color:#bdbdbd;

    line-height:1.8;

    font-size:1rem;

    margin-bottom:30px;

}

.success-box strong{

    color:#ffffff;

}

.success-box .btn{

    width:100%;

}


/* ==========================================
   BUTTON LOADING
========================================== */

#submitBtn{

    position:relative;

    transition:.3s;

}

#submitBtn:disabled{

    cursor:not-allowed;

    opacity:.8;

}


/* ==========================================
   INPUT FOCUS
========================================== */

.hire-form input:focus,
.hire-form textarea:focus,
.hire-form select:focus{

    outline:none;

    border-color:var(--clr-primary);

    box-shadow:0 0 18px rgba(255,45,85,.2);

}


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

@media(max-width:576px){

.success-box{

    padding:30px 22px;

}

.success-box h2{

    font-size:1.6rem;

}

.success-icon{

    width:75px;

    height:75px;

}

.success-icon i{

    font-size:2.4rem;

}

}
@keyframes popupBounce{

    0%{

        transform:scale(.7);

        opacity:0;

    }

    70%{

        transform:scale(1.05);

    }

    100%{

        transform:scale(1);

        opacity:1;

    }

}

.success-modal.show .success-box{

    animation:popupBounce .45s ease;

}
/* ==========================================
   FOOTER
========================================== */

.footer{

    padding:80px 0 30px;

    margin-top:120px;

    border-top:1px solid rgba(255,255,255,.08);

    background:#080808;

}

.footer-content{

    display:grid;

    grid-template-columns:2fr 1fr 1fr;

    gap:50px;

    margin-bottom:50px;

}

.footer-logo{

    font-size:2rem;

    font-weight:800;

    color:#fff;

    font-family:var(--font-heading);

}

.footer-logo span{

    color:var(--clr-primary);

}

.footer-brand p{

    margin-top:20px;

    color:var(--clr-text-light);

    line-height:1.8;

    max-width:420px;

}

.footer-links h3,
.footer-social h3{

    margin-bottom:20px;

}

.footer-links ul{

    display:flex;

    flex-direction:column;

    gap:15px;

}

.footer-links a{

    color:var(--clr-text-light);

    transition:.3s;

}

.footer-links a:hover{

    color:var(--clr-primary);

    padding-left:8px;

}

.social-icons{

    display:flex;

    gap:15px;

}

.social-icons a{

    width:50px;

    height:50px;

    display:flex;

    align-items:center;

    justify-content:center;

    border-radius:50%;

    background:rgba(255,255,255,.05);

    border:1px solid rgba(255,255,255,.08);

    transition:.35s;

}

.social-icons a:hover{

    background:var(--clr-primary);

    transform:translateY(-6px);

}

.social-icons i{

    color:#fff;

    font-size:1.2rem;

}

.footer-bottom{

    padding-top:30px;

    border-top:1px solid rgba(255,255,255,.08);

    display:flex;

    justify-content:space-between;

    align-items:center;

}

.footer-bottom p{

    color:var(--clr-text-light);

}

.footer-bottom span{

    color:var(--clr-primary);

}

.back-to-top{

    width:50px;

    height:50px;

    display:flex;

    align-items:center;

    justify-content:center;

    border-radius:50%;

    background:var(--clr-primary);

    transition:.35s;

}

.back-to-top:hover{

    transform:translateY(-6px);

    box-shadow:var(--shadow-red-lg);

}

.back-to-top i{

    color:#fff;

}

@media(max-width:992px){

    .footer-content{

        grid-template-columns:1fr;

        text-align:center;

    }

    .footer-brand p{

        margin-inline:auto;

    }

    .social-icons{

        justify-content:center;

    }

    .footer-bottom{

        flex-direction:column;

        gap:20px;

    }

}
/* ======================================================
   ANIMATIONS
   Gaurav Portfolio
====================================================== */


/* ======================================================
   KEYFRAMES
====================================================== */

@keyframes fadeUp {
    from{
        opacity:0;
        transform:translateY(60px);
    }

    to{
        opacity:1;
        transform:translateY(0);
    }
}

@keyframes fadeDown{
    from{
        opacity:0;
        transform:translateY(-60px);
    }

    to{
        opacity:1;
        transform:translateY(0);
    }
}

@keyframes fadeLeft{

    from{
        opacity:0;
        transform:translateX(-60px);
    }

    to{
        opacity:1;
        transform:translateX(0);
    }

}

@keyframes fadeRight{

    from{
        opacity:0;
        transform:translateX(60px);
    }

    to{
        opacity:1;
        transform:translateX(0);
    }

}

@keyframes zoomIn{

    from{
        opacity:0;
        transform:scale(.8);
    }

    to{
        opacity:1;
        transform:scale(1);
    }

}

@keyframes float{

    0%{
        transform:translateY(0);
    }

    50%{
        transform:translateY(-12px);
    }

    100%{
        transform:translateY(0);
    }

}

@keyframes pulse{

    0%{
        box-shadow:0 0 0 rgba(255,45,85,0);
    }

    50%{
        box-shadow:0 0 30px rgba(255,45,85,.5);
    }

    100%{
        box-shadow:0 0 0 rgba(255,45,85,0);
    }

}

@keyframes rotateBorder{

    from{
        transform:rotate(0deg);
    }

    to{
        transform:rotate(360deg);
    }

}

@keyframes shine{

    from{
        left:-120%;
    }

    to{
        left:120%;
    }

}

@keyframes blink{

    50%{
        opacity:0;
    }

}


/* ======================================================
   REVEAL
====================================================== */

/* ==========================================
   REVEAL ANIMATIONS
========================================== */

.reveal{

    opacity:0;

    transition:
        opacity .8s ease,
        transform .8s ease;

}

.reveal-up{

    transform:translateY(70px);

}

.reveal-left{

    transform:translateX(-70px);

}

.reveal-right{

    transform:translateX(70px);

}

.reveal-scale{

    transform:scale(.85);

}

.reveal.active{

    opacity:1;

    transform:translate(0,0) scale(1);

}


/* ======================================================
   FADE
====================================================== */

.fade-up.active{

    animation:fadeUp .8s ease forwards;

}

.fade-down.active{

    animation:fadeDown .8s ease forwards;

}

.fade-left.active{

    animation:fadeLeft .8s ease forwards;

}

.fade-right.active{

    animation:fadeRight .8s ease forwards;

}

.zoom-in.active{

    animation:zoomIn .8s ease forwards;

}


/* ======================================================
   FLOAT
====================================================== */

.float{

    animation:float 4s ease-in-out infinite;

}


/* ======================================================
   GLOW
====================================================== */

.glow{

    animation:pulse 3s infinite;

}


/* ======================================================
   SHINE BUTTON
====================================================== */

.shine{

    position:relative;

    overflow:hidden;

}

.shine::before{

    content:"";

    position:absolute;

    top:0;

    left:-120%;

    width:60px;

    height:100%;

    transform:skewX(-25deg);

    background:

    linear-gradient(

        transparent,

        rgba(255,255,255,.45),

        transparent

    );

}

.shine:hover::before{

    animation:shine .8s;

}


/* ======================================================
   HOVER LIFT
====================================================== */

.hover-lift{

    transition:.35s;

}

.hover-lift:hover{

    transform:translateY(-8px);

}


/* ======================================================
   SCALE
====================================================== */

.hover-scale{

    transition:.35s;

}

.hover-scale:hover{

    transform:scale(1.05);

}


/* ======================================================
   ROTATE
====================================================== */

.hover-rotate{

    transition:.35s;

}

.hover-rotate:hover{

    transform:rotate(6deg);

}


/* ======================================================
   CURSOR POINTER
====================================================== */

.pointer{

    cursor:pointer;

}


/* ======================================================
   TYPING CURSOR
====================================================== */

.typing-cursor{

    border-right:3px solid var(--clr-primary);

    animation:blink .8s infinite;

}
/* ==========================================
   LOADER
========================================== */

#loader {

    position: fixed;

    inset: 0;

    background: #050505;

    display: flex;

    justify-content: center;

    align-items: center;

    z-index: 999999;
    transition: opacity .7s ease,
        visibility .7s ease;

}

#loader.hide {

    opacity: 0;

    visibility: hidden;

}

/* Logo */

.loader-content {

    text-align: center;

}

.loader-logo {

    font-size: 4rem;

    font-weight: 800;

    font-family: var(--font-heading);

    letter-spacing: 6px;

    color: #fff;

    margin-bottom: 35px;

}

.loader-logo span {

    color: var(--clr-primary);

}

/* Loading Bar */

.loader-bar {

    width: 240px;

    height: 5px;

    border-radius: 30px;

    background: rgba(255, 255, 255, .08);

    overflow: hidden;

}

.loader-bar span {

    display: block;

    width: 0;

    height: 100%;

    background: linear-gradient(90deg,
            var(--clr-primary),
            #ff5c7c);

    animation: loading 1.8s ease forwards;

}

@keyframes loading {

    to {

        width: 100%;

    }

}

/* ==========================================
   PROGRESS BAR
========================================== */

#progress-bar {

    position: fixed;

    top: 0;

    left: 0;

    width: 0;

    height: 3px;

    background: var(--clr-primary);

    z-index: 99999;

}
/* ======================================================
   RESPONSIVE STYLES
   Gaurav Portfolio
   ====================================================== */

/*
   Responsive breakpoints

   Desktop : 1200px+
   Laptop  : 992px
   Tablet  : 768px
   Mobile  : 576px
*/

/* =============================
   Global overflow guard
============================= */

html,
body {
    max-width: 100%;
    overflow-x: clip;
}

img,
video,
iframe {
    max-width: 100%;
    height: auto;
}

/* =============================
   Laptop
============================= */

@media (max-width: 992px) {

    :root {
        --section-padding: 90px;
    }

    .section-header {
        margin-bottom: 60px;
    }

}

/* =============================
   Tablet
============================= */

@media (max-width: 768px) {

    :root {
        --section-padding: 80px;
        --nav-height: 72px;
    }

    .hero-buttons {
        gap: 14px;
    }

    .hero-buttons .btn {
        padding: 13px 24px;
        font-size: 0.9rem;
    }

}

/* =============================
   Mobile
============================= */

@media (max-width: 576px) {

    :root {
        --section-padding: 70px;
    }

    .container {
        width: min(var(--container-width), 92%);
    }

    .section-header {
        margin-bottom: 48px;
    }

    .section-subtitle {
        letter-spacing: 2px;
        font-size: 0.8rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-buttons .btn {
        width: 100%;
        justify-content: center;
    }

    .btn {
        border-radius: 14px;
    }

}

/* =============================
   Small mobile (320px+)
============================= */

@media (max-width: 400px) {

    .logo {
        font-size: 1.5rem;
    }

    .hero-social a {
        width: 48px;
        height: 48px;
        font-size: 1.1rem;
    }

}

/* =============================
   Touch devices — hide custom cursor
============================= */

@media (pointer: coarse) {

    .cursor-dot,
    .cursor-ring {
        display: none !important;
    }

}
/* ==========================================
   CONTACT
========================================== */

.contact-grid{

    display:grid;

    grid-template-columns:repeat(4,1fr);

    gap:30px;

}

.contact-card{

    padding:35px;

    text-align:center;

    border-radius:22px;

    transition:.35s ease;

}

.contact-card:hover{

    transform:translateY(-10px);

    box-shadow:var(--shadow-red-lg);

}

.contact-icon{

    width:80px;

    height:80px;

    margin:auto;

    margin-bottom:25px;

    border-radius:50%;

    display:flex;

    justify-content:center;

    align-items:center;

    background:rgba(255,45,85,.12);

}

.contact-icon i{

    font-size:2rem;

    color:var(--clr-primary);

}

.contact-card h3{

    margin-bottom:15px;

}

.contact-card p{

    color:var(--clr-text-light);

    margin-bottom:20px;

}

.contact-card a{

    color:var(--clr-primary);

    font-weight:600;

}

.contact-card a:hover{

    text-decoration:underline;

}

@media(max-width:992px){

    .contact-grid{

        grid-template-columns:repeat(2,1fr);

    }

}

@media(max-width:576px){

    .contact-grid{

        grid-template-columns:1fr;

    }

}
/* ==========================================
   CUSTOM CURSOR
========================================== */

.cursor-dot{

    position:fixed;

    top:0;

    left:0;

    width:8px;

    height:8px;

    border-radius:50%;

    background:var(--clr-primary);

    pointer-events:none;

    z-index:99999;

    will-change:transform;

}

.cursor-ring{

    position:fixed;

    top:0;

    left:0;

    width:42px;

    height:42px;

    border:2px solid var(--clr-primary);

    border-radius:50%;

    pointer-events:none;

    z-index:99998;

    will-change:transform,width,height;

    transition:

    width .2s,

    height .2s,

    border .2s;

}

/* Hover */

.cursor-hover{

    width:70px !important;

    height:70px !important;

    background:rgba(255,45,85,.08);

}
