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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background: #0f172a;
    color: white;
}

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

nav {
    width: 100%;
    padding: 20px 8%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.logo {
    font-size: 28px;
    font-weight: 700;
    color: #38bdf8;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

nav ul li a {
    text-decoration: none;
    color: white;
    font-weight: 500;
    transition: 0.3s;
}

nav ul li a:hover {
    color: #38bdf8;
}

/* ================= HERO SECTION ================= */

.hero {
    min-height: 100vh;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 80px 8%;
    gap: 40px;
    flex-wrap: wrap;
}

.hero-text {
    flex: 1;
}

.hero-text h1 {
    font-size: 65px;
    line-height: 1.2;
}

.hero-text span {
    color: #38bdf8;
}

.hero-text h2 {
    margin-top: 15px;
    color: #cbd5e1;
    font-size: 28px;
}

.hero-text p {
    margin-top: 20px;
    color: #94a3b8;
    line-height: 1.8;
    max-width: 600px;
}

.btn {
    display: inline-block;
    margin-top: 30px;
    padding: 14px 35px;
    background: linear-gradient(to right, #0ea5e9, #38bdf8);
    color: white;
    text-decoration: none;
    border-radius: 40px;
    font-weight: 600;
    transition: 0.4s;
    box-shadow: 0 0 20px rgba(56, 189, 248, 0.4);
}

.btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 35px rgba(56, 189, 248, 0.7);
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.hero-image img {
    width: 350px;
    height: 350px;
    border-radius: 50%;
    object-fit: cover;
    border: 6px solid #38bdf8;
    box-shadow:
        0 0 25px #38bdf8,
        0 0 60px rgba(56, 189, 248, 0.5);
    animation: float 4s ease-in-out infinite;
}

@keyframes float {
    50% {
        transform: translateY(-15px);
    }
}

/* ================= SECTION TITLE ================= */

.section-title {
    text-align: center;
    font-size: 45px;
    margin-bottom: 60px;
    color: #38bdf8;
}

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

.skills-section {
    padding: 100px 8%;
}

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

.skill-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 25px;
    padding: 40px 25px;
    text-align: center;
    transition: 0.4s;
    backdrop-filter: blur(10px);
}

.skill-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 0 35px rgba(56, 189, 248, 0.4);
    border-color: #38bdf8;
}

.skill-card h3 {
    font-size: 30px;
    margin-bottom: 15px;
    color: #38bdf8;
}

.skill-card p {
    color: #cbd5e1;
    line-height: 1.7;
}

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

.about {
    padding: 100px 8%;
}

.about-box {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 30px;
    padding: 50px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    text-align: center;
}

.about-box p {
    margin-top: 20px;
    line-height: 2;
    color: #cbd5e1;
    font-size: 18px;
}

/* ================= PROJECTS ================= */

.projects {
    padding: 100px 8%;
}

.project-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.project-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 25px;
    overflow: hidden;
    transition: 0.4s;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 0 30px rgba(56, 189, 248, 0.4);
}

.project-image {
    height: 220px;
    background: linear-gradient(to right, #0ea5e9, #38bdf8);
}

.project-content {
    padding: 25px;
}

.project-content h3 {
    margin-bottom: 10px;
    color: #38bdf8;
}

.project-content p {
    color: #cbd5e1;
    line-height: 1.7;
}

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

.contact {
    padding: 100px 8%;
}

.contact-box {
    max-width: 650px;
    margin: auto;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 25px;
    padding: 45px 35px;
    backdrop-filter: blur(15px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    text-align: center;
}

.input-group {
    position: relative;
    width: 100%;
}

.contact-box input,
.contact-box textarea {
    width: 100%;
    padding: 16px 20px;
    margin-top: 18px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    outline: none;
    border-radius: 12px;
    background: rgba(15, 23, 42, 0.6);
    color: white;
    font-size: 16px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.contact-box input:focus,
.contact-box textarea:focus {
    border-color: #38bdf8;
    background: rgba(15, 23, 42, 0.85);
    box-shadow: 0 0 15px rgba(56, 189, 248, 0.25);
    transform: translateY(-2px);
}

.contact-box textarea {
    height: 160px;
    resize: none;
}

.contact-box button {
    width: 100%;
    margin-top: 25px;
    padding: 15px 40px;
    border: none;
    border-radius: 12px;
    background: linear-gradient(to right, #0ea5e9, #38bdf8);
    color: white;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 15px rgba(14, 165, 233, 0.35);
}

.contact-box button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(14, 165, 233, 0.5);
    background: linear-gradient(to right, #38bdf8, #0ea5e9);
}

.contact-box button:active {
    transform: translateY(-1px);
}

.contact-box button:disabled {
    background: #475569;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* ================= TOAST NOTIFICATIONS ================= */

.toast-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 400px;
    width: 90%;
}

.toast {
    background: rgba(15, 23, 42, 0.9);
    border-left: 5px solid #38bdf8;
    color: white;
    padding: 16px 20px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    gap: 12px;
    transform: translateX(120%);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.4s ease;
    opacity: 0;
}

.toast.show {
    transform: translateX(0);
    opacity: 1;
}

.toast.success {
    border-left-color: #10b981;
    box-shadow: 0 10px 25px rgba(16, 185, 129, 0.15), 0 0 1px rgba(16, 185, 129, 0.5);
}

.toast.error {
    border-left-color: #ef4444;
    box-shadow: 0 10px 25px rgba(239, 68, 68, 0.15), 0 0 1px rgba(239, 68, 68, 0.5);
}

.toast-icon {
    font-size: 20px;
}

.toast-content {
    flex-grow: 1;
    text-align: left;
}

.toast-title {
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 2px;
}

.toast-message {
    font-size: 13px;
    color: #cbd5e1;
}

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

footer {
    text-align: center;
    padding: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #94a3b8;
}

/* ================= RESPONSIVE ================= */

@media(max-width:900px) {

    .hero {
        flex-direction: column-reverse;
        text-align: center;
    }

    .hero-text h1 {
        font-size: 45px;
    }

    nav {
        flex-direction: column;
        gap: 20px;
    }

    nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero-image img {
        width: 280px;
        height: 280px;
    }
}

/* ================= RESPONSIVE ================= */

@media(max-width:900px) {

    /* Responsive tablet code */

}


/* ================= MOBILE ================= */

@media(max-width:600px) {

    /* Mobile responsive code */

}
