:root {
    --color-primary: #fafafa;
    --color-primary-light: #f3f3f3;
    --color-primary-dark: #e5e5e5;

    --color-accent: #c5a059;
    --color-accent-hover: #a6823c;
    --color-accent-light: rgba(197, 160, 89, 0.15);

    --color-bg-light: #f3f3f3;
    --color-bg-white: #fafafa;

    --color-text-main: #1f2937;
    --color-text-muted: #4b5563;
    --color-text-white: #ffffff;

    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 20px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.12);
    --shadow-gold: 0 10px 25px rgba(197, 160, 89, 0.15);

    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-full: 9999px;

    --font-main: 'Cairo', sans-serif;

    --container-max-width: 1200px;
    --header-height: 90px;
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--color-bg-light);
}

::-webkit-scrollbar-thumb {
    background: var(--color-accent);
    border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--color-accent-hover);
}

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

html {
    scroll-behavior: smooth;
    font-size: 15px;
}

body {
    font-family: var(--font-main);
    background-color: var(--color-bg-white);
    color: var(--color-text-main);
    line-height: 1.7;
    text-align: right;
    overflow-x: hidden;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

button {
    font-family: var(--font-main);
    border: none;
    background: none;
    cursor: pointer;
    outline: none;
}

.container {
    width: 100%;
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 24px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 32px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background-color: var(--color-accent);
    color: var(--color-text-white);
    box-shadow: var(--shadow-gold);
}

.btn-primary:hover {
    background-color: var(--color-accent-hover);
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(197, 160, 89, 0.25);
}

.btn-primary:active {
    transform: translateY(-1px);
}

.badge {
    display: inline-block;
    padding: 6px 16px;
    background-color: var(--color-accent-light);
    color: var(--color-accent);
    font-weight: 700;
    font-size: 0.85rem;
    border-radius: var(--radius-full);
    margin-bottom: 20px;
    border: 1px solid rgba(197, 160, 89, 0.2);
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.subtitle {
    display: block;
    color: var(--color-accent);
    font-weight: 700;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.section-title {
    font-size: 2.1rem;
    font-weight: 800;
    color: #0d1117;
    position: relative;
    padding-bottom: 15px;
}

.section-line {
    width: 60px;
    height: 4px;
    background: var(--color-accent);
    margin: 15px auto 0;
    border-radius: var(--radius-full);
}

.section-line.margin-auto {
    margin: 15px auto;
}

.section-line-why-us {
    margin: 0;
}

.main-header {
    height: var(--header-height);
    background-color: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

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

.logo-img {
    height: 100px;
    width: 130px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.logo:hover .logo-img {
    transform: scale(1.03);
}

.footer-logo-img {
    height: 100px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    color: #1f2937;
    font-weight: 600;
    font-size: 0.95rem;
    position: relative;
    padding: 8px 0;
}

.nav-link:hover,
.nav-link.active {
    color: var(--color-accent);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-accent);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-cta-btn {
    background-color: var(--color-accent);
    color: var(--color-text-white);
    padding: 10px 20px;
    font-weight: 700;
    font-size: 0.9rem;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-sm);
}

.nav-cta-btn:hover {
    background-color: var(--color-accent-hover);
    transform: translateY(-2px);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.nav-phone-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #1f2937;
    border: 1px solid rgba(197, 160, 89, 0.4);
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.nav-phone-btn:hover {
    background-color: var(--color-accent-light);
    border-color: var(--color-accent);
    color: var(--color-accent);
}

.nav-phone-btn svg {
    color: var(--color-accent);
}

.footer-phone-link {
    color: var(--color-text-white);
    transition: color 0.3s ease;
}

.footer-phone-link:hover {
    color: var(--color-accent);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    z-index: 1100;
}

.bar {
    width: 100%;
    height: 3px;
    background-color: #1f2937;
    border-radius: var(--radius-full);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-section {
    background: linear-gradient(135deg, var(--color-bg-white) 0%, var(--color-bg-light) 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    color: var(--color-text-main);
    position: relative;
    overflow: hidden;
    padding-top: calc(var(--header-height) + 20px);
    padding-bottom: 60px;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 50px;
    align-items: center;
    width: 100%;
}

.hero-title {
    font-size: 2.1rem;
    font-weight: 800;
    line-height: 1.5;
    margin-bottom: 25px;
    color: #414352;
}

.hero-actions {
    margin-top: 25px;
}

.hero-image-wrapper {
    position: relative;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    border: 3px solid rgba(0, 0, 0, 0.05);
}

.hero-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0) 100%);
    z-index: 1;
}

.hero-img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: var(--radius-md);
    transition: transform 0.8s ease;
}

.hero-image-wrapper:hover .hero-img {
    transform: scale(1.05);
}

.experience-card {
    position: absolute;
    bottom: 30px;
    right: 30px;
    background: rgba(13, 17, 23, 0.9);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 16px 24px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    gap: 15px;
    z-index: 2;
    box-shadow: var(--shadow-md);
    animation: floating 4s ease-in-out infinite;
}

.exp-number {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--color-accent);
    line-height: 1;
}

.exp-text {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-text-white);
    max-width: 120px;
}

.hero-wave {
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    line-height: 0;
    transform: rotate(180deg);
}

.hero-wave svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 60px;
}

.about-section {
    padding: 65px 0;
    background-color: var(--color-primary-light);
    color: var(--color-text-main);
    text-align: center;
    position: relative;
}

.about-card {
    max-width: 800px;
    margin: 0 auto;
    background-color: #414352;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
    padding: 50px 40px;
    box-shadow: var(--shadow-lg);
}

.about-badge {
    color: var(--color-accent);
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.about-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--color-text-white);
    margin-bottom: 20px;
}

.about-text {
    font-size: 1.25rem;
    line-height: 1.9;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 30px;
}

.about-signature {
    font-weight: 700;
    color: var(--color-accent);
    font-size: 1rem;
}

.services-section {
    background-color: var(--color-bg-white);
    padding: 65px 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.service-card {
    background-color: #414352;
    border-radius: var(--radius-md);
    padding: 35px 25px;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-top: 4px solid transparent;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-top-color: var(--color-accent);
    background-color: #0d1117;
}

.service-icon-bg {
    width: 55px;
    height: 55px;
    background-color: rgba(197, 160, 89, 0.1);
    color: var(--color-accent);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon-bg {
    background-color: var(--color-accent);
    color: var(--color-text-white);
    transform: rotateY(360deg);
}

.service-icon {
    width: 28px;
    height: 28px;
}

.service-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--color-text-white);
    margin-bottom: 12px;
}

.service-description {
    font-size: 0.9rem;
    color: #8b949e;
    line-height: 1.6;
}

.services-footer {
    text-align: center;
    margin-top: 40px;
}

.services-footer p {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-text-white);
    padding: 14px 28px;
    background-color: #414352;
    border-radius: var(--radius-md);
    display: inline-block;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-right: 4px solid var(--color-accent);
}

.why-us-section {
    padding: 65px 0;
    background-color: var(--color-primary-light);
}

.why-us-container {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 80px;
    align-items: flex-start;
}

.why-us-intro {
    font-size: 1.1rem;
    color: var(--color-text-muted);
    line-height: 1.8;
    margin-top: 20px;
}

.why-us-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.why-us-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.why-us-icon-wrapper {
    width: 45px;
    height: 45px;
    background-color: rgba(197, 160, 89, 0.1);
    color: var(--color-accent);
    border: 1px solid rgba(197, 160, 89, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: var(--shadow-sm);
}

.why-us-icon-wrapper svg {
    width: 20px;
    height: 20px;
}

.why-us-text h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #0d1117;
    margin-bottom: 6px;
}

.why-us-text p {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    line-height: 1.6;
}

.stats-section {
    padding: 65px 0;
    background-color: var(--color-bg-white);
}

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

.stat-card {
    background-color: #414352;
    border-radius: var(--radius-md);
    padding: 35px 25px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.6s;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    background-color: #0d1117;
}

.stat-icon-wrapper {
    width: 55px;
    height: 55px;
    background-color: rgba(197, 160, 89, 0.1);
    color: var(--color-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
}

.stat-icon-wrapper svg {
    width: 24px;
    height: 24px;
}

.stat-number-wrapper {
    font-size: 2.3rem;
    font-weight: 800;
    color: var(--color-text-white);
    line-height: 1.2;
    margin-bottom: 8px;
    direction: ltr;
}

.stat-number-wrapper .plus {
    color: var(--color-accent);
}

.stat-label {
    font-size: 1.05rem;
    font-weight: 700;
    color: #8b949e;
}

.main-footer {
    background-color: #414352;
    color: rgba(255, 255, 255, 0.7);
    padding: 80px 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.2fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

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

.footer-logo .brand-name {
    font-size: 1.6rem;
    color: var(--color-text-white);
}

.footer-desc {
    font-size: 0.95rem;
    line-height: 1.7;
}

.footer-title {
    color: var(--color-text-white);
    font-size: 1.15rem;
    font-weight: 700;
    position: relative;
    padding-bottom: 10px;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 30px;
    height: 2px;
    background-color: var(--color-accent);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-links a {
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--color-accent);
    padding-right: 5px;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
}

.footer-contact li svg {
    color: var(--color-accent);
    flex-shrink: 0;
}

.footer-bottom {
    background-color: #414352;
    padding: 25px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.85rem;
}

.footer-bottom-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.whatsapp-floating {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: var(--color-text-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: all 0.3s ease;
    animation: whatsapp-pulse 2s infinite;
}

.whatsapp-floating:hover {
    transform: scale(1.1) rotate(5deg);
    background-color: #20ba5a;
}

.scroll-to-top {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 50px;
    height: 50px;
    background-color: #0d1117;
    color: var(--color-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.scroll-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-to-top:hover {
    background-color: var(--color-accent);
    color: var(--color-text-white);
    transform: translateY(-5px);
}

.reveal-on-scroll {
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.slide-up-reveal {
    transform: translateY(40px);
}

.fade-reveal {
    transform: scale(0.95);
}

.reveal-on-scroll.active {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.staggered-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.7s ease;
}

.staggered-reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.staggered-reveal.active:nth-child(1) {
    transition-delay: 0.1s;
}

.staggered-reveal.active:nth-child(2) {
    transition-delay: 0.2s;
}

.staggered-reveal.active:nth-child(3) {
    transition-delay: 0.3s;
}

.staggered-reveal.active:nth-child(4) {
    transition-delay: 0.4s;
}

.staggered-reveal.active:nth-child(5) {
    transition-delay: 0.5s;
}

.staggered-reveal.active:nth-child(6) {
    transition-delay: 0.6s;
}

.staggered-reveal.active:nth-child(7) {
    transition-delay: 0.7s;
}

.staggered-reveal.active:nth-child(8) {
    transition-delay: 0.8s;
}

@keyframes floating {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0px);
    }
}

@keyframes whatsapp-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.4);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

@media (max-width: 992px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-image-wrapper {
        max-width: 600px;
        margin: 0 auto;
    }

    .why-us-container {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: var(--header-height);
        left: -100%;
        width: 100%;
        height: calc(100vh - var(--header-height));
        background-color: #ffffff;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding-top: 50px;
        gap: 25px;
        transition: left 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        z-index: 999;
        border-top: 1px solid rgba(0, 0, 0, 0.05);
    }

    .nav-menu.open {
        left: 0;
    }

    .menu-toggle.open .bar:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }

    .menu-toggle.open .bar:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.open .bar:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }

    .section-title {
        font-size: 1.85rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .footer-bottom-container {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 576px) {
    html {
        font-size: 14px;
    }

    .container {
        padding: 0 16px;
    }

    .hero-title {
        font-size: 1.75rem;
    }

    .about-card {
        padding: 40px 20px;
    }

    .services-footer p {
        font-size: 1rem;
        padding: 12px 20px;
    }
}