/* ==========================================================================
   1. VARIABLES & RESET
   ========================================================================== */
:root {
    --bg-main: #0b0f17;
    --bg-card: #161f30;
    --border-color: #243047;
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --accent-blue: #38bdf8;
    --accent-green: #22c55e;
    --accent-purple: #a855f7;
    --accent-amber: #f59e0b;
    --nav-height: 70px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* Enable smooth scrolling with offset for sticky navbar */
html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--nav-height) + 20px);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background-color: var(--bg-main);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    padding-top: var(--nav-height);
    position: relative;
}

/* ==========================================================================
   2. BACKGROUND CANVAS & AMBIENT GLOW
   ========================================================================== */
#bg-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    opacity: 0.5;
    background: radial-gradient(circle at 50% 20%, rgba(56, 189, 248, 0.05) 0%, transparent 60%),
                radial-gradient(circle at 80% 80%, rgba(168, 85, 247, 0.04) 0%, transparent 50%);
}

/* ==========================================================================
   3. STICKY NAVIGATION BAR
   ========================================================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--nav-height);
    background: rgba(11, 15, 23, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
}

.nav-container {
    max-width: 1100px;
    margin: 0 auto;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1.5rem;
}

.nav-logo {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--text-primary);
    text-decoration: none;
    letter-spacing: -0.5px;
}

.nav-logo span {
    color: var(--accent-blue);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 1.25rem;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color 0.2s ease;
}

.nav-links a i {
    font-size: 0.85rem;
    color: var(--accent-blue);
}

.nav-links a:hover {
    color: var(--text-primary);
}

.mobile-toggle {
    display: none;
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-size: 1.25rem;
    cursor: pointer;
}

/* ==========================================================================
   4. LAYOUT & CONTAINERS
   ========================================================================== */
.container {
    max-width: 960px;
    margin: 0 auto;
    width: 100%;
    position: relative;
    z-index: 1;
    padding: 2rem 1rem;
}

header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.profile-tag {
    display: inline-block;
    background: rgba(56, 189, 248, 0.1);
    color: var(--accent-blue);
    border: 1px solid rgba(56, 189, 248, 0.2);
    padding: 0.35rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

h1 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 750px;
    margin: 0 auto 1.5rem;
}

.section-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin: 2.5rem 0 1.25rem;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 0.5rem;
}

/* ==========================================================================
   5. CARDS & LOGO LAYOUT (1/4 Logo, 3/4 Content)
   ========================================================================== */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.25rem;
    margin-bottom: 1.5rem;
}

.card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.25rem;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: row; /* Horizontal alignment */
    align-items: center;
    gap: 1.25rem;
    position: relative;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-3px);
    border-color: var(--accent-blue);
    box-shadow: 0 10px 25px -5px rgba(56, 189, 248, 0.15);
}

/* Left Logo Wrapper (1/4 Width Proportion) */
.card-logo-wrapper {
    flex: 0 0 25%;
    max-width: 90px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 0.6rem;
    transition: all 0.3s ease;
}

.card-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: brightness(0.9) opacity(0.85);
    transition: all 0.3s ease;
}

/* Logo Hover Glow Effects */
.card:hover .card-logo-wrapper {
    background: rgba(56, 189, 248, 0.08);
    border-color: var(--accent-blue);
}

.card:hover .card-logo {
    filter: brightness(1.2) drop-shadow(0 0 6px rgba(56, 189, 248, 0.6));
    transform: scale(1.08);
}

/* Right Content Area (3/4 Width Proportion) */
.card-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.4rem;
    gap: 8px;
}

.card-title {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-primary);
}

.card-badge {
    font-size: 0.65rem;
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: 600;
    text-transform: uppercase;
    white-space: nowrap;
}

.badge-venture { background: rgba(34, 197, 94, 0.15); color: var(--accent-green); }
.badge-initiative { background: rgba(168, 85, 247, 0.15); color: var(--accent-purple); }

.card-desc {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* ==========================================================================
   6. CONTENT COMPONENTS & CALLOUTS
   ========================================================================== */
.bio-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.75rem;
    margin-bottom: 2rem;
}

.bio-card p {
    color: var(--text-secondary);
    font-size: 1rem;
    margin-bottom: 1rem;
}

.bio-card p:last-child { margin-bottom: 0; }

.credentials-box {
    background: rgba(56, 189, 248, 0.05);
    border: 1px solid rgba(56, 189, 248, 0.2);
    border-radius: 8px;
    padding: 1.25rem;
    margin-bottom: 2rem;
}

.credentials-title {
    font-weight: 700;
    color: var(--accent-blue);
    margin-bottom: 0.5rem;
}

.credentials-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.pill-container {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-bottom: 1.5rem;
}

.pill {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    padding: 0.4rem 0.85rem;
    border-radius: 6px;
    font-size: 0.85rem;
}

.pill-highlight {
    border-color: rgba(56, 189, 248, 0.3);
    color: var(--accent-blue);
}

.callout-box {
    background: linear-gradient(135deg, #161f30 0%, #0d1527 100%);
    border: 1px solid var(--border-color);
    border-left: 4px solid var(--accent-blue);
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.callout-box h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.callout-box p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.whatsapp-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: #25d366;
    color: #000;
    font-weight: 700;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-size: 0.9rem;
    transition: background-color 0.2s ease;
}

.whatsapp-cta:hover {
    background-color: #20bd5a;
}

.socials {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
    margin: 2rem 0;
}

.social-btn {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    text-decoration: none;
    font-size: 0.85rem;
    transition: all 0.2s ease;
}

.social-btn i { margin-right: 6px; }

.social-btn:hover {
    color: var(--text-primary);
    border-color: var(--accent-blue);
    background: rgba(56, 189, 248, 0.05);
}

footer {
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-secondary);
    border-top: 1px solid var(--border-color);
    padding-top: 1.5rem;
    margin-top: 3rem;
}

/* ==========================================================================
   7. MEDIA QUERIES (MOBILE RESPONSIVENESS)
   ========================================================================== */
@media (max-width: 768px) {
    .mobile-toggle { display: block; }

    .nav-links {
        position: fixed;
        top: var(--nav-height);
        left: 0;
        width: 100%;
        background: var(--bg-card);
        border-bottom: 1px solid var(--border-color);
        flex-direction: column;
        padding: 1.5rem;
        gap: 1rem;
        display: none;
    }

    .nav-links.active { display: flex; }
    h1 { font-size: 1.8rem; }
}

@media (max-width: 550px) {
    .card {
        flex-direction: column;
        text-align: center;
    }

    .card-logo-wrapper {
        flex: 0 0 auto;
        width: 100%;
        max-width: 120px;
        height: 70px;
    }

    .card-header {
        flex-direction: column;
        gap: 4px;
    }
}
/* ==========================================================================
   CUSTOM CURSOR ANIMATION
   ========================================================================== */

/* Hide default cursor on desktop devices */
/* bring back normal cursor */
/*
@media (min-width: 769px) {
    body {
        cursor: none;
    }
    a, button, .card, .social-btn, .pill, input {
        cursor: none;
    }
}
*/

/* Small Solid Dot */
.cursor-dot {
    width: 8px;
    height: 8px;
    background-color: var(--accent-blue);
    border-radius: 50%;
    position: fixed;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 9999;
    transition: transform 0.1s ease-out;
}

/* Outer Trailing Ring */
.cursor-outline {
    width: 36px;
    height: 36px;
    border: 1.5px solid rgba(56, 189, 248, 0.5);
    border-radius: 50%;
    position: fixed;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 9998;
    transition: width 0.2s ease, height 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

/* Cursor Hover State when hovering links & buttons */
.cursor-hover {
    width: 55px;
    height: 55px;
    background-color: rgba(56, 189, 248, 0.1);
    border-color: var(--accent-blue);
}

/* Hide custom cursor on mobile touchscreens */
@media (max-width: 768px) {
    .cursor-dot, .cursor-outline {
        display: none !important;
    }
}
/* ==========================================================================
   HUMOROUS PARTNER CARD & LOVE COUNTER
   ========================================================================== */
.partner-card {
    background: linear-gradient(135deg, #161f30 0%, #1e112a 100%);
    border: 1px solid rgba(244, 63, 94, 0.3);
    border-left: 4px solid #f43f5e;
    padding: 1.5rem;
}

.partner-card-inner {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

/* Enlarged Image Tile (110px x 110px) */
.partner-img-wrapper {
    flex: 0 0 110px;
    width: 110px;
    height: 110px;
    border-radius: 50%;
    border: 2px solid rgba(244, 63, 94, 0.5);
    overflow: hidden;
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 0 15px rgba(244, 63, 94, 0.2);
}

.partner-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.partner-content {
    flex: 1;
}

.love-counter-wrapper {
    margin-top: 0.5rem;
}

.love-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(244, 63, 94, 0.1);
    color: #f43f5e;
    border: 1px solid rgba(244, 63, 94, 0.3);
    padding: 0.55rem 1.25rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.love-btn:hover {
    background: #f43f5e;
    color: #fff;
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(244, 63, 94, 0.4);
}

.love-btn.clicked i {
    animation: pulseHeart 0.4s ease-in-out;
}

@keyframes pulseHeart {
    0% { transform: scale(1); }
    50% { transform: scale(1.4); }
    100% { transform: scale(1); }
}

/* Mobile responsive adjustment */
@media (max-width: 600px) {
    .partner-card-inner {
        flex-direction: column;
        text-align: center;
    }
    .partner-img-wrapper {
        width: 120px;
        height: 120px;
        flex: 0 0 120px;
    }
}
/* ==========================================================================
   PARTNER CARD & WORKING COUNTER STYLES
   ========================================================================== */
.partner-card {
    background: linear-gradient(135deg, #161f30 0%, #1e112a 100%);
    border: 1px solid rgba(244, 63, 94, 0.3);
    border-left: 4px solid #f43f5e;
    padding: 1.5rem;
}

.partner-card-inner {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

/* Bigger Photo Tile (120px x 120px) */
.partner-img-wrapper {
    flex: 0 0 120px;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 3px solid rgba(244, 63, 94, 0.6);
    overflow: hidden;
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 0 20px rgba(244, 63, 94, 0.25);
}

.partner-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.partner-content {
    flex: 1;
}

.love-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(244, 63, 94, 0.15);
    color: #f43f5e;
    border: 1px solid rgba(244, 63, 94, 0.4);
    padding: 0.6rem 1.3rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.love-btn:hover {
    background: #f43f5e;
    color: #fff;
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(244, 63, 94, 0.4);
}

.love-btn.clicked i {
    animation: pulseHeart 0.4s ease-in-out;
}

@keyframes pulseHeart {
    0% { transform: scale(1); }
    50% { transform: scale(1.4); }
    100% { transform: scale(1); }
}

@media (max-width: 600px) {
    .partner-card-inner {
        flex-direction: column;
        text-align: center;
    }
}
/* ==========================================
   SELF-VANISHING BIRTHDAY CARD WITH IMAGE
   ========================================== */
.bday-container {
    border-left: 4px solid #a855f7 !important;
    background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 100%);
    position: relative;
    overflow: hidden;
    padding: 1.5rem;
}

.bday-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 1.2rem;
}

.timer-badge {
    font-size: 0.82rem;
    color: #f43f5e;
    background: rgba(244, 63, 94, 0.1);
    border: 1px solid rgba(244, 63, 94, 0.3);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-weight: 600;
}

.highlight-text {
    color: #a855f7;
    background: linear-gradient(90deg, #a855f7, #38bdf8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Flexbox Layout for Image + Content */
.bday-card-inner {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
}

/* Photo Tile Styling (550x507 scaling) */
.bday-img-wrapper {
    position: relative;
    flex: 0 0 130px;
    width: 130px;
    height: 130px;
    border-radius: 50%;
    border: 3px solid rgba(168, 85, 247, 0.6);
    overflow: hidden;
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 0 20px rgba(168, 85, 247, 0.3);
}

.bday-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Status Pulse Dot */
.status-indicator {
    position: absolute;
    bottom: 8px;
    right: 8px;
    width: 14px;
    height: 14px;
    background-color: #22c55e;
    border: 2px solid #0f172a;
    border-radius: 50%;
    box-shadow: 0 0 8px #22c55e;
}

.bday-content {
    flex: 1;
}

/* Terminal Styling */
.terminal-box {
    background: #090d16;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    margin: 1rem 0;
    font-family: 'Courier New', Courier, monospace;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.terminal-header {
    background: #1e293b;
    padding: 0.4rem 0.8rem;
    display: flex;
    align-items: center;
    gap: 6px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
}
.dot.red { background: #ef4444; }
.dot.yellow { background: #f59e0b; }
.dot.green { background: #22c55e; }

.terminal-title {
    color: #94a3b8;
    font-size: 0.75rem;
    margin-left: 8px;
}

.terminal-body {
    padding: 1rem;
    font-size: 0.88rem;
}

.cmd { color: #38bdf8; margin-bottom: 0.5rem; }
.prompt { color: #22c55e; margin-right: 6px; }
.response { color: #e2e8f0; line-height: 1.4; }

/* Interactive Action Buttons */
.bday-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.bday-btn {
    background: rgba(168, 85, 247, 0.15);
    color: #c084fc;
    border: 1px solid rgba(168, 85, 247, 0.4);
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
}

.bday-btn:hover {
    background: #a855f7;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 0 15px rgba(168, 85, 247, 0.4);
}

.bday-btn.cheer {
    background: rgba(56, 189, 248, 0.15);
    color: #38bdf8;
    border-color: rgba(56, 189, 248, 0.4);
}

.bday-btn.cheer:hover {
    background: #38bdf8;
    color: #0f172a;
    box-shadow: 0 0 15px rgba(56, 189, 248, 0.4);
}

.bday-footer-notice {
    font-size: 0.8rem;
    color: #94a3b8;
    border-top: 1px dashed rgba(255, 255, 255, 0.1);
    padding-top: 0.8rem;
    margin-top: 0.5rem;
}

/* Mobile Responsiveness */
@media (max-width: 600px) {
    .bday-card-inner {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}
/* ==========================================
   BIRTHDAY MODAL POPUP STYLES
   ========================================== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(9, 13, 22, 0.85);
    backdrop-filter: blur(8px);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem;
    animation: fadeInModal 0.3s ease-out;
}

@keyframes fadeInModal {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

.modal-content {
    background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 100%);
    border: 2px solid rgba(168, 85, 247, 0.5);
    border-radius: 16px;
    padding: 2rem;
    max-width: 480px;
    width: 100%;
    position: relative;
    box-shadow: 0 10px 40px rgba(168, 85, 247, 0.3);
    text-align: center;
}

.modal-close-x {
    position: absolute;
    top: 12px;
    right: 16px;
    background: transparent;
    border: none;
    color: #94a3b8;
    font-size: 1.8rem;
    cursor: pointer;
    line-height: 1;
}

.modal-close-x:hover { color: #fff; }

.modal-badge {
    display: inline-block;
    font-size: 0.8rem;
    color: #c084fc;
    background: rgba(168, 85, 247, 0.15);
    border: 1px solid rgba(168, 85, 247, 0.3);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    margin-bottom: 1rem;
    font-weight: 600;
}

.modal-content h3 {
    color: #f8fafc;
    font-size: 1.35rem;
    margin-bottom: 0.8rem;
}

.modal-content p {
    color: #cbd5e1;
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 1.5rem;
}

.modal-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.modal-dismiss-btn {
    background: transparent;
    color: #94a3b8;
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.modal-dismiss-btn:hover {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.3);
}