/* 
 * HajjAurUmrah.com - Premium Stylesheet
 * Clean Islamic aesthetic with trust-focused design
 */

/* ==================== CSS VARIABLES ==================== */
:root {
    /* Colors - Soft Green Theme */
    --primary: #1B8A5A;
    --primary-dark: #156B47;
    --primary-light: #22A76B;
    --soft-green: #E8F5EC;
    --light-green: #D4EDDA;
    --mint: #F0FDF4;
    --gold: #C9A227;

    /* Neutrals */
    --white: #FFFFFF;
    --off-white: #FAFBFC;
    --gray-50: #F9FAFB;
    --gray-100: #F3F4F6;
    --gray-200: #E5E7EB;
    --gray-400: #9CA3AF;
    --gray-600: #4B5563;
    --gray-800: #1F2937;
    --gray-900: #111827;

    /* Typography */
    --font-display: 'Outfit', -apple-system, sans-serif;
    --font-body: 'Inter', -apple-system, sans-serif;

    /* Spacing */
    --section-py: 100px;
    --container-px: 24px;

    /* Effects */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -1px rgba(0, 0, 0, 0.04);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.03);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.08), 0 10px 10px -5px rgba(0, 0, 0, 0.02);

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;
}

/* ==================== RESET ==================== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--gray-800);
    background: var(--white);
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.2s ease;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ==================== TYPOGRAPHY ==================== */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.25;
    color: var(--gray-900);
}

h1 {
    font-size: clamp(2rem, 5vw, 3rem);
}

h2 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
}

h3 {
    font-size: clamp(1.25rem, 3vw, 1.5rem);
}

h4 {
    font-size: 1.125rem;
}

p {
    color: var(--gray-600);
}

.lead-text {
    font-size: 1.25rem;
    color: var(--gray-600);
    max-width: 600px;
    margin: 0 auto;
}

.text-center {
    text-align: center;
}

.required {
    color: #DC2626;
}

/* ==================== LAYOUT ==================== */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--container-px);
}

.container-md {
    max-width: 900px;
}

.container-sm {
    max-width: 700px;
}

.section-spacious {
    padding: var(--section-py) 0;
}

.bg-soft {
    background: var(--soft-green);
}

.bg-mint {
    background: var(--mint);
}

.mb-2 {
    margin-bottom: 1rem;
}

.mb-3 {
    margin-bottom: 1.5rem;
}

.mt-2 {
    margin-top: 1rem;
}

/* ==================== BUTTONS ==================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 32px;
    font-size: 1rem;
    font-weight: 500;
    font-family: var(--font-body);
    border: none;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all 0.25s ease;
    white-space: nowrap;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-white {
    background: var(--white);
    color: var(--primary);
    font-weight: 600;
}

.btn-white:hover {
    background: var(--soft-green);
    transform: translateY(-2px);
}

.btn-whatsapp {
    background: #25D366;
    color: var(--white);
}

.btn-whatsapp:hover {
    background: #1DA851;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.3);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
}

.btn-lg {
    padding: 18px 40px;
    font-size: 1.1rem;
}

.btn-full {
    width: 100%;
}

/* ==================== HEADER ==================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--gray-100);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px var(--container-px);
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary);
}

.logo span {
    color: var(--gold);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav-menu a {
    font-weight: 500;
    color: var(--gray-600);
    font-size: 0.95rem;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary);
}

.nav-menu a.btn {
    color: var(--white);
    padding: 12px 24px;
    font-size: 0.9rem;
}

.nav-menu a.btn:hover {
    color: var(--white);
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--gray-800);
    cursor: pointer;
}

@media (max-width: 768px) {
    .mobile-toggle {
        display: block;
    }

    .nav-menu {
        position: fixed;
        top: 65px;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 30px;
        gap: 25px;
        border-bottom: 1px solid var(--gray-200);
        transform: translateY(-100%);
        opacity: 0;
        pointer-events: none;
        transition: all 0.3s ease;
    }

    .nav-menu.open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }
}

/* ==================== HERO ==================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 140px 24px 100px;
    background-size: cover;
    background-position: center;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(160deg, rgba(27, 138, 90, 0.88) 0%, rgba(21, 107, 71, 0.92) 100%);
}

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

.hero h1 {
    color: var(--white);
    margin-bottom: 20px;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.hero-subtitle {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.2rem;
    margin-bottom: 35px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    margin-bottom: 30px;
}

.hero-note {
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
    padding: 18px 28px;
    border-radius: var(--radius-lg);
    color: var(--white);
    font-size: 0.95rem;
    max-width: 650px;
    margin: 0 auto;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.hero-trust-line {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.05rem;
    margin-bottom: 15px;
}

.hero-cities {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.95rem;
    margin-bottom: 30px;
}

/* reCAPTCHA Container */
.recaptcha-container {
    display: flex;
    justify-content: center;
    margin-bottom: 10px;
}

.recaptcha-error {
    color: #dc3545;
    font-size: 0.9rem;
    text-align: center;
    margin-top: 10px;
}

/* ==================== SECTIONS ==================== */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    margin-bottom: 12px;
}

.section-header p {
    color: var(--gray-500);
    font-size: 1.1rem;
}

.section-note {
    text-align: center;
    color: var(--gray-500);
    font-size: 0.95rem;
    margin-top: 40px;
    font-style: italic;
}

/* ==================== STEPS ==================== */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.step-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: var(--radius-xl);
    text-align: center;
    border: 1px solid var(--gray-100);
    transition: all 0.3s ease;
}

.step-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
}

.step-number {
    width: 56px;
    height: 56px;
    background: var(--soft-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
    margin: 0 auto 20px;
}

.step-card h3 {
    margin-bottom: 12px;
}

.step-card p {
    font-size: 0.95rem;
}

/* ==================== FEATURES GRID ==================== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 24px;
}

.feature-item {
    background: var(--white);
    padding: 30px 24px;
    border-radius: var(--radius-lg);
    text-align: center;
    border: 1px solid var(--gray-100);
}

.feature-icon {
    font-size: 2rem;
    margin-bottom: 16px;
    display: block;
}

.feature-item h4 {
    margin-bottom: 8px;
    font-size: 1rem;
}

.feature-item p {
    font-size: 0.9rem;
    color: var(--gray-500);
}

/* ==================== TRANSPARENCY ==================== */
.transparency-highlight {
    background: linear-gradient(135deg, var(--gray-50) 0%, var(--white) 100%);
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-xl);
    padding: 50px 40px;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

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

.transparency-highlight h3 {
    color: var(--gray-900);
    margin-bottom: 12px;
}

.transparency-intro {
    margin-bottom: 30px;
}

.transparency-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 500px;
    margin: 0 auto;
}

.transparency-list li {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 1.05rem;
    color: var(--gray-700);
    text-align: left;
}

.transparency-list li::before {
    content: '✓';
    width: 28px;
    height: 28px;
    background: var(--soft-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    color: var(--primary);
    flex-shrink: 0;
}

/* ==================== FORM SECTION ==================== */
.form-section {
    background: linear-gradient(160deg, var(--primary) 0%, var(--primary-dark) 100%);
    padding: var(--section-py) 0;
}

.form-container {
    max-width: 560px;
    margin: 0 auto;
    padding: 50px 40px;
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
}

.form-header {
    text-align: center;
    margin-bottom: 35px;
}

.form-header h2 {
    margin-bottom: 8px;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--gray-800);
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    font-size: 1rem;
    font-family: var(--font-body);
    border: 1.5px solid var(--gray-200);
    border-radius: var(--radius-sm);
    transition: all 0.2s ease;
    background: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(27, 138, 90, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--gray-400);
}

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

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

@media (max-width: 500px) {
    .form-row {
        grid-template-columns: 1fr;
    }

    .form-container {
        padding: 35px 25px;
    }
}

.form-consent {
    text-align: center;
    color: var(--gray-500);
    font-size: 0.85rem;
    margin-top: 20px;
    line-height: 1.6;
}

.form-success {
    display: none;
    text-align: center;
}

.form-success.show {
    display: block;
}

.success-icon {
    font-size: 4rem;
    margin-bottom: 20px;
}

.form-success h3 {
    color: var(--primary);
    margin-bottom: 12px;
}

/* ==================== PAGE HEADER ==================== */
.page-header {
    padding: 150px 24px 70px;
    background: linear-gradient(160deg, var(--primary) 0%, var(--primary-dark) 100%);
    text-align: center;
}

.page-header h1 {
    color: var(--white);
    margin-bottom: 12px;
}

.page-header p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.15rem;
}

/* ==================== FOR AGENTS ==================== */
.agent-benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
    margin-top: 50px;
}

.agent-benefit {
    background: var(--white);
    border: 1px solid var(--gray-100);
    border-radius: var(--radius-lg);
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
}

.agent-benefit:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
}

.agent-benefit .benefit-icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.agent-benefit h4 {
    margin-bottom: 8px;
}

.agent-benefit p {
    font-size: 0.9rem;
}

.cta-box {
    background: var(--white);
    padding: 50px 40px;
    border-radius: var(--radius-xl);
    border: 1px solid var(--gray-100);
}

.guidelines-box {
    background: var(--gray-50);
    border-radius: var(--radius-xl);
    padding: 50px 40px;
}

.guidelines-box h3 {
    text-align: center;
    margin-bottom: 12px;
}

.guidelines-intro {
    text-align: center;
    margin-bottom: 35px;
}

.guidelines-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.guidelines-list li {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.guidelines-list li strong {
    color: var(--gray-900);
}

.guidelines-list li span {
    color: var(--gray-500);
    font-size: 0.95rem;
}

/* ==================== CONTACT ==================== */
.contact-card {
    background: var(--white);
    border: 1px solid var(--gray-100);
    border-radius: var(--radius-xl);
    padding: 50px;
    text-align: center;
}

.contact-method {
    margin-bottom: 30px;
}

.contact-icon {
    font-size: 3rem;
    margin-bottom: 16px;
}

.contact-method h3 {
    margin-bottom: 8px;
}

.contact-divider {
    padding: 20px 0;
    color: var(--gray-400);
}

.contact-note {
    background: var(--soft-green);
    border-radius: var(--radius-lg);
    padding: 24px;
    margin-top: 30px;
    text-align: left;
}

.contact-note strong {
    display: block;
    margin-bottom: 8px;
}

.contact-note a {
    color: var(--primary);
    text-decoration: underline;
}

/* ==================== FOOTER ==================== */
.footer {
    background: var(--gray-900);
    color: rgba(255, 255, 255, 0.7);
    padding: 70px 24px 40px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 50px;
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }
}

.footer-brand .logo {
    margin-bottom: 16px;
    color: var(--white);
}

.footer-brand p {
    line-height: 1.8;
    font-size: 0.95rem;
}

.footer h4 {
    color: var(--white);
    margin-bottom: 20px;
    font-size: 1rem;
}

.footer-links ul li {
    margin-bottom: 12px;
}

.footer-links ul li a:hover {
    color: var(--light-green);
}

.footer-disclaimer {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 35px;
}

.footer-disclaimer-box {
    background: rgba(255, 255, 255, 0.05);
    padding: 24px;
    border-radius: var(--radius-lg);
    margin-bottom: 25px;
    text-align: center;
}

.footer-disclaimer-box p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    line-height: 1.8;
}

.footer-copyright {
    text-align: center;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
}

/* ==================== WHATSAPP FLOAT ==================== */
.whatsapp-float {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 999;
}

.whatsapp-float a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    color: white;
    font-size: 1.75rem;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
}

.whatsapp-float a:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.5);
}

/* ==================== ALERTS ==================== */
.alert {
    padding: 16px 20px;
    border-radius: var(--radius-sm);
    margin-bottom: 24px;
    font-size: 0.95rem;
}

.alert-success {
    background: var(--light-green);
    color: #166534;
    border: 1px solid #86EFAC;
}

.alert-error {
    background: #FEE2E2;
    color: #991B1B;
    border: 1px solid #FECACA;
}