/*  GLOBAL STYLES */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f0f0f0;
    margin: 0;
    scroll-behavior: smooth;
}

section {
    padding: 60px 0;
}

h2.fw-bold {
    margin-bottom: 10px;
}

hr.w-25 {
    border-top-width: 3px;
}

/* HEADER IMAGE (TOP PROFILE IMAGE) */
header img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    margin: 10px auto;
}

/*  NAVIGATION */
.nav-link {
    font-weight: 500;
    color: white;
}

    .nav-link:hover {
        text-decoration: underline;
        color: #0d6efd !important;
    }

nav.navbar {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* HOME SECTION */
#home {
    background-color: #f5f8fd;
    padding-top: 80px; /* Offset for sticky navbar */
    min-height: 100vh;
    text-align: center;
}

    #home img {
        max-width: 100%;
        height: auto;
        border-radius: 10px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    }

    #home h1 {
        font-size: 3rem; /* was 2.5rem */
        font-weight: 700;
        margin-top: 30px;
    }

    #home p.lead {
        font-size: 1.6rem; /* was 1.2rem */
        font-weight: 500;
        margin-bottom: 0.5rem;
    }

/*  ABOUT SECTION */
#about h2 {
    font-size: 2.5rem;
    font-weight: 700;
}

#about ul li {
    font-size: 1rem;
    margin-bottom: 10px;
}

#about img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

/* PROJECTS SECTION */
#projects .card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    border-radius: 12px;
}

    #projects .card:hover {
        transform: translateY(-8px);
        box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
    }

#projects .card-title {
    font-size: 1.2rem;
    font-weight: 600;
}

#projects .card-text {
    font-size: 0.95rem;
    color: #444;
}
/* SERVICES SECTION */
#services .card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    border-radius: 12px;
    background: #ffffff;
}

    #services .card:hover {
        transform: translateY(-5px);
        box-shadow: 0 12px 25px rgba(0, 0, 0, 0.1);
    }

#services .card-title {
    font-weight: 600;
    margin-bottom: 10px;
}

#services .card-text {
    font-size: 0.95rem;
    color: #555;
}
/* CONTACT SECTION */
#contact ul li {
    font-size: 1.1rem;
    color: #333;
}

#contact .bi {
    vertical-align: middle;
}

#contact a:hover {
    opacity: 0.8;
}
#contact form .form-control {
    border-radius: 6px;
}

#contact button.btn {
    padding: 10px;
    font-weight: bold;
}

/* RESPONSIVE DESIGN */
@media (max-width: 768px) {
    #home h1 {
        font-size: 2rem;
    }

    #about h2 {
        font-size: 2rem;
    }

    .nav-link {
        padding: 0.5rem 0.8rem;
    }
}
section {
    padding: 60px 0;
    scroll-margin-top: 120px; /* Adjust based on navbar height */
}
html {
    scroll-behavior: smooth;
}