@import url("https://fonts.googleapis.com/css2?family=Cairo:wght@300;400;500;600;700&display=swap");

:root {
    --brand-primary: #0f6ddf;
    --brand-secondary: #073f75;
    --brand-muted: #e7eef9;
    --gray-900: #0f172a;
    --gray-700: #334155;
    --gray-500: #64748b;
    --surface: #f5f7fb;
    --white: #fff;
    --success: #12b76a;
    --shadow: 0 25px 60px rgba(15, 23, 42, 0.12);
    --sand: #fff6ea;
    --mint: #ecfdf3;
    --cloud: #eef4ff;
    --lavender: #ebe9ff;
}

* {
    box-sizing: border-box;
}

body {
    font-family: "Cairo", "Segoe UI", Tahoma, sans-serif;
    background: var(--surface);
    color: var(--gray-900);
    line-height: 1.7;
    scroll-behavior: smooth;
}

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

.landing {
    padding-top: 72px;
}

.skip-link {
    position: absolute;
    top: -40px;
    right: 1rem;
    padding: 0.5rem 1rem;
    background: var(--brand-secondary);
    color: var(--white);
    z-index: 999;
    border-radius: 999px;
    transition: top 0.2s ease;
}

.skip-link:focus {
    top: 16px;
}

.navbar-glass {
    backdrop-filter: blur(24px);
    background: rgba(255, 255, 255, 0.85);
    box-shadow: 0 4px 30px rgba(15, 23, 42, 0.05);
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: inherit;
    text-decoration: none;
}

.brand-mark {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: var(--brand-primary);
    color: var(--white);
    display: grid;
    place-items: center;
    font-weight: 700;
}

.nav-link {
    font-weight: 500;
    color: var(--gray-700) !important;
    margin-inline: 0.3rem;
}

.nav-link:hover,
.nav-link.active {
    color: var(--brand-primary) !important;
}

.nav-cta .btn {
    border-radius: 999px;
    padding-inline: 1.5rem;
}

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

.btn-primary:hover,
.btn-primary:focus {
    background: var(--brand-secondary);
    border-color: var(--brand-secondary);
}

.btn-outline {
    border: 1px solid rgba(15, 23, 42, 0.12);
    color: var(--gray-900);
    border-radius: 999px;
}

.btn-outline:hover {
    border-color: var(--brand-primary);
    color: var(--brand-primary);
}

.icon-circle {
    width: 52px;
    height: 52px;
    border-radius: 18px;
    background: rgba(15, 109, 223, 0.08);
    color: var(--brand-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    line-height: 1;
    flex-shrink: 0;
}

.icon-circle.alt {
    background: rgba(7, 63, 117, 0.12);
    color: var(--brand-secondary);
}

.site-header {
    position: relative;
    background: radial-gradient(circle at top right, rgba(15, 109, 223, 0.08), rgba(7, 63, 117, 0.1)), var(--white);
    overflow: hidden;
}

.site-header::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.2), transparent 55%);
    pointer-events: none;
}

.hero {
    padding: 6rem 0 4rem;
}

.hero-visual {
    position: relative;
    border-radius: 28px;
    overflow: hidden;
    margin-bottom: 1.5rem;
    box-shadow: 0 30px 60px rgba(15, 23, 42, 0.18);
}

.hero-photo {
    width: 100%;
    display: block;
    object-fit: cover;
}

.hero-photo.secondary {
    position: absolute;
    width: 38%;
    bottom: 18px;
    left: 18px;
    border-radius: 18px;
    border: 4px solid var(--white);
    box-shadow: var(--shadow);
}

.hero-badge {
    position: absolute;
    top: 18px;
    right: 18px;
    background: rgba(255, 255, 255, 0.92);
    border-radius: 999px;
    padding: 0.65rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--gray-700);
    box-shadow: 0 12px 35px rgba(15, 23, 42, 0.18);
}

.hero-badge strong {
    display: block;
    color: var(--brand-secondary);
    font-size: 1rem;
}

.eyebrow {
    letter-spacing: 0.08em;
    color: var(--brand-secondary);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.hero h1 {
    font-size: clamp(2rem, 3vw, 3rem);
    font-weight: 700;
    margin-bottom: 1rem;
}

.hero .lead {
    color: var(--gray-700);
    margin-bottom: 1.5rem;
}

.check-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem;
}

.check-list li {
    padding-right: 1.5rem;
    margin-bottom: 0.5rem;
    position: relative;
}

.check-list li::before {
    content: "\f26e";
    font-family: "bootstrap-icons";
    color: var(--success);
    position: absolute;
    right: 0;
}

.hero-cta {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.hero-meta {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.hero-meta span {
    display: block;
    color: var(--gray-500);
    font-size: 0.9rem;
}

.hero-card {
    background: var(--white);
    border-radius: 24px;
    padding: 2rem;
    box-shadow: var(--shadow);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
}

.form-grid label {
    font-size: 0.9rem;
    color: var(--gray-700);
}

.form-grid .full {
    grid-column: 1 / -1;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    border: 1px solid rgba(15, 23, 42, 0.1);
    border-radius: 12px;
    padding: 0.65rem 0.9rem;
    font-size: 0.95rem;
    background: #fdfdfd;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--brand-primary);
    box-shadow: 0 0 0 3px rgba(15, 109, 223, 0.15);
}

.hero-contact {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.95rem;
    color: var(--gray-500);
    margin-top: 1rem;
}

.hero-contact a {
    color: var(--brand-primary);
    font-weight: 600;
}

.section {
    padding: 4.5rem 0;
}

.section.bg-soft {
    background: linear-gradient(135deg, rgba(15, 109, 223, 0.05), rgba(255, 255, 255, 0.8));
}

.section.bg-pattern {
    background: linear-gradient(135deg, rgba(15, 109, 223, 0.06), rgba(255, 255, 255, 0.95)), radial-gradient(circle at top right, rgba(7, 63, 117, 0.07), transparent 60%);
    background-blend-mode: screen;
}

.section.bg-sand {
    background: var(--sand);
}

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

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.stats-section .stat-card {
    background: var(--white);
    border-radius: 18px;
    padding: 1.75rem;
    box-shadow: 0 15px 45px rgba(15, 23, 42, 0.05);
}

.stat-card span {
    color: var(--gray-500);
    font-size: 0.85rem;
}

.stat-card strong {
    display: block;
    font-size: 1.5rem;
    margin: 0.3rem 0;
    color: var(--brand-secondary);
}

.services-preview {
    background: linear-gradient(135deg, rgba(15, 109, 223, 0.06), transparent);
}

.service-card {
    background: var(--white);
    border-radius: 18px;
    padding: 1.75rem;
    height: 100%;
    border: 1px solid rgba(15, 23, 42, 0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    position: relative;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.08);
}

.service-card ul {
    padding: 0;
    margin: 1rem 0 0;
    list-style: none;
}

.service-card li {
    margin-bottom: 0.4rem;
    color: var(--gray-600);
}

.service-card .icon-circle {
    margin-bottom: 1rem;
}

.features-section .feature-card {
    background: var(--white);
    border-radius: 18px;
    padding: 1.5rem;
    border: 1px solid rgba(15, 23, 42, 0.05);
    height: 100%;
}

.feature-card .icon-circle {
    margin-bottom: 1rem;
}

.process {
    margin-top: 2.5rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
}

.process-step {
    display: flex;
    gap: 1rem;
    align-items: center;
    background: var(--white);
    border-radius: 16px;
    padding: 1rem 1.25rem;
    box-shadow: 0 10px 35px rgba(15, 23, 42, 0.05);
}

.process-step span {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: var(--brand-muted);
    color: var(--brand-secondary);
    display: grid;
    place-items: center;
    font-weight: 600;
}

.industries .industry-card,
.testimonials .testimonial-card {
    background: var(--white);
    border-radius: 18px;
    padding: 1.5rem;
    border: 1px solid rgba(15, 23, 42, 0.05);
    height: 100%;
}

.testimonial-card p {
    font-style: italic;
    color: var(--gray-700);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.25rem;
}

.gallery-grid figure {
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 25px 55px rgba(15, 23, 42, 0.12);
    margin: 0;
}

.gallery-grid img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

.gallery-grid figcaption {
    position: absolute;
    inset: auto 0 0 0;
    background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.65));
    color: #fff;
    padding: 1rem;
    font-size: 0.95rem;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-list details {
    background: var(--white);
    border-radius: 16px;
    padding: 1rem 1.5rem;
    border: 1px solid rgba(15, 23, 42, 0.05);
}

.faq-list summary {
    cursor: pointer;
    font-weight: 600;
}

.contact-section .contact-card,
.map-card {
    background: var(--white);
    border-radius: 20px;
    padding: 1.75rem;
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.08);
}

.contact-card ul {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
}

.contact-card li {
    margin-bottom: 0.4rem;
}

.contact-card a {
    color: var(--brand-primary);
}

.contact-card .icon-circle {
    width: 46px;
    height: 46px;
    font-size: 1rem;
}

.map-card iframe {
    width: 100%;
    border: 0;
    border-radius: 16px;
    min-height: 320px;
}

.cta-card {
    background: linear-gradient(125deg, var(--brand-primary), var(--brand-secondary));
    border-radius: 30px;
    padding: clamp(1.5rem, 5vw, 3rem);
    color: var(--white);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.cta-card .btn-outline {
    border-color: rgba(255, 255, 255, 0.6);
    color: var(--white);
}

.site-footer {
    background: #040b16;
    color: var(--white);
    padding: 3rem 0 2rem;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.4rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
}

.footer-links a:hover {
    color: var(--white);
}

.footer-bottom {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.75rem;
    font-size: 0.9rem;
}

.form-alert {
    font-size: 0.9rem;
    color: var(--success);
    min-height: 1.2rem;
}

@media (max-width: 991px) {
    .hero {
        padding-top: 4rem;
    }

    .hero-contact {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
    }

    .cta-card {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 575px) {
    .landing {
        padding-top: 64px;
    }

    .hero-card {
        padding: 1.5rem;
    }

    .section {
        padding: 3rem 0;
    }

    .process-step {
        flex-direction: column;
        align-items: flex-start;
    }
}
