

* {
    padding: 0;
    margin: 0;
    text-decoration: none;
    outline: none;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
}

*:focus {
    outline: none;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

button:focus,
a {
    outline: none;
}

button {
    border: none;
}

*:focus {
    outline: none;
}


h1,
h2,
h3,
h4,
h5,
h6,
p,
figure {
    margin: 0;
}

img {
    width: 100%;
    height: 100%;
}

/*! Globals */
.main-container {
    width: 90%;
    margin: auto;
}


:root {
    /* هوية الألوان الأصلية بدون أي تغيير */
    --primary: #dc2f30;
    --secondary: #ed5238;

    --primary-light: rgba(220, 47, 48, 0.08);
    --secondary-light: rgba(237, 82, 56, 0.08);

    --white: #ffffff;
    --light: #f8f9fa;
    --dark: #343a40;
    --gray: #6c757d;
    --border: #eeeeee;

    --gradient: linear-gradient(135deg,
            var(--primary),
            var(--secondary));

    --shadow-color: 355 60% 47%;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    font-family: "IBM Plex Sans Arabic", "Cairo", sans-serif;
    color: var(--dark);
    background-color: var(--light);
    background-image:
        radial-gradient(circle at 12% 8%, rgba(220, 47, 48, 0.07), transparent 32%),
        radial-gradient(circle at 88% 92%, rgba(237, 82, 56, 0.07), transparent 32%),
        radial-gradient(circle at 50% 50%, rgba(52, 58, 64, 0.035) 1px, transparent 1px);
    background-size: auto, auto, 26px 26px;
    background-position: 0 0, 0 0, 0 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px 20px;
}

.card {
    position: relative;
    overflow: hidden;
    background: var(--white);
    border-radius: 28px;
    padding: 40px 60px 40px;
    text-align: center;
    border: 1px solid rgba(220, 47, 48, 0.10);
    box-shadow:
        0 1px 2px hsl(var(--shadow-color) / 0.06),
        0 24px 60px -20px hsl(var(--shadow-color) / 0.22);
    animation: card-in 0.7s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes card-in {
    from {
        opacity: 0;
        transform: translateY(14px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.card::before {
    content: "";
    position: absolute;
    width: 340px;
    height: 340px;
    top: -220px;
    left: -160px;
    border-radius: 50%;
    background: var(--primary-light);
    pointer-events: none;
}

.card::after {
    content: "";
    position: absolute;
    width: 290px;
    height: 290px;
    bottom: -200px;
    right: -130px;
    border-radius: 50%;
    background: var(--secondary-light);
    pointer-events: none;
}

/* Top accent rule — subtle brand signature */
.card-accent {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 5px;
    background: var(--gradient);
}
.card-accent::after {
    content: "";
    position: absolute;
    top: 0;
    left: -30%;
    width: 30%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.9),
        transparent
    );
    animation: accent-shine 3.5s ease-in-out infinite;
}
@keyframes accent-shine {
    0% {
        left: -30%;
    }

    45%,
    100% {
        left: 110%;
    }
}


.logo-wrap {
    position: relative;
    z-index: 1;
    width: 100px;
    height: 100px;
    margin: 0 auto 26px;
    padding: 4px;
}
.logo {
    width: 100%;
    height: 100%;
    border-radius: 24px;
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: "Cairo", sans-serif;
    font-size: 36px;
    font-weight: 800;
    animation: logo-in 0.8s 0.15s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.logo-ring {
    position: absolute;
    inset: -7px;
    border-radius: 30px;
    border: 1.5px solid rgba(220, 47, 48, 0.18);
    animation:
        ring-in 0.9s 0.3s cubic-bezier(0.16, 1, 0.3, 1) both,
        ring-pulse 4s ease-in-out 1s infinite;
}
.logo::after {
    content: "";
    position: absolute;
    width: 60px;
    height: 140%;
    top: -20%;
    left: -100px;
    transform: rotate(25deg);
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.7),
        transparent
    );
    animation: logo-shine 4s ease-in-out infinite;
}

@keyframes logo-shine {
    0%,
    60% {
        left: -100px;
    }

    100% {
        left: 140%;
    }
}

@keyframes ring-in {
    from {
        opacity: 0;
        transform: scale(1.15);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes ring-pulse {
    0%,
    100% {
        transform: scale(1);
        opacity: 0.55;
    }

    50% {
        transform: scale(1.06);
        opacity: 1;
    }
}


.badge {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 7px 18px;
    border-radius: 50px;
    background: var(--primary-light);
    color: var(--primary);
    font-family: "Cairo", sans-serif;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 20px;
    animation: fade-up 0.7s 0.2s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.badge-dot {
    position: relative;
    width: 7px;
    height: 7px;
    margin-left: 8px;
    border-radius: 50%;
    background: var(--primary);
}

.badge-dot::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: var(--primary);
    animation: pulse 2.2s ease-out infinite;
}

@keyframes pulse {
    0% {
        opacity: 0.55;
        transform: scale(1);
    }
    100% {
        opacity: 0;
        transform: scale(2.8);
    }
}

h1 {
    position: relative;
    z-index: 1;
    max-width: 760px;
    margin: 0 auto 22px;
    color: var(--dark);
    font-family: "Cairo", sans-serif;
    font-size: 42px;
    font-weight: 800;
    line-height: 1.45;
    animation: fade-up 0.7s 0.3s cubic-bezier(0.16, 1, 0.3, 1) both;
}

h1 .accent {
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

h1::after {
    content: "";
    display: block;
    width: 56px;
    height: 4px;
    margin: 20px auto 0;
    border-radius: 10px;
    background: var(--gradient);
    animation: line-pulse 3s ease-in-out infinite;
}


@keyframes line-pulse {
    0%,
    100% {
        width: 56px;
        opacity: 0.8;
    }

    50% {
        width: 85px;
        opacity: 1;
    }
}

.description {
    position: relative;
    z-index: 1;
    max-width: 700px;
    margin: 0 auto;
    color: var(--gray);
    font-size: 17.5px;
    line-height: 2;
    animation: fade-up 0.7s 0.4s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.description strong {
    color: var(--dark);
    font-weight: 700;
}

.contact-section {
    position: relative;
    z-index: 1;
    margin-top: 50px;
    animation: fade-up 0.7s 0.5s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.contact-title {
    margin-bottom: 10px;
    color: var(--dark);
    font-family: "Cairo", sans-serif;
    font-size: 22px;
    font-weight: 700;
}

.contact-description {
    margin-bottom: 26px;
    color: var(--gray);
    font-size: 15.5px;
    line-height: 1.9;
}

.contact-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.contact-item {
    position: relative;
    text-decoration: none;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 24px 18px;
    transition:
        transform 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease,
        background 0.25s ease;
}

.contact-item:hover,
.contact-item:focus-visible {
    transform: translateY(-6px);
    border-color: rgba(220, 47, 48, 0.28);
    background: #fffafa;
    box-shadow: 0 16px 32px -12px hsl(var(--shadow-color) / 0.28);
}

.contact-item:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 3px;
}

.contact-item:hover .contact-icon,
.contact-item:focus-visible .contact-icon {
    transform: scale(1.08);
}

.contact-icon {
    width: 52px;
    height: 52px;
    margin: 0 auto 14px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 23px;
    background: var(--primary-light);
    transition: transform 0.25s ease;
}
.contact-item:nth-child(2) .contact-icon {
    background: rgba(237, 82, 56, 0.10);
}
.contact-item:nth-child(3) .contact-icon {
    background: rgba(220, 47, 48, 0.10);
}



.contact-label {
    display: block;
    margin-bottom: 6px;
    color: var(--gray);
    font-size: 13px;
}

.contact-value {
    display: block;
    color: var(--dark);
    font-family: "Cairo", sans-serif;
    font-size: 15px;
    font-weight: 700;
    direction: ltr;
}

footer {
    position: relative;
    z-index: 1;
    margin-top: 42px;
    padding-top: 26px;
    border-top: 1px solid var(--border);
    color: #9a9a9a;
    font-size: 13px;
    animation: fade-up 0.7s 0.6s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes fade-up {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    body {
        padding: 20px 15px;
    }

    .card {
        padding: 52px 32px 44px;
        border-radius: 24px;
    }

    h1 {
        font-size: 32px;
    }

    .description {
        font-size: 16.5px;
    }

    .contact-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    body {
        padding: 15px 10px;
    }

    .card {
        padding: 42px 18px 36px;

        border-radius: 20px;
    }

    .logo-wrap {
        width: 76px;
        height: 76px;
    }

    .logo {
        border-radius: 20px;
        font-size: 29px;
    }

    .badge {
        font-size: 13px;
        padding: 6px 15px;
    }

    h1 {
        font-size: 25px;
        line-height: 1.6;
    }

    h1::after {
        width: 46px;
        height: 3px;
    }

    .description {
        font-size: 15px;
        line-height: 2;
    }

    .contact-section {
        margin-top: 40px;
    }

    .contact-title {
        font-size: 19px;
    }

    .contact-description {
        font-size: 14px;
    }

    .contact-item {
        padding: 20px 15px;
    }

    footer {
        margin-top: 32px;
        font-size: 12px;
    }
}