

/*
Theme Name: AgencyPro
Author: Rabeya
Description: A premium standalone WordPress theme for a digital marketing agency.
Version: 1.0.0
Text Domain: agencypro
*/

/* =========================================
   1. DESIGN SYSTEM & GLOBAL STYLES
========================================= */

:root {
    --agency-navy: #0a1530;
    --agency-navy-light: #122448;
    --agency-gold: #d9ad59;
    --agency-gold-light: #f0d18e;
    --agency-white: #ffffff;
    --agency-text: #526078;
    --agency-light-bg: #f6f8fc;
    --agency-border: #e5e9f1;
    --agency-container: 1200px;
    --agency-radius: 14px;
    --agency-transition: 0.3s ease;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: var(--agency-text);
    background: var(--agency-white);
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--agency-transition);
}

button,
input,
textarea,
select {
    font: inherit;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin-top: 0;
    color: var(--agency-navy);
    line-height: 1.2;
}

section {
    position: relative;
}

::selection {
    color: var(--agency-navy);
    background: var(--agency-gold-light);
}

a:focus-visible,
button:focus-visible {
    outline: 3px solid var(--agency-gold);
    outline-offset: 4px;
}

.agency-container {
    width: min(calc(100% - 40px), var(--agency-container));
    margin-inline: auto;
}

/* =========================================
   2. PREMIUM HEADER
========================================= */

.site-header {
    position: relative;
    z-index: 100;
    width: 100%;
    background: var(--agency-navy);
    border-bottom: 1px solid rgba(217, 173, 89, 0.22);
}

.header-inner {
    min-height: 94px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.site-logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
    color: var(--agency-white);
}

.logo-mark {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border: 1px solid var(--agency-gold);
    border-radius: 12px;
    background: linear-gradient(145deg, #192c50, #0a1530);
    color: var(--agency-gold-light);
    font-family: Georgia, serif;
    font-size: 28px;
    font-weight: 700;
    box-shadow: 0 0 22px rgba(217, 173, 89, 0.10);
}

.logo-text {
    display: flex;
    flex-direction: column;
    color: var(--agency-white);
    font-size: 23px;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.7px;
}

.logo-highlight {
    color: var(--agency-gold);
}

.logo-text small {
    margin-top: 6px;
    color: #aebbd0;
    font-size: 8px;
    font-weight: 600;
    letter-spacing: 1.6px;
}

.main-navigation {
    margin-left: auto;
}

.agency-menu {
    display: flex;
    align-items: center;
    gap: 25px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.agency-menu li {
    margin: 0;
    padding: 0;
}

.agency-menu a {
    position: relative;
    display: inline-block;
    padding: 12px 0;
    color: #d8dfeb;
    font-size: 14px;
    font-weight: 500;
}

.agency-menu a::after {
    position: absolute;
    right: 0;
    bottom: 5px;
    left: 0;
    height: 2px;
    background: var(--agency-gold);
    content: "";
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.agency-menu a:hover,
.agency-menu .current-menu-item > a,
.agency-menu .current_page_item > a {
    color: var(--agency-gold-light);
}

.agency-menu a:hover::after,
.agency-menu .current-menu-item > a::after,
.agency-menu .current_page_item > a::after {
    transform: scaleX(1);
}

.header-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-shrink: 0;
    padding: 13px 19px;
    border: 1px solid var(--agency-gold-light);
    border-radius: 7px;
    background: linear-gradient(135deg, #f0d18e, #d9ad59);
    color: var(--agency-navy);
    font-size: 13px;
    font-weight: 800;
    transition: all 0.3s ease;
}

.header-cta span {
    font-size: 19px;
    line-height: 1;
    transition: transform 0.3s ease;
}

.header-cta:hover {
    transform: translateY(-2px);
    background: var(--agency-white);
    color: var(--agency-navy);
}

.header-cta:hover span {
    transform: translateX(4px);
}

/* =========================================
   3. HOMEPAGE HERO
========================================= */

.agency-hero {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 650px;
    overflow: hidden;
    padding: 100px 0;
    background:
        radial-gradient(
            ellipse at 85% 40%,
            rgba(217, 173, 89, 0.13),
            transparent 35%
        ),
        radial-gradient(
            ellipse at 5% 90%,
            rgba(35, 76, 138, 0.20),
            transparent 40%
        ),
        var(--agency-navy);
    color: var(--agency-white);
}

.agency-hero::before {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(
            rgba(255, 255, 255, 0.025) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.025) 1px,
            transparent 1px
        );
    background-size: 55px 55px;
    content: "";
    pointer-events: none;
    mask-image: linear-gradient(to right, black, transparent 90%);
}

.agency-hero .agency-container {
    position: relative;
    z-index: 1;
}

.agency-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 25px;
    color: var(--agency-gold-light);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2.5px;
    text-transform: uppercase;
}

.agency-eyebrow::before {
    display: inline-block;
    width: 30px;
    height: 2px;
    background: var(--agency-gold);
    content: "";
}

.agency-hero h1 {
    max-width: 850px;
    margin: 0 0 25px;
    color: var(--agency-white);
    font-size: clamp(42px, 6vw, 76px);
    font-weight: 800;
    letter-spacing: -2.8px;
    line-height: 1.08;
}

.agency-description {
    max-width: 640px;
    margin: 0 0 34px;
    color: #bdc8db;
    font-size: 18px;
    line-height: 1.9;
}

.agency-hero-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.agency-button,
.agency-secondary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 13px;
    min-height: 54px;
    padding: 15px 24px;
    border-radius: 7px;
    font-size: 14px;
    font-weight: 800;
    transition: all 0.3s ease;
}

.agency-button {
    border: 1px solid var(--agency-gold-light);
    background: linear-gradient(135deg, #f0d18e, #d9ad59);
    color: var(--agency-navy);
    box-shadow: 0 10px 30px rgba(217, 173, 89, 0.16);
}

.agency-button span {
    font-size: 20px;
    transition: transform 0.3s ease;
}

.agency-button:hover {
    transform: translateY(-3px);
    background: var(--agency-white);
    color: var(--agency-navy);
    box-shadow: 0 14px 35px rgba(217, 173, 89, 0.24);
}

.agency-button:hover span {
    transform: translateX(5px);
}

.agency-secondary-button {
    border: 1px solid rgba(255, 255, 255, 0.25);
    background: rgba(255, 255, 255, 0.04);
    color: var(--agency-white);
}

.agency-secondary-button:hover {
    border-color: var(--agency-gold);
    background: rgba(217, 173, 89, 0.08);
    color: var(--agency-gold-light);
}

.agency-hero-note {
    margin: 28px 0 0;
    color: #9eacc3;
    font-size: 13px;
    letter-spacing: 0.3px;
}


/* =====================================================
   RABEYATECH — PREMIUM RESPONSIVE HERO
   Add this block at the bottom of style.css
===================================================== */

.agency-hero.agency-hero-image {
    position: relative;
    overflow: hidden;
    padding: clamp(55px, 7vw, 100px) 24px;
    background:
        radial-gradient(
            circle at 85% 20%,
            rgba(212, 175, 55, 0.12),
            transparent 32%
        ),
        linear-gradient(135deg, #07152e 0%, #0a1f44 55%, #102b50 100%);
    color: #ffffff;
}

.agency-hero.agency-hero-image::before {
    content: "";
    position: absolute;
    width: 360px;
    height: 360px;
    right: -180px;
    bottom: -220px;
    border: 1px solid rgba(212, 175, 55, 0.22);
    border-radius: 50%;
    pointer-events: none;
}

.agency-hero-image .agency-container {
    width: 100%;
    max-width: 1200px;
    margin-right: auto;
    margin-left: auto;
}

.agency-hero-image .agency-hero-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr);
    align-items: center;
    gap: clamp(35px, 5vw, 75px);
}

.agency-hero-image .agency-hero-content {
    position: relative;
    z-index: 1;
    min-width: 0;
}

.agency-hero-image .agency-eyebrow {
    display: inline-block;
    margin: 0 0 20px;
    color: #e5c36b;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2.5px;
    line-height: 1.6;
    text-transform: uppercase;
}

.agency-hero-image .agency-hero-content h1 {
    margin: 0 0 24px;
    color: #ffffff;
    font-size: clamp(38px, 4.5vw, 64px);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -1.8px;
    overflow-wrap: break-word;
}

.agency-hero-image .agency-hero-content h1 span {
    color: #e5c36b;
}

.agency-hero-image .agency-description {
    max-width: 540px;
    margin: 0 0 30px;
    color: #c5d0e0;
    font-size: 17px;
    line-height: 1.85;
}

.agency-hero-image .agency-hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
}

.agency-hero-image .agency-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 52px;
    padding: 14px 23px;
    border: 1px solid #e5c36b;
    border-radius: 8px;
    background: linear-gradient(135deg, #f0d98e, #d5ad4b);
    box-shadow: 0 8px 24px rgba(213, 173, 75, 0.18);
    color: #07152e;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.4;
    text-decoration: none;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.agency-hero-image .agency-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 13px 30px rgba(213, 173, 75, 0.3);
    color: #07152e;
}

.agency-hero-image .agency-secondary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 13px 21px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.04);
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;
    text-decoration: none;
    transition: background 0.25s ease, border-color 0.25s ease;
}

.agency-hero-image .agency-secondary-button:hover {
    border-color: #e5c36b;
    background: rgba(255, 255, 255, 0.09);
    color: #ffffff;
}

.agency-hero-image .agency-hero-note {
    margin: 22px 0 0;
    color: #aebdd1;
    font-size: 13px;
    line-height: 1.7;
}

.agency-hero-image .agency-hero-visual {
    position: relative;
    min-width: 0;
    padding: 10px;
    border: 1px solid rgba(229, 195, 107, 0.42);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.055);
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.28);
    transition: transform 0.35s ease, border-color 0.35s ease;
}

.agency-hero-image .agency-hero-visual:hover {
    transform: translateY(-5px);
    border-color: rgba(229, 195, 107, 0.8);
}

.agency-hero-image .agency-hero-visual img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    aspect-ratio: 5 / 4;
    object-fit: cover;
    object-position: center;
    border-radius: 15px;
}

/* TABLETS */

@media (max-width: 900px) {
    .agency-hero.agency-hero-image {
        padding: 65px 22px;
    }

    .agency-hero-image .agency-hero-layout {
        grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr);
        gap: 28px;
    }

    .agency-hero-image .agency-hero-content h1 {
        font-size: clamp(34px, 5vw, 46px);
        letter-spacing: -1px;
    }

    .agency-hero-image .agency-description {
        font-size: 15px;
        line-height: 1.75;
    }
}

/* MOBILE PHONES */

@media (max-width: 680px) {
    .agency-hero.agency-hero-image {
        padding: 48px 20px 42px;
    }

    .agency-hero-image .agency-hero-layout {
        grid-template-columns: minmax(0, 1fr);
        gap: 30px;
    }

    .agency-hero-image .agency-hero-content {
        text-align: center;
    }

    .agency-hero-image .agency-eyebrow {
        margin-bottom: 15px;
        font-size: 11px;
        letter-spacing: 2px;
    }

    .agency-hero-image .agency-hero-content h1 {
        max-width: 540px;
        margin-right: auto;
        margin-left: auto;
        font-size: clamp(35px, 9vw, 46px);
        line-height: 1.13;
        letter-spacing: -1px;
    }

    .agency-hero-image .agency-description {
        margin-right: auto;
        margin-left: auto;
        font-size: 15px;
        line-height: 1.75;
    }

    .agency-hero-image .agency-hero-actions {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        max-width: 360px;
        margin: 0 auto;
    }

    .agency-hero-image .agency-button,
    .agency-hero-image .agency-secondary-button {
        width: 100%;
        box-sizing: border-box;
        text-align: center;
    }

    .agency-hero-image .agency-hero-note {
        margin-top: 17px;
        font-size: 12px;
    }

    .agency-hero-image .agency-hero-visual {
        width: 100%;
        box-sizing: border-box;
        padding: 7px;
        border-radius: 16px;
    }

    .agency-hero-image .agency-hero-visual img {
        aspect-ratio: 4 / 3;
        border-radius: 11px;
    }
}

/* REDUCE MOTION FOR ACCESSIBILITY */

@media (prefers-reduced-motion: reduce) {
    .agency-hero-image .agency-hero-visual,
    .agency-hero-image .agency-button,
    .agency-hero-image .agency-secondary-button {
        transition: none;
    }

    .agency-hero-image .agency-hero-visual:hover,
    .agency-hero-image .agency-button:hover {
        transform: none;
    }
}


/* =====================================================
   AGENCYPRO — FINAL HOMEPAGE LAYOUT FIX
   Append at the very bottom of style.css
===================================================== */

/* Prevent horizontal overflow */
html,
body {
    max-width: 100%;
    overflow-x: clip;
}

.site-main,
.agency-container,
.agency-hero-layout,
.agency-hero-content,
.agency-hero-visual {
    min-width: 0;
}

/* ---------- DESKTOP HERO ---------- */

.agency-hero.agency-hero-image {
    display: block;
    min-height: 0;
    padding: 76px 0;
}

.agency-hero-image .agency-container {
    width: min(calc(100% - 48px), 1200px);
    max-width: 1200px;
    margin-inline: auto;
}

.agency-hero-image .agency-hero-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    align-items: center;
    gap: clamp(32px, 4vw, 60px);
}

.agency-hero-image .agency-hero-content {
    width: 100%;
}

.agency-hero-image .agency-hero-content h1 {
    max-width: 620px;
    font-size: clamp(40px, 4.2vw, 60px);
    line-height: 1.1;
    letter-spacing: -1.8px;
    overflow-wrap: normal;
}

.agency-hero-image .agency-description {
    max-width: 540px;
    margin-bottom: 25px;
}

.agency-hero-image .agency-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.agency-hero-image .agency-hero-visual {
    width: 100%;
    max-width: 100%;
    padding: 8px;
    overflow: hidden;
    border-radius: 16px;
}

.agency-hero-image .agency-hero-visual img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    aspect-ratio: auto;
    object-fit: contain;
    object-position: center;
    border-radius: 10px;
}

/* ---------- METRICS STRIP ---------- */

.agency-stats {
    padding: 24px 0;
}

.agency-stats-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

/* ---------- SERVICES: FOUR BALANCED CARDS ---------- */

.agency-services {
    padding: 76px 0;
}

.agency-section-heading {
    margin-bottom: 40px;
}

.agency-section-heading .agency-eyebrow {
    margin-bottom: 15px;
    color: #9d742a;
}

.agency-section-heading > p:not(.agency-eyebrow) {
    max-width: 680px;
    margin: 0 auto;
    color: #64718a;
    font-size: 16px;
    line-height: 1.8;
}

.agency-services-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    align-items: stretch;
    gap: 20px;
}

.agency-service-card {
    height: 100%;
    padding: 27px 22px;
}

.agency-service-card h3 {
    overflow-wrap: anywhere;
}

.agency-service-card p {
    flex-grow: 1;
}


/* TEMPORARY HERO BACKGROUND TEST */
body.home .agency-hero {
    background-color: #0a1f44 !important;
    background-image: url("https://rabeyatech.com/wp-content/uploads/2026/10/Futuristic-Office-Analytics-Workspace.png") !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    min-height: 650px !important;
    display: block !important;
}

/* =========================================
   RABEYATECH — FULL BACKGROUND HERO
========================================= */

.agency-hero {
    position: relative;
    isolation: isolate;
    width: 100%;
    min-height: 650px;
    display: flex;
    align-items: center;
    overflow: hidden;

    background-image:
        linear-gradient(
            90deg,
            rgba(5, 15, 35, 0.94) 0%,
            rgba(5, 15, 35, 0.78) 45%,
            rgba(5, 15, 35, 0.30) 100%
        ),
        url("https://rabeyatech.com/wp-content/uploads/2026/10/Futuristic-Office-Analytics-Workspace.png");

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Keep hero content above the background */
.agency-hero .agency-container,
.agency-hero .agency-hero-layout {
    position: relative;
    z-index: 1;
    width: 100%;
}

/* Give the text more space */
.agency-hero .agency-hero-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: center;
    gap: 0;
}

.agency-hero .agency-hero-content {
    max-width: 760px;
    padding-top: 80px;
    padding-bottom: 80px;
}

.agency-hero .agency-hero-visual {
    display: none;
}

/* Mobile */
@media (max-width: 768px) {
    .agency-hero {
        min-height: 560px;
        background-position: 58% center;
    }

    .agency-hero .agency-hero-content {
        padding-top: 65px;
        padding-bottom: 65px;
    }
}


/* ---------- FINAL CTA SECTION ---------- */

.agency-cta {
    padding: 76px 0;
    background:
        radial-gradient(
            circle at 85% 20%,
            rgba(217, 173, 89, 0.12),
            transparent 32%
        ),
        linear-gradient(135deg, #071126, #0a1f44);
    color: #c5d0e0;
}

.agency-cta-inner {
    max-width: 850px;
    text-align: center;
}

.agency-cta .agency-eyebrow {
    margin-bottom: 18px;
}

.agency-cta h2 {
    margin: 0 0 20px;
    color: #ffffff;
    font-size: clamp(30px, 4vw, 46px);
    line-height: 1.2;
    letter-spacing: -1px;
}

.agency-cta-inner > p:not(.agency-eyebrow) {
    max-width: 720px;
    margin: 0 auto 28px;
    color: #c5d0e0;
    font-size: 16px;
    line-height: 1.85;
}


/* =========================================
   RABEYATECH — EXPERIENCE STATISTICS
========================================= */

.agency-experience {
    padding: 95px 22px;
    background: #f7f8fc;
}

.agency-experience-container {
    max-width: 1200px;
    margin: 0 auto;
}

.agency-experience-heading {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 50px;
}

.agency-experience-heading .agency-section-tag {
    display: inline-block;
    color: #c69a4c;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2px;
    margin-bottom: 14px;
}

.agency-experience-heading h2 {
    color: #0a1f44;
    font-size: clamp(30px, 4vw, 43px);
    font-weight: 800;
    line-height: 1.2;
    margin: 0 0 15px;
}

.agency-experience-heading p {
    color: #667085;
    font-size: 16px;
    line-height: 1.7;
    margin: 0;
}

.agency-experience-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 20px;
}

.agency-stat-card {
    min-height: 190px;
    padding: 27px 15px;
    border-radius: 16px;
    background: #fff;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 18px rgba(10, 31, 68, 0.035);
    border: 1px solid #edf0f5;
    transition: transform .3s ease, box-shadow .3s ease;
}

.agency-stat-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 14px 32px rgba(10, 31, 68, 0.10);
}

.agency-stat-icon {
    width: 53px;
    height: 53px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 25px;
    margin-bottom: 17px;
    background: #f3f4f8;
}

.agency-stat-card h3 {
    font-size: 36px;
    line-height: 1.1;
    font-weight: 800;
    margin: 0 0 11px;
}

.agency-stat-card p {
    color: #525d6d;
    font-size: 13px;
    line-height: 1.5;
    margin: 0;
}

.agency-stat-card.pink h3,
.agency-stat-card.pink .agency-stat-icon {
    color: #e84b91;
    background-color: #fcebf3;
}

.agency-stat-card.purple h3,
.agency-stat-card.purple .agency-stat-icon {
    color: #8756d8;
    background-color: #f1ebfc;
}

.agency-stat-card.blue h3,
.agency-stat-card.blue .agency-stat-icon {
    color: #3986d9;
    background-color: #eaf3fc;
}

.agency-stat-card.orange h3,
.agency-stat-card.orange .agency-stat-icon {
    color: #e28a37;
    background-color: #fff2e5;
}

.agency-stat-card.green h3,
.agency-stat-card.green .agency-stat-icon {
    color: #36a879;
    background-color: #e8f7f0;
}

/* TABLET */
@media (max-width: 1024px) {
    .agency-experience-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* MOBILE */
@media (max-width: 600px) {
    .agency-experience {
        padding: 65px 16px;
    }

    .agency-experience-heading {
        margin-bottom: 32px;
    }

    .agency-experience-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .agency-stat-card {
        min-height: 165px;
    }

    .agency-stat-card h3 {
        font-size: 34px;
    }
}



/* =========================================
   RABEYATECH — OUR PROJECTS
========================================= */

.agency-projects {
    padding: 100px 0;
    background: #f7f9fc;
}

.agency-projects .agency-section-heading {
    max-width: 720px;
    margin: 0 auto 50px;
    text-align: center;
}

.agency-projects-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
    align-items: stretch;
}

.agency-project-card {
    background: #ffffff;
    border: 1px solid #e7ebf2;
    border-radius: 18px;
    overflow: hidden;
    transition: transform .3s ease, box-shadow .3s ease;
}

.agency-project-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 45px rgba(10, 31, 68, .12);
}

.agency-project-image {
    position: relative;
    min-height: 240px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 30px;
    background: linear-gradient(135deg, #0a1f44, #183d70);
}

.project-jamima {
    background: linear-gradient(135deg, #101f3d, #9b773e);
}

.project-harmony {
    background: linear-gradient(135deg, #153d48, #527b77);
}

.agency-project-category {
    position: absolute;
    top: 18px;
    left: 18px;
    padding: 7px 12px;
    border-radius: 30px;
    background: rgba(255,255,255,.14);
    color: #ffffff;
    font-size: 11px;
    letter-spacing: .4px;
}

.agency-project-preview {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    color: #ffffff;
    gap: 7px;
}

.agency-project-preview span {
    font-size: 14px;
    letter-spacing: 5px;
}

.agency-project-preview strong {
    font-size: clamp(23px, 2.5vw, 34px);
    letter-spacing: 1px;
}

.agency-project-preview small {
    font-size: 12px;
    opacity: .8;
}

.agency-project-content {
    padding: 27px;
}

.agency-project-number {
    color: #b08b45;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
}

.agency-project-content h3 {
    margin: 12px 0;
    color: #0a1f44;
    font-size: 21px;
}

.agency-project-content p {
    color: #657187;
    font-size: 14px;
    line-height: 1.8;
}

.agency-project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 20px 0;
}

.agency-project-tags span {
    padding: 7px 10px;
    border-radius: 6px;
    background: #eef2f8;
    color: #24416c;
    font-size: 11px;
    font-weight: 600;
}

.agency-project-content > a {
    display: inline-block;
    margin-top: 5px;
    color: #174b91;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}

.agency-project-content > a:hover {
    color: #b08b45;
}

/* Tablet */
@media (max-width: 900px) {
    .agency-projects-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Mobile */
@media (max-width: 600px) {
    .agency-projects {
        padding: 65px 0;
    }

    .agency-projects-grid {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .agency-project-image {
        min-height: 210px;
    }
}



/* =========================================
   RABEYATECH — WHY CHOOSE US
========================================= */

.agency-why {
    padding: 100px 24px;
    background: #f7f8fc;
}

.agency-why-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 65px;
    align-items: center;
}

/* LEFT CONTENT */

.agency-why-tag {
    display: inline-block;
    color: #c69a4c;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2px;
    margin-bottom: 18px;
}

.agency-why-content h2 {
    color: #0a1f44;
    font-size: clamp(34px, 4vw, 48px);
    font-weight: 800;
    line-height: 1.15;
    margin: 0 0 23px;
}

.agency-why-content h2 span {
    display: block;
    color: #c69a4c;
}

.agency-why-content p {
    color: #667085;
    font-size: 15px;
    line-height: 1.85;
    margin-bottom: 17px;
}

.agency-why-content .agency-why-intro {
    color: #344054;
    font-size: 17px;
    font-weight: 500;
}

.agency-why-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-top: 16px;
    padding: 15px 23px;
    border-radius: 8px;
    background: #0a1f44;
    color: #ffffff !important;
    text-decoration: none !important;
    font-size: 14px;
    font-weight: 700;
    transition: all .3s ease;
}

.agency-why-button:hover {
    background: #c69a4c;
    color: #0a1f44 !important;
    transform: translateY(-3px);
}

/* RIGHT GRID */

.agency-why-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 19px;
}

.agency-why-card {
    padding: 29px 23px;
    background: #ffffff;
    border: 1px solid #edf0f5;
    border-radius: 17px;
    box-shadow: 0 5px 20px rgba(10,31,68,.035);
    transition: all .3s ease;
}

.agency-why-card:hover {
    transform: translateY(-7px);
    border-color: rgba(198,154,76,.4);
    box-shadow: 0 15px 35px rgba(10,31,68,.09);
}

.agency-why-icon {
    width: 53px;
    height: 53px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    border-radius: 14px;
    background: #f7f0e3;
    color: #c69a4c;
    font-size: 30px;
}

.agency-why-card h3 {
    color: #0a1f44;
    font-size: 17px;
    line-height: 1.4;
    font-weight: 750;
    margin: 0 0 12px;
}

.agency-why-card p {
    color: #667085;
    font-size: 13px;
    line-height: 1.75;
    margin: 0;
}

/* TABLET */

@media (max-width: 900px) {
    .agency-why-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* MOBILE */

@media (max-width: 600px) {
    .agency-why {
        padding: 65px 18px;
    }

    .agency-why-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .agency-why-card {
        padding: 24px;
    }
}






/* =========================================
   RABEYA TECH — WHITE TESTIMONIAL SECTION
========================================= */

.agency-testimonials {
    position: relative;
    overflow: hidden;
    padding: 105px 20px;
    background: #ffffff;
}

.testimonials-container {
    max-width: 1180px;
    margin: 0 auto;
}

.testimonials-heading {
    text-align: center;
    max-width: 750px;
    margin: 0 auto 60px;
}

.testimonials-label {
    display: inline-block;
    color: #B68A3C;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 3px;
    margin-bottom: 18px;
}

.testimonials-heading h2 {
    color: #0A1F44;
    font-size: clamp(34px, 5vw, 49px);
    font-weight: 800;
    line-height: 1.2;
    margin: 0 0 18px;
}

.testimonials-heading h2 span {
    display: block;
    color: #B68A3C;
}

.testimonials-heading p {
    color: #69778B;
    font-size: 16px;
    line-height: 1.8;
    margin: 0;
}

/* REVIEW CARDS */

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.testimonial-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 310px;
    padding: 30px;
    background: #ffffff;
    border: 1px solid #E8EDF3;
    border-radius: 18px;
    box-shadow: 0 8px 30px rgba(10, 31, 68, .055);
    transition: all .35s ease;
}

.testimonial-card:hover {
    transform: translateY(-8px);
    border-color: #D6AE68;
    box-shadow: 0 18px 40px rgba(10, 31, 68, .11);
}

.testimonial-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.testimonial-quote {
    color: #D6AE68;
    font-family: Georgia, serif;
    font-size: 65px;
    font-weight: bold;
    line-height: .8;
}

.testimonial-stars {
    color: #D6AE68;
    font-size: 17px;
    letter-spacing: 3px;
}

.testimonial-review {
    flex-grow: 1;
    color: #5D6A7C;
    font-size: 15px;
    line-height: 1.9;
    margin: 0 0 28px;
}

.testimonial-client {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-top: 20px;
    border-top: 1px solid #EDF0F4;
}

.testimonial-avatar {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #ffffff;
    background: linear-gradient(135deg, #0A1F44, #244D7D);
    font-size: 14px;
    font-weight: 800;
}

.testimonial-client h3 {
    color: #0A1F44;
    font-size: 15px;
    font-weight: 750;
    margin: 0 0 5px;
}

.testimonial-client span {
    color: #8792A2;
    font-size: 12px;
}

/* BOTTOM CTA */

.testimonials-bottom {
    margin-top: 65px;
    padding: 38px 25px;
    text-align: center;
    border-radius: 18px;
    background: #F5F7FA;
}

.testimonials-bottom h3 {
    color: #0A1F44;
    font-size: 25px;
    font-weight: 800;
    margin: 0 0 10px;
}

.testimonials-bottom p {
    color: #69778B;
    font-size: 15px;
    line-height: 1.7;
    margin: 0 0 22px;
}

.testimonial-contact-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 14px 26px;
    border-radius: 50px;
    background: linear-gradient(135deg, #0A1F44, #173B68);
    color: #ffffff !important;
    text-decoration: none !important;
    font-size: 14px;
    font-weight: 750;
    transition: all .3s ease;
}

.testimonial-contact-btn:hover {
    background: linear-gradient(135deg, #B68A3C, #D6AE68);
    color: #071831 !important;
    transform: translateY(-4px);
}

.testimonial-contact-btn span {
    font-size: 20px;
}

/* TABLET */

@media (max-width: 950px) {
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* MOBILE */

@media (max-width: 600px) {
    .agency-testimonials {
        padding: 75px 16px;
    }

    .testimonials-heading {
        margin-bottom: 38px;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .testimonial-card {
        min-height: 270px;
        padding: 24px;
    }

    .testimonials-bottom {
        margin-top: 40px;
        padding: 30px 18px;
    }
}


/* =========================================
   RABEYA TECH — INDUSTRY EXPERTISE
========================================= */

.agency-industries {
    position: relative;
    overflow: hidden;
    padding: 105px 20px;
    background: #ffffff;
}

.industries-container {
    max-width: 1200px;
    margin: 0 auto;
}

.industries-heading {
    max-width: 780px;
    margin: 0 auto 55px;
    text-align: center;
}

.industries-label {
    display: inline-block;
    margin-bottom: 18px;
    color: #B68A3C;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 3px;
}

.industries-heading h2 {
    margin: 0 0 20px;
    color: #0A1F44;
    font-size: clamp(34px, 5vw, 49px);
    line-height: 1.2;
    font-weight: 800;
}

.industries-heading h2 span {
    display: block;
    color: #B68A3C;
}

.industries-heading p {
    max-width: 700px;
    margin: 0 auto;
    color: #68778C;
    font-size: 16px;
    line-height: 1.9;
}

/* INDUSTRY GRID */

.industries-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.industry-card {
    position: relative;
    min-height: 155px;
    padding: 27px 18px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: #ffffff;
    border: 1px solid #E8EDF3;
    border-radius: 16px;
    box-shadow: 0 7px 25px rgba(10, 31, 68, .045);
    transition: all .35s ease;
}

.industry-card:hover {
    transform: translateY(-7px);
    border-color: #D6AE68;
    box-shadow: 0 15px 35px rgba(10, 31, 68, .10);
}

.industry-icon {
    width: 54px;
    height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 17px;
    border-radius: 15px;
    background: #F7F3EA;
    font-size: 27px;
    transition: all .35s ease;
}

.industry-card:hover .industry-icon {
    background: #0A1F44;
    transform: scale(1.08);
}

.industry-card h3 {
    margin: 0;
    color: #0A1F44;
    font-size: 15px;
    line-height: 1.5;
    font-weight: 750;
}

/* BOTTOM CTA */

.industries-bottom {
    margin-top: 55px;
    padding: 35px 20px;
    text-align: center;
    background: #F5F7FA;
    border-radius: 18px;
}

.industries-bottom h3 {
    margin: 0 0 10px;
    color: #0A1F44;
    font-size: 24px;
    font-weight: 800;
}

.industries-bottom p {
    margin: 0 0 22px;
    color: #68778C;
    font-size: 15px;
    line-height: 1.7;
}

.industries-contact-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 14px 26px;
    border-radius: 50px;
    background: linear-gradient(135deg, #0A1F44, #244D7D);
    color: #ffffff !important;
    text-decoration: none !important;
    font-size: 14px;
    font-weight: 750;
    transition: all .3s ease;
}

.industries-contact-btn:hover {
    background: linear-gradient(135deg, #B68A3C, #D6AE68);
    color: #071831 !important;
    transform: translateY(-4px);
}

.industries-contact-btn span {
    font-size: 20px;
}

/* TABLET */

@media (max-width: 950px) {
    .industries-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

/* MOBILE */

@media (max-width: 600px) {
    .agency-industries {
        padding: 75px 16px;
    }

    .industries-heading {
        margin-bottom: 38px;
    }

    .industries-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .industry-card {
        min-height: 135px;
        padding: 20px 10px;
    }

    .industry-icon {
        width: 46px;
        height: 46px;
        font-size: 23px;
        margin-bottom: 12px;
    }

    .industry-card h3 {
        font-size: 13px;
    }

    .industries-bottom {
        margin-top: 35px;
        padding: 28px 16px;
    }
}




/* =========================================
   RABEYATECH — DARK TESTIMONIAL SECTION
========================================= */

.agency-testimonials {
    position: relative;
    overflow: hidden;
    padding: 100px 24px;
    background:
        radial-gradient(circle at 10% 15%,
            rgba(48, 91, 151, .25), transparent 35%),
        radial-gradient(circle at 90% 85%,
            rgba(198, 154, 76, .12), transparent 35%),
        linear-gradient(135deg, #06152e, #0a1f44 55%, #071a36);
}

.agency-testimonials-container {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
}

.agency-testimonials-heading {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 50px;
}

.agency-testimonials-tag {
    color: #e3b969;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2px;
}

.agency-testimonials-heading h2 {
    color: #ffffff;
    font-size: clamp(32px, 4vw, 45px);
    line-height: 1.2;
    font-weight: 800;
    margin: 17px 0;
}

.agency-testimonials-heading h2 span {
    color: #e3b969;
}

.agency-testimonials-heading p {
    color: #b9c7da;
    font-size: 15px;
    line-height: 1.8;
}

/* TESTIMONIAL GRID */

.agency-testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 23px;
}

/* TESTIMONIAL CARDS */

.agency-testimonial-card {
    position: relative;
    padding: 32px 27px;
    background: linear-gradient(
        145deg,
        rgba(255,255,255,.09),
        rgba(255,255,255,.035)
    );
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 17px;
    box-shadow: 0 8px 25px rgba(0,0,0,.12);
    backdrop-filter: blur(10px);
    transition: all .3s ease;
}

.agency-testimonial-card:hover {
    transform: translateY(-7px);
    border-color: rgba(227,185,105,.55);
    box-shadow: 0 18px 38px rgba(0,0,0,.22);
}

.agency-testimonial-stars {
    color: #e3b969;
    font-size: 19px;
    letter-spacing: 3px;
}

.agency-testimonial-quote {
    color: rgba(227,185,105,.5);
    font-size: 75px;
    font-family: Georgia, serif;
    line-height: 1;
    margin-top: 14px;
}

.agency-testimonial-text {
    color: #d1dbea;
    font-size: 14px;
    line-height: 1.85;
    min-height: 115px;
    margin: 0 0 25px;
}

/* CLIENT DETAILS */

.agency-testimonial-client {
    display: flex;
    align-items: center;
    gap: 13px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,.12);
}

.agency-client-avatar {
    width: 47px;
    height: 47px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #d9b36b;
    color: #071a36;
    font-size: 14px;
    font-weight: 800;
}

.agency-testimonial-client h3 {
    color: #ffffff;
    font-size: 14px;
    margin: 0 0 5px;
    font-weight: 750;
}

.agency-testimonial-client span {
    color: #aebed2;
    font-size: 12px;
}

/* BOTTOM CTA */

.agency-testimonials-bottom {
    text-align: center;
    margin-top: 45px;
}

.agency-testimonials-bottom p {
    color: #b9c7da;
    font-size: 15px;
}

.agency-testimonials-bottom a {
    display: inline-block;
    color: #e3b969 !important;
    font-weight: 800;
    text-decoration: none !important;
    border-bottom: 2px solid #c69a4c;
    padding-bottom: 5px;
    transition: .3s ease;
}

.agency-testimonials-bottom a:hover {
    color: #ffffff !important;
}

/* TABLET */

@media (max-width: 900px) {
    .agency-testimonials-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* MOBILE */

@media (max-width: 600px) {
    .agency-testimonials {
        padding: 65px 18px;
    }

    .agency-testimonials-grid {
        grid-template-columns: 1fr;
        gap: 17px;
    }

    .agency-testimonial-card {
        padding: 27px 22px;
    }

    .agency-testimonial-text {
        min-height: auto;
    }
}



/* =========================================
   RABEYA TECH — PREMIUM FAQ SECTION
========================================= */

.agency-faq {
    position: relative;
    overflow: hidden;
    padding: 110px 20px;
    background:
        radial-gradient(ellipse at 10% 20%, rgba(32, 91, 165, .20), transparent 40%),
        radial-gradient(ellipse at 90% 80%, rgba(198, 154, 76, .10), transparent 35%),
        linear-gradient(135deg, #06152e, #0A1F44 55%, #071831);
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.faq-heading {
    text-align: center;
    margin-bottom: 55px;
}

.faq-label {
    display: inline-block;
    color: #E3B969;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 3px;
    margin-bottom: 18px;
}

.faq-heading h2 {
    color: #ffffff;
    font-size: clamp(32px, 5vw, 48px);
    line-height: 1.2;
    font-weight: 800;
    margin: 0 0 18px;
}

.faq-heading h2 span {
    color: #D6AE68;
}

.faq-heading p {
    max-width: 620px;
    margin: 0 auto;
    color: #b8c6dc;
    font-size: 16px;
    line-height: 1.8;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.faq-item {
    background: rgba(255, 255, 255, .045);
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 14px;
    overflow: hidden;
    transition: all .3s ease;
}

.faq-item:hover,
.faq-item.active {
    border-color: rgba(214, 174, 104, .55);
    background: rgba(255, 255, 255, .075);
}

.faq-question {
    width: 100%;
    padding: 23px 25px;
    border: none;
    background: transparent;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    text-align: left;
    cursor: pointer;
    color: #ffffff;
    font-size: 17px;
    font-weight: 650;
    font-family: inherit;
}

.faq-icon {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(214, 174, 104, .13);
    color: #E3B969;
    font-size: 23px;
    transition: all .3s ease;
}

.faq-item.active .faq-icon {
    background: #D6AE68;
    color: #071831;
    transform: rotate(45deg);
}

.faq-answer {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows .35s ease;
}

.faq-answer p {
    overflow: hidden;
    margin: 0;
    padding: 0 25px;
    color: #b8c6dc;
    font-size: 15px;
    line-height: 1.85;
}

.faq-item.active .faq-answer {
    grid-template-rows: 1fr;
}

.faq-item.active .faq-answer p {
    padding-bottom: 24px;
}

.faq-bottom {
    text-align: center;
    margin-top: 55px;
}

.faq-bottom p {
    color: #b8c6dc;
    font-size: 16px;
    margin-bottom: 18px;
}

.faq-contact-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 15px 28px;
    border-radius: 50px;
    background: linear-gradient(135deg, #D6AE68, #F0D397);
    color: #071831 !important;
    font-weight: 750;
    text-decoration: none !important;
    transition: all .3s ease;
}

.faq-contact-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(214, 174, 104, .25);
}

.faq-contact-btn span {
    font-size: 20px;
}

/* MOBILE */

@media (max-width: 767px) {
    .agency-faq {
        padding: 75px 16px;
    }

    .faq-heading {
        margin-bottom: 35px;
    }

    .faq-question {
        padding: 19px 17px;
        font-size: 15px;
    }

    .faq-answer p {
        padding-left: 17px;
        padding-right: 17px;
        font-size: 14px;
    }

    .faq-item.active .faq-answer p {
        padding-bottom: 20px;
    }

    .faq-bottom {
        margin-top: 40px;
    }
}



/* =====================================
   RABEYA TECH — FINAL CTA
===================================== */

.agency-final-cta {
    position: relative;
    overflow: hidden;
    padding: 115px 20px;
    background:
        radial-gradient(
            circle at 15% 50%,
            rgba(34, 92, 160, .25),
            transparent 38%
        ),
        radial-gradient(
            circle at 85% 20%,
            rgba(198, 154, 76, .15),
            transparent 35%
        ),
        linear-gradient(135deg, #06152e, #0A1F44 55%, #06152e);
    text-align: center;
    border-top: 1px solid rgba(214, 174, 104, .18);
}

.final-cta-container {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
}

.final-cta-label {
    display: inline-block;
    color: #E3B969;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 3px;
    margin-bottom: 24px;
}

.final-cta-container h2 {
    max-width: 850px;
    margin: 0 auto 24px;
    color: #ffffff;
    font-size: clamp(34px, 5vw, 58px);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -1.5px;
}

.final-cta-container h2 span {
    display: block;
    color: #D6AE68;
}

.final-cta-container > p {
    max-width: 690px;
    margin: 0 auto 36px;
    color: #bdcbe0;
    font-size: 16px;
    line-height: 1.9;
}

.final-cta-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.final-cta-primary,
.final-cta-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 54px;
    padding: 15px 27px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 750;
    text-decoration: none !important;
    transition: all .3s ease;
}

.final-cta-primary {
    color: #071831 !important;
    background: linear-gradient(135deg, #D6AE68, #F0D397);
    box-shadow: 0 8px 25px rgba(214, 174, 104, .15);
}

.final-cta-primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 32px rgba(214, 174, 104, .3);
}

.final-cta-primary span {
    font-size: 21px;
    transition: transform .3s ease;
}

.final-cta-primary:hover span {
    transform: translateX(5px);
}

.final-cta-secondary {
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, .35);
    background: rgba(255, 255, 255, .04);
}

.final-cta-secondary:hover {
    color: #E3B969 !important;
    border-color: #D6AE68;
    background: rgba(255, 255, 255, .08);
    transform: translateY(-4px);
}

.final-cta-note {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 38px;
    color: #9eafc8;
    font-size: 13px;
    letter-spacing: .5px;
}

.cta-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #D6AE68;
    box-shadow: 0 0 12px rgba(214, 174, 104, .8);
}

/* MOBILE RESPONSIVE */

@media (max-width: 767px) {
    .agency-final-cta {
        padding: 80px 18px;
    }

    .final-cta-container h2 {
        font-size: 35px;
        letter-spacing: -1px;
    }

    .final-cta-container > p {
        font-size: 14px;
    }

    .final-cta-buttons {
        flex-direction: column;
        width: 100%;
    }

    .final-cta-primary,
    .final-cta-secondary {
        width: 100%;
        max-width: 330px;
    }

    .final-cta-note {
        font-size: 11px;
    }
}



/* =========================================
   RABEYATECH — ABOUT SECTION
========================================= */

.agency-about {
    padding: 100px 24px;
    background: #ffffff;
}

.agency-about-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 75px;
}

/* IMAGE */

.agency-about-visual {
    position: relative;
    padding: 0 20px 35px 0;
}

.agency-about-image {
    overflow: hidden;
    border-radius: 22px;
    background: #eef2f8;
    box-shadow: 0 20px 55px rgba(10,31,68,.12);
}

.agency-about-image img {
    display: block;
    width: 100%;
    height: 470px;
    object-fit: cover;
    transition: transform .6s ease;
}

.agency-about-image:hover img {
    transform: scale(1.045);
}

/* IMAGE HIGHLIGHT */

.agency-about-highlight {
    position: absolute;
    bottom: 0;
    right: 0;
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 20px 24px;
    background: #0a1f44;
    color: #ffffff;
    border: 1px solid rgba(218,179,105,.4);
    border-radius: 13px;
    box-shadow: 0 12px 30px rgba(10,31,68,.2);
}

.agency-about-highlight-icon {
    color: #e3b969;
    font-size: 27px;
}

.agency-about-highlight strong,
.agency-about-highlight small {
    display: block;
}

.agency-about-highlight strong {
    font-size: 14px;
}

.agency-about-highlight small {
    color: #c4d0e0;
    font-size: 11px;
    margin-top: 5px;
}

/* CONTENT */

.agency-about-tag {
    display: inline-block;
    color: #c69a4c;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2px;
    margin-bottom: 16px;
}

.agency-about-content h2 {
    color: #0a1f44;
    font-size: clamp(32px, 4vw, 45px);
    line-height: 1.2;
    font-weight: 800;
    margin: 0 0 23px;
}

.agency-about-content h2 span {
    color: #c69a4c;
}

.agency-about-content p {
    color: #667085;
    font-size: 15px;
    line-height: 1.85;
    margin-bottom: 16px;
}

.agency-about-content .agency-about-intro {
    color: #344054;
    font-size: 17px;
    font-weight: 500;
}

/* POINTS */

.agency-about-points {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin: 28px 0 32px;
}

.agency-about-points div {
    display: flex;
    align-items: center;
    gap: 9px;
    color: #344054;
    font-size: 13px;
    font-weight: 600;
}

.agency-about-points span {
    color: #c69a4c;
    font-size: 17px;
    font-weight: 800;
}

/* BUTTON */

.agency-about-button {
    display: inline-flex;
    align-items: center;
    gap: 13px;
    padding: 15px 25px;
    background: #0a1f44;
    color: #ffffff !important;
    border-radius: 8px;
    text-decoration: none !important;
    font-size: 14px;
    font-weight: 700;
    transition: all .3s ease;
}

.agency-about-button:hover {
    background: #c69a4c;
    color: #0a1f44 !important;
    transform: translateY(-3px);
}

/* TABLET */

@media (max-width: 900px) {
    .agency-about-container {
        gap: 40px;
    }

    .agency-about-image img {
        height: 400px;
    }
}

/* MOBILE */

@media (max-width: 650px) {
    .agency-about {
        padding: 65px 18px;
    }

    .agency-about-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .agency-about-image img {
        height: 320px;
    }

    .agency-about-content h2 {
        font-size: 33px;
    }

    .agency-about-points {
        grid-template-columns: 1fr;
    }

    .agency-about-highlight {
        right: 0;
        padding: 15px;
    }
}


/* =========================================
   RABEYATECH — PREMIUM FINAL CTA
========================================= */

.agency-cta-premium {
    position: relative;
    overflow: hidden;
    padding: 105px 25px;
    margin: 70px auto;
    border-radius: 26px;
    background:
        radial-gradient(
            circle at 15% 20%,
            rgba(212, 166, 79, 0.16),
            transparent 35%
        ),
        radial-gradient(
            circle at 85% 80%,
            rgba(35, 100, 180, 0.25),
            transparent 35%
        ),
        linear-gradient(135deg, #06152e, #0b2850 60%, #071a36);
    text-align: center;
    color: #ffffff;
}

.agency-cta-inner {
    position: relative;
    z-index: 2;
    max-width: 850px;
    margin: 0 auto;
}

.agency-cta-label {
    display: inline-block;
    padding: 9px 18px;
    margin-bottom: 22px;
    border: 1px solid rgba(221, 181, 105, 0.5);
    border-radius: 50px;
    color: #e2bc72;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
}

.agency-cta-premium h2 {
    color: #ffffff;
    font-size: clamp(34px, 5vw, 56px);
    line-height: 1.15;
    font-weight: 800;
    margin: 0 0 22px;
}

.agency-cta-premium h2 span {
    display: block;
    color: #e3b969;
}

.agency-cta-premium p {
    max-width: 680px;
    margin: 0 auto 32px;
    color: #cbd7e8;
    font-size: 17px;
    line-height: 1.8;
}

.agency-cta-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.agency-cta-primary,
.agency-cta-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px 27px;
    border-radius: 9px;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none !important;
    transition: all 0.3s ease;
}

.agency-cta-primary {
    background: linear-gradient(135deg, #e9c77f, #c9953e);
    color: #071a36 !important;
    box-shadow: 0 8px 25px rgba(211, 164, 78, 0.2);
}

.agency-cta-primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(211, 164, 78, 0.35);
    color: #071a36 !important;
}

.agency-cta-primary span {
    font-size: 21px;
}

.agency-cta-secondary {
    border: 1px solid rgba(255,255,255,0.45);
    color: #ffffff !important;
    background: rgba(255,255,255,0.04);
}

.agency-cta-secondary:hover {
    background: #ffffff;
    color: #071a36 !important;
    transform: translateY(-4px);
}

.agency-cta-services {
    margin-top: 35px;
    color: #aebed2;
    font-size: 12px;
    letter-spacing: 1px;
}

.agency-cta-services span {
    color: #e3b969;
    padding: 0 7px;
}

@media (max-width: 600px) {
    .agency-cta-premium {
        padding: 70px 20px;
        margin: 45px 12px;
        border-radius: 18px;
    }

    .agency-cta-premium p {
        font-size: 15px;
    }

    .agency-cta-buttons {
        flex-direction: column;
    }

    .agency-cta-primary,
    .agency-cta-secondary {
        width: 100%;
        box-sizing: border-box;
    }

    .agency-cta-services {
        line-height: 2.2;
    }
}



/* ---------- TABLET ---------- */

@media (max-width: 1050px) {
    .agency-hero.agency-hero-image {
        padding: 60px 0;
    }

    .agency-hero-image .agency-container {
        width: min(calc(100% - 40px), 1200px);
    }

    .agency-hero-image .agency-hero-layout {
        grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
        gap: 28px;
    }

    .agency-hero-image .agency-hero-content h1 {
        font-size: clamp(34px, 4.5vw, 46px);
        letter-spacing: -1px;
    }

    .agency-hero-image .agency-button,
    .agency-hero-image .agency-secondary-button {
        padding-inline: 16px;
        font-size: 13px;
    }

    .agency-services-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px;
    }
}

/* ---------- MOBILE ---------- */

@media (max-width: 680px) {
    .agency-hero.agency-hero-image {
        padding: 42px 0;
    }

    .agency-hero-image .agency-container {
        width: min(calc(100% - 32px), 560px);
    }

    .agency-hero-image .agency-hero-layout {
        grid-template-columns: minmax(0, 1fr);
        gap: 24px;
    }

    .agency-hero-image .agency-hero-content {
        text-align: center;
    }

    .agency-hero-image .agency-eyebrow {
        justify-content: center;
        margin-bottom: 15px;
    }

    .agency-hero-image .agency-hero-content h1 {
        max-width: 520px;
        margin-inline: auto;
        font-size: clamp(34px, 8.5vw, 44px);
        line-height: 1.13;
        letter-spacing: -1px;
    }

    .agency-hero-image .agency-description {
        margin-inline: auto;
        margin-bottom: 22px;
        font-size: 15px;
        line-height: 1.75;
    }

    .agency-hero-image .agency-hero-actions {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        max-width: 360px;
        margin-inline: auto;
    }

    .agency-hero-image .agency-button,
    .agency-hero-image .agency-secondary-button {
        width: 100%;
        min-height: 50px;
        box-sizing: border-box;
    }

    .agency-hero-image .agency-hero-note {
        margin-top: 16px;
    }

    .agency-hero-image .agency-hero-visual {
        width: 100%;
        padding: 6px;
        border-radius: 13px;
    }

    .agency-hero-image .agency-hero-visual img {
        width: 100%;
        height: auto;
        aspect-ratio: auto;
        object-fit: contain;
        border-radius: 8px;
    }

    .agency-stats {
        padding: 15px 0;
    }

    .agency-services {
        padding: 52px 0;
    }

    .agency-section-heading {
        margin-bottom: 28px;
        text-align: center;
    }

    .agency-section-heading h2 {
        font-size: clamp(28px, 7vw, 35px);
    }

    .agency-section-heading > p:not(.agency-eyebrow) {
        font-size: 15px;
    }

    .agency-services-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 16px;
    }

    .agency-service-card {
        padding: 25px 22px;
    }

    .agency-cta {
        padding: 52px 0;
    }

    .agency-cta-inner > p:not(.agency-eyebrow) {
        font-size: 15px;
    }
}

/* ---------- ACCESSIBILITY ---------- */

@media (prefers-reduced-motion: reduce) {
    .agency-hero-image .agency-hero-visual,
    .agency-hero-image .agency-button,
    .agency-hero-image .agency-secondary-button,
    .agency-service-card {
        transition: none;
    }
}

/* =========================================
   4. SERVICE STRENGTHS STRIP
========================================= */

.agency-stats {
    position: relative;
    padding: 30px 0;
    background: var(--agency-white);
    border-bottom: 1px solid var(--agency-border);
}

.agency-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.agency-stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 12px 18px;
    text-align: center;
    border-right: 1px solid var(--agency-border);
}

.agency-stat-item:last-child {
    border-right: 0;
}

.agency-stat-number {
    color: var(--agency-navy);
    font-size: 25px;
    font-weight: 800;
    letter-spacing: 0.5px;
}

.agency-stat-label {
    color: #64718a;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.6;
}

/* =========================================
   5. SERVICES SECTION
========================================= */

.agency-services {
    padding: 100px 0;
    background: var(--agency-light-bg);
}

.agency-section-heading {
    max-width: 760px;
    margin: 0 auto 55px;
    text-align: center;
}

.agency-section-eyebrow {
    margin: 0 0 15px;
    color: #a77b2c;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2.5px;
}

.agency-section-heading h2 {
    margin: 0 0 20px;
    color: var(--agency-navy);
    font-size: clamp(32px, 4.5vw, 48px);
    font-weight: 800;
    letter-spacing: -1.5px;
    line-height: 1.2;
}

.agency-section-heading h2 span {
    color: #b68b3c;
}

.agency-section-description {
    max-width: 650px;
    margin: 0 auto;
    color: #64718a;
    font-size: 16px;
    line-height: 1.9;
}

.agency-services-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.agency-service-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-width: 0;
    padding: 32px 28px;
    overflow: hidden;
    border: 1px solid var(--agency-border);
    border-radius: var(--agency-radius);
    background: var(--agency-white);
    box-shadow: 0 8px 30px rgba(10, 21, 48, 0.035);
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        border-color 0.3s ease;
}

.agency-service-card::before {
    position: absolute;
    top: 0;
    right: 24px;
    left: 24px;
    height: 3px;
    border-radius: 0 0 4px 4px;
    background: var(--agency-gold);
    content: "";
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.agency-service-card:hover {
    transform: translateY(-7px);
    border-color: rgba(217, 173, 89, 0.55);
    box-shadow: 0 22px 50px rgba(10, 21, 48, 0.10);
}

.agency-service-card:hover::before {
    transform: scaleX(1);
}

.agency-service-icon {
    display: grid;
    width: 58px;
    height: 58px;
    place-items: center;
    margin-bottom: 25px;
    border: 1px solid rgba(217, 173, 89, 0.35);
    border-radius: 13px;
    background: #fff8e9;
    color: #9d742a;
    transition: all 0.3s ease;
}

.agency-service-icon svg {
    width: 28px;
    height: 28px;
}

.agency-service-card:hover .agency-service-icon {
    background: var(--agency-navy);
    color: var(--agency-gold-light);
}

.agency-service-card h3 {
    margin: 0 0 14px;
    color: var(--agency-navy);
    font-size: 19px;
    font-weight: 800;
    line-height: 1.4;
}

.agency-service-card p {
    flex-grow: 1;
    margin: 0 0 24px;
    color: #64718a;
    font-size: 14px;
    line-height: 1.9;
}

.agency-service-card > a {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: #9d742a;
    font-size: 13px;
    font-weight: 800;
}

.agency-service-card > a span {
    transition: transform 0.3s ease;
}

.agency-service-card > a:hover {
    color: var(--agency-navy);
}

.agency-service-card > a:hover span {
    transform: translateX(5px);
}

.agency-services-bottom {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 22px;
    margin-top: 48px;
    text-align: center;
}

.agency-services-bottom p {
    margin: 0;
    color: var(--agency-text);
    font-size: 15px;
    font-weight: 600;
}

/* =========================================
   6. PREMIUM FOOTER
========================================= */

.site-footer {
    position: relative;
    overflow: hidden;
    padding: 76px 0 0;
    background:
        radial-gradient(
            circle at 90% 0%,
            rgba(217, 173, 89, 0.10),
            transparent 30%
        ),
        #071126;
    color: #aebbd0;
}

.site-footer::before {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(
        90deg,
        transparent,
        #d9ad59,
        #f0d18e,
        #d9ad59,
        transparent
    );
    content: "";
}

.footer-main {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.2fr 1.25fr;
    gap: 42px;
    padding-bottom: 58px;
}

.footer-logo {
    margin-bottom: 24px;
}

.footer-brand > p,
.footer-cta-column > p {
    margin: 0 0 22px;
    color: #aebbd0;
    font-size: 14px;
    line-height: 1.9;
}

.footer-contact-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--agency-gold-light);
    font-size: 13px;
    font-weight: 700;
}

.footer-contact-link:hover {
    color: var(--agency-white);
}

.footer-contact-link span {
    transition: transform 0.3s ease;
}

.footer-contact-link:hover span {
    transform: translateX(5px);
}

.footer-column h3 {
    position: relative;
    margin: 0 0 26px;
    padding-bottom: 13px;
    color: var(--agency-white);
    font-size: 16px;
    font-weight: 700;
}

.footer-column h3::after {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 34px;
    height: 2px;
    border-radius: 2px;
    background: var(--agency-gold);
    content: "";
}

.footer-column ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-column li {
    margin: 0 0 13px;
    padding: 0;
}

.footer-column li a {
    display: inline-block;
    color: #aebbd0;
    font-size: 13px;
    line-height: 1.7;
}

.footer-column li a:hover {
    color: var(--agency-gold-light);
    transform: translateX(4px);
}

.footer-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 13px 18px;
    border: 1px solid var(--agency-gold);
    border-radius: 7px;
    background: var(--agency-gold);
    color: #071126;
    font-size: 13px;
    font-weight: 800;
    transition: all 0.3s ease;
}

.footer-button:hover {
    transform: translateY(-2px);
    background: transparent;
    color: var(--agency-gold-light);
}

.footer-button span {
    font-size: 18px;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    padding: 24px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.10);
}

.footer-bottom p {
    margin: 0;
    color: #8998b1;
    font-size: 12px;
    line-height: 1.8;
}

.footer-tagline {
    color: var(--agency-gold) !important;
    letter-spacing: 0.3px;
}

/* =========================================
   7. TABLET RESPONSIVENESS
========================================= */

@media (max-width: 1050px) {
    .header-inner {
        gap: 18px;
    }

    .agency-menu {
        gap: 16px;
    }

    .logo-text {
        font-size: 20px;
    }

    .header-cta {
        padding: 12px 14px;
        font-size: 12px;
    }
}

@media (max-width: 1000px) {
    .footer-main {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 42px 32px;
    }
}

@media (max-width: 900px) {
    .agency-services-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .agency-services {
        padding: 80px 0;
    }
}

/* =========================================
   8. MOBILE RESPONSIVENESS
========================================= */

@media (max-width: 760px) {
    .header-inner {
        min-height: auto;
        flex-wrap: wrap;
        gap: 18px;
        padding-top: 18px;
        padding-bottom: 18px;
    }

    .logo-mark {
        width: 42px;
        height: 42px;
    }

    .logo-text {
        font-size: 20px;
    }

    .main-navigation {
        order: 3;
        width: 100%;
        margin-left: 0;
        overflow-x: auto;
    }

    .agency-menu {
        width: max-content;
        gap: 24px;
    }

    .agency-menu a {
        padding: 7px 0;
        font-size: 13px;
    }

    .agency-hero {
        min-height: auto;
        padding: 85px 0;
    }

    .agency-hero h1 {
        max-width: 650px;
        font-size: clamp(40px, 8vw, 58px);
        letter-spacing: -1.8px;
    }

    .agency-description {
        font-size: 16px;
    }
}

@media (max-width: 700px) {
    .agency-stats {
        padding: 20px 0;
    }

    .agency-stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .agency-stat-item {
        padding: 20px 10px;
        border-bottom: 1px solid var(--agency-border);
    }

    .agency-stat-item:nth-child(2) {
        border-right: 0;
    }

    .agency-stat-item:nth-child(3),
    .agency-stat-item:nth-child(4) {
        border-bottom: 0;
    }

    .agency-stat-number {
        font-size: 23px;
    }
}

@media (max-width: 600px) {
    .agency-container {
        width: min(calc(100% - 30px), var(--agency-container));
    }

    body {
        font-size: 15px;
    }

    .agency-services {
        padding: 65px 0;
    }

    .agency-section-heading {
        margin-bottom: 35px;
        text-align: left;
    }

    .agency-section-heading h2 {
        font-size: 34px;
        letter-spacing: -1px;
    }

    .agency-section-description {
        font-size: 15px;
    }

    .agency-services-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .agency-service-card {
        padding: 27px 24px;
    }

    .agency-services-bottom {
        align-items: stretch;
        flex-direction: column;
        margin-top: 35px;
    }

    .agency-services-bottom .agency-button {
        width: 100%;
    }

    .site-footer {
        padding-top: 55px;
    }

    .footer-main {
        grid-template-columns: 1fr;
        gap: 36px;
        padding-bottom: 38px;
    }

    .footer-brand {
        max-width: 440px;
    }

    .footer-column h3 {
        margin-bottom: 20px;
    }

    .footer-bottom {
        align-items: flex-start;
        flex-direction: column;
        padding: 20px 0;
    }
}

@media (max-width: 480px) {
    .agency-hero {
        padding: 68px 0;
    }

    .agency-eyebrow {
        gap: 8px;
        font-size: 10px;
        letter-spacing: 1.5px;
    }

    .agency-eyebrow::before {
        width: 20px;
    }

    .agency-hero h1 {
        margin-bottom: 20px;
        font-size: 41px;
        letter-spacing: -1.5px;
    }

    .agency-description {
        margin-bottom: 26px;
        font-size: 15px;
        line-height: 1.8;
    }

    .agency-hero-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .agency-button,
    .agency-secondary-button {
        width: 100%;
        padding: 14px 16px;
    }

    .agency-hero-note {
        font-size: 12px;
    }
}

@media (max-width: 380px) {
    .logo-text small {
        font-size: 7px;
        letter-spacing: 1px;
    }

    .header-cta {
        gap: 5px;
        padding: 10px;
    }
}

