/* General Styling */
body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
}

.site-wrap #partner-main{
    margin:50px;
}



.partner-banner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.banner-title-container {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 100%;
    margin: 10px;
    padding: 5px;
}

.partner-title {
    margin: 0;
    text-align: center;
    position: relative;
}

.partner-button {
    position: absolute;
    left: 70vw;;
    top: 50%;
    transform: translateY(-50%);
    background-color: #fffdfd;
    color: #606060;
    padding: 6px 25px;;
    border: 3px solid #606060;;
    border-radius: 4px;
    text-decoration: none;
    font-size: 14px;
    cursor: pointer;
    box-shadow: 1px 2px 14px -1px rgba(0, 0, 0, .25)
}

.partner-button:hover {
    box-shadow: 1px 2px 14px -1px rgba(90, 90, 90, 0.626)
}

.banner-image {
    margin-top: 20px;
    text-align: center;
    border-radius: 10px;
    
}




.social-links {
    margin-top: 10px;
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    margin-bottom: 8px;
    font-size: 25px;
    gap: 20px;
}

.social-links a {
    margin: 0 10px;
    text-decoration: none;
    color: #007bff;
    font-weight: bold;
}

.social-links  a:hover {
    text-decoration: underline;
    color:#797979;
}

/* Navigation Bar - Carousel Format for Mobile View */
.partner-navigation ul {
    display: flex;
    justify-content: center; /* Align items to the start for scrolling */
    list-style: none;
    padding: 14px 0;
    margin: 0;
    border: 1px solid black;
    border-radius: 4px;
    overflow-x: auto; /* Enable horizontal scrolling */
    -webkit-overflow-scrolling: touch; /* Smooth scrolling on touch devices */
    scrollbar-width: none; /* Hide scrollbar for Firefox */
}

.partner-navigation ul::-webkit-scrollbar {
    display: none; /* Hide scrollbar for WebKit browsers */
}

.partner-navigation ul li {
    margin: 0 15px;
    flex: 0 0 auto; /* Prevent items from shrinking or growing */
}

.partner-navigation ul li a {
    text-decoration: none;
    color: #000000;
    font-weight: bold;
    padding: 5px 10px;
    border-radius: 5px;
    white-space: nowrap; /* Prevent text wrapping */
}

.partner-navigation ul li a:hover {
    text-transform: scale(1.05);
    transition: transform 0.3s ease;
    color: #FF7900;
}


/* About Section */
#about {
    margin: 10px 0;
    padding: 5px;
}

#about h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    text-align: center;
}

#about p {
    margin-bottom: 2px;
    line-height: 1.8;
    color: #555;
    font-size: 16px;
}

.about-content {
    margin-bottom: 10px;
}

/* Ensure proper inline alignment */
.content {
    display: inline;
}


.read-more-text, .read-less{
    color: #FF7900;
    font-weight: bold;
}



.full-content {
    margin-top: 10px;
}

/* Services Section */
#services {
    margin: 40px 0;
    text-align: center;
}

#services h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.services-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.service-item {
    background: #fdfdfd;
    padding: 15px;
    border: 1px solid #fcfcfc;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgb(0 0 0 / 61%);
    width: calc(33.33% - 30px);
    min-width: 250px;
    text-align: center;
    color: black;
}

.service-item:hover {
    transform: scale(1.05);
    transition: transform 0.3s ease;
}

/* Partner Highlights Section */
#partner-highlights {
    padding: 20px;
    margin: 40px 0;
    text-align: center;
}

#partner-highlights h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.partner-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.partner-card {
    width: 300px;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 35px;
}

.partner-cover img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}



.profile-photo img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 3px solid white;
}

.partner-details h3 {
    font-size: 18px;
    margin: 10px 0 5px;
}

.partner-details p {
    font-size: 14px;
    color: #666;
}

.contact-icons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin: 10px 0;
}

.contact-icons a {
    color: #007bff;
    font-size: 20px;
    text-decoration: none;
}

.contact-icons a:hover {
    color: #0056b3;
}

.call-button {
    display: inline-block;
    margin: 10px 0;
    padding: 2px 28px;
    background-color: #ff8c00;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-size: 14px;
}

.call-button:hover {
    background-color: #e07800;
}

/* Map Section */
#map {
    margin: 40px 0;
    text-align: center;
}

#map {
    margin: 20px 0;
    padding: 20px;
    
    border: 1px solid #ddd;
    border-radius: 8px;
    text-align: center;
}

/* Social Media Section */
#social {
    margin: 40px 0;
    text-align: center;
}

#social {
    margin: 20px 0;
    padding: 20px;
    
}

.social-media {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    margin: 30px;
    padding: 7px;
}

.social-post {
    flex: 1 1 calc(33.333% - 20px);  /* Default for 3 columns */
    max-width: calc(33.333% - 20px);
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 10px;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* Add hover effect for social posts */
.social-post:hover {
    transform: scale(1.03);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}
/* Gallery Section */
#gallery {
    margin: 40px 0;
    text-align: center;
}

#gallery h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    padding: 0 15px;
    max-width: 1200px;
    margin: 0 auto;
}

.gallery-item {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.03);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.gallery-item img {
    width: 100%;
    height: auto;
}

/* Responsive Adjustments */
@media (max-width: 1024px) {
    .services-container{
        gap:0px;
    }
    .partner-cards,
    .social-media {
        flex-direction: column;
    }

    .service-item,
    .partner-card,
    .social-post {
        width: 100%;
    }

    

    
}

@media (max-width: 768px) {
    .partner-banner h1 {
        font-size: 20px;
        
    }

    #about h2 {
        font-size: 1.5rem;
    }

    #services h2,
    #partner-highlights h2 {
        font-size: 1.5rem;
    }

    .service-item,
    .partner-card {
        width: 100%;
        margin-bottom: 15px;
    }

    .social-media {
        flex-direction: column;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .gallery-item {
        margin-bottom: 15px;
    }

    
}


/* Adjustments for smaller screens */
@media (max-width: 1024px) {
    .social-media {
        flex-direction: column;
        gap: 20px;
        width: 105%;
        margin-left: -9px;
    }

    .social-post {
        width: 100%;  
        max-width: 100%;
    }

    .social-post img {
        max-width: 100%;  
        height: auto;
    }
}

@media (max-width: 768px) {
    .social-media {
        flex-direction: column;
        gap: 15px;
    }

    .social-post {
        width: 100%;  /* Full width on mobile devices */
        max-width: 100%;
    }

    .social-post img {
        max-width: 100%;
        height: auto;
    }

    #social {
        padding: 15px;
    }
}

@media (max-width: 480px) {
    #social {
        padding: 10px;
    }

    .social-post {
        padding: 8px;
    }
}


@media (max-width: 768px) {
    .partner-navigation ul {
        padding: 8px;
        justify-content: flex-start;
    }

    .partner-navigation ul li {
        margin: 0 10px;
    }

    .partner-navigation ul li a {
        font-size: 14px;
    }
}


@media (max-width: 768px){
    .site-wrap #partner-main {
        margin: 20px;
    }
}

@media (max-width: 768px) {
    .banner-title-container {
        flex-direction: column; /* Stack elements vertically */
        align-items: center;
    }

    .partner-button {
        position: relative; /* Remove absolute positioning */
        transform: none; /* Reset transform */
        /* order: 2; Place the button below the title  */
         /* Add spacing below the title */
        left: 0px;
        padding: 3px 8px;
        margin-bottom: 5px;
        margin-top: -11px;
    }

    .partner-title {
        margin: 10px;
        text-align: center;
    }
}


