/* =============================================
   EXISTING STYLES (Keep your current styles)
   ============================================= */
/* logo */
.ftco-navbar-light .navbar-brand{
    display:flex;
    align-items:center;
    gap:8px;
}

.ftco-navbar-light .navbar-brand .logo-img{
    height:100px;
    width:auto;
}

.ftco-navbar-light .navbar-brand .brand-text {
    font-size: 20px;
    font-weight: 500;
    color: #2E2E2E;
}

/* hero */
.hero-wrap{
    background-size: 75% auto;
    background-position: right bottom;
    background-repeat: no-repeat;
    min-height:85vh;
}

/* MENU TEXT */
.ftco-navbar-light .navbar-nav > .nav-item > .nav-link{
    color:#2E2E2E !important;
}

/* MENU HOVER */
.ftco-navbar-light .navbar-nav > .nav-item > .nav-link:hover{
    color:#C94A4A !important;
}

/* BUTTONS */
.btn-primary{
    background:#C94A4A !important;
    border:2px solid #C94A4A !important;
    color:#fff !important;
}

.btn-primary:hover{
    background:#FAF7F5 !important;
    border:2px solid #C94A4A !important;
    color:#2E2E2E !important;
}

body{
    color:#2E2E2E;
    background:#FAF7F5;
}

/* /* =============================================
   CLASSES PAGE SPECIFIC STYLES - Add to custom.css
   ============================================= */

/* Class Type Selector */
.classes-type-selector {
    background: #fff;
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
    margin-top: -50px;
    position: relative;
    z-index: 0;
}

.classes-type-selector .classes-mb-4 {
    color: #2E2E2E;
    font-size: 24px;
    font-weight: 500;
    margin-bottom: 25px;
}

.classes-filter-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.classes-filter-btn {
    padding: 14px 30px;
    border: 2px solid #C94A4A;
    background: transparent;
    color: #2E2E2E;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.classes-filter-btn i {
    font-size: 18px;
    color: #C94A4A;
    transition: all 0.3s ease;
}

.classes-filter-btn:hover {
    background: #C94A4A;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(201, 74, 74, 0.3);
}

.classes-filter-btn:hover i {
    color: #fff;
}

.classes-filter-btn.classes-active {
    background: #C94A4A;
    color: #fff;
}

.classes-filter-btn.classes-active i {
    color: #fff;
}

/* Yoga Cards */
.classes-yoga-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    height: 100%;
}

.classes-yoga-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 40px rgba(201, 74, 74, 0.15);
}

/* Card Badge */
.classes-card-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 8px 18px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.classes-online-badge {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
}



/* Card Image */
.classes-card-image {
    position: relative;
    overflow: hidden;
    height: 240px;
}

.classes-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.classes-yoga-card:hover .classes-card-image img {
    transform: scale(1.1);
}

/* Image Overlay */
.classes-card-overlay {
    position: absolute;
    bottom: -60px;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    padding: 20px;
    transition: all 0.4s ease;
    opacity: 0;
}

.classes-yoga-card:hover .classes-card-overlay {
    bottom: 0;
    opacity: 1;
}

.classes-overlay-content {
    display: flex;
    gap: 20px;
    color: #fff;
}

.classes-overlay-content span {
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Card Content */
.classes-card-content {
    padding: 25px;
}

.classes-card-title {
    font-size: 20px;
    font-weight: 600;
    color: #2E2E2E;
    margin-bottom: 10px;
    line-height: 1.4;
}

.classes-card-description {
    font-size: 14px;
    color: #6c757d;
    line-height: 1.6;
    margin-bottom: 20px;
}

/* Card Footer */
.classes-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid #f0f0f0;
}

.classes-instructor {
    font-size: 14px;
    color: #2E2E2E;
    display: flex;
    align-items: center;
    gap: 5px;
}

.classes-instructor i {
    color: #C94A4A;
}

.classes-btn-view-details {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #C94A4A;
    border: none;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.classes-btn-view-details:hover {
    background: #2E2E2E;
    transform: rotate(45deg);
}

/* Filter Animation */
.classes-card {
    transition: all 0.4s ease;
}

.classes-card.classes-hide {
    display: none;
}

.classes-card.classes-show {
    display: block;
    animation: classesFadeInUp 0.6s ease;
}

@keyframes classesFadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .classes-filter-buttons {
        flex-direction: column;
    }
    
    .classes-filter-btn {
        width: 100%;
        justify-content: center;
    }
}


/* =============================================
   ABOUT PAGE SPECIFIC STYLES
   ============================================= */

/* Hero Section */
.hero-about {
    background-size: cover;
    background-position: center;
    min-height: 60vh;
}

/* Philosophy Section */
.philosophy-section {
    padding: 80px 0;
    background: #FAF7F5;
}

.philosophy-text {
    font-size: 18px;
    line-height: 1.8;
    color: #4A4A4A;
    max-width: 800px;
    margin: 0 auto;
}

.philosophy-card {
    background: #FFFFFF;
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    height: 100%;
}

.philosophy-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(201, 74, 74, 0.1);
}

.philosophy-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #C94A4A10, #C94A4A20);
    border-radius: 50%;
    margin: 0 auto 25px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.philosophy-icon i {
    font-size: 36px;
    color: #C94A4A;
}

.philosophy-card h3 {
    font-size: 22px;
    font-weight: 600;
    color: #2E2E2E;
    margin-bottom: 15px;
}

.philosophy-card p {
    font-size: 15px;
    color: #6c757d;
    line-height: 1.7;
    margin-bottom: 0;
}

/* Story Section */
.story-section {
    padding: 80px 0;
}

.story-content {
    padding-right: 40px;
}

.story-content .subheading {
    color: #C94A4A;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
    display: block;
}

.story-content h2 {
    font-size: 42px;
    font-weight: 600;
    color: #2E2E2E;
    margin-bottom: 25px;
    line-height: 1.3;
}

.story-content .lead-text {
    font-size: 20px;
    font-weight: 500;
    color: #C94A4A;
    margin-bottom: 20px;
    line-height: 1.6;
}

.story-content p {
    font-size: 16px;
    color: #6c757d;
    line-height: 1.8;
    margin-bottom: 20px;
}

.story-stats {
    display: flex;
    gap: 40px;
    margin-top: 40px;
}

.stat-item {
    text-align: left;
}

.stat-number {
    font-size: 36px;
    font-weight: 700;
    color: #C94A4A;
    display: block;
    line-height: 1.2;
}

.stat-label {
    font-size: 14px;
    color: #6c757d;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.story-image-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    position: relative;
}

.grid-item {
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.grid-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.grid-item:hover img {
    transform: scale(1.1);
}

.grid-item-1 {
    grid-column: span 2;
    height: 250px;
}

.grid-item-2 {
    height: 200px;
}

.grid-item-3 {
    height: 200px;
}

/* Teachers Section */
.teachers-section {
    padding: 80px 0;
}

.teacher-card {
    background: #FFFFFF;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    height: 100%;
}

.teacher-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(201, 74, 74, 0.15);
}

.teacher-image {
    position: relative;
    overflow: hidden;
    height: 300px;
}

.teacher-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.teacher-card:hover .teacher-image img {
    transform: scale(1.1);
}

.teacher-social {
    position: absolute;
    bottom: -50px;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    padding: 20px;
    display: flex;
    justify-content: center;
    gap: 15px;
    transition: all 0.4s ease;
    opacity: 0;
}

.teacher-card:hover .teacher-social {
    bottom: 0;
    opacity: 1;
}

.teacher-social a {
    width: 40px;
    height: 40px;
    background: #C94A4A;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    font-size: 18px;
    transition: all 0.3s ease;
}

.teacher-social a:hover {
    background: #FFFFFF;
    color: #C94A4A;
    transform: translateY(-3px);
}

.teacher-info {
    padding: 25px;
}

.teacher-info h3 {
    font-size: 22px;
    font-weight: 600;
    color: #2E2E2E;
    margin-bottom: 5px;
}

.teacher-title {
    font-size: 14px;
    color: #C94A4A;
    font-weight: 500;
    display: block;
    margin-bottom: 15px;
}

.teacher-info p {
    font-size: 14px;
    color: #6c757d;
    line-height: 1.7;
    margin-bottom: 15px;
}

.teacher-specialty {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.teacher-specialty span {
    padding: 5px 12px;
    background: #FAF7F5;
    border-radius: 20px;
    font-size: 12px;
    color: #C94A4A;
    font-weight: 500;
}

/* Features Section */
.features-section {
    padding: 80px 0;
}

.feature-box {
    text-align: center;
    padding: 30px 20px;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.feature-box:hover {
    background: #FFFFFF;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: #C94A4A;
    border-radius: 50%;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon i {
    font-size: 30px;
    color: #FFFFFF;
}

.feature-box h3 {
    font-size: 20px;
    font-weight: 600;
    color: #2E2E2E;
    margin-bottom: 10px;
}

.feature-box p {
    font-size: 14px;
    color: #6c757d;
    line-height: 1.6;
    margin-bottom: 0;
}



/* ===== Aatman Yoga Gallery Styles ===== */
/* All classes are prefixed with 'ay-' to avoid conflicts */

/* Gallery Tabs */
.ay-gallery-tabs {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.ay-gallery-tab {
    padding: 12px 30px;
    border: 2px solid #C94A4A;
    background: transparent;
    color: #C94A4A;
    font-size: 16px;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    outline: none;
}

.ay-gallery-tab i {
    font-size: 18px;
}

.ay-gallery-tab:hover {
    background: #C94A4A;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(201, 74, 74, 0.3);
}

.ay-gallery-tab.active {
    background: #C94A4A;
    color: #fff;
}

/* Gallery Sections */
.ay-gallery-section {
    padding-top: 0;
    transition: opacity 0.3s ease;
}

.ay-gallery-section.d-none {
    display: none !important;
}

.ay-gallery-section-exit {
    opacity: 0;
    transform: translateY(20px);
}

.ay-gallery-section-enter {
    opacity: 1;
    transform: translateY(0);
    animation: ay-fadeInUp 0.5s ease forwards;
}

/* Gallery Items */
.ay-gallery-item {
    margin-bottom: 30px;
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    background: #fff;
}

.ay-gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

/* Photo Items */
.ay-photo-item .ay-gallery-img {
    display: block;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.ay-photo-item .ay-gallery-img img {
    transition: transform 0.5s ease;
    width: 100%;
    height: 280px;
    object-fit: cover;
}

.ay-photo-item:hover .ay-gallery-img img {
    transform: scale(1.1);
}

.ay-gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(201, 74, 74, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.ay-photo-item:hover .ay-gallery-overlay {
    opacity: 1;
}

.ay-gallery-overlay i {
    color: #fff;
    font-size: 40px;
    transform: scale(0.5);
    transition: transform 0.3s ease;
}

.ay-photo-item:hover .ay-gallery-overlay i {
    transform: scale(1);
}

.ay-gallery-info {
    padding: 15px;
    background: #fff;
    border-top: 3px solid #C94A4A;
}

.ay-gallery-info h4 {
    margin: 0 0 5px 0;
    font-size: 18px;
    font-weight: 600;
    color: #333;
}

.ay-gallery-info p {
    margin: 0;
    font-size: 14px;
    color: #666;
}

.ay-gallery-info p i {
    color: #C94A4A;
    margin-right: 5px;
}

/* Video Items */
.ay-video-item .ay-video-wrapper {
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.ay-video-item .ay-video-wrapper img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.ay-video-item:hover .ay-video-wrapper img {
    transform: scale(1.1);
}

.ay-video-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
    background: #C94A4A;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 28px;
    transition: all 0.3s ease;
    z-index: 2;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.ay-video-play-btn:hover {
    background: #fff;
    color: #C94A4A;
    transform: translate(-50%, -50%) scale(1.1);
    box-shadow: 0 8px 25px rgba(201, 74, 74, 0.4);
}

/* Event Items */
.ay-event-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.ay-event-card:hover {
    transform: translateX(5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.ay-event-media {
    position: relative;
    height: 100%;
    min-height: 250px;
    overflow: hidden;
}

.ay-event-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.ay-event-card:hover .ay-event-media img {
    transform: scale(1.1);
}

.ay-event-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 5px 15px;
    background: #C94A4A;
    color: #fff;
    border-radius: 25px;
    font-size: 12px;
    font-weight: 600;
    z-index: 2;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.ay-video-badge {
    background: #2196F3;
}

.ay-event-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #C94A4A;
    font-size: 24px;
    transition: all 0.3s ease;
    z-index: 2;
    opacity: 0;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.ay-video-thumb:hover .ay-event-play-btn {
    opacity: 1;
}

.ay-event-play-btn:hover {
    background: #C94A4A;
    color: #fff;
    transform: translate(-50%, -50%) scale(1.1);
}

.ay-event-details {
    padding: 25px;
}

.ay-event-details h3 {
    margin: 0 0 15px 0;
    font-size: 24px;
    font-weight: 600;
    color: #333;
}

.ay-event-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 15px;
}

.ay-event-meta p {
    margin: 0;
    font-size: 14px;
    color: #666;
}

.ay-event-meta p i {
    color: #C94A4A;
    width: 20px;
}

.ay-event-description {
    margin-bottom: 20px;
    color: #777;
    line-height: 1.6;
}

/* Load More Button */
.ay-load-more-btn {
    padding: 15px 50px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    border: none;
    background: #C94A4A;
    color: #fff;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(201, 74, 74, 0.2);
}

.ay-load-more-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(201, 74, 74, 0.4);
    background: #b53e3e;
}

.ay-load-more-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

/* Animations */
@keyframes ay-fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.ftco-animated .ay-gallery-item {
    animation: ay-fadeInUp 0.6s ease forwards;
}

/* Magnific Popup Customization - These are global and won't conflict */
.mfp-fade.mfp-bg {
    opacity: 0;
    transition: all 0.3s ease-out;
}

.mfp-fade.mfp-bg.mfp-ready {
    opacity: 0.8;
}

.mfp-fade.mfp-bg.mfp-removing {
    opacity: 0;
}

.mfp-fade.mfp-wrap .mfp-content {
    opacity: 0;
    transition: all 0.3s ease-out;
}

.mfp-fade.mfp-wrap.mfp-ready .mfp-content {
    opacity: 1;
}

.mfp-fade.mfp-wrap.mfp-removing .mfp-content {
    opacity: 0;
}

.mfp-title {
    text-align: center;
    padding: 10px;
    background: rgba(0,0,0,0.8);
    color: #fff;
    font-size: 14px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .ay-gallery-tabs {
        gap: 10px;
    }
    
    .ay-gallery-tab {
        padding: 8px 20px;
        font-size: 14px;
    }
    
    .ay-gallery-tab i {
        font-size: 14px;
    }
    
    .ay-event-meta {
        flex-direction: column;
        gap: 10px;
    }
    
    .ay-event-details h3 {
        font-size: 20px;
    }
    
    .ay-event-media {
        min-height: 200px;
    }
    
    .ay-video-play-btn {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
}

@media (max-width: 576px) {
    .ay-gallery-tabs {
        flex-direction: column;
        align-items: center;
    }
    
    .ay-gallery-tab {
        width: 100%;
        max-width: 250px;
        justify-content: center;
    }
    
    .ay-photo-item .ay-gallery-img img,
    .ay-video-item .ay-video-wrapper img {
        height: 220px;
    }
    
    .ay-event-details {
        padding: 20px;
    }
    
    .ay-event-details h3 {
        font-size: 18px;
    }
    
    .ay-event-badge {
        padding: 3px 10px;
        font-size: 11px;
    }
    
    .ay-load-more-btn {
        padding: 12px 30px;
        font-size: 14px;
    }
}

/* Loading Spinner Animation */
@keyframes ay-spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.fa-spinner {
    animation: ay-spin 1s linear infinite;
}



/* =============================================
   OPTIMIZED FOOTER STYLES - Fixed Button & Logo
   ============================================= */

/* CTA Section - Cohesive Colors */
.cta-section {
    padding: 50px 0;
    background: linear-gradient(135deg, #C94A4A 0%, #b53e3e 100%);
    color: #FFFFFF;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: rgba(255, 255, 255, 0.1);
    transform: rotate(45deg);
    pointer-events: none;
}

.cta-section h2 {
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #FFFFFF;
    position: relative;
}

.cta-section p {
    font-size: 18px;
    opacity: 0.95;
    margin-bottom: 0;
    position: relative;
}

/* FIXED BUTTON - Now visible and readable */
.cta-section .btn-primary {
    background: #FFFFFF !important;
    border: 2px solid #FFFFFF !important;
    color: #C94A4A !important;
    font-size: 16px;
    padding: 12px 35px;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    display: inline-block;
    text-decoration: none;
    line-height: 1.5;
}

.cta-section .btn-primary:hover {
    background: transparent !important;
    color: #FFFFFF !important;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    border-color: #FFFFFF !important;
}

.cta-section .btn-primary:focus,
.cta-section .btn-primary:active {
    outline: none;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

/* Footer - Optimized Height & Colors */
.ftco-footer {
    background: #2E2E2E;
    padding: 40px 0 20px;
    position: relative;
    color: rgba(255, 255, 255, 0.8);
}

/* Remove overlay if not needed */
.ftco-footer .overlay {
    display: none;
}

/* Footer Logo - REMOVED WHITE FILTER */
.footer-logo-img {
    max-height: 100px;
    width: auto;
    /* filter: brightness(0) invert(1);  REMOVED - this was making logo white */
    transition: all 0.3s ease;
}

.footer-logo:hover .footer-logo-img {
    transform: scale(1.05);
    /* filter: brightness(0) invert(1) drop-shadow(0 0 5px rgba(201, 74, 74, 0.5)); REMOVED */
    filter: drop-shadow(0 0 5px rgba(201, 74, 74, 0.5));
}

.footer-description {
    color: rgba(255, 255, 255, 0.7);
    font-size: 13px;
    line-height: 1.6;
    margin-top: 10px;
    margin-bottom: 0;
}

/* Footer Headings - Smaller for compact look */
.ftco-footer .ftco-heading-2 {
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 8px;
    letter-spacing: 0.5px;
}

.ftco-footer .ftco-heading-2:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 30px;
    height: 2px;
    background: #C94A4A;
}

/* Footer Links - Compact */
.ftco-footer-widget ul {
    margin-bottom: 0;
}

.ftco-footer-widget ul li {
    margin-bottom: 8px;
}

.ftco-footer-widget ul li:last-child {
    margin-bottom: 0;
}

.ftco-footer-widget ul li a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 13px;
    transition: all 0.3s ease;
    display: inline-block;
}

.ftco-footer-widget ul li a:hover {
    color: #C94A4A;
    transform: translateX(5px);
}

.ftco-footer-widget ul li a i {
    color: #C94A4A;
    font-size: 10px;
    width: 16px;
}

/* Contact Info Icons */
.ftco-footer-widget ul li a .fas,
.ftco-footer-widget ul li a .far {
    color: #C94A4A;
    font-size: 12px;
    width: 20px;
}

/* Footer Social Icons - Smaller */
.ftco-footer-social {
    display: flex;
    gap: 8px;
    padding: 0;
    margin: 0 0 10px 0;
}

.ftco-footer-social li {
    list-style: none;
    margin: 0;
}

.ftco-footer-social li a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: #fff;
    transition: all 0.3s ease;
}

.ftco-footer-social li a:hover {
    background: #C94A4A;
    transform: translateY(-3px);
}

.ftco-footer-social li a span {
    font-size: 16px;
}

/* Newsletter Form - Compact */
.subscribe-form .form-group {
    display: flex;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 25px;
    overflow: hidden;
    margin-bottom: 0;
}

.subscribe-form .form-control {
    background: transparent !important;
    border: none !important;
    color: #fff !important;
    height: 38px !important;
    padding: 0 12px;
    font-size: 13px;
    border-radius: 25px 0 0 25px !important;
}

.subscribe-form .form-control::placeholder {
    color: rgba(255, 255, 255, 0.5);
    font-size: 12px;
}

.subscribe-form .submit {
    background: #C94A4A;
    border: none;
    color: #fff;
    padding: 0 15px;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    border-radius: 0 25px 25px 0;
}

.subscribe-form .submit:hover {
    background: #b53e3e;
}

/* Footer Copyright - Compact */
.footer-copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    margin-top: 10px;
}

.footer-copyright p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 12px;
    margin: 0;
    line-height: 1.5;
}

.footer-copyright a {
    color: #C94A4A;
    transition: all 0.3s ease;
}

.footer-copyright a:hover {
    color: #fff;
}

.footer-copyright i {
    color: #C94A4A;
    margin: 0 3px;
    font-size: 11px;
}

/* Responsive Footer */
@media (max-width: 991px) {
    .cta-section {
        padding: 40px 0;
        text-align: center;
    }
    
    .cta-section .text-lg-right {
        text-align: center !important;
        margin-top: 20px;
    }
    
    .cta-section h2 {
        font-size: 28px;
    }
    
    .ftco-footer {
        padding: 30px 0 15px;
    }
    
    .ftco-footer-widget {
        margin-bottom: 20px !important;
    }
}

@media (max-width: 768px) {
    .cta-section {
        padding: 30px 0;
    }
    
    .cta-section h2 {
        font-size: 24px;
    }
    
    .cta-section p {
        font-size: 16px;
    }
    
    .cta-section .btn-primary {
        padding: 10px 30px;
        font-size: 14px;
    }
    
    .ftco-footer {
        padding: 25px 0 15px;
    }
    
    .footer-logo-img {
        max-height: 45px;
    }
    
    .ftco-footer .ftco-heading-2 {
        font-size: 15px;
        margin-bottom: 12px;
    }
    
    .ftco-footer-widget ul li a {
        font-size: 12px;
    }
    
    .subscribe-form .form-control {
        height: 35px !important;
        font-size: 12px;
    }
    
    .subscribe-form .submit {
        padding: 0 12px;
        font-size: 11px;
    }
}

@media (max-width: 576px) {
    .cta-section h2 {
        font-size: 22px;
    }
    
    .cta-section p {
        font-size: 14px;
    }
    
    .footer-copyright p {
        font-size: 11px;
    }
}

/* =============================================
   VIDEO PREVIEW STYLES
   ============================================= */

.ay-video-preview-item {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.ay-video-wrapper {
    position: relative;
    overflow: hidden;
    background: #000;
    height: 280px;
}

.video-preview {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Custom Video Controls */
.video-custom-controls {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.ay-video-wrapper:hover .video-custom-controls {
    opacity: 1;
}

.video-play-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: #C94A4A;
    border: none;
    color: white;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.video-play-btn:hover {
    background: #fff;
    color: #C94A4A;
    transform: scale(1.1);
}

.video-timer {
    color: white;
    font-size: 14px;
    font-weight: 500;
    text-shadow: 0 1px 2px rgba(0,0,0,0.5);
}

/* YouTube Full Video Link */
.video-full-link {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #ff0000;
    color: white;
    padding: 8px 15px;
    border-radius: 30px;
    font-size: 13px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: all 0.3s ease;
    z-index: 10;
    font-weight: 500;
    box-shadow: 0 3px 10px rgba(0,0,0,0.3);
}

.video-full-link:hover {
    background: #cc0000;
    transform: translateY(-2px);
    color: white;
    text-decoration: none;
    box-shadow: 0 5px 15px rgba(255,0,0,0.4);
}

/* Preview Badge */
.video-preview-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #ff9800;
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    z-index: 10;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

/* Video Info Section */
.ay-gallery-info {
    padding: 15px;
    background: #fff;
    border-top: 3px solid #C94A4A;
}

.ay-gallery-info h4 {
    margin: 0 0 8px 0;
    font-size: 18px;
    font-weight: 600;
    color: #2E2E2E;
}

.ay-gallery-info p {
    margin: 0;
    font-size: 14px;
    color: #666;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 5px;
}

.ay-gallery-info p a {
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.ay-gallery-info p a:hover {
    color: #ff0000 !important;
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
    .ay-video-wrapper {
        height: 220px;
    }
    
    .video-full-link {
        padding: 5px 12px;
        font-size: 12px;
    }
    
    .video-play-btn {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
}

@media (max-width: 576px) {
    .ay-video-wrapper {
        height: 200px;
    }
}

/* =============================================
   EVENT DETAIL PAGE STYLES
   ============================================= */

/* Event Video Gallery */
.ay-event-video-gallery {
    margin-top: 40px;
}

.ay-gallery-item {
    margin-bottom: 30px;
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    background: #fff;
}

.ay-gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

/* Video Items */
.ay-video-item .ay-video-wrapper {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    background: #000;
    height: 280px;
}

.ay-video-item .ay-video-wrapper .video-preview {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.ay-video-item:hover .ay-video-wrapper .video-preview {
    transform: scale(1.1);
}

/* Custom Video Controls */
.video-custom-controls {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 5;
}

.ay-video-wrapper:hover .video-custom-controls {
    opacity: 1;
}

.video-play-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: #C94A4A;
    border: none;
    color: white;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
    z-index: 10;
}

.video-play-btn:hover {
    background: #fff;
    color: #C94A4A;
    transform: scale(1.1);
}

.video-timer {
    color: white;
    font-size: 14px;
    font-weight: 500;
    text-shadow: 0 1px 2px rgba(0,0,0,0.5);
}

/* YouTube Full Video Link */
.video-full-link {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #ff0000;
    color: white;
    padding: 8px 15px;
    border-radius: 30px;
    font-size: 13px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: all 0.3s ease;
    z-index: 10;
    font-weight: 500;
    box-shadow: 0 3px 10px rgba(0,0,0,0.3);
}

.video-full-link:hover {
    background: #cc0000;
    transform: translateY(-2px);
    color: white;
    text-decoration: none;
    box-shadow: 0 5px 15px rgba(255,0,0,0.4);
}

/* Preview Badge */
.video-preview-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #ff9800;
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    z-index: 10;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

/* Gallery Info */
.ay-gallery-info {
    padding: 15px;
    background: #fff;
    border-top: 3px solid #C94A4A;
}

.ay-gallery-info h4 {
    margin: 0 0 8px 0;
    font-size: 18px;
    font-weight: 600;
    color: #2E2E2E;
}

.ay-gallery-info p {
    margin: 0;
    font-size: 14px;
    color: #666;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 5px;
}

.ay-gallery-info p a {
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.ay-gallery-info p a:hover {
    color: #ff0000 !important;
    text-decoration: underline;
}

/* Event Photo Gallery */
.ay-event-photo-gallery {
    margin-top: 40px;
}

.ay-event-gallery-item {
    display: block;
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    cursor: pointer;
    height: 200px;
}

.ay-event-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.ay-event-gallery-item:hover img {
    transform: scale(1.1);
}

.ay-event-gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(201, 74, 74, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.ay-event-gallery-item:hover .ay-event-gallery-overlay {
    opacity: 1;
}

.ay-event-gallery-overlay i {
    color: #fff;
    font-size: 30px;
    transform: scale(0.5);
    transition: transform 0.3s ease;
}

.ay-event-gallery-item:hover .ay-event-gallery-overlay i {
    transform: scale(1);
}

/* Responsive */
@media (max-width: 768px) {
    .ay-video-wrapper {
        height: 220px;
    }
    
    .video-full-link {
        padding: 5px 12px;
        font-size: 12px;
    }
    
    .video-play-btn {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .ay-event-gallery-item {
        height: 180px;
    }
}

@media (max-width: 576px) {
    .ay-video-wrapper {
        height: 200px;
    }
    
    .ay-gallery-info h4 {
        font-size: 16px;
    }
    
    .ay-gallery-info p {
        font-size: 13px;
    }
}

/* =============================================
   FULL WIDTH FIX - Remove blank spaces
   ============================================= */

/* Make containers full width */
.container-fluid {
    width: 100%;
    padding-right: 30px;
    padding-left: 30px;
    margin-right: auto;
    margin-left: auto;
}

/* Ensure content uses full width on smaller screens */
@media (max-width: 1199px) {
    .col-xl-10 {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

/* Adjust padding for mobile */
@media (max-width: 768px) {
    .container-fluid.px-5 {
        padding-right: 20px !important;
        padding-left: 20px !important;
    }
}

@media (max-width: 576px) {
    .container-fluid.px-5 {
        padding-right: 15px !important;
        padding-left: 15px !important;
    }
}

/* Make images full width */
.ay-event-featured-image img,
.ay-event-gallery-item img,
.ay-video-wrapper video,
.ay-video-wrapper img {
    width: 100%;
    object-fit: cover;
}

/* Adjust gallery items for better spacing */
.ay-event-photo-gallery .row {
    margin-right: -10px;
    margin-left: -10px;
}

.ay-event-photo-gallery .col-md-4 {
    padding-right: 10px;
    padding-left: 10px;
}

/* Video gallery full width */
.ay-event-video-gallery .row {
    margin-right: -10px;
    margin-left: -10px;
}

.ay-event-video-gallery .col-md-6 {
    padding-right: 10px;
    padding-left: 10px;
}

/* =============================================
   YOGA TYPES SECTION STYLES
   ============================================= */

.yoga-types-section {
    padding: 80px 0;
    background: #FAF7F5;
}

.yoga-type-card-wrapper {
    margin-bottom: 30px;
}

.yoga-type-card {
    background: #FFFFFF;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    cursor: pointer;
    height: 100%;
}

.yoga-type-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(201, 74, 74, 0.2);
}

.yoga-type-img {
    overflow: hidden;
    height: 280px;
}

.yoga-type-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.yoga-type-card:hover .yoga-type-img img {
    transform: scale(1.1);
}

.yoga-type-info {
    padding: 25px;
    text-align: center;
}

.yoga-type-info h3 {
    font-size: 22px;
    font-weight: 600;
    color: #2E2E2E;
    margin-bottom: 10px;
}

.yoga-short-desc {
    font-size: 14px;
    color: #6c757d;
    line-height: 1.6;
    margin-bottom: 0;
}

/* Modal Styles */
.yoga-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.yoga-modal.show {
    opacity: 1;
}

.yoga-modal-content {
    background: #FFFFFF;
    border-radius: 20px;
    max-width: 1000px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: modalSlideIn 0.4s ease;
}

@keyframes modalSlideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.yoga-modal-close {
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 35px;
    font-weight: 300;
    color: #2E2E2E;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
}

.yoga-modal-close:hover {
    color: #C94A4A;
    transform: rotate(90deg);
}

.yoga-modal-inner {
    display: flex;
    flex-wrap: wrap;
}

.yoga-modal-left {
    flex: 1;
    min-width: 280px;
    background: #f8f9fa;
}

.modal-yoga-img {
    width: 100%;
    height: 100%;
    object-fit: cover;

    /* object-fit: contain; */
    min-height: 300px;
}

.yoga-modal-right {
    flex: 1;
    padding: 40px;
    min-width: 280px;
}

.yoga-modal-right h2 {
    font-size: 32px;
    font-weight: 700;
    color: #C94A4A;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 15px;
}

.yoga-modal-right h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: #C94A4A;
}

.modal-description,
.modal-benefits {
    margin-bottom: 25px;
}

.modal-description h4,
.modal-benefits h4 {
    font-size: 18px;
    font-weight: 600;
    color: #2E2E2E;
    margin-bottom: 12px;
}

.modal-description h4 i,
.modal-benefits h4 i {
    color: #C94A4A;
    margin-right: 8px;
}

.modal-description p {
    font-size: 15px;
    line-height: 1.7;
    color: #6c757d;
}

.modal-benefits ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.modal-benefits ul li {
    font-size: 14px;
    line-height: 1.6;
    color: #6c757d;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.modal-benefits ul li i {
    color: #C94A4A;
    font-size: 14px;
    width: 18px;
}

/* Responsive */
@media (max-width: 768px) {
    .yoga-type-img {
        height: 220px;
    }
    
    .yoga-type-info {
        padding: 20px;
    }
    
    .yoga-type-info h3 {
        font-size: 18px;
    }
    
    .yoga-modal-right {
        padding: 30px;
    }
    
    .yoga-modal-right h2 {
        font-size: 26px;
    }
    
    .modal-yoga-img {
        min-height: 250px;
    }
}

@media (max-width: 576px) {
    .yoga-modal-right {
        padding: 20px;
    }
    
    .yoga-modal-right h2 {
        font-size: 22px;
    }
    
    .modal-description p,
    .modal-benefits ul li {
        font-size: 13px;
    }
}

/* ===============================
   GLOBAL RESPONSIVE FIX
================================= */
img {
  max-width: 100%;
  height: auto;
}

.container {
  padding-left: 15px;
  padding-right: 15px;
}

/* ===============================
   MOBILE HERO FIX (NO EXTRA GAP)
================================= */
@media (max-width: 768px) {

  .hero-wrap {
    position: relative;

    /* 🔥 MAIN FIX */
    height: 70vh;              /* আগে auto ছিল → এখন control */
    padding: 20px 15px;        /* কমানো */

    background-size: contain !important;
    background-position: center top !important;
    background-repeat: no-repeat;

    display: flex;
    justify-content: center;
    text-align: center;
  }

  .hero-wrap .overlay {
    width: 100%;
    height: 40%;
  }

  .hero-wrap .slider-text {
    align-items: flex-start !important;
    padding-top: 20px;   /* কমানো */
  }
}

/* EXTRA SMALL */
@media (max-width: 480px) {
  .hero-wrap {
    padding: 30px 10px;
  }

  .hero-wrap .typewrite {
    font-size: 18px !important;
  }

  .hero-wrap h1 {
    font-size: 18px !important;
  }
}

 /* back btn */
        .cd-back-btn {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            color: rgba(255,255,255,.8);
            font-size: .88rem;
            font-weight: 600;
            letter-spacing: .05em;
            text-decoration: none;
            transition: color .2s;
        }
        .cd-back-btn:hover { color: #fff; text-decoration: none; }

        /* detail section */
        .cd-section { padding: 120px 0 80px; background: #fff; }

        /* image col */
        .cd-img-frame {
            position: relative;
            border-radius: 4px;
            overflow: hidden;
        }
        .cd-img-frame::before {
            content: '';
            position: absolute;
            top: -10px; right: -10px;
            width: 110px; height: 110px;
            border-top: 3px solid #c0392b;
            border-right: 3px solid #c0392b;
            border-radius: 0 4px 0 0;
            z-index: 1; pointer-events: none;
        }
        .cd-img-frame::after {
            content: '';
            position: absolute;
            bottom: -10px; left: -10px;
            width: 110px; height: 110px;
            border-bottom: 3px solid #c0392b;
            border-left: 3px solid #c0392b;
            border-radius: 0 0 0 4px;
            z-index: 1; pointer-events: none;
        }
        .cd-img-frame img {
            width: 100%; height: 440px;
            object-fit: cover; display: block; border-radius: 4px;
        }

        /* price card below image */
        .cd-price-card {
            margin-top: 24px;
            background: #faf7f5;
            border-radius: 8px;
            padding: 20px 24px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 16px;
            flex-wrap: wrap;
        }
        .cd-price-label {
            font-size: .78rem;
            font-weight: 700;
            letter-spacing: .15em;
            text-transform: uppercase;
            color: #888;
            margin-bottom: 4px;
        }
        .cd-price-amount {
            font-size: 2rem;
            font-weight: 800;
            color: #c0392b;
            line-height: 1;
        }
        .cd-price-amount small {
            font-size: 1rem;
            font-weight: 500;
            color: #888;
        }
        .cd-contact-btn {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            background: #c0392b;
            color: #fff;
            font-weight: 700;
            font-size: .88rem;
            padding: 12px 22px;
            border-radius: 50px;
            text-decoration: none;
            white-space: nowrap;
            transition: background .2s, transform .2s;
        }
        .cd-contact-btn:hover {
            background: #96281b;
            transform: translateY(-2px);
            color: #fff;
            text-decoration: none;
        }

        /* right content */
        .cd-content { padding-left: 44px; }
        .cd-practice-label {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            font-size: .75rem;
            font-weight: 700;
            letter-spacing: .2em;
            text-transform: uppercase;
            color: #c0392b;
            margin-bottom: 14px;
        }
        .cd-content h2 {
            font-size: 2.4rem;
            font-weight: 800;
            color: #111;
            line-height: 1.15;
            margin-bottom: 6px;
        }
        .cd-underline {
            width: 48px; height: 3px;
            background: #c0392b;
            border-radius: 2px;
            margin-bottom: 20px;
        }
        .cd-badge {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            font-size: .78rem;
            font-weight: 700;
            padding: 5px 14px;
            border-radius: 50px;
            margin-bottom: 18px;
        }
        .cd-badge-online { background: #eaf4fb; color: #1a6fa8; }
        .cd-badge-offline { background: #fef0ed; color: #c0392b; }
        .cd-desc {
            font-size: 1rem;
            color: #5a5a5a;
            line-height: 1.9;
            margin-bottom: 28px;
        }

        /* meta row */
        .cd-meta {
            display: flex;
            flex-wrap: wrap;
            gap: 10px 20px;
            margin-bottom: 28px;
        }
        .cd-meta-item {
            display: flex;
            align-items: center;
            gap: 8px;
            font-size: .88rem;
            color: #444;
            background: #f5f5f5;
            padding: 7px 14px;
            border-radius: 50px;
        }
        .cd-meta-item i { color: #c0392b; font-size: .8rem; }

        /* highlights */
        .cd-highlights {
            background: #faf7f5;
            border-radius: 8px;
            padding: 24px 28px;
            margin-bottom: 28px;
        }
        .cd-highlights h4 {
            font-size: 1rem;
            font-weight: 700;
            color: #111;
            margin-bottom: 16px;
            display: flex;
            align-items: center;
            gap: 8px;
        }
        .cd-highlights h4 i { color: #c0392b; font-size: .9rem; }
        .cd-highlights-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 10px 20px;
        }
        .cd-highlight-item {
            display: flex;
            align-items: flex-start;
            gap: 9px;
            font-size: .9rem;
            color: #444;
            line-height: 1.5;
        }
        .cd-highlight-item i {
            color: #c0392b;
            font-size: .8rem;
            margin-top: 3px;
            flex-shrink: 0;
        }

        /* instructor strip */
        .cd-instructor-strip {
            display: flex;
            align-items: center;
            gap: 16px;
            padding: 16px 20px;
            border: 1.5px solid #f0e8e6;
            border-radius: 8px;
        }
        .cd-instructor-avatar {
            width: 48px; height: 48px;
            border-radius: 50%;
            background: #c0392b;
            display: flex; align-items: center; justify-content: center;
            color: #fff;
            font-size: 1.2rem;
            flex-shrink: 0;
        }
        .cd-instructor-info small {
            display: block;
            font-size: .72rem;
            font-weight: 700;
            letter-spacing: .12em;
            text-transform: uppercase;
            color: #aaa;
            margin-bottom: 2px;
        }
        .cd-instructor-info strong {
            font-size: .95rem;
            color: #111;
        }

        @media (max-width: 991px) {
            .cd-content { padding-left: 15px; margin-top: 40px; }
            .cd-img-frame img { height: 300px; }
            .cd-content h2 { font-size: 1.8rem; }
        }
        @media (max-width: 575px) {
            .cd-highlights-grid { grid-template-columns: 1fr; }
            .cd-price-card { flex-direction: column; align-items: flex-start; }
        }

