/*-----------------------------------------------------------------------------------
    
    Template Name: Basmoti - Restaurant Bootstrap4 Template
    Version: 1.0
    
-----------------------------------------------------------------------------------
    
    [Table of contents] 
        
    1. Template default css
    2. Index page style
    3. Home 2 page
    4. Home 3 page 
    5. About us page 
    6. Blog page 
    7. Blog details
    8. Contact us
    
-----------------------------------------------------------------------------------*/

/*-----------------------------
    1. Template default css
-------------------------------*/

@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap");

:root {
    --primary-color: #28283f;
    --secondary-color: #ef3f24;
    --heading-color: #f58634;
    --helper-color: #bb0b0b;
    --button-color: #093eb6;
    --gray-color: #f2f0ec;
    --white-color: #ffffff;
    --black-color: #000000;
    --transition: all ease 0.5s;
    --border-radius: 8px;
    --box-shadow: 0 0 20px 3px rgba(0, 0, 0, 0.05);
}

body {
    font-family: "Poppins", sans-serif;
    line-height: 1.8rem;
    overflow-x: hidden !important;
}

.img {
    max-width: 100%;
    transition: all 0.3s ease-out 0s;
}

a,
a:focus,
.btn:focus {
    text-decoration: none;
    outline: none;
}

a:hover {
    color: #333;
    text-decoration: none;
}

a:focus {
    text-decoration: none;
}

button:focus {
    outline: 0px dotted;
}

a,
button,
input {
    outline: medium none;
    color: #242424;
}

.btn {
    box-shadow: 0px 12px 25px 0px rgb(20 70 140 / 43%);
}

.btn.btn-primary {
    background: var(--button-color);
    border: transparent;
    padding: 10px 30px;
    -webkit-transition: all 0.4s ease;
    transition: all 0.4s ease;
    border-radius: 3px;
    font-weight: 700;
}

.btn.btn-primary:hover {
    background: var(--secondary-color);
    webkit-box-shadow: 0px 12px 25px 0px rgba(245, 134, 52, 0.43);
    -moz-box-shadow: 0px 12px 25px 0px rgba(245, 134, 52, 0.43);
    box-shadow: 0px 12px 25px 0px rgba(245, 134, 52, 0.43);
}

a:hover {
    color: #f58634;
}

.uppercase {
    text-transform: uppercase;
}

.capitalize {
    text-transform: capitalize;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Poppins", sans-serif;
    color: #242424;
    margin-top: 0px;
    font-style: normal;
    font-weight: 700;
}

h1 {
    font-size: 46px;
}

h2 {
    font-size: 32px;
}

h3 {
    font-size: 28px;
}

h4 {
    font-size: 22px;
}

h5 {
    font-size: 18px;
}

h6 {
    font-size: 16px;
}

ul {
    margin: 0px;
    padding: 0px;
}

/* Default Classes */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 100%;
    bottom: 0;
    background-color: #fff;
    z-index: 99999999;
}

[data-loader="circle-side"] {
    position: absolute;
    width: 50px;
    height: 50px;
    top: 50%;
    left: 50%;
    margin-left: -25px;
    margin-top: -25px;
    -webkit-animation: circle infinite 0.95s linear;
    -moz-animation: circle infinite 0.95s linear;
    -o-animation: circle infinite 0.95s linear;
    animation: circle infinite 0.95s linear;
    border: 2px solid #0b1325;
    border-top-color: rgba(0, 0, 0, 0.2);
    border-right-color: rgba(0, 0, 0, 0.2);
    border-bottom-color: rgba(0, 0, 0, 0.2);
    -webkit-border-radius: 100%;
    -moz-border-radius: 100%;
    -ms-border-radius: 100%;
    border-radius: 100%;
}

@-webkit-keyframes circle {
    0% {
        -webkit-transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
    }
}

@keyframes circle {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.border-radius {
    border-radius: var(--border-radius);
}

.default-padding {
    padding: 4rem 0;
}
.default-padding.padding-bottom-zero {
    padding-bottom: 0;
}
.bg-light {
    background: #f6f7f8;
}
.bg-light-gray {
    background: #f5f5fe;
}
.header-title-wrap {
    margin-bottom: 1rem;
}

.border-heading {
    position: relative;
}

.border-heading:after {
    content: "";
    display: block;
    width: 50px;
    height: 4px;
    border-radius: 10px;
    background: var(--secondary-color);
    margin: 6px 0 0;
}

/* End Default Classes */
header .logo-wrapper > a {
    display: flex;
    align-items: center;
}

header.header {
    position: relative;
    top: 0;
    left: 0;
    right: 0;
    padding: 10px 0 0 0;
    z-index: 999;
    transition: all 0.4s ease-in-out 0s;
}

header.header.sticky {
    position: fixed;
    background: rgba(50, 51, 51, 0.95);
    box-shadow: 0 10px 20px -12px rgb(0 0 0 / 42%),
        0 3px 20px 0 rgb(0 0 0 / 12%), 0 8px 10px -5px rgb(0 0 0 / 20%);
}

header.header .logo-text {
    font-size: 18px;
    font-weight: 600;
    color: #242424;
    padding-left: 20px;
}
header.header.sticky .logo-text {
    color: #fff;
}
header nav ul.navbar-nav > li > a {
    color: #242424 !important;
    font-weight: 600 !important;
    position: relative;
    margin-bottom: 10px;
}
header.header.sticky nav ul.navbar-nav > li > a {
    color: #fff !important;
}
header nav ul.navbar-nav > li > a::before {
    background: var(--secondary-color);
    content: "";
    display: block;
    height: 5px;
    opacity: 0;
    position: relative;
    top: 40px;
    transition: opacity, width;
    transition-duration: 0.3s;
    width: 0;
}

header nav ul.navbar-nav > li > a.active:before {
    width: 100%;
    opacity: 1;
}

header nav ul.navbar-nav > li > a:hover:before {
    width: 100%;
    opacity: 1;
}

ul.navbar-nav li ul.dropdown-menu .nav-item a {
    display: block;
    padding: 10px 20px;
    width: 201px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #242424;
}
ul.navbar-nav{
    align-items:center;
}
ul.navbar-nav li ul.dropdown-menu .nav-item a:hover {
    background: #fff;
    color: var(--secondary-color);
}
ul.navbar-nav li.nav-reg-btn{
    margin-left:10px;
}
ul.navbar-nav li a.nav-link.btn-primary{
    color: #fff !important;
    border-radius: 8px;
    padding: 8px 10px;
    font-size: 14px;
}
header nav ul.navbar-nav > li > a.nav-link.btn-primary:hover:before {
    opacity: 0;
}
/* End Header */
footer,
footer a {
    color: #fff;
}

footer .footer-area-top {
    background: var(--primary-color);
    padding: 5rem 0 3rem 0;
}

footer .footer-bottom {
    background: var(--primary-color);
    padding: 2rem 0;
}

footer h4 {
    color: #fff;
    padding: 0px 0 20px 0;
    margin-bottom: 1rem;
}

footer ul {
    list-style: none;
}

footer ul li {
    position: relative;
    padding-left: 15px;
}

footer ul li a {
    color: #fff;
}

footer .footer-widget ul li:before {
    content: "\f105";
    font-family: "Font Awesome 5 Pro";
    font-weight: 900;
    left: 0;
    position: absolute;
    top: 0;
    color: var(--secondary-color);
}

footer .footer-widget .footer-title {
    position: relative;
}

footer .footer-widget .footer-title:after {
    content: "";
    width: 50px;
    height: 4px;
    background: var(--secondary-color);
    position: absolute;
    bottom: 0;
    right: 0;
    left: 0;
    margin-left: 0;
    border-radius: 0;
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
    z-index: 0;
}

footer .footer-widget i {
    color: var(--secondary-color);
}

footer .single-footer-cont-info {
    display: flex;
    /* flex-wrap: wrap; */
}

footer .single-footer-cont-info .cont-info-icon {
    margin-right: 15px;
}

footer .footer-bottom-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
}

footer .footer-bottom-wrapper p {
    margin-bottom: 0;
}
footer .footer-widget .social-icon ul li{
    padding-left:0;
}
footer .footer-widget .social-icon ul li:before{
    content:unset;
}
/* Box Model */
.box-model {
    box-shadow: 0 7px 15px rgb(0 9 128 / 5%), 0 12px 28px rgb(0 9 128 / 8%);
    border-radius: 8px;
    overflow: hidden;
    position: relative;
}

.box-model img {
    width: 100%;
    height: 380px;
    object-fit: cover;
}

.box-model .content {
    padding: 20px 30px;
}

.box-model .date {
    position: absolute;
    display: block;
    padding: 10px 15px;
    background: var(--heading-color);
    top: 12px;
    right: 12px;
    z-index: 100;
    text-align: center;
    font-weight: 600;
    font-size: 24px;
    border-radius: 4px;
}

.box-model .date span {
    width: 100%;
    color: #fff;
    display: block;
}

.box-model .category {
    position: absolute;
    display: block;
    padding: 5px 20px;
    background: #f58634;
    top: 12px;
    left: 12px;
    z-index: 100;
    border-radius: 8px;
    color: #fff;
    font-weight: 600;
}

.box-model figure {
    margin-bottom: 0;
    position: relative;
}

.box-model figure > h3 {
    position: absolute;
    bottom: 0;
    margin-bottom: 0;
    background: rgba(27, 25, 68, 0.85);
    padding: 10px;
    left: 0;
    right: 0;
}

.box-model figure > h3 > a {
    color: #fff;
}

.box-model .content a.read-more {
    position: relative;
    color: var(--secondary-color);
    padding-right: 15px;
}

.box-model .content a.read-more:after {
    content: "\f105";
    font-family: "Font Awesome 5 Pro";
    font-weight: 900;
    right: 0;
    position: absolute;
    top: -1px;
}

.boards.box-model {
    border-radius: unset;
}

.boards.box-model .content {
    text-align: center;
}

.boards.box-model:hover {
    box-shadow: 0 1px 30px rgb(0 0 0 / 25%);
    transition: all 0.3s ease-in-out;
}

.boards.box-model .content {
    padding: 20px 20px;
    position: absolute;
    bottom: 0;
    background: #fff;
    left: 30px;
}

.boards.box-model .content h4 a {
    color: var(--heading-color);
}

.boards.box-model .content b {
    color: #999;
}

.boards.box-model img {
    transition: transform 0.2s;
    /* Animation */
}

.boards.box-model img:hover {
    transform: scale(1.1);
}

/* End Box Model */

/* Widget Area */
.widget-area .widget {
    box-shadow: 0 0 30px rgb(0 0 0 / 8%);
    transition: all 0.3s ease;
    padding: 30px;
}

.widget-area .widget ul {
    list-style: none;
}

.widget-area .widget ul li {
    margin-bottom: 1rem;
    padding: 20px 0;
    border-bottom: 1px solid #e8e9eb;
}

.widget-area .widget ul li.post-item {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.widget-area .widget ul li.post-item .post-image {
    width: 35%;
}

.widget-area .widget ul li.post-item .post-descrip {
    width: 65%;
}

.widget-area .widget ul li.post-item .post-descrip h6 {
    font-weight: 500;
}

/* End Widget Area */

/* Banner Slider */

.banner-slider {
    position: relative;
    width: 100%;
}
.banner-slider .container {
    position: relative;
}
.banner-slider img {
    width: 100%;
    height: 600px; /* Adjust this height as per your design */
    object-fit: cover; /* Ensures the image maintains its aspect ratio */
}

.slick-slide {
    text-align: center;
}
.banner-slide {
    position: relative;
}
.banner-slide:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    height: 100%;
    width: 100%;
    background: rgba(0, 0, 0, 0.3);
}

.banner-caption {
    position: absolute;
    bottom: 60px;
    left: 20px;
    color: white;
    padding: 10px;
    max-width: 790px;
    text-align: left;
}
.banner-caption h2 {
    color: #fff;
    font-size: 64px;
}
.banner-caption p {
}
.slick-dots {
    bottom: 20px;
}

/* Content Area */
.content-area .content-head-wrapper {
    height: 400px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.content-area .content-head-wrapper::before {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    content: "";
    z-index: 9;
    background: rgb(139, 145, 221);
    background: -moz-linear-gradient(
        45deg,
        rgba(139, 145, 221, 1) 0%,
        rgba(16, 25, 93, 1) 71%,
        rgba(16, 25, 93, 1) 100%
    );
    background: -webkit-gradient(
        linear,
        left bottom,
        right top,
        color-stop(0%, rgba(139, 145, 221, 1)),
        color-stop(71%, rgba(16, 25, 93, 1)),
        color-stop(100%, rgba(16, 25, 93, 1))
    );
    background: -webkit-linear-gradient(
        45deg,
        rgba(139, 145, 221, 1) 0%,
        rgba(16, 25, 93, 1) 71%,
        rgba(16, 25, 93, 1) 100%
    );
    background: -o-linear-gradient(
        45deg,
        rgba(139, 145, 221, 1) 0%,
        rgba(16, 25, 93, 1) 71%,
        rgba(16, 25, 93, 1) 100%
    );
    background: -ms-linear-gradient(
        45deg,
        rgba(139, 145, 221, 1) 0%,
        rgba(16, 25, 93, 1) 71%,
        rgba(16, 25, 93, 1) 100%
    );
    background: linear-gradient(
        45deg,
        rgba(139, 145, 221, 1) 0%,
        rgba(16, 25, 93, 1) 71%,
        rgba(16, 25, 93, 1) 100%
    );
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#8b91dd', endColorstr='#10195d', GradientType=1);
    opacity: 0.8;
}

.content-area .content-head-wrapper.large-bg {
    height: 550px;
}

.content-area .content-head {
    z-index: 9;
    color: #fff;
    padding: 20px;
    text-align: center;
}
header.sticky + .content-area .content-head {
    position: relative;
    top: 50px;
}
.content-area .content-head h1 {
    color: #fff;
}

/* End Content Area */

/* Photo Gallery */

.single-gallery {
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 7px 15px rgb(0 9 128 / 5%), 0 12px 28px rgb(0 9 128 / 8%);
}

.single-gallery img {
    margin-bottom: 10px;
    border-radius: 4px;
    height: 200px;
    object-fit: cover;
}

.single-image {
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 3px 5px rgb(0 9 128 / 5%), 0 4px 10px rgb(0 9 128 / 4%);
}

.single-image img {
    height: 190px;
    object-fit: cover;
    border-radius: 4px;
}

/* End Gallery */

/* Board  */
.board-details {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.board-details img {
    width: 300px;
    border-radius: 8px;
}

.white-popup {
    position: relative;
    background: #fff;
    padding: 40px 40px;
    width: auto;
    max-width: max-content;
    margin: 20px auto;
    border-radius: 12px;
}

/* End Board */

/* News */
ul.list-view {
    list-style: none;
}

ul.list-view li {
    border-bottom: 1px solid #dedede;
    margin-bottom: 1rem;
}

ul.list-view li:last-child {
    border-bottom: none;
}

/* End News */

/* Featured Box */

.featured-box h3,
.featured-box a {
    color: #fff;
}

.featured-box .row > div > div {
    padding: 40px 20px;
    text-align: left;
    box-shadow: 0 7px 15px rgb(0 9 128 / 5%), 0 12px 28px rgb(0 9 128 / 8%);
}

.featured-box .row > div:nth-of-type(2n + 1) > div {
    background: rgba(72, 134, 255, 1);
    height: 100%;
}

.featured-box .row > div:nth-of-type(2n + 2) > div {
    background: rgba(181, 213, 106, 1);
    height: 100%;
}

.featured-box .row > div:nth-of-type(2n + 3) > div {
    background: rgba(255, 111, 111, 1);
}

/* End Featured Box */

/* Three Col Box */
.three-col-box .col-lg-4:nth-child(1) h2:after {
    background: #007bff;
}

.three-col-box .col-lg-4:nth-child(2) h2:after {
    background: #ffc107;
}

.three-col-box .col-lg-4:nth-child(3) h2:after {
    background: #dc3545;
}

.three-col-box h2 {
    margin-bottom: 2rem;
}

.three-col-box ul.notices li,
.three-col-box ul.events li {
    list-style: none;
    border-bottom: 1px solid #dedede;
    padding-bottom: 20px;
    margin-bottom: 20px;
}

.three-col-box ul li:last-child {
    border-bottom: none;
}

.three-col-box ul.events li {
    display: flex;
    flex-wrap: wrap;
}

.three-col-box ul.events li h4 {
    max-width: 270px;
    margin-left: 20px;
}

.three-col-box ul.events li .date {
    background: var(--secondary-color);
    padding: 15px;
    color: #fff;
    font-weight: bold;
    border-radius: 8px;
    height: 80px;
}

.three-col-box ul.events li .date span {
    display: block;
    font-size: 24px;
    line-height: 28px;
    text-transform: uppercase;
}

.three-col-box h2 span {
    font-size: 14px;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
}

.three-col-box h2 span a {
    color: #fff;
}

.flex-caption {
    left: 20px;
    right: 0;
    bottom: 0;
    color: #fff;
    padding: 20px 20px;
    position: absolute;
}

.three-col-box .gallery figure {
    position: relative;
}

.three-col-box .gallery .slick-slide img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.three-col-box .gallery figure:before {
    position: absolute;
    content: "";
    left: 0;
    right: 0;
    top: 0;
    border-radius: 6px 6px 0 0;
    height: 100%;
    width: 100%;
    z-index: 1;
    background: linear-gradient(
        180deg,
        rgba(15, 18, 22, 0) 46.67%,
        rgba(15, 18, 22, 0.9) 91%
    );
    transition: all 0.5s ease 0s;
    bottom: 0;
}

.three-col-box .gallery figure h4 {
    z-index: 99;
}

.three-col-box .gallery figure h4 a {
    color: #fff;
}

/* End Three Col Box */
.highlights {
    background: #ffeded;
    padding: 5px 0px;
    margin: 0;
    position: relative;
}
.highlights::before {
    content: "";
    height: 100%;
    position: absolute;
    width: 40%;
    background: #ef3f24;
    top: 0;
    left: -290px;
    transform: skew(30deg);
}
.ticker {
    display: flex;
    align-items: center;
}
.ticker .ticker-ctrls {
    display: flex;
    gap: 10px;
}
.ticker h3 {
    margin-right: 90px;
    font-size: 22px;
    top: 3px;
    position: relative;
    color: #fff;
}
/* Popup */
.modal .modal-body img {
    width: 100%;
}

/* Program Control */
.home-program-slider .program-control {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.home-program-slider .program-control .controls {
    display: flex;
    gap: 10px;
}
.home-program-slider .program-control .controls i {
    cursor: pointer;
}

/* Message from Leaders */
.message  .message-content {
    box-shadow: 0 0 50px 10px rgba(95, 45, 237, 0.1);
    padding: 20px;
    background: #fff;
    border-radius:8px;
    min-height:540px;
}
.message  .message-content h4{
    margin-bottom:25px;
}
.message figure{
    position:relative;
    margin:0;
}
.message figure img {
    height: 300px;
    width: 100%;
    object-fit: cover;
    object-position: center;
   
}
.message span {
    position: relative;
    margin-bottom: 10px;
    display: block;
    font-weight: 600;
}
.message .section-title__title:after {
    content: "";
    display: block;
    width: 50px;
    height: 4px;
    border-radius: 10px;
    background: var(--secondary-color);
    margin: 6px 0 0;
}

.message .message-content figure > span{
    position: relative;
    bottom: 0;
    background: var(--primary-color);
    padding: 10px 20px;
    color: #fff;
    font-weight: bold;
    left: 0;
    right:0;
    opacity:0.8;
    margin:0;
}
/* Table Container */
.content-area .table-container {
    width: 100%;
    overflow-x: auto;
    margin-bottom: 1rem;
    -webkit-overflow-scrolling: touch;
    -ms-overflow-style: -ms-autohiding-scrollbar;
}

/* Table */
.content-area table {
    width: 100% !important;
    max-width: 100% !important;
    margin-bottom: 1rem;
    background-color: transparent;
    border-collapse: collapse;
}

/* Table Header */
.content-area table th {
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    padding: 0.75rem;
    vertical-align: top;
    text-align: left;
    font-weight: bold;
}

/* Table Body */
.content-area table td {
    border: 1px solid #dee2e6;
    padding: 0.75rem;
    vertical-align: top;
}

/* Table Row Hover */
.content-area table tbody tr:hover {
    background-color: #f1f1f1;
}

/* Responsive */
@media (max-width: 768px) {
    .content-area table th,
    .content-area table td {
        padding: 0.5rem;
    }
}

/* Event Box Model */
.event-box-model {
    box-shadow: 0 0 20px 1px rgba(0, 0, 0, 0.2);
}
.event-box-model h3 {
    padding: 20px;
}
.event-box-model figure {
    position: relative;
}
.event-box-model .date {
    position: absolute;
    bottom: 0px;
    left: 29px;
    width: 75px;
    height: 85px;
    text-align: center;
    background: var(--heading-color);
    padding: 10px 0;
}
.event-box-model .date span {
    display: block;
    color: #fff;
    font-weight: 600;
    font-size: 24px;
}

.event-box-model figure img {
    height: 250px;
    object-fit: cover;
}
