body {
    overflow-x: hidden;
    padding-top: 90px;
}

.top-navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    background: #0d172a;
    padding: 15px 20px;
    transition: all 0.3s ease;
}

.navbar-container {
    max-width: 1300px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.brand-text {
    font-weight: 800;
    font-size: 1.4rem;
    letter-spacing: 0.5px;
}

.brand-py {
    color: #f97316; /* The orange from your navbar buttons */
}

.brand-grex {
    color: #0d6efd; /* The blue from your brand colors */
}
.brand-blue {
    color: #0d6efd;
}

.brand-orange {
    color: #f97316;
}

.navbar-logo {
    height: 40px;
    width: auto;
}

.navbar-toggle {
    display: none;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    font-size: 1.5rem;
    padding: 5px 12px;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.2s;
}

.navbar-toggle:hover {
    background: rgba(255, 255, 255, 0.1);
}

.navbar-menu {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-links {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 25px;
}

.nav-links a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    padding: 9px 12px;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.nav-links a:hover {
    color: #ffffff;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.nav-links a.active {
 color: #ffffff;
    background:rgba(255, 0, 0, 0);
    border-bottom:2px solid #764ba2;
    }
    
.nav-links a i {
    font-size: 0.95em;
}

.nav-buttons {
    display: flex;
    align-items: center;
    gap: 15px;
}

.btn-login {
    color: #f97316;
    background: transparent;
    border: 1px solid #f97316;
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.btn-login:hover {
    background: rgba(249, 115, 22, 0.1);
    color: #f97316;
}

.btn-register {
    background: #f97316;
    color: #ffffff;
    padding: 9px 24px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    font-size: 0.9rem;
    border: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(249, 115, 22, 0.3);
}

.btn-register:hover {
    background: #ea580c;
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(249, 115, 22, 0.4);
    color: #ffffff;
}

@media (max-width: 992px) {
    .navbar-toggle {
        display: block;
    }

    .navbar-menu {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #0d172a;
        flex-direction: column;
        align-items: center;
        padding: 20px;
        gap: 20px;
        clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
        transition: clip-path 0.4s ease-in-out;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }

    .navbar-menu.active {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    }

    .nav-links {
        flex-direction: column;
        align-items: center;
        width: 100%;
        gap: 15px;
    }

    .nav-buttons {
        flex-direction: column;
        align-items: center;
        width: 100%;
        gap: 10px;
    }

    .btn-login,
    .btn-register {
        width: 100%;
        text-align: center;
    }
}

.dashboard-header {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
}

.dashboard-header h1 {
    font-weight: 800;
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin: 0;
}

    /* Card Container Styling */
.info-card {
    background: #ffffff;
    border: 1px solid #edf2f7;
    border-radius: 20px;
    padding: 20px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
    display: flex;
    flex-direction: column;
}

.info-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    border-color: #e2e8f0;
}

/* Icon Styling */
.icon-header {
    font-size: 2rem;
    margin-bottom: 15px;
    display: inline-block;
    padding: 12px;
    background: #f8fafc;
    border-radius: 15px;
}

/* Typography */
.info-card .card-title {
    font-weight: 800;
    font-size: 1.1rem;
    color: #1a202c;
    letter-spacing: 0.5px;
    margin-bottom: 15px;
}

.info-card .card-text {
    color: #4a5568;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 25px;
    flex-grow: 1; /* Ensures buttons align even if text length varies */
}

/* Soft Modern Buttons */
.btn-action {
    width: 100%;
    padding: 12px;
    border-radius: 12px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    border: none;
    transition: 0.2s;
}

.btn-success-soft { background-color: #e6fffa; color: #234e52; }
.btn-success-soft:hover { background-color: #38a169; color: white; }

.btn-primary-soft { background-color: #ebf8ff; color: #2b6cb0; }
.btn-primary-soft:hover { background-color: #3182ce; color: white; }

.btn-dark-soft { background-color: #f7fafc; color: #1a202c; border: 1px solid #e2e8f0; }
.btn-dark-soft:hover { background-color: #1a202c; color: white; }

/* Responsive Adjustments */
@media (max-width: 768px) {
    .info-card {
        margin-bottom: 10px;
        text-align: center; /* Better look for single-column mobile */
    }
}

 .glow-card {
      position: relative;
      max-width: 520px;
      border-radius: 18px;
      padding: 2px; /* space for glowing border */
      background: linear-gradient(135deg, #00c6ff, #0072ff, #00c6ff);
      background-size: 300% 300%;
      animation: borderGlow 6s ease infinite;
    }

    /* Inner card styling */
    .glow-card-inner {
      background: #0a0f1f;
      border-radius: 16px;
      color: #e6f0ff;
      padding: 30px;
      text-align: center;
    }

    /* Border animation movement */
    @keyframes borderGlow {
      0% { background-position: 0% 50%; }
      50% { background-position: 100% 50%; }
      100% { background-position: 0% 50%; }
    }
 .verse-card {
    /* Rich dark gradient background */
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 215, 0, 0.1); /* Subtle gold border */
    max-width: 700px;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.verse-card:hover {
    transform: translateY(-5px);
    border-color: rgb(255, 217, 0);
}

/* Floating Glow Effect */
.verse-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,215,0,0.05) 0%, transparent 70%);
    pointer-events: none;
}

.verse-text {
    font-family: 'Georgia', serif;
    line-height: 1.6;
    letter-spacing: 0.5px;
    color: #f8f9fa;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.reference-box {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #ffc107; /* Bootstrap Warning Gold */
}

.tracking-widest {
    letter-spacing: 0.2rem;
}

/* Page-specific hero + interaction styles from i.html */
.btn-hero-primary {
    background-color: #10b981;
    color: #ffffff !important;
    border: none;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

.btn-hero-primary:hover {
    background-color: #059669;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(16, 185, 129, 0.5);
}

.btn-hero-secondary {
    background-color: #1e293b;
    color: #f8fafc !important;
    border: 1px solid #334155;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(15, 23, 42, 0.3);
}

.btn-hero-secondary:hover {
    background-color: #0f172a;
    border-color: #1e293b;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.6);
}

.avatar-circle {
    width: 50px;
    height: 50px;
    background-color: #4285fa7c;
    color: blue;
    border-radius: 50%;
    font-family: sans-serif;
    user-select: none;
}

.avatar-initial {
    font-size: 20px;
    font-weight: 500;
    line-height: 1;
}

.hero-video-container {
    position: relative;
    width: 100%;
    height: 85vh;
    min-height: 600px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: -90px;
    padding-top: 90px;
    background-color: #0b0f19;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: 1;
    transition: opacity 0.5s ease-in-out;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(11, 15, 25, 0.88) 0%, rgba(22, 33, 62, 0.78) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    padding: 2rem;
    max-width: 950px;
}

.typewriter-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 110px;
    text-align: center;
    font-size: 5rem;
    font-weight: 800;
    letter-spacing: -2px;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

#typewriter {
    transition: color 0.3s ease;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
}

#typewriter::after {
    content: "_";
    animation: blink 0.8s infinite;
    margin-left: 5px;
    font-family: inherit;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

.hero-content p {
    max-width: 750px;
    line-height: 1.6;
    font-size: 1.15rem;
}

.testimonial-gradient {
    background: linear-gradient(90deg, #0dfd1d, #0dcaf0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

.verse-divider {
    width: 60px;
    border-width: 3px;
}

.verse-reference {
    color: #ffc107;
}

.testimonial-item {
    border-top-width: 4px;
    border-top-style: solid;
}

.testimonial-item.border-primary {
    border-top-color: #3b82f6;
}

.testimonial-item.border-warning {
    border-top-color: #f1c40f;
}

.testimonial-item.border-success {
    border-top-color: #34d399;
}

.testimonial-item.border-danger {
    border-top-color: #e74c3c;
}

.testimonial-item.border-dark {
    border-top-color: #1a1d23;
}

.testimonial-item.border-purple {
    border-top-color: #a855f7;
}

.testimonial-item.border-info {
    border-top-color: #55a1f7;
}

.avatar-circle.bg-primary {
    background-color: #3b82f6;
}

.avatar-circle.bg-warning {
    background-color: #ffcc0098;
}

.avatar-circle.bg-success {
    background-color: #05e864;
}

.avatar-circle.bg-danger {
    background-color: #f82626;
}

.avatar-circle.bg-dark {
    background-color: #1a1d23;
}

.avatar-circle.bg-purple {
    background-color: #a855f7;
}

.avatar-circle.bg-info {
    background-color: #55a1f7;
}

.avatar-initial {
    color: white;
}

.reference-box h5 {
    color: #ffc107;
}

.stat-info {
    background: linear-gradient(135deg, #0d6efd 0%, #0a58ca 100%);
    border: 1px solid rgba(255,255,255,0.1);
}

.bubble.pos-1 {
    width: 40px;
    height: 40px;
    bottom: -20px;
    left: 10%;
    animation-delay: 0s;
}

.bubble.pos-2 {
    width: 20px;
    height: 20px;
    bottom: -10px;
    left: 30%;
    animation-delay: 1s;
}

.bubble.pos-3 {
    width: 60px;
    height: 60px;
    bottom: -30px;
    left: 70%;
    animation-delay: 2s;
}

.bubble.pos-4 {
    width: 30px;
    height: 30px;
    bottom: -15px;
    left: 85%;
    animation-delay: 0.5s;
}

.project-creators-title {
    letter-spacing: 1px;
    width: 80%;
}

.bubble {
    position: absolute;
    background: rgb(255, 183, 2);
    border-radius: 50%;
    pointer-events: none;
    animation: float 4s infinite linear;
}

@keyframes float {
    0% { transform: translateY(0px) translateX(0px); opacity: 0; }
    50% { opacity: 0.3; }
    100% { transform: translateY(-100px) translateX(20px); opacity: 0; }
}

@media (max-width: 768px) {
    .hero-video-container { height: 75vh; }
    .typewriter-wrapper {
        font-size: 2.8rem;
        letter-spacing: -1px;
        min-height: 80px;
    }
}

/* --- Tailwind Green (Emerald) Button --- */
.btn-hero-primary {
    background-color: #10b981 !important; /* Forced Tailwind emerald-500 */
    color: #ffffff !important;
    border: none !important;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

.btn-hero-primary:hover {
    background-color: #059669 !important; /* Forced Tailwind emerald-600 */
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(16, 185, 129, 0.5);
}

/* --- Tailwind Slate Button --- */
.btn-hero-secondary {
    background-color: #1e293b !important; /* Forced Tailwind slate-800 */
    color: #f8fafc !important; /* Tailwind slate-50 */
    border: 1px solid #334155 !important; /* Forced subtle border edge */
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(15, 23, 42, 0.3);
}

.btn-hero-secondary:hover {
    background-color: #0f172a !important; /* Forced Tailwind slate-900 */
    border-color: #1e293b !important;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.6);
}


    .avatar-circle {
        width: 50px;
        height: 50px;
        background-color: #4285fa7c;
        color: blue;
        border-radius: 50%;
        font-family: sans-serif;
        user-select: none;
    }

    .avatar-initial {
        font-size: 20px;
        font-weight: 500;
        line-height: 1;
    }

    /* --- Modern Multi-Video Background Hero Layout --- */
    .hero-video-container {
        position: relative;
        width: 100%;
        height: 85vh; 
        min-height: 600px;
        overflow: hidden;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-top: -90px;
        padding-top: 90px;
        background-color: #0b0f19;
    }

    .hero-video {
        position: absolute;
        top: 50%;
        left: 50%;
        min-width: 100%;
        min-height: 100%;
        width: auto;
        height: auto;
        transform: translate(-50%, -50%);
        object-fit: cover;
        z-index: 1;
        transition: opacity 0.5s ease-in-out;
    }

    .hero-overlay {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(180deg, rgba(11, 15, 25, 0.88) 0%, rgba(22, 33, 62, 0.78) 100%);
        z-index: 2;
    }

    .hero-content {
        position: relative;
        z-index: 3;
        padding: 2rem;
        max-width: 950px;
    }

    .typewriter-wrapper {
        display: flex;
        justify-content: center;
        align-items: center;
        min-height: 110px;
        text-align: center;
        font-size: 5rem; 
        font-weight: 800;
        letter-spacing: -2px;
        line-height: 1.1;
        margin-bottom: 1.5rem;
    }

    #typewriter {
        transition: color 0.3s ease; 
        text-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
    }

    #typewriter::after {
        content: "_"; 
        animation: blink 0.8s infinite;
        margin-left: 5px;
        font-family: inherit; 
    }

    @keyframes blink {
        0%, 100% { opacity: 1; }
        50% { opacity: 0; }
    }

    @media (max-width: 768px) {
        .hero-video-container { height: 75vh; }
        .typewriter-wrapper {
            font-size: 2.8rem; 
            letter-spacing: -1px;
            min-height: 80px;
        }
    }

  /* DuoRing Spinner */
.duo-ring {
    position: relative;
    width: 84px;
    height: 84px;
}

/* Outer clockwise ring (pygrex Blue) */
.ring-spin {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 3px solid transparent;
    border-top-color: #0d6efd; 
    border-right-color: #0d6efd;
    animation: spin 1s linear infinite;
}

/* Inner counter-clockwise ring (pygrex Orange) */
.ring-spin-reverse {
    position: absolute;
    inset: 9px;
    border-radius: 50%;
    border: 3px solid rgba(255, 255, 255, 0.1);
    border-bottom-color: #fd7e14; 
    animation: spin-reverse 1.2s linear infinite;
}

/* Central Logo Image */
.center-logo {
    position: absolute;
    inset: 0;
    margin: auto;
    height: 42px; /* Adjust this slightly if you want the logo bigger/smaller */
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 0 8px rgba(13, 110, 253, 0.3)); /* Subtle blue glow behind the logo */
}

/* Animations */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes spin-reverse {
    0% { transform: rotate(360deg); }
    100% { transform: rotate(0deg); }
}

/* Fullscreen Dark Overlay Loader */
#page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: #0b0f19; /* Matches your hero section background */
    z-index: 99999; /* Keeps loader on top of the sidebar and navbar */
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

/* Hidden state for smooth JS fade-out */
#page-loader.fade-out {
    opacity: 0;
    visibility: hidden;
}