/* Set up a flexbox container that spans the full viewport height */
html, body {
    height: 100%;
    margin: 0;
    display: flex;
    flex-direction: column;
    font-family: 'Poppins', sans-serif;
}
html {
    scroll-behavior: smooth;
}

/* Navbar brand styling */
.navbar-brand {
    display: flex;
    align-items: center;
}

.brand-name {
    font-size: 1.5rem;
    font-weight: bold;
    color: #007bff;
}

.navbar-light .navbar-nav .nav-link {
    color: #333;
    font-size: 1.1rem;
    padding: 10px 20px;
    transition: color 0.3s ease-in-out, background-color 0.3s ease-in-out;
}

/* Active link styling */
.navbar-light .navbar-nav .nav-link.active {
    color: #007bff;
    font-weight: bold;
}

/* Hover effect */
.navbar-light .navbar-nav .nav-link:hover {
    background-color: rgba(0, 123, 255, 0.1);
    border-radius: 5px;
}

/* Mobile responsiveness */
@media (max-width: 992px) {
    .navbar-nav .nav-link {
        text-align: center;
        padding: 15px 0;
        font-size: 1.2rem;
        border-bottom: 1px solid #ddd;
    }

    .navbar-nav {
        background-color: #f8f9fa;
        margin-top: 10px;
        border-radius: 5px;
    }
}

/* Fixed top shadow */
.navbar {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}


.hero {
    background: url('../images/bg2.jpg') no-repeat center center;
    background-size: cover; /* Ensure the image covers the entire container */
    background-attachment: fixed; /* Parallax effect on scrolling */
    background-position: center; /* Center the image */
    min-height: 500px; /* Minimum height */
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    position: relative;
    padding: 0 20px; /* Padding for small screens */
    overflow: hidden;
}

/* Responsive adjustments for tablets and smaller devices */
@media (max-width: 768px) {
    .hero {
        background-attachment: scroll; /* Disable parallax effect on smaller screens */
        min-height: 500px; /* Adjusted height for tablets */
        padding: 0 15px; /* Adjust padding for tablets */
    }

    .hero h2 {
        font-size: 2.3rem !important; /* Smaller font size for tablets */
    }

    .hero p {
        font-size: 0.85rem; /* Smaller font size for tablets */
    }
}

/* Responsive adjustments for mobile devices */
@media (max-width: 576px) {
    .hero {
        min-height: 500px; /* Reduced height for mobile screens */
        padding: 0 10px; /* Reduced padding for mobile screens */
    }

    .hero h2 {
        font-size: 2rem !important; /* Smaller font size for mobile screens */
    }

    .hero p {
        font-size: 1.2rem !important; /* Smaller font size for mobile screens */
    }
}

.hero h2 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 20px;
}


.card:hover {
    transform: translateY(-10px);
    transition: transform 0.3s ease-in-out;
}



/* General Styling for Titles */
.section-title {
    font-size: 2rem; /* Large, prominent font size */
    font-weight: 700; /* Bold font weight */
    color: #007bff; /* Primary color */
    text-transform: uppercase; /* Make the text uppercase for emphasis */
    letter-spacing: 2px; /* Add spacing between letters */
    margin-bottom: 20px; /* Add spacing below */
    text-align: center; /* Center align */
    border-bottom: 3px solid #007bff; /* Decorative bottom border */
    padding-bottom: 10px;
    animation: fadeInDown 1s ease-in-out; /* Example of animation */
}

.section-subtitle {
    font-size: 1rem; /* Slightly smaller than h2 */
    font-weight: 600; /* Semi-bold weight */
    color: #333333; /* Darker shade */
    text-transform: capitalize; /* Capitalize first letter of each word */
    letter-spacing: 1px; /* Moderate letter spacing */
    text-align: center;
}

.section-small-title {
    font-size: 1.5rem; /* Smallest title */
    font-weight: 700; /* Medium weight */
    color: #120052; /* Lighter grey color */
    text-transform: none; /* Regular text case */
    letter-spacing: 0.5px;
    margin-bottom: 20px;
    text-align: left; /* Align left by default */
    position: relative;
    margin-top: 15px;
}

.section-small-title::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 50px;
    height: 3px;
    background-color: #007bff; /* Add decorative line below small titles */
}

/* Keyframes for title animation (optional) */
@keyframes fadeInDown {
    0% {
        opacity: 0;
        transform: translateY(-20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}
/* Custom Button Styling */
.btn-custom {
    background: linear-gradient(45deg, #007bff, #0056b3); /* Gradient from blue to darker blue */
    border: none; /* Remove default border */
    color: white; /* White text */
    padding: 12px 30px; /* Add some padding for a larger button */
    font-size: 1.25rem; /* Increase font size */
    font-weight: 600; /* Semi-bold font weight */
    border-radius: 50px; /* Rounded corners */
    transition: all 0.3s ease-in-out; /* Smooth transition for hover effects */
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3); /* Add shadow for depth */
}

.btn-custom:hover {
    background: linear-gradient(45deg, #0056b3, #003f8c); /* Darken gradient on hover */
    transform: translateY(-5px); /* Lift button on hover */
    box-shadow: 0 8px 20px rgba(0, 123, 255, 0.5); /* Increase shadow on hover */
}

.btn-custom:focus {
    outline: none; /* Remove default outline */
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.4); /* Add focus outline for accessibility */
}

/* General team_member styling */
.team_member .card {
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    border-radius: 15px; /* Rounded corners for the team_member card */
    overflow: hidden; /* Ensure child elements stay within the card */
    display: flex;
    flex-direction: column;
}

.team_member .card:hover {
    transform: translateY(-10px); /* Lift the team_member card slightly on hover */
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1); /* Add a more pronounced shadow on hover */
}

.team_member .card-img-container {
    height: 300px; /* Fixed height for consistency */
    width: 100%; /* Full width of the parent container */
    overflow: hidden;
    display: flex;
    align-items: center; /* Center image vertically */
    justify-content: center; /* Center image horizontally */
}

.team_member .card-img-top {
    height: 100%; /* Full height of the container */
    width: auto; /* Maintain aspect ratio */
    object-fit: cover; /* Ensure the image covers the container */
    transition: transform 0.3s ease-in-out;
}

.team_member .card-img-top:hover {
    transform: scale(1.1); /* Zoom the image on hover */
}

/* Text center alignment */
.team_member .card-body {
    padding: 20px;
}

.team_member .card-title {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 10px;
}

.team_member .card-text {
    font-size: 1rem;
    color: #666;
    margin-bottom: 20px;
}

/* Button styling */
.team_member .btn-primary {
    background-color: #007bff;
    border: none;
    padding: 10px 20px;
    border-radius: 50px; /* Rounded button */
    transition: background-color 0.3s ease-in-out, transform 0.3s ease-in-out;
}

.team_member .btn-primary:hover {
    background-color: #0056b3; /* Darker blue on hover */
    transform: translateY(-3px); /* Lift button slightly on hover */
}


/* Responsive media query */
@media (max-width: 768px) {
    .team_member .card-img-top {
        height: 200px; /* Adjust the image height for smaller screens */
    }

    .team_member .card-title {
        font-size: 1.25rem; /* Smaller font size for mobile */
    }

    .team_member .card-text {
        font-size: 0.9rem; /* Smaller text for mobile */
    }
}

/* Paragraph styling */
.cust-paragraph {
    font-size: 1.125rem; /* Slightly larger font size for readability */
    color: #111; /* Darker gray text color */
    line-height: 1.6; /* Line height for better readability */
    text-align: justify; /* Justify the text for a neat alignment */
    margin: 0 auto; /* Center the paragraph */
    padding: 0 1rem; /* Horizontal padding */
}

/* List styling */
.cust-objectives-list {
    list-style-type: disc; /* Bulleted list style */
    padding-left: 1.5rem; /* Indent list items */
    font-size: 1.125rem; /* Slightly larger font size for readability */
    color: #2e0000; /* Darker gray text color */
    line-height: 1.6; /* Line height for better readability */
    margin: 0 auto; /* Center the list block */
}

#publications {
    padding: 60px 0;
    background-color: #f8f9fa;
    border-top: 1px solid #dee2e6;
}
#publications h2 {
    font-size: 2rem;
    font-weight: 700;
}
#publications ul {
    padding: 0;
}
#publications li {
    margin-bottom: 20px;
}
#publications a {
    color: #007bff;
}

#contact p {
    font-size: 1rem; /* Adjust font size if needed */
    margin-bottom: 1rem; /* Add spacing between paragraphs */
}

#contact strong {
    color: #333; /* Darker color for strong text */
}

footer {
    background-color: #f8f9fa; /* Light background color */
}

.footer-links a {
    color: #007bff; /* Bootstrap link color */
    text-decoration: none;
}

.footer-links a:hover {
    text-decoration: underline;
}

