/* TekHR Landing Page Mobile Enhancements */

/* Mobile-First Approach */
* {
    -webkit-tap-highlight-color: transparent;
}

/* Touch-friendly buttons */
.btn {
    min-height: 44px;
    min-width: 44px;
    touch-action: manipulation;
}

/* Improved mobile navigation */
@media (max-width: 992px) {
    .navbar-collapse {
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        border-radius: 15px;
        margin-top: 15px;
        padding: 20px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    }
    
    .navbar-nav .nav-link {
        padding: 15px 20px;
        border-radius: 10px;
        margin: 5px 0;
        transition: all 0.3s ease;
        color: var(--text-color) !important;
    }
    
    .navbar-nav .nav-link:hover {
        background: rgba(0, 142, 204, 0.1);
        transform: translateX(5px);
        color: var(--primary-color) !important;
    }
    
    .navbar-toggler {
        border: none;
        padding: 8px;
        border-radius: 8px;
        background: rgba(0, 142, 204, 0.1);
    }
    
    .navbar-toggler:focus {
        box-shadow: 0 0 0 3px rgba(0, 142, 204, 0.3);
    }
}

/* Enhanced mobile hero section */
@media (max-width: 768px) {
    .hero {
        text-align: center;
        padding: 80px 20px 60px;
    }
    
    .hero h1 {
        margin-bottom: 15px;
        word-wrap: break-word;
    }
    
    .hero p {
        margin-bottom: 30px;
        line-height: 1.6;
    }
    
    .hero-buttons {
        gap: 20px;
    }
    
    .hero-buttons .btn {
        padding: 15px 30px;
        font-size: 1rem;
        font-weight: 600;
    }
}

/* Improved mobile cards */
@media (max-width: 768px) {
    .feature-card,
    .service-card,
    .plan-card {
        margin-bottom: 25px;
        border-radius: 15px;
    }
    
    .feature-card {
        padding: 25px 20px;
    }
    
    .service-card {
        padding: 25px 20px;
    }
    
    .plan-card {
        padding: 30px 20px;
    }
    
    .plan-card.featured {
        order: -1;
        margin-bottom: 30px;
    }
}

/* Better mobile pricing */
@media (max-width: 768px) {
    .plan-price {
        font-size: 2.5rem;
        margin: 15px 0;
    }
    
    .plan-price::before {
        font-size: 0.9rem;
    }
    
    .plan-card ul {
        padding-left: 0;
        list-style: none;
    }
    
    .plan-card li {
        padding: 8px 0;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }
    
    .plan-card li:last-child {
        border-bottom: none;
    }
}

/* Enhanced mobile contact section */
@media (max-width: 768px) {
    .contact-info {
        padding: 30px 20px;
        margin-bottom: 25px;
    }
    
    .contact-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
        margin-bottom: 15px;
    }
    
    .contact-info h4 {
        font-size: 1.2rem;
        margin-bottom: 10px;
    }
    
    .contact-info p {
        font-size: 0.9rem;
        line-height: 1.5;
    }
}

/* Improved mobile footer */
@media (max-width: 768px) {
    .footer {
        padding: 40px 20px 20px;
        text-align: center;
        background: #f8f9fa;
        color: var(--text-color);
    }
    
    .footer h5 {
        font-size: 1.1rem;
        margin-bottom: 15px;
        color: var(--text-color);
    }
    
    .footer p {
        font-size: 0.9rem;
        line-height: 1.6;
        color: var(--text-color);
    }
    
    .social-links {
        justify-content: center;
        gap: 15px;
        margin-top: 20px;
    }
    
    .social-link {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
        background: rgba(0, 0, 0, 0.1) !important;
        color: var(--text-color) !important;
    }
    
    .social-link:hover {
        background: var(--primary-color) !important;
        color: white !important;
        transform: translateY(-2px);
    }
}

/* Better mobile spacing */
@media (max-width: 768px) {
    .section {
        padding: 60px 20px;
    }
    
    .section-title {
        margin-bottom: 40px;
    }
    
    .section-title h2 {
        margin-bottom: 15px;
    }
    
    .section-title p {
        font-size: 1rem;
        line-height: 1.6;
    }
}

/* Enhanced mobile icons */
@media (max-width: 768px) {
    .service-icon,
    .feature-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
        margin-bottom: 15px;
    }
    
    .contact-icon {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
}

/* Improved mobile text */
@media (max-width: 576px) {
    .hero h1 {
        font-size: 1.8rem;
        line-height: 1.3;
    }
    
    .hero p {
        font-size: 0.9rem;
        line-height: 1.5;
    }
    
    .section-title h2 {
        font-size: 1.6rem;
        line-height: 1.3;
    }
    
    .section-title p {
        font-size: 0.9rem;
        line-height: 1.5;
    }
    
    .feature-card h4,
    .service-card h4 {
        font-size: 1.1rem;
        margin-bottom: 10px;
    }
    
    .feature-card p,
    .service-card p {
        font-size: 0.9rem;
        line-height: 1.5;
    }
}

/* Better mobile buttons */
@media (max-width: 576px) {
    .btn {
        padding: 12px 25px;
        font-size: 0.9rem;
        border-radius: 25px;
    }
    
    .btn-lg {
        padding: 15px 30px;
        font-size: 1rem;
    }
    
    .hero-buttons .btn {
        width: 100%;
        max-width: 280px;
        margin: 0 auto;
    }
}

/* Enhanced mobile navigation */
@media (max-width: 576px) {
    .navbar {
        padding: 10px 15px;
    }
    
    .navbar-brand {
        font-size: 1.1rem;
        color: #333 !important;
    }
    
    .navbar-brand img {
        height: 30px;
    }
    
    .navbar-collapse {
        margin-top: 10px;
        padding: 15px;
    }
    
    .navbar-nav .nav-link {
        padding: 12px 15px;
        font-size: 0.9rem;
        color: #333 !important;
    }
    
    .navbar-nav .nav-link:hover {
        color: var(--primary-color) !important;
    }
}

/* Improved mobile cards spacing */
@media (max-width: 576px) {
    .feature-card,
    .service-card,
    .plan-card {
        padding: 20px 15px;
        margin-bottom: 20px;
    }
    
    .plan-card.featured {
        margin-bottom: 25px;
    }
    
    .contact-info {
        padding: 25px 15px;
        margin-bottom: 20px;
    }
}

/* Better mobile pricing display */
@media (max-width: 576px) {
    .plan-price {
        font-size: 2rem;
        margin: 12px 0;
    }
    
    .plan-price::before {
        font-size: 0.8rem;
        margin-bottom: 3px;
    }
    
    .plan-card h4 {
        font-size: 1.1rem;
        margin-bottom: 10px;
    }
    
    .plan-card ul {
        font-size: 0.9rem;
    }
    
    .plan-card li {
        padding: 6px 0;
    }
}

/* Enhanced mobile contact */
@media (max-width: 576px) {
    .contact-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
        margin-bottom: 12px;
    }
    
    .contact-info h4 {
        font-size: 1.1rem;
        margin-bottom: 8px;
    }
    
    .contact-info p {
        font-size: 0.85rem;
        line-height: 1.4;
    }
}

/* Better mobile footer */
@media (max-width: 576px) {
    .footer {
        padding: 30px 15px 15px;
        background: #f8f9fa !important;
        color: #333 !important;
    }
    
    .footer h5 {
        font-size: 1rem;
        margin-bottom: 12px;
        color: #333 !important;
    }
    
    .footer p {
        font-size: 0.85rem;
        line-height: 1.5;
        color: #333 !important;
    }
    
    .social-links {
        gap: 12px;
        margin-top: 15px;
    }
    
    .social-link {
        width: 32px;
        height: 32px;
        font-size: 0.8rem;
        background: rgba(0, 0, 0, 0.1) !important;
        color: #333 !important;
    }
    
    .social-link:hover {
        background: var(--primary-color) !important;
        color: white !important;
        transform: translateY(-2px);
    }
}

/* Improved mobile section spacing */
@media (max-width: 576px) {
    .section {
        padding: 50px 15px;
    }
    
    .section-title {
        margin-bottom: 30px;
    }
    
    .section-title h2 {
        margin-bottom: 12px;
    }
    
    .section-title p {
        font-size: 0.9rem;
        line-height: 1.5;
    }
}

/* Enhanced mobile icons */
@media (max-width: 576px) {
    .service-icon,
    .feature-icon {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
        margin-bottom: 12px;
    }
    
    .contact-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}

/* Better mobile whatsapp button */
@media (max-width: 576px) {
    .whatsapp-btn {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
        bottom: 15px;
        left: 15px;
    }
}

/* Enhanced mobile animations */
@media (max-width: 768px) {
    .fade-in,
    .slide-in-left,
    .slide-in-right {
        transition: all 0.4s ease;
    }
    
    .hero h1,
    .hero p,
    .hero-buttons {
        animation: slideInFromBottom 0.6s ease-out;
    }
    
    .hero h1 {
        animation-delay: 0.1s;
    }
    
    .hero p {
        animation-delay: 0.2s;
    }
    
    .hero-buttons {
        animation-delay: 0.3s;
    }
}

/* Improved mobile loading */
@media (max-width: 768px) {
    .loader-logo {
        width: 60px;
        height: 60px;
    }
    
    .loader-spinner {
        width: 30px;
        height: 30px;
    }
    
    .loader h3 {
        font-size: 1.5rem;
    }
    
    .loader p {
        font-size: 0.9rem;
    }
}

/* Better mobile scroll progress */
@media (max-width: 768px) {
    .scroll-progress {
        height: 2px;
    }
}

/* Enhanced mobile focus states */
@media (max-width: 768px) {
    .btn:focus,
    .nav-link:focus {
        box-shadow: 0 0 0 2px rgba(0, 142, 204, 0.3);
    }
}

/* Improved mobile selection */
@media (max-width: 768px) {
    ::selection {
        background: rgba(0, 142, 204, 0.2);
        color: #333;
    }
}

/* Better mobile print styles */
@media print {
    .loader,
    .whatsapp-btn,
    .back-to-top,
    .navbar,
    .scroll-progress {
        display: none !important;
    }
    
    .hero {
        padding: 20px 0;
        min-height: auto;
    }
    
    .section {
        padding: 20px 0;
    }
    
    .plan-card,
    .feature-card,
    .service-card {
        break-inside: avoid;
        margin-bottom: 20px;
    }
} 