* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body, html {
    font-family: Arial, sans-serif;
    width: 100%;
    height: 100%;
    overflow-x: hidden;
}

#home {
    background-color: white;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    overflow: hidden;
}

.home-section::before,
.home-section::after {
    content: '';
    position: absolute;
    width: 50%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 0;
    transition: transform 1s ease-out; 
}

.home-section::before {
    left: 0;
    background-image: url('../images/image5.jpg');
    clip-path: polygon(0 0, 100% 0, 0 100%);
    transform: translateX(var(--translate-left, 0));
}

.home-section::after {
    right: 0;
    background-image: url('../images/image1.jpg');
    clip-path: polygon(100% 0, 100% 100%, 0 100%);
    transform: translateX(var(--translate-right, 0));
}

.center-logo {
    position: absolute;
    z-index: 10;
    width: 150px;
    height: auto;
}

.scroll-arrow {
    cursor: pointer;
    position: absolute;
    top: 500px;
    width: 30px;
    height: 30px;
    border-left: 4px solid black;
    border-bottom: 4px solid black;
    transform: rotate(-45deg);
    animation: bounce 1.5s infinite;
    z-index: 10;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0) rotate(-45deg);
    }
    50% {
        transform: translateY(10px) rotate(-45deg);
    }
}

section {
    width: 100vw;
    min-height: 100vh;
    padding: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

h1 {
    font-size: 3rem;
    color: #fff;
}

#about {
    position: relative;
    background-image: url('../images/image2.jpg'); 
    background-size: cover;
    background-position: center;
    width: 100vw;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff; 
    overflow: hidden;
}

#about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7); 
    z-index: 1;
}

#about .content {
    position: relative;
    z-index: 2; 
    text-align: center;
}

#about h1 {
    font-size: 3rem;
    margin-bottom: 20px; 
}

#about p {
    font-size: 1.25rem; 
    max-width: 800px; 
    margin: 0 auto; 
}

.arrow-up {
    cursor: pointer;
    position: absolute;
    top: 100px; 
    width: 30px;
    height: 30px;
    border-top: 4px solid white;
    border-right: 4px solid white;
    border-bottom: 0; 
    transform: rotate(45deg); 
    animation: bounce 1.5s infinite;
    z-index: 10;
}

.arrow-down {
    cursor: pointer;
    position: absolute;
    bottom: 100px;
    width: 30px;
    height: 30px;
    border-left: 4px solid white;
    border-bottom: 4px solid white;
    transform: rotate(-45deg);
    animation: bounce 1.5s infinite;
    z-index: 10;
}

#about2 {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 50px;
    background-color: white; 
    position: relative;
    overflow: hidden;
}

.about2-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.about2-image img {
    width: 600px; 
    height: 600px; 
    object-fit: cover;
    border-radius: 50%; 
    transition: border-radius 0.5s ease-in-out; 
}

.about2-visible .about2-image img {
    border-radius: 0; 
    border: 4px solid #2c3e50;
}

.about2-hidden .about2-image img {
    border-radius: 50%; 
}

.about2-content {
    flex: 1;
    padding: 50px;
    color: #2c3e50; 
    opacity: 0; 
    transform: translateX(-100%); 
    transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out; 
}

.about2-visible .about2-content {
    opacity: 1; 
    transform: translateX(0); 
}

#about2 h1 {
    font-size: 2.5rem;
    color: #2c3e50;
}

#about2 p {
    font-size: 1.25rem;
}

.arrow-up2 {
    cursor: pointer;
    position: absolute;
    top: 100px; 
    width: 30px;
    height: 30px;
    border-top: 4px solid black;
    border-right: 4px solid black;
    border-bottom: 0; 
    transform: rotate(45deg); 
    animation: bounce 1.5s infinite;
    z-index: 10;
}

.arrow-down2 {
    cursor: pointer;
    position: absolute;
    bottom: 100px;
    width: 30px;
    height: 30px;
    border-left: 4px solid black;
    border-bottom: 4px solid black;
    transform: rotate(-45deg);
    animation: bounce 1.5s infinite;
    z-index: 10;
}

.menu-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 50px 0;
    background-image: url('../images/bgImageFinal.jpeg'); 
    background-size: cover; 
    background-position: center; 
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.7); 
}

#menu-button {
    margin: 10px 0;
    font-size: 18px;
    padding: 5px 10px;
}

.card-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr); 
    gap: 20px; 
    width: 80%;
    margin-top: 20px;
}

.card {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-10px); 
}

.card-img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.card-body {
    padding: 15px;
}

.card-body h5 {
    font-size: 18px;
    margin-bottom: 10px;
}

.card-body p {
    font-size: 14px;
    color: #555;
}

.arrow-up3 {
    cursor: pointer;
    position: absolute;
    top: 35px; 
    width: 30px;
    height: 30px;
    border-top: 4px solid black;
    border-right: 4px solid black;
    border-bottom: 0; 
    transform: rotate(45deg); 
    animation: bounce 1.5s infinite;
    z-index: 10;
}

.arrow-down3 {
    cursor: pointer;
    position: absolute;
    bottom: 35px;
    width: 30px;
    height: 30px;
    border-left: 4px solid black;
    border-bottom: 4px solid black;
    transform: rotate(-45deg);
    animation: bounce 1.5s infinite;
    z-index: 10;
}

.contact-section {
    padding: 50px 0;
    background-color: white; 
}

.contact-section h1 {
    text-align: center;
    margin-bottom: 30px;
}

.contact-section p {
    text-align: center;
    margin-bottom: 20px;
}

.map-container {
    overflow: hidden; 
}

.footer {
    background-color: #000; 
    color: #fff; 
    padding: 20px 0; 
    position: relative; 
    bottom: 0; 
    width: 100%; 
}

.footer p {
    margin: 0; 
    text-align: center; 
}

#link {
    text-decoration: none; 
}

.icon-container {
    display: flex;
    justify-content: center; 
    gap: 20px; 
    margin-top: 20px;
}

.icon-link {
    text-decoration: none;
    color: #333; 
    transition: color 0.3s;
}

.icon-link:hover {
    color: #007bff; 
}

@media (max-width: 900px) {
    #about2 {
        flex-direction: column; 
        align-items: center; 
        padding: 20px; 
    }

    .about2-image img {
        width: 300px; 
        height: 300px; 
        border-radius: 0; 
        margin-top: 20px;
    }

    .about2-content {
        padding: 20px;
        opacity: 1; 
        transform: translateX(0); 
    }
    
    #about2 h1 {
        font-size: 2rem; 
    }

    #about2 p {
        font-size: 1rem; 
    }
}

.arrow-up4 {
    cursor: pointer;
    position: absolute;
    top: 35px; 
    width: 30px;
    height: 30px;
    border-top: 4px solid black;
    border-right: 4px solid black;
    border-bottom: 0; 
    transform: rotate(45deg); 
    animation: bounce 1.5s infinite;
    z-index: 10;
}

@media (max-width: 900px) {
    .card-container {
        grid-template-columns: repeat(2, 1fr); 
        width: 90%; 
    }
    
    .card-img {
        height: 200px;
    }
}

@media (max-width: 900px) {
    .arrow-up,
    .arrow-down,
    .arrow-up2,
    .arrow-down2,
    .arrow-up3,
    .arrow-down3,
    .arrow-up4 {
        display: none; 
    }
}
