* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    color: #000000;
    background: #f5f5f5;
    background-image: url('https://myheart.my/wp-content/uploads/2026/06/myheart-network-connect-background.jpg');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    background-attachment: fixed;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    text-decoration: none;
    color: inherit;
}

/* Header styles - MAINTAIN ORIGINAL */
.site-header {
    background: #fff;
    border-bottom: 1px solid #e7e7e7;
    padding: 10px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}
.header-container {
    max-width: 1170px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}
.logo img {
    max-width: 160px;
    height: auto;
    display: block;
}
.main-nav {
    display: flex;
    align-items: center;
    gap: 30px;
}
.nav-menu {
    display: flex;
    list-style: none;
    gap: 25px;
    margin: 0;
    padding: 0;
}
.nav-menu li {
    position: relative;
    list-style: none;
}
.nav-menu a {
    font-weight: 500;
    font-size: 16px;
    color: #24315C;
    padding: 5px 0;
    transition: color 0.2s;
    white-space: nowrap;
}
.nav-menu a:hover,
.nav-menu a.active {
    color: #CC0000;
}
.nav-menu li:not(:last-child)::after {
    content: "|";
    color: #ccc;
    margin-left: 12px;
    position: absolute;
    right: -15px;
    top: 5px;
    font-weight: 300;
}
.nav-menu .menu-item-has-children > a::after {
    content: '\f0d7';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    margin-left: 5px;
    font-size: 12px;
}

/* Sub-menu styles - CLEAN, NO BULLET POINTS */
.sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    border-radius: 6px;
    padding: 8px 0;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease;
    z-index: 10;
    list-style: none;
}
.sub-menu li {
    width: 100%;
    list-style: none;
}
.sub-menu li::before,
.sub-menu li::after {
    display: none;
}
.sub-menu a {
    display: block;
    padding: 8px 18px;
    font-weight: 400;
    font-size: 15px;
    color: #333;
    white-space: nowrap;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
}
.sub-menu a:hover {
    background: #f5f5f5;
    color: #CC0000;
}
.nav-menu .menu-item-has-children:hover .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.btn-login {
    background-color: #CC0000;
    color: #fff !important;
    border: none;
    border-radius: 5px;
    padding: 8px 18px;
    font-weight: 500;
    font-size: 15px;
    transition: background 0.2s;
    white-space: nowrap;
    margin-left: 10px;
    cursor: pointer;
}
.btn-login:hover {
    background-color: #a30000;
}
.mobile-toggle {
    display: none;
    font-size: 24px;
    color: #24315C;
    cursor: pointer;
}

/* Banner Section */
.banner-section {
    position: relative;
    background-image: url('https://myheart.my/wp-content/uploads/2023/02/group-asia-young-creative-people-smart-casual-wear-smiling-thumbs-up-creative-office-workplace-scaled.jpg');
    background-position: center 30%;
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 110px 20px;
    min-height: auto;
}
.banner-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://myheart.my/wp-content/uploads/2025/02/purple-bg.webp');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    opacity: 0.85;
    z-index: 1;
    pointer-events: none;
}
.banner-content {
    max-width: 1170px;
    width: 100%;
    position: relative;
    z-index: 2;
    text-align: left;
}
.banner-title {
    color: #fff;
    font-size: 60px;
    font-weight: 600;
    line-height: 1.2;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.5);
    margin: 0;
}

/* Introduction Section */
.intro-section {
    padding: 80px 20px 40px;
    max-width: 1170px;
    margin: 0 auto;
    background: transparent;
}
.intro-title {
    font-size: clamp(32px, 6vw, 50px);
    font-weight: 700;
    color: #22205F;
    margin-bottom: 25px;
    letter-spacing: -0.5px;
}
.intro-title span {
    color: #CC0000;
    font-weight: 700;
    position: relative;
    display: inline-block;
}
.intro-description {
    font-size: 18px;
    line-height: 1.6;
    color: #4a4a4a;
    max-width: 900px;
    margin-bottom: 20px;
}
.connect-description {
    font-size: 18px;
    line-height: 1.6;
    color: #000000;
    max-width: 900px;
    margin: 20px 0 30px 0;
    font-weight: 400 !important;
}
.cta-primary-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, #CC0000, #ff3333);
    color: white;
    padding: 16px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 15px 30px rgba(204,0,0,0.3);
    border: 3px solid rgba(255,255,255,0.3);
    margin-bottom: 20px;
}
.cta-primary-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 40px rgba(204,0,0,0.4);
    gap: 15px;
}

/* Search Bar */
.search-container {
    max-width: 1170px;
    margin: 30px auto 20px;
    padding: 0 20px;
}
.search-wrapper {
    position: relative;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
}
.search-icon {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #CC0000;
    font-size: 18px;
    z-index: 1;
}
.search-input {
    width: 100%;
    padding: 18px 25px 18px 55px;
    font-size: 16px;
    border: 2px solid rgba(34,32,95,0.1);
    border-radius: 60px;
    background: white;
    color: #22205F;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
}
.search-input:focus {
    outline: none;
    border-color: #CC0000;
    box-shadow: 0 15px 40px rgba(204,0,0,0.1);
}
.clear-search {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #999;
    cursor: pointer;
    font-size: 14px;
    padding: 5px 10px;
    display: none;
}
.clear-search:hover {
    color: #CC0000;
}
.search-input:not(:placeholder-shown) + .clear-search {
    display: block;
}

/* Modern Tab Buttons */
.tab-container {
    max-width: 1170px;
    margin: 30px auto 40px;
    padding: 0 20px;
}
.tab-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
}
.tab-btn {
    padding: 14px 32px;
    border: none;
    background: white;
    color: #22205F;
    font-size: 16px;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    border: 2px solid rgba(34,32,95,0.1);
}
.tab-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(204,0,0,0.15);
    border-color: #CC0000;
    color: #CC0000;
}
.tab-btn.active {
    background: linear-gradient(135deg, #CC0000, #ff3333);
    color: white;
    border: 2px solid #CC0000;
    box-shadow: 0 10px 25px rgba(204,0,0,0.3);
}

/* Modern Profile Grid - 4 COLUMNS default (laptop & monitor) */
.profiles-wrapper {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 20px;
}

.profile-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
    row-gap: 35px;
    margin-bottom: 50px;
}

/* Tablet: 2 columns (termasuk iPad, 768px - 1024px) */
@media (max-width: 1024px) and (min-width: 768px) {
    .profile-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
        row-gap: 30px;
        margin-bottom: 50px;
    }
}

/* Mobile: 1 column (bawah 768px) */
@media (max-width: 767px) {
    .profile-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        row-gap: 25px;
        margin-bottom: 40px;
    }
}

.modern-profile-card {
    display: flex;
    flex-direction: column;
    background: white;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 40px -10px rgba(0,0,0,0.15);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    min-height: 420px;
    opacity: 0;
    animation: cardAppear 0.6s ease forwards;
    border: 6px solid transparent;
    position: relative;
    background-clip: padding-box;
}

.modern-profile-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 24px;
    padding: 6px;
    background: linear-gradient(135deg, rgba(34,32,95,0.6), rgba(204,0,0,0.6));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.modern-profile-card:hover::before {
    opacity: 1;
    background: linear-gradient(135deg, #22205F, #CC0000);
}

.modern-profile-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 30px 60px -15px rgba(204,0,0,0.3);
}

@keyframes cardAppear {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.card-image-wrapper {
    flex: 0 0 220px;
    position: relative;
    overflow: hidden;
    background: #f0f0f0;
    aspect-ratio: 1/1;
    width: 100%;
}

.modern-profile-card[data-category="association"] .card-image-wrapper {
    aspect-ratio: 1/1;
    background: white;
    padding: 15px;
}

.modern-profile-card[data-category="association"] .card-image-wrapper img {
    object-fit: contain;
    object-position: center;
}

.modern-profile-card[data-category="association"] .card-image-wrapper::after {
    display: none;
}

.card-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
    transition: transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.modern-profile-card:not([data-category="association"]) .card-image-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(34,32,95,0.2) 0%, rgba(204,0,0,0.1) 100%);
    pointer-events: none;
    z-index: 1;
    opacity: 0.3;
    transition: opacity 0.3s ease;
}

.modern-profile-card:hover .card-image-wrapper img {
    transform: scale(1.1);
}

.modern-profile-card[data-category="association"]:hover .card-image-wrapper img {
    transform: scale(1.05);
}

.card-content {
    flex: 1;
    padding: 22px 20px 24px;
    background: white;
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.card-header {
    margin-bottom: 8px;
}

.card-header h3 {
    font-size: 20px;
    font-weight: 700;
    color: #22205F;
    margin: 0 0 8px 0;
    letter-spacing: -0.3px;
    line-height: 1.3;
}

.location {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 12px;
    color: #666;
    font-size: 13px;
}

.location i {
    color: #CC0000;
    font-size: 12px;
}

.description-container {
    position: relative;
    margin-bottom: 16px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.description {
    font-size: 13px;
    line-height: 1.5;
    color: #4a4a4a;
    overflow: hidden;
    transition: all 0.3s ease;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.description.expanded {
    display: block;
    -webkit-line-clamp: unset;
}

.read-more-btn {
    background: none;
    border: none;
    color: #CC0000;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    padding: 8px 0 4px 0;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
    align-self: flex-start;
    margin-top: 4px;
}

.read-more-btn:hover {
    color: #22205F;
    gap: 10px;
}

.read-more-btn i {
    font-size: 11px;
    transition: transform 0.3s ease;
}

.read-more-btn:hover i {
    transform: translateX(3px);
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    flex-wrap: wrap;
    gap: 10px;
    padding-top: 10px;
    border-top: 1px solid #eee;
}

.social-links {
    display: flex;
    gap: 8px;
}

.social-link {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(34,32,95,0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #22205F;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 14px;
    border: 2px solid rgba(34,32,95,0.1);
}

.social-link:hover {
    background: #CC0000;
    color: white;
    transform: translateY(-3px);
    border-color: #CC0000;
}

.connect-btn {
    background: transparent;
    border: 2px solid #CC0000;
    color: #CC0000;
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
}

.connect-btn:hover {
    background: #CC0000;
    color: white;
    gap: 10px;
}

.connect-btn i {
    font-size: 11px;
    transition: transform 0.3s ease;
}

.connect-btn:hover i {
    transform: translateX(3px);
}

/* ========== SPECIAL CTA CARD STYLES ========== */
.modern-profile-card.special-cta-card {
    background: linear-gradient(135deg, #1a1850, #22205F);
    border: none;
    position: relative;
    overflow: hidden;
    cursor: default;
}

.modern-profile-card.special-cta-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.2), rgba(204,0,0,0.3));
    z-index: 0;
    pointer-events: none;
}

.modern-profile-card.special-cta-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('https://myheart.my/wp-content/uploads/2026/06/myheart-registration-cta-card-background.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.35;
    z-index: 0;
    pointer-events: none;
}

.modern-profile-card.special-cta-card .card-content {
    background: transparent;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 45px 24px;
    position: relative;
    z-index: 1;
}

.modern-profile-card.special-cta-card .card-header {
    margin-bottom: 28px;
}

.modern-profile-card.special-cta-card .card-header h3 {
    color: white;
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 10px;
    line-height: 1.4;
}

.modern-profile-card.special-cta-card .card-header h3 .highlight-number {
    font-size: 72px;
    font-weight: 900;
    display: inline-block;
    color: #FFD53D;
    letter-spacing: 4px;
    margin: 0 8px;
    text-shadow: 0 3px 6px rgba(0,0,0,0.3);
}

.modern-profile-card.special-cta-card .location {
    display: none;
}

.modern-profile-card.special-cta-card .description-container {
    display: block !important;
    margin-bottom: 32px;
}

.modern-profile-card.special-cta-card .description-text {
    color: white;
    font-size: 15px;
    line-height: 1.6;
    text-align: center;
    margin-bottom: 14px;
}

.modern-profile-card.special-cta-card .description-subtitle {
    color: white;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.5;
    text-align: center;
    margin-top: 10px;
    letter-spacing: 0.3px;
}

.modern-profile-card.special-cta-card .card-footer {
    justify-content: center;
    margin-top: 10px;
    border-top: none;
}

.modern-profile-card.special-cta-card .connect-btn {
    background: #CC0000;
    color: white;
    border: none;
    padding: 12px 32px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 40px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
    cursor: pointer;
}

.modern-profile-card.special-cta-card .connect-btn:hover {
    background: #ff3333;
    transform: translateY(-3px);
    box-shadow: 0 10px 28px rgba(204,0,0,0.5);
    gap: 14px;
}

.modern-profile-card.special-cta-card .connect-btn .login-svg-icon {
    width: 18px;
    height: 18px;
    color: white;
    vertical-align: middle;
}

.modern-profile-card.special-cta-card .connect-btn i {
    font-size: 13px;
    transition: transform 0.3s ease;
}

.modern-profile-card.special-cta-card .connect-btn:hover i {
    transform: translateX(4px);
}

.modern-profile-card.special-cta-card .social-links {
    display: none;
}

.card-image-wrapper.special-cta {
    display: none;
}

/* Special CTA Card Responsive */
@media (max-width: 1024px) and (min-width: 768px) {
    .modern-profile-card.special-cta-card .card-header h3 .highlight-number {
        font-size: 60px;
    }
    .modern-profile-card.special-cta-card .card-header h3 {
        font-size: 18px;
    }
    .modern-profile-card.special-cta-card .description-text,
    .modern-profile-card.special-cta-card .description-subtitle {
        font-size: 14px;
    }
}

@media (max-width: 767px) {
    .modern-profile-card.special-cta-card .card-content {
        padding: 35px 16px;
    }
    .modern-profile-card.special-cta-card .card-header h3 .highlight-number {
        font-size: 48px;
    }
    .modern-profile-card.special-cta-card .card-header h3 {
        font-size: 16px;
    }
    .modern-profile-card.special-cta-card .description-text,
    .modern-profile-card.special-cta-card .description-subtitle {
        font-size: 13px;
    }
    .modern-profile-card.special-cta-card .connect-btn {
        padding: 10px 24px;
        font-size: 13px;
    }
    .modern-profile-card.special-cta-card .connect-btn .login-svg-icon {
        width: 14px;
        height: 14px;
    }
}

@media (max-width: 480px) {
    .modern-profile-card.special-cta-card .card-header h3 .highlight-number {
        font-size: 40px;
    }
    .modern-profile-card.special-cta-card .card-header h3 {
        font-size: 14px;
    }
    .modern-profile-card.special-cta-card .description-text,
    .modern-profile-card.special-cta-card .description-subtitle {
        font-size: 12px;
    }
    .modern-profile-card.special-cta-card .connect-btn {
        padding: 8px 18px;
        font-size: 12px;
    }
}

.load-more-container {
    text-align: center;
    margin: 30px 0 60px;
}

.load-more-btn {
    background: linear-gradient(135deg, #22205F, #2a2a7a);
    color: white;
    border: none;
    padding: 14px 40px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 10px 25px rgba(34,32,95,0.3);
    position: relative;
    overflow: hidden;
    border: 3px solid rgba(255,255,255,0.2);
}

.load-more-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.load-more-btn:hover::before {
    width: 300px;
    height: 300px;
}

.load-more-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 40px rgba(34,32,95,0.4);
}

.load-more-btn i {
    transition: transform 0.3s ease;
}

.load-more-btn:hover i {
    transform: translateY(3px);
}

.spinner {
    display: none;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255,255,255,0.3);
    border-top: 3px solid white;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

.load-more-btn.loading .spinner {
    display: inline-block;
}

.load-more-btn.loading .btn-text {
    display: none;
}

.load-more-btn.loading i {
    display: none;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.profile-counter {
    text-align: center;
    color: #666;
    margin: 20px 0;
    font-size: 14px;
    font-weight: 500;
}

.no-results {
    grid-column: 1/-1;
    text-align: center;
    padding: 60px 20px;
    color: #666;
    background: #f9f9f9;
    border-radius: 24px;
    font-size: 16px;
    border: 3px dashed rgba(204,0,0,0.3);
}

.no-results i {
    font-size: 40px;
    color: #CC0000;
    margin-bottom: 15px;
    opacity: 0.5;
}

/* ========== JOIN MYHEART SECTION ========== */
.join-myheart-section {
    background-color: #ECD5BB;
    border-style: solid;
    border-width: 0px 0px 2px 0px;
    border-color: #FFD53D;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}
.join-myheart-section .bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://myheart.my/wp-content/uploads/2023/02/Pattern.png');
    background-position: center center;
    background-size: cover;
    opacity: 0.11;
    pointer-events: none;
}
.join-container {
    max-width: 1170px;
    margin: 0 auto;
    padding: 0 15px;
    position: relative;
    z-index: 2;
}
.join-content {
    text-align: center;
}
.join-title {
    font-family: "Roboto", sans-serif;
    font-size: 50px;
    font-weight: 700;
    line-height: 55px;
    letter-spacing: 0.5px;
    color: #22205F;
    margin-bottom: 20px;
}
.join-subtitle {
    font-family: "Roboto", sans-serif;
    font-size: 17px;
    font-weight: 400;
    line-height: 25px;
    color: #000000;
    margin-bottom: 30px;
}
.elementor-button {
    display: inline-block;
    background-color: #CC0000;
    font-family: "Roboto", sans-serif;
    font-size: 16px;
    font-weight: 500;
    color: #FFFFFF;
    border: none;
    border-radius: 5px;
    padding: 10px 20px;
    cursor: pointer;
    transition: background 0.3s;
}
.elementor-button:hover {
    background-color: #a30000;
}

/* ========== FOOTER STYLES ========== */
.site-footer {
    background-color: #22205F;
    position: relative;
    padding: 40px 180px 40px 150px;
}
.footer-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://myheart.my/wp-content/uploads/2024/02/Flag-1.png');
    background-position: top center;
    background-repeat: no-repeat;
    background-size: cover;
    opacity: 0.07;
    pointer-events: none;
}
.footer-inner-container {
    max-width: 1170px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}
.footer-row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}
.footer-col {
    flex: 0 0 20%;
    max-width: 20%;
    padding: 0 15px;
}
.footer-heading {
    font-family: "Roboto", sans-serif;
    font-size: 17px;
    font-weight: 600;
    line-height: 25px;
    color: #FFD53D;
    margin-bottom: 15px;
}
.footer-link {
    font-family: "Roboto", sans-serif;
    font-size: 17px;
    font-weight: 400;
    line-height: 25px;
    color: #FFFFFF;
    display: block;
    margin-bottom: 8px;
}
.footer-link:hover {
    color: #FFD53D;
}
.footer-note {
    font-family: "Roboto", sans-serif;
    font-size: 17px;
    font-weight: 400;
    line-height: 25px;
    color: #FFFFFF;
    margin-bottom: 12px;
    white-space: nowrap;
}
.talentcorp-logo {
    text-align: right;
    margin-top: 10px;
}
.talentcorp-logo img {
    width: 80%;
    max-width: 100%;
    height: auto;
}
.talentcorp-sub {
    font-family: "Roboto", sans-serif;
    font-size: 13px;
    font-weight: 400;
    color: rgba(255,255,255,0.7);
    text-align: right;
    margin-top: 5px;
    white-space: nowrap;
}
.footer-divider {
    margin: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.55);
}
.social-icons-wrapper {
    display: flex;
    justify-content: center;
    gap: 5px;
    margin: 20px 0;
}
.social-icon-link {
    color: #FFFFFF;
    font-size: 19px;
    width: 35px;
    height: 35px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: transparent;
    transition: color 0.2s;
}
.social-icon-link:hover {
    color: #FFD53D;
}
.twitter-svg {
    width: 18px;
    height: 18px;
    fill: white;
    vertical-align: middle;
}
.copyright-text {
    text-align: center;
    font-family: "Roboto", sans-serif;
    font-size: 17px;
    font-weight: 400;
    color: #FFFFFF;
    margin: 10px 0;
}
.legal-links {
    text-align: center;
    font-family: "Roboto", sans-serif;
    font-size: 15px;
    font-weight: 400;
    color: #FFFFFF;
}
.legal-links a {
    color: #FFFFFF;
    margin: 0 5px;
}
.legal-links a:hover {
    color: #FFD53D;
}

/* ========== NEWSLETTER BAR ========== */
.newsletter-bar {
    background: #c52028;
    padding: 8px 20px;
    text-align: center;
    font-family: "Roboto", sans-serif;
}
.newsletter-bar form {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    max-width: 100%;
    margin: 0 auto;
}
.newsletter-label {
    color: #ffffff;
    font-size: 14px;
    font-weight: 400;
    display: inline-block;
    white-space: nowrap;
}
.newsletter-email {
    background: #fff;
    border: 1px solid #fff;
    padding: 6px 12px;
    font-size: 13px;
    border-radius: 0;
    width: 240px;
    font-family: "Roboto", sans-serif;
    height: 32px;
}
.newsletter-submit {
    background: #22205f;
    border: 1px solid #22205f;
    color: #ffffff;
    padding: 6px 16px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    border-radius: 0;
    font-family: "Roboto", sans-serif;
    height: 32px;
    white-space: nowrap;
}
.newsletter-submit:hover {
    opacity: 0.9;
}

/* ========== BACK TO TOP BUTTON ========== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #CC0000, #ff3333);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 5px 15px rgba(204, 0, 0, 0.3);
    z-index: 1000;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px) scale(1.1);
    background: linear-gradient(135deg, #a30000, #cc0000);
    box-shadow: 0 10px 25px rgba(204, 0, 0, 0.4);
}

.back-to-top:active {
    transform: translateY(0px) scale(1);
}

.back-to-top.show.pulse {
    animation: pulse 0.5s ease-in-out;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
    }
}

/* ========== RESPONSIVE (OTHER SECTIONS) ========== */
@media (max-width: 1200px) {
    .footer-note {
        white-space: normal;
    }
    .talentcorp-sub {
        white-space: normal;
        text-align: center;
    }
    .talentcorp-logo {
        text-align: center;
    }
}

@media (max-width: 1024px) {
    .main-nav {
        gap: 15px;
    }
    .nav-menu {
        gap: 15px;
    }
    .nav-menu li:not(:last-child)::after {
        right: -10px;
    }
    .banner-title {
        font-size: 40px;
    }
    .banner-section {
        padding: 80px 30px;
    }
    .site-footer {
        padding: 50px 30px;
    }
    .footer-col {
        flex: 0 0 25%;
        max-width: 25%;
    }
    .join-title {
        font-size: 40px;
        line-height: 49px;
    }
    .join-subtitle {
        font-size: 16px;
    }
}

@media (max-width: 960px) {
    .header-container {
        flex-wrap: wrap;
    }
    .mobile-toggle {
        display: block;
        order: 2;
    }
    .main-nav {
        order: 3;
        width: 100%;
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }
    .main-nav.open {
        max-height: 500px;
    }
    .nav-menu {
        flex-direction: column;
        width: 100%;
        gap: 0;
        margin: 15px 0;
    }
    .nav-menu li {
        width: 100%;
        position: relative;
    }
    .nav-menu li::after {
        display: none;
    }
    .nav-menu a {
        display: block;
        padding: 12px 0;
        border-bottom: 1px solid #eee;
    }
    .sub-menu {
        position: static;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        padding-left: 20px;
        display: none;
        transform: none;
    }
    .nav-menu li:hover > .sub-menu {
        display: block;
    }
    .btn-login {
        margin: 10px 0 15px;
        text-align: center;
        align-self: stretch;
    }
}

@media (max-width: 768px) {
    .banner-title {
        font-size: 30px;
    }
    .banner-section {
        padding: 50px 20px;
    }
    .intro-title {
        font-size: 30px;
    }
    .tab-btn {
        padding: 12px 24px;
        font-size: 14px;
    }
    .footer-col {
        flex: 0 0 50%;
        max-width: 50%;
        margin-bottom: 20px;
    }
    .site-footer {
        padding: 30px 20px;
    }
    .talentcorp-logo {
        text-align: center;
    }
    .talentcorp-logo img {
        width: 70%;
    }
    .talentcorp-sub {
        text-align: center;
        white-space: normal;
    }
    .footer-note {
        white-space: normal;
    }
    .join-title {
        font-size: 30px;
        line-height: 32px;
    }
    .join-subtitle {
        font-size: 15px;
    }
    .newsletter-label {
        white-space: normal;
    }
    .newsletter-bar form {
        flex-direction: column;
    }
    .newsletter-email {
        width: 90%;
        max-width: 280px;
    }
    .search-wrapper {
        max-width: 100%;
    }
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .card-content {
        padding: 16px;
    }
    .card-header h3 {
        font-size: 18px;
    }
}