/* Additional custom styles and overrides */

/* Smooth scrolling for all browsers */
html {
    scroll-behavior: smooth;
}

/* Selection color */
::selection {
    background: #e05533;
    color: white;
}

/* Focus styles for accessibility */
*:focus-visible {
    outline: 3px solid #e05533;
    outline-offset: 2px;
    border-radius: 4px;
}

/* Button ripple effect */
.btn-primary::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-primary:active::after {
    width: 200px;
    height: 200px;
}

/* Card image hover effect */
.card-img-wrapper {
    position: relative;
    overflow: hidden;
}

.card-img-wrapper::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40%;
    background: linear-gradient(to top, rgba(0,0,0,0.1), transparent);
    pointer-events: none;
}

/* Navbar glass effect on scroll */
.nav-scrolled {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

/* Testimonial quote styling */
.testimonial-card {
    border-left: 4px solid #e05533;
}

/* Form input hover effects */
.form-input:hover {
    border-color: #d9bc82;
}

/* CTA decorative circles animation */
@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

/* Image loading placeholder */
img {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

img.loaded {
    animation: none;
    background: none;
}

@keyframes loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* Print styles */
@media print {
    .nav-desktop,
    .mobile-menu-btn,
    .btn-primary,
    .btn-secondary {
        display: none !important;
    }
    
    body {
        color: #000;
        background: white;
    }
    
    .hero-content {
        background: #1a2744 !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }
}
