@font-face {
    font-family: "BebasNeue";
    src: url("../fonts/BebasNeue-Bold.ttf.ttf") format("truetype");
    font-weight: 900;
    font-style: normal;
}

@font-face {
    font-family: "Motague";
    src: url("../fonts/Motague-Demo.ttf.ttf") format("truetype");
    font-weight: 500;
}

@font-face {
    font-family: "Inter";
    src: url("../fonts/Inter-VariableFont_opsz,wght.ttf") format("truetype");
    font-weight: 200;
    font-style: italic;
}

/* ===========================
   GLOBAL + BACKGROUND
=========================== */

body {
    margin: 0;
    padding: 0;
    background: url("../img/halftone-background.png") no-repeat center center fixed;
    background-size: cover;
}

/* ===========================
   NAVIGATION BAR
=========================== */

.custom-nav {
    padding: 15px 0;
}

.navbar-nav .nav-link-custom {
    font-family: "BebasNeue", sans-serif;
    font-size: 22px;
    padding: 8px 18px;
    color: rgb(255, 255, 255);
    background-color: #293182;
    border-radius: 6px;
    margin: 0 6px;
    transition: 0.2s ease;
}

.navbar-nav .nav-link-custom:hover {
    background-color: #1f2766;
    color: rgb(0, 0, 0);
}

/* ===========================
   HERO SECTION
=========================== */

.hero-section {
    padding-top: 140px;
    padding-bottom: 80px;
    min-height: 100vh;

    display: flex;
    align-items: center;   /* vertical centering */
}

.hero-illustration {
    max-width: 95%;
}

.hero-role {
    font-family: "Inter", sans-serif;
    font-style: italic;
    font-weight: 500;
    font-size: 20px;
    color: #c90013;
    margin-top: 10px;
}

/* === HERO TEXT === */
.welcome-text {
    font-family: "BebasNeue", sans-serif;
    color: black;
    font-size: 70px;
    letter-spacing: 1px;
}

.hero-name {
    font-family: "Motague", serif;
    font-size: 96px;
    color: #9f0013;
    margin-top: -15px;
}

.portfolio-text {
    font-family: "BebasNeue", sans-serif;
    font-size: 70px;
    color: black;
    margin-top: -40px;
}

/* Start button */
.btn-start {
    font-family: "BebasNeue", sans-serif;
    background-color: #c90013;
    color: white;
    font-size: 28px;
    padding: 10px 40px;
    border-radius: 6px;
    transition: 0.2s ease;
}

.btn-start:hover {
    background-color: #9f0013;
    color: black;
}

/* ===========================
   START BUTTON
=========================== */

.btn-start {
    font-family: "BebasNeue", sans-serif;
    background-color: #c90013;
    color: white;
    font-size: 28px;
    padding: 10px 40px;
    border-radius: 6px;
    transition: 0.2s ease;
}

.btn-start:hover {
    background-color: #9f0013;
    color: rgb(0, 0, 0);
}

/* ============================
   ABOUT SECTION — SIZE + STYLE
============================== */

:root {
    --theme-red: #c90013;     /* main red */
    --deep-red: #9f0013;      /* dark red for subsection titles */
}

.about-section {
    padding: 100px 0;
    max-width: 1100px;        /* Limit total width */
    margin: auto;
}

.about-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 40px;
}

.about-img {
    max-width: 350px;         /* Resize image */
    border-radius: 10px;
}

.about-text {
    flex: 1;
}

/* ============================
   MAIN HEADING — ABOUT ME
============================== */
.about-heading {
    font-family: "BebasNeue", sans-serif;
    font-size: 48px;              /* Same as hero */
    color: var(--theme-red);      /* Red text */
    margin-bottom: 10px;
}

.about-line {
    width: 120px;
    height: 4px;
    background-color: var(--theme-red);
    margin-bottom: 20px;
}

/* ============================
   PARAGRAPHS
============================== */
.about-paragraph {
    font-family: "Inter", sans-serif;
    font-weight: 700;
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 20px;
}

/* ============================
   SUBSECTION HEADERS
   (Education, Experience, Software)
============================== */
.subheading {
    font-family: "BebasNeue", sans-serif;
    font-size: 36px;
    margin-top: 40px;
    color: var(--deep-red);        /* Dark red */
    position: relative;
}

/* underline for subheadings */
.subheading::after {
    content: "";
    display: block;
    width: 120px;
    height: 4px;
    background-color: var(--theme-red); /* lighter red underline */
    margin-top: 4px;
}

/* ============================
   YEAR + DETAILS
============================== */
.about-year {
    font-family: "Inter", sans-serif;
    font-weight: 600;             /* stronger weight */
    font-size: 18px;
    margin-bottom: -5px;
}

.about-detail {
    font-family: "Inter", sans-serif;
    font-weight: 300;
    font-size: 16px;
    margin-bottom: 10px;
}

/* ============================
   SOFTWARE ICONS
============================== */
.software-icons img {
    width: 65px;
    margin-bottom: 12px;
}

/* WORKS SECTION */
.works-section {
    padding: 80px 0;
    text-align: center;
}

.works-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
}

.works-arrow {
    width: 70px;
    cursor: pointer;
    transition: 0.2s;
}

.works-arrow:hover {
    transform: scale(1.1);
}

#works-title {
    font-family: "BebasNeue", sans-serif;
    font-size: 60px;
    color: #c90013;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.works-gallery {
    display: flex;
    gap: 30px;
    justify-content: center;
}

.work-img {
    width: 260px;
    height: 350px;
    background-color: orange;
    border-radius: 6px;
    object-fit: cover;
    transition: opacity 0.3s ease-in-out;
}

/* Full section with background */
.contact-section {
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;   /* centers horizontally */
    align-items: center;       /* centers vertically */
    background: url("../img/contact-footer.png") no-repeat center center/cover;
}

/* Main wrapper */
.contact-container {
    display: flex;
    align-items: center;
    gap: 80px; /* spacing between left and right */
}

/* Left side */
.contact-left {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 40px;
}

.contact-title {
    font-size: 90px;
    font-weight: 700;
    color: white;
    line-height: 0.9;
    margin: 0;
    text-align: right;
}

/* Divider line */
.contact-line {
    width: 3px;
    height: 300px;
    background-color: white;
}

/* Right side list */
.contact-right {
    display: flex;
    flex-direction: column;
    gap: 35px;
    color: white;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 20px;
}

.icon {
    width: 45px;
}

.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}