/* responsive.css */

/* Tablet and Smaller Desktops (max-width: 1024px) */
@media (max-width: 1024px) {
    h1 { font-size: 3em; }
    h2 { font-size: 2.4em; }
    h3 { font-size: 1.8em; }

    .navbar {
        padding: 15px;
    }

    .nav-links {
        gap: 20px;
    }

    .logo img {
        height: 50px;
    }

    #hero-slider {
        margin-top: 80px; /* Adjust for smaller header */
    }

    .slide-content h1 {
        font-size: 3.2em;
    }

    #our-philosophy .container {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }

    #our-philosophy .text-content {
        padding-right: 0;
    }

    .highlights-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }

    .footer-content {
        flex-direction: column;
        align-items: center;
        gap: 40px;
    }

    .footer-links, .footer-social, .footer-contact {
        text-align: center;
        min-width: unset; /* Remove min-width for stacking */
        width: 100%;
    }

    .footer-social a {
        margin: 0 10px; /* Adjust spacing */
    }

    .footer-contact p {
        justify-content: center;
    }

    .contact-info-map {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }

    .contact-details, .map-container {
        min-width: unset;
        width: 100%;
    }
}

/* Mobile Devices (max-width: 768px) */
@media (max-width: 768px) {
    .section-padding {
        padding: 60px 0;
    }

    h1 { font-size: 2.5em; }
    h2 { font-size: 2em; }
    h3 { font-size: 1.6em; }
    h4 { font-size: 1.4em; }

    .navbar {
        flex-wrap: wrap;
        padding: 10px 20px;
    }

    .logo {
        flex-grow: 1; /* Allow logo to take available space */
    }

    .logo img {
        height: 45px;
    }

    .nav-links {
        display: none; /* Hide navigation links by default */
        flex-direction: column;
        width: 100%;
        text-align: center;
        background-color: rgba(255, 255, 255, 0.95);
        position: absolute;
        top: 70px; /* Below the header */
        left: 0;
        padding: 20px 0;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
        z-index: 999;
    }

    .nav-links.active {
        display: flex; /* Show when active */
    }

    .nav-links li {
        margin: 10px 0;
    }

    .nav-links li a {
        font-size: 1.2em;
        padding: 10px 0;
        display: block;
    }

    .burger-menu {
        display: block; /* Show burger menu icon */
    }

    #hero-slider {
        margin-top: 70px; /* Adjust for smaller header */
        height: 70vh; /* Reduce hero height on mobile */
    }

    .slide-content h1 {
        font-size: 2.5em;
    }

    .slider-nav button {
        padding: 10px 15px;
        font-size: 1.2em;
    }

    .slider-dots {
        bottom: 10px;
    }

    .highlight-item {
        padding: 20px;
    }

    .contact-form-wrapper {
        padding: 30px;
    }

    .footer-content {
        padding: 0 15px;
    }
}

/* Smaller Mobile Devices (max-width: 480px) */
@media (max-width: 480px) {
    h1 { font-size: 2em; }
    h2 { font-size: 1.8em; }
    h3 { font-size: 1.4em; }

    .slide-content h1 {
        font-size: 2em;
    }

    .btn {
        padding: 10px 20px;
        font-size: 0.9em;
    }

    .slider-nav button {
        padding: 8px 12px;
        font-size: 1em;
    }

    .slider-dots .dot {
        width: 10px;
        height: 10px;
    }

    .contact-details p {
        font-size: 1em;
    }

    .contact-details p i {
        font-size: 1.1em;
    }

    .map-container {
        height: 300px;
    }
}
