/* Hero Training Section Styles */
.hero-training-section {
    position: relative;
    overflow: hidden;
    min-height: 680px;
}

/* Background Gradients */
.hero-background-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(115deg, 
        rgb(255, 255, 255) 0%, 
        rgb(240, 247, 255) 20%, 
        rgb(214, 234, 255) 40%, 
        rgb(142, 197, 255) 60%, 
        rgb(59, 143, 232) 78%, 
        rgb(0, 86, 210) 90%, 
        rgb(0, 48, 128) 100%);
}

.hero-radial-overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(80% 70% at 25% 40%, rgba(255, 255, 255, 0.9) 0%, transparent 55%), 
                radial-gradient(60% 50% at 75% 50%, rgba(0, 86, 210, 0.15) 0%, transparent 60%);
}

.hero-radial-overlay-secondary {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(40% 60% at 29.9029% 30.2912%, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
}

/* Hexagonal Shapes */
.hero-hex {
    position: absolute;
    pointer-events: none;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}

.hero-hex-1 {
    left: 55%;
    top: -5%;
    width: 180px;
    height: 180px;
    background: rgb(0, 86, 210);
    opacity: 0.06;
}

.hero-hex-2 {
    left: 70%;
    top: 15%;
    width: 120px;
    height: 120px;
    background: rgb(0, 48, 128);
    opacity: 0.08;
}

.hero-hex-3 {
    left: 82%;
    top: 55%;
    width: 90px;
    height: 90px;
    background: rgb(0, 86, 210);
    opacity: 0.07;
}

.hero-hex-4 {
    left: 60%;
    top: 70%;
    width: 60px;
    height: 60px;
    background: rgb(45, 143, 213);
    opacity: 0.05;
}

.hero-hex-5 {
    left: 45%;
    top: 80%;
    width: 140px;
    height: 140px;
    background: rgb(0, 86, 210);
    opacity: 0.04;
}

/* Triangular Shapes */
.hero-triangle {
    position: absolute;
    pointer-events: none;
    clip-path: polygon(50% 0%, 100% 100%, 0% 100%);
}

.hero-triangle-1 {
    left: 35%;
    top: 10%;
    width: 50px;
    height: 50px;
    background: rgb(0, 86, 210);
    opacity: 0.06;
}

.hero-triangle-2 {
    left: 78%;
    top: 35%;
    width: 35px;
    height: 35px;
    background: rgb(255, 255, 255);
    opacity: 0.08;
}

.hero-triangle-3 {
    left: 90%;
    top: 75%;
    width: 65px;
    height: 65px;
    background: rgb(0, 48, 128);
    opacity: 0.05;
}

/* Diamond Shapes */
.hero-diamond {
    position: absolute;
    pointer-events: none;
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
}

.hero-diamond-1 {
    left: 25%;
    top: 75%;
    width: 40px;
    height: 40px;
    background: rgb(0, 86, 210);
    opacity: 0.05;
}

.hero-diamond-2 {
    left: 65%;
    top: 45%;
    width: 55px;
    height: 55px;
    background: rgb(255, 255, 255);
    opacity: 0.06;
}

/* Circular Shapes */
.hero-circle {
    position: absolute;
    pointer-events: none;
    border-radius: 50%;
}

.hero-circle-1 {
    left: 20%;
    top: 20%;
    width: 18px;
    height: 18px;
    background: rgb(0, 86, 210);
    opacity: 0.1;
}

.hero-circle-2 {
    left: 42%;
    top: 60%;
    width: 12px;
    height: 12px;
    background: rgb(59, 143, 232);
    opacity: 0.12;
}

.hero-circle-3 {
    left: 88%;
    top: 20%;
    width: 8px;
    height: 8px;
    background: rgb(255, 255, 255);
    opacity: 0.15;
}

.hero-circle-4 {
    left: 75%;
    top: 85%;
    width: 14px;
    height: 14px;
    background: rgb(255, 255, 255);
    opacity: 0.1;
}

/* SVG Lines */
.hero-svg-lines {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.hero-svg-lines .w-full {
    width: 100%;
}

.hero-svg-lines .h-full {
    height: 100%;
}

/* Blur Circles */
.hero-blur-circle {
    position: absolute;
    pointer-events: none;
    border-radius: 50%;
}

.hero-blur-circle-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0, 86, 210, 0.08) 0%, transparent 65%);
    right: 5%;
    top: -15%;
}

.hero-blur-circle-2 {
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(59, 143, 232, 0.1) 0%, transparent 65%);
    left: 25%;
    bottom: -10%;
}

/* Content Wrapper */
.hero-content-wrapper {
    position: relative;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 1rem;
    z-index: 2;
}

@media (min-width: 640px) {
    .hero-content-wrapper {
        padding: 0 1.5rem;
    }
}

@media (min-width: 1024px) {
    .hero-content-wrapper {
        padding: 0 5rem;
    }
}

/* Grid Layout */
.hero-grid {
    display: grid;
    gap: 1.5rem;
    align-items: center;
    padding: 3.5rem 0;
    min-height: 640px;
}

@media (min-width: 768px) {
    .hero-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem;
        padding: 4.5rem 0;
    }
}

@media (min-width: 1024px) {
    .hero-grid {
        padding: 5.5rem 0;
    }
}

/* Text Section */
.hero-text-section {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-self: start;
    padding-top: 25px;
}

@media (min-width: 1024px) {
    .hero-text-section {
        gap: 1.25rem;
    }
}

/* Title */
.hero-title {
    color: rgb(33, 34, 95);
    font-size: clamp(32px, 4vw, 44px);
    font-family: 'Jost', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.03em;
    margin: 0;
}

.hero-title-highlight {
    position: relative;
    display: inline-block;
}

.hero-title-highlight-text {
    position: relative;
    z-index: 10;
    color: rgb(0, 86, 210);
}

.hero-title-underline {
    position: absolute;
    bottom: -0.125rem;
    left: 0;
    right: 0;
    height: 10px;
    background: rgba(0, 86, 210, 0.12);
    z-index: 0;
}

/* Description */
.hero-description {
    color: rgb(90, 99, 118);
    font-size: 0.95rem;
    line-height: 1.8;
    max-width: 480px;
    margin: 0;
}

/* Search Container */
.hero-search-container {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding-top: 0.25rem;
    max-width: 500px;
}

.hero-search-box {
    display: flex;
    align-items: stretch;
    gap: 0;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(10px);
    border: 1.5px solid rgba(0, 86, 210, 0.15);
    box-shadow: rgba(0, 48, 128, 0.08) 0px 4px 20px, rgba(0, 0, 0, 0.04) 0px 1px 3px;
    transition: all 0.3s ease;
}

.hero-search-box:focus-within {
    border-color: rgba(0, 86, 210, 0.3);
    box-shadow: rgba(0, 48, 128, 0.12) 0px 6px 24px, rgba(0, 86, 210, 0.2) 0px 0px 0px 3px;
}

.hero-search-input-wrapper {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    flex: 1;
    padding: 0.75rem 1rem;
}

.hero-search-icon {
    flex-shrink: 0;
}

.hero-search-input {
    flex: 1;
    outline: none;
    border: none;
    background: transparent;
    color: rgb(33, 34, 95);
    font-size: 0.88rem;
    font-weight: 500;
}

.hero-search-input::placeholder {
    color: #B0B7C3;
}

.hero-search-button {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0 1.5rem;
    font-weight: 600;
    color: white;
    background: rgb(0, 86, 210);
    font-size: 0.85rem;
    margin: 0;
    box-shadow: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease-out;
    flex-shrink: 0;
}

.hero-search-button:hover {
    background: rgb(0, 70, 180);
}

.hero-arrow-icon {
    transition: transform 0.3s ease;
}

.hero-search-button:hover .hero-arrow-icon {
    transform: translateX(2px);
}

/* Popular Tags */
.hero-popular-tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    max-width: 500px;
}

.hero-popular-label {
    color: rgb(139, 149, 165);
    font-size: 12px;
    font-weight: 500;
}

.hero-tag {
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    background: rgba(0, 86, 210, 0.06);
    border: 1px solid rgba(0, 86, 210, 0.12);
    color: rgb(0, 86, 210);
    font-size: 11.5px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.hero-tag:hover {
    background: rgba(0, 86, 210, 0.12);
    border-color: rgba(0, 86, 210, 0.2);
    transform: translateY(-1px);
}

/* Image Section */
.hero-image-section {
    display: flex;
    position: relative;
    height: 350px;
    align-items: center;
    justify-content: center;
    margin-top: 2rem;
}

@media (min-width: 768px) {
    .hero-image-section {
        display: flex;
        align-items: center;
        justify-content: center;
        height: 550px;
        margin-top: 0;
    }
}

.hero-blob-container {
    position: absolute;
    pointer-events: none;
    width: 100%;
    height: 90%;
    top: 5%;
    left: 0;
    animation: floatImage 12s ease-in-out infinite;
}

@media (min-width: 768px) {
    .hero-blob-container {
        width: 105%;
        height: 95%;
        top: 2%;
        left: -2%;
    }
}

.hero-blob-svg {
    width: 100%;
    height: 100%;
    animation: breathe 15s ease-in-out infinite;
}

/* Floating animation for the blob container */
@keyframes floatImage {
    0%, 100% {
        transform: translateY(0px) translateX(0px);
    }
    25% {
        transform: translateY(-10px) translateX(5px);
    }
    50% {
        transform: translateY(-5px) translateX(-5px);
    }
    75% {
        transform: translateY(-15px) translateX(3px);
    }
}

/* Subtle breathing/scaling animation */
@keyframes breathe {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.02);
    }
}

/* Stat Badges */
.hero-stat-badge {
    position: absolute;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(20px);
    box-shadow: rgba(0, 48, 128, 0.12) 0px 8px 32px, 
                rgba(255, 255, 255, 0.6) 0px 1px 1px inset, 
                rgba(255, 255, 255, 0.15) 0px -1px 1px inset;
    border: 1.5px solid rgba(255, 255, 255, 0.45);
    animation: floatBadge 6s ease-in-out infinite;
}

.hero-stat-badge-1 {
    top: 5px;
    left: 5px;
    width: 65px;
    height: 65px;
    animation-delay: 0s;
}

.hero-stat-badge-2 {
    bottom: 20px;
    left: -5px;
    width: 70px;
    height: 70px;
    animation-delay: 2s;
}

@media (min-width: 768px) {
    .hero-stat-badge-1 {
        top: 10px;
        left: 15px;
        width: 82px;
        height: 82px;
    }

    .hero-stat-badge-2 {
        bottom: 40px;
        left: -10px;
        width: 90px;
        height: 90px;
    }
}

/* Floating animation for stat badges */
@keyframes floatBadge {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-5px);
    }
}

.hero-stat-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-stat-content svg {
    width: 12px;
    height: 12px;
}

@media (min-width: 768px) {
    .hero-stat-content svg {
        width: 16px;
        height: 16px;
    }
}

.hero-stat-number {
    color: rgb(0, 86, 210);
    font-size: 0.8rem;
    font-weight: 800;
    line-height: 1.2;
    margin: 2px 0 0 0;
}

@media (min-width: 768px) {
    .hero-stat-number {
        font-size: 1rem;
    }
}

.hero-stat-label {
    color: rgb(0, 86, 210);
    font-size: 6.5px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    opacity: 0.7;
    margin: 0;
}

@media (min-width: 768px) {
    .hero-stat-label {
        font-size: 8px;
    }
}

.hero-stat-badge-2 .hero-stat-label {
    font-size: 6px;
}

@media (min-width: 768px) {
    .hero-stat-badge-2 .hero-stat-label {
        font-size: 7.5px;
    }
}

/* Decorative Elements */
.hero-deco-circle {
    position: absolute;
    pointer-events: none;
    z-index: 20;
    top: -10px;
    right: 15px;
    animation: rotateDecoration 30s linear infinite;
}

.hero-deco-ring {
    position: absolute;
    pointer-events: none;
    z-index: 20;
    top: 38%;
    right: -18px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 2px solid rgba(0, 86, 210, 0.2);
    animation: pulse 5s ease-in-out infinite;
}

.hero-deco-dot {
    position: absolute;
    pointer-events: none;
    z-index: 20;
    top: -5px;
    left: 45%;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgb(0, 86, 210);
    opacity: 0.25;
    animation: bounce 4s ease-in-out infinite;
}

.hero-deco-cross {
    position: absolute;
    pointer-events: none;
    z-index: 20;
    bottom: 20px;
    left: 45px;
    animation: rotateDecoration 25s linear infinite reverse;
}

.hero-deco-dot-white {
    position: absolute;
    pointer-events: none;
    z-index: 20;
    bottom: 8px;
    left: 50%;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgb(255, 255, 255);
    opacity: 0.35;
    animation: pulse 4s ease-in-out infinite;
}

/* Decorative animations */
@keyframes rotateDecoration {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.35;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.6;
    }
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-3px);
    }
}

/* Bottom Fade */
.hero-bottom-fade {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 80px;
    pointer-events: none;
    background: linear-gradient(transparent, rgba(255, 255, 255, 0.8));
    z-index: 1;
}

/* Block Specific Overrides */
.block_hero_training {
    padding: 0 !important;
    border: none !important;
    box-shadow: none !important;
}

.block_hero_training .card-body {
    padding: 0 !important;
}

.block_hero_training .content {
    padding: 0 !important;
}

/* Responsive adjustments */
@media (max-width: 767px) {
    .hero-training-section {
        min-height: 600px;
    }
    
    .hero-grid {
        gap: 1rem;
        padding: 2rem 0;
    }
    
    .hero-title {
        font-size: 28px;
    }
    
    .hero-description {
        font-size: 0.875rem;
    }
    
    .hero-search-box {
        flex-direction: column;
    }
    
    .hero-search-button {
        width: 100%;
        justify-content: center;
        padding: 0.75rem;
    }
    
    .hero-image-section {
        height: 300px;
        margin-top: 1.5rem;
    }
    
    /* Hide some decorative elements on mobile for cleaner look */
    .hero-deco-circle,
    .hero-deco-ring,
    .hero-deco-cross {
        display: none;
    }
}
