/* MOBILE RESPONSIVE ENHANCEMENTS */
/* These styles ensure beautiful mobile experience across all devices */

/* ==================== BASE MOBILE IMPROVEMENTS ==================== */
@media (max-width: 768px) {
    /* Better touch targets */
    .btn {
        min-height: 48px;
        padding: 14px 24px;
    }
    
    .nav-link {
        min-height: 44px;
        display: flex;
        align-items: center;
        font-size: 1rem;
    }
    
    /* Improved form inputs */
    .form-group input,
    .form-group select,
    .form-group textarea {
        font-size: 16px; /* Prevents iOS zoom on focus */
        padding: 14px 16px;
        min-height: 48px;
    }
    
    /* Better hero section */
    .hero {
        padding: 100px 0 50px;
        min-height: auto;
    }
    
    .hero-container {
        gap: 2rem;
    }
    
    .hero-title {
        font-size: 1.75rem;
        line-height: 1.3;
    }
    
    .hero-subtitle {
        font-size: 1.0625rem;
    }
    
    .hero-ctas {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .hero-ctas .btn {
        width: 100%;
    }
    
    /* Hero image mobile adjustments */
    .hero-image {
        order: -1;
        margin-bottom: 1rem;
    }
    
    .hero-photo-container {
        max-width: 280px;
        margin: 0 auto;
    }
    
    .hero-badge {
        position: relative;
        bottom: auto;
        left: auto;
        margin: -30px auto 0;
        max-width: 200px;
    }
    
    /* Section spacing */
    .why-choose,
    .services-preview,
    .contact-cta {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 1.625rem;
    }
    
    /* Better card layouts */
    .why-choose-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .why-card {
        padding: 1.5rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .service-card {
        padding: 1.5rem;
    }
    
    /* Webinar section */
    .webinar-highlight {
        padding: 50px 0;
    }
    
    .webinar-highlight-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .countdown-timer {
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    
    .countdown-item {
        min-width: 70px;
        padding: 0.75rem 0.5rem;
    }
    
    .countdown-value {
        font-size: 1.75rem;
    }
    
    /* Contact CTA */
    .contact-cta-container {
        padding: 2rem 1.5rem;
    }
    
    .contact-cta-container h2 {
        font-size: 1.5rem;
    }
    
    .contact-cta-buttons {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .contact-cta-buttons .btn {
        width: 100%;
    }
    
    /* Footer improvements */
    .footer {
        padding: 40px 0 20px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-brand {
        max-width: 100%;
        text-align: center;
    }
    
    .footer-contact {
        align-items: center;
    }
    
    .footer-column {
        text-align: center;
    }
    
    .footer-column ul {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }
    
    .footer-column li {
        margin: 0;
    }
    
    /* Page headers */
    .page-header {
        padding: 100px 0 40px;
    }
    
    .page-header h1 {
        font-size: 1.75rem;
    }
    
    .page-header p {
        font-size: 1rem;
    }
    
    /* Profile page */
    .profile-container {
        gap: 2rem;
    }
    
    .profile-content h2 {
        font-size: 1.75rem;
    }
    
    .profile-highlights {
        grid-template-columns: 1fr;
    }
    
    /* Contact page */
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-info-box {
        order: 2;
    }
    
    .contact-form-box {
        order: 1;
        padding: 1.5rem;
    }
    
    /* Webinar page */
    .webinar-page {
        padding: 100px 0 60px;
    }
    
    .webinar-hero-section h1 {
        font-size: 1.875rem;
    }
    
    .webinar-meta-box {
        flex-direction: column;
        padding: 1rem;
        gap: 0.75rem;
    }
    
    .webinar-countdown-section {
        padding: 1.5rem;
    }
    
    .agenda-item {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .agenda-time {
        min-width: auto;
    }
    
    .webinar-registration {
        padding: 1.5rem;
    }
    
    /* Service pages */
    .services-list-grid {
        grid-template-columns: 1fr;
    }
    
    .service-detail-content {
        padding: 1.5rem;
    }
    
    .service-section h3 {
        font-size: 1.25rem;
    }
    
    /* Partners grid */
    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* FAQ */
    .faq-grid {
        grid-template-columns: 1fr;
    }
    
    /* Logo mobile sizing */
    .logo {
        height: 55px;
    }
    
    .logo img {
        height: 45px;
    }
    
    .nav-container {
        height: 70px;
    }
    
    /* Nav menu mobile */
    .nav-menu {
        top: 70px;
        padding: 1.5rem;
        gap: 0.5rem;
        max-height: calc(100vh - 70px);
        overflow-y: auto;
    }
    
    .nav-link {
        padding: 0.75rem 0;
        border-bottom: 1px solid var(--border-light);
    }
    
    .nav-link:last-child {
        border-bottom: none;
    }
    
    .nav-cta {
        margin-top: 0.5rem;
        justify-content: center;
    }
    
    /* Hamburger menu improvements */
    .hamburger {
        width: 44px;
        height: 44px;
        justify-content: center;
        align-items: center;
    }
    
    /* WhatsApp button mobile */
    .whatsapp-float {
        width: 56px;
        height: 56px;
        bottom: 20px;
        right: 20px;
    }
    
    .whatsapp-float svg {
        width: 28px;
        height: 28px;
    }
}

/* ==================== SMALL PHONE IMPROVEMENTS ==================== */
@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    /* Typography */
    h1 {
        font-size: 1.625rem;
    }
    
    h2 {
        font-size: 1.375rem;
    }
    
    h3 {
        font-size: 1.25rem;
    }
    
    .hero-title {
        font-size: 1.5rem;
    }
    
    .section-title {
        font-size: 1.375rem;
    }
    
    .section-label {
        font-size: 0.6875rem;
    }
    
    /* Buttons */
    .btn {
        padding: 12px 20px;
        font-size: 0.9375rem;
        width: 100%;
    }
    
    .btn-large {
        padding: 14px 24px;
    }
    
    /* Hero badge */
    .hero-badge {
        padding: 1rem;
        margin-top: -20px;
    }
    
    .hero-badge-name {
        font-size: 1.125rem;
    }
    
    /* Service cards */
    .service-card h3 {
        font-size: 1.0625rem;
    }
    
    /* Countdown */
    .countdown-item {
        min-width: 60px;
        padding: 0.625rem 0.375rem;
    }
    
    .countdown-value {
        font-size: 1.5rem;
    }
    
    .countdown-unit {
        font-size: 0.6875rem;
    }
    
    /* Why cards */
    .why-icon {
        width: 48px;
        height: 48px;
        font-size: 1.25rem;
    }
    
    /* Contact CTA */
    .contact-cta-container {
        padding: 1.5rem 1.25rem;
    }
    
    .contact-cta-container h2 {
        font-size: 1.375rem;
    }
    
    .contact-cta-container p {
        font-size: 1rem;
    }
    
    /* Page header */
    .page-header h1 {
        font-size: 1.5rem;
    }
    
    /* Service detail */
    .service-detail-container {
        padding: 0;
    }
    
    .service-intro h2 {
        font-size: 1.375rem;
    }
    
    /* Form improvements */
    .form-row {
        gap: 0.75rem;
    }
    
    .form-group {
        margin-bottom: 1.25rem;
    }
    
    .checkbox-group {
        align-items: flex-start;
    }
    
    .checkbox-group input[type="checkbox"] {
        margin-top: 2px;
    }
    
    /* Webinar */
    .webinar-hero-section h1 {
        font-size: 1.5rem;
    }
    
    .webinar-meta-item {
        font-size: 0.875rem;
    }
    
    .agenda-content h4 {
        font-size: 1rem;
    }
    
    /* Partners */
    .partner-card {
        padding: 1rem;
    }
    
    .partner-card h4 {
        font-size: 0.875rem;
    }
    
    /* Footer compact */
    .footer-grid {
        gap: 1.5rem;
    }
    
    .footer-column h4 {
        font-size: 0.875rem;
        margin-bottom: 1rem;
    }
    
    .footer-column a {
        font-size: 0.875rem;
    }
    
    .footer-bottom p {
        font-size: 0.75rem;
    }
    
    /* Logo smaller */
    .logo img {
        height: 40px;
    }
    
    .nav-container {
        height: 65px;
    }
    
    .nav-menu {
        top: 65px;
    }
    
    /* Section padding reduction */
    .why-choose,
    .services-preview,
    .contact-cta {
        padding: 50px 0;
    }
}

/* ==================== EXTRA SMALL DEVICES ==================== */
@media (max-width: 360px) {
    .hero-title {
        font-size: 1.375rem;
    }
    
    .hero-badge {
        max-width: 180px;
        padding: 0.875rem;
    }
    
    .countdown-item {
        min-width: 55px;
        padding: 0.5rem 0.25rem;
    }
    
    .countdown-value {
        font-size: 1.375rem;
    }
    
    .btn {
        padding: 11px 18px;
        font-size: 0.875rem;
    }
}

/* ==================== TOUCH DEVICE IMPROVEMENTS ==================== */
@media (hover: none) and (pointer: coarse) {
    /* Larger touch targets */
    .nav-link,
    .footer-column a,
    .service-card,
    .why-card {
        -webkit-tap-highlight-color: transparent;
    }
    
    /* Remove hover effects on touch */
    .btn:hover {
        transform: none;
    }
    
    .service-card:hover,
    .why-card:hover {
        transform: none;
    }
    
    /* Better touch feedback */
    .btn:active,
    .nav-link:active,
    .service-card:active {
        opacity: 0.8;
    }
}

/* ==================== LANDSCAPE MOBILE ==================== */
@media (max-width: 768px) and (orientation: landscape) {
    .hero {
        padding: 90px 0 40px;
    }
    
    .hero-container {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
    
    .hero-image {
        order: 0;
    }
    
    .hero-photo-container {
        max-width: 100%;
    }
    
    .nav-menu {
        max-height: 80vh;
        overflow-y: auto;
    }
}

/* ==================== HIGH DPI MOBILE SCREENS ==================== */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .logo img,
    .footer-logo img {
        image-rendering: -webkit-optimize-contrast;
    }
}