/* ==========================
   GLOBAL
========================== */

:root {
    --bg-primary: #020617;
    --bg-secondary: #0f172a;

    --text-primary: #ffffff;
    --text-secondary: #94a3b8;

    --blue: #60a5fa;
    --purple: #a855f7;
}

body {
    margin: 0;
    padding-top: 80px;

    background: var(--bg-primary);
    color: var(--text-primary);

    font-family: "Segoe UI", sans-serif;

    transition: 0.3s ease;
    overflow-x: hidden;
}

.light-mode {
    --bg-primary: #f8fafc;
    --bg-secondary: #ffffff;

    --text-primary: #0f172a;
    --text-secondary: #475569;
}

/* ==========================
   NAVBAR
========================== */

.site-navbar {

    background: rgba(15, 23, 42, 0.70) !important;

    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);

    border-bottom: 1px solid rgba(255,255,255,.1);

    box-shadow:
        0 8px 32px rgba(0,0,0,.3);

    z-index: 9999;
}

.navbar-nav {
    gap: 20px;
}

.brand-logo {
    width: 42px;
    height: 42px;
    object-fit: contain;
    transition: .3s ease;
    border-radius: 15%;
}

.brand-logo:hover {
    transform: scale(1.1);
}

.brand-text {
    font-weight: 700;
    letter-spacing: 1px;
    background: linear-gradient(
        90deg,
        #60a5fa,
        #a855f7
    );

    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-link {
    position: relative;

    color: rgba(255,255,255,.9) !important;

    font-weight: 600;

    transition: .3s ease;
}

.light-mode .nav-link {
    color: #0f172a !important;
}

.nav-link:hover {
    color: #60a5fa !important;
}

.nav-link::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: -4px;

    width: 0;
    height: 2px;

    background:
        linear-gradient(
            90deg,
            #60a5fa,
            #a855f7
        );

    transition: .3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* ==========================
   HERO
========================== */

.hero {
    position: relative;
    min-height: 100vh;

    display: flex;
    align-items: center;

    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;

    z-index: 0;
}

.hero::before {
    content: "";

    position: absolute;
    inset: 0;

    background: rgba(0, 0, 0, 0.45);

    z-index: 1;

    pointer-events: none;
}

.light-mode .hero::before {
    background: rgba(255, 255, 255, 0.20);
}

#particles-js {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    z-index: 2;

    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 5;
}

.hero-grid {
    position: relative;
    z-index: 6;

    display: grid;
    grid-template-columns: 1fr 1fr;

    gap: 70px;

    align-items: center;
}

/* ==========================
   PROFILE
========================== */

.profile-container {
    display: flex;
    justify-content: center;

    position: relative;
    z-index: 10;
}

.profile-ring {
    width: 420px;
    height: 420px;

    padding: 8px;

    border-radius: 50%;

    background: linear-gradient(
        135deg,
        #60a5fa,
        #a855f7
    );

    display: flex;
    align-items: center;
    justify-content: center;

    position: relative;
    z-index: 11;

    overflow: hidden;

    animation: pulseGlow 4s infinite alternate;
}

.profile-image {

width: 100%;
height: 100%;

object-fit: cover;
object-position: center center;

border-radius: 50%;

display: block;
}
.light-mode .profile-image {
    border-color: #ffffff;
}

@keyframes pulseGlow {
    from {
        box-shadow:
            0 0 20px #60a5fa;
    }

    to {
        box-shadow:
            0 0 40px #60a5fa,
            0 0 80px #a855f7;
    }
}

/* ==========================
   HERO TEXT
========================== */

.intro {

    color: #60a5fa;

    letter-spacing: 4px;

    font-weight: 600;
}

.hero h1 {

    font-size: 5rem;
    font-weight: 900;

    line-height: .95;

    margin: 15px 0;
}

.tagline {

    font-size: 1.4rem;

    color: var(--text-secondary);
}

.description {

    color: var(--text-secondary);

    font-size: 1.1rem;

    max-width: 550px;
}

/* ==========================
   BUTTONS
========================== */

.btn-primary {

    background:
        linear-gradient(
            135deg,
            #3b82f6,
            #a855f7
        );

    border: none;
}

.btn-primary:hover {

    transform: translateY(-2px);

    box-shadow:
        0 0 20px rgba(96,165,250,.5);
}

#themeToggle {
    border-radius: 50%;
}

/* ==========================
   HERO ICONS
========================== */
.hero-icons {

    display: flex;

    flex-direction: row;

    justify-content: space-between;

    align-items: flex-start;

    gap: 50px;

    margin-top: 80px;

    flex-wrap: nowrap;
}

.hero-icon {

    display: flex;

    flex-direction: column;

    align-items: center;

    text-align: center;

    min-width: 100px;
}

.hero-icon i {

    width: 70px;
    height: 70px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    font-size: 1.7rem;
}

.hero-icon span {

    margin-top: 10px;

    font-size: .9rem;

    font-weight: 600;
}

/* ==========================
   WHO IS PAUL
========================== */

.who-is-paul-section {

    padding: 100px 0;
}

.who-is-paul-card {

    background: rgba(55,255,255,.05);

    border: 1px solid rgba(255,255,255,.08);

    border-radius: 24px;

    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);

    padding: 50px;

    position: relative;
    overflow: hidden;
}

.who-is-paul-card::before {

    content: "";

    position: absolute;

    top: 0;
    left: 0;

    width: 100%;
    height: 4px;

    background: linear-gradient(
        90deg,
        #60a5fa,
        #a855f7
    );
}

.who-is-paul-card p {

    color: var(--text-secondary);

    font-size: 1.05rem;

    line-height: 1.9;

    margin-bottom: 24px;
}

.section-title {

    font-weight: 800;

    margin-bottom: 15px;
}

.title-line {

    width: 90px;
    height: 4px;

    margin: 0 auto;

    border-radius: 30px;

    background: linear-gradient(
        90deg,
        #60a5fa,
        #a855f7
    );
}

.who-is-paul-card:hover {

    box-shadow:
        0 0 25px rgba(96,165,250,.15),
        0 0 50px rgba(168,85,247,.12);

    transform: translateY(-3px);

    transition: .3s ease;
}

/* LIGHT MODE */

.light-mode .who-is-paul-card {

    background: rgba(255,255,255,.90);

    border: 1px solid rgba(0,0,0,.08);
}

/* MOBILE */

@media (max-width: 768px) {

    .who-is-paul-section {
        padding: 60px 0;
    }
    .who-is-paul-card {
        padding: 30px;
    }

    .who-is-paul-card p {

        font-size: 1rem;
    }
}


/*.hero-icons {

    display: flex;
    gap: 20px;
}

.hero-icon {

    width: 65px;
    height: 65px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    color: #60a5fa;
    font-size: 1.5rem;

    background:
        rgba(255,255,255,.05);

    border:
        1px solid rgba(255,255,255,.1);

    backdrop-filter: blur(10px);

    transition: .3s ease;
}

.hero-icon:hover {

    color: white;

    transform:
        translateY(-5px)
        scale(1.05);

    box-shadow:
        0 0 20px #60a5fa,
        0 0 40px #a855f7;
} */

/* ==========================
   FOOTER
========================== */

.site-footer {

    background:
        rgba(15,23,42,.8);

    backdrop-filter: blur(16px);

    border-top:
        1px solid rgba(255,255,255,.08);
}

.footer-icons a {

    font-size: 1.4rem;

    text-decoration: none;

    transition: .3s ease;
}

.footer-icons a:hover {

    color: #60a5fa !important;

    transform:
        translateY(-3px);
}

/* ==========================
   LIGHT MODE
========================== */

.light-mode .site-navbar {

    background:
        rgba(255,255,255,.8) !important;
}

.light-mode .site-footer {

    background:
        rgba(255,255,255,.8);
}

.light-mode .footer-icons a {
    color: #0f172a !important;
}
/* ==========================
   SKILLS SECTION
========================== */

.skills-section {
    padding-top: 100px;
    padding-bottom: 100px;
}

.section-title {
    font-weight: 800;
    margin-bottom: 15px;
}

.skill-card {

    background: rgba(255,255,255,.05);

    border: 1px solid rgba(255,255,255,.08);

    backdrop-filter: blur(12px);

    border-radius: 20px;

    transition: .4s ease;

    overflow: hidden;
}

.skill-card:hover {

    transform:
        translateY(-10px);

    box-shadow:
        0 0 20px rgba(96,165,250,.3),
        0 0 40px rgba(168,85,247,.2);
}

.skill-icon {

    font-size: 3rem;

    background:
        linear-gradient(
            135deg,
            #60a5fa,
            #a855f7
        );

    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.skill-card h4 {

    color: var(--text-primary);

    font-weight: 700;
}

.skill-card p {

    color: var(--text-secondary);
}

/* Light Mode */

.light-mode .skill-card {

    background: rgba(255,255,255,.85);

    border: 1px solid rgba(0,0,0,.08);
}
/* ==========================
   WHAT I DO SECTION
========================== */

.expertise-section {

    padding-top: 100px;
    padding-bottom: 100px;
}

.expertise-card {

    background: rgba(255,255,255,.05);

    border: 1px solid rgba(255,255,255,.08);

    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);

    border-radius: 20px;

    transition: all .3s ease;

    overflow: hidden;
}

.expertise-card:hover {

    transform: translateY(-10px);

    box-shadow:
        0 0 25px rgba(96,165,250,.20),
        0 0 50px rgba(168,85,247,.15);
}

.expertise-icon {

    font-size: 3rem;

    background: linear-gradient(
        135deg,
        #60a5fa,
        #a855f7
    );

    background-clip: text;
    -webkit-text-fill-color: transparent;

    display: inline-block;
}

.expertise-card h4 {
    color: var(--text-primary) !important;

    font-weight: 700;

    margin-bottom: 15px;
}

.light-mode .expertise-card h4 {
    color: #0f172a !important;
}

.expertise-card p {

    color: var(--text-secondary);

    margin-bottom: 0;
}

/* Light Mode */

.light-mode .expertise-card {

    background: rgba(255,255,255,.85);

    border: 1px solid rgba(0,0,0,.08);
}
/* ==========================
   CONTACT PAGE
========================== */

.contact-section {

    min-height: 100vh;

    display: flex;
    align-items: center;

    padding: 120px 0;
}

.contact-card {

    background: rgba(255,255,255,.05);

    border: 1px solid rgba(255,255,255,.08);

    backdrop-filter: blur(12px);

    border-radius: 25px;

    padding: 40px;
}

.form-control {

    background: rgba(255,255,255,.05);

    border: 1px solid rgba(255,255,255,.1);

    color: var(--text-primary);
}

.form-control:focus {

    background: rgba(255,255,255,.08);

    border-color: #60a5fa;

    box-shadow:
        0 0 15px rgba(96,165,250,.3);
}

.light-mode .contact-card {

    background: rgba(255,255,255,.85);

    border: 1px solid rgba(0,0,0,.08);
}
/* Mobile */

@media (max-width: 768px) {

    .expertise-section {

        padding-top: 75px;
        padding-bottom: 75px;
    }

    .expertise-icon {

        font-size: 2.5rem;
    }
}
/* ==========================
   PROJECTS
========================== */

.projects-section {
    padding-top: 100px;
    padding-bottom: 100px;
}

.project-card {

    background: rgba(255,255,255,.05);

    border: 1px solid rgba(255,255,255,.08);

    backdrop-filter: blur(12px);

    border-radius: 20px;

    transition: .4s ease;
}

.project-card:hover {

    transform: translateY(-10px);

    box-shadow:
        0 0 25px rgba(96,165,250,.25),
        0 0 50px rgba(168,85,247,.15);
}

.project-icon {

    font-size: 3rem;

    background:
        linear-gradient(
            135deg,
            #60a5fa,
            #a855f7
        );

    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.project-card h4 {
    margin-bottom: 15px;
}

.project-tag {

    display: inline-block;

    margin-right: 8px;
    margin-top: 10px;

    padding: 6px 12px;

    border-radius: 20px;

    background: rgba(96,165,250,.15);

    color: #60a5fa;

    font-size: .85rem;
}

.light-mode .project-card {

    background: rgba(255,255,255,.85);

    border: 1px solid rgba(0,0,0,.08);
}

/* ==========================
   TIMELINE
========================== */

.timeline-section {
    padding-top: 100px;
    padding-bottom: 100px;
}

.timeline {

    position: relative;

    max-width: 800px;

    margin: 0 auto;
}

.timeline::before {

    content: '';

    position: absolute;

    left: 20px;
    top: 0;
    bottom: 0;

    width: 3px;

    background: linear-gradient(
        to bottom,
        #60a5fa,
        #a855f7
    );
}

.timeline-item {

    position: relative;

    padding-left: 70px;

    margin-bottom: 50px;
}

.timeline-dot {

    position: absolute;

    left: 8px;
    top: 15px;

    width: 24px;
    height: 24px;

    border-radius: 50%;

    background: #60a5fa;

    box-shadow:
        0 0 15px #60a5fa,
        0 0 30px #a855f7;
}

.timeline-content {

    background: rgba(255,255,255,.05);

    border: 1px solid rgba(255,255,255,.08);

    backdrop-filter: blur(12px);

    border-radius: 20px;

    padding: 25px;

    transition: .3s ease;
}

.timeline-content:hover {

    transform: translateY(-5px);

    box-shadow:
        0 0 20px rgba(96,165,250,.25),
        0 0 40px rgba(168,85,247,.15);
}

.timeline-year {

    display: inline-block;

    color: #60a5fa;

    font-weight: 700;

    margin-bottom: 10px;
}

/* ==========================
   PROJECTS
========================== */

.projects-section {
    padding-top: 100px;
    padding-bottom: 100px;
}

.project-card {

    background: rgba(255,255,255,.05);

    border: 1px solid rgba(255,255,255,.08);

    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);

    border-radius: 20px;

    transition: .3s ease;
}

.project-card:hover {

    transform: translateY(-10px);

    box-shadow:
        0 0 25px rgba(96,165,250,.25),
        0 0 50px rgba(168,85,247,.15);
}

.project-icon {

    font-size: 3rem;

    background: linear-gradient(
        135deg,
        #60a5fa,
        #a855f7
    );
     background-clip: text;
    -webkit-text-fill-color: transparent;
}

.project-card h4 {
    font-weight: 700;
}

.project-card p {
    color: var(--text-secondary);
}

.project-tags {
    margin-top: 15px;
}

.project-tags span {

    display: inline-block;

    margin-right: 8px;
    margin-bottom: 8px;

    padding: 6px 12px;

    border-radius: 30px;

    background: rgba(96,165,250,.15);

    color: #60a5fa;

    font-size: .8rem;
}

.light-mode .project-card {

    background: rgba(255,255,255,.85);

    border: 1px solid rgba(0,0,0,.08);
}

.project-card h4 {

    color: var(--text-primary);

    font-weight: 700;

    transition: .3s ease;
}

.light-mode .project-card h4 {

    color: #0f172a;
}
/* ==========================
   WEBSITE PORTFOLIO PREVIEWS
========================== */

.service-descriptions-section {
    padding: 100px 0;
}

.website-preview-section {
    text-align: center;
}

.website-preview-intro {
    max-width: 700px;
    margin: 0 auto 50px;
    color: var(--text-secondary);
}

.website-preview-grid {

    display: grid;

    grid-template-columns:
        repeat(auto-fit, minmax(300px, 1fr));

    gap: 30px;
}

.website-preview-card {

    background: rgba(255,255,255,.05);

    border: 1px solid rgba(255,255,255,.08);

    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);

    border-radius: 20px;

    overflow: hidden;

    transition: .35s ease;
}

.website-preview-card:hover {

    transform: translateY(-10px);

    box-shadow:
        0 0 25px rgba(96,165,250,.20),
        0 0 50px rgba(168,85,247,.15);
}

.website-preview-thumb {

    position: relative;

    height: 260px;

    overflow: hidden;

    background: #0f172a;
}

.website-preview-thumb iframe {

    width: 1440px;
    height: 900px;

    border: 0;

    transform: scale(.25);

    transform-origin: top left;

    pointer-events: none;
}

.preview-overlay {

    position: absolute;

    inset: 0;

    z-index: 2;
}

.website-preview-card h4 {

    color: var(--text-primary);

    margin-top: 20px;

    font-weight: 700;
}

.website-preview-card p {

    color: var(--text-secondary);

    padding: 0 20px 25px;

    margin-bottom: 0;
}

.red-t {

    background:
        linear-gradient(
            135deg,
            #60a5fa,
            #a855f7
        );

    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.red-2 {

    background:
        linear-gradient(
            135deg,
            #60a5fa,
            #a855f7
        );

    background-clip: text;
    -webkit-text-fill-color: transparent;

    font-weight: 800;
}

/* ==========================
   LIGHT MODE
========================== */

.light-mode .website-preview-card {

    background: rgba(255,255,255,.85);

    border: 1px solid rgba(0,0,0,.08);
}

.light-mode .website-preview-thumb {

    background: #f8fafc;
}

/* ==========================
   MOBILE
========================== */

@media (max-width: 768px) {

    .website-preview-grid {
        grid-template-columns: 1fr;
    }

    .website-preview-thumb {
        height: 220px;
    }

    .website-preview-thumb iframe {

        transform: scale(.20);
    }
}
.contact-section {

    padding-top: 120px;
    padding-bottom: 120px;

    min-height: 100vh;
}

.contact-card {

    background: rgba(255,255,255,.05);

    backdrop-filter: blur(12px);

    border: 1px solid rgba(255,255,255,.08);

    border-radius: 24px;

    padding: 40px;
}
/*form control styles*/
.form-control {

    background: rgba(255,255,255,.05);

    border: 1px solid rgba(255,255,255,.10);

    color: #ffffff;
}
.form-control::placeholder {

    color: rgba(255,255,255,.60);

    opacity: 1;
}
.light-mode .form-control {

    color: #0f172a;

    background: rgba(255,255,255,.85);
}

.light-mode .form-control::placeholder {

    color: #64748b;
}
.form-control:focus {

    color: #ffffff;

    background: rgba(255,255,255,.08);

    border-color: #60a5fa;

    box-shadow:
        0 0 15px rgba(96,165,250,.3);
}
.form-control {

    caret-color: #60a5fa;
}
/* Inputs */
.form-control {
    color: #ffffff !important;
}

/* Placeholder text */
.form-control::placeholder {
    color: rgba(255,255,255,.65) !important;
    opacity: 1 !important;
}

/* Textarea placeholder */
textarea.form-control::placeholder {
    color: rgba(255,255,255,.65) !important;
}

/* Light mode placeholders */
.light-mode .form-control::placeholder {
    color: #64748b !important;
}
::placeholder {
    color: rgb(178, 152, 234);
}
.form-control::placeholder {
    color: #94a3b8 !important;
}
.project-hero {

    padding-top: 150px;
    padding-bottom: 100px;

    text-align: center;
}

.tech-card {

    background: rgba(255,255,255,.05);

    border: 1px solid rgba(255,255,255,.08);

    border-radius: 15px;

    padding: 20px;

    text-align: center;

    font-weight: 700;
}

.feature-list {

    max-width: 700px;

    margin: auto;
}

.feature-list li {

    margin-bottom: 12px;
}

.project-card {

    background: rgba(255,255,255,.05);

    border-radius: 20px;

    border: 1px solid rgba(255,255,255,.08);
}


/* ==========================
   MOBILE
========================== */

@media (max-width: 992px) {

    .hero {
        padding: 120px 0 70px;
        min-height: auto;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 45px;
    }

    .profile-ring {
        width: 280px;
        height: 280px;
    }

    .hero h1 {
        font-size: 3rem;
    }

    .hero-icons {
        justify-content: center;
        flex-wrap: wrap;
    }

    .description {
        margin: auto;
    }
}

@media (max-width: 576px) {

    .profile-ring {
        width: 220px;
        height: 220px;
    }

    .hero h1 {
        font-size: 2.25rem;
    }

    .tagline {
        font-size: 1rem;
    }

    .hero-icons {
        gap: 20px;
    }
}
/* ==========================
   WEBSITE SHOWCASE RESPONSIVE
========================== */

@media (max-width: 991px) {

    .website-showcase-section {
        padding-top: 75px;
        padding-bottom: 75px;
    }

    .website-preview-thumb {
        height: 240px;
    }

    .website-preview-thumb iframe {
        transform: scale(.22);
    }

    .website-preview-card h4 {
        font-size: 1.2rem;
    }
}

@media (max-width: 768px) {

    .website-preview-thumb {
        height: 220px;
    }

    .website-preview-thumb iframe {
        transform: scale(.20);
    }

    .website-preview-card {

        max-width: 500px;

        margin: 0 auto;
    }

    .website-preview-card h4 {

        text-align: center;

        font-size: 1.15rem;
    }

    .website-preview-card p {

        text-align: center;

        min-height: auto;
    }

    .website-preview-card .btn {

        width: 100%;
    }
}

@media (max-width: 576px) {

    .website-showcase-section {
        padding-top: 50px;
        padding-bottom: 50px;
    }

    .website-preview-thumb {
        height: 180px;
    }

    .website-preview-thumb iframe {
        transform: scale(.16);
    }

    .website-preview-card h4 {
        font-size: 1rem;
    }

    .website-preview-card p {
        font-size: .9rem;
    }

    .website-preview-thumb iframe {

        width: 1600px;
        height: 1000px;
    }
}
