/* ==========================================
   Clear Path Assurance - Responsive Styles
   ========================================== */

/* Tablet and Below (1024px) */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-text h1 {
        font-size: 2.25rem;
    }

    .hero-logo-display {
        max-width: 300px;
        margin: 0 auto;
    }

    .cta-buttons {
        justify-content: center;
    }

    .hero-stats {
        max-width: 600px;
        margin: 2.5rem auto 0;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
    }

    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

/* Mobile and Below (768px) */
@media (max-width: 768px) {
    .header-content {
        padding: 0 1.25rem;
    }

    nav {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: #1a3a52;
        padding: 1.5rem;
        transform: translateY(-100%);
        opacity: 0;
        transition: all 0.3s ease;
        box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    }

    nav.active {
        transform: translateY(0);
        opacity: 1;
    }

    nav ul {
        flex-direction: column;
        gap: 1.5rem;
    }

    nav a::after {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero {
        padding: 2.5rem 1.25rem;
    }

    .hero-text h1 {
        font-size: 1.875rem;
    }

    .hero-text p {
        font-size: 1rem;
    }

    .hero-stats {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        max-width: 300px;
    }

    .stat-number {
        font-size: 1.75rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .section-subtitle {
        font-size: 1rem;
    }

    .calculator {
        padding: 2rem 1.5rem;
    }

    .debt-display {
        font-size: 2rem;
    }

    .slider-label {
        font-size: 1rem;
    }

    .results {
        grid-template-columns: 1fr;
    }

    .result-value {
        font-size: 2rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .service-card {
        padding: 2rem;
    }

    .trust-badges {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }

    .contact-form {
        padding: 2rem 1.5rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .calculator-section,
    .services-section,
    .contact-section {
        padding: 3.5rem 1.25rem;
    }
}

/* Small Mobile (480px) */
@media (max-width: 480px) {
    .logo img {
        height: 40px;
    }

    .hero-text h1 {
        font-size: 1.625rem;
    }

    .hero-text p {
        font-size: 0.95rem;
    }

    .btn {
        width: 100%;
        justify-content: center;
        padding: 0.875rem 1.5rem;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .trust-badges {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .calculator {
        padding: 1.5rem 1.25rem;
    }

    .debt-display {
        font-size: 1.75rem;
    }

    .slider-header {
        flex-direction: column;
        gap: 0.5rem;
        align-items: flex-start;
    }

    .result-box {
        padding: 1.5rem 1.25rem;
    }

    .service-icon {
        font-size: 2.25rem;
    }

    .service-card h3 {
        font-size: 1.2rem;
    }

    .contact-item {
        padding: 1.25rem;
        flex-direction: column;
        text-align: center;
    }

    .contact-icon {
        margin: 0 auto;
    }

    .email-item {
        font-size: 0.8rem;
        word-break: break-word;
    }
}

/* Landscape Mobile Adjustments */
@media (max-width: 900px) and (orientation: landscape) {
    .hero {
        padding: 2rem 1.25rem;
    }

    .hero-stats {
        grid-template-columns: repeat(3, 1fr);
    }

    .calculator-section,
    .services-section,
    .contact-section {
        padding: 3rem 1.25rem;
    }
}

/* Large Desktop (1400px+) */
@media (min-width: 1400px) {
    .header-content,
    .hero-content,
    .section-content,
    .trust-container,
    .footer-content,
    .footer-bottom {
        max-width: 1400px;
    }

    .hero-text h1 {
        font-size: 3rem;
    }

    .section-title {
        font-size: 2.75rem;
    }
}

/* Print Styles */
@media print {
    header,
    .mobile-menu-btn,
    .cta-buttons,
    .contact-section,
    footer {
        display: none;
    }

    .hero {
        background: white;
        color: #1a3a52;
    }

    .calculator,
    .service-card {
        box-shadow: none;
        border: 1px solid #e2e8f0;
    }
}

