/* ========================================
   RESPONSIVE STYLES
   ======================================== */

/* Global Responsive Adjustments */
@media (max-width: 1440px) {
    /* Adjust container padding for large screens */
    .container {
        padding-left: 30px;
        padding-right: 30px;
    }
}

/* Tablet Landscape and Below */
@media (max-width: 1024px) {
    /* Adjust typography for better readability */
    h1 {
        font-size: 2.8rem;
    }
    
    h2 {
        font-size: 2.2rem;
    }
    
    /* Adjust section paddings */
    .section-padding {
        padding: 80px 0;
    }
    
    /* Navigation adjustments */
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 400px;
        height: 100vh;
        background: #fff;
        flex-direction: column;
        align-items: flex-start;
        padding: 100px 30px 40px;
        transition: right 0.4s ease;
        z-index: 999;
        box-shadow: -5px 0 30px rgba(0, 0, 0, 0.1);
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-menu li {
        width: 100%;
        margin: 0;
    }
    
    .nav-menu a {
        display: block;
        padding: 12px 0;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
        width: 100%;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    /* Adjust grid layouts */
    .features-grid,
    .services-grid,
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
}

/* Tablet Portrait and Below */
@media (max-width: 768px) {
    /* Adjust typography */
    h1 {
        font-size: 2.5rem;
        line-height: 1.2;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    /* Section adjustments */
    .section-padding {
        padding: 70px 0;
    }
    
    .section-header {
        margin-bottom: 40px;
    }
    
    /* Adjust grid layouts */
    .features-grid,
    .services-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
        max-width: 600px;
        margin: 0 auto;
    }
    
    /* CTA section */
    .cta-content {
        text-align: center;
    }
    
    .cta-buttons {
        justify-content: center;
    }
    
    /* Footer adjustments */
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-links h4,
    .footer-contact h4,
    .footer-about h3 {
        margin-top: 30px;
    }
    
    .footer-links h4::after,
    .footer-contact h4::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}

/* Mobile Devices */
@media (max-width: 480px) {
    /* Typography */
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    /* Adjust padding and margins */
    .container {
        padding-left: 20px;
        padding-right: 20px;
    }
    
    .section-padding {
        padding: 60px 0;
    }
    
    /* Buttons */
    .btn {
        padding: 10px 20px;
        font-size: 0.95rem;
    }
    
    /* Hero section */
    .hero-content {
        padding: 30px 15px;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 12px;
    }
    
    .hero-buttons .btn {
        width: 100%;
        max-width: 100%;
    }
    
    /* Process section */
    .process-step {
        padding: 25px 20px;
    }
    
    /* Testimonials */
    .testimonial-card {
        padding: 25px 20px;
    }
    
    /* Footer */
    .footer {
        padding: 50px 0 20px;
    }
    
    .footer-newsletter form {
        flex-direction: column;
    }
    
    .footer-newsletter input {
        width: 100%;
        margin-bottom: 10px;
    }
    
    .footer-newsletter button {
        width: 100%;
    }
}

/* Small Mobile Devices */
@media (max-width: 360px) {
    h1 {
        font-size: 1.8rem;
    }
    
    h2 {
        font-size: 1.6rem;
    }
    
    .section-header p {
        font-size: 1rem;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
    }
    
    .trust-item {
        padding: 10px 12px;
    }
    
    .trust-item i {
        font-size: 1.2rem;
    }
    
    .trust-item span {
        font-size: 0.8rem;
    }
}

/* Print Styles */
@media print {
    body {
        font-size: 12pt;
        background: none;
        color: #000;
    }
    
    .header,
    .footer,
    .nav-toggle,
    .back-to-top {
        display: none !important;
    }
    
    .container {
        width: 100%;
        padding: 0;
    }
    
    a {
        text-decoration: underline;
    }
    
    .btn {
        border: 1px solid #000;
        color: #000;
        background: none;
    }
}
