/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Josefin Sans', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #2b364a;
    background: #fff;
}

p {
    font-weight: 300;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background: #fff;
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo img {
    height: 40px;
    width: auto;
}

.nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
    margin: 0;
}

.nav a {
    text-decoration: none;
    color: #2b364a;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 1px;
    transition: color 0.3s;
}

.nav a:hover {
    color: #7375a5;
}



.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: #2b364a;
    cursor: pointer;
}

/* Hero Video Section */
.hero-video {
    position: relative;
    height: 100vh;
    overflow: hidden;
}

.video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.video-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(43, 54, 74, 0.4);
}

.hero-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    padding: 0 20px;
}

.hero-content h1 {
    font-size: 48px;
    font-weight: 300;
    letter-spacing: 3px;
    margin-bottom: 20px;
    line-height: 1.3;
}

.hero-content p {
    font-size: 16px;
    max-width: 800px;
    margin-bottom: 30px;
    line-height: 1.8;
}

/* Hero Explore Button */
.hero-explore-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 45px;
    background: rgba(255, 255, 255, 0.95);
    color: #2b364a;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(10px);
    overflow: hidden;
}

.hero-explore-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(115, 117, 165, 0.1);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.hero-explore-btn:hover::before {
    width: 300px;
    height: 300px;
}

.hero-explore-btn:hover {
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.25);
    transform: translateY(-3px);
}

.hero-explore-btn span {
    position: relative;
    z-index: 1;
}

.hero-explore-btn:active {
    transform: translateY(-1px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

/* Welcome Section */
.welcome-section {
    padding: 80px 0;
    background: #fff;
}

.welcome-section h2 {
    text-align: center;
    font-size: 36px;
    font-weight: 500;
    letter-spacing: 3px;
    margin-bottom: 20px;
    color: #2b364a;
}

.welcome-section > .container > p {
    text-align: center;
    color: #666;
    max-width: 800px;
    margin: 0 auto;
	font-size: 24px;
}



/* Why Section */
.why-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.why-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.why-text h2 {
    font-size: 36px;
    font-weight: 500;
    letter-spacing: 2px;
    margin-bottom: 30px;
    line-height: 1.3;
}

.why-text p {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.8;
	font-size: 18px;
}



.why-image img {
    width: 100%;
    border-radius: 5px;
}

/* Classes Section */
.classes-section {
    padding: 80px 0;
    background: #fff;
}

/* Home page classes content grid - specific to home page */
.home .classes-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.classes-image img {
    width: 100%;
    border-radius: 5px;
}

.classes-text h2 {
    font-size: 36px;
    font-weight: 500;
    letter-spacing: 2px;
    margin-bottom: 30px;
}

.classes-text p {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.8;
	font-size: 18px;
}

/* Testimonial Section with Vertical Slide - Full Width */
.testimonial-section {
    position: relative;
    padding: 0;
    overflow: visible;
    transition: background-color 1.5s ease-in-out;
    background-color: #e8eef0;
    min-height: 280px;
}

.testimonial-container {
    position: relative;
    width: 100%;
    height: 280px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-slide {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    padding: 40px 100px 80px;
    opacity: 0;
    transition: top 2s ease-in-out, opacity 2s ease-in-out;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.testimonial-slide.active {
    top: 0;
    opacity: 1;
}

.testimonial-slide.exit-top {
    top: -100%;
    opacity: 0;
}

.testimonial-slide p {
    font-family: 'Josefin Sans', sans-serif;
    font-size: 22px;
    font-weight: 300;
    line-height: 1.7;
    color: #7a8a9e;
    font-style: italic;
    margin-bottom: 20px;
    max-width: 1000px;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.testimonial-author span {
    font-family: 'Josefin Sans', sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 3px;
    color: #7375a5;
}

/* Navigation Dots */
.testimonial-nav-dots {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 25;
}

.testimonial-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(115, 117, 165, 0.3);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.testimonial-dot:hover {
    background: rgba(115, 117, 165, 0.6);
    transform: scale(1.2);
}

.testimonial-dot.active {
    background: #7375a5;
    width: 30px;
    border-radius: 6px;
}

.testimonial-logo {
    position: absolute;
    bottom: -35px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 20;
    width: 70px;
    height: 70px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.testimonial-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}



/* Gallery Carousel */
.gallery-carousel-section {
    padding: 80px 0;
    background: #fff;
}

.gallery-title {
    text-align: center;
    font-size: 24px;
    font-weight: 300;
    letter-spacing: 2px;
    margin-bottom: 40px;
    color: #2b364a;
}

.gallery-carousel {
    position: relative;
    padding: 0 50px;
}

.gallery-carousel-track {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 10px 0;
}

.gallery-carousel-track::-webkit-scrollbar {
    display: none;
}

.gallery-carousel-item {
    flex: 0 0 200px;
    width: 200px;
    height: 200px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    position: relative;
    background: #f5f5f5;
}

.gallery-carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.gallery-carousel-item .video-wrapper {
    cursor: pointer;
    height: 200px;
    width: 200px;
}

.video-play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1; /* Always visible */
}

.video-play-overlay i {
    font-size: 40px;
    color: #fff;
}

/* Video modal styles */
.video-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.video-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
}

.video-modal-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    padding: 0;
}

.video-modal-player {
    width: 100%;
    max-width: 800px;
    max-height: 600px;
    border: none;
}

.video-modal-close {
    position: absolute;
    top: -40px;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1001;
}

.video-player {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 10;
    display: none;
}

.gallery-carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(43, 54, 74, 0.8);
    color: #fff;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: all 0.3s;
    z-index: 10;
}

.gallery-carousel-btn:hover {
    background: rgba(43, 54, 74, 1);
    transform: translateY(-50%) scale(1.1);
}

.gallery-carousel-prev {
    left: 0;
}

.gallery-carousel-next {
    right: 0;
}

.gallery-carousel-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

/* Page Title */
.page-title {
    padding: 80px 0 60px;
    background: #f8f9fa;
    text-align: center;
}

.page-title h1 {
    font-size: 42px;
    font-weight: 300;
    letter-spacing: 8px;
    color: #2b364a;
}



/* Story Hero Image */
.story-hero-image {
    padding: 40px 0 40px;
    background: #fff;
}

.story-hero-image .container {
    max-width: 1000px;
}

.story-hero-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 5px;
}


/* Story Introduction Text */
.story-intro-text p {
    font-family: 'Josefin Sans', sans-serif;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    font-size: 16px;
    line-height: 2;
    color: #666;
	font-weight: 300;
}

/* Timeline Introduction Text */
.timeline-intro-text {
    padding: 80px 0 60px;
    background: #fff;
}

.timeline-intro-text p {
    font-family: 'Josefin Sans', sans-serif;
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
    font-size: 16px;
    line-height: 2;
    color: #666;
	font-weight: 300;
}

/* Story Timeline Section */
.story-timeline-section {
    padding: 0 0 80px;
    background: #fff;
}

.timeline-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    max-width: 845px;
    margin: 0 auto 50px;
}

.timeline-block:last-child {
    margin-bottom: 0;
}

/* Left Icon Layout */
.timeline-block.left-icon {
    grid-template-columns: 150px 1fr;
}

/* Right Icon Layout */
.timeline-block.right-icon {
    grid-template-columns: 1fr 150px;
}

.timeline-icon-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
}

.timeline-circle {
    width: 120px;
    height: 120px;
}

/* Odd Rows - Teal */
.timeline-block:nth-child(odd) .timeline-content-wrapper h3 {
    font-family: 'Josefin Sans', sans-serif;
    font-size: 48px;
    font-weight: 600;
    letter-spacing: 4px;
    color: #a8c5c5;
    text-align: left;
}

/* Even Rows - Purple */
.timeline-block:nth-child(even) .timeline-content-wrapper h3 {
    font-family: 'Josefin Sans', sans-serif;
    font-size: 48px;
    font-weight: 600;
    letter-spacing: 4px;
    color: #d4c5e0;
    text-align: left;
}

.timeline-content-wrapper p {
    font-family: 'Josefin Sans', sans-serif;
    font-size: 24px;
	font-weight: 300;
    line-height: 1.8;
    color: #7a8a9e;
    text-align: left;
}

/* Team Hero */
.team-hero {
    padding: 40px 0 40px;
    background: #fff;
}

.team-hero .container {
    max-width: 1000px;
}

.team-hero img {
    width: 100%;
    height: auto;
    border-radius: 5px;
    display: block;
}

/* Team Introduction */
.team-intro {
    padding: 60px 0;
}

.team-intro p {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    font-size: 16px;
    line-height: 1.8;
    color: #666;
}

/* Team Grid */
.team-grid {
    padding: 80px 0;
    background: #fff;
}

.team-members {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.team-card {
    text-align: center;
}

.team-image {
    position: relative;
    overflow: hidden;
    border-radius: 5px;
    margin-bottom: 20px;
    cursor: pointer;
}

.team-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.team-image:hover img {
    transform: scale(1.05);
}



.team-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(43, 54, 74, 0.92);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.team-image:hover .team-overlay {
    opacity: 1;
}

.team-overlay p {
    color: #fff;
    font-size: 14px;
    line-height: 1.8;
    text-align: center;
    margin-bottom: 30px;
}

.btn-team-profile {
    width: 50px;
    height: 50px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2b364a;
    text-decoration: none;
    font-size: 18px;
    transition: all 0.3s ease;
}

.btn-team-profile:hover {
    background: #7375a5;
    color: #fff;
    transform: scale(1.1);
}

.team-info h3 {
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 1px;
    color: #2b364a;
}

/* New to Barre Hero */
.new2barre-hero {
    padding: 0 0 80px;
    background: #fff;
}

.new2barre-hero .container {
    max-width: 1000px;
}

.new2barre-hero img {
    width: 100%;
    height: auto;
    margin: 0 auto;
    display: block;
    border-radius: 5px;
}

/* New to Barre Introduction */
.new2barre-intro {
    padding: 60px 0;
    background: #f8f9fa;
}

.new2barre-intro p {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    font-size: 16px;
    line-height: 1.8;
    color: #666;
}

/* Footer */
.footer {
    background: #3d4a5c;
    color: #fff;
    padding: 0px 0 30px;
    text-align: center;
}



.footer-bottom {
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 300;
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-bottom a:hover {
    color: rgba(255, 255, 255, 0.8);
}

/* Social Sidebar */
.social-sidebar {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.social-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 3px;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s;
}

.social-icon.facebook {
    background: #3b5998;
}

.social-icon.youtube {
    background: #ff0000;
}

.social-icon.instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.social-icon:hover {
    transform: translateX(-5px);
}

/* Team Member Profile Page */
.team-profile {
    padding: 80px 0;
    background: #fff;
}

.profile-back-link {
    text-align: center;
    margin-top: 50px;
}

.profile-back-link .btn {
    display: inline-block;
    padding: 15px 40px;
    background: #7375a5;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    letter-spacing: 1px;
    transition: all 0.3s;
}

.profile-back-link .btn:hover {
    background: #5d5f85;
    transform: translateY(-2px);
}

.profile-header {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 60px;
    align-items: start;
    margin-bottom: 60px;
}

.profile-image img {
    width: 100%;
    height: auto;
    border-radius: 5px;
    display: block;
}

.profile-name {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.profile-name h1 {
    font-size: 36px;
    font-weight: 300;
    letter-spacing: 3px;
    color: #2b364a;
}

.profile-badge {
    width: 40px;
    height: 40px;
    background: #7375a5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 18px;
}

.profile-title {
    font-size: 16px;
    color: #7375a5;
    letter-spacing: 1px;
}

.profile-bio p {
    margin-bottom: 25px;
    line-height: 1.9;
    color: #666;
}

.profile-credentials {
    margin-top: 60px;
}

.profile-credentials h2 {
    font-size: 24px;
    font-weight: 300;
    letter-spacing: 3px;
    color: #2b364a;
    margin-bottom: 30px;
}

.profile-credentials ul {
    list-style: none;
    padding-left: 0;
}

.profile-credentials ul li {
    padding-left: 25px;
    margin-bottom: 15px;
    position: relative;
    color: #666;
    line-height: 1.8;
}

.profile-credentials ul li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: #7375a5;
    font-weight: bold;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .why-content,
    .classes-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .instagram-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .team-members {
        grid-template-columns: repeat(2, 1fr);
    }

    .timeline-block {
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .nav {
        display: none;
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background: white;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        z-index: 999;
    }
    
    .nav.active {
        display: block;
    }
    
    .nav ul {
        flex-direction: column;
        padding: 20px 0;
    }
    
    .nav li {
        margin: 0;
        padding: 0;
    }
    
    .nav a {
        display: block;
        padding: 15px 30px;
        border-bottom: 1px solid #f0f0f0;
    }
    
    .nav a:hover {
        background-color: #f8f8f8;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .hero-content h1 {
        font-size: 32px;
    }
    
    .hero-explore-btn {
        padding: 15px 35px;
        font-size: 13px;
        gap: 10px;
    }
	
    .instagram-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .team-members {
        grid-template-columns: 1fr;
    }

    .social-sidebar {
        display:none;
    }
    
    .timeline-block.left-icon,
    .timeline-block.right-icon {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .timeline-block.right-icon .timeline-icon-wrapper {
        order: 1;
    }
    
    .timeline-block.right-icon .timeline-content-wrapper {
        order: 2;
    }
    
    .timeline-block.right-icon .timeline-content-wrapper h3,
    .timeline-block.right-icon .timeline-content-wrapper p {
        text-align: left;
    }
    
    .timeline-content-wrapper h3 {
        font-size: 24px;
    }
    
    /* Testimonial responsive */
    .testimonial-section {
        min-height: 380px;
    }
    
    .testimonial-container {
        height: 380px;
    }
    
    .testimonial-slide {
        padding: 30px 30px 70px;
    }
    
    .testimonial-slide p {
        font-size: 17px;
        line-height: 1.6;
    }
    
    .testimonial-logo {
        width: 60px;
        height: 60px;
        bottom: -30px;
    }
    
    .testimonial-nav-dots {
        bottom: 45px;
    }
    
    .testimonial-dot {
        width: 10px;
        height: 10px;
    }
    
    .testimonial-dot.active {
        width: 24px;
    }
}

/* ========================================
   Contact Page Styles
   ======================================== */

/* Contact Section */
.contact-section {
    padding: 80px 0;
    background: #fff;
}

.contact-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
}

.contact-intro p {
    font-size: 18px;
    color: #666;
    line-height: 1.8;
}

.contact-form-wrapper {
    max-width: 700px;
    margin: 0 auto;
}

.contact-form {
    background: #f8f9fa;
    padding: 40px;
    border-radius: 10px;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 14px;
    color: #2b364a;
    letter-spacing: 0.5px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid #e0e0e0;
    border-radius: 5px;
    font-size: 16px;
    font-family: 'Josefin Sans', sans-serif;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #7375a5;
}

.form-group textarea {
    resize: vertical;
}

.captcha-group {
    margin-bottom: 30px;
}

.captcha-wrapper {
    display: flex;
    gap: 10px;
    align-items: stretch;
}

.captcha-image {
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    height: auto;
    cursor: pointer;
    transition: all 0.3s;
    flex-shrink: 0;
}

.captcha-image:hover {
    border-color: #7375a5;
    box-shadow: 0 2px 8px rgba(115, 117, 165, 0.15);
}

.captcha-wrapper input {
    flex: 1;
}

.btn-submit {
    width: 100%;
    padding: 15px;
    background: #7375a5;
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s;
    font-family: 'Josefin Sans', sans-serif;
}

.btn-submit:hover {
    background: #5d5f85;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(115, 117, 165, 0.3);
}

.btn-submit i {
    margin-right: 10px;
}

/* Alert Messages */
.alert {
    padding: 15px 20px;
    border-radius: 5px;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.alert-success {
    background: #d4edda;
    color: #155724;
    border-left: 4px solid #28a745;
}

.alert-error {
    background: #f8d7da;
    color: #721c24;
    border-left: 4px solid #dc3545;
}

.alert i {
    font-size: 20px;
}

/* Contact Info Section */
.contact-info-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.contact-info-section h2 {
    text-align: center;
    font-size: 36px;
    font-weight: 300;
    letter-spacing: 3px;
    margin-bottom: 50px;
    color: #2b364a;
}

.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 900px;
    margin: 0 auto;
}

.contact-info-item {
    text-align: center;
    padding: 30px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.contact-info-item i {
    font-size: 36px;
    color: #7375a5;
    margin-bottom: 20px;
}

.contact-info-item h3 {
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 10px;
    color: #2b364a;
}

.contact-info-item p {
    color: #666;
    line-height: 1.8;
}

/* ========================================
   Certificate Verification Page Styles
   ======================================== */

/* Certificate Search Section */
.certificate-search-section {
    padding: 80px 0;
    background: #fff;
    min-height: 60vh;
}

.search-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
}

.search-intro p {
    font-size: 18px;
    color: #666;
    line-height: 1.8;
}

.search-form-wrapper {
    max-width: 600px;
    margin: 0 auto;
}

.certificate-search-form {
    display: flex;
    gap: 15px;
    align-items: center;
}

.certificate-search-form .form-group {
    flex: 1;
    margin-bottom: 0;
}

.certificate-search-form input {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid #e0e0e0;
    border-radius: 5px;
    font-size: 16px;
    font-family: 'Josefin Sans', sans-serif;
    transition: border-color 0.3s;
    height: 54px;
    box-sizing: border-box;
}

.certificate-search-form input:focus {
    outline: none;
    border-color: #7375a5;
}

.btn-search {
    padding: 0 30px;
    background: #7375a5;
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s;
    font-family: 'Josefin Sans', sans-serif;
    white-space: nowrap;
    height: 54px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-search:hover {
    background: #5d5f85;
    transform: translateY(-2px);
}

/* Search Results */
.search-results {
    max-width: 900px;
    margin: 50px auto 0;
    background: #f8f9fa;
    border-radius: 10px;
    padding: 30px;
    animation: slideDown 0.5s ease;
    display: none;
}

.search-results.active {
    display: block;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #e0e0e0;
}

.results-header h2 {
    font-size: 24px;
    font-weight: 300;
    letter-spacing: 2px;
    color: #2b364a;
}

.btn-close {
    background: none;
    border: none;
    font-size: 24px;
    color: #999;
    cursor: pointer;
    transition: color 0.3s;
}

.btn-close:hover {
    color: #2b364a;
}

.certificate-card {
    background: #fff;
    border-radius: 8px;
    padding: 30px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    border-left: 5px solid #7375a5;
}

.certificate-card.expired {
    border-left-color: #e74c3c;
}

.certificate-header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: 20px;
}

.certificate-number {
    font-size: 24px;
    font-weight: 600;
    color: #2b364a;
    letter-spacing: 1px;
}

.certificate-status {
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.certificate-status.active {
    background: #d4edda;
    color: #155724;
}

.certificate-status.expired {
    background: #f8d7da;
    color: #721c24;
}

.certificate-details {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.detail-item {
    display: flex;
    flex-direction: column;
}

.detail-label {
    font-size: 12px;
    font-weight: 600;
    color: #999;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 5px;
}

.detail-value {
    font-size: 16px;
    color: #2b364a;
    font-weight: 500;
}

.no-results {
    text-align: center;
    padding: 40px;
    color: #999;
}

.no-results i {
    font-size: 48px;
    margin-bottom: 20px;
    color: #e0e0e0;
}

.no-results p {
    font-size: 18px;
    margin-bottom: 10px;
}

.no-results small {
    font-size: 14px;
    color: #bbb;
}

/* About Certification */
.about-certification {
    padding: 80px 0;
    background: #f8f9fa;
}

.about-certification h2 {
    text-align: center;
    font-size: 36px;
    font-weight: 300;
    letter-spacing: 3px;
    margin-bottom: 40px;
    color: #2b364a;
}

.certification-info {
    max-width: 900px;
    margin: 0 auto;
}

.info-text p {
    font-size: 16px;
    line-height: 1.9;
    color: #666;
    margin-bottom: 20px;
}

/* ========================================
   Our Classes Page Styles
   ======================================== */

/* Classes Introduction */
.classes-intro {
    padding: 60px 0;
    background: #fff;
}

.classes-intro p {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    font-size: 16px;
    line-height: 1.8;
    color: #666;
}

/* Classes Content */
.our-classes-page .classes-content {
    padding: 80px 0;
    background: #f8f9fa;
}

.country-section {
    margin-bottom: 60px;
}

.country-section:last-child {
    margin-bottom: 0;
}

.country-title {
    font-size: 36px;
    font-weight: 600;
    letter-spacing: 2px;
    color: #2b364a;
    margin-bottom: 40px;
    text-align: center;
    padding-bottom: 15px;
    border-bottom: 3px solid #7375a5;
}

.city-section {
    margin-bottom: 40px;
}

.city-title {
    font-size: 24px;
    font-weight: 500;
    color: #7375a5;
    margin-bottom: 20px;
    text-align: center;
}

.city-title i {
    margin-right: 8px;
    color: #7375a5;
}

.city-title span {
    vertical-align: middle;
}

/* Classes Table */
.classes-table {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    overflow: hidden;
}

.schedule-table {
    width: 100%;
    border-collapse: collapse;
}

.schedule-table thead {
    background: #7375a5;
    color: #fff;
}

.schedule-table th {
    padding: 15px 20px;
    text-align: left;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.schedule-table td {
    padding: 15px 20px;
    border-bottom: 1px solid #f0f0f0;
    font-size: 15px;
}

.schedule-table tbody tr:hover {
    background: #f8f9fa;
}

.schedule-table tbody tr:last-child td {
    border-bottom: none;
}

/* Course Badge */
.course-badge {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 13px;
    letter-spacing: 0.5px;
}

.course-badge.basic-barre {
    background: #d1ecf1;
    color: #0c5460;
}

.course-badge.classic-barre {
    background: #d4edda;
    color: #155724;
}

.course-badge.cardio-barre {
    background: #f8d7da;
    color: #721c24;
}

.course-badge.stretch-barre {
    background: #fff3cd;
    color: #856404;
}

.days {
    color: #666;
    font-weight: 500;
}

.time {
    color: #7375a5;
    font-weight: 600;
    font-family: 'Courier New', monospace;
}

/* No Classes */
.no-classes {
    text-align: center;
    padding: 80px 20px;
    color: #999;
}

.no-classes i {
    font-size: 64px;
    margin-bottom: 20px;
    display: block;
    opacity: 0.5;
}

.no-classes p {
    font-size: 18px;
}

/* Course Types Section */
.course-types {
    padding: 80px 0;
    background: #fff;
}

.course-types h2 {
    text-align: center;
    font-size: 36px;
    font-weight: 300;
    letter-spacing: 3px;
    margin-bottom: 50px;
    color: #2b364a;
}

.types-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.type-card {
    padding: 40px 30px;
    background: #f8f9fa;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.type-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-color: #7375a5;
}

.type-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 32px;
    color: #fff;
}

.type-card.basic-barre .type-icon {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.type-card.classic-barre .type-icon {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.type-card.cardio-barre .type-icon {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
}

.type-card.stretch-barre .type-icon {
    background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
}

.type-card h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #2b364a;
}

.type-card p {
    color: #666;
    line-height: 1.7;
    font-size: 14px;
}

/* ========================================
   New to Barre Page Styles
   ======================================== */

.new2barre-content {
    padding: 0 0;
    background: #f9f9f9;
}

.content-wrapper {
    background: white;
    padding: 50px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    max-width: 1000px;
    margin: 0 auto;
    line-height: 1.8;
    font-size: 16px;
    color: #333;
}

/* Rich Text Content Styles */
.content-wrapper h1 {
    font-size: 32px;
    font-weight: bold;
    margin: 30px 0 20px 0;
    color: #2b364a;
    border-bottom: 3px solid #667eea;
    padding-bottom: 10px;
}

.content-wrapper h2 {
    font-size: 26px;
    font-weight: bold;
    margin: 25px 0 15px 0;
    color: #2b364a;
}

.content-wrapper h3 {
    font-size: 22px;
    font-weight: 600;
    margin: 20px 0 12px 0;
    color: #3a4a5f;
}

.content-wrapper h4 {
    font-size: 18px;
    font-weight: 600;
    margin: 15px 0 10px 0;
    color: #4a5a6f;
}

.content-wrapper p {
    margin: 15px 0;
    line-height: 1.8;
}

.content-wrapper ul,
.content-wrapper ol {
    margin: 15px 0;
    padding-left: 30px;
}

.content-wrapper li {
    margin: 8px 0;
    line-height: 1.6;
}

.content-wrapper ul li {
    list-style-type: disc;
}

.content-wrapper ol li {
    list-style-type: decimal;
}

.content-wrapper img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 20px 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.content-wrapper blockquote {
    border-left: 4px solid #667eea;
    padding: 15px 20px;
    margin: 20px 0;
    background: #f5f7fa;
    color: #555;
    font-style: italic;
}

.content-wrapper code {
    background: #f4f4f4;
    padding: 2px 6px;
    border-radius: 3px;
    font-family: 'Courier New', monospace;
    font-size: 14px;
}

.content-wrapper pre {
    background: #2b364a;
    color: #fff;
    padding: 15px;
    border-radius: 6px;
    overflow-x: auto;
    margin: 20px 0;
}

.content-wrapper pre code {
    background: transparent;
    padding: 0;
    color: #fff;
}

.content-wrapper a {
    color: #667eea;
    text-decoration: none;
    border-bottom: 1px solid #667eea;
}

.content-wrapper a:hover {
    color: #764ba2;
    border-bottom-color: #764ba2;
}

.content-wrapper table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

.content-wrapper table th,
.content-wrapper table td {
    border: 1px solid #ddd;
    padding: 12px;
    text-align: left;
}

.content-wrapper table th {
    background: #667eea;
    color: white;
    font-weight: 600;
}

.content-wrapper table tr:nth-child(even) {
    background: #f9f9f9;
}

.content-wrapper hr {
    border: none;
    border-top: 2px solid #e0e0e0;
    margin: 30px 0;
}

.content-wrapper strong {
    font-weight: 600;
    color: #2b364a;
}

.content-wrapper em {
    font-style: italic;
    color: #555;
}

/* China Section Specific Styles */
.china-info-text {
    margin-bottom: 10px;
    text-align: center;
}

.china-qr-text {
    margin-bottom: 30px;
    text-align: center;
}

.china-qr-container {
    text-align: center;
}

.china-qr-container img {
    width: 200px;
    margin: 20px;
}

/* ========================================
   Responsive - Our Classes
   ======================================== */

@media (max-width: 768px) {
    .country-title {
        font-size: 28px;
    }

    .city-title {
        font-size: 20px;
    }

    .schedule-table th,
    .schedule-table td {
        padding: 12px 10px;
        font-size: 14px;
    }

    .types-grid {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   Responsive - Contact & Certificate
   ======================================== */

@media (max-width: 768px) {
    /* Contact Responsive */
    .form-row {
        grid-template-columns: 1fr;
    }

    .contact-form {
        padding: 30px 20px;
    }

    .contact-info-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .captcha-wrapper {
        flex-direction: column;
        align-items: stretch;
    }

    .captcha-image {
        width: 100%;
    }

    /* Certificate Responsive */
    .certificate-search-form {
        flex-direction: column;
    }

    .btn-search {
        width: 100%;
    }

    .certificate-details {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .certificate-header {
        flex-direction: column;
        gap: 10px;
    }

    /* New to Barre Responsive */
    .page-title h1 {
        font-size: 32px;
    }

    .content-wrapper {
        padding: 30px 20px;
    }

    .content-wrapper h1 {
        font-size: 26px;
    }

    .content-wrapper h2 {
        font-size: 22px;
    }

    .content-wrapper h3 {
        font-size: 18px;
    }
}

