/* ===================================
    Sahan Global
====================================== */
/* font */
/*
@import url('https://fonts.googleapis.com/css2?family=Jost:wght@100;200;300;400;500;600;700;800;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@100;200;300;400;500;600;700;800;900&display=swap');
*/

@font-face {
    font-family: 'SahanUI';
    src: url('/fonts/SahanUI/SahanUI-Regular.woff2') format('woff2'),
    url('/fonts/SahanUI/SahanUI-Regular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'SahanUI';
    src: url('/fonts/SahanUI/SahanUI-Bold.woff2') format('woff2'),
    url('/fonts/SahanUI/SahanUI-Bold.woff') format('woff');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'SahanUI';
    src: url('/fonts/SahanUI/SahanUITitle-Bold.woff2') format('woff2'),
    url('/fonts/SahanUI/SahanUITitle-Bold.woff') format('woff');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'SahanUI';
    src: url('/fonts/SahanUI/SahanUITitle-Extrabold.woff2') format('woff2'),
    url('/fonts/SahanUI/SahanUITitle-Extrabold.woff') format('woff');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* variable */
:root {
    --base-color: #9d4d15;
    --dark-gray: #313e3b;
    --medium-gray: #505452;
    --yellow: #f6bf45;
    --extra-medium-gray: #e4e4e4;
    --alt-font: 'SahanUI', sans-serif;
    --primary-font: 'SahanUI', sans-serif;
}

/* reset */
body {
    font-size: 15px;
    line-height: 28px;
    overflow-x: hidden;
}

strong, b {
    font-weight: 600;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
}

a:hover {
    color: var(--dark-gray);
}

.top-25 {
    top: 25%;
}

.mt-minus-12 {
    margin-top: -12%;
}

.mt-minus-1 {
    margin-top: -1%;
}

.left-minus-200px {
    left: -200px;
}

.mt-minus-4 {
    margin-top: -4px;
}

.bottom-minus-320px {
    bottom: -320px;
}

.terms-condition .box:before {
    border-color: #e4e4e4;
    background-color: var(--white);
    top: 1px;
}

.terms-condition .box:after {
    top: 5px;
}

/* border color */
.border-color-transparent-white-very-light {
    border-color: rgba(255, 255, 255, 0.2) !important;
}

.border-color-transparent-dark-very-light {
    border-color: var(--extra-medium-gray) !important;
}

/* bg gradient color */
.bg-gradient-deep-zuccini-green {
    background-image: linear-gradient(to right bottom, #19493e, #164339, #143e34, #113830, #0f332b);
}

.bg-gradient-aztec-green {
    background-image: linear-gradient(to right bottom, #313e3b, #2e3b38, #2c3835, #293532, #27322f);
}

.bg-gradient-dessert-colors {
    background-image: linear-gradient(to right bottom, #f6c763, #f6c763, #dd9c64, #dd9c64, #dd9c64);
}

.bg-gradient-desert-brown {
    background-image: linear-gradient(to bottom, #dcd0cb, #dcd0cb, #d7b1a2, #de9d82, #D2923EF4);
}

.bg-gradient-tranquil-white {
    background-image: linear-gradient(to bottom, #ffffff, #f7f9f9, #f3f6f6, #eff3f3, #ecf1f1);
}

.text-bg-primary {
    background-color: var(--base-color) !important;
    color: var(--white);
}

.bg-yellow {
    background-color: var(--yellow);
}

.bg-tranquil {
    background-color: #f3f8f8;
}

.bg-gradient-dark-transparent {
    background: -webkit-gradient(linear, left bottom, left top, color-stop(7%, #36332e), to(transparent));
    background: linear-gradient(to top, #262a29 0%, transparent 100%);
}

/* header */
.navbar .navbar-nav .nav-link {
    font-size: 18px;
}

header .navbar-brand img {
    max-height: 72px;
}

header .navbar-brand {
    padding: 25px 0;
}

.navbar .navbar-nav .dropdown.dropdown-with-icon .dropdown-menu {
    width: 335px;
    padding: 25px 35px;
}

.navbar .navbar-nav .dropdown.dropdown-with-icon .dropdown-menu li a {
    padding: 15px 30px 21px 0;
}

.navbar .navbar-nav .dropdown.dropdown-with-icon .dropdown-menu li a p {
    font-size: 14px;
    line-height: normal;
    font-weight: 400;
}

.navbar .navbar-nav .dropdown.dropdown-with-icon .dropdown-menu li a span {
    font-size: 17px;
}

.navbar .navbar-nav .dropdown.dropdown-with-icon .dropdown-menu li a i {
    color: var(--dark-gray);
    font-size: 34px;
}

.navbar .navbar-nav .dropdown.dropdown-with-icon .dropdown-menu li.active > a {
    opacity: 0.7;
}

.responsive-banner-img {
    height: 80vh;
    width: 100%;
    object-fit: cover;
    border-top-left-radius: 300px;
    border-top-right-radius: 300px;
}

@media (max-width: 768px) {
    .responsive-banner-img {
        height: 40vh;
    }
}

/* icon */
.icon-extra-medium {
    font-size: 22px;
}

.video-icon-large .video-icon {
    width: 70px;
    height: 70px;
    font-size: 18px;
}

.video-icon-large .video-icon .video-icon-sonar .video-icon-sonar-bfr {
    width: 120px;
    height: 120px;
}

.video-icon-large .video-icon .video-icon-sonar .video-icon-sonar-afr {
    width: 90px;
    height: 90px;
}

.medium-icon li, .small-icon li {
    margin: 0 3px;
}

/* review  */
.review-star-icon i {
    letter-spacing: 1px;
}

/* btn */
.btn {
    font-family: var(--primary-font);
    text-transform: none;
    letter-spacing: 0;
}

.btn.btn-switch-text.btn-extra-large > span {
    padding: 15px 38px;
    font-size: 17px;
}

.btn.btn-switch-text.btn-large > span {
    padding: 13px 32px;
    font-size: 15px;
}

.btn.btn-switch-text.btn-medium > span {
    padding: 12px 30px;
    font-size: 14px;
}

.btn.btn-base-color {
    color: var(--white);
}

.btn.btn-base-color:hover, .btn.btn-box-shadow.btn-base-color:hover {
    background-color: var(--base-color);
    color: var(--white);
}

.btn.btn-link {
    padding: 0 0 2px;
}

/* heading */
h2 {
    line-height: 3.2rem;
}

/* tab */
.tab-style-04 .nav-tabs .nav-item {
    padding: 0;
    width: 25%;
}

.tab-style-04 .nav-tabs .nav-item .nav-link {
    color: var(--medium-gray);
}

.tab-style-04 .nav-tabs .nav-item .nav-link .tab-border {
    height: 3px;
}

.tab-style-04 .nav-tabs .nav-item .nav-link.active {
    font-weight: 600;
    border: 0;
    outline: 0;
}

.tab-style-04 .nav-tabs .nav-item .nav-link:focus-visible {
    outline: none;
    box-shadow: none;
}

/* accordion */
.accordion-style-04 .accordion-item .accordion-body {
    padding: 0 35px 25px;
}

.accordion-style-04 .accordion-item .accordion-collapse {
    margin-top: -1px;
}

/* progress bar */
.progress-bar-style-02 .progress {
    height: 10px;
}

/* page title */
.page-title-extra-small h2 {
    font-size: 3.75rem;
    line-height: 3.75rem;
}

.page-title-extra-small h1 {
    font-size: 20px;
}

/* pages */
.contact-form-style-03 > div {
    border-radius: 6px 0 6px 0;
}

/* newsletter style 02 */
.newsletter-style-02 input {
    padding-right: 100px !important;
    font-size: 14px;
}

/* footer */
footer {
    padding-bottom: 30px;
}

footer .footer-logo img {
    max-height: 39px;
}

.footer-dark,
.footer-dark .newsletter-style-02 input,
.footer-dark p, .footer-dark a {
    color: var(--medium-gray);
}

.footer-dark a:hover {
    color: var(--base-color);
}

.footer-dark .newsletter-style-02 input::placeholder {
    color: var(--medium-gray) !important;
    opacity: 1; /* Firefox */
}

.footer-dark .newsletter-style-02 input:-ms-input-placeholder {
    color: var(--medium-gray) !important;
}

.footer-dark .newsletter-style-02 input::-ms-input-placeholder {
    color: var(--medium-gray) !important;
}

.footer-dark .elements-social .light li a:hover {
    color: var(--white);
    opacity: .5;
}

.footer-dark .small-icon li {
    margin: 0 7px;
}

.footer-navbar li {
    line-height: normal;
}

footer ul li {
    margin-bottom: 2px;
}

/* media query responsive */
@media (max-width: 1399px) {
    .accordion-style-06 .accordion-item {
        padding-left: 35px;
    }
}

@media (max-width: 1199px) {
    .navbar .navbar-nav .nav-link {
        font-size: 16px;
    }

    .navbar .navbar-nav .nav-link {
        padding-left: 12px;
        padding-right: 12px;
    }

    .team-style-05 .social-icon a {
        margin: 0 10px;
    }
}

@media (max-width: 991px) {
    .widget-text {
        color: var(--dark-gray);
    }

    .navbar .navbar-nav .nav-link {
        font-size: 18px;
    }

    .team-style-05 .social-icon a {
        margin: 0 10px;
    }

    .navbar .navbar-nav .dropdown.dropdown-with-icon .dropdown-menu {
        padding: 0 15px 6px 15px;
    }
}

@media (max-width: 767px) {
    .accordion-style-05 .accordion-item {
        padding: 20px 35px 22px 55px;
    }

    .contact-form-style-03 > div {
        border-radius: 6px;
    }

    .tab-style-04 .nav-tabs .nav-item:last-child {
        margin-bottom: 0;
    }

    .accordion-style-04 .accordion-item .accordion-body {
        padding: 0 25px 25px;
    }

    .tab-style-04 .nav-tabs .nav-item {
        width: auto;
    }
}

@media (max-width: 575px) {
    .accordion-style-06 .accordion-item {
        padding-left: 20px;
        padding-top: 10px;
        padding-bottom: 10px;
    }

    .accordion-style-06 .accordion-item.active-accordion {
        padding-top: 20px;
        padding-bottom: 20px;
    }

    .accordion-style-05 .accordion-item {
        padding: 17px 20px 17px 45px;
    }

    .accordion-style-05 .accordion-item .accordion-body {
        padding-right: 15px;
    }

    .accordion .accordion-item .accordion-header .accordion-title {
        line-height: 28px;
    }
}

.clamp-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3; /* Max 3 lines */
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: calc(1.5em * 3); /* Minimum 2 lines height */
    line-height: 1.5em;
}

.clamp-4 {
    display: -webkit-box;
    -webkit-line-clamp: 4; /* Max 3 lines */
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: calc(1.5em * 4); /* Minimum 2 lines height */
    line-height: 1.5em;
}

.clamp-1 {
    display: -webkit-box;
    -webkit-line-clamp: 1; /* Max 1 lines */
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: calc(1.5em * 1); /* Minimum 1 lines height */
    line-height: 1.5em;
}

.clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2; /* Max 2 lines */
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: calc(1.5em * 2); /* Minimum 2 lines height */
    line-height: 1.5em;
    position: relative;
}

.clamp-2::before {
    content: '';
    display: block;
    height: 100%;
}

/* Issue scroll progress bar */
.issue-read-progress {
    position: fixed;
    left: 35%;
    right: 35%;
    bottom: 5%;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    background-color: rgba(0, 0, 0, 0.75);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
    color: var(--white);
    border-radius: 32px;
    padding: 6px 20px;
    text-align: center;
    transition: all 0.3s ease;
}

.issue-read-progress.visible {
    opacity: 1;
    visibility: visible;
}

/* Wrapper for label and bar */
.issue-read-progress .issue-scroll-top {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

/* Label text */
.issue-read-progress .issue-scroll-text {
    color: var(--white);
    font-size: 12px;
    text-transform: uppercase;
    margin-bottom: 0;
}

/* Optional: show % next to label */
.issue-read-progress .issue-scroll-percent {
    color: var(--white);
    font-size: 12px;
    margin-left: 6px;
}

/* Background bar */
.issue-read-progress .issue-scroll-line {
    width: 100%;
    height: 8px;
    background-color: rgba(255, 255, 255, 0.2); /* base background */
    border-radius: 15px;
    position: relative;
    overflow: hidden; /* ensures the scroll-point doesn't overflow */
}

/* Filler (brown progress bar) */
.issue-read-progress .issue-scroll-point {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0;
    background-color: #9d4d15; /* your brown fill color */
    transition: width 0.2s ease;
}


.audio-toolbar {
    position: fixed;
    left: 20px;
    top: 50%;
    width: 12%;
    transform: translateY(-50%);
    z-index: 1055;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.audio-toolbar .btn-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;

    color: var(--white);
    background-color: var(--base-color);
}

.audio-toolbar .btn-icon:hover {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    background-color: var(--base-color);
}

.audio-progress-bar {
    height: 6px;
    background-color: rgba(0, 0, 0, 0.1); /* light base */
    border-radius: 4px;
    overflow: hidden;
}

.audio-progress-fill {
    height: 100%;
    width: 0%;
    background-color: #9d4d15; /* your chosen progress color */
    transition: width 0.3s ease;
}


/* text gradient color */
.text-gradient-san-blue-new-york-red {
    background-image: linear-gradient(to right, #2e3844, #455161, #db7f68, #e17a60, #e47256);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.border-radius-rb-50px {
    border-bottom-right-radius: 50px;
}

input, select, textarea, .form-control, .form-select {
    padding : 4px 8px;
}
