/* ===================================
   Godirect - Site Custom Styles
   Brand colors derived from official
   GoDirect logo (LogoGoDirect.png):
   - Brand Red:      #E31E24 ("go" + dot on i)
   - Deep Red:       #B0151B (gradient depth)
   - Brand Grey:     #8A8D8F ("direct" + tagline)
   - Light Grey:     #B3B6B8 (hover / soft accent)
   - Dark Grey:      #6E7173 (accent dark)
   - Charcoal:       #333333 (secondary accent)
   - Off-white:      #FAFAFA (background)
   =================================== */

:root {
    --gd-navy: #E31E24;
    --gd-navy-light: #B0151B;
    --gd-gold: #8A8D8F;
    --gd-gold-light: #B3B6B8;
    --gd-gold-dark: #6E7173;
    --gd-crimson: #333333;
    --gd-crimson-light: #4D4D4D;
    --gd-bg: #FAFAFA;
    --gd-bg-alt: #F4F4F5;
    --gd-text: #1F2937;
    --gd-text-muted: #6B7280;
    --gd-border: #E5E7EB;
    --gd-white: #FFFFFF;
    --gd-success: #10B981;
    --gd-warning: #F59E0B;
    --gd-shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
    --gd-shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
    --gd-shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.15);
    --gd-radius: 0.75rem;
    --gd-radius-lg: 1.25rem;
    --gd-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== Body & Base ===== */
body {
    font-family: 'Cairo', 'Inter', 'Segoe UI', sans-serif;
    color: var(--gd-text);
    background-color: var(--gd-bg);
    line-height: 1.7;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--gd-navy);
    font-weight: 700;
    line-height: 1.3;
}

a {
    color: var(--gd-navy-light);
    text-decoration: none;
    transition: var(--gd-transition);
}

a:hover {
    color: var(--gd-gold);
}

/* ===== Header ===== */
.gd-header {
    background: var(--gd-white);
    box-shadow: var(--gd-shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1020;
}

.gd-navbar {
    padding: 1rem 0;
}

.gd-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--gd-navy) !important;
}

.gd-logo {
    height: 46px;
    width: auto;
    display: block;
}

.gd-brand-text {
    letter-spacing: -0.5px;
}

.gd-brand-accent {
    color: var(--gd-gold);
}

.gd-nav .nav-link {
    color: var(--gd-text) !important;
    font-weight: 600;
    padding: 0.5rem 1rem !important;
    border-radius: var(--gd-radius);
    transition: var(--gd-transition);
}

.gd-nav .nav-link:hover,
.gd-nav .nav-link.active {
    color: var(--gd-navy) !important;
    background-color: rgba(138, 141, 143, 0.12);
}

.gd-lang-switcher .gd-btn-lang {
    border: 1px solid var(--gd-border);
    color: var(--gd-navy);
    background: var(--gd-white);
    font-weight: 600;
    border-radius: var(--gd-radius);
}

.gd-lang-switcher .gd-btn-lang:hover {
    border-color: var(--gd-gold);
    background: rgba(138, 141, 143, 0.1);
}

.gd-user-dropdown .gd-btn-outline {
    border: 1px solid var(--gd-border);
    color: var(--gd-navy);
    background: var(--gd-white);
}

/* ===== Buttons ===== */
.gd-btn-primary {
    background: linear-gradient(135deg, var(--gd-navy) 0%, var(--gd-navy-light) 100%);
    color: var(--gd-white);
    border: none;
    padding: 0.625rem 1.5rem;
    border-radius: var(--gd-radius);
    font-weight: 600;
    transition: var(--gd-transition);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
}

.gd-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(176, 21, 27, 0.35);
    color: var(--gd-white);
}

.gd-btn-outline {
    background: var(--gd-white);
    color: var(--gd-navy);
    border: 2px solid var(--gd-navy);
    padding: 0.5rem 1.25rem;
    border-radius: var(--gd-radius);
    font-weight: 600;
}

.gd-btn-outline:hover {
    background: var(--gd-navy);
    color: var(--gd-white);
    transform: translateY(-1px);
}

.gd-btn-light {
    background: var(--gd-white);
    color: var(--gd-navy);
    border: none;
    padding: 0.625rem 1.5rem;
    border-radius: var(--gd-radius);
    font-weight: 600;
}

.gd-btn-outline-light {
    background: transparent;
    color: var(--gd-white);
    border: 2px solid rgba(255, 255, 255, 0.4);
    padding: 0.5rem 1.25rem;
    border-radius: var(--gd-radius);
    font-weight: 600;
}

.gd-btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--gd-white);
}

/* ===== Hero Section ===== */
.gd-hero {
    background: linear-gradient(135deg, var(--gd-navy) 0%, var(--gd-navy-light) 50%, #9E1216 100%);
    color: var(--gd-white);
    position: relative;
    overflow: hidden;
    padding: 5rem 0 6rem;
}

.gd-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 60%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.14) 0%, transparent 60%);
    pointer-events: none;
}

/* GoDirect brand motif: overlapping rings (from company profile slides) */
.gd-hero::after {
    content: '';
    position: absolute;
    bottom: -180px;
    inset-inline-start: -140px;
    width: 460px;
    height: 460px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.16);
    box-shadow:
        0 0 0 70px rgba(255, 255, 255, 0.05),
        0 0 0 150px rgba(255, 255, 255, 0.035),
        0 0 0 260px rgba(255, 255, 255, 0.02);
    pointer-events: none;
}

.gd-page-hero::after {
    content: '';
    position: absolute;
    top: -190px;
    inset-inline-end: -120px;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.14);
    box-shadow:
        0 0 0 70px rgba(255, 255, 255, 0.05),
        0 0 0 150px rgba(255, 255, 255, 0.03);
    pointer-events: none;
}

.gd-cta-box::after {
    content: '';
    position: absolute;
    top: -160px;
    inset-inline-start: -110px;
    width: 380px;
    height: 380px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.13);
    box-shadow: 0 0 0 70px rgba(255, 255, 255, 0.05);
    pointer-events: none;
}

.gd-auth-page {
    position: relative;
    overflow: hidden;
}

.gd-auth-page::after {
    content: '';
    position: absolute;
    bottom: -170px;
    inset-inline-start: -130px;
    width: 430px;
    height: 430px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.12);
    box-shadow:
        0 0 0 70px rgba(255, 255, 255, 0.045),
        0 0 0 150px rgba(255, 255, 255, 0.03);
    pointer-events: none;
}

.gd-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.35);
    color: #FFFFFF;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.gd-hero-title {
    color: var(--gd-white);
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.gd-hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 2rem;
    max-width: 600px;
}

.gd-hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.gd-hero-trust {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    color: rgba(255, 255, 255, 0.9);
}

.gd-trust-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.gd-trust-item i {
    color: #FFFFFF;
    font-size: 1.2rem;
}

/* Hero Visual Cards */
.gd-hero-visual {
    position: relative;
    height: 400px;
}

.gd-hero-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.95);
    color: var(--gd-text);
    padding: 1.5rem;
    border-radius: var(--gd-radius-lg);
    box-shadow: var(--gd-shadow-lg);
    display: flex;
    align-items: center;
    gap: 1rem;
    backdrop-filter: blur(10px);
    animation: gd-float 4s ease-in-out infinite;
}

.gd-hero-card-1 { top: 10%; right: 10%; animation-delay: 0s; }
.gd-hero-card-2 { top: 40%; left: 5%; animation-delay: 1s; }
.gd-hero-card-3 { bottom: 10%; right: 20%; animation-delay: 2s; }

.gd-hero-card i {
    font-size: 2rem;
    color: var(--gd-navy);
}

.gd-hero-card strong {
    display: block;
    font-size: 1.5rem;
    color: #1F2937;
}

.gd-hero-card span {
    font-size: 0.85rem;
    color: var(--gd-text-muted);
}

.gd-hero-orb {
    position: absolute;
    top: 30%;
    left: 30%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.35) 0%, transparent 70%);
    border-radius: 50%;
    opacity: 0.3;
    animation: gd-pulse 3s ease-in-out infinite;
}

@keyframes gd-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

@keyframes gd-pulse {
    0%, 100% { transform: scale(1); opacity: 0.3; }
    50% { transform: scale(1.1); opacity: 0.5; }
}

.gd-hero-wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    line-height: 0;
}

.gd-hero-wave svg {
    width: 100%;
    height: 80px;
    display: block;
}

/* ===== Stats Section ===== */
.gd-stats {
    padding: 3rem 0;
    background: var(--gd-bg);
    margin-top: -40px;
    position: relative;
    z-index: 2;
}

.gd-stat-card {
    background: var(--gd-white);
    border-radius: var(--gd-radius-lg);
    padding: 2rem;
    text-align: center;
    box-shadow: var(--gd-shadow-md);
    transition: var(--gd-transition);
    border: 1px solid var(--gd-border);
}

.gd-stat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--gd-shadow-lg);
}

.gd-stat-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--gd-navy), var(--gd-navy-light));
    color: var(--gd-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.5rem;
}

.gd-stat-value {
    font-size: 2.5rem;
    color: var(--gd-navy);
    margin-bottom: 0.5rem;
    font-weight: 800;
}

.gd-stat-label {
    color: var(--gd-text-muted);
    font-weight: 500;
    margin: 0;
}

/* ===== Sections ===== */
.gd-section {
    padding: 5rem 0;
}

.gd-section-alt {
    background: var(--gd-bg-alt);
}

.gd-section-header {
    max-width: 700px;
    margin: 0 auto;
}

.gd-section-tag {
    display: inline-block;
    background: rgba(227, 30, 36, 0.09);
    color: var(--gd-navy);
    padding: 0.375rem 1rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.gd-section-title {
    font-size: 2.5rem;
    color: var(--gd-navy);
    margin-bottom: 1rem;
    font-weight: 800;
}

.gd-section-desc {
    font-size: 1.1rem;
    color: var(--gd-text-muted);
    line-height: 1.7;
}

.gd-text {
    color: var(--gd-text);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.gd-text-large {
    font-size: 1.15rem;
    color: var(--gd-text);
    line-height: 1.9;
    margin-bottom: 1.5rem;
}

/* ===== Service Cards ===== */
.gd-service-card {
    background: var(--gd-white);
    border-radius: var(--gd-radius-lg);
    padding: 2rem;
    box-shadow: var(--gd-shadow-sm);
    border: 1px solid var(--gd-border);
    transition: var(--gd-transition);
    height: 100%;
    position: relative;
    overflow: hidden;
}

.gd-service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gd-navy);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.gd-service-card:hover::before {
    transform: scaleX(1);
}

.gd-service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--gd-shadow-lg);
}

.gd-service-card.gd-service-gold::before { background: var(--gd-gold); }
.gd-service-card.gd-service-crimson::before { background: var(--gd-crimson); }

.gd-service-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--gd-navy), var(--gd-navy-light));
    color: var(--gd-white);
    border-radius: var(--gd-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.gd-service-gold .gd-service-icon {
    background: linear-gradient(135deg, var(--gd-gold), var(--gd-gold-dark));
}

.gd-service-crimson .gd-service-icon {
    background: linear-gradient(135deg, var(--gd-crimson), #1F2123);
}

.gd-service-title {
    color: var(--gd-navy);
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.gd-service-desc {
    color: var(--gd-text-muted);
    margin-bottom: 1.25rem;
}

.gd-service-link {
    color: var(--gd-navy-light);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.gd-service-link:hover {
    color: var(--gd-gold);
    gap: 0.5rem;
}

/* ===== About Preview ===== */
.gd-about-list {
    list-style: none;
    padding: 0;
}

.gd-about-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    font-weight: 500;
}

.gd-about-list i {
    color: var(--gd-gold);
    font-size: 1.25rem;
}

.gd-about-grid {
    display: grid;
    gap: 1.5rem;
}

.gd-about-item {
    background: var(--gd-white);
    border-radius: var(--gd-radius-lg);
    padding: 1.75rem;
    box-shadow: var(--gd-shadow-md);
    border-inline-start: 4px solid var(--gd-navy);
    transition: var(--gd-transition);
}

.gd-about-item:hover {
    transform: translateX(5px);
    box-shadow: var(--gd-shadow-lg);
}

.gd-about-item-primary { border-inline-start-color: var(--gd-navy); }
.gd-about-item-gold { border-inline-start-color: var(--gd-gold); }
.gd-about-item-crimson { border-inline-start-color: var(--gd-crimson); }

.gd-about-item i {
    font-size: 1.5rem;
    color: var(--gd-gold);
    margin-bottom: 1rem;
    display: block;
}

.gd-about-item h4 {
    margin-bottom: 0.5rem;
}

/* ===== Testimonials ===== */
.gd-testimonial-card {
    background: var(--gd-white);
    border-radius: var(--gd-radius-lg);
    padding: 2rem;
    box-shadow: var(--gd-shadow-md);
    height: 100%;
    border: 1px solid var(--gd-border);
    position: relative;
}

.gd-testimonial-card::before {
    content: '"';
    position: absolute;
    top: 0.5rem;
    inset-inline-end: 1.5rem;
    font-size: 4rem;
    color: var(--gd-gold);
    opacity: 0.2;
    font-family: Georgia, serif;
    line-height: 1;
}

.gd-testimonial-stars {
    color: var(--gd-gold);
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.gd-testimonial-quote {
    color: var(--gd-text);
    font-style: italic;
    margin-bottom: 1.5rem;
    line-height: 1.8;
    position: relative;
    z-index: 1;
}

.gd-testimonial-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.gd-testimonial-avatar {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--gd-navy), var(--gd-navy-light));
    color: var(--gd-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.gd-testimonial-author strong {
    display: block;
    color: var(--gd-navy);
}

.gd-testimonial-author small {
    color: var(--gd-text-muted);
}

/* ===== CTA Section ===== */
.gd-cta-section {
    padding: 5rem 0;
    background: var(--gd-bg-alt);
}

.gd-cta-box {
    background: linear-gradient(135deg, var(--gd-navy) 0%, var(--gd-navy-light) 100%);
    border-radius: var(--gd-radius-lg);
    padding: 3.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.gd-cta-box::before {
    content: '';
    position: absolute;
    top: -50%;
    inset-inline-end: -10%;
    width: 50%;
    height: 200%;
    background: radial-gradient(circle, rgba(138, 141, 143, 0.22) 0%, transparent 60%);
}

.gd-cta-content {
    position: relative;
    z-index: 1;
}

.gd-cta-content h2 {
    color: var(--gd-white);
    font-size: 2.25rem;
    margin-bottom: 1rem;
}

.gd-cta-content p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.gd-cta-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.gd-cta-box-small {
    background: linear-gradient(135deg, var(--gd-gold-light) 0%, var(--gd-gold) 100%);
    color: var(--gd-white);
    border-radius: var(--gd-radius);
    padding: 2rem;
    text-align: center;
}

.gd-cta-box-small h4 {
    color: var(--gd-white);
    margin-bottom: 0.5rem;
}

.gd-cta-box-small p {
    margin-bottom: 1rem;
}

/* ===== Page Hero ===== */
.gd-page-hero {
    background: linear-gradient(135deg, var(--gd-navy) 0%, var(--gd-navy-light) 100%);
    color: var(--gd-white);
    padding: 5rem 0 4rem;
    position: relative;
    overflow: hidden;
}

.gd-page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 70% 30%, rgba(138, 141, 143, 0.18) 0%, transparent 50%);
}

.gd-page-hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.gd-page-hero .gd-section-tag {
    background: rgba(255, 255, 255, 0.14);
    color: #FFFFFF;
    border: 1px solid rgba(255, 255, 255, 0.35);
}

.gd-page-title {
    color: var(--gd-white);
    font-size: 2.75rem;
    margin: 1rem 0;
    font-weight: 800;
}

.gd-page-subtitle {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.15rem;
}

.gd-page-hero-gold {
    background: linear-gradient(135deg, var(--gd-gold-dark) 0%, var(--gd-gold) 100%);
}

.gd-page-hero-crimson {
    background: linear-gradient(135deg, var(--gd-crimson) 0%, #1F2123 100%);
}

/* ===== Breadcrumb ===== */
.gd-breadcrumb {
    justify-content: center;
    margin-bottom: 1rem;
}

.gd-breadcrumb a {
    color: rgba(255, 255, 255, 0.85);
}

.gd-breadcrumb .active {
    color: var(--gd-white);
}

.gd-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.5);
    content: "›";
}

/* ===== Service Hero Icon ===== */
.gd-service-hero-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.4);
    color: #FFFFFF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 1rem;
}

/* ===== Features List ===== */
.gd-features-list {
    list-style: none;
    padding: 0;
}

.gd-features-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    color: var(--gd-text);
}

.gd-features-list i {
    color: var(--gd-success);
    margin-top: 0.25rem;
}

/* ===== Sidebar ===== */
.gd-service-sidebar {
    position: sticky;
    top: 100px;
}

.gd-sidebar-card {
    background: var(--gd-white);
    border: 1px solid var(--gd-border);
    border-radius: var(--gd-radius-lg);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: var(--gd-shadow-sm);
}

.gd-sidebar-card h4 {
    color: var(--gd-navy);
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--gd-border);
}

.gd-sidebar-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.gd-sidebar-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--gd-border);
}

.gd-sidebar-list li:last-child {
    border-bottom: none;
}

.gd-sidebar-list span {
    color: var(--gd-text-muted);
}

.gd-sidebar-list strong {
    color: var(--gd-navy);
}

.gd-sidebar-card-cta {
    background: linear-gradient(135deg, var(--gd-navy), var(--gd-navy-light));
    color: var(--gd-white);
}

.gd-sidebar-card-cta h4 {
    color: var(--gd-white);
    border-bottom-color: rgba(255, 255, 255, 0.2);
}

.gd-sidebar-card-cta .gd-btn-outline {
    color: var(--gd-white);
    border-color: rgba(255, 255, 255, 0.4);
    background: transparent;
}

.gd-sidebar-card-cta .gd-btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* ===== About Image Grid ===== */
.gd-about-image-grid {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: repeat(2, 1fr);
}

.gd-about-image-card {
    background: linear-gradient(135deg, var(--gd-navy), var(--gd-navy-light));
    color: var(--gd-white);
    border-radius: var(--gd-radius-lg);
    padding: 2rem;
    text-align: center;
    box-shadow: var(--gd-shadow-md);
}

.gd-about-image-stat {
    grid-column: span 2;
    background: linear-gradient(135deg, var(--gd-gold), var(--gd-gold-dark));
}

.gd-about-image-card i {
    font-size: 2.5rem;
    color: var(--gd-gold-light);
    margin-bottom: 1rem;
}

.gd-about-image-stat i {
    color: var(--gd-white);
}

.gd-about-image-card strong {
    display: block;
    font-size: 2.5rem;
    color: var(--gd-white);
}

.gd-about-image-card span {
    color: rgba(255, 255, 255, 0.85);
}

/* ===== Value Cards ===== */
.gd-value-card {
    background: var(--gd-white);
    border-radius: var(--gd-radius-lg);
    padding: 2.5rem;
    text-align: center;
    height: 100%;
    box-shadow: var(--gd-shadow-md);
    border-top: 4px solid var(--gd-navy);
    transition: var(--gd-transition);
}

.gd-value-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--gd-shadow-lg);
}

.gd-value-vision { border-top-color: var(--gd-navy); }
.gd-value-mission { border-top-color: var(--gd-gold); }
.gd-value-values { border-top-color: var(--gd-crimson); }

.gd-value-icon {
    width: 72px;
    height: 72px;
    background: linear-gradient(135deg, var(--gd-navy), var(--gd-navy-light));
    color: var(--gd-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin: 0 auto 1.5rem;
}

.gd-value-mission .gd-value-icon {
    background: linear-gradient(135deg, var(--gd-gold), var(--gd-gold-dark));
}

.gd-value-values .gd-value-icon {
    background: linear-gradient(135deg, var(--gd-crimson), #1F2123);
}

/* ===== Team Cards ===== */
.gd-team-card {
    background: var(--gd-white);
    border-radius: var(--gd-radius-lg);
    padding: 2rem 1.5rem;
    text-align: center;
    box-shadow: var(--gd-shadow-md);
    transition: var(--gd-transition);
}

.gd-team-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--gd-shadow-lg);
}

.gd-team-avatar {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gd-navy), var(--gd-navy-light));
    color: var(--gd-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1rem;
    border: 4px solid var(--gd-white);
    box-shadow: var(--gd-shadow-md);
}

.gd-team-avatar-gold {
    background: linear-gradient(135deg, var(--gd-gold), var(--gd-gold-dark));
}

.gd-team-avatar-crimson {
    background: linear-gradient(135deg, var(--gd-crimson), #1F2123);
}

.gd-team-name {
    color: var(--gd-navy);
    margin-bottom: 0.25rem;
}

.gd-team-role {
    color: var(--gd-text-muted);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.gd-team-social {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
}

.gd-team-social a {
    width: 36px;
    height: 36px;
    background: var(--gd-bg-alt);
    color: var(--gd-navy);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--gd-transition);
}

.gd-team-social a:hover {
    background: var(--gd-navy);
    color: var(--gd-white);
}

/* ===== Advantage Cards ===== */
.gd-advantage-card {
    background: var(--gd-white);
    border-radius: var(--gd-radius-lg);
    padding: 2rem;
    height: 100%;
    border: 1px solid var(--gd-border);
    transition: var(--gd-transition);
}

.gd-advantage-card:hover {
    border-color: var(--gd-gold);
    box-shadow: var(--gd-shadow-md);
}

.gd-advantage-icon {
    width: 56px;
    height: 56px;
    background: rgba(227, 30, 36, 0.09);
    color: var(--gd-navy);
    border-radius: var(--gd-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.25rem;
}

.gd-advantage-card h4 {
    color: var(--gd-navy);
    margin-bottom: 0.75rem;
}

.gd-advantage-card p {
    color: var(--gd-text-muted);
    margin: 0;
}

/* ===== Process Cards ===== */
.gd-process-card {
    background: var(--gd-white);
    border-radius: var(--gd-radius-lg);
    padding: 2.5rem 1.5rem;
    text-align: center;
    height: 100%;
    box-shadow: var(--gd-shadow-sm);
    position: relative;
    transition: var(--gd-transition);
}

.gd-process-card:hover {
    box-shadow: var(--gd-shadow-lg);
    transform: translateY(-3px);
}

.gd-process-number {
    position: absolute;
    top: 1rem;
    inset-inline-end: 1.5rem;
    font-size: 3rem;
    font-weight: 800;
    color: var(--gd-gold);
    opacity: 0.2;
    line-height: 1;
}

.gd-process-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--gd-navy), var(--gd-navy-light));
    color: var(--gd-white);
    border-radius: var(--gd-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto 1rem;
}

.gd-process-card h4 {
    color: var(--gd-navy);
    margin-bottom: 0.5rem;
}

.gd-process-card p {
    color: var(--gd-text-muted);
    margin: 0;
}

/* ===== Contact Page ===== */
.gd-contact-list {
    margin-bottom: 2rem;
}

.gd-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.25rem;
    background: var(--gd-white);
    border-radius: var(--gd-radius);
    margin-bottom: 1rem;
    box-shadow: var(--gd-shadow-sm);
    border-inline-start: 3px solid var(--gd-navy);
}

.gd-contact-item-gold { border-inline-start-color: var(--gd-gold); }
.gd-contact-item-crimson { border-inline-start-color: var(--gd-crimson); }

.gd-contact-icon {
    width: 48px;
    height: 48px;
    background: rgba(227, 30, 36, 0.08);
    color: var(--gd-navy);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.gd-contact-item-gold .gd-contact-icon {
    background: rgba(138, 141, 143, 0.18);
    color: var(--gd-gold-dark);
}

.gd-contact-item-crimson .gd-contact-icon {
    background: rgba(51, 51, 51, 0.08);
    color: var(--gd-crimson);
}

.gd-contact-item h4 {
    color: var(--gd-navy);
    margin-bottom: 0.25rem;
    font-size: 1rem;
}

.gd-contact-item p {
    color: var(--gd-text-muted);
    margin: 0;
    font-size: 0.95rem;
}

/* ===== Contact Form ===== */
.gd-contact-form-wrapper {
    background: var(--gd-white);
    border-radius: var(--gd-radius-lg);
    padding: 2.5rem;
    box-shadow: var(--gd-shadow-md);
}

.gd-form-group {
    position: relative;
}

.gd-input {
    border: 2px solid var(--gd-border);
    border-radius: var(--gd-radius);
    padding: 1rem 0.75rem;
    transition: var(--gd-transition);
    background: var(--gd-bg);
}

.gd-input:focus {
    border-color: var(--gd-navy);
    background: var(--gd-white);
    box-shadow: 0 0 0 3px rgba(227, 30, 36, 0.12);
}

/* ===== Social ===== */
.gd-social {
    display: flex;
    gap: 0.75rem;
}

.gd-social a {
    width: 40px;
    height: 40px;
    background: rgba(227, 30, 36, 0.08);
    color: var(--gd-navy);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--gd-transition);
}

.gd-social a:hover {
    background: var(--gd-navy);
    color: var(--gd-white);
    transform: translateY(-2px);
}

/* ===== Map ===== */
.gd-map-section {
    margin-top: 5rem;
}

.gd-map-container {
    overflow: hidden;
    border-radius: 0;
    position: relative; /* needed for floating "Open in Google Maps" button */
}

/* ===== Auth Pages ===== */
.gd-auth-page {
    background: linear-gradient(135deg, var(--gd-navy) 0%, var(--gd-navy-light) 100%);
    min-height: 100vh;
}

.gd-auth-card {
    background: var(--gd-white);
    border-radius: var(--gd-radius-lg);
    padding: 2.5rem;
    box-shadow: var(--gd-shadow-lg);
    max-width: 480px;
    margin: 0 auto;
}

.gd-auth-header {
    text-align: center;
    margin-bottom: 2rem;
}

.gd-auth-logo {
    font-size: 2rem;
    font-weight: 800;
    color: var(--gd-navy);
    display: inline-block;
    margin-bottom: 1rem;
}

.gd-auth-title {
    color: var(--gd-navy);
    margin-bottom: 0.5rem;
}

.gd-auth-subtitle {
    color: var(--gd-text-muted);
    margin: 0;
}

.gd-auth-form .form-control {
    border: 2px solid var(--gd-border);
    padding: 0.75rem 1rem;
}

.gd-auth-form .form-control:focus {
    border-color: var(--gd-navy);
    box-shadow: 0 0 0 3px rgba(227, 30, 36, 0.12);
}

.gd-auth-footer {
    text-align: center;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--gd-border);
}

.gd-link {
    color: var(--gd-navy-light);
    font-weight: 600;
}

.gd-link:hover {
    color: var(--gd-gold);
}

/* ===== Footer ===== */
.gd-footer {
    background: var(--gd-navy);
    color: rgba(255, 255, 255, 0.8);
    padding: 4rem 0 1.5rem;
    margin-top: auto;
}

.gd-footer-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--gd-white);
}

.gd-footer-logo {
    height: 52px;
    width: auto;
    display: block;
}

.gd-footer-text {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    margin: 1rem 0;
}

.gd-footer-title {
    color: var(--gd-white);
    font-size: 1.1rem;
    margin-bottom: 1.25rem;
    font-weight: 700;
}

.gd-footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.gd-footer-links li {
    margin-bottom: 0.5rem;
}

.gd-footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--gd-transition);
}

.gd-footer-links a:hover {
    color: #FFFFFF;
    padding-inline-start: 5px;
}

.gd-footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.gd-footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.7);
}

.gd-footer-contact i {
    color: rgba(255, 255, 255, 0.9);
    margin-top: 0.25rem;
}

.gd-footer-contact a {
    color: rgba(255, 255, 255, 0.7);
}

.gd-footer .gd-social a {
    background: rgba(255, 255, 255, 0.1);
    color: var(--gd-white);
}

.gd-footer .gd-social a:hover {
    background: #FFFFFF;
    color: var(--gd-navy);
}

.gd-footer-divider {
    border-color: rgba(255, 255, 255, 0.1);
    margin: 2rem 0 1.5rem;
}

.gd-footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

.gd-footer-credit i {
    color: var(--gd-crimson);
}

/* ===== Admin Dashboard ===== */
.gd-admin-page {
    background: var(--gd-bg-alt);
    min-height: 100vh;
}

.gd-admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
}

.gd-admin-header h1 {
    color: var(--gd-navy);
    font-size: 1.75rem;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.gd-stat-card-mini {
    background: var(--gd-white);
    border-radius: var(--gd-radius-lg);
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: var(--gd-shadow-sm);
    border: 1px solid var(--gd-border);
}

.gd-stat-card-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--gd-radius);
    background: linear-gradient(135deg, var(--gd-navy), var(--gd-navy-light));
    color: var(--gd-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.gd-stat-card-gold .gd-stat-card-icon {
    background: linear-gradient(135deg, var(--gd-gold), var(--gd-gold-dark));
}

.gd-stat-card-crimson .gd-stat-card-icon {
    background: linear-gradient(135deg, var(--gd-crimson), #1F2123);
}

.gd-stat-card-success .gd-stat-card-icon {
    background: linear-gradient(135deg, var(--gd-success), #059669);
}

.gd-stat-card-mini h3 {
    font-size: 1.75rem;
    color: var(--gd-navy);
    margin: 0;
}

.gd-stat-card-mini p {
    color: var(--gd-text-muted);
    margin: 0;
    font-size: 0.9rem;
}

.gd-stat-card-badge {
    display: inline-block;
    background: rgba(245, 158, 11, 0.1);
    color: var(--gd-warning);
    padding: 0.125rem 0.5rem;
    border-radius: 50px;
    font-size: 0.75rem;
    margin-top: 0.25rem;
}

.gd-quick-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.gd-quick-action {
    flex: 1;
    min-width: 120px;
    background: var(--gd-white);
    border: 1px solid var(--gd-border);
    border-radius: var(--gd-radius);
    padding: 1rem;
    text-align: center;
    color: var(--gd-navy);
    transition: var(--gd-transition);
}

.gd-quick-action:hover {
    border-color: var(--gd-gold);
    color: var(--gd-navy);
    transform: translateY(-2px);
    box-shadow: var(--gd-shadow-sm);
}

.gd-quick-action i {
    font-size: 1.5rem;
    color: var(--gd-gold);
    display: block;
    margin-bottom: 0.5rem;
}

.gd-admin-card {
    background: var(--gd-white);
    border-radius: var(--gd-radius-lg);
    box-shadow: var(--gd-shadow-sm);
    border: 1px solid var(--gd-border);
    overflow: hidden;
}

.gd-admin-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid var(--gd-border);
}

.gd-admin-card-header h2 {
    font-size: 1.25rem;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.gd-admin-card-body {
    padding: 1.5rem;
}

.gd-table {
    margin: 0;
}

.gd-table thead {
    background: var(--gd-bg-alt);
}

.gd-table thead th {
    color: var(--gd-navy);
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 1rem;
    border-bottom: 2px solid var(--gd-border);
}

.gd-table tbody td {
    padding: 1rem;
    vertical-align: middle;
    border-bottom: 1px solid var(--gd-border);
}

.gd-row-unread {
    background: rgba(227, 30, 36, 0.05);
}

.gd-message-list,
.gd-file-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.gd-message-list li {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    border-bottom: 1px solid var(--gd-border);
}

.gd-message-unread {
    background: rgba(227, 30, 36, 0.05);
}

.gd-message-avatar {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--gd-navy), var(--gd-navy-light));
    color: var(--gd-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
}

.gd-message-content {
    flex: 1;
    min-width: 0;
}

.gd-message-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.25rem;
}

.gd-message-header small {
    color: var(--gd-text-muted);
}

.gd-message-subject {
    color: var(--gd-navy);
    margin: 0 0 0.25rem;
    font-weight: 600;
}

.gd-message-preview {
    color: var(--gd-text-muted);
    margin: 0;
    font-size: 0.875rem;
}

.gd-file-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--gd-border);
}

.gd-file-icon {
    width: 40px;
    height: 40px;
    background: var(--gd-bg-alt);
    color: var(--gd-navy);
    border-radius: var(--gd-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.gd-file-info {
    flex: 1;
    min-width: 0;
}

.gd-file-info strong {
    display: block;
    color: var(--gd-navy);
}

.gd-file-info small {
    color: var(--gd-text-muted);
}

/* ===== Error Page ===== */
.gd-error-page {
    text-align: center;
    padding: 3rem;
}

.gd-error-code {
    font-size: 6rem;
    font-weight: 800;
    color: var(--gd-navy);
    margin: 0;
    line-height: 1;
}

.gd-error-title {
    color: var(--gd-navy);
    margin-bottom: 1rem;
}

.gd-error-message {
    color: var(--gd-text-muted);
    max-width: 500px;
    margin: 0 auto 1.5rem;
}

/* ===== Responsive ===== */
@media (max-width: 991.98px) {
    .gd-hero-title { font-size: 2.5rem; }
    .gd-section-title { font-size: 2rem; }
    .gd-page-title { font-size: 2.25rem; }
}

@media (max-width: 767.98px) {
    .gd-hero { padding: 3rem 0 4rem; }
    .gd-hero-title { font-size: 2rem; }
    .gd-hero-subtitle { font-size: 1rem; }
    .gd-section { padding: 3rem 0; }
    .gd-section-title { font-size: 1.75rem; }
    .gd-page-title { font-size: 1.75rem; }
    .gd-page-hero { padding: 3rem 0; }
    .gd-cta-box { padding: 2rem 1.5rem; }
    .gd-cta-content h2 { font-size: 1.5rem; }
    .gd-contact-form-wrapper { padding: 1.5rem; }
    .gd-auth-card { padding: 1.5rem; }
    .gd-footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    .gd-about-image-grid { grid-template-columns: 1fr; }
    .gd-about-image-stat { grid-column: span 1; }
    .gd-admin-header { flex-direction: column; align-items: flex-start; }
}

/* ===== Utility ===== */
.min-vh-75 { min-height: 75vh; }
.text-center { text-align: center !important; }


/* ===== Client Brands Strip ===== */
.gd-clients-section {
    padding: 4rem 0;
    background: var(--gd-white);
    border-top: 1px solid var(--gd-border);
    border-bottom: 1px solid var(--gd-border);
}

.gd-clients-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

.gd-client-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--gd-white);
    border: 1px solid var(--gd-border);
    color: var(--gd-text);
    font-weight: 700;
    font-size: 1rem;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    box-shadow: var(--gd-shadow-sm);
    transition: var(--gd-transition);
}

.gd-client-chip i {
    color: var(--gd-gold);
    font-size: 1.1rem;
}

.gd-client-chip:hover {
    border-color: var(--gd-navy);
    color: var(--gd-navy);
    transform: translateY(-3px);
    box-shadow: var(--gd-shadow-md);
}

/* ===== Coverage badges (About page) ===== */
.gd-coverage-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.gd-coverage-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(138, 141, 143, 0.14);
    color: var(--gd-text);
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0.35rem 0.85rem;
    border-radius: 50px;
}

.gd-coverage-badge i {
    color: var(--gd-navy);
    font-size: 0.9rem;
}

/* ===== Service Detail Items (bullet paragraphs) ===== */
.gd-service-detail-item {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    color: var(--gd-text);
    line-height: 1.8;
    margin-bottom: 0.5rem;
    font-size: 1.05rem;
}

.gd-service-detail-item i {
    color: var(--gd-navy);
    margin-top: 0.3rem;
    flex-shrink: 0;
}

/* ===== File Preview Modal Content ===== */
.gd-transcript-box {
    background: linear-gradient(135deg, rgba(212, 161, 73, 0.05) 0%, rgba(200, 16, 46, 0.05) 100%);
    border-right: 4px solid var(--gd-gold, #D4A149) !important;
    line-height: 1.9;
    font-size: 1rem;
    color: var(--gd-text);
    white-space: pre-wrap;
    word-wrap: break-word;
}

.gd-slide-card {
    background: #fff;
    transition: box-shadow .2s ease, transform .2s ease;
}

.gd-slide-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transform: translateY(-1px);
}

.gd-slide-card h6 {
    border-bottom: 2px solid var(--gd-navy, #0A2540);
    padding-bottom: 0.4rem;
}

.gd-docx-content p {
    margin-bottom: 0.6rem;
    line-height: 1.85;
    color: var(--gd-text);
}

.gd-doc-content {
    font-family: 'Cairo', 'Segoe UI', sans-serif;
    line-height: 1.85;
    color: var(--gd-text);
}

/* Compact preview snippet shown in table cells */
.gd-preview-snippet {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 4px;
    padding: 0.5rem 0.75rem;
    font-size: 0.85rem;
    color: #495057;
    max-height: 80px;
    overflow: hidden;
    position: relative;
}

.gd-preview-snippet::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 20px;
    background: linear-gradient(transparent, #f8f9fa);
}

/* Make audio controls smaller and themed */
audio::-webkit-media-controls-panel {
    background-color: #f8f9fa;
}

/* Fix purple helper class if missing */
.text-purple {
    color: #7c3aed !important;
}

/* ===== Job Application Form Section Titles ===== */
.gd-form-section-title {
    color: var(--gd-navy, #0A2540);
    font-weight: 700;
    border-bottom: 2px solid var(--gd-gold, #D4A149);
    padding-bottom: 0.5rem;
    margin-top: 1.5rem;
}

.gd-form-section-title i {
    color: var(--gd-gold, #D4A149);
    margin-left: 0.5rem;
}

[dir="rtl"] .gd-form-section-title i {
    margin-left: 0;
    margin-right: 0.5rem;
}
