/* ================================== */
/* GLOBAL MOBILE STYLES */
/* ================================== */

/* Para sa Hamburger Menu at Navigation sa mobile */
@media (max-width: 768px) {
    .navbar .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 60px; /* Adjust based on navbar height */
        left: 0;
        background-color: #333;
        text-align: center;
        padding-bottom: 10px;
    }
    .navbar .nav-links.active {
        display: flex;
    }
    .navbar .nav-links li {
        margin: 10px 0;
    }
    .hamburger-menu {
        display: block;
    }
    .logo-text {
        font-size: 1em;
    }
}

/* ================================== */
/* HOME SECTION */
/* ================================== */

@media (max-width: 1024px) {
    .main-heading {
        font-size: 3em;
    }
    .tagline {
        font-size: 1.5em;
        margin-bottom: 40px;
    }
    .hero-contact-info {
        gap: 30px;
    }
}
@media (max-width: 768px) {
    .main-heading {
        font-size: 2.2em;
    }
    .tagline {
        font-size: 1.1em;
        letter-spacing: 2px;
    }
    .hero-contact-info {
        flex-direction: column;
        align-items: center;
    }
    .contact-item {
        width: 100%;
        max-width: 300px;
        justify-content: flex-start;
        flex-direction: row;
    }
}

/* ================================== */
/* SERVICES SECTION */
/* ================================== */

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* ================================== */
/* CONTACT SECTION */
/* ================================== */

@media (max-width: 768px) {
    .contact-container {
        flex-direction: column;
    }

    .form-and-map {
        flex-direction: column;
    }
    
    .map-container {
        width: 100%;
        height: auto;
    }
    .map-container iframe {
        height: 300px;
    }
}

/* ================================== */
/* FOOTER SECTION */
/* ================================== */

@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        text-align: center;
        padding: 30px 15px;
        gap: 0; /* Inalis ang gap sa main container */
    }
    .footer-section {
        margin-bottom: 25px;
        min-width: 100%;
    }
    
    .footer-section h4 {
        margin-bottom: 10px;
    }

    /* Ayusin ang Contact Info Text */
    .footer-section.contact-info p {
        text-align: center;
        font-size: 0.95em;
        line-height: 1.6;
        justify-content: center; /* Naka-center ang icons at text */
        display: flex;
        align-items: center;
        padding: 0 10px; /* Dagdag space sa gilid para mas malinis */
    }

    .social-icons {
        display: flex;
        justify-content: center;
        gap: 15px;
        margin-top: 15px;
    }

    .social-icons a i {
        font-size: 1.5em;
    }
}