@media screen and (min-width: 576px) {
    .container {
        max-width: 570px;
    }
}

@media screen and (min-width: 768px) {
    .container {
        max-width: 780px;
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

@media screen and (min-width: 992px) {
    .container {
        max-width: 1024px;
    }
}

@media screen and (min-width: 1200px) {
    .container {
        max-width: 1200px;
    }
}

@media screen and (min-width: 1400px) {
    .container {
        max-width: 1380px;
    }
}

@media screen and (min-width: 1600px) {
    .container {
        max-width: 1540px;
    }
}

a{
    text-decoration: none;
}

html {
  font-size: 54%;
  -webkit-text-size-adjust: 100%;
}
@media screen and (min-width: 768px) {
  html {
    font-size: 58%;
  }
}
@media screen and (min-width: 992px) {
  html {
    font-size: 60%;
  }
}
@media screen and (min-width: 1200px) {
  html {
    font-size: 62.5%;
  }
}
@media screen and (min-width: 1900px) {
  html {
    font-size: 70%;
  }
}

body {
  font-family: "Roboto", sans-serif !important;
  font-size: 1.4rem !important;
}
p {
  font-size: 1.4rem;
  line-height: 1.5;
  margin: 0;
  font-weight: 300;
}
p strong{
  font-weight: 500;
  color: #009844;
  font-size: 20px;
}

img {
  max-width: 100%;
  height: auto;
}

ul, ol {
  list-style: none;
  margin: 0;
  padding: 0;
}
ul li, ol li {
  font-size: 1.4rem;
  font-weight: 300;
}

a {
  color: inherit;
  text-decoration: none !important;
  font-size: 1.4rem;
}
a:hover {
  color: inherit;
  text-decoration: none;
}
.spacer {
    margin: 6rem 0;
}
/*-------------------------------------------------
    [ ## Heading ]
---------------------------------------------------*/
h1, h2, h3, h4, h5, h6 {
  clear: both;
  margin: 0;
  -webkit-font-smoothing: antialiased;
  font-weight: 500 !important;
  font-family: "Roboto", sans-serif !important;
}

h1 a,
h2 a,
h3 a,
h4 a,
h5 a {
  color: inherit;
  text-decoration: none;
}

h1 a:hover,
h2 a:hover,
h3 a:hover,
h4 a:hover {
  color: inherit;
  text-decoration: none;
}

.main-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    background-color: #fff;
    box-shadow: 0 0 1.5rem 0 rgba(0, 0, 0, 0.15);
}

header .brand-logo {
    max-width: 15rem;
}

@media screen and (min-width: 992px) {
    header .brand-logo {
        max-width: 20rem;
    }
}



header .menu-top {
    display: flex;
    align-items: center;
    justify-content: end;
    gap: 3rem;
    padding: 1rem 0;
    flex-wrap: wrap;
}

header .menu-top ul {
    display: flex;
    align-items: center;
    gap: 1rem;
}

header .menu-top ul a {
    font-weight: 300;
    color: #818181;
    font-size: 17px;
}

header .menu-top ul a i {
    font-size: 21px;
}

.post-content {
    min-height: calc(100vh - 110px);
    background-image: url(https://g-takaful.net/beta/wp-content/themes/gtakaful/assets/images/bg-pattern2.png);
    /* background-repeat: no-repeat; */
    background-position: top;
    background-size: 100%;
    padding: 0 0 5rem;
    display: grid;
    place-items: center;
}

h2 {
    text-align: center;
    margin-bottom: 20px;
}
.form-container {
    background: #f9f9f9;
    margin: 0 auto;
    border-radius: 40px;
    box-shadow: 0 0 10px #ddd;
    padding-bottom: 20px;
    /* overflow: hidden; */
}
.form-container.login, .form-container.user-login{
  max-width: 485px;
    width: 400px;
    padding-bottom: 1px;
}

.form-group {
    position: relative;
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}
.form-container.user-login form{
    margin-bottom: 2rem;
}
input, select {
    width: 100% !important;
    padding: 10px 20px !important;
    border: 1px solid #ccc !important;
    font-size: 1.4rem !important;
    border-radius: 30px !important;
    height: 50px;
    color: black !important;
}
.phone-input {
    display: flex !important;
}

    .phone-input select {
        width: 30% !important;
        margin-right: 5px !important;
    }

form#loginForm .btn,form#registerForm .btn {
    display: block;
    background-color: #009844;
    color: #ffffff;
    border-radius: 0.8rem;
    padding: 1rem 5rem;
    box-shadow: 0 0 0.8rem 0.1rem rgba(0, 0, 0, 0.15);
    font-size: 1.5rem;
    transition: all 0.25s ease;
    margin: auto;
}

form{
    margin-top: 2rem;
    margin-bottom: 1rem;
    padding: 0 25px;
}

.form-container h2{
    background-color: #009844;
    font-size: 25px;
    margin-bottom: 2rem;
    padding: 15px 0;
    color: #fff;
    font-weight: 400 !important;
    border-radius: 40px 40px 0 0;
}

.form-container p {
    text-align: center;
    margin: 30px 0 15px;
    font-size: 14px;
    color: #000;
}
.form-container p a{
    font-size: 14px;
}
.iti {
    width: 100% !important;
    border-radius: 30px !important;
    /* overflow: hidden; */
}
.iti--separate-dial-code .iti__selected-flag {
    background-color: #f6f6f6 !important;
    border: none !important;
    border-radius: 30px 0 0 30px !important;
}
.btn{
  border: none;
}

.main_slider_wrapper {
    display: block;
    width: 100%;
    padding: 0 4rem;
}

.main_slider_wrapper .section_title {
    letter-spacing: 1px;
    color: #009844;
    font-size: 3.5rem;
    font-weight: 600;
    max-width: 1600px;
    margin: auto;
}

 .serv-container {
    margin-top: 40px;
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
}
/*
@media screen and (min-width: 576px) {
    .serv-container {
        max-width: 540px;
    }
}

@media screen and (min-width: 768px) {
    .serv-container {
        max-width: 720px;
    }
}

@media screen and (min-width: 992px) {
    .serv-container {
        max-width: 960px;
    }
}
*/
@media screen and (min-width: 1550px) {
    .serv-container {
        max-width: 1600px;
    }
} 

.serv-wrap {
    display: flex;
    flex-wrap: wrap;       /* Allows items to wrap on smaller screens */
    justify-content: space-between; /* Even spacing */
    gap: 20px;             /* Space between items */
}

/* Each service item */
.serv-wrap .service-item {
    flex: 1 1 calc(10% - 20px); /* 4 items per row on large screens, minus gap */
    box-sizing: border-box;
}

@media (max-width: 1500px) {
    .serv-wrap .service-item {
        flex: 1 1 calc(17.33% - 20px);
        max-width: 17.33%;
        padding: 3rem;
    }
}

/* Medium screens (tablets) */
@media (max-width: 992px) {
    .serv-wrap .service-item {
        flex: 1 1 calc(33.33% - 20px); /* 3 items per row */
        max-width: 33.33%;
    }
}

/* Small screens (mobile) */
@media (max-width: 768px) {
    .serv-wrap .service-item {
        flex: 1 1 calc(50% - 20px); /* 2 items per row */
        max-width: 50%;
    }
}

/* Extra small screens */
@media (max-width: 480px) {
    .serv-wrap .service-item {
        font-size: 17px
    }
}

/* Optional: center content inside service-item */
.serv-wrap .service-item .thumbnail {
    text-align: center;
}


.our-services .service-item {
    background-color: #fff;
    border-radius: 1.5rem;
    text-align: center;
    padding: 1rem;
    position: relative;
    overflow: hidden;
    margin: 0 auto;
    box-shadow: 0 5px 10px 0 rgb(0 152 68 / 50%);
    /* width: 140px; */
    /* height: 140px; */
    display: grid;
    align-items: center;
}

.our-services .service-item .thumbnail {
    /* height: 6rem; */
    display: flex;
    align-items: center;
    justify-content: center;
}

.our-services .service-item .thumbnail img {
    width: 60px;
    filter: brightness(0) saturate(100%) invert(50%) sepia(100%) saturate(300%) hue-rotate(100deg);
}

.our-services .service-item .title {
    margin-top: 1rem;
    font-size: 12px;
    color: var(--color__grey);
    text-transform: uppercase;
}

.our-services .service-item .rollover {
    position: absolute;
    inset: 0;
    background-color: #ebebeb;
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 2rem;
    transition: all 0.25s ease-out 0s;
    opacity: 0;
    visibility: hidden;
}

.our-services .service-item .rollover a {
    display: block;
    width: 120px;
    padding: 7px;
    font-size: 14px;
}

.our-services .service-item:hover .rollover {
    opacity: 1;
    visibility: visible;
}
.btn.btn-yellow {
    background-color: #009844;
    font-size: 1.7rem;
    padding: 1rem 2.5rem;
    border-radius: 0.6rem;
    letter-spacing: 1px;
    transition: all 0.25s ease-out 0s;
    font-weight: bold;
    color: #fff;
    border: 2px solid;
}

a.btn.btn-blue {
    background: #fff;
    color: #009844;
    border: 2px solid #009844;
}
.swiper.mySwiper {
    max-width: 600px;
    width: 100%;
    margin: auto;
    margin-top: -30px;
    margin-bottom: 20px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #333;
    user-select: none;
}
.swiper-button-next , .swiper-button-prev{
    color: #009844;
    font-weight: 700;
}

.swiper-button-next:after, .swiper-button-prev:after {
    font-size: 30px;
}

.swiper-button-next, .swiper-button-prev {
    top: 60%;
}

element.style {
}
.mySwiper .hero-content h1 {
    letter-spacing: 1px;
    font-size: 3.5rem;
    font-weight: 600;
    margin-bottom: 2rem;
    text-transform: uppercase;
}

.mySwiper .hero-img img {
    width: 100%;
    max-height: 200px;
    object-fit: contain;
}

.mySwiper .hero-content {
    margin-top: 25px;
    text-align: center;
}

.mySwiper .hero-content h1.text-green {
    letter-spacing: 1px;
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 2rem;
    text-transform: uppercase;
    color: #009844;
}

.mySwiper .hero-content h1.text-grey {
    font-weight: 300 !important;
    font-size: 2.15rem;
}

.mySwiper .hero-content h4 {
    font-size: 33px;
    font-weight: 600;
    color: #2a2538;
}

.banner-buttons {
    margin-top: 2rem;
}


.borderBlink{
    background-color: rgb(255, 255, 255);
    border-bottom-color: rgb(23, 74, 104);
    border-left-color: rgb(23, 74, 104);
    border-right-color: rgb(23, 74, 104);
    color: rgb(23, 74, 104);
    border-top-color: rgb(23, 74, 104);
}
.banner-buttons button, .banner-buttons .button {
    display: inline-block;
    font-size: 18px;
    width: 170px;
    padding: 10px;
    border: 1px solid #009844;
    border-radius: 10px;
    margin-right: 2rem;
    transform: translateY(0px);
    transition: all .4s;
    text-align: center;
    color: #009844;
}
@-webkit-keyframes borderBlink {    
    from, to {    
        border-color: transparent    
    }    
    50% {    
        border-color: #009844  !important  
    }    
}    
@keyframes borderBlink {    
    from, to {    
        border-color: transparent;
        background-color: #009844;
        color: #fff;
    }    
    50% {    
        border-color: #ed931d  !important;
        background-color: #fff;
        color: #009844;
    }    
}    
.borderBlink{    
    border:3px solid #009844 !important;
    -webkit-animation: borderBlink 1s step-end infinite;    
    animation: borderBlink 1s step-end infinite;    
}

.banner-buttons .button:hover{
    background-color: #009844;
    color: #fff;
    transition: all .2s;   
}

form#otpForm .btn {
    font-size: 14px;
    margin: auto;
    display: block;
}

.single-serv-col {
    position: relative;
    text-align: center;
    margin: 0 auto 3rem;
    box-shadow: 0 0 10px #ddd;
    overflow: hidden;
    max-width: 85%;
    padding: 25px;
    border-radius: 15px;
}

.single-serv-col::before,.single-serv-col:hover::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    width: 100%;
    height: 100%;
    background-color: rgb(252, 250, 250);
    /* transform-origin: left center; */
    z-index: -1;
    transition: all 0.5s ease-in-out;
}

.single-serv-col:hover::before,.single-serv-col::after{
    /* transform: perspective(1200px) translateZ(0px) translateX(0px) translateY(0px) rotateY(-105deg); */
    /* top: 50%;
    left: 50%; */
    transform: translate(-50%,-50%);
    width: 0;
    height: 0;
    transition: all 0.5s ease-in-out;
}
.single-serv-col::after{
    content: '';
    background-color: #009844;
}

.single-serv-col .thumbnail {
    margin-bottom: 20px;
}

.single-serv-col .thumbnail img {
    height: 180px;
    width: auto;
    object-fit: contain;
}

.single-serv-col h4{
    height: 45px;
    color: #333;
    text-transform: uppercase;
    font-weight: 400 !important;
    display: flex;
    align-items: center;
    justify-content: center;
}

.single-serv-col .rollover{
    margin-top: 20px;
}

.single-serv-col .btn-serv{
    font-size: 14px;
    font-weight: 500;
    background-color: #009844;
    display: inline-block;
    margin: 0 5px 0;
    color: #fff;
    width: 130px;
    padding: 8px;
}

a.button.btn.side_btn {
    position: fixed;
    top: 50%;
    text-orientation: mixed;
    writing-mode: tb-rl;
    transform: rotate(-180deg) !important;
    padding: 3rem 0.5rem !important;
    width: 40px;
    z-index: 10;
    background: #009844;
    font-size: 14px;
    color: #fff;
    font-weight: 600;
    border-radius: 15px 0 0 15px;
}





/* Toast alert */
.toast {
    background: #009844;
    font-size: 18px;
}

.info-ul {
    padding-left: 10px;
    list-style-type: disc;
}

    .info-ul li {
        font-size: 18px;
    }


