
/* =========================================================
   WAWIRE NGAO KEVIN
   PERSONAL PORTFOLIO
   MAIN STYLESHEET
========================================================= */


/* =========================================================
   ROOT VARIABLES
========================================================= */

:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --secondary: #06b6d4;

    --dark: #0f172a;
    --dark-2: #172554;
    --dark-3: #1e293b;

    --light: #f8fafc;
    --white: #ffffff;

    --text: #334155;
    --muted: #64748b;

    --border: #e2e8f0;

    --shadow-sm: 0 4px 15px rgba(15, 23, 42, 0.06);
    --shadow: 0 12px 35px rgba(15, 23, 42, 0.10);
    --shadow-lg: 0 20px 50px rgba(15, 23, 42, 0.15);

    --radius: 16px;
    --radius-lg: 24px;

    --transition: all 0.3s ease;
}


/* =========================================================
   GLOBAL
========================================================= */

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}


body {
    margin: 0;
    padding: 0;

    font-family:
        "Inter",
        "Segoe UI",
        Roboto,
        Helvetica,
        Arial,
        sans-serif;

    color: var(--text);
    background: var(--white);

    line-height: 1.7;

    overflow-x: hidden;
}


* {
    box-sizing: border-box;
}


a {
    text-decoration: none;
}


img {
    max-width: 100%;
    display: block;
}


::selection {
    background: var(--primary);
    color: var(--white);
}


/* =========================================================
   NAVIGATION
========================================================= */

#mainNavbar {
    padding: 15px 0;

    background: rgba(15, 23, 42, 0.90);

    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);

    border-bottom: 1px solid rgba(255, 255, 255, 0.08);

    transition: var(--transition);
}


#mainNavbar.scrolled {
    padding: 10px 0;

    background: rgba(15, 23, 42, 0.98);

    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.15);
}


@media (max-width: 991.98px) {

    #mainNavbar {
        position: relative;
    }

    #mainNavbar .navbar-collapse {
        margin-top: 12px;
        padding: 8px 0;

        background: rgba(15, 23, 42, 0.98);
        border-top: 1px solid rgba(255, 255, 255, 0.08);
    }

}


.navbar-brand {
    display: flex;
    align-items: center;
    gap: 10px;

    color: var(--white) !important;

    font-size: 1.05rem;
    letter-spacing: 0.3px;
}


.brand-mark {
    width: 38px;
    height: 38px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border-radius: 10px;

    background: linear-gradient(
        135deg,
        var(--primary),
        var(--secondary)
    );

    color: var(--white);

    font-size: 0.85rem;
    font-weight: 800;

    box-shadow:
        0 5px 20px rgba(37, 99, 235, 0.35);
}


.brand-logo {
    width: 38px;
    height: 38px;

    display: block;

    object-fit: contain;

    border-radius: 10px;

    background: rgba(255, 255, 255, 0.96);

    box-shadow:
        0 5px 20px rgba(37, 99, 235, 0.35);
}


.navbar-nav {
    gap: 5px;
}


.nav-link {
    position: relative;

    color: rgba(255, 255, 255, 0.75) !important;

    padding: 8px 13px !important;

    font-size: 0.93rem;
    font-weight: 500;

    transition: var(--transition);
}


.nav-link:hover,
.nav-link.active {
    color: var(--white) !important;
}


.nav-link::after {
    content: "";

    position: absolute;

    left: 13px;
    right: 13px;
    bottom: 2px;

    height: 2px;

    background: linear-gradient(
        90deg,
        var(--primary),
        var(--secondary)
    );

    transform: scaleX(0);
    transform-origin: center;

    transition: transform 0.3s ease;
}


.nav-link:hover::after,
.nav-link.active::after {
    transform: scaleX(1);
}


.navbar-toggler {
    border: 1px solid rgba(255, 255, 255, 0.25);

    padding: 7px 10px;

    border-radius: 8px;
}


.navbar-toggler:focus {
    box-shadow: none;
}


/* =========================================================
   HERO
========================================================= */

.hero-section {
    position: relative;

    min-height: 100vh;

    background:
        radial-gradient(
            circle at 80% 20%,
            rgba(37, 99, 235, 0.25),
            transparent 30%
        ),
        radial-gradient(
            circle at 20% 80%,
            rgba(6, 182, 212, 0.12),
            transparent 30%
        ),
        linear-gradient(
            135deg,
            #020617 0%,
            #0f172a 45%,
            #172554 100%
        );

    color: var(--white);

    overflow: hidden;
}


.hero-section::before {
    content: "";

    position: absolute;

    width: 450px;
    height: 450px;

    top: -180px;
    right: -150px;

    border-radius: 50%;

    border: 1px solid rgba(255, 255, 255, 0.08);

    box-shadow:
        0 0 0 50px rgba(255, 255, 255, 0.015),
        0 0 0 100px rgba(255, 255, 255, 0.01);
}


.hero-section::after {
    content: "";

    position: absolute;

    width: 300px;
    height: 300px;

    bottom: -160px;
    left: -120px;

    border-radius: 50%;

    background: rgba(37, 99, 235, 0.10);

    filter: blur(20px);
}


.hero-section .container {
    position: relative;
    z-index: 2;
}


.hero-content {
    max-width: 780px;

    animation: heroContent 1s ease both;
}


@keyframes heroContent {

    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }

}


.hero-badge {
    display: inline-flex;

    align-items: center;
    gap: 9px;

    padding: 8px 15px;

    border-radius: 50px;

    background: rgba(255, 255, 255, 0.07);

    border: 1px solid rgba(255, 255, 255, 0.12);

    color: rgba(255, 255, 255, 0.85);

    font-size: 0.78rem;
    font-weight: 600;

    letter-spacing: 0.5px;
}


.hero-badge i {
    color: #22c55e;

    font-size: 7px;

    animation: pulseDot 2s infinite;
}


@keyframes pulseDot {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.35;
    }

}


.hero-small-text {
    color: #60a5fa;

    font-size: 0.85rem;
    font-weight: 700;

    letter-spacing: 4px;
}


.hero-name {
    margin: 0;

    font-size: clamp(3rem, 7vw, 6.2rem);

    line-height: 1.02;

    font-weight: 900;

    letter-spacing: -3px;

    background: linear-gradient(
        135deg,
        #ffffff,
        #bfdbfe,
        #67e8f9
    );

    -webkit-background-clip: text;
    background-clip: text;

    -webkit-text-fill-color: transparent;
}


.hero-title {
    margin-top: 18px;

    color: #93c5fd;

    font-size: clamp(1.1rem, 2vw, 1.55rem);

    font-weight: 600;
}


.hero-heading {
    max-width: 700px;

    margin-top: 20px;
    margin-bottom: 10px;

    font-size: clamp(1.35rem, 2.5vw, 2rem);

    line-height: 1.4;

    font-weight: 700;

    color: var(--white);
}


.hero-description {
    max-width: 700px;

    margin-top: 15px;

    color: rgba(255, 255, 255, 0.68);

    font-size: 1.05rem;
}


.hero-buttons .btn {
    padding: 12px 24px;

    border-radius: 10px;

    font-weight: 600;

    transition: var(--transition);
}


.hero-buttons .btn:hover {
    transform: translateY(-3px);
}


.btn-primary {
    background: linear-gradient(
        135deg,
        var(--primary),
        var(--primary-dark)
    );

    border: none;

    box-shadow:
        0 8px 25px rgba(37, 99, 235, 0.25);
}


.btn-primary:hover {
    background: linear-gradient(
        135deg,
        #3b82f6,
        var(--primary)
    );

    box-shadow:
        0 12px 30px rgba(37, 99, 235, 0.35);
}


/* =========================================================
   HERO IMAGE
========================================================= */

.hero-image-wrapper {
    position: relative;

    display: inline-flex;

    align-items: center;
    justify-content: center;

    animation: imageFloat 5s ease-in-out infinite;
}


@keyframes imageFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-12px);
    }

}


.hero-image-ring {
    position: relative;

    width: min(390px, 75vw);
    height: min(390px, 75vw);

    padding: 10px;

    border-radius: 50%;

    background: linear-gradient(
        135deg,
        var(--primary),
        var(--secondary),
        #818cf8
    );

    box-shadow:
        0 0 60px rgba(37, 99, 235, 0.25);
}


.hero-image-ring::before {
    content: "";

    position: absolute;

    inset: -18px;

    border: 1px dashed rgba(147, 197, 253, 0.3);

    border-radius: 50%;

    animation: rotateRing 25s linear infinite;
}


@keyframes rotateRing {

    from {
        transform: rotate(0);
    }

    to {
        transform: rotate(360deg);
    }

}


.hero-image {
    width: 100%;
    height: 100%;

    object-fit: cover;

    border-radius: 50%;

    border: 7px solid #0f172a;

    background: #e2e8f0;
}


.image-placeholder {
    width: 100%;
    height: 100%;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 7px solid #0f172a;
    border-radius: 50%;

    background: linear-gradient(
        135deg,
        var(--primary),
        var(--secondary)
    );

    color: var(--white);

    font-size: clamp(3rem, 8vw, 4rem);
    font-weight: 900;
}


/* =========================================================
   STATS
========================================================= */

.stats-section {
    position: relative;

    margin-top: -45px;

    z-index: 10;
}


.stat-card {
    padding: 25px;

    text-align: center;

    background: var(--white);

    border: 1px solid var(--border);

    border-radius: var(--radius);

    box-shadow: var(--shadow);

    transition: var(--transition);
}


.stat-card:hover {
    transform: translateY(-7px);

    box-shadow: var(--shadow-lg);
}


.stat-card i {
    display: block;

    margin-bottom: 10px;

    color: var(--primary);

    font-size: 1.8rem;
}


.stat-card h3 {
    margin: 0;

    color: var(--dark);

    font-size: 2rem;

    font-weight: 800;
}


.stat-card p {
    margin: 0;

    color: var(--muted);

    font-size: 0.9rem;
}


/* =========================================================
   GENERAL SECTIONS
========================================================= */

.section-padding {
    padding: 110px 0;
}


.section-light {
    background: var(--light);
}


.section-dark {
    background:
        radial-gradient(
            circle at 10% 20%,
            rgba(37, 99, 235, 0.15),
            transparent 30%
        ),
        linear-gradient(
            135deg,
            #020617,
            #0f172a
        );

    color: var(--white);
}


.section-heading {
    margin-bottom: 65px;
}


.section-heading span {
    display: block;

    margin-bottom: 10px;

    color: var(--primary);

    font-size: 0.78rem;
    font-weight: 800;

    letter-spacing: 3px;
}


.section-heading h2 {
    margin: 0;

    color: var(--dark);

    font-size: clamp(2rem, 4vw, 3rem);

    font-weight: 800;

    letter-spacing: -1px;
}


.section-dark .section-heading h2 {
    color: var(--white);
}


.heading-line {
    width: 65px;
    height: 4px;

    margin: 18px auto 0;

    border-radius: 10px;

    background: linear-gradient(
        90deg,
        var(--primary),
        var(--secondary)
    );
}


/* =========================================================
   ABOUT
========================================================= */

.about-card {
    position: relative;

    padding: 45px 35px;

    text-align: center;

    border-radius: var(--radius-lg);

    background:
        linear-gradient(
            145deg,
            #eff6ff,
            #ecfeff
        );

    border: 1px solid #dbeafe;

    overflow: hidden;
}


.about-card::after {
    content: "";

    position: absolute;

    width: 180px;
    height: 180px;

    right: -70px;
    bottom: -90px;

    border-radius: 50%;

    background: rgba(37, 99, 235, 0.08);
}


.about-icon {
    width: 85px;
    height: 85px;

    margin: 0 auto 25px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 22px;

    color: var(--white);

    background: linear-gradient(
        135deg,
        var(--primary),
        var(--secondary)
    );

    font-size: 2.2rem;

    box-shadow:
        0 15px 35px rgba(37, 99, 235, 0.2);
}


.about-card h3 {
    color: var(--dark);

    font-size: 1.5rem;

    font-weight: 800;
}


.about-card p {
    margin-bottom: 0;

    color: var(--muted);
}


#about .lead {
    color: var(--dark);

    font-size: 1.15rem;

    font-weight: 500;

    line-height: 1.8;
}


#about p:not(.lead) {
    color: var(--muted);
}


.about-details {
    display: grid;

    gap: 13px;
}


.about-details div {
    display: flex;

    align-items: center;

    gap: 10px;

    color: var(--text);

    font-size: 0.95rem;
}


.about-details i {
    color: var(--primary);

    font-size: 1.1rem;
}


/* =========================================================
   EXPERIENCE TIMELINE
========================================================= */

.timeline {
    position: relative;

    max-width: 950px;

    margin: 0 auto;
}


.timeline::before {
    content: "";

    position: absolute;

    left: 16px;
    top: 0;
    bottom: 0;

    width: 2px;

    background: linear-gradient(
        to bottom,
        var(--primary),
        var(--secondary)
    );
}


.timeline-item {
    position: relative;

    padding-left: 52px;

    margin-bottom: 35px;
}


.timeline-item:last-child {
    margin-bottom: 0;
}


.timeline-dot {
    position: absolute;

    left: 6px;
    top: 28px;

    width: 22px;
    height: 22px;

    border-radius: 50%;

    background: var(--white);

    border: 5px solid var(--primary);

    z-index: 2;

    box-shadow:
        0 0 0 5px rgba(37, 99, 235, 0.08);
}


.timeline-card {
    display: grid;
    grid-template-columns: 180px minmax(0, 1fr);
    gap: 22px;

    padding: 18px;

    background: var(--white);

    border: 1px solid var(--border);

    border-radius: var(--radius);

    box-shadow: var(--shadow-sm);

    transition: var(--transition);
}


.timeline-image-wrap {
    min-height: 180px;

    overflow: hidden;

    border-radius: 12px;

    background: #e2e8f0;
}


.timeline-image {
    width: 100%;
    height: 100%;

    min-height: 180px;

    object-fit: cover;
}


.timeline-content {
    min-width: 0;

    align-self: center;
}


.timeline-card:hover {
    transform: translateX(7px);

    border-color: #bfdbfe;

    box-shadow: var(--shadow);
}


.timeline-period {
    display: inline-block;

    margin-bottom: 10px;

    padding: 5px 11px;

    border-radius: 6px;

    background: #eff6ff;

    color: var(--primary);

    font-size: 0.76rem;

    font-weight: 700;
}


.timeline-card h3 {
    margin: 0 0 8px;

    color: var(--dark);

    font-size: 1.25rem;

    font-weight: 800;
}


.timeline-card h4 {
    margin: 2px 0 12px;

    color: var(--primary);

    font-size: 0.95rem;

    font-weight: 700;
}


.timeline-card p {
    margin: 0;

    color: var(--muted);
}


/* =========================================================
   EDUCATION
========================================================= */

.education-card {
    position: relative;

    display: flex;
    flex-direction: column;

    padding: 32px;

    background: var(--white);

    border: 1px solid var(--border);

    border-radius: var(--radius);

    box-shadow: var(--shadow-sm);

    overflow: hidden;

    transition: var(--transition);
}


.education-card::before {
    content: "";

    position: absolute;

    left: 0;
    top: 0;

    width: 100%;
    height: 4px;

    background: linear-gradient(
        90deg,
        var(--primary),
        var(--secondary)
    );
}


.education-card:hover {
    transform: translateY(-8px);

    box-shadow: var(--shadow-lg);
}


.certificate-button {
    align-self: flex-end;

    display: inline-flex;
    align-items: center;
    gap: 8px;

    margin-top: auto;
    padding: 9px 14px;

    border: 1px solid #bfdbfe;
    border-radius: 8px;

    background: #eff6ff;

    color: var(--primary);

    font-size: 0.82rem;
    font-weight: 700;

    transition: var(--transition);
}


.certificate-button:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
}


.education-icon {
    width: 55px;
    height: 55px;

    margin-bottom: 20px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 14px;

    color: var(--primary);

    background: #eff6ff;

    font-size: 1.4rem;
}


.education-period {
    display: block;

    margin-bottom: 10px;

    color: var(--primary);

    font-size: 0.8rem;

    font-weight: 700;
}


.education-card h3 {
    color: var(--dark);

    font-size: 1.2rem;

    line-height: 1.45;

    font-weight: 800;
}


.education-card h4 {
    color: var(--text);

    font-size: 0.95rem;

    font-weight: 700;
}


.education-card p {
    margin: 0;

    color: var(--muted);

    font-size: 0.9rem;
}


/* =========================================================
   SKILLS
========================================================= */

.skill-card {
    min-height: 70px;

    display: flex;

    align-items: center;
    justify-content: center;

    gap: 10px;

    padding: 15px;

    text-align: center;

    background: rgba(255, 255, 255, 0.05);

    border: 1px solid rgba(255, 255, 255, 0.10);

    border-radius: 12px;

    color: rgba(255, 255, 255, 0.88);

    font-size: 0.9rem;

    font-weight: 600;

    transition: var(--transition);
}


.skill-card:hover {
    transform: translateY(-5px);

    background: rgba(37, 99, 235, 0.15);

    border-color: rgba(96, 165, 250, 0.35);

    color: var(--white);
}


.skill-card i {
    color: #60a5fa;

    font-size: 1rem;
}


/* =========================================================
   PROJECTS
========================================================= */

.project-card {
    position: relative;

    display: flex;
    flex-direction: column;

    padding: 32px;

    background: var(--white);

    border: 1px solid var(--border);

    border-radius: var(--radius-lg);

    box-shadow: var(--shadow-sm);

    overflow: hidden;

    transition: var(--transition);
}


.project-card::before {
    content: "";

    position: absolute;

    left: 0;
    top: 0;

    width: 100%;
    height: 4px;

    background: linear-gradient(
        90deg,
        var(--primary),
        var(--secondary)
    );

    transform: scaleX(0);

    transform-origin: left;

    transition: transform 0.4s ease;
}


.project-card:hover {
    transform: translateY(-9px);

    box-shadow: var(--shadow-lg);
}


.project-file-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    margin-top: 0;
    padding: 9px 14px;

    border: 1px solid #bfdbfe;
    border-radius: 8px;

    background: #eff6ff;

    color: var(--primary);

    font-size: 0.82rem;
    font-weight: 700;

    transition: var(--transition);
}


.project-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    align-items: center;
    gap: 10px;

    margin-top: auto;
    padding-top: 20px;
}


.project-file-button:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
}


.project-card:hover::before {
    transform: scaleX(1);
}


.project-icon {
    width: 60px;
    height: 60px;

    margin-bottom: 20px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 16px;

    background: #eff6ff;

    color: var(--primary);

    font-size: 1.6rem;
}


.project-category {
    display: inline-block;

    margin-bottom: 10px;

    color: var(--primary);

    font-size: 0.75rem;

    font-weight: 800;

    letter-spacing: 1px;

    text-transform: uppercase;
}


.project-card h3 {
    color: var(--dark);

    font-size: 1.3rem;

    line-height: 1.4;

    font-weight: 800;
}


.project-card p {
    color: var(--muted);

    font-size: 0.92rem;
}


.project-tech {
    display: flex;

    align-items: center;

    gap: 8px;

    margin-top: 20px;

    padding-top: 15px;

    border-top: 1px solid var(--border);

    color: var(--text);

    font-size: 0.8rem;

    font-weight: 700;
}


.project-tech i {
    color: var(--primary);
}


.project-link {
    display: inline-flex;

    align-items: center;

    gap: 8px;

    margin-top: 0;

    color: var(--primary);

    font-size: 0.88rem;

    font-weight: 700;

    transition: var(--transition);
}


.project-link:hover {
    gap: 13px;

    color: var(--primary-dark);
}


/* =========================================================
   CONTACT
========================================================= */

.contact-card {
    padding: 55px 35px;

    text-align: center;

    background: var(--white);

    border: 1px solid var(--border);

    border-radius: var(--radius-lg);

    box-shadow: var(--shadow);
}


.contact-icon {
    width: 80px;
    height: 80px;

    margin: 0 auto 25px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 22px;

    background: linear-gradient(
        135deg,
        var(--primary),
        var(--secondary)
    );

    color: var(--white);

    font-size: 2rem;

    box-shadow:
        0 15px 35px rgba(37, 99, 235, 0.20);
}


.contact-card h3 {
    color: var(--dark);

    font-size: 1.8rem;

    font-weight: 800;
}


.contact-card p {
    max-width: 650px;

    margin: 0 auto 25px;

    color: var(--muted);
}


.contact-socials {
    display: flex;

    justify-content: center;

    gap: 10px;
}


.contact-socials a {
    width: 43px;
    height: 43px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #f1f5f9;

    color: var(--dark);

    transition: var(--transition);
}


.contact-socials a:hover {
    transform: translateY(-4px);

    background: var(--primary);

    color: var(--white);
}


.contact-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;

    margin-top: 16px;
}


.contact-action {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    padding: 10px 16px;

    border-radius: 8px;

    color: var(--white);

    font-size: 0.88rem;
    font-weight: 700;

    transition: var(--transition);
}


.contact-action:hover {
    color: var(--white);
    transform: translateY(-2px);
}


.contact-action-call {
    background: #2563eb;
}


.contact-action-call:hover {
    background: #1d4ed8;
}


.contact-action-whatsapp {
    background: #16a34a;
}


.contact-action-whatsapp:hover {
    background: #15803d;
}


/* =========================================================
   FOOTER
========================================================= */

.footer {
    padding: 28px 0;

    background: #020617;

    color: rgba(255, 255, 255, 0.55);

    font-size: 0.85rem;
}


.footer p {
    margin: 0;
}


.footer a {
    color: #93c5fd;

    transition: var(--transition);
}


.footer a:hover {
    color: var(--white);
}


/* =========================================================
   SCROLL REVEAL
========================================================= */

.reveal {
    opacity: 0;

    transform: translateY(35px);

    transition:
        opacity 0.8s ease,
        transform 0.8s ease;
}


.reveal.show {
    opacity: 1;

    transform: translateY(0);
}


/* =========================================================
   SCROLLBAR
========================================================= */

::-webkit-scrollbar {
    width: 9px;
}


::-webkit-scrollbar-track {
    background: #e2e8f0;
}


::-webkit-scrollbar-thumb {
    background: #94a3b8;

    border-radius: 20px;
}


::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 991.98px) {

    #mainNavbar {
        padding: 11px 0;
    }


    .navbar-collapse {
        margin-top: 12px;

        padding: 10px;

        border-radius: 12px;

        background: rgba(15, 23, 42, 0.98);
    }


    .nav-link {
        padding: 10px 12px !important;
    }


    .nav-link::after {
        display: none;
    }


    .hero-section .row {
        text-align: center;
    }


    .hero-content {
        margin: 0 auto;
    }


    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }


    .social-links {
        justify-content: center;
    }


    .hero-image-ring {
        width: min(320px, 65vw);
        height: min(320px, 65vw);
    }


    .stats-section {
        margin-top: 30px;
    }

}


/* =========================================================
   TABLET / SMALL DEVICES
========================================================= */

@media (max-width: 767.98px) {

    .section-padding {
        padding: 75px 0;
    }


    .section-heading {
        margin-bottom: 45px;
    }


    .hero-section .min-vh-100 {
        min-height: auto !important;

        padding-top: 150px !important;
        padding-bottom: 90px !important;
    }


    .hero-name {
        letter-spacing: -1.5px;
    }


    .hero-heading {
        font-size: 1.25rem;
    }


    .hero-description {
        font-size: 0.95rem;
    }


    .hero-image-ring {
        width: 260px;
        height: 260px;
    }


    .hero-image-ring::before {
        inset: -10px;
    }


    .timeline::before {
        left: 10px;
    }


    .timeline-item {
        padding-left: 34px;
    }


    .timeline-dot {
        left: 0;

        width: 21px;
        height: 21px;
    }


    .timeline-card {
        padding: 22px;

        grid-template-columns: 1fr;
        gap: 20px;
    }


    .timeline-image-wrap,
    .timeline-image {
        min-height: 220px;
    }


    .project-card,
    .education-card {
        padding: 25px;
    }


    .contact-card {
        padding: 40px 22px;
    }


    .footer {
        text-align: center;
    }


    .footer .text-md-end {
        margin-top: 10px;

        text-align: center !important;
    }

}


/* =========================================================
   VERY SMALL DEVICES
========================================================= */

@media (max-width: 420px) {

    .hero-name {
        font-size: 2.7rem;
    }


    .hero-title {
        font-size: 1rem;
    }


    .hero-buttons .btn {
        width: 100%;

        margin-right: 0 !important;
    }


    .hero-image-ring {
        width: 220px;
        height: 220px;
    }


    .stat-card {
        padding: 20px;
    }


    .section-heading h2 {
        font-size: 2rem;
    }

}


/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }


    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;

        transition-duration: 0.01ms !important;

        scroll-behavior: auto !important;
    }

}
