/* Modern Mobile-First Umrah Visa Page CSS */

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    max-width: 100%;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #2d3748;
    background: #f7fafc;
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

/* Container */
.umrah-container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 0 1rem;
    overflow: hidden;
}

/* Hero Section */
.umrah-hero {
    background: linear-gradient(135deg, #1a365d 0%, #2d5a87 50%, #3182ce 100%);
    color: white;
    padding: 3rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.umrah-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.umrah-hero-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.umrah-hero-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    margin-bottom: 2rem;
    opacity: 0.9;
    position: relative;
    z-index: 1;
}

.umrah-hero-features {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.feature {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-size: 0.875rem;
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Main Layout */
.umrah-main {
    min-height: 100vh;
}

.umrah-content {
    padding: 2rem 0;
}

.content-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

/* Content Cards */
.main-content {
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    border: 1px solid #e2e8f0;
}

.main-content h2 {
    color: #1a365d;
    font-size: clamp(1.5rem, 3vw, 1.875rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 3px solid #3182ce;
    position: relative;
}

.main-content h3 {
    color: #2d5a87;
    font-size: clamp(1.25rem, 2.5vw, 1.5rem);
    font-weight: 600;
    margin: 2rem 0 1rem 0;
    line-height: 1.3;
}

.main-content h4 {
    color: #2d5a87;
    font-size: clamp(1.125rem, 2vw, 1.25rem);
    font-weight: 600;
    margin: 1.5rem 0 0.75rem 0;
}

.main-content p {
    margin-bottom: 1rem;
    line-height: 1.7;
    color: #4a5568;
}

.main-content ul,
.main-content ol {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.main-content li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
    color: #4a5568;
}

/* Sidebar */
.sidebar {
    display: grid;
    gap: 1.5rem;
}

.contact-card,
.info-card {
    background: white;
    padding: 1.5rem;
    border-radius: 1rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
    text-align: center;
}

.contact-card h3 {
    color: #1a365d;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.contact-info p {
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
    color: #4a5568;
}

.info-card h4 {
    color: #1a365d;
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.info-card p {
    color: #718096;
    font-size: 0.875rem;
    margin: 0;
}

/* Buttons */
.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, #3182ce, #2b77cb);
    color: white;
    padding: 0.875rem 1.5rem;
    border-radius: 0.75rem;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.875rem;
    text-align: center;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cta-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 15px -3px rgba(49, 130, 206, 0.3);
}

/* Tables */
.table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 1.5rem 0;
    border-radius: 0.75rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 100%;
}

table {
    width: 100%;
    min-width: 500px;
    border-collapse: collapse;
    background: white;
    font-size: 0.875rem;
    table-layout: fixed;
    word-wrap: break-word;
}

th {
    background: #1a365d;
    color: white;
    padding: 1rem;
    text-align: left;
    font-weight: 600;
    white-space: nowrap;
}

td {
    padding: 1rem;
    border-bottom: 1px solid #e2e8f0;
    vertical-align: top;
}

tr:nth-child(even) {
    background: #f7fafc;
}

tr:hover {
    background: #edf2f7;
}

/* FAQ Section */
.faq-container {
    margin: 2rem 0;
}

.faq-item {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 0.75rem;
    margin-bottom: 1rem;
    overflow: hidden;
    box-shadow: 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.faq-question {
    background: #f7fafc;
    padding: 1.25rem;
    font-weight: 600;
    color: #1a365d;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.2s ease;
    min-height: 60px;
}

.faq-question:hover {
    background: #edf2f7;
}

.faq-toggle {
    font-size: 1.25rem;
    font-weight: bold;
    color: #3182ce;
    min-width: 24px;
    text-align: center;
    transition: transform 0.2s ease;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 1.25rem;
    display: none;
    border-top: 1px solid #e2e8f0;
    color: #4a5568;
    line-height: 1.6;
}

.faq-answer p {
    margin-bottom: 0.75rem;
}

.faq-answer ul {
    margin: 0.75rem 0;
    padding-left: 1.25rem;
}

.faq-answer li {
    margin-bottom: 0.5rem;
}

/* Content Sections */
.content-section {
    padding: 3rem 0;
    background: white;
    margin: 2rem 0;
    border-radius: 1rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.content-section h2 {
    color: #1a365d;
    font-size: clamp(1.5rem, 3vw, 1.875rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-align: center;
}

.content-section h3 {
    color: #2d5a87;
    font-size: clamp(1.25rem, 2.5vw, 1.5rem);
    font-weight: 600;
    margin: 2rem 0 1rem 0;
}

/* Highlight Boxes */
.highlight-box {
    background: linear-gradient(135deg, #e6fffa, #b2f5ea);
    border: 2px solid #38b2ac;
    border-radius: 0.75rem;
    padding: 1.5rem;
    margin: 1.5rem 0;
}

.warning-box {
    background: linear-gradient(135deg, #fffbeb, #fef3c7);
    border: 2px solid #f59e0b;
    border-radius: 0.75rem;
    padding: 1.5rem;
    margin: 1.5rem 0;
}

.info-box {
    background: linear-gradient(135deg, #eff6ff, #dbeafe);
    border: 2px solid #3b82f6;
    border-radius: 0.75rem;
    padding: 1.5rem;
    margin: 1.5rem 0;
}

/* Responsive Design */
@media (min-width: 768px) {
    .umrah-container {
        padding: 0 2rem;
    }
    
    .content-grid {
        grid-template-columns: 1fr 320px;
        gap: 3rem;
    }
    
    .main-content {
        padding: 2.5rem;
    }
    
    .umrah-hero {
        padding: 4rem 0;
    }
    
    .table-responsive {
        border-radius: 1rem;
    }
    
    th, td {
        padding: 1.25rem;
    }
}

@media (min-width: 1024px) {
    .umrah-container {
        padding: 0 3rem;
    }
    
    .content-grid {
        gap: 4rem;
    }
    
    .main-content {
        padding: 3rem;
    }
}

/* Mobile Optimizations */
@media (max-width: 767px) {
    .umrah-container {
        padding: 0 0.75rem;
        width: 100%;
        overflow: hidden;
    }
    
    .umrah-hero {
        padding: 2rem 0;
        overflow: hidden;
    }
    
    .umrah-hero-features {
        flex-direction: column;
        align-items: center;
    }
    
    .main-content {
        padding: 1.5rem;
        margin: 1rem 0;
        width: 100%;
        overflow: hidden;
    }
    
    .sidebar {
        order: -1;
        margin-bottom: 1rem;
        width: 100%;
    }
    
    .contact-card,
    .info-card {
        padding: 1.25rem;
        width: 100%;
    }
    
    .faq-question {
        padding: 1rem;
        font-size: 0.9rem;
        word-wrap: break-word;
    }
    
    .faq-answer {
        padding: 1rem;
        font-size: 0.9rem;
        word-wrap: break-word;
    }
    
    th, td {
        padding: 0.75rem 0.25rem;
        font-size: 0.75rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .table-responsive {
        margin: 1rem 0;
        border-radius: 0.5rem;
        width: 100%;
        max-width: 100%;
    }
    
    table {
        min-width: 400px;
        font-size: 0.75rem;
    }
}

@media (max-width: 480px) {
    .umrah-container {
        padding: 0 0.75rem;
    }
    
    .main-content {
        padding: 1rem;
        border-radius: 0.75rem;
    }
    
    .contact-card,
    .info-card {
        padding: 1rem;
    }
    
    .faq-question {
        padding: 0.875rem;
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    
    .faq-answer {
        padding: 0.875rem;
    }
    
    th, td {
        padding: 0.5rem 0.25rem;
        font-size: 0.75rem;
    }
    
    .table-responsive {
        margin: 1rem -0.75rem;
    }
    
    table {
        min-width: 450px;
    }
    
    .feature {
        font-size: 0.75rem;
        padding: 0.375rem 0.75rem;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

.faq-question:focus,
.cta-button:focus,
a:focus {
    outline: 2px solid #3182ce;
    outline-offset: 2px;
}

/* Print Styles */
@media print {
    .sidebar,
    .cta-button,
    .faq-toggle {
        display: none;
    }
    
    .content-grid {
        grid-template-columns: 1fr;
    }
    
    .main-content {
        box-shadow: none;
        border: 1px solid #e2e8f0;
    }
    
    .umrah-hero {
        background: none;
        color: #1a365d;
    }
}

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.font-bold { font-weight: 700; }
.font-semibold { font-weight: 600; }
.text-sm { font-size: 0.875rem; }
.text-xs { font-size: 0.75rem; }
.mb-0 { margin-bottom: 0; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 1rem; }
.mt-0 { margin-top: 0; }
.mt-2 { margin-top: 0.5rem; }
.mt-4 { margin-top: 1rem; }