/* =========================================================
   GLOBAL
========================================================= */

body {
    background-color: #0a0a0a;
    color: #e5e5e5;
    font-family: 'Inter', sans-serif;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    overflow-x: hidden;
}

.main-content {
    flex: 1;

    background:
        radial-gradient(
            circle at 20% 30%,
            rgba(255, 255, 255, 0.03),
            transparent 40%
        ),
        radial-gradient(
            circle at 80% 70%,
            rgba(255, 255, 255, 0.02),
            transparent 40%
        ),
        #0b0b0b;
}


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

.navbar {
    background: transparent;
    position: absolute;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.navbar-brand {
    font-weight: 600;
    color: #ED7014 !important;
}

.nav-link {
    color: #bbbbbb !important;
    margin-left: 15px;
}

.nav-link:hover {
    color: #ffffff !important;
}


/* =========================================================
   COMMON PAGE HERO
========================================================= */

.page-hero {
    width: 100%;
    min-height: 320px;

    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;

    color: #fff;

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    position: relative;
    z-index: 1;

    padding-top: 40px;
}

.page-hero::after {
    content: "";

    position: absolute;
    bottom: -1px;
    left: 0;

    width: 100%;
    height: 120px;

    background: linear-gradient(
        to bottom,
        rgba(11, 11, 11, 0) 0%,
        rgba(11, 11, 11, 1) 100%
    );

    pointer-events: none;
}


/* HERO OVERLAY */

.hero-contact::before,
.hero-articles::before,
.hero-ideas::before {
    content: "";

    position: absolute;
    inset: 0;

    background: linear-gradient(
        to right,
        rgba(0, 0, 0, 0.25),
        rgba(0, 0, 0, 0.1)
    );
}


/* HERO CONTENT ABOVE OVERLAY */

.page-hero .container-fluid {
    position: relative;
    z-index: 3;
}


/* =========================================================
   HERO BACKGROUNDS
========================================================= */

.hero-ideas {
    background-image: url("/static/images/ideas-bg.jpg");
}

.hero-projects {
    background-image: url("/static/images/projects-bg.jpg");
}

.hero-articles {
    background-image: url("/static/images/articles-bg.jpg");
}

.hero-about {
    background-image: url("/static/images/about-bg.jpg");
}

.hero-contact {
    background-image: url("/static/images/contact-bg.jpg");
}

.hero-expertise {
    background-image: url("/static/images/experience-bg.jpg");
}


/* =========================================================
   HOME HERO
========================================================= */

.hero-home {
    height: 90vh;

    background: url("/static/images/home-bg.jpg")
        center / cover no-repeat;

    background-color: #000;

    position: relative;
}

.hero-home .container {
    position: relative;
    z-index: 2;
}

.hero-home .container-fluid {
    height: 100%;
}

.hero-home .col-lg-6:last-child {
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}


/* HOME HERO OVERLAY */

.hero-home::before {
    content: "";

    position: absolute;
    inset: 0;

    background: rgba(0, 0, 0, 0.7);
}


/* HOME HERO TEXT */

.hero-title {
    font-size: 48px;
    font-weight: 600;
}

.hero-role {
    margin-top: 10px;
    color: #ccc;
}

.hero-description {
    margin-top: 15px;
    color: #aaa;
    max-width: 500px;
}


/* HOME HERO IMAGE */

.hero-home img {
    height: 89.5vh;
    max-height: 620px;
    width: auto;

    object-fit: contain;

    transform: translate(120px, -45px);

    -webkit-mask-image: linear-gradient(
        to right,
        transparent 0%,
        black 15%,
        black 85%,
        transparent 100%
    );

    mask-image: linear-gradient(
        to right,
        transparent 0%,
        black 15%,
        black 85%,
        transparent 100%
    );
}


/* =========================================================
   HERO IMAGE UTILITY
========================================================= */

.hero-img {
    min-height: 100vh;
    overflow: hidden;

    display: flex;
    align-items: center;
}


/* =========================================================
   SKILLS
========================================================= */

.skills-icons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

.skills-icons span {
    color: #ccc;
    font-size: 14px;
}

.skills-icons i {
    color: #ff7a18;
    margin-right: 6px;
}


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

.stats-row {
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
}

.stat-box {
    padding: 15px 25px;

    border: 1px solid #222;
    border-radius: 10px;

    min-width: 150px;

    text-align: center;

    background: rgba(255, 255, 255, 0.02);

    transition: 0.3s;
}

.stat-box:hover {
    border-color: #ff7a18;
    transform: translateY(-5px);
}

.stat-number {
    font-size: 28px;
    font-weight: 700;
    color: #ff7a18;
}


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

.project-img {
    width: 100%;
    max-height: 250px;

    object-fit: cover;

    border-radius: 10px;
}


/* =========================================================
   EXPERIENCE CARDS
========================================================= */

.experience-card {
    background: #111;

    border-radius: 12px;
    border: 1px solid #222;

    color: #fff;

    height: 100%;
}


/* =========================================================
   COMMON PROJECT / EXPERIENCE CARD
========================================================= */

.exp-card {
    background: #111;

    border-radius: 12px;
    padding: 20px;

    text-align: center;

    height: 100%;

    display: flex;
    flex-direction: column;
    justify-content: flex-start;

    transition: 0.3s ease;
}

.exp-card:hover {
    transform: translateY(-5px);

    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.5);
}


/* CARD IMAGE */

.exp-img {
    width: 100%;
    height: 200px;

    object-fit: cover;

    border-radius: 10px;
}


/* CARD TITLE */

.exp-card h4 {
    margin-top: 15px;
    color: #fff;
}


/* CARD FIELD */

.exp-field {
    color: #ff7a00;
    font-size: 14px;
    margin-bottom: 10px;
}


/* CARD DESCRIPTION */

.exp-desc {
    color: #aaa;
    font-size: 14px;

    min-height: 60px;
}


/* =========================================================
   IDEAS CARDS
========================================================= */

.idea-card {
    display: flex;

    gap: 15px;

    background: #111;

    border: 1px solid #222;
    border-radius: 12px;

    padding: 15px;

    height: 100%;

    align-items: stretch;

    transition: 0.3s ease;
}

.idea-card:hover {
    transform: translateY(-5px);

    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.5);
}


/* IDEA IMAGE */

.idea-img-wrapper {
    flex: 0 0 140px;
}

.idea-img {
    width: 140px;
    height: 120px;

    object-fit: cover;

    border-radius: 10px;
}


/* IDEA CONTENT */

.idea-content {
    display: flex;
    flex-direction: column;

    justify-content: space-between;

    flex: 1;
}

.idea-content h4 {
    min-height: 40px;
}

.idea-sector {
    color: #ff7a00;
    font-size: 13px;
    margin-bottom: 6px;
}

.idea-desc {
    color: #aaa;
    font-size: 14px;

    min-height: 60px;
    max-height: 60px;

    overflow: hidden;

    margin-bottom: 10px;
}


/* IDEA BUTTONS */

.idea-actions {
    display: flex;
    gap: 10px;
}

.idea-actions .btn {
    font-size: 12px;
    padding: 5px 10px;
}


/* =========================================================
   ARTICLE CARDS
========================================================= */

.article-card {
    background: #111;

    border: 1px solid #222;
    border-radius: 12px;

    overflow: hidden;

    transition: 0.3s ease;

    height: 100%;
}

.article-card:hover {
    transform: translateY(-6px);

    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.5);
}


/* ARTICLE IMAGE */

.article-img-wrapper {
    width: 100%;
    height: 180px;

    overflow: hidden;
}

.article-img {
    width: 100%;
    height: 100%;

    object-fit: cover;
}


/* ARTICLE CONTENT */

.article-content {
    padding: 15px;
}

.article-content h5 {
    color: #fff;
    font-size: 16px;
    margin-bottom: 5px;
}

.article-meta {
    color: #ff7a00;
    font-size: 12px;

    margin-bottom: 8px;

    opacity: 1;
}

.article-desc {
    color: #aaa;
    font-size: 14px;
    margin-bottom: 10px;
}


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

.project-card {
    margin-bottom: 50px;
}


/* PROJECT TEXT */

.project-text {
    padding: 10px 25px;
}

.project-text h4 {
    font-size: 22px;
    font-weight: 600;
    color: #fff;
}

.project-purpose {
    color: #ff7a00;
    font-size: 14px;
    margin-bottom: 10px;
}

.project-desc {
    color: #bbb;
    font-size: 14px;
    line-height: 1.6;
}


/* PROJECT IMAGE CAROUSEL */

.project-carousel img {
    width: 100%;
    height: 200px;

    object-fit: cover;

    border-radius: 10px;
}


/* CAROUSEL OVERFLOW */

.carousel-inner {
    overflow: hidden;
}


/* PROJECT CARD ROW SPACING */

.project-card .row {
    row-gap: 20px;
}


/* =========================================================
   ABOUT
========================================================= */

.about-section {
    padding: 0;
}

.col-lg-7 {
    padding-left: 60px;
}


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

.contact-card input,
.contact-card textarea {
    background-color: #181818 !important;

    border: 1px solid #181a1a;

    color: #ffffff !important;

    border-radius: 10px;

    padding: 14px;

    transition: all 0.3s ease;
}

.contact-card input::placeholder,
.contact-card textarea::placeholder {
    color: #94a3b8;
    font-size: 14px;
}

.contact-card input:focus,
.contact-card textarea:focus {
    background-color: #26272a !important;

    border-color: #3b82f6;

    box-shadow:
        0 0 10px rgba(59, 130, 246, 0.3);

    outline: none;
}


/* CONTACT BUTTON */

.contact-card .btn {
    background: linear-gradient(
        135deg,
        #272728,
        #27282e
    );

    border: none;

    color: white;
}

.contact-card .btn:hover {
    background: linear-gradient(
        135deg,
        #4e525a,
        #4e4e57
    );

    box-shadow:
        0 0 15px rgba(40, 40, 42, 0.64);
}


/* CONTACT ICON GRID */

.icon-grid {
    display: grid;

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

    gap: 5px;

    margin-bottom: 20px;
}

.contact-item {
    text-align: center;
}

.contact-icon {
    display: inline-flex;

    justify-content: center;
    align-items: center;

    width: 40px;
    height: 40px;

    background: rgba(255, 255, 255, 0.05);

    border-radius: 50%;

    color: #f84f17;

    font-size: 20px;

    transition: 0.3s;
}

.contact-icon:hover {
    background: #0d6efd;
    color: #1b1919;
}

.contact-text {
    margin-top: 15px;

    font-size: 14px;

    color: #ccc;
}


/* =========================================================
   CHROME AUTOFILL FIX
========================================================= */

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
textarea:-webkit-autofill {
    -webkit-box-shadow:
        0 0 0 1000px #0f172a inset !important;

    -webkit-text-fill-color: #ffffff !important;

    caret-color: white;

    transition:
        background-color 9999s ease-in-out 0s;
}


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

.footer-section {
    background: #0a0a0a;

    padding: 60px 20px 30px;
}

.footer-cta {
    background:
        linear-gradient(
            180deg,
            rgba(64, 66, 79, 0.3),
            transparent
        );

    padding: 50px 20px 20px;

    border-radius: 20px;

    margin-bottom: 30px;
}

.footer-cta h2 {
    color: #fff;
}

.footer-cta p {
    color: #aaa;
}

.btn-cta {
    background: #fff;

    color: #000;

    padding: 10px 25px;

    border-radius: 8px;
}

.btn-cta:hover {
    background: #ff6a00;
    color: #fff;
}

.footer-social a {
    margin: 0 15px;

    font-size: 20px;

    color: #aaa;

    transition: 0.3s;
}

.footer-social a:hover {
    color: #ff6a00;
}

.footer-bottom p {
    color: #666;
    font-size: 14px;
}


/* =========================================================
   RESPONSIVE — TABLET / MOBILE
========================================================= */

@media (max-width: 992px) {

    .navbar-collapse {
        background: rgba(0, 0, 0, 0.9);

        padding: 15px;

        border-radius: 10px;

        margin-top: 10px;
    }
}


/* =========================================================
   RESPONSIVE — MOBILE
========================================================= */

@media (max-width: 768px) {

    /* HOME TITLE */

    .hero-title {
        font-size: 28px;
    }

    .hero-role {
        font-size: 16px;
    }


    /* HOME IMAGE */

    .hero-home img {
        transform: none;

        height: auto;

        max-height: 300px;

        width: 100%;
    }
}

/* =========================================================
   FEATURED PROJECTS - INFINITE CAROUSEL
   ========================================================= */

.project-carousel-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 0 45px;
}

.project-track {
    display: flex;
    flex-wrap: nowrap;
    transition: transform 0.6s ease;
    will-change: transform;
}

.project-slide {
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
    padding: 0 14px;
    box-sizing: border-box;
}

.project-slide-inner {
    width: 100%;
    height: 100%;
}

.project-slide .exp-card {
    height: 100%;
}


/* OUTER CAROUSEL CONTROLS */

.project-carousel-prev,
.project-carousel-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 45px;
    height: 70px;
    border: none;
    background: transparent;
    z-index: 10;
    opacity: 0.8;
}

.project-carousel-prev {
    left: 0;
}

.project-carousel-next {
    right: 0;
}

.project-carousel-prev:hover,
.project-carousel-next:hover {
    opacity: 1;
}


/* MOBILE */

@media (max-width: 768px) {

    .project-carousel-wrapper {
        padding: 0 35px;
    }

    .project-slide {
        flex: 0 0 100%;
        max-width: 100%;
        padding: 0 5px;
    }

    .project-carousel-prev,
    .project-carousel-next {
        width: 35px;
    }

}