/* Mobile-specific styles */
@media only screen and (max-width: 768px) {

    /* General Body and Background Setup */
    body {
        width: 100%;
        box-sizing: border-box;
    }

    .background {
        width: 100vw;
        height: 100vh;
        overflow: hidden;
        position: relative;
    }

    /* Hero Section Styling */
    .hero {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 100%;
        height: 100%;
        padding: 0;
        margin: 0;
        box-sizing: border-box;
        text-align: center;
    }

    /* Title Styling */
    .title {
        font-size: 20vw;
        /* Increased size for better visibility */
        margin:0;
    }

    /* Tagline Styling */
    .tagline {
        font-size: 4vw;
        /* Increased size for better visibility */
        margin-top: 10px;
        margin-bottom: 200px;
    }

    /* Silhouette Image Styling */
    .silhouette {
        display: none;
        /* Hide on mobile */
    }

    .silhouette_mobile {
        display: block;
        max-width: 100%;
        height: auto;
        position: absolute;
        bottom: 0;
        margin-bottom: -80px;
    }

    /* Banner Section */
    .banner {
        width: 100%;
        height: 100vh;
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center;
        overflow: hidden;
        background-color: black;
    }

    /* Background Image with Blur Effect */
    .image {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        filter: blur(8px);
        /* Apply blur for depth */
    }

    /* Quote Styling with Fluid Typography */
    .quote {
        position: relative;
        z-index: 1;
        color: #ffffff;
        font-size: clamp(1.5rem, 4vw, 2.5rem);
        /* Fluid typography */
        text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.7);
        /* Shadow for readability */
        padding: 1.5rem;
        text-align: center;
        max-width: 90%;
        margin: 0 auto;
        line-height: 1.6;
        background: rgba(255, 255, 255, 0.1);
        /* Semi-transparent background */
        border-radius: 16px;
        backdrop-filter: blur(10px);
        /* Glassmorphism effect */
        -webkit-backdrop-filter: blur(10px);
        /* Safari support */
        border: 1px solid rgba(255, 255, 255, 0.3);
        /* Subtle border for definition */
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        /* Soft shadow */
        font-family: 'Inter', sans-serif;
        /* Modern font */
    }

    /* Section 3 (Adjusting margin for better layout) */
    .section3 {
        margin-left: -20px;
        width: 100%;
    }

    /* Contact Section Layout */
    .contact-section {
        flex-direction: column;
        padding: 20px;
        height: auto;
        margin: 0;
    }

    /* Map Styling */
    .map {
        width: 110%;
        /* Adjusting map size for mobile */
        height: 200px;
        margin-top: 20px;
    }

    /* Contact Card Styling */
    .contact-card {
        position: relative;
        width: 100%;
        height: auto;
        right: 0;
        bottom: 0;
        padding: 20px;
        box-shadow: none;
    }

    /* Contact Title */
    .contact-title {
        font-size: 2rem;
        margin-bottom: 16px;
    }

    /* Contact Details */
    .contact-details {
        font-size: 0.9rem;
    }

    .contact-details li {
        margin-bottom: 16px;
    }

    .contact-details li span {
        font-size: 1.2rem;
        margin-right: 8px;
    }

    /* Shield Tagline Hidden on Mobile */
    .shield_tagline {
        display: none;
    }

    /* Partnership Section Mobile Styles */
    .partnership-section {
        max-width: 100%;
        padding: 20px 10px;
    }

    .logo-carousel {
        padding: 10px 0;
        margin: 0 -10px;
        border-radius: 0;
    }

    .logos {
        gap: clamp(20px, 3vw, 30px);
    }

    .partner-logo {
        width: clamp(60px, 8vw, 80px);
        height: clamp(40px, 4vw, 60px);
    }

    /* Reduce edge gradient width for mobile */
    .logo-carousel:before,
    .logo-carousel:after {
        width: 30px;
    }
}

/* Tablet Breakpoint */
@media only screen and (min-width: 769px) and (max-width: 1024px) {
    .partnership-section {
        padding: 30px 15px;
    }

    .logos {
        gap: clamp(30px, 3vw, 45px);
    }

    .partner-logo {
        width: clamp(90px, 9vw, 120px);
        height: clamp(50px, 4.5vw, 70px);
    }

    .logo-carousel:before,
    .logo-carousel:after {
        width: 40px;
    }
}