/* ============================================================
   WASETAK WEBSITE — GLOBAL STYLESHEET
   Design: Contemporary Arab Modernism
   Colors: Deep Crimson #8B0000, Cream #FAF7F2, Dark #1a1a1a
   Fonts: Cairo (Arabic), Inter (English)
   ============================================================ */

:root {
    --primary: #8B0000;
    --primary-dark: #6a0000;
    --primary-light: #b30000;
    --cream: #FAF7F2;
    --cream-dark: #F0EBE3;
    --dark: #1a1a1a;
    --text: #333333;
    --text-muted: #666666;
    --border: #e0d8d0;
    --white: #ffffff;
    --shadow: 0 4px 20px rgba(139,0,0,0.08);
    --shadow-lg: 0 8px 40px rgba(0,0,0,0.12);
    --radius: 10px;
    --transition: all 0.3s ease;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: 'Cairo', 'Inter', sans-serif;
    background-color: var(--cream);
    color: var(--text);
    line-height: 1.7;
}

body.ltr {
    font-family: 'Inter', 'Cairo', sans-serif;
    direction: ltr;
    text-align: left;
}

body.rtl {
    direction: rtl;
    text-align: right;
}

a { text-decoration: none; color: inherit; transition: var(--transition); }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

/* ── TOPBAR ── */
.topbar {
    background: var(--primary);
    color: rgba(255,255,255,0.92);
    padding: 8px 20px;
    font-size: 13px;
}
.topbar-inner {
    max-width: 1200px; margin: 0 auto;
    display: flex; justify-content: space-between; align-items: center; gap: 10px;
    flex-wrap: wrap;
}
/* RTL: right = address, left = icons+lang */
.rtl .topbar-right { display: flex; align-items: center; gap: 8px; }
.rtl .topbar-left  { display: flex; align-items: center; gap: 8px; }
/* LTR: left = address, right = icons+lang */
.ltr .topbar-left  { display: flex; align-items: center; gap: 8px; order: 2; }
.ltr .topbar-right { display: flex; align-items: center; gap: 8px; order: 1; }
.topbar-right span, .topbar-left span { color: rgba(255,255,255,0.75); }
.topbar-right a, .topbar-left a { color: rgba(255,255,255,0.92); }
.topbar-right a:hover, .topbar-left a:hover { color: #fff; text-decoration: underline; }
.topbar-divider { color: rgba(255,255,255,0.4) !important; margin: 0 4px; }
.topbar-icon {
    display: flex; align-items: center; justify-content: center;
    width: 30px; height: 30px; border-radius: 50%;
    background: rgba(255,255,255,0.15);
    color: rgba(255,255,255,0.9) !important;
    transition: var(--transition);
}
.topbar-icon:hover { background: rgba(255,255,255,0.3) !important; }
.topbar-icon svg { width: 15px; height: 15px; fill: currentColor; }
.topbar-lang {
    background: rgba(255,255,255,0.2);
    color: #fff !important;
    padding: 4px 12px; border-radius: 20px;
    font-weight: 700; font-size: 12px;
    transition: var(--transition);
}
.topbar-lang:hover { background: rgba(255,255,255,0.35) !important; }
/* Legacy support for old topbar classes */
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.topbar-text { display: flex; align-items: center; gap: 8px; }
.topbar-text span { color: rgba(255,255,255,0.75); }
.topbar-text a { color: rgba(255,255,255,0.92); }
.topbar-text a:hover { color: #fff; }
.topbar-social { display: flex; gap: 10px; align-items: center; }
.topbar-social a {
    display: flex; align-items: center; justify-content: center;
    width: 30px; height: 30px; border-radius: 50%;
    background: rgba(255,255,255,0.15);
    color: rgba(255,255,255,0.9);
    transition: var(--transition);
}
.topbar-social a:hover { background: rgba(255,255,255,0.3); color: #fff; }
.topbar-social svg { width: 15px; height: 15px; fill: currentColor; }

/* ── HEADER ── */
.site-header {
    background: var(--white);
    border-bottom: 3px solid var(--primary);
    position: sticky; top: 0; z-index: 100;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
}
.header-inner {
    display: flex; align-items: center; justify-content: space-between;
    padding: 12px 20px; gap: 20px;
    max-width: 1200px; margin: 0 auto;
}
.site-logo img { height: 90px; width: auto; }
.site-nav { display: flex; align-items: center; gap: 5px; }
.site-nav a {
    padding: 8px 16px; border-radius: 6px;
    font-weight: 600; font-size: 14px; color: var(--text);
    transition: var(--transition);
}
.site-nav a:hover, .site-nav a.active {
    background: var(--primary); color: var(--white);
}
.lang-btn {
    display: flex; align-items: center; gap: 6px;
    background: var(--primary); color: var(--white) !important;
    padding: 8px 16px !important; border-radius: 20px !important;
    font-weight: 700 !important; font-size: 13px !important;
    border: none; cursor: pointer;
}
.lang-btn:hover { background: var(--primary-dark) !important; }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 5px; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--dark); border-radius: 2px; transition: var(--transition); }

/* ── CONTAINER ── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* ── HERO ── */
.hero {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, #c0392b 100%);
    color: var(--white); padding: 80px 0; text-align: center; position: relative; overflow: hidden;
}
.hero::before {
    content: ''; position: absolute; inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-content { position: relative; z-index: 1; }
.hero h1 { font-size: clamp(1.8rem, 4vw, 3rem); font-weight: 800; margin-bottom: 15px; line-height: 1.3; }
.hero p { font-size: clamp(1rem, 2vw, 1.25rem); opacity: 0.9; margin-bottom: 30px; }
.hero-btns { display: flex; gap: 15px; justify-content: center; flex-wrap: wrap; }
.btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 12px 28px; border-radius: 8px; font-weight: 700;
    font-size: 15px; transition: var(--transition); cursor: pointer; border: none;
}
.btn-white { background: var(--white); color: var(--primary); }
.btn-white:hover { background: var(--cream); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,0.15); }
.btn-outline-white { background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,0.6); }
.btn-outline-white:hover { background: rgba(255,255,255,0.15); border-color: #fff; }
.btn-primary { background: var(--primary); color: var(--white); }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-wa { background: #25D366; color: var(--white); }
.btn-wa:hover { background: #1da851; transform: translateY(-2px); }

/* ── SECTION TITLES ── */
.section-title {
    text-align: center; margin-bottom: 50px;
}
.section-title h2 {
    font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 800;
    color: var(--primary); margin-bottom: 10px;
}
.section-title p { color: var(--text-muted); font-size: 1rem; }
.section-title .title-line {
    width: 60px; height: 4px; background: var(--primary);
    margin: 12px auto 0; border-radius: 2px;
}

/* ── SERVICE SECTIONS ── */
.service-section { padding: 60px 0; }
.service-section:nth-child(even) { background: var(--white); }
.service-block {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 50px; align-items: center;
}
.service-block.reverse { direction: ltr; }
body.rtl .service-block.reverse { direction: rtl; }
body.ltr .service-block.reverse .service-logo-col { order: 2; }
body.ltr .service-block.reverse .service-content-col { order: 1; }
body.rtl .service-block .service-logo-col { order: 1; }
body.rtl .service-block .service-content-col { order: 2; }
body.rtl .service-block.reverse .service-logo-col { order: 2; }
body.rtl .service-block.reverse .service-content-col { order: 1; }

.service-logo-col {
    display: flex; align-items: center; justify-content: center;
    background: var(--white); border-radius: var(--radius);
    padding: 40px; box-shadow: var(--shadow);
    border: 1px solid var(--border); min-height: 220px;
}
.service-section:nth-child(even) .service-logo-col { background: var(--cream); }
.service-logo-col img {
    max-width: 220px; max-height: 140px;
    width: 100%; height: 140px; object-fit: contain;
}
.service-content-col h2 {
    font-size: clamp(1.2rem, 2.5vw, 1.6rem); font-weight: 800;
    color: var(--primary); margin-bottom: 20px; line-height: 1.4;
}
.service-list { display: flex; flex-direction: column; gap: 12px; }
.service-list li {
    display: flex; gap: 10px; align-items: flex-start;
    font-size: 14px; line-height: 1.6; color: var(--text);
}
.service-list li::before {
    content: '✓'; color: var(--primary); font-weight: 800;
    font-size: 14px; flex-shrink: 0; margin-top: 2px;
}
body.ltr .service-list li::before { margin-right: 0; }
.service-list li strong { color: var(--dark); }

/* ── LOGO GRID ── */
.logos-section { padding: 60px 0; background: var(--white); }
.logos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 20px;
}
.logo-card {
    background: var(--cream); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 20px 15px;
    display: flex; flex-direction: column; align-items: center;
    justify-content: center; gap: 10px; text-align: center;
    transition: var(--transition); min-height: 140px;
}
.logo-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); border-color: var(--primary); }
.logo-card img { width: 100%; height: 70px; object-fit: contain; }
.logo-card span { font-size: 11px; font-weight: 600; color: var(--text-muted); line-height: 1.3; }

/* ── WORKING HOURS ── */
.hours-section { padding: 60px 0; background: var(--cream-dark); }
.hours-table-wrap { max-width: 600px; margin: 0 auto; }
.hours-table {
    width: 100%; border-collapse: collapse;
    border-radius: var(--radius); overflow: hidden;
    box-shadow: var(--shadow-lg);
}
.hours-table thead th {
    background: var(--primary); color: var(--white);
    padding: 14px 20px; font-weight: 700; font-size: 15px;
}
.hours-table tbody td {
    padding: 12px 20px; font-size: 14px; border-bottom: 1px solid var(--border);
}
.hours-table tbody tr:last-child td { border-bottom: none; }
.hours-table tbody tr:nth-child(even) { background: rgba(139,0,0,0.04); }
.hours-table tbody tr:hover { background: rgba(139,0,0,0.07); }
.closed-cell { color: var(--primary); font-weight: 700; }

/* ── WHATSAPP SECTION ── */
.wa-section {
    padding: 60px 0;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    color: var(--white); text-align: center;
}
.wa-section h2 { font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 800; margin-bottom: 12px; }
.wa-section p { font-size: 1rem; opacity: 0.9; margin-bottom: 25px; }

/* ── CIVIL MARRIAGE PAGE ── */
.page-hero {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    color: var(--white); padding: 60px 0; text-align: center;
}
.page-hero h1 { font-size: clamp(1.6rem, 3.5vw, 2.5rem); font-weight: 800; margin-bottom: 10px; }
.page-hero p { font-size: 1rem; opacity: 0.9; }

.content-section { padding: 60px 0; }
.content-card {
    background: var(--white); border-radius: var(--radius);
    padding: 40px; box-shadow: var(--shadow); margin-bottom: 30px;
    border-right: 4px solid var(--primary);
}
body.ltr .content-card { border-right: none; border-left: 4px solid var(--primary); }
.content-card h2 {
    font-size: 1.4rem; font-weight: 800; color: var(--primary);
    margin-bottom: 20px; display: flex; align-items: center; gap: 10px;
}
.content-card h2 .icon { font-size: 1.6rem; }
.steps-list { counter-reset: steps; display: flex; flex-direction: column; gap: 16px; }
.step-item {
    display: flex; gap: 15px; align-items: flex-start;
    padding: 15px; background: var(--cream); border-radius: 8px;
}
.step-num {
    width: 36px; height: 36px; border-radius: 50%;
    background: var(--primary); color: var(--white);
    display: flex; align-items: center; justify-content: center;
    font-weight: 800; font-size: 15px; flex-shrink: 0;
}
.step-text { font-size: 14px; line-height: 1.7; padding-top: 6px; }
.check-list { display: flex; flex-direction: column; gap: 10px; }
.check-list li {
    display: flex; gap: 10px; align-items: flex-start;
    font-size: 14px; line-height: 1.6;
}
/* ── 
.check-list li::before {
    content: '✓'; color: var(--primary); font-weight: 800; flex-shrink: 0; margin-top: 2px;
}
── */
.why-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 20px; }
.why-card {
    background: var(--cream); border-radius: 8px; padding: 20px;
    text-align: center; border: 1px solid var(--border);
}
.why-card .why-icon { font-size: 2rem; margin-bottom: 10px; }
.why-card p { font-size: 13px; font-weight: 600; color: var(--text); }
.fees-list { display: flex; flex-direction: column; gap: 12px; }
.fee-item {
    display: flex; gap: 12px; align-items: flex-start;
    padding: 15px; background: var(--cream); border-radius: 8px;
    font-size: 14px; line-height: 1.6;
}
.fee-dot {
    width: 10px; height: 10px; border-radius: 50%;
    background: var(--primary); flex-shrink: 0; margin-top: 5px;
}

/* ── CONTACT PAGE ── */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.contact-info-card {
    background: var(--white); border-radius: var(--radius);
    padding: 40px; box-shadow: var(--shadow);
}
.contact-info-card h2 { font-size: 1.5rem; font-weight: 800; color: var(--primary); margin-bottom: 25px; }
.contact-item {
    display: flex; gap: 15px; align-items: flex-start;
    margin-bottom: 20px; padding-bottom: 20px; border-bottom: 1px solid var(--border);
}
.contact-item:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.contact-icon {
    width: 44px; height: 44px; border-radius: 10px;
    background: rgba(139,0,0,0.08); display: flex;
    align-items: center; justify-content: center;
    font-size: 1.2rem; flex-shrink: 0;
}
.contact-detail h4 { font-weight: 700; font-size: 14px; color: var(--dark); margin-bottom: 4px; }
.contact-detail p, .contact-detail a { font-size: 14px; color: var(--text-muted); }
.contact-detail a:hover { color: var(--primary); }
.map-embed { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.map-embed iframe { width: 100%; height: 350px; border: none; display: block; }

/* ── CONTACT FORM ── */
.contact-form-card {
    background: var(--white); border-radius: var(--radius);
    padding: 40px; box-shadow: var(--shadow);
}
.contact-form-card h2 { font-size: 1.5rem; font-weight: 800; color: var(--primary); margin-bottom: 25px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-weight: 600; font-size: 13px; margin-bottom: 6px; color: var(--dark); }
.form-group input, .form-group select, .form-group textarea {
    width: 100%; padding: 12px 16px; border: 1px solid var(--border);
    border-radius: 8px; font-family: inherit; font-size: 14px;
    color: var(--text); background: var(--cream);
    transition: var(--transition); outline: none;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    border-color: var(--primary); background: var(--white);
    box-shadow: 0 0 0 3px rgba(139,0,0,0.08);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.form-note {
    font-size: 12px; color: var(--text-muted); margin-top: 15px;
    padding: 12px; background: var(--cream); border-radius: 6px;
    border-right: 3px solid var(--primary);
}
body.ltr .form-note { border-right: none; border-left: 3px solid var(--primary); }

/* ── FOOTER ── */
.site-footer {
    background: linear-gradient(135deg, #1a0000, var(--primary-dark));
    color: rgba(255,255,255,0.85); padding: 60px 0 0;
}
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 40px; }
.footer-brand img { height: 55px; width: auto; margin-bottom: 15px; }
.footer-brand p { font-size: 13px; line-height: 1.8; opacity: 0.8; }
.footer-col h3 { font-size: 1rem; font-weight: 700; color: var(--white); margin-bottom: 18px; position: relative; padding-bottom: 10px; }
.footer-col h3::after { content: ''; position: absolute; bottom: 0; right: 0; width: 30px; height: 2px; background: var(--primary-light); }
body.ltr .footer-col h3::after { right: auto; left: 0; }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: 13px; opacity: 0.8; transition: var(--transition); }
.footer-links a:hover { opacity: 1; color: #fff; padding-right: 5px; }
body.ltr .footer-links a:hover { padding-right: 0; padding-left: 5px; }
.footer-contact-item { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 12px; font-size: 13px; }
.footer-contact-item .fci-icon { opacity: 0.6; flex-shrink: 0; margin-top: 2px; }
.footer-social { display: flex; gap: 10px; margin-top: 15px; }
.footer-social a {
    width: 36px; height: 36px; border-radius: 50%;
    background: rgba(255,255,255,0.1); display: flex;
    align-items: center; justify-content: center;
    transition: var(--transition);
}
.footer-social a:hover { background: var(--primary-light); }
.footer-social svg { width: 16px; height: 16px; fill: #fff; }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 20px 0; text-align: center; font-size: 12px; opacity: 0.6;
}


/* ──  BACK TO TOP ── */
    #back-to-top { position: fixed; bottom: 1.75rem; left: 1.75rem; width: 46px; height: 46px; border-radius: 50%; background: #9a0000; color: #fff; border: none; display: none; align-items: center; justify-content: center; cursor: pointer; box-shadow: 0 4px 16px rgba(154,0,0,0.4); transition: all 0.3s; z-index: 200; }
    #back-to-top.visible { display: flex; }
    #back-to-top:hover { background: #9a0000; transform: translateY(-3px); }
    #back-to-top svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }


/* ── FLOATING WHATSAPP ── */
.float-wa {
    position: fixed; bottom: 25px;
    width: 56px; height: 56px; border-radius: 50%;
    background: #25D366; display: flex; align-items: center;
    justify-content: center; box-shadow: 0 4px 20px rgba(37,211,102,0.4);
    z-index: 999; transition: var(--transition);
}
body.rtl .float-wa { left: 25px; }
body.ltr .float-wa { right: 25px; }
.float-wa:hover { transform: scale(1.1); background: #1da851; }
.float-wa svg { width: 28px; height: 28px; fill: #fff; }

/* ── SERVICES PAGE CLIENTS GRID ── */
.clients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
    margin-bottom: 20px;
}
.client-card {
    background: var(--white); border-radius: var(--radius);
    padding: 30px; box-shadow: var(--shadow);
    border-top: 4px solid var(--primary);
    transition: var(--transition);
}
.client-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.client-logo-wrap {
    display: flex; align-items: center; justify-content: center;
    height: 100px; margin-bottom: 20px;
    background: var(--cream); border-radius: 8px; padding: 15px;
}
.client-logo-wrap img {
    max-width: 180px; max-height: 80px;
    width: 100%; height: 80px; object-fit: contain;
}
.client-card h3 {
    font-size: 1rem; font-weight: 800; color: var(--primary);
    margin-bottom: 15px; line-height: 1.4;
}
.service-list.small li { font-size: 13px; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
    .service-block { grid-template-columns: 1fr; gap: 30px; }
    .service-block.reverse .service-logo-col,
    .service-block.reverse .service-content-col { order: unset; }
    .contact-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
    .site-nav { display: none; flex-direction: column; position: absolute; top: 100%; right: 0; left: 0; background: var(--white); padding: 15px; box-shadow: var(--shadow-lg); border-top: 2px solid var(--primary); }
    body.ltr .site-nav { right: 0; left: 0; }
    .site-nav.open { display: flex; }
    .site-nav a { padding: 10px 15px; border-radius: 6px; }
    .hamburger { display: flex; }
    .header-inner { position: relative; }
    .topbar .container { flex-direction: column; gap: 8px; text-align: center; }
    .footer-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .why-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
    .logos-grid { grid-template-columns: repeat(2, 1fr); }
    .why-grid { grid-template-columns: 1fr; }
    .hero { padding: 50px 0; }
    .content-card { padding: 25px; }
}


/* ============================================================
   HOMEPAGE SECTIONS — New Design System
   Used by index.php (Arabic) and en/index.php (English)
   ============================================================ */

/* Section backgrounds */
.section { padding: 4.5rem 0; }
.section-cream { background: var(--cream); }
.section-white { background: var(--white); }
.section-red {
    background: linear-gradient(135deg, var(--primary) 0%, #c41e3a 100%);
    color: #fff;
}
.section-dark { background: #1a0a0a; color: #fff; }

/* Two-column layout */
.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

/* Section badges */
.section-badge {
    display: inline-block;
    background: var(--primary);
    color: #fff;
    padding: 0.28rem 1rem;
    border-radius: 2rem;
    font-size: 0.82rem;
    font-weight: 700;
    margin-bottom: 1.1rem;
}
.section-badge-light {
    display: inline-block;
    background: rgba(255,255,255,0.2);
    color: #fff;
    padding: 0.28rem 1rem;
    border-radius: 2rem;
    font-size: 0.82rem;
    font-weight: 700;
    margin-bottom: 1.1rem;
}

/* Section title (homepage variant — overrides inner-page variant) */
h1.section-title, h2.section-title {
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    font-weight: 900;
    color: var(--dark);
    line-height: 1.3;
    margin-bottom: 0.5rem;
}
.section-title-light { color: #fff !important; }

/* Section dividers */
.section-divider {
    width: 55px;
    height: 4px;
    background: var(--primary);
    margin-bottom: 1.4rem;
    border-radius: 2px;
}
.section-divider-light {
    width: 55px;
    height: 4px;
    background: rgba(255,255,255,0.45);
    margin-bottom: 1.4rem;
    border-radius: 2px;
}

/* Section text */
.section-text {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.9;
    margin-bottom: 1.2rem;
}
.section-text-light {
    font-size: 1rem;
    color: rgba(255,255,255,0.88);
    line-height: 1.9;
    margin-bottom: 1.75rem;
}

/* Check list (homepage) */
.check-list { margin-bottom: 1.75rem; }
.check-list li {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    margin-bottom: 0.65rem;
    font-size: 1rem;
    font-weight: 500;
    color: #333;
}
.check-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 900;
    flex-shrink: 0;
}

/* Buttons (homepage) */
.btn-red {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--primary);
    color: #fff;
    padding: 0.8rem 1.9rem;
    border-radius: 2rem;
    font-weight: 700;
    font-size: 0.95rem;
    border: 2px solid var(--primary);
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 16px rgba(139,0,0,0.25);
}
.btn-red:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
}

/* Section images */
.section-img {
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}
.section-img img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

/* Court representative cards */
.rep-cards { display: flex; flex-direction: column; gap: 0.9rem; }
.rep-card {
    padding: 1rem 1.2rem;
    background: #fff;
    border-radius: 0.75rem;
    border-inline-start: 4px solid var(--primary);
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.rep-card-title { font-weight: 700; color: var(--dark); font-size: 0.95rem; }
.rep-card-sub { color: #777; font-size: 0.85rem; margin-top: 0.15rem; }

/* Services grid (homepage) */
.services-header { text-align: center; margin-bottom: 2.75rem; }
.services-header .section-divider { margin-inline: auto; margin-bottom: 1rem; }
.services-header p { font-size: 1rem; color: #777; max-width: 540px; margin: 0 auto; }
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
    gap: 1.4rem;
}
.service-card {
    background: #fff;
    border-radius: 1rem;
    padding: 0;
    border: 1px solid var(--cream-dark);
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    transition: var(--transition);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.service-card:hover {
    box-shadow: 0 8px 32px rgba(139,0,0,0.12);
    transform: translateY(-4px);
}
.service-card-logo {
    background: #fff;
    border-bottom: 3px solid var(--primary);
    padding: 1.2rem 1.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 110px;
}
.service-card-logo img {
    max-height: 80px;
    max-width: 100%;
    width: auto;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}
.service-card-body { padding: 1.4rem; flex: 1; }
.service-card-head {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    margin-bottom: 1.1rem;
}
.service-card-icon { font-size: 1.6rem; }
.service-card-title {
    font-size: 1rem;
    font-weight: 800;
    color: var(--dark);
    line-height: 1.3;
}
.service-item {
    margin-bottom: 0.8rem;
    padding-bottom: 0.8rem;
    border-bottom: 1px solid var(--cream-dark);
}
.service-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}
.service-item-name {
    font-weight: 700;
    color: var(--primary);
    font-size: 0.85rem;
    margin-bottom: 0.25rem;
}
.service-item-desc { font-size: 0.82rem; color: #777; line-height: 1.6; }

/* Working hours (homepage) */
.hours-wrap { max-width: 680px; margin: 0 auto; }
.hours-header { text-align: center; margin-bottom: 2.25rem; }
.hours-header .section-divider { margin-inline: auto; margin-bottom: 1rem; }
.hours-header p { color: #777; font-size: 0.95rem; }
.hours-table-wrap {
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0,0,0,0.08);
}
.hours-table-wrap table { width: 100%; border-collapse: collapse; }
.hours-table-wrap thead th {
    background: var(--primary);
    color: #fff;
    padding: 0.9rem 1.4rem;
    text-align: start;
    font-weight: 700;
    font-size: 0.95rem;
}
.hours-table-wrap tbody tr:nth-child(even) { background: #fdf9f4; }
.hours-table-wrap tbody tr:nth-child(odd) { background: #fff; }
.hours-table-wrap tbody td {
    padding: 0.85rem 1.4rem;
    text-align: start;
    font-size: 0.9rem;
    border-bottom: 1px solid #f0ece4;
    color: var(--text);
}
.hours-table-wrap tbody tr:last-child td { border-bottom: none; }

/* Responsive — homepage additions */
@media (max-width: 900px) {
    .two-col { grid-template-columns: 1fr; }
    .section-img img { height: 280px; }
}
@media (max-width: 768px) {
    .section { padding: 2.75rem 0; }
    h1.section-title, h2.section-title { font-size: 1.5rem; }
    .services-grid { grid-template-columns: 1fr; }
    .two-col { gap: 1.75rem; }
}


.footer-brand img {
    height: 55px;
    width: auto;
    margin-bottom: 15px;
    filter: brightness(0) invert(1); /* turns logo fully white */
}



/* Language Switch Button */

.language-switch a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 5px;
    font-family: 'Cairo', sans-serif;
}

.language-switch a:hover {
    color: #ffcc00;
    background: rgba(255,255,255,0.35) !important;
}





.language-switch {
    position: static;
    top: 75px;
    left: 20px;        /* was: right: 20px */
    right: auto;       /* cancel any inherited right value */
    z-index: 1000;
    background: #9a0000;
    border-radius: 25px;
    padding: 8px 16px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

@media (max-width: 768px) {
    .language-switch {
        top: 80px;
        left: 80px;    /* was: right: 10px */
        right: auto;
        padding: 6px 12px;
    }
}



.btn-white {
    background: transparent;
    color: #fff;
    border: 2px solid #fff;
    padding: 0.8rem 1.9rem;
    border-radius: 2rem;
    font-family: 'Cairo', sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-white:hover {
    background: #fff;
    color: var(--primary);
    transform: translateY(-2px);
}







.logos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
.logo-card {
    background: var(--cream);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-align: center;
    min-height: 140px;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    transition: var(--transition);
}
.logo-card:hover {
    box-shadow: var(--shadow);
    transform: translateY(-3px);
    border-color: var(--primary);
}
.logo-card img { width: 100%; height: 70px; object-fit: contain; }
.logo-card span { font-size: 11px; font-weight: 600; color: var(--text-muted); line-height: 1.3; }





.service-card {
    scroll-margin-top: 140px;
}






    .easy-wedding-partner {
  padding: 70px 0;
}

.partner-card {
  display: flex;
  align-items: center;
  gap: 35px;
  background: linear-gradient(135deg, #2b0b0b, #7b1113);
  color: #fff;
  border-radius: 24px;
  padding: 40px;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.18);
}

.partner-logo-box {
  flex: 0 0 220px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.partner-logo-box img {
  max-width: 210px;
  height: auto;
}

.partner-content h2 {
  color: #fff;
  margin-bottom: 12px;
}

.partner-content p {
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.8;
  margin-bottom: 22px;
}

.partner-content .section-label {
  display: inline-block;
  margin-bottom: 10px;
  color: #f8d7a4;
  font-weight: 700;
}

.btn-light {
  background: #fff;
  color: #7b1113;
  padding: 12px 22px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
}

@media (max-width: 768px) {
  .partner-card {
    flex-direction: column;
    text-align: center;
    padding: 30px 22px;
  }

  .partner-logo-box {
    flex: none;
  }
}


/* Wedding Partners Cards */
.wedding-partners-section {
  padding: 80px 0;
  background: #fbf7ef;
}

.wedding-partners-section .container {
  width: min(1180px, 92%);
  margin: 0 auto;
}

.section-heading {
  text-align: center;
  margin-bottom: 38px;
}

.section-kicker {
  display: inline-block;
  color: #9b1238;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: 0.5px;
}

.section-heading h2 {
  color: #8f1734;
  font-size: clamp(2rem, 4vw, 3.2rem);
  margin: 0 0 12px;
  line-height: 1.25;
}

.section-heading p {
  color: #5f5650;
  font-size: 1.1rem;
  margin: 0 auto;
  max-width: 760px;
  line-height: 1.8;
}

.wedding-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 30px;
  align-items: stretch;
}

.wedding-promo-card {
  background: #fffaf2;
  border: 1px solid rgba(143, 23, 52, 0.16);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 18px 45px rgba(50, 30, 20, 0.12);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.wedding-promo-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(50, 30, 20, 0.18);
}

.promo-image-link {
  display: block;
  text-decoration: none;
}

.promo-image {
  width: 100%;
  
  object-fit: cover;
  display: block;
}

.promo-content {
  padding: 30px 32px 34px;
  text-align: center;
  position: relative;
}

.promo-content::before {
  content: "";
  display: block;
  width: 90px;
  height: 2px;
  background: #c9a46a;
  margin: 0 auto 18px;
}

.promo-label {
  display: inline-block;
  color: #9b7a45;
  font-weight: 700;
  margin-bottom: 8px;
  font-size: 0.98rem;
}

.promo-content h3 {
  color: #8f1734;
  font-size: clamp(1.55rem, 2.5vw, 2.2rem);
  margin: 0 0 14px;
  line-height: 1.35;
}

.promo-content p {
  color: #4f4640;
  line-height: 1.9;
  margin: 0 0 18px;
  font-size: 1.02rem;
}

.promo-content ul {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
}

.promo-content li {
  color: #4f4640;
  line-height: 1.9;
  font-size: 1rem;
}

.promo-content li::before {
  content: "•";
  color: #9b1238;
  font-weight: 900;
  margin-left: 8px;
}

.promo-btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-width: 170px;
  padding: 13px 26px;
  background: #9b1238;
  color: #ffffff;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  transition: background 0.25s ease, transform 0.25s ease;
}

.promo-btn:hover {
  background: #7f0f2e;
  transform: translateY(-2px);
  color: #ffffff;
}

/* Responsive */
@media (max-width: 900px) {
  .wedding-cards-grid {
    grid-template-columns: 1fr;
  }

  .wedding-partners-section {
    padding: 60px 0;
  }

  .promo-content {
    padding: 26px 22px 30px;
  }
}





/* English site font-size overrides */
body.ltr {
    font-size: 18px;
}

body.ltr p,
body.ltr li,
body.ltr .service-item-desc,
body.ltr .step-text,
body.ltr .content-card p,
body.ltr .contact-detail p,
body.ltr .footer-brand p,
body.ltr .footer-links a {
    font-size: 1rem;
    line-height: 1.8;
}

body.ltr .service-item-name {
    font-size: 0.95rem;
}

body.ltr .service-card-title {
    font-size: 1.1rem;
}

body.ltr .page-hero p,
body.ltr .hero p,
body.ltr .section-title p {
    font-size: 1.1rem;
}

