@font-face {
    font-family: 'Caliny-medium';
    src: url('fonts/Caliny-Medium-DEMO.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: 'Zalando Sans SemiExpanded', Arial, sans-serif;
    background: #eee;
    color: #494949;
    position: relative;
}

h1,
h2,
h3 {
    font-family: 'Caliny-medium', sans-serif;
}

h1 {
    font-size: 48px;
}

h2 {
    font-size: 36px;
}

h3 {
    font-size: 28px;
}

h4 {
    font-size: 22px;
    line-height: 22px;
    margin: 0;
    font-family: 'Zalando Sans SemiExpanded', Arial, sans-serif;
}

p {
    font-size: 18px;
    line-height: 1.6;
}

.link {
    color: #89d5e3;
    font-weight: bold;
    text-decoration: none;
    cursor: pointer;
}

.link:hover {
    text-decoration: underline;
}

#video-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: black;
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;

    @media (max-width: 767px) {
        display: none;
    }
}

#video-overlay video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#video-overlay .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 9;
}

#overlay-title {
    font-size: 84px;
    font-family: 'Caliny-medium', sans-serif;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    left: 50%;
    color: #fff;
    z-index: 9;
    opacity: 0;
    animation: fadeIn 1s ease-in forwards;
}

.close-overlay {
    position: absolute;
    bottom: 20px;
    text-align: center;
    z-index: 9;
}

.close-overlay button {
    background: none; 
    border: none; 
    cursor: pointer;
    opacity: 0;
    animation: fadeIn 1s ease-in forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

#home {
    position: absolute;
    top: 0;
}

header {
    background-color: transparent;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 99;
}

header.scroll {
    background: #89d5e3;
}

header.scroll .nav-links a:hover {
    color: #fff;
}

header.scroll .nav-links a::after {
    background: #fff;
}

header .main-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 20px;
}

header .main-nav .logo-img {
    width: 80px;
    border-radius: 8px;
}

header .nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
    margin: 0 auto;
}

header .nav-links a {
    color: white;
    text-decoration: none;
    position: relative;
    font-size: 28px;
    font-family: 'Caliny-medium', sans-serif;
}

header .nav-links a::after {
    position: absolute;
    bottom: -10px;
    left: 0;
    content: '';
    height: 1.5px;
    background: #89d5e3;
    transition: width 0.5s;
    width: 0;
}

header .nav-links a:hover {
    color: #89d5e3;
}

header .nav-links a:hover::after {
    width: 100%;
}

header #hamburger {
    width: 30px;
    height: 3px;
    background: #fff;
    position: relative;
    transition: all 0.3s ease-in-out;
    display: none;
    cursor: pointer;
}

header #hamburger::before,
header #hamburger::after {
    content: '';
    position: absolute;
    width: 30px;
    height: 3px;
    background: #fff;
    transition: all 0.3s ease-in-out;
}

header #hamburger::before {
    top: -10px;
}

header #hamburger::after {
    bottom: -10px;
}

header .mobile-nav {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: fixed;
    top: 0;
    width: 100%;
    height: 100vh;
    transform: translateX(-100%);
    background: #89d5e3;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
}

header .mobile-nav.active {
    display: flex;
    transform: translateX(0);
    z-index: 98;
}

header .mobile-nav .close-mobile-nav {
    position: absolute;
    top: 30px;
    right: 30px;
    width: 30px;
    height: 3px;
    background: none;
    border: none;
    cursor: pointer;
}

header .mobile-nav .close-mobile-nav svg {
    width: 30px;
    height: 30px;
    fill: #fff;
}

header .mobile-nav .mobile-link {
    color: #fff;
    text-decoration: none;
    font-size: 36px;
    padding: 20px;
    text-align: center;
    font-family: 'caliny-medium', sans-serif;
}

.hero {
    position: relative;
    height: 100vh;
    overflow: hidden;
}

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

.hero-text {
    position: absolute;
    height: 100%;
    left: 30px;
    display: flex;
    justify-content: center;
    flex-direction: column;
    z-index: 10;
    color: #fff;
}

.hero-text h2 {
    font-size: 64px;
    margin: 0 0 20px 0;
    font-family: 'Caliny-medium', sans-serif;
}

.hero-text p {
    font-size: 24px;
    line-height: 1.5;
}

.hero-text .btn {
    align-self: flex-start;
    padding: 15px 30px;
    margin-top: 50px;
    background: #89d5e3;
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    font-size: 18px;
    transition: all 0.3s;
}

.hero-text .btn:hover {
    background: #fff;
    color: #89d5e3;
}

.hero img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.hero img.active {
    opacity: 1;
}

.background-notes {
    position: absolute;
    margin: auto;
    top: 50;
    bottom: 0;
    left: 0;
    right: 0;
    height: 98%;
    width: 98%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    z-index: -1;
    pointer-events: none;
}

.background-notes .note {
    width: 40px;
    height: auto;
    opacity: 0.2;
    transform: rotate(5deg);
    padding: 0 20px;
}

.background-notes .note.rhs {
    align-self: flex-end; 
}

.background-notes .note {
    animation: fadeInOut 2s infinite alternate;
}


.background-notes .note.rhs {
    animation: fadeInOutRhs 2s infinite alternate;
}

@keyframes fadeInOut {
    from {
        opacity: 0.2;
        transform: rotate(5deg);
    }
    to {
        opacity: 0.5;
        transform: rotate(-5deg);
    }
}

@keyframes fadeInOutRhs {
    from {
        opacity: 0.5;
        transform: rotate(-5deg);
    }
    to {
        opacity: 0.2;
        transform: rotate(5deg);
    }
}

.page-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 20px;
    position: relative;
}

.page-content section {
    position: relative;
}

.social-bar {
    width: 100%;
    background: #89d5e3;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 24px;
    padding: 8px 0;
    z-index: 1000;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}
.social-bar img {
    height: 28px;
    width: 28px;
    vertical-align: middle;
    transition: transform 0.2s;
}
.social-bar a:hover img {
    transform: scale(1.15);
}

#about,
#videos,
#join {
    position: absolute;
    top: -120px;
}

.about {
    padding: 50px 0;
    position: relative;
}

.about h2 {
    margin-top: 0;
}

.text-img {
    display: flex;
    align-items: center;
    gap: 40px;
}

.text-img .col {
   width: 50%;
}

.text-img img {
    width: 100%;
    border-radius: 8px;
    object-fit: cover;
}

.join ul {
    list-style-type: none;
}

.join ul li {
   position: relative;
   margin-bottom: 15px;
}

.join ul li::before {
    position: absolute;
    left: -30px;
    top: 50%;
    transform: translateY(-50%);
    content: "";
    background: url('musicalnotes.svg') no-repeat center center;
    background-size: contain;
    width: 25px;
    height: 25px;
}

.form-container {
    border-radius: 20px;
    background: #89d5e3;
    width: 80%;
    margin: 0 auto;
    display: block;
    padding: 60px 0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

form .form-content {
    max-width: 70%;
    margin: 0 auto;
}

form .form-group {
    margin-bottom: 15px;
    display: flex;
    align-self: center;
    gap: 20px;
    color: #fff;
}

form .form-group > *:first-child {
    width: 30%;
}

form .form-group > *:last-child {
    width: 70%;
}

form .form-group input {
    height: 25px;
    border: 1px solid #89d5e3;
    border-radius: 8px;
}

form .form-group textarea {
    height: 100px;
    border: 1px solid #89d5e3;
    border-radius: 8px;
    resize: vertical;
  	box-sizing: border-box;
  	padding: 10px;
  	font-family: 'Zalando Sans SemiExpanded', Arial, sans-serif;
}

form button {
    display: flex;
    justify-self: center;
    background: #fff;
    color: #89d5e3;
    border: 1px solid #fff;
    padding: 10px 20px;
    margin-top: 30px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    font-family: 'Caliny-medium', sans-serif;
    transition: all 0.3s ease;
}

form button:hover {
    background: #89d5e3;
    color: #fff;
    border: 1px solid #fff;
}

#form-success {
  display: none;
  width: 80%;
  margin: 20px auto;
  background: rgb(223, 240, 216);
  color: rgb(60, 118, 61);
  padding: 15px;
  border-radius: 5px;
}

.login-form-content {
    max-width: 400px;
    margin: 0 auto;
}

.login-form-content button:hover {
    background: #89d5e3;
    color: #fff;
    border: 1px solid #fff;
}

.video-carousel {
    padding: 2em;
    background: #eee;
}

.video-carousel h2 {
    text-align: center;
    margin-bottom: 1em;
}

.video-player {
    max-width: 800px;
    margin: 0 auto 2em auto;
}

.video-gallery {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.main-video {
    width: 100%;
    max-width: 800px;
    min-height: 460px;
    margin-bottom: 20px;
}

.main-video video {
    width: 100%;
    border: 2px solid #ccc;
    border-radius: 8px;
}

.thumbnails {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}

.thumbnail {
    width: 120px;
    height: auto;
    cursor: pointer;
    border: 2px solid transparent;
    border-radius: 4px;
    transition: border-color 0.3s;
}

.thumbnail:hover {
    border-color: #89d5e3;
}

/*members area styles*/
.music-link {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 20px;
    background-color: #89d5e3;
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

.music-link:hover {
    background-color: #6fb8c3;
}

/* Footer Styles */

footer {
    background-color: #89d5e3;
    color: #fff;
}

footer .page-content p {
    text-align: center;
}

footer .footer-top {
    display: flex;
    justify-content: space-between;
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
}

footer .footer-top .footer-lhs {
    display: flex;
}

footer .footer-top .footer-lhs .footer-links {
    list-style-type: none;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

footer .footer-top .footer-lhs .footer-links li {
    font-family: 'Caliny-medium', sans-serif;
    font-size: 18px;
}

footer .footer-top .footer-lhs .footer-links li a {
    color: #fff;
    text-decoration: none;
}

footer .footer-top .footer-lhs .footer-links li a:hover {
    text-decoration: underline;
}

footer .footer-top .footer-logo .logo-img {
    width: 100px;
}

footer .footer-top .footer-social img {
    width: 30px;
}

footer .footer-top .footer-social a {
    text-decoration: none;
}

@media (min-width: 1921px) {
    .page-content {
        max-width: 1600px;
    }
}

@media (max-width: 991px) {
    h1 {
        font-size: 36px;
    }
    h2 {
        font-size: 28px;
    }
    h3 {
        font-size: 22px;
    }
    p {
        font-size: 16px;
    }
    .hero-text {
        left: 0;
        padding: 0 20px;
    }
        header .main-nav {
        padding: 20px 0;
        height: 40px;
    }

    header .main-nav .logo {
        margin: 0 auto;
    }

    header .nav-links {
        display: none;
    }

    header .mobile-nav {
        display: flex;
    }
    header #hamburger {
        display: block;
        position: absolute;
        left: 30px;
    }
    .background-notes .note {
        width: 15px;
        opacity: 0.2;
    }
    .background-notes .note {
        animation: none;
    }


    .background-notes .note.rhs {
        animation: none;
    }

    .about {
        padding: 0;
    }

    .text-img {
        flex-direction: column;
        padding: 20px 0;
    }

    .text-img:nth-child(even),
    .members-section:nth-child(even) .text-img {
        flex-direction: column-reverse;
    }

    .text-img .col {
        width: 100% !important;
    }

    .main-video {
        min-height: auto;
    }

    form .form-group {
        flex-direction: column;
    }

    form .form-group > *:first-child,
    form .form-group > *:last-child {
        width: 100%;
    }

    footer .footer-top {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    footer .footer-top .footer-lhs {
        flex-direction: column;
    }

    footer .footer-top .footer-lhs .footer-links {
        padding-left: 0;
    }

    .login-content {
        height: 100vh;
        background: #89d5e3;
    }

    .login-content form {
        box-shadow: none;
    }
}