@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        background: rgba(66, 66, 66, 0.13);
        border-radius: 16px;
        box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
        backdrop-filter: blur(7.4px);
        -webkit-backdrop-filter: blur(7.4px);
        border: 1px solid rgba(66, 66, 66, 0.3);
        position: absolute;
        top: 48px;
        right: 0;
        width: 100%;
        height: 100%;
        padding: 10px;
        border-radius: 16px;
    }
    .nav-links li {
        text-align: center;
        padding: 10px 0;
    }
    .menu-toggle {
        display: block;
    }
    .navbar {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 8px 30px;
    }  
    .hero .cta-button {
       width: 74%;
    }
    .hero h1 {
        font-size: 2rem;
    }
    .hero p {
        font-size: 1rem;
    
    }  
    .about-section {
        padding: 40px;
    }

    .about-section h2 {
        font-size: 2.5em;
    }

    .about-section h3 {
        font-size: 1.5em;
    }

    .about-section p {
        font-size: 1.1em;
    }
    .about-section .image-gallery .main-couple-image {
        height: 100%; /* Adjust height to fill the space */
    }
    .client-section .main-heading {
        font-size: 2em;
    }

    .client-section .sub-heading {
        font-size: 1em;
        margin-bottom: 20px;
    }

    .client-section .client-logos {
        gap: 20px;
    }

    .client-section  .logo-item {
        flex: 1 1 calc(50% - 40px); /* Two columns on tablets, considering gap */
        max-width: calc(50% - 40px);
    }
}

/* For screens smaller than 480px (e.g., mobile phones) */
@media (max-width: 480px) {
    .client-section  .main-heading {
        font-size: 1.8em;
    }

    .client-section .sub-heading {
        font-size: 0.9em;
        margin-bottom: 15px;
    }

    .client-section .client-logos {
        gap: 15px;
    }

    .client-section  .logo-item {
        flex: 1 1 100%; /* Single column on mobile */
        max-width: 100%;
    }
}

/* Optional: For very large screens, ensure logos don't get excessively large */
@media (min-width: 1600px) {
    .brand-container img {
        max-height: 90px; /* Cap max height on very large screens */
        margin: 0 60px; /* Use fixed pixel margin on very large screens */
    }
}