@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@300;400;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Cairo', sans-serif;
}

:root {
    --primary-color: #0078ff;
    --dark-color: #11141b;
    --light-color: #f8f9fa;
    --text-muted: #a0a0a0;
    --transition-speed: 0.8s;
}

body {
    background-color: #ffffff;
    color: #333;
    line-height: 1.6;
}

.container {
    width: 85%;
    max-width: 1200px;
    margin: 0 auto;
}

/* ===== HEADER ===== */
.main-header {
    background-color: rgba(17, 20, 27, 0.95);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 15px rgba(0,0,0,0.2);
    padding: 10px 0;
    transition: 0.3s;
}

.header-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    flex-wrap: wrap;
}

/* ===== الشعار ===== */
.logo-area a {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 10px;
    flex-shrink: 0;
}

.logo-img {
    height: 50px;
    width: auto;
    object-fit: contain;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.company-name {
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.5px;
    line-height: 1.2;
}

.company-subname {
    color: var(--primary-color);
    font-size: 13px;
    font-weight: 600;
    margin-top: -3px;
}

/* ===== زر الواتساب في الهيدر ===== */
.contact-action {
    flex-shrink: 0;
    margin-left: auto;
}

.btn-call-nav {
    background-color: #25d366;
    color: #fff;
    text-decoration: none;
    padding: 6px 14px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: 0.3s;
    white-space: nowrap;
}

.btn-call-nav:hover {
    background-color: #1ebd59;
    transform: translateY(-2px);
}

/* ===== القائمة ===== */
.nav-menu {
    width: 100%;
    order: 3;
    margin-top: 8px;
}

.nav-menu ul {
    display: flex;
    justify-content: center;
    list-style: none;
    gap: 4px;
    flex-wrap: wrap;
}

.nav-menu ul li a {
    color: #fff;
    text-decoration: none;
    padding: 6px 12px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 4px;
    transition: 0.3s;
    white-space: nowrap;
}

.nav-menu ul li a:hover,
.nav-menu ul li a.active {
    background-color: rgba(0, 120, 255, 0.15);
    color: var(--primary-color);
}

/* ===== HERO ===== */
.hero-section {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    background-size: cover;
    background-position: center;
    transition: background-image var(--transition-speed) ease-in-out;
    margin-top: 70px;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
}

.hero-content h1 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 20px;
    animation: fadeInDown 1s ease;
}

.hero-content p {
    font-size: 18px;
    margin-bottom: 35px;
    color: #e0e0e0;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.hero-buttons a {
    text-decoration: none;
    padding: 12px 30px;
    font-weight: 600;
    border-radius: 4px;
    transition: 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-primary {
    background-color: var(--primary-color);
    color: #fff;
}

.btn-primary:hover {
    background-color: #0056b3;
}

/* ===== المجموعة الجديدة (زر واتساب + أيقونات صغيرة) ===== */
.hero-social-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    width: 100%;
}

.hero-social-group .btn-whatsapp {
    background-color: #25d366;
    color: #fff;
    padding: 12px 35px;
    border-radius: 4px;
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: 0.3s;
    border: none;
}

.hero-social-group .btn-whatsapp:hover {
    background-color: #1ebd59;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.3);
}

/* ===== الأيقونات الدائرية الصغيرة مع الصور كخلفية ===== */
.hero-small-icons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
}

.hero-icon-small {
    display: inline-block;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-size: 60%;
    background-position: center;
    background-repeat: no-repeat;
    transition: 0.3s;
    text-decoration: none;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.hero-icon-small:hover {
    transform: translateY(-4px) scale(1.1);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
    border-color: #fff;
}

/* ===== خلفيات مخصصة لكل أيقونة ===== */

/* الهاتف - خلفية زرقاء #0066ff */
.hero-icon-small.phone {
    background-color: #0066ff;
    border-color: #0066ff;
}
.hero-icon-small.phone:hover {
    border-color: #fff;
    background-color: #0055dd;
}

/* ✅ الإنستجرام - خلفية بيضاء وحدود شفافة */
.hero-icon-small.instagram {
    background-color: #ffffff !important;
    border-color: transparent !important;
}
.hero-icon-small.instagram:hover {
    border-color: #0066ff !important;
    background-color: #f0f0f0 !important;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* السناب - خلفية صفراء */
.hero-icon-small.snapchat {
    background-color: #FFFC00;
    border-color: #FFFC00;
}
.hero-icon-small.snapchat:hover {
    border-color: #fff;
    background-color: #e6e600;
}

/* ===== ABOUT ===== */
.about-us-section {
    padding: 80px 0 100px;
    background-color: #ffffff;
}

.about-content-wrapper {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-description {
    color: #333;
}

.about-description p {
    margin-bottom: 18px;
    font-size: 18px;
    line-height: 1.9;
    color: #444;
    text-align: justify;
}

.about-description p.lead-text {
    font-size: 22px;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 25px;
    border-right: 4px solid var(--primary-color);
    padding-right: 18px;
}

.about-image {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-img {
    width: 100%;
    max-width: 380px;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.15), 0 0 0 8px #f0f4ff, 0 0 0 12px rgba(0,120,255,0.1);
    transition: 0.4s;
}

.about-img:hover {
    transform: scale(1.02);
    box-shadow: 0 20px 50px rgba(0,0,0,0.2), 0 0 0 8px #e6eeff, 0 0 0 14px rgba(0,120,255,0.15);
}

/* ===== SERVICES ===== */
.services-section {
    padding: 100px 0 80px;
    background-color: var(--light-color);
}

.section-title {
    text-align: center;
    font-size: 36px;
    margin-bottom: 60px;
    position: relative;
    font-weight: 700;
    color: var(--dark-color);
}

.section-title::after {
    content: '';
    display: block;
    width: 70px;
    height: 4px;
    background-color: var(--primary-color);
    margin: 15px auto 0;
    border-radius: 2px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-featured {
    grid-column: 1 / -1;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
    border-bottom: 4px solid var(--primary-color);
    transition: 0.3s;
    padding: 30px;
}

.service-featured:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 45px rgba(0,0,0,0.12);
}

.service-row {
    display: flex;
    align-items: center;
    gap: 40px;
}

.service-col-img {
    flex: 0 0 45%;
}

.service-img {
    width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border: 3px solid #f0f4ff;
    transition: 0.4s;
}

.service-img:hover {
    transform: scale(1.02);
    border-color: var(--primary-color);
    box-shadow: 0 15px 40px rgba(0, 120, 255, 0.2);
}

.service-col-text {
    flex: 1;
}

.service-col-text h3 {
    font-size: 26px;
    color: var(--dark-color);
    margin-bottom: 18px;
    font-weight: 700;
}

.service-col-text p {
    font-size: 17px;
    line-height: 1.9;
    color: #555;
    margin-bottom: 25px;
}

.btn-gallery {
    display: inline-block;
    background-color: var(--primary-color);
    color: #fff;
    padding: 10px 32px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: 0.3s;
    border: 2px solid var(--primary-color);
}

.btn-gallery i {
    margin-right: 8px;
}

.btn-gallery:hover {
    background-color: transparent;
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 120, 255, 0.25);
}

.service-reverse .service-row {
    flex-direction: row-reverse;
}

.service-card:not(.service-featured) {
    background: #fff;
    padding: 50px 35px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: 0.3s;
    border-bottom: 3px solid transparent;
}

.service-card:not(.service-featured):hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    border-bottom: 3px solid var(--primary-color);
}

.service-card:not(.service-featured) i {
    font-size: 45px;
    color: var(--primary-color);
    margin-bottom: 25px;
}

.service-card:not(.service-featured) h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.service-card:not(.service-featured) p {
    color: #666;
    font-size: 15px;
}

/* ===== FOOTER ===== */
.main-footer {
    background-color: var(--dark-color);
    color: #fff;
    padding: 80px 0 0;
}

.footer-logo-area {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-bottom: 30px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 20px;
}

.logo-img-footer {
    height: 55px;
    width: auto;
    object-fit: contain;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 50px;
    padding-bottom: 50px;
}

.footer-col h4 {
    font-size: 19px;
    margin-bottom: 30px;
    position: relative;
    font-weight: 600;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: -10px;
    right: 0;
    width: 45px;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

.footer-col p {
    color: var(--text-muted);
    font-size: 15px;
    margin-bottom: 18px;
    line-height: 1.7;
}

.footer-col a {
    color: var(--text-muted);
    text-decoration: none;
    transition: 0.3s;
}

.footer-col a:hover {
    color: #fff;
}

.social-links {
    margin-top: 25px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background-color: #222733;
    color: #fff;
    text-align: center;
    border-radius: 50%;
    transition: 0.3s;
    font-size: 20px;
    text-decoration: none;
    flex-shrink: 0;
}

.social-links a:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

.social-links a.whatsapp {
    background: #25d366;
}
.social-links a.whatsapp:hover {
    background: #1ebd59;
}

.social-links a.facebook {
    background: #3b5998;
}
.social-links a.facebook:hover {
    background: #2d4373;
}

.social-links a.twitter {
    background: #1DA1F2;
}
.social-links a.twitter:hover {
    background: #0d8bdb;
}

.social-links a.instagram {
    background: #E4405F;
}
.social-links a.instagram:hover {
    background: #C13584;
}

.social-links a.snapchat {
    background: #FFFC00;
    color: #000;
}
.social-links a.snapchat:hover {
    background: #e6e600;
    color: #000;
    box-shadow: 0 8px 20px rgba(255, 252, 0, 0.3);
}

.links-col ul {
    list-style: none;
}

.links-col ul li {
    margin-bottom: 15px;
}

.links-col ul li a i {
    font-size: 12px;
    margin-left: 8px;
    color: var(--primary-color);
}

.footer-bottom {
    background-color: #0b0d12;
    padding: 25px 0;
    border-top: 1px solid #1e232f;
    font-size: 14px;
    color: var(--text-muted);
}

.bottom-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== RESPONSIVE ===== */

@media (max-width: 992px) {
    .about-content-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    .about-description p.lead-text {
        border-right: none;
        border-bottom: 3px solid var(--primary-color);
        padding-right: 0;
        padding-bottom: 15px;
        display: inline-block;
    }
    .about-img {
        max-width: 350px;
    }

    .service-row {
        flex-direction: column;
        gap: 25px;
    }
    .service-reverse .service-row {
        flex-direction: column;
    }
    .service-col-img {
        flex: 0 0 100%;
        max-width: 450px;
        margin: 0 auto;
    }
    .service-col-text {
        text-align: center;
    }
    .service-col-text h3 {
        font-size: 24px;
    }
    .service-col-text p {
        font-size: 16px;
    }
}

@media (max-width: 768px) {
    .header-flex {
        flex-wrap: wrap;
        gap: 6px;
        padding: 5px 0;
    }

    .logo-img {
        height: 38px;
    }
    .company-name {
        font-size: 15px;
    }
    .company-subname {
        font-size: 11px;
    }

    .contact-action {
        margin-left: auto;
    }
    .btn-call-nav {
        font-size: 12px;
        padding: 4px 10px;
        gap: 4px;
    }
    .btn-call-nav i {
        font-size: 13px;
    }

    .nav-menu {
        width: 100%;
        order: 3;
        margin-top: 6px;
        padding-top: 6px;
        border-top: 1px solid rgba(255,255,255,0.08);
    }
    .nav-menu ul {
        justify-content: center;
        gap: 2px;
    }
    .nav-menu ul li a {
        padding: 4px 8px;
        font-size: 12px;
    }

    .hero-section {
        margin-top: 60px;
        height: 90vh;
    }
    .hero-content h1 {
        font-size: 28px;
    }
    .hero-content p {
        font-size: 16px;
    }

    .hero-social-group .btn-whatsapp {
        font-size: 16px;
        padding: 10px 25px;
    }

    .hero-icon-small {
        width: 44px;
        height: 44px;
        background-size: 55%;
    }

    .about-us-section {
        padding: 60px 0 80px;
    }
    .about-description p {
        font-size: 17px;
        line-height: 1.8;
    }
    .about-description p.lead-text {
        font-size: 20px;
    }
    .about-img {
        max-width: 300px;
    }

    .services-section {
        padding: 70px 0 60px;
    }
    .section-title {
        font-size: 30px;
        margin-bottom: 40px;
    }

    .service-featured {
        padding: 20px 15px;
    }
    .service-col-img {
        max-width: 100%;
    }
    .service-col-text h3 {
        font-size: 22px;
    }
    .service-col-text p {
        font-size: 16px;
        line-height: 1.8;
    }
    .btn-gallery {
        font-size: 14px;
        padding: 8px 25px;
    }

    .service-card:not(.service-featured) {
        padding: 35px 20px;
    }

    .footer-grid {
        gap: 30px;
        padding-bottom: 30px;
    }
    .bottom-flex {
        flex-direction: column;
        text-align: center;
    }
    .social-links a {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .logo-img {
        height: 32px;
    }
    .company-name {
        font-size: 13px;
    }
    .company-subname {
        font-size: 10px;
    }
    .btn-call-nav {
        font-size: 11px;
        padding: 3px 8px;
    }
    .btn-call-nav i {
        font-size: 12px;
    }
    .nav-menu ul li a {
        padding: 3px 6px;
        font-size: 11px;
    }
    .hero-content h1 {
        font-size: 24px;
    }
    .hero-content p {
        font-size: 15px;
    }

    .hero-social-group .btn-whatsapp {
        font-size: 14px;
        padding: 8px 20px;
    }

    .hero-icon-small {
        width: 40px;
        height: 40px;
        background-size: 50%;
    }
    .hero-small-icons {
        gap: 10px;
    }

    .about-img {
        max-width: 260px;
    }
    .service-col-text h3 {
        font-size: 20px;
    }
    .service-col-text p {
        font-size: 15px;
    }
    .social-links a {
        width: 38px;
        height: 38px;
        font-size: 16px;
    }
}