* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {

    background:
        radial-gradient(circle at top left,
        rgba(56, 189, 248, 0.12),
        transparent 30%),

        radial-gradient(circle at bottom right,
        rgba(56, 189, 248, 0.08),
        transparent 25%),

        #050816;

    color: white;

    font-family: 'Inter', sans-serif;

    overflow-x: hidden;
}

/* NAVBAR */

nav {

    width: 100%;

    display: flex;

    justify-content: space-between;

    align-items: center;

    padding: 8px 8%;

    position: fixed;

    top: 0;

    background: rgba(10, 15, 30, 0.50);

    backdrop-filter: blur(18px);

    -webkit-backdrop-filter: blur(18px);

    border-bottom:
        1px solid rgba(255, 255, 255, 0.05);

    z-index: 1000;
}

.logo img {
    width: 200px;

    height: auto;

    display: block;

    filter: drop-shadow(0 0 8px rgba(56, 189, 248, 0.4));

    transition: 0.3s;
}

.logo img:hover {

    filter:
        drop-shadow(0 0 10px rgba(56, 189, 248, 0.6))
        drop-shadow(0 0 20px rgba(56, 189, 248, 0.4));

    transform: scale(1.05);
}

nav ul {
    display: flex;
    gap: 35px;
    list-style: none;
    margin-right: 40px;
}

nav a {

    color: white;

    text-decoration: none;

    font-size: 15px;

    font-weight: 500;

    position: relative;

    transition: 0.3s ease;
}

nav a::after {

    content: "";

    position: absolute;

    left: 0;

    bottom: -6px;

    width: 0%;

    height: 2px;

    background: #38bdf8;

    border-radius: 10px;

    transition: 0.3s ease;

    box-shadow:
        0 0 10px rgba(56, 189, 248, 0.8);
}

nav a:hover {

    color: #38bdf8;
}

nav a:hover::after {

    width: 100%;
}

/* HERO */

header {

    min-height: 85vh;

    display: flex;

    justify-content: center;

    align-items: center;

    gap: clamp(40px, 6vw, 90px);

    padding: 240px 8% 80px;

    flex-wrap: wrap;
}

.hero-left {

    flex: 1;

    min-width: 320px;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;
}

.small-text {

    color: #38bdf8;

    letter-spacing: 3px;

    font-size: 14px;

    margin-bottom: 20px;

    text-transform: uppercase;
}

.hero-left h1 {
    font-size: clamp(48px, 6vw, 78px);
    line-height: 1.1;
    margin-bottom: 25px;
}

.hero-left span {
    color: #4cc9f0;
}

.hero-description {
    font-size: 18px;

    line-height: 1.8;

    color: #94a3b8;

    margin-top: 25px;

    margin-bottom: 40px;

    max-width: 550px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

/* BUTTONS */

.hero-buttons {
    display: flex;

    gap: 20px;

    margin-top: 40px;
}

button {
    padding: 16px 34px;

    border-radius: 14px;

    border: 1px solid rgba(255, 255, 255, 0.1);

    font-size: 16px;

    font-weight: 600;

    cursor: pointer;

    transition: all 0.3s ease;

    backdrop-filter: blur(10px);

    -webkit-backdrop-filter: blur(10px);
}

/* PRIMARY BUTTON */

.primary-btn {

    background: rgba(56, 189, 248, 0.12);

    color: #38bdf8;

    box-shadow:
        0 0 10px rgba(56, 189, 248, 0.15);

}

.primary-btn:hover {

    transform: translateY(-4px);

    background: rgba(56, 189, 248, 0.18);

    box-shadow:
        0 0 15px rgba(56, 189, 248, 0.35),
        0 0 30px rgba(56, 189, 248, 0.15);

}

/* SECONDARY BUTTON */

.secondary-btn {

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

    color: white;

}

.secondary-btn:hover {

    transform: translateY(-4px);

    border-color: rgba(56, 189, 248, 0.5);

    color: #38bdf8;

    box-shadow:
        0 0 15px rgba(56, 189, 248, 0.25);

}

/* HERO IMAGE */

.hero-right {

    flex: 1;

    min-width: 320px;

    max-width: 650px;
}

.image-container {

    width: clamp(220px, 25vw, 300px);

    height: clamp(220px, 25vw, 300px);

    border-radius: 30px;

    overflow: hidden;

    margin-bottom: 20px;

    position: relative;

    z-index: 2;

    border: 1px solid rgba(56, 189, 248, 0.25);

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

    box-shadow:
        0 0 20px rgba(56, 189, 248, 0.08),
        0 0 40px rgba(56, 189, 248, 0.04);

    transition: 0.4s ease;
}
.image-container:hover {

    transform: translateY(-6px);

    box-shadow:
        0 0 25px rgba(56, 189, 248, 0.18),
        0 0 50px rgba(56, 189, 248, 0.08);
}

.image-container img {
    width: 100%;
    height: 100%;

    object-fit: cover;
}

/* SECTIONS */

section {

    min-height: 75vh;

    padding: 65px 8%;

    scroll-margin-top: 180px;

    display: flex;

    flex-direction: column;

    justify-content: flex-start;
}

.section-title p {
    color: #4cc9f0;
    letter-spacing: 3px;
    font-size: 14px;

    margin-bottom: 15px;
}

.section-title h2 {
    font-size: 48px;

    margin-bottom: 50px;
}

/* ABOUT */

.about-section {

    width: 100%;
}

.about-content p {
    color: #94a3b8;
    font-size: 18px;
    line-height: 1.9;

    margin-bottom: 25px;
}

/* SKILLS */

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.skill-card {
    background-color: #0f172a;

    padding: 35px;

    border-radius: 20px;

    border: 1px solid rgba(255, 255, 255, 0.05);

    transition: 0.3s;
}

.skill-card:hover {
    transform: translateY(-10px);

    border-color: rgba(76, 201, 240, 0.4);
}

.skill-card h3 {
    color: #4cc9f0;

    margin-bottom: 15px;
}

.skill-card p {
    color: #94a3b8;
}

/* PROJECTS */

.projects-grid {

    display: grid;

    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));

    gap: 25px;

    margin-top: 35px;
}

.project-card {

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

    border: 1px solid rgba(255, 255, 255, 0.08);

    border-radius: 24px;

    padding: 26px;

    backdrop-filter: blur(12px);

    transition: 0.4s ease;
}

.project-card:hover {

    transform: translateY(-8px);

    border-color: rgba(103, 232, 249, 0.35);

    box-shadow:
        0 0 20px rgba(103, 232, 249, 0.12),
        0 0 40px rgba(103, 232, 249, 0.06);
}

.project-card h3 {

    color: #67e8f9;

    font-size: 22px;

    margin-bottom: 15px;

    font-size: 18px;
}

.project-card p {

    color: #94a3b8;

    line-height: 1.5;

    margin-bottom: 25px;

    min-height: 110px;
}

/* PROJECT BUTTONS */

.project-buttons {

    margin-top: auto;
}

.project-btn {

    padding: 16px 34px;

    border-radius: 18px;

    border: 1px solid rgba(103, 232, 249, 0.35);

    background: rgba(103, 232, 249, 0.08);

    color: #67e8f9;

    font-size: 16px;

    font-weight: 600;

    cursor: pointer;

    transition: 0.3s ease;

    backdrop-filter: blur(12px);
}

.project-btn:hover {

    transform: translateY(-3px);

    background: rgba(103, 232, 249, 0.14);

    box-shadow:
        0 0 20px rgba(103, 232, 249, 0.12);
}

.project-btn i {

    margin-right: 10px;
}


/* CONTACT */

.contact-box {
    background-color: #0f172a;

    padding: 40px;

    border-radius: 20px;

    max-width: 700px;
}

.contact-box p {
    color: #94a3b8;

    margin-bottom: 15px;
}

/* CONTACT ICONS */

.contact-icons {
    display: flex;

    gap: 25px;

    margin-top: 40px;
}

.contact-icons a {
    width: 75px;
    height: 75px;

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

    background-color: #0f172a;

    border-radius: 20px;

    text-decoration: none;

    font-size: 40px;

    color: white;

    border: 1px solid rgba(255, 255, 255, 0.08);

    transition: 0.3s;
}

.contact-icons a:hover {
    transform: translateY(-8px);

    background-color: #111827;

    color: #4cc9f0;

    border-color: rgba(76, 201, 240, 0.5);

    box-shadow: 0 15px 30px rgba(76, 201, 240, 0.2);
}

/* RESPONSIVE */
/* TABLETS */

@media (max-width: 1000px) {

    nav {

        padding: 20px 5%;
    }

    header {

        flex-direction: column;

        text-align: center;

        padding-top: 160px;
    }

    .hero-left h1 {

        font-size: 55px;
    }

    .hero-description {

        margin: auto;

        margin-bottom: 40px;
    }

    .hero-buttons {

        justify-content: center;
    }

    .hero-right {

        margin-top: 50px;
    }

    .section-title h2 {

        font-size: 42px;
    }
}

/* LAPTOP HEIGHT FIX */

@media (max-height: 900px) {

    header {

        padding-top: 220px;
    }
}

/* MOBILE */

.menu-toggle {

    display: none;

    font-size: 32px;

    color: white;

    cursor: pointer;
}

@media (max-width: 700px) {

    .menu-toggle {

        display: block;
    }

    nav {

        flex-direction: row;
    }

    nav ul {

        position: absolute;

        top: 75px;

        right: 7%;

        background: rgba(10, 15, 30, 0.96);

        backdrop-filter: blur(20px);

        border: 1px solid rgba(255,255,255,0.05);

        border-radius: 20px;

        padding: 25px;

        flex-direction: column;

        gap: 20px;

        width: 220px;

        display: none;
    }

    nav ul.active {

        display: flex;
    }

    header {

        padding: 140px 7% 80px;
    }

    .hero-description {

        font-size: 16px;
    }

    .hero-buttons {

        flex-direction: column;

        align-items: center;
    }

    button {

        width: 220px;
    }

    .image-container {

        width: 240px;

        height: 240px;
    }

    section {

        padding: 80px 7%;
    }

    .section-title h2 {

        font-size: 34px;
    }

    .about-content p {

        font-size: 16px;
    }

    .contact-icons {

        justify-content: center;

        flex-wrap: wrap;
    }
}

/* TYPING EFFECT */

.typing-text {
    font-size: 50px !important;

    font-weight: 700;

    line-height: 1.1;

    color: white;

    max-width: 700px;
}

.typing-text::after {
    content: "|";

    color: #38bdf8;

    animation: blink 0.8s infinite;
}

@keyframes blink {

    0% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}
.profile-wrapper {

    display: flex;

    flex-direction: column;

    align-items: center;

    text-align: center;
}
.profile-wrapper h3 {

    font-size: 32px;

    margin-bottom: 12px;

    font-weight: 700;

    color: white;

    letter-spacing: 1px;

    transition: 0.3s ease;

    text-shadow:
        0 0 8px rgba(56, 189, 248, 0.15);
}
.profile-wrapper h3:hover {

    color: #38bdf8;

    text-shadow:
        0 0 10px rgba(56, 189, 248, 0.5),
        0 0 20px rgba(56, 189, 248, 0.2);

    transform: translateY(-2px);
}
.profile-wrapper p {

    color: #38bdf8;

    font-size: 15px;

    letter-spacing: 2px;

    text-transform: uppercase;
}

/* RESPONSIVE */

@media (max-width: 1200px) {

    header {

        flex-direction: column;

        text-align: center;

        gap: 60px;

        padding-top: 180px;
    }

    .hero-right {

        max-width: 100%;
    }

    .typing-text {

        font-size: 55px !important;
    }

    .hero-description {

        max-width: 100%;

        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons {

        justify-content: center;
    }

    nav {

        padding: 20px 5%;
    }

    nav ul {

        gap: 18px;
    }
}
html {

    scroll-behavior: smooth;
}

section {

    scroll-margin-top: 180px;
}

body::before {

    content: "";

    position: fixed;

    top: 0;
    left: 0;

    width: 100%;
    height: 100%;

    background-image:
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);

    background-size: 40px 40px;

    pointer-events: none;

    z-index: -1;
}

/* SKILLS */

.skills-grid {

    display: grid;

    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));

    gap: 30px;

    margin-top: 60px;
}

.skill-card {

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

    border: 1px solid rgba(255, 255, 255, 0.08);

    border-radius: 24px;

    padding: 35px;

    backdrop-filter: blur(12px);

    transition: 0.4s ease;

    position: relative;

    overflow: hidden;
}

.skill-card:hover {

    transform: translateY(-8px);

    border-color: rgba(56, 189, 248, 0.4);

    box-shadow:
        0 0 20px rgba(56, 189, 248, 0.12),
        0 0 40px rgba(56, 189, 248, 0.06);
}

.skill-card h3 {

    font-size: 22px;

    margin-bottom: 15px;
}

.skill-card p {

    color: #94a3b8;

    line-height: 1.7;
}

/* PROJECT BUTTONS */

.project-buttons {

    margin-top: 25px;
}

.project-btn {

    padding: 12px 24px;

    border-radius: 12px;

    border: 1px solid rgba(103, 232, 249, 0.2);

    background: rgba(103, 232, 249, 0.08);

    color: #67e8f9;

    font-size: 14px;

    cursor: pointer;

    transition: 0.3s ease;
}

.project-btn:hover {

    transform: translateY(-2px);

    background: rgba(103, 232, 249, 0.14);

    box-shadow:
        0 0 15px rgba(103, 232, 249, 0.15);
}
/* ABOUT CARD */

.about-card {

    margin-top: 40px;

    width: 100%;

    max-width: clamp(1200px, 88vw, 1700px);

    margin-right: 0;

    max-height: fit-content;

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

    border: 1px solid rgba(255, 255, 255, 0.08);

    border-radius: 28px;

    padding: 28px 45px;

    backdrop-filter: blur(12px);

    transition: 0.4s ease;

    box-shadow:
        0 0 30px rgba(103, 232, 249, 0.04);
}

.about-card:hover {

    transform: translateY(-8px);

    border-color: rgba(103, 232, 249, 0.35);

    box-shadow:
        0 0 20px rgba(103, 232, 249, 0.12),
        0 0 40px rgba(103, 232, 249, 0.06);
}

.about-card p {

    color: #94a3b8;

    font-size: 18px;

    line-height: 1.9;

    margin-bottom: 22px;

    max-width: 100%;
}

.about-card p:last-child {

    margin-bottom: 0;
}

.about-card span {

    color:#38bdf8;

    font-weight: 700;
}
/* FOOTER */

footer {

    margin-top: 80px;

    padding: 50px 8%;

    border-top: 1px solid rgba(255,255,255,0.06);

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

    backdrop-filter: blur(12px);
}

.footer-content {

    display: flex;

    flex-direction: column;

    align-items: center;

    text-align: center;

    gap: 18px;
}
.footer-name::after {

    content: "|";

    color: #38bdf8;

    animation: blink 0.8s infinite;

    margin-left: 4px;
}

.footer-name {

    font-size: 24px;

    color: white;

    font-weight: 700;

    letter-spacing: 1px;

    text-shadow:
        0 0 8px rgba(56, 189, 248, 0.15);
}

.footer-content p {

    color: #67e8f9;

    font-size: 14px;

    letter-spacing: 2px;

    text-transform: uppercase;
}

.footer-links {

    display: flex;

    gap: 30px;

    margin-top: 10px;
}

.footer-links a {

    color: #94a3b8;

    text-decoration: none;

    transition: 0.3s ease;

    position: relative;
}

.footer-links a:hover {

    color: #67e8f9;
}

.footer-links a::after {

    content: "";

    position: absolute;

    left: 0;

    bottom: -5px;

    width: 0%;

    height: 2px;

    background: #67e8f9;

    transition: 0.3s ease;
}

.footer-links a:hover::after {

    width: 100%;
}

.footer-content span {

    color: #64748b;

    font-size: 14px;

    margin-top: 15px;
}
/* HERO STATS */

.hero-stats {

    display: flex;

    justify-content: center;

    gap: 10px;

    margin-top: 22px;

    width: auto;

    max-width: 430px;
}

.stat-card {

    width: 165px;

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

    border: 1px solid rgba(255, 255, 255, 0.08);

    border-radius: 16px;

    padding: 18px 16px;

    backdrop-filter: blur(12px);

    transition: 0.3s ease;

    text-align: center;
}

.stat-card:hover {

    transform: translateY(-6px);

    border-color: rgba(103, 232, 249, 0.35);

    box-shadow:
        0 0 20px rgba(103, 232, 249, 0.10);
}

.stat-card h3 {

    color: #38bdf8;

    font-size: 16px;

    margin-bottom: 10px;

    letter-spacing: 1px;
}

.stat-card p {

    color: #94a3b8;

    font-size: 12px;

    line-height: 1.5;

    letter-spacing: 2px;
}