/* Sticky Navbar Styling */
.navbar {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 10;
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: bold;
    color: #fff !important;
}

.nav-link {
    color: #ddd !important;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #fff !important;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Custom Styling for Small Screens */
@media (max-width: 768px) {
    .navbar-brand {
        font-size: 1.2rem;
    }

    .nav-link {
        font-size: 1rem;
        text-align: center;
    }

    .navbar {
        padding: 0.5rem 1rem;
    }
}


/* Navbar styling end */


/* About section begin */

.about-section {
    background: url('Images/About/hero.jpeg') no-repeat center center;
    background-size: cover;
    color: #fff;
    text-align: center;
    padding: 100px 20px;
    position: relative;
}

.about-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #2e323b;
    z-index: 1;
}

.about-content {
    position: relative;
    z-index: 2;
}

.about-img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 3px solid #fff;
    margin-bottom: 20px;
}

.about-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.about-subtitle {
    font-size: 1rem;
    font-weight: 300;
}

.divider {
    width: 50px;
    height: 2px;
    background-color: #fff;
    margin: 20px auto;
}

/* Social icons styling */
.social-icons {
    gap: 15px;
    /* Space between icons */
}

.social-link {
    font-size: 1.5rem;
    /* Smaller icon size */
    color: #6c757d;
    /* Default gray color */
    text-decoration: none;
    /* Remove underline */
}

.social-link:hover {
    color: white;
    /* White hover effect */
}



/* About section end */


/* Project section begin */

/* General styling for project cards */

.card {
    border: 2px solid #cfcfcf;
    /* Light border for the cards */
    border-radius: 8px;
    /* Rounded corners */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    /* Lift effect on hover */
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
    /* Slightly darker shadow on hover */
}

.card-img-top {
    border-bottom: 1px solid #e0e0e0;
    /* Subtle divider below the image */
    border-radius: 8px 8px 0 0;
    /* Keep the top corners of the image rounded */
}

.card-title {
    font-weight: bold;
    font-size: 1.25rem;
    color: #2e323b;
}

.card-subtitle {
    color: #6c757d;
    /* Bootstrap muted text color */
}

.card-text {
    font-size: 0.95rem;
    color: #555;
    /* Slightly lighter text for better readability */
}

.btn-primary {
    background-color: #007bff;
    border: none;
    border-radius: 5px;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.btn-primary:hover {
    background-color: #0056b3;
    /* Darker blue on hover */
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
    /* Button shadow effect on hover */
}

/* Add padding and center alignment for project section title */
.projects-section h2 {
    font-weight: bold;
    position: relative;
}

.projects-section h2::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background: #374555;
    margin: 0.5rem auto;
}

/* Project section end */


/* Skills section begin */

/* General styling for the Skills section */
.skills-section {
    background-color: #1a1a1a;
    /* Dark background color */
}

.skills-section h2 {
    font-weight: bold;
    position: relative;
}

.skills-section h2::after {
    content: '';
    display: block;
    width: 50px;
    height: 2px;
    background: #ebebeb;
    /* Accent color */
    margin: 0.5rem auto;
}

.skill-card {
    background-color: #3a3a3a00;
    /* Slightly lighter than the section background */
    border: 1px solid #3a3a3a;
    /* Subtle border */
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.skill-card:hover {
    transform: translateY(-5px);
    /* Lift effect on hover */
    box-shadow: 0px 8px 16px rgba(255, 255, 255, 0.2);
    /* Subtle white glow on hover */
}

.skill-card img {
    width: 100px;
    /* Ensure sufficient width */
    height: 100px;
    /* Ensure sufficient height */
    object-fit: cover;
    /* Prevent cutting off parts of the image */
    border: 3px solid #dfdfdf;
    /* Circular image border */
    padding: 5px;
    border-radius: 50%;
    /* Circular frame */
}

.skill-card h5 {
    font-size: 1.25rem;
    font-weight: bold;
}

.skill-card p {
    font-size: 0.9rem;
    color: #d1d1d1;
    /* Light gray for text */
}

/* Skills section end */


/* Divider Section Styling */
.section-divider {
    border: 0;
    height: 2px;
    background: linear-gradient(to right, #6c757d, #000);
    margin: 30px 0;
}

/* Divider end */


/* Contact section begin */

.contact-section .social-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #ff4da6;
    padding: 10px;
    object-fit: contain;
}

.contact-section .social-icon:hover {
    background-color: #ff3385;
    transform: translateY(-5px);
    /* Lift effect on hover */
    box-shadow: 0px 8px 16px rgba(255, 255, 255, 0.2);
    /* Subtle white glow on hover */
}

.contact-section .bi {
    font-size: 1.5rem;
    color: #ff4da6;
}

.contact-section .bi:hover {
    color: #ff3385;
}

@media (max-width: 768px) {
    .contact-section .row .col-md-6 {
        margin-bottom: 15px;
    }

    .contact-section .social-icon {
        width: 40px;
        height: 40px;
    }
}

/* Contact section end */


/* Footer Styling */
.footer {
    background-color: #2c2f33;
    /* Dark background color */
    color: #70707027;
    /* Light text color */
    font-size: 0.9rem;
    /* Small font for footer text */
    border-top: 1px solid #444;
    /* Subtle border at the top */
}

.footer a {
    /*color: #575757;*/
    /* Light blue for links */
    transition: color 0.3s ease;
}

.footer a:hover {
    color: #838383;
    /* Change to white on hover */
}

/* Responsiveness */
@media (max-width: 768px) {
    .footer .container {
        flex-direction: column;
        text-align: center;
    }

    .footer-design {
        margin-top: 10px;
        /* Add spacing for smaller screens */
    }
}

/* Footer styling end */