/* Ahmed Sanosy Building Contracting LLC - Brand Overrides */
:root {
    --color-primary: #C9A227;
    --color-primary-dark: #A8861F;
    --color-secondary: #0D1B2A;
    --color-navy: #0D1B2A;
    --color-gold: #D4AF37;
    --bg-dark-1: #0D1B2A;
}

/* Logo sizing in header */
.header-two .logo-area img,
.rts-footer-area .logo img {
    max-height: 70px;
    width: auto;
    object-fit: contain;
}

.header-two.header--sticky.sticky .logo-area img {
    max-height: 55px;
}

/* Header top bar - white background */
.header-two .header-top {
    background: #ffffff;
    border-bottom: 1px solid rgba(13, 27, 42, 0.1);
}

.header-two .header-top-wrapper .left *,
.header-two .header-top-wrapper .social-header span {
    color: var(--color-navy);
}

.header-two .header-top-wrapper .left a,
.header-two .header-top-wrapper .social-header ul li a {
    color: var(--color-navy);
    transition: color 0.3s ease;
}

.header-two .header-top-wrapper .left a:hover,
.header-two .header-top-wrapper .social-header ul li a:hover {
    color: var(--color-primary);
}

.header-two .header-top-wrapper .left i,
.header-two .header-top-wrapper .social-header i {
    color: var(--color-primary);
}

/* Header main wrapper - navy background */
.header-two .header-two-main-wrapper {
    background: var(--color-navy);
}

.header-two.header--sticky.sticky .header-two-main-wrapper {
    background: var(--color-navy);
}

header.header-two .main-nav > a,
.header-two .header-two-main-wrapper .nav-area ul li a {
    color: #ffffff !important;
    transition: color 0.3s ease;
}

header.header-two .main-nav > a:hover,
.header-two .header-two-main-wrapper .nav-area ul li a:hover {
    color: var(--color-gold) !important;
}

.header-two .header-two-main-wrapper .has-dropdown::after,
.header-two .header-two-main-wrapper .has-dropdown.mega-menu > a::after {
    color: #ffffff;
}

/* Mobile menu toggle on navy bar */
.header-two .header-two-main-wrapper .header-end .nav-btn {
    border-color: rgba(255, 255, 255, 0.35);
}

.header-two .header-two-main-wrapper .header-end .nav-btn img {
    filter: brightness(0) saturate(100%) invert(100%) sepia(0%) saturate(0%) hue-rotate(0deg) brightness(100%) contrast(100%);
}

.header-two .header-two-main-wrapper .header-end .nav-btn:hover {
    border-color: var(--color-gold);
}

/* Banner slider h1 - tighter line height */
.banner-two-inner .title {
    line-height: 1.12;
}

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

.rts-btn.btn-primary:hover {
    background: var(--color-primary-dark);
    border-color: var(--color-primary-dark);
}

/* WhatsApp floating button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    left: 30px;
    z-index: 9999;
    display: flex;
    align-items: center;
    gap: 12px;
    background: #25D366;
    color: #fff;
    padding: 14px 22px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    background: #1ebe57;
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.5);
}

.whatsapp-float i {
    font-size: 24px;
}

@media (max-width: 576px) {
    .whatsapp-float span {
        display: none;
    }
    .whatsapp-float {
        padding: 16px;
        border-radius: 50%;
        bottom: 90px;
        left: 20px;
    }
}

/* Certification cards */
.cert-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
}

.cert-card:hover {
    border-color: var(--color-primary);
    box-shadow: 0 10px 40px rgba(201, 162, 39, 0.15);
    transform: translateY(-5px);
}

.cert-card .cert-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--color-gold), var(--color-primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.cert-card .cert-icon i {
    font-size: 28px;
    color: #fff;
}

.cert-card.cert-card-image .cert-image-wrap {
    max-width: 200px;
    margin: 0 auto 20px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #eee;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.cert-card.cert-card-image .cert-image-wrap img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}

@media (min-width: 992px) {
    #certifications .row.g-24 > .col-lg-4:last-child:nth-child(3n+1) {
        margin-left: auto;
        margin-right: auto;
    }
}

/* Leadership & founder section */
.leadership-area {
    background: linear-gradient(135deg, #f7f8fa 0%, #eef1f5 100%);
    position: relative;
    overflow: hidden;
}

.leadership-area::before {
    content: '';
    position: absolute;
    top: -120px;
    right: -120px;
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, rgba(201, 162, 39, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.leadership-section-pre {
    color: var(--color-primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 14px;
    display: block;
    margin-bottom: 10px;
}

.leadership-section-title {
    color: var(--color-navy);
    font-size: 40px;
    margin-bottom: 0;
}

@media (max-width: 767px) {
    .leadership-section-title {
        font-size: 30px;
    }
}

/* Founder profile card — full photo, no crop */
.founder-profile-card {
    background: #fff;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 8px 40px rgba(13, 27, 42, 0.08);
    border: 1px solid rgba(13, 27, 42, 0.06);
    text-align: center;
    position: sticky;
    top: 100px;
}

.founder-profile-card .founder-image-wrap {
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 20px;
    line-height: 0;
    border: 3px solid var(--color-primary);
    box-shadow: 0 4px 20px rgba(13, 27, 42, 0.1);
}

.founder-profile-card .founder-image-wrap img {
    width: 79%;
    height: auto;
    display: block;
    object-fit: contain;
    object-position: center;
    background: #fff;
    margin: 0 auto;
}

.founder-profile-card .founder-info .title {
    font-size: 22px;
    color: var(--color-navy);
    margin-bottom: 8px;
}

.founder-profile-card .founder-info .desig {
    font-size: 15px;
    color: #7C7C84;
    display: block;
    line-height: 1.5;
}

/* Leadership tab panel */
.leadership-tab-panel {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 8px 40px rgba(13, 27, 42, 0.08);
    border: 1px solid rgba(13, 27, 42, 0.06);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.leadership-tabs {
    border: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    background: var(--color-navy);
    border-radius: 16px 16px 0 0;
}

.leadership-tabs .nav-item {
    flex: 1;
    min-width: 0;
}

.leadership-tabs .nav-link {
    width: 100%;
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 18px 20px;
    font-size: 14px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.7);
    text-align: center;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.leadership-tabs .nav-link:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
}

.leadership-tabs .nav-link.active {
    background: var(--color-primary);
    color: #fff;
}

.leadership-tab-content {
    padding: 36px 40px;
    flex: 1;
    min-height: 320px;
}

.leadership-tab-content .tab-pane p {
    color: #555;
    font-size: 17px;
    line-height: 1.8;
    margin-bottom: 18px;
}

.leadership-tab-content .tab-pane p:last-child {
    margin-bottom: 0;
}

.leadership-tab-content .founder-welcome {
    font-weight: 700;
    color: var(--color-navy);
    text-transform: uppercase;
    letter-spacing: 0.03em;
    font-size: 16px;
    margin-bottom: 22px;
}

.leadership-tab-content .founder-closing {
    font-style: italic;
    color: var(--color-navy);
    font-weight: 500;
    margin-top: 8px;
    padding-top: 18px;
    border-top: 1px solid #eee;
}

.leadership-tab-content .tab-content-heading {
    font-size: 20px;
    color: var(--color-navy);
    margin-bottom: 18px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--color-primary);
    display: inline-block;
}

@media (max-width: 991px) {
    .founder-profile-card {
        max-width: 360px;
        margin: 0 auto;
        position: static;
    }

    .leadership-tab-content {
        padding: 28px 24px;
        min-height: auto;
    }

    .leadership-tabs .nav-link {
        padding: 14px 12px;
        font-size: 13px;
    }
}

@media (max-width: 575px) {
    .leadership-tabs {
        flex-direction: column;
    }

    .leadership-tabs .nav-link {
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .leadership-tabs .nav-link.active {
        border-bottom-color: var(--color-primary);
    }
}

/* Hide RTL switcher */
.rtl-ltr-switcher-btn {
    display: none !important;
}

/* Project cards - remove price styling emphasis */
.inner-content-project .thumb-wrapper .single span {
    color: var(--color-primary);
}

/* Arabic company name styling */
.company-arabic {
    font-family: 'Noto Sans Arabic', 'Gantari', sans-serif;
    direction: rtl;
    color: var(--color-gold);
    font-size: 14px;
    letter-spacing: 0;
}

/* Logo in header - blends with navy main bar */
.header-two .logo-area {
    background: transparent;
    padding: 6px 0;
    border-radius: 0;
}

.header-two.header--sticky.sticky .logo-area {
    background: transparent;
    padding: 6px 0;
    border-radius: 0;
}

/* Footer contact links */
.single-nav-area-footer.news-letter p {
    margin-bottom: 10px;
    color: rgba(255,255,255,0.7);
}

.single-nav-area-footer.news-letter p a {
    color: rgba(255,255,255,0.9);
    text-decoration: none;
}

.single-nav-area-footer.news-letter p a:hover {
    color: var(--color-primary);
}

.single-nav-area-footer.news-letter .btn-subscribe {
    display: inline-block;
    text-decoration: none;
    text-align: center;
}

/* Team images */
.single-team-single-area .thumbnail img {
    object-fit: cover;
    width: 100%;
    height: 100%;
}

/* About founder image */
.call-area img {
    border-radius: 50%;
    object-fit: cover;
    width: 60px;
    height: 60px;
}
.c-view-license-btn{
    margin: 0 auto !important;
}