
.custom-font {
    color: rgb(252, 224, 188);
    font-family: 'Roboto', sans-serif;
    /* Change 'Roboto' to any font name you included from Google Fonts */
}
:root {
    --primary-color: #000;
    --secondary-color: #f8f8f8;
    --accent-color: #ff9900;
    --text-color: #333333;
}

body {

    margin: 0;
    padding: 0;
    color: var(--text-color);
}

.partner-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.section-title {
    text-align: left;
    margin-bottom: 40px;
    position: relative;
}

.section-title h2 {
    font-size: 32px;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.section-title:after {
    content: "";
    display: block;
    width: 80px;
    height: 4px;
    background-color: var(--accent-color);
    margin: 15px 0;
    /* Changed from auto to 0 to align left */
}

.partner-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
    background-color: var(--secondary-color);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.partner-header {
    display: flex;
    align-items: center;
    padding: 30px;
    background-color: white;
    border-bottom: 1px solid #eaeaea;
}

.partner-logo {
    flex: 0 0 250px;
    text-align: center;
    margin-right: 30px;
}

.partner-logo img {
    max-width: 100%;
    height: auto;
}

.partner-title {
    flex: 1;
}

.partner-title h3 {
    font-size: 24px;
    color: var(--primary-color);
    margin: 0 0 5px 0;
}

.partner-title p {
    font-size: 16px;
    margin: 0;
    color: #888;
}

/* Badge container styles for better responsiveness */
.badge-container {
    display: flex;
    flex-wrap: wrap;
    /* Allow badges to wrap to new line when needed */
    gap: 10px;
    margin-top: 10px;
}

.badge {
    background-color: var(--primary-color);
    color: white;
    font-size: 12px;
    padding: 5px 10px;
    border-radius: 15px;
    margin-bottom: 5px;
    /* Add some margin for when badges wrap */
}

.partner-content {
    padding: 20px 30px 30px;
}

.partner-description {
    font-size: 12px !important;
    line-height: 1.6;
    margin-bottom: 20px;
    text-align: justify;
}

.partner-description p {
    font-size: 16px !important;
    font-weight: 500;

}

.highlight-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 30px;
}

.highlight-box {
    flex: 1 1 calc(33.333% - 20px);
    min-width: 250px;
    background-color: white;
    padding: 20px;
    border-radius: 6px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
}

.highlight-box h4 {
    color: var(--primary-color);
    margin-top: 0;
    font-size: 18px;
    display: flex;
    align-items: center;
}

.highlight-box h4 svg {
    margin-right: 10px;
}

.highlight-box p {
    margin-bottom: 0;
}

.website-btn {
    display: inline-block;
    background-color: var(--accent-color);
    color: white;
    font-weight: bold;
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 4px;
    margin-top: 15px;
    transition: background-color 0.3s;
}

.website-btn:hover {
    background-color: #e68a00;
}

@media (max-width: 768px) {
    .partner-header {
        flex-direction: column;
        text-align: center;
    }

    .partner-logo {
        flex: 0 0 100%;
        /* Take full width on smaller screens */
        margin-right: 0;
        margin-bottom: 20px;
    }

    .partner-logo img {
        max-width: 200px;
        /* Constrain logo size on mobile */
        width: 80%;
        /* Alternative approach - make it 80% of container width */
    }

    .badge-container {
        justify-content: center;
    }

    .highlight-box {
        flex: 1 1 100%;
    }

    .badge-container {
        justify-content: flex-start;
        /* Align badges to left instead of center */
    }
}
.loader {
    margin-left: 10px;
}

.alert {
    padding: 10px 15px;
    margin-bottom: 15px;
    border-radius: 4px;
    font-size: 14px;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-danger {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Disable form during submission */
.form-disabled {
    opacity: 0.7;
    pointer-events: none;
}

/* Submit button styles */
.appointment {
    position: relative;
    width: 210px;
    background-color: #2c5282;
    color: white !important;
    padding: 12px 24px;
    border: none;
    border-radius: 5px;
    font-weight: 900 !important;
    font-size: 18px !important;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 15px;
    overflow: hidden;
}

.appointment:hover {
    background-color: #1e3a5f;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
    color: white !important;
}

.appointment:active {
    transform: translateY(1px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    color: white !important;
}

.appointment:disabled {
    background-color: #6c757d;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
    opacity: 0.8;
}

.appointment .button-text {
    margin-right: 10px;
}

.appointment .btn-icon {
    transition: transform 0.3s ease;
}

.appointment:hover .btn-icon {
    transform: translateX(5px);
}

.appointment .loader {
    margin-right: 10px;
}

* Alert styling */ .alert {
    padding: 12px 16px;
    margin-bottom: 20px;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 500;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
    border-left: 4px solid #28a745;
}

.alert-danger {
    background-color: #f8d7da;
    color: #721c24;
    border-left: 4px solid #dc3545;
}

/* Disable form during submission */
.form-disabled {
    opacity: 0.7;
    pointer-events: none;
}

/* Loader animation */
@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.loader i {
    animation: spin 1s linear infinite;
}
