* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    font-size: 16px;
    line-height: 1.5;
    padding-top: 100px;
}

.content {
    display: block;
    opacity: 0;
    transition: opacity 1s ease-in;
}

.show {
    opacity: 1;
}

/* NAVBAR */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #204c6a;
    padding: 0 20px;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    height: 140px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.logon {
    width: 100%;
    height: auto;
    max-width: 100px;
}

.navbar-nav .nav-link {
    color: gray;
    margin-left: 15px;
}

.navbar-nav .nav-link:hover {
    color: #000;
}

.nav-item {
    position: relative;
}

.navbar-nav .nav-link.dropdown-toggle {
    color: black;
}

.navbar-nav .nav-link.dropdown-toggle:hover {
    color: green;
}

.dropdown-menu {
    position: fixed !important;
    display: none !important;
    top: 15%;
    left: 50%;
    transform: translateX(-50%);
    width: 950px;
    min-height: 100px;
    max-height: 400px;
    padding: 20px;
    z-index: 1050;
    background-color: white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    display: grid;
    gap: 20px;
    overflow-y: auto;
}

.dropdown-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.dropdown-item {
    background-color: #f0f0f0;
    border-radius: 8px;
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
    transition: background-color 0.3s ease, border 0.3s ease;
    border: 2px solid transparent;
    font-size: 15px;
    font-family: 'Times New Roman', Times, serif;
    width: 100%;
}

.dropdown-item span {
    margin-left: 10px;
}

.dropdown.show .dropdown-menu {
    display: grid !important;
}

.dropdown-title {
    margin: 0;
    font-size: 18px;
    text-align: start;
    font-weight: bold;
}

.dropdown-item:hover {
    background-color: #e0e0e0;
    border: 1px solid red;
}

.dropdown-toggle::after {
    display: none;
}

.svg-icon {
    width: 20px;
    height: 20px;
}

.svg-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* MAIN */
.main-message,
.main-message2 {
    text-align: left;
    margin: 100px 200px 50px;
}

/* QUADRADOS INFOS */
.carousel-inner {
    border: 3px solid black;
    border-radius: 18px;
}

.carousel-item {
    position: relative;
    height: 500px;
    background-color: #1c1c1c;
    border-radius: 15px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.carousel-item img {
    object-fit: cover;
    height: 100%;
    width: 100%;
    opacity: 0.8;
}

.carousel-item h1 {
    font-size: 3rem;
    position: absolute;
    bottom: 30px;
    left: 30px;
    font-weight: bold;
}

.carousel-item p {
    font-size: 1.2rem;
    position: absolute;
    bottom: 70px;
    left: 30px;
    max-width: 500px;
}

.carousel-controls {
    position: absolute;
    left: 87%;
    top: 93%;
    transform: translateY(-50%);
    display: flex;
    gap: 50px;
}

.carousel-control-prev,
.carousel-control-next {
    width: 30px;
    height: 30px;
    border: 2px solid white;
    border-radius: 50%;
    background-color: transparent;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.carousel-control-prev svg,
.carousel-control-next svg {
    fill: transparent;
    position: absolute;
}

.carousel-control-prev svg path,
.carousel-control-next svg path {
    fill: white;
}

.carousel-counter {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 1.2rem;
}

.logo {
    position: absolute;
    top: 20px;
    left: 20px;
    width: 50px;
}

/* FOOTER */
#footer {
    background: #204c6a;
    padding: 3rem;
    padding-top: 7rem;
    padding-bottom: 80px;
}

#footer2 {
    background: #f7f7f7;
    padding: 3rem;
    margin-top: 0px;
    padding-top: 7rem;
    padding-bottom: 80px;
    background-image: url();
}

h2 {
    padding-bottom: 15px;
    font-size: 20px;
    font-weight: 600;
}

.social-links img {
    padding-bottom: 25px;
}

.social-icons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    color: white;
}

.social-icons a {
    color: white;
}

.social-icons a:hover {
    color: #000;
}

.social-icons a i {
    box-shadow: rgb(0 0 0 / 8%) 0px 4px 12px;
    padding: 0.4rem 1rem 0.4rem 1rem;
    border-radius: 3px;
    color: #82074a;
    font-size: 16px;
    margin-right: 12px;
}

li {
    list-style: none;
}

.useful-link h2 {
    padding-bottom: 15px;
    font-size: 20px;
    font-weight: 600;
}

.useful-link img {
    padding-bottom: 15px;
}

.use-links {
    line-height: 32px;
}

.use-links li i {
    font-size: 14px;
    padding-right: 8px;
    color: #898989;
}

.use-links li a {
    color: white;
    font-size: 15px;
    font-weight: 500;
}

.use-links li a:hover {
    color: #000;
}

.address h2 {
    padding-bottom: 15px;
    font-size: 20px;
    font-weight: 600;
}

.address img {
    padding-bottom: 15px;
}

.address-links li a {
    color: #303030;
    font-size: 15px;
    font-weight: 500;
    color: white;
}

.address-links li i {
    font-size: 16px;
    padding-right: 8px;
    color: #82074a;

}

.address-links li i:nth-child(1) {
    padding-top: 9px;
}

.address-links .address1 {
    font-weight: 500;
    font-size: 15px;
    display: flex;
    color: white;
}

.address-links {
    line-height: 32px;
    color: #777777;
}

.copy-right-sec {
    padding: 1.8rem;
    background: #070055;
    color: #fff;
    text-align: center;
}

.copy-right-sec a {
    color: #fcd462;
    font-weight: 500;
}

h2 {
    color: #fff;
}

a {
    text-decoration: none;
}

@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        height: auto;
    }

    .main-message,
    .main-message2 {
        margin: 50px 20px;
    }

    .squares-container {
        padding: 10px;
    }

    .square {
        width: 90%;
        height: auto;
    }
}

.search-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.search-box {
    background: none;
    text-align: center;
}

.closesearch {
    position: absolute;
    top: 10%;
    right: 8%;
    display: block;
    width: 32px;
    height: 32px;
    cursor: pointer;
    transition: transform linear 0.2s;
}


.closesearch svg {
    fill: white;
}

.search-input {
    width: 60rem;
    padding: 10px;
    font-size: 18px;
    border: none;
    border-radius: 5px;
    background: transparent;
    color: white;
    outline: none;
    box-shadow: 0px 3px 0px rgba(32, 76, 106, 1)
}

.h2pesquisa {
    font-size: 1.2rem;
    color: #939393;
    margin-bottom: 50px;
}

.h1pesquisa {
    font-size: 1.2rem !important;
    color: #939393 !important;
    margin-bottom: 50px !important;  
}

.search-btn {
    padding: 10px 20px;
    font-size: 20px;
    background-color: transparent;
    color: white;
    border: none;
}

.services-section {
    text-align: center;
    margin: 50px 0;
}

.services-section h2 {
    font-size: 2rem;
    margin-bottom: 30px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    padding: 0 100px;
}

.service-item {
    background-color: #f5f5f5;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.service-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.service-item i {
    font-size: 2.5rem;
    color: rgb(32, 76, 106);
    margin-bottom: 10px;
}

.service-item h3 {
    font-size: 1.2rem;
    color: #333;
}

.retangulo {
    width: 90%;
    max-width: 1800px; 
    border-radius: 10px;
    padding: 30px;
    margin: 0 auto;
    border: 2px solid black;
    background-color: rgb(32, 76, 106);
}

.imagem-topo {
    width: 150px;
    height: 150px;
    object-fit: cover;
}

.circulo {
    width: 15px;
    height: 15px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}
.circulo:not(:last-child) {
    margin-right: 0.5rem; 
}

.circulos .circulo {
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.mt-custom {
    margin-top: 8rem !important;
}

.custom-button {
    background-color: transparent; 
    color: #fff;
}

.custom-button:hover {
    color: red;
}

.btn-text {
    font-size: 15px;
    margin-left: 20px;
}


@media (max-width: 992px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        padding: 0 50px;
    }
}

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
        padding: 0 20px;
    }
}