/* Mobile Responsive Styles for Eedhal Technology Website */

/* Tablet and Below (768px) */
@media (max-width: 768px) {
    /* Hero Section */
    .hero-title {
        font-size: 2rem !important;
        line-height: 1.2;
    }
    
    .hero-subtitle {
        font-size: 1.2rem !important;
    }
    
    .hero-description {
        font-size: 1rem !important;
    }
    
    .hero-section {
        padding-top: 80px;
    }
    
    .hero-section .row {
        min-height: auto !important;
    }
    
    .hero-image {
        height: 300px;
        margin-top: 2rem;
    }
    
    .floating-card {
        padding: 1rem;
        font-size: 0.9rem;
    }
    
    .floating-card h5 {
        font-size: 0.9rem;
    }
    
    .floating-card i {
        font-size: 1.5rem !important;
    }
    
    /* Section Titles */
    .section-title {
        font-size: 1.8rem !important;
    }
    
    /* Navigation */
    .navbar-brand {
        font-size: 1.2rem;
    }
    
    .navbar-brand img {
        height: 30px !important;
    }
    
    .navbar-nav {
        padding: 1rem 0;
    }
    
    .navbar-nav .nav-link {
        padding: 0.5rem 0;
    }
    
    /* Service Cards */
    .service-card {
        margin-bottom: 1rem;
    }
    
    /* Stats */
    .stat-number {
        font-size: 2rem;
    }
    
    /* Footer */
    .footer-brand h5 {
        font-size: 1.2rem;
    }
    
    .footer .col-lg-4,
    .footer .col-lg-2 {
        margin-bottom: 2rem;
    }
    
    /* Newsletter Form - Tablet */
    .newsletter-form .input-group {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .newsletter-form .form-control {
        border-radius: 8px !important;
        width: 100% !important;
        padding: 0.65rem 1rem;
        font-size: 0.95rem;
        min-height: 44px;
    }
    
    .newsletter-form .btn {
        border-radius: 8px !important;
        width: 100%;
        padding: 0.65rem 1rem;
        font-size: 0.95rem;
        min-height: 44px;
    }
}

/* Mobile Only (576px and below) */
@media (max-width: 576px) {
    /* Hero Section - Critical Fix */
    .hero-section {
        min-height: auto !important;
        padding: 100px 0 50px 0;
    }
    
    .hero-section .container {
        padding-top: 20px;
    }
    
    .hero-section .row {
        min-height: auto !important;
    }
    
    .hero-section .row.align-items-center {
        display: block !important;
    }
    
    .hero-title {
        font-size: 1.75rem !important;
        margin-top: 0;
        padding-top: 0;
    }
    
    .hero-subtitle {
        font-size: 1.1rem !important;
    }
    
    .hero-description {
        font-size: 0.95rem !important;
    }
    
    .cta-button {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
        width: 100%;
        margin-bottom: 2rem;
    }
    
    .hero-image {
        display: none;
    }
    
    /* Navbar */
    .navbar {
        padding: 0.5rem 0;
    }
    
    .navbar-brand {
        font-size: 1rem;
    }
    
    .navbar-brand span {
        font-size: 0.9rem;
    }
    
    /* Sections */
    .py-5 {
        padding: 2rem 0 !important;
    }
    
    .section-title {
        font-size: 1.5rem !important;
    }
    
    .lead {
        font-size: 1rem !important;
    }
    
    /* Service Cards */
    .service-card {
        padding: 1.5rem;
    }
    
    .service-icon i {
        font-size: 2rem;
    }
    
    .service-card h4 {
        font-size: 1.2rem;
    }
    
    /* Project Cards */
    .project-card {
        margin-bottom: 1rem;
    }
    
    /* Team Cards */
    .team-card {
        margin-bottom: 1rem;
    }
    
    /* Testimonial Cards */
    .testimonial-card {
        margin-bottom: 1rem;
    }
    
    /* Work Showcase */
    .work-showcase-card {
        padding: 1.5rem;
        margin: 0.5rem;
    }
    
    /* Stats */
    .stat-item {
        margin-bottom: 1.5rem;
    }
    
    /* Newsletter Form */
    .newsletter-form .input-group {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .newsletter-form .form-control {
        border-radius: 8px !important;
        margin-bottom: 0;
        width: 100% !important;
        padding: 0.75rem 1rem;
        font-size: 1rem;
        min-height: 48px;
    }
    
    .newsletter-form .btn {
        border-radius: 8px !important;
        width: 100%;
        padding: 0.75rem 1rem;
        font-size: 1rem;
        min-height: 48px;
    }
    
    /* Footer */
    .footer {
        text-align: center;
    }
    
    .footer .text-md-end {
        text-align: center !important;
        margin-top: 1rem;
    }
    
    .social-links {
        justify-content: center;
    }
}

/* Extra Small Devices (400px and below) */
@media (max-width: 400px) {
    .hero-title {
        font-size: 1.5rem !important;
    }
    
    .hero-subtitle {
        font-size: 1rem !important;
    }
    
    .section-title {
        font-size: 1.3rem !important;
    }
    
    .navbar-brand img {
        height: 25px !important;
    }
}
