/* !google font / poppins */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600&display=swap');

*, *::after, *::before {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

#dropdown-btn div{
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

/* ! colors */
:root {
    /* --primary-color: #04AA6D; */
    --primary-color: #10ac84;
    --secondary-color: #fb6107;
    --text-color: #000;
    --sub-text-color: #555;
    --body-color: #f1f1f1;
    --primary-hover-color: #145F26;
    --link-hover-color: #44BFF3;
    --light-color: #fff;
}

/* ! typography */
:root {
    --heading: 3.5rem;
    --sub-heading: 2rem;
    --title: 1.5rem; 
    --sub-title: 1.125rem;
    --text: 1rem;
    --sub-text: 0.875rem;
    --pill: 0.75rem;
}

/* ! font weight */
:root {
    --fw-5: 500;
    --fw-6: 600;
}

/* ! margin / padding */
:root {
    --m-4: 0.2rem;
    --m-8: 0.5rem;
    --m-16: 1rem;
    --m-24: 1.5rem;
    --m-32: 2rem;
    --m-40 : 2.5rem;
    --m-48: 3rem;
    --m-50: 3.125rem;
}


/* ! font size for small devices */
@media only screen and (max-width: 960px) {
    :root {
    --heading: 2.875rem;
    --sub-heading: 1.875rem;
    --title: 1.375rem; 
    --sub-title: 1rem;
    --text: 0.875rem;
    --sub-text: 0.75rem;
    /* --pill: 0.625rem; */
    }
}

html {
    scroll-behavior: smooth;
}

body {
    font-size: var(--text);
    background-color: var(--body-color);
    /* letter-spacing: -2%; */
    font-family: 'Poppins', sans-serif;
    /* overflow: hidden; */
}

ul li {
    list-style: none;
}

hr {
    width: 2px;
    height: 15px;
    background-color: var(--text-color);
    margin: 0 var(--m-8);
    border: none;
}

img {
    width: 100%;
    height: auto;
}

a {
    text-decoration: none;
    color: var(--text-color);
    cursor: pointer;
    transition: .3s;
}

/* ! reuseable class */

.heading {
    font-size: var(--heading);
    font-weight: var(--fw-6);
}


.category {
    font-size: var(--sub-title);
    padding-bottom: var(--m-8);
    color: var(--secondary-color);
}

.heading {
    font-size: var(--heading);
}

.sub-heading {
    font-size: var(--sub-heading);
    padding-bottom: var(--m-8);
}

.title {
    font-size: var(--title);
    font-weight: 600;
    margin-bottom: var(--m-24) ;
    /* width: 300px; */
}

.sub-title {
    font-size: var(--sub-title);
    font-weight: 600;
    margin-bottom: var(--m-4);
}

.sub-text {
    font-size: var(--sub-text);
}

.pill {
    font-size: var(--pill);
    color: var(--sub-text-color);
    font-weight: light;
}

.section {
    padding: var(--m-48) var(--m-50);
}

.flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.icon {
    padding-right: var(--m-8);
    font-size: inherit;
    color: var(--sub-text-color);
}

.shadow {
    box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 3px;
}

/* .active {
    color: #04AA6D;
} */

.show {
    left: 0px;
}

.grid {
    display: grid;
    grid-gap: var(--m-16);
}

.bold {
    font-weight: 500;
}

.btn {
    font-size: var(--sub-text);
    font-weight: 600;
    background-color: var(--primary-color);
    color: var(--light-color);
    padding: 10px var(--m-16);
    border: none;
    outline: none;
    border-radius: 4px;
    position: relative;
    overflow: hidden;
    margin-top: var(--m-4);
    cursor: pointer;
    transition: all .3s ease;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.2);
}

/* .btn:before{
    content: '';
    background-color: #fff;
    top: 0;
    left: 0;
    width: 100%;
    height: 20px;
    position: absolute;
    transform: translateX(-100%) rotate(45deg);
} */

.btn:hover:before {
    transform: translateX(100%) rotate(45deg);
}

.secondary-btn {
    color: var(--primary-color);
    text-decoration: underline;
    font-size: var(--text);
}

.sm-btn {
    text-align: center;
    margin: var(--m-16) 0;
    display: none;
}

.sm-btn .secondary-btn {
    padding: 8px 16px;
    background-color: var(--primary-color);
    color: var(--light-color);
    text-decoration: none;
    border-radius: 4px;
}

.title-sec {
    align-items: flex-start;
}

.para {
    font-size: var(--sub-text);
    padding: var(--m-8) 0;
}

.wrapper {
    margin: 0 auto;
    max-width: 100%;
}
/* 
@media only screen and (min-width: 1441px) {
    .wrapper {
        width: 2010px;
    }
} */


.breadcrumb {
    height: 250px;
    width: 100%;
    position: relative;
}

.breadcrumb-item {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    text-align: center;
    color: var(--light-color);
}

.search {
    position: relative;
    display: flex;
    align-items: center;
    /* margin: var(--m-24) 0; */
    width: 100%;
    justify-content: center;
}

.search input {
    padding: var(--m-8);
    border: none;
    font-size: var(--text);
    border-bottom: 2px solid var(--primary-color);
}


.search input:focus {
    outline: none;
}

.search i {
    background-color: var(--light-color);
    padding: 9px;
    /* border: none; */
    /* margin-left: -5px; */
    cursor: pointer;
    border-radius: 0 8px 8px 0;
    font-size: 16px;
}

.search  button{
    background: none;
    border: 0;
}

@media only screen and (max-width: 768px) {
    .breadcrumb {
        height: 150px;
    }
} 


/* image viewer */
.popup-img img {
    cursor: zoom-in;
}

#image-viewer {
    display: none;
    position: fixed;
    z-index: 1000;
    padding-top: 100px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background: linear-gradient(rgba(0,0,0,0.8), rgba(0,0,0, 0.8));
  }
  
  .modal-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
  }
  
  .modal-content { 
    -webkit-animation-name: zoom; 
            animation-name: zoom;
    -webkit-animation-duration: 0.6s;
            animation-duration: 0.6s;
  }
  
  @-webkit-keyframes zoom {
    from {transform:scale(0)} 
    to {transform:scale(1)}
  }
  
  @keyframes zoom {
    from {transform:scale(0)} 
    to {transform:scale(1)}
  }
  
  #image-viewer .close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 32px;
    font-weight: bold;
    transition: 0.3s;
  }
  
  #image-viewer .close:hover,
  #image-viewer .close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
  }
  
  @media only screen and (max-width: 700px){
    .modal-content {
        width: 100%;
    }

    #image-viewer .close {
        position: absolute;
        top: 0px;
        right: 16px;
        color: #f1f1f1;
        font-size: 32px;
        font-weight: bold;
        transition: 0.3s;
      }
  }

  /* Coming Soon animation */

.coming-soon {
    height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    -webkit-user-select: none;
       -moz-user-select: none;
        -ms-user-select: none;
            user-select: none;
}

.coming-soon h1 {
    text-align: center;
    font-size: var(--heading);
    letter-spacing: 10px;
    text-shadow: 0 1px 0 #efefef,
    0 2px 0 #efefef,
    0 3px 0 #efefef,
    0 4px 0 #efefef,
    0 25px 6px rgba(0, 0, 0, 0.2);
    -webkit-animation: float 3s linear infinite;
            animation: float 3s linear infinite;
            -webkit-animation-direction: alternate;
                    animation-direction: alternate;
}

@-webkit-keyframes float {
    from {
        transform: rotate(5deg);
    }
    to {
        transform: rotate(-5deg);
    }
}

@keyframes float {
    from {
        transform: rotate(5deg);
    }
    to {
        transform: rotate(-5deg);
    }
}

/* card style */
.card {
    /* width: 300px; */
    background-color: var(--light-color);
    border-radius: var(--m-8);
    overflow: hidden;
    
}

.card-img img {
    width: 100%;
    height: 180px;
    -o-object-fit: cover;
       object-fit: cover;
    cursor: zoom-in;
}

.card-sm-img {
    display: grid;
    grid-template-columns: repeat(3, auto);
    grid-gap: 1px;
}

.card-sm-img img {
    height: 100%;
}

.card-body {
    padding: 4px 12px 12px 12px;
}

.card-title {
    font-size: var(--sub-title);
    padding-bottom: var(--m-8);
}

.card-paragraph {
    font-size: var(--sub-text);
    margin-bottom: var(--m-8);
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}


/* detail card styling */

.detail-card {
    background-color: #fff;
    overflow: hidden;
    padding: var(--m-24);
    border-radius: 8px;
    margin-bottom: var(--m-24);
}

.detail-card-title {
    font-size: var(--title);
    padding-bottom: var(--m-16);
}

.detail-card-img img {
    float: left;
    width: 600px;
    height: 350px;
    margin-right: 16px;
    margin-bottom: 16px;
    border-radius: 8px;
}

.detail-card-paragraph {
    font-size: var(--text);
    margin-bottom: var(--m-16);
}


/* slider */
.responsive img {
    height: 200px;
    padding: 0 10px;
    -o-object-fit: cover;
       object-fit: cover;
    overflow: hidden;
    margin-top: var(--m-16);
}


@media only screen and (max-width: 1080px) {
    .detail-card-img img {
        width: 500px;
    }
}

@media only screen and (max-width: 960px) {
    .detail-card-img img {
        width: 400px;
    }

    .responsive img {
        height: 150px;
    }
}

@media only screen and (max-width: 780px) {
    .detail-card {
        padding: var(--m-16);
    }
    
    .detail-card-img img {
        width: 100%;
        height: auto
    }

    .responsive img {
        height: 150px;
    }
}

/* social icon hover effect */

.icon-container {
    display: flex;
    text-align: center;
}

.s-icon {
    width: 50px;
    height: 50px;
    background-color: #fff;
    margin: 10px;
    border-radius: 30%;
    color: #10ac84;
    box-shadow: 0 5px 15px -5px #00000070;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.s-icon i {
    line-height: 50px;
    font-size: 18px;
    transition: all 0.2s;
}

.s-icon:hover i {
    transition: scale(1.3);
    color: #fff;
}

.s-icon::before {
    content: '';
    position: absolute;
    width: 120%;
    height: 120%;
    background-color: #10ac84;
    left: -110%;
    top: 90%;
    transform: rotate(45deg);
}

.s-icon:hover::before {
    -webkit-animation: animation 0.7s 1 forwards;
            animation: animation 0.7s 1 forwards;
            z-index: -1;
}

@-webkit-keyframes animation {
    0% {
        left: -110%;
        top: 90%;
    }

    50% {
        left: 15%;
        top: -30%;
    }

    100% {
        left: -10%;
        top: -10%;
    }
}

@-webkit-keyframes animation {
    0% {
        left: -110%;
        top: 90%;
    }

    50% {
        left: 15%;
        top: -30%;
    }

    100% {
        left: -10%;
        top: -10%;
    }
}

@keyframes animation {
    0% {
        left: -110%;
        top: 90%;
    }

    50% {
        left: 15%;
        top: -30%;
    }

    100% {
        left: -10%;
        top: -10%;
    }
}