@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

/* Base Styles */
body {
    font-family: 'Poppins';
    scroll-behavior: smooth;
    overflow-x: hidden;
    width: 100%;
}

/* Backgrounds */
.hero-gradient {
    background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 100%);
}
.testimonial-bg {
    background-color: #f8fafc;
}
.footer-bg {
    background-color: #0f172a;
}

/* Cards & Shadows */
.card-hover:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}
.nav-shadow {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.02);
}
.stat-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 16px;
}

/* Transitions */
.transition-all {
    transition: all 0.3s ease;
}
.form-input {
    transition: all 0.3s ease;
    border: 1px solid #e5e7eb;
}
.form-input:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.2);
}

/* Spacing & Layout */
.section-spacing {
    padding: 6rem 0;
}

/* Icons & Avatars */
.service-icon {
    color: #1e40af;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}
.testimonial-avatar {
    width: 3rem;
    height: 3rem;
    background-color: #dbeafe;
    color: #1e40af;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}
.contact-icon {
    background-color: #dbeafe;
    color: #1e40af;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 1rem;
    right: 2rem;
    width: 2.8rem;
    height: 2.8rem;
    background-color: #1e40af;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 100;
}
.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    /* Layout & Spacing */
    .section-spacing {
        padding: 3rem 0;
    }
    
    /* Touch Targets */
    a, button {
        min-width: 44px;
        min-height: 44px;
    }
    
    /* Form Elements */
    input, select, textarea {
        font-size: 16px; /* Prevents iOS zoom */
    }
    
    /* Components */
    .testimonial-avatar {
        width: 2.5rem;
        height: 2.5rem;
        font-size: 0.875rem;
    }
    #about img {
        margin-bottom: 1.5rem;
    }
}

/* Thank you icon */
.thank-you-icon {
    font-size: 4rem;
    color: #1e40af;
}