/* Added custom CSS with gray, black, blue, and white color scheme */

/* Root variables for consistent color scheme */
:root {
    --primary-blue: #2563eb;
    --secondary-blue: #3b82f6;
    --light-blue: #dbeafe;
    --dark-gray: #374151;
    --medium-gray: #6b7280;
    --light-gray: #f3f4f6;
    --white: #ffffff;
    --black: #000000;
}

/* Base styles */
body {
    font-family: "Inter", sans-serif;
    line-height: 1.6;
    color: var(--dark-gray);
    background-color: var(--white);
}

/* Headings use Poppins for better visual hierarchy */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Poppins", sans-serif;
    font-weight: 600;
    color: var(--black);
}

/* Custom Search Styles */
.custom-search {
    border: 2px solid var(--light-gray);
    border-radius: 25px;
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
}

.custom-search:focus {
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 0.2rem rgba(37, 99, 235, 0.25);
}

.custom-btn-search {
    background-color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
    color: var(--white);
    border-radius: 25px;
    padding: 0.5rem 1.5rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.custom-btn-search:hover {
    background-color: var(--secondary-blue);
    border-color: var(--secondary-blue);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

/* Carousel Styles */
.carousel-section {
    margin-top: 0;
}

.custom-carousel {
    height: 70vh;
    min-height: 400px;
}

.carousel-img {
    height: 70vh;
    min-height: 400px;
    object-fit: cover;
    filter: brightness(0.8);
}

.custom-caption {
    padding: 2rem;
}

.custom-caption h5 {
    color: var(--white);
    font-size: 2rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.custom-caption p {
    color: var(--light-gray);
    font-size: 1.1rem;
    margin-bottom: 0;
}

/* Carousel Controls */
.carousel-control-prev,
.carousel-control-next {
    width: 5%;
    opacity: 0.8;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    opacity: 1;
}

.carousel-indicators button {
    background-color: var(--primary-blue);
    border: 2px solid var(--white);
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.carousel-indicators button.active {
    background-color: var(--white);
    border-color: var(--primary-blue);
}

/* Partner Logo */
.partner-logo {
    max-height: 80px;
    margin: 0 auto;
    object-fit: contain;
}

/* Responsive Design */
@media (max-width: 768px) {
    .custom-carousel {
        height: 50vh;
        min-height: 300px;
    }

    .carousel-img {
        height: 50vh;
        min-height: 300px;
    }

    .custom-caption {
        padding: 1rem;
    }

    .custom-caption h5 {
        font-size: 1.5rem;
    }

    .custom-caption p {
        font-size: 1rem;
    }

    .navbar-nav {
        text-align: center;
        margin-top: 1rem;
    }

    .nav-link {
        padding: 0.5rem 0;
    }

    .d-flex {
        margin-top: 1rem;
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .custom-carousel {
        height: 40vh;
        min-height: 250px;
    }

    .carousel-img {
        height: 40vh;
        min-height: 250px;
    }

    .custom-caption h5 {
        font-size: 1.2rem;
    }

    .custom-caption p {
        font-size: 0.9rem;
    }

    .navbar-brand {
        font-size: 1.3rem;
    }
}

/* Smooth scrolling and transitions */
* {
    scroll-behavior: smooth;
}

/* Focus styles for accessibility */
.nav-link:focus,
.custom-search:focus,
.custom-btn-search:focus {
    outline: 2px solid var(--primary-blue);
    outline-offset: 2px;
}

/* Card Hover */
.custom-card {
    transition: all 0.8s ease;
}

.custom-card:hover {
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
    transform: translateY(-4px);
}

/* Paragraph */
.custom-paragraph {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
    line-height: 1.6;
    column-count: 1;
}

.custom-paragraph::after {
    content: '';
    display: block;
    margin-top: 1rem;
}

/* Partner Logo */
.partner-logo {
    max-width: 150px;
    max-height: 80px;
    object-fit: contain;
    margin: auto;
}

/* Service Cards */
.service-card {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.service-card img {
    transition: transform 0.5s ease;
}

.service-card:hover img {
    transform: scale(1.1);
}

.overlay {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 60, 120, 0.85);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
    transition: top 0.5s ease;
}

.service-card:hover .overlay {
    top: 0;
}

.overlay-text h5 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.overlay-text p {
    font-size: 0.95rem;
}

.btn-contactar {
    background: linear-gradient(135deg, #0056b3, #007bff);
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    padding: 12px 28px;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.btn-contactar:hover {
    background: linear-gradient(135deg, #004494, #0069d9);
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.btn-contactar:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* About Page Image */
.custom-img {
    width: 280px;
    height: 280px;
    object-fit: cover;
    border-radius: 50% 40% 60% 50% / 60% 50% 40% 50%;
    border: 6px solid #007bff;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
    transition: transform 0.6s ease, border-radius 1s ease, box-shadow 0.4s ease;
    cursor: pointer;
}

.custom-img:hover {
    transform: scale(1.05);
    border-radius: 40% 60% 50% 70% / 50% 60% 70% 40%;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}

/* Map Section */
.map-container {
    position: relative;
    overflow: hidden;
}

/* Cursos */
.course-card {
    border: none;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.course-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.course-img {
    height: 150px;
    object-fit: cover;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.star-rating {
    color: #fbc02d;
}

.card-body {
    text-align: center;
}

.btn-details {
    color: #0d6efd;
    font-weight: 600;
    text-decoration: none;
}

.btn-details:hover {
    text-decoration: underline;
}


/* Slick basic styles */
.multiple-items {
    display: flex;
    align-items: stretch;
}

.multiple-items .slick-slide {
    margin: 0 10px;
}

.multiple-items .slick-slide>div {
    display: flex;
    justify-content: center;
}

.slick-dots {
    bottom: -30px;
}

.slick-dots li button:before {
    font-size: 12px;
    color: var(--primary-blue);
}

.slick-dots li.slick-active button:before {
    color: var(--secondary-blue);
}


/* End of footer.css */
.custom-footer {
    position: relative;
    background: url('../img/ana.png') no-repeat center center;
    background-size: cover;
    color: #ffffff;
    font-family: "Inter", sans-serif;
}

.custom-footer .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(37, 99, 235, 0.85);
    /* azul translúcido sobre a imagem */
    z-index: 1;
}

.custom-footer .container {
    position: relative;
    z-index: 2;
}

.custom-footer h5 {
    font-weight: 600;
    margin-bottom: 1rem;
}

.custom-footer ul li {
    margin-bottom: 0.5rem;
}

.custom-footer p {
    color: #e0e0e0;
}

.custom-footer a {
    color: #ffffff;
    text-decoration: none;
}

.custom-footer a:hover {
    text-decoration: underline;
    color: #3b82f6;
    /* secondary blue */
}

@media (max-width: 768px) {
    .custom-footer {
        text-align: center;
    }

    .custom-footer .row>div {
        margin-bottom: 1.5rem;
    }
}

/*cards da direcao*/
.section-title {
    text-align: center;
    margin-bottom: 50px;
    font-weight: 700;
    color: #1e3c72;
    position: relative;
}

.section-title::after {
    content: '';
    width: 100px;
    height: 4px;
    background: #2a5298;
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

.card {
    width: 19rem;
    border: none;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    transition: all 0.4s ease;
}

.card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.card-img-top {
    height: 240px;
    object-fit: cover;
}

.card-body {
    background: linear-gradient(135deg, #1e3c72, #2a5298);
    color: white;
    text-align: center;
    padding: 25px 15px;
}

.card-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.card-text {
    font-size: 0.95rem;
    opacity: 0.95;
    line-height: 1.5;
}

.block-spacing {
    margin-bottom: 100px;
}


/* End of humanos client.css */

