/* ============================================
   PREMIUM FINANCE GUIDANCE - RESPONSIVE STYLES
   Mobile-First Approach
   ============================================ */

/* ============================================
   TABLET - 768px and up
   ============================================ */

@media (min-width: 768px) {
    /* Navigation */
    .nav-desktop {
        display: flex;
    }
    
    .menu-toggle {
        display: none;
    }
    
    .nav-mobile {
        display: none;
    }
    
    /* Hero */
    .hero-title {
        font-size: 64px;
    }
    
    .hero-subtitle {
        font-size: 24px;
    }
    
    /* Stats */
    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    /* Services */
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Footer */
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* About */
    .about-grid {
        grid-template-columns: 1fr 1fr;
        align-items: start;
    }
    
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Services Detailed */
    .services-detailed-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Blogs */
    .blogs-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Contact */
    .contact-grid {
        grid-template-columns: 1fr 1.2fr;
    }
    
    .form-row {
        grid-template-columns: 1fr 1fr;
    }
}

/* ============================================
   DESKTOP - 1024px and up
   ============================================ */

@media (min-width: 1024px) {
    /* Hero */
    .hero-title {
        font-size: 72px;
    }
    
    /* Services */
    .services-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .section-title {
        font-size: 48px;
    }
    
    .section-subtitle {
        font-size: 20px;
    }
    
    /* CTA */
    .cta-title {
        font-size: 48px;
    }
    
    .cta-subtitle {
        font-size: 20px;
    }
    
    /* Footer */
    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr 1fr;
    }
    
    /* About */
    .team-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    /* Services Detailed */
    .services-detailed-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    /* Blogs */
    .blogs-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ============================================
   LARGE DESKTOP - 1440px and up
   ============================================ */

@media (min-width: 1440px) {
    .container {
        max-width: 1320px;
    }
    
    .hero-title {
        font-size: 80px;
    }
}

/* ============================================
   MOBILE SPECIFIC FIXES
   ============================================ */

@media (max-width: 767px) {
    /* Reduce padding on mobile */
    .hero-content {
        padding: 60px 15px;
    }
    
    .stats {
        padding: 60px 0;
    }
    
    .services,
    .about-content,
    .services-detailed,
    .blogs-section,
    .contact-section {
        padding: 60px 0;
    }
    
    .cta {
        padding: 60px 0;
    }
    
    /* Smaller titles on mobile */
    .hero-title {
        font-size: 36px;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
    
    .section-title {
        font-size: 32px;
    }
    
    .section-subtitle {
        font-size: 16px;
    }
    
    .cta-title {
        font-size: 28px;
    }
    
    .cta-subtitle {
        font-size: 16px;
    }
    
    .page-title {
        font-size: 36px;
    }
    
    /* Stack buttons vertically */
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-buttons .btn {
        width: 100%;
        justify-content: center;
    }
    
    /* Adjust stat numbers */
    .stat-number {
        font-size: 36px;
    }
    
    /* Service cards padding */
    .service-card {
        padding: 30px;
    }
    
    /* Contact form padding */
    .contact-form-wrapper {
        padding: 25px;
    }
    
    /* Footer padding */
    .footer {
        padding: 40px 0 20px;
    }
}

/* ============================================
   HOVER EFFECTS - Desktop Only
   ============================================ */

@media (hover: hover) {
    .nav-link:hover {
        color: var(--secondary-blue);
    }
    
    .stat-card:hover {
        transform: scale(1.05);
    }
    
    .service-card:hover {
        transform: translateY(-10px);
    }
    
    .blog-card:hover {
        transform: translateY(-10px);
    }
    
    .team-card:hover {
        transform: translateY(-10px);
    }
    
    .service-detail-card:hover {
        transform: translateY(-5px);
    }
}

/* ============================================
   PRINT STYLES
   ============================================ */

@media print {
    .header,
    .nav-mobile,
    .menu-toggle,
    .hero-buttons,
    .cta,
    .footer {
        display: none;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.5;
    }
    
    .hero {
        min-height: auto;
        padding: 20px 0;
    }
    
    .hero-background {
        display: none;
    }
    
    .hero-title,
    .section-title {
        color: #000;
        page-break-after: avoid;
    }
}

/* ============================================
   ACCESSIBILITY - Reduced Motion
   ============================================ */

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .blob {
        animation: none;
    }
    
    html {
        scroll-behavior: auto;
    }
}

/* ============================================
   HIGH CONTRAST MODE
   ============================================ */

@media (prefers-contrast: high) {
    :root {
        --primary-blue: #0000ff;
        --secondary-blue: #0088ff;
    }
    
    .btn {
        border: 2px solid currentColor;
    }
}