body {
    background: white;
}

@keyframes slideInFromBottom {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.ana-name {
    animation: slideInFromBottom 1s ease-out;
}

.intro-text {
    animation: slideInFromBottom 1.2s ease-out;
}

.intervencoes-header h1 {
    animation: slideInFromBottom 0.8s ease-out;
}

.intervencoes-header p {
    animation: slideInFromBottom 1s ease-out 0.2s both;
}

.intervention-card {
    animation: slideInFromBottom 0.8s ease-out backwards;
}

.intervention-card:nth-child(1) {
    animation-delay: 0.1s;
}

.intervention-card:nth-child(2) {
    animation-delay: 0.2s;
}

.intervention-card:nth-child(3) {
    animation-delay: 0.3s;
}

.intervention-card:nth-child(4) {
    animation-delay: 0.4s;
}

.intervention-card:nth-child(5) {
    animation-delay: 0.5s;
}

.intervention-card:nth-child(6) {
    animation-delay: 0.6s;
}

.contact-section h2 {
    animation: slideInFromBottom 0.8s ease-out;
}

.contact-item {
    animation: slideInFromBottom 0.8s ease-out backwards;
}

.contact-item:nth-child(1) {
    animation-delay: 0.2s;
}

.contact-item:nth-child(2) {
    animation-delay: 0.3s;
}

.contact-item:nth-child(3) {
    animation-delay: 0.4s;
}

.blue_white h2 {
    animation: slideInFromBottom 0.8s ease-out;
}

.blue_white form {
    animation: slideInFromBottom 1s ease-out 0.2s both;
}

.intro-text {
    text-align: justify;
}

.navbar-brand {
    font-size: 1.3rem;
    white-space: normal;
    word-break: break-word;
}

@media (max-width: 576px) {
    .navbar-brand {
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .navbar-brand {
        font-size: 0.85rem;
    }
}

.ana-name {
    font-size: 7rem;
    color: #333;
    margin-bottom: 0.5rem;
    letter-spacing: 1px;
    text-align: center;
    font-family: 'Cormorant Garamond', serif;
}

@media (max-width: 768px) {
    .ana-name {
        font-size: 2.5rem;
    }
}

.col-md-6 h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2rem;
}

.col-md-6 .intro-text {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.15rem;
    color: #444;
    font-weight: 500;
    line-height: 1.5;
}

.blue_color {
    background-color:#cfe8ff;

}

.btn-custom-outline {
  color: #508ec8;
  border: 1px solid #508ec8;
  background-color: transparent;
}

.btn-custom-outline:hover {
  color: #fff;
  background-color: #508ec8;
  border-color: #508ec8;
}

.btn-custom-outline:focus {
  box-shadow: 0 0 0 0.2rem rgba(122, 79, 138, 0.25);
}

.image-crop {
  width: 100%;
  height: 100vh;
  overflow: hidden;
  display: flex;
  justify-content: center;
}

.image-crop img {
  height: 100%;
  width: auto;
  object-fit: cover;
  object-position: center 85%;
}


.navbar-glass {
  background: rgba(180, 180, 180, 0.25);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

.whatsapp-float img {
    width: 100%;
    height: 100%;
}

.contact-section h2 {
    font-weight: 600;
    color: #333;
    font-size: 2rem;
}

.contact-item {
    padding: 20px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.contact-item h5 {
    color: #333;
    font-weight: 600;
}

.contact-item p {
    color: #666;
    margin-bottom: 0;
    line-height: 1.6;
}

.contact-item a {
    color: #508ec8;
    text-decoration: none;
}

.contact-item a:hover {
    text-decoration: underline;
    color: #3a6a9e;
}

.map-container {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.intervencoes-container {
    padding-top: 120px;
    padding-bottom: 60px;
    background: white;
    min-height: 100vh;
}

.intervencoes-header {
    text-align: center;
    margin-bottom: 60px;
}

.intervencoes-header h1 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 3rem;
    color: #333;
    margin-bottom: 20px;
    font-weight: 600;
    letter-spacing: 1px;
}

.intervencoes-header p {
    font-size: 1.1rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

.intervention-card {
    background: white;
    border-radius: 12px;
    padding: 15px;
    margin-bottom: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border-left: 5px solid #508ec8;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.intervention-grid .row {
    row-gap: 20px;
}

.intervention-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(80, 142, 200, 0.2);
    border-left-color: #3a6a9e;
}

.intervention-card h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.6rem;
    color: #333;
    margin-bottom: 15px;
    font-weight: 600;
}

.intervention-card .icon {
    font-size: 2.5rem;
    color: #508ec8;
    margin-bottom: 15px;
}

.intervention-card p {
    color: #666;
    line-height: 1.7;
    font-size: 1rem;
    margin-bottom: 0;
    flex-grow: 1;
}

.intervention-card .description-short {
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
}

@media (max-width: 768px) {
    .intervencoes-header h1 {
        font-size: 2rem;
    }

    .intervention-card {
        padding: 25px;
    }

    .intervention-card h3 {
        font-size: 1.3rem;
    }
}

.nav-link {
    font-weight: 400;
    font-size: 1.05rem;
    color: #3f3d3d !important;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem !important;
    border-radius: 4px;
}

.nav-link:hover {
    color: #508ec8 !important;
    background-color: rgba(80, 142, 200, 0.1);
    transform: translateY(-2px);
}

.nav-item.active .nav-link {
    color: black !important;
    font-weight: 400;
}