@font-face {
    font-family: avenir-regular;
    src: url(../fonts/AvenirNextLTPro-Regular.otf);
}

@font-face {
    font-family: avenir-bold;
    src: url(../fonts/AvenirNextLTPro-Bold.otf);
}

@font-face {
    font-family: avenir-demibold;
    src: url(../fonts/AvenirNext-DemiBold.ttf);
}
/* Reset default margin and padding */
body {
    margin: 0;
    padding: 0;
    font-family: 'Avenir Next', sans-serif;
    background-color: #FFFFFF;
}


    
.custom-header-detail {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin: 0; /* Remove any default margin */
    padding: 0; /* Remove any default padding */
    background-color: #f8f9fa; /* Optional: Set a background color */
    
}

.custom-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 40px 120px;
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border-top: 20px solid #000;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-container .logo {
    max-height: 40px;
}

.nav-menu {
    display: flex;
    
}

.nav-menu ul {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}

.nav-menu ul li {
    margin: 0 10px;
}

.nav-menu ul li a {
    text-decoration: none;
    color: #000;
    font-weight: 600;
}

.nav-menu ul li a.active {
    color: #007BFF;
    text-decoration: underline;
}

.menu-icon {
    display: none;
    font-size: 24px;
    background: none;
    border: none;
    cursor: pointer;
}

.news-image-wrapper {
  overflow: hidden; /* Ensures content doesn't overflow the container */
  height: 250px;    /* Adjust to your desired fixed height */
}

.news-image {
  width: 100%;        /* Make the image responsive */
  height: 100%;       /* Forces the image to fill the container height */
  object-fit: cover;  /* Crops the image to fit the dimensions */
  margin-bottom: 10px;
}

.news-title {
            font-size: 18px;
            font-weight: bold;
            display: -webkit-box;        /* Creates a flexible box for limiting lines */
  -webkit-line-clamp: 2;       /* Limits text to 2 lines */
  -webkit-box-orient: vertical; /* Specifies vertical orientation for text */
  overflow: hidden;            /* Ensures text beyond 2 lines is hidden */
  text-overflow: ellipsis; 
  margin-top: 10px !important;
  padding-left: 10px;
  padding-right: 10px;
        }

.news-excerpt {
            color: #555;
            display: -webkit-box;        /* Creates a flexible box for limiting lines */
  -webkit-line-clamp: 2;       /* Limits text to 2 lines */
  -webkit-box-orient: vertical; /* Specifies vertical orientation for text */
  overflow: hidden;            /* Ensures text beyond 2 lines is hidden */
  text-overflow: ellipsis;
  padding-left: 10px;
  padding-right: 10px;
        }
        
.text-muted.small {
  padding: 0 10px; /* 0px for top and bottom, 10px for left and right */
}


@media (max-width: 768px) {
    
        .custom-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
padding-left: 10px;
padding-right: 10px;
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border-top: 20px solid #000;
}
    
    .nav-menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 60px;
        right: 20px;
        background-color: #fff;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        border-radius: 8px;
        padding: 10px;
        margin-top:50px;
        z-index: 10; /* Ensure it's above other elements */
    }

    .nav-menu ul {
        flex-direction: column;
    }

    .nav-menu ul li {
        margin: 5px 0;
    }

    .menu-icon {
        display: block;
    }

    .nav-menu.show {
        display: flex;
    }
    
    .news-image-wrapper {
  overflow: hidden; /* Ensures content doesn't overflow the container */
  width: 100%;      /* Make the wrapper full width */
  height: 150px;    /* Fixed height for the wrapper */
  display: flex;    /* Ensures consistent alignment */
  justify-content: center; /* Optional: Center align if needed */
  align-items: center;   
}

.news-image {
  width: 100%;        /* Make the image responsive */
  height: 100%;       /* Forces the image to fill the container height */
  object-fit: cover;  /* Crops the image to fit the dimensions */
  margin-bottom: 10px;
}

.news-title {
            font-size: 16px;
            font-weight: bold;
            display: -webkit-box;        /* Creates a flexible box for limiting lines */
  -webkit-line-clamp: 2;       /* Limits text to 2 lines */
  -webkit-box-orient: vertical; /* Specifies vertical orientation for text */
  overflow: hidden;            /* Ensures text beyond 2 lines is hidden */
  text-overflow: ellipsis;
  margin-top: 10px !important;
  padding-left: 5px;
  padding-right: 5px;
        }
        
.news-excerpt {
            color: #555;
            display: -webkit-box;        /* Creates a flexible box for limiting lines */
  -webkit-line-clamp: 2;       /* Limits text to 2 lines */
  -webkit-box-orient: vertical; /* Specifies vertical orientation for text */
  overflow: hidden;            /* Ensures text beyond 2 lines is hidden */
  text-overflow: ellipsis;
  padding-left: 5px;
  padding-right: 5px;
        }

}

/*.custom-header {*/
/*    display: flex;*/
/*    justify-content: space-between;*/
/*    align-items: center;*/
/*    background-color: #FAFAFA;*/
/*    padding: 40px 120px;*/
/*    border-top: 20px solid #000;*/
/*}*/

/*.logo-container {*/
/*    display: flex;*/
/*    align-items: center;*/
/*    gap: 10px;*/
/*}*/

/*.logo {*/
    /*height: 40px;*/
/*    width: auto;*/
/*}*/

/*.site-name {*/
/*    font-size: 14px;*/
/*    font-weight: bold;*/
/*    color: #000;*/
/*}*/

/*.nav-menu ul {*/
/*    list-style: none;*/
/*    display: flex;*/
/*    gap: 30px;*/
/*    margin: 0;*/
/*    padding: 0;*/
/*}*/

/*.nav-menu ul li {*/
/*    display: inline-block;*/
/*}*/

/*.nav-menu ul li a {*/
/*    text-decoration: none;*/
/*    color: #000;*/
/*    font-size: medium;*/
/*    font-weight: 500;*/
/*    position: relative;*/
/*    padding-bottom: 5px;*/
/*}*/

/*.nav-menu ul li a.active {*/
/*    color: #007bff;*/
/*}*/

/*.nav-menu ul li a.active::after {*/
/*    content: "";*/
/*    display: block;*/
/*    width: 100%;*/
/*    height: 2px;*/
/*    background-color: #007bff;*/
/*    position: absolute;*/
/*    bottom: 0;*/
/*    left: 0;*/
/*}*/

/*.nav-menu ul li a:hover {*/
/*    color: #007bff;*/
/*}*/


        
        .section {
            /*margin: 120px 20px;*/
            margin-left: 120px;
            margin-right: 120px;
            margin-top: 10px;
        }
        .section h2 {
            margin-left: 20px;
        }
        .scroll-container {
            display: flex;
            overflow-x: auto;
            gap: 20px;
            padding: 10px;
        }
        .my-custom-card {
            /*flex: 0 0 auto;*/
            width: 250px;
            border: 1px solid #ccc;
            border-radius: 20px;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
            padding: 0px;
            text-align: center;
            display: flex;
    flex-direction: column; /* Stack items vertically */
    justify-content: space-between; /* Space items apart */
        }
        .my-custom-card img {
            width: 250px; /* Fixed width */
    height: 200px; /* Fixed height */
    object-fit: cover; /* Ensures aspect-fill behavior */
    border-top-left-radius: 20px; /* Top-left corner radius */
    border-top-right-radius: 20px; /* Top-right corner radius */
    border-bottom-left-radius: 0; /* No border radius on bottom-left */
    border-bottom-right-radius: 0; /* No border radius on bottom-right */
        }
        
        .my-custom-card h4 {
    display: -webkit-box; /* Creates a flexible box for multiline support */
    -webkit-line-clamp: 2; /* Limits the text to 2 lines */
    -webkit-box-orient: vertical; /* Sets the box orientation to vertical */
    overflow: hidden; /* Hides overflow content */
    text-overflow: ellipsis; /* Adds ellipsis (...) for overflowing text */
    line-height: 1.2; /* Adjust the line height for better spacing */
    max-height: 2.4em; /* Ensures the height matches 2 lines */
    margin: 10px; /* Optional: remove extra margin */
    font-size: 16px; /* Adjust the font size if needed */
    vertical-align: top; /* Ensures content starts at the top */
}
        
        
        
        
        .my-custom-card .discount {
            font-size: 1.0em;
            font-weight: bold;
            color: #3e82d8;
        }
        .my-custom-card .description {
            display: -webkit-box; /* Creates a flexible box for multiline support */
    -webkit-line-clamp: 2; /* Limits the text to 2 lines */
    -webkit-box-orient: vertical; /* Sets the box orientation to vertical */
    overflow: hidden; /* Hides overflow content */
    text-overflow: ellipsis; /* Adds ellipsis (...) for overflowing text */
    color: #9E9E9E; /* Sets text color to red */
    font-size: 12px; /* Sets font size to small */
    line-height: 1.5; /* Adjust line spacing */
    max-height: 3em; /* Matches height for 2 lines (line-height × 2) */
    margin: 0; /* Optional: removes extra margins */
        }
        .my-custom-card a {
            display: inline-block;
    margin-top: 10px; /* Push the button to the bottom */
    margin-bottom: 10px; /* Push the button to the bottom */
    margin-left: 10px; /* Push the button to the bottom */
    width: 100px;
    height: 30px;
    /*padding: 10px 15px;*/
    background-color: #007BFF;
    color: #fff;
    font-size: 14px; /* Sets font size to small */
    font-weight: 600;
    text-decoration: none;
    border-radius: 15px;
    text-align: center; /* Center text inside the button */
    line-height: 30px;
        }
        .my-custom-card a:hover {
            background-color: #0056b3;
        }
    
    
    footer {
  background-color: #f9f9f9;
  padding-top: 50px;
  margin-top: 20px;
  font-family: 'Avenir Next', sans-serif;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding-left: 120px;
  padding-right: 120px;
  gap: 100px;
}

.footer-section {
  flex: 1;
}

.footer-logo {
  max-width: 100px;
  margin-bottom: 10px;
}

.footer-section h3 {
  font-size: 18px;
  margin-bottom: 10px;
}

.footer-section p {
  font-size: 14px;
  color: #333;
  line-height: 1.6;
}

.footer-email {
  color: #e63950;
  text-decoration: none;
  font-size: 14px;
}

.footer-email:hover {
  text-decoration: underline;
}

.social-icons a {
  display: inline-block;
  width: 30px;
  height: 30px;
  margin-right: 10px;
  border-radius: 50%;
  background-color: #eee;
  color: #333;
  text-align: center;
  line-height: 30px;
  font-size: 16px;
}

.social-icons a:hover {
  background-color: #007bff;
  color: #fff;
}

.footer-bottom {
  text-align: center;
  padding: 10px 0;
  background-color: #000;
  color: #fff;
  height: 50px;
  margin-top: 50px;
  font-size: 12px;
}

.footer-bottom a {
  color: #e63950;
  text-decoration: none;
  margin: 0 5px;
}

.footer-bottom a:hover {
  text-decoration: underline;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    padding-left: 20px;
    padding-right: 20px;
    gap: 20px;
  }

  .footer-section {
    margin-bottom: 20px;
  }

  .footer-section h3 {
    font-size: 16px;
  }

  .footer-section p {
    font-size: 13px;
  }

  .social-icons a {
    width: 25px;
    height: 25px;
    line-height: 25px;
    font-size: 14px;
  }

  .footer-bottom {
    font-size: 10px;
    height: auto;
    padding: 10px;
  }
}



    
/*    footer {*/
/*  background-color: #f9f9f9;*/
  /*padding: 20px 50px;*/
/*  padding-top:50px;*/
/*  margin-top:20px;*/
/*  font-family: 'Avenir Next', sans-serif;*/
/*}*/

/*.footer-container {*/
/*  display: flex;*/
/*  justify-content: space-between;*/
/*  align-items: flex-start;*/
/*  padding-left:120px;*/
/*  padding-right:120px;*/
/*  gap: 100px;*/
/*}*/

/*.footer-section {*/
/*  flex: 1;*/
/*}*/

/*.footer-logo {*/
/*  max-width: 100px;*/
/*  margin-bottom: 10px;*/
/*}*/

/*.footer-section h3 {*/
/*  font-size: 18px;*/
/*  margin-bottom: 10px;*/
/*}*/

/*.footer-section p {*/
/*  font-size: 14px;*/
/*  color: #333;*/
/*  line-height: 1.6;*/
/*}*/

/*.footer-email {*/
/*  color: #e63950;*/
/*  text-decoration: none;*/
/*  font-size: 14px;*/
/*}*/

/*.footer-email:hover {*/
/*  text-decoration: underline;*/
/*}*/

/*.social-icons a {*/
/*  display: inline-block;*/
/*  width: 30px;*/
/*  height: 30px;*/
/*  margin-right: 10px;*/
/*  border-radius: 50%;*/
/*  background-color: #eee;*/
/*  color: #333;*/
/*  text-align: center;*/
/*  line-height: 30px;*/
/*  font-size: 16px;*/
/*}*/

/*.social-icons a:hover {*/
/*  background-color: #007bff;*/
/*  color: #fff;*/
/*}*/

/*.footer-bottom {*/
/*  text-align: center;*/
/*  padding: 10px 0;*/
/*  background-color: #000;*/
/*  color: #fff;*/
/*  height: 50px;*/
/*  margin-top:50px;*/
/*  font-size: 12px;*/
/*}*/

/*.footer-bottom a {*/
/*  color: #e63950;*/
/*  text-decoration: none;*/
/*  margin: 0 5px;*/
/*}*/

/*.footer-bottom a:hover {*/
/*  text-decoration: underline;*/
/*}*/


@media (max-width: 768px) {
    main {
        padding: 10px;
    }

    .my-custom-card {
        margin: 10px 5px;
    }

    header, footer {
        padding: 10px;
    }
    
    .section {
            /*margin: 120px 20px;*/
            margin-left: 20px;
            margin-right: 20px;
            margin-top: 30px;
        }
        
}


body .carousel {
            background-color: #FFFFFF;
            margin-top: 10px;
        border-radius: 10px;
        }
        body .carousel img {
            object-fit: cover; /* Ensure images cover the carousel dimensions */
            width: 100%;
            border-radius: 10px;
            margin-top: 0px;
        }
        
        .news-link {
        display: inline-block; /* Allows padding and hover effects */
        font-size: 15px; /* Adjust the font size */
        font-weight: 500; /* Make the text bold */
        color: #007BFF; /* Link color */
        text-decoration: none; /* Remove underline */
        padding: 5px 15px; /* Add padding around the text */
        border: 2px solid #007BFF; /* Border around the anchor */
        border-radius: 8px; /* Rounded corners */
        transition: all 0.3s ease; /* Smooth transition for hover effect */
    }

    .news-link:hover {
        background-color: #007BFF; /* Change background color on hover */
        color: #ffffff; /* Change text color on hover */
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2); /* Add shadow on hover */
        transform: scale(1.05); /* Slight zoom effect on hover */
    }
    
    .reduce-top-margin {
        margin-top: -30px; /* Adjust as needed */
    }
    
    .top-margin-title-latest-news {
        margin-top: 25px; /* Adjust as needed */
}
    
@media (max-width: 480px) {
    
    .nav-menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 60px;
        right: 20px;
        background-color: #fff;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        border-radius: 8px;
        padding: 10px;
        margin-top:50px;
        z-index: 10; /* Ensure it's above other elements */
    }
    
    .custom-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
padding-left: 10px;
padding-right: 10px;
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border-top: 20px solid #000;
}
    
    .my-custom-card h3 {
        font-size: 16px;
    }

    .my-custom-card p {
        font-size: 12px;
    }

    .my-custom-card a {
        padding: 8px 10px;
        font-size: 12px;
    }
    
    .section {
            /*margin: 120px 20px;*/
            margin-left: 5px;
            margin-right: 0px;
            margin-top: 10px;
        }
        
.news-image-wrapper {
  overflow: hidden; /* Ensures content doesn't overflow the container */
  width: 100%;      /* Make the wrapper full width */
  height: 150px;    /* Fixed height for the wrapper */
  display: flex;    /* Ensures consistent alignment */
  justify-content: center; /* Optional: Center align if needed */
  align-items: center;   
}

.news-image {
  width: 100%;        /* Make the image responsive */
  height: 100%;       /* Forces the image to fill the container height */
  object-fit: cover;  /* Crops the image to fit the dimensions */
  margin-bottom: 10px;
}

.news-title {
            font-size: 14px;
            font-weight: bold;
            display: -webkit-box;        /* Creates a flexible box for limiting lines */
  -webkit-line-clamp: 2;       /* Limits text to 2 lines */
  -webkit-box-orient: vertical; /* Specifies vertical orientation for text */
  overflow: hidden;            /* Ensures text beyond 2 lines is hidden */
  text-overflow: ellipsis;  
  margin-top: 10px !important;
  padding-left: 5px;
  padding-right: 5px;
        }
        
.news-excerpt {
            color: #555;
            display: -webkit-box;        /* Creates a flexible box for limiting lines */
  -webkit-line-clamp: 2;       /* Limits text to 2 lines */
  -webkit-box-orient: vertical; /* Specifies vertical orientation for text */
  overflow: hidden;            /* Ensures text beyond 2 lines is hidden */
  text-overflow: ellipsis;
  padding-left: 5px;
  padding-right: 5px;
}

body .carousel img {
            object-fit: cover; /* Ensure images cover the carousel dimensions */
            width: 100%;
            height: 110px;
            border-radius: 10px;
            margin-top: 0px;
        }
        
.reduce-top-margin {
        margin-top: -45px; /* Adjust as needed */
    }
    
   .top-margin-title-latest-news {
        margin-top: 10px; /* Adjust as needed */
}

.top-margin-news-grid {
        margin-top: 0px; /* Adjust as needed */
}


    

        
        
}/*end of mobile*/

