:root {
    --primary: #1A1363;
    /* Forest Green */
    --secondary: #0d4a6d;
    /* Navy Blue */
    --accent: #e5b454;
    /* Gold */
    --light: #f8f9fa;
    --dark: #212529;
}

body {
    font-family: 'Poppins', sans-serif;
    color: #444;
    overflow-x: hidden;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    z-index: 100;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease;
}

.back-to-top.show {
    opacity: 1;
    transform: translateY(0);
}

.back-to-top:hover {
    background: linear-gradient(135deg, var(--secondary), var(--primary));
    transform: translateY(-3px);
}

h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}

.text-primary {
    color: var(--primary) !important;
}

.bg-primary {
    background-color: var(--primary) !important;
}

.btn-primary {
    background-color: var(--primary);
    border-color: var(--primary);
}

.btn-primary:hover {
    background-color: #1b0592;
    border-color: #230477;
}

.btn-outline-primary {
    color: var(--primary);
    border-color: var(--primary);
}

.btn-outline-primary:hover {
    background-color: var(--primary);
    color: white;
}

.navbar {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 15px 0;
}

.navbar-brand img {
    height: 45px;
}

.navbar-nav .nav-link {
    font-weight: 500;
    color: var(--dark);
    padding: 8px 15px;
    transition: all 0.3s;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--primary);
}

/* Transparent navbar (initial state) */
.custom-navbar {
    background: transparent !important;
    padding: 15px 0;
    transition: all 0.35s ease;
    z-index: 1000;
}

/* Logo size */
.nav-logo {
    height: 65px;
    transition: 0.3s;
}

/* Nav links on transparent background */
.custom-navbar .nav-link {
    color: #fff !important;
    font-weight: 500;
    padding: 10px 15px;
    transition: 0.3s;
}

.custom-navbar.dark .nav-link{
    color: #000 !important;
}

/* Buttons on transparent */
.custom-navbar .btn-primary,
.custom-navbar .btn-info {
    color: #fff;
}

@media (max-width: 992px) {
    .custom-navbar {
        background: #ffffff !important;
    }
    .custom-navbar .nav-link {
        color: #000 !important;
    }
}

/* When scrolled: white background + shadow */
.nav-scrolled {
    background: #ffffff !important;
    /* removes transparency */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Switch colors when scrolled */
.nav-scrolled .nav-link {
    color: #000 !important;
}

.nav-scrolled .btn-primary,
.nav-scrolled .btn-info {
    color: #fff !important;
}

.nav-scrolled .nav-logo {
    height: 60px;
}

.hero-title {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 30px;
    color: #555;
}

.section {
    padding: 80px 0;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--secondary);
}

.section-subtitle {
    font-size: 1.1rem;
    color: #666;
    max-width: 700px;
    margin: 0 auto 50px;
}


.parallax {
    position: relative;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 100px 0;
    color: white;
}

.parallax::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.65);
}

.parallax-content {
    position: relative;
    z-index: 2;
}

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.appear {
    opacity: 1;
    transform: translateY(0);
}

.toast {
    min-width: 300px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border: none;
    border-radius: 10px;
    backdrop-filter: blur(10px);
    animation: slideInRight 0.5s ease-out;
}

.toast-header {
    border-bottom: none;
    border-radius: 10px 10px 0 0;
    padding: 12px 16px;
    font-weight: 600;
}

.toast-body {
    padding: 16px;
    background: rgba(51, 22, 180, 0.95);
    border-radius: 0 0 10px 10px;
    font-size: 14px;
    line-height: 1.5;
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Membership Section */
.membership-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s;
    margin-bottom: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border: 2px solid transparent;
    text-align: center;
    position: relative;
}

.membership-card.featured {
    border-color: var(--accent);
    transform: scale(1.05);
}

.membership-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.membership-card.featured:hover {
    transform: scale(1.05) translateY(-10px);
}

.membership-header {
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    color: white;
    padding: 25px 20px;
}

.membership-price {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 15px 0;
}

.membership-features {
    list-style: none;
    padding: 25px 20px;
    margin: 0;
}

.membership-features li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.membership-features li i {
    color: var(--primary);
    margin-right: 10px;
}

.featured-badge {
    position: absolute;
    top: 20px;
    right: -30px;
    background: var(--accent);
    color: white;
    padding: 5px 30px;
    transform: rotate(45deg);
    font-weight: 600;
    font-size: 0.8rem;
}

/* --- General Section Styling --- */
#our-services {
    padding: 80px 0;
    background: linear-gradient(135deg, #f9fbff 0%, #eef3ff 100%);
    position: relative;
}

#our-services .section-title {
    font-size: 2.4rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #222;
}

#our-services .text-primary {
    color: #0d6efd !important;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* --- Card Styling --- */
#our-services .card {
    border: none;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    overflow: hidden;
    height: 100%;
}

#our-services .card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

#our-services .card-icon-wrapper {
    background: linear-gradient(135deg, #0d6efd, #6610f2);
    color: #fff;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 2rem;
    margin: 30px auto 10px;
    box-shadow: 0 4px 15px rgba(13, 110, 253, 0.3);
}

#our-services .card-body h4 {
    font-size: 1.3rem;
    margin-top: 15px;
    font-weight: 600;
}

#our-services .card-body p {
    font-size: 0.95rem;
    color: #555;
    margin-top: 10px;
}

/* --- Button Styling --- */
#our-services .price-btn {
    display: inline-block;
    background: linear-gradient(135deg, #0d6efd, #6610f2);
    border: none;
    padding: 12px 40px;
    color: #fff;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    margin-top: 40px;
    box-shadow: 0 5px 15px rgba(13, 110, 253, 0.3);
    transition: all 0.3s ease;
}

#our-services .price-btn:hover {
    transform: translateY(-3px);
    background: linear-gradient(135deg, #6610f2, #0d6efd);
    box-shadow: 0 8px 20px rgba(13, 110, 253, 0.4);
}

/* --- Fade Animation --- */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- Responsive Adjustments --- */
@media (max-width: 768px) {
    #our-services .card-icon-wrapper {
        width: 70px;
        height: 70px;
        font-size: 1.6rem;
    }

    #our-services .section-title {
        font-size: 2rem;
    }

    .membership-card.featured {
        transform: scale(1);
    }

    .membership-card.featured:hover {
        transform: translateY(-10px);
    }
}

#faq {
    background: linear-gradient(135deg, #f9fbff 0%, #eef3ff 100%);
    padding: 80px 0;
}

#faq .section-title {
    font-size: 2.3rem;
    font-weight: 700;
    color: #222;
    margin-bottom: 10px;
}

#faq .text-primary {
    color: #0d6efd !important;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* --- Accordion Styling --- */
.accordion-item {
    border: none;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
    margin-bottom: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.accordion-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 18px rgba(13, 110, 253, 0.1);
}

.accordion-button {
    background: linear-gradient(90deg, #f7f9ff, #edf2ff);
    font-weight: 600;
    font-size: 1.05rem;
    color: #222;
    box-shadow: none;
    padding: 18px 20px;
    border: none;
    transition: all 0.3s ease;
}

.accordion-button:not(.collapsed) {
    color: #0d6efd;
    background: #fff;
    border-bottom: 1px solid #e8e8e8;
}

.accordion-button::after {
    font-family: "Font Awesome 6 Free";
    content: "\f078";
    font-weight: 900;
    background: none !important;
    transform: rotate(0deg);
    transition: transform 0.3s ease;
}

.accordion-button:not(.collapsed)::after {
    transform: rotate(-180deg);
    color: #0d6efd;
}

.accordion-body {
    background: #fff;
    padding: 18px 25px;
    color: #555;
    font-size: 0.97rem;
    line-height: 1.7;
}

/* --- Responsive --- */
@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }

    .accordion-button {
        font-size: 1rem;
    }
}

/* Responsive Video */
.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    /* 16:9 ratio */
    height: 0;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Section Styling */
#studio-video {
    background: #f8f9fa;
}

.section-title {
    letter-spacing: 0.5px;
}

/* Shadow and hover effect */
.video-wrapper {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.video-wrapper:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

/* cta section */
#cta-section {
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
}

#cta-section h2 {
    font-size: 2rem;
    letter-spacing: 0.5px;
}

#cta-section .btn {
    border-radius: 50px;
    transition: all 0.3s ease;
}

#cta-section .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.1);
}

#cta-section .btn-primary:hover {
    background-color: #0056d2;
}

#cta-section .btn-danger:hover {
    background-color: #c82333;
}

/* Responsive text scaling */
@media (max-width: 576px) {
    #cta-section h2 {
        font-size: 1.5rem;
    }
}

/* feed section */
.hover-card {
    transition: all 0.3s ease;
    border-radius: 15px;
}

.hover-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.video-thumb {
    cursor: pointer;
    border-radius: 15px 15px 0 0;
    overflow: hidden;
    height: 220px;
    /* Fixed height for equal size */
}

.video-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease, filter 0.4s ease;
}

.video-thumb:hover img {
    transform: scale(1.05);
    filter: brightness(0.7);
}

.video-overlay {
    position: absolute;
    inset: 0;
    opacity: 0;
    background: rgba(0, 0, 0, 0.4);
    transition: opacity 0.3s ease;
}

.video-thumb:hover .video-overlay {
    opacity: 1;
}

/* Footer */
footer {
    background: #51A8C4;
    color: white;
    padding: 60px 0 20px;
}

.footer-links h5 {
    margin-bottom: 20px;
    color: white;
}

.footer-links ul {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: white;
}

.social-links {
    display: flex;
    margin-top: 20px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    margin-right: 10px;
    transition: all 0.3s;
}

.social-link:hover {
    background: var(--primary);
    transform: translateY(-5px);
    color: white;
}

@media (max-width: 992px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-slider,
    .carousel-item {
        height: 70vh;
    }

    .section {
        padding: 60px 0;
    }

    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-slider,
    .carousel-item {
        height: 60vh;
    }

    .carousel-caption {
        padding: 20px;
        bottom: 10%;
    }
}

.hero-search {

    min-height: 60vh;
    position: relative;
    overflow: hidden;
}

.hero-search::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.15), transparent 60%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.1), transparent 60%);
    z-index: 0;
}

.hero-content {
    background: linear-gradient(135deg, #031054, #00728fff);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    z-index: 1;
}

.hero-content h3,
.hero-content p {
    z-index: 2;
}

.search-box .form-control:focus {
    box-shadow: 0 0 0 0.25rem rgba(255, 255, 255, 0.3);
}

@media (max-width: 768px) {
    .hero-content {
        padding: 2rem 1.5rem;
    }

    .hero-content h3 {
        font-size: 1.75rem;
    }
}

/* ======= Section Base ======= */
.upcoming-event-section {
    position: relative;
    min-height: 80vh;
    overflow: hidden;
    background: url('assets/images/event-feedback.jpg') center center / cover no-repeat;
    background-attachment: fixed;
}

/* ======= Background Video ======= */
.event-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

/* ======= Content Layer ======= */
.content-layer {
    position: relative;
    z-index: 3;
}

/* ======= Text Style ======= */
.text-shadow {
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
}

/* ======= Button Hover ======= */
.btn-light:hover {
    background-color: #007bff;
    color: #fff;
    transition: all 0.3s ease;
    transform: translateY(-2px);
}

/* ======= Responsive Adjustments ======= */
@media (max-width: 768px) {
    .upcoming-event-section {
        min-height: 60vh;
        background-attachment: scroll;
        /* disable fixed background for mobile */
    }
}

/* Enable hover submenu */
.dropdown-submenu {
    position: relative;
}

.dropdown-submenu>.dropdown-menu {
    top: 0;
    left: 100%;
    margin-left: 0.1rem;
    display: none;
}

.dropdown-submenu:hover>.dropdown-menu {
    display: block;
}

/* Arrow indicator */
.dropdown-submenu>a::after {
    content: "›";
    float: right;
}

/* Open main dropdown on hover */
.nav-item.dropdown:hover>.dropdown-menu {
    display: block;
    margin-top: 0;
}

/* Submenu positioning */
.dropdown-submenu {
    position: relative;
}

/* Open submenu on hover */
.dropdown-submenu:hover>.dropdown-menu {
    display: block;
    top: 0;
    left: 100%;
    margin-top: -1px;
}

/* Optional: arrow fix */
.dropdown-submenu>.dropdown-toggle::after {
    float: right;
    margin-top: 6px;
}

.lift-hover {
  transition: all 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.lift-hover:hover {
  transform: scale(1.05) rotate(0deg) translate(0px, -10px) skewX(0deg);
  box-shadow: 0 20px 25px rgba(0, 0, 0, 0.3);
  opacity: 1;
  filter: brightness(1.1);
  /*color: #667eea;*/
  /*border-bottom-color: #667eea;*/
}
