:root {
    --primary: #00C2FF;   /* vert par ex */
    --secondary: #f4c542; /* jaune/orange */
    --dark: #222;
    --light: #f9f9f9;
    --gray: #666;
    --accent: #ff6600;
}

/* Reset des marges pour le conteneur principal */
.partners-page {
    margin-top: 0;
    padding-top: 0;
}

       .container {
            width: 100%;
            max-width: 1200px;
            margin: 50px auto;
            padding: 0 20px;
        }
        /* Hero Section */
        .hero {
            background:url('https://images.unsplash.com/photo-1516245834210-c4c142787335?ixlib=rb-4.0.3&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=1169&q=80') no-repeat center center/cover;
            color: white;
            text-align: center;
            padding: 3rem 1rem;
            margin-bottom: 1rem;
            margin-top: 50px;
        }

        .hero h1 {
            font-size: 2.5rem;
            margin-bottom: 1rem;
        }

        .hero p {
            font-size: 1.2rem;
            max-width: 700px;
            margin: 0 auto 1.5rem;
        }

        /* Conteneur principal du contenu */
.main-content {
    margin-top: 1rem; /* Réduction significative de l'espace après le hero */
}

        /* Partners Section */
        .partners-section {
            padding: 2rem 0;
        }

        .section-title {
            text-align: center;
            margin-bottom: 2rem;
            color: var(--primary);
            position: relative;
        }

        .section-title:after {
            content: none;
            display: block;
            width: 80px;
            height: 4px;
            background: var(--secondary);
            margin: 10px auto;
        }

        .partners-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
            gap: 30px;
            margin-bottom: 2rem;
        }

        .partner-card {
            background: white;
            border-radius: 10px;
            overflow: hidden;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
            transition: transform 0.3s, box-shadow 0.3s;
            text-align: center;
        }

        .partner-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
        }

        .partner-logo {
            height: 150px;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 20px;
            background: var(--light);
        }

        .partner-logo img {
            width: 100%;
            height: 100px;
            object-fit: contain;
        }

        .partner-info {
            padding: 20px;
        }

        .partner-name {
            font-size: 1.2rem;
            margin-bottom: 10px;
            color: var(--dark);
        }

        .partner-type {
            color: var(--primary);
            font-weight: 500;
            margin-bottom: 10px;
            display: block;
        }

        .partner-desc {
            color: var(--gray);
            margin-bottom: 15px;
            font-size: 0.9rem;
        }

        .partner-link {
            display: inline-block;
            color: var(--primary);
            text-decoration: none;
            font-weight: 500;
            transition: color 0.3s;
        }

        .partner-link:hover {
            color: var(--accent);
        }

        /* Partnership Types */
        .partnership-types {
            background: var(--light);
            padding: 2rem 0;
            margin: 2rem 0;
        }

        .types-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 30px;
        }

        .type-card {
            background: white;
            padding: 30px;
            border-radius: 10px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
            text-align: center;
            transition: transform 0.3s;
        }

        .type-card:hover {
            transform: translateY(-5px);
        }

        .type-icon {
            font-size: 3rem;
            color: var(--primary);
            margin-bottom: 20px;
        }

        .type-title {
            font-size: 1.3rem;
            margin-bottom: 15px;
            color: var(--dark);
        }

        .type-desc {
            color: var(--gray);
        }

        /* CTA Section */
        .cta-section {
            background: linear-gradient(135deg, var(--primary) 0%, #006b44 100%);
            color: white;
            text-align: center;
            padding: 3rem 2rem;
            border-radius: 10px;
            margin: 2rem 0;
        }

        .cta-title {
            font-size: 2rem;
            margin-bottom: 1.5rem;
        }

        .cta-desc {
            max-width: 700px;
            margin: 0 auto 2rem;
            font-size: 1.1rem;
        }

        .btn {
            display: inline-block;
            padding: 12px 30px;
            background: var(--secondary);
            color: var(--dark);
            text-decoration: none;
            border-radius: 30px;
            font-weight: 600;
            transition: all 0.3s;
            border: none;
            cursor: pointer;
        }

        .btn:hover {
            background: #e0b710;
            transform: translateY(-3px);
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        }


        /* Modal */
        .modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.5);
            z-index: 1000;
            justify-content: center;
            align-items: center;
        }

        .modal-content {
            background: white;
            width: 90%;
            max-width: 600px;
            border-radius: 10px;
            padding: 2rem;
            position: relative;
            max-height: 90vh;
            overflow-y: auto;
        }

        .close-modal {
            position: absolute;
            top: 15px;
            right: 15px;
            font-size: 1.5rem;
            cursor: pointer;
            color: var(--gray);
        }

        .modal-title {
            margin-bottom: 1.5rem;
            color: var(--primary);
            text-align: center;
        }

        .form-group {
            margin-bottom: 1.5rem;
        }

        .form-group label {
            display: block;
            margin-bottom: 5px;
            font-weight: 500;
            color: var(--dark);
        }

        .form-group input,
        .form-group textarea,
        .form-group select {
            width: 100%;
            padding: 12px;
            border: 1px solid #ddd;
            border-radius: 5px;
            font-size: 1rem;
        }

        .form-group textarea {
            min-height: 120px;
            resize: vertical;
        }

      /* Responsive Design */
@media (max-width: 768px) {
    .hero {
        padding: 2rem 1rem; /* Réduction supplémentaire sur mobile */
    }
    
    .hero h1 {
        font-size: 2rem;
    }

    .partners-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }

    .types-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-section {
        padding: 2rem 1rem; /* Réduction supplémentaire sur mobile */
    }
}