:root {
  --bs-primary: #111;
}

h1, h2, h3 {
  font-weight: 500;
}

.pink-background {
    background-color: #ff1493;
}

.header-section {
    padding: 80px 0px;
    position: relative;
    min-height: 40vh;
    margin-top: 40px;
}

/* Navbar */
.navbar {
  padding: 0;
  border-bottom: #000;
  background-color: #000000;
}

.navbar-nav .nav-link {
  position: relative;
  padding-bottom: 6px;
  color: #fff;
}

.navbar-nav .current-menu-item > .nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background-color: #ff1493;
}

.navbar-brand {
    line-height: 1.1;
    display: inline-block;
}

.brand-top {
    display: block;
    color: #ff1493;
    text-transform: uppercase;
    font-size: 1.2em;
}

.brand-bottom {
    display: block;
    color: #ffffff;
    text-transform: lowercase;
    font-size: 0.9em;
}

.custom-logo-link {
    padding: 6px 0px;
}

.custom-logo-link img {
    max-height: 70px !important;
    width: auto;
}

.navbar-toggler {
    border-color: #ff1493;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(255, 0, 127, 1)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 8h24M4 16h24M4 24h24'/%3E%3C/svg%3E") !important;
}

/* Navbar */

/* Home */

.hero-section {
    position: relative;
    min-height: 80vh;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.display-3.fw-bold.mb-3.shadow-sm, .lead-mb-4 {
    text-shadow: 1px 1px 10px black;
}

.hero-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.hero-section .container {
    position: relative; 
    z-index: 2; 
}

.hero-btn-1 {
    background-color: #ff1493;
    color: #000;
    border-color: #ff1493;
    font-weight: 400;
    transition: all 0.3s ease;
    text-shadow: 1px 1px 10px 0px rgba(0,0,0,0.5);
}

.hero-btn-1:hover {
    background-color: #db127d;
    border-color: #db127d;
    transform: translateY(-3px);
}

.hero-btn-2 {
    color: #ff1493;
    font-weight: 400;
    transition: all 0.3s ease;
    text-shadow: 1px 1px 10px 0px rgba(0,0,0,0.5);
}

.hero-btn-2:hover {
    background-color: #db127d;
    border-color: #db127d;
    color: #000;
    transform: translateY(-3px);
}

.text-pink {
    color: #ff1493;
}

.icon-circle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background-color: #ff1493;
    color: #ffffff;
    border-radius: 50%;
    font-size: 2rem;
    transition: transform 0.3s ease;
}

.feature:hover {
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}

.our-dance-family-section {
    background-color: #fbf9fa;
}

.image-card {
    position: relative;
    height: 400px;
    background-size: cover;
    background-position: center;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.image-card:hover {
    transform: translateY(-5px);
}

.card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top, 
        rgba(0, 0, 0, 0.7) 0%, 
        rgba(0, 0, 0, 0.2) 40%, 
        transparent 100%
    );
}

.image-card h3 {
    text-shadow: 1px 1px 4px rgba(0,0,0,0.3);
}

.ready-to-join-section {
    background-color: #ff1493;
    color: #fff;
    padding: 80px 0px;
}

.ready-to-join-btn {
    color: #ff1493;
    font-weight: 400;
    transition: all 0.3s ease
}

.ready-to-join-btn:hover {
    background-color: #db127d;
    border-color: #db127d;
    color: #000;
    transform: translateY(-3px);
}

/* Home */

/* About */

.our-values-section {
    background-color: #fbf9fa;
}

.instructor-image-wrapper {
    width: 200px;
    height: 200px;
    position: relative;
}

.instructor-img, 
.instructor-fallback {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    display: block;
}

.instructor-fallback {
    background-color: #ff1493;
}

.border-pink {
    border-color: #ff007f !important;
}

/* About */
/* Classes */
.day-title {
    padding-bottom: 10px;
    border-bottom: 2px solid #eee;
}

.class-card {
    transition: transform 0.2s ease;
    min-height: 150px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.class-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.05) !important;
}

.btn-pink {
    background-color: #ff1493;
    color: white;
    font-size: 0.75rem;
    font-weight: bold;
}

.btn-pink:hover {
    background-color: #db127d;
    color: white;
}

.btn-filter-active {
    background-color: #ff1493 !important;
    color: #ffffff !important;
    border: none;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.2);
}

/* Inactive State (White) */
.btn-filter-inactive {
    background-color: #ffffff !important;
    color: #000 !important; /* Greyish text */
    border: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.btn-filter-inactive:hover {
    background-color: #f8fafc !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.portfolio-filters .btn {
    font-weight: 500;
    font-size: 0.95rem;
    letter-spacing: 0.3px;
}

.what-to-expect-section {
    background-color: #fff;
}

.expect-card {
    transition: transform 0.3s ease;
    border: 1px solid rgba(0,0,0,0.05);
}

.expect-card:hover {
    transform: translateX(10px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.08) !important;
}

.expect-card p {
    line-height: 1.6;
    font-size: 1.1rem;
}

/* Classes */

/* Events */

.event-card {
    border: none;
    overflow: hidden;
}

.event-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 6px;
    background-color: #ff1493;
}

.event-icon-wrapper {
    width: 60px;
    height: 60px;
    background-color: #ff1493;
    border-radius: 50%;
}

.badge {
    background-color: #ffe0ef;
    color: #ff1493;
}

.event-meta i {
    font-size: 1rem;
}

.past-event-card {
    border-top: 3px solid transparent;
    transition: all 0.3s ease;
}

.past-event-card:hover {
    border-top: 3px solid #ff1493;
    transform: translateY(-5px);
}

.past-event-card p.text-muted {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.bg-pink {
    background-color: #ff1493;
}

.newsletter-form .form-control {
    background-color: #ffffff !important;
    color: #333;
    border-top-left-radius: 50px;
    border-bottom-left-radius: 50px;
}

.newsletter-form .btn-white {
    background-color: #ffffff;
    border-top-right-radius: 50px;
    border-bottom-right-radius: 50px;
    transition: all 0.3s ease;
}

.newsletter-form .btn-white:hover {
    background-color: #db127d;
    transform: scale(1.02);
}

/* Events */

/* Contact */

.contact-icon-bg {
    width: 60px;
    height: 60px;
}

.contact-form-wrapper .form-control,
.contact-form-wrapper .form-select {
    border: 1px solid #dee2e6;
    padding: 0.75rem 1rem;
    border-radius: 8px;
}

.contact-form-wrapper .form-control:focus {
    border-color: #ff007f;
    box-shadow: 0 0 0 0.25rem rgba(255, 0, 127, 0.1);
}

/* Contact */

/* Footer */
footer {
    background-color: #000000 !important;
}
.footer-links {
    padding-left: 0;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links li a {
    color: #ff1493;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links li a:hover {
    color: #db127d;
    padding-left: 5px;
}

.contact-info i {
    color: rgba(255, 255, 255, 0.75);
}

.social-links i {
    color:#ff1493;
    padding-right: 10px;
}
/* Footer */

@media (max-width: 991px) {
  .navbar-nav .nav-link::after {
    display: none;
  }
}

@media (max-width: 1200px) {
    .schedule-section .col-xl {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

@media (max-width: 768px) {
    .schedule-section .col-xl {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

@media (max-width: 576px) {
    .custom-subscription-group {
        flex-direction: column;
    }
    .custom-subscription-group .form-control,
    .custom-subscription-group .btn {
        border-radius: 50px !important;
        width: 100%;
        margin-bottom: 10px;
    }

    .hero-btn-1 {
        margin-bottom: 10px;
    }
    .hero-btn-2 {
        margin-bottom: 10px;
    }

}

@media (max-width: 400px) {
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }
    .hero-section {
        margin-top: 75px
    }

    .header-section {
        margin-top: 75px;
    }
}