/* Support Page Specific Styles */

/* Hero Section */
.support-hero {
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), 
                url('https://images.unsplash.com/photo-1582750433449-648ed127bb54?ixlib=rb-4.0.3&auto=format&fit=crop&w=2000&q=80');
    background-size: cover;
    background-position: center;
    height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    margin-top: 80px;
    position: relative;
}

.support-hero .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #000;
}

.support-hero .hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
}

.support-hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    font-weight: 300;
}

.support-hero .highlight {
    color: #ffc107;
    font-weight: 600;
}

.support-hero p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.emergency-contact {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

.emergency-box {
    display: flex;
    align-items: center;
    gap: 20px;
    background: rgba(255,255,255,0.15);
    padding: 20px 30px;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255,255,255,0.2);
}

.emergency-icon {
    font-size: 2.5rem;
}

.emergency-info h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: #ffc107;
}

.emergency-info p {
    font-size: 1rem;
    margin: 0;
    font-weight: 600;
}

/* Navigation active state */
.nav-links a.active {
    background: #17a2b8 !important;
    color: white !important;
}

/* Quick Access Section */
.quick-access {
    padding: 80px 0;
    background: #f8f9fa;
}

.quick-access h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #2c5aa0;
    margin-bottom: 50px;
    font-weight: 600;
}

.quick-access-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.quick-access-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border-top: 4px solid transparent;
}

.quick-access-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
    text-decoration: none;
    color: inherit;
}

.quick-access-card.urgent {
    border-top-color: #e74c3c;
}

.quick-access-card.urgent:hover {
    border-top-color: #c0392b;
}

.quick-access-card:not(.urgent) {
    border-top-color: #17a2b8;
}

.quick-access-card:not(.urgent):hover {
    border-top-color: #138496;
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.quick-access-card h3 {
    color: #2c5aa0;
    font-size: 1.3rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.quick-access-card p {
    color: #666;
    margin: 0;
    font-size: 14px;
}

/* Support Services Section */
.support-services {
    padding: 80px 0;
    background: white;
}

.support-services > .container > h2 {
    text-align: center;
    font-size: 2.8rem;
    color: #2c5aa0;
    margin-bottom: 60px;
    font-weight: 600;
}

.service-section {
    margin-bottom: 80px;
    background: #f8f9fa;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.service-header {
    background: #000;
    color: white;
    padding: 30px 40px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.service-icon {
    font-size: 2.5rem;
    flex-shrink: 0;
}

.service-title h3 {
    font-size: 1.8rem;
    margin-bottom: 5px;
    font-weight: 600;
}

.service-title p {
    margin: 0;
    opacity: 0.9;
    font-size: 1rem;
}

.service-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    padding: 40px;
}

.service-info h4 {
    color: #2c5aa0;
    font-size: 1.2rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.service-info ul {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
}

.service-info li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
    color: #555;
    line-height: 1.5;
}

.service-info li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #17a2b8;
    font-weight: bold;
}

.contact-info {
    background: white;
    padding: 20px;
    border-radius: 10px;
    border-left: 4px solid #000000;
}

.contact-details p {
    margin-bottom: 8px;
    font-size: 14px;
}

.eligibility-info {
    background: white;
    padding: 20px;
    border-radius: 10px;
    border-left: 4px solid #17a2b8;
}

.options-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-top: 15px;
}

.option-card {
    background: white;
    padding: 15px;
    border-radius: 8px;
    text-align: center;
    border: 2px solid #f0f0f0;
}

.option-card h5 {
    color: #000000;
    margin-bottom: 5px;
    font-weight: 600;
}

.option-card p {
    margin: 0;
    font-size: 13px;
    color: #666;
}

.locations-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-top: 15px;
}

.location-card {
    background: white;
    padding: 15px;
    border-radius: 8px;
    border-left: 4px solid #ffc107;
}

.location-card h5 {
    color: #2c5aa0;
    margin-bottom: 8px;
    font-weight: 600;
}

.location-card p {
    margin: 0;
    font-size: 13px;
    color: #666;
    line-height: 1.4;
}

/* Forms */
.service-form {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.service-form h4 {
    color: #2c5aa0;
    font-size: 1.3rem;
    margin-bottom: 20px;
    font-weight: 600;
}

.support-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.support-form input,
.support-form select,
.support-form textarea {
    padding: 12px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.support-form input:focus,
.support-form select:focus,
.support-form textarea:focus {
    outline: none;
    border-color: #17a2b8;
}

.file-upload {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.file-upload label {
    font-weight: 600;
    color: #2c5aa0;
    font-size: 14px;
}

.file-upload input[type="file"] {
    padding: 8px;
    border: 2px dashed #e0e0e0;
    background: #f8f9fa;
}

.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 10px;
}

.checkbox-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    cursor: pointer;
}

.availability label {
    font-weight: 600;
    color: #2c5aa0;
    margin-bottom: 10px;
}

.submit-btn {
    padding: 15px 30px;
    background: #17a2b8;
    color: white;
    border: none;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.submit-btn:hover {
    background: #138496;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(23, 162, 184, 0.3);
}

.emergency-btn {
    background: #e74c3c !important;
}

.emergency-btn:hover {
    background: #c0392b !important;
    box-shadow: 0 5px 15px rgba(231, 76, 60, 0.3) !important;
}

/* Resources Section */
.resources-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.resources-section h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #2c5aa0;
    margin-bottom: 50px;
    font-weight: 600;
}

.resources-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.resource-category {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.resource-category h3 {
    color: #2c5aa0;
    font-size: 1.3rem;
    margin-bottom: 20px;
    font-weight: 600;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 10px;
}

.resource-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.resource-link {
    color: #17a2b8;
    text-decoration: none;
    padding: 10px 15px;
    border-radius: 8px;
    background: #f8f9fa;
    transition: all 0.3s ease;
    font-weight: 500;
}

.resource-link:hover {
    background: #e3f2fd;
    color: #138496;
    text-decoration: none;
    transform: translateX(5px);
}

/* Contact Section */
.contact-section {
    padding: 80px 0;
    background: white;
}

.contact-section h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #2c5aa0;
    margin-bottom: 50px;
    font-weight: 600;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-info h3 {
    color: #2c5aa0;
    font-size: 1.8rem;
    margin-bottom: 30px;
    font-weight: 600;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 30px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
}

.contact-icon {
    font-size: 1.8rem;
    flex-shrink: 0;
    margin-top: 5px;
}

.contact-item h4 {
    color: #2c5aa0;
    font-size: 1.1rem;
    margin-bottom: 8px;
    font-weight: 600;
}

.contact-item p {
    margin-bottom: 5px;
    color: #555;
    font-size: 14px;
    line-height: 1.5;
}

.general-contact-form {
    background: #f8f9fa;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.general-contact-form h3 {
    color: #2c5aa0;
    font-size: 1.8rem;
    margin-bottom: 25px;
    font-weight: 600;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: white;
    margin: 10% auto;
    padding: 0;
    border-radius: 15px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-header {
    text-align: center;
    padding: 30px 30px 20px;
    border-bottom: 1px solid #f0f0f0;
}

.success-icon {
    font-size: 3rem;
    margin-bottom: 15px;
    display: block;
}

.modal-header h2 {
    color: #2c5aa0;
    margin: 0;
    font-weight: 600;
}

.modal-body {
    padding: 30px;
    text-align: center;
    line-height: 1.6;
}

.modal-body p {
    margin-bottom: 15px;
    color: #666;
}

.modal-footer {
    padding: 20px 30px 30px;
    text-align: center;
}

.modal-footer .btn-primary {
    background: #17a2b8;
    color: white;
    padding: 12px 30px;
    border: none;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.modal-footer .btn-primary:hover {
    background: #138496;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .quick-access-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .service-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .resources-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .options-grid,
    .locations-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .support-hero h1 {
        font-size: 2.5rem;
    }
    
    .support-hero p {
        font-size: 1.1rem;
    }
    
    .emergency-box {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .quick-access-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .service-header {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .service-content {
        padding: 30px 20px;
    }
    
    .service-form {
        padding: 20px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .checkbox-group {
        flex-direction: column;
    }
    
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .menu-toggle {
        display: block;
    }
}

@media (max-width: 480px) {
    .service-header {
        padding: 20px;
    }
    
    .service-content {
        padding: 20px 15px;
    }
    
    .contact-item {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
}
