* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Neuton', serif;
    color: #006ac0;
    padding-top: 80px;
}

.navbar {
    display: flex;
    align-items: center;
    background: #fff;
    padding: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    justify-content: space-between;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 50px;
    margin-right: 10px;
}

h1 {
    margin: 0;
    color: #006ac0;
}

.menu {
    list-style: none;
    display: flex;
    margin-left: auto;
}

.menu li {
    margin: 0 15px;
    position: relative;
}

.menu a {
    text-decoration: none;
    color: #006ac0;
    padding: 5px 10px;
    border-radius: 5px;
    transition: background-color 0.3s, color 0.3s;
}

.menu a:hover {
    background-color: #006ac0;
    color: #fff;
}

.menu .active > a {
    background-color: #006ac0;
    color: #fff;
    font-weight: bold;
}

.dropdown {
    display: none;
    position: absolute;
    background: #fff;
    list-style: none;
    padding: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.menu li:hover .dropdown {
    display: block;
}

.dropdown li {
    margin: 5px 0;
}

.dropdown a {
    padding: 5px 10px;
    color: #006ac0;
    display: block;
    transition: background-color 0.3s, color 0.3s;
}

.dropdown a:hover {
    background-color: #006ac0;
    color: #fff;
}

.banner img {
    width: 100%;
    height: auto;
}

.content {
    margin: 20px 0;
}

.text-image {
    display: flex;
    align-items: center;
    background: #fff;
    padding: 20px;
    margin: 10px 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.text-image:hover {
    transform: scale(1.02);
}

.image {
    flex: 1;
    max-width: 50%;
}

.image img {
    width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: cover;
    margin: 0 auto;
    transition: box-shadow 0.3s;
}

.image img:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.text {
    flex: 1;
    padding: 20px;
    text-align: justify;
    line-height: 1.8;
    transition: color 0.3s;
}

.text:hover {
    color: rgb(55, 55, 109);
}

h2 {
    margin-bottom: 15px;
    color: #006ac0;
    font-size: 1.5em;
    font-weight: bold;
    text-align: left;
}

.second-section {
    background-color: #006ac0;
    color: white;
    display: flex;
    align-items: center;
}

.second-section h2 {
    color: white;
}

.second-section .image {
    max-width: 50%;
}

.second-section .text {
    color: white;
}

.cards {
    display: flex;
    justify-content: space-around;
    margin: 20px 0;
    flex-wrap: wrap;
}

.card {
    position: relative;
    overflow: hidden;
    width: 30%;
    min-width: 250px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
    margin-bottom: 20px;
}

.card:hover {
    transform: scale(1.05);
}

.card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.5s;
}

.card:hover img {
    transform: rotateY(180deg);
}

.card-info {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #006ac0;
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.5s;
}

.card:hover .card-info {
    opacity: 1;
}

.card-info i {
    font-size: 3em;
    margin-bottom: 10px;
}

.card-info h3 {
    font-size: 1.2em;
    margin-bottom: 10px;
}

.card-info button {
    background-color: white;
    color: #006ac0;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 1em;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s;
    font-weight: bold;
}

.card-info button:hover {
    background-color: rgb(170, 84, 84);
    color: #faf5f5;
}

.social-icons {
    position: relative;
    margin-top: 20px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 10px;
    padding: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}

.social-icons a {
    color: #000;
    font-size: 24px;
    transition: transform 0.3s, color 0.3s;
}

.social-icons a:hover {
    transform: scale(1.2) rotate(10deg);
}

.social-icons a:nth-child(1) { color: #25D366; }
.social-icons a:nth-child(2) { color: #3b5998; }
.social-icons a:nth-child(3) { color: #e1306c; }
.social-icons a:nth-child(4) { color: #000000; }
.social-icons a:nth-child(5) { color: #f87408; }

footer {
    text-align: center;
    padding: 20px;
    background: #006ac0;
    color: white;
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1);
}

.centered-title {
    text-align: center;
    font-size: 24px;
    margin: 20px 0;
    color: #006ac0;
}

@media (max-width: 767px) {
    .navbar {
        flex-direction: column;
        align-items: flex-start;
    }

    .menu {
        flex-direction: column;
        width: 100%;
    }

    .menu li {
        margin: 10px 0;
        width: 100%;
    }

    .text-image {
        flex-direction: column;
    }

    .image, .text {
        max-width: 100%;
    }

    .cards {
        flex-direction: column;
    }

    .card {
        width: 100%;
    }
}

@media (min-width: 768px) and (max-width: 1199px) {
    .card {
        width: 48%;
    }
}