/* @import url("https://fonts.googleapis.com/css2?family=Roboto+Slab:wght@200;300;400;500;600;700&display=swap"); */

@import url("https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,400..700;1,400..700&display=swap");

* {
    margin: 0px;
    padding: 0px;
    box-sizing: border-box;
    /* font-family: "Roboto Slab", serif; */
    font-family: "Lora", serif;
    box-sizing: border-box;
}

body {
    /* background: url(../image/body.webp); */
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    width: 100%;
    min-height: 100vh;
}

html {
    scroll-behavior: smooth;
}

:root {
    --main: #1b405e;
    --primary: #37b34a;
    --heading: #0f172a;
    --bgColor: #f6f9fc;
    --textColor: #7c929a;
    --globalColor: #ffffff;
    --transition: all 0.3s linear;
    --borderColor: rgb(30 39 46 / 10%);
}

a {
    text-decoration: none;
}

ul {
    list-style: none;
}

ul,
li,
a,
p,
h1,
h2 {
    margin: 0px;
    padding: 0px;
}

h1,
h2 {
    color: var(--heading);
}

img {
    width: 100%;
    display: block;
}

.container {
    max-width: 1170px;
    width: 100%;
    margin: 0px auto;
    padding: 0px 10px;
}

.section_padding {
    padding: 30px 0px;
}

.btn_control {
    border: none;
    background: transparent;
}

.common_btn {
    padding: 9px 25px;
    background: var(--main);
    border-radius: 25px;
    font-size: 16px;
    color: var(--globalColor);
    font-weight: 500;
    line-height: 24px;
    display: inline-block;
}

.section_title {
    max-width: 700px;
    width: 100%;
    margin: 0px auto 40px;
    text-align: center;
}

/* .section_heading {
    font-size: 24px;
    line-height: 30px;
    font-weight: 700;
    margin-bottom: 5px;
    display: inline-block;
    background-image: linear-gradient(
        -225deg,
        var(--main) 0%,
        #00aeff 29%,
        var(--main) 67%,
        rgb(21 255 54) 100%
    );
    background-size: auto auto;
    background-clip: border-box;
    background-size: 200% auto;
    color: #fff;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: textshorov 4s linear infinite;
    -webkit-animation: textshorov 4s linear infinite;
} */

@keyframes textshorov {
    100% {
        background-position: 200% center;
    }
}

.section_text {
    font-size: 16px;
    line-height: 24px;
    color: var(--textColor);
}

.input_control {
    border: 1px solid var(--borderColor);
    outline: none;
    height: 46px;
    width: 100%;
    display: block;
    background-color: transparent;
    border-radius: 5px;
    padding: 0 15px;
    color: var(--textColor);
    font-size: 16px;
    font-weight: 500;
}

/* mobile nav */

.toggle_nav {
    display: block;
}

.toggle_nav ul,
.admin_collopse ul {
    position: relative;
    height: 15px;
    width: 22px;
    cursor: pointer;
}

.toggle_nav ul li,
.admin_collopse ul li {
    position: absolute;
    height: 2px;
    width: 100%;
    background: var(--main);
    left: 0px;
    transition: var(--transition);
}

.toggle_nav ul li:first-child,
.admin_collopse ul li:first-child {
    top: 0px;
}

.toggle_nav ul li:nth-child(2),
.admin_collopse ul li:nth-child(2) {
    top: 50%;
}

.toggle_nav ul li:last-child,
.admin_collopse ul li:last-child {
    top: 98%;
}

.activeToggle ul li:first-child,
.activeColapse ul li:first-child {
    top: 50%;
    transform: rotate(-45deg);
}

.activeToggle ul li:nth-child(2),
.activeColapse ul li:nth-child(2) {
    visibility: hidden;
    opacity: 0;
}

.activeToggle ul li:last-child,
.activeColapse ul li:last-child {
    top: 50%;
    transform: rotate(45deg);
}

/* sroll_top */

.sroll_top {
    height: 36px;
    width: 36px;
    border-radius: 5px;
    background: var(--main);
    position: fixed;
    bottom: 80px;
    right: 30px;
    cursor: pointer;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    visibility: hidden;
    display: grid;
    place-content: center;
    transition: var(--transition);
    color: var(--globalColor);
}
/* Slider container */
.slider_active {
    position: relative;
    overflow: hidden;
}

/* Animation for images */
.slider-image img {
    animation: fadeIn 1.5s ease-in-out forwards;
    opacity: 0;
    transform: scale(1.1);
}

/* Image fade-in effect */
@keyframes fadeIn {
    0% {
        opacity: 0;
        transform: scale(1.1);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* Text fade-in from the bottom */
@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(50px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Animation for slider content */
.animate-in {
    animation: fadeInUp 1s ease-in-out forwards;
}

.animate-in h3 {
    animation: fadeInUp 1s ease-in-out forwards;
    animation-delay: 0.5s;
}

.animate-in .btn {
    animation: fadeInUp 1.5s ease-in-out forwards;
    animation-delay: 1s;
}
