/* ========================================
   Condomínios Cascais - Custom CSS
   Author: Condomínios Cascais
   Version: 1.0.0
   ======================================== */

/* ===== CSS Variables ===== */
:root {
    --primary-color: #1E3A8A;
    --primary-light: #3B82F6;
    --secondary-color: #10B981;
    --dark-color: #1F2937;
    --gray-color: #6B7280;
    --light-gray: #F3F4F6;
    --white: #FFFFFF;
    --font-primary: 'Roboto', sans-serif;
    --font-secondary: 'Open Sans', sans-serif;
    --transition: all 0.3s ease;
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
}

/* ===== Global Styles ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-secondary);
    color: var(--dark-color);
    line-height: 1.7;
    font-size: 16px;
    overflow-x: hidden;
    background-color: var(--white);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    font-weight: 700;
    line-height: 1.3;
    color: var(--dark-color);
}

a {
    text-decoration: none;
    transition: var(--transition);
}

a:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

img {
    max-width: 100%;
    height: auto;
}

section {
    position: relative;
}

/* ===== Top Bar ===== */
.top-bar {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 10px 0;
    font-size: 14px;
}

.top-bar .contact-info {
    margin: 0;
}

.top-bar .contact-info li {
    margin-right: 20px;
}

.top-bar .contact-info i {
    margin-right: 8px;
    color: var(--secondary-color);
}

.top-bar .contact-info a {
    color: var(--white);
}

.top-bar .contact-info a:hover {
    color: var(--secondary-color);
}

.top-bar .social-links a {
    display: inline-block;
    width: 32px;
    height: 32px;
    line-height: 32px;
    text-align: center;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--white);
    margin-left: 8px;
    font-size: 14px;
    transition: var(--transition);
}

.top-bar .social-links a:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
}

/* ===== Navigation ===== */
.navbar {
    padding: 15px 0;
    transition: var(--transition);
    background-color: var(--white) !important;
}

.navbar.sticky-top {
    box-shadow: var(--shadow-md);
}

.navbar-brand .logo {
    height: 50px;
    width: auto;
    transition: var(--transition);
}

.navbar-nav .nav-link {
    color: var(--dark-color);
    font-weight: 500;
    padding: 8px 20px !important;
    margin: 0 5px;
    position: relative;
    transition: var(--transition);
    font-size: 15px;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--primary-color);
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    width: 70%;
}

.btn-client-access {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 10px 25px;
    border-radius: 8px;
    font-weight: 600;
    border: 2px solid var(--primary-color);
    transition: var(--transition);
    font-size: 15px;
}

.btn-client-access:hover {
    background-color: transparent;
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-client-access i {
    margin-right: 8px;
}

/* ===== Hero Section ===== */
.hero-section {
    position: relative;
    background: linear-gradient(135deg, var(--primary-color) 0%, #2563EB 100%);
    background-image: url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    min-height: 80vh;
    display: flex;
    align-items: center;
    padding: 80px 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.9) 0%, rgba(37, 99, 235, 0.85) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-section h1 {
    color: var(--white);
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
    margin-bottom: 20px;
}

.hero-section .lead {
    font-size: 1.3rem;
    font-weight: 300;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.3);
}

.hero-buttons .btn {
    padding: 15px 40px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
}

.hero-buttons .btn i {
    margin-right: 10px;
}

.hero-buttons .btn-primary {
    background-color: var(--secondary-color);
    border: 2px solid var(--secondary-color);
}

.hero-buttons .btn-primary:hover {
    background-color: #059669;
    border-color: #059669;
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(16, 185, 129, 0.3);
}

.hero-buttons .btn-outline-light {
    border: 2px solid var(--white);
    color: var(--white);
}

.hero-buttons .btn-outline-light:hover {
    background-color: var(--white);
    color: var(--primary-color);
    transform: translateY(-3px);
}

/* ===== Value Propositions ===== */
.value-section {
    padding: 60px 0;
}

.value-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    height: 100%;
    border: 1px solid var(--light-gray);
}

.value-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.value-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--white);
    box-shadow: 0 8px 20px rgba(30, 58, 138, 0.3);
    transition: var(--transition);
}

.value-card:hover .value-icon {
    transform: scale(1.1) rotate(5deg);
}

.value-card h3 {
    color: var(--dark-color);
    margin: 20px 0 15px;
    font-size: 1.2rem;
}

.value-card p {
    margin-bottom: 0;
    color: var(--gray-color);
    font-size: 0.95rem;
}

/* ===== Services Section ===== */
.services-section {
    padding: 80px 0;
    background-color: var(--white);
}

.service-card {
    background: var(--white);
    padding: 35px 30px;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    border: 2px solid var(--light-gray);
    transition: var(--transition);
    height: 100%;
}

.service-card:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-light), var(--primary-color));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--white);
    margin-bottom: 20px;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    transform: scale(1.1);
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.4);
}

.service-card h3 {
    color: var(--dark-color);
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.service-card p {
    color: var(--gray-color);
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.service-link {
    color: var(--primary-color);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
}

.service-link:hover {
    color: var(--primary-light);
    gap: 12px;
}

.service-link i {
    transition: var(--transition);
}

/* ===== Statistics Section ===== */
.stats-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, #1E40AF 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="rgba(255,255,255,0.05)" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,112C672,96,768,96,864,112C960,128,1056,160,1152,160C1248,160,1344,128,1392,112L1440,96L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>');
    background-size: cover;
    opacity: 0.3;
    pointer-events: none;
}

.stat-item {
    padding: 20px;
    position: relative;
    z-index: 2;
}

.stat-icon {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
    animation: pulse 2s infinite;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--white);
    margin: 10px 0;
    font-family: var(--font-primary);
}

.stat-number::after {
    content: '+';
}

.stat-number-text {
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--white);
    margin: 10px 0;
    font-family: var(--font-primary);
}

.stat-label {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ===== Testimonials Section ===== */
.testimonials-section {
    padding: 80px 0;
    background-color: var(--light-gray);
}

.testimonial-card {
    background: var(--white);
    padding: 50px 40px;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    text-align: center;
    margin: 20px;
    border: 1px solid rgba(30, 58, 138, 0.1);
}

.quote-icon {
    font-size: 3rem;
    color: var(--primary-color);
    opacity: 0.2;
    margin-bottom: 20px;
}

.testimonial-text {
    font-size: 1.15rem;
    font-style: italic;
    color: var(--dark-color);
    line-height: 1.8;
    margin-bottom: 25px;
    position: relative;
}

.testimonial-rating {
    margin-bottom: 20px;
}

.testimonial-rating i {
    color: #FCD34D;
    font-size: 1.2rem;
    margin: 0 3px;
}

.testimonial-author img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border: 4px solid var(--primary-color);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.testimonial-author h5 {
    color: var(--dark-color);
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.testimonial-author .text-muted {
    font-size: 0.9rem;
}

.carousel-control-prev,
.carousel-control-next {
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 1;
    transition: var(--transition);
}

.carousel-control-prev {
    left: -60px;
}

.carousel-control-next {
    right: -60px;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    background-color: var(--secondary-color);
    transform: translateY(-50%) scale(1.1);
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 20px;
    height: 20px;
}

.carousel-indicators {
    margin-bottom: -40px;
}

.carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--primary-color);
    opacity: 0.5;
    margin: 0 5px;
    transition: var(--transition);
}

.carousel-indicators button.active {
    opacity: 1;
    background-color: var(--secondary-color);
    transform: scale(1.2);
}

/* ===== CTA Section ===== */
.cta-section {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #059669 100%);
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="rgba(255,255,255,0.1)" d="M0,128L48,138.7C96,149,192,171,288,165.3C384,160,480,128,576,128C672,128,768,160,864,165.3C960,171,1056,149,1152,138.7C1248,128,1344,128,1392,128L1440,128L1440,0L1392,0C1344,0,1248,0,1152,0C1056,0,960,0,864,0C768,0,672,0,576,0C480,0,384,0,288,0C192,0,96,0,48,0L0,0Z"></path></svg>');
    background-size: cover;
    opacity: 0.3;
}

.cta-section h2,
.cta-section p {
    color: var(--white);
    position: relative;
    z-index: 2;
}

.cta-section .btn-light {
    padding: 15px 40px;
    font-weight: 600;
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
    background-color: var(--white);
    border: 2px solid var(--white);
    color: var(--secondary-color);
    transition: var(--transition);
    position: relative;
    z-index: 2;
}

.cta-section .btn-light:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(255, 255, 255, 0.3);
    background-color: var(--white);
    color: var(--secondary-color);
}

/* ===== Footer ===== */
.footer {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-logo{
  max-height:70px;
  width:auto;
  display:block;
  margin:0 auto 10px auto;
}

.footer h5 {
    color: var(--white);
    font-weight: 700;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.footer-about p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    font-size: 0.95rem;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
    font-size: 0.95rem;
    display: inline-block;
}

.footer-links a:hover {
    color: var(--secondary-color);
    padding-left: 5px;
}

.footer-contact {
    list-style: none;
    padding: 0;
}

.footer-contact li {
    display: flex;
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

.footer-contact i {
    color: var(--secondary-color);
    margin-right: 15px;
    font-size: 1.2rem;
    min-width: 20px;
    margin-top: 3px;
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.footer-contact a:hover {
    color: var(--secondary-color);
}

.social-links-footer a {
    display: inline-block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--white);
    margin-left: 10px;
    font-size: 16px;
    transition: var(--transition);
}

.social-links-footer a:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
}

.bg-white-50 {
    background-color: rgba(255, 255, 255, 0.1);
}

.text-white-50 {
    color: rgba(255, 255, 255, 0.6);
}

.text-white-50 a {
    color: rgba(255, 255, 255, 0.6);
    transition: var(--transition);
}

.text-white-50 a:hover {
    color: var(--white);
}

.footer hr {
    opacity: 0.2;
}

/* ===== Back to Top Button ===== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    z-index: 999;
}

.back-to-top:hover {
    background-color: var(--secondary-color);
    transform: translateY(-5px);
}

.back-to-top.show {
    display: flex;
}

/* ===== Utility Classes ===== */
.btn-primary {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    color: var(--white);
    font-weight: 600;
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: #059669;
    border-color: #059669;
    color: var(--white);
}

.btn-outline-primary {
    border-color: var(--primary-color);
    color: var(--primary-color);
    font-weight: 600;
}

.btn-outline-primary:hover,
.btn-outline-primary:focus {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white);
}

.min-vh-80 {
    min-height: 80vh;
}

.text-primary-custom {
    color: var(--primary-color);
}

.bg-primary-custom {
    background-color: var(--primary-color);
}

.text-secondary-custom {
    color: var(--secondary-color);
}

.bg-secondary-custom {
    background-color: var(--secondary-color);
}

/* ===== Loading Spinner ===== */
.loading-spinner {
    display: inline-block;
    width: 40px;
    height: 40px;
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: var(--white);
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ===== Responsive Design ===== */

/* Large devices (desktops, 992px and up) */
@media (max-width: 1199px) {
    .carousel-control-prev {
        left: -40px;
    }
    
    .carousel-control-next {
        right: -40px;
    }
    
    .hero-section h1 {
        font-size: 2.5rem;
    }
}

/* Medium devices (tablets, 768px and up) */
@media (max-width: 991px) {
    .top-bar {
        text-align: center;
    }
    
    .top-bar .col-md-8,
    .top-bar .col-md-4 {
        width: 100%;
        text-align: center;
    }
    
    .top-bar .col-md-4 {
        margin-top: 10px;
    }
    
    .top-bar .contact-info {
        justify-content: center;
    }
    
    .navbar-nav {
        text-align: center;
        margin: 20px 0;
    }
    
    .navbar-nav .nav-link {
        padding: 10px 0 !important;
        margin: 5px 0;
    }
    
    .navbar-nav .nav-link::after {
        display: none;
    }
    
    .btn-client-access {
        display: block;
        width: 100%;
        max-width: 300px;
        margin: 15px auto 0;
    }
    
    .hero-section {
        min-height: 70vh;
        padding: 60px 0;
    }
    
    .hero-section h1 {
        font-size: 2.2rem;
    }
    
    .hero-section .lead {
        font-size: 1.1rem;
    }
    
    .carousel-control-prev,
    .carousel-control-next {
        display: none;
    }
    
    .stat-number,
    .stat-number-text {
        font-size: 3rem;
    }
    
    .stat-icon {
        font-size: 2.5rem;
    }
}

/* Small devices (landscape phones, 576px and up) */
@media (max-width: 767px) {
    .top-bar .contact-info li {
        display: block;
        margin: 5px 0;
        text-align: center;
    }
    
    .top-bar {
        font-size: 13px;
        padding: 15px 0;
    }
    
    .navbar-brand .logo {
        height: 40px;
    }
    
    .hero-section {
        min-height: 60vh;
        background-attachment: scroll;
    }
    
    .hero-section h1 {
        font-size: 1.8rem;
    }
    
    .hero-section .lead {
        font-size: 1rem;
    }
    
    .hero-buttons .btn {
        display: block;
        width: 100%;
        margin: 0 0 15px 0 !important;
        padding: 12px 30px;
        font-size: 1rem;
    }
    
    .value-card,
    .service-card {
        margin-bottom: 30px;
    }
    
    .value-card {
        padding: 30px 20px;
    }
    
    .service-card {
        padding: 30px 20px;
    }
    
    .stat-number,
    .stat-number-text {
        font-size: 2.5rem;
    }
    
    .stat-icon {
        font-size: 2rem;
    }
    
    .stat-label {
        font-size: 0.95rem;
    }
    
    .testimonial-card {
        padding: 30px 20px;
        margin: 10px;
    }
    
    .testimonial-text {
        font-size: 1rem;
    }
    
    .testimonial-author img {
        width: 60px;
        height: 60px;
    }
    
    .cta-section {
        text-align: center;
    }
    
    .cta-section .btn-light {
        display: block;
        width: 100%;
        margin-top: 20px;
    }
    
    .footer {
        text-align: center;
    }
    
    .footer .col-lg-3 {
        margin-bottom: 30px;
    }
    
    .footer-contact li {
        justify-content: center;
    }
    
    .social-links-footer {
        margin-top: 20px;
        text-align: center;
    }
    
    .social-links-footer a {
        margin: 0 5px;
    }
    
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }
    
    .display-3 {
        font-size: 2rem;
    }
    
    .display-5 {
        font-size: 1.8rem;
    }
}

/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 575px) {
    body {
        font-size: 15px;
    }
    
    .hero-section h1 {
        font-size: 1.5rem;
    }
    
    .hero-section .lead {
        font-size: 0.95rem;
    }
    
    .display-5 {
        font-size: 1.6rem;
    }
    
    .service-card,
    .value-card {
        padding: 25px 20px;
    }
    
    .service-icon,
    .value-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .stat-icon {
        font-size: 1.8rem;
    }
    
    .stat-number,
    .stat-number-text {
        font-size: 2rem;
    }
    
    .testimonial-text {
        font-size: 0.95rem;
    }
    
    .quote-icon {
        font-size: 2rem;
    }
}

/* ===== Print Styles ===== */
@media print {
    .top-bar,
    .navbar,
    .back-to-top,
    .cta-section,
    .carousel-control-prev,
    .carousel-control-next,
    .carousel-indicators {
        display: none !important;
    }
    
    .hero-section {
        background: var(--primary-color) !important;
        min-height: auto;
        padding: 40px 0;
    }
    
    .value-card,
    .service-card,
    .testimonial-card {
        box-shadow: none;
        border: 1px solid var(--gray-color);
        page-break-inside: avoid;
    }
    
    .footer {
        background: var(--white) !important;
        color: var(--dark-color) !important;
        border-top: 2px solid var(--gray-color);
    }
}

/* ===== Animations ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.9;
    }
}

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

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

.animate-fadeInUp {
    animation: fadeInUp 0.8s ease-out;
}

.animate-fadeInDown {
    animation: fadeInDown 0.8s ease-out;
}

.animate-fadeIn {
    animation: fadeIn 0.8s ease-out;
}

.animate-pulse {
    animation: pulse 2s infinite;
}

.animate-slideInLeft {
    animation: slideInLeft 0.8s ease-out;
}

.animate-slideInRight {
    animation: slideInRight 0.8s ease-out;
}

/* ===== Accessibility ===== */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

*:focus-visible {
    outline: 3px solid var(--secondary-color);
    outline-offset: 2px;
}

/* ===== Preloader (Optional) ===== */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader.hide {
    opacity: 0;
    visibility: hidden;
}

.preloader-spinner {
    width: 60px;
    height: 60px;
    border: 5px solid var(--light-gray);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* ===== Custom Scrollbar ===== */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: var(--light-gray);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-light);
}

/* ===== Selection ===== */
::selection {
    background-color: var(--primary-color);
    color: var(--white);
}

::-moz-selection {
    background-color: var(--primary-color);
    color: var(--white);
}

/* v28 refinements */
.logo{max-height:56px;width:auto}
.footer-logo{max-height:64px;width:auto}
.counter-suffix{display:inline-block;margin-left:2px}


/* v31 logo visibility */
.navbar-brand img,
.brand img,
.footer-logo,
.footer img{
  display:block;
  max-width:100%;
  height:auto;
}
.navbar-brand img,
.brand img{max-height:56px}
.footer-logo,
.footer img{max-height:64px}


/* patch top contacts + footer logo */
.top-bar .contact-info{display:flex;flex-wrap:wrap;gap:14px;align-items:center}
.top-bar .contact-info .list-inline-item{margin-right:0}
.top-bar .contact-info i{margin-right:6px}
.top-bar .contact-info a{white-space:nowrap}
.footer-logo,.footer img{max-height:72px;width:auto;display:block}
