* {
    margin: 0%;
    padding: 0%;
}

html {
    scroll-behavior: smooth;
}

body {
    width: 100%;
    min-height: 100vh;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    overflow-x: hidden;
}

.fixed-background {
    position: fixed;
    top: 0;
    left: 0;

    width: 100vw;
    height: 100vh;
    height: 100lvh;

    background-image: url(imges/freepik-export-20240507224652bL51.jpeg);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 100% 100%;

    z-index: -1;
    pointer-events: none;
}



a {
    text-decoration: none;
    color: #fff;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 35px;
    z-index: 999;
}

header .logo {
    color: #fff;
    margin-left: 95px;
    font-size: 40px;
}

header ul {

    display: flex;
    justify-content: center;
    align-items: center;
    list-style: none;
    margin-right: 50px;
    /* padding-top: 20px; */

}

header ul li a {
    position: relative;
    font-size: 1.1em;
    font-weight: 500;
    margin-left: 40px;
    padding: 5px;


}

header ul li a::after {
    content: '';
    position: absolute;
    left: 6%;
    bottom: -6px;
    width: 90%;
    height: 3px;
    background: #ffffff;
    transform: scaleX(0);
    transition: transform .3s;
}

header ul li a:hover::after {
    transform: scaleX(1);
}


.title {
    color: #fff;
    font-size: 2.5em;
    text-align: center;
    margin-top: 70px;
}


section .content {
    /* margin-top: 30px;
    color: #fff; */
    width: 100%;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    padding: 150px 0;


}

.branch {
    background: transparent;
    border: 1px solid #fff;
    height: 470px;
    width: 40%;
    overflow: hidden;
    border-radius: 10px;
    backdrop-filter: blur(5px);
    box-shadow: 0 30 30px rgba(0, 0, 0, .5);
    margin: 20px;
    transition: 0.7s ease;
    /* margin-left: 25%; */
}

.branch:hover {
    transform: scale(1.1);
}

.branch:hover .branch-image {
    opacity: 0.9;
}

.branch-image img {
    width: 100%;
    height: 350px;
}

.branch-info {
    padding: 1em;
}

.branch-category {
    font-size: 1.5em;
    color: #ffffff;
}

.branch-term {
    display: flex;
    text-transform: uppercase;
    font-weight: 800;
    margin-top: 10px;
    color: #fff;
}

.more-details {
    text-decoration: none;
    color: #fff;
    transition: 0.7s ease;
}

.more-details:hover {
    transform: scale(1.1);

}

footer {
    width: 100%;
    height: 250px;
    background-color: black;
}

footer #About {
    display: flex;
    width: 100%;
    height: 200px;
    display: flex;
    justify-content: space-around;


}

footer .about,
.follow {
    margin-top: 20px;
    width: 30%;
    height: 150px;
    padding-left: 50px;
}

footer .about h1 {
    font-size: 30px;
    color: #fff;
}

footer .follow h1 {
    font-size: 20px;
    color: #fff;
}

footer .follow ul {
    display: flex;
    justify-content: left;
    list-style: none;
    width: 100%;
    height: 40px;
}

footer .follow ul li {
    color: #fff;
    font-size: 30px;
    margin-right: 40px;
    margin-top: 10px;
}

footer .follow .contry {
    display: flex;
    justify-content: left;
}

footer .follow .contry img {
    width: 50px;
    height: 20px;
    border: 1px solid white;
    margin-top: 10px;
    margin-right: 5px;
}

footer .follow .contry h4 {
    color: #fff;
    margin-top: 11px;
    justify-content: center;
    font-size: 15px;
}

footer div p {
    margin-top: 10px;
    font-size: 15px;
    color: #fff;
    line-height: 140%;
}

footer p {
    margin-top: 15px;
    font-size: 15px;
    color: #fff;
    display: grid;
    place-items: center;
}


/* ============================= */
/* Responsive Design */
/* ============================= */

/* Tablets */
@media (max-width: 1024px) {

    header .logo {
        margin-left: 40px;
    }

    header ul {
        margin-right: 30px;
    }

    .branch {
        width: 43%;
        height: auto;
    }

    .branch-image img {
        height: 280px;
        object-fit: cover;
    }

    section .content {
        padding: 100px 0;
    }

    footer .about,
    footer .follow {
        padding-left: 20px;
    }
}

/* Mobile */
@media (max-width: 768px) {

    header {
        margin: 25px 15px;
        flex-direction: column;
        gap: 25px;
    }

    header .logo {
        margin-left: 0;
        font-size: 35px;
    }

    header ul {
        margin-right: 0;
        flex-wrap: wrap;
        gap: 20px;
    }

    header ul li a {
        margin-left: 0;
        font-size: 1em;
    }

    .title {
        font-size: 1.8em;
        margin: 45px 15px 0;
    }

    section .content {
        padding: 60px 15px;
    }

    .branch {
        width: 90%;
        height: auto;
        margin: 15px 0;
    }

    .branch:hover {
        transform: scale(1.02);
    }

    .branch-image img {
        height: 230px;
        object-fit: cover;
    }

    .branch-info {
        padding: 15px;
    }

    .branch-category {
        font-size: 1.3em;
    }

    .branch-term {
        font-size: 0.9em;
        line-height: 1.5;
    }

    footer {
        height: auto;
        padding-bottom: 15px;
    }

    footer #About {
        height: auto;
        flex-direction: column;
        align-items: center;
        gap: 25px;
    }

    footer .about,
    footer .follow {
        width: 85%;
        height: auto;
        padding-left: 0;
        margin-top: 25px;
    }

    footer .follow ul li {
        margin-right: 25px;
    }

    footer>p {
        padding: 10px 15px;
        text-align: center;
        line-height: 1.6;
    }

    .branch {
        max-width: 100%;
        box-sizing: border-box;
    }

    section .content {
        width: 100%;
        box-sizing: border-box;
        overflow-x: hidden;
    }
}

/* Small Mobile */
@media (max-width: 400px) {

    .title {
        font-size: 1.5em;
    }

    header ul {
        gap: 14px;
    }

    header ul li a {
        font-size: 0.9em;
    }

    .branch {
        width: 95%;
    }

    .branch-image img {
        height: 190px;
    }

    .branch-category {
        font-size: 1.15em;
    }

    footer .about,
    footer .follow {
        width: 90%;
    }
}

html,
body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

/* Mobile Header */
@media (max-width: 768px) {

    header {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        margin: 20px 25px;
        position: relative;
    }

    header .logo {
        margin-left: 0;
        font-size: 28px;
    }

    #menu-toggle {
        display: none;
    }

    .menu-icon {
        display: block;
        color: white;
        font-size: 32px;
        cursor: pointer;
    }

    header ul {
        display: none;
        position: absolute;
        top: 45px;
        right: 0;
        width: 150px;
        margin: 0;
        padding: 15px;
        flex-direction: column;
        align-items: center;
        gap: 20px;
        background: rgba(0, 0, 0, 0.9);
        border: 1px solid white;
        border-radius: 10px;
        z-index: 1000;
    }

    header ul li a {
        margin: 0;
        font-size: 16px;
    }

    #menu-toggle:checked~ul {
        display: flex;
    }

    /* Footer */
    footer #About {
        flex-direction: column;
        align-items: center;
    }

    footer .about,
    footer .follow {
        width: 90%;
        height: auto;
        padding-left: 0;
        margin: 15px 0;
    }

    footer .about h1 {
        font-size: 25px;
    }

    footer .follow h1 {
        font-size: 19px;
    }

    footer .follow ul {
        flex-wrap: wrap;
    }

    footer .follow ul li {
        font-size: 25px;
        margin-right: 20px;
    }

    footer p {
        padding: 0 10px 15px;
        text-align: center;
    }
}

/* Hide menu button on desktop */
@media (min-width: 769px) {

    #menu-toggle,
    .menu-icon {
        display: none;
    }
}