* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

html, body {
    overflow-x: hidden; /* Prevent horizontal scrolling */
}


/* For the header */
header {
    position: relative;
    margin-top: 10px;
}

.main-header {
    top: -10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #f1f1f1;
    padding: 10px 20px;
    box-shadow: 0 4px 2px -2px gray;
    position: relative;
    z-index: 1000; /* Ensure the header stays above other content */
}

.logo img {
    max-height: 70px;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 15px;
    transition: all 0.3s ease;
}

.nav-links li {
    margin: 0 15px;
}

.nav-links a {
    font-weight: bolder;
    text-decoration: none;
    color: #333333;
    font-size: 16px;
    padding: 10px 15px;
    transition: background-color 0.3s, color 0.3s;
}

.nav-links a:hover,
.nav-links a.active {
    background-color: #0059ff;
    color: white;
    border-radius: 4px;
}

.search-icon a {
    color: #555;
    font-size: 20px;
    padding: 5px 10px;
    background-color: white;
    border-radius: 5px;
}

.search-icon a:hover {
    color: #000;
    background-color: #ddd;
}

/* For mobile navigation */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    height: 3px;
    width: 25px;
    background-color: #333;
    margin: 4px 0;
    transition: all 0.3s ease;
}




/* -------M---------- */



.hero {
    /* top: 5px; */
    height: 70vh;
    position: relative;
}

.swiper-container {
    height: 100%;
    width: 100%;
}

.swiper-container {
    overflow: hidden; /* Ensure no extra content shows */
}

.swiper-slide {
    width: 100%; /* Ensure slides take up full width */
}


.swiper-slide {
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    height: 100%;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: relative;
}

.hero-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.3)); /* Gradient overlay */
    z-index: 1; /* Ensures it's layered above the image */
}

.hero-content, .hero-content-right {
    position: relative;
    z-index: 2; /* Ensures text is above the gradient */
    color: white;
    background: none; /* Remove the background */
    padding: 10px;
}

.hero-content {
    position: absolute;
    bottom: 20px;
    left: -100%;
    opacity: 0;
    transition: all 0.5s ease-in-out;
}

.hero-content.active {
    left: 20px;
    opacity: 1;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 0.5rem;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}

.hero-content p {
    margin-top: -10px;
    font-size: 1rem;
    font-weight: bold;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}

.hero-content-right {
    position: absolute;
    top: -100%;
    right: -100%;
    text-align: right;
    z-index: 2;
    transition: all 0.5s ease-in-out;
    opacity: 0;
}

.hero-content-right.active {
    top: 20px;
    right: 20px;
    opacity: 1;
}

.hero-content-right h1 {
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    font-size: 3.5rem;
    margin-bottom: 0.1rem;
}

.hero-content-right h2 {
    font-size: 2rem;
    font-weight: 700;
    /* margin-bottom: 5px; */
}

.hero-content-right h3 {
    font-size: 1.5rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hero-content-right p {
    font-size: 1.1rem;
    line-height: 1.5;
    font-weight: bold;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}



.swiper-button-next,
.swiper-button-prev {
    color: rgb(255, 255, 255);
    width: 60px;
    height: 60px;
    background-color: rgba(0, 0, 0, 0.7);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid white;
    font-size: 1.5rem;
}

.swiper-button-next, .swiper-button-prev {
    color: white !important; /* Change the button color to white */
}

.swiper-button-next::after, .swiper-button-prev::after {
    color: white; /* Ensure the arrow itself is white */
}

.swiper-button-next, .swiper-button-prev {
    background-color: transparent; /* Optional: Remove any background color */
}


.swiper-button-next::before {
    content: '>';
    font-size: 1.8rem;
    color: white;
}

.swiper-button-prev::before {
    content: '<';
    font-size: 1.8rem;
    color: white;
}



.about-section {
    display: flex;
    align-items: center;
    padding: 50px;
    justify-content: space-between; /* Ensure space between the image and text */
}

.about-image {
    flex: 1;
}

.about-image img {
    border-radius: 10px;
    width: 80%;
    height: auto;
    margin-left: 60px;
}

.about-text {
    flex: 1;
    padding-left: 40px;
    position: relative;
    margin-left: 40px;
    width: 80%;
}

.vertical-text {
    margin-left: 50px;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    font-size: 1.5rem;
    font-weight: bold;
    color: #333;
    position: absolute;
    margin-top: -40px;
    left: -60px; /* Adjust this value to position closer to the image */
}

.about-text h2 {
    font-size: 2rem;
    font-weight: bold;
    color: #666;
}

.green-line {
    width: 50px;
    height: 3px;
    background-color: #4CAF50;
    border: none;
    margin-bottom: 20px;
}

.about-text p {
    font-size: 1rem;
    color: #666;
    line-height: 1.8;
    margin-bottom: 20px;
}



.services {
    text-align: center;
    padding: 50px;
    background-color: #ddd;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.service-card {
    background: white;
    margin-left: 70px;
    padding: 20px;
    /* border-radius: 8px; */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: left;
    position: relative;
    width: 80%;
    height: auto;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px); /* Lift card slightly */
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15); /* Add shadow on hover */
}

.service-card:hover i {
    color: #4CAF50; /* Change icon color on hover */
}

.service-card i {
    transition: color 0.3s ease;
    font-size: 2.5rem;
    color: #2557c3; /* Green color for the icons */
    margin-bottom: 10px;
}

.service-card h3 {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 10px;
}

.service-card p {
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
    text-transform: uppercase;
}



.info-section {
    padding: 50px 0;
    text-align: center;
}

.info-container {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.info-card {
    background-color: #fff;
    border: 1px solid #ddd;
    padding: 20px;
    flex: 1;
    text-align: left;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.info-card:hover {
    transform: translateY(-10px); /* Card moves up slightly */
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2); /* Adds shadow effect */
}

.info-card img {
    width: 100%;
    height: auto;
    transition: transform 0.3s ease;
}

.info-card:hover img {
    transform: scale(1.1); /* Slight zoom-in effect */
}

.info-card h3 {
    font-size: 1.5rem;
    margin-top: 20px;
}

.info-card p {
    font-size: 1rem;
    color: #666;
}

.info-button {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background-color: #4c60af;
    color: #fff;
    padding: 5px 10px;
    text-decoration: none;
    border-radius: 3px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.info-card:hover .info-button {
    opacity: 1; /* Button appears on hover */
}



.facts-figures {
    text-align: center;
    padding: 50px 0;
    background-color: #272525;
    color: #fff;
}

.facts-figures h2 {
    color: #ffffff;
    margin-bottom: 30px;
    font-size: 2rem;
}

.facts-grid {
    display: flex;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.fact-card {
    margin: 0 auto;
    width: 350px;
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.fact-card h3 {
    font-size: 2.5rem;
    color: #ffffff;
    margin-bottom: 10px;
}

.fact-card p {
    font-size: 1rem;
    color: #ccc;
}

.certifications {
    text-align: center;
    padding: 50px 0;
}

.certification-logos {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.certification-logo img {
    width: 120px; /* Adjust size as needed */
    height: auto;
}



.footer {
    background-color: #f9f9f9;
    padding: 40px 0;
    width: 100%;
}

.footer-container {
    /* margin-left: 90px;
    margin-right: -40px; */
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    padding: 0 30px; /* Reduced padding for closer sections */
    max-width: 100%;
}

.footer-about img {
    width: 150px;
    margin-bottom: 20px;
}

.footer-about p {
    font-size: 0.9rem;
    color: #666;
    max-width: 300px;
}

.footer-menu h3, .footer-contact h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: #333;
}

.footer-menu ul {
    list-style-type: disc; /* Add bullet points */
    padding-left: 20px; /* Space between bullets and text */
    margin: 0;
}

.footer-menu ul li {
    margin-bottom: 5px; /* Reduce vertical gap between links */
}

.footer-menu ul li a {
    color: #4CAF50;
    text-decoration: none;
}

.footer-menu ul li a:hover {
    text-decoration: underline;
}

.footer-contact p {
    font-size: 0.9rem;
    color: #666;
    max-width: 300px;
}

.footer-bottom {
    text-align: center;
    margin-top: 20px;
    font-size: 0.9rem;
    color: #666;
    width: 100%;
    padding-top: 20px;
    border-top: 1px solid #e0e0e0;
}

/* Adjust spacing between footer sections */
.footer-about, .footer-menu, .footer-contact {
    flex: 1;
    margin-right: 10px; /* Reduce horizontal space between sections */
}

/* Mobile-specific styles */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        background-color: #f1f1f1e2;
        width: 100%;
        padding: 20px 0;
        transition: max-height 0.8s ease, opacity 0.4s ease;
    }

    .nav-links.active {
        display: block;
        opacity: 1;
        max-height: 300px; /* Adjust the height as needed */
    }

    .logo img {
        max-height: 35px;
    }
    

    .nav-links li {
        margin: 10px 0;
        text-align: center;
    }

    .hamburger {
        display: flex;
    }

    .nav-links.active {
        display: flex;
    }

    .hamburger.toggle span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .hamburger.toggle span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.toggle span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    .search-icon a {
        color: #555;
        font-size: 10px;
        padding: 5px 10px;
        background-color: white;
        border-radius: 5px;
        margin-left: 100px;
    }
}

@media (max-width: 768px){
    .hero-content h1 {
        font-size: 2rem;
        margin-bottom: 0.5rem;
        font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    }
    
    .hero-content p {
        margin-top: -10px;
        font-size: 0.5rem;
        font-weight: bold;
        font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    }

    .hero-content-right h1 {
        font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
        font-size: 2rem;
        margin-bottom: 0.1rem;
    }
    
    .hero-content-right h2 {
        font-size: 1rem;
        font-weight: 700;
        /* margin-bottom: 5px; */
    }
    
    .hero-content-right h3 {
        font-size: 0.75rem;
        font-weight: 500;
        text-transform: uppercase;
        letter-spacing: 2px;
    }
    
    .hero-content-right p {
        font-size: 0.55rem;
        line-height: 1;
        font-weight: bold;
        font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    }
}

@media (max-width: 768px){
    @import url('https://fonts.googleapis.com/css2?family=Lato:wght@300;400;700&display=swap');


    .about-section {
        flex-direction: column;
        align-items: center;
        padding: 20px;
        text-align: center;
    }

    .about-text h2 {
        font-size: 0.9rem;
        font-weight: bold;
        color: #666;
        text-transform: uppercase;
    }

    .vertical-text {
        display: none;
    }

    .green-line {
        width: 50px;
        height: 4px;
        background-color: #4CAF50;
        border: none;
        margin: 0 auto;
    }

    .about-image img {
        margin: 0 auto;
        width: 100%; /* Make the image responsive */
        height: auto;
        max-width: 500px; /* Limit the max width */
    }

    .about-text {
        padding: 0; /* Remove padding */
        margin-left: 0; /* Reset margin */
        width: 100%; /* Full width */
    }

    .about-text p {
        font-weight: 300;
        font-size: 0.95rem;
        color: #666;
        line-height: 1.5;
        margin-bottom: 10px;
        text-align:justify;
        margin-top: 10px;
        font-family: 'Lato', sans-serif;
    }
}

@media (max-width: 768px){
    @import url('https://fonts.googleapis.com/css2?family=Lato:wght@300;400;700&display=swap');

    .services {
        padding: 20px; /* Adjusts padding for mobile */
    }

    .services-grid {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 20px; /* Space between the cards */
        padding: 10px; /* Add padding if needed */
    }
    
    .service-card {
        margin: 0 auto;
        width: 100%; /* Take most of the screen width, adjust as needed */
        max-width: 500px; /* Maximum width for the card */
        background: white;
        padding: 20px;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        text-align: center;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }
    

    .service-card h3 {
        font-size: 1rem;
        color: #333;
        margin-bottom: 10px;
    }

    .services h2{
        font-size: 1.2rem;
    }
    
    .service-card p {
        font-size: 0.85rem;
        color: #666;
        line-height: 1.6;
        text-transform: uppercase;
    }

}

@media (max-width: 768px){
    .info-container {
        flex-direction: column;
    }
}

@media (max-width: 768px){
    .facts-grid{
        flex-direction: column;
    }
}

/* Footer adjustments for mobile */
@media (max-width: 768px) {

    .footer-container {
        flex-direction: column; /* Stack sections vertically */
        align-items: center; /* Center align items */
        padding: 20px; /* Add padding for better appearance */
        text-align: center; /* Center text */
    }

    .footer-menu{
        align-items: center;
        text-align: center;
        width: 100%;
    }

    .footer-menu ul li{
        align-items: center;
        text-align: left;
    }
}
