/*******************************/
/********* General CSS *********/
/*******************************/
body {
    color: #CED4DA;
    background: #FAFAFA;
    font-family: 'Roboto', sans-serif;
    /*font-family: 'Montserrat', sans-serif;*/
}

h1,
h2, 
h3, 
h4,
h5, 
h6 {
    color: #27390b;
}

a {
    color: #0f2506;
    transition: .3s;
}

a:hover,
a:active,
a:focus {
    color: #082c0b;
    outline: none;
    text-decoration: none;
}

.btn:focus,
.form-control:focus {
    box-shadow: none;
}

.container-fluid {
    max-width: 1366px;
}

.back-to-top {
    position: fixed;
    display: none;
    background: #F7CAC9;
    width: 44px;
    height: 44px;
    text-align: center;
    line-height: 1;
    font-size: 22px;
    right: 15px;
    bottom: 15px;
    transition: background 0.5s;
    z-index: 9;
}

.back-to-top:hover {
    background: #343148;
}

.back-to-top:hover i {
    color: #F7CAC9;
}

.back-to-top i {
    color: #343148;
    padding-top: 10px;
}

/* WhatsApp Floating Button Styles */
.whatsapp-float {
    position: fixed;
    bottom: 10px;
    right: 70px;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    border-radius: 50%;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.2);
}

.whatsapp-icon {
    width: 35px;
    height: 35px;
    display: block;
    filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.2));
}

/**********************************/
/********** Top Bar CSS ***********/
/**********************************/
.top-bar {
    position: relative;
    height: 35px;
    background: linear-gradient(135deg, rgba(1, 14, 7, 0.808), rgba(23, 37, 6, 0.966));

}

.top-bar .top-bar-left {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.top-bar .top-bar-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.top-bar .text {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: row;
    height: 35px;
    padding: 0 10px;
    text-align: center;
    border-left: 1px solid rgba(255, 255, 255, .15);
}

.top-bar .text:last-child {
    border-right: 1px solid rgba(255, 255, 255, .15);
}

.top-bar .text i {
    font-size: 13px;
    color: #ffffff;
    margin-right: 5px;
}

.top-bar .text h2 {
    color: #eeeeee;
    font-weight: 400;
    font-size: 13px;
    letter-spacing: 1px;
    margin: 0;
}

.top-bar .text p {
    color: #eeeeee;
    font-size: 14px;
    font-weight: 400;
    margin: 0 0 0 5px;
}

.top-bar .social {
    display: flex;
    height: 35px;
    font-size: 0;
    justify-content: flex-end;
}

.top-bar .social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 100%;
    font-size: 16px;
    color: #ffffff;
    border-right: 1px solid rgba(255, 255, 255, .15);
}

.top-bar .social a:first-child {
    border-left: 1px solid rgba(255, 255, 255, .15);
}

.top-bar .social a:hover {
    color: #092a49;
    background: #ffffff;
}

@media (min-width: 992px) {
    .top-bar {
        padding: 0 60px;
    }
}


/**********************************/
/*********** Nav Bar CSS **********/
/**********************************/
.navbar {
    position: relative;
    transition: .5s;
    z-index: 999;
}


.navbar-brand .logo {
    height:80px; /* Set height */
    width: 80px; /* Maintain aspect ratio */
    
}

.logo-animation {
    position: absolute;
    top: 50%;
    left: 9%;
    transform: translate(-50%, -50%);
    width: 60px; /* Adjust size of animation */
    height: 60px;
    background: radial-gradient(circle, rgba(0, 15, 1, 0.919), rgba(89, 98, 88, 0.051));
    border-radius: 50%;
    animation: glow 4s infinite ease-in-out;
    z-index: -1; /* Keeps the animation behind the logo */
}

/* Glow animation */
@keyframes glow {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.7;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 1;
    }
    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.7;
    }
}


.navbar.nav-sticky {
    position: fixed;
    top: 0;
    width: 100%;
    box-shadow: 0 2px 5px rgba(8, 27, 5, 0.3);
}

.navbar.nav-green {
    background: #57ef92 !important; /* Green color when passing hero section */
}

.navbar .navbar-brand {
    margin: 0;
    color: #e8edc0;
    font-size: 45px;
    line-height: 0px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: .5s;
}

.navbar .navbar-brand span {
    color: #57ef92;
    text-transform: lowercase;
    transition: .5s;
}

.navbar.nav-sticky .navbar-brand span {
    color: #ffffff;
}

.navbar .navbar-brand img {
    max-width: 100%;
    max-height: 40px;
}

.navbar-dark .navbar-nav .nav-link,
.navbar-dark .navbar-nav .nav-link:focus,
.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link.active {
    padding: 10px 10px 8px 10px;
    color: #ffffff;
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link.active {
    background: rgba(256, 256, 256, .1);
    transition: none;
}

.navbar .dropdown-menu {
    margin-top: 0;
    border: 0;
    border-radius: 0;
    background: #f8f9fa;
}

@media (min-width: 992px) {
    .navbar {
        position: absolute;
        width: 100%;
        top: 35px;
        padding: 20px 60px;
        background: rgba(2, 38, 10, 0.049) !important;
        z-index: 9;
    }
    
    .navbar.nav-sticky {
        padding: 10px 60px;
        background: #061c0abc !important;
    }
    
    .navbar a.nav-link {
        padding: 8px 15px;
        font-size: 14px;
        letter-spacing: 1px;
        text-transform: uppercase;
    }
}

@media (max-width: 991.98px) {   
    .navbar {
        padding: 15px;
        background: #011b0b !important;
    }
    
    
    .navbar .navbar-brand span {
        color: #ffffff;
    }
    
    .navbar a.nav-link {
        padding: 5px;
    }
    
    .navbar .dropdown-menu {
        box-shadow: none;
    }
}


/**********************************/
/*********** hero section CSS **********/
/**********************************/

@import url('https://fonts.googleapis.com/css2?family=Lora:wght@400;700&family=Poppins:wght@400;600&display=swap');

.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    padding: 90px 0;
    overflow: hidden;
    color: #ffffff;
    font-family: 'Lora', serif;
}

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

.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.35); /* Dark overlay for readability */
    z-index: 0;
}

.hero .container-fluid {
    padding: 0;
    z-index: 1;
    position: relative;
    top: 18%;
    right: 3%;
    
}

.hero .hero-text {
    max-width: 670px;
    padding-left: 75px;
    color: #ffffff;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    font-family: 'Cormorant Garamond', serif;

}

.hero .hero-text h1 {
    font-size: 44px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #e6ebf1d5;
}

.hero .hero-text p {
    color: #d1e8d1dd;
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 30px;
    max-width: 500px;
}

.hero .hero-btn .btn {
    padding: 12px 30px;
    font-size: 15px;
    font-weight: 600;
    color: #fffffffc;
    background: linear-gradient(135deg, #134921, #feb47b);
    border: none;
    border-radius: 25px;
    transition: all 0.3s ease;
    margin-right: 15px;
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.2);
}

.hero .hero-btn .btn:hover {
    color: #314304f5;
    background: #ffffffb1;
    box-shadow: 0px 4px 15px rgba(255, 126, 95, 0.3);
}

.hero .hero-image img {
    max-width: 100%;
    height: auto;
    transition: transform 0.3s ease;
}

.hero .hero-image img:hover {
    transform: scale(1.05); /* Subtle zoom effect */
}

/* Highlight "Sri Lanka" */
.highlight {
    color: #ff5733; /* Vibrant color for attraction */
    font-weight: bold;
    position: relative;
    display: inline-block;
}

/* Add animation */
.highlight::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(to right, #ff5733, #f4d03f);
    animation: underline 5s infinite;
}

/* Keyframe for underline animation */
@keyframes underline {
    0% {
        width: 0;
    }
    50% {
        width: 100%;
    }
    100% {
        width: 0;
    }
}

/* Responsive Styles */
@media (max-width: 991.98px) {
    .hero .hero-text h1 {
        font-size: 40px;
    }
    .hero .hero-text p {
        font-size: 18px;
    }
}

@media (max-width: 767.98px) {
    .hero .hero-text {
        padding: 0 15px;
        text-align: center;
    }
    .hero .hero-text h1 {
        font-size: 35px;
    }
    .hero .hero-text p {
        font-size: 16px;
    }
    .hero .hero-btn {
        text-align: center;
    }
}

@media (max-width: 575.98px) {
    .hero .hero-text h1 {
        font-size: 28px;
    }
    .hero .hero-text p {
        font-size: 14px;
    }
    .hero .hero-btn .btn {
        padding: 10px 20px;
        font-size: 13px;
    }
    .hero .container-fluid {
        right: 0%;
        top: 50%;
    }
}



/*******************************/
/******* Page Header CSS *******/
/*******************************/
.page-header {
    position: relative;
    margin-bottom: 45px;
    text-align: center;
    background: #fbfffcfe;
    width: 100%;
    padding: 150px 0; /* Adjust padding as needed */
    color: #fff; /* Text color to ensure readability over the background */
    background-image: url('https://images.unsplash.com/photo-1534096210335-a3b961613bb5?q=80&w=2070&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D'); /* Replace with your image URL */
    background-size: cover; /* Makes the background cover the entire section */
    background-position: center 10%; /* Centers the image */
    background-attachment: fixed; /* Optional: Creates a parallax effect */
    background-repeat: no-repeat; /* Prevents the image from repeating */
    filter: brightness(60%); /* Reduce brightness */
    
}
.page-header::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.3); /* Adds a semi-transparent black overlay */
    z-index: -1; /* Ensures the overlay is behind the content */
}

.page-header h2 {
    position: relative;
    color: #97ec5e;
    font-size: 60px;
    font-weight: 700;
    z-index: 1;
}

.page-header a {
    position: relative;
    padding: 0 12px;
    font-size: 22px;
    color: #54f061;
    z-index: 1;
}

.page-header a:hover {
    color: #ffffff;
}

.page-header a::after {
    position: absolute;
    content: "/";
    width: 8px;
    height: 8px;
    top: -2px;
    right: -7px;
    text-align: center;
    color: #47e96a;
}

.page-header a:last-child::after {
    display: none;
}

@media (max-width: 767.98px) {
    .page-header h2 {
        font-size: 35px;
    }
    
    .page-header a {
        font-size: 18px;
    }
}


/*******************************/
/******* Section Header ********/
/*******************************/
.section-header {
    position: relative;
    max-width: 600px;
    margin: 0 auto;
    margin-bottom: 45px;
}

.section-header p {
    display: inline-block;
    margin: 0 30px;
    margin-bottom: 5px;
    padding: 0 10px;
    position: relative;
    font-size: 16px;
    font-weight: 600;
    background: linear-gradient(135deg, #1c5e18, #73a872);
}

.section-header p::after {
    position: absolute;
    content: "";
    height: 2px;
    top: 11px;
    right: -30px;
    left: -30px;
    background: #33ea7c;
    z-index: -1;
}

.section-header h2 {
    margin: 0;
    position: relative;
    font-size: 40px;
    font-weight: 700;
}

@media (max-width: 767.98px) {
    .section-header h2 {
        font-size: 30px;
    }
}

/*******************************/
/********** About Section *******/
/*******************************/
.about {
    padding: 60px 20px;
    background: linear-gradient(to bottom right, #e8f5e9, #ffffff);
    font-family: 'Poppins', sans-serif;
}

/* Section Header */
.about .section-header {
    margin-bottom: 30px;
}

.about .section-header p {
    font-size: 14px;
    font-weight: 600;
    color: #154412;
    text-transform: uppercase;
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.about .section-header h2 {
    font-size: 36px;
    font-weight: bold;
    color: #082c0b;
    margin-bottom: 20px;
}

/* About Image Collage */
.about .about-img {
    position: relative;
    display: grid;
    grid-template-areas:
        "main main"
        "left right";
    gap: 15px;
    margin-bottom: 20px;
}

.about-img.collage {
    grid-template-areas:
        "main main"
        "left right";
}

.about-img .collage-item {
    overflow: hidden;
    border-radius: 12px;
    position: relative;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.about-img .collage-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.about-img .collage-item:nth-child(1) {
    grid-area: main;
    height: 300px;
}

.about-img .collage-item:nth-child(2) {
    grid-area: left;
    height: 200px;
}

.about-img .collage-item:nth-child(3) {
    grid-area: right;
    height: 200px;
}

.about-img .collage-item:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    z-index: 1;
}

/* About Text */
.about .about-text {
    margin-top: 15px;
}

.about .about-text p {
    font-size: 16px;
    line-height: 1.8;
    color: #082c0b;
    margin-bottom: 15px;
}
.about .btn {
    padding: 12px 30px;
    font-size: 15px;
    font-weight: 600;
    color: #fffffffc;
    background: linear-gradient(135deg, #134921, #feb47b);
    border: none;
    border-radius: 25px;
    transition: all 0.3s ease;
    margin-right: 15px;
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.2);
}
/* Qualifications List Enhancement */
.about-list {
    margin-top: 30px;
}

.qualification {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 20px;
    transition: all 0.3s ease;
    border: 1px solid rgba(45, 106, 79, 0.1);
}

.qualification:hover {
    transform: translateX(15px);
    background: #ffffff;
    box-shadow: 0 10px 20px rgba(27, 67, 50, 0.1);
    border-color: rgba(45, 106, 79, 0.2);
}

.qualification .icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(45, 106, 79, 0.1);
    border-radius: 12px;
    color: #2d6a4f;
    font-size: 24px;
    transition: all 0.3s ease;
}

.qualification:hover .icon {
    background: #2d6a4f;
    color: #ffffff;
    transform: rotate(360deg);
}

.qualification .details {
    flex: 1;
    color: #1c5e18;
}

.qualification .details strong {
    display: block;
    color: #1b4332;
    font-size: 18px;
    margin-bottom: 5px;
}
/* General Styles for qualification-picture */
.qualification-picture {
    display: grid;
    grid-template-areas:
        "main main"
        "left right"
        "extra1 extra2";
    gap: 15px;
}

.qualification-picture .collage-item {
    overflow: hidden;
    border-radius: 12px;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    position: relative;
    height: 200px;
}

.qualification-picture .collage-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.qualification-picture .collage-item:hover img {
    transform: scale(1.1);
}

.qualification-picture .collage-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

/* Layout-specific styles */
.qualification-picture .main {
    grid-area: main;
    height: 300px;
}

.qualification-picture .left {
    grid-area: left;
}

.qualification-picture .right {
    grid-area: right;
}

.qualification-picture .extra1 {
    grid-area: extra1;
}

.qualification-picture .extra2 {
    grid-area: extra2;
}

/* Responsive Adjustments */

/* Mobile Devices and Tablets */
@media (max-width: 768px) {
    .qualification-picture {
        grid-template-areas:
            "main"; /* Only show the main image */
    }

    .qualification-picture .collage-item {
        height: 150px;
    }

    /* Hide other items on mobile */
    .qualification-picture .left,
    .qualification-picture .right,
    .qualification-picture .extra1,
    .qualification-picture .extra2 {
        display: none;
    }

    /* Adjust Font Size for Smaller Screens */
    .qualification .icon {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }

    .qualification .details strong {
        font-size: 16px;
    }

    .qualification .details p {
        font-size: 14px;
    }
}

/* Larger Tablets and Small Desktop */
@media (max-width: 1024px) {
    .qualification-picture {
        grid-template-areas:
            "main main"
            "left right"
            "extra1 extra2";
    }

    .qualification-picture .collage-item {
        height: 200px;
    }

    /* Adjust Font Size for Medium Screens */
    .qualification .icon {
        width: 45px;
        height: 45px;
        font-size: 22px;
    }

    .qualification .details strong {
        font-size: 17px;
    }

    .qualification .details p {
        font-size: 15px;
    }
}

/* Desktop Devices */
@media (min-width: 1025px) {
    /* Keep the default grid layout */
    .qualification-picture {
        grid-template-areas:
            "main main"
            "left right"
            "extra1 extra2";
    }

    .qualification-picture .collage-item {
        height: 200px;
    }

    /* Adjust Icon and Font Size for Desktop */
    .qualification .icon {
        width: 50px;
        height: 50px;
        font-size: 24px;
    }

    .qualification .details strong {
        font-size: 18px;
    }

    .qualification .details p {
        font-size: 16px;
    }
}

/* Importing Google Fonts for Modern Typography */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;700&display=swap');

/* Common Styles for Both Sections */
.teaching-experiences
 {
    background: linear-gradient(145deg, #ffffff, #f9f9f9);
    border-radius: 20px;
    padding: 40px;
    margin: 40px 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    font-family: 'Roboto', sans-serif;
}

/* Title and Subheading Styling */
.teaching-experiences h3
 {
    color: #2c6b47;
    font-size: 30px;
    font-weight: 700;
    margin-bottom: 25px;
    text-transform: uppercase;
    position: relative;
    padding-bottom: 15px;
}

.teaching-experiences h3::after
 {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 70px;
    height: 4px;
    background: #ffffff;
}

.teaching-experiences p
 {
    color: #555;
    font-size: 26px;
    line-height: 1.8;
    margin-bottom: 15px;
    text-align: justify;
}

/* Service Cards Layout */
.yoga-services {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 20px;
}

/* Service Card Styling */
.yoga-service {
    display: flex;
    align-items: center;
    background-color: #ffffff;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: left;
}

.yoga-service:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* Icon Styling */
.material-icons {
    font-size: 40px;
    color: #39b54a;
    margin-right: 20px;
}

/* Service Info */
.service-info {
    flex: 1;
}

.service-info strong {
    font-size: 20px;
    color: #333333;
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.service-info p {
    font-size: 14px;
    color: #666666;
    line-height: 1.6;
    margin: 0;
}

/* Section Styling */
.services {
    background: linear-gradient(145deg, #ffffff, #f9f9f9);
    border-radius: 20px;
    padding: 40px;
    margin: 40px 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    font-family: 'Roboto', sans-serif;
}

.services h3 {
    color: #2c6b47;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 25px;
    text-transform: uppercase;
    text-align: center;
    position: relative;
    padding-bottom: 15px;
}

.services h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 70px;
    height: 4px;
    background: #39b54a;
    border-radius: 2px;
}

/* Slider Container */
.slider-container {
    position: relative;
    max-width: 100%;
    margin: 0 auto;
    overflow: hidden;
}

/* Slider Content */
.slider-content {
    display: flex;
    transition: transform 1s ease-in-out;
    animation: slide 15s infinite;
    gap: 20px;
    width: 100%;
}

/* Keyframes for Auto-Slide */
@keyframes slide {
    0%, 100% { transform: translateX(0); }
    20% { transform: translateX(-100%); }
    40% { transform: translateX(-200%); }
    60% { transform: translateX(-300%); }
    80% { transform: translateX(-400%); }
}

/* Reason Box Styling */
.reason {
    min-width: 100%;
    padding: 25px;
    text-align: center;
    background: linear-gradient(145deg, #39b54a, #3b9f57);
    border-radius: 15px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.reason:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
}

.reason .material-icons {
    font-size: 50px;
    color: #ffffff;
    margin-bottom: 15px;
}

.reason strong {
    font-size: 1.4rem;
    color: #ffffff;
    font-weight: bold;
    margin-bottom: 10px;
    display: block;
}

.reason p {
    font-size: 1rem;
    color: #ffffff;
    line-height: 1.6;
    margin: 0;
}

/* Media Queries for Responsiveness */
@media (max-width: 1024px) {
    .services {
        padding: 30px;
    }

    .services h3 {
        font-size: 1.8rem;
    }

    .reason {
        padding: 20px;
    }

    .reason strong {
        font-size: 1.2rem;
    }

    .reason p {
        font-size: 0.9rem;
    }
}

@media (max-width: 768px) {
    .yoga-service {
        padding: 20px;
    }

    .reason {
        padding: 18px;
    }

    .reason strong {
        font-size: 1.1rem;
    }

    .reason p {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .yoga-service {
        flex-direction: column;
        text-align: center;
    }

    .material-icons {
        margin-bottom: 10px;
        margin-right: 0;
    }

    .reason {
        padding: 15px;
    }

    .reason strong {
        font-size: 1rem;
    }

    .reason p {
        font-size: 0.8rem;
    }
}




/* CTA Section Enhancement */
.cta {
    background: linear-gradient(135deg, #1b4332 0%, #2d6a4f 100%);
    border-radius: 20px;
    padding: 60px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNDAiIGhlaWdodD0iNDAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGNpcmNsZSBjeD0iMjAiIGN5PSIyMCIgcj0iMiIgZmlsbD0iI2ZmZmZmZiIgZmlsbC1vcGFjaXR5PSIwLjEiLz48L3N2Zz4=');
    opacity: 0.1;
}

.cta h3 {
    color: #ffffff;
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 25px;
    position: relative;
}

.cta p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.contact-info {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 30px;
    margin-top: 40px;
}

.contact-info p {
    margin-bottom: 15px;
    font-size: 17px;
    color: #ffffff;
}

.contact-info p:last-child {
    margin-bottom: 0;
}

.contact-info a {
    color: #ffffff;
    text-decoration: none;
    padding: 5px 10px;
    border-radius: 5px;
    transition: all 0.3s ease;
    display: inline-block;
}

.contact-info a:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}
.video-gallery {
    text-align: center;
    margin: 2rem 0;
    padding: 0 1rem;
}

.video-gallery .videos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    justify-items: center;
}

.video {
    text-align: center;
}

.video img {
    width: 100%;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.video img:hover {
    transform: scale(1.05);
}

.video h4 {
    margin-top: 0.5rem;
    font-size: 1rem;
    color: #333;
}

/* Responsive Design */
@media (max-width: 600px) {
    .video img {
        max-width: 90%;
    }

    .video h4 {
        font-size: 0.9rem;
    }
}

/* Responsive Enhancements */
@media (max-width: 992px) {
    .section-header h2 {
        font-size: 36px;
    }
    
    .collage-item:nth-child(1) {
        height: 350px;
    }
    
    .collage-item:nth-child(2),
    .collage-item:nth-child(3) {
        height: 250px;
    }
}

@media (max-width: 768px) {
    .about {
        padding: 60px 20px;
    }

    .section-header h2 {
        font-size: 32px;
    }

    .about-img.collage {
        grid-template-areas:
            "main"
            "left"
            "right";
        gap: 15px;
    }

    .collage-item:nth-child(1),
    .collage-item:nth-child(2),
    .collage-item:nth-child(3) {
        height: 300px;
    }

    .qualification {
        padding: 15px;
    }

    .qualification .icon {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }

    .teaching-experiences,
    .services {
        padding: 30px 20px;
    }

    .cta {
        padding: 40px 20px;
    }

    .cta h3 {
        font-size: 28px;
    }
}

@media (max-width: 576px) {
    .section-header h2 {
        font-size: 28px;
    }

    .collage-container {
        display: grid;
        grid-template-areas: 
            "collage-item1"; /* Show only the first item */
        grid-template-columns: 1fr; /* Only one column for the single image */
        grid-gap: 10px; /* Spacing between items */
    }

    .collage-item:nth-child(1) {
        grid-area: collage-item1;
        height: 250px;
    }

    /* Hide the other collage items */
    .collage-item:nth-child(2),
    .collage-item:nth-child(3) {
        display: none;
    }

    .qualification:hover {
        transform: translateX(5px);
    }

    .contact-info {
        padding: 20px;
    }
}

/*******************************/
/********* Service CSS *********/
/*******************************/
.service {
    position: relative;
    width: 100%;
    padding: 45px 0 15px 0;
    background: url('../img/yoga1.webp') no-repeat center center; /* Update the path to your local image */
    background-size: cover; /* Ensures the image covers the entire section */
    color: #ffffff; /* Text color to contrast with background */
    overflow: hidden; /* Ensures the overlay stays contained */
   
}
.service:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Adjust this for brightness: 0.5 is darker */
    z-index: 1; /* Keeps it behind the content */
}
.service .container {
    position: relative;
    z-index: 2; /* Ensures content is above the overlay */
}

.service .service-item {
    position: relative;
    width: 100%;
    height: 350px; /* Set a fixed height for all cards */
    text-align: center;
    margin-bottom: 30px;
    padding: 30px;
    background: rgba(255, 255, 255, 0.711); /* White card with slight transparency */
    border-radius: 15px; /* Smooth rounded corners */
    transition: transform 0.3s, box-shadow 0.3s, background 0.3s;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Soft shadow */
}

.service .service-item:hover,
.service .service-item.active {
    background: #4caf50; /* Calming green for hover & active */
    color: #ffffff; /* White text for contrast */
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2); /* Deeper shadow on hover */
    transform: translateY(-5px); /* Lift effect */
    border: 1px solid #4caf50; /* Green border for selected */
}

.service .service-icon {
    position: relative;
    margin: 0 auto 25px auto;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #e8f5e9; /* Soft green icon background */
    border: 3px solid #ffffff; /* White outline for icons */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.service .service-icon i {
    position: relative;
    font-size: 50px;
    color: #255a28; /* Deep green for the icon */
    z-index: 3;
}

.service .service-icon:before {
    content: "";
    position: absolute;
    z-index: 0;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    display: block;
    width: 80px;
    height: 80px;
    background: #7fb981; /* Soft green for pulse */
    border-radius: 50%;
    animation: pulse-border 2000ms ease-out infinite;
}

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

.service .service-item h3 {
    margin-bottom: 15px;
    font-size: 22px; /* Slightly larger for emphasis */
    font-weight: 700;
    color: #235e26; /* Calming green text */
    transition: color 0.3s;
    letter-spacing: 0.5px; /* Adds spacing for clarity */
}

.service .service-item:hover h3,
.service .service-item.active h3 {
    color: #ffffff; /* White for contrast */
}

.service .service-item p {
    margin: 0;
    font-size: 16px;
    color: #174a1a; /* Deep green for readability */
    line-height: 1.6; /* Better spacing for text */
    padding: 0 10px; /* Slight padding for alignment */
}

.service .section-header {
    margin-bottom: 45px;
    color: #0e260f;
}

.service .section-header p {
    font-size: 18px;
    text-transform: uppercase;
    font-weight: bold;
    color: #e9efea;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.service .section-header h2 {
    font-size: 28px;
    font-weight: 800;
    letter-spacing: 1px;
    color: #ffffff;
}




/*******************************/
/********** Class CSS **********/
/*******************************/
/* Class Section */
.class {
    position: relative;
    padding: 45px 0 15px 0;
    font-family: 'Arial', sans-serif; /* Clean font */
}

.class #class-filter {
    padding: 0;
    margin: -15px 0 25px 0;
    list-style: none;
    font-size: 0;
    text-align: center;
}

.class #class-filter li {
    cursor: pointer;
    display: inline-block;
    margin: 5px;
    padding: 8px 16px; /* Larger padding for better clickability */
    color: #299551;
    font-size: 16px; /* Slightly larger font size */
    font-weight: 600;
    border-radius: 30px; /* Rounded corners for a modern feel */
    background: none;
    border: 2px solid #0d2c19;
    transition: background-color 0.3s ease, color 0.3s ease;
    backface-visibility: hidden; /* Optimize GPU performance */
}

.class #class-filter li:hover,
.class #class-filter li.filter-active {
    background: #0b340b;
    color: #F7CAC9;
}

.class .class-item {
    position: relative;
    margin-bottom: 20px;
    overflow: hidden;
    border-radius: 10px; /* Round corners for a sleek look */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* Optimized shadow */
    transform: translate3d(0, 0, 0); /* Ensure GPU acceleration */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    backface-visibility: hidden; /* Avoid performance issues with 3D transforms */
}

.class .class-item:hover {
    transform: translateY(-5px); /* Subtle lift effect */
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1); /* Stronger shadow on hover */
}

.class .class-wrap {
    position: relative;
    width: 100%;
}

.class .class-img {
    position: relative;
}

.class .class-img img {
    position: relative;
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 10px; /* Smooth rounded corners */
    backface-visibility: hidden; /* Performance optimization */
    will-change: transform; /* Performance hint for potential transform changes */
}

.class .class-text {
    position: relative;
    padding: 5px 10px; /* Reduced padding */
    border-radius: 10px;
    background: linear-gradient(rgba(9, 57, 28, 0.872), rgba(19, 123, 31, 0.7));
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.07); /* Subtle shadow */
    height: auto; /* Allow natural height adjustment based on content */
    max-height: 1000px; /* Maximum height to ensure it's not too tall */
   
}


.class .class-text h2 {
    font-size: 20px;
    font-weight: 700; /* Bold title */
    margin-bottom: 15px;
    color: #333;
    
}

.class .class-teacher {
    position: relative;
    height: 50px;
    margin-top: -50px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    background: #ffffff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* Optimized shadow */
    border-radius: 40px; /* Rounded teacher container */
    justify-content: center; /* Horizontally center */
}

.class .class-teacher img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #F7CAC9;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); /* Subtle shadow */
}

.class .class-teacher h3 {
    width: calc(100% - 105px);
    font-size: 16px;
    font-weight: 600;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-align: center; /* Ensure the text inside the h3 is centered */
}

.class .class-teacher a {
    width: 50px;
    height: 50px;
    padding: 0 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 35px;
    color: #0d3526;
    background: #cef7c9;
    border-radius: 50%;
    transition: background 0.3s ease, color 0.3s ease;
    will-change: background, color;
}

.class .class-wrap:hover .class-teacher a {
    color: #F7CAC9;
    background: #314839;
    
}

.class-details {
    
    border-radius: 10%;
}

.class .class-text button {
    position: absolute;
    left: 275px;  /* Position the button */
    bottom: 7px; /* Position the button */
    padding: 8px 15px;  /* Slightly larger button */
    font-size: 14px;  /* Larger font size */
    background-color: #299551;
    color: white;
    border: none;
    border-radius: 40px; /* Rounded button */
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    will-change: background-color, transform;
}

.class .class-text button:hover {
    background-color: #0d3526;  /* Darker shade on hover */
    transform: scale(1.1);  /* Slightly grow the button */
}

@media (max-width: 768px) {
    .class .class-text {
        padding: 20px;
    }
    .class .class-text h2 {
        font-size: 18px; /* Adjust title size for mobile */
    }
    .class .class-teacher h3 {
        font-size: 14px;
    }
    .class .class-text button {
        font-size: 12px;  /* Smaller button for mobile */
        padding: 6px 12px;
    }
}



/*******************************/
/********* Pricing CSS *********/
/*******************************/
.discount {
    position: relative;
    width: 100%;
    margin: 45px 0;
    padding: 90px 0;
    background: linear-gradient(rgba(14, 82, 41, 0.7), rgba(19, 123, 31, 0.7)), url(../img/discount-bg.jpg);
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain cover;
}

.discount .container {
    max-width: 750px;
    text-align: center;
}

.discount .section-header {
    margin-bottom: 20px;
}

.discount .section-header p {
    color: #c5d0c2;
    background: transparent;
}

.discount .section-header p::after {
    display: none;
}

.discount .section-header h2 span {
    color: #bf9ea5;
    font-size: 50px;
}

.discount .discount-text p {
    color: #b2cbb1;
}

.discount .discount-text .btn {
    margin-top: 10px;
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    color: #F7CAC9;
    background: linear-gradient(135deg, #154412, #4f784e);
    border-radius: 0;
    transition: .3s;
}

.discount .discount-text .btn:hover {
    color: #314834;
    background: #ffffff;
}


/*******************************/
/********* Pricing CSS *********/
/*******************************/
/* Price Section Styles */
.price {
    padding: 80px 0;
    background-color: #f4f9f4; /* Light green background */
    font-family: 'Poppins', sans-serif;
}

/* Section Header Styles */
.section-header {
    margin-bottom: 50px;
    
}

.section-subtitle {
    font-size: 16px;
    font-weight: 500;
    color: #e0eae5; /* Dark green */
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.section-title {
    font-size: 36px;
    font-weight: 600;
    color: #204529; /* Darker green */
    text-transform: uppercase;
    margin-bottom: 30px;
}

/* Price Item Styles */
.price-column {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
}

.price-item {
    background-color: #fff;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    padding: 30px;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: center;
    max-width: 380px;
    width: 100%;
    margin: 0 auto;
    border: 1px solid #b2d8c2; /* Light green border */
}


.price-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.2);
}

/* Header Styles */
.price-item .price-header {
    margin-bottom: 20px;
}

.price-title h2 {
    font-size: 24px;
    font-weight: 700;
    color: #204529;
    text-transform: capitalize;
}

.price-prices h2 {
    font-size: 30px;
    font-weight: 700;
    color: #34a853; /* Dark green accent */
}

.price-prices h2 small {
    font-size: 18px;
    color: #666;
}

.price-prices h2 span {
    font-size: 16px;
    color: #777;
}

/* Price Body Styles */
.price-description {
    margin-bottom: 25px;
}

.price-description ul {
    list-style-type: none;
    padding: 0;
    font-size: 14px;
    color: #333;
}

.price-description li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    font-weight: 500;
    color: #2a5d43;
}

.price-description li i {
    margin-right: 10px;
    font-size: 18px;
    color: #34a853;
}

/* Price Footer Styles */
.price-footer {
    text-align: center;
}

.price-action .btn {
    padding: 12px 25px;
    background: linear-gradient(135deg, #154412, #4f784e);
    color: #fff;
    text-decoration: none;
    border-radius: 30px;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: background-color 0.3s ease-in-out, transform 0.3s ease-in-out;
}

.price-action .btn:hover {
    background-color: #2a5d43;
    transform: translateY(-5px);
}

/* Featured Item Styles */
.featured-item .price-header {
    border-bottom: 2px solid #34a853;
    padding-bottom: 15px;
}

.featured-item .price-status {
    background-color: #34a853;
    color: #fff;
    padding: 5px 15px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 20px;
    display: inline-block;
    margin-bottom: 10px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .price-item {
        margin-bottom: 30px;
    }
    .price-column {
        display: flex;
        justify-content: center;
        margin-bottom: 20px;
    }
}

@media (max-width: 576px) {
    .section-title {
        font-size: 28px;
    }

    .price-prices h2 {
        font-size: 24px;
    }

    .price-description li {
        font-size: 13px;
    }

    .price-item {
        max-width: 100%;
        padding: 25px;
    }
}





/*******************************/
/******* Testimonial CSS *******/
/*******************************/
.testimonial {
    position: relative;
    padding: 45px 0;
}

.testimonial .container {
    padding: 0;
}

.testimonial .testimonial-item {
    position: relative;
    margin: 0 15px;
    text-align: center;
}

.testimonial .testimonial-img {
    position: relative;
    margin-bottom: 15px;
    z-index: 1;
}

.testimonial .testimonial-item img {
    margin: 0 auto;
    width: 120px;
    padding: 13px;
    border-radius: 100px;
    border: 1px solid rgba(0, 0, 0, .07);
    background: #ffffff;
    transition: .5s;
}

.testimonial .testimonial-text {
    position: relative;
    margin-top: -70px;
    padding: 75px 25px 25px 25px;
    text-align: center;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, .07);
}

.testimonial .testimonial-item p {
    font-size: 16px;
    color: #398b35;
}

.testimonial .testimonial-text h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
}

.testimonial .testimonial-text h4 {
    color: #666666;
    font-size: 14px;
    margin-bottom: 0;
}

.testimonial .owl-item.center img {
    border-color: transparent;
}

.testimonial .owl-item.center .testimonial-text {
    background: #0a2b08;
}

.testimonial .owl-item.center .testimonial-text h3 {
    color: #F7CAC9;
}

.testimonial .owl-item.center .testimonial-text p,
.testimonial .owl-item.center .testimonial-text h4 {
    color: #ffffff;
}

.testimonial .owl-dots {
    margin-top: 15px;
    text-align: center;
}

.testimonial .owl-dot {
    display: inline-block;
    margin: 0 5px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #F7CAC9;
}

.testimonial .owl-dot.active {
    background: #343148;
}


/*******************************/
/*********** Blog CSS **********/
/*******************************/
.blog {
    position: relative;
    width: 100%;
    padding: 45px 0;
}

.blog .blog-carousel {
    position: relative;
    width: calc(100% + 30px);
    left: -15px;
    right: -15px;
}

.blog .blog-item {
    position: relative;
    margin: 0 15px;
}

.blog .blog-page .blog-item {
    margin: 0 0 30px 0;
}

.blog .blog-img {
    position: relative;
    width: 100%;
}

.blog .blog-img img {
    width: 100%;
}

.blog .blog-text {
    position: relative;
    padding: 25px 30px;
    border-right: 1px solid rgba(0, 0, 0, .07);
    border-bottom: 1px solid rgba(0, 0, 0, .07);
    border-left: 1px solid rgba(0, 0, 0, .07);
}

.blog .blog-text h2 {
    font-size: 22px;
    font-weight: 600;
}

.blog .blog-text p {
    margin-bottom: 10px;
}

.blog .blog-item a.btn {
    padding: 0;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    color: #343148;
    transition: .3s;
}

.blog .blog-item a.btn i {
    margin-left: 5px;
}

.blog .blog-item a.btn:hover {
    color: #F7CAC9;
}

.blog .blog-meta {
    position: relative;
    display: flex;
    margin-bottom: 15px;
}

.blog .blog-meta p {
    margin: 0 10px 0 0;
    font-size: 13px;
}

.blog .blog-meta i {
    margin-right: 5px;
}

.blog .blog-meta p:last-child {
    margin: 0;
}

.blog .owl-nav {
    width: 150px;
    margin: 32px auto 0 auto;
    display: flex;
}

.blog .owl-nav .owl-prev,
.blog .owl-nav .owl-next {
    margin-left: 15px;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #F7CAC9;
    background: #343148;
    font-size: 22px;
    transition: .3s;
}

.blog .owl-nav .owl-prev:hover,
.blog .owl-nav .owl-next:hover {
    color: #343148;
    background: #F7CAC9;
}

.blog .pagination .page-link {
    color: #343148;
    border-radius: 0;
    border-color: #343148;
}

.blog .pagination .page-link:hover,
.blog .pagination .page-item.active .page-link {
    color: #F7CAC9;
    background: #343148;
}

.blog .pagination .disabled .page-link {
    color: #999999;
}


/*******************************/
/******** Portfolio CSS ********/
/*******************************/
.portfolio {
    position: relative;
    padding: 45px 0 15px 0;
}

.portfolio #portfolio-filter {
    padding: 0;
    margin: -15px 0 25px 0;
    list-style: none;
    font-size: 0;
    text-align: center;
}

.portfolio #portfolio-filter li {
    cursor: pointer;
    display: inline-block;
    margin: 5px;
    padding: 6px 12px;
    color: #343148;
    font-size: 14px;
    font-weight: 400;
    border-radius: 0;
    background: none;
    border: 1px solid #343148;
    transition: .3s;
}

.portfolio #portfolio-filter li:hover,
.portfolio #portfolio-filter li.filter-active {
    background: #343148;
    color: #F7CAC9;
}

.portfolio .portfolio-item {
    position: relative;
    margin-bottom: 30px;
    overflow: hidden;
    transition: .3s;
}

.portfolio .portfolio-wrap {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.portfolio img {
    position: relative;
    width: 100%; 
    height: 100%; 
    object-fit: cover;
    transition: .5s;
}

.portfolio .portfolio-wrap:hover img {
    transform: rotate(5deg) scale(1.12);
}


/*******************************/
/********* Contact CSS *********/
/*******************************/
.contact {
    position: relative;
    width: 100%;
    padding: 45px 0;
}

.contact .container {
    max-width: 1200px;
    
}

.contact .contact-item {
    text-align: center;
    margin-bottom: 30px;
}

.contact .contact-item i {
    width: 50px;
    height: 50px;
    padding: 12px 0;
    font-size: 25px;
    color: #343148;
    margin-bottom: 15px;
    border: 1px solid #F7CAC9;
    border-radius: 50px;
}

.contact .contact-item h2 {
    font-size: 25px;
    font-weight: 700;
}

.contact-form {
    background-color: #ffffff;
    padding: 40px 30px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    width: 350%; 
    height: 75%;
    max-width: 1500px;
    animation: fadeIn 1s ease;
    border: #00cc4e solid 2px;
     margin-left: -40px;
}

.contact-form h2 {
    font-size: 28px;
    color: #333333;
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
}

.contact .contact-form {
    position: relative;
}

.contact .contact-form input {
    height: 45px;
    padding: 15px;
    background: none;
    border-radius: 0;
}

.contact .contact-form textarea {
    height: 150px;
    padding: 15px;
    background: none;
    border-radius: 0;
}

.contact .contact-form .btn {
    padding: 12px 25px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    color: #F7CAC9;
    background: #343148;
    border-radius: 0;
    transition: .3s;
}

.contact .contact-form .btn:hover {
    color: #343148;
    background: #F7CAC9;
}

.contact .help-block ul {
    margin: 0;
    padding: 0;
    list-style-type: none;
}

.contact-text {
     font-weight: bold;
}

.contact .container {
    width: 150%;
    justify-content: space-between;
    align-items: center;
}

.contact .row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.contact .col-md-6 {
    width: 100%; /* Adjust width for two equal columns */
    height: 75%;
    margin-bottom: 20px;
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
}


.contact img {
    width: 82%; /* Ensures the image is responsive */
        
    border-radius: 3%;
}
@media (max-width: 768px) {
    .contact {
        padding: 5px;
        width: 75%;
        margin-left: -25px;
    }

    .section-header {
        padding: 10px 0;
    }

    .section-header p {
        font-size: 1rem;
        margin-bottom: 5px;
    }

    .section-header h2 {
        font-size: 1.5rem;
        margin-bottom: 20px;
    }

    .contact .row {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .contact .col-md-6 {
        width: 100%;
    }

    .contact img.stacked-image {
        max-width: 90%;
        height: auto;
        margin: 0 auto 20px auto;
    }

    .contact-form {
        padding: 15px;
        background: #f8f9fa;
        border-radius: 8px;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        width: 90%;
        max-width: 400px; /* Limits the form size */
        margin: 0 auto;
    }

    .contact-form h2 {
        font-size: 1.2rem;
        margin-bottom: 15px;
    }

    .contact-form .form-group {
        margin-bottom: 10px;
    }

    .contact-form .form-group label {
        font-size: 0.9rem;
        margin-bottom: 5px;
        display: block;
    }

    .contact-form .form-group input,
    .contact-form .form-group textarea {
        width: 100%;
        padding: 8px;
        font-size: 0.9rem;
        border: 1px solid #ccc;
        border-radius: 5px;
    }

    .contact-form .form-group textarea {
        height: 80px; /* Smaller height for smaller screens */
    }

    .contact-form .form-group button {
        width: 100%;
        padding: 10px;
        font-size: 1rem;
        background-color: #007bff;
        color: white;
        border: none;
        border-radius: 5px;
        cursor: pointer;
    }

    .contact-form .form-group button:hover {
        background-color: #0056b3;
    }
}


/* Success message */
.message.success {
    background-color: #c6e2c7; /* Green background */
    color: rgb(17, 1, 1); /* White text */
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #388E3C; /* Darker green border */
}

/* Error message */
.message.error {
    background-color: #F44336; /* Red background */
    color: red; /* White text */
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #D32F2F; /* Darker red border */
}
 
/*******************************/
/******* Single Post CSS *******/
/*******************************/
.single {
    position: relative;
    padding: 45px 0;
}

.single .single-content {
    position: relative;
    margin-bottom: 30px;
    overflow: hidden;
}

.single .single-content img {
    margin-bottom: 20px;
    width: 100%;
}

.single .single-tags {
    margin: -5px -5px 41px -5px;
    font-size: 0;
}

.single .single-tags a {
    margin: 5px;
    display: inline-block;
    padding: 7px 15px;
    font-size: 14px;
    font-weight: 400;
    color: #666666;
    border: 1px solid #dddddd;
}

.single .single-tags a:hover {
    color: #F7CAC9;
    background: #343148;
}

.single .single-bio {
    margin-bottom: 45px;
    padding: 30px;
    background: #f3f6ff;
    display: flex;
}

.single .single-bio-img {
    width: 100%;
    max-width: 100px;
}

.single .single-bio-img img {
    width: 100%;
}

.single .single-bio-text {
    padding-left: 30px;
}

.single .single-bio-text h3 {
    font-size: 20px;
    font-weight: 700;
}

.single .single-bio-text p {
    margin: 0;
}

.single .single-related {
    margin-bottom: 45px;
}

.single .single-related h2 {
    font-size: 30px;
    font-weight: 700;
    margin-bottom: 25px;
}

.single .related-slider {
    position: relative;
    margin: 0 -15px;
    width: calc(100% + 30px);
}

.single .related-slider .post-item {
    margin: 0 15px;
}

.single .post-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.single .post-item .post-img {
    width: 100%;
    max-width: 80px;
}

.single .post-item .post-img img {
    width: 100%;
}

.single .post-item .post-text {
    padding-left: 15px;
}

.single .post-item .post-text a {
    font-size: 16px;
    font-weight: 400;
}

.single .post-item .post-meta {
    display: flex;
    margin-top: 8px;
}

.single .post-item .post-meta p {
    display: inline-block;
    margin: 0;
    padding: 0 3px;
    font-size: 14px;
    font-weight: 300;
    font-style: italic;
}

.single .post-item .post-meta p a {
    margin-left: 5px;
    font-size: 14px;
    font-weight: 300;
    font-style: normal;
}

.single .related-slider .owl-nav {
    position: absolute;
    width: 90px;
    top: -55px;
    right: 15px;
    display: flex;
}

.single .related-slider .owl-nav .owl-prev,
.single .related-slider .owl-nav .owl-next {
    margin-left: 15px;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #343148;
    background: #F7CAC9;
    font-size: 16px;
    transition: .3s;
}

.single .related-slider .owl-nav .owl-prev:hover,
.single .related-slider .owl-nav .owl-next:hover {
    color: #F7CAC9;
    background: #343148;
}

.single .single-comment {
    position: relative;
    margin-bottom: 45px;
}

.single .single-comment h2 {
    font-size: 30px;
    font-weight: 700;
    margin-bottom: 25px;
}

.single .comment-list {
    list-style: none;
    padding: 0;
}

.single .comment-child {
    list-style: none;
}

.single .comment-body {
    display: flex;
    margin-bottom: 30px;
}

.single .comment-img {
    width: 60px;
}

.single .comment-img img {
    width: 100%;
}

.single .comment-text {
    padding-left: 15px;
    width: calc(100% - 60px);
}

.single .comment-text h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 3px;
}

.single .comment-text span {
    display: block;
    font-size: 14px;
    font-weight: 300;
    margin-bottom: 5px;
}

.single .comment-text .btn {
    padding: 3px 10px;
    font-size: 14px;
    color: #343148;
    background: #dddddd;
    border-radius: 0;
}

.single .comment-text .btn:hover {
    background: #F7CAC9;
}

.single .comment-form {
    position: relative;
}

.single .comment-form h2 {
    font-size: 30px;
    font-weight: 700;
    margin-bottom: 25px;
}

.single .comment-form form {
    padding: 30px;
    background: #f3f6ff;
}

.single .comment-form form .form-group:last-child {
    margin: 0;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    font-size: 14px;
    font-weight: bold;
    color: #555555;
    display: block;
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    font-size: 14px;
    border: 1px solid #dddddd;
    border-radius: 8px;
    background: #f9f9f9;
    color: #333333;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #84fab0;
    box-shadow: 0 0 8px rgba(132, 250, 176, 0.4);
    outline: none;
}

.form-group textarea {
    resize: none;
    height: 150px;
}

.btn-submit {
    background-color: #00cc4e;
    color: white;
    border: none;
    border-radius: 8px;
    padding: 15px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    width: 100%;
    transition: background 0.3s ease, transform 0.2s ease;
}

.btn-submit:hover {
    background-color: #6dacebbf;
    transform: translateY(-3px);
}

.btn-submit:active {
    transform: translateY(1px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .contact-form {
        padding: 30px 20px;
    }

    .contact-form h2 {
        font-size: 24px;
    }

    .btn-submit {
        font-size: 14px;
    }
}



/* Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


.single .comment-form input,
.single .comment-form textarea {
    border-radius: 0;
}

.single .comment-form .btn {
    padding: 15px 30px;
    color: #F7CAC9;
    background: #343148;
}

.single .comment-form .btn:hover {
    color: #343148;
    background: #F7CAC9;
}



/*******************************/
/********* Footer CSS **********/
/*******************************/
/* Footer Styles */
.footer {
    background: linear-gradient(rgba(0, 25, 12, 0.458), rgb(1, 28, 14)), 
    url('../img/footer.webp') no-repeat center center;
    background-size: cover;
    background-position: center 0px; /* Adjust the vertical position */
    color: #e5e5e5;
    padding: 60px 20px;
    font-family: 'Poppins', sans-serif;
    width: 100%;
}

.footer h3, .footer h4 {
    color: #F7CAC9;
    font-weight: 600;
    margin-bottom: 20px;
}

.footer p {
    font-size: 14px;
    margin-bottom: 15px;
    color: #e5e5e5;
}

.footer-logo-container {
    display: flex;
    align-items: center;
    margin-left: -120px; /* Adjust this value to move it more or less to the left */
    /* Adjust spacing between the image and text */
}

.footer-logo-image {
    width: 300px; /* Adjust size of the logo */
    height: 160px;
    object-fit: contain; /* Ensure the logo maintains its aspect ratio */
    top: 50%;
}




.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

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

.footer-links a:hover {
    color: #F7CAC9;
}

.footer-social a {
    font-size: 20px;
    margin-right: 15px;
    color: #e5e5e5;
    transition: color 0.3s;
}

.footer-social a:hover {
    color: #F7CAC9;
}



hr {
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin: 40px 0;
}
.company{
    color: #34a853;
}

@media (max-width: 768px) {
    .footer .row {
        text-align: center;
    }

    .footer .col-md-6 {
        margin-bottom: 20px;
    }
    .footer-logo-container {
        margin-left: 0;
        justify-content: center;
    }
}


/*************** Gallery Section ***************/
.gallery-section {
    margin: 50px auto;
    max-width: 1200px;
    padding: 0 15px;
    text-align: center;
}

.gallery-heading {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 30px;
    color: #222;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
}

.gallery-heading::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background-color: #ff5722;
    margin: 10px auto 0;
    border-radius: 2px;
}

.swiper-container {
    width: 100%;
    padding: 20px 0;
    overflow: hidden;  /* Hide the overflow to create sliding effect */
}

.swiper-wrapper {
    display: flex;
    animation: slide 70s linear infinite; /* Slower, continuous animation */
    gap: 20px; /* Add gap between slides */
}

.swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.3s ease-in-out;
    flex-shrink: 0;  /* Prevent the images from shrinking */
}

.swiper-slide img {
    width: 100%;
    max-width: 280px;  /* Set uniform width */
    height: 200px;  /* Set uniform height */
    object-fit: cover;  /* Ensures the image covers the frame proportionally */
    border-radius: 12px;
    box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out, opacity 0.3s ease-in-out;
}

/* Slight scaling and shadow on hover */
.swiper-slide:hover img {
    transform: scale(1.08);
    box-shadow: 0px 12px 25px rgba(0, 0, 0, 0.2);
    opacity: 0.9;  /* Slight opacity change on hover to enhance the effect */
}

/* Continuous animation with slower transition */
@keyframes slide {
    0% {
        transform: translateX(0);
    }
    25% {
        transform: translateX(-100%);
    }
    50% {
        transform: translateX(-200%);
    }
    75% {
        transform: translateX(-300%);
    }
    100% {
        transform: translateX(-400%);
    }
}

.gallery-footer {
    margin-top: 25px;
}

.gallery-footer .btn {
    padding: 14px 24px;
    background: linear-gradient(135deg, #154412, #4f784e);
    color: #fff;
    font-size: 16px;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 30px;
    display: inline-block;
    transition: background-color 0.3s ease-in-out, transform 0.2s ease-in-out;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}

.gallery-footer .btn:hover {
    background-color: #e64a19;
    transform: translateY(-2px);
    box-shadow: 0px 6px 15px rgba(0, 0, 0, 0.2);
}

/* Responsive Design */
@media (max-width: 768px) {
    .gallery-heading {
        font-size: 28px;
    }
    .swiper-slide img {
        max-width: 220px;
        height: 160px;  /* Maintain proportional height for smaller screens */
    }
}

@media (max-width: 576px) {
    .gallery-heading {
        font-size: 24px;
    }
    .gallery-footer .btn {
        font-size: 14px;
        padding: 10px 18px;
    }
}



/* General Styling for Class Container */
.class-wrap {
    border: 1px solid #ddd;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.class-wrap:hover {
    transform: scale(1.05);
    box-shadow: 0px 6px 12px rgba(0, 0, 0, 0.2);
}

/* Class Image */
.class-img img {
    width: 100%;
    height: auto;
    border-bottom: 1px solid #ddd;
}

/* Class Text Section */
.class-text {
    padding: 15px;
    background: #fff;
    text-align: center;
}

/* Teacher Info */
.class-teacher {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
}

.class-teacher img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-right: 10px;
}

.class-teacher h3 {
    font-size: 18px;
    font-weight: bold;
    margin: 0;
    color: #333;
}

.class-teacher a {
    color: #fff;
    background: #ff5722;
    font-size: 14px;
    padding: 5px 10px;
    border-radius: 50%;
    margin-left: 10px;
    text-decoration: none;
    transition: background 0.3s ease;
}

.class-teacher a:hover {
    background: #e64a19;
}

/* Description Button */
.class-text button {
    display: inline-block;
    font-size: 14px;
    font-weight: bold;
    padding: 10px 20px;
    background: #3f51b5;
    color: #fff;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    margin-top: 10px;
    transition: background 0.3s ease;
}

.class-text button:hover {
    background: #303f9f;
}

/* Media Queries for Responsiveness */
@media (max-width: 768px) {
    .class-text h3 {
        font-size: 16px;
    }

    .class-text button {
        font-size: 12px;
        padding: 8px 16px;
    }

    .class-teacher h3 {
        font-size: 16px;
    }
}


/* Beautiful shaped "More" button */
.btn-more {
    background: linear-gradient(45deg, #28a40f, #17c459);  /* Gradient background */
    color: white; /* White text */
    border:#011b0b solid 1px;
    padding: 5px 10px;
    font-size: 10px;
    text-transform: uppercase;
    border-radius: 30px;  /* Rounded corners */
    cursor: pointer;
    transition: background 0.3s, transform 0.3s;  /* Smooth transitions */
}

.btn-more:hover {
    background: linear-gradient(45deg, #0066CC, #6699FF); /* Reversed gradient on hover */
    transform: scale(1.1); /* Slightly enlarge the button */
}

.btn-more:focus {
    outline: none; /* Remove focus outline */
}


/* Expandable description container */
.class-item {
    position: relative;
    margin-bottom: 20px;
    padding: 20px;
    border: 1px solid #ddd;  /* Border for the class item */
    border-radius: 10px;  /* Rounded corners */
    background-color: #f9f9f9;
    transition: all 0.3s ease-in-out; /* Smooth transition */
}

/* Hidden description initially */
.hidden-text {
    display: none;
    padding-top: 0px;
    font-size: 10px;
    line-height: 1.6;
    color: #ffffff;
    max-height: 400px;  /* Set a default height */
    overflow: hidden;
    transition: max-height 0.5s ease-out;  /* Smooth expansion */
}

/* When description is expanded */
.class-item.expanded .hidden-text {
    display: block;
    max-height: 1000px;  /* Allow more height */
}

.card-body {
    color: black; /* Set text color to black */
}























