﻿/* Hero main container */
.Hero_F_All_premium-visible {
    position: relative;
    width: 100%;
    min-height: 360px;
    display: flex;
    flex-direction: column;          /* better centering on mobile */
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #f0f8ff url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><rect width="100" height="100" fill="%23f0f8ff"/></svg>') center/cover;
    background-image:
        radial-gradient(ellipse at 25% 30%, rgba(255,140,0,0.18) 10%, transparent 70%),
        radial-gradient(ellipse at 70% 80%, rgba(100,200,255,0.10) 10%, transparent 70%);
}

/* Waves */
.Hero_F_All_premium-wave {
    position: absolute;
    inset: -20%;
    background: linear-gradient(transparent 30%, rgba(80, 180, 255, 0.25) 50%, transparent 70%);
    opacity: 0.7;
    animation: Hero_F_All_premiumWave 18s ease-in-out infinite;
    transform: skew(-10deg);
    z-index: 1;
}

.Hero_F_All_premium-wave.Hero_F_All_layer1 {
    animation-duration: 22s;
    opacity: 0.8;
}

.Hero_F_All_premium-wave.Hero_F_All_layer2 {
    animation-duration: 26s;
    animation-direction: reverse;
    opacity: 0.65;
    background: linear-gradient(transparent 30%, rgba(255,140,0,0.18) 50%, transparent 70%);
}

.Hero_F_All_premium-wave.Hero_F_All_layer3 {
    animation-duration: 20s;
    opacity: 0.55;
    background: linear-gradient(transparent 30%, rgba(120, 220, 255, 0.20) 50%, transparent 70%);
}

@keyframes Hero_F_All_premiumWave {
    0% { transform: skew(-10deg) translateX(-30%) translateY(-20%); }
    50% { transform: skew(-10deg) translateX(30%) translateY(20%); }
    100% { transform: skew(-10deg) translateX(-30%) translateY(-20%); }
}

/* Corner orb */
.Hero_F_All_corner-orb {
    position: absolute;
    top: -2%;
    left: -4%;
    width: 160px;
    height: 160px;
    background: radial-gradient(circle at 30% 30%, rgba(255,140,0,0.4) 0%, transparent 65%);
    border-radius: 50%;
    box-shadow: 0 0 50px rgba(255,140,0,0.3);
    animation: Hero_F_All_orbPulse 8s ease-in-out infinite;
    z-index: 2;
}

@keyframes Hero_F_All_orbPulse {
    0%, 100% { transform: scale(1); opacity: 0.9; }
    50% { transform: scale(1.15); opacity: 1; }
}

/* Text container */
.Hero_F_All_hero-text-container {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 60px 30px;
    max-width: 1000px;
    opacity: 0;
    transition: opacity 0.8s ease;
}

.Hero_F_All_hero-text-container.loaded {
    opacity: 1;
}

.Hero_F_All_hero-heading {
    font-size: 3.1rem;
    font-weight: 900;
    margin: 0 0 1rem;
    color: #001122;
    text-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.Hero_F_All_hero-heading span {
    color: #ff8c00;
}

.Hero_F_All_hero-subtext {
    font-size: 1.2rem;
    font-weight: 700;
    color: #002244;
    line-height: 1.5;
    text-shadow: 0 1px 4px rgba(0,0,0,0.1);
}

/* ────────────────────────────────────────────────
   Mobile & Tablet - Full screen hero
───────────────────────────────────────────────── */

@media (max-width: 1024px) {   /* tablets + small laptops */
    .Hero_F_All_premium-visible {
        min-height: 100dvh;     /* dynamic viewport height – best for mobile/tablet */
        height: 100dvh;
        padding-top: env(safe-area-inset-top);
        padding-bottom: env(safe-area-inset-bottom);
    }

    .Hero_F_All_hero-text-container {
        padding: 40px 25px;     /* thoda kam padding taaki scroll na lage */
    }

    .Hero_F_All_corner-orb {
        width: 140px;
        height: 140px;
        top: 5%;
        left: 5%;
    }

    .Hero_F_All_hero-heading {
        font-size: 2.9rem;
    }

    .Hero_F_All_hero-subtext {
        font-size: 1.35rem;
    }
}

@media (max-width: 768px) {     /* phones + small tablets */
    .Hero_F_All_premium-visible {
        min-height: 100dvh;
        height: 100dvh;
    }

    .Hero_F_All_hero-text-container {
        padding: 30px 20px;
    }

    .Hero_F_All_corner-orb {
        width: 120px;
        height: 120px;
        top: 8%;
        left: 6%;
    }

    .Hero_F_All_hero-heading {
        font-size: 2.7rem;
    }

    .Hero_F_All_hero-subtext {
        font-size: 1.4rem;
    }

    .Hero_F_All_premium-wave {
        inset: -30%;            /* waves zyada cover karein full screen mein */
    }
}

@media (max-width: 480px) {     /* very small phones */
    .Hero_F_All_premium-visible {
        min-height: 100dvh;
        height: 100dvh;
    }

    .Hero_F_All_hero-text-container {
        padding: 25px 15px;
    }

    .Hero_F_All_corner-orb {
        width: 100px;
        height: 100px;
        top: 10%;
        left: 8%;
    }

    .Hero_F_All_hero-heading {
        font-size: 2.3rem;
    }

    .Hero_F_All_hero-subtext {
        font-size: 1.25rem;
    }
}