/* =============================================
   Infra Core Technical Services LLC - Responsive CSS
   ============================================= */

/* === Large Desktops === */
@media (max-width: 1399.98px) {
    .container {
        max-width: 1200px;
    }
}

/* === Tablets & Small Laptops === */
@media (max-width: 1199.98px) {
    .hero-content h1 {
        font-size: 48px;
    }

    .section-title {
        font-size: 38px;
    }

    .about-image-wrapper {
        margin-bottom: 40px;
    }

    .about-image-wrapper img {
        height: 400px;
    }

    .service-card {
        height: 350px;
    }
}

/* === Tablets === */
@media (max-width: 991.98px) {
    .navbar-collapse {
        background: var(--white);
        padding: 13px;
        border-radius: var(--border-radius);
        margin-top: 10px;
        box-shadow: var(--shadow-md);
    }

    .nav-link {
        padding: 12px 16px !important;
    }

    .hero-content h1 {
        font-size: 38px;
    }

    .hero-content p {
        font-size: 16px;
    }

    .section-title {
        font-size: 32px;
    }

    .section {
        padding: 70px 0;
    }

    .section-header {
        margin-bottom: 40px;
    }

    .about-image-wrapper {
        margin-bottom: 30px;
    }

    .about-image-wrapper img {
        height: 350px;
    }

    .about-experience-badge {
        bottom: -10px;
        right: -10px;
        padding: 18px;
    }

    .about-experience-badge .number {
        font-size: 36px;
    }

    .about-experience-badge .text {
        font-size: 12px;
    }

    .counter-number {
        font-size: 36px;
    }

    .counter-section {
        padding: 60px 0;
    }

    .service-card {
        height: 320px;
    }

    .cta-section {
        padding: 80px 0;
    }

    .cta-section h2 {
        font-size: 32px;
    }

    .cta-section p {
        font-size: 16px;
    }

    .page-header {
        height: 300px;
    }

    .page-header-content h1 {
        font-size: 36px;
    }

    .footer {
        padding-top: 60px;
    }

    .gallery-item img {
        height: 250px;
    }
}

/* === Mobile Phones === */
@media (max-width: 767.98px) {
    .hero-content h1 {
        font-size: 30px;
        line-height: 1.3;
    }

    .hero-subtitle {
        font-size: 12px;
        letter-spacing: 2px;
    }

    .hero-content p {
        font-size: 15px;
    }

    .hero-buttons {
        gap: 12px;
    }

    .section-title {
        font-size: 28px;
    }

    .section {
        padding: 60px 0;
    }

    .section-header {
        margin-bottom: 30px;
    }

    .section-desc {
        font-size: 14px;
    }

    .about-image-wrapper {
        margin-bottom: 24px;
    }

    .about-image-wrapper img {
        height: 280px;
    }

    .about-experience-badge {
        bottom: 16px;
        right: 16px;
        padding: 14px;
    }

    .about-experience-badge .number {
        font-size: 28px;
    }

    .about-experience-badge .text {
        font-size: 11px;
    }

    .about-features {
        gap: 12px;
    }

    .about-feature span {
        font-size: 13px;
    }

    .counter-section {
        padding: 50px 0;
    }

    .counter-item {
        margin-bottom: 30px;
    }

    .counter-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 12px;
    }

    .counter-icon i {
        font-size: 24px;
    }

    .counter-number {
        font-size: 32px;
    }

    .counter-label {
        font-size: 13px;
    }

    .service-card {
        height: 300px;
    }

    .service-card-content {
        padding: 20px;
    }

    .service-card h4 {
        font-size: 16px;
    }

    .why-choose-card {
        padding: 30px 20px;
    }

    .project-card img {
        height: 250px;
    }

    .project-overlay {
        padding: 20px;
    }

    .project-name {
        font-size: 16px;
    }

    .testimonial-card {
        padding: 30px 20px;
    }

    .cta-section {
        padding: 60px 0;
    }

    .cta-section h2 {
        font-size: 28px;
    }

    .cta-section p {
        font-size: 15px;
    }

    .contact-form {
        padding: 24px;
    }

    .page-header {
        height: 250px;
    }

    .page-header-content h1 {
        font-size: 28px;
    }

    .gallery-item img {
        height: 220px;
    }

    .gallery-filters {
        gap: 8px;
    }

    .gallery-filter-btn {
        padding: 6px 16px;
        font-size: 13px;
    }

    /* Floating buttons responsive */
    .floating-btn {
        width: 48px;
        height: 48px;
        font-size: 20px;
    }

    .whatsapp-btn {
        bottom: 110px;
        right: 16px;
    }

    .call-btn {
        bottom: 170px;
        right: 16px;
    }

    .back-to-top {
        bottom: 50px;
        right: 16px;
    }

    .error-code {
        font-size: 80px;
    }

    .error-message {
        font-size: 20px;
    }

    .error-description {
        font-size: 14px;
    }

    .footer-bottom p {
        text-align: center;
    }
}

/* === Small Mobile Phones === */
@media (max-width: 575.98px) {
    .hero-content h1 {
        font-size: 26px;
    }

    .hero-subtitle {
        font-size: 11px;
        letter-spacing: 1.5px;
    }

    .hero-content p {
        font-size: 14px;
        margin-bottom: 30px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    .hero-buttons .btn-gold,
    .hero-buttons .btn-outline-gold {
        width: 100%;
        justify-content: center;
    }

    .section-title {
        font-size: 24px;
    }

    .section {
        padding: 50px 0;
    }

    .section-header {
        margin-bottom: 24px;
    }

    .section-subtitle {
        font-size: 12px;
        letter-spacing: 2px;
    }

    .gold-line {
        width: 40px;
        height: 2px;
    }

    .about-image-wrapper img {
        height: 240px;
    }

    .about-experience-badge {
        bottom: 12px;
        right: 12px;
        padding: 12px;
    }

    .about-experience-badge .number {
        font-size: 24px;
    }

    .about-experience-badge .text {
        font-size: 10px;
    }

    .counter-section {
        padding: 40px 0;
    }

    .counter-icon {
        width: 50px;
        height: 50px;
    }

    .counter-icon i {
        font-size: 20px;
    }

    .counter-number {
        font-size: 28px;
    }

    .service-card {
        height: 280px;
    }

    .service-card-icon {
        width: 40px;
        height: 40px;
    }

    .service-card-icon i {
        font-size: 18px;
    }

    .service-card h4 {
        font-size: 15px;
    }

    .project-card img {
        height: 220px;
    }

    .cta-section {
        padding: 50px 0;
    }

    .cta-section h2 {
        font-size: 24px;
    }

    .cta-section p {
        font-size: 14px;
        margin-bottom: 24px;
    }

    .page-header {
        height: 220px;
    }

    .page-header-content h1 {
        font-size: 26px;
    }

    .gallery-item img {
        height: 200px;
    }

    .email-card {
        flex-direction: column;
        text-align: center;
    }

    .email-card .email-icon {
        margin-bottom: 8px;
    }

    .error-code {
        font-size: 70px;
    }

    .footer h5 {
        font-size: 16px;
    }
}

/* === Extra Small === */
@media (max-width: 374.98px) {
    .hero-content h1 {
        font-size: 22px;
    }

    .section-title {
        font-size: 22px;
    }

    .error-code {
        font-size: 60px;
    }

    .gallery-item img {
        height: 180px;
    }
}

/* === Print Styles === */
@media print {
    .navbar,
    .floating-btn,
    .scroll-indicator,
    .footer-bottom {
        display: none !important;
    }

    body {
        font-size: 12pt;
        color: #000;
    }

    .hero-section {
        min-height: auto;
        padding: 40px 0;
    }

    a {
        color: #000;
    }
}
