﻿/* =========================================================
   AHD CUSTOM DESIGN
   ========================================================= */

:root {
    --ahd-primary: #0b2c4d;
    --ahd-primary-dark: #061b2f;
    --ahd-secondary: #d39b55;
    --ahd-bg: #ffffff;
    --ahd-bg-light: #f6f8fa;
    --ahd-text: #17202a;
    --ahd-muted: #707b87;
    --ahd-border: #e5e9ed;
}


/* =========================================================
   GLOBAL
   ========================================================= */

html {
    scroll-behavior: smooth;
}

body {
    direction: rtl;
    text-align: right;
    font-family: "Tajawal", "Cairo", Arial, sans-serif;
    color: var(--ahd-text);
    background: #fff;
}

body,
button,
input,
textarea,
select {
    font-family: "Tajawal", "Cairo", Arial, sans-serif;
}

.container {
    position: relative;
    z-index: 2;
}

a {
    transition: all .3s ease;
}

img {
    max-width: 100%;
}


/* =========================================================
   NAVIGATION
   ========================================================= */

.ahd-nav {
    background: rgba(255,255,255,.96);
    border-bottom: 1px solid rgba(0,0,0,.06);
    backdrop-filter: blur(15px);
}

.ahd-logo img {
    max-height: 48px;
    width: auto;
}

.ahd-nav .desktop-nav ul {
    display: flex;
    align-items: center;
    gap: 8px;
}

.ahd-nav .desktop-nav li {
    float: none;
}

.ahd-nav .desktop-nav a {
    color: var(--ahd-primary);
    font-size: 14px;
    font-weight: 600;
    padding: 30px 16px;
    position: relative;
}

    .ahd-nav .desktop-nav a:after {
        content: "";
        position: absolute;
        right: 16px;
        left: 16px;
        bottom: 20px;
        height: 2px;
        background: var(--ahd-secondary);
        transform: scaleX(0);
        transition: .3s;
    }

    .ahd-nav .desktop-nav a:hover:after,
    .ahd-nav .desktop-nav .active a:after {
        transform: scaleX(1);
    }


/* =========================================================
   HERO
   ========================================================= */

.ahd-hero {
    min-height: 100vh;
    background-position: center;
    background-size: cover;
    position: relative;
    overflow: hidden;
}

.ahd-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient( 90deg, rgba(4,23,40,.92), rgba(7,37,63,.76), rgba(5,24,41,.58) );
}

.ahd-hero-content {
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    max-width: 850px;
    color: #fff;
}

.ahd-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    font-size: 13px;
    letter-spacing: 1px;
    margin-bottom: 25px;
}

    .ahd-badge span {
        width: 35px;
        height: 2px;
        background: var(--ahd-secondary);
    }

.ahd-hero-title {
    font-size: clamp(48px, 7vw, 92px);
    line-height: 1.08;
    font-weight: 300;
    margin: 0 0 30px;
    letter-spacing: -2px;
}

    .ahd-hero-title strong {
        color: #fff;
        font-weight: 700;
    }

.ahd-hero-description {
    max-width: 650px;
    font-size: 18px;
    line-height: 2;
    color: rgba(255,255,255,.75);
    margin-bottom: 35px;
}

.ahd-hero-buttons {
    display: flex;
    gap: 12px;
    align-items: center;
}

    .ahd-hero-buttons .btn {
        min-width: 170px;
    }

.ahd-hero-services {
    display: flex;
    gap: 25px;
    margin-top: 60px;
    color: rgba(255,255,255,.5);
    font-size: 11px;
    letter-spacing: 1px;
    direction: ltr;
}

    .ahd-hero-services span {
        position: relative;
    }

        .ahd-hero-services span:not(:last-child):after {
            content: "/";
            margin-right: 25px;
            color: var(--ahd-secondary);
        }

.ahd-scroll-down {
    position: absolute;
    bottom: 45px;
    right: 0;
}

    .ahd-scroll-down a {
        color: #fff;
        font-size: 12px;
        display: flex;
        align-items: center;
        gap: 15px;
    }

    .ahd-scroll-down i {
        width: 38px;
        height: 38px;
        border: 1px solid rgba(255,255,255,.4);
        border-radius: 50%;
        display: flex;
        justify-content: center;
        align-items: center;
    }


/* =========================================================
   INTRO
   ========================================================= */

.ahd-intro-section {
    padding: 130px 0;
    background: #fff;
}

.ahd-section-number {
    color: var(--ahd-secondary);
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 20px;
}

.ahd-big-title {
    font-size: 58px;
    line-height: 1.2;
    font-weight: 300;
    margin: 0;
}

    .ahd-big-title span,
    .ahd-section-title span {
        color: var(--ahd-secondary);
    }

.ahd-intro-text {
    font-size: 27px;
    line-height: 1.8;
    font-weight: 500;
    margin-bottom: 20px;
}

.ahd-muted-text {
    color: var(--ahd-muted);
    font-size: 16px;
    line-height: 2;
}

.ahd-text-link {
    display: inline-flex;
    gap: 15px;
    align-items: center;
    color: var(--ahd-primary);
    font-weight: 700;
    margin-top: 20px;
}

    .ahd-text-link:hover {
        color: var(--ahd-secondary);
    }


/* =========================================================
   SECTION HEADINGS
   ========================================================= */

.ahd-section-label {
    color: var(--ahd-secondary);
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.ahd-section-title {
    font-size: 52px;
    line-height: 1.3;
    font-weight: 300;
    margin: 0;
}

.ahd-section-heading {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 50px;
    margin-bottom: 70px;
}

    .ahd-section-heading > p {
        max-width: 450px;
        color: var(--ahd-muted);
        line-height: 2;
        margin: 0;
    }


/* =========================================================
   ABOUT
   ========================================================= */

.ahd-about-section {
    background: var(--ahd-bg-light);
}

.ahd-large-text {
    font-size: 25px;
    line-height: 1.9;
    margin-bottom: 20px;
}

.ahd-about-cards {
    margin-top: 80px;
}

.ahd-about-card {
    background: #fff;
    padding: 45px 35px;
    min-height: 260px;
    border: 1px solid var(--ahd-border);
    transition: .4s;
}

    .ahd-about-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 20px 50px rgba(6,30,50,.08);
    }

.ahd-card-icon {
    font-size: 38px;
    color: var(--ahd-secondary);
    margin-bottom: 25px;
}

.ahd-about-card h3 {
    font-size: 21px;
    margin-bottom: 15px;
}

.ahd-about-card p {
    color: var(--ahd-muted);
    line-height: 1.9;
}


/* =========================================================
   SERVICES
   ========================================================= */

.ahd-services-section {
    background: #fff;
}

.ahd-services-grid {
    display: flex;
    flex-wrap: wrap;
}

.ahd-service {
    border-top: 1px solid var(--ahd-border);
    padding: 45px 25px 50px 0;
    min-height: 340px;
    position: relative;
    transition: .35s;
}

    .ahd-service:hover {
        border-top-color: var(--ahd-secondary);
        transform: translateY(-5px);
    }

.ahd-service-number {
    position: absolute;
    top: 45px;
    left: 25px;
    font-size: 12px;
    color: #b7bec5;
}

.ahd-service-icon {
    font-size: 42px;
    color: var(--ahd-secondary);
    margin-bottom: 30px;
}

.ahd-service h3 {
    font-size: 25px;
    margin-bottom: 18px;
}

.ahd-service p {
    color: var(--ahd-muted);
    line-height: 2;
    min-height: 80px;
}

.ahd-service-link {
    display: inline-flex;
    gap: 12px;
    color: var(--ahd-primary);
    font-size: 13px;
    font-weight: 700;
    margin-top: 20px;
}

    .ahd-service-link:hover {
        color: var(--ahd-secondary);
    }


/* =========================================================
   STATS
   ========================================================= */

.ahd-stats-section {
    padding: 80px 0;
    background: var(--ahd-primary);
    color: #fff;
}

.ahd-stat {
    text-align: center;
    border-left: 1px solid rgba(255,255,255,.15);
}

    .ahd-stat strong {
        display: block;
        font-size: 48px;
        font-weight: 300;
        color: var(--ahd-secondary);
    }

    .ahd-stat span {
        color: rgba(255,255,255,.65);
        font-size: 14px;
    }


/* =========================================================
   PORTFOLIO
   ========================================================= */

.ahd-portfolio-section {
    background: #fff;
}

.ahd-filter {
    margin-bottom: 50px;
}

    .ahd-filter a {
        color: var(--ahd-muted);
        margin: 0 15px;
        font-size: 13px;
        font-weight: 600;
    }

        .ahd-filter a.active,
        .ahd-filter a:hover {
            color: var(--ahd-secondary);
        }

.ahd-portfolio-grid .work-item {
    overflow: hidden;
}

.ahd-portfolio-grid .work-img {
    overflow: hidden;
}

    .ahd-portfolio-grid .work-img img {
        transition: transform .7s ease;
    }

.ahd-portfolio-grid .work-item:hover img {
    transform: scale(1.06);
}


/* =========================================================
   CTA
   ========================================================= */

.ahd-cta-section {
    padding: 130px 0;
    background: linear-gradient( 120deg, var(--ahd-primary-dark), var(--ahd-primary) );
    color: #fff;
}

.ahd-cta-content {
    max-width: 850px;
}

    .ahd-cta-content h2 {
        font-size: 65px;
        line-height: 1.25;
        font-weight: 300;
        margin: 0 0 25px;
    }

        .ahd-cta-content h2 span {
            color: var(--ahd-secondary);
        }

    .ahd-cta-content p {
        max-width: 600px;
        color: rgba(255,255,255,.65);
        line-height: 2;
        font-size: 17px;
        margin-bottom: 35px;
    }


/* =========================================================
   BLOG
   ========================================================= */

.ahd-blog-section {
    background: var(--ahd-bg-light);
}

.ahd-blog-card {
    background: #fff;
    height: 100%;
    border: 1px solid var(--ahd-border);
    transition: .4s;
}

    .ahd-blog-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 20px 50px rgba(0,0,0,.07);
    }

.ahd-blog-image {
    overflow: hidden;
}

    .ahd-blog-image img {
        width: 100%;
        display: block;
        transition: .5s;
    }

.ahd-blog-card:hover .ahd-blog-image img {
    transform: scale(1.05);
}

.ahd-blog-content {
    padding: 30px;
}

    .ahd-blog-content > span {
        color: var(--ahd-secondary);
        font-size: 12px;
        font-weight: 700;
    }

    .ahd-blog-content h3 {
        font-size: 22px;
        line-height: 1.6;
        margin: 15px 0;
    }

    .ahd-blog-content p {
        color: var(--ahd-muted);
        line-height: 1.9;
    }

    .ahd-blog-content a {
        display: inline-flex;
        gap: 10px;
        color: var(--ahd-primary);
        font-weight: 700;
        margin-top: 15px;
    }


/* =========================================================
   TESTIMONIAL
   ========================================================= */

.ahd-testimonial-section {
    background: var(--ahd-primary-dark);
    padding: 120px 0;
    color: #fff;
    text-align: center;
}

.ahd-quote-icon {
    color: var(--ahd-secondary);
    font-size: 35px;
    margin-bottom: 30px;
}

.ahd-testimonial-section blockquote {
    border: 0;
    padding: 0;
    margin: 0;
}

    .ahd-testimonial-section blockquote p {
        font-size: 30px;
        line-height: 1.9;
        font-weight: 300;
    }

.ahd-testimonial-section footer {
    color: rgba(255,255,255,.5);
    margin-top: 30px;
}


/* =========================================================
   CONTACT
   ========================================================= */

.ahd-contact-section {
    background: #fff;
}

.ahd-contact-text {
    color: var(--ahd-muted);
    font-size: 16px;
    line-height: 2;
    margin: 30px 0 40px;
}

.ahd-contact-item {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
}

.ahd-contact-icon {
    width: 50px;
    height: 50px;
    border: 1px solid var(--ahd-border);
    color: var(--ahd-secondary);
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
}

.ahd-contact-item span {
    display: block;
    color: #999;
    font-size: 12px;
    margin-bottom: 5px;
}

.ahd-contact-item a,
.ahd-contact-item strong {
    color: var(--ahd-primary);
    font-size: 15px;
}

.ahd-contact-form {
    background: var(--ahd-bg-light);
    padding: 50px;
}

.ahd-form-group {
    margin-bottom: 25px;
}

    .ahd-form-group label {
        display: block;
        font-size: 13px;
        font-weight: 700;
        margin-bottom: 10px;
    }

    .ahd-form-group input,
    .ahd-form-group textarea,
    .ahd-form-group select {
        width: 100%;
        border: 1px solid var(--ahd-border);
        background: #fff;
        padding: 16px 18px;
        outline: none;
        color: var(--ahd-text);
    }

        .ahd-form-group input:focus,
        .ahd-form-group textarea:focus,
        .ahd-form-group select:focus {
            border-color: var(--ahd-secondary);
        }

    .ahd-form-group textarea {
        height: 150px;
        resize: vertical;
    }

.ahd-contact-form .btn i {
    margin-right: 10px;
}


/* =========================================================
   MAP
   ========================================================= */

.ahd-map-section {
    width: 100%;
    height: 450px;
    overflow: hidden;
    filter: grayscale(.2);
}

    .ahd-map-section iframe {
        width: 100%;
        height: 100%;
        border: 0;
    }


/* =========================================================
   FOOTER
   ========================================================= */

.ahd-footer {
    background: #061522;
    color: #fff;
    padding: 90px 0 30px;
}

.ahd-footer-logo {
    max-width: 130px;
    margin-bottom: 25px;
    filter: brightness(0) invert(1);
}

.ahd-footer p {
    color: rgba(255,255,255,.55);
    line-height: 2;
    max-width: 400px;
}

.ahd-footer h4 {
    font-size: 16px;
    margin-bottom: 25px;
}

.ahd-footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.ahd-footer li {
    margin-bottom: 12px;
}

    .ahd-footer li a {
        color: rgba(255,255,255,.55);
    }

        .ahd-footer li a:hover {
            color: var(--ahd-secondary);
        }

.ahd-footer-email,
.ahd-footer-phone {
    color: rgba(255,255,255,.7);
    line-height: 2.5;
}

.ahd-social {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

    .ahd-social a {
        width: 40px;
        height: 40px;
        border: 1px solid rgba(255,255,255,.15);
        display: flex;
        justify-content: center;
        align-items: center;
        color: #fff;
        border-radius: 50%;
    }

        .ahd-social a:hover {
            background: var(--ahd-secondary);
            border-color: var(--ahd-secondary);
        }

.ahd-footer-bottom {
    margin-top: 70px;
    padding-top: 25px;
    border-top: 1px solid rgba(255,255,255,.08);
    display: flex;
    justify-content: space-between;
    color: rgba(255,255,255,.35);
    font-size: 12px;
}


/* =========================================================
   BACK TO TOP
   ========================================================= */

.ahd-back-top {
    position: fixed;
    bottom: 25px;
    left: 25px;
    width: 45px;
    height: 45px;
    background: var(--ahd-primary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
}

    .ahd-back-top:hover {
        background: var(--ahd-secondary);
        color: #fff;
    }


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 991px) {

    .ahd-hero-content {
        right: 15px;
        left: 15px;
    }

    .ahd-hero-title {
        font-size: 55px;
    }

    .ahd-section-heading {
        display: block;
    }

        .ahd-section-heading > p {
            margin-top: 25px;
        }

    .ahd-stat {
        margin-bottom: 35px;
        border: 0;
    }

    .ahd-service {
        margin-bottom: 20px;
    }

    .ahd-contact-form {
        margin-top: 50px;
    }
}


@media (max-width: 767px) {

    .ahd-nav .desktop-nav ul {
        display: block;
    }

    .ahd-hero-title {
        font-size: 43px;
        letter-spacing: -1px;
    }

    .ahd-hero-description {
        font-size: 15px;
    }

    .ahd-hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }

        .ahd-hero-buttons .btn {
            width: 100%;
        }

    .ahd-hero-services {
        flex-wrap: wrap;
        gap: 10px;
        margin-top: 35px;
    }

    .ahd-intro-section,
    .ahd-cta-section {
        padding: 80px 0;
    }

    .ahd-big-title,
    .ahd-section-title {
        font-size: 40px;
    }

    .ahd-large-text {
        font-size: 21px;
        margin-top: 30px;
    }

    .ahd-about-card {
        margin-bottom: 20px;
    }

    .ahd-cta-content h2 {
        font-size: 45px;
    }

    .ahd-contact-form {
        padding: 30px 20px;
    }

    .ahd-footer-bottom {
        flex-direction: column;
        gap: 10px;
    }
}
