/* =====================================================
   HOME V2 - CREATIVE UNIVERSITY HERO SECTION
   Modern, Professional University Design
   ===================================================== */

/* Main class scope: .td_theme_2 */
.td_theme_2 .v2-hero-university {
    position: relative;
    /* min-height: 100vh; */
    display: flex;
    align-items: center;
    overflow: hidden;
    background-color: #0a1628;
}

.v2-stats-grid .v2-stats-number span {
    font-size: 20px !important;
}

/* Background Image Layer */
.td_theme_2 .v2-hero-bg-image {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.td_theme_2 .v2-hero-bg-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Overlay - Can be customized via Content Manager */
.td_theme_2 .v2-hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    /* Default gradient - overridden by inline styles from Content Manager */
    background: linear-gradient(
        135deg,
        rgba(10, 22, 40, 0.85) 0%,
        rgba(20, 40, 75, 0.75) 50%,
        rgba(15, 30, 55, 0.80) 100%
    );
}

/* Animated Gradient Orbs */
.td_theme_2 .v2-hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    z-index: 3;
    opacity: 0.5;
    animation: v2OrbFloat 8s ease-in-out infinite;
}

.td_theme_2 .v2-hero-orb-1 {
    width: 500px;
    height: 500px;
    background: linear-gradient(135deg, #025CB8 0%, #59abff 100%);
    top: -150px;
    right: 5%;
    animation-delay: 0s;
}

.td_theme_2 .v2-hero-orb-2 {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    bottom: -100px;
    left: -100px;
    animation-delay: 2s;
}

.td_theme_2 .v2-hero-orb-3 {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, #0891b2 0%, #06b6d4 100%);
    top: 40%;
    right: 20%;
    animation-delay: 4s;
}

@keyframes v2OrbFloat {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.4;
    }
    25% {
        transform: translate(30px, -30px) scale(1.05);
        opacity: 0.5;
    }
    50% {
        transform: translate(-20px, 20px) scale(0.95);
        opacity: 0.45;
    }
    75% {
        transform: translate(15px, 15px) scale(1.02);
        opacity: 0.5;
    }
}

/* Grid Pattern Overlay */
.td_theme_2 .v2-hero-grid-pattern {
    position: absolute;
    inset: 0;
    z-index: 4;
    opacity: 0.04;
    background-image:
        linear-gradient(rgba(255,255,255,0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.1) 1px, transparent 1px);
    background-size: 50px 50px;
}

/* Main Content Container */
.td_theme_2 .v2-hero-main {
    position: relative;
    z-index: 10;
    width: 100%;
    padding: 140px 0 100px;
}

.td_theme_2 .v2-hero-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

/* Left Content */
.td_theme_2 .v2-hero-left {
    flex: 1;
    max-width: 650px;
}

/* Top Badge */
.td_theme_2 .v2-hero-top-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: #fff;
    border: 1px solid rgba(231, 176, 33, 0.3);
    padding: 10px 24px;
    border-radius: 50px;
    margin-bottom: 28px;
    backdrop-filter: blur(10px);
}

.td_theme_2 .v2-badge-icon {
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, #025CB8 0%, #59abff 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.td_theme_2 .v2-badge-icon i {
    font-size: 12px;
    color: #fff;
}

.td_theme_2 .v2-badge-text {
    font-size: 14px;
    font-weight: 600;
    color: #025CB8;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin: 0;
}

/* Main Title */
.td_theme_2 .v2-hero-main-title {
    font-size: clamp(32px, 5vw, 56px);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 24px;
    color: #fff;
    max-width: 700px;
}

/* Subtitle */
.td_theme_2 .v2-hero-subtitle {
    font-size: 18px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 40px;
    max-width: 560px;
}

/* CTA Buttons */
.td_theme_2 .v2-hero-cta-group {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 50px;
}

.td_theme_2 .v2-hero-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, #025CB8 0%, #59abff 100%);
    color: #fff;
    padding: 18px 36px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 30px rgba(231, 176, 33, 0.35);
    position: relative;
    overflow: hidden;
}

.td_theme_2 .v2-hero-btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s;
}

.td_theme_2 .v2-hero-btn-primary:hover::before {
    left: 100%;
}

.td_theme_2 .v2-hero-btn-primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 40px rgba(231, 176, 33, 0.5);
    color: #0a1628;
}

.td_theme_2 .v2-hero-btn-primary i {
    transition: transform 0.3s;
}

.td_theme_2 .v2-hero-btn-primary:hover i {
    transform: translateX(5px);
}

.td_theme_2 .v2-hero-btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    color: #fff;
    padding: 18px 36px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    border: 2px solid rgba(255, 255, 255, 0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.td_theme_2 .v2-hero-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-4px);
    color: #fff;
}

.td_theme_2 .v2-hero-btn-secondary i {
    font-size: 20px;
}

/* Stats Row */
.td_theme_2 .v2-hero-stats {
    display: flex;
    gap: 40px;
}

.td_theme_2 .v2-hero-stat-item {
    text-align: left;
    position: relative;
    padding-left: 20px;
}

.td_theme_2 .v2-hero-stat-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 5px;
    width: 4px;
    height: 45px;
    background: linear-gradient(180deg, #025CB8 0%, transparent 100%);
    border-radius: 2px;
}

.td_theme_2 .v2-hero-stat-number {
    font-size: 42px;
    font-weight: 800;
    color: #fff;
    line-height: 1;
    margin-bottom: 5px;
}

.td_theme_2 .v2-hero-stat-number span {
    color: #025CB8;
}

.td_theme_2 .v2-hero-stat-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.65);
    font-weight: 500;
}

/* Right Content - Feature Cards */
.td_theme_2 .v2-hero-right {
    flex: 0 0 420px;
    position: relative;
}

.td_theme_2 .v2-hero-cards {
    position: relative;
    height: 500px;
}

.td_theme_2 .v2-hero-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 20px;
    padding: 28px;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: default;
}

.td_theme_2 .v2-hero-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(231, 176, 33, 0.3);
}

.td_theme_2 .v2-hero-card-1 {
    top: 0;
    left: 0;
    width: 280px;
    z-index: 3;
}

.td_theme_2 .v2-hero-card-2 {
    top: 120px;
    right: 0;
    width: 260px;
    z-index: 2;
}

.td_theme_2 .v2-hero-card-3 {
    bottom: 40px;
    left: 40px;
    width: 300px;
    z-index: 1;
}

.td_theme_2 .v2-hero-card-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #025CB8 0%, #59abff 100%);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
}

.td_theme_2 .v2-hero-card-icon i {
    font-size: 24px;
    color: #fff;
}

.td_theme_2 .v2-hero-card-title {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
}

.td_theme_2 .v2-hero-card-text {
    font-size: 14px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

/* Floating Elements */
.td_theme_2 .v2-hero-float {
    position: absolute;
    z-index: 5;
    animation: v2Float 6s ease-in-out infinite;
}

.td_theme_2 .v2-hero-float-1 {
    top: 15%;
    right: 8%;
    animation-delay: 0s;
}

.td_theme_2 .v2-hero-float-2 {
    bottom: 20%;
    left: 5%;
    animation-delay: 2s;
}

.td_theme_2 .v2-hero-float-3 {
    top: 60%;
    right: 3%;
    animation-delay: 4s;
}

.td_theme_2 .v2-hero-float-shape {
    width: 80px;
    height: 80px;
    border: 2px solid rgba(231, 176, 33, 0.3);
    border-radius: 20px;
    transform: rotate(45deg);
}

.td_theme_2 .v2-hero-float-dot {
    width: 12px;
    height: 12px;
    background: #025CB8;
    border-radius: 50%;
}

@keyframes v2Float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(5deg);
    }
}

/* Scroll Indicator */
.td_theme_2 .v2-hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.td_theme_2 .v2-hero-scroll-text {
    font-size: 12px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin: 0;
}

.td_theme_2 .v2-hero-scroll-line {
    width: 2px;
    height: 60px;
    background: linear-gradient(180deg, #025CB8 0%, transparent 100%);
    border-radius: 2px;
    position: relative;
}

.td_theme_2 .v2-hero-scroll-line::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 20px;
    background: #025CB8;
    border-radius: 2px;
    animation: v2ScrollAnim 2s ease-in-out infinite;
}

@keyframes v2ScrollAnim {
    0% {
        top: 0;
        opacity: 1;
    }
    100% {
        top: 40px;
        opacity: 0;
    }
}

/* ===== RESPONSIVE STYLES ===== */
@media (max-width: 1200px) {
    .td_theme_2 .v2-hero-right {
        flex: 0 0 380px;
    }
}

@media (max-width: 991px) {
    .td_theme_2 .v2-hero-university {
        min-height: auto;
    }

    .td_theme_2 .v2-hero-main {
        padding: 120px 0 80px;
    }

    .td_theme_2 .v2-hero-row {
        flex-direction: column;
        text-align: center;
    }

    .td_theme_2 .v2-hero-left {
        max-width: 100%;
    }

    .td_theme_2 .v2-hero-main-title {
        max-width: 100%;
    }

    .td_theme_2 .v2-hero-subtitle {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }

    .td_theme_2 .v2-hero-cta-group {
        justify-content: center;
    }

    .td_theme_2 .v2-hero-stats {
        justify-content: center;
    }

    .td_theme_2 .v2-hero-stat-item {
        text-align: center;
        padding-left: 0;
    }

    .td_theme_2 .v2-hero-stat-item::before {
        display: none;
    }

    .td_theme_2 .v2-hero-right {
        display: none;
    }

    .td_theme_2 .v2-hero-scroll {
        display: none;
    }
}

@media (max-width: 767px) {
    .td_theme_2 .v2-hero-main {
        padding: 100px 0 60px;
    }

    .td_theme_2 .v2-hero-subtitle {
        font-size: 16px;
    }

    .td_theme_2 .v2-hero-cta-group {
        flex-direction: column;
        gap: 15px;
    }

    .td_theme_2 .v2-hero-btn-primary,
    .td_theme_2 .v2-hero-btn-secondary {
        width: 100%;
        justify-content: center;
        padding: 16px 28px;
    }

    .td_theme_2 .v2-hero-stats {
        flex-wrap: wrap;
        gap: 25px;
    }

    .td_theme_2 .v2-hero-stat-number {
        font-size: 32px;
    }

    .td_theme_2 .v2-hero-orb-1 {
        width: 300px;
        height: 300px;
    }

    .td_theme_2 .v2-hero-orb-2 {
        width: 250px;
        height: 250px;
    }

    .td_theme_2 .v2-hero-orb-3 {
        display: none;
    }

    .td_theme_2 .v2-hero-float {
        display: none;
    }
}

@media (max-width: 480px) {
    .td_theme_2 .v2-hero-top-badge {
        padding: 8px 18px;
    }

    .td_theme_2 .v2-badge-text {
        font-size: 12px;
    }

    .td_theme_2 .v2-hero-stat-item {
        flex: 0 0 calc(50% - 15px);
    }
}
