/* SAFWAT AL RIYADH - PERFECTION SVG STYLESHEET */
:root {
    --primary-navy: #0f2b48;
    --primary-dark: #0a1e33;
    --accent-green: #059669;
    --accent-green-hover: #047857;
    --bg-light: #f8fafc;
    --card-bg: #ffffff;
    --text-main: #1e293b;
    --text-muted: #64748b;
    --border-color: #e2e8f0;
    --whatsapp-color: #25d366;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Cairo', sans-serif;
    letter-spacing: normal !important;
}

body {
    background-color: var(--bg-light);
    color: var(--text-main);
    line-height: 1.6;
    padding-bottom: 70px;
    direction: rtl;
}

.phone-num {
    direction: ltr !important;
    display: inline-block;
    unicode-bidi: embed;
}

/* Header & Professional SVG Logo Styling */
header {
    background-color: var(--card-bg);
    border-bottom: 2px solid var(--border-color);
    padding: 8px 20px;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(15, 43, 72, 0.06);
}

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

.logo-area {
    display: flex;
    align-items: center;
}

.logo-wrapper {
    width: 210px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.desktop-nav {
    display: flex;
    gap: 22px;
}

.desktop-nav a {
    text-decoration: none;
    color: var(--text-main);
    font-weight: 700;
    font-size: 15px;
    transition: color 0.2s;
}

.desktop-nav a:hover {
    color: var(--accent-green);
}

.btn-call-header {
    background-color: var(--primary-navy);
    color: white;
    padding: 10px 18px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    transition: background 0.3s;
}

.btn-call-header:hover {
    background-color: var(--primary-dark);
}

/* Hero Section with Centered Logo Container */
.hero {
    background: linear-gradient(135deg, var(--primary-navy) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 60px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-container {
    max-width: 850px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.hero-logo-center {
    width: 240px;
    height: 90px;
    margin: 0 auto 20px;
    background: rgba(255, 255, 255, 0.98);
    padding: 10px 20px;
    border-radius: 16px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-badge {
    display: inline-block;
    background-color: rgba(5, 150, 105, 0.25);
    border: 1px solid var(--accent-green);
    color: #6ee7b7;
    padding: 6px 18px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 800;
    margin-bottom: 20px;
}

.hero h1 {
    font-size: 34px;
    font-weight: 900;
    line-height: 1.3;
    margin-bottom: 18px;
}

.hero p {
    font-size: 18px;
    color: #cbd5e1;
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.btn-main {
    padding: 14px 28px;
    border-radius: 10px;
    font-weight: 800;
    font-size: 16px;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-green {
    background-color: var(--accent-green);
    color: white;
    box-shadow: 0 4px 14px rgba(5, 150, 105, 0.4);
}

.btn-whatsapp {
    background-color: var(--whatsapp-color);
    color: white;
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.3);
}

/* Stats Bar */
.stats-bar {
    background: white;
    border-bottom: 1px solid var(--border-color);
    padding: 25px 20px;
}

.stats-container {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    text-align: center;
}

.stat-num {
    font-size: 26px;
    font-weight: 900;
    color: var(--primary-navy);
}

.stat-desc {
    font-size: 14px;
    color: var(--text-muted);
    font-weight: 700;
}

/* Services */
.services {
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    margin-bottom: 45px;
}

.section-title h2 {
    font-size: 28px;
    color: var(--primary-navy);
    font-weight: 900;
    margin-bottom: 8px;
}

.section-title p {
    font-size: 15px;
    color: var(--text-muted);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--card-bg);
    border-radius: 16px;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 12px rgba(0,0,0,0.04);
    display: flex;
    flex-direction: column;
    padding: 25px;
}

.service-header-icon {
    font-size: 38px;
    width: 65px;
    height: 65px;
    background-color: #ecfdf5;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    color: var(--accent-green);
}

.service-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.service-title {
    font-size: 20px;
    font-weight: 800;
    color: var(--primary-navy);
    margin-bottom: 10px;
}

.service-desc {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 15px;
}

.service-list {
    list-style: none;
    margin-bottom: 20px;
}

.service-list li {
    font-size: 13.5px;
    color: var(--text-main);
    margin-bottom: 8px;
    position: relative;
    padding-right: 20px;
}

.service-list li::before {
    content: "✓";
    position: absolute;
    right: 0;
    color: var(--accent-green);
    font-weight: bold;
}

.service-btn {
    margin-top: auto;
    text-align: center;
    background-color: var(--primary-navy);
    color: white;
    padding: 12px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 800;
    font-size: 14px;
    transition: background 0.2s;
}

.service-btn:hover {
    background-color: var(--accent-green);
}

/* Why Us */
.why-us {
    background-color: #f1f5f9;
    padding: 60px 20px;
}

.why-container {
    max-width: 1100px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
}

.feature-card {
    background: var(--card-bg);
    padding: 25px;
    border-radius: 14px;
    border: 1px solid var(--border-color);
    text-align: center;
}

.feature-icon {
    font-size: 32px;
    margin-bottom: 12px;
}

.feature-card h3 {
    font-size: 18px;
    color: var(--primary-navy);
    margin-bottom: 8px;
    font-weight: 800;
}

.feature-card p {
    font-size: 14px;
    color: var(--text-muted);
}

/* Portfolio */
.portfolio {
    padding: 60px 20px;
    max-width: 1100px;
    margin: 0 auto;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.portfolio-card {
    background: white;
    border: 1px solid var(--border-color);
    border-top: 4px solid var(--accent-green);
    border-radius: 14px;
    padding: 28px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.03);
    transition: transform 0.2s, box-shadow 0.2s;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.portfolio-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(15, 43, 72, 0.08);
}

.portfolio-icon {
    font-size: 36px;
}

.portfolio-body h4 {
    font-size: 19px;
    font-weight: 800;
    color: var(--primary-navy);
    margin-bottom: 10px;
}

.portfolio-body p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 15px;
}

.portfolio-tag {
    display: inline-block;
    background-color: #f1f5f9;
    color: var(--primary-navy);
    font-size: 12px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
}

/* Contact / Trust Banner */
.trust-banner {
    background: linear-gradient(135deg, var(--primary-navy) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 60px 20px;
    text-align: center;
}

.trust-container {
    max-width: 850px;
    margin: 0 auto;
}

.trust-container h2 {
    font-size: 26px;
    font-weight: 800;
    margin-bottom: 12px;
}

.trust-container p {
    font-size: 16px;
    color: #cbd5e1;
    margin-bottom: 30px;
}

.contact-cards {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.contact-card {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 16px 24px;
    border-radius: 12px;
    text-decoration: none;
    color: white;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: background 0.2s;
}

.contact-card:hover {
    background: rgba(255, 255, 255, 0.2);
}

.contact-icon {
    font-size: 28px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    text-align: right;
}

.contact-label {
    font-size: 12px;
    color: #94a3b8;
}

.contact-val {
    font-size: 18px;
    font-weight: 800;
    color: #6ee7b7;
}

/* Footer Styling */
footer {
    background-color: var(--primary-dark);
    color: white;
    padding: 30px 20px;
    text-align: center;
    font-size: 13.5px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-logo {
    width: 180px;
    height: 55px;
    margin: 0 auto 15px;
    background: #ffffff;
    padding: 6px;
    border-radius: 10px;
}

.footer-sub {
    color: #94a3b8;
    margin-top: 5px;
    font-size: 12.5px;
}

/* Sticky Mobile Bar */
.sticky-bottom-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    box-shadow: 0 -4px 15px rgba(0,0,0,0.1);
    display: flex;
    padding: 10px 12px;
    gap: 10px;
    z-index: 2000;
}

.sticky-btn {
    flex: 1;
    padding: 12px;
    border-radius: 8px;
    text-align: center;
    font-weight: 800;
    font-size: 15px;
    text-decoration: none;
}

.sticky-call {
    background-color: var(--primary-navy);
    color: white;
}

.sticky-whatsapp {
    background-color: var(--whatsapp-color);
    color: white;
}

/* Responsive */
@media (max-width: 768px) {
    .desktop-nav {
        display: none;
    }
    .hero h1 {
        font-size: 24px;
    }
    .hero p {
        font-size: 15px;
    }
    .logo-wrapper {
        width: 160px;
        height: 50px;
    }
    .hero-logo-center {
        width: 180px;
        height: 70px;
    }
}
