/* ============================================================
   ROMWALA.COM - SECURITY & LEGAL PAGES COMMON STYLESHEET
   File: assets/css/security-pages.css
   Modern, responsive, beautifully padded & scoped layout
   ============================================================ */

:root {
    --sec-primary: #2563eb;
    --sec-primary-hover: #1d4ed8;
    --sec-dark: #0f172a;
    --sec-card-bg: #ffffff;
    --sec-border: #e2e8f0;
    --sec-text-main: #1e293b;
    --sec-text-muted: #64748b;
    --sec-text-light: #94a3b8;
    --sec-radius: 16px;
    --sec-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.05), 0 2px 6px -1px rgba(15, 23, 42, 0.03);
}

/* Page Outer Wrapper */
.sec-page-wrap {
    width: 100%;
    max-width: 1120px;
    margin: 32px auto 70px;
    padding: 0 24px;
    box-sizing: border-box;
    position: relative;
    z-index: 1;
}

/* Page Hero Header */
.sec-hero-header {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    border-radius: var(--sec-radius);
    padding: 42px 32px;
    text-align: center;
    margin-bottom: 28px;
    box-shadow: 0 10px 30px -5px rgba(15, 23, 42, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.06);
    position: relative;
    overflow: hidden;
}

.sec-hero-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.18) 0%, transparent 70%);
    pointer-events: none;
}

.sec-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(37, 99, 235, 0.2);
    color: #60a5fa;
    border: 1px solid rgba(96, 165, 250, 0.3);
    padding: 4px 14px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 14px;
}

.sec-hero-header h1 {
    font-size: 32px;
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 10px 0;
    letter-spacing: -0.5px;
    line-height: 1.25;
}

.sec-hero-header p {
    font-size: 15px;
    color: #94a3b8;
    margin: 0 auto;
    max-width: 680px;
    line-height: 1.6;
}

/* Main Content Box Card */
.sec-card {
    background: var(--sec-card-bg);
    border-radius: var(--sec-radius);
    padding: 40px 45px;
    border: 1px solid var(--sec-border);
    box-shadow: var(--sec-shadow);
    box-sizing: border-box;
    margin-bottom: 30px;
}

.sec-card h2 {
    font-size: 20px;
    font-weight: 700;
    color: var(--sec-dark);
    margin: 32px 0 14px 0;
    padding-left: 14px;
    border-left: 4px solid var(--sec-primary);
    line-height: 1.35;
}

.sec-card h2:first-of-type {
    margin-top: 10px;
}

.sec-card h3 {
    font-size: 17px;
    font-weight: 700;
    color: #334155;
    margin: 24px 0 10px 0;
}

.sec-card p {
    font-size: 15px;
    color: #475569;
    line-height: 1.75;
    margin: 0 0 16px 0;
}

.sec-card ul, .sec-card ol {
    margin: 0 0 20px 24px;
    padding: 0;
    color: #475569;
}

.sec-card li {
    font-size: 15px;
    line-height: 1.75;
    margin-bottom: 8px;
}

/* Callout Alert Boxes */
.sec-alert {
    padding: 16px 20px;
    border-radius: 12px;
    margin-bottom: 24px;
    font-size: 14.5px;
    line-height: 1.6;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.sec-alert-icon {
    font-size: 18px;
    flex-shrink: 0;
    margin-top: 2px;
}

.sec-alert-warning {
    background: #fffbeb;
    border: 1px solid #fde68a;
    border-left: 4px solid #f59e0b;
    color: #92400e;
}

.sec-alert-warning strong {
    color: #b45309;
}

.sec-alert-info {
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-left: 4px solid #3b82f6;
    color: #1e40af;
}

.sec-alert-info strong {
    color: #1d4ed8;
}

.sec-alert-success {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-left: 4px solid #22c55e;
    color: #166534;
}

/* Grid Layouts (About / Services) */
.sec-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
    gap: 22px;
    margin-bottom: 32px;
}

.sec-feature-card {
    background: #ffffff;
    border: 1px solid var(--sec-border);
    border-radius: 14px;
    padding: 24px;
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.03);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    display: flex;
    flex-direction: column;
}

.sec-feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px -4px rgba(37, 99, 235, 0.12);
    border-color: #93c5fd;
}

.sec-feature-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: #eff6ff;
    color: var(--sec-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-bottom: 16px;
    flex-shrink: 0;
}

.sec-feature-card h3 {
    font-size: 17px;
    font-weight: 700;
    color: var(--sec-dark);
    margin: 0 0 8px 0;
}

.sec-feature-card p {
    font-size: 14px;
    color: var(--sec-text-muted);
    line-height: 1.65;
    margin: 0 0 14px 0;
    flex-grow: 1;
}

.sec-card-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--sec-primary);
    font-weight: 600;
    font-size: 13.5px;
    text-decoration: none;
    transition: gap 0.2s ease;
}

.sec-card-link:hover {
    gap: 10px;
    color: var(--sec-primary-hover);
    text-decoration: underline;
}

/* FAQ Accordion */
.sec-faq-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 10px;
}

.sec-faq-item {
    background: #f8fafc;
    border: 1px solid var(--sec-border);
    border-radius: 12px;
    overflow: hidden;
    transition: border-color 0.2s ease;
}

.sec-faq-item.active {
    border-color: #bfdbfe;
    background: #ffffff;
}

.sec-faq-question {
    padding: 18px 22px;
    font-size: 15.5px;
    font-weight: 600;
    color: var(--sec-dark);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    user-select: none;
}

.sec-faq-question:hover {
    color: var(--sec-primary);
}

.sec-faq-icon {
    font-size: 14px;
    color: var(--sec-primary);
    transition: transform 0.25s ease;
    flex-shrink: 0;
}

.sec-faq-item.active .sec-faq-icon {
    transform: rotate(180deg);
}

.sec-faq-answer {
    padding: 0 22px 20px;
    font-size: 14.5px;
    color: #475569;
    line-height: 1.7;
    display: none;
    border-top: 1px solid transparent;
}

.sec-faq-item.active .sec-faq-answer {
    display: block;
    border-top-color: #f1f5f9;
    padding-top: 14px;
}

/* Contact Us Layout */
.sec-contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.35fr;
    gap: 28px;
    align-items: stretch;
}

.sec-contact-info {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    border-radius: var(--sec-radius);
    padding: 36px 32px;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: var(--sec-shadow);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.sec-contact-info h2 {
    font-size: 22px;
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 8px 0;
    border: none;
    padding: 0;
}

.sec-contact-info p.lead {
    font-size: 14px;
    color: #94a3b8;
    margin: 0 0 28px 0;
    line-height: 1.6;
}

.sec-info-row {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 22px;
    padding-bottom: 22px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.sec-info-row:last-of-type {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.sec-info-row-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: rgba(37, 99, 235, 0.2);
    border: 1px solid rgba(59, 130, 246, 0.3);
    color: #60a5fa;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.sec-info-row-text h4 {
    font-size: 15px;
    font-weight: 700;
    color: #f8fafc;
    margin: 0 0 4px 0;
}

.sec-info-row-text p {
    font-size: 13.5px;
    color: #94a3b8;
    margin: 0;
    line-height: 1.5;
}

.sec-whatsapp-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #22c55e;
    color: #ffffff !important;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    margin-top: 10px;
    box-shadow: 0 4px 14px rgba(34, 197, 94, 0.35);
    transition: all 0.2s ease;
}

.sec-whatsapp-btn:hover {
    background: #16a34a;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(34, 197, 94, 0.45);
    text-decoration: none;
}

/* Contact Form Box */
.sec-contact-form {
    background: #ffffff;
    border-radius: var(--sec-radius);
    padding: 36px 36px;
    border: 1px solid var(--sec-border);
    box-shadow: var(--sec-shadow);
}

.sec-contact-form h2 {
    font-size: 22px;
    font-weight: 800;
    color: var(--sec-dark);
    margin: 0 0 6px 0;
    border: none;
    padding: 0;
}

.sec-contact-form p.subtitle {
    font-size: 14px;
    color: var(--sec-text-muted);
    margin: 0 0 24px 0;
}

.sec-form-group {
    margin-bottom: 18px;
}

.sec-form-label {
    display: block;
    font-size: 13.5px;
    font-weight: 600;
    color: #334155;
    margin-bottom: 6px;
}

.sec-form-input, .sec-form-textarea {
    width: 100%;
    padding: 12px 14px;
    font-size: 14.5px;
    font-family: inherit;
    color: #0f172a;
    background: #f8fafc;
    border: 1px solid var(--sec-border);
    border-radius: 10px;
    box-sizing: border-box;
    transition: all 0.2s ease;
}

.sec-form-input:focus, .sec-form-textarea:focus {
    outline: none;
    background: #ffffff;
    border-color: var(--sec-primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.sec-btn-submit {
    width: 100%;
    background: var(--sec-primary);
    color: #ffffff;
    border: none;
    padding: 13px 24px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.25);
}

.sec-btn-submit:hover:not(:disabled) {
    background: var(--sec-primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.35);
}

.sec-btn-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Responsive Rules */
@media (max-width: 900px) {
    .sec-contact-grid {
        grid-template-columns: 1fr;
        gap: 22px;
    }
}

@media (max-width: 768px) {
    .sec-page-wrap {
        margin: 18px auto 45px;
        padding: 0 16px;
    }
    
    .sec-hero-header {
        padding: 28px 18px;
        margin-bottom: 20px;
    }
    
    .sec-hero-header h1 {
        font-size: 24px;
    }
    
    .sec-card {
        padding: 24px 20px;
    }
    
    .sec-card h2 {
        font-size: 18px;
        margin: 24px 0 10px 0;
    }
    
    .sec-contact-info, .sec-contact-form {
        padding: 26px 20px;
    }
    
    .sec-grid {
        grid-template-columns: 1fr;
    }
}
