/* =========================================
   GLOBAL
========================================= */

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Segoe UI", Arial, sans-serif;
    background: #05080f;
    color: #ffffff;
}

section {
    scroll-margin-top: 80px;
}

a {
    text-decoration: none;
}


/* =========================================
   NAVBAR
========================================= */

.custom-navbar {
    background: rgba(5, 8, 15, 0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 15px 0;
}

.navbar-brand {
    font-size: 1.3rem;
    letter-spacing: 1px;
}

.navbar-brand span,
.footer span,
.hero-section h1 span,
.project-showcase h2 span {
    color: #3b82f6;
}

.nav-link {
    color: #ffffff !important;
    font-weight: 500;
    padding: 8px 13px !important;
    transition: 0.3s ease;
}

.nav-link:hover {
    color: #3b82f6 !important;
}

.contact-nav {
    background: #2563eb;
    border-radius: 8px;
}

.contact-nav:hover {
    color: #ffffff !important;
    background: #1d4ed8;
}


/* =========================================
   HERO
========================================= */

.hero-section {
    min-height: 100vh;

    background:
        linear-gradient(
            rgba(3, 7, 15, 0.88),
            rgba(3, 7, 15, 0.94)
        ),
        url("assets/images/coded-lifestyle-bg.jpg");

    background-size: cover;
    background-position: center;
}

.hero-small-text {
    color: #60a5fa;
    font-weight: 700;
    letter-spacing: 3px;
    font-size: 14px;
}

.hero-section h1 {
    font-size: clamp(3rem, 8vw, 6rem);
    letter-spacing: -3px;
}

.hero-description {
    max-width: 600px;
    margin: 20px 0 30px;
    color: #cbd5e1;
    font-size: 1.1rem;
    line-height: 1.8;
}

.btn-primary {
    background: #2563eb;
    border-color: #2563eb;
    padding: 12px 24px;
    font-weight: 600;
}

.btn-primary:hover {
    background: #1d4ed8;
    border-color: #1d4ed8;
}


/* =========================================
   PROFILE IMAGE
========================================= */

.profile-wrapper {
    position: relative;
    display: inline-block;
}

.profile-wrapper::before {
    content: "";
    position: absolute;
    inset: -15px;
    border: 2px solid #2563eb;
    border-radius: 50%;
    opacity: 0.5;
}

.profile-image {
    width: 320px;
    height: 320px;
    object-fit: cover;
    border-radius: 50%;
    border: 5px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}


/* =========================================
   GENERAL SECTIONS
========================================= */

.section-padding {
    padding: 100px 0;
}

.about-section {
    background: #ffffff;
    color: #111827;
}

.services-section {
    background: #f8fafc;
    color: #111827;
}

.education-section {
    background: #ffffff;
    color: #111827;
}

.hobbies-section {
    background: #f8fafc;
    color: #111827;
}

.section-heading span,
.section-label {
    color: #2563eb;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 3px;
}

.section-heading h2 {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 300;
    margin-top: 10px;
}

.section-heading h2 strong {
    font-weight: 800;
}

.heading-line {
    width: 60px;
    height: 4px;
    background: #2563eb;
    border-radius: 10px;
    margin: 20px auto;
}


/* =========================================
   ABOUT
========================================= */

.about-image {
    width: 320px;
    height: 320px;
    object-fit: cover;
    border-radius: 25px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.about-section h3 {
    font-size: 2rem;
    font-weight: 700;
}

.about-section p {
    color: #64748b;
    line-height: 1.8;
}

.specialization-list {
    padding: 0;
    list-style: none;
}

.specialization-list li {
    margin-bottom: 15px;
    font-weight: 600;
}

.specialization-list i {
    color: #2563eb;
    margin-right: 8px;
}


/* =========================================
   SERVICES
========================================= */

.services-section > .container > .section-heading p {
    color: #64748b;
}

.service-card {
    background: #ffffff;
    padding: 40px 30px;
    border-radius: 20px;
    border: 1px solid #e2e8f0;
    transition: 0.35s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: #2563eb;
    transform: scaleX(0);
    transform-origin: left;
    transition: 0.35s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.12);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 65px;
    height: 65px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #eff6ff;
    color: #2563eb;
    border-radius: 15px;
    font-size: 30px;
    margin-bottom: 25px;
}

.service-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
}

.service-card p {
    color: #64748b;
    line-height: 1.7;
}

.service-link {
    color: #2563eb;
    font-weight: 700;
}

.service-link i {
    margin-left: 5px;
    transition: 0.3s;
}

.service-link:hover i {
    margin-left: 10px;
}


/* =========================================
   PROJECT SHOWCASE
========================================= */

.project-showcase {
    padding: 100px 0;
    background: #05080f;
    color: white;
}

.project-showcase h2 {
    font-size: clamp(2.2rem, 5vw, 4rem);
    font-weight: 800;
    margin: 15px 0;
}

.project-showcase p {
    color: #94a3b8;
    line-height: 1.8;
    max-width: 550px;
}

.project-image-wrapper {
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.5);
}

.project-image {
    width: 100%;
    transition: 0.5s ease;
}

.project-image:hover {
    transform: scale(1.05);
}


/* =========================================
   EDUCATION
========================================= */

.education-card {
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    padding: 50px 30px;
    border-radius: 20px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
}

.education-card i {
    font-size: 50px;
    color: #2563eb;
}

.education-card h3 {
    margin-top: 20px;
}

.education-card p {
    color: #64748b;
    line-height: 1.8;
}


/* =========================================
   HOBBIES
========================================= */

.hobby-text {
    font-size: 1.1rem;
    color: #64748b;
    line-height: 1.9;
}

.motto {
    margin-top: 30px;
    padding: 25px;
    border-left: 4px solid #2563eb;
    background: white;
    font-weight: 700;
    font-style: italic;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.motto i {
    color: #2563eb;
    font-size: 25px;
}


/* =========================================
   CONTACT
========================================= */

.contact-section {
    background: #05080f;
    color: white;
}

.contact-section .section-heading p {
    color: #94a3b8;
}

.contact-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 40px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

.form-label {
    font-weight: 600;
}

.form-control {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: white;
    padding: 13px 15px;
}

.form-control::placeholder {
    color: #64748b;
}

.form-control:focus {
    background: rgba(255, 255, 255, 0.08);
    color: white;
    border-color: #2563eb;
    box-shadow: 0 0 0 0.2rem rgba(37, 99, 235, 0.15);
}

.contact-links {
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
}

.contact-links a {
    color: #cbd5e1;
    font-weight: 600;
    transition: 0.3s;
}

.contact-links a:hover {
    color: #3b82f6;
}

.contact-links i {
    color: #2563eb;
    margin-right: 5px;
}


/* =========================================
   FOOTER
========================================= */

.footer {
    padding: 50px 0;
    background: #020409;
    color: #94a3b8;
}

.footer h4 {
    color: white;
    font-weight: 800;
}

.footer p {
    margin-top: 10px;
}

.copyright {
    font-size: 13px;
    margin-top: 25px !important;
    color: #475569;
}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 991px) {

    .custom-navbar {
        padding: 12px 0;
    }

    .navbar-nav {
        padding-top: 15px;
    }

    .contact-nav {
        display: inline-block;
        margin-top: 5px;
    }

    .hero-section {
        padding-top: 80px;
    }

}


@media (max-width: 576px) {

    .section-padding {
        padding: 70px 0;
    }

    .hero-section h1 {
        letter-spacing: -2px;
    }

    .profile-image {
        width: 230px;
        height: 230px;
    }

    .about-image {
        width: 250px;
        height: 250px;
    }

    .contact-card {
        padding: 25px 20px;
    }

}