/* 404 */
/* ============================= */
/* 404 Page CSS */
/* ============================= */

:root {
    --secondary-color: #F8F8FF;
    --text-color: #242424;
    --accent-color: #DFA15E;
}

.otb-404-section {
    position: relative;
    overflow: hidden;
    min-height: 90vh;
    padding: 120px 0;
    background:
        radial-gradient(circle at 15% 20%, rgba(223, 161, 94, 0.18), transparent 30%),
        radial-gradient(circle at 85% 80%, rgba(223, 161, 94, 0.16), transparent 32%),
        var(--secondary-color);
    display: flex;
    align-items: center;
}

.otb-404-bg-shape {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(223, 161, 94, 0.35);
    pointer-events: none;
    animation: otbFloat 7s ease-in-out infinite;
}

.otb-shape-1 {
    width: 260px;
    height: 260px;
    top: 8%;
    left: -80px;
}

.otb-shape-2 {
    width: 360px;
    height: 360px;
    right: -140px;
    bottom: -80px;
    animation-delay: 1.5s;
}

.otb-404-card {
    position: relative;
    z-index: 2;
    padding: 70px 55px;
    border-radius: 34px;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(223, 161, 94, 0.25);
    box-shadow: 0 30px 90px rgba(36, 36, 36, 0.12);
    backdrop-filter: blur(16px);
    text-align: center;
}

.otb-404-visual {
    margin-bottom: 25px;
}

.otb-404-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    color: var(--text-color);
    font-size: clamp(95px, 15vw, 190px);
    line-height: 0.9;
    font-weight: 800;
    letter-spacing: -10px;
}

.otb-404-number span {
    display: inline-block;
    background: linear-gradient(135deg, var(--text-color), #4a4a4a);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.otb-404-home-icon {
    width: clamp(82px, 11vw, 145px);
    height: clamp(82px, 11vw, 145px);
    border-radius: 32px;
    background: linear-gradient(135deg, var(--accent-color), #f4c488);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-color);
    box-shadow: 0 18px 45px rgba(223, 161, 94, 0.38);
    transform: rotate(-6deg);
    animation: otbPulse 2.8s ease-in-out infinite;
}

.otb-404-home-icon i {
    font-size: clamp(36px, 5vw, 72px);
}

.otb-404-subtitle {
    display: inline-block;
    margin-bottom: 18px;
    padding: 8px 18px;
    border-radius: 999px;
    background: rgba(223, 161, 94, 0.14);
    color: var(--text-color);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1.4px;
    text-transform: uppercase;
}

.otb-404-content h2 {
    max-width: 780px;
    margin: 0 auto 18px;
    color: var(--text-color);
    font-size: clamp(34px, 5vw, 66px);
    line-height: 1.08;
    font-weight: 800;
    letter-spacing: -1.8px;
}

.otb-404-content p {
    max-width: 760px;
    margin: 0 auto;
    color: rgba(36, 36, 36, 0.78);
    font-size: 18px;
    line-height: 1.75;
}

.otb-404-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    flex-wrap: wrap;
    margin-top: 34px;
}

.otb-404-btn,
.otb-404-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 56px;
    padding: 16px 28px;
    border-radius: 999px;
    font-weight: 700;
    transition: all 0.35s ease;
    text-decoration: none;
}

.otb-404-btn {
    background: var(--accent-color);
    color: var(--text-color);
    border: 2px solid var(--accent-color);
    box-shadow: 0 16px 34px rgba(223, 161, 94, 0.35);
}

.otb-404-btn:hover {
    transform: translateY(-4px);
    background: var(--text-color);
    border-color: var(--text-color);
    color: #ffffff;
    box-shadow: 0 20px 45px rgba(36, 36, 36, 0.24);
}

.otb-404-link {
    color: var(--text-color);
    background: transparent;
    border: 2px solid rgba(36, 36, 36, 0.14);
}

.otb-404-link:hover {
    transform: translateY(-4px);
    border-color: var(--accent-color);
    background: rgba(223, 161, 94, 0.12);
    color: var(--text-color);
}

.otb-404-contact {
    margin-top: 34px;
    padding-top: 26px;
    border-top: 1px solid rgba(36, 36, 36, 0.1);
}

.otb-404-contact p {
    margin-bottom: 6px;
    font-size: 15px;
    line-height: 1.5;
}

.otb-404-contact a {
    color: var(--text-color);
    font-size: 22px;
    font-weight: 800;
    text-decoration: none;
    transition: color 0.3s ease;
}

.otb-404-contact a:hover {
    color: var(--accent-color);
}

@keyframes otbFloat {
    0%, 100% {
        transform: translateY(0) scale(1);
    }

    50% {
        transform: translateY(-22px) scale(1.04);
    }
}

@keyframes otbPulse {
    0%, 100% {
        transform: rotate(-6deg) scale(1);
    }

    50% {
        transform: rotate(3deg) scale(1.06);
    }
}

@media (max-width: 991px) {
    .otb-404-section {
        padding: 90px 0;
    }

    .otb-404-card {
        padding: 55px 35px;
    }

    .otb-404-number {
        letter-spacing: -6px;
    }
}

@media (max-width: 575px) {
    .otb-404-section {
        min-height: auto;
        padding: 70px 0;
    }

    .otb-404-card {
        padding: 42px 22px;
        border-radius: 24px;
    }

    .otb-404-number {
        gap: 10px;
        letter-spacing: -4px;
    }

    .otb-404-home-icon {
        border-radius: 22px;
    }

    .otb-404-content p {
        font-size: 16px;
    }

    .otb-404-actions {
        flex-direction: column;
        gap: 12px;
    }

    .otb-404-btn,
    .otb-404-link {
        width: 100%;
    }
}

/* responsive */

@media (max-width: 768px) {
    .hero.bg-image .hero-section 
    .hero-content .section-title h1{
        font-size: 40px !important;
    }

    .section-title h2{
        font-size: 30px !important;
    }
}

@media (max-width: 426px) {
    .hero.bg-image .hero-section 
    .hero-content .section-title h1{
        font-size: 35px !important;
    }

    .section-title h2{
        font-size: 28px !important;
    }

}

@media (max-width: 376px) {

    .logo-header{
        width: 110px;
    }

    .hero.bg-image .hero-section .hero-content
     .section-title h1, .page-header-box h1{
        font-size: 30px !important;
     }

    .section-title h2,
    .post-entry h2{
        font-size: 25px !important;
    }

    
}

@media (max-width: 320px) {
    .hero.bg-image .hero-section 
    .hero-content .section-title h1,
    .page-header-box h1{
        font-size: 25px !important;
    }

    .section-title h2{
        font-size: 21px !important;
    }

    .about-counter h2{
        font-size: 25px;
    }

    .about-company-founder{
        display: flex;
        flex-direction: column;
    }

    .company-founder-content{
        width: 100% !important;
    }

    .why-choose-item{
        display: flex;
        flex-direction: column;
    }

    .why-choose-item-content{
        width: 100% !important;
    }

    .faq-accordion.how-work-accordion 
    .accordion-header .accordion-button,
    .our-faq-section .accordion-header .accordion-button,
    .page-faq-accordion .accordion-header .accordion-button{
        font-size: 16px !important;
    }
    .page-header-box ol li.breadcrumb-item{
        font-size: 14px !important;
    }

    .service-entry h2, .post-entry h2{
        font-size: 22px !important;
    }

    .post-tag-links .project-nav-btn strong{
        font-size: 18px;
    }

    .page-faqs .faq-accordion-title h2{
        font-size: 20px !important;
    }
}