/* Custom styles that complement Tailwind CSS */

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

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #fafbfc;
}

::-webkit-scrollbar-thumb {
    background: #0f2d54;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #133a6b;
}

/* Typography refinements */
.font-serif {
    font-family: 'Playfair Display', Georgia, serif;
}

.font-sans {
    font-family: 'Inter', system-ui, sans-serif;
}

/* Editorial design elements */
.editorial-line {
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #4fb569, #72c98a);
    margin-bottom: 1.5rem;
}

/* Hero asymmetric layout */
.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 100vh;
}

.hero-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 4rem 6rem;
}

.hero-image {
    position: relative;
    overflow: hidden;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Button styles */
.btn-primary {
    background: linear-gradient(135deg, #0f2d54, #133a6b);
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 4px;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-block;
    text-decoration: none;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #133a6b, #1a4b8a);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(15, 45, 84, 0.3);
}

.btn-secondary {
    background: transparent;
    color: #0f2d54;
    padding: 1rem 2.5rem;
    border-radius: 4px;
    font-weight: 500;
    border: 2px solid #0f2d54;
    transition: all 0.3s ease;
    display: inline-block;
    text-decoration: none;
}

.btn-secondary:hover {
    background: #0f2d54;
    color: white;
}

/* Card hover effects */
.service-card {
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(15, 45, 84, 0.15);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(250, 251, 252, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(15, 45, 84, 0.1);
    transition: all 0.3s ease;
}

.navbar.scrolled {
    box-shadow: 0 4px 20px rgba(15, 45, 84, 0.1);
}

/* Mobile menu */
.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(250, 251, 252, 0.98);
    z-index: 999;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.mobile-menu.active {
    display: flex;
}

.mobile-link {
    transition: color 0.3s ease;
}

.mobile-link:hover {
    color: #4fb569;
}

/* Scroll animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Testimonial cards */
.testimonial-card {
    background: white;
    padding: 2.5rem;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(15, 45, 84, 0.08);
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(15, 45, 84, 0.12);
}

/* Contact form */
.form-input {
    width: 100%;
    padding: 1rem 1.25rem;
    border: 2px solid rgba(15, 45, 84, 0.2);
    border-radius: 4px;
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: 'Inter', system-ui, sans-serif;
}

.form-input:focus {
    outline: none;
    border-color: #4fb569;
    box-shadow: 0 0 0 3px rgba(79, 181, 105, 0.1);
}

.form-input::placeholder {
    color: rgba(15, 45, 84, 0.5);
}

/* Footer */
footer {
    background: #081a32;
    color: white;
}

/* Responsive adjustments */
@media (max-width: 1023px) {
    .hero-container {
        grid-template-columns: 1fr;
        min-height: auto;
    }
    
    .hero-content {
        padding: 4rem 2rem;
    }
    
    .hero-image {
        min-height: 50vh;
    }
}

@media (max-width: 767px) {
    section {
        padding: 4rem 0;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
}

/* Reduced motion preference */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
    }
}
