:root {
    --primary-green: #70866e;
    --secondary-green: #28A745;
    --primary-gold: #f3ead0;
    --secondary-gold: #c9b887;
    --light-bg: #F8F9FA;
    --dark-text: #333333;
    --soft-white: #FFFFFF;
    --divider-line: 1px solid rgba(255, 215, 0, 0.3);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    color: var(--dark-text);
    background: linear-gradient(135deg, #f8f9fa 0%, #e8f5e9 100%);
    position: relative;
    overflow-x: hidden;
}

body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><circle cx="20" cy="20" r="0.5" fill="%23FFD700" opacity="0.5"/><circle cx="50" cy="30" r="0.7" fill="%23FFD700" opacity="0.7"/><circle cx="80" cy="20" r="0.3" fill="%23FFD700" opacity="0.3"/><circle cx="30" cy="70" r="0.4" fill="%23FFD700" opacity="0.4"/><circle cx="70" cy="80" r="0.6" fill="%23FFD700" opacity="0.6"/></svg>');
    background-size: 200px 200px;
    opacity: 0.1;
    z-index: -1;
}
html {
    height: 100%;
}

body {
    font-family: 'Roboto', sans-serif;
    color: var(--dark-text);
    background: url('../images/back3.jpg') no-repeat center center fixed;
    background-size: cover;
    position: relative;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
    min-height: 100%;
    display: flex;
    flex-direction: column;
}

body::after {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
     /* Adjust opacity as needed */
    z-index: -1;
}
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Roboto', serif;
    color: var(--secondary-gold);
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

p {
    line-height: 1.6;
    margin-bottom: 1rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    text-align: center;
}

.btn-primary {
    background-color: var(--primary-green);
    color: var(--primary-gold);
    border: 2px solid var(--primary-green);
}

.btn-primary:hover {
box-shadow: 0 12px 40px rgba(46,139,87,0.16), 0 4px 16px rgba(0,0,0,0.10);
}

.btn-outline {
    background-color: var(--primary-green);
    color: var(--primary-gold);
    border: 2px solid var(--primary-green);
    margin-right: 0.5rem;
}

.btn-outline:hover {
    background-color: transparent;
   box-shadow: 0 12px 40px rgba(46,139,87,0.16), 0 4px 16px rgba(0,0,0,0.10);
}

.btn-login {
    background: var(--secondary-gold);
    color: #fff !important;
    border: 2px solid var(--secondary-gold);
    font-weight: bold;
    box-shadow: 0 2px 8px rgba(40,167,69,0.10);
    transition: background 0.2s, color 0.2s;
}
.btn-login:hover {
    background: #fff;
    color: var(--secondary-green) !important;
}

/* Header Styles */
.main-header {
    
    background-color: var(--primary-green);
    padding: 0.8rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(8px);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}




.logo-image {
    width: 50px;
    height: auto;
    object-fit: cover;
    border-radius: 10px;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 0.5rem;
    margin: 0;
    padding: 0;
}

.main-nav a {
    color: var(--primary-gold);
    text-decoration: none;
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
    border-radius: 4px;
    font-weight: 500;
}

.main-nav a:hover {
    color: var(--secondary-gold);

}

.main-nav a.active {
    color: var(--primary-gold);
    font-weight: 600;
}

.auth-buttons {
    display: flex;
    gap: 0.5rem;
}

.profile-dropdown {
    position: relative;
    display: flex;
    align-items: center;
}

.profile-thumb {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--secondary-gold);
    cursor: pointer;
    transition: box-shadow 0.2s;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.profile-menu {
    display: none;
    position: absolute;
    right: 0;
    top: 52px;
    background: var(--primary-gold);
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
    min-width: 160px;
    z-index: 9999;
    padding: 0.5rem 0;
    border: 1px solid var(--secondary-gold);
    animation: fadeIn 0.2s;
}
.profile-menu.show {
    display: block;
}
.profile-menu a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-green);
    padding: 0.75rem 1.25rem;
    text-decoration: none;
    font-weight: 500;
    transition: background 0.15s;
}
.profile-menu a:hover {
    background: var(--secondary-gold);
    color: #fff;
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px);}
    to { opacity: 1; transform: translateY(0);}
}

/* Hamburger styles */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    width: 38px;
    height: 38px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1101;
    margin-left: 1rem;
}
.hamburger span {
    display: block;
    height: 4px;
    width: 28px;
    background: var(--secondary-gold);
    margin: 4px 0;
    border-radius: 2px;
    transition: all 0.3s;
}

/* Mobile menu */
.mobile-menu {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(255,255,255,0.97);
    z-index: 1100;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 90px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.18);
    transition: all 0.3s;
}
.mobile-menu ul {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
    width: 100%;
    text-align: center;
}
.mobile-menu ul li {
    margin: 1.2rem 0;
}
.mobile-menu ul a {
    color: var(--primary-green);
    font-size: 1.2rem;
    font-weight: 600;
    text-decoration: none;
    padding: 0.7rem 1.5rem;
    border-radius: 8px;
    display: inline-block;
    transition: background 0.2s, color 0.2s;
}
.mobile-menu ul a:hover {
    background: var(--secondary-gold);
    color: #fff;
}
.mobile-auth {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.7rem;
}
.mobile-menu.show {
    display: flex;
}
body.mobile-menu-open {
    overflow: hidden;
}

/* Responsive header adjustments */
@media (max-width: 900px) {
    .main-header .container {
        flex-wrap: nowrap;
        justify-content: space-between;
        align-items: center;
    }
    .main-nav,
    .auth-buttons {
        display: none !important;
    }
    .hamburger {
        display: flex;
    }
    .mobile-menu {
        display: none;
    }
    .mobile-menu.show {
        display: flex;
    }
}
/* Responsive adjustments */
@media (max-width: 768px) {
    .container {
        flex-wrap: wrap;
        gap: 1rem;
    }
    
    .logo {
        order: 1;
    }
    
    .auth-buttons {
        order: 2;
        margin-left: auto;
    }
    
    .main-nav {
        order: 3;
        width: 100%;
    }
    
    .main-nav ul {
        justify-content: center;
    }
    .hero {
        height: 100vh;
      
    }
}
/* Hero Section */
.hero {
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: var(--primary-gold);
    padding-top: 80px;
    padding-bottom: 80px;
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    text-align: center;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 3rem;
    color: #e0cc88;
    text-shadow: none;
    text-align: center;
    width: 100%;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: #e0cc88;
}

/* Cards */
.card {
    background: var(--primary-gold);
    border-radius: 15px;
    padding: 2rem;
    margin: 2rem 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(8px);
    border: 1px solid var(--secondary-gold);
    position: relative;
    overflow: hidden;
    
}

.card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    
    background-size: 200px 200px;
    opacity: 0.1;
    z-index: -1;
    backdrop-filter: blur(8px);
}

/* About Section */
.about-section {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.about-text {
    flex: 1;
}

.about-image {
    flex: 1;
    text-align: center;
}

.about-image img {
    max-width: 100%;
    height: 300px;
    border-radius: 10px;
}

/* How It Works Section */
.content-container {
    display: flex;
    gap: 2rem;
}

.how-it-works {
    flex: 35%;
}

.testimonials-experts {
    flex: 65%;
    display: flex;
    flex-direction: column;
}

.how-it-works-step {
    display: flex;
    margin-bottom: 1.5rem;
    align-items: flex-start;
}

.step-icon {
    background-color: var(--secondary-gold);
    color: var(--primary-green);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    flex-shrink: 0;
}

.step-content h3 {
    color: var(--primary-green);
    margin-bottom: 0.5rem;
}

.divider-line {
    height: 1px;
    background-color: var(--secondary-gold);
    opacity: 0.3;
    margin: 1.5rem 0;
}

/* Updated Testimonials Section */
.testimonials {
    margin-bottom: 2rem;
    width: 100%;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1.5rem;
}

.testimonial-card {
    background-color: var(--primary-gold);
    border-radius: 10px;
    padding: 1rem;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
}

.testimonial-image {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--secondary-gold);
    margin: 0 auto 1rem;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    height: 60px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
}

.testimonial-author {
    font-weight: 500;
    color: var(--primary-green);
    margin-bottom: 0.25rem;
}

.star-rating {
    color: var(--secondary-gold);
    font-size: 0.8rem;
}

/* Experts Section */
.experts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1.5rem;
}

.expert-card {
    background-color: transparent;
    border-radius: 10px;
    padding: 1rem;
    text-align: center;
    /* box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05); */
    transition: transform 0.3s ease;
}

.expert-card:hover {
    transform: translateY(-5px);
}

.expert-image {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--secondary-gold);
    margin: 0 auto 1rem;
}

.expert-name {
    color: var(--primary-green);
    margin-bottom: 0.5rem;
}

.expert-specialty {
    color: var(--dark-text);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.expert-rating {
    color: var(--secondary-gold);
    margin-bottom: 1rem;
}

/* Footer */
main {
    flex: 1 0 auto;
}

.main-footer {
    background-color: var(--primary-green);
    color: var(--primary-gold);
    padding: 1.5rem 0;
    font-size: 1rem;
    flex-shrink: 0;
    margin-top: auto;
}

.footer-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    width: 90%;
    flex-wrap: wrap;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--primary-gold);
    text-decoration: none;
    opacity: 0.85;
    font-weight: 500;
    transition: opacity 0.2s;
}

.footer-links a:hover {
    opacity: 1;
    text-decoration: underline;
}

#web-bg-canvas {
    position: fixed;
    top: 0; left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 1; /* Just above background, below header/footer */
}

@media (max-width: 700px) {
    .footer-flex {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    .footer-links {
        justify-content: center;
        width: 100%;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .about-section, .content-container {
        flex-direction: column;
    }
    
    .how-it-works, .testimonials-experts {
        width: 100%;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    .hero {
        height: 100vh;
      
    }
    .main-nav {
        display: none;
    }
}

/* Add these styles to your CSS file */

.content-container {
    display: flex;
    gap: 2rem;
    position: relative;
}

.content-container::after {
    content: "";
    position: absolute;
    left: 35%;
    top: 0;
    bottom: 0;
    width: 1px;
    background-color: var(--secondary-gold);
    opacity: 0.3;
}

.how-it-works {
    flex: 35%;
    padding-right: 2rem;
}

.right-content {
    flex: 65%;
    display: flex;
    flex-direction: column;
}

.testimonials-row, .experts-row {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
   
    scrollbar-width: none; /* For Firefox */
}

.testimonials-row::-webkit-scrollbar, .experts-row::-webkit-scrollbar {
    display: none; /* For Chrome/Safari */
}

.testimonial-card {
    min-width: 150px;
    background-color: var(--primary-gold);
    border-radius: 10px;
    padding: 1rem;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.testimonial-card:hover {
    transform: translateY(-5px);
}

.testimonial-image {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--secondary-gold);
    margin: 0 auto 0.5rem;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 0.5rem;
    font-size: 0.8rem;
    height: 40px;
    overflow: hidden;
}

.testimonial-author {
    font-weight: 500;
    color: var(--primary-green);
    margin-bottom: 0.25rem;
    font-size: 0.9rem;
}

.star-rating {
    color: var(--secondary-gold);
    font-size: 0.7rem;
}

.horizontal-divider {
    height: 1px;
    background-color: var(--secondary-gold);
    opacity: 0.3;
    margin: 1.5rem 0;
    width: 100%;
}

.experts-row {
    gap: 1.5rem;
}

.expert-card {
    min-width: 200px;
    background-color: var(--primary-gold);
    border-radius: 10px;
    padding: 1rem;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.expert-card:hover {
    transform: translateY(-5px);
}

.expert-image {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--secondary-gold);
    margin: 0 auto 0.5rem;
}

.expert-name {
    color: var(--primary-green);
    margin-bottom: 0.25rem;
    font-size: 1rem;
}

.expert-specialty {
    color: var(--dark-text);
    font-size: 0.8rem;
    margin-bottom: 0.5rem;
}

.expert-rating {
    color: var(--secondary-gold);
    margin-bottom: 0.5rem;
    font-size: 0.8rem;
}

.expert-card .btn-outline {
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
}

@media (max-width: 768px) {
    .content-container {
        flex-direction: column;
    }
    
    .content-container::after {
        display: none;
    }
    
    .how-it-works {
        padding-right: 0;
        margin-bottom: 2rem;
    }
    
    .testimonials-row, .experts-row {
        flex-wrap: wrap;
        overflow-x: visible;
    }
    
    .testimonial-card, .expert-card {
        min-width: calc(50% - 0.5rem);
    }
}

/* Login Modal Styles */
.login-modal-overlay {
    display: none;
    position: fixed;
    z-index: 99999;
    left: 0; 
    top: 0;
    width: 100vw; 
    height: 100vh;
    background: rgba(112, 134, 110, 0.75);
    backdrop-filter: blur(8px);
}
.login-modal-overlay[style*="display: block"],
.login-modal-overlay[style*="display:block"] {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}
.login-modal-content {
    background: #f3ead0;
    border-radius: 24px;
    border: 3px solid #70866e;
    max-width: 450px;
    width: 95%;
    padding: 2.5rem 2rem 2rem 2rem;
    position: relative;
    box-shadow: 0 16px 48px rgba(112, 134, 110, 0.25), 0 2px 8px rgba(0,0,0,0.1);
    animation: modalPop 0.35s;
}
@keyframes modalPop {
    0% { transform: scale(0.95); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}
.login-modal-content .login-header {
    text-align: center;
    margin-bottom: 1.5rem;
}
.login-modal-content h1{
    color: #70866e;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}
.login-modal-content .login-header p {
    color: #888;
    font-size: 1rem;
}
.login-modal-close {
    position: absolute;
    top: 1.2rem;
    right: 1.2rem;
    font-size: 1.7rem;
    color: #888;
    cursor: pointer;
    font-weight: bold;
    z-index: 2;
    background: none;
    border: none;
    transition: color 0.3s;
}
.login-modal-close:hover {
    color: #70866e;
}
.login-modal-content .login-card {
    background: #fff;
    border-radius: 16px;
    padding: 2rem;
    border: 2px solid #c9b887;
}
.login-modal-content .form-group {
    margin-bottom: 1.2rem;
}
.login-modal-content .form-label {
    display: block;
    font-size: 1rem;
    color: #70866e;
    margin-bottom: 0.5rem;
    font-weight: 600;
}
.login-modal-content .form-control {
    width: 100%;
    padding: 0.8rem 1rem;
    border-radius: 8px;
    border: 2px solid #c9b887;
    font-size: 1rem;
    background: #fff;
    color: #333;
    transition: border 0.3s, box-shadow 0.3s;
}
.login-modal-content .form-control:focus {
    border-color: #70866e;
    outline: none;
    box-shadow: 0 0 0 3px rgba(112, 134, 110, 0.1);
}
.login-modal-content .submit-btn {
    width: 100%;
    padding: 0.9rem 2rem;
    background: #70866e;
    color: #f3ead0;
    border: 2px solid #70866e;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(112, 134, 110, 0.25);
}
.login-modal-content .submit-btn:hover {
    background: transparent;
    color: #70866e;
    box-shadow: 0 8px 20px rgba(112, 134, 110, 0.35);
    transform: translateY(-2px);
}
.login-modal-content .forgot-password-link {
    color: #70866e;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
}
.login-modal-content .forgot-password-link:hover {
    color: #c9b887;
    text-decoration: underline;
}
.login-modal-content .signup-link {
    color: #70866e;
    text-decoration: none;
    font-weight: 600;
}
.login-modal-content .signup-link:hover {
    color: #c9b887;
    text-decoration: underline;
}
.login-modal-content .google-btn {
    display: inline-block;
    width: 100%;
    padding: 0.8rem 1.5rem;
    background: #fff;
    color: #444;
    border: 2px solid #c9b887;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    text-align: center;
}
.login-modal-content .google-btn:hover {
    background: #f5f5f5;
    border-color: #70866e;
}

/* Tinder-inspired Profile Card */
.profile-card-tinder {
   
    border-radius: 22px;
   
    padding: 2rem 1.5rem 1.5rem 1.5rem;
    margin-bottom: 1.5rem;
    position: relative;
    transition: box-shadow 0.2s;
   
}

.profile-card-tinder:hover {
    box-shadow: 0 12px 40px rgba(46,139,87,0.16), 0 4px 16px rgba(0,0,0,0.10);
}

.profile-bio-tinder {
    font-style: normal;
    background: none;
    border-left: none;
    color: var(--secondary-gold);
    font-size: 1rem;
    margin-bottom: 1.2rem;
    margin-top: 0.5rem;
    padding: 0 0.5rem;
    text-align: center;
    text-shadow: var(--primary-gold) 0 1px 2px;
}

.profile-main-details {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 1.1rem;
    flex-wrap: wrap;
}



.profile-detail i {
    color: var(--primary-gold);
    font-size: 1.1rem;
}

.profile-secondary-details {
    display: flex;
    justify-content: center;
    gap: 1.2rem;
    margin-bottom: 1.2rem;
    flex-wrap: wrap;
}

.profile-secondary-details > div {
    text-align: center;
    min-width: 70px;
}

.profile-secondary-details .detail-label {
    font-size: 0.78rem;
    color: var(--primary-green);
    opacity: 0.7;
    display: block;
    margin-bottom: 0.1rem;
    font-weight: 500;
    letter-spacing: 0.01em;
}

.profile-secondary-details .detail-value {
    font-size: 1.02rem;
    color: var(--primary-green);
    font-weight: 600;
    display: block;
}

.profile-interests {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    margin: 1.1rem 0 0.5rem 0;
}

.interest-chip {
    display: inline-block;
    background: rgba(46, 139, 87, 0.05);
    color: var(--primary-green);
    font-size: 0.78rem;
    font-weight: 500;
    border-radius: 18px;
    padding: 0.38rem 1.1rem;
    box-shadow: 0 1px 4px rgba(46,139,87,0.08);
    border: none;
    margin-bottom: 0.2rem;
    transition: background 0.2s, color 0.2s;
}

.interest-chip-title {
    display: inline-block;
    
    color: var(--primary-green);
    font-size: 1rem;
    font-weight: 500;
    border-radius: 18px;
    padding: 0.38rem 1.1rem;
   
    border: none;
    margin-bottom: 0.2rem;
    transition: background 0.2s, color 0.2s;
}

.interest-chip:hover {
box-shadow: 0 12px 40px rgba(46,139,87,0.16), 0 4px 16px rgba(0,0,0,0.10);
}

.interest-chip-none {
    background: #eee;
    color: #888;
}

@media (max-width: 600px) {
    .profile-main-details, .profile-secondary-details, .profile-interests {
        flex-direction: column;
        align-items: center;
        gap: 0.7rem;
    }
    .profile-card-tinder {
        padding: 1.2rem 0.5rem;
    }
}

/* Rotating cell1.png */
.cell1-rotating {
    animation: rotateCell1 12s linear infinite;
    display: inline-block;
}

@keyframes rotateCell1 {
    0% { transform: rotate(0deg);}
    100% { transform: rotate(360deg);}
}
.card, .container, main {
    position: relative;
    z-index: 2;
}

/* Story Modal Styles */
#story-modal.login-modal-overlay {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0; top: 0;
    width: 100vw; height: 100vh;
    background: rgba(0,0,0,0.45);
    align-items: center;
    justify-content: center;
}

#story-modal[style*="display: flex"] {
    display: flex !important;
}

.story-modal-content {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 8px 40px rgba(46,139,87,0.18), 0 2px 8px rgba(0,0,0,0.10);
    max-width: 700px;
    width: 95vw;
    padding: 0;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    animation: fadeIn 0.2s;
    margin: 0 auto;
}

.story-modal-flex {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    gap: 0;
}

.story-modal-img-wrap {
    background: #f8f9fa;
    border-radius: 16px 0 0 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 220px;
    max-width: 260px;
    padding: 32px 18px;
}

.story-modal-img {
    width: 180px;
    height: 180px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 2px 16px rgba(46,139,87,0.10);
    background: #fff;
}

.story-modal-info {
    flex: 1;
    padding: 32px 32px 32px 24px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.story-modal-info h2 {
    margin-top: 0;
    margin-bottom: 0.5em;
    font-size: 2rem;
    font-weight: 700;
}

#modal-story-rating {
    margin-bottom: 0.5em;
    font-size: 1.2em;
    color: #c9b887;
}

#modal-story-name {
    font-weight: 600;
    color: #70866e;
    margin-bottom: 1em;
}

#modal-story-description {
    color: #333;
    font-size: 1.1em;
    line-height: 1.5;
}

.login-modal-close {
    position: absolute;
    top: 12px;
    right: 18px;
    background: none;
    border: none;
    font-size: 2rem;
    color: #70866e;
    cursor: pointer;
    z-index: 10;
    transition: color 0.2s;
}
.login-modal-close:hover {
    color: #c9b887;
}

@media (max-width: 600px) {
    .story-modal-content {
        max-width: 98vw;
        padding: 0;
    }
    .story-modal-flex {
        flex-direction: column;
    }
    .story-modal-img-wrap {
        border-radius: 16px 16px 0 0;
        min-width: 0;
        max-width: 100vw;
        padding: 18px 0 0 0;
        justify-content: center;
    }
    .story-modal-img {
        width: 120px;
        height: 120px;
    }
    .story-modal-info {
        padding: 18px 12px 24px 12px;
    }
}

/* ========================================
   HOMEPAGE ENHANCEMENTS
   ======================================== */

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Hero badge */
.hero-badge {
    display: inline-block;
    background: rgba(201, 184, 135, 0.25);
    border: 1px solid var(--secondary-gold);
    color: var(--secondary-gold);
    padding: 0.4rem 1.2rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    margin-bottom: 3rem;
    backdrop-filter: blur(4px);
    animation: fadeSlideDown 0.8s ease both;
}

/* Hero content animations */
.hero-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.hero h1 {
    animation: fadeSlideUp 0.9s ease 0.1s both;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: #e0cc88;
    margin-bottom: 2rem;
    line-height: 1.7;
    animation: fadeSlideUp 0.9s ease 0.25s both;
}

.hero .btn {
    animation: fadeSlideUp 0.9s ease 0.4s both;
}

/* Scroll indicator */
.hero-scroll-indicator {
    margin-top: 3rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    animation: fadeSlideUp 1s ease 0.6s both;
}

.hero-scroll-indicator span {
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--secondary-gold);
    opacity: 0.7;
}

.scroll-arrow {
    width: 22px;
    height: 22px;
    border-right: 2px solid var(--secondary-gold);
    border-bottom: 2px solid var(--secondary-gold);
    transform: rotate(45deg);
    animation: bounceDown 1.6s ease infinite;
    opacity: 0.7;
}

@keyframes bounceDown {
    0%, 100% { transform: rotate(45deg) translateY(0); opacity: 0.7; }
    50% { transform: rotate(45deg) translateY(6px); opacity: 1; }
}

@keyframes fadeSlideUp {
    from { opacity: 0; transform: translateY(28px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeSlideDown {
    from { opacity: 0; transform: translateY(-16px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ── Hero Card Background ── */
.hero-card-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}
.hero-bg-grid {
    display: flex;
    gap: 14px;
    transform: rotate(-8deg) scale(1.3);
    transform-origin: 0 50%;
    position: absolute;
    top: -25%;
    left: -20%;
}
.hero-bg-col {
    display: flex;
    flex-direction: column;
    gap: 14px;
    flex-shrink: 0;
}
.hero-bg-card {
    width: 190px;
    height: 260px;
    border-radius: 16px;
    overflow: hidden;
    flex-shrink: 0;
    position: relative;
}
.hero-bg-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.hero-bg-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 10px 12px;
    background: linear-gradient(transparent, rgba(40, 55, 40, 0.82));
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.hero-bg-name {
    font-size: 13px;
    font-weight: 700;
    color: #f3ead0;
    line-height: 1;
}
.hero-bg-bio {
    font-size: 11px;
    color: rgba(201, 184, 135, 0.9);
    line-height: 1;
}
.hero-bg-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: radial-gradient(
        ellipse at center,
        rgba(42, 56, 40, 0.62) 0%,
        rgba(30, 42, 28, 0.88) 100%
    );
}
@keyframes heroScrollUp {
    0%   { transform: translateY(0); }
    100% { transform: translateY(-50%); }
}
@keyframes heroScrollDown {
    0%   { transform: translateY(-50%); }
    100% { transform: translateY(0); }
}
@media (max-width: 768px) {
    .hero-bg-grid { gap: 10px; left: -30%; transform: rotate(-8deg) scale(1.3); transform-origin: 0 50%; }
    .hero-bg-card { width: 150px; height: 210px; }
}

/* Stats strip */
.stats-strip {
    background: var(--primary-gold);
    border-top: 1px solid rgba(201, 184, 135, 0.5);
    border-bottom: 1px solid rgba(201, 184, 135, 0.5);
    padding: 1.8rem 0;
    position: relative;
    z-index: 2;
}

.stats-container {
    max-width: 1100px;
    margin: 0 auto;
    width: 90%;
    display: flex;
    align-items: center;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 1rem;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.2rem;
    flex: 1;
    min-width: 120px;
}

.stat-number {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-green);
    line-height: 1.1;
}

.stat-label {
    font-size: 0.78rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--dark-text);
    opacity: 0.65;
    font-weight: 500;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--secondary-gold);
    opacity: 0.3;
    flex-shrink: 0;
}

@media (max-width: 600px) {
    .stat-divider { display: none; }
    .stats-container { gap: 1.5rem 2rem; }
    .stat-item { min-width: 40%; }
}

/* Scroll-reveal animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

.animate-on-scroll.delay-1 { transition-delay: 0.1s; }
.animate-on-scroll.delay-2 { transition-delay: 0.2s; }
.animate-on-scroll.delay-3 { transition-delay: 0.3s; }

/* Section spacing */
section.container {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

/* About section enhancements */
.about-section {
    gap: 3rem;
}

.about-text h2 {
    position: relative;
    padding-bottom: 0.75rem;
    margin-bottom: 1.25rem;
}

.about-text h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 2px;
    background: var(--secondary-gold);
    border-radius: 2px;
}

/* Card hover lift */
.card {
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

/* Step icon enhancements */
.step-icon {
    width: 48px;
    height: 48px;
    font-size: 1.1rem;
    box-shadow: 0 4px 12px rgba(201, 184, 135, 0.35);
    transition: transform 0.3s ease;
}

.how-it-works-step:hover .step-icon {
    transform: scale(1.12) rotate(-5deg);
}

/* Responsive hero fixes */
@media (max-width: 768px) {
    .hero {
        min-height: 100vh;
        padding-top: 90px;
    }
    .hero h1 {
        font-size: 2.2rem;
    }
    .hero-subtitle {
        font-size: 1rem;
    }
}

/* ========================================
   HOME PAGE — MODERN REDESIGN (hp-*)
   Scoped so no other page is affected
   ======================================== */

/* ── Common section wrapper ── */
.hp-section {
    padding: 2.5rem 0;
    position: relative;
    z-index: 2;
}

.hp-section-head {
    text-align: center;
    margin-bottom: 3.5rem;
}
.hp-section-head h2 {
    font-size: 2.6rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}
.hp-section-head h2::after {
    content: '';
    display: block;
    width: 48px;
    height: 3px;
    background: var(--secondary-gold);
    border-radius: 2px;
    margin: 0.55rem auto 0;
}

.hp-tag {
    display: inline-block;
    background: rgba(201, 184, 135, 0.18);
    border: 1px solid var(--secondary-gold);
    color: var(--secondary-gold);
    padding: 0.28rem 1rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 0.65rem;
}

.hp-section-sub {
    color: var(--dark-text);
    opacity: 0.65;
    font-size: 1rem;
    margin: 0;
}

/* ── About ── */
.hp-about {
    display: flex;
    align-items: center;
    gap: 4rem;
    background: var(--primary-gold);
    border-radius: 22px;
    padding: 3.5rem 3rem;
    border: 1px solid rgba(201, 184, 135, 0.5);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.09);
    position: relative;
    overflow: hidden;
}

.hp-about::before {
    content: '';
    position: absolute;
    top: -60px; right: -60px;
    width: 220px; height: 220px;
    border-radius: 50%;
    background: rgba(201, 184, 135, 0.12);
    pointer-events: none;
}

.hp-about-text { flex: 1; }

.hp-about-text h2 {
    position: relative;
    padding-bottom: 0.75rem;
    margin-bottom: 1.2rem;
    margin-top: 0.5rem;
}
.hp-about-text h2::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 60px; height: 2px;
    background: var(--secondary-gold);
    border-radius: 2px;
}

.hp-about-img {
    flex: 0 0 240px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ── Cosmic Intro (replaces About) ── */
.cc-intro {
    display: flex;
    align-items: stretch;
    min-height: 360px;
    background: var(--primary-gold);
    border-radius: 20px;
    overflow: hidden;
}

.cc-intro-left {
    flex: 0 0 38%;
    background: #788b72;
    color: #e9edc9;
    padding: 2.5rem 3.5rem 2.5rem 2.5rem;
    border-radius: 0 130px 130px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.cc-intro-left h2 {
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: 2px;
    margin: 0 0 0.8rem;
    color: #e9edc9;
}
.cc-intro-sub {
    font-size: 1rem;
    margin: 0 0 1.6rem;
    color: #e9edc9;
    opacity: 0.9;
}
.cc-intro-url {
    display: inline-block;
    padding: 0.65rem 2rem;
    border: 2px solid #e9edc9;
    border-radius: 40px;
    font-size: 0.9rem;
    letter-spacing: 0.03em;
    color: #e9edc9;
    width: fit-content;
}

.cc-intro-center {
    flex: 0 0 28%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1.5rem 0.5rem;
}
.cc-zodiac-ring {
    width: 260px;
    height: 260px;
    border-radius: 50%;
    border: 2px dashed rgba(124,143,120,0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: 0 0 0 10px rgba(120,139,114,0.07), 0 0 0 22px rgba(120,139,114,0.04);
    transition: box-shadow 0.35s ease;
}
.cc-zodiac-ring:hover {
    box-shadow: 0 0 0 14px rgba(120,139,114,0.13), 0 0 0 30px rgba(120,139,114,0.06);
}
.cc-zodiac-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.cc-intro-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    justify-content: center;
    padding: 1.5rem 1rem 1.5rem 0;
}
.cc-feature {
    display: flex;
    align-items: flex-start;
    gap: 0.9rem;
    background: #e8e3cc;
    padding: 1rem 1.1rem;
    border-radius: 14px;
    border: 1px solid rgba(143, 160, 129, 0.28);
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.cc-feature:hover {
    border-color: rgba(143, 160, 129, 0.6);
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
}
.cc-feature-icon {
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #788b72;
    color: #f3ead0;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}
.cc-feature-text h3 {
    margin: 0 0 0.35rem;
    font-size: 0.88rem;
    font-weight: 700;
    color: #6b7c67;
    letter-spacing: 0.04em;
}
.cc-feature-text p {
    margin: 0;
    font-size: 0.83rem;
    color: #6b7c67;
    line-height: 1.55;
}

@media (max-width: 1000px) {
    .cc-intro {
        flex-direction: column;
        min-height: unset;
    }
    .cc-intro-left {
        border-radius: 16px 16px 0 0;
        padding: 2rem 1.8rem;
    }
    .cc-intro-left h2 { font-size: 1.6rem; }
    .cc-intro-center { padding: 1.5rem; }
    .cc-intro-right { padding: 0 1.2rem 1.5rem; }
}

/* ── How It Works ── */
.hp-steps {
    display: flex;
    align-items: stretch;
    gap: 0;
}

.hp-step-card {
    flex: 1;
    background: var(--primary-gold);
    border: 1px solid rgba(201, 184, 135, 0.5);
    border-radius: 20px;
    padding: 2.5rem 2rem 2rem;
    text-align: center;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.07);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}
.hp-step-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.13);
}

.hp-step-num {
    position: absolute;
    top: 0.75rem; right: 1.25rem;
    font-size: 4rem;
    font-weight: 900;
    color: var(--secondary-gold);
    opacity: 0.12;
    line-height: 1;
    user-select: none;
}

.hp-step-icon {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background: rgba(112, 134, 110, 0.12);
    border: 2px solid var(--primary-green);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0.25rem auto 1.25rem;
    font-size: 1.6rem;
    color: var(--primary-green);
    transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease;
}
.hp-step-card:hover .hp-step-icon {
    transform: scale(1.12) rotate(-6deg);
    background: var(--primary-green);
    color: var(--primary-gold);
}

.hp-step-card h3 { color: var(--primary-green); margin-bottom: 0.7rem; font-size: 1.15rem; }
.hp-step-card p  { font-size: 0.9rem; opacity: 0.75; margin: 0; line-height: 1.6; }

.hp-step-arrow {
    flex: 0 0 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary-gold);
    opacity: 0.5;
    font-size: 1.3rem;
    align-self: center;
}

/* ── Stories marquee ── */
/* ── Success Stories float grid ── */
@keyframes cardFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    35%       { transform: translateY(-10px) rotate(0.4deg); }
    70%       { transform: translateY(-5px) rotate(-0.3deg); }
}

.hp-float-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1.25rem;
}

.home-story-card {
    background: var(--primary-gold);
    border: 1px solid rgba(201, 184, 135, 0.55);
    border-radius: 20px;
    padding: 1.25rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    cursor: pointer;
    animation: cardFloat 4s ease-in-out infinite;
    animation-delay: var(--fd, 0s);
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
}
.home-story-card:hover {
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
    border-color: var(--secondary-gold);
}
.home-story-card::before {
    content: '\201C';
    position: absolute;
    top: 0.2rem;
    left: 1rem;
    font-size: 3.5rem;
    color: var(--secondary-gold);
    opacity: 0.18;
    font-family: Georgia, serif;
    line-height: 1;
    pointer-events: none;
}
.home-story-card:nth-child(2n) { animation-duration: 5.2s; }
.home-story-card:nth-child(3n) { animation-duration: 6s;   }
.home-story-card:nth-child(4n) { animation-duration: 4.6s; }
.home-story-card:nth-child(5n) { animation-duration: 5.7s; }

.home-story-img {
    width: 58px;
    height: 58px;
    flex-shrink: 0;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--secondary-gold);
}

.home-story-body {
    flex: 1;
    min-width: 0;
}

.home-story-text {
    font-style: italic;
    font-size: 0.8rem;
    margin: 0 0 0.35rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    color: var(--dark-text);
    opacity: 0.8;
    line-height: 1.45;
}

.home-story-author {
    font-weight: 700;
    color: var(--primary-green);
    font-size: 0.82rem;
    margin: 0 0 0.3rem;
}

.home-story-stars {
    color: var(--secondary-gold);
    font-size: 0.68rem;
}

/* ── Experts grid ── */
/* ── Expert Cards ── */
.hp-experts-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}

.home-expert-card {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    text-align: center;
    border: 1.5px solid #d8e8d8;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
    padding-top: 1.25rem;
}
.home-expert-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(46, 139, 87, 0.12);
    border-color: var(--primary-green);
}

.home-expert-img {
    width: 78px;
    height: 78px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #d8e8d8;
    margin: 0 auto 0.75rem;
    display: block;
}

.home-expert-name {
    color: #2e3c2e;
    font-size: 1rem;
    font-weight: 700;
    margin: 0 0 0.2rem;
    padding: 0 0.75rem;
    line-height: 1.3;
}

.home-expert-specialty {
    color: var(--primary-green);
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.45rem;
    padding: 0 0.75rem;
}

.home-expert-rating {
    color: #888;
    font-size: 0.78rem;
    margin-bottom: 0.3rem;
}

.home-expert-consults {
    font-size: 0.7rem;
    color: #999;
    margin-bottom: 1rem;
}

.home-expert-card .btn-outline {
    display: block;
    margin: auto 1rem 1.1rem;
    padding: 0.5rem 0;
    font-size: 0.8rem;
    background: transparent;
    color: #70866e;
    border: 1.5px solid rgba(112,134,110,0.55);
    border-radius: 50px;
    font-weight: 600;
    letter-spacing: 0.03em;
    transition: background 0.25s, color 0.25s, border-color 0.25s;
}
.home-expert-card .btn-outline:hover {
    background: var(--primary-green);
    border-color: var(--primary-green);
    color: #fff;
}

/* ── Stories Marquee ── */
.hp-stories-marquee {
    overflow: hidden;
    margin: 0 -3rem; /* bleed into hp-feat-card padding */
    padding: 14px 3rem 0; /* top room so floating cards aren't clipped */
    -webkit-mask-image: linear-gradient(to right,
        transparent 0%,
        black 15%,
        black 85%,
        transparent 100%);
    mask-image: linear-gradient(to right,
        transparent 0%,
        black 15%,
        black 85%,
        transparent 100%);
}
.hp-stories-marquee:hover .hp-stories-track { animation-play-state: paused; }

.hp-stories-track {
    display: flex;
    gap: 1.25rem;
    padding-bottom: 0.5rem;
    will-change: transform;
}
.hp-stories-track + .hp-stories-track { margin-top: 1.25rem; }

.hp-stories-track .home-story-card {
    flex: 0 0 240px;
    min-width: 240px;
}

@keyframes storiesRTL {
    from { transform: translateX(0); }
    to   { transform: translateX(calc(-4 * (240px + 1.25rem))); }
}
@keyframes storiesLTR {
    from { transform: translateX(calc(-4 * (240px + 1.25rem))); }
    to   { transform: translateX(0); }
}

.hp-stories-rtl { animation: storiesRTL 22s linear infinite; }
.hp-stories-ltr { animation: storiesLTR 22s linear infinite; }

/* ── Responsive ── */
@media (max-width: 960px) {
    .hp-steps {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }
    .hp-step-arrow {
        font-size: 1rem;
        transform: rotate(90deg);
        margin: -0.25rem auto;
    }
    .hp-about {
        flex-direction: column;
        padding: 2.5rem 2rem;
        gap: 2rem;
    }
    .hp-about-img { flex: unset; }
    .hp-experts-grid { grid-template-columns: repeat(2, 1fr); }
    .hp-stories-marquee { margin: 0 -1.5rem; padding: 14px 1.5rem 0; }
}

@media (max-width: 600px) {
    .hp-section { padding: 1.5rem 0; }
    .hp-experts-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    .home-expert-img  { width: 70px; height: 70px; }
}

/* ════════════════════════════════════════
   BUMBLE-INSPIRED HOMEPAGE ADDITIONS
════════════════════════════════════════ */

/* ── Stats Bar ── */
.hp-stats-bar {
    background: #788b72;
    padding: 2.5rem 0;
    position: relative;
    z-index: 2;
}
.hp-stats-grid {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.hp-stat {
    flex: 1;
    text-align: center;
    padding: 0.5rem 1rem;
}
.hp-stat-num {
    display: block;
    font-size: 2.2rem;
    font-weight: 800;
    color: #f3ead0;
    line-height: 1;
    margin-bottom: 0.45rem;
    letter-spacing: -0.5px;
}
.hp-stat-label {
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(243, 234, 208, 0.7);
}
.hp-stat-div {
    width: 1px;
    height: 44px;
    background: rgba(243, 234, 208, 0.25);
    flex-shrink: 0;
}

/* ── Alternating Feature Sections ── */
.hp-feat-row {
    display: flex;
    align-items: center;
    gap: 5rem;
}
.hp-feat-row-rev { flex-direction: row-reverse; }

.hp-feat-text { flex: 1; }
.hp-feat-text h2 {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.15;
    margin: 0.7rem 0 1.2rem;
}
.hp-feat-text p {
    font-size: 1.05rem;
    line-height: 1.75;
    margin-bottom: 2rem;
    opacity: 0.82;
}

.hp-feat-visual {
    flex: 0 0 400px;
    height: 420px;
    border-radius: 40px;
    overflow: hidden;
    position: relative;
}
.hp-feat-astro { background: #ddd9c4; }
.hp-feat-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.hp-feat-visual:hover .hp-feat-img { transform: scale(1.04); }

/* ── Overlap scroll stack (Cosmic Intro → Astrology) ── */
.overlap-scroll-stack {
    position: relative;
}
.hp-section.overlap-top {
    position: sticky;
    top: 68px;
    z-index: 1;
}
.hp-section.overlap-over {
    position: relative;
    z-index: 3;
    background: transparent;
}
.hp-feat-card {
    background: var(--primary-gold);
    border-radius: 20px;
    overflow: hidden;
    padding: 2.5rem 3rem;
    box-shadow: 0 -14px 48px rgba(0, 0, 0, 0.12), 0 8px 32px rgba(0, 0, 0, 0.07);
}

/* ── Dark Feature Section (Numerology) ── */
.hp-feat-dark {
    background: #788b72;
    padding: 3rem 0;
    position: relative;
    z-index: 2;
}
.hp-feat-dark .hp-feat-text h2 {
    color: #f3ead0;
    line-height: 1.15;
}
.hp-feat-dark .hp-feat-text p { color: rgba(243, 234, 208, 0.82); }

.hp-feat-num-wrap {
    flex: 0 0 400px;
    height: 420px;
    border-radius: 40px;
    overflow: hidden;
}
.hp-num-art {
    width: 100%;
    height: 100%;
    background: #4e6350;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}
.hp-num-bg {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    padding: 2.5rem;
    align-content: center;
    user-select: none;
    pointer-events: none;
}
.hp-num-bg span {
    font-size: 1.5rem;
    font-weight: 700;
    color: rgba(243, 234, 208, 0.1);
    text-align: center;
    padding: 0.6rem 0;
    font-family: 'Courier New', monospace;
}
.hp-num-hero {
    position: relative;
    font-size: 9rem;
    font-weight: 900;
    color: #c9b887;
    line-height: 1;
    letter-spacing: -4px;
    text-shadow: 0 0 80px rgba(201, 184, 135, 0.45);
    font-family: 'Courier New', monospace;
    z-index: 1;
}

/* ── Tag variant for dark backgrounds ── */
.hp-tag-inv {
    background: rgba(243, 234, 208, 0.15);
    border-color: rgba(243, 234, 208, 0.45);
    color: #f3ead0;
}

/* ── Light button (for dark sections) ── */
.hp-btn-light {
    display: inline-block;
    background: #f3ead0;
    color: #788b72;
    font-size: 1rem;
    font-weight: 700;
    padding: 0.85rem 2.2rem;
    border-radius: 40px;
    text-decoration: none;
    border: 2px solid #f3ead0;
    transition: background 0.2s ease;
}
.hp-btn-light:hover { background: #ebe0c0; border-color: #ebe0c0; }

/* ── Bottom CTA Banner ── */
.hp-cta-banner {
    background: #5a6e58;
    padding: 5rem 0;
    position: relative;
    z-index: 2;
}
.hp-cta-inner {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}
.hp-cta-inner h2 {
    font-size: 3rem;
    font-weight: 800;
    color: #f3ead0;
    margin: 0.75rem 0 1rem;
    line-height: 1.15;
}
.hp-cta-inner p {
    font-size: 1.1rem;
    color: rgba(243, 234, 208, 0.78);
    margin-bottom: 2.5rem;
    line-height: 1.7;
}
.hp-cta-btns {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}
.hp-btn-outline-lt {
    display: inline-block;
    background: transparent;
    color: #f3ead0;
    border: 2px solid rgba(243, 234, 208, 0.55);
    font-size: 1rem;
    font-weight: 700;
    padding: 0.85rem 2.2rem;
    border-radius: 40px;
    text-decoration: none;
    transition: all 0.2s ease;
}
.hp-btn-outline-lt:hover {
    background: rgba(243, 234, 208, 0.12);
    border-color: #f3ead0;
}

/* ── Responsive ── */
@media (max-width: 960px) {
    .hp-feat-row,
    .hp-feat-row-rev { flex-direction: column; gap: 2.5rem; }
    .hp-feat-visual,
    .hp-feat-num-wrap { flex: unset; width: 100%; height: 280px; border-radius: 24px; }
    .hp-feat-text h2 { font-size: 1.9rem; }
    .hp-stats-grid { flex-wrap: wrap; justify-content: center; gap: 0.5rem; }
    .hp-stat-div { display: none; }
    .hp-stat { flex: 0 0 45%; }
    .hp-feat-card { padding: 1.5rem 1.25rem; box-shadow: 0 4px 24px rgba(0,0,0,0.08); }
    .hp-section.overlap-top { position: relative; top: auto; }
    .hp-section.overlap-over { background: transparent; }
    .hp-cta-inner h2 { font-size: 2.2rem; }
}
@media (max-width: 600px) {
    .hp-stat { flex: 0 0 48%; }
    .hp-cta-inner h2 { font-size: 1.8rem; }
    .hp-num-hero { font-size: 7rem; }
}