/* =========================================================
   GWLM - Final Main Stylesheet
   Author: OpenAI
   ========================================================= */

/* =========================
   Root / Reset
========================= */
:root{
    --bg:#f5f7fb;
    --surface:#ffffff;
    --surface-soft:#f9fafb;
    --surface-dark:#0f172a;
    --text:#111827;
    --text-soft:#4b5563;
    --text-muted:#6b7280;
    --border:#e5e7eb;
    --border-strong:#d1d5db;
    --primary:#2563eb;
    --primary-dark:#1d4ed8;
    --primary-soft:#dbeafe;
    --success-bg:#ecfdf5;
    --success-text:#065f46;
    --success-border:#a7f3d0;
    --error-bg:#fef2f2;
    --error-text:#991b1b;
    --error-border:#fecaca;
    --shadow-sm:0 6px 18px rgba(15, 23, 42, 0.05);
    --shadow-md:0 10px 30px rgba(15, 23, 42, 0.08);
    --shadow-lg:0 18px 40px rgba(15, 23, 42, 0.12);
    --radius-sm:12px;
    --radius-md:16px;
    --radius-lg:22px;
    --container:1140px;
    --transition:0.25s ease;
}

*,
*::before,
*::after{
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    margin:0;
    font-family:"Cairo", Tahoma, Arial, sans-serif;
    background:var(--bg);
    color:var(--text);
    line-height:1.85;
    font-size:16px;
    -webkit-font-smoothing:antialiased;
    text-rendering:optimizeLegibility;
}

img{
    max-width:100%;
    height:auto;
    display:block;
}

a{
    color:var(--primary);
    text-decoration:none;
    transition:color var(--transition), opacity var(--transition), background var(--transition), border-color var(--transition), transform var(--transition);
}

a:hover{
    color:var(--primary-dark);
}

button,
input,
select,
textarea{
    font:inherit;
}

button{
    cursor:pointer;
}

ul,
ol{
    margin:0;
    padding-right:1.25rem;
}

p{
    margin:0 0 1rem;
    color:var(--text-soft);
}

p:last-child{
    margin-bottom:0;
}

h1,h2,h3,h4,h5,h6{
    margin:0 0 1rem;
    color:var(--text);
    line-height:1.4;
    font-weight:800;
}

h1{
    font-size:clamp(1.85rem, 3vw, 2.65rem);
}

h2{
    font-size:clamp(1.35rem, 2.2vw, 1.9rem);
}

h3{
    font-size:1.1rem;
}

strong{
    color:var(--text);
    font-weight:800;
}

::selection{
    background:var(--primary-soft);
    color:var(--text);
}

/* =========================
   Utilities
========================= */
.container{
    width:min(var(--container), calc(100% - 32px));
    margin-inline:auto;
}

.text-muted{
    color:var(--text-muted);
}

.sr-only{
    position:absolute;
    width:1px;
    height:1px;
    padding:0;
    margin:-1px;
    overflow:hidden;
    clip:rect(0,0,0,0);
    white-space:nowrap;
    border:0;
}

.skip-link{
    position:absolute;
    top:-48px;
    right:16px;
    z-index:999;
    background:var(--primary);
    color:#fff;
    padding:12px 16px;
    border-radius:12px;
    box-shadow:var(--shadow-md);
}

.skip-link:focus{
    top:16px;
}

/* =========================
   Header / Navigation
========================= */
.site-header{
    position:sticky;
    top:0;
    z-index:50;
    background:rgba(15, 23, 42, 0.95);
    color:#fff;
    backdrop-filter:blur(10px);
    box-shadow:0 10px 30px rgba(0,0,0,0.12);
}

.header-wrap{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:20px;
    min-height:78px;
    padding:14px 0;
}

.header-branding{
    display:flex;
    flex-direction:column;
    gap:4px;
    min-width:0;
}

.brand{
    color:#fff;
    font-size:1.35rem;
    font-weight:800;
    line-height:1.2;
}

.brand:hover{
    color:#fff;
    opacity:0.92;
}

.brand-tagline{
    margin:0;
    color:rgba(255,255,255,0.78);
    font-size:0.92rem;
    line-height:1.6;
}

.nav{
    display:flex;
    align-items:center;
    gap:10px;
    flex-wrap:wrap;
}

.nav a{
    color:#fff;
    padding:10px 14px;
    border-radius:999px;
    font-weight:700;
    font-size:0.96rem;
    white-space:nowrap;
}

.nav a:hover{
    background:rgba(255,255,255,0.08);
    color:#fff;
}

.nav a.active{
    background:var(--primary);
    color:#fff;
    box-shadow:0 8px 20px rgba(37, 99, 235, 0.25);
}

.nav-toggle{
    display:none;
    width:48px;
    height:48px;
    border:1px solid rgba(255,255,255,0.14);
    background:rgba(255,255,255,0.06);
    border-radius:14px;
    align-items:center;
    justify-content:center;
    flex-direction:column;
    gap:5px;
    padding:0;
}

.nav-toggle span{
    display:block;
    width:20px;
    height:2px;
    background:#fff;
    border-radius:999px;
}

/* =========================
   Main Layout
========================= */
.site-main{
    padding:28px 0 40px;
}

.hero,
.card,
form{
    background:var(--surface);
    border-radius:var(--radius-lg);
    box-shadow:var(--shadow-md);
}

.hero{
    position:relative;
    overflow:hidden;
    padding:34px 30px;
    margin:0 0 24px;
    background:
        radial-gradient(circle at top left, rgba(37, 99, 235, 0.08), transparent 34%),
        radial-gradient(circle at bottom right, rgba(59, 130, 246, 0.08), transparent 28%),
        var(--surface);
}

.hero::before{
    content:"";
    position:absolute;
    inset:0;
    background:
        linear-gradient(135deg, rgba(37, 99, 235, 0.03), transparent 45%);
    pointer-events:none;
}

.hero-content{
    position:relative;
    z-index:1;
    max-width:860px;
}

.eyebrow{
    display:inline-flex;
    align-items:center;
    gap:8px;
    margin-bottom:14px;
    padding:8px 14px;
    border-radius:999px;
    background:var(--primary-soft);
    color:var(--primary-dark);
    font-weight:800;
    font-size:0.92rem;
}

.hero h1{
    margin-bottom:14px;
}

.hero-text{
    font-size:1.03rem;
    color:var(--text-soft);
    max-width:900px;
}

.card{
    padding:28px 24px;
    margin:0 0 24px;
    border:1px solid rgba(229,231,235,0.8);
}

.card > :last-child{
    margin-bottom:0;
}

/* =========================
   Generic Content Blocks
========================= */
.seo-list{
    display:grid;
    gap:12px;
    margin-top:14px;
    padding-right:1.15rem;
}

.seo-list li{
    color:var(--text-soft);
}

.steps{
    display:grid;
    gap:16px;
    margin-top:18px;
}

.step-item{
    display:flex;
    align-items:flex-start;
    gap:14px;
    padding:18px;
    background:var(--surface-soft);
    border:1px solid var(--border);
    border-radius:18px;
}

.step-number{
    flex-shrink:0;
    width:42px;
    height:42px;
    border-radius:50%;
    background:var(--primary);
    color:#fff;
    display:flex;
    align-items:center;
    justify-content:center;
    font-weight:800;
    box-shadow:0 10px 20px rgba(37, 99, 235, 0.18);
}

.step-item h3{
    margin-bottom:8px;
}

.step-item p{
    margin:0;
}

.faq-section .faq-item + .faq-item{
    margin-top:18px;
    padding-top:18px;
    border-top:1px solid var(--border);
}

.faq-item h3{
    margin-bottom:8px;
}

.cta-card{
    background:
        linear-gradient(135deg, rgba(37, 99, 235, 0.05), rgba(255,255,255,0)),
        var(--surface);
}

/* =========================
   Buttons
========================= */
.btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:8px;
    min-height:48px;
    padding:12px 20px;
    border:none;
    border-radius:14px;
    background:var(--primary);
    color:#fff;
    font-weight:800;
    text-align:center;
    box-shadow:0 10px 24px rgba(37, 99, 235, 0.22);
    transition:transform var(--transition), background var(--transition), box-shadow var(--transition), opacity var(--transition);
}

.btn:hover{
    color:#fff;
    background:var(--primary-dark);
    transform:translateY(-1px);
    box-shadow:0 14px 28px rgba(37, 99, 235, 0.24);
}

.btn:active{
    transform:translateY(0);
}

.btn-secondary{
    background:#eef2ff;
    color:var(--primary-dark);
    box-shadow:none;
    border:1px solid #c7d2fe;
}

.btn-secondary:hover{
    background:#dbeafe;
    color:var(--primary-dark);
    box-shadow:none;
}

/* =========================
   Forms
========================= */
.grid{
    display:grid;
    grid-template-columns:repeat(2, minmax(0, 1fr));
    gap:16px;
}

.field{
    display:flex;
    flex-direction:column;
    gap:8px;
    margin-bottom:14px;
}

.field label{
    font-weight:700;
    color:var(--text);
}

input,
select,
textarea{
    width:100%;
    border:1px solid var(--border-strong);
    border-radius:14px;
    background:#fff;
    color:var(--text);
    padding:13px 14px;
    outline:none;
    transition:border-color var(--transition), box-shadow var(--transition), background var(--transition);
}

input::placeholder,
textarea::placeholder{
    color:#9ca3af;
}

input:focus,
select:focus,
textarea:focus{
    border-color:#93c5fd;
    box-shadow:0 0 0 4px rgba(37, 99, 235, 0.12);
}

textarea{
    resize:vertical;
    min-height:140px;
}

input[type="file"]{
    padding:12px;
    background:var(--surface-soft);
}

.field-note{
    display:block;
    margin-top:4px;
    color:var(--text-muted);
    font-size:0.92rem;
    line-height:1.75;
}

.form-actions{
    display:flex;
    flex-wrap:wrap;
    gap:12px;
    margin-top:18px;
}

.form-actions .btn{
    min-width:200px;
}

/* =========================
   Alerts
========================= */
.alert{
    padding:14px 16px;
    border-radius:14px;
    margin:0 0 18px;
    border:1px solid transparent;
    font-weight:700;
}

.alert-success{
    background:var(--success-bg);
    color:var(--success-text);
    border-color:var(--success-border);
}

.alert-error{
    background:var(--error-bg);
    color:var(--error-text);
    border-color:var(--error-border);
}

/* =========================
   Ad Blocks
========================= */
.ad-block{
    margin:24px 0;
    padding:14px;
    border-radius:18px;
    background:#fff;
    border:1px dashed #d1d5db;
    box-shadow:var(--shadow-sm);
}

.ad-block ins{
    display:block;
    min-height:90px;
}

/* =========================
   Index Page / Generic Homepage
========================= */
.page-index .hero{
    margin-top:4px;
}

/* =========================
   Services Page
========================= */
.services-form{
    margin-top:18px;
}

.services-grid{
    display:grid;
    grid-template-columns:repeat(2, minmax(0, 1fr));
    gap:18px;
    margin-top:18px;
}

.service-option{
    position:relative;
    display:flex;
    align-items:flex-start;
    gap:14px;
    padding:20px;
    border:1px solid var(--border);
    border-radius:18px;
    background:var(--surface-soft);
    cursor:pointer;
    transition:transform var(--transition), box-shadow var(--transition), border-color var(--transition), background var(--transition);
}

.service-option:hover{
    transform:translateY(-2px);
    border-color:#c7d2fe;
    box-shadow:var(--shadow-md);
}

.service-option input[type="checkbox"]{
    width:20px;
    height:20px;
    margin-top:3px;
    accent-color:var(--primary);
    flex-shrink:0;
}

.service-option-content{
    display:flex;
    flex-direction:column;
    gap:8px;
}

.service-title{
    display:block;
    font-size:1.05rem;
    font-weight:800;
    color:var(--text);
    line-height:1.5;
}

.service-desc{
    display:block;
    color:var(--text-soft);
    font-size:0.96rem;
    line-height:1.85;
}

/* =========================
   Address Page
========================= */
.address-form{
    margin-top:18px;
}

.address-tips{
    display:grid;
    grid-template-columns:repeat(2, minmax(0, 1fr));
    gap:18px;
    margin-top:22px;
}

.tip-box{
    background:var(--surface-soft);
    border:1px solid var(--border);
    border-radius:18px;
    padding:18px;
}

.tip-box h3{
    margin:0 0 10px;
    color:var(--text);
}

.tip-box p{
    margin:0;
    color:var(--text-soft);
}

/* =========================
   Final Page
========================= */
.final-form{
    margin-top:18px;
}

.final-info-boxes{
    display:grid;
    grid-template-columns:repeat(2, minmax(0, 1fr));
    gap:18px;
    margin-top:22px;
}

/* =========================
   Thank You Page
========================= */
.success-card{
    text-align:center;
}

.success-badge{
    width:76px;
    height:76px;
    margin:0 auto 18px;
    border-radius:50%;
    background:var(--success-bg);
    color:#059669;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:2rem;
    font-weight:800;
    border:2px solid var(--success-border);
    box-shadow:0 10px 24px rgba(16, 185, 129, 0.12);
}

.cta-actions{
    display:flex;
    flex-wrap:wrap;
    gap:12px;
    margin-top:18px;
}

/* =========================
   Contact Page
========================= */
.contact-form{
    margin-top:18px;
}

.contact-note{
    margin-top:18px;
    padding:16px 18px;
    background:var(--surface-soft);
    border:1px solid var(--border);
    border-radius:16px;
}

.contact-note p{
    margin:0;
    color:var(--text-soft);
}

.contact-boxes{
    display:grid;
    grid-template-columns:repeat(2, minmax(0, 1fr));
    gap:18px;
    margin-top:20px;
}

/* =========================
   Footer
========================= */
.site-footer{
    margin-top:18px;
    background:var(--surface-dark);
    color:#fff;
    padding-top:34px;
}

.footer-wrap{
    display:grid;
    grid-template-columns:1.2fr 1fr 1fr;
    gap:28px;
    padding-bottom:28px;
}

.footer-col{
    min-width:0;
}

.footer-title{
    color:#fff;
    margin-bottom:14px;
    font-size:1.08rem;
}

.footer-text{
    color:rgba(255,255,255,0.78);
    margin:0;
    line-height:1.9;
}

.footer-links{
    list-style:none;
    padding:0;
    margin:0;
    display:grid;
    gap:10px;
}

.footer-links a{
    color:rgba(255,255,255,0.86);
}

.footer-links a:hover{
    color:#fff;
}

.footer-bottom{
    border-top:1px solid rgba(255,255,255,0.08);
    padding:14px 0;
}

.footer-bottom-wrap{
    display:flex;
    align-items:center;
    justify-content:center;
    text-align:center;
}

.footer-bottom p{
    margin:0;
    color:rgba(255,255,255,0.75);
    font-size:0.95rem;
}

/* =========================
   Tables / small enhancements
========================= */
table{
    width:100%;
    border-collapse:collapse;
}

table th,
table td{
    border:1px solid var(--border);
    padding:12px;
    text-align:right;
}

/* =========================
   Responsive
========================= */
@media (max-width: 1024px){
    .footer-wrap{
        grid-template-columns:1fr 1fr;
    }

    .footer-col:first-child{
        grid-column:1 / -1;
    }
}

@media (max-width: 860px){
    .header-wrap{
        position:relative;
        align-items:flex-start;
        flex-wrap:wrap;
    }

    .nav-toggle{
        display:inline-flex;
        margin-inline-start:auto;
    }

    .nav{
        display:none;
        width:100%;
        flex-direction:column;
        align-items:stretch;
        gap:8px;
        padding-top:8px;
    }

    .nav.is-open{
        display:flex;
    }

    .nav a{
        width:100%;
        border-radius:14px;
        background:rgba(255,255,255,0.05);
        text-align:center;
    }

    .brand-tagline{
        max-width:100%;
    }
}

@media (max-width: 768px){
    body{
        font-size:15.5px;
    }

    .container{
        width:min(100% - 24px, var(--container));
    }

    .site-main{
        padding:20px 0 32px;
    }

    .hero{
        padding:26px 20px;
        border-radius:18px;
    }

    .card{
        padding:22px 18px;
        border-radius:18px;
    }

    .grid,
    .services-grid,
    .address-tips,
    .final-info-boxes,
    .contact-boxes,
    .footer-wrap{
        grid-template-columns:1fr;
    }

    .cta-actions{
        flex-direction:column;
    }

    .cta-actions .btn,
    .form-actions .btn{
        width:100%;
    }

    .step-item{
        padding:16px;
    }

    .ad-block{
        padding:10px;
    }
}

@media (max-width: 480px){
    .header-wrap{
        min-height:auto;
        padding:12px 0;
    }

    .brand{
        font-size:1.2rem;
    }

    .brand-tagline{
        font-size:0.88rem;
    }

    .hero,
    .card{
        padding:20px 16px;
    }

    .eyebrow{
        font-size:0.85rem;
        padding:7px 12px;
    }

    .btn{
        min-height:46px;
        padding:11px 16px;
    }

    input,
    select,
    textarea{
        padding:12px 13px;
    }

    .step-number{
        width:38px;
        height:38px;
        font-size:0.95rem;
    }

    .success-badge{
        width:68px;
        height:68px;
        font-size:1.75rem;
    }
}