@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
    box-sizing: border-box;
}

html, body {
    width: 100%;
    height: 100%;
}

.container {
    width: 100%;
    min-height: 100vh;
}

header {
    width: 100%;
    background-color: #98D7C2;
    padding: 10px 0;
}

nav {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 2%;
}

.logo {
    width: 8.5rem; /* Size of the logo */
    height: auto; /* Maintain aspect ratio */
    cursor: pointer;
}

nav ul {
    list-style: none;
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0;
    font-weight: 300;
}

nav ul li {
    margin: 0 20px;
    font-weight: 300;
}

nav ul li a {
    color: black;
    text-decoration: none;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
}

nav ul li a.active, nav ul li a:hover {
    background: #2E765E;
    padding: .6rem .6rem;
    border-radius: 5px;
    color: #fff;
}

.btn{
    padding: .75rem 2.2rem;
    outline: none;
    border: none;
    font-size: 1rem;
    background: #2E765E;
    color: #fff;
    font-weight: 500;
    white-space: nowrap;
    border-radius: 5px;
    cursor: pointer;
    text-decoration: none;

}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    height: 3px;
    width: 25px;
    background-color: black;
    margin: 4px 0;
    transition: all 0.3s ease;
}

.content {
    margin-top: 20px; /* Adjust the margin as needed */
    padding: 0 2%;
    width: 100%;
}

.main-video {
    width: 100%;
    height: auto;
}

/* Add this at the end of your existing CSS */
@media (max-width: 1139px) {
    nav {
        padding: 0 5%;
    }

    .nav_links {
        display: none;
        flex-direction: column;
        width: 100%;
        background-color: #e8f5e9;
        position: absolute;
        top: 60px;
        left: 0;
        text-align: center;
    }

    .nav_links.active {
        display: flex;
    }

    .nav_links li {
        margin: 15px 0;
    }

    .hamburger {
        display: flex;
    }

    .btn {
        padding: 10px;
        font-size: 14px;
    }
}

 
/* New styles for the services section */
main {
    background-color: #DCEEC8;
    padding: 2px 2%; /* Reduced padding to decrease the distance */
}

.services {
    padding: 30px 0;
}

.services h1 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2.5rem;
    color: #2E765E;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.service-card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

/* Styling for icon font and image icon */
.service-card i,
.service-card img.service-icon {
    font-size: 2rem;
    color: #2E765E;
    margin-bottom: 15px;
}

.service-card img.service-icon {
    width: 50px; /* Adjust size as needed */
    height: auto;
    display: block; /* Ensures the image acts like a block-level element */
    margin: 0 auto 15px auto; /* Centers the image horizontally and adds margin-bottom */
}

.service-card h2 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #333;
}

.service-card ul {
    list-style: none;
    padding: 0;
    color: #555;
}

.service-card ul li {
    margin-bottom: 10px;
}

.services-grid a {
    text-decoration: none; /* Remove underline from links */
    color: inherit; /* Maintain the original text color */
}

.services-grid a:hover {
    text-decoration: none; /* Ensure no underline on hover as well */
    color: inherit; /* Maintain the original text color on hover */
}

/* Responsive adjustments */
@media (max-width: 1200px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
    }

    .service-card {
        padding: 15px;
    }

    .service-card h2 {
        font-size: 1.2rem;
    }

    .service-card i {
        font-size: 1.5rem;
    }

    .service-card img.service-icon {
        width: 40px; /* Adjust size for smaller screens */
        margin-bottom: 10px; /* Adjust margin for smaller screens */
    }
}

@media (max-width: 480px) {
    .services h1 {
        font-size: 2rem;
    }

    .service-card h2 {
        font-size: 1rem;
    }

    .service-card i {
        font-size: 1.2rem;
    }

    .service-card img.service-icon {
        width: 30px; /* Adjust size for smaller screens */
        margin-bottom: 8px; /* Adjust margin for smaller screens */
    }

    .service-card {
        padding: 10px;
    }
}


/* each service section*/
.service-section {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 2rem;
    margin-bottom: 4rem;
    background-color: #f5f5f5;
    border-radius: 8px;
}

.service-details {
    flex: 1 1 50%;
    margin-bottom: 1rem;
    padding-right: 1rem;
}

.service-images {
    flex: 1 1 50%;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.service-images img {
    width: calc(50% - 0.5rem);
    height: auto;
    border-radius: 8px;
}


/* Responsive Styles */
@media (max-width: 768px) {
    .service-section {
        flex-direction: column;
    }

    .service-details,
    .service-images {
        flex: 1 1 100%;
        padding-right: 0;
    }

    .service-images img {
        width: 100%;
    }
}

/* Empowering section */
.empowering {
    padding: 50px 20px;
    background-color: #e8f5e9;
    text-align: center;
    width: 100vw; /* Ensure it covers the full viewport width */
    margin-left: calc(50% - 50vw); /* Center align the full width background */
    margin-bottom: 20px;
    margin-top: 20px;

}

.empowering-content {
    max-width: 1000px;
    margin: 0 auto;
}

.empowering h2 {
    font-size: 32px;
    margin-bottom: 20px;
    white-space: normal; /* Allow the text to wrap normally */
     
}

.empowering p {
    font-size: 18px;
    margin-bottom: 20px;
}

.start-journey-btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: #2E765E;
    color: white;
    text-decoration: none;
    border-radius: 5px;
}

.start-journey-btn:hover {
    background-color: #25584E;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .empowering h2 {
        font-size: 28px;
    }

    .empowering p {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .empowering h2 {
        font-size: 24px;
    }

    .empowering p {
        font-size: 14px;
    }

    .start-journey-btn {
        padding: 8px 16px;
        font-size: 14px;
    }
}


/* Footer section */
.footer {
    background-color: #1A4314;
    color: white;
    padding: 40px 20px;
    width: 100vw; /* Ensure it covers the full viewport width */
    margin-left: calc(50% - 50vw); /* Center align the full width background */
    text-align: left;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    max-width: 1000px;
    margin: 0 auto;
}

.footer-left, .footer-right {
    flex: 1;
    margin: 40px;
}

.footer h3 {
    font-size: 24px;
    margin-bottom: 20px;
}

.quick-links, .contact-info {
    list-style: none;
    padding: 0;
}

.quick-links li, .contact-info li {
    margin-bottom: 10px;
}

.quick-links a, .contact-info a {
    color: white;
    text-decoration: none;
}

.quick-links a:hover, .contact-info a:hover {
    text-decoration: underline;
}

.contact-info a {
    display: inline-block;
    margin-right: 10px;
}

.contact-info i {
    font-size: 18px;
}

.footer-bottom {
    text-align: center;
    padding: 20px 0;
    border-top: 1px solid #98D7C2;
}

.footer-bottom p {
    margin: 0;
    font-size: 14px;
}

@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        text-align: center;
    }
}

 
