/* ==========================================================================
   Design Tokens & CSS Variables
   ========================================================================== */
:root {
    /* Brand Colors */
    --primary-color: #c01c3f;      /* The Paird red/pink branding color */
    --primary-hover: #a31432;
    --primary-light: #fef0f2;
    --accent-heart: #ff3b5c;       /* Vivid heart red */
    
    /* Text Colors */
    --text-dark: #1f273d;          /* Deep navy-blue/black for titles */
    --text-muted: #5e6678;         /* Subtle gray for descriptions */
    --text-light: #ffffff;
    
    /* Icon Themes */
    --color-verified: #df4759;     /* Feature red/pink */
    --color-secure: #3b82f6;       /* Shield blue */
    --color-matching: #22c55e;     /* Matching green */
    
    /* Fonts */
    --font-heading: 'Outfit', sans-serif;
    --font-serif: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
    
    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(192, 28, 63, 0.04);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 20px 40px rgba(192, 28, 63, 0.08);
    --shadow-icon-red: 0 8px 24px rgba(223, 71, 89, 0.15);
    --shadow-icon-blue: 0 8px 24px rgba(59, 130, 246, 0.15);
    --shadow-icon-green: 0 8px 24px rgba(34, 197, 94, 0.15);
    
    /* Layout */
    --container-width: 1200px;
    --border-radius-sm: 8px;
    --border-radius-md: 16px;
    --border-radius-lg: 24px;
    --border-radius-full: 9999px;
    
    /* Transitions */
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==========================================================================
   Reset & Base Styles
   ========================================================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-body);
    background-color: #ffffff;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-smooth);
}

button {
    font-family: inherit;
    border: none;
    background: none;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* ==========================================================================
   

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
    position: relative;
    min-height: 100vh;
    padding-top: 140px;
    padding-bottom: 120px;
    display: flex;
    align-items: center;
    background-color: #fff4f1; /* Warm cream/peach default */
    overflow: hidden;
}

/* Hero Background and Overlay blending */
.hero-background-wrapper {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: right center;
}

.hero-gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, 
        #fff4f1 0%,
        rgba(255, 244, 241, 0.98) 35%,
        rgba(255, 244, 241, 0.8) 50%,
        rgba(255, 244, 241, 0.1) 75%,
        transparent 100%
    );
}

.hero-container {
    position: relative;
    z-index: 2;
    width: 100%;
}

.hero-content {
    max-width: 540px;
}

/* Hero badge */
.badge-wrapper {
    margin-bottom: 24px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: var(--primary-light);
    color: var(--primary-color);
    padding: 8px 18px;
    border-radius: var(--border-radius-full);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.8px;
    box-shadow: var(--shadow-sm);
    border: 1.5px solid rgba(192, 28, 63, 0.08);
}

.hero-badge svg {
    fill: var(--primary-color);
}

/* Hero Titles */
.hero-title {
    font-family: var(--font-heading);
    font-size: 58px;
    line-height: 1.15;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 20px;
    letter-spacing: -1.5px;
}

.hero-title .highlight {
    color: var(--primary-color);
}

.hero-subtitle {
    font-size: 18px;
    color: var(--text-muted);
    margin-bottom: 36px;
    font-weight: 400;
}

/* Hero Call to Action Buttons */
.hero-cta-buttons {
    display: flex;
    gap: 20px;
    margin-bottom: 48px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 36px;
    font-size: 16px;
    font-weight: 600;
    border-radius: var(--border-radius-md);
    cursor: pointer;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--text-light);
    border: 2px solid var(--primary-color);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    border-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(192, 28, 63, 0.3);
}

.btn-secondary {
    background-color: #ffffff;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(192, 28, 63, 0.1);
}

.btn-icon {
    transition: var(--transition-smooth);
}

.btn:hover .btn-icon {
    transform: translateX(2px);
}

/* Hero Bottom features bar */
.hero-features-bar {
    display: flex;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: var(--border-radius-md);
    padding: 12px 24px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    max-width: fit-content;
    box-shadow: var(--shadow-sm);
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-dark);
}

.feature-icon {
    color: var(--primary-color);
}

.feature-divider {
    width: 1px;
    height: 16px;
    background-color: rgba(0, 0, 0, 0.1);
    margin: 0 16px;
}

/* Curved Bottom Wave & Heart Badge */
.bottom-wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 100px;
    z-index: 10;
    display: flex;
    justify-content: center;
}

.bottom-wave svg {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 100%;
}

.wave-heart-badge {
    position: absolute;
    bottom: 38px;
    background-color: #ffffff;
    width: 48px;
    height: 48px;
    border-radius: var(--border-radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(192, 28, 63, 0.15);
    border: 1px solid rgba(192, 28, 63, 0.05);
    animation: pulse 2s infinite;
}

.wave-heart-badge svg {
    position: static;
    fill: var(--accent-heart);
    width: 22px;
    height: 22px;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 4px 15px rgba(192, 28, 63, 0.15);
    }
    50% {
        transform: scale(1.08);
        box-shadow: 0 4px 25px rgba(192, 28, 63, 0.3);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 4px 15px rgba(192, 28, 63, 0.15);
    }
}

/* ==========================================================================
   Why Choose Section
   ========================================================================== */
.why-choose-section {
    padding: 120px 0 40px 0;
    background-color: #ffffff;
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 40px;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 8px;
    letter-spacing: -0.5px;
}

.section-title .highlight {
    color: var(--primary-color);
}

.section-deco-line {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.section-deco-line::before,
.section-deco-line::after {
    content: '';
    width: 60px;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(0,0,0,0.1), transparent);
}

.deco-text {
    font-size: 16px;
    color: var(--text-muted);
    font-weight: 400;
}

.deco-arrow {
    display: inline-block;
    width: 6px;
    height: 6px;
    border-top: 1.5px solid var(--primary-color);
    border-right: 1.5px solid var(--primary-color);
}

.deco-arrow.left {
    transform: rotate(-135deg);
}

.deco-arrow.right {
    transform: rotate(45deg);
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.feature-card {
    background-color: #ffffff;
    border-radius: var(--border-radius-lg);
    padding: 40px 32px;
    text-align: center;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(0, 0, 0, 0.02);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(192, 28, 63, 0.05);
}

/* Card Icons */
.card-icon-wrapper {
    margin-bottom: 28px;
}

.icon-circle {
    width: 80px;
    height: 80px;
    border-radius: var(--border-radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: var(--transition-smooth);
}

/* Themes per card */
.verified-pink .icon-circle {
    background-color: #fdf2f4;
    color: var(--color-verified);
    box-shadow: var(--shadow-icon-red);
}

.secure-blue .icon-circle {
    background-color: #eff6ff;
    color: var(--color-secure);
    box-shadow: var(--shadow-icon-blue);
}

.matching-green .icon-circle {
    background-color: #f0fdf4;
    color: var(--color-matching);
    box-shadow: var(--shadow-icon-green);
}

/* Icon hover spin / scale */
.feature-card:hover .icon-circle {
    transform: scale(1.1);
}

.mini-heart {
    position: absolute;
    bottom: 12px;
    right: 12px;
    color: var(--accent-heart);
    background: #ffffff;
    border-radius: 50%;
    padding: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

/* Card Titles */
.card-title {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 16px;
}

/* Highlight line inside cards */
.card-line {
    width: 32px;
    height: 3px;
    border-radius: 2px;
    margin-bottom: 20px;
    transition: var(--transition-smooth);
}

.line-red { background-color: var(--color-verified); }
.line-blue { background-color: var(--color-secure); }
.line-green { background-color: var(--color-matching); }

.feature-card:hover .card-line {
    width: 60px;
}

.card-description {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
    background-color: #fff7f5; /* Warm soft pink/cream background */
    border-top: 1px solid rgba(192, 28, 63, 0.06);
    padding: 80px 0 0 0;
    position: relative;
    overflow: hidden;
}



.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1.4fr 0.9fr 0.9fr;
    gap: 48px;
    position: relative;
    z-index: 2;
}

.footer-col {
    display: flex;
    flex-direction: column;
}

.footer-col-title {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 24px;
    position: relative;
    padding-bottom: 8px;
}

.footer-col-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 24px;
    height: 2px;
    background-color: var(--primary-color);
}

/* About Column */
.footer-about .logo {
    margin-bottom: 12px;
}

.footer-desc {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.65;
}

.footer-heart-divider {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 16px 0;
}

.footer-heart-divider .divider-line {
    width: 40px;
    height: 1px;
    background-color: rgba(192, 28, 63, 0.15);
}

.footer-heart-divider .heart-emoji {
    color: var(--accent-heart);
    opacity: 0.6;
    display: flex;
    align-items: center;
}

/* Contact details */
.footer-contact-info {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.contact-item {
    display: flex;
    gap: 14px;
    align-items: center;
}

.contact-item:first-of-type {
    align-items: flex-start; /* Address aligns to top */
}

.contact-icon-circle {
    width: 36px;
    height: 36px;
    border-radius: var(--border-radius-full);
    background-color: #fff0f1; /* Soft pink/red circle background */
    color: var(--primary-color);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}

.contact-item:hover .contact-icon-circle {
    transform: scale(1.05);
    background-color: var(--primary-light);
}

.contact-text {
    font-size: 13.5px;
    color: var(--text-muted);
    line-height: 1.5;
}

/* Split Lists Column */
.split-lists-container {
    display: flex;
    gap: 32px;
}

.footer-links-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
    width: 100%;
}

.footer-links-list li a {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-muted);
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition-smooth);
}

.footer-links-list li a:hover {
    color: var(--primary-color);
    transform: translateX(4px);
}

.footer-links-list li a .chevron {
    color: var(--primary-color);
    font-size: 16px;
    font-weight: 700;
    opacity: 0.6;
    transition: var(--transition-smooth);
}

.footer-links-list li a:hover .chevron {
    opacity: 1;
}

/* Social Column */
.social-icons-row {
    display: flex;
    gap: 16px;
    margin-top: 4px;
}

.social-circle-link {
    width: 44px;
    height: 44px;
    border-radius: var(--border-radius-full);
    background-color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.04);
    transition: var(--transition-smooth);
    border: 1px solid rgba(0, 0, 0, 0.02);
}

.social-circle-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
}

.social-circle-link.instagram { color: #e1306c; }
.social-circle-link.facebook { color: #1877f2; }
.social-circle-link.youtube { color: #ff0000; }
.social-circle-link.linkedin { color: #0077b5; }

.social-circle-link.instagram:hover { box-shadow: 0 6px 16px rgba(225, 48, 108, 0.2); }
.social-circle-link.facebook:hover { box-shadow: 0 6px 16px rgba(24, 119, 242, 0.2); }
.social-circle-link.youtube:hover { box-shadow: 0 6px 16px rgba(255, 0, 0, 0.2); }
.social-circle-link.linkedin:hover { box-shadow: 0 6px 16px rgba(0, 119, 181, 0.2); }

/* Footer Bottom Bar */
.footer-bottom-bar {
    background-color: #ffffff;
    padding: 24px 0;
    border-top: 1px solid rgba(192, 28, 63, 0.04);
    margin-top: 64px;
    position: relative;
    z-index: 2;
}

.bottom-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.copyright-text {
    font-size: 13.5px;
    color: var(--text-muted);
}

.copyright-text .highlight {
    color: var(--primary-color);
    font-weight: 700;
}

.center-heart-divider {
    display: flex;
    align-items: center;
    gap: 8px;
}

.center-heart-divider .bottom-divider-line {
    width: 60px;
    height: 1px;
    background-color: rgba(192, 28, 63, 0.1);
}

.center-heart-divider .bottom-heart {
    color: var(--accent-heart);
    display: flex;
    align-items: center;
}

.bottom-links {
    display: flex;
    align-items: center;
    gap: 12px;
}

.bottom-links a {
    font-size: 13.5px;
    color: var(--text-muted);
    font-weight: 500;
}

.bottom-links a:hover {
    color: var(--primary-color);
}

.bottom-links .link-separator {
    color: rgba(192, 28, 63, 0.15);
    font-size: 12px;
}

/* Footer Media Queries */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .footer {
        padding-top: 60px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }
    
    .split-lists-container {
        gap: 16px;
    }
    
    .footer-bottom-bar {
        margin-top: 48px;
        padding: 20px 0;
    }
    
    .bottom-bar-inner {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
    
    .center-heart-divider {
        display: none;
    }
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 44px;
    }
    
    .features-grid {
        gap: 20px;
    }
}

@media (max-width: 768px) {
    /* Hide desktop header items and show mobile ones */
    .menu-trigger-desktop,
    .nav-menu,
    .profile-avatar-btn {
        display: none !important;
    }
    
    .mobile-only-btn {
        display: flex;
    }

    .hero-section {
        padding-top: 110px;
        padding-bottom: 70px;
        min-height: 90vh;
    }
    
    .hero-bg-img {
        object-position: 72% center; /* Shift slightly to center the couple on mobile */
    }
    
    .hero-gradient-overlay {
        background: linear-gradient(to right, 
            rgba(255, 244, 241, 0.92) 0%,
            rgba(255, 244, 241, 0.7) 45%,
            rgba(255, 244, 241, 0.25) 75%,
            transparent 100%
        );
    }
    
    .hero-content {
        max-width: 450px;
        text-align: left;
    }
    
    .hero-title {
        font-size: 38px;
    }
    
    .hero-cta-buttons {
        justify-content: flex-start;
        gap: 12px;
    }
    
    .hero-features-bar {
        margin: 0;
        padding: 10px 16px;
    }
    
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
    }
    
    .feature-card {
        padding: 24px 12px;
    }
    
    .card-title {
        font-size: 16px;
    }
    
    .card-description {
        font-size: 13px;
    }
    
    .section-title {
        font-size: 32px;
    }
}

@media (max-width: 580px) {
    .badge-wrapper {
        display: none !important;
    }
    
    .hero-section {
        min-height: auto;
        padding-bottom: 90px;
    }

    .hero-bg-img {
        object-position: 70% center; /* Optimize focus on the couple */
    }

    .hero-gradient-overlay {
        background: linear-gradient(to right, 
            rgba(255, 244, 241, 0.88) 0%,
            rgba(255, 244, 241, 0.6) 40%,
            rgba(255, 244, 241, 0.15) 75%,
            transparent 100%
        );
    }

    .hero-content {
        max-width: 100%;
        padding-right: 20px;
    }

    /* Keep features cards in a row with horizontal scrolling on extra small mobile devices to match mockup cleanly without text squishing */
    .features-grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 16px;
        padding: 10px 4px 24px 4px;
        margin: 0 -16px;
        padding-left: 16px;
        padding-right: 16px;
        scrollbar-width: none; /* Firefox */
    }
    
    .features-grid::-webkit-scrollbar {
        display: none; /* Chrome, Safari, Opera */
    }
    
    .feature-card {
        flex: 0 0 280px;
        scroll-snap-align: center;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
    }
}

@media (max-width: 480px) {
    .navbar {
        padding: 0;
    }
    
    .logo-text {
        font-size: 26px;
    }
    
    .hero-title {
        font-size: 32px;
        margin-bottom: 14px;
        letter-spacing: -1px;
    }
    
    .hero-subtitle {
        font-size: 14px;
        margin-bottom: 20px;
    }
    
    .hero-cta-buttons {
        flex-direction: row;
        gap: 10px;
        width: 100%;
        margin-bottom: 28px;
    }
    
    .btn {
        padding: 10px 16px;
        font-size: 14px;
        flex: 1;
        border-radius: var(--border-radius-sm);
    }
    
    .hero-features-bar {
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        overflow-x: auto;
        gap: 12px;
        padding: 10px 16px;
        width: 100%;
        white-space: nowrap;
        scrollbar-width: none;
    }
    
    .hero-features-bar::-webkit-scrollbar {
        display: none;
    }
    
    .feature-divider {
        display: block;
        flex: 0 0 1px;
        margin: 0;
        height: 12px;
    }
    
    .feature-item {
        font-size: 11px;
        flex-shrink: 0;
    }
    
    .bottom-wave {
        height: 60px;
    }
    
    .wave-heart-badge {
        bottom: 18px;
        width: 36px;
        height: 36px;
    }
    
    .wave-heart-badge svg {
        width: 16px;
        height: 16px;
    }
}

/* ==========================================================================
   Recent Profiles Sections
   ========================================================================== */
.profiles-section {
    padding: 20px 0 80px 0;
    background-color: #ffffff;
}

.profiles-header-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 32px;
}

.profiles-header-row.section-divider {
    margin-top: 72px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding-top: 56px;
}

.header-icon-title {
    display: flex;
    align-items: center;
    gap: 12px;
}

.heart-icon-badge {
    width: 38px;
    height: 38px;
    border-radius: var(--border-radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm);
    background-color: #fdf2f4;
    color: var(--color-verified);
}

.section-sub-title {
    font-family: var(--font-heading);
    font-size: 26px;
    font-weight: 800;
    color: var(--text-dark);
    letter-spacing: -0.5px;
}

.section-sub-desc {
    font-size: 15px;
    color: var(--text-muted);
    margin-top: 4px;
    margin-left: 50px;
}

.view-all-link {
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--color-verified);
    transition: var(--transition-smooth);
}

.view-all-link:hover {
    color: var(--primary-hover);
}

.view-all-link .arrow {
    transition: transform 0.2s ease;
}

.view-all-link:hover .arrow {
    transform: translateX(4px);
}

/* Profiles Grid */
.profiles-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.profile-card {
    background-color: #ffffff;
    border-radius: var(--border-radius-md);
    border: 1px solid rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: var(--transition-smooth);
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
}

.profile-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(192, 28, 63, 0.04);
}

.card-img-wrapper {
    position: relative;
    height: 240px !important;
    width: 100% !important;
    overflow: hidden;
    background-color: #f7fafc;
}

.profile-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.profile-card:hover .profile-img {
    transform: scale(1.04);
}

/* Badges styling */
.card-img-wrapper .badge {
    position: absolute;
    top: 14px;
    padding: 5px 12px;
    font-size: 11px;
    font-weight: 700;
    border-radius: var(--border-radius-sm);
    display: flex;
    align-items: center;
    gap: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.card-img-wrapper .premium-badge {
    left: 14px;
    color: #ffffff;
}

.card-img-wrapper .premium-badge.pink {
    background-color: var(--primary-color);
}

.card-img-wrapper .premium-badge.blue {
    background-color: var(--color-secure);
}

.card-img-wrapper .verified-badge {
    right: 14px;
    background-color: rgba(34, 197, 94, 0.9);
    color: #ffffff;
}

.card-img-wrapper .verified-badge svg {
    stroke: #ffffff;
}

/* Card Body */
.profile-card-body {
    padding: 20px;
    display: flex !important;
    flex-direction: column !important;
    flex: 1 !important;
}

.profile-name-age {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 12px;
}

.profile-name-age h3 {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    color: var(--text-dark);
}

.verified-icon-check {
    background-color: var(--color-verified);
    color: #ffffff;
    width: 16px;
    height: 16px;
    border-radius: var(--border-radius-full);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 2px;
}

.verified-icon-check.blue-theme {
    background-color: var(--color-secure);
}

/* Profile details */
.profile-details-list {
    list-style: none;
    margin-bottom: 14px;
    font-size: 13px;
    color: var(--text-muted);
}

.profile-details-list li {
    margin-bottom: 5px;
}

.profile-details-list li span {
    color: #cbd5e0;
    margin: 0 4px;
}

.profile-details-list .bold-detail {
    font-weight: 600;
    color: #2d3748;
}

.profile-bio {
    font-size: 12.5px;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 20px;
    flex: 1 !important;
    border-top: 1px dashed #edf2f7;
    padding-top: 10px;
}

/* Action Buttons */
.profile-card-actions {
    display: flex;
    gap: 8px;
    margin-top: auto !important;
}

.btn-action-shortlist,
.btn-action-view {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 10px;
    font-size: 12px;
    font-weight: 700;
    border-radius: 8px;
    cursor: pointer;
    flex: 1;
    transition: var(--transition-smooth);
}

.btn-action-shortlist {
    background-color: transparent;
    border: 1px solid;
}

.btn-action-shortlist.pink-theme {
    color: var(--color-verified);
    border-color: var(--color-verified);
}

.btn-action-shortlist.pink-theme:hover {
    background-color: #fff5f6;
}

.btn-action-shortlist.blue-theme {
    color: var(--color-secure);
    border-color: var(--color-secure);
}

.btn-action-shortlist.blue-theme:hover {
    background-color: #eff6ff;
}

.btn-action-view {
    color: #ffffff;
    border: none;
    background-color: var(--primary-color);
}

.btn-action-view:hover {
    background-color: var(--primary-hover);
}

/* Responsive updates for profiles */
@media (max-width: 1024px) {
    .profiles-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .profiles-section {
        padding: 60px 0;
    }
    
    .section-sub-title {
        font-size: 22px;
    }
    
    .section-sub-desc {
        margin-left: 0;
        font-size: 13.5px;
    }
    
    .profiles-header-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        margin-bottom: 24px;
    }
    
    .profiles-header-row.section-divider {
        margin-top: 48px;
        padding-top: 36px;
    }
}

@media (max-width: 580px) {
    .profiles-grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 16px;
        padding: 10px 4px 24px 4px;
        margin: 0 -16px;
        padding-left: 16px;
        padding-right: 16px;
        scrollbar-width: none; /* Firefox */
    }
    
    .profiles-grid::-webkit-scrollbar {
        display: none; /* Chrome, Safari, Opera */
    }
    
    .profile-card {
        flex: 0 0 280px;
        max-width: 280px;
        scroll-snap-align: center;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.03);
        margin: 0;
    }
}

