/* Base Styles */
:root {
    --primary-color: #ff4d6d;
    --secondary-color: #2a2a2a;
    --accent-color: #ff6b6b;
    --light-color: #f8f9fa;
    --dark-color: #333;
    --grey-color: #888;
    --transition: all 0.3s ease-in-out;
    --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
.buttons {
    display: inline-block;
    padding: 10px 20px;
    margin-top: -1rem;
    background-color:#ff4d6d;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-weight: bold;
    text-align: center;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s;
  }
  .navbar .nav-links li .buttons{
    color:white;
  }
  /* .navbar .nav-links li.a.active .buttons{
    background-color: none;
  } */
  .navbar .nav-links li a.buttons::after{
    background-color: none !important;
  }
  .buttons:hover {
    background-color: #ff6b6b;
  }
html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
    background-color: var(--light-color);
    overflow-x: hidden;
   
}
::-webkit-scrollbar {
    display: none;
  }
  
  /* Hide scrollbar for IE, Edge and Firefox */
  body{
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
  }
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 15px;
}

p {
    margin-bottom: 15px;
}

a {
    text-decoration: none;
    color: var(--dark-color);
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    /* width: 100%;
    max-width: 1200px; */
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    text-align: center;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background-color: #5853e0;
    transform: translateY(-3px);
    box-shadow: var(--box-shadow);
}

.btn-secondary {
    background-color: transparent;
    color: white;
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: var(--box-shadow);
}

section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 36px;
    color: var(--secondary-color);
    position: relative;
    display: inline-block;
    margin-bottom: 20px;
}

.section-header h2::after {
    content: '';
    position: absolute;
    width: 70px;
    height: 3px;
    background-color: var(--primary-color);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

.section-header p {
    font-size: 18px;
    color: var(--grey-color);
}

/* Header and Navigation */
header {
    position: relative;
    min-height: 100vh;
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e7fb 100%);
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 0;
    z-index: 1000;
    transition: var(--transition);
    background-color: transparent;
}

.navbar.scrolled {
    background-color: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    padding: 15px 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    font-size: 28px;
    margin-bottom: 0;
}

.logo span {
    color: var(--primary-color);
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links li a {
    font-weight: 600;
    position: relative;
}

.nav-links li a:hover, .nav-links li a.active {
    color: var(--primary-color);
}

.nav-links li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    bottom: -5px;
    left: 0;
    transition: var(--transition);
}

.nav-links li a:hover::after, .nav-links li a.active::after {
    width: 100%;
}

.hamburger {
    display: none;
    cursor: pointer;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--dark-color);
    margin: 5px 0;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    padding-top: 150px;
    height: 100vh;
    display: flex;
    align-items: center;
}

.hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}

.hero-content {
    flex: 1;
}

.hero-content h1 {
    font-size: 48px;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.hero-content p {
    font-size: 18px;
    color: var(--grey-color);
    margin-bottom: 40px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

.hero-image {
    flex: 1;
    position: relative;
}

.hero-image img {
    border-radius: 10px;
    box-shadow: var(--box-shadow);
}

/* Services Section */
.services {
    background-color: white;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    text-align: center;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-icon {
    width: 70px;
    height: 70px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.service-icon i {
    font-size: 28px;
}

.service-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
}

.service-card p {
    color: var(--grey-color);
}

/* About Section */
.about {
    background-color: var(--light-color);
}

.about .container {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-content {
    flex: 1;
}

.about-content .section-header {
    text-align: left;
}

.about-content .section-header h2::after {
    left: 0;
    transform: none;
}

.stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.stat-item {
    text-align: center;
}

.stat-item h3 {
    font-size: 36px;
    color: var(--primary-color);
}

.stat-item p {
    font-size: 14px;
    color: var(--grey-color);
}

.about-image {
    flex: 1;
}

.about-image img {
    border-radius: 10px;
    box-shadow: var(--box-shadow);
}

/* Portfolio Section */
.portfolio {
    background-color: white;
}

.portfolio-filters {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
}

.filter-btn {
    padding: 8px 20px;
    border-radius: 50px;
    background-color: transparent;
    border: 1px solid var(--grey-color);
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn.active, .filter-btn:hover {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.portfolio-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.portfolio-image {
    position: relative;
    overflow: hidden;
}

.portfolio-image img {
    transition: var(--transition);
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(108, 99, 255, 0.9);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    opacity: 0;
    transition: var(--transition);
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-item:hover .portfolio-image img {
    transform: scale(1.1);
}

.portfolio-overlay h4 {
    font-size: 22px;
    margin-bottom: 10px;
}

.portfolio-overlay p {
    margin-bottom: 0;
}

/* Testimonials Section */
.testimonials {
    background-color: var(--light-color);
}

.testimonial-slider {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.testimonial-slide {
    display: none;
    animation: fadeIn 0.5s forwards;
}

.testimonial-slide.active {
    display: block;
}

.testimonial-content {
    background-color: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
    text-align: center;
    position: relative;
}

.testimonial-content::before {
    content: '\201C';
    font-size: 80px;
    color: rgba(108, 99, 255, 0.1);
    position: absolute;
    top: 0;
    left: 20px;
}

.testimonial-content p {
    font-size: 18px;
    font-style: italic;
    color: var(--secondary-color);
    margin-bottom: 30px;
}

.client-info h4 {
    margin-bottom: 5px;
    color: var(--primary-color);
}

.client-info p {
    margin-bottom: 0;
    font-size: 14px;
    color: var(--grey-color);
}

.testimonial-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 30px;
}

.prev-btn, .next-btn {
    background-color: transparent;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--grey-color);
    transition: var(--transition);
}

.prev-btn:hover, .next-btn:hover {
    color: var(--primary-color);
}

.testimonial-dots {
    display: flex;
    gap: 8px;
    margin: 0 20px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--grey-color);
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background-color: var(--primary-color);
}

/* Contact Section */
.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-header h2 {
    font-size: 32px;
    color: #2a41e8;
    margin-bottom: 10px;
    font-weight: 700;
}

.section-header p {
    font-size: 16px;
    color: #777;
}

/* Card-based contact section */
.contact-card {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    margin-top: 20px;
}

.contact-wrapper {
    display: flex;
    flex-wrap: wrap;
}

/* Contact Info */
.contact-info {
    align-self: center;
    flex: 1;
    min-width: 300px;
    padding: 40px;
    color: var(--primary-color);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
}

.contact-item i {
    font-size: 24px;
    margin-right: 15px;
    margin-top: 5px;
}

.contact-item h3 {
    font-size: 18px;
    margin-bottom: 5px;
    font-weight: 600;
}

.contact-item p {
    font-size: 16px;
    opacity: 0.9;
}

.social-links {
    margin-top: 30px;
}

.social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    margin-right: 10px;
    color: #fff;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: #fff;
    color: #2a41e8;
}

/* Contact Form */
.contact-form {
    flex: 1.5;
    min-width: 300px;
    padding: 40px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    font-size: 16px;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color:var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(42, 65, 232, 0.1);
}

.form-group textarea {
    height: 150px;
    resize: vertical;
}

.btn-primary {
    background-color:var(--primary-color);
    color: #fff;
    border: none;
    padding: 15px 35px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color:var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px var(--primary-color);
}

/* Animations */
.fade-in {
    animation: fadeIn 1s ease forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: a;
        transform: translateY(0);
    }
}

/* Form status */
.form-status {
    margin-top: 20px;
    padding: 10px;
    border-radius: 5px;
}

.success {
    background-color: #d4edda;
    color: #155724;
}

.error {
    background-color: #f8d7da;
    color: #721c24;
}

/* Responsive */
@media (max-width: 768px) {
    .contact-wrapper {
        flex-direction: column;
    }
    
    .contact-info,
    .contact-form {
        width: 100%;
    }
}
/* Footer */
footer {
    background-color: #f8f8f8;
    border-top: 1px solid #e7e7e7;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
}

.footer-logo {
    flex: 1;
    min-width: 250px;
}

.footer-logo h2 {
    font-size: 2rem;
    color: darkred;
    margin-bottom: 10px;
}

.social-links {
   
    min-width: 300px;
}

.contact-infos {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    flex: 1;
    min-width: 250px;
}

.contact-items i {
    font-size: 1.2rem;
    color: #ff4d6d;
    margin-top: 5px;
}

.contact-item h3 {
    font-size: 1rem;
    margin-bottom: 5px;
}

.contact-item p {
    font-size: 0.9rem;
    color: black
}

.footer-bottom {
    text-align: center;
    padding: 15px 0;
    background-color: #f1f1f1;
    font-size: 0.9rem;
    color: #666;
}

/* Animations */
.fade-in {
    animation: fadeIn 1s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Responsive styles */
@media screen and (max-width: 768px) {
    .footer-content {
        flex-direction: column;
    }

    .footer-logo, .social-links {
        text-align: center;
        width: 100%;
    }

    .contact-infos {
        justify-content: center;
    }

    .contact-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

@media screen and (max-width: 480px) {
    .container {
        padding: 15px 10px;
    }

    .footer-logo h2 {
        font-size: 1.8rem;
    }

    .contact-item {
        min-width: 100%;
    }
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.fade-in.active {
    opacity: 1;
    transform: translateY(0);
}

.slide-up {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.slide-up.active {
    opacity: 1;
    transform: translateY(0);
}

.slide-right {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.slide-right.active {
    opacity: 1;
    transform: translateX(0);
}

.slide-left {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.slide-left.active {
    opacity: 1;
    transform: translateX(0);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero .container {
        flex-direction: column;
    }
    
    .about .container {
        flex-direction: column;
    }
    
    .contact-wrapper {
        flex-direction: column;
    }
    
    .stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
        flex-direction: column;
        gap: 30px;
    }
    
    .footer-links {
        justify-content: space-between;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: inline-block;
    }
    
    .nav-links {
        position: fixed;
        top: 105px;
        height: 100vh;
        left: -100%;
        width: 100%;
        flex-direction: column;
        background-color: white;
        padding: 20px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        transition: var(--transition);
        /* gap: 15px; */
        text-align: center;
    }
    
    .nav-links.active {
        left: 0;
    }
    
    .hero-content h1 {
        font-size: 36px;
    }
    
    .stats {
        grid-template-columns: 1fr;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 20px;
    }
}

@media (max-width: 576px) {
    .hero-buttons {
        flex-direction: column;
        gap: 10px;
    }
    
    .section-header h2 {
        font-size: 28px;
    }
    
    .portfolio-filters {
        flex-wrap: wrap;
    }
}
.container {
   
    margin: 0 auto;
}

/* Section styling */
/* .section {
    padding: 80px 0;
} */

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 36px;
    color: #333;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    width: 70px;
    height: 3px;
    background-color: #ff4d6d;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

.section-header p {
    font-size: 18px;
    color: #666;
    max-width: 700px;
    margin: 0 auto;
}

/* Classes grid styling */
.classes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

/* Card styling */
.class-card {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.class-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.class-img {
    height: 500px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.class-content {
    padding: 25px;
}

.class-content h3 {
    font-size: 22px;
    margin-bottom: 10px;
    color: #333;
}

.class-content p {
    color: #666;
    font-size: 16px;
}

/* Animation classes */
.reveal-left, .reveal, .reveal-right {
    opacity: 1;
    visibility: visible;
    animation-duration: 1s;
    animation-fill-mode: both;
}

.reveal-left {
    animation-name: fadeInLeft;
}

.reveal {
    animation-name: fadeIn;
}

.reveal-right {
    animation-name: fadeInRight;
}

/* Keyframes for animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    /* .classes-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    } */
    
    .section {
        padding: 0 !important;
        margin-top: 7rem;
    }
    
    .section-header h2 {
        font-size: 28px;
    }
    
    .section-header p {
        font-size: 16px;
    }
}
.reveal, .reveal-left, .reveal-right {
    opacity: 1; /* Set to 0 if you want to animate them in with JS */
    transition: all 0.8s ease;
}
.reveal {
    opacity: 0;
    transition: all 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s ease;
}

.reveal-left.active {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.8s ease;
}

.reveal-right.active {
    opacity: 1;
    transform: translateX(0);
}

.reveal-scale {
    opacity: 0;
    transform: scale(0.9);
    transition: all 0.8s ease;
}

.reveal-scale.active {
    opacity: 1;
    transform: scale(1);
}

.dance-profiles-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
  }
  
  /* Card styling */
  .card {
    position: relative;
    width: 350px;
    margin: 20px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-color: #fff;
  }
  
  .card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
  }
  
  /* Cover and profile pic */
  .cover {
    position: relative;
    height: 200px;
    background: linear-gradient(135deg, #6a11cb 10%, #2575fc 100%);
    
  }
  
  .profile-pic {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid #fff;
    position: absolute;
    left: 50%;
    bottom: -75px;
    transform: translateX(-50%);
  }
  
  /* Profile information */
  .profile-info {
    padding: 85px 20px 30px;
    text-align: center;
  }
  
  .name {
    margin: 0;
    font-size: 24px;
    font-weight: 700;
    color: #333;
  }
  
  .title {
    font-size: 16px;
    color: #6a11cb;
    font-weight: 600;
    margin: 8px 0 20px;
  }
  
  /* Achievements section */
  .achievements-container {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 20px;
  }
  
  .achievements-label {
    font-weight: 700;
    color: #333;
    margin-bottom: 8px;
  }
  
  .achievements-text {
    font-size: 14px;
    color: #555;
    line-height: 1.5;
  }
  
  /* Stats section */
  .stats {
    display: flex;
    justify-content: center;
    margin: 20px 0;
  }
  
  .stat-item {
    flex: 1;
    padding: 0 10px;
  }
  
  .stat-value {
    font-size: 18px;
    font-weight: 700;
    color: #333;
  }
  
  .stat-label {
    font-size: 12px;
    color: #777;
  }
  
  /* Dance styles section */
  .styles-container {
    margin: 20px 0;
  }
  
  .styles-label {
    font-weight: 700;
    color: #333;
    margin-bottom: 8px;
  }
  
  .styles-text {
    font-size: 14px;
    color: #555;
  }
  
  /* Social buttons */
  .social-buttons {
    margin-top: 20px;
  }
  
  .social-btn {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
    color: white;
    padding: 10px 20px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
  }
  
  .social-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(106, 17, 203, 0.4);
  }
  
  .social-btn i {
    margin-right: 8px;
  }
  
  /* Animation classes */
  .reveal-left, .reveal, .reveal-right {
    opacity: 1;
    transition: all 0.8s ease;
  }
  
  /* Responsive media queries */
  @media (max-width: 1200px) {
    .dance-profiles-container {
      padding: 10px;
    }
    
    .card {
      width: 320px;
      margin: 15px;
    }
  }
  
  @media (max-width: 768px) {
    .dance-profiles-container {
      flex-direction: column;
      align-items: center;
    }
    /* .logo-container {
        margin-bottom: 1rem;
    } */
     .home-logo{
        margin-bottom: 20rem;
     }
    .card {
      width: 90%;
      max-width: 450px;
      margin: 15px auto;
    }
    
    .cover {
      height: 180px;
    }
    
    .profile-pic {
      width: 130px;
      height: 130px;
      bottom: -65px;
    }
    
    .profile-info {
      padding: 75px 15px 25px;
    }
  }
  
  @media (max-width: 480px) {
    .card {
      width: 95%;
    }
    .homes{
        margin-top:-12rem;
    }
    .cover {
      height: 160px;
    }
    .hero {
        padding-top: 350px;}

    .profile-pic {
      width: 120px;
      height: 120px;
      bottom: -60px;
    }
    
    .profile-info {
      padding: 70px 12px 20px;
    }
    
    .name {
      font-size: 20px;
    }
    
    .title {
      font-size: 14px;
    }
    
    .achievements-container {
      padding: 12px;
    }
    
    .achievements-text, .styles-text {
      font-size: 13px;
    }
    
    .stat-value {
      font-size: 16px;
    }
    
    .stat-label {
      font-size: 11px;
    }
    
    .social-btn {
      padding: 8px 16px;
      font-size: 14px;
    }
    .classes-grid {
        grid-template-columns: 1fr;
    }
    .logos{
        margin-bottom: 12rem;
    }
  }

  .logo-container {
    display: flex;
    align-items: center;
}
.logo {
    height: 70px;
    width: auto;
    margin-right: 1rem;
}

/* Logo text styling */
.logo-text {
    color: var(--primary-color);
    font-size: 1.5rem;
    font-weight: bold;
}
.hero {
    position: relative;
    overflow: hidden;
    min-height: 100vh;
}

.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000; /* Background color in case video fails */
}

#background-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    display: block; /* Ensure video is displayed as block element */
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
   
}

/* Adjust text colors for better visibility on video */
.hero-content h1, 
.hero-content p {
    color: #ffffff;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.6);
}

/* Container positioning */
/* .container {
    position: relative;
    z-index: 2; /* Ensure content appears above video and overlay */
/* } */ 

/* Debug styles to help identify if video element is present */
.video-background::after {
    content: '';
    display: none; /* Change to block to debug */
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 5px;
    background: red;
    color: white;
    z-index: 100;
    font-size: 12px;
}
.form-group {
    margin-bottom: 15px;
}
input, textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-sizing: border-box;
}
textarea {
    height: 150px;
}

#successMessage {
    display: none;
    background-color: #dff0d8;
    color: #3c763d;
    padding: 15px;
    margin-top: 20px;
    border-radius: 4px;
    text-align: center;
}
/* Reset to prevent overflow */
html, body {
    overflow-x: hidden;
    width: 100%;
    margin: 0;
    padding: 0;
  }
  
  /* Basic container styling */
  .classes-grid {
    display: block;
    width: 100%;
    max-width: 100%;
    padding: 10px;
    box-sizing: border-box;
  }
  
  /* Card styling */
  .class-card {
    width: 100%;
    margin-bottom: 20px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  }
  
  .class-img {
    height: 500px;
    background-size: cover;
    background-position: center;
  }
  
  .class-content {
    padding: 15px;
  }
  
  /* Simple responsive layout */
  @media (min-width: 576px) {
    .classes-grid {
      display: flex;
      flex-wrap: wrap;
      gap: 15px;
    }
  
    
    .class-card {
      width: calc(50% - 15px);
      margin-bottom: 15px;
    }
    .logos{
        margin-bottom: 10rem;
    }
  }
  
  @media (min-width: 992px) {
    .class-card {
      width: calc(33.33% - 15px);
    }
    
  }
  .logos {
    display: block;
  }
  
  /* Hide the image on smaller devices */
  @media only screen and (max-width: 768px) {
    .logos {
      display: none;
    }
  }
  /* updated code */
  .contact-card {
            background: rgba(255, 255, 255, 0.1);
            backdrop-filter: blur(20px);
            border-radius: 20px;
            padding: 40px;
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
            border: 1px solid rgba(255, 255, 255, 0.2);
        }

        .contact-wrapper {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 50px;
            align-items: start;
        }

        .contact-info {
            display: flex;
            flex-direction: column;
            gap: 30px;
        }

        .contact-item {
            display: flex;
            align-items: center;
            gap: 20px;
            padding: 25px;
            background: rgba(255, 255, 255, 0.1);
            border-radius: 15px;
            backdrop-filter: blur(10px);
            border: 1px solid rgba(255, 255, 255, 0.2);
            transition: all 0.3s ease;
            box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
        }

        .contact-item:hover {
            transform: translateY(-5px);
            box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
        }

        .contact-item i {
            font-size: 24px;
            color: #ff4d6d;
            background: rgba(255, 77, 109, 0.2);
            padding: 15px;
            border-radius: 50%;
            min-width: 54px;
            min-height: 54px;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .contact-item h3 {
            
            font-size: 1.3rem;
            margin-bottom: 5px;
        }

        .contact-item p {

            font-size: 1rem;
        }

 /* Country Select Styling Override */
        html body div.country-select {
        display: block !important;
        }

        .country-select .country-list {
            position: relative !important;
            width: 100% !important;
        }
/* 
        .country-select input[type="text"] {
            width: 100% !important;
            padding: 18px 24px !important;
            border-radius: 12px !important;
            background: rgba(255, 255, 255, 0.1) !important;
            font-size: 16px !important;
            transition: all 0.3s ease !important;
            backdrop-filter: blur(10px) !important;
            box-sizing: border-box !important;
        }

        .country-select input[type="text"]:focus {
            outline: none !important;
            border-color: #ff4d6d !important;
            background: rgba(255, 255, 255, 0.15) !important;
            box-shadow: 0 0 20px rgba(255, 77, 109, 0.3) !important;
        } */

        .country-select input[type="text"]::placeholder {
            color: rgba(255, 255, 255, 0.7) !important;
        }

        .country-list {
            background: rgba(33, 37, 41, 0.95) !important;
            backdrop-filter: blur(20px) !important;
            border: 2px solid rgba(255, 255, 255, 0.2) !important;
            border-radius: 12px !important;
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3) !important;
            max-height: 200px !important;
            overflow-y: auto !important;
        }

        .country-list .country {
            padding: 12px 20px !important;
            color: white !important;
            border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
            transition: all 0.3s ease !important;
        }

        .country-list .country:hover,
        .country-list .country.highlight {
            background: rgba(255, 77, 109, 0.2) !important;
            color: #ff4d6d !important;
        }

        .country-list .country:last-child {
            border-bottom: none !important;
        }

        .country-list .country .country-name {
            color: inherit !important;
        }

        .country-list .country .dial-code {
            color: rgba(255, 255, 255, 0.7) !important;
            float: right !important;
        }
        @media (max-width: 768px) {
            .contact-wrapper {
                grid-template-columns: 1fr !important;
                gap: 30px !important;
            }
            
            .section-header h2 {
                font-size: 2.5rem !important;
            }
            
            .contact-card {
                padding: 30px 20px !important;
            }
            
            .contact-form {
                padding: 30px 20px !important;
            }

            .country-select input[type="text"] {
                width: 100% !important;
            }
             .contact-item p {

            font-size: 0.8rem;
        }
        }

        @media (max-width: 480px) {
            .section-header h2 {
                font-size: 2rem !important;
            }
            
            .contact-item {
                padding: 20px !important;
            }
            
            .contact-item i {
                min-width: 45px !important;
                min-height: 45px !important;
                font-size: 20px !important;
            }
             .contact-item p {

            font-size: 0.6rem;
        }
        }

        /* Fix for country select width issue */
        .country-select {
            position: relative !important;
            width: 100%;
        }

        .country-select * {
            box-sizing: border-box !important;
        }