/*** Athena Edge Global Custom Theme Colors ***/
:root {
    --bs-primary: #3BA59C !important;      /* Teal from logo */
    --bs-secondary: #C4D82E !important;    /* Lime green from logo */
    --bs-dark: #1D3540 !important;         /* Dark navy from logo */
    --bs-light: #f8f9fa !important;
    --bs-white: #ffffff !important;
    
    /* Enhanced Design Variables */
    --gradient-primary: linear-gradient(135deg, #3BA59C 0%, #2d8b83 100%);
    --gradient-secondary: linear-gradient(135deg, #C4D82E 0%, #a8b926 100%);
    --gradient-hero: linear-gradient(135deg, rgba(59, 165, 156, 0.9) 0%, rgba(29, 53, 64, 0.95) 100%);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.16);
    --shadow-primary: 0 8px 24px rgba(59, 165, 156, 0.3);
    --shadow-secondary: 0 8px 24px rgba(196, 216, 46, 0.3);
}

/* Modern Typography */
body {
    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-weight: 400;
    line-height: 1.7;
    color: #2c3e50;
    letter-spacing: 0.3px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Yantramanav', sans-serif;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -0.5px;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Selection Color */
::selection {
    background: #3BA59C;
    color: white;
}

::-moz-selection {
    background: #3BA59C;
    color: white;
}

/*** Spinner Start ***/
/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}

.spinner-border.text-primary {
    color: #3BA59C !important;
}
/*** Spinner End ***/

.back-to-top {
    position: fixed;
    right: 30px;
    bottom: 30px;
    transition: 0.5s;
    z-index: 99;
}

/*** Button Start ***/
.btn {
    font-weight: 600;
    transition: .5s;
}

.btn-square {
    width: 32px;
    height: 32px;
}

.btn-sm-square {
    width: 34px;
    height: 34px;
}

.btn-md-square {
    width: 44px;
    height: 44px;
}

.btn-lg-square {
    width: 56px;
    height: 56px;
}

.btn-square,
.btn-sm-square,
.btn-md-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
    border-radius: 50%;
}

.btn.btn-primary {
    background: var(--gradient-primary);
    border: none;
    color: white !important;
    font-weight: 600;
    letter-spacing: 0.5px;
    box-shadow: var(--shadow-primary);
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: all 0.4s ease;
}

.btn.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient-secondary);
    transition: left 0.4s ease;
    z-index: -1;
}

.btn.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-secondary);
    color: #1D3540 !important;
}

.btn.btn-primary:hover::before {
    left: 0;
}

.btn.btn-secondary {
    background: var(--gradient-secondary);
    border: none;
    color: #1D3540 !important;
    font-weight: 600;
    letter-spacing: 0.5px;
    box-shadow: var(--shadow-secondary);
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: all 0.4s ease;
}

.btn.btn-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    transition: left 0.4s ease;
    z-index: -1;
}

.btn.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-primary);
    color: white !important;
}

.btn.btn-secondary:hover::before {
    left: 0;
}

.btn-hover {
    transition: 0.5s;
}

.btn-hover:hover {
    color: #C4D82E !important;
}

/*** Sub Title Start ***/
.sub-title {
    position: relative;
    display: inline-block;
    text-transform: uppercase;
    color: #3BA59C !important;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 3px;
    padding: 8px 20px;
    background: rgba(59, 165, 156, 0.1);
    border-radius: 50px;
    border: 2px solid rgba(59, 165, 156, 0.2);
}

.sub-title::before {
    content: "";
    width: 60px;
    height: 3px;
    position: absolute;
    top: 50%;
    right: -70px;
    transform: translateY(-50%);
    background: linear-gradient(90deg, #3BA59C 0%, transparent 100%);
}

.sub-title::after {
    content: "";
    width: 60px;
    height: 3px;
    position: absolute;
    top: 50%;
    left: -70px;
    transform: translateY(-50%);
    background: linear-gradient(90deg, transparent 0%, #3BA59C 100%);
}

/*** Topbar Start ***/
.fixed-top .container {
    transition: 0.5s;
}

.topbar {
    padding: 2px 10px 2px 20px;
    background: linear-gradient(135deg, #1D3540 0%, #2a4a57 100%) !important;
    backdrop-filter: blur(10px);
}

.topbar a {
    transition: all 0.3s ease;
    font-size: 14px;
    font-weight: 500;
}

.topbar a i {
    transition: all 0.3s ease;
    margin-right: 8px;
}

.topbar a:hover {
    color: #C4D82E !important;
    transform: translateY(-2px);
}

.topbar a:hover i {
    color: #C4D82E !important;
    transform: scale(1.1);
}


@media (max-width: 576px) {
    .topbar {
        display: none;    
    }
}
/*** Topbar End ***/


/*** Navbar ***/
.navbar-light {
    background: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
}

.navbar-light .navbar-nav .nav-link {
    font-family: 'Yantramanav', sans-serif;
    position: relative;
    margin-right: 25px;
    padding: 35px 0;
    color: var(--bs-dark) !important;
    font-size: 16px;
    font-weight: 600;
    outline: none;
    transition: all 0.3s ease;
}

.navbar-light .navbar-nav .nav-link::before {
    content: '';
    position: absolute;
    bottom: 20px;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
    border-radius: 3px;
}

.sticky-top.navbar-light .navbar-nav .nav-link {
    padding: 20px 0;
    color: var(--dark) !important;
    font-size: 18px !important;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
    color: #3BA59C !important;
}

.navbar-light .navbar-nav .nav-link:hover::before,
.navbar-light .navbar-nav .nav-link.active::before {
    width: 100%;
}

.navbar-light .navbar-brand img {
    max-height: 50px;
    transition: .5s;
}

.sticky-top.navbar-light .navbar-brand img {
    max-height: 45px;
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 600;
    vertical-align: middle;
    margin-left: 8px;
}

@media (min-width: 1200px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        visibility: hidden;
        top: 100%;
        transform: rotateX(-75deg);
        transform-origin: 0% 0%;
        border: 0;
        border-radius: 10px;
        transition: .5s;
        opacity: 0;
    }
}

.dropdown .dropdown-menu a:hover {
    background: #3BA59C !important;
    color: var(--bs-white) !important;
}

.navbar .nav-item:hover .dropdown-menu {
    transform: rotateX(0deg);
    visibility: visible;
    background: var(--bs-light) !important;
    transition: .5s;
    opacity: 1;
}

@media (max-width: 991.98px) {
    .sticky-top.navbar-light {
        position: relative;
        background: var(--bs-white);
    }

    .navbar.navbar-expand-lg .navbar-toggler {
        padding: 10px 20px;
        border: 1px solid #3BA59C;
        color: #3BA59C;
    }

    .navbar-light .navbar-collapse {
        margin-top: 15px;
        border-top: 1px solid #DDDDDD;
    }

    .navbar-light .navbar-nav .nav-link,
    .sticky-top.navbar-light .navbar-nav .nav-link {
        padding: 10px 0;
        margin-left: 0;
        color: var(--bs-dark) !important;
    }

    .navbar-light .navbar-brand img {
        max-height: 45px;
    }
}

@media (min-width: 992px) {
    .navbar-light {
        position: absolute;
        width: 100%;
        top: 0;
        left: 0;
        border-bottom: 1px solid rgba(255, 255, 255, .1);
        z-index: 999;
    }
    
    .sticky-top.navbar-light {
        position: fixed;
        background: var(--bs-light) !important;
    }
    .navbar-light .navbar-nav .nav-link.nav-contact::before {
        display: none;
    }
}

/*** Carousel Hero Header Start ***/
.header-carousel-wrapper {
    position: relative;
    width: 100%;
    height: 700px;
    margin-top: 95px;
    overflow: hidden;
}

.header-video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.header-carousel {
    position: relative;
    z-index: 2;
    height: 100%;
}

.header-carousel .owl-nav .owl-prev {
    position: absolute;
    width: 60px;
    height: 60px;
    top: 50%;
    left: 20px;
    transform: translateY(-50%);
    border-radius: 60px;
    background: #3BA59C !important;
    color: var(--bs-white);
    font-size: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.5s;
    z-index: 3;
}

.header-carousel .owl-nav .owl-next {
    position: absolute;
    width: 60px;
    height: 60px;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    border-radius: 60px;
    background: #3BA59C !important;
    color: var(--bs-white);
    font-size: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.5s;
    z-index: 3;
}

.header-carousel .owl-nav .owl-prev,
.header-carousel .owl-nav .owl-next {
    transition: 0.5s;
}

.header-carousel .owl-nav .owl-prev:hover,
.header-carousel .owl-nav .owl-next:hover {
    box-shadow: inset 100px 0 0 0 #C4D82E !important;
    background: #C4D82E !important;
    color: #1D3540 !important;
}

@media (max-width: 576px) {
    .header-carousel-wrapper {
        height: 500px !important;
        margin-top: 0 !important;
    }
    
    .header-carousel .header-carousel-item {
        height: 500px !important;
    }
    
    .header-carousel .header-carousel-item .carousel-caption {
        height: 500px !important;
        padding: 40px 15px !important;
        align-items: flex-start !important;
        justify-content: center !important;
    }
    
    .header-carousel .header-carousel-item .carousel-caption .carousel-caption-content {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 !important;
    }
    
    .header-carousel .owl-nav .owl-prev,
    .header-carousel .owl-nav .owl-next {
        width: 40px !important;
        height: 40px !important;
        font-size: 18px !important;
        top: auto !important;
        bottom: 20px !important;
        transform: none !important;
    }
    
    .header-carousel .owl-nav .owl-prev {
        left: 15px !important;
    }
    
    .header-carousel .owl-nav .owl-next {
        right: 15px !important;
    }
 
}

.header-carousel .header-carousel-item {
    position: relative;
    width: 100%;
    height: 700px;
    display: block;
}

@media (max-width: 992px) {
    .header-carousel-wrapper {
        margin-top: 0;
        height: 600px;
    }
    
    .header-carousel .header-carousel-item {
        height: 600px;
    }
    
    .header-carousel .header-carousel-item .carousel-caption {
        padding: 60px 20px !important;
    }
    
    .header-carousel .header-carousel-item .carousel-caption .carousel-caption-content {
        width: 90% !important;
    }
}

@media (min-width: 992px) {
    .header-carousel .carousel-subtitle {
        max-width: 400px !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
}

@media (max-width: 768px) {
    .header-carousel-wrapper {
        height: 550px !important;
    }
    
    .header-carousel .header-carousel-item {
        height: 550px !important;
    }
    
    .header-carousel .header-carousel-item .carousel-caption {
        height: 550px !important;
        padding: 40px 15px 60px 15px !important;
        align-items: flex-start !important;
    }
    
    .header-carousel .carousel-caption-content {
        text-align: center !important;
        justify-content: flex-start !important;
        padding-top: 0 !important;
    }
    
    .header-carousel .carousel-subtitle {
        margin-bottom: 10px !important;
        margin-top: 0 !important;
    }
    
    .header-carousel .carousel-main-content {
        margin-top: auto;
        margin-bottom: auto;
    }
    
    .header-carousel .carousel-btn {
        max-width: 180px !important;
        width: 100% !important;
    }
}

@media (min-width: 992px) {
    .header-carousel .owl-nav .owl-prev,
    .header-carousel .owl-nav .owl-next {
        margin-top: 50px;
    }
}

.header-carousel .header-carousel-item .carousel-caption {
    width: 100%;
    height: 700px;
    position: absolute;
    top: 0;
    left: 0;
    padding: 100px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(29, 53, 64, 0.85) 0%, rgba(59, 165, 156, 0.55) 100%);
    backdrop-filter: blur(2px);
}

@media (max-width: 768px) {
    .header-carousel .header-carousel-item .carousel-caption {
        padding: 80px 0 60px 0;
        align-items: center;
    }
    
    .header-carousel .carousel-caption-content {
        text-align: center !important;
    }
}

.header-carousel .carousel-caption h1 {
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
    font-weight: 800;
}

.header-carousel .carousel-caption h4 {
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.2);
    font-weight: 700;
    background: rgba(196, 216, 46, 0.2);
    padding: 10px 25px;
    border-radius: 50px;
    display: inline-block;
    border: 2px solid rgba(196, 216, 46, 0.3);
}

.header-carousel .carousel-caption p {
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.3);
    font-size: 18px;
    line-height: 1.8;
    font-weight: 400;
}

@media (max-width: 992px) {
    .header-carousel .header-carousel-item .carousel-caption {
        height: 600px;
    }
}

.header-carousel .header-carousel-item .carousel-caption .carousel-caption-content {
    position: relative;
    width: 75%;
    
}
/*** Carousel Hero Header End ***/

/*** Mobile Top Margin Fix ***/
@media (max-width: 991.98px) {
    /* Remove top margin on mobile for page hero sections */
    .page-hero-section {
        margin-top: 0 !important;
    }
}


/*** Single Page Hero Header Start ***/
.bg-breadcrumb {
	position: relative;
	padding: 145px 0 50px 0;
    background: linear-gradient(rgba(59, 165, 156, 0.7), rgba(29, 53, 64, 0.8)), url(../img/breadcrumb.jpg);
    background-position: center top;
    background-repeat: no-repeat;
    background-attachment: fixed;
    
}

@media (max-width: 992px) {
    .bg-breadcrumb {
        padding-top: 50px;
    }

}
/*** Single Page Hero Header End ***/


/*** Counter Facts Start ***/

.counter-facts {
    background: linear-gradient(rgba(255, 255, 255, .8), rgba(255, 255, 255, 0.7)), url(../img/bg-counters.jpg);
    background-size: cover;
    background-attachment: fixed;
    background-position: center center;
    background-repeat: no-repeat;
}


.counter-facts .counter {
    position: relative;
    text-align: center;
    width: 200px;
    min-height: 215px;
    padding: 10px 15px;
    margin: 0 auto;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    background: white;
    transition: all 0.4s ease;
    border: 2px solid rgba(59, 165, 156, 0.1);
}

.counter-facts .counter:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: #3BA59C;
}

.counter-facts .counter:before {
    content: "";
    position: absolute;
    height: 105px;
    width: 100%;
    left: 0;
    top: 0;
    border-radius: 18px 18px 0 0;
    background: var(--gradient-primary);
    
}
.counter-facts .counter .counter-icon {
    position: relative;
    width: 120px;
    height: 100px;
    border-radius: 10px 10px 0 0;
    font-size: 50px;
    line-height: 90px;
    color: #3BA59C !important;
    display: flex;
    
}

.counter-facts .counter h3 {
    color: var(--bs-white);
    font-size: 17px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin: 0 0 5px 0;
    display: flex;
}
.counter-facts .counter .counter-value {
    font-size: 30px;
    font-weight: 700;
    display: block;
    color: #C4D82E !important;
}

@media screen and (max-width: 1200px) {
    .counter-facts .counter { margin-bottom: 40px; 
    }
}
/*** Counter Facts End ***/


/*** Training Start ***/
.training-carousel .owl-stage-outer {
    margin-top: 30px;
}

.training-carousel .owl-nav .owl-prev,
.training-carousel .owl-nav .owl-next {
    position: absolute;
    top: 0;
    padding: 10px 35px;
    border: 1px solid #C4D82E;
    color: #1D3540;
    background: #C4D82E !important;
    border-radius: 50px;
    transition: 0.5s;
}

.training-carousel .owl-nav .owl-prev {
    left: 0 !important;
}

.training-carousel .owl-nav .owl-next {
    right: 0;
}

.training-carousel .owl-nav .owl-prev:hover,
.training-carousel .owl-nav .owl-next:hover {
    box-shadow: inset 300px 0 0 0 #3BA59C !important;
    background: #3BA59C !important;
    color: var(--bs-white) !important;
}

.training .training-item .training-img {
    position: relative;
    overflow: hidden;
    transition: 0.5s;
}

.training .training-item .training-img img {
    transition: 0.5s;
}

.training .training-item:hover .training-img img {
    transform: scale(1.2);
}
/*** Training End ***/



/*** Dance Class Start ***/
.class-carousel .owl-stage-outer {
    margin-top: 30px;
}

.class-carousel .owl-nav .owl-prev,
.class-carousel .owl-nav .owl-next {
    position: absolute;
    top: 0;
    padding: 10px 35px;
    border: 1px solid #C4D82E;
    color: #1D3540;
    background: #C4D82E !important;
    border-radius: 50px;
    transition: 0.5s;
}

.class-carousel .owl-nav .owl-prev {
    left: 0 !important;
}

.class-carousel .owl-nav .owl-next {
    right: 0;
}

.class-carousel .owl-nav .owl-prev:hover,
.class-carousel .owl-nav .owl-next:hover {
    box-shadow: inset 300px 0 0 0 #3BA59C !important;
    background: #3BA59C !important;
    color: var(--bs-white) !important;
}

.class .class-item .class-img {
    position: relative;
    overflow: hidden;
    transition: 0.5s;
}

.class .class-item .class-img img {
    transition: 0.5s;
}

.class .class-item:hover .class-img img {
    transform: scale(1.3);
}
/*** Dance Class End ***/


/*** Uniform Card Sizing ***/
.class .class-item,
.events .event-item,
.training .training-item,
.blog .blog-item {
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(59, 165, 156, 0.08);
    background: #ffffff;
}

.class .class-item:hover,
.events .event-item:hover,
.training .training-item:hover,
.blog .blog-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(59, 165, 156, 0.15);
    border-color: rgba(59, 165, 156, 0.3);
}

.class .class-item .rounded-bottom,
.events .event-item .border,
.training .training-item .rounded-bottom,
.blog .blog-item .bg-light {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.class .class-item .rounded-bottom p,
.events .event-item .border p,
.training .training-item .rounded-bottom p,
.blog .blog-item .bg-light p {
    flex-grow: 1;
    margin-bottom: 0;
}

/* Ensure consistent card content spacing */
.class .class-item .rounded-bottom {
    justify-content: space-between;
}

.class .class-item .rounded-bottom .h4 {
    flex-shrink: 0;
    margin-bottom: 0.75rem;
}

.class .class-item .rounded-bottom p {
    flex-grow: 1;
    margin-bottom: 1rem;
    overflow: hidden;
}

.class .class-item .rounded-bottom .btn {
    flex-shrink: 0;
    margin-top: auto;
}

/* Ensure consistent image heights */
.class .class-item .class-img img,
.events .event-item img,
.training .training-item .training-img img {
    height: 250px;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    width: 100%;
}

.class .class-item:hover .class-img img,
.events .event-item:hover img,
.training .training-item:hover .training-img img {
    transform: scale(1.08);
}

/* Professional image overlay effects */
.class .class-item .class-img,
.training .training-item .training-img,
.events .event-item .position-relative {
    position: relative;
    overflow: hidden;
}

.class .class-item .class-img::after,
.training .training-item .training-img::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(29, 53, 64, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.class .class-item:hover .class-img::after,
.training .training-item:hover .training-img::after {
    opacity: 1;
}

/* Modern Card Titles */
.class .class-item h4,
.events .event-item h4,
.training .training-item h4,
.blog .blog-item h4,
.class .class-item .h4,
.events .event-item .h4,
.training .training-item .h4,
.blog .blog-item .h4 {
    color: #1D3540;
    font-weight: 700;
    transition: color 0.3s ease;
    line-height: 1.4;
}

.class .class-item:hover h4,
.events .event-item:hover h4,
.training .training-item:hover h4,
.blog .blog-item:hover h4,
.class .class-item:hover .h4,
.events .event-item:hover .h4,
.training .training-item:hover .h4,
.blog .blog-item:hover .h4 {
    color: #3BA59C;
}

/* Equal height for event items */
.events .event-item {
    min-height: 550px;
}

.events .event-item .border {
    min-height: 250px;
}

/* Equal height for class/course items - Fixed size for all cards */
.class .class-item {
    height: 550px;
    min-height: 550px;
    max-height: 550px;
    display: flex;
    flex-direction: column;
}

.class .class-item .class-img {
    height: 250px;
    min-height: 250px;
    max-height: 250px;
    flex-shrink: 0;
}

.class .class-item .class-img img {
    height: 250px;
    min-height: 250px;
    max-height: 250px;
    width: 100%;
    object-fit: cover;
}

.class .class-item .rounded-bottom {
    height: 300px;
    min-height: 300px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    flex-shrink: 0;
}

/* Ensure all class items in carousel have same height */
.class-carousel .owl-stage {
    display: flex;
    align-items: stretch;
}

.class-carousel .owl-item {
    display: flex;
    height: 550px;
    align-items: stretch;
}

.class-carousel .owl-item > div {
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
}

.class-carousel .class-item {
    height: 550px !important;
    min-height: 550px !important;
    max-height: 550px !important;
}

/* Equal height for training items */
.training .training-item {
    min-height: 520px;
}

.training .training-item .rounded-bottom {
    min-height: 220px;
}

/* Professional Card Content Styling */
.training .training-item .rounded-bottom,
.class .class-item .rounded-bottom,
.blog .blog-item .rounded-bottom {
    padding: 1.75rem;
}

.training .training-item .rounded-bottom h4,
.class .class-item .rounded-bottom h4,
.blog .blog-item .rounded-bottom h4 {
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 0.75rem;
    color: #1D3540;
    transition: color 0.3s ease;
}

.training .training-item:hover .rounded-bottom h4,
.class .class-item:hover .rounded-bottom h4,
.blog .blog-item:hover .rounded-bottom h4 {
    color: #3BA59C;
}

.training .training-item .rounded-bottom p,
.class .class-item .rounded-bottom p,
.blog .blog-item .rounded-bottom p {
    color: #6c757d;
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 1.25rem;
}

/* Professional Testimonial Cards */
.testimonial-item {
    background: #ffffff;
    border: 1px solid rgba(59, 165, 156, 0.1) !important;
    border-radius: 20px;
    padding-top: 60px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.testimonial-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 32px rgba(59, 165, 156, 0.15);
    border-color: rgba(59, 165, 156, 0.3) !important;
}

.testimonial-item .quote-icon {
    font-size: 36px;
    color: #3BA59C;
    opacity: 0.15;
    margin-bottom: 0.5rem;
}

.testimonial-item h5 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1D3540;
}

.testimonial-item .text-muted {
    color: #6c757d !important;
    font-size: 0.9rem;
}

/* Professional Event Cards */
.events .event-item {
    border: 1px solid rgba(59, 165, 156, 0.08);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.events .event-item:hover {
    box-shadow: 0 12px 40px rgba(59, 165, 156, 0.15);
}

.events .event-item .rounded-bottom h4 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1D3540;
    transition: color 0.3s ease;
}

.events .event-item:hover .rounded-bottom h4 {
    color: #3BA59C;
}

.events .event-item .rounded-bottom p {
    color: #6c757d;
    font-size: 0.95rem;
    line-height: 1.7;
}

/* Professional Blog Cards */
.blog .blog-item .bg-light {
    background: #ffffff !important;
    border-top: 1px solid rgba(59, 165, 156, 0.08);
}

.blog .blog-item .rounded-bottom h4 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1D3540;
    transition: color 0.3s ease;
}

.blog .blog-item:hover .rounded-bottom h4 {
    color: #3BA59C;
}

.blog .blog-item .rounded-bottom p {
    color: #6c757d;
    font-size: 0.95rem;
    line-height: 1.7;
}

/* Button Outlines for Professional Look */
.btn-outline-primary {
    border: 2px solid #3BA59C;
    color: #3BA59C;
    background: transparent;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    background: #3BA59C;
    color: #ffffff;
    border-color: #3BA59C;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59, 165, 156, 0.3);
}
/*** Uniform Card Sizing End ***/


/*** Blog Start ***/
.blog-carousel .owl-stage-outer {
    margin-top: 30px;
}

.blog-carousel .owl-nav .owl-prev,
.blog-carousel .owl-nav .owl-next {
    position: absolute;
    top: 1px;
    padding: 10px 35px;
    border: 1px solid #C4D82E;
    color: #1D3540;
    background: #C4D82E !important;
    border-radius: 50px;
    transition: 0.5s;
}

.blog-carousel .owl-nav .owl-prev {
    left: 0 !important;
}

.blog-carousel .owl-nav .owl-next {
    right: 0;
}

.blog-carousel .owl-nav .owl-prev:hover,
.blog-carousel .owl-nav .owl-next:hover {
    box-shadow: inset 300px 0 0 0 #3BA59C !important;
    background: #3BA59C !important;
    color: var(--bs-white) !important;
}

.blog .blog-item .blog-img {
    position: relative;
    overflow: hidden;
    transition: 0.5s;
}

.blog .blog-item .blog-img img {
    transition: 0.5s;
}

.blog .blog-item:hover .blog-img img {
    transform: scale(1.08);
}

/* Equal height for blog items - Fixed size for all cards */
.blog .blog-item {
    height: 550px;
    min-height: 550px;
    max-height: 550px;
    display: flex;
    flex-direction: column;
}

.blog .blog-item .blog-img {
    height: 250px;
    min-height: 250px;
    max-height: 250px;
    flex-shrink: 0;
    overflow: hidden;
}

.blog .blog-item .blog-img img {
    height: 250px;
    min-height: 250px;
    max-height: 250px;
    width: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.blog .blog-item .rounded-bottom {
    height: 300px;
    min-height: 300px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    flex-shrink: 0;
}

/* Ensure all blog items in carousel have same height */
.blog-carousel .owl-stage {
    display: flex;
    align-items: stretch;
}

.blog-carousel .owl-item {
    display: flex;
    height: 550px;
    align-items: stretch;
}

.blog-carousel .owl-item > div {
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
}

.blog-carousel .blog-item {
    height: 550px !important;
    min-height: 550px !important;
    max-height: 550px !important;
}

/* Ensure consistent blog card content spacing */
.blog .blog-item .rounded-bottom {
    justify-content: space-between;
}

.blog .blog-item .rounded-bottom .h4 {
    flex-shrink: 0;
    margin-bottom: 0.75rem;
}

.blog .blog-item .rounded-bottom p {
    flex-grow: 1;
    margin-bottom: 1rem;
    overflow: hidden;
}

.blog .blog-item .rounded-bottom .btn {
    flex-shrink: 0;
    margin-top: auto;
}
/*** Blog End ***/

/*** Team Start ***/
.team-carousel .owl-stage-outer {
    margin-top: 30px;
}
.team-carousel .owl-nav .owl-prev,
.team-carousel .owl-nav .owl-next {
    position: absolute;
    top: 1px;
    padding: 10px 35px;
    border: 1px solid #C4D82E;
    color: #1D3540;
    background: #C4D82E !important;
    border-radius: 50px;
    transition: 0.5s;
}

.team-carousel .owl-nav .owl-prev {
    left: 0 !important;
}

.team-carousel .owl-nav .owl-next {
    right: 0;
}

.team-carousel .owl-nav .owl-prev:hover,
.team-carousel .owl-nav .owl-next:hover {
    box-shadow: inset 300px 0 0 0 #3BA59C !important;
    background: #3BA59C !important;
    color: var(--bs-white) !important;
}

.team .team-carousel .team-item .team-img {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 100%;
}

.team .team-carousel .team-item .team-img::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* background: rgba(0, 0, 0, .5); */
    transition: 0.5s;
    z-index: 2;
}

.team .team-carousel .team-item .team-img .team-icon {
    position: absolute;
    bottom: -100%;
    left: 50%;
    transform: translateX(-50%);
    padding: 25px;
    display: flex;
    opacity: 0;
    transition: 0.5s;
    z-index: 3;
}

.team .team-carousel .team-item:hover .team-img .team-icon {
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    opacity: 1;
}

.team .team-carousel .team-item .team-content {
    position: relative;
    background: #C4D82E !important;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    z-index: 1;
    transition: 0.5s;
}

.team .team-carousel .team-item .team-content::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0;
    background: #3BA59C !important;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    transition: 0.5s;
    z-index: -1;
}

.team .team-carousel .team-item:hover .team-content a,
.team .team-carousel .team-item:hover .team-content p {
    color: var(--bs-white) !important;
}

.team .team-carousel .team-item:hover .team-content::after {
    height: 100% !important;
}

.team .team-carousel .team-item .team-img img {
    transition: 0.5s;
}

.team .team-carousel .team-item:hover .team-img img {
    transform: scale(1.1);
}
/*** Team End ***/


/*** Vidie Gallery Start ***/
/*** Youtube Video start ***/
.gallery .tab-class {
    text-align: start !important;
}

.gallery .nav-item {
    align-items: center;
    justify-content: center;
    margin-right: 20px;
}

.gallery .nav-item a span {
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery .nav-item a.active {
    background: #3BA59C !important;
}

.gallery .nav-item a.active span {
    color: var(--bs-white) !important;
}


.video {
    position: relative;
}

.video .btn-play {
    position: absolute;
    z-index: 3;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    box-sizing: content-box;
    display: block;
    width: 23px;
    height: 44px;
    border-radius: 50%;
    transition: 0.5s;
    

}

.video .btn-play:before {
    content: "";
    position: absolute;
    z-index: 0;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    display: block;
    width: 70px;
    height: 70px;
    background: var(--bs-white);
    border-radius: 50%;
    animation: pulse-border 1500ms ease-out infinite;
    transition: 0.5s;
}

.video .btn-play:after {
    content: "";
    position: absolute;
    z-index: 1;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    display: block;
    width: 50px;
    height: 50px;
    background: #C4D82E !important;
    border-radius: 50%;
    transition: all 300ms;
}

.video .btn-play span {
    display: block;
    position: relative;
    z-index: 3;
    width: 0;
    height: 0;
    border-left: 23px solid #3BA59C;
    border-top: 12px solid transparent;
    border-bottom: 12px solid transparent;
    margin-left: 5px;
}

@keyframes pulse-border {
    0% {
        transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1);
        opacity: 1;
    }

    100% {
        transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1.5);
        opacity: 0;
    }
}

#videoModal {
    z-index: 99999;
}

#videoModal .modal-dialog {
    position: relative;
    max-width: 800px;
    margin: 60px auto 0 auto;
}

#videoModal .modal-body {
    position: relative;
    padding: 0px;
}

#videoModal .close {
    position: absolute;
    width: 30px;
    height: 30px;
    right: 0px;
    top: -30px;
    z-index: 999;
    font-size: 30px;
    font-weight: normal;
    color: #ffffff;
    background: #000000;
    opacity: 1;
}
/*** Youtube Video End ***/

/*** Vidieo Gallery End ***/

/*** Testimonial Start ***/
.testimonial-carousel .owl-stage-outer {
    margin-top: 30px;
}
.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    position: absolute;
    top: 1px;
    padding: 10px 35px;
    border: 1px solid #C4D82E;
    color: #1D3540;
    background: #C4D82E !important;
    border-radius: 50px;
    transition: 0.5s;
}

.testimonial-carousel .owl-nav .owl-prev {
    left: 0 !important;
}

.testimonial-carousel .owl-nav .owl-next {
    right: 0;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    box-shadow: inset 300px 0 0 0 #3BA59C !important;
    background: #3BA59C !important;
    color: var(--bs-white) !important;
}

.testimonial .testimonial-item .fas.fa-star.text-secondary {
    color: #C4D82E !important;
}
/*** Testimonial End ***/


/*** Contact Start ***/
.contact button.btn.btn-primary.w-100:hover {
    box-shadow: inset 700px 0 0 0 #C4D82E !important;
    background: #C4D82E !important;
    color: #1D3540 !important;
}
/*** Contact End ***/


/*** Footer Start ***/
.footer {
    background: linear-gradient(135deg, #1D3540 0%, #2a4a57 100%) !important;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
}

.footer .footer-item .footer-link {
    line-height: 30px;
    color: var(--bs-white);
    transition: 0.5s;
}

.footer .footer-item .footer-link:hover {
    letter-spacing: 1px;
    color: #3BA59C !important;
}
/*** Footer End ***/

/*** copyright Start ***/
.copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: #1D3540 !important;
}
/*** copyright end ***/

/* Additional Athena Edge Global Theme Enhancements */
.text-primary {
    color: #3BA59C !important;
}

.text-secondary {
    color: #C4D82E !important;
}

.bg-primary {
    background-color: #3BA59C !important;
}

.bg-secondary {
    background-color: #C4D82E !important;
}

.bg-dark {
    background-color: #1D3540 !important;
}

.border-primary {
    border-color: #3BA59C !important;
}

.border-secondary {
    border-color: #C4D82E !important;
}

/* Team Carousel Responsive Styles */
.team-carousel {
    width: 100% !important;
}

.team-carousel .team-item {
    display: flex;
    flex-direction: column;
}

/* Desktop 2-column layout */
@media (min-width: 768px) {
    .team-carousel {
        display: flex !important;
        justify-content: center !important;
        align-items: stretch !important;
        gap: 30px !important;
        flex-wrap: wrap !important;
        max-width: 1000px !important;
        margin: 0 auto !important;
    }

    .team-carousel .team-item {
        flex: 0 1 calc(50% - 15px) !important;
        max-width: 450px !important;
        min-width: 350px !important;
        margin: 0 !important;
    }
}

/* Mobile 1-column carousel with navigation */
@media (max-width: 767px) {
    .team-carousel {
        display: block !important;
    }

    .team-carousel .team-item {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 100% !important;
        margin: 0 auto !important;
        display: flex !important;
        flex-direction: column !important;
    }

    /* Show navigation dots on mobile */
    .team-carousel .owl-dots {
        display: flex !important;
        justify-content: center !important;
        margin-top: 20px;
    }

    .team-carousel .owl-dots .owl-dot {
        background: #ddd !important;
        border-radius: 50% !important;
        width: 10px !important;
        height: 10px !important;
        margin: 0 5px !important;
        cursor: pointer !important;
    }

    .team-carousel .owl-dots .owl-dot.active {
        background: #3BA59C !important;
    }

    /* Show navigation arrows on mobile */
    .team-carousel .owl-nav {
        display: flex !important;
        justify-content: center !important;
        gap: 10px !important;
        margin-bottom: 15px !important;
        z-index: 10 !important;
    }

    .team-carousel .owl-nav button {
        background: #3BA59C !important;
        color: white !important;
        border: none !important;
        width: 40px !important;
        height: 40px !important;
        border-radius: 50% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        cursor: pointer !important;
        transition: all 0.3s ease !important;
    }

    .team-carousel .owl-nav button:hover {
        background: rgba(59, 165, 156, 0.8) !important;
    }
}