/* ==========================================================================
   Faujdar Green Infra - Responsive Stylesheet
   ========================================================================== */

/* Large screens (up to 1200px) */
@media (max-width: 1199.98px) {
    .hero-title {
        font-size: 3.2rem;
    }
    .section-padding {
        padding: 80px 0;
    }
}

/* Medium screens / Tablets (up to 992px) */
@media (max-width: 991.98px) {
    .top-bar {
        display: none; /* Hide top bar for cleaner mobile header */
    }
    
    .navbar {
        padding: 10px 0;
    }
    
    .navbar-buttons {
        display: none; /* Hide standard buttons in navbar header */
    }
    
    .hero-section {
        padding: 140px 0 100px;
        text-align: center;
        background-attachment: scroll;
    }
    
    .hero-title {
        font-size: 2.8rem;
    }
    
    .hero-desc {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-btn-group {
        justify-content: center;
    }
    
    .hero-badge-wrap {
        margin-top: 50px;
    }
    
    .about-image-wrap {
        padding-right: 0;
        padding-bottom: 0;
        margin-bottom: 40px;
    }
    
    .experience-badge {
        bottom: 20px;
        right: 20px;
        padding: 20px;
        min-width: 140px;
    }
    
    .experience-badge .years {
        font-size: 2.2rem;
    }
    
    /* Timeline Redesign for Mobile/Tablet */
    .timeline-container::before {
        left: 20px; /* Align vertical line to the left */
        transform: none;
    }
    
    .timeline-item {
        width: 100%;
        padding: 15px 0 15px 45px; /* Indent content to the right of line */
        text-align: left !important;
    }
    
    .timeline-item:nth-child(even) {
        left: 0;
    }
    
    .timeline-badge {
        left: 0 !important;
        right: auto !important;
        top: 20px;
    }
    
    .timeline-item:nth-child(odd):hover .timeline-card {
        border-right: none;
        border-left: 4px solid var(--primary-color);
    }
    
    .section-title {
        font-size: 2.2rem;
    }
}

/* Small screens / Phones (up to 768px) */
@media (max-width: 767.98px) {
    .section-padding {
        padding: 60px 0;
    }
    
    .hero-section {
        padding: 120px 0 80px;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-badge-container {
        padding: 30px 20px;
    }
    
    .hero-badge-logo {
        max-height: 90px;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .service-card {
        padding: 30px 20px;
    }
    
    .testimonial-card {
        padding: 30px 25px;
    }
    
    .contact-info-wrap, 
    .form-wrap {
        padding: 30px 20px;
    }
    
    .quick-action-panel {
        bottom: 20px;
        right: 20px;
        gap: 8px;
    }
    
    .floating-btn {
        width: 48px;
        height: 48px;
        font-size: 1.2rem;
    }
    
    .floating-btn::before {
        display: none !important; /* Hide hover tooltips on mobile screens */
    }
    
    .back-to-top {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}

/* Extra small screens (up to 576px) */
@media (max-width: 575.98px) {
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-desc {
        font-size: 1rem;
    }
    
    .btn-custom {
        width: 100%;
        justify-content: center;
    }
    
    .hero-btn-group {
        flex-direction: column;
        width: 100%;
    }
    
    .timeline-card {
        padding: 15px;
    }
    
    .footer-bottom {
        text-align: center;
    }
    
    .footer-bottom-links {
        margin-top: 10px;
        justify-content: center;
        display: flex;
    }
    
    .footer-bottom-links a {
        margin: 0 10px;
    }
}
