

.container_main {
    height: 200px;
    display: flex;
    flex-wrap: nowrap;
    justify-content:center;
    margin-bottom: 10px;
    margin-top: 10px;
   
}

.card {
    width: 160px;
    border-radius: .75rem;
    background-size: cover;
    cursor: pointer;
    overflow: hidden;
    border-radius: 2rem;
    margin: 0 10px;
    display: flex;
    align-items: flex-end;
    transition: .6s cubic-bezier(.28,-0.03,0,.99);
    box-shadow: 0px 10px 30px -5px rgba(0,0,0,0.8);
}

.card > .row {
    color: white;
    display: flex;
    flex-wrap: nowrap;
}

.card > .row > .icon {
    background: rgba(34, 34, 51, 0.048);
    color: white;
    border-radius: 50%;
    width: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 15px;
}

.card > .row > .description {
    display: flex;
    justify-content: center;
    flex-direction: column;
    overflow: hidden;
    height: 80px;
    width: 520px;
    opacity: 0;
    transform: translateY(30px);
    transition-delay: .3s;
    transition: all .3s ease;
}

.description p {
    color: #b0b0ba;
    padding-top: 5px;
}

.description h4 {
    text-transform: uppercase;
}

input {
    display: none;
}

input:checked + label {
    width: 600px;
}

input:checked + label .description {
    opacity: 1 !important;
    transform: translateY(0) !important;
}



.card[for="c1"] {
    background-image: url('img/img1.jpg');
}
.card[for="c2"] {
    background-image: url('img/img2.jpg');
}
.card[for="c3"] {
    background-image: url('img/img3.jpg');
}
.card[for="c4"] {
    background-image: url('img/img4.jpg');
}


@media (max-width: 480px) {
    .container {
      width: 100vw;
    }
  
    .card:nth-of-type(4),
    .card:nth-of-type(5) {
      display: none;
    }
  }

 

/* Menubar Styling */
#menu-bar {
    background-color: #aacedf75;
    text-align:center;
    font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
    border-bottom: 1px solid #ccc;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: 20px;
    flex-wrap: nowrap;
         
}

/* Container holding the menu items */
#menu-bar .menu {
    display: flex;
    justify-content: left;
    list-style: none;
    margin: 0;
    padding: 0;
}

/* Individual menu items */
#menu-bar .menu > li {
    display:flex;
    padding: 3px;
}

/* Links inside menu */
.menu > li > a {
    padding: 8px 15px;
    display: block;
    text-transform: uppercase;
    color: #284881;
    font-size: 15px;
    font-weight: 550;
    text-decoration: none;
    transition: all 0.3s ease;
}

/* Active and hover states */
.menu > li > a:hover,
.menu > li > a.active {
    color: #fff;
    background-color: #0b3d4d;
    border-radius: 10px;
}

/* Home Icon Styling */
.home-icon i {
    font-size: 30px;
    color: #167699;
    vertical-align: middle;
}

/* Menu toggle button for mobile */
.menu-toggle {
    display: none;  /* Hidden in desktop view */
    background: none;
    border: none;
    font-size: 24px;
    color: #112a55;
    cursor: pointer;
    margin-right: 15px;
}

/* Responsive design for mobile view */
@media (max-width: 767px) {
    /* Adjust the menu bar for mobile */
    #menu-bar {
        padding: 10px;
    }

    /* Stack menu items vertically in mobile view */
    #menu-bar .menu {
        flex-direction: column;
        display: none;
        width: 100%;
        text-align: center;
    }

    /* Show menu items when toggled */
    #menu-bar .menu.active {
        display: flex;
    }

    /* Style individual menu items in mobile */
    #menu-bar .menu > li {
        display: block;
        margin-bottom: 10px;
    }

    /* Show menu toggle button in mobile */
    .menu-toggle {
        display: block;
        text-align: right;
    }
}


/* the logo */

wrapper {
    position: relative;
}

/* Position the logo */
.logo {
    position: absolute;
    top: 10px;
    left: 100px;
}

.logo img {
    width: 20vw; /* 10% of the viewport width */
    max-width: 200px; /* Set a max width */
    height: auto; /* Maintain aspect ratio */
}

/* Responsive adjustments for smaller screens */
@media (max-width: 768px) {
    .logo img {
        width: 15vw; /* Increase the relative size for smaller screens */
        max-width: 120px; /* Reduce max size on smaller screens */
    }
}

@media (max-width: 480px) {
    .logo img {
        width: 20vw; /* Further increase the relative size */
        max-width: 150px; /* Set a smaller max width for very small screens */
    }
}

.icon img {
    width: 40px; /* Adjust the size as needed */
    height: auto; /* Maintain aspect ratio */
   }

  
   .social-icons {
    margin-top: 15px; /* Space above the icons */
    display: flex; /* Flexbox for alignment */
    justify-content: flex-end; /* Align to the right */
    align-items: center; /* Center align icons vertically */
    margin-right: 10px;
}

.social-icon {
    margin-left: 15px; /* Space between icons */
    color: #b91313; /* Icon color */
    font-size: 20px; /* Icon size */
    text-decoration: none; /* Remove underline */
    transition: color 0.3s ease, transform 0.3s ease; /* Smooth transition for hover effects */
}

.social-icon:hover {
    color: #007BFF; /* Change color on hover */
    transform: scale(1.1); /* Slightly increase size on hover */
}

/* Optional: Add media queries for responsiveness */
@media (max-width: 600px) {
    .social-icons {
        justify-content: center; /* Center align icons on small screens */
    }
    .social-icon {
        margin-left: 10px; /* Decrease space on small screens */
        font-size: 18px; /* Slightly smaller icons */
    }
}



.head-news-container {
    position: relative;
    overflow: hidden;
}

.head-news-image {
    position: relative;
    overflow: hidden;
}

.animated-image {
    width: 100%;
    height: auto;
    transition: transform 0.4s ease-in-out;
}

.animated-image:hover {
    transform: scale(1.1); /* Zoom in effect */
}

.caption {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background-color: rgba(0, 0, 0, 0.5);
    color: #fff;
    padding: 5px 10px;
    font-size: 14px;
    transition: opacity 0.4s ease-in-out;
}

.head-news-image:hover .caption {
    opacity: 1;
}

/* Caption fade-in effect on hover */
.caption {
    opacity: 0;
    transition: opacity 0.4s ease;
}

.head-news-image:hover .caption {
    opacity: 1;
}


