/* ============================================
   HERO.CSS - Rebuilt Vibrant Hero
   Harmain Institute of Health Sciences
   ============================================ */

/* ============================================
   HERO CONTAINER
   ============================================ */
.hihs-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 140px 0 80px;
    background: #0B2E59;
}

/* ============================================
   HERO BACKGROUND
   ============================================ */
.hero-background-layer {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
}

.hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse at 20% 50%, rgba(212, 175, 55, 0.15) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 20%, rgba(139, 21, 56, 0.2) 0%, transparent 50%);
    z-index: 1;
}

.hero-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
}

.hero-gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg,
        rgba(11, 46, 89, 0.92) 0%,
        rgba(11, 46, 89, 0.80) 40%,
        rgba(139, 21, 56, 0.40) 100%
    );
    z-index: 2;
}

/* ============================================
   CONTAINER
   ============================================ */
.hihs-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    position: relative;
    z-index: 3;
}

/* ============================================
   GRID LAYOUT
   ============================================ */
.hihs-hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

/* ============================================
   LEFT CONTENT
   ============================================ */
.hihs-hero-content {
    color: #FFFFFF;
}

/* Badge */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(212, 175, 55, 0.15);
    border: 1px solid rgba(212, 175, 55, 0.30);
    padding: 8px 22px;
    border-radius: 50px;
    margin-bottom: 25px;
    font-size: 12px;
    font-weight: 500;
    color: #D4AF37;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.hero-badge i {
    font-size: 12px;
    color: #D4AF37;
}

/* Main Title */
.hero-main-title {
    font-size: 3.8rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
    color: #FFFFFF;
}

.title-line-1 {
    display: block;
}

.title-line-2 {
    display: block;
    background: linear-gradient(135deg, #D4AF37, #f0d060, #D4AF37);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.title-line-2::after {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #D4AF37, transparent);
    border-radius: 2px;
    -webkit-text-fill-color: transparent;
}

/* Description */
.hero-description {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.85);
    max-width: 520px;
    margin-bottom: 35px;
    line-height: 1.8;
}

/* Buttons */
.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 45px;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 35px;
    background: linear-gradient(135deg, #D4AF37, #b8960f);
    color: #FFFFFF;
    border-radius: 60px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 25px rgba(212, 175, 55, 0.35);
    text-decoration: none;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 40px rgba(212, 175, 55, 0.55);
    color: #FFFFFF;
    text-decoration: none;
}

.btn-primary i {
    transition: all 0.3s ease;
}

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

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 35px;
    background: rgba(255, 255, 255, 0.08);
    border: 2px solid rgba(255, 255, 255, 0.25);
    color: #FFFFFF;
    border-radius: 60px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-decoration: none;
    cursor: pointer;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: #D4AF37;
    color: #FFFFFF;
    transform: translateY(-3px);
    text-decoration: none;
}

.btn-secondary i {
    color: #D4AF37;
}

/* Stats */
.hero-stats {
    display: flex;
    align-items: center;
    gap: 20px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.2rem;
    font-weight: 700;
    color: #D4AF37;
    line-height: 1.2;
}

.stat-label {
    display: block;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 5px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.08);
}

/* ============================================
   RIGHT IMAGE
   ============================================ */
.hihs-hero-image {
    position: relative;
}

.hero-image-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
}

.hero-main-image {
    width: 100%;
    height: 500px;
    object-fit: cover;
    display: block;
    transition: all 0.5s ease;
}

.hero-image-wrapper:hover .hero-main-image {
    transform: scale(1.02);
}

/* Floating Cards */
.hero-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 16px 22px;
    border-radius: 14px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 14px;
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.card-1 {
    top: 30px;
    left: -20px;
    animation: floatCard 4s ease-in-out infinite;
}

.card-2 {
    bottom: 30px;
    right: -20px;
    animation: floatCard 4s ease-in-out infinite 2s;
}

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

.card-icon {
    width: 42px;
    height: 42px;
    background: rgba(212, 175, 55, 0.12);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.card-icon i {
    font-size: 18px;
    color: #D4AF37;
}

.hero-card h4 {
    font-size: 13px;
    font-weight: 700;
    color: #0B2E59;
    margin: 0 0 2px 0;
}

.hero-card p {
    font-size: 11px;
    color: #6c757d;
    margin: 0;
}

/* ============================================
   SCROLL INDICATOR
   ============================================ */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.scroll-indicator span {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.3);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.scroll-mouse {
    width: 24px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    position: relative;
    transition: all 0.3s ease;
}

.scroll-mouse:hover {
    border-color: #D4AF37;
}

.scroll-wheel {
    width: 4px;
    height: 10px;
    background: #D4AF37;
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollDown 2s ease-in-out infinite;
}

@keyframes scrollDown {
    0% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(20px);
    }
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .hero-main-title {
        font-size: 3rem;
    }
}

@media (max-width: 992px) {
    .hihs-hero-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    .hihs-hero {
        padding: 100px 0 60px;
        min-height: auto;
    }
    .hero-main-title {
        font-size: 2.8rem;
    }
    .hero-description {
        max-width: 100%;
    }
    .hero-main-image {
        height: 350px;
    }
    .card-1 {
        top: 20px;
        left: 10px;
    }
    .card-2 {
        bottom: 20px;
        right: 10px;
    }
}

@media (max-width: 768px) {
    .hero-main-title {
        font-size: 2.2rem;
    }
    .hero-badge {
        font-size: 10px;
        padding: 6px 14px;
    }
    .hero-buttons {
        flex-direction: column;
    }
    .btn-primary,
    .btn-secondary {
        justify-content: center;
        text-align: center;
        width: 100%;
    }
    .hero-stats {
        flex-wrap: wrap;
        justify-content: center;
        gap: 12px;
    }
    .stat-divider {
        display: none;
    }
    .stat-number {
        font-size: 1.8rem;
    }
    .hero-main-image {
        height: 250px;
    }
    .hero-card {
        padding: 10px 14px;
        gap: 10px;
    }
    .card-1 {
        top: 10px;
        left: 5px;
    }
    .card-2 {
        bottom: 10px;
        right: 5px;
    }
    .card-icon {
        width: 32px;
        height: 32px;
    }
    .card-icon i {
        font-size: 12px;
    }
    .hero-card h4 {
        font-size: 10px;
    }
    .hero-card p {
        font-size: 9px;
    }
    .scroll-indicator {
        display: none;
    }
}

@media (max-width: 480px) {
    .hero-main-title {
        font-size: 1.8rem;
    }
    .hero-description {
        font-size: 0.95rem;
    }
    .hero-main-image {
        height: 200px;
    }
    .hero-card {
        padding: 8px 12px;
    }
    .card-1,
    .card-2 {
        position: static;
        margin-top: 10px;
        width: 100%;
    }
    .hero-image-wrapper {
        display: flex;
        flex-direction: column;
    }
    .hero-main-image {
        border-radius: 14px 14px 0 0;
    }
    .hero-card {
        border-radius: 0 0 14px 14px;
        animation: none !important;
    }
    .hihs-hero {
        padding: 80px 0 40px;
    }
}
