html {
    scroll-behavior: smooth;
}

header nav {
    display: flex;
    justify-content: space-between;
    padding: 10px 0px;
    z-index: 10;
    position: absolute;
    top: 0;
    width: 100%;
    background: rgb(255,255,255);
    background: -moz-linear-gradient(0deg, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 100%);
    background: -webkit-linear-gradient(0deg, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 100%);
    background: linear-gradient(0deg, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#ffffff",endColorstr="#ffffff",GradientType=1);
}

header nav .nav-left,
header nav .nav-right {
    display: flex;
    align-items: center;
    font-family: Roboto, Helvetica, Arial;
    font-weight: bold;
    font-size: 16px;
}

header nav .nav-left{
    margin-left: 15px;
}

header nav .nav-left a,
header nav .nav-right a {
    color: #42372D;
    padding: 5px 20px;
    margin: 0 5px;
    text-decoration: none;
}

header nav .nav-right .translate-button {
    display: flex;
    align-items: center;
    margin: 0px 25px;
}

header nav .nav-right .translate-button a {
    border: 0px solid #fff;
    border-radius: 50px;
    padding: 5px 20px;
    color: #F8F8F8;
    font-family: Roboto, Helvetica, Arial;
    font-size: 16px;
    font-weight: bold;
    text-decoration: none;
    display: inline-block;
}

.background-container {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.background-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.background-slide.active {
    opacity: 1;
}


.background_container-button {
    background-color: #fff;
    color: #000;
    padding: 15px 30px;
    text-decoration: none;
    margin-top: 20px;
    display: inline-block;
    border: 1px solid #2C4B2B;
    border-radius: 10px;
}


.text-background-image {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #F8F8F8;
    text-align: center;
}

.text-header {
    font-family: Lora, Times New Roman, serif;
    font-size: 64px;
    margin-bottom: 10px;
    text-shadow:
    -1px -1px 0 #42372D,  /* Replace black with #42372D */
     1px -1px 0 #42372D,  /* Replace black with #42372D */
     1px  1px 0 #42372D,  /* Replace black with #42372D */
    -1px  1px 0 #42372D;  /* Replace black with #42372D */
}

.text-header-below {
    font-family: Roboto, Helvetica, Arial;
    font-size: 30px;
    margin-bottom: 10px;
    text-shadow:
    -1px -1px 0 #42372D,  /* Replace black with #42372D */
     1px -1px 0 #42372D,  /* Replace black with #42372D */
     1px  1px 0 #42372D,  /* Replace black with #42372D */
    -1px  1px 0 #42372D;  /* Replace black with #42372D */
}

.background-container-button {
    background-color: #2C4B2B;
    color: #F8F8F8;
    font-family: Roboto, Helvetica, Arial;
    padding: 15px 30px;
    margin-top: 10px;
    display: inline-block;
    text-decoration: none;
    border-radius: 10px;
}

/* home.css */
.first-sec {
    padding: 20px;
    background-color: white;
    text-align: center;
    color: #42372D;
}

.app-information-header h1{
    font-family: Lora, Times New Roman, serif;
    font-size: 40px;
    font-weight: 300;
}

.app-information-header p{
    font-family: Roboto, Helvetica, Arial;
    font-size: 24px;
}

.paragraphs{
    padding: 10px 70px;
    font-size: 22px;
    font-family: Roboto, Helvetica, Arial;
    text-align: left;
    display: inline-block;
}


.paragraphs img{
    width: 26px;
    height: 26px;
    padding: 0px 2px;
    margin-top: 30px;
    margin-bottom: -5px;
}

.row-app {
    display: flex;
    justify-content: space-around;
    align-items: flex-start;
}

.column-left-app, .column-right-app {
    width: 45%;
}

.app-photo {
    position: relative;
    width: 100%;
    height: 550px; 
    overflow: hidden;
}

.app-photo .slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.app-photo .slide.active {
    opacity: 1;
}

.paragraphs .paragraph {
    opacity: 0.3;
    transition: opacity 1s ease-in-out;
}

.paragraphs .paragraph.active {
    opacity: 1;
}


.app-advantages .paragraphs{
    display: inline-block;
}

.app-advantages{
    margin: 10px 0;
}

.app-downloading-way img {
    width: 177px;
    height: 58px;
    padding: 20px 15px;
    transition: transform 0.3s ease;
}

.app-downloading-way a img:hover{
    transform: scale(1.1);
}


/* Section Styles */
.second-sec {
    padding: 20px;
    background-color: #718473;
    color: #F8F8F8;
    text-align: center;
    padding-bottom: 70px;
}

.about-us-title {
    font-family: Lora, Times New Roman, serif;
    font-size: 40px;
    margin-bottom: 20px;
    padding: 40px 0px;
}

.row-au {
    display: flex;
    justify-content: space-around;
    align-items: flex-start;
    text-align: left; /* Align text to the left */
}

.col-right-au, .col-left-au {
    width: 45%;
}

.col-left-au{
    color: #F8F8F8;
    font-size: 30px;
    font-family: Roboto, Helvetica, Arial;
}

.col-left-au p{
    font-size: 22px;
    line-height: 35.2px;
}

.au-photo img {
    width: 100%; /* Ensure the image takes up the full width of its container */
    height: auto; /* Maintain aspect ratio */

}

/* Section Styles */
.third-sec {
    padding: 50px 120px;
    background-color: white;
    text-align: center;
}

.classes-title {
    margin-bottom: 40px;
    color: #42372D;
    font-size: 40px;
    font-family: Lora, Times New Roman, serif;
}

.classes-photos {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding-bottom: 60px;
    text-decoration: none;
}

.classes-photos a{
    text-decoration: none;
}

.polaroid {
    background: #718473;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin: 10px;
    width: 100%; /* Adjust width as necessary */
}

.polaroid img {
    width: 100%;
    height: auto;
}

.polaroid-caption {
    font-family: Roboto, Helvetica, Arial;
    font-size: 24px;
    text-align: center;
    padding: 3px;
    color: #F8F8F8;
    background-color: #718473;
}

.fourth-sec {
    min-height: 80vh;
    margin: 0;
    padding-bottom: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #718473;
}

.slider {
    position: relative;
    width: 100%;
    height: 500px;
    border-radius: 10px;
    overflow: hidden;
}

.sliders {
    border-radius: 10px;
    position: relative;
    width: 88%;
    height: 100%;
    margin-right: 150px;
}

.community-title {
    text-align: center;
    padding-bottom: 15px;
    margin-bottom: 15px;
    font-size: 40px;
    font-family: Lora, Times New Roman, serif;
    color: #F8F8F8;
}

.item {
    position: absolute;
    width: 550px;
    height: 210px;
    text-align: justify;
    background-color: transparent;
    padding: 20px;
    transition: 0.5s;
    left: calc(50% - 150px);
    top: 0;
}

.card {
    border-radius: 10px;
    background-color: #F8F8F8;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    padding: 40px; /* Add some padding to the bottom to avoid content overlapping the avatar */
    position: relative;
    width: 100%;
    height: 100%;
    margin-top: 60px; /* Adjust margin to move card down */
    color: #42372D;
    font-family: Roboto, Helvetica, Arial;
}

.card-header {
    position: absolute;
    top: -30px; /* Move the avatar up */
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 50px; /* Adjust height to fit half of the avatar */
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: visible; /* Ensure avatar image is not clipped */
}

.card-header img {
    background-color: #75768A;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 2px solid #D9D9D9;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.card-body {
    margin-top: 40px;
    font-size: 24px;
    padding-bottom: 20px;
}

.card-body p {
    padding: 0px 25px;
    font-size: 22px;
    line-height: 35px;
}

#next, #prev {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: transparent;
    border: none;
    cursor: pointer;
}


.item:not(.active) {
    opacity: 0.5;
    transform: scale(0.8);
}

#prev, #next {
    position: absolute;
    top: 50%;
    color: #fff;
    background-color: transparent; /* Remove the background color */
    border: none;
    font-size: xxx-large;
    font-weight: bold;
    cursor: pointer;
    border-radius: 50%;
    width: 70px;
    height: 70px;
    display: flex;
    justify-content: center;
    align-items: center;
    transform: translateY(-50%);
}

#prev svg, #next svg {
    width: 70px;
    height: 70px;
    fill: none;
    stroke: #fff;
    display: block;
    /* Optional: Ensuring no additional space around SVG */
    margin: 0;
    padding: 0;
}

#prev {
    left: 350px;
}

#next {
    right: 180px;
}

.fifth-sec {
    padding: 60px 0;
    background-color: #FFFFFF; /* Adjust as needed */
}

.benefits {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    color: #42372D;
}

.header-benef {
    padding: 15px 0px;
    text-align: center;
    font-family: 'Lora', Times New Roman, serif;
    font-size: 40px;
    
}

.header-benef p {
    font-size: 24px;
    margin-top: 25px;
    font-family: 'Roboto', Helvetica, Arial;
}

.row-benef {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    flex-direction: row; /* Ensure the image is on the left and text on the right */
}

.col-benef-l {
    flex: 1;
    min-width: 300px;
    padding-right: 20px;
    text-align: center;
    position: relative; /* Added for absolute positioning of images */
}

.col-benef-l img {
    max-width: 100%;
    width: 500px;
    height: auto;
    border-radius: 10px;
    position: absolute; /* Added for stacking images on top of each other */
    top: -300px;
    left: 50%; /* Center the images horizontally */
    transform: translateX(-50%); /* Center the images horizontally */
    opacity: 0; /* Hide all images by default */
    transition: opacity 1s ease-in-out; /* Smooth fade transition */
}

.col-benef-l img.active {
    opacity: 1; /* Show the active image */
}


.col-benef-r {
    flex: 1;
    min-width: 300px;
}


.paragraph {
    font-family: Roboto, Helvetica, Arial;
    border-radius: 10px;
    padding: 0px 15px;
    margin-bottom: 1px;
}


.paragraph p {
    font-size: 26px;
    margin-top: -15px;
}

/* Specific paragraph styles if needed */
.paragraph1, .paragraph2, .paragraph3, .paragraph4 {
    font-size: 18px;
}

/* Responsive design */
@media (max-width: 768px) {
    .row-benef {
        flex-direction: column;
    }

    .col-benef-r, .col-benef-l {
        padding-right: 0;
        text-align: center;
    }

    .col-benef-l img {
        margin-top: 20px;
    }
}

/* Section: Social Media */
.sixth-sec {
    padding: 60px 0;
    background-color: #718473; /* Background color */
}

/* Container for Social Media Content */
.social-media {
    max-width: 1200px;
    margin: 0 auto;
    color: #F8F8F8; /* Text color */
}

/* Header Section for Social Media */
.sm-header {
    text-align: center;
    margin-top: 40px;
    margin-bottom: 40px;
    font-family: 'Lora', Times New Roman, serif;
    font-size: 40px;
    color: #F8F8F8;
}

.sm-header p {
    font-family: Roboto, Helvetica, Arial;
    font-size: 24px;
    color: #F8F8F8;
    margin-top: 40px;
}

/* Row for Social Media Columns */
.row-sm {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
}

/* Columns for Social Media */
.col-sm-l, .col-sm-r {
    flex: 1;
    min-width: 300px;
    margin: 0 10px; /* Adjust margin as needed */
}

/* Instagram Photo and Description */
.ins-photo img, .yt-photo img {
    max-width: 100%;
    height: auto;
    
}

.ins-photo img{
    margin-left: 30px;
}

.yt-photo img{
    margin-right: 30px;
    margin-top: 50px;
}

.ins-text, .yt-text{
    font-size: 22px;
    font-family: Roboto, Helvetica, Arial;
}

.ins-desc, .yt-desc {
    color: #F8F8F8;
    border-radius: 10px;
    padding: 20px;
    margin-top: 20px;
    text-align: center;
    transition: transform 0.3s ease;
}

.ins-desc img, .yt-desc img {
    max-width: 50px;
    margin-bottom: 2px;
}

.yt-desc{
    margin-top: 100px;
}

.ins-desc{
    margin-right: 50px;
}

.ins-desc p, .yt-desc p {
    font-size: 14px;
    color: #F8F8F8;
    margin-top: 10px;
    font-size: 22px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .row-sm {
        flex-direction: column;
    }

    .col-sm-l, .col-sm-r {
        margin: 0;
    }

    .col-sm-r {
        margin-top: 20px;
    }
}

/* Email Subscription Section */
.email-sub {
    background: linear-gradient(to bottom, #718473 60%, #F8F8F8 40%); /* Split background color */
    padding: 40px 20px;
    position: relative;
    text-align: center;
    color: #333;
    font-family: Roboto, Helvetica, Arial;
}

/* Inner Box */
.email-sub .row-sub {
    background-color: #2C4B2B; /* Green background for the inner box */
    border: 5px solid #2C4B2B; /* Green border */
    border-radius: 15px;
    padding: 40px;
    max-width: 1160px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #F8F8F8;
    margin: 0px 150px;
}

/* Left Column */
.email-sub .col-sub-l {
    flex: 1;
    text-align: left;
}

.email-sub .sub-title {
    font-size: 32px;
    font-weight: bold;
    color: #F8F8F8;
    margin-bottom: 10px;
}

.email-sub p {
    font-size: 22px;
    color: #F8F8F8;
    margin-bottom: 20px;
    padding-right: 40px;
}

/* Right Column */
.email-sub .col-sub-r {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.email-sub form {
    display: flex;
    align-items: center;
}

.email-sub input[type="email"] {
    padding: 10px;
    font-size: 16px;
    border: none;
    margin-right: -5px;
    width: 150px; /* Increased width for better user experience */
    outline: none;
    border-radius: 5px; /* Added border-radius for consistency */
}

.email-sub button[type="submit"] {
    background: #CA5310;
    box-shadow: 0px 0px 0px rgba(0, 0, 0, 0);
    border: none;
    cursor: pointer;
    padding: 4px 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    outline: none;
}

/* Background Image */
.email-sub img {
    position: absolute;
    bottom: 25px;
    right: 80px;
    width: 151px;
    height: 151;
    z-index: 1; /* Ensure it is above other elements */
}

/* Responsive Design */
@media (max-width: 768px) {
    .email-sub .row-sub {
        flex-direction: column;
        text-align: center;
    }

    .email-sub .col-sub-l,
    .email-sub .col-sub-r {
        flex: none;
        width: 100%;
        margin-top: 20px;
    }

    .email-sub img {
        bottom: -10px;
        right: 10px;
        width: 80px;
    }
}


/* Footer Section */
footer {
    background-color: #F8F8F8;
    color: #42372D;
    padding: 40px 200px;
    font-family: Roboto, Helvetica, Arial;
}

/* Row Container */
footer .row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Contact Section */
footer .contact {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

footer .contact .logo img {
    max-width: 150px;
    margin-bottom: 20px;
}

footer .contact .social-icons {
    display: flex;
    gap: 16px; /* Space between icons */
    margin-top: 10px;
}

footer .contact .logo img{
    margin-left: 20px;
}

footer .contact .social-icons a img {
    width: 24px; /* Adjust size of icons if needed */
    height: 24px;
}

/* Content, Customer, Info, and Get-App Sections */
footer .content,
footer .customer,
footer .info,
footer .get-app {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-top: 20px;
    font-size: 18px;
}

footer .contact-title,
footer .content-title,
footer .customer-title,
footer .info-title,
footer .get-app-title {
    font-weight: bold;
    margin-bottom: 10px;
    font-size: 20px;
}

footer .content a,
footer .customer a,
footer .info a {
    margin-top: 10px;
    color: #42372D;
    text-decoration: none;
    transition: color 0.3s;
}

footer .content a:hover,
footer .customer a:hover,
footer .info a:hover {
    color: #ddd;
}

/* Get App Section */
footer .get-app a img {
    max-width: 120px;
    margin-top: 10px;
    margin-left: -5px;
}


/* Bottom Section */
footer .bottom {
    text-align: center;
    margin-top: 40px;
    font-size: 11px;
    color: #42372D;
    border-top: 1px solid #42372D; /* Add a top border to the bottom section */
    padding-top: 20px; /* Add some padding to the top of the bottom section */
    margin: 5px -80px;
}

/* Responsive Design */
@media (max-width: 768px) {
    footer .row {
        flex-direction: column;
        align-items: center;
    }

    footer .content,
    footer .customer,
    footer .info,
    footer .get-app {
        align-items: center;
        margin-top: 30px;
    }
}


