/* ===== CONTACTS PAGE STYLES ===== */

/* Page Hero Section */
.contacts-hero {
    padding: 100px 0 60px;
    background: linear-gradient(135deg, #0f172a 0%, #1a3a5f 100%);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.contacts-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(230, 162, 60, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(30, 136, 229, 0.05) 0%, transparent 50%);
    opacity: 0.7;
    z-index: 0;
}

.contacts-hero-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.contacts-hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: white;
    line-height: 1.2;
}

.contacts-subtitle {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
    margin-bottom: 2rem;
    font-weight: 400;
}

.contacts-subtitle strong {
    color: #e6a23c;
    font-weight: 600;
}

/* Contact Type Selector */
.contact-selector-section {
    padding: 4rem 0;
    background-color: #f8fafc;
}

.contact-selector-container {
    max-width: 1000px;
    margin: 0 auto;
}

.selector-title {
    text-align: center;
    margin-bottom: 3rem;
}

.selector-title h2 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.selector-title p {
    color: var(--gray);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.contact-reason-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.contact-reason-card {
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.contact-reason-card:hover {
    border-color: #cbd5e1;
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.contact-reason-card.selected {
    border-color: #e6a23c;
    background-color: rgba(230, 162, 60, 0.05);
    box-shadow: 0 10px 25px rgba(230, 162, 60, 0.15);
}

.contact-reason-icon {
    font-size: 2.5rem;
    color: #e6a23c;
    margin-bottom: 1.5rem;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-reason-icon i {
    background: linear-gradient(135deg, #e6a23c, #f59e0b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.contact-reason-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
    color: var(--primary-color);
}

.contact-reason-card p {
    color: var(--gray);
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.selection-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: #e6a23c;
    color: white;
    padding: 6px 20px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    display: none;
}

.contact-reason-card.selected .selection-badge {
    display: block;
}

/* Enterprise Contact Block */
.enterprise-contact-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #1a3a5f 0%, #0f172a 100%);
    color: white;
}

.enterprise-contact-container {
    max-width: 1000px;
    margin: 0 auto;
}

.enterprise-header {
    text-align: center;
    margin-bottom: 3rem;
}

.enterprise-header h2 {
    font-size: 2.5rem;
    color: white;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.enterprise-header h2 i {
    color: #e6a23c;
}

.enterprise-header p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
}

.enterprise-card {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(230, 162, 60, 0.3);
    border-radius: 16px;
    padding: 3rem;
    backdrop-filter: blur(10px);
}

.enterprise-intro {
    text-align: center;
    margin-bottom: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.enterprise-intro h3 {
    color: white;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.enterprise-intro h3 i {
    color: #e6a23c;
}

.enterprise-intro p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1.5rem;
}

.enterprise-clients {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.client-badge {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.client-badge:hover {
    background: rgba(230, 162, 60, 0.2);
    border-color: rgba(230, 162, 60, 0.5);
}

.enterprise-form {
    margin-top: 2rem;
}

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

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

.form-group label {
    display: block;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0.5rem;
    font-weight: 500;
    font-size: 0.95rem;
}

.form-group label .required {
    color: #ff6b6b;
    margin-left: 4px;
}

.form-control {
    width: 100%;
    padding: 0.9rem 1rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: white;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: #e6a23c;
    background: rgba(255, 255, 255, 0.12);
    box-shadow: 0 0 0 3px rgba(230, 162, 60, 0.2);
}

.form-control::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.inquiry-types {
    margin-top: 2rem;
}

.inquiry-types h4 {
    color: white;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.inquiry-types h4 i {
    color: #e6a23c;
}

.checkbox-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: rgba(255, 255, 255, 0.9);
    cursor: pointer;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    transition: all 0.3s ease;
}

.checkbox-label:hover {
    background: rgba(255, 255, 255, 0.1);
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    border-radius: 4px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    background: transparent;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"]:checked {
    background-color: #e6a23c;
    border-color: #e6a23c;
}

.enterprise-cta {
    text-align: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.enterprise-cta-btn {
    background: linear-gradient(135deg, #e6a23c 0%, #f59e0b 100%);
    color: white;
    border: none;
    padding: 1rem 3rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
}

.enterprise-cta-btn:hover {
    background: linear-gradient(135deg, #f59e0b 0%, #e6a23c 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(230, 162, 60, 0.3);
}

/* General Contact Form */
.general-contact-section {
    padding: 5rem 0;
    background-color: white;
}

.general-contact-container {
    max-width: 800px;
    margin: 0 auto;
}

.general-contact-header {
    text-align: center;
    margin-bottom: 3rem;
}

.general-contact-header h2 {
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.general-contact-header h2 i {
    color: #e6a23c;
}

.general-contact-header p {
    color: var(--gray);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.general-contact-form {
    background: #f8fafc;
    border-radius: 16px;
    padding: 3rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

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

.general-cta {
    text-align: center;
    margin-top: 2rem;
}

.general-cta-btn {
    background: linear-gradient(135deg, #1a3a5f 0%, #2a5a8c 100%);
    color: white;
    border: none;
    padding: 1rem 3rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
}

.general-cta-btn:hover {
    background: linear-gradient(135deg, #2a5a8c 0%, #1a3a5f 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(26, 58, 95, 0.3);
}

/* Direct Contact Channels */
.direct-channels-section {
    padding: 4rem 0;
    background-color: #f8fafc;
}

.direct-channels-container {
    max-width: 1000px;
    margin: 0 auto;
}

.direct-channels-header {
    text-align: center;
    margin-bottom: 3rem;
}

.direct-channels-header h2 {
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.direct-channels-header p {
    color: var(--gray);
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
}

.channels-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.channel-card {
    background: white;
    border-radius: 12px;
    padding: 2.5rem;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.channel-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.channel-icon {
    font-size: 3rem;
    color: #e6a23c;
    margin-bottom: 1.5rem;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.channel-card h3 {
    font-size: 1.4rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.channel-info {
    margin-bottom: 1.5rem;
}

.channel-address {
    font-size: 1.1rem;
    color: var(--gray);
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.channel-description {
    color: var(--gray);
    font-size: 0.95rem;
    line-height: 1.5;
}

.channel-cta {
    margin-top: 1.5rem;
}

.channel-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.8rem 1.8rem;
    background: rgba(230, 162, 60, 0.1);
    color: #e6a23c;
    border: 2px solid rgba(230, 162, 60, 0.3);
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.channel-btn:hover {
    background: rgba(230, 162, 60, 0.2);
    border-color: #e6a23c;
    transform: translateY(-2px);
}

.channel-btn.email {
    background: rgba(26, 58, 95, 0.1);
    color: #1a3a5f;
    border-color: rgba(26, 58, 95, 0.3);
}

.channel-btn.email:hover {
    background: rgba(26, 58, 95, 0.2);
    border-color: #1a3a5f;
}

.channel-btn.telegram {
    background: rgba(0, 136, 204, 0.1);
    color: #0088cc;
    border-color: rgba(0, 136, 204, 0.3);
}

.channel-btn.telegram:hover {
    background: rgba(0, 136, 204, 0.2);
    border-color: #0088cc;
}

/* Self-Service Links */
.self-service-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, #0f172a 0%, #1a3a5f 100%);
    color: white;
}

.self-service-container {
    max-width: 1000px;
    margin: 0 auto;
}

.self-service-header {
    text-align: center;
    margin-bottom: 3rem;
}

.self-service-header h2 {
    font-size: 2.2rem;
    color: white;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.self-service-header h2 i {
    color: #e6a23c;
}

.self-service-header p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
}

.self-service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.service-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.service-card:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(230, 162, 60, 0.3);
    transform: translateY(-5px);
}

.service-icon {
    font-size: 2.5rem;
    color: #e6a23c;
    margin-bottom: 1.5rem;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-card h3 {
    font-size: 1.2rem;
    color: white;
    margin-bottom: 1rem;
}

.service-card p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 1.5rem;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #e6a23c;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.service-link:hover {
    color: #f59e0b;
    gap: 0.75rem;
}

/* Form States */
.form-success {
    background: rgba(22, 163, 74, 0.1);
    border: 1px solid rgba(22, 163, 74, 0.3);
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    margin-top: 2rem;
}

.form-success i {
    color: #16a34a;
    font-size: 3rem;
    margin-bottom: 1rem;
}

.form-success h3 {
    color: #16a34a;
    margin-bottom: 1rem;
}

.form-success p {
    color: var(--gray);
    margin-bottom: 1rem;
}

.form-error {
    background: rgba(220, 38, 38, 0.1);
    border: 1px solid rgba(220, 38, 38, 0.3);
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1.5rem;
    color: #dc2626;
    font-size: 0.95rem;
}

.form-error i {
    margin-right: 0.5rem;
}

/* Loading State */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    display: none;
}

.loading-spinner {
    width: 60px;
    height: 60px;
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #e6a23c;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Responsive Design */
@media (max-width: 992px) {
    .contacts-hero h1 {
        font-size: 2.8rem;
    }
    
    .contacts-subtitle {
        font-size: 1.1rem;
    }
    
    .enterprise-card {
        padding: 2rem;
    }
    
    .general-contact-form {
        padding: 2rem;
    }
}

@media (max-width: 768px) {
    .contacts-hero {
        padding: 80px 0 40px;
    }
    
    .contacts-hero h1 {
        font-size: 2.2rem;
    }
    
    .selector-title h2,
    .enterprise-header h2,
    .general-contact-header h2,
    .direct-channels-header h2,
    .self-service-header h2 {
        font-size: 1.8rem;
    }
    
    .contact-reason-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto 3rem;
    }
    
    .form-grid,
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .checkbox-grid {
        grid-template-columns: 1fr;
    }
    
    .channels-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 2rem auto 0;
    }
    
    .self-service-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .contacts-hero h1 {
        font-size: 1.8rem;
    }
    
    .contacts-subtitle {
        font-size: 1rem;
    }
    
    .enterprise-header h2,
    .general-contact-header h2 {
        font-size: 1.6rem;
    }
    
    .enterprise-card {
        padding: 1.5rem;
    }
    
    .general-contact-form {
        padding: 1.5rem;
    }
    
    .channel-card {
        padding: 1.5rem;
    }
    
    .self-service-grid {
        grid-template-columns: 1fr;
    }
    
    .service-card {
        padding: 1.5rem;
    }
}

.general-contact-section {
    background-color: #f8fafc; /* Light gray background for the whole section */
}

.general-contact-form {
    background: white; /* White card for the form */
    border: 1px solid #e2e8f0; /* Light border */
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    margin-top: 1.5rem;
}

/* Ensure the form heading is styled */
.general-contact-header h2 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 0.75rem;
}

.general-contact-header p {
    color: var(--gray);
    font-size: 1.1rem;
    margin-bottom: 0;
}

/* Style the form inputs to match your design */
.general-contact-form .form-control {
    background-color: white;
    border: 1px solid #cbd5e1;
    color: var(--primary-color);
    padding: 0.9rem 1rem;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.general-contact-form .form-control:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(230, 162, 60, 0.2);
    outline: none;
}

.general-contact-form .form-control::placeholder {
    color: #94a3b8;
}

/* Style the submit button */
.general-cta-btn {
    background: linear-gradient(135deg, var(--primary-color), #2a5a8c);
    color: white;
    border: none;
    padding: 0.9rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
}

.general-cta-btn:hover {
    background: linear-gradient(135deg, #2a5a8c, var(--primary-color));
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(26, 58, 95, 0.3);
}

.general-contact-section .form-group label {
    color: var(--primary-color) !important; /* Dark blue for light background */
    font-weight: 600;
}

/* Labels in the DARK background (Enterprise Contact Form) */
.enterprise-contact-section .form-group label {
    color: rgba(255, 255, 255, 0.9) !important; /* White for dark background */
}

/* Also fix other text elements in light form */
.general-contact-section .form-control {
    color: var(--text-color) !important; /* Dark text in inputs */
    background-color: white !important;
    border-color: #cbd5e1 !important;
}

.general-contact-section .form-control::placeholder {
    color: #94a3b8 !important;
}

/* Fix checkbox labels in light background */
.general-contact-section .checkbox-label {
    color: var(--primary-color) !important;
}

/* Ensure the required asterisk is visible */
.general-contact-section .form-group label .required {
    color: #dc2626 !important; /* Red for required fields */
}

/* ===== ALERT MESSAGE STYLES ===== */
.alert {
    padding: 1.25rem 1.5rem;
    border-radius: 10px;
    margin-bottom: 1.5rem;
    font-weight: 500;
    border: 1px solid transparent;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    animation: slideIn 0.3s ease-out;
}

.alert::before {
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.alert.success {
    background-color: rgba(34, 197, 94, 0.12);
    border-color: rgba(34, 197, 94, 0.25);
    color: #059669;
}

.alert.success::before {
    content: "\f058"; /* fa-check-circle */
    color: #059669;
}

.alert.error {
    background-color: rgba(239, 68, 68, 0.12);
    border-color: rgba(239, 68, 68, 0.25);
    color: #dc2626;
}

.alert.error::before {
    content: "\f057"; /* fa-times-circle */
    color: #dc2626;
}

.alert.warning {
    background-color: rgba(245, 158, 11, 0.12);
    border-color: rgba(245, 158, 11, 0.25);
    color: #d97706;
}

.alert.warning::before {
    content: "\f071"; /* fa-triangle-exclamation */
    color: #d97706;
}

.alert.info {
    background-color: rgba(59, 130, 246, 0.12);
    border-color: rgba(59, 130, 246, 0.25);
    color: #2563eb;
}

.alert.info::before {
    content: "\f05a"; /* fa-circle-info */
    color: #2563eb;
}

/* Animation for alert appearance */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Alert close button */
.alert .close-btn {
    margin-left: auto;
    background: none;
    border: none;
    color: inherit;
    opacity: 0.7;
    cursor: pointer;
    font-size: 1.1rem;
    padding: 0.25rem;
    line-height: 1;
    transition: opacity 0.2s ease;
}

.alert .close-btn:hover {
    opacity: 1;
}

/* Position for form messages */
.container > .alert {
    margin-top: 1.5rem;
    margin-bottom: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .alert {
        padding: 1rem 1.25rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
        text-align: left;
    }
    
    .alert::before {
        align-self: flex-start;
    }
    
    .alert .close-btn {
        align-self: flex-end;
        margin-top: -1.5rem;
        margin-right: -0.5rem;
    }
}

.self-service-grid {
    display: grid;
    gap: 2rem;
    margin-top: 2rem;
}

/* Top Row: 3 large cards */
.self-service-grid.main-grid {
    grid-template-columns: repeat(3, 1fr);
    margin-bottom: 1.5rem;
}

/* Second Row: 3 smaller cards */
.self-service-grid.secondary-grid {
    grid-template-columns: repeat(3, 1fr);
    max-width: 900px; /* Makes the row narrower than the top */
    margin-left: auto;
    margin-right: auto;
}

/* Style for the larger main cards */
.service-card.main-card {
    padding: 2.5rem 2rem;
    min-height: 280px; /* Makes them taller */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Style for the smaller secondary cards */
.service-card.secondary-card {
    padding: 1.8rem 1.5rem;
    min-height: 220px; /* Makes them shorter */
}

/* Responsive Design: Stack on smaller screens */
@media (max-width: 992px) {
    .self-service-grid.main-grid,
    .self-service-grid.secondary-grid {
        grid-template-columns: repeat(2, 1fr);
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .self-service-grid.main-grid,
    .self-service-grid.secondary-grid {
        grid-template-columns: 1fr;
        max-width: 100%;
    }
}

.service-card.main-card {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
}

.service-card.main-card .service-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: auto; /* Pushes link to bottom */
    padding-top: 1rem;
    width: 100%; /* Makes the link container full width */
}

.service-card.main-card .service-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.service-card.main-card h3,
.service-card.main-card p {
    text-align: center;
    width: 100%;
}

/* Ensure the service-link container centers its content */
.service-card.main-card .service-link-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: auto;
}

/* If you have the link inside a wrapper, use this */
.service-card.main-card > a.service-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: auto;
}

.enterprise-form .form-control {
    background-color: white !important;
    color: var(--primary-color) !important;
    border: 1px solid #cbd5e1 !important;
    min-height: 44px;
    appearance: auto !important; /* Ensures native select styling */
}

.enterprise-form select.form-control option {
    color: var(--primary-color) !important;
    background-color: white !important;
    padding: 10px !important;
}

/* Make placeholder option visible */
.enterprise-form select.form-control option[value=""][disabled] {
    color: #94a3b8 !important;
    background-color: #f8fafc !important;
}