/* ============================================================
   overrides.css  —  Component-level refinements
   Loaded LAST so it wins specificity cleanly.
   ============================================================ */

/* ── Social links - 2-Column Layout ── */
.social-links {
    display: flex !important;
    gap: 2.2rem !important;
    margin-bottom: 1.5rem;
}

.social-col {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.8rem !important;
    flex: 1 !important;
}

/* ── Social link wrapper — Minimal styling ── */
.social-link {
    border: none !important;
    background: transparent !important;
    padding: 0 !important;
    margin-bottom: 0 !important;
    align-items: center;
    color: #9ca3af !important;
    font-size: 0.92rem !important;
}

.social-link:hover {
    color: #ffffff !important;
}

/* ── Icon box — 2.38rem, transparent, white/10 border ── */
.sl-icon-box {
    width: 2.38rem !important;
    height: 2.38rem !important;
    background: transparent !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 8px !important;
    transition: all 300ms ease !important;
}

.social-link:hover .sl-icon-box {
    border-color: rgba(255, 255, 255, 0.4) !important;
}

.social-icon {
    width: 16px !important;
    height: 16px !important;
    transition: all 300ms ease !important;
}

.social-link.sl-whatsapp .social-icon { color: #25d366 !important; }
.social-link.sl-linkedin-alt .social-icon { color: #0077b5 !important; }
.social-link.sl-facebook .social-icon { color: #1877f2 !important; }
.social-link.sl-twitter-alt .social-icon { color: #1da1f2 !important; }
.social-link.sl-github .social-icon { color: #e2e8f0 !important; }
.social-link.sl-youtube .social-icon { color: #ff0000 !important; }
.social-link.sl-instagram .social-icon { color: #e1306c !important; }
.social-link.sl-email .social-icon { color: #00f5ff !important; }

/* ── Align Connect Info & Form Bottom ── */
.contact-grid {
    align-items: stretch !important;
}
.contact-info {
    display: flex;
    flex-direction: column;
    height: 100%;
}
.social-links {
    margin-top: auto;
}

/* ── Enhanced Project Number Badge (Slightly Smaller) ── */
.project-number {
    background: rgba(0, 217, 255, 0.12) !important;
    border: 1px solid rgba(0, 217, 255, 0.25) !important;
    box-shadow: 0 2px 10px rgba(0, 217, 255, 0.15), inset 0 0 8px rgba(0, 217, 255, 0.05) !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
    color: #ffffff !important;
    text-shadow: 0 0 6px rgba(0, 217, 255, 0.6) !important;
    font-weight: 600 !important;
    letter-spacing: 1px !important;
    font-size: 0.68rem !important; /* Scaled down slightly */
    padding: 0.25rem 0.6rem !important; /* Tighter padding */
    height: auto !important;
    min-width: 0 !important;
    border-radius: 6px !important;
    transition: all 0.3s ease;
}
.project-card:hover .project-number {
    box-shadow: 0 4px 15px rgba(0, 217, 255, 0.3), inset 0 0 10px rgba(0, 217, 255, 0.15) !important;
    background: rgba(0, 217, 255, 0.2) !important;
}

/* ── Tech Arsenal — tighten bar track, match reference look ── */
.skill-bar {
    height: 9px !important;
    background: rgba(0,217,255,0.07) !important;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}



/* ── Project card — content padding tweak for taller image ── */
.project-content {
    padding: 1rem 1.25rem 1rem !important;
}

/* ── Skills section — 2-column match to reference ── */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.4rem 2.5rem;
    margin-bottom: 2.7rem;
}

.skill-header {
    margin-bottom: 0.58rem !important;
}

.skill-name {
    font-size: 0.94rem !important;
    font-family: 'Poppins', sans-serif;
    color: var(--text-primary) !important;
    font-weight: 500 !important;
}

/* ── Responsive tweaks ── */
@media (max-width: 968px) {
    .skills-grid { grid-template-columns: 1fr; gap: 1.2rem; }
    .social-links { flex-direction: row !important; gap: 0.5rem !important; }
    .social-link { font-size: 0.85rem !important; }
    .sl-icon-box { width: 2rem !important; height: 2rem !important; }
    .contact-recreated { padding-top: 3rem !important; padding-bottom: 3rem !important; }
}

/* ── CONNECT label above social links (matches reference) ── */
.connect-label {
    font-family: 'Poppins', sans-serif;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: rgba(0, 217, 255, 0.55);
    margin-bottom: 0.75rem;
    margin-top: 0.2rem;
}

    margin-top: 0.2rem;
}
/* -- Project Loading Optimization (Mobile Only) -- */
.projects-more-section {
    display: none; /* Hidden on desktop by default */
    margin-top: 3rem;
    justify-content: center;
}

/* On Desktop, show all projects and hide Load More */
@media (min-width: 969px) {
    .mobile-hidden {
        display: block !important;
        opacity: 1 !important;
        transform: none !important;
    }
    .projects-more-section {
        display: none !important;
    }
}

/* On Mobile, hide batches and show Load More */
@media (max-width: 968px) {
    .mobile-hidden {
        display: none;
    }
    .projects-more-section {
        display: flex !important;
    }
}

.load-more-btn {
    background: rgba(0, 245, 255, 0.05);
    border: 1px solid rgba(0, 245, 255, 0.2);
    color: var(--accent-cyan);
    padding: 0.8rem 1.8rem;
    border-radius: 50px;
    font-family: "JetBrains Mono", monospace;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.load-more-btn:hover {
    background: rgba(0, 245, 255, 0.12);
    border-color: var(--accent-cyan);
    box-shadow: 0 0 20px rgba(0, 245, 255, 0.2);
    transform: translateY(-2px);
}

.all-loaded-msg {
    margin-top: 3rem;
    display: none;
    justify-content: center;
    align-items: center;
}

.all-loaded-text {
    font-family: "JetBrains Mono", monospace;
    font-size: 0.75rem;
    color: rgba(0, 245, 255, 0.6);
    letter-spacing: 2px;
    padding: 0.6rem 1.2rem;
    border: 1px dashed rgba(0, 245, 255, 0.2);
    border-radius: 4px;
}
