* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Tinos', serif;

}

body {
    margin: 0;
    font-family: Arial, sans-serif;
}

nav {
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    transition: background-color 0.3s ease;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.brand {
    font-size: 24px;
    color: #fff;
    text-decoration: none;
}

.menu {
    display: flex;
    gap: 15px;
}

.menu a {
    color: #fff;
    text-decoration: none;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: #fff;
}

header {
    height: 100vh;
    /* background: url('https://via.placeholder.com/1920x1080') no-repeat center center/cover; */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #fff;
    text-align: center;
    padding: 0 20px;
}


.banner {
    position: relative;
    background-image: url('v3.jpg');
    /* Replace with your image path */
    background-size: cover;
    background-position: center;
    height: 100vh;
    /* Adjust the height as needed */
    display: flex;
    align-items: center;
    justify-content: center;
}

.banner-text {
    width: 50%;
    position: absolute;
    color: white;
    margin-top: 10%;
    text-align: center;
    background-color: rgba(0, 0, 0, 0.5);
    /* Adds a semi-transparent background to the text */
    padding: 20px;
    border-radius: 10px;
    animation: fadeInUp 2s ease-in-out;


}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}


.banner-text h1 {
    margin: 0;
    font-size: 2em;
    font-family: fantasy;
}


.banner-text p {

    margin: 10px 0 0;
    font-size: 1.2em;
}







main section h4 {
    font-size: 25px;
    width: 70%;
    margin-left: 22%;
    margin-top: 2%;
    font-family: Georgia, serif;
}


main section p {
    width: 60%;
    font-size: 1.2em;
    margin-left: 22%;
    margin-top: 3%;
}


/* Responsive styles */
@media (max-width: 768px) {
    .menu {
        display: none;
        flex-direction: column;
        width: 100%;
        text-align: center;
        background-color: black;
    }

    .menu a {
        padding: 15px;
        border-top: 1px solid black;
    }

    .hamburger {
        display: flex;
    }

    .menu.active {
        display: flex;
    }
}

.menu li {
    color: white;
}

.transparent {
    background-color: transparent;
}

.solid {
    background-color: rgba(0, 0, 0, 10);
}


.dropdown .dropbtn {
    cursor: pointer;

}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: rgba(0, 0, 0, 10);
    min-width: 100px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.8);
    z-index: 1;
}

.dropdown-content li {
    color: white;
}

.dropdown-content a {
    color: white;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: left;
}

.dropdown-content a:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.dropdown:hover .dropdown-content {
    display: block;
}


/* text */
.text h2{
    text-align: center;
    margin-top: 5%;
}

/* card */
.conti {
    display: grid;
    grid-template-columns: auto auto auto;
    gap: 5px;
    padding: 20px;
}

.container {
    /* position: relative; */
    margin-top: 20%;
    display: flex;
    width: 100%;
    align-items: flex-start;
    justify-content: center;
  }

.container .card {
    position: relative;
    max-width: 300px;
    height: 215px;
    background-color: #fff;
    margin: 30px 10px;
    padding: 0px 15px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
    border-radius: 15px;
    transition: 0.3s ease; /* Smooth transition */
  }
.container .card:hover {
    height: 320px;
}

.card .top-layer {
    width: 260px;
    height: 220px;
    position: relative;
    top: -30%;
    margin: 0 auto;
    border-radius: 20px;
    z-index: 1;
}

.card .top-layer img {
    height: 40vh;
    max-width: 100%;
    border-radius: 15px;
  }

.card .bottom-layer {
    position: relative;
    padding: 10px 15px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    width: 100%;
    height: 100%;
    font-size: 1rem;
    color: #444;
    top: -80px;
    visibility: hidden;
    opacity: 0;
    transition: 0.3s ease;
}

.container .card:hover .bottom-layer {
    visibility: visible;
    opacity: 1;
    transition-delay: 0.2s;
}

.bottom-layer h3 {
    color: #0e2954;
    font-size: 2rem;
    margin-bottom: 10px;
  }

@media screen and (max-width: 768px) {
    .conti {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        padding: 10px;
    }

    .container .card {
        max-width: 200px;
    }

    .card .top-layer {
        width: 180px;
        height: 150px;
    }

    .card .top-layer img {
        height: 30vh;
    }

    .bottom-layer h3 {
        font-size: 1.5rem;
    }
}

@media screen and (max-width: 480px) {
    .conti {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        padding: 5px;
    }

    .container .card {
        max-width: 150px;
    }

    .card .top-layer {
        width: 130px;
        height: 100px;
    }

    .card .top-layer img {
        height: 20vh;
    }

    .bottom-layer h3 {
        font-size: 1.2rem;
    }
}
/* footer */

.footer {
    background-color: white;
    color: black;
    padding: 20px 0;
    text-align: left;
    border-top: 1px solid grey;
    margin-top: 5%;
  }
  
  .footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    max-width: 1200px;
    margin: auto;
    padding: 0 20px;
  }
  
  .footer-section {
    flex: 1;
    margin: 10px;
    min-width: 250px;
  }
  
  .footer-section h2 {
    margin-left: 13%;
    font-size: 1.5em;
    margin-bottom: 14px;
  }
  
  .footer-section p {
    margin-bottom: 20px;
  }
  
  .footer-section form input {
    background-color: lightgray;
    border: none;
    color:black;
    margin-bottom: 10px;
    padding: 10px;
    width: 100%;
    border-radius: 20px;
  }
  
  .footer-section ul {
    list-style: none;
    margin-left: 5%;
  }
  
  .footer-section ul li {
    margin-bottom: 10px;
  }
  
  .footer-section ul li a {
    color: black;
    text-decoration: none;
  }
  
  .footer-section ul li a:hover {
    text-decoration: underline;
  }
  
  @media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
    }
  
    .footer-section {
        margin: 10px 0;
    }
  }
  
  
  
  