/* @import url('https://fonts.googleapis.com/css2?family=Sora:wght@400;700&display=swap'); */

@font-face {
    font-family: 'Qurova DEMO';
    src: url('../fonts/qurova-demo.light.otf') format('opentype'); /* adjust path */
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

* {
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
}

.container {
    max-width: 1280px;
    padding: 0 120px;
}

.navbar .btn,
.navbar .btn:focus,
.navbar .btn:active,
.navbar .btn:focus-visible,
.navbar .btn:focus-within {
    background: transparent !important;
    box-shadow: none !important;
    outline: none !important;
}

   .navbar .btn.btn-link,
.navbar .btn.profile-trigger,
.navbar .btn.responsive-profile-trigger {
    background: transparent !important;
    box-shadow: none !important;
}

.navbar .btn.btn-link:focus,
.navbar .btn.btn-link:active,
.navbar .btn.profile-trigger:focus,
.navbar .btn.profile-trigger:active,
.navbar .btn.responsive-profile-trigger:focus,
.navbar .btn.responsive-profile-trigger:active {
    background: transparent !important;
    box-shadow: none !important;
    outline: none !important;
}
.navbar .btn i {
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
}
.navbar .btn:focus,
.navbar .btn:active,
.navbar .btn.show,
.navbar .btn:focus-visible {
    outline: none !important;
    box-shadow: none !important;
    border: none !important;
}
.navbar .btn.profile-trigger,
.navbar .btn.responsive-profile-trigger {
    border: 1px solid #ddd !important;
    border-radius: 12px;
    padding: 9px;
}
.dynamic-card {
  text-decoration: none !important; /* remove underline */
  color: inherit !important;        /* inherit normal text color */
  display: block;                   /* make whole card clickable */
}

.dynamic-card span,
.dynamic-card div {
  color: inherit !important;
}

@media (max-width: 1100px) {
    .container {
        padding: 0 80px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 40px;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 20px;
    }
}

.navbar {
    padding: 1rem 0;
    background: transparent !important;
    border-bottom: none !important;
}

.logo-text {
    font-family: 'Qurova DEMO', serif;
    font-style: normal;
    font-weight: 400;
    font-size: 20px;
    line-height: 16px;
    color: #F16855 !important;
    text-decoration: none;
}

.navbar-toggler {
    border: none;
    padding: 4px 8px;
}

.nav-link {
    color: #333 !important;
    font-weight: 500;
    padding: 0.75rem 1rem !important;
}

.nav-link:hover {
    color: #F16855 !important;
}

.profile-trigger {
    border: 1px solid #dee2e6;
    border-radius: 12px;
    padding: 9px;
    background: transparent;
}

.responsive-profile-trigger {
    border-radius: 50%;
}

.profile-trigger:hover {
    border-color: #F16855;
}

.profile-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #242424;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 13px;
}

.hamburger-icon {
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding: 0 15px;
}

.hamburger-icon span {
    width: 18px;
    height: 2px;
    background: #333;
    border-radius: 2px;
}

.btn-link {
    text-decoration: none;
    padding: 10px;
}

.btn-link:hover {
    color: #F16855 !important;
}

.search-nav {
    padding: 10px 0;
}

.search-container {
    display: flex;
    align-items: center;
    background: white;
    border-radius: 12px;
    padding: 3px 32px;
    box-shadow: 0px 3px 12px rgba(0, 0, 0, 0.1), 0px 1px 2px rgba(0, 0, 0, 0.08);
    margin: 0 auto;
}

.search-input {
    flex: 1;
    min-width: 0;
    max-width: 268px;
    position: relative;
}

.search-input .form-label {
    position: absolute;
    top: 0;
    left: 0;
    padding-left: 30px;
    font-size: 12px;
    font-weight: 400;
    line-height: 37px;
    color: #333;
    pointer-events: none;
    z-index: 2;
    background: transparent;
}

.search-input .form-control {
    border: none;
    background: transparent;
    padding: 18px 0px 0px 30px;
    font-size: 14px;

}

.search-input .form-control:focus {
    box-shadow: none;
    outline: none;
}

.search-input .form-control::placeholder {
    color: #999;
        font-size: 14px;

}

.search-separator {
    width: 1px;
    height: 32px;
    background: #DDDDDD;
}

.search-btn {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    background: #F16855;
    border: none;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    margin-left: 8px;
}

.search-btn:hover {
    background: #e55a2b;
}

.banner-section {
    width: 100%;
    height: 240px;
    overflow: hidden;
    margin-top: 20px;
    margin-bottom: 52px;
}

.banner-image {
    width: 100%;
    height: 100%;
}

.banner-image img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    display: block;
}

@media (max-width: 991px) {
    .navbar-nav {
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(10px);
        border-radius: 12px;
        padding: 1rem;
        margin-top: 1rem;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    }

    .nav-link {
        text-align: center;
        margin: 0.25rem 0;
    }
}

@media (max-width: 768px) {
    .search-container {
        flex-direction: column;
        padding: 16px;
        gap: 8px;
        max-width: 100%;
        border-radius: 12px;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    }
    .search-input {
        width: 100%;
        position: relative;
        max-width: none;
    }
    .search-input .form-label {
        position: absolute;
        top: 0;
        left: 0;
        padding: 12px 16px 0 16px;
        font-size: 13px;
            line-height: 10px;
        font-weight: 500;
        color: #333;
        pointer-events: none;
        z-index: 2;
        background: transparent;
    }
    .search-input .form-control {
        border: none;
        background: transparent;
        padding: 28px 16px 8px 16px;
        font-size: 14px;
        border-radius: 8px;
        text-align: left;
    }
    .search-input .form-control:focus {
        box-shadow: none;
        outline: none;
    }
    .search-input .form-control::placeholder {
        color: #999;
    }
    .search-separator {
        display: none;
    }
    .search-btn {
        width: 100%;
        height: 48px;
        border-radius: 10px;
        margin-left: 0;
        font-size: 16px;
    }
}

@media (max-width: 576px) {
    .navbar {
        padding: 1rem 0;
    }

    .profile-trigger {
        padding: 8px 12px;
    }

    .profile-avatar {
        width: 32px;
        height: 32px;
        font-size: 12px;
    }

    .hamburger-icon span {
        width: 16px;
    }

    .search-nav {
        padding: 1.5rem 0;
    }

    .search-container {
        padding: 16px;
        gap: 12px;
    }

    .search-input .form-control {
        font-size: 16px;
    }

    .banner-section {
        height: 200px;
    }

    .banner-image img {
        height: 200px;
    }
}

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

.btn-link:hover {
    color: #F16855 !important;
}

.dropdown-menu {
    border: 1px solid rgba(222, 226, 230, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    border-radius: 12px;
    margin-top: 12px;
    padding: 8px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.dropdown-item {
    padding: 10px 16px;
    font-size: 14px;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.2s ease;
    color: #4a5568;
}

.dropdown-item:hover {
    background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
    color: #2d3748;
    transform: translateX(4px);
}

.dropdown-divider {
    margin: 8px 0;
    border-color: rgba(0, 0, 0, 0.08);
}

.dynamic-section {
    width: 100%;
    margin: 0 auto 2rem auto;
}
.section-label {
    font-size: 20px;
    font-weight: 600;
    line-height: 24px;
    margin-bottom: 20px;
}
.section-text {
    font-size: 15px;
    line-height: 19px;
    margin-bottom: 20px;
}
.section-container {
    margin-top: 40px;
    margin-bottom: 40px;
}
.dynamic-cards.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}
.highlight {
    font-family: 'Qurova DEMO', serif;
    color: #F16855;
    font-size: 20px;
    line-height: 24px;
}
@media (max-width: 1024px) {
    .dynamic-cards.grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 768px) {
    .dynamic-cards.grid-3 {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}
.dynamic-card {
    background: transparent;
    overflow: hidden;
    position: relative;
    min-width: 0;
}
.dynamic-card-img-carousel {
    position: relative;
    width: 100%;
    height: 300px;
    overflow: hidden;
    border-radius: 12px;
}
.carousel-inner {
    position: relative;
    width: 100%;
    height: 100%;
}
.carousel-img {
    display: none;
    position: absolute;
    top: 0; left: 0;
    width: 300px;
    height: 300px;
    object-fit: cover;
    border-radius: 18px 18px 0 0;
    transition: opacity 0.3s;
}
.carousel-img.active {
    display: block;
    position: relative;
    opacity: 1;
    z-index: 1;
}
.dynamic-card-tag {
    position: absolute;
    top: 12px;
    left: 12px;
    background: #fff;
    color: #222;
    font-size: 14px;
    font-weight: 600;
    line-height: 18px;
    padding: 4px 12px;
    border-radius: 40px;
    z-index: 2;
    box-shadow: 0 1px 4px rgba(0,0,0,0.07);
}
.dynamic-card-heart {
    position: absolute;
    top: 10px;
    right: 10px;
    background: transparent;
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    cursor: pointer;
    font-size: 1.2rem;
    color: #e74c3c;
    transition: background 0.2s;
}
.dynamic-card-heart.liked {
    background: transparent;
    color: #e74c3c;
}
.dynamic-card-heart:focus {
    outline: none;
}
.carousel-dots {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    z-index: 2;
}
.carousel-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #ffffff;
    cursor: pointer;
    transition: background 0.2s;
    opacity: 0.6;
}
.carousel-dot.active {
    opacity: 1;
}
.dynamic-card-info {
    padding-top: 20px;
}
.card-text {
    font-size: 15px;
    line-height: 19px;
}
.card-gray-text {
    font-size: 15px;
    color: #6A6A6A;
}
.card-star {
    color: #222222;
    font-size: 12px;
}
.dynamic-pagination {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    justify-content: center;
    margin-top: 40px;
}
.page-btn {
    border: 1.5px solid #6A6A6A;
    background: #fff;
    color: #9B9CA1;
    border-radius: 4px;
    font-size: 14px;
    width: 32px;
    height: 32px;
    line-height: 20px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s, border 0.2s;
    font-family: 'Sora', sans-serif;
}
.page-btn.active, .page-btn:hover {
    background: #F16855;
    color: #fff;
    border: none;
}
.dots {
    color: #aaa;
    font-size: 1.1rem;
    padding: 0 2px;
}
.page-btn .arrow {
    color: #F16855;
}
.page-btn.disabled, .page-btn:disabled {
    background: #f5f5f5;
    color: #bbb;
    border-color: #eee;
    cursor: not-allowed;
    pointer-events: none;
    opacity: 0.7;
}
.page-btn.disabled .arrow, .page-btn:disabled .arrow {
    color: #bbb;
}

.page-btn.active i.bi,
.page-btn:hover i.bi {
    color: #fff !important;
}

.join-platform-row {
    min-height: 320px;
}
.join-info {
    padding-right: 134px;
}

@media screen and (max-width: 1024px) {
    .join-info {
        padding-right: 0;
    }
}
.join-platform-img {
    border-radius: 12px;
    object-fit: cover;
    width: 100%;
    height: 100%;
    min-height: 280px;
    max-height: 400px;
    display: block;
}
.join-platform-btn {
    width: 185px;
    height: 39px;
    background: #F16855;
    border: none;
    border-radius: 10px;
    font-weight: 400;
    font-size: 15px;
    transition: background 0.2s;
}
.join-platform-btn:hover {
    background: #e55a2b;
}
.why-card {
    box-shadow: 0px 3px 12px rgba(0, 0, 0, 0.1), 0px 1px 2px rgba(0, 0, 0, 0.08);
    border-radius: 16px;
    background: #fff;
}

footer {
    margin-top: 60px;
    border-top: 1px solid #DDDDDD;
    position: relative;
    padding: 14px 0;
    padding-bottom: 72px;
}

.footer-links .footer-link {
    color: #222222;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s;
}
.footer-links .footer-link:hover {
    color: #F16855;
}
.footer-links .dot {
    color: #222222;
    font-size: 8px;
}
.footer-actions .footer-link {
    color: #222222;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s;
}
.footer-actions .footer-link:hover {
    color: #F16855;
}
