/* ========================================
   COMPONENTES RESPONSIVOS MOBILE - GATEWISE
   ======================================== */

/* Hero Sections Mobile */
@media (max-width: 767.98px) {
    .hero-section,
    .banner-section {
        padding: 3rem 0 2rem 0;
        text-align: center;
    }
    
    .hero-content h1,
    .banner-content h1 {
        font-size: 1.8rem !important;
        line-height: 1.2;
        margin-bottom: 1rem;
    }
    
    .hero-content p,
    .banner-content p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-buttons,
    .banner-buttons {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .hero-buttons .btn,
    .banner-buttons .btn {
        width: 100%;
        min-height: 48px;
    }
}

/* Feature Cards Mobile */
@media (max-width: 767.98px) {
    .feature-card,
    .service-card {
        margin-bottom: 1.5rem;
        padding: 1.5rem;
        border-radius: 0.5rem;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    }
    
    .feature-card h3,
    .service-card h3 {
        font-size: 1.2rem !important;
        margin-bottom: 0.75rem;
    }
    
    .feature-card p,
    .service-card p {
        font-size: 0.95rem;
        line-height: 1.6;
    }
    
    .feature-icon,
    .service-icon {
        width: 48px;
        height: 48px;
        margin-bottom: 1rem;
    }
}

/* Testimonials Mobile */
@media (max-width: 767.98px) {
    .testimonial-card {
        padding: 1.5rem;
        margin-bottom: 1.5rem;
        text-align: center;
    }
    
    .testimonial-text {
        font-size: 0.95rem;
        line-height: 1.6;
        margin-bottom: 1rem;
    }
    
    .testimonial-author {
        font-size: 0.9rem;
    }
    
    .testimonial-avatar {
        width: 60px;
        height: 60px;
        margin: 0 auto 1rem auto;
    }
}

/* Team Cards Mobile */
@media (max-width: 767.98px) {
    .team-card {
        text-align: center;
        margin-bottom: 2rem;
    }
    
    .team-photo {
        width: 120px;
        height: 120px;
        margin: 0 auto 1rem auto;
        border-radius: 50%;
    }
    
    .team-name {
        font-size: 1.1rem;
        margin-bottom: 0.25rem;
    }
    
    .team-role {
        font-size: 0.9rem;
        color: #666;
        margin-bottom: 0.5rem;
    }
    
    .team-social {
        justify-content: center;
    }
    
    .team-social a {
        margin: 0 0.25rem;
        width: 36px;
        height: 36px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
}

/* Portfolio/Cases Mobile */
@media (max-width: 767.98px) {
    .portfolio-item,
    .case-item {
        margin-bottom: 2rem;
    }
    
    .portfolio-image,
    .case-image {
        border-radius: 0.5rem;
        overflow: hidden;
    }
    
    .portfolio-overlay,
    .case-overlay {
        padding: 1rem;
    }
    
    .portfolio-title,
    .case-title {
        font-size: 1.1rem;
        margin-bottom: 0.5rem;
    }
    
    .portfolio-category,
    .case-category {
        font-size: 0.85rem;
        color: #666;
    }
    
    .portfolio-btn,
    .case-btn {
        width: 100%;
        margin-top: 1rem;
    }
}

/* Pricing Tables Mobile */
@media (max-width: 767.98px) {
    .pricing-table {
        margin-bottom: 2rem;
    }
    
    .pricing-header {
        padding: 1.5rem 1rem;
    }
    
    .pricing-title {
        font-size: 1.2rem;
        margin-bottom: 0.5rem;
    }
    
    .pricing-price {
        font-size: 2rem;
        margin-bottom: 1rem;
    }
    
    .pricing-features {
        padding: 1rem;
    }
    
    .pricing-features li {
        padding: 0.5rem 0;
        font-size: 0.95rem;
    }
    
    .pricing-btn {
        width: 100%;
        margin: 1rem;
    }
}

/* Contact Form Mobile */
@media (max-width: 767.98px) {
    .contact-form {
        padding: 1.5rem;
    }
    
    .form-group {
        margin-bottom: 1.25rem;
    }
    
    .form-control {
        font-size: 1rem;
        padding: 0.75rem;
        border-radius: 0.375rem;
    }
    
    .form-control:focus {
        box-shadow: 0 0 0 3px rgba(23, 92, 255, 0.25);
    }
    
    textarea.form-control {
        min-height: 120px;
        resize: vertical;
    }
    
    .contact-info {
        padding: 1.5rem;
        margin-top: 2rem;
        background-color: #f8f9fa;
        border-radius: 0.5rem;
    }
    
    .contact-item {
        margin-bottom: 1rem;
        text-align: center;
    }
    
    .contact-icon {
        width: 40px;
        height: 40px;
        margin: 0 auto 0.5rem auto;
        background-color: var(--bs-primary);
        color: white;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

/* Blog Cards Mobile */
@media (max-width: 767.98px) {
    .blog-card {
        margin-bottom: 2rem;
        border-radius: 0.5rem;
        overflow: hidden;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    }
    
    .blog-image {
        height: 200px;
        object-fit: cover;
    }
    
    .blog-content {
        padding: 1.5rem;
    }
    
    .blog-title {
        font-size: 1.1rem;
        line-height: 1.4;
        margin-bottom: 0.75rem;
    }
    
    .blog-excerpt {
        font-size: 0.95rem;
        line-height: 1.6;
        margin-bottom: 1rem;
        color: #666;
    }
    
    .blog-meta {
        font-size: 0.85rem;
        color: #888;
        margin-bottom: 1rem;
    }
    
    .blog-btn {
        width: 100%;
    }
}

/* Stats/Counter Mobile */
@media (max-width: 767.98px) {
    .stats-section {
        padding: 2rem 0;
        text-align: center;
    }
    
    .stat-item {
        margin-bottom: 2rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
        font-weight: bold;
        color: var(--bs-primary);
        margin-bottom: 0.5rem;
    }
    
    .stat-label {
        font-size: 1rem;
        color: #666;
    }
    
    .stat-icon {
        width: 48px;
        height: 48px;
        margin: 0 auto 1rem auto;
        color: var(--bs-primary);
    }
}

/* CTA (Call to Action) Mobile */
@media (max-width: 767.98px) {
    .cta-section {
        padding: 3rem 0;
        text-align: center;
    }
    
    .cta-title {
        font-size: 1.5rem !important;
        margin-bottom: 1rem;
    }
    
    .cta-text {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .cta-btn {
        width: 100%;
        min-height: 48px;
    }
}

/* FAQ Mobile */
@media (max-width: 767.98px) {
    .faq-item {
        margin-bottom: 1rem;
        border: 1px solid #e9ecef;
        border-radius: 0.5rem;
        overflow: hidden;
    }
    
    .faq-question {
        padding: 1rem;
        background-color: #f8f9fa;
        cursor: pointer;
        font-weight: 500;
        border: none;
        width: 100%;
        text-align: left;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    
    .faq-answer {
        padding: 1rem;
        font-size: 0.95rem;
        line-height: 1.6;
        border-top: 1px solid #e9ecef;
    }
    
    .faq-icon {
        transition: transform 0.3s ease;
    }
    
    .faq-item.active .faq-icon {
        transform: rotate(180deg);
    }
}

/* Timeline Mobile */
@media (max-width: 767.98px) {
    .timeline {
        position: relative;
        padding-left: 2rem;
    }
    
    .timeline::before {
        content: '';
        position: absolute;
        left: 1rem;
        top: 0;
        bottom: 0;
        width: 2px;
        background-color: var(--bs-primary);
    }
    
    .timeline-item {
        margin-bottom: 2rem;
        position: relative;
    }
    
    .timeline-marker {
        position: absolute;
        left: -2rem;
        top: 0.5rem;
        width: 1rem;
        height: 1rem;
        background-color: var(--bs-primary);
        border-radius: 50%;
        border: 2px solid white;
    }
    
    .timeline-content {
        background-color: #f8f9fa;
        padding: 1rem;
        border-radius: 0.5rem;
    }
    
    .timeline-title {
        font-size: 1rem;
        font-weight: 500;
        margin-bottom: 0.5rem;
    }
    
    .timeline-text {
        font-size: 0.95rem;
        line-height: 1.6;
        color: #666;
    }
}

/* Breadcrumb Mobile */
@media (max-width: 767.98px) {
    .breadcrumb {
        background-color: transparent;
        padding: 0.5rem 0;
        margin-bottom: 1rem;
        font-size: 0.85rem;
    }
    
    .breadcrumb-item + .breadcrumb-item::before {
        content: "›";
        padding: 0 0.25rem;
    }
}

/* Pagination Mobile */
@media (max-width: 767.98px) {
    .pagination {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .page-link {
        padding: 0.5rem 0.75rem;
        min-width: 44px;
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .pagination-sm .page-link {
        padding: 0.375rem 0.625rem;
        min-width: 36px;
        min-height: 36px;
    }
}

/* ========================================
   FONTAWESOME ICONS STYLING - GATEWISE
   ======================================== */

/* FontAwesome Icons Styling */
.mk-app-single .icon-wrapper {
    min-width: 60px;
    min-height: 60px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.mk-app-single .icon-wrapper:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.mk-app-single .icon-wrapper i {
    transition: all 0.3s ease;
}

.mk-app-single:hover .icon-wrapper i {
    transform: scale(1.1);
}

/* Responsive icon sizes */
@media (max-width: 767.98px) {
    .mk-app-single .icon-wrapper {
        min-width: 50px;
        min-height: 50px;
    }
    
    .mk-app-single .icon-wrapper i {
        font-size: 1.5rem !important;
    }
}

@media (max-width: 575.98px) {
    .mk-app-single .icon-wrapper {
        min-width: 45px;
        min-height: 45px;
    }
    
    .mk-app-single .icon-wrapper i {
        font-size: 1.3rem !important;
    }
}