﻿/* ===== HERO SECTION CSS - FULL SCREEN VIDEO NO GAPS ===== */

/* Reset - Remove All Gaps */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    overflow-x: hidden;
}

/* Hero Section - Full Screen No Gaps */
.hero-section {
    position: relative;
    width: 100vw;
    height: 100vh;
    margin: 0;
    padding: 0;
    overflow: hidden;
    top: 0;
    left: 0;
}

/* Video Wrapper - Full Coverage No Gaps */
.hero-video-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    margin: 0;
    padding: 0;
}

/* Video Element - Cover Entire Screen */
.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    object-position: center;
}

/* Remove any overlay - No Background */
.video-overlay {
    display: none;
}

/* Hero Content - No Background, Just Text */
.hero-content {
    position: relative;
    z-index: 2;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: transparent;
    margin: 0;
    padding: 0;
}

.container-fluid {
    width: 100%;
    margin: 0;
    padding: 0;
}

.hero-text {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    width: 100%;
}

/* School Name - Text Shadow Only, No Background */
.school-name-wrapper {
    margin-bottom: 30px;
    background: transparent;
    padding: 0;
    box-shadow: none;
}

.school-name-hero {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 15px;
    color: #ffffff;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.8), 5px 5px 12px rgba(0, 0, 0, 0.6), 0px 0px 20px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 0.8s ease-out;
}

.name-line {
    display: block;
    font-size: 3.5rem;
    letter-spacing: 2px;
    animation: slideInLeft 0.8s ease-out;
    color: #ffffff;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.8), 5px 5px 12px rgba(0, 0, 0, 0.6);
}

.location-line {
    display: block;
    font-size: 1.8rem;
    font-weight: 600;
    margin-top: 10px;
    animation: slideInRight 0.8s ease-out;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8), 4px 4px 8px rgba(0, 0, 0, 0.6);
}

/* Slogans - Text Shadow Only, No Background */
.slogans-wrapper {
    margin: 30px 0 40px;
    min-height: 120px;
}

.slogan-slider {
    position: relative;
    width: 100%;
}

.slogan-item {
    display: none;
    text-align: center;
    animation: fadeInUp 0.6s ease-out;
    background: transparent;
    padding: 0;
    box-shadow: none;
}

    .slogan-item.active {
        display: block;
    }

    .slogan-item i {
        font-size: 3rem;
        color: #ffd700;
        margin-bottom: 15px;
        display: inline-block;
        animation: pulse 2s infinite;
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8), 0px 0px 10px rgba(0, 0, 0, 0.5);
    }

    .slogan-item p {
        font-size: 2rem;
        font-weight: 600;
        color: #ffffff;
        letter-spacing: 1px;
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8), 4px 4px 8px rgba(0, 0, 0, 0.6), 0px 0px 15px rgba(0, 0, 0, 0.5);
        margin: 0;
    }

/* Buttons - Semi-Transparent No Block Background */
.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 30px;
}

.btn {
    padding: 14px 35px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    border: none;
    backdrop-filter: blur(8px);
}

.btn-primary {
    background: rgba(0, 0, 128, 0.7);
    color: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

    .btn-primary:hover {
        transform: translateY(-3px);
        background: rgba(0, 0, 128, 0.9);
        color: #ffffff;
        text-decoration: none;
        border-color: rgba(255, 255, 255, 0.6);
    }

.btn-outline {
    background: rgba(0, 0, 0, 0.5);
    border: 2px solid #ffffff;
    color: #ffffff;
    backdrop-filter: blur(8px);
}

    .btn-outline:hover {
        background: rgba(0, 0, 128, 0.8);
        color: #ffffff;
        transform: translateY(-3px);
        text-decoration: none;
        border-color: #ffd700;
    }

/* Scroll Indicator - Transparent Background */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    cursor: pointer;
    animation: bounce 2s infinite;
    z-index: 10;
    background: transparent;
    padding: 10px 20px;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

    .scroll-indicator span {
        display: block;
        font-size: 0.9rem;
        letter-spacing: 2px;
        color: #ffffff;
        font-weight: 600;
        text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    }

    .scroll-indicator i {
        font-size: 1.2rem;
        color: #ffffff;
        text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    }

/* Animations */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }
}

@keyframes bounce {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
    }

    50% {
        transform: translateX(-50%) translateY(10px);
    }
}

/* ===== RESPONSIVE DESIGN - FULL COVERAGE ===== */

/* Tablet Styles */
@media (max-width: 1024px) {
    .school-name-hero {
        font-size: 3rem;
    }

    .name-line {
        font-size: 2.8rem;
    }

    .location-line {
        font-size: 1.5rem;
    }

    .slogan-item p {
        font-size: 1.6rem;
    }

    .slogan-item i {
        font-size: 2.5rem;
    }

    .btn {
        padding: 12px 30px;
        font-size: 1rem;
    }
}

/* Mobile Styles */
@media (max-width: 768px) {
    .hero-section {
        width: 100vw;
        height: 100vh;
    }

    .hero-content {
        height: 100vh;
        padding: 0;
    }

    .hero-text {
        padding: 15px;
    }

    .school-name-hero {
        font-size: 2rem;
    }

    .name-line {
        font-size: 1.8rem;
    }

    .location-line {
        font-size: 1.1rem;
    }

    .slogans-wrapper {
        margin: 20px 0 30px;
        min-height: 100px;
    }

    .slogan-item i {
        font-size: 2rem;
    }

    .slogan-item p {
        font-size: 1.2rem;
    }

    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .hero-buttons {
        gap: 12px;
    }

    .scroll-indicator {
        bottom: 20px;
    }

        .scroll-indicator span {
            font-size: 0.8rem;
        }
}

/* Small Mobile Styles */
@media (max-width: 480px) {
    .school-name-hero {
        font-size: 1.5rem;
    }

    .name-line {
        font-size: 1.3rem;
    }

    .location-line {
        font-size: 0.9rem;
    }

    .slogan-item p {
        font-size: 1rem;
    }

    .slogan-item i {
        font-size: 1.5rem;
    }

    .btn {
        padding: 8px 16px;
        font-size: 0.85rem;
    }
}

/* Landscape Mode - Full Coverage */
@media (max-height: 600px) and (orientation: landscape) {
    .hero-section {
        height: 100vh;
    }

    .hero-content {
        height: 100vh;
    }

    .hero-text {
        padding: 10px;
    }

    .school-name-hero {
        font-size: 1.5rem;
        margin-bottom: 5px;
    }

    .name-line {
        font-size: 1.3rem;
    }

    .location-line {
        font-size: 0.9rem;
    }

    .slogans-wrapper {
        margin: 10px 0 15px;
        min-height: 80px;
    }

    .slogan-item p {
        font-size: 1rem;
    }

    .slogan-item i {
        font-size: 1.2rem;
    }

    .hero-buttons {
        margin-top: 10px;
    }

    .btn {
        padding: 6px 15px;
        font-size: 0.8rem;
    }

    .scroll-indicator {
        display: none;
    }
}

/* Large Desktop Screens - Full Coverage */
@media (min-width: 1920px) {
    .school-name-hero {
        font-size: 5.5rem;
    }

    .name-line {
        font-size: 5rem;
    }

    .location-line {
        font-size: 2.2rem;
    }

    .slogan-item p {
        font-size: 2.5rem;
    }

    .slogan-item i {
        font-size: 3.5rem;
    }

    .btn {
        padding: 16px 40px;
        font-size: 1.2rem;
    }
}

/* Video Aspect Ratio Fix - Ensure Full Coverage */
@media (max-aspect-ratio: 16/9) {
    .hero-video {
        width: 100%;
        height: auto;
    }
}

@media (min-aspect-ratio: 16/9) {
    .hero-video {
        width: auto;
        height: 100%;
    }
}

/* Ensure Video Covers Full Screen on All Devices */
.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    background-size: cover;
}

/* Remove Any Default Margins */
body, html {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    overflow-x: hidden;
}

/* Main Content - Will Appear Below Hero */
main {
    position: relative;
    z-index: 2;
    background: #ffffff;
    margin-top: 0;
}

/* Ensure Header is Above Hero */
.vedanta-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
