/* for hero section on click */

#hero-section {
    margin: 2rem 0;
    position: relative;
}

#hero-section .container {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    gap: 2rem;

    border-radius: 2.5rem;
    /* ✅ image jaisa rounded */
    overflow: hidden;
    /* ✅ corners ke bahar content hide */
}


#hero-section .panel {
    position: relative;
    overflow: hidden;
    border-radius: 3rem;
    /* ✅ inner curve */
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}


/* Full width state */
#hero-section .container.full-width .panel-left,
#hero-section .container.full-width .panel-right {
    width: 0;
    transform: translateY(100%);
    opacity: 0;
}

#hero-section .container.full-width .panel-center {
    width: 100%;
}

/* Three panel state */
#hero-section .container.three-panel .panel-left,
#hero-section .container.three-panel .panel-right {
    width: 33.333%;
    transform: translateY(0);
    opacity: 1;
}

#hero-section .container.three-panel .panel-center {
    width: 33.333%;
}

#hero-section .container.three-panel .panel-left,
#hero-section .container.three-panel .panel-center,
#hero-section .container.three-panel .panel-right {
    border-radius: 6rem;
}

#hero-section .container.full-width .panel-center {
    width: 100%;
    border-radius: 2.5rem;
    /* outer container ke barabar */
}

#hero-section .panel-left,
#hero-section .panel-right {
    height: 100vh;
}

#hero-section .panel-center {
    height: 100vh;
}

#hero-section .panel-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 60px;
    color: white;
    z-index: 2;
    cursor: pointer;
}

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

#hero-section .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

#hero-section h1 {
    font-size: 4.5rem;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
    text-shadow: 2px 2px 20px rgba(0, 0, 0, 0.8);
    margin-bottom: 20px;
}

#hero-section h2 {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
    text-align: left;
    text-shadow: 2px 2px 20px rgba(0, 0, 0, 0.8);
    position: absolute;
    left: 4rem;
    bottom: 15rem;
    font-family: var(--primary-heading-font);
}

#hero-section .subtitle {
    font-size: 1.5rem;
    font-weight: 400;
    text-align: center;
    margin-top: 10px;
    text-shadow: 1px 1px 10px rgba(0, 0, 0, 0.8);
}

/* Video styling */
#hero-section video {
    filter: brightness(0.7);
}

/* Heading visibility control */
#hero-section .main-heading {
    opacity: 1;
    transition: opacity 0.5s ease;
    font-family: var(--primary-heading-font);
}

#hero-section .welcome-heading {
    opacity: 0;
    transition: opacity 0.5s ease;
}

#hero-section .container.three-panel .main-heading {
    opacity: 0;
}

#hero-section .container.three-panel .welcome-heading {
    opacity: 1;
    font-family: var(--primary-heading-font);
    font-size: 3rem;
}