/* NAVBAR */
@media (min-width: 992px) {
    .custom-dropdown {
        position: relative;
    }

    .custom-dropdown .dropdown-menu {
        display: block;
        opacity: 0;
        visibility: hidden;
        transform: translateY(10px);
        transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
        background-color: #fcfdfd !important;
        min-width: 240px;
        padding: 12px 0 !important;
        border-radius: 4px !important;
        top: 100%;
    }

    .custom-dropdown:hover .dropdown-menu {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
}

.navbar-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1050;
}

.navbar {
    position: relative;
    z-index: 1050;
}

.custom-dropdown .dropdown-item {
    color: #5d524f !important;
    font-size: 14px;
    padding: 10px 24px !important;
    transition: all 0.2s ease;
}

.custom-dropdown .dropdown-item:hover {
    background-color: #e5ded9 !important;
    color: #162224 !important;
    padding-left: 28px !important;
}

@media (max-width: 991.98px) {
    .custom-dropdown .dropdown-menu {
        position: static !important;
        float: none;
        box-shadow: none !important;
        background-color: transparent !important;
        padding-left: 15px !important;
    }

    .custom-dropdown .dropdown-menu.show {
        display: block !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
    }

    .navbar-nav {
        flex-direction: column !important;
        align-items: flex-start !important;
        width: 100%;
    }

    .navbar-nav .nav-item {
        width: 100%;
    }

    .navbar-nav .nav-link {
        width: 100%;
        padding: 12px 20px !important;
    }

    .custom-dropdown .dropdown-toggle {
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .btn-login-navbar {
        width: 100%;
        min-height: unset !important;
        border-radius: 0 !important;
        padding: 12px 20px !important;
        margin: 10px 20px 20px 20px;
        font-size: 14px !important;
    }

    .navbar-collapse .d-flex.align-items-stretch {
        width: 100%;
    }

    #frontNavbar {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #fcfdfd;
        z-index: 1050;
        box-shadow: 0 10px 25px rgba(0,0,0,0.08);
        max-height: 80vh;
        overflow-y: auto;
    }
}

@media (max-width: 767.98px) {
    .navbar-wrapper {
        top: 12px !important;
    }
}



/* --- HERO --- */
.hero-slider-wrapper {
    position: relative;
    width: 100%;
    height: 98vh;
    overflow: hidden;
    z-index: 1;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1.2s cubic-bezier(0.4, 0, 0.2, 1), visibility 1.2s;
    z-index: 1;
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

.hero-bg-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transform: scale(1);
    transition: transform 6s ease-out;
}

.hero-slide.active .hero-bg-img {
    transform: scale(1.08);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(15, 23, 42, 0.6) 0%, rgba(15, 23, 42, 0.4) 100%);
    z-index: 2;
}

.hero-content-container {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    z-index: 3;
    color: #ffffff;
    text-align: left;
    padding-top: 8.0rem;
    padding-left: 8.0rem;
}

.hero-subtitle {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #856053;
    margin-bottom: 15px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s ease-out 0.3s;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    max-width: 850px;
    margin-bottom: 20px;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out 0.5s;
}

.hero-desc {
    font-size: 1.15rem;
    color: #e2e8f0;
    max-width: 650px;
    margin-bottom: 35px;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out 0.7s;
}

.hero-buttons {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s ease-out 0.9s;
    display: flex;
    justify-content: flex-start;
}

.hero-slide.active .hero-subtitle,
.hero-slide.active .hero-title,
.hero-slide.active .hero-desc,
.hero-slide.active .hero-buttons {
    opacity: 1;
    transform: translateY(0);
}

.hero-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    backdrop-filter: blur(4px);
}

.hero-nav-btn:hover {
    background: #856053;
    border-color: #856053;
}

.hero-nav-prev { left: 40px; }
.hero-nav-next { right: 40px; }

.hero-indicators {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
    list-style: none;
    padding: 0;
    margin: 0;
}

.hero-indicator-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
}

.hero-indicator-dot.active {
    background: #856053;
    transform: scale(1.2);
}

@media (max-width: 991.98px) {
    .hero-content-container {
        padding-left: 2.5rem;
        padding-right: 2.5rem;
        padding-top: 5.0rem;
    }
}

@media (max-width: 768px) {
    .hero-slider-wrapper {
        height: 80vh;
    }

    .hero-content-container {
        padding-left: 0 !important;
        padding-right: 0 !important;
        padding-top: 6.0rem !important;
        text-align: center !important;
    }

    .hero-title {
        font-size: 2.0rem;
        margin-bottom: 15px;
    }

    .hero-subtitle {
        font-size: 12px;
        margin-bottom: 10px;
    }

    .hero-desc {
        font-size: 0.95rem;
        margin-bottom: 25px;
        padding: 0 10px;
    }

    .hero-nav-btn {
        display: none;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 12px;
        justify-content: center;
        align-items: center;
        width: 100%;
    }

    .hero-buttons .btn {
        width: 100% !important;
        margin-right: 0 !important;
        font-size: 14px !important;
        padding: 12px 20px !important;
    }

    .hero-indicators {
        bottom: 20px;
    }
}



.stat-box {
    padding: 20px 10px;
    border-left: 2px solid #5d524f;
    padding-left: 25px;
    transition: border-color 0.3s ease;
}

.stat-box:hover {
    border-color: #856053;
}

.stat-box h3 {
    font-size: 3.5rem;
    color: #fcfdfd;
    line-height: 1;
    margin-bottom: 10px;
}

.stat-box h3::after {
    content: '+';
    font-size: 2rem;
    color: #856053;
    margin-left: 5px;
    vertical-align: top;
}

.stat-box p {
    font-size: 1rem;
    color: #8e847e;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

@media (min-width: 768px) and (max-width: 991.98px) {
    .stats-section {
        padding: 80px 0 !important;
    }

    .stats-section .row.align-items-center {
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 40px !important;
    }

    .stats-section .col-lg-4,
    .stats-section .col-lg-8 {
        width: 100% !important;
    }

    .stats-section h2 {
        font-size: 2.2rem !important;
        max-width: 100% !important;
    }

    .stat-box h3 {
        font-size: 2.8rem;
    }
}

@media (max-width: 767.98px) {
    .stats-section {
        padding: 60px 0 !important;
    }

    .stats-section h2 {
        font-size: 1.8rem !important;
        max-width: 100% !important;
    }

    .stat-box {
        padding: 10px 0 10px 15px !important;
    }

    .stat-box h3 {
        font-size: 2.2rem !important;
    }

    .stat-box h3::after {
        font-size: 1.2rem !important;
    }

    .stat-money {
        margin-top: 0 !important;
    }

    .stat-money .currency {
        font-size: 1.1rem !important;
    }

    .stat-money .unit {
        font-size: 1.3rem !important;
    }

    .stat-box p {
        font-size: 0.8rem !important;
        letter-spacing: 0.5px !important;
    }
}



.news-view-all {
    color: #162224;
    font-size: 15px;
    letter-spacing: 1px;
    transition: color 0.3s ease;
    border-bottom: 2px solid #e5ded9;
    padding-bottom: 6px;
}

.news-view-all:hover {
    color: #856053;
    border-color: #856053;
}

.news-featured-card {
    width: 100%;
}

.news-img-wrapper {
    width: 100%;
    height: 380px;
    overflow: hidden;
    position: relative;
}

.news-img {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transform: scale(1);
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.news-featured-card:hover .news-img {
    transform: scale(1.06);
}

.news-featured-content {
    padding-top: 30px;
}

.news-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.news-badge {
    background-color: #e5ded9;
    color: #5d524f;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 4px 12px;
    letter-spacing: 1px;
}

.news-date {
    font-size: 13px;
    color: #8e847e;
}

.news-title-big {
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 15px;
}

.news-title-big a {
    color: #162224;
    text-decoration: none;
    transition: color 0.3s ease;
}

.news-title-big a:hover {
    color: #856053;
}

.news-excerpt {
    font-size: 1.05rem;
    color: #8e847e;
    line-height: 1.7;
    margin: 0;
    max-width: 620px;
}

.news-list-card {
    display: flex;
    align-items: center;
    gap: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid #e5ded9;
    width: 100%;
}

.news-list-card:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.news-img-thumb {
    width: 120px;
    height: 90px;
    flex-shrink: 0;
    background-size: cover;
    background-position: center;
    transition: transform 0.4s ease;
}

.news-list-card:hover .news-img-thumb {
    transform: scale(1.04);
}

.news-list-content {
    flex-grow: 1;
}

.news-title-small {
    font-size: 1.15rem;
    font-weight: 600;
    line-height: 1.4;
    margin: 0;
}

.news-title-small a {
    color: #162224;
    text-decoration: none;
    transition: color 0.3s ease;
}

.news-title-small a:hover {
    color: #856053;
}

@media (max-width: 768px) {
    .about-section, 
    .news-section, 
    .services-section, 
    .steps-section {
        padding: 60px 0 !important;
    }

    .about-section h2, 
    .news-section h2, 
    .services-section h2, 
    .steps-section h2 {
        font-size: 1.8rem !important;
        line-height: 1.3 !important;
        margin-bottom: 15px !important;
    }

    .about-section p, 
    .services-section p {
        font-size: 0.95rem !important;
        line-height: 1.6 !important;
    }

    .about-section .col-lg-6:first-child div {
        align-items: center !important;
        text-align: center !important;
    }

    .about-section h2, 
    .about-section p {
        max-width: 100% !important;
    }

    .about-section .position-relative {
        min-height: 280px !important;
        margin-top: 20px !important;
    }

    .news-section .row.align-items-end {
        margin-bottom: 40px !important;
    }

    .news-section .news-view-all {
        font-size: 14px !important;
    }

    .news-img-wrapper {
        height: 220px !important;
    }

    .news-featured-content {
        padding-top: 15px !important;
    }

    .news-title-big {
        font-size: 1.35rem !important;
        margin-bottom: 10px !important;
    }

    .news-excerpt {
        font-size: 0.95rem !important;
    }

    .news-list-card {
        gap: 15px !important;
        padding-bottom: 15px !important;
    }

    .news-img-thumb {
        width: 90px !important;
        height: 70px !important;
    }

    .news-title-small {
        font-size: 0.95rem !important;
    }

    .services-section .row.text-start {
        margin-bottom: 40px !important;
    }

    .services-section .card {
        padding: 30px !important;
    }

    .services-section .card h4 {
        font-size: 1.2rem !important;
    }

    .steps-section .row.text-center {
        margin-bottom: 40px !important;
    }

    .steps-section .step-card {
        padding: 20px !important;
        text-align: center !important;
    }

    .steps-section .step-number {
        font-size: 3rem !important;
    }

    .steps-section .step-card h5 {
        font-size: 1.15rem !important;
    }
}


.footer-global a {
    color: #8e847e;
    transition: color 0.3s ease, padding-left 0.3s ease;
}

.footer-global a:hover {
    color: #856053;
    padding-left: 4px;
}

.footer-social-icon {
    width: 36px;
    height: 36px;
    background-color: #232d3a;
    border-radius: 4px;
    color: #e5ded9 !important;
    transition: all 0.3s ease;
}

.footer-social-icon:hover {
    background-color: #856053;
    color: #fcfdfd !important;
    padding-left: 0 !important;
    transform: translateY(-3px);
}

.progress-circle {
    position: absolute;
    top: 0;
    left: 0;
    transform: rotate(-90deg);
}

.back-to-top-btn:hover {
    transform: scale(1.08);
}

.back-to-top-btn:hover .back-to-top-icon {
    transform: translateY(-2px);
}

@media (min-width: 768px) and (max-width: 991.98px) {
    .footer-global {
        padding: 80px 0 30px 0 !important;
    }

    .footer-global .row.g-5 {
        --bs-gutter-y: 2.5rem;
    }

    .footer-global .col-md-4 {
        width: 33.333333% !important;
    }

    .footer-global .col-md-12 {
        width: 100% !important;
        margin-bottom: 20px;
    }
}

@media (max-width: 767.98px) {
    .footer-global {
        padding: 60px 0 30px 0 !important;
    }

    .footer-global .col-lg-4,
    .footer-global .col-lg-3,
    .footer-global .col-lg-2,
    .footer-global .col-md-4,
    .footer-global .col-md-12 {
        text-align: center !important;
        width: 100% !important;
    }

    .footer-global .d-flex.align-items-center {
        justify-content: center !important;
    }

    .footer-global .d-flex.gap-2 {
        justify-content: center !important;
    }

    .footer-global .pt-2 {
        margin-bottom: 10px;
    }

    .footer-global p {
        font-size: 0.9rem !important;
    }

    .footer-global h6 {
        margin-top: 15px;
    }

    .footer-global div[style*="border-top"] {
        padding: 30px 0 20px 0 !important;
        margin-top: 40px !important;
    }

    .footer-global .row.g-3 {
        text-align: center !important;
    }

    .footer-global .row.g-3 .col-md-4 {
        margin-top: 15px !important;
        font-size: 0.85rem !important;
    }

    .footer-global .row.g-3 .col-md-8 {
        margin-top: 4px !important;
        font-size: 0.85rem !important;
    }

    .back-to-top-btn {
        bottom: 20px !important;
        right: 20px !important;
        width: 44px !important;
        height: 44px !important;
    }

    .back-to-top-icon {
        width: 18px !important;
        height: 18px !important;
    }
}