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

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
 
}

/* General styling for the .top container */
.top {
    background-color: #22278a;
    padding: 5px 0;
}

.counter-number {
    font-size: 60px;
    font-weight: 600;
    margin-bottom: 10px;
}

.counter-title {
    font-size: 22px;
    color: #fff;
    margin-top:-30px;
}
.vision {
    background-color: #2d3284;
    padding-top: 20px;
    padding-bottom: 20px;
    padding-left: 10%;
    padding-right: 10%;
    color: #fff;
   }

.top-bottom{
    margin-top: -150px;
    z-index: 10;
    position: relative;
}

header.row {
    display: flex;
    justify-content: space-between;
    align-items: center; /* Align content to the center vertically */
    color: white;
}

/* Left side with contact links */
.col-6 {
    display: flex;
    align-items: center; /* Vertically center inside the column */
}

.top-bar svg {
    margin-right: 10px;
    fill: red;
}

/* Remove underline, set link color to white */
.col-6 a {
    color: white;
    text-decoration: none;
    margin-right: 20px;
    font-size: 16px;
}

/* On hover, change text color to red */
.top-bar a:hover {
    color: red;
}

/* Button styles */
.btn-danger {
    background-color: red;
    color: white;
    padding: 10px 20px;
    border: none;
    cursor: pointer;
    font-size: 16px;
}

/* Align button to the right */
header .col-6:last-child {
    display: flex;
    justify-content: flex-end;
    align-items: center; /* Ensure the button is vertically centered */
}

/* Button hover effect */
.btn-danger:hover {
    background-color: darkred;
}

.navbar {
    padding: 0.5rem 1rem; /* Adjust the padding for top/bottom and left/right */
    margin-bottom: 0; /* Remove any margin at the bottom */
}

.nav-link {
    font-size: 16px; /* Further reduce font size for mobile */
}
/* Increase space between navbar links */
.navbar-nav .nav-item {
    margin-right: 25px; /* Adjust this value to increase space */
}

/* Change link color to black, red on hover */
.nav-link {
    color: black !important; /* Set link color to black */
}

.nav-link:hover {
    color: red !important; /* Set link color to red on hover */
}

/* Remove search button, add search icon inside input */
.form-control {
    border-right: 0; /* Remove right border to blend with icon */
}

.input-group-text {
    background-color: white;
    border-left: 0; /* Remove left border to blend with input */
    cursor: pointer;
}


/* Remove black border on hamburger icon */
.navbar-toggler {
    /* Remove border */
    outline: none; /* Remove outline */
    box-shadow: none; /* Remove any box shadow */
}

/* Ensure that no border appears on focus (when clicked) */
.navbar-toggler:focus,
.navbar-toggler:active {
    outline: none; /* Remove outline on focus */
    border: none; /* Remove border on active/click */
    box-shadow: none; /* Remove any potential shadow on click */
}




/* Adjust input size and search icon spacing */
.input-group .form-control {
    height: 40px; /* Adjust input height if needed */
    font-size: 16px; /* Adjust font size */
}

.input-group .input-group-text i {
    font-size: 18px; /* Adjust search icon size */
    color: #999; /* Color of the search icon */
}

.carousel{
    height: 650px !important;
}
    .carousel-item img {
       height: 650px;
        object-fit: cover; /* Maintain aspect ratio */
        width: 100%;
        filter: none; /* Remove any default filters */
        box-shadow: 0 0 50px 20px rgba(0, 0, 0, 0.5) !important; /* Blurred edges */
    }


    .carousel-item::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.2); /* Transparent dark overlay */
        z-index: 1; /* Place it above the image */
    }


/* Style for the carousel controls to be circular */
.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: red; /* Background color for the circle */
    border-radius: 50%; /* Make it circular */
    padding: 10px; /* Space around the icon */
}

/* Change the size of the icons if needed */
.carousel-control-prev-icon::after,
.carousel-control-next-icon::after {
    font-size: 20px; /* Adjust icon size */
    color: white; /* Icon color */
}

.news-panel{
    overflow: scroll;
}

.footer{
    background-color: #22278a;
    color: #fff;
}


/* Responsive styles for mobile view */
@media (max-width: 768px) {
    
    .counter-number {
    font-size: 30px;
    font-weight: 400;
    margin-bottom: 5px;
}

.counter-title {
    font-size: 15px;
    color: #fff;
    margin-top:-10px;
}

    .news {
        padding-left: 10%;
        padding-right: 10%;
    }
    .location {
        padding-left: 10%;
        padding-right: 10%;
    }
    .news-panel{
        height: 350px !important;
        margin-bottom: 30px;
    }
    .top-bottom{
        margin-top: -60px;
        z-index: 10;
        position: relative;
        padding-left: 10%;
       padding-right: 10%;
      
    }

    .carousel{
        height: 50% !important;
    }
    .carousel-item img {
        height: 50% !important;
    }
    .carousel-item h2{
        font-size: 14px;
    }

    /* Reduce the font size for smaller screens */
    .carousel-caption h2 {
        font-size: 0.8rem; /* Smaller font size for header */
    }

    .carousel-caption p {
        font-size: 0.7rem; /* Smaller font size for paragraph */
    }

    /* Keep items side by side on mobile */
    header.row {
        flex-direction: row; /* Keep row layout */
        align-items: center; /* Vertically center items */
    }

    /* Hide email link and icon on mobile view */
    .col-6 a.mail, .col-6 svg:nth-of-type(2) {
        display: none;
    }



    /* Adjust font size for mobile */
    .col-6 a {
        font-size: 14px; /* Reduce text size */
    }

    /* Reduce button size for smaller screens */
    .btn-danger {
        font-size: 14px;
        padding: 8px 16px;
    }

    /* Ensure button stays aligned to the right in mobile */
    header .col-6:last-child {
        justify-content: flex-end;
        width: auto;
    }

    .navbar {
        padding: 0.25rem 0.5rem ; /* Smaller padding for mobile */
    }
    .search{
        margin-bottom: 20px !important;
    }
        /* Reduce navbar link font size */
        .nav-link {
            font-size: 12px; /* Smaller font size on mobile */
        }
    
        /* Reduce logo size */
        .navbar-brand .logo {
            height: 60px; /* Reduce the logo size */
        }
    
        /* Reduce input size and icon for mobile */
        .input-group .form-control {
            height: 30px; /* Reduce input height */
            font-size: 14px; /* Reduce input font size */
        }
    
        /* Reduce search icon size on mobile */
        .input-group .input-group-text i {
            font-size: 16px; /* Reduce search icon size */
        }
        h6 {
            font-size: 15px;
        }
         h2{
            font-size: 18px;
        }
        h3{
            font-size: 18px;
        }
        h4{
            font-size: 16px;
        }
        p{
            font-size: 13px;
        }
        .top-bottom svg{
            height: 35px;
            width: 35px;
        }
        .manager{
            height: 400px;
        } 
        .vision {
           
            padding-top: 10px;
            padding-bottom: 10px;
            padding-left: 2%;
            padding-right: 2%;
           }
        

        .vision img{
            height: 60px;
        }

        .news svg{
            height: 20px;
            width: 20px;
        }
        .list-group svg{
            height: 12px;
            width: 12px;
        }
}



