@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Inknut+Antiqua:wght@300;400;500;600;700;800;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Arima:wght@100..700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Arsenal:ital,wght@0,400;0,700;1,400;1,700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Archivo+Narrow:ital,wght@0,400..700;1,400..700&display=swap');

* {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-padding-top: 2rem;
    list-style: none;
    text-decoration: none;
    scroll-behavior: smooth;
}

html,
body {
    overflow-x: hidden;
    max-width: 100vw;
}

/* Custom Scroll Bar */
html::-webkit-scrollbar {
    width: 0.5rem;
    background: white;
}

html::-webkit-scrollbar-thumb {
    border-radius: 2rem;
    background: black;
}

.logo img {
    width: 110px;
    height: auto;
}

header {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
}

/* Top Navbar */
.top-navbar {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    column-gap: 150px;
    min-height: 45px;
    background-color: #568856;
    color: white;
    padding: 10px;
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-around;
    background-color: white;
    min-height: 120px;
    border: 1px solid black;
    padding: 0 20px;
}

.navbar {
    display: flex;
    column-gap: 46px;
}

.navbar a {
    color: black;
    font-size: 16px;
    font-weight: 300;
}

.navbar a:hover {
    color: green;
}

.container {
    max-width: 1200px;
    margin: auto;
}

.menu {
    display: none;
}

/* Home Section */
.home {
    margin-top: 165px;
    background: url(./images/header\ img.jpg)center center no-repeat;
    background-size: cover;
    height: 597px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
}

.home h1 {
    font-size: 48px;
    font-family: "Inknut Antiqua", serif;
}

.home h2 {
    font-size: 36px;
    font-weight: 300;
}

.apply {
    margin-top: 20px;
    padding: 10px 25px;
    background-color: #AD3D3D;
    border: none;
    border-radius: 10px;
    font-weight: 300;
}

.apply:hover {
    background-color: #568856;
}

.apply a {
    color: white;
    font-size: 21px;
}

/* Contact Section */
.contact {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 100px;
    gap: 30px;
    flex-wrap: wrap;
}

.card {
    max-height: 330px;
    max-width: 300px;
    border: 3px solid #568856;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-radius: 10px;
    transition: transform 0.5s ease;
}

.card:hover {
    transform: scale(1.1);
}

.card-icons-circle {
    min-width: 70px;
    min-height: 70px;
    background: #568856;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 50px;
}

.card-icons-circle i {
    font-size: 25px;
    color: white;
}

.headline {
    margin-top: 22px;
    font-weight: 500;
    font-size: 24px;
}

.slogan {
    font-size: 15px;
    font-weight: 300;
    margin-top: 22px;
    width: 250px;
}

.call-now {
    margin-top: 20px;
    margin-bottom: 20px;
    padding: 5px 10px;
    background-color: #568856;
    border: none;
    border-radius: 5px;
}

.call-now a {
    font-family: "Boldonse", system-ui;
    font-size: 15px;
    color: white;
}

.call-now:hover {
    background-color: #AD3D3D;
}

/* Partners Section */
.partners h1 {
    font-size: 64px;
    font-weight: 500;
    font-family: "Arima", system-ui;
    margin-top: 170px;
    text-align: center;
}

.partners-images {
    margin-top: 50px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    justify-items: center;
    row-gap: 80px;
    column-gap: 10px;
}

.partners-images img {
    max-width: 80%;
    height: auto;
}

/* Services Section */
.services {
    /* border: 1px solid black; */
    margin-top: 200px;
    font-family: "Arsenal", sans-serif;
}

.dispatch {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
}

.dispatch img {
    max-width: 90%;
    margin: 20px;
}

.text {
    max-width: 635px;
    margin: 0 auto;
}

.text h1 {
    font-size: 64px;
    color: rgba(0, 0, 0, 0.7);
    margin-top: 50px;
}

.text p {
    font-size: 25px;
    font-weight: 300;
    margin-top: 30px;
    line-height: 1.5;
}

/* About Us Section */
.circle-cards-df {
    display: flex;
    justify-content: space-evenly;
    padding: 100px;
}

.circle-card {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background-color: #568856;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 20px;
}

.circle-inside-card {
    width: 165px;
    height: 165px;
    border-radius: 50%;
    background-color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.circle-inside-card h1 {
    font-size: 32px;
}

.circle-inside-card h4 {
    font-size: 12px;
}

.div-about-us {
    /* border: 1px solid black; */
    padding: 150px;
    text-align: center;
}

.aboutus-two {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    margin-top: 30px;
}

.aboutus-info,
.aboutus-pic-text {
    flex: 1 1 400px;
    width: 100%;
}

.aboutus-pic-text p {
    font-family: "Archivo Narrow", sans-serif;
    font-size: 20px;
    color: rgba(0, 0, 0, 0.7);
}

.aboutus-pic-text a {
    color: #568856;
}

.about-img {
    max-width: 105%;
}

/* === Footer === */
.site-footer {
    background-color: #568856;
    color: white;
    padding: 40px 20px;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 30px;
    max-width: 1200px;
    margin: auto;
}

.footer-column {
    flex: 1 1 200px;
    min-width: 200px;
}

.footer-column h3 {
    margin-bottom: 15px;
    font-weight: 600;
}

.footer-column p,
.footer-column li,
.footer-column a {
    font-size: 14px;
    line-height: 1.6;
    color: white;
}

.footer-column a {
    text-decoration: none;
}

.footer-column a:hover {
    text-decoration: underline;
}

.footer-column ul {
    padding-left: 18px;
}

.map-img {
    width: 100%;
    max-width: 180px;
    height: auto;
    border-radius: 4px;
    margin-top: 10px;
}

.cta-column {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}

.apply-footer-btn {
    margin-top: 10px;
    background-color: #AD3D3D;
    padding: 8px 20px;
    border-radius: 6px;
    font-size: 14px;
    color: white;
    text-decoration: none;
}

.apply-footer-btn:hover {
    background-color: #444;
}

.map{
    width: 150px;
    height: 150px;
}

.rights{
    height: 30px;
    color: white;
    align-items: center;
    text-align: center;
}

.rights p{
    font-size: 15px;
    color: black;
}

/* Responsive Design */

@media (max-width: 1287px) {
    .dispatchs {
        flex-wrap: wrap-reverse;
    }

    .accounting {
        flex-wrap: wrap-reverse;
    }
}

@media (max-width: 991px) {
    .nav {
        padding: 10px;
    }

    .card {
        max-width: 280px;
        max-height: 300px;
    }

    .dispatchs {
        flex-wrap: wrap-reverse;
    }

    .accounting {
        flex-wrap: wrap-reverse;
    }
}

@media (max-width: 900px) {
    .contact {
        flex-direction: column;
        flex-wrap: nowrap;
    }

    .circle-cards-df {
        flex-wrap: wrap;
        flex-direction: column;
        align-items: center;
    }
}

@media (min-width: 769px) {
    .navbar {
        position: static;
        flex-direction: row;
        transform: none;
        height: auto;
        width: auto;
        padding: 0;
        gap: 46px;
        background: none;
    }

    .nav-icon {
        display: none;
    }

    .close-icon {
        display: none;
    }
}


@media (max-width: 768px) {
    .menu {
        display: block;
        font-size: 30px;
        color: #568856;
    }

    .navbar {
        position: fixed;
        top: 0;
        right: 0;
        transform: translateX(100%);
        width: 250px;
        height: 100vh;
        background: white;
        flex-direction: column;
        padding-top: 100px;
        padding-left: 20px;
        gap: 1.5rem;
        transition: transform 0.3s ease-in-out;
        z-index: 999;
    }

    .navbar.active {
        transform: translateX(0);
    }

    .nav-icon {
        display: contents;
        font-size: 32px;
        color: #568856;
        cursor: pointer;
    }

    .close-icon {
        margin-left: -27px;
        padding: 0 20px;
    }

    #close-icon {
        font-size: 32px;
        color: #568856;
        cursor: pointer;
    }

    .home h1 {
        font-size: 32px;
    }

    .home h2 {
        font-size: 24px;
    }

    .text h1 {
        font-size: 36px;
    }

    .text p {
        font-size: 18px;
    }

    .partners-images {
        grid-template-columns: repeat(2, 1fr);
    }

    .apply {
        margin-left: auto;
        margin-right: auto;
    }

    .top-navbar {
        flex-direction: column;
        gap: 5px;
        padding: 10px;
        text-align: center;
    }

    .contact {
        flex-direction: column;
        flex-wrap: nowrap;
    }

    .div-about-us {
        padding: 80px 20px;
        /* Increase vertical space, reduce horizontal for smaller screens */
    }

    .aboutus-two {
        gap: 20px;
        /* Reduce spacing if needed */
    }

    .aboutus-pic-text p {
        font-size: 18px;
    }

    .circle-cards-df {
        padding: 60px 20px;
        /* Adjust other related section spacing */
    }

    .about-img {
        width: 90%;
        max-width: 100%;
        height: auto;
        display: block;
        margin: 0 auto;
    }

    .site-footer{
        display: flex;
        justify-content: center;
    }

}

@media (max-width: 480px) {
    .partners-images {
        grid-template-columns: repeat(1, 1fr);
    }

    .footer-container {
    align-items: center;
    text-align: center;
  }

  .footer-column {
    align-items: center;
    text-align: center;
  }

  .footer-column ul {
    padding-left: 0;
    list-style-position: inside;
  }

  .cta-column {
    align-items: center;
  }

  .map-img {
    margin: 0 auto;
  }
}
