/* General Styles */
body, html {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: 'Barlow Semi Condensed', sans-serif;
    color: white;
    scroll-behavior: smooth;
    box-sizing: border-box;
    overflow-x: hidden; /* Hide horizontal scrollbar */
    overflow-y: scroll; /* Enable vertical scrolling */
    scrollbar-width: none; /* For Firefox: hide scrollbar */
}

body::-webkit-scrollbar {
    display: none; /* Hide scrollbar for WebKit browsers (Chrome, Safari) */
}

*, *::before, *::after {
    box-sizing: inherit;
}

/* Section Styling */
.section {
    width: 100%;
    padding: 100px 0 20px 0; /* Added padding at the top for space under the navbar */
    position: relative;
    background-color: transparent;
    min-height: 100vh; /* Ensure it takes full viewport height */
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Partners section container */
.container {
    text-align: center;
    padding: 40px 20px;
    position: relative;
    box-sizing: border-box;
    z-index: 2; /* Ensure content is on top of background */
}

/* Partners Heading */
h2 {
    color: #00ffff; /* Light blue text */
    font-size: 2.5rem;
    font-weight: bold;
    letter-spacing: 0.1rem; /* Space between letters */
    margin-bottom: 30px; /* More spacing below the heading */
}

/* Responsive heading size for mobile */
@media (max-width: 768px) {
    h2 {
        font-size: 2rem; /* Smaller heading on mobile */
    }

    /* Add padding between navbar and heading on mobile */
    .section {
        padding-top: 140px; /* Increased top padding on mobile */
    }
}

@media (max-width: 480px) {
    h2 {
        font-size: 1.5rem; /* Even smaller on very small screens */
    }

    /* Further increase top padding for smaller mobile screens */
    .section {
        padding-top: 160px; /* Increased top padding on smaller devices */
    }
}

/* Partners Logos Box */
.partners-box {
    background-color: rgba(0, 0, 0, 0.6); /* Darker shadow-like background */
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.7); /* Stronger shadow effect */
    display: inline-block;
    max-width: 1300px;
    width: 100%;
    margin: 0 auto;
    margin-bottom: 50px; /* Add bottom margin to create space before footer */
}

/* Grid layout for logos */
.partners-logos {
    display: grid;
    grid-template-columns: repeat(6, 1fr); /* 6 columns for larger screens */
    gap: 30px; /* More space between logos */
    justify-items: center;
    align-items: center;
}

/* Logo box */
.logo-box img {
    max-width: 100%;
    max-height: 100px; /* Consistent logo size */
    object-fit: contain;
    transition: transform 0.3s ease-in-out; /* Animation on hover */
}

.logo-box img:hover {
    transform: scale(1.1); /* Slightly enlarge on hover */
}

/* Background image for the partners section */
.background-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1; /* Send the background behind the content */
    overflow: hidden;
}

.background-image {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensure the image covers the full section */
}


/* Partners Title Styling */
/* General Styles */
body, html {
    margin: 0;
    padding: 0;
    font-family: 'Barlow Semi Condensed', sans-serif;
    color: white;
    scroll-behavior: smooth;
    box-sizing: border-box;
}

/* Partners Section */
.partners-section {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: left;
    padding: 80px 40px;
}

/* Background image */
.background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: -1; /* Ensures the background is behind the content */
    opacity: 0.8; /* Slight transparency to make text stand out */
}

/* Content container to center and align */
.partners-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: left;
}

/* Section Title Styling */
.partners-title {
    font-size: 3.5rem;
    color: #00ffff; /* Light blue color */
    font-family: 'Bebas Neue', sans-serif; /* Bebas Neue for bold title */
    margin-bottom: 50px; /* Add space below title */
    text-align: left; /* Align to the left */
}

/* Contact Methods Section */
.contact-methods {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 30px; /* Gap between contact items */
}

/* Contact Item Styling */
.contact-item {
    display: flex;
    align-items: center;
    gap: 20px;
    width: 30%; /* Each contact block takes 30% of the width */
}

/* FontAwesome icons */
.contact-item i {
    font-size: 2.5rem;
    color: #9e58f7; /* Purple color for icons */
}

/* Contact Info */
.contact-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Contact Labels (Telegram, Email, Socials) */
.contact-label {
    font-size: 1.8rem;
    color: #9e58f7; /* Purple color */
    font-family: 'Bebas Neue', sans-serif; /* Bebas Neue for labels */
    text-transform: uppercase;
    margin-bottom: 10px;
}

.contact-handle, .contact-email {
    font-family: 'Barlow Semi Condensed', sans-serif; /* Regular font for contact text */
    font-size: 1.2rem;
    color: white;
}

/* Adjustments for smaller screens */
@media (max-width: 768px) {
    .partners-title {
        font-size: 2.5rem;
        text-align: center;
    }

    .contact-methods {
        flex-direction: column; /* Stack items vertically */
        gap: 30px;
    }

    .contact-item {
        width: 100%; /* Each contact item takes full width */
        text-align: center; /* Center align content */
    }
}

@media (max-width: 480px) {
    .partners-title {
        font-size: 2rem;
    }

    .contact-label {
        font-size: 1.5rem;
    }

    .contact-handle, .contact-email {
        font-size: 1rem;
    }
}

/* Responsive design */
@media (max-width: 768px) {
    .contact-methods {
        flex-direction: column;
        gap: 30px;
    }

    .contact-item {
        width: 100%;
    }

    .partners-title {
        font-size: 2.5rem;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .partners-title {
        font-size: 2rem;
    }

    .contact-label {
        font-size: 1.2rem;
    }

    .contact-handle, .contact-email {
        font-size: 1rem;
    }
}


/* Mobile responsiveness */
@media (max-width: 1200px) {
    .partners-logos {
        grid-template-columns: repeat(4, 1fr); /* 4 columns on medium screens */
    }
}

@media (max-width: 900px) {
    .partners-logos {
        grid-template-columns: repeat(3, 1fr); /* 3 columns on smaller screens */
    }
}

@media (max-width: 600px) {
    .partners-logos {
        grid-template-columns: repeat(2, 1fr); /* 2 columns on mobile */
    }
}

@media (max-width: 400px) {
    .partners-logos {
        grid-template-columns: repeat(1, 1fr); /* 1 column on very small screens */
    }
}
