/* Global reset */
body, h1, p{
    margin: 0;
    padding: 0;
}

/* */
/* */
/* */
/* */
/* */
/* Shared css start */

html {
    scroll-behavior: smooth;
}

/* Style for the top container */
.top-container {
    background-color: black;
    color: #fff;
    text-align: center;
    position: fixed;
    padding: 1rem 0; /* Added padding to top and bottom */
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: top 0.5s ease;
    box-sizing: border-box; /* Include padding in width calculation */
    opacity: 0.75;
}

/* Adjust the dashboard's padding */
.dashboard {
    max-width: 100%; /* Make sure the dashboard doesn't exceed the top-container width */
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 1rem; /* Added padding to left and right */
}

/* Adjust the max-width of the navigation links */
.left-navigation ul,
.right-navigation ul {
    list-style: none;
    display: flex;
    gap: 2.0rem;
    margin: 0;
    padding: 0;
    max-width: calc(200% - 0.1rem); /* Adjust this value as needed */
}

.left-navigation ul li,
.right-navigation ul li {
    font-size: 18px;
}

.left-navigation ul li a,
.right-navigation ul li a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.left-navigation ul li a:hover,
.right-navigation ul li a:hover {
    color: #bbb;
}

/* Adjust the logo3's max-width */
.logo3 {
    flex: 0 0 auto;
    text-align: center;
    max-width: calc(50% - 1.5rem); /* Adjust this value as needed */
}

.logo3 img {
    max-height: 60px;
    max-width: auto;
    transform: scale(3.5);
}

/* Shared css end */
/* */
/* */
/* */
/* */
/* */

/* */
/* */
/* */
/* */
/* */
/* index.html css start */

.horizontal-container1 {
    background-image: url('Images/Image1.jpg');
    background-size: cover;
    background-position: center;
    height: 1750px;
    text-align: center;
    padding: 1rem;
    position: relative; /* Important: Set the container to relative positioning */
}

/* Style for the <p> element inside horizontal-container1 */
.horizontal-container1 p {
    font-size: 4.5rem;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    position: relative;
    top: 70%; /* Position at the bottom */
    left: 0; /* Center horizontally */
    z-index: 3; /* Above the ::after pseudo-element and dark overlay */
}

.horizontal-container1 .Special1 {
    font-size: 1.5rem;
}

/* Apply transparent overlay to prevent darkening of text */
.horizontal-container1 p::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2; /* Above the text, but below the dark overlay */
    pointer-events: none; /* Allows clicks to pass through */
}

.logo {
    position: relative;
    top: 12.5%; /* Position the logo at the vertical center */
    left: 0; /* Position the logo at the horizontal center */
    z-index: 10;
}

.logo img {
    max-height: 300px; /* Adjust max-height as needed */
    max-width: 100%; /* Ensure the logo scales properly */
}

/* Additional styles for darkening effect */
.dark-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0);
    z-index: 1; /* Higher than the containers, but not too high */
    transition: background-color 0.5s ease;
}

/* index.html css end */
/* */
/* */
/* */
/* */
/* */

/* */
/* */
/* */
/* */
/* */
/* Shared css start */

/* Style for the bottom-container */
.bottom-container {
    background-color: black;
    display: flex; /* Use flex display to arrange containers horizontally */
    height: 700px;
    text-align: center;
    padding: 1rem;
    position: relative;
    z-index: 0;
    flex-wrap: wrap; /* Allow containers to wrap if screen size is too small */
    flex-direction: column;
}

/* Style for the vertical containers inside the bottom-container */
.nested-horizontal-container4,
.nested-horizontal-container5 {
    padding: 1rem;
    color: white;
    max-width: 100%; /* Set maximum width to make them occupy half of the row */
    box-sizing: border-box; /* Include padding and borders in width/height */
    margin: 0 auto; /* Center the containers horizontally */
}

/* Style for the logo container */
.nested-horizontal-container4 {
    flex: 1;
    height: 45%;
    width: 100%;
    display: flex;
    align-items: top; /* Center vertically */
    justify-content: center; /* Center horizontally */
}

/* Style for the info container */
.nested-horizontal-container5 {
    flex: 2;
    width: 100%;
    align-items: top; /* Center vertically */
    justify-content: center; /* Center horizontally */
    padding-left: 2rem; /* Add spacing between containers */
    text-align: center;
    display: flex;
    flex-direction: row;
}

.contact,
.address,
.social_media {
    font-size: 1.2rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    text-align: left;
    padding: 1rem; /* Adjust padding for smaller screens */
    border-right: 1px solid #ddd; /* Add a subtle border between sections */
}

/* Override padding and border for the last section */
.social_media {
    padding-bottom: 2rem;
    border-bottom: none; /* Remove border at the bottom of social media section */
    border-right: none;
}

.list-it {
    list-style: none;
    padding: 0;
}

.list-it li {
    margin-bottom: 1.5rem;
}

.social_media a{
    color: white;
    font-size: 48px;
}

.list-it li i{
    margin-right: 0.5rem;
}

.logo2 {
    display: flex;
    align-items: center; /* Center vertically */
    justify-content: center; /* Center horizontally */
    height: 100%; /* Fill the entire vertical-container4 */
}

/* Style for the logo image */
.logo2 img {
    max-height: 100%;
    max-width: 100%;
    margin: auto; /* Center the logo image within its container */
    display: block; /* Remove any extra space beneath the image */
}

/* Center the vertical containers on mobile screens */
@media (max-width: 768px) {
    .bottom-container {
        flex-direction: column; /* Stack elements vertically on smaller screens */
        height: auto; /* Let containers adjust their height based on content */
    }

    .nested-horizontal-container4,
    .nested-horizontal-container5 {
        flex: none; /* Reset equal width for small screens */
        width: 100%; /* Make containers occupy full width */
    }

    /* Reset padding and border for all sections on smaller screens */
    .contact,
    .address,
    .social_media {
        padding: 1rem;
        border-bottom: 1px solid #ddd;
    }

    /* Remove border at the bottom of the last section */
    .social_media {
        border-bottom: none;
    }
}

/* Scrollbar*/
/* For WebKit-based browsers (like Chrome, Safari) */
::-webkit-scrollbar {
    width: 10px; /* Width of the scrollbar */
}

::-webkit-scrollbar-track {
    background-color: #f1f1f1; /* Track color */
}

::-webkit-scrollbar-thumb {
    background-color: #888; /* Thumb color */
}

::-webkit-scrollbar-thumb:hover {
    background-color: #555; /* Thumb color on hover */
}

/* For Firefox */
/* Note: Firefox currently only supports scrollbar-color property */
/* You can specify both the thumb and track colors */
html {
    scrollbar-color: #888 #f1f1f1;
}

html::-webkit-scrollbar {
    width: 10px; /* Width of the scrollbar */
}

html::-webkit-scrollbar-track {
    background-color: #f1f1f1; /* Track color */
}

html::-webkit-scrollbar-thumb {
    background-color: #888; /* Thumb color */
}

html::-webkit-scrollbar-thumb:hover {
    background-color: #555; /* Thumb color on hover */
}

/* Shared css end */
/* */
/* */
/* */
/* */
/* */

/* */
/* */
/* */
/* */
/* */
/* services.html css start */

/* Add your CSS styles here */
.horizontal-container1-services {
    margin-top: 6rem;
    background-color: #f0f0f0;
    padding: 40px;
}
        
.service {
    background-color: white;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    transition: transform 0.5s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.service:hover,
.service.hovered {
    background-color: lightblue;
    border: 2px solid black;
    transform: scale(1.03); 
    cursor: pointer;
}

.service-title {
    font-size: 24px;
    margin-bottom: 10px;
}
        
.service-description {
    font-size: 16px;
    line-height: 1.5;
}

/* services.html css end */
/* */
/* */
/* */
/* */
/* */

/* */
/* */
/* */
/* */
/* */
/* about.html css start */

/* Style for the nested containers */
.horizontal-container1-about {
    display: flex;
    flex-direction: column;
    padding: 8% 5%; /* Adjust padding using relative units */
    text-align: left;
    width: 90%; /* Adjust width using relative units */
    margin: 0 auto; /* Center the content horizontally */
}

.nested-container {
    display: flex;
    flex-direction: column;
    padding: 1% 0; /* Adjust padding using relative units */
    margin-bottom: 5%; /* Adjust margin using relative units */
    transform: scale(0.85);
}

/* Style for the content containers within each nested container */
.content-container {
    display: flex;
    flex-direction: row; /* Stack content horizontally */
}

/* Style for the text content within each content container */
.text-content {
    padding: 2%;
    padding-top: 0%;
    margin-bottom: 10%; /* Adjust margin using relative units */
    width: 100%; /* Adjust width to fill parent container */
    font-size: 2.25vw; /* Responsive font size based on viewport width */
    border: 3px solid black;
    border-radius: 2%;
}

.text-content h2 {
    font-size: 4.5vw; /* Responsive font size based on viewport width */
}

/* Style for the image content within each content container */
.image-content {
    margin-top: auto;
    margin-left: 2%;
    text-align: center;
}

/* Style for the image content within each content container */
.image-content img {
    max-width: 100%;
    height: auto;
    border: 4px solid black;
    border-radius: 3%;
}

/* about.html css end */
/* */
/* */
/* */
/* */
/* */

/* */
/* */
/* */
/* */
/* */
/* admin-Log-In.html css start */

.horizontal-container1-login {
    height: 125px;
}

/* Style the login container */
.login-container {
    max-width: 400px;
    margin: 0 auto;
    padding: 30px;
    border: 1px solid #ccc;
    border-radius: 10px;
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); /* Add a subtle shadow for depth */
}

/* Style form elements */
form {
    text-align: center;
}

h2 {
    color: black; /* Heading color */
}

label {
    display: block;
    margin-bottom: 10px;
    font-weight: bold;
    color: #333; /* Label text color */
}

input[type="text"], input[type="password"] {
    width: 100%;
    padding: 12px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
}

button {
    background-color: #007bff;
    color: #fff;
    border: none;
    padding: 12px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease; /* Add a smooth hover effect */
}

button:hover {
    background-color: #0056b3; /* Change button color on hover */
}

/* admin-Log-In.html css end */
/* */
/* */
/* */
/* */
/* */

/* */
/* */
/* */
/* */
/* */
/* partners.html css start */

.horizontal-container1-partners {
    margin-top: 5rem;
    background-color: #f9f9f9;
    padding: 3% 8%;
    width: 84%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    align-items: center;
}

.partner-item {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.7);
    padding: 3%; /* Use a responsive padding value */
    margin: 2%; /* Use a responsive margin value */
    text-align: center;
    width: 100%; /* Allow content to take full width */
    transition: transform 0.5s ease;
    font-family: "Segoe UI Emoji", "Apple Color Emoji", sans-serif;
}

.partner-item:hover,
.partner-item.hovered {
    background-color: lightblue;
    border: 2px solid black;
    transform: scale(1.05); 
    cursor: pointer;
}

/* partners.html css end */
/* */
/* */
/* */
/* */
/* */

/* */
/* */
/* */
/* */
/* */
/* gallery.html css start */

.horizontal-container1-gallery {
    height: 125px;
}

.gallery-container {
    text-align: center;
}

.image-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    grid-gap: 2rem;
    transform: scale(0.95);
}

.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    text-align: center;
    transform: scale(0.7);
}

.lightbox-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 5px solid black;
}

.close-btn {
    position: absolute;
    top: 10px; /* Adjust the top position as needed */
    right: 10px; /* Adjust the right position as needed */
    font-size: 48px;
    color: black;
    cursor: pointer;
    z-index: 1001; /* Ensure the close button appears above the lightbox content */
}

/* Style for the media container */
.media-container {
    position: relative;
    display: inline-block;
    border: 2px solid black;
    border-radius: 5px;
    margin: 10px;
    width: 150px; /* Set the desired width */
    height: 150px; /* Set the desired height */
}

/* Style for the media (image or video) */
.gallery-media {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain; /* Maintain aspect ratio */
}

/* Style for the delete button */
.delete-button {
    position: absolute;
    top: 10px; /* Adjust the top position as needed */
    right: 10px; /* Adjust the right position as needed */
    background-color: red;
    color: white;
    border: none;
    padding: 5px 10px;
    cursor: pointer;
    z-index: 1; /* Ensure the delete button appears on top */
    display: none; /* Initially hide the delete button */
}

/* Hover effect for the media container */
.media-container:hover {
    transform: scale(1.35);
}

/* Show delete button on hover */
.delete-button {
    display: block;
    border-radius: 5px;
}
/* gallery.html css end */
/* */
/* */
/* */
/* */
/* */