:root {
    --hero-gradient-start: #5867dd;
    --hero-gradient-end: #84DCC6;
    --maths-gradient-start: #667eea;
    --maths-gradient-end: #4facfe;
    --spelling-gradient-start: #38ef7d;
    --spelling-gradient-end: #11998e;
    --text-dark: #212529;
    --text-muted: #6c757d;
    --navbar-height: 62px; /* Adjust if your navbar renders taller or shorter */
}

/* General Styles */
body {
    font-family: 'Inter', sans-serif;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, rgba(88, 103, 221, 0.95) 0%, rgba(132, 220, 198, 0.95) 100%);
    display: flex;
    align-items: center;
    position: relative;
    padding: 5rem 0 7rem;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

/* Fade the hero out to white at the bottom */
.hero-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 240px;
    background: linear-gradient(to bottom, transparent 0%, white 100%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding-left: 1rem;
}

.hero-title {
    font-size: 3rem;
    font-weight: 800;
    color: white;
    margin-bottom: 1.25rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 1.75rem;
    line-height: 1.8;
}

.hero-badge {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 2rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 1.5rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

/* Image naturally sizes within the column */
.hero-section img {
    max-width: 100%;
    max-height: 460px;
    width: auto;
    height: auto;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.2));
}
    background: white;
    color: #5867dd;
}

.btn-hero-primary:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    color: #5867dd;
}

.btn-hero-outline {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-hero-outline:hover {
    background: white;
    color: #5867dd;
    transform: translateY(-2px);
}

/* Stats Section */
.stats-section {
    padding: 4rem 0;
    background: transparent;
    position: relative;
    margin-top: -120px;
}

.stat-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 1rem;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.stat-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2.5rem;
}

.stat-icon.maths {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.15) 0%, rgba(79, 172, 254, 0.15) 100%);
    color: #667eea;
}

.stat-icon.spelling {
    background: linear-gradient(135deg, rgba(56, 239, 125, 0.15) 0%, rgba(17, 153, 142, 0.15) 100%);
    color: #11998e;
}

.stat-icon.lists {
    background: linear-gradient(135deg, rgba(156, 39, 176, 0.15) 0%, rgba(171, 71, 188, 0.15) 100%);
    color: #9c27b0;
}

.stat-icon.plays {
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.2) 0%, rgba(255, 152, 0, 0.2) 100%);
    color: #ff9800;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.1rem;
    color: var(--text-muted);
    font-weight: 600;
}

/* ============================================
   HOW IT WORKS — OLD TWO-COLUMN LAYOUT
   COMMENTED OUT — replaced by the new tab pill
   system (.hiw-section) on the homepage.
   Restore if needed on other pages.
   ============================================

.how-it-works-section {
    padding: 3rem 0 0 0;
    background: white;
}

.how-it-works-section .section-title,
.how-it-works-section .section-subtitle {
    padding: 0 1rem;
}

.how-it-works-category {
    overflow: hidden;
    height: 100%;
    min-height: 600px;
}

.how-it-works-category.maths {
    background: linear-gradient(135deg, var(--maths-gradient-start) 0%, var(--maths-gradient-end) 100%);
}

.how-it-works-category.spelling {
    background: linear-gradient(135deg, var(--spelling-gradient-start) 0%, var(--spelling-gradient-end) 100%);
}

.category-header-box {
    padding: 3rem 2.5rem 2rem;
    text-align: center;
    color: white;
}

.category-badge {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.category-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: white;
}

.category-description {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.7;
}

.features-list {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-top: 2px solid rgba(255, 255, 255, 0.2);
    padding: 2rem 2.5rem;
}

.features-list ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.features-list li {
    padding: 1.25rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: flex-start;
    color: white;
}

.features-list li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.features-list li:first-child {
    padding-top: 0;
}

.features-list li i {
    font-size: 1.5rem;
    margin-right: 1rem;
    flex-shrink: 0;
    margin-top: 0.2rem;
    color: white;
}

.feature-content {
    flex: 1;
}

.feature-content strong {
    display: block;
    font-size: 1.15rem;
    color: white;
    margin-bottom: 0.35rem;
}

.feature-content span {
    display: block;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    line-height: 1.6;
}

.latest-game-card {
    background: white;
    border-radius: 1rem;
    padding: 1.5rem;
    margin: 2rem 3rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.latest-game-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--maths-gradient-start) 0%, var(--maths-gradient-end) 100%);
    color: white;
}

.latest-game-badge.spelling {
    background: linear-gradient(135deg, var(--spelling-gradient-start) 0%, var(--spelling-gradient-end) 100%);
}

.latest-game-image {
    width: 100%;
    border-radius: 0.75rem;
    margin-bottom: 1rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.latest-game-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
}

.latest-game-description {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.btn-play-game {
    display: inline-block;
    padding: 0.85rem 1.75rem;
    border-radius: 2rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    color: white;
    width: 100%;
    text-align: center;
    background: linear-gradient(135deg, var(--maths-gradient-start) 0%, var(--maths-gradient-end) 100%);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.btn-play-game.spelling {
    background: linear-gradient(135deg, var(--spelling-gradient-start) 0%, var(--spelling-gradient-end) 100%);
    box-shadow: 0 4px 15px rgba(56, 239, 125, 0.3);
}

.btn-play-game:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    color: white;
}

.category-cta-box {
    padding: 2rem 3rem 3rem;
    text-align: center;
}

.btn-category-link {
    display: inline-block;
    padding: 1rem 2.5rem;
    border-radius: 2rem;
    font-weight: 600;
    font-size: 1.05rem;
    text-decoration: none;
    transition: all 0.3s ease;
    background: white;
    color: var(--maths-gradient-start);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.btn-category-link.spelling {
    color: var(--spelling-gradient-start);
}

.btn-category-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
}
============================================ */

/* ============================================
   HOW IT WORKS — TAB PILL SYSTEM
   ============================================ */

.hiw-section {
    padding: 5rem 0;
    background: #f8f9fa;
}

/* ---- Pills ---- */
.hiw-pills {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.hiw-pill {
    background: white;
    border: 2px solid #dee2e6;
    border-radius: 3rem;
    padding: 0.75rem 2rem;
    font-size: 1rem;
    font-weight: 700;
    color: #495057;
    cursor: pointer;
    transition: all 0.2s ease;
}

.hiw-pill:hover {
    border-color: var(--maths-gradient-start);
    color: var(--maths-gradient-start);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.15);
}

.hiw-pill.active {
    background: linear-gradient(135deg, var(--maths-gradient-start) 0%, var(--maths-gradient-end) 100%);
    border-color: transparent;
    color: white;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.35);
}

/* ---- Panel show/hide ---- */
.hiw-panel {
    display: none;
}

.hiw-panel.active {
    display: block;
    animation: hiwFadeIn 0.3s ease;
}

@keyframes hiwFadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ---- Two-column panel layout ---- */
.hiw-panel-inner {
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: 0;
    background: white;
    border-radius: 1.25rem;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

/* Left: coloured accent column */
.hiw-panel-left {
    background: linear-gradient(160deg, var(--maths-gradient-start) 0%, var(--maths-gradient-end) 100%);
    padding: 3rem 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hiw-panel-label {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 0.75rem;
}

.hiw-panel-heading {
    font-size: 2rem;
    font-weight: 800;
    color: white;
    line-height: 1.2;
    margin-bottom: 1.25rem;
}

.hiw-panel-intro {
    font-size: 0.975rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.75;
    margin-bottom: 2rem;
    flex-grow: 1;
}

.hiw-cta-btn {
    display: inline-block;
    background: white;
    color: var(--maths-gradient-start);
    padding: 0.75rem 1.5rem;
    border-radius: 2rem;
    font-weight: 700;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.2s ease;
    text-align: center;
}

.hiw-cta-btn:hover {
    background: rgba(255, 255, 255, 0.9);
    color: var(--maths-gradient-start);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.hiw-cta-btn-outline {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.6);
}

.hiw-cta-btn-outline:hover {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    border-color: white;
}

/* Right: feature rows */
.hiw-panel-right {
    padding: 2.5rem 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0;
}

.hiw-feature-row {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    padding: 1.25rem 0;
    border-bottom: 1px solid #f0f0f0;
}

.hiw-feature-row:first-child {
    padding-top: 0;
}

.hiw-feature-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.hiw-feature-icon {
    font-size: 1.75rem;
    flex-shrink: 0;
    width: 2.5rem;
    text-align: center;
    line-height: 1;
    margin-top: 0.1rem;
}

.hiw-feature-body h5 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.3rem;
}

.hiw-feature-body p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.65;
    margin: 0;
}

/* ---- Pricing block (Mental Maths panel) ---- */
.hiw-pricing {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 0.85rem;
    padding: 1.25rem 1.5rem;
    margin-bottom: 1.75rem;
}

.hiw-pricing-row {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.hiw-pricing-tier {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.2rem;
}

.hiw-pricing-label {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: rgba(255, 255, 255, 0.7);
}

.hiw-pricing-price {
    font-size: 2rem;
    font-weight: 800;
    color: white;
    line-height: 1.1;
}

.hiw-pricing-price span {
    font-size: 0.85rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.75);
}

.hiw-pricing-desc {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.5;
}

.hiw-pricing-divider {
    width: 1px;
    height: 60px;
    background: rgba(255, 255, 255, 0.25);
    flex-shrink: 0;
}

/* Responsive */
@media (max-width: 768px) {
    .hiw-panel-inner {
        grid-template-columns: 1fr;
    }

    .hiw-panel-left {
        padding: 2rem 1.75rem;
    }

    .hiw-panel-right {
        padding: 1.75rem;
    }

    .hiw-panel-heading {
        font-size: 1.6rem;
    }
}

@media (max-width: 576px) {
    .hiw-pill {
        width: 100%;
        text-align: center;
    }
}

/* Who Should Use Section */
.who-should-use-section {
    padding: 5rem 0;
    background: #f8f9fa;
}

.user-card {
    background: white;
    border-radius: 1rem;
    padding: 2.5rem;
    text-align: center;
    height: 100%;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.user-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.user-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
}

.user-card h3 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.user-features {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.user-features li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.user-features li:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.user-features i {
    color: #11998e;
    font-size: 1.25rem;
    margin-right: 0.75rem;
    margin-top: 0.2rem;
    flex-shrink: 0;
}

.user-features span {
    color: var(--text-muted);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Why Use Section */
.why-use-section {
    padding: 5rem 0;
    background: white;
}

.benefit-card {
    text-align: center;
    padding: 2rem 1.5rem;
    height: 100%;
    transition: all 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-5px);
}

.benefit-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2.5rem;
    background: linear-gradient(135deg, rgba(88, 103, 221, 0.1) 0%, rgba(132, 220, 198, 0.1) 100%);
}

.benefit-card h4 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.benefit-card p {
    color: var(--text-muted);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #5867dd 0%, #84DCC6 100%);
    padding: 5rem 0;
    color: white;
    text-align: center;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.cta-description {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.btn-cta {
    background: white;
    color: #5867dd;
    padding: 1rem 3rem;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 2rem;
    border: none;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    background: rgba(255, 255, 255, 0.95);
    color: #5867dd;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-section {
        padding: 3rem 0;
    }

    .hero-section img {
        max-height: 300px;
    }

    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .category-title {
        font-size: 1.75rem;
    }
    
    .cta-title {
        font-size: 2rem;
    }
    
    .user-card {
        margin-bottom: 1.5rem;
    }
}

/* ============================================
   HERO SOCIAL FOLLOW ICONS
   ============================================ */
.social-follow {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.social-follow-text {
    font-size: 0.95rem;
    color: #6c757d;
    font-weight: 500;
}

.social-follow .social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #f8f9fa;
    color: #495057;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-follow .social-icon:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.social-follow .social-icon:hover i {
    color: #fff;
}

.social-follow .social-icon:nth-child(2):hover {
    background: #1877f2; /* Facebook blue */
}

.social-follow .social-icon:nth-child(3):hover {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); /* Instagram gradient */
}

.social-follow .social-icon:nth-child(4):hover {
    background: #000000; /* X/Twitter black */
}


/* ============================================
   STAY CONNECTED SECTION
   ============================================ */
.stay-connected-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.stay-connected-section .section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 15px;
}

.stay-connected-section .section-subtitle {
    font-size: 1.15rem;
    color: #6c757d;
    max-width: 600px;
    margin: 0 auto;
}

.social-card {
    display: block;
    background: #ffffff;
    border-radius: 16px;
    padding: 40px 30px;
    text-align: center;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid transparent;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
}

.social-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.social-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
}

.social-card:hover::before {
    transform: scaleX(1);
}

.social-card-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    transition: all 0.4s ease;
    color: #fff;
}

.social-card.facebook .social-card-icon {
    background: linear-gradient(135deg, #1877f2 0%, #0e5fc7 100%);
}

.social-card.instagram .social-card-icon {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.social-card.twitter .social-card-icon {
    background: linear-gradient(135deg, #000000 0%, #2c2c2c 100%);
}

.social-card:hover .social-card-icon {
    transform: scale(1.1) rotate(5deg);
}

.social-card h4 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 12px;
    transition: color 0.3s ease;
}

.social-card p {
    font-size: 0.95rem;
    color: #6c757d;
    margin-bottom: 15px;
    line-height: 1.5;
}

.social-card .social-handle {
    display: inline-block;
    font-size: 0.9rem;
    font-weight: 600;
    padding: 6px 16px;
    border-radius: 20px;
    background: #f8f9fa;
    color: #495057;
    transition: all 0.3s ease;
}

.social-card.facebook:hover h4 {
    color: #1877f2;
}

.social-card.instagram:hover h4 {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.social-card.twitter:hover h4 {
    color: #000000;
}

.social-card.facebook:hover .social-handle {
    background: #1877f2;
    color: #fff;
}

.social-card.instagram:hover .social-handle {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: #fff;
}

.social-card.twitter:hover .social-handle {
    background: #000000;
    color: #fff;
}


/* ============================================
   RESPONSIVE ADJUSTMENTS
   ============================================ */
@media (max-width: 768px) {
    .stay-connected-section {
        padding: 60px 0;
    }
    
    .stay-connected-section .section-title {
        font-size: 2rem;
    }
    
    .stay-connected-section .section-subtitle {
        font-size: 1rem;
    }
    
    .social-card {
        padding: 35px 25px;
    }
    
    .social-card-icon {
        width: 70px;
        height: 70px;
        font-size: 2rem;
    }
    
    .social-follow {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .social-card h4 {
        font-size: 1.2rem;
    }
    
    .social-card p {
        font-size: 0.9rem;
    }
}