/* Hero Section Responsive */

@media (max-width: 991px) {
    .up header .nav-wrap {
        gap: 1.5rem;
        padding: 1.25rem 0;
    }
    .up .hero.section .hero-flex {gap: 40px;}
    .up .benefits.section {padding: 60px 0 30px;}
    .up .benefits.section {
        padding: 60px 0 30px;
    }
    .up .benefits.section .benefits-grid {
        gap: 40px;
    }
    .up .benefits.section .benefit-card {
        flex: 0 1 calc(50% - 20px);
    }
    .up .team-cta.section {
        padding: 30px 0 60px;
    }
    .up .team-cta .team-grid {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 16px;
    }
    .up .team-cta .cta-content { margin-top: 40px; }
    .up .team-cta .team-grid .team-image {
        flex: 0 1 calc(50% - 8px);
    }
    .up footer {
        padding: 50px 0;
    }
    
    .up .footer-grid {
        gap: 30px;
    }
}

@media (max-width: 767px) {
    .up .container { padding: 0 20px; }
    .up .btn-main { font-size: 13px;  padding: 12px 34px; }
    .up header .nav-wrap img {
        max-width: 100px;
    }
    .nav-wrap {
        flex-wrap: wrap;
        align-items: center;
        justify-content: center;
        gap: 1rem;
        padding: 1rem 0;
    }
    .up .hero.section .container {padding: 40px 25px;}
    .up .hero.section .hero-flex {flex-direction: column; gap: 32px;}
    .up .hero.section .hero-content {max-width: 100%; text-align: center;}
    .up .hero.section .hero-form {max-width: 100%; width: 100%;}
    .mktoButton { font-size: 13px !important; padding: 12px 34px !important ; }
    .up .benefits.section {padding: 40px 0 20px;}
    .up .benefits.section .benefit-card {padding: 16px;}
    .up .benefits.section .benefits-grid {gap: 20px;}
    .up .benefits.section {padding: 40px 0 20px; }
    .up .benefits.section .benefits-grid {gap: 32px; }
    .up .benefits.section .benefit-card img {width: 48px; height: 48px; margin-bottom: 16px;}
    .up .team-cta.section { padding: 20px 0 40px; }
    .up .team-cta .team-grid { grid-template-columns: repeat(2, 1fr); }
    .up .team-cta .cta-content{ margin-top: 32px; }
    .up .team-cta .cta-button { padding: 14px 28px; font-size: 16px; }
    .up footer { padding: 40px 0; }
    .up .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
    .up .footer-col .title h4 { font-size: 18px; margin-bottom: 20px; }
}

@media (max-width: 480px) {
    .up header .nav-wrap img {
        max-width: 68px;
    }
    .up .benefits.section .benefits-grid {
        gap: 24px;
    }
    .up .benefits.section .benefit-card {
        flex: 0 1 100%;
        max-width: 280px;
    }
    .up .team-cta .team-grid {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .up .team-cta .team-grid .team-image {
        flex: 0 1 100%;
    }
    .up .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}


/* Typography Responsive Adjustments */
@media (max-width: 991px) {
    .up h1 { 
        font-size: 32px;
        line-height: 1.3;
        margin-bottom: 20px;
    }
    .up h2 { 
        font-size: 21px;
        margin-bottom: 32px;
    }
    .up h3 { 
        font-size: 14px;
        margin-bottom: 8px;
    }
    .up .p_class,
    .up .p_class.dark { 
        font-size: 12px;
        line-height: 1.5;
    }
}

@media (max-width: 767px) {
    .up h1 { 
        font-size: 28px;
        margin-bottom: 16px;
    }
    .up h2 { 
        font-size: 19px;
        margin-bottom: 24px;
    }
}

@media (max-width: 480px) {
    .up h1 { 
        font-size: 24px;
        line-height: 1.25;
    }
    .up h2 { 
        font-size: 18px;
        margin-bottom: 8px;
    }
}
