﻿/* -----------------------------------------------------------
   🚀 ASPIRE TECH PREMIUM HOMEPAGE STYLES
   -----------------------------------------------------------*/

/* -------------------------------------
   GLOBAL
--------------------------------------*/
body {
    background: #f4f7fa;
    color: #1a1a1a;
}

.section-title {
    position: relative;
    display: inline-block;
    padding-bottom: 8px;
    margin-bottom: 2.5rem;
}

    .section-title::after {
        content: "";
        width: 60px;
        height: 4px;
        background: #1e90ff;
        display: block;
        margin: 0.5rem auto 0 auto;
        border-radius: 5px;
    }

/* -------------------------------------
   HERO SECTION (Glass + Gradient + Glow)
--------------------------------------*/
.hero-section {
    background: linear-gradient(135deg, #0a3d62, #1e90ff);
    color: white;
    padding: 6rem 1rem;
    position: relative;
    overflow: hidden;
}

    .hero-section h1,
    .hero-section h1:focus,
    .hero-section h1:active {
        outline: none !important;
        border: none !important;
        box-shadow: none !important;
    }


    .hero-section::before {
        content: "";
        position: absolute;
        width: 500px;
        height: 500px;
        background: rgba(255,255,255,0.10);
        border-radius: 50%;
        top: -150px;
        left: -150px;
        filter: blur(120px);
    }

    .hero-section::after {
        content: "";
        position: absolute;
        width: 400px;
        height: 400px;
        background: rgba(255,255,255,0.12);
        border-radius: 50%;
        bottom: -120px;
        right: -120px;
        filter: blur(150px);
    }

    .hero-section h1 {
        font-size: 3.2rem;
        font-weight: 900;
        text-shadow: 0 4px 14px rgba(0,0,0,0.3);
    }

    .hero-section p {
        font-size: 1.25rem;
        opacity: 0.95;
    }

    .hero-section .btn-primary,
    .hero-section .btn-outline-light {
        min-width: 180px;
        border-radius: 30px;
        font-weight: 600;
        padding: 0.75rem 1.5rem;
        transition: all 0.3s ease;
    }

        .hero-section .btn-primary:hover {
            background: #dff0ff;
            color: #083454;
            transform: translateY(-3px);
        }

        .hero-section .btn-outline-light:hover {
            background: rgba(255,255,255,0.25);
            transform: translateY(-3px);
        }

/* -------------------------------------
   SERVICES SECTION (Floating Cards)
--------------------------------------*/
.services-card {
    background: white;
    border-radius: 16px;
    padding: 2rem 1.25rem;
    border: 1px solid #e1eaf3;
    transition: all .35s ease;
    position: relative;
}

    .services-card:hover {
        transform: translateY(-12px);
        box-shadow: 0 12px 30px rgba(0,0,0,0.12);
        border-color: #1e90ff;
    }

    .services-card h5 {
        margin-bottom: .75rem;
        font-weight: 700;
        color: #0a3d62;
    }

    .services-card p {
        color: #444;
        opacity: .9;
    }

/* -------------------------------------
   PORTFOLIO CARDS (Glow Hover)
--------------------------------------*/
.card {
    border-radius: 16px;
    border: none;
    background: white;
    box-shadow: 0 4px 14px rgba(0,0,0,0.08);
    transition: .3s ease;
}

    .card:hover {
        transform: translateY(-10px) scale(1.02);
        box-shadow: 0 10px 28px rgba(0,0,0,0.12);
    }

.card-title {
    font-size: 1.3rem;
    font-weight: bold;
    color: #0a3d62;
}

.card-text {
    color: #555;
    opacity: .95;
}


/* ------------------------------
   ABOUT ME SECTION — PREMIUM
------------------------------*/
.about-section {
    position: relative;
    padding: 5rem 1rem;
}

.about-inner {
    background: rgba(255,255,255,0.55);
    backdrop-filter: blur(18px);
    border-radius: 28px;
    padding: 3rem;
    border: 1px solid rgba(255,255,255,0.3);
    box-shadow: 0 18px 40px rgba(0,0,0,0.08);
    position: relative;
    z-index: 5;
}

.about-title {
    font-size: 2.3rem;
    font-weight: 800;
}

/* Accent glowing orbs */
.about-orb {
    position: absolute;
    filter: blur(130px);
    opacity: 0.6;
    z-index: 1;
}

.orb-1 {
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: #1e90ff;
    top: -40px;
    left: -20px;
    animation: floatOrb 14s ease-in-out infinite;
}

.orb-2 {
    width: 240px;
    height: 240px;
    border-radius: 50%;
    background: #0a3d62;
    bottom: -40px;
    right: 0px;
    animation: floatOrb 18s ease-in-out infinite;
}

/* Photo wrapper */
.about-photo-wrapper {
    display: inline-block;
    padding: 14px;
    border-radius: 24px;
    background: rgba(255,255,255,0.4);
    box-shadow: 0 15px 35px rgba(0,0,0,0.12);
    transition: transform .4s ease, box-shadow .4s ease;
}

    .about-photo-wrapper:hover {
        transform: translateY(-8px) scale(1.03);
        box-shadow: 0 20px 40px rgba(0,0,0,0.18);
    }

/* Photo */
.about-photo {
    width: 100%;
    max-width: 350px;
    border-radius: 18px;
}

/* Lead text */
.about-lead {
    font-size: 1.28rem;
    color: #222;
    font-weight: 500;
}

/* Badges */
.about-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.badge-pill {
    background: #1e90ff;
    color: white;
    padding: 0.45rem 1rem;
    border-radius: 30px;
    font-size: 0.95rem;
    font-weight: 600;
    box-shadow: 0 4px 14px rgba(0,0,0,0.10);
}

/* List items */
.about-list li {
    font-size: 1.1rem;
    margin-bottom: .55rem;
    color: #0a3d62;
    font-weight: 600;
}

/* Button */
.about-btn {
    border-radius: 30px;
    padding: 0.85rem 2.2rem;
    font-size: 1.1rem;
    font-weight: 700;
}

/* ------------------------------
   MOBILE OPTIMIZATION
------------------------------*/
@media (max-width: 768px) {

    .about-inner {
        padding: 2rem 1.5rem;
    }

    .about-title {
        text-align: center;
    }

    .about-lead {
        text-align: center;
    }

    .about-list li {
        text-align: center;
    }

    .about-badges {
        justify-content: center;
    }

    .about-photo {
        max-width: 260px;
    }
}

@media (max-width: 480px) {
    .about-photo {
        max-width: 220px;
    }

    .about-inner {
        padding: 1.8rem 1.2rem;
    }
}



/* -------------------------------------
   TECH STACK (Pill-Style)
--------------------------------------*/
.tech-stack {
    background: #ffffff;
    padding: 1.4rem;
    border-radius: 14px;
    font-size: 1.2rem;
    letter-spacing: .3px;
    color: #0a3d62;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}


.service-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #1e90ff;
}

.services-card.enhanced {
    background: linear-gradient(180deg, #ffffff, #f2f6ff);
    border-radius: 20px;
    padding: 2.2rem 1.5rem;
    border: 1px solid #d9e6ff;
    box-shadow: 0 8px 20px rgba(0,0,0,0.06);
}

    .services-card.enhanced:hover {
        transform: translateY(-12px);
        background: #ffffff;
        box-shadow: 0 16px 35px rgba(0,0,0,0.12);
    }

/* WHY CHOOSE */
.why-card {
    background: white;
    padding: 2rem;
    border-radius: 14px;
    border: 1px solid #e6e6e6;
    box-shadow: 0 4px 14px rgba(0,0,0,0.06);
    transition: .3s;
}

    .why-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 10px 28px rgba(0,0,0,0.12);
    }

/* PROCESS */
.process-step {
    padding: 1.5rem;
}

.step-number {
    width: 55px;
    height: 55px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #1e90ff;
    color: white;
    border-radius: 50%;
    font-size: 1.4rem;
    margin-bottom: .75rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}




/* ============================================================
   ✨ ANIMATIONS & PREMIUM STYLE UPGRADE
============================================================ */

/* -------------------------
   Fade + Slide Up Animation
--------------------------*/
@keyframes fadeUp {
    0% {
        opacity: 0;
        transform: translateY(25px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-up {
    animation: fadeUp 0.9s ease forwards;
    opacity: 0;
}

/* Delay helpers */
.delay-1 {
    animation-delay: 0.15s;
}

.delay-2 {
    animation-delay: 0.3s;
}

.delay-3 {
    animation-delay: 0.45s;
}

.delay-4 {
    animation-delay: 0.6s;
}

/* -------------------------
   Hero Title Glow Animation
--------------------------*/
@keyframes heroGlow {
    0% {
        text-shadow: 0 0 10px rgba(255,255,255,0.2);
    }

    50% {
        text-shadow: 0 0 20px rgba(255,255,255,0.6);
    }

    100% {
        text-shadow: 0 0 10px rgba(255,255,255,0.2);
    }
}

/* -------------------------
   Service Icon Pulse
--------------------------*/
@keyframes iconPulse {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }

    50% {
        transform: scale(1.15);
        opacity: 1;
    }

    100% {
        transform: scale(1);
        opacity: 0.8;
    }
}

.services-card .service-icon {
    animation: iconPulse 2.5s ease-in-out infinite;
    transition: transform .3s ease;
}

.services-card:hover .service-icon {
    transform: scale(1.25);
}

/* -------------------------
   Floating Background Orbs
--------------------------*/

@keyframes floatOrb {
    0% {
        transform: translateY(0px) translateX(0px);
    }

    50% {
        transform: translateY(-20px) translateX(10px);
    }

    100% {
        transform: translateY(0px) translateX(0px);
    }
}

.hero-section::before,
.hero-section::after {
    animation: floatOrb 12s ease-in-out infinite;
}

/* -------------------------
   Why Cards Hover Lift
--------------------------*/
.why-card {
    transition: transform .35s ease, box-shadow .35s ease;
}

    .why-card:hover {
        transform: translateY(-12px) scale(1.02);
    }

/* -------------------------
   Process Step Pop In
--------------------------*/
.process-step {
    transition: transform .35s ease, background .35s ease;
}

    .process-step:hover {
        transform: translateY(-7px);
        background: #eaf4ff;
        border-radius: 15px;
    }





/* -------------------------------------
   CTA SECTION
--------------------------------------*/
.cta-section {
    margin-top: 5rem;
    padding: 5rem 1rem;
    background: linear-gradient(135deg, #1e90ff, #0a3d62);
    color: white;
    border-radius: 16px;
    box-shadow: 0 8px 26px rgba(0,0,0,0.15);
}

    .cta-section h2 {
        font-size: 2.6rem;
        font-weight: 900;
    }

    .cta-section p {
        font-size: 1.3rem;
    }

    .cta-section .btn-primary {
        background: white;
        color: #0a3d62;
        border: none;
        border-radius: 30px;
        padding: 0.85rem 2.2rem;
        font-weight: 700;
        transition: .3s ease;
    }

        .cta-section .btn-primary:hover {
            background: #eaf5ff;
            transform: translateY(-4px);
        }



#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3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ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }