/* KHOJ Homepage - Enhanced Design */

/* Hero Slider */
.page-home .hero-slider {
    position: relative;
    overflow: hidden;
    height: 580px;
    z-index: 0;
}

.page-home .slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1.2s ease;
    background-size: cover;
    background-position: center;
    transform: scale(1.05);
}

.page-home .slide.active {
    opacity: 1;
    animation: kenBurns 8s ease-out forwards;
}

@keyframes kenBurns {
    from { transform: scale(1.08); }
    to { transform: scale(1); }
}

.page-home .slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(13, 22, 66, 0.88) 0%,
        rgba(26, 35, 126, 0.75) 50%,
        rgba(21, 101, 192, 0.6) 100%
    );
}

.page-home .slide-content {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 24px;
    z-index: 2;
}

.page-home .hero-badge {
    display: inline-block;
    background: rgba(255, 111, 0, 0.2);
    border: 1px solid rgba(255, 167, 64, 0.5);
    color: #ffcc80;
    padding: 6px 18px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
    animation: fadeInDown 0.8s ease;
}

.page-home .slide-content h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 18px;
    text-shadow: 0 4px 20px rgba(0,0,0,0.3);
    animation: fadeInUp 0.8s ease 0.1s both;
}

.page-home .slide-content p {
    font-size: 1.15rem;
    opacity: 0.92;
    margin-bottom: 32px;
    line-height: 1.7;
    max-width: 600px;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.page-home .hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    justify-content: center;
    animation: fadeInUp 0.8s ease 0.3s both;
}

.page-home .btn-lg {
    padding: 14px 32px;
    font-size: 1rem;
    border-radius: 50px;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Slider Controls */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.3);
    color: #fff;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    font-size: 1.1rem;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.slider-arrow:hover {
    background: rgba(255, 111, 0, 0.8);
    border-color: var(--accent);
    transform: translateY(-50%) scale(1.1);
}

.slider-prev { left: 24px; }
.slider-next { right: 24px; }

.page-home .slider-dots {
    bottom: 28px;
}

.page-home .slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50px;
    transition: all 0.4s ease;
}

.page-home .slider-dot.active {
    width: 32px;
    background: var(--accent);
    border-color: var(--accent);
}

/* Helpline Strip */
.helpline-strip {
    background: linear-gradient(90deg, #0d1642, #1a237e);
    padding: 0;
    position: relative;
    z-index: 5;
    box-shadow: 0 8px 30px rgba(0,0,0,0.2);
}

.helpline-strip-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 16px 0;
    flex-wrap: wrap;
}

.helpline-strip-label {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    font-weight: 700;
    font-size: 0.95rem;
    white-space: nowrap;
}

.pulse-dot {
    width: 10px;
    height: 10px;
    background: #ff5252;
    border-radius: 50%;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(255,82,82,0.6); }
    50% { box-shadow: 0 0 0 8px rgba(255,82,82,0); }
}

.helpline-strip-items {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.helpline-pill {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.15);
    padding: 8px 18px;
    border-radius: 50px;
    color: #fff;
    font-size: 0.88rem;
    transition: all 0.3s ease;
}

.helpline-pill:hover {
    background: rgba(255,255,255,0.2);
    transform: translateY(-2px);
}

.helpline-pill-highlight {
    background: rgba(255, 111, 0, 0.25);
    border-color: rgba(255, 167, 64, 0.5);
}

.helpline-pill strong {
    font-size: 1.05rem;
    font-weight: 800;
    color: #ffcc80;
}

/* Visitor Counter Banner */
.visitor-stats-banner {
    padding: 0 0 50px;
    margin-top: 10px;
    position: relative;
    z-index: 4;
}

.visitor-stats-card {
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    background: linear-gradient(135deg, #0d1642 0%, #1a237e 45%, #283593 100%);
    box-shadow:
        0 20px 50px rgba(13, 22, 66, 0.35),
        0 0 0 1px rgba(255, 255, 255, 0.08) inset;
}

.visitor-stats-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.35;
    background-image:
        radial-gradient(circle at 20% 30%, rgba(255, 111, 0, 0.25) 0%, transparent 45%),
        radial-gradient(circle at 85% 70%, rgba(100, 181, 246, 0.2) 0%, transparent 40%),
        radial-gradient(circle at 1px 1px, rgba(255,255,255,0.07) 1px, transparent 0);
    background-size: auto, auto, 24px 24px;
    pointer-events: none;
}

.visitor-stats-shine {
    position: absolute;
    top: -50%;
    left: -30%;
    width: 60%;
    height: 200%;
    background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,0.06) 50%, transparent 60%);
    animation: visitorShine 6s ease-in-out infinite;
    pointer-events: none;
}

@keyframes visitorShine {
    0%, 100% { transform: translateX(-20%) rotate(12deg); opacity: 0; }
    45%, 55% { opacity: 1; }
    100% { transform: translateX(120%) rotate(12deg); opacity: 0; }
}

.visitor-stats-inner {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    padding: 32px 40px;
}

.visitor-stats-info {
    flex: 1;
    min-width: 0;
    color: #fff;
}

.visitor-live-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 111, 0, 0.18);
    border: 1px solid rgba(255, 167, 64, 0.45);
    color: #ffcc80;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.visitor-live-dot {
    width: 8px;
    height: 8px;
    background: #69f0ae;
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(105, 240, 174, 0.7);
    animation: visitorPulse 2s infinite;
}

@keyframes visitorPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(105, 240, 174, 0.6); }
    50% { box-shadow: 0 0 0 8px rgba(105, 240, 174, 0); }
}

.visitor-stats-info h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.65rem;
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 10px;
    background: linear-gradient(90deg, #fff 0%, #e8eaf6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.visitor-stats-info p {
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.95rem;
    line-height: 1.6;
    max-width: 520px;
    margin-bottom: 18px;
}

.visitor-stats-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.visitor-stats-tags span {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.82rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(4px);
}

.visitor-stats-display {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.visitor-counter-ring {
    position: relative;
    width: 160px;
    height: 160px;
    margin-bottom: 12px;
}

.visitor-ring-svg {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.visitor-ring-track {
    fill: none;
    stroke: rgba(255, 255, 255, 0.08);
    stroke-width: 6;
}

.visitor-ring-glow {
    fill: none;
    stroke: rgba(255, 111, 0, 0.15);
    stroke-width: 10;
    filter: blur(2px);
}

.visitor-ring-progress {
    fill: none;
    stroke: url(#visitorRingGradient);
    stroke-width: 6;
    stroke-linecap: round;
    stroke-dasharray: 390;
    stroke-dashoffset: 90;
    animation: visitorRingSpin 8s linear infinite;
    transform-origin: center;
}

@keyframes visitorRingSpin {
    0% { stroke-dashoffset: 390; }
    50% { stroke-dashoffset: 120; }
    100% { stroke-dashoffset: 390; }
}

.visitor-counter-value {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.visitor-eye-icon {
    color: #ffcc80;
    opacity: 0.9;
}

.visitor-counter-number {
    font-family: 'Poppins', sans-serif;
    font-size: 2rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.5px;
    font-variant-numeric: tabular-nums;
    text-shadow: 0 4px 20px rgba(255, 111, 0, 0.35);
    line-height: 1;
}

.visitor-counter-label {
    font-size: 0.82rem;
    font-weight: 700;
    color: #ffcc80;
    text-transform: uppercase;
    letter-spacing: 1px;
}

@media (max-width: 768px) {
    .visitor-stats-banner {
        margin-top: 0;
        padding-bottom: 36px;
    }

    .visitor-stats-inner {
        flex-direction: column;
        text-align: center;
        padding: 28px 22px;
        gap: 24px;
    }

    .visitor-stats-info p { margin-left: auto; margin-right: auto; }

    .visitor-stats-tags { justify-content: center; }

    .visitor-stats-info h3 { font-size: 1.35rem; }

    .visitor-counter-ring {
        width: 140px;
        height: 140px;
    }

    .visitor-counter-number { font-size: 1.75rem; }
}

/* Features Grid */
.features-section {
    padding: 50px 0 30px;
    margin-top: -20px;
    position: relative;
    z-index: 4;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.feature-card {
    background: #fff;
    border-radius: 16px;
    padding: 28px 22px;
    box-shadow: 0 10px 40px rgba(26, 35, 126, 0.1);
    border: 1px solid rgba(26, 35, 126, 0.06);
    transition: all 0.35s ease;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transform: scaleX(0);
    transition: transform 0.35s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(26, 35, 126, 0.18);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin-bottom: 16px;
}

.feature-icon-1 { background: linear-gradient(135deg, #e8eaf6, #c5cae9); }
.feature-icon-2 { background: linear-gradient(135deg, #e3f2fd, #90caf9); }
.feature-icon-3 { background: linear-gradient(135deg, #fff3e0, #ffcc80); }
.feature-icon-4 { background: linear-gradient(135deg, #e8f5e9, #a5d6a7); }

.feature-card h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.05rem;
    color: var(--primary);
    margin-bottom: 8px;
    font-weight: 700;
}

.feature-card p {
    color: var(--text-light);
    font-size: 0.88rem;
    flex: 1;
    line-height: 1.6;
}

.feature-link {
    margin-top: 14px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent);
}

/* Section Enhancements */
.section-tag {
    display: inline-block;
    background: linear-gradient(135deg, rgba(26,35,126,0.08), rgba(255,111,0,0.08));
    color: var(--primary);
    padding: 5px 16px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.page-home .section-header h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 2.2rem;
    font-weight: 800;
}

.section-pattern {
    background: linear-gradient(180deg, #fff 0%, #f8f9ff 100%);
    position: relative;
}

.section-pattern::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 20% 50%, rgba(26,35,126,0.03) 0%, transparent 50%),
                      radial-gradient(circle at 80% 50%, rgba(255,111,0,0.03) 0%, transparent 50%);
    pointer-events: none;
}

.section-cta {
    text-align: center;
    margin-top: 40px;
}

/* Portal Cards V2 */
.portals-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
}

.portal-card-v2 {
    background: #fff;
    border-radius: 16px;
    padding: 28px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    border: 1px solid rgba(26,35,126,0.08);
    transition: all 0.35s ease;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.portal-card-v2:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(26,35,126,0.15);
    border-color: rgba(255,111,0,0.3);
}

.portal-card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.portal-num {
    font-family: 'Poppins', sans-serif;
    font-size: 2rem;
    font-weight: 800;
    color: rgba(26,35,126,0.1);
    line-height: 1;
}

.portal-icon {
    font-size: 1.8rem;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #e8eaf6, #c5cae9);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.portal-card-v2 h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.1rem;
    color: var(--primary);
    margin-bottom: 10px;
    font-weight: 700;
    line-height: 1.4;
}

.portal-card-v2 p {
    color: var(--text-light);
    font-size: 0.88rem;
    flex: 1;
    margin-bottom: 20px;
    line-height: 1.6;
}

.btn-portal {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: #fff;
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 0.88rem;
    font-weight: 600;
    transition: all 0.3s ease;
    align-self: flex-start;
}

.btn-portal:hover {
    background: linear-gradient(135deg, var(--accent), #ff9100);
    transform: translateX(4px);
    box-shadow: 0 4px 15px rgba(255,111,0,0.4);
}

button.btn-portal,
button.btn-portal-contact {
    border: none;
    cursor: pointer;
    font-family: inherit;
}

/* Blog Cards V2 */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 28px;
}

.blog-card-v2 {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.07);
    transition: all 0.35s ease;
    border: 1px solid rgba(0,0,0,0.05);
}

.blog-card-v2:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(26,35,126,0.15);
}

.blog-card-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card-v2:hover .blog-card-image img {
    transform: scale(1.08);
}

.blog-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #e8eaf6, #c5cae9);
}

.blog-cat-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    background: rgba(26,35,126,0.9);
    color: #fff;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    backdrop-filter: blur(5px);
}

.blog-card-body {
    padding: 22px;
}

.blog-meta {
    display: flex;
    gap: 16px;
    font-size: 0.8rem;
    color: var(--text-light);
    margin-bottom: 10px;
}

.blog-card-body h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.05rem;
    color: var(--primary);
    margin-bottom: 10px;
    font-weight: 700;
    line-height: 1.4;
}

.blog-card-body p {
    color: var(--text-light);
    font-size: 0.88rem;
    line-height: 1.6;
    margin-bottom: 14px;
}

.read-more {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--accent);
    transition: gap 0.3s ease;
}

.read-more:hover {
    color: var(--primary);
}

/* Video Cards V2 */
.video-section .video-category-tabs .category-tab {
    cursor: pointer;
    font-family: inherit;
}

.video-grid-home .video-card-v2.hidden {
    display: none;
}

.video-card-media {
    height: auto;
    aspect-ratio: 16 / 9;
    background: #0d1642;
}

.video-card-media .video-wrapper {
    position: absolute;
    inset: 0;
    padding-bottom: 0;
    height: 100%;
}

.video-card-media .video-wrapper iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.video-thumbnail-trigger {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    padding: 0;
    border: none;
    background: #0d1642;
    cursor: pointer;
    display: block;
}

.video-thumbnail-trigger img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.video-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(255, 111, 0, 0.92);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
    pointer-events: none;
    padding-left: 4px;
}

.video-thumbnail-trigger:hover .video-play-btn {
    background: #ff9100;
    transform: translate(-50%, -50%) scale(1.08);
}

.video-empty-message {
    text-align: center;
    color: var(--text-light);
    padding: 30px 20px;
    background: #fff;
    border-radius: 12px;
    border: 1px dashed var(--border);
}

.section-empty-state {
    text-align: center;
    padding: 48px 28px;
    background: #fff;
    border-radius: 16px;
    border: 1px dashed var(--border);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.section-empty-icon {
    font-size: 2.5rem;
    line-height: 1;
    margin-bottom: 14px;
}

.section-empty-state h3 {
    font-size: 1.35rem;
    color: var(--primary);
    margin: 0 0 10px;
    font-family: 'Poppins', sans-serif;
}

.section-empty-state p {
    margin: 0 auto;
    max-width: 420px;
    color: var(--text-light);
    line-height: 1.6;
}

.hero-empty {
    background: linear-gradient(135deg, #1a237e 0%, #283593 50%, #1a5276 100%);
    padding: 70px 0 60px;
}

.hero-empty .section-empty-state {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(6px);
}

.hero-empty .section-empty-state h3 {
    color: #fff;
}

.hero-empty .section-empty-state p {
    color: rgba(255, 255, 255, 0.85);
}

.video-card-v2 {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.07);
    transition: all 0.35s ease;
}

.video-card-v2:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 40px rgba(26,35,126,0.12);
}

.video-card-body {
    padding: 18px 20px;
}

.video-card-body h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 6px;
}

.video-card-body p {
    font-size: 0.85rem;
    color: var(--text-light);
}

/* CTA Banner */
.cta-banner {
    background: linear-gradient(135deg, #0d1642 0%, #1a237e 40%, #283593 100%);
    padding: 70px 0;
    position: relative;
    overflow: hidden;
}

.cta-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255,111,0,0.15) 0%, transparent 70%);
    border-radius: 50%;
}

.cta-banner::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(57,73,171,0.3) 0%, transparent 70%);
    border-radius: 50%;
}

.cta-banner-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    position: relative;
    z-index: 1;
    flex-wrap: wrap;
}

.cta-content h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 2rem;
    color: #fff;
    font-weight: 800;
    margin-bottom: 12px;
    line-height: 1.3;
}

.cta-content p {
    color: rgba(255,255,255,0.8);
    font-size: 1.05rem;
    max-width: 500px;
}

.cta-buttons {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

/* Contact Section */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.contact-info h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 2rem;
    color: var(--primary);
    font-weight: 800;
    margin-bottom: 14px;
}

.contact-info > p {
    color: var(--text-light);
    margin-bottom: 28px;
    line-height: 1.7;
}

.contact-helplines {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-helpline-item {
    display: flex;
    align-items: center;
    gap: 16px;
    background: #fff;
    padding: 18px 22px;
    border-radius: 14px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
    border-left: 4px solid var(--primary);
    transition: all 0.3s ease;
}

.contact-helpline-item:hover {
    transform: translateX(6px);
    border-left-color: var(--accent);
    box-shadow: 0 8px 25px rgba(26,35,126,0.12);
}

.ch-icon {
    font-size: 1.8rem;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #e8eaf6, #c5cae9);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-helpline-item strong {
    display: block;
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 2px;
}

.contact-helpline-item a {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
}

.contact-helpline-item a:hover {
    color: var(--accent);
}

.contact-visual {
    position: relative;
    min-height: 320px;
}

.contact-card-float {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: #fff;
    padding: 28px;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(26,35,126,0.25);
    position: absolute;
    width: 280px;
}

.contact-card-float.ccf-2 {
    background: linear-gradient(135deg, #e65100, #ff6f00);
    bottom: 0;
    right: 0;
    box-shadow: 0 20px 50px rgba(255,111,0,0.3);
}

.contact-card-float:first-child {
    top: 0;
    left: 0;
}

.ccf-icon {
    font-size: 2rem;
    margin-bottom: 12px;
}

.contact-card-float h4 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.1rem;
    margin-bottom: 8px;
    font-weight: 700;
}

.contact-card-float p {
    font-size: 0.88rem;
    opacity: 0.9;
    line-height: 1.6;
}

/* Scroll Animations */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Mobile: show section content immediately (scroll observer caused late appearance) */
@media (max-width: 768px) {
    .fade-up {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .fade-up {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* Responsive */
@media (max-width: 1024px) {
    .features-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .page-home .hero-slider { height: 420px; }
    .page-home .slide-content h2 { font-size: 2rem; }
    .page-home .slide-content p { font-size: 1rem; }
    .slider-arrow { display: none; }
    .features-grid { grid-template-columns: 1fr; margin-top: 0; }
    .features-section { margin-top: 0; padding-top: 30px; }
    .helpline-strip-inner { flex-direction: column; align-items: flex-start; }
    .contact-grid { grid-template-columns: 1fr; }
    .contact-visual { min-height: 260px; margin-top: 20px; }
    .contact-card-float { width: 240px; padding: 20px; }
    .cta-banner-inner { flex-direction: column; text-align: center; }
    .cta-content p { margin: 0 auto; }
    .cta-buttons { justify-content: center; }
    .cta-content h2 { font-size: 1.5rem; }
}
