body {
    font-family: 'Poppins', Arial, sans-serif;
    margin: 0;
    padding: 0;
    color: white;
    text-align: center;
    display: flex;
    flex-direction: column;
    position: relative;
}
.header {
    height: 50px;
    width: 100%;
    background: linear-gradient(to right, rgba(193, 154, 255, 0.8), rgba(64, 93, 230, 0.8));
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    padding-left: 40px;
    box-sizing: border-box;
}
.header .title {
    font-size: 20px;
    color: white;
    font-weight: 600;
}
.header .join-btn {
    padding: 8px 10px;
    background-color: rgba(34,34,34,1);
    font-size: 12px;
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 8px;
}
.header .join-btn:hover {
    background-color: rgba(100,50,201,1);
}
.container {
    flex: 1;
    max-width: 800px;
    padding: 20px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}
h1, h2 {
    margin: 0;
    animation: fadeIn 3s ease-in-out;
}
.main-title {
    font-size: 56px;
    font-weight: 800;
    padding: 20px;
    padding-left: 80px;
    padding-right: 80px;
}
.sub-title {
    font-size: 20px;
    font-weight: 400;
    padding-left: 180px;
    padding-right: 180px;
}
@keyframes fadeIn {
    0% {
        opacity: 0;
        transform: translateY(-20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}
.first-background {
    position: relative;
    margin: 0;
    padding: 0;
    width: 100%;
    height: 85vh; /* Fixed height */
    background: url('background1.jpg') no-repeat center;
    background-size: cover; /* Cover ensures that the background covers the div */
    background-color: black;
}
.second-background {
    position: relative;
    margin: 0;
    padding: 0;
    width: 100%;
    height: auto;
    background: url('background2.jpg') no-repeat left -170px;
    background-size: cover;
    background-color: black;
}
.second-background .title-font {
    font-size: 26px;
    font-weight: 800;
    margin: 40px 0;
}
.third-background {
    height: auto;
    width: 100%;
    background: linear-gradient(to right, rgba(136, 242, 196, 1), rgba(79, 26, 163, 1));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
}
.widget-container {
    margin-top: 20px;
    position: relative; /* Positioned relative to enable absolute positioning of elements inside */
}
.icon-image {
    width: 30px;
    height: auto;
    color: white;
    position: absolute;
    left: 50%;
    bottom: 20px;
    transform: translateX(-50%);
}
footer {
    display: flex;
    background-color: black;
    padding: 30px;
    padding-left: 60px;
    padding-right: 60px;
    color: white;
    box-sizing: border-box;
    flex-direction: column;
}
.footer-title {
    text-align: left;
    font-size: 20px;
    font-weight: 600;
    width: 100%;
    margin-bottom: 20px;
    margin-left: 10px;
}
.footer-content {
    display: flex;
    width: 100%;
    justify-content: space-between;
    font-size: 14px;
}
.footer-left, .footer-right {
    flex: 1; 
    padding: 0 10px;
}
.footer-left {
    padding: 0 10px; 
    max-width: 300px;
    white-space: normal; 
    word-wrap: break-word; 
    text-align: left;
}
.footer-right {
    text-align: right; 
}
.title-font {
    font-size: 26px;
    font-weight: 800;
}
.features-container {
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin: 40px auto;
    max-width: 1100px;
}
.feature {
    width: 30%;
    text-align: center;
    flex-direction: column;
    align-items: center;
}
.feature-title {
    font-size: 24px;
    font-weight: 800;
    margin: 15px 0;
    margin-bottom: 25px;
    color: white;
}
.feature-card {
    width: 270px;
    border: 4px solid rgba(187,206,254,1);
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    padding: 30px 20px 20px 20px;
}
.feature-description {
    margin: 0px 0px;
    padding: 10px;
    color: white;
    font-size: 14px;
}
.feature-details {
    background: url('features_background.jpg') no-repeat center center;
    background-size: 100% auto;
    padding: 40px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: black;
}
.row {
    display: flex;
    justify-content: space-between;
    width: 80%; /* Adjust as per design needs */
    margin: 20px auto;
}
.image-container {
    flex: 1;
    display: flex;
    justify-content: space-around; /* Centering the images horizontally */
    align-items: center; /* Centering the images vertically */
}
.text-container {
    flex: 1;
    padding: 20px;
    font-size: 22px;
    color: white; /* Text color */
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.text-container-right {
    flex: 1;
    padding: 20px;
    font-size: 22px;
    color: white; /* Text color */
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.text-container .title {
    font-size: 32px; /* Title font size */
    font-weight: bold;
    margin-bottom: 10px; /* Space between title and description */
    color: #DF85FF;
}
.text-container-right .title {
    font-size: 32px; /* Title font size */
    font-weight: bold;
    margin-bottom: 10px; /* Space between title and description */
    color: #DF85FF;
}
.row img {
    width: 200px; /* Adjust image size */
    height: auto;
    margin: 10px; /* Space between images */
}

/* Media Queries for Responsiveness */
@media (max-width: 768px) {
    .header .title {
        font-size: 16px; /* Smaller font size for mobile */
    }
    .container {
        padding: 30px 20px;
    }
    .container h1.main-title {
        margin: 0px 100px 20px 20px !important;
    }
    .first-background {
        height: auto; /* Remove fixed height */
    }
    .main-title {
        font-size: 34px; /* Smaller font size for mobile */
        font-weight: 600;
        text-align: left;
        padding: 0px 0px;
    }
    .sub-title {
        font-size: 14px; /* Smaller font size for mobile */
        text-align: left;
        margin: 0px 100px 0px 20px !important;
        padding: 0px 0px;
    }
    .second-background .title-font {
        margin: 20px 0;
    }
    .title-font {
        padding: 0px 20px;
    }
    .features-container {
        flex-direction: column; /* Stack features vertically on smaller screens */
        align-items: center; /* Center each feature on small screens */
        justify-content: center; 
    }
    .feature {
        width: 100%; /* Each feature takes full width */
        display: flex; 
        flex-direction: column;
        margin-bottom: 20px; /* Space between stacked features */
        align-items: center;
    }
    .feature-card {
        margin: 0 auto;
    }
    .row {
        flex-direction: column; /* Stack content vertically on smaller screens */
    }
    .image-container {
        width: 100%; /* Full width for each section */
        flex-direction: column;
    }
    .text-container-right {   
        order: -1;
    }
    .footer-content {
        flex-direction: column; /* Stack footer content vertically */
        align-items: flex-start; /* Align left for small screens */
    }
    .footer-right {
        text-align: left; /* Left-align the right footer text */
        padding-top: 10px; /* Space between left and right footer content */
    }
    .header .join-btn {
        font-size: 10px; /* Smaller font size for button */
        padding: 6px 8px; /* Smaller padding for button */
    }
    footer {
        padding-left: 30px;
        padding-right: 30px;
    }
}