* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
    scroll-behavior: smooth;
}

body {
    background: linear-gradient(135deg, #0f172a, #020617);
    color: white;
}

/* NAVBAR */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 20px 8%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    backdrop-filter: blur(10px);
    background: rgba(15, 23, 42, 0.6);
    border-bottom: 1px solid rgba(255,255,255,0.1);
    z-index: 1000;
}

.logo {
    font-weight: 800;
    font-size: 20px;
    color: #38bdf8;
}

.navbar ul {
    list-style: none;
    display: flex;
    gap: 30px;
}

.navbar a {
    text-decoration: none;
    color: white;
    font-weight: 500;
    position: relative;
    transition: 0.3s;
}

.navbar a::after {
    content: "";
    position: absolute;
    width: 0%;
    height: 2px;
    background: #38bdf8;
    left: 0;
    bottom: -5px;
    transition: 0.3s;
}

.navbar a:hover::after {
    width: 100%;
}

.navbar a:hover {
    color: #38bdf8;
}

/* HERO */
.hero {
    height: 100vh;
    padding: 120px 8% 0 8%;   /* 👈 change this */
    display: flex;
    justify-content: center;
}

.hero {
    height: 100vh;
    padding: 120px 8% 0 8%;
    display: flex;
    align-items: center;
}


.hero h1 {
    font-size: 3rem;
    line-height: 1.2;
}

.hero span {
    color: #38bdf8;
}

.hero p {
    margin: 20px 0;
    font-size: 1.1rem;
    opacity: 0.8;
}

.btn {
    display: inline-block;
    padding: 12px 25px;
    background: #38bdf8;
    color: black;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s ease;
    width: fit-content;
}

.btn:hover {
    transform: translateY(-3px);
    background: white;
}

/* SECTIONS */
section {
    padding: 70px 8%;
}

h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #38bdf8;
}

/* PROJECTS SECTION */
.projects-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.project-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 25px;
    border-radius: 15px;
    transition: 0.4s ease;
    border: 1px solid rgba(255,255,255,0.1);
}

.project-card h3 {
    margin-bottom: 15px;
    color: #38bdf8;
}

.project-card p {
    opacity: 0.85;
    line-height: 1.6;
    margin-bottom: 15px;
}

.tech-stack {
    font-size: 0.85rem;
    margin-bottom: 15px;
    color: #94a3b8;
}

.project-card a {
    text-decoration: none;
    font-weight: 600;
    color: #38bdf8;
    transition: 0.3s;
}

.project-card a:hover {
    color: white;
}

.project-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 0 30px rgba(56,189,248,0.4);
    border: 1px solid #38bdf8;
}



/* SCROLL REVEAL ANIMATION */

.reveal {
    opacity: 0;
    transform: translateY(60px);
    transition: all 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* CONTACT SECTION */
.contact-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.contact-card {
    text-decoration: none;
    color: white;
    padding: 20px;
    border-radius: 12px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    transition: 0.4s ease;
    font-weight: 500;
}

.contact-card:hover {
    transform: translateY(-8px);
    border: 1px solid #38bdf8;
    box-shadow: 0 0 25px rgba(56,189,248,0.4);
    color: #38bdf8;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-form input,
.contact-form textarea {
    padding: 15px;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.2);
    background: rgba(255,255,255,0.05);
    color: white;
    font-size: 1rem;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border: 1px solid #38bdf8;
}

.contact-form button {
    padding: 12px;
    border-radius: 8px;
    border: none;
    background: #38bdf8;
    color: black;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s ease;
}

.contact-form button:hover {
    background: white;
}
/* CONTACT FORM */

.contact form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 40px;
    max-width: 600px;
}

.contact form input,
.contact form textarea {
    padding: 15px;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.2);
    background: rgba(255,255,255,0.05);
    color: white;
    font-size: 1rem;
    transition: 0.3s ease;
}

.contact form input:focus,
.contact form textarea:focus {
    outline: none;
    border: 1px solid #38bdf8;
    box-shadow: 0 0 10px rgba(56,189,248,0.3);
}

.contact form button {
    padding: 12px;
    border-radius: 8px;
    border: none;
    background: #38bdf8;
    color: black;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s ease;
}

.contact form button:hover {
    background: white;
    transform: translateY(-2px);
}


.hero-container {

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

.hero-text {
    flex: 1;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.hero-image img {
    width: 320px;
    height: 320px;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid #38bdf8;
    box-shadow: 0 0 40px rgba(56,189,248,0.5);
    transition: 0.4s ease;
}

.hero-image img:hover {
    transform: scale(1.05);
    box-shadow: 0 0 60px rgba(56,189,248,0.8);
}

.skills-category {
    margin-bottom: 40px;   /* This creates gap between sections */
}

.skills-category h3 {
    margin-bottom: 12px;   /* Space between title & items */
}

.skills-category p {
    line-height: 1.8;
}


/* FOOTER */
footer {
    text-align: center;
    padding: 30px;
    background: #020617;
    margin-top: 40px;
    font-size: 14px;
    opacity: 0.8;
}

