/* ========================  Partners Page Styles ======================================= */

/* Partners Page Sections */
.partners-current-partners-section,
.partners-become-a-partner-section,
.partners-partnership-benefits-section,
.partners-partnership-tiers-section,
.partners-partnership-contact-section,
.advertise-section {
    padding: 40px 20px;
    margin-top: 20px;
    margin-bottom: 20px;
}

.partners-current-partners-section .container,
.partners-become-a-partner-section .container,
.partners-partnership-benefits-section .container,
.partners-partnership-tiers-section .container,
.partners-partnership-contact-section .container,
.advertise-section .container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Current partners section */
.partners-current-partners-section .card-template {
    background-color: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow-medium);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.partners-current-partners-section .card-template:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-large);
}

.partners-current-partners-section .card-content {
    padding: 40px;
}

.partners-current-partners-section h2 {
    color: var(--primary);
    font-size: 2.8em;
    margin-bottom: 25px;
    text-align: center;
}

.partners-current-partners-section h3 {
    color: var(--secondary);
    font-size: 1.8em;
    margin-bottom: 20px;
    text-align: center;
}

.partners-current-partners-section p {
    color: var(--text-color);
    line-height: 1.8;
    font-size: 1.1em;
    margin-bottom: 30px;
    text-align: center;
}

.partners-current-partners-section .partners-grid {
    display: flex;
    gap: 30px;
    margin-top: 40px;
    margin-bottom: 20px;
}

.partners-current-partners-section .partner-card {
    background-color: var(--background-color);
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 2px solid transparent;
    margin-bottom: 20px;
}

.partners-current-partners-section .partner-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium-alt);
    border-color: var(--accent);
}

.partners-current-partners-section .partner-logo {
    width: 150px;
    height: 150px;
    object-fit: contain;
    margin-bottom: 20px;
    filter: grayscale(0.3);
    transition: filter 0.3s ease;
}

.partners-current-partners-section .partner-card:hover .partner-logo {
    filter: grayscale(0);
}

.partners-current-partners-section .partner-card h4 {
    color: var(--primary);
    font-size: 1.4em;
    margin-bottom: 10px;
}

.partners-current-partners-section .partner-card p {
    color: var(--text-color);
    line-height: 1.6;
    margin-bottom: 0;
    font-size: 1em;
}

/* Become a partner section */
.partners-become-a-partner-section .card-header {
    background-color: var(--primary);
    color: var(--white);
    padding: 20px;
    border-bottom: 1px solid var(--secondary);
}

.partners-become-a-partner-section .card-header h3 {
    margin: 0;
    font-size: 1.8em;
}

.partners-become-a-partner-section .card-content {
    padding: 30px;
}

.partners-become-a-partner-section h4 {
    color: var(--secondary);
    font-size: 1.4em;
    margin-bottom: 15px;
}

.partners-become-a-partner-section p {
    color: var(--text-color);
    line-height: 1.7;
    margin-bottom: 20px;
}

.partners-become-a-partner-section .partnership-benefits {
    margin-top: 25px;
}

.partners-become-a-partner-section .partnership-benefits h5 {
    color: var(--primary);
    font-size: 1.3em;
    margin-bottom: 15px;
}

.partners-become-a-partner-section .partnership-benefits ul {
    color: var(--text-color);
    line-height: 1.8;
    padding-left: 20px;
}

.partners-become-a-partner-section .partnership-benefits li {
    margin-bottom: 10px;
}

/* Partnership benefits section */
.partners-partnership-benefits-section .card-template {
    background-color: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow-medium);
    overflow: hidden;
}

.partners-partnership-benefits-section .card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.partners-partnership-benefits-section .card-content {
    padding: 30px;
}

.partners-partnership-benefits-section h3 {
    color: var(--primary);
    font-size: 1.8em;
    margin-bottom: 15px;
}

.partners-partnership-benefits-section h4 {
    color: var(--secondary);
    font-size: 1.3em;
    margin-bottom: 15px;
}

.partners-partnership-benefits-section p {
    color: var(--text-color);
    line-height: 1.7;
    margin-bottom: 25px;
}

.partners-partnership-benefits-section .benefits-showcase {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 30px;
    justify-content: center;
}

.partners-partnership-benefits-section .benefit-item {
    flex: 1 1 250px;
    max-width: 300px;
}

.partners-partnership-benefits-section .benefit-item {
    background-color: var(--background-color);
    padding: 25px;
    border-radius: 12px;
    text-align: center;
    transition: transform 0.3s ease;
}

.partners-partnership-benefits-section .benefit-item:hover {
    transform: translateY(-3px);
}

.partners-partnership-benefits-section .benefit-icon {
    font-size: 2.5em;
    margin-bottom: 15px;
}

.partners-partnership-benefits-section .benefit-item h5 {
    color: var(--primary);
    font-size: 1.3em;
    margin-bottom: 10px;
}

.partners-partnership-benefits-section .benefit-item p {
    color: var(--text-color);
    line-height: 1.6;
    margin-bottom: 0;
    font-size: 0.95em;
}

.partners-partnership-benefits-section .card-footer {
    background-color: var(--background-color2);
    padding: 20px;
    text-align: center;
    border-top: 1px solid var(--primary);
}

.partners-partnership-benefits-section .card-footer p {
    margin: 0;
    color: var(--text-color2);
    font-weight: 500;
}

/* Partnership tiers section */
.partners-partnership-tiers-section .card-template {
    background-color: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow-medium);
    overflow: hidden;
    text-align: center;
}

.partners-partnership-tiers-section .card-profile-image {
    width: 120px;
    height: 120px;
    margin: 30px auto 20px;
    border-radius: 50%;
    border: 5px solid var(--accent);
    overflow: hidden;
}

.partners-partnership-tiers-section .card-profile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.partners-partnership-tiers-section .card-content {
    padding: 0 30px 30px;
}

.partners-partnership-tiers-section h3 {
    color: var(--primary);
    font-size: 1.8em;
    margin-bottom: 10px;
}

.partners-partnership-tiers-section .card-subtitle {
    color: var(--secondary);
    font-size: 1.1em;
    margin-bottom: 20px;
}

.partners-partnership-tiers-section p {
    color: var(--text-color);
    line-height: 1.6;
    margin-bottom: 25px;
}

.partners-partnership-tiers-section .tiers-showcase {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 30px;
    justify-content: center;
}

.partners-partnership-tiers-section .tier-item {
    flex: 1 1 250px;
    max-width: 300px;
}

.partners-partnership-tiers-section .tier-item {
    background-color: var(--background-color);
    padding: 25px;
    border-radius: 12px;
    text-align: center;
    transition: transform 0.3s ease;
    border-left: 4px solid var(--accent);
}

.partners-partnership-tiers-section .tier-item:hover {
    transform: translateY(-3px);
}

.partners-partnership-tiers-section .tier-item h5 {
    color: var(--primary);
    font-size: 1.3em;
    margin-bottom: 10px;
}

.partners-partnership-tiers-section .tier-amount {
    color: var(--secondary);
    font-weight: bold;
    margin-bottom: 15px;
    font-size: 1.1em;
}

.partners-partnership-tiers-section .tier-item ul {
    color: var(--text-color);
    line-height: 1.6;
    text-align: left;
    padding-left: 20px;
}

.partners-partnership-tiers-section .tier-item li {
    margin-bottom: 8px;
    font-size: 0.9em;
}

/* Partnership contact section */
.partners-partnership-contact-section .card-template {
    position: relative;
    background-color: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow-medium);
    overflow: hidden;
}

.partners-partnership-contact-section .card-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.partners-partnership-contact-section .card-content-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(32, 56, 95, 0.9), rgba(32, 56, 95, 0.7));
    color: var(--white);
    padding: 30px;
}

.icon-image{    
    width: 50px;
    height: 50px;
    object-fit: contain;
    margin-bottom: 10px;
    
}




.partners-partnership-contact-section h3 {
    font-size: 1.8em;
    margin-bottom: 10px;
}

.partners-partnership-contact-section h4 {
    font-size: 1.2em;
    margin-bottom: 15px;
    opacity: 0.9;
}

.partners-partnership-contact-section p {
    line-height: 1.6;
    margin-bottom: 20px;
}

.partners-partnership-contact-section .contact-options {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 20px;
    justify-content: center;
}

.partners-partnership-contact-section .contact-method {
    flex: 1 1 200px;
    max-width: 250px;
}

.partners-partnership-contact-section .contact-method {
    background-color: rgba(var(--white-rgb), 0.1);
    padding: 15px;
    border-radius: 8px;
    backdrop-filter: blur(10px);
}

.partners-partnership-contact-section .contact-method strong {
    display: block;
    margin-bottom: 5px;
    font-size: 0.9em;
}

.partners-partnership-contact-section .contact-method p {
    margin: 0;
    font-size: 0.9em;
    line-height: 1.4;
}

/* Advertise section */
.advertise-section .card-template {
    perspective: 1000px;
}

.advertise-section .card-inner {
    position: relative;
    width: 100%;
    transition: transform 0.6s;
    transform-style: preserve-3d;
}

.advertise-section:hover .card-inner {
    transform: rotateY(180deg);
}

.advertise-section .card-front, .advertise-section .card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    border-radius: 8px;
    overflow: hidden;
}

.advertise-section .card-front {
    background-color: var(--gray-light);
    color: var(--black);
}

.advertise-section .card-back {
    background-color: var(--accent);
    color: var(--white);
    transform: rotateY(180deg);
    padding: 20px;
}

.advertise-section .card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.advertise-section .card-content {
    padding: 20px;
}

.advertise-section h3 {
    font-size: 1.5em;
    margin-bottom: 10px;
}

.advertise-section p {
    margin-bottom: 15px;
}

.advertise-section .advertising-options {
    margin-bottom: 20px;
}

.advertise-section .ad-option {
    margin-bottom: 12px;
}

.advertise-section .ad-option strong {
    display: block;
    margin-bottom: 5px;
    font-size: 0.9em;
}

.advertise-section .ad-option p {
    margin: 0;
    font-size: 0.8em;
    line-height: 1.4;
}

.advertise-section .advertise-btn {
    background-color: var(--white);
    color: var(--accent);
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.advertise-section .advertise-btn:hover {
    background-color: var(--background-color);
}

/* Responsive design for partners sections */
@media (max-width: 768px) {
    .partners-current-partners-section h2 {
        font-size: 2.2em;
    }
    
    .partners-partnership-contact-section .card-content-overlay {
        padding: 20px;
    }
    
    .partners-partnership-tiers-section .card-profile-image {
        width: 100px;
        height: 100px;
    }
    
    .partners-partnership-benefits-section .benefit-item,
    .partners-partnership-tiers-section .tier-item,
    .partners-partnership-contact-section .contact-method {
        flex: 1 1 100%;
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .partners-current-partners-section .card-content,
    .partners-partnership-benefits-section .card-content,
    .partners-partnership-tiers-section .card-content,
    .partners-partnership-contact-section .card-content,
    .advertise-section .card-content {
        padding: 20px;
    }
    
    .partners-current-partners-section h2 {
        font-size: 1.8em;
    }
    
    .partners-partnership-contact-section .card-content-overlay {
        padding: 15px;
    }
    
    .partners-partnership-contact-section h3 {
        font-size: 1.5em;
    }
    
    .partners-current-partners-section .partners-grid {
        flex-wrap: wrap;
        gap: 10px; /* Reduced gap */
    }
    
    .partners-current-partners-section .partner-card {
        flex: 1 1 100%;
        max-width: 100%;
        margin-bottom: 10px; /* Reduced margin-bottom */
        padding: 20px; /* Reduced padding */
    }
}

/* Medium screen sizes (481px - 767px) */
@media (min-width: 481px) and (max-width: 767px) {
    .partners-current-partners-section .partners-grid {
        display: flex;
        flex-wrap: wrap;
        gap: 20px;
        justify-content: center;
    }
    
    .partners-current-partners-section .partner-card {
        flex: 0 1 calc(50% - 10px);
        max-width: calc(50% - 10px);
    }
    
    .partners-partnership-benefits-section .benefits-showcase {
        display: flex;
        flex-wrap: wrap;
        gap: 20px;
        justify-content: center;
    }
    
    .partners-partnership-benefits-section .benefit-item,
    .partners-partnership-tiers-section .tier-item {
        flex: 0 1 calc(50% - 10px);
        max-width: calc(50% - 10px);
    }
    
    .partners-partnership-contact-section .contact-options {
        display: flex;
        flex-wrap: wrap;
        gap: 15px;
        justify-content: center;
    }
    
    .partners-partnership-contact-section .contact-method {
        flex: 0 1 calc(50% - 8px);
        max-width: calc(50% - 8px);
    }
}

/* Large screen sizes (768px and above) */
@media (min-width: 768px) {
    .partners-current-partners-section .partners-grid {
        display: flex;
        flex-wrap: wrap;
        gap: 30px;
        justify-content: center;
    }
    
    .partners-current-partners-section .partner-card {
        flex: 0 1 calc(33.333% - 20px);
        max-width: calc(33.333% - 20px);
    }
    
    .partners-partnership-benefits-section .benefits-showcase {
        display: flex;
        flex-wrap: wrap;
        gap: 20px;
        justify-content: center;
    }
    
    .partners-partnership-benefits-section .benefit-item,
    .partners-partnership-tiers-section .tier-item {
        flex: 0 1 calc(33.333% - 14px);
        max-width: calc(33.333% - 14px);
    }
    
    .partners-partnership-contact-section .contact-options {
        display: flex;
        flex-wrap: wrap;
        gap: 15px;
        justify-content: center;
    }
    
    .partners-partnership-contact-section .contact-method {
        flex: 0 1 calc(33.333% - 10px);
        max-width: calc(33.333% - 10px);
    }
}

/* Extra large screen sizes (1024px and above) */
@media (min-width: 1024px) {
    .partners-current-partners-section .partner-card {
        flex: 0 1 calc(25% - 23px);
        max-width: calc(25% - 23px);
    }
    
    .partners-partnership-benefits-section .benefit-item,
    .partners-partnership-tiers-section .tier-item {
        flex: 0 1 calc(25% - 15px);
        max-width: calc(25% - 15px);
    }
}

/* ------------------------------- end of partners sections --------------------------- */
