* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body, html {
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    min-height: 100vh;
    background-color: #FAFAFA;
    color: #2D3748;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1 0 auto; 
    display: flex;
    flex-direction: column;
}

/* ---------------------------------------------------
   HEADER STYLES (FIXED, TRANSPARENT & SHIFTS RIGHT)
   --------------------------------------------------- */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 5vw;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    z-index: 1000;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.27);
    background-color: transparent;
    min-height: 80px;
}

.main-header.scrolled {
    padding: 15px 5vw;
    background-color: transparent;
    min-height: 70px;
}

.header-actions {
    display: flex;
    transition: all 0.3s ease;
    z-index: 10;
}

#unified-login-container {
    position: relative; /* Anchors the absolute dropdown on desktop */
}

.login-btn {
    background-color: rgba(255, 255, 255, 0.85);
    color: #2D3748;
    border: 1px solid rgba(0, 0, 0, 0.1);
    padding: 10px 24px;
    border-radius: 25px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    white-space: nowrap;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.login-btn:hover {
    background-color: #ffffff;
    border-color: rgba(0, 0, 0, 0.2);
    transform: translateY(-1px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.08);
}

.main-header.scrolled .login-btn {
    background-color: #ffffff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.logo-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 20px;
    transition: all 0.5s ease;
    z-index: 5;
    pointer-events: none; 
}

.main-header.scrolled .logo-container {
    top: 15px; 
    left: 5vw;
    transform: translateX(0);
}

.logo-wrapper {
     display: flex;
     flex-direction: column;
     align-items: center;
     pointer-events: auto; 
}

.logo {
    height: 70px;
    width: auto;
    object-fit: contain;
    transition: height 0.5s ease;
}

.main-header.scrolled .logo {
    height: 50px;
}

/* ---------------------------------------------------
   PRE-LOGIN AUTH DROPDOWN
   --------------------------------------------------- */
.auth-dropdown {
    position: absolute;
    top: calc(100% + 15px);
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 16px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    min-width: 200px;
    padding: 8px 0;
    display: flex;
    flex-direction: column;
    visibility: hidden;
    opacity: 0;
    transform: translateY(-15px) scale(0.95);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.27);
    z-index: 1001;
    transform-origin: top right;
}

.auth-dropdown.show {
    visibility: visible;
    opacity: 1;
    transform: translateY(0) scale(1);
}

.auth-dropdown a {
    padding: 12px 20px;
    color: #4A5568;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.2s;
    text-align: left;
}

.auth-dropdown a i {
    font-size: 1.1rem;
    color: #ff7f3f;
    transition: transform 0.2s;
}

.auth-dropdown a:hover {
    background: #F7FAFC;
    color: #ff7f3f;
}

/* ---------------------------------------------------
   USER AVATAR & DROPDOWN MENU
   --------------------------------------------------- */
.user-profile-wrapper {
    position: absolute;
    top: 75px; 
    left: 50%;
    transform: translateX(-50%);
    display: none; 
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.27);
    pointer-events: auto; 
}

/* Shifts smoothly to the right edge of the screen */
.main-header.scrolled .user-profile-wrapper {
    top: 22px; 
    left: auto;
    right: 5vw; 
    transform: none;
}

.user-avatar {
    width: 36px; 
    height: 36px; 
    border-radius: 50%;
    border: 2px solid #ff7f3f;
    object-fit: cover;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    animation: fadeIn 0.5s ease forwards;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.user-avatar:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 15px rgba(255, 127, 63, 0.3);
}

.main-header.scrolled .user-avatar:hover {
    transform: scale(1.05);
}

.user-dropdown {
    position: absolute;
    top: calc(100% + 15px);
    left: 50%;
    transform: translateX(-50%) translateY(-15px) scale(0.95);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 16px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    min-width: 220px;
    padding: 8px 0;
    display: flex;
    flex-direction: column;
    visibility: hidden;
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.27);
    z-index: 1001;
}

.main-header.scrolled .user-dropdown {
     left: auto;
     right: 0;
     transform: translateX(0) translateY(-15px) scale(0.95);
}

.main-header.scrolled .user-dropdown.show {
    transform: translateX(0) translateY(0) scale(1);
}

.user-dropdown.show {
    visibility: visible;
    opacity: 1;
    transform: translateX(-50%) translateY(0) scale(1);
}

.user-dropdown a {
    padding: 12px 20px;
    color: #4A5568;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.2s;
    text-align: left;
}

.user-dropdown a i {
    font-size: 1.1rem;
    color: #A0AEC0;
    transition: color 0.2s;
}

.user-dropdown a:hover {
    background: #F7FAFC;
    color: #ff7f3f;
}

.user-dropdown a:hover i {
    color: #ff7f3f;
}

.user-dropdown .logout-link {
    color: #E53E3E;
}

.user-dropdown .logout-link i {
    color: #FC8181;
}

.user-dropdown .logout-link:hover {
    background: #FFF5F5;
    color: #C53030;
}

.user-dropdown .logout-link:hover i {
    color: #E53E3E;
}

.user-dropdown .divider {
    height: 1px;
    background: #E2E8F0;
    margin: 6px 0;
}

@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.8); }
    to { opacity: 1; transform: scale(1); }
}

/* ---------------------------------------------------
   HERO STYLES
   --------------------------------------------------- */
.hero {
    position: relative;
    height: 100vh;
    width: 100%;
    overflow: hidden;
    background-color: #E2E8F0;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; 
    object-position: center;
    z-index: 1;
    opacity: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0.8) 100%);
    z-index: 2;
    opacity: 0;
    pointer-events: none;
}

.hero-content {
    position: absolute;
    bottom: 15%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    text-align: center;
    width: 100%;
    padding: 0 20px;
}

.action-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(30px);
    transition: opacity 1.2s cubic-bezier(0.4, 0, 0.2, 1), 
                transform 1.2s cubic-bezier(0.4, 0, 0.2, 1), 
                visibility 1.2s;
}

.action-buttons.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.btn {
    padding: 16px 36px;
    font-size: 1.1rem;
    font-weight: 600;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
    white-space: nowrap;
}

.btn:active {
    transform: scale(0.98);
}

.btn-primary {
    background-color: #ff7f3f; 
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(255, 127, 63, 0.3);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-primary:hover {
    background-color: #e66a2c;
    box-shadow: 0 6px 20px rgba(255, 127, 63, 0.4);
    color: #ffffff;
}

.btn-secondary {
    background-color: #ffffff;
    color: #2D3748;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.btn-secondary:hover {
    background-color: #f7FAFC;
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

/* ---------------------------------------------------
   COMMON ANIMATION CLASSES
   --------------------------------------------------- */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 1s cubic-bezier(0.175, 0.885, 0.32, 1.27);
}
.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ---------------------------------------------------
   STORY SECTION
   --------------------------------------------------- */
.story-section {
    position: relative;
    background: linear-gradient(180deg, #F0F7F4 0%, #E6F3F0 100%);
    padding: 120px 5vw;
    min-height: 100vh;
    overflow: hidden;
    color: #2D3748;
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.section-header h2 {
    font-size: 2.8rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.section-header p {
    font-size: 1.15rem;
    color: #4A5568;
    line-height: 1.6;
}

.story-header h2 { color: #2C7A7B; }

.timeline {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 4px;
    background: linear-gradient(to bottom, #38B2AC 0%, #319795 100%);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -2px;
    border-radius: 4px;
}

.timeline-node {
    padding: 10px 50px;
    position: relative;
    width: 50%;
    opacity: 0;
    transition: all 0.9s cubic-bezier(0.175, 0.885, 0.32, 1.27);
}

.timeline-node::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 24px;
    right: -12px;
    background-color: #ffffff;
    border: 4px solid #38B2AC;
    top: 50%;
    transform: translateY(-50%);
    border-radius: 50%;
    z-index: 1;
    box-shadow: 0 0 15px rgba(56, 178, 172, 0.3);
}

.timeline-node.left { left: 0; transform: translateX(-80px); }
.timeline-node.right { left: 50%; transform: translateX(80px); }
.timeline-node.right::after { left: -12px; }
.timeline-node.visible { opacity: 1; transform: translateX(0); }

.story-card {
    padding: 30px;
    background: #ffffff;
    border-radius: 20px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    gap: 25px;
}

.timeline-node.right .story-card { flex-direction: row-reverse; }
.story-text-content { flex: 1; }
.story-character { width: 120px; height: 120px; flex-shrink: 0; position: relative; display: flex; justify-content: center; align-items: center; }

.node-1 .story-card { border-top: 4px solid #38B2AC; }
.node-2 .story-card { border-top: 4px solid #319795; }
.node-3 .story-card { border-top: 4px solid #2C7A7B; }
.node-4 .story-card { border-top: 4px solid #285E61; }

.story-card h3 { font-size: 1.5rem; margin-bottom: 12px; font-weight: 600; color: #2C7A7B; }
.story-card p { color: #4A5568; line-height: 1.6; font-size: 1rem; }

.anim-heavy { animation: breathe 4s ease-in-out infinite; }
.anim-rain { animation: fall 1.5s linear infinite; }
.anim-rain-2 { animation: fall 1.5s linear infinite 0.75s; }
.anim-tremble { animation: shake 3s ease-in-out infinite; }
.anim-barrier { animation: pulse-glow 2.5s ease-in-out infinite; }
.anim-float-up { animation: float 3s ease-in-out infinite; }
.anim-float-down { animation: float 3s ease-in-out infinite 1.5s; }
.anim-heart { transform-origin: center; animation: beat 1.5s ease-in-out infinite; }
.anim-radiant { animation: float 4s ease-in-out infinite; }
.anim-aura { transform-origin: center; animation: expand-glow 3s ease-in-out infinite; }

@keyframes breathe { 0%, 100% { transform: scaleY(1) translateY(0); } 50% { transform: scaleY(0.95) translateY(5px); } }
@keyframes fall { 0% { transform: translateY(-10px); opacity: 0; } 20% { opacity: 1; } 80% { opacity: 1; } 100% { transform: translateY(20px); opacity: 0; } }
@keyframes shake { 0%, 100% { transform: translateX(0); } 48%, 52% { transform: translateX(-2px); } 50% { transform: translateX(2px); } }
@keyframes pulse-glow { 0%, 100% { opacity: 0.2; } 50% { opacity: 0.8; } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes beat { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.15); } }
@keyframes expand-glow { 0%, 100% { transform: scale(0.8); opacity: 0.1; } 50% { transform: scale(1.2); opacity: 0.3; } }

/* ---------------------------------------------------
   SERVICES SECTION
   --------------------------------------------------- */
.services-section {
    padding: 120px 5vw;
    background: linear-gradient(180deg, #FFFaf5 0%, #FFF5F0 100%);
    color: #2D3748;
}

.services-header h2 { color: #C05621; }

.services-grid {
    display: flex;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    flex: 1;
    background: #ffffff;
    border-radius: 30px;
    padding: 50px 40px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
    position: relative;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.27), box-shadow 0.4s ease;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(221, 107, 32, 0.12);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
}
.card-community::before { background: linear-gradient(90deg, #ED8936, #F6AD55); }
.card-listener::before { background: linear-gradient(90deg, #4299E1, #63B3ED); }

.service-icon-container {
    width: 100%;
    height: 180px;
    margin-bottom: 30px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.card-community .service-icon-container { background: #FFFAF0; }
.card-listener .service-icon-container { background: #F7FAFC; }

.service-card h3 { font-size: 2rem; margin-bottom: 15px; font-weight: 600; }
.card-community h3 { color: #DD6B20; }
.card-listener h3 { color: #2B6CB0; }

.service-card p {
    color: #4A5568;
    line-height: 1.7;
    font-size: 1.05rem;
    margin-bottom: 30px;
    flex-grow: 1;
}

.service-btn {
    align-self: flex-start;
    padding: 12px 28px;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
    color: white;
    text-decoration: none;
}

.btn-community { background: linear-gradient(45deg, #DD6B20, #ED8936); box-shadow: 0 5px 15px rgba(221, 107, 32, 0.25); }
.btn-community:hover { box-shadow: 0 8px 25px rgba(221, 107, 32, 0.4); transform: scale(1.05); }

.btn-listener { background: linear-gradient(45deg, #3182CE, #4299E1); box-shadow: 0 5px 15px rgba(49, 130, 206, 0.25); }
.btn-listener:hover { box-shadow: 0 8px 25px rgba(49, 130, 206, 0.4); transform: scale(1.05); }

.anim-network { transform-origin: center; animation: float-network 6s ease-in-out infinite; }
.anim-network-line { stroke-dasharray: 60; stroke-dashoffset: 60; animation: draw-line 3s linear infinite; }
.anim-node-pulse { animation: node-glow 2s ease-in-out infinite alternate; }

.anim-caller-pulse { animation: caller-beat 2s ease-in-out infinite; }
.anim-eq-bar { animation: eq-bounce 1s ease-in-out infinite alternate; }

@keyframes float-network { 0%, 100% { transform: translateY(0) scale(1); } 50% { transform: translateY(-5px) scale(1.02); } }
@keyframes draw-line { 0% { stroke-dashoffset: 60; opacity: 0; } 20% { opacity: 0.6; } 80% { opacity: 0.6; } 100% { stroke-dashoffset: 0; opacity: 0; } }
@keyframes node-glow { 0% { r: 6; opacity: 0.7; } 100% { r: 11; opacity: 1; } }

@keyframes caller-beat { 0%, 100% { transform: scale(1); opacity: 0.8; } 50% { transform: scale(1.15); opacity: 1; } }
@keyframes eq-bounce { 0% { transform: scaleY(0.3); opacity: 0.5; } 100% { transform: scaleY(1); opacity: 1; } }

/* ---------------------------------------------------
   PROMISE SECTION
   --------------------------------------------------- */
.promise-section {
    padding: 100px 5vw;
    background: linear-gradient(180deg, #F7FAFC 0%, #EBF4FF 100%);
}

.promise-header h2 { color: #4299E1; }

.promise-grid {
    display: flex;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.promise-card {
    flex: 1;
    background: #ffffff;
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    border: 1px solid rgba(66, 153, 225, 0.1);
    box-shadow: 0 10px 25px rgba(66, 153, 225, 0.05);
}

.promise-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: #EBF4FF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #3182CE;
}

.promise-icon i { font-size: 2rem; }
.promise-card h3 { font-size: 1.3rem; margin-bottom: 10px; color: #2B6CB0; }
.promise-card p { color: #4A5568; font-size: 0.95rem; line-height: 1.6; }

/* ---------------------------------------------------
   TESTIMONIAL SECTION
   --------------------------------------------------- */
.testimonial-section {
    padding: 100px 5vw;
    background: linear-gradient(180deg, #F0FFF4 0%, #FFFFFF 100%); 
}

.testimonial-header h2 { color: #38A169; }

.testimonial-grid {
    display: flex;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.testimonial-card {
    flex: 1;
    background: #ffffff;
    border-radius: 25px;
    padding: 40px;
    position: relative;
    border: 1px solid rgba(56, 161, 105, 0.1);
    box-shadow: 0 10px 30px rgba(56, 161, 105, 0.05);
}

.quote-icon {
    position: absolute;
    top: 30px;
    left: 30px;
    opacity: 0.1;
    color: #38A169;
    font-size: 3rem;
}

.testimonial-text {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #2D3748;
    font-style: italic;
    margin-bottom: 25px;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: #C6F6D5;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: #276749;
}

.author-info h4 { font-size: 1rem; color: #276749; margin-bottom: 2px; }
.author-info span { font-size: 0.85rem; color: #718096; }

/* ---------------------------------------------------
   OVERLAPPING CAROUSEL STYLES
   --------------------------------------------------- */
.carousel-container {
    position: relative;
    width: 100%;
    height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 2rem 0;
    overflow: hidden;
}
.carousel-overlap {
    position: relative;
    width: 100%;
    max-width: 800px;
    height: 280px;
}
.dynamic-carousel-card {
    position: absolute;
    top: 0;
    left: 50%;
    margin-left: -140px; /* Half of the 280px width */
    width: 280px;
    height: 280px;
    background: #FFFFFF;
    border-radius: 20px;
    padding: 1.5rem;
    border: 1px solid rgba(255, 107, 53, 0.3);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    box-sizing: border-box;
    transition: all 0.5s ease-in-out;
    opacity: 0;
    z-index: 1;
    pointer-events: none;
}

/* Overlap State Classes */
.card-active {
    transform: translateX(0) scale(1);
    opacity: 1;
    z-index: 5;
    box-shadow: 0 0 20px 5px rgba(255, 107, 53, 0.3);
    pointer-events: auto;
}
.card-next-1 {
    transform: translateX(60%) scale(0.85);
    opacity: 0.6;
    z-index: 4;
}
.card-next-2 {
    transform: translateX(110%) scale(0.7);
    opacity: 0.3;
    z-index: 3;
}
.card-prev-1 {
    transform: translateX(-60%) scale(0.85);
    opacity: 0.6;
    z-index: 4;
}
.card-prev-2 {
    transform: translateX(-110%) scale(0.7);
    opacity: 0.3;
    z-index: 3;
}

/* Navigation Buttons */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #FFFFFF;
    border: 1px solid #FF6B35;
    color: #FF6B35;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 4px 10px rgba(255, 107, 53, 0.2);
    transition: all 0.2s ease;
}
.carousel-btn:hover {
    background: #FF6B35;
    color: #FFFFFF;
}
.prev-btn { left: 15px; }
.next-btn { right: 15px; }

.dcc-text {
    font-size: 0.95rem;
    color: #555770;
    margin-bottom: 1.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.6;
}
.dcc-author {
    font-weight: 700;
    color: #1A1A2E;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.dcc-quote-icon {
    color: #FF6B35;
    font-size: 2rem;
    margin-bottom: 0.5rem;
}
.cta-container {
    text-align: center;
    margin-top: 1rem;
}
@media (max-width: 768px) {
    .carousel-container { height: 350px; }
    .carousel-overlap { height: 240px; }
    .dynamic-carousel-card { width: 240px; height: 240px; margin-left: -120px; padding: 1rem; }
    .card-next-1 { transform: translateX(50%) scale(0.85); }
    .card-next-2 { transform: translateX(90%) scale(0.7); }
    .card-prev-1 { transform: translateX(-50%) scale(0.85); }
    .card-prev-2 { transform: translateX(-90%) scale(0.7); }
}

/* ---------------------------------------------------
   RECRUITMENT SECTION (BECOME A LISTENER)
   --------------------------------------------------- */
.recruitment-section {
    padding: 100px 5vw;
    background: #FAFAFA;
}

.recruit-container {
    max-width: 1100px;
    margin: 0 auto;
    background: #ffffff;
    border-radius: 30px;
    overflow: hidden;
    display: flex;
    box-shadow: 0 20px 40px rgba(0,0,0,0.06);
    border: 1px solid rgba(0,0,0,0.04);
}

.recruit-visual {
    flex: 1;
    background: url('https://images.unsplash.com/photo-1573497019940-1c28c88b4f3e?ixlib=rb-4.0.3&auto=format&fit=crop&w=1000&q=80') center/cover no-repeat;
    position: relative;
    min-height: 400px;
}

.recruit-visual::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 100%);
}

.recruit-content {
    flex: 1;
    padding: 60px 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.recruit-content h2 {
    font-size: 2.4rem;
    color: #ff7f3f;
    margin-bottom: 15px;
    font-weight: 700;
    line-height: 1.2;
}

.recruit-lead {
    font-size: 1.15rem;
    color: #4A5568;
    margin-bottom: 30px;
    line-height: 1.6;
}

.recruit-perks {
    list-style: none;
    margin-bottom: 35px;
}

.recruit-perks li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 1.05rem;
    color: #2D3748;
    font-weight: 500;
}

.recruit-perks li i {
    color: #38A169;
    font-size: 1.3rem;
    background: #F0FFF4;
    padding: 5px;
    border-radius: 50%;
}

.founder-quote {
    background: #FFF5F0;
    border-left: 4px solid #ff7f3f;
    padding: 20px;
    border-radius: 0 12px 12px 0;
    margin-bottom: 35px;
    font-style: italic;
    color: #C05621;
    font-size: 1.05rem;
    line-height: 1.5;
}

.founder-name {
    display: block;
    margin-top: 10px;
    font-weight: 600;
    font-size: 0.9rem;
    font-style: normal;
}

.btn-recruit {
    display: inline-block;
    background: linear-gradient(45deg, #ff7f3f, #f64f59);
    color: #ffffff;
    padding: 16px 36px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 8px 20px rgba(255, 127, 63, 0.25);
    transition: all 0.3s ease;
    text-align: center;
    align-self: flex-start;
}

.btn-recruit:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(255, 127, 63, 0.4);
}

/* ---------------------------------------------------
   CALMING FOOTER STYLES
   --------------------------------------------------- */
.calming-footer {
    background-color: #0A0D14;
    background-image: 
        radial-gradient(circle at 15% 100%, rgba(45, 212, 191, 0.05) 0%, transparent 40%), 
        radial-gradient(circle at 85% 0%, rgba(139, 92, 246, 0.05) 0%, transparent 40%);
    color: #94A3B8;
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    padding: 5rem 5vw 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: visible; 
    margin-top: auto; 
    width: 100%;
}

.calming-footer .footer-wrapper { max-width: 1200px; margin: 0 auto; position: relative; z-index: 2; }
.calming-footer .footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 3rem; margin-bottom: 4rem; }

.calming-footer .ft-brand-col { display: flex; flex-direction: column; gap: 1.5rem; }
.calming-footer .ft-logo { font-size: 2rem; font-weight: 800; letter-spacing: -0.5px; display: block; margin-bottom: 0.5rem; }

.calming-footer .ft-logo-img {
    height: 80px; 
    width: auto;
    object-fit: contain;
    display: block;
}

.calming-footer .ft-safe-badge {
    display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px;
    background: rgba(16, 185, 129, 0.1); border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: 50px; color: #34D399; font-size: 0.75rem; font-weight: 600; width: fit-content;
}
.calming-footer .ft-desc { font-size: 0.95rem; line-height: 1.7; color: #64748B; max-width: 320px; }
.calming-footer .ft-socials { display: flex; gap: 1rem; margin-top: 1rem; }
.calming-footer .ft-social-btn {
    width: 40px; height: 40px; border-radius: 50%; background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08); display: flex; align-items: center; justify-content: center;
    color: #CBD5E1; font-size: 1.2rem; transition: all 0.3s ease; text-decoration: none;
}
.calming-footer .ft-social-btn:hover { background: #FFFFFF; color: #0A0D14; transform: translateY(-3px); }

.calming-footer .ft-col-title { color: #F8FAFC; font-weight: 600; margin-bottom: 1.5rem; font-size: 1.1rem;}

.calming-footer .ft-links {
    display: flex; flex-direction: column; gap: 0.4rem !important;
    list-style: none !important; padding: 0 !important; margin: 0 !important;
}
.calming-footer .ft-links li { margin: 0 !important; padding: 0 !important; line-height: 1 !important; height: auto !important; }
.calming-footer .ft-links a {
    color: #64748B; text-decoration: none; font-size: 0.95rem; transition: all 0.2s ease;
    display: block; padding: 0.25rem 0 !important; margin: 0 !important; line-height: 1.4 !important;
}
.calming-footer .ft-links a:hover { color: #ff7f3f; transform: translateX(4px); }

.calming-footer .ft-contact-box {
    background: rgba(255, 255, 255, 0.02); border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px; padding: 1.5rem; transition: border-color 0.3s ease;
}
.calming-footer .ft-contact-box:hover { border-color: rgba(255, 127, 63, 0.3); }
.calming-footer .ft-email-link {
    display: flex; align-items: center; gap: 12px; color: #F8FAFC; text-decoration: none;
    font-weight: 500; font-size: 0.95rem; margin-top: 1rem; word-break: break-word;
}
.calming-footer .ft-email-icon {
    width: 36px; height: 36px; border-radius: 10px; background: rgba(255, 127, 63, 0.1);
    color: #ff7f3f; display: flex; align-items: center; justify-content: center;
    font-size: 1.2rem; flex-shrink: 0;
}

.calming-footer .ft-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05); padding-top: 2rem;
    display: flex; justify-content: space-between; align-items: center;
    font-size: 0.85rem; color: #64748B;
}
.calming-footer .ft-heart { color: #EF4444; display: inline-block; animation: pulse-heart 2s infinite; }
@keyframes pulse-heart { 0% { transform: scale(1); } 50% { transform: scale(1.15); } 100% { transform: scale(1); } }

/* ---------------------------------------------------
   FLOATING ACTION BUTTON (SEARCH LISTENER)
   --------------------------------------------------- */
.floating-search-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    background: #ffffff; 
    color: #2D3748;
    border-radius: 50px; 
    display: flex;
    align-items: center;
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
    box-shadow: 0 10px 25px rgba(255, 127, 63, 0.3);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.27);
    cursor: pointer;
    border: 2px solid #ff7f3f;
    overflow: hidden; 
    width: 60px; 
    height: 60px; 
    padding: 0; 
}

.floating-search-btn img {
    width: 60px;
    height: 60px;
    border-radius: 50%; 
    object-fit: cover;
    flex-shrink: 0; 
}

.floating-search-text {
    white-space: nowrap;
    opacity: 0;
    max-width: 0;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.27);
    padding-left: 0;
    color: #ff7f3f;
}

.floating-search-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(255, 127, 63, 0.4);
    width: 240px; 
    background: #ffffff;
}

.floating-search-btn:hover .floating-search-text {
    opacity: 1;
    max-width: 200px; 
    padding-left: 10px;
    padding-right: 20px;
}

/* ---------------------------------------------------
   MOBILE STRICT RESPONSIVENESS
   --------------------------------------------------- */
@media (max-width: 1024px) {
    .calming-footer .footer-grid { grid-template-columns: 1fr 1fr; gap: 4rem 2rem; }
    .calming-footer .ft-brand-col { grid-column: span 2; }
}

@media (max-width: 900px) {
    .recruit-container { flex-direction: column; }
    .recruit-visual { min-height: 300px; }
    .recruit-visual::after { background: linear-gradient(to bottom, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 100%); }
    .recruit-content { padding: 40px 30px; }
}

@media (max-width: 768px) {
    .main-header { padding: 15px 5vw; min-height: 80px; }
    .main-header.scrolled { padding: 10px 5vw; min-height: 70px; }
    
    .logo-container { top: 15px; left: 50%; transform: translateX(-50%); }
    .main-header.scrolled .logo-container { top: 10px; left: 5vw; transform: translateX(0); }
    
    .logo { height: 45px; }
    .main-header.scrolled .logo { height: 40px; }
    
    .user-profile-wrapper { top: 60px; left: 50%; transform: translateX(-50%); display: flex; align-items: center; justify-content: center; }
    .main-header.scrolled .user-profile-wrapper { 
        top: 50%;
        left: auto;
        right: 20px; 
        transform: translateY(-50%); 
    }

    .main-header.scrolled .user-dropdown {
        right: 0;
        left: auto;
        transform: translateX(0) translateY(-15px) scale(0.95);
    }
    .main-header.scrolled .user-dropdown.show {
        transform: translateX(0) translateY(0) scale(1);
    }

    .header-actions { position: absolute; top: 15px; z-index: 10; margin: 0; transition: top 0.5s ease;}
    .main-header.scrolled .header-actions { top: 10px; }
    
    #unified-login-container {
        position: absolute !important;
        right: 5vw !important;
        left: auto !important;
    }
    
    .login-btn { padding: 8px 12px; font-size: 0.8rem; }
    .login-btn i { margin-right: 0; }
    .login-btn span { display: none; }
    .login-text { display: none; } 
    
    .action-buttons { flex-direction: column; gap: 15px; width: 100%; max-width: 300px; margin: 0 auto; }
    .btn { width: 100%; padding: 15px 20px; font-size: 1rem; }
    .hero-content { bottom: 12%; }

    .section-header { margin-bottom: 40px; }
    .section-header h2 { font-size: 2rem; line-height: 1.2; }
    .section-header p { font-size: 0.95rem; }

    .story-section { padding: 60px 15px; }
    .timeline::after { left: 15px; }
    .timeline-node { width: 100%; padding-left: 40px; padding-right: 0; margin-bottom: 30px; }
    .timeline-node.left, .timeline-node.right { left: 0; transform: translateY(30px); }
    .timeline-node.left::after, .timeline-node.right::after { width: 18px; height: 18px; left: 6px; top: 40px; border-width: 3px; }
    .story-card, .timeline-node.right .story-card { flex-direction: column; text-align: center; padding: 20px 15px; gap: 10px; }
    .story-card h3 { font-size: 1.25rem; }
    .story-card p { font-size: 0.9rem; }
    .story-character { width: 90px; height: 90px; }

    .services-section { padding: 60px 20px; }
    .services-grid { flex-direction: column; gap: 30px; }
    .service-card { padding: 30px 20px; }
    .service-icon-container { height: 140px; }
    .service-card h3 { font-size: 1.5rem; }
    .service-card p { font-size: 0.95rem; margin-bottom: 25px; }
    .service-btn { width: 100%; text-align: center; }

    .promise-section, .testimonial-section { padding: 60px 20px; }
    .promise-grid, .testimonial-grid { flex-direction: column; gap: 20px; }
    .promise-card, .testimonial-card { padding: 30px 20px; }

    .recruitment-section { padding: 60px 20px; }
    .recruit-content h2 { font-size: 1.8rem; }
    .recruit-lead { font-size: 1rem; }
    .btn-recruit { width: 100%; }

    .floating-search-btn {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
    }
    .floating-search-btn img {
        width: 50px;
        height: 50px;
    }
    .floating-search-btn:hover {
        width: 200px;
    }
    .floating-search-text {
        font-size: 0.95rem;
    }
}

@media (max-width: 640px) {
    .calming-footer { padding: 3rem 5vw 1.5rem; }
    .calming-footer .footer-grid { grid-template-columns: 1fr 1fr; gap: 1.5rem; row-gap: 2.5rem; margin-bottom: 2rem; }
    .calming-footer .ft-brand-col { grid-column: span 2; gap: 1rem; }
    .calming-footer .footer-grid > div:last-child { grid-column: span 2; } 
    .calming-footer .ft-logo { font-size: 1.75rem; }
    .calming-footer .ft-safe-badge { font-size: 0.75rem; padding: 5px 12px; }
    .calming-footer .ft-col-title { font-size: 1rem; margin-bottom: 1rem; }
    .calming-footer .ft-links a { font-size: 0.85rem; }
    .calming-footer .ft-contact-box { padding: 1.25rem; }
    .calming-footer .ft-email-link { font-size: 0.9rem; margin-top: 0.75rem; }
    .calming-footer .ft-bottom { flex-direction: column; gap: 0.75rem; text-align: center; padding-top: 1.5rem; }
}

/* ---------------------------------------------------
   LISTENER SEARCH MODAL STYLES
   --------------------------------------------------- */
.custom-modal-overlay {
    position: fixed; inset: 0; background: rgba(0,0,0,0.6); backdrop-filter: blur(5px);
    z-index: 10000; display: flex; align-items: center; justify-content: center;
    opacity: 0; pointer-events: none; transition: opacity 0.3s ease;
}
.custom-modal-overlay.show { opacity: 1; pointer-events: auto; }
.custom-modal-content {
    background: #ffffff; border-radius: 24px; width: 90%; max-width: 500px;
    max-height: 85vh; padding: 30px; position: relative;
    transform: translateY(20px) scale(0.95); transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.27);
    display: flex; flex-direction: column; overflow: hidden;
    box-shadow: 0 25px 50px rgba(0,0,0,0.15);
}
.custom-modal-overlay.show .custom-modal-content { transform: translateY(0) scale(1); }
.custom-modal-close {
    position: absolute; top: 15px; right: 15px; background: rgba(0,0,0,0.05); border: none;
    width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-size: 1.2rem; cursor: pointer; color: #4A5568; transition: all 0.2s; z-index: 10;
}
.custom-modal-close:hover { background: rgba(0,0,0,0.1); color: #1A202C; transform: scale(1.1); }

.search-radar-container {
    position: relative; height: 250px; display: flex; align-items: center; justify-content: center; flex-direction: column;
}
.radar-ring {
    position: absolute; border: 2px solid #ff7f3f; border-radius: 50%; opacity: 0;
    animation: radar-pulse 2s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
    top: 50%; left: 50%; transform: translate(-50%, -50%); margin-top: -20px;
}
.radar-ring.delay-0 { animation-delay: 0s; }
.radar-ring.delay-1 { animation-delay: 0.6s; }
.radar-ring.delay-2 { animation-delay: 1.2s; }
.radar-center-img {
    width: 60px; height: 60px; border-radius: 50%; z-index: 2; position: relative;
    margin-top: -20px; box-shadow: 0 4px 15px rgba(255, 127, 63, 0.4);
}
@keyframes radar-pulse {
    0% { width: 60px; height: 60px; opacity: 1; border-width: 4px; }
    100% { width: 200px; height: 200px; opacity: 0; border-width: 1px; }
}

.listeners-list-container {
    display: flex; flex-direction: column; gap: 12px; overflow-y: auto; margin-top: 10px; padding-right: 5px;
}
.listeners-list-container.hidden { display: none; }
.listener-item {
    display: flex; justify-content: space-between; align-items: center;
    padding: 15px; border: 1px solid rgba(0,0,0,0.08); border-radius: 16px; background: #FAFAFA;
    transition: transform 0.2s, box-shadow 0.2s;
}
.listener-item:hover { transform: translateY(-2px); box-shadow: 0 5px 15px rgba(0,0,0,0.05); }
.listener-info h4 { font-size: 1.05rem; color: #2D3748; display: flex; align-items: center; gap: 8px; margin-bottom: 5px;}
.listener-info .rating { font-size: 0.85rem; color: #D69E2E; background: #FEFCBF; padding: 2px 8px; border-radius: 20px; display: flex; align-items: center; gap: 4px; }
.listener-info p { display: flex; align-items: center; gap: 6px; font-size: 0.9rem; color: #718096; margin: 0;}
.status-dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; flex-shrink: 0; }

.connecting-pulse {
    width: 60px; height: 60px; background: #ff7f3f; border-radius: 50%; margin: 0 auto;
    animation: connecting-beat 1.5s ease-in-out infinite; box-shadow: 0 0 20px rgba(255,127,63,0.5);
}
@keyframes connecting-beat {
    0%, 100% { transform: scale(0.9); opacity: 0.8; }
    50% { transform: scale(1.1); opacity: 1; }
}