:root { 
   --azul:#0B2C4D; 
   --vermelho:#E30613; 
   --dark: #1a1a1a;
   --gray: #f4f4f4;
 } 
 
 body { 
   font-family: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
   color: #333;
   overflow-x: hidden;
 } 
 
 /* Service Card Clean */
.service-card-clean .card-img-top {
    position: relative;
}

.transition-zoom {
    transition: transform 0.5s ease;
}

.service-card-clean:hover .transition-zoom {
    transform: scale(1.1);
}

.overlay-hover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(11, 44, 77, 0.7); /* Azul */
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-card-clean:hover .overlay-hover {
    opacity: 1;
}

/* Navbar adjustments */
.navbar {
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
 }
 
 .navbar-brand {
    font-weight: 700;
    letter-spacing: 1px;
 }
 
 /* Hero Section - Updated for Animated Banner */
 .hero { 
   background: linear-gradient(rgba(11, 44, 77, 0.7), rgba(6, 26, 46, 0.75)), url('../img/fotobaner.jpg');
   background-size: cover;
   background-position: center;
   background-attachment: fixed;
   color: white; 
   padding: 100px 0; 
   position: relative;
   clip-path: polygon(0 0, 100% 0, 100% 90%, 0 100%);
   overflow: hidden;
 } 
 
 .hero-content {
    display: flex;
    align-items: center;
    justify-content: center;
 }

 .hero-logo-container {
    text-align: right;
    padding-right: 30px;
    animation: fadeInLeft 1.5s ease-out;
 }
 
 .hero-logo {
   height: 250px; 
   filter: drop-shadow(0 5px 15px rgba(0,0,0,0.5));
   animation: spinLogo 6s linear infinite;
 }

 @keyframes spinLogo {
    0% { transform: rotateY(0deg); }
    100% { transform: rotateY(360deg); }
  }
 
 .hero-text-container {
    text-align: left;
    padding-left: 30px;
    border-left: 3px solid var(--vermelho);
    animation: fadeInRight 1.5s ease-out;
 }

 .hero-text {
    font-size: 1.5rem;
    font-weight: 300;
    line-height: 1.6;
    max-width: 600px;
 }

 .hero-text strong {
    font-weight: 700;
    color: #fff;
 }

 /* Animations */
 @keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
 }

 @keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
 }

 /* Responsive adjustments for Hero */
 @media (max-width: 991px) {
    .hero-content {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-logo-container {
        text-align: center;
        padding-right: 0;
        margin-bottom: 30px;
        animation: fadeInDown 1s ease-out;
    }
    
    .hero-text-container {
        text-align: center;
        padding-left: 0;
        border-left: none;
        border-top: 3px solid var(--vermelho);
        padding-top: 20px;
        animation: fadeInUp 1s ease-out;
    }
 }

 /* Section Titles */
 .section-title {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
 }
 
 .section-title h2 {
    color: var(--azul);
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 15px;
 }
 
 .section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--vermelho);
    margin: 0 auto;
 }
 
 /* Services Cards */
 .service-card {
    border: none;
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    height: 100%;
    text-align: center;
 }
 
 .service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
 }
 
 .service-icon {
    font-size: 3rem;
    color: var(--vermelho);
    margin-bottom: 1.5rem;
 }
 
 .service-card h4 {
    color: var(--azul);
    font-weight: 700;
    margin-bottom: 1rem;
 }
 
 .btn-custom {
    background: var(--vermelho);
    color: white;
    border-radius: 50px;
    padding: 10px 30px;
    font-weight: 600;
    transition: all 0.3s;
 }
 
 .btn-custom:hover {
    background: #c20510;
    color: white;
    transform: translateY(-2px);
 }

 /* Carousel customization */
 .carousel-item img {
    border-radius: 8px;
 }

 /* Page Header for internal pages */
.page-header {
  background: linear-gradient(rgba(11, 44, 77, 0.7), rgba(6, 26, 46, 0.75)), url('../objetiva_banner.png');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: white; 
  padding: 100px 0;
  position: relative;
  clip-path: polygon(0 0, 100% 0, 100% 90%, 0 100%);
  overflow: hidden;
  display: flex;
  align-items: center;
  margin-bottom: 2rem;
}

 .page-header h1 {
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
 }

/* Footer Styles */
footer { background-color: var(--azul); color: white; padding: 60px 0 30px 0; margin-top: 40px; font-size: 0.95rem; }
footer a { color: #ffffff; text-decoration: none; transition: opacity 0.3s; }
footer a:hover { color: #ffffff; opacity: 0.8; text-decoration: none; }

.footer-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 25px;
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.footer-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    background: rgba(255, 255, 255, 0.08);
}

footer h5 { 
    text-transform: uppercase; 
    font-size: 1rem; 
    margin-bottom: 25px; 
    font-weight: 800; 
    border-bottom: 1px dashed rgba(255,255,255,0.5); 
    padding-bottom: 15px; 
    display: block;
    width: 100%;
}
.footer-list { list-style: none; padding: 0; margin: 0; }
.footer-list li { margin-bottom: 15px; display: flex; align-items: flex-start; }
.footer-list li i { font-size: 1.1rem; margin-right: 12px; margin-top: 2px; width: 20px; text-align: center; }
.social-icons a { 
    display: inline-flex; 
    align-items: center; 
    justify-content: center; 
    width: 36px; 
    height: 36px; 
    background: white; 
    color: var(--azul); 
    border-radius: 4px; 
    margin-right: 10px; 
    font-size: 1.2rem;
    transition: transform 0.2s;
}
.social-icons a:hover { transform: translateY(-3px); }
