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

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

/* navar css code  */
.logo-img {
    width: 120px;
    /* adjust size */
    height: auto;
    /* keeps proper aspect ratio */
}

@media (max-width: 768px) {
    .logo-img {
        width: 90px;
        /* smaller for mobile */
    }
}

nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #E2E8F0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 5%;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: #0f172a;
    text-decoration: none;
}

.nav-links {
    display: flex;
    gap: 25px;
}

.nav-links a {
    text-decoration: none;
    color: #0f172a;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #2563eb;
}

/* MOBILE MENU ICON */
.menu-icon {
    display: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: #0f172a;
}

/* MOBILE MENU */
@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 60px;
        left: -100%;
        background: white;
        width: 100%;
        height: 100vh;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: left 0.3s ease;
    }

    .nav-links.active {
        left: 0;
    }

    .menu-icon {
        display: block;
    }
}


/* hero content css code */
/* ===== HOME SECTION ===== */
#home {
    background: radial-gradient(circle at top left, #0f172a 0%, #1e293b 100%);
}

.profile-wrapper {
    position: relative;
}

.glow-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 300px;
    height: 200px;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(56, 189, 248, 0.2) 0%, transparent 70%);
    animation: pulseGlow 3s ease-in-out infinite;
}

@keyframes pulseGlow {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.8;
    }

    50% {
        transform: translate(-50%, -50%) scale(1.1);
        opacity: 1;
    }

    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.8;
    }
}

/* Button Hover Effects */
.btn-outline-info {
    border-color: #38bdf8;
    color: #38bdf8;
    transition: all 0.3s ease;
}

.btn-outline-info:hover {
    background-color: #38bdf8;
    color: #0f172a;
}

.btn-info {
    background-color: #38bdf8;
    border: none;
}

.btn-info:hover {
    background-color: #0ea5e9;
    color: #fff;
}

/* Responsive */
@media (max-width: 768px) {
    #home {
        text-align: center;
        padding-top: 100px;
    }
}

/* What I Do section css code  */
/* ===== Skills Section ===== */
.skills-card {
    background: #1e293b;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.4s ease;
    border-radius: 20px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    position: relative;
    cursor: pointer;
}

/* Hover Glow & Scale */
.skills-card:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 12px 25px rgba(56, 189, 248, 0.2);
    border: 1px solid #38bdf8;
}

/* Gradient Border Animation */
.skills-card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 20px;
    padding: 2px;
    background: linear-gradient(135deg, #38bdf8, #818cf8);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.skills-card:hover::before {
    opacity: 1;
}

/* Icons Styling */
.skills-card i {
    font-size: 40px;
    color: #38bdf8;
    transition: color 0.3s ease, transform 0.3s ease;
}

.skills-card:hover i {
    color: #60a5fa;
    transform: scale(1.2);
}

/* Text */
.skills-card h5 {
    color: #e2e8f0;
}

.skills-card p {
    color: #94a3b8;
    font-size: 0.9rem;
}

/* Responsive Tweaks */
@media (max-width: 768px) {
    .skills-card {
        margin-bottom: 1rem;
    }
}


/* Featured Projects Section css code */

/* ===== General Body Style ===== */
body {
    background-color: #f8fafc;
    /* light background for portfolio */
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
}

/* ===== Section Title ===== */
.section-title {
    color: #38BDF8;
    font-weight: 700;
    letter-spacing: 0.5px;
}

/* ===== Project Card Container ===== */
.project-card {
    background: #1e293b;
    border-radius: 20px;
    transition: all 0.4s ease;
    transform: translateY(0);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

/* Hover Effect */
.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 25px rgba(56, 189, 248, 0.2);
    border-color: #38bdf8;
}

/* ===== Image Wrapper ===== */
.project-img-wrapper {
    height: 230px;
    /* fixed height for all images */
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #0f172a;
    /* fallback background */
    position: relative;
}

/* Image Styling */
.project-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* keep image ratio consistent */
    transition: transform 0.5s ease, filter 0.3s ease;
}

/* Hover Zoom Effect */
.project-card:hover .project-img {
    transform: scale(1.1);
    filter: brightness(0.85);
}

/* ===== Text Styling ===== */
.project-title {
    font-weight: 600;
    color: #e2e8f0;
}

.project-desc {
    font-size: 0.9rem;
    color: #94a3b8;
    margin-bottom: 0.8rem;
}

/* ===== Button Style ===== */
.btn-outline-info {
    border-color: #38bdf8;
    color: #38bdf8;
    transition: all 0.3s ease;
    font-weight: 500;
}

.btn-outline-info:hover {
    background-color: #38bdf8;
    color: #0f172a;
    border-color: #38bdf8;
}

/* ===== Responsive Fixes ===== */
@media (max-width: 768px) {
    .project-img-wrapper {
        height: 200px;
        /* smaller height for mobile */
    }
}

@media (max-width: 576px) {
    .section-title {
        font-size: 1.5rem;
    }

    .project-card {
        border-radius: 15px;
    }
}