/* common css start */
/* import fonts-- */
@font-face {
    font-family: 'Jost';
    src: url('../fonts/Jost-Light.woff') format('woff');
    font-weight: 300;
}

@font-face {
    font-family: 'Jost';
    src: url('../fonts/Jost-Regular.woff') format('woff');
    font-weight: 400;
}

@font-face {
    font-family: 'Jost';
    src: url('../fonts/Jost-Medium.woff') format('woff');
    font-weight: 500;
}

@font-face {
    font-family: 'Jost';
    src: url('../fonts/Jost-SemiBold.woff') format('woff');
    font-weight: 600;
}

@font-face {
    font-family: 'Jost';
    src: url('../fonts/Jost-Bold.woff') format('woff');
    font-weight: 700;
}

@font-face {
    font-family: 'Jost';
    src: url('../fonts/Jost-ExtraBold.woff') format('woff');
    font-weight: 800;
}

@font-face {
    font-family: 'Jost';
    src: url('../fonts/Jost-Black.woff') format('woff');
    font-weight: 900;
}

/* colors */
:root {
    /* color */
    --black: #000000;
    --white: #ffffff;
    --heading-text-color: #333333;
    --paragraph-text-color: #333333;
    --brand-color: #4a788e;
    --body-color: #f8f2f2;
    --overlay: rgb(254 4 4 / 80%);
    --overlay2: rgb(0 0 0 / 50%);
    --overlay3: rgb(254 4 4 / 30%);
    --overlay4: rgb(255 255 255 / 48%);
    --overlay5: rgb(254 4 4 / 10%);
    --overlay6: rgb(248 242 242 / 40%);
    --overlay7: linear-gradient(to top, rgb(231 244 250 / 90%) 0%, rgb(231 240 245 / 90%) 50%, transparent 100%);
    --item-bg: #F5F5F5;
    --item-bg2: #ff0000;
    --item-bg3: #f3f4f6;
    --section-bg: #f4f4f4;
    --card-bg: #dcdcdc;
    --border-color: #dddddd;
    --border-color2: #e5e5e5;
    --border-color3: rgb(74 120 142 / 20%);
    --text-muted: #777777;
    --text-muted2: #777777;
    --btn-color: #ffffff;
    --btn-bg: #4a788e;
    --card-badge-bg: #4a788e;

    /* shadow */
    --shadow1: 0 3px 4px rgb(0 0 0 / 5%);
    --shadow2: rgb(0 0 0 / 10%);

    /* font family */
    --heading-font: "Jost", serif;
    --paragraph-font: "Jost", serif;
}

/* Dark Mode */
@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) {
        /* Base Colors */
        --black: #ffffff;
        --white: #0f172a;

        /* Text */
        --heading-text-color: #f8fafc;
        --paragraph-text-color: #cbd5e1;
        --text-muted: #94a3b8;
        --text-muted2: #64748b;

        /* Brand */
        --brand-color: #4a788e;
        --btn-bg: #4a788e;
        --btn-color: #ffffff;

        /* Backgrounds */
        --body-color: #0f172a;
        --section-bg: #111827;
        --item-bg: #1e293b;
        --item-bg2: #dc2626;
        --item-bg3: #1e293b;
        --card-bg: #1e293b;

        /* Borders */
        --border-color: #334155;
        --border-color2: #475569;
        --border-color3: rgba(255, 255, 255, 0.6);

        /* Overlays */
        --overlay: rgb(255 77 79 / 80%);
        --overlay2: rgb(0 0 0 / 70%);
        --overlay3: rgb(255 77 79 / 20%);
        --overlay4: rgb(255 255 255 / 10%);
        --overlay5: rgb(255 77 79 / 10%);
        --overlay6: rgb(15 23 42 / 80%);

        /* Badge */
        --card-badge-bg: var(--border-color);

        /* shadow */
        --shadow1: 0 0 4px rgb(255 245 245 / 67%);
        --shadow2: rgb(15 23 42 / 59%);

    }
}

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

html {
    scroll-behavior: smooth;
}

body {
    overflow-x: hidden;
    scroll-behavior: smooth;
    font-family: var(--paragraph-font);
    background-color: var(--body-color);
    transition: all ease 2s;
    margin: 72px 0 0 0;
    letter-spacing: 0.2px;
}

body.active {
    overflow: hidden;
    transition: all ease 2s;
}

ul,
ol {
    list-style: none;
}

a {
    text-decoration: none;
    font-family: var(--paragraph-font);
    transition: ease .3s;
    cursor: pointer;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0;
    line-height: 1.2;
    font-family: var(--heading-font);
    color: var(--heading-text-color);
}

h1 {
    font-size: 48px;
    font-weight: 700;
}

h2 {
    font-size: 38px;
    font-weight: 700;
}

h3 {
    font-size: 30px;
    font-weight: 600;
}

h4 {
    font-size: 26px;
    font-weight: 600;
}

h5 {
    font-size: 22px;
    font-weight: 600;
}

h6 {
    font-size: 18px;
    font-weight: 500;
}

p {
    font-size: 16px;
    font-weight: 400;
    color: var(--paragraph-text-color);
    font-family: var(--paragraph-font);
    margin: 0;
    line-height: 22px;
}

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

.section {
    padding: 25px 0;
}

.section.pb-0 {
    padding-bottom: 0;
}

.pb-0 {
    padding-bottom: 0;
}

.pt-0 {
    padding-top: 0;
}

.section.pt-0 {
    padding-top: 0;
}

/* 4. Modern Pill Toggle Button */
.theme-toggle {
    background-color: var(--body-color);
    border: none;
    border-radius: 50px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.35rem;
    position: fixed;
    width: 64px;
    height: 34px;
    transition: background-color 0.3s ease;
    top: 200px;
    z-index: 9999;
    right: 0;
    box-shadow: 0 3px 12px rgb(0 0 0 / 18%);
}

.theme-toggle svg {
    width: 16px;
    height: 16px;
    z-index: 2;
    transition: opacity 0.3s ease;
}

.theme-toggle .sun-icon {
    color: #f59e0b;
    margin-left: 3px;
}

.theme-toggle .moon-icon {
    color: #94a3b8;
    margin-right: 3px;
    opacity: 0.5;
}

/* Sliding slider indicator */
.toggle-ball {
    background-color: var(--brand-color);
    border-radius: 50px;
    position: absolute;
    top: 4px;
    left: 4px;
    width: 26px;
    height: 26px;
    border: 1px solid var(--border-color);
    z-index: 1;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Switch states based on data-theme properties */
[data-theme="dark"] .theme-toggle {
    box-shadow: 0 0px 12px rgb(255 255 255 / 83%);
}

[data-theme="dark"] .toggle-ball {
    transform: translateX(30px);
}

[data-theme="dark"] .sun-icon {
    opacity: 0.5;
}

[data-theme="dark"] .moon-icon {
    opacity: 1;
    color: #f1f5f9;
}

img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

/* input css start */
input,
textarea,
select {
    color: var(--paragraph-text-color);
    font-size: 16px;
    font-weight: 500;
    font-family: var(--paragraph-font);
    outline: none;
    border: none;
    background-color: transparent;
    cursor: pointer;
    appearance: none;
    -moz-appearance: textfield;
    -webkit-appearance: none;
    width: 100%;
    height: 48px;
    padding: 0 10px;
    border: 1px solid var(--border-color);
}

textarea {
    height: auto;
    padding: 16px 10px;
}

input::placeholder,
textarea::placeholder,
select::placeholder {
    color: var(--text-muted);
    text-transform: capitalize;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    /* display: none; <- Crashes Chrome on hover */
    -webkit-appearance: none;
    margin: 0;
    /* <-- Apparently some margin are still there even though it's hidden */
}

input:hover,
textarea:hover,
select:hover {
    border-color: var(--brand-color);
}

input:focus,
textarea:focus,
select:focus {
    border-color: var(--brand-color);
}

input[type="file"] {
    width: fit-content;
    height: auto;
    border: none;
    outline: none;
}

/* input css end */


/* button css start */
button {
    background-color: transparent;
    outline: none;
    cursor: pointer;
    border: none;
    transition: ease .3s;
    color: var(--btn-color);
    font-family: var(--paragraph-font);
    font-size: 16px;
    font-weight: 400;
}

.btn {
    font-size: 16px;
    font-weight: 500;
    line-height: 1;
    padding: 14px 30px;
    transition: ease .3s;
    font-family: var(--paragraph-font);
    text-transform: uppercase;
    text-align: center;
    display: inline-block;
    z-index: 1;
    text-decoration: none;
    cursor: pointer;
    text-wrap-mode: nowrap;
    border-radius: 50px;
}

.btn:hover {
    text-decoration: none;
}

.primary-btn {
    color: var(--btn-color);
    position: relative;
    overflow: hidden;
    background-color: var(--btn-bg);
    border: 2px solid var(--btn-bg);
}

.primary-btn span,
.secondary-btn span {
    position: absolute;
    display: block;
    width: 0;
    height: 0;
    border-radius: 50%;
    transition: width 0.4s ease-in-out, height 0.4s ease-in-out;
    transform: translate(-50%, -50%);
    z-index: -1;
}

.primary-btn span {
    background-color: var(--btn-color);
}

.primary-btn:hover {
    color: var(--btn-bg);
}

.primary-btn:hover span,
.secondary-btn:hover span {
    width: 225%;
    height: 562.5px;
}

.primary-btn:active {
    background-color: var(--btn-color);
}

.secondary-btn {
    color: var(--btn-bg);
    position: relative;
    overflow: hidden;
    background-color: var(--btn-color);
    border: 2px solid var(--btn-bg);
}

.secondary-btn span {
    background-color: var(--btn-bg);
}

.secondary-btn:hover {
    color: var(--btn-color);
}

.secondary-btn:active {
    background-color: var(--btn-bg);
}

/* button css end */

/* section heading css start */
.section-heading-wrapper {
    margin: 0 auto 25px;
    text-align: center;
    padding: 0 20px;
    width: fit-content;
}

.section-heading-wrapper .line {
    display: block;
    width: 80%;
    height: 3px;
    background: var(--brand-color);
    margin: 0 auto;
}

.section-sub-heading {
    text-transform: capitalize;
    margin: 0 0 10px 0;
    font-weight: 400;
}

.section-heading {
    color: var(--brand-color);
    text-transform: capitalize;
    /* font-weight: 400;
    font-size: 16px;
    letter-spacing: 1px; */
}

.section-heading-text {
    color: var(--paragraph-text-color);
    padding: 10px 0 0 0;
    max-width: 600px;
    margin: 0 auto;
}

.section-heading-text a {
    color: var(--paragraph-text-color);
    font-weight: 700;
}

.section-heading-text a:hover {
    text-decoration: underline;
}

.section-btn {
    display: flex;
    justify-content: center;
    margin: 50px 0 0 0;
}

.section-btn .btn {
    padding: 10.5px 46px;
}

.section-bg {
    background-color: var(--section-bg);
}

/* section heading css end */

/* swiper pagination and button css start */
.swiper-pagination .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    background-color: var(--border-color);
    position: relative;
    opacity: 1;
    overflow: hidden;
    transition: all ease .3s;
}

.swiper-pagination .swiper-pagination-bullet::after {
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 100%;
    background-color: var(--brand-color);
    transition: ease .5s;
    opacity: 0;
    visibility: hidden;
}

.swiper-pagination .swiper-pagination-bullet-active.swiper-pagination-bullet::after {
    opacity: 1;
    visibility: visible;
}

.swiper-button-prev,
.swiper-button-next {
    width: 50px;
    height: 50px;
    border: 1px solid var(--border-color3);
    color: var(--paragraph-text-color);
    background-color: var(--btn-color);
    transition: ease .3s;
    border-radius: 50%;
}

.swiper-button-prev:hover,
.swiper-button-next:hover {
    color: var(--btn-color);
    background-color: var(--btn-bg);
    border-color: var(--btn-bg);
}

.swiper-button-prev::after,
.swiper-button-next::after {
    font-size: 20px;
    color: var(--paragraph-text-color);
}

.swiper-button-prev:hover::after,
.swiper-button-next:hover::after {
    color: var(--btn-color);
}

.swiper-button-next {
    right: -100px;
    opacity: 0;
    visibility: hidden;
}

.swiper-button-prev {
    left: -100px;
    opacity: 1;
    visibility: visible;
}

.swiper:hover .swiper-button-prev {
    left: 0;
    opacity: 1;
    visibility: visible;
}

.swiper:hover .swiper-button-next {
    right: 0;
    opacity: 1;
    visibility: visible;
}

.swiper-button-next.swiper-button-disabled,
.swiper-button-prev.swiper-button-disabled {
    display: none;
}

/* swiper pagination and button css end */

/* social icon css start */
.social-icons {
    display: flex;
    align-items: center;
    gap: 10px;
}

.social-icons li a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    transition: all ease .3s;
    border: 1px solid var(--border-color);
}

.social-icons li a:hover {
    background: var(--border-color);
    border-color: var(--brand-color);
}

.social-icons li a svg {
    fill: var(--black);
    width: 16px;
    height: 16px;
}

/* social icon css end */

/* common css end */

@media only screen and (max-width: 992px) {

    /* common css start */
    .section-btn {
        margin: 30px 0 0 0;
    }

    .container {
        padding: 0 12px;
    }

    .section-heading-wrapper {
        padding: 0 12px;
    }

    /* common css end */
}


@media only screen and (max-width:767px) {

    /* common css start */
    h1 {
        font-size: 48px;
    }

    h2 {
        font-size: 38px;
    }

    h3 {
        font-size: 28px;
    }

    h4 {
        font-size: 22px;
        font-weight: 600;
    }

    h5 {
        font-size: 20px;
    }

    h6 {
        font-size: 18px;
    }

    p {
        font-size: 14px;
        font-weight: 400;
        line-height: 20px;
    }

    body {
        margin: 72px 0 85px 0;
    }

    .section-btn {
        margin: 25px 0 0 0;
    }

    /* common css end */
}

@media only screen and (max-width: 575px) {

    /* common css start */
    h1 {
        font-size: 28px;
    }

    h2 {
        font-size: 24px;
    }

    h3 {
        font-size: 22px;
    }

    h4 {
        font-size: 20px;
        font-weight: 600;
    }

    h5 {
        font-size: 19px;
        font-weight: 600;
    }

    h6 {
        font-size: 18px;
    }

    .btn {
        padding: 11px 20px;
        font-size: 12px;
        font-weight: 400;
    }

    body {
        margin: 52px 0 85px 0;
    }

    input,
    textarea,
    select {
        font-size: 14px;
    }

    input,
    select {
        height: 44px;
    }

    .section {
        padding: 20px 0;
    }

    .section-heading-wrapper {
        margin-bottom: 20px;
    }

    .section-heading {
        font-size: 18px;
        font-weight: 600;
    }

    .section-heading-wrapper .line {
        height: 2px;
    }

    .section-btn {
        margin: 20px 0 0 0;
    }

    .section-btn .btn {
        padding: 10px 34px;
    }

    /* pagination css start */
    .swiper-button-prev,
    .swiper-button-next {
        width: 35px;
        height: 35px;
    }

    .swiper-button-prev::after,
    .swiper-button-next::after {
        font-size: 12px;
    }

    /* pagination css end */

    /* common css end */
}