/* assets/css/main.css */

:root {
    --dgtap-primary: #02402b;    /* Your Corporate Dark Green */
    --dgtap-accent: #20b2aa;     /* Industrial Dark Turquoise Accent */
    --dgtap-dark: #1e2522;       /* Slate Charcoal Elements */
    --dgtap-light: #f8f9fa;      /* Clean background tint */
    --dgtap-white: #ffffff;
}

body {
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    background-color: var(--dgtap-white);
    color: var(--dgtap-dark);
}

/* Header & Navigation Top Utilities */
.dgtap-top-bar {
    background-color: var(--dgtap-dark);
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.85rem;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.dgtap-top-bar a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    transition: color 0.2s ease;
}

.dgtap-top-bar a:hover {
    color: var(--dgtap-accent);
}

.dgtap-navbar {
    background-color: var(--dgtap-white) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    padding: 12px 0;
}

.navbar-brand img {
    max-height: 48px;
    width: auto;
    object-fit: contain;
}

.nav-link {
    color: var(--dgtap-dark) !important;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 8px 16px !important;
    transition: color 0.25s ease;
}

.nav-link:hover, .nav-link.active {
    color: var(--dgtap-accent) !important;
}

.dropdown-menu {
    border: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    padding: 15px;
    min-width: 280px;
}

.dropdown-item {
    font-weight: 500;
    padding: 10px 15px;
    border-radius: 6px;
    color: var(--dgtap-dark);
    transition: all 0.2s ease;
}

.dropdown-item:hover {
    background-color: rgba(32, 178, 170, 0.08);
    color: var(--dgtap-primary);
}

/* Custom layout behaviors for RTL (Arabic) transitions */
html[dir="rtl"] .dropdown-item:hover {
    transform: translateX(-5px);
}
html[dir="ltr"] .dropdown-item:hover {
    transform: translateX(5px);
}

/* Home Hero Interactive Modules */
.hero-section {
    position: relative;
    padding: 140px 0;
    text-align: center;
    color: var(--dgtap-white);
    overflow: hidden;
}

.hero-badge {
    background-color: var(--dgtap-accent);
    color: var(--dgtap-white);
    padding: 6px 18px;
    font-size: 0.85rem;
    font-weight: bold;
    text-transform: uppercase;
    border-radius: 50px;
    letter-spacing: 1px;
    display: inline-block;
    margin-bottom: 25px;
}

.hero-title {
    font-size: 3.25rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-desc {
    font-size: 1.25rem;
    opacity: 0.95;
    max-width: 750px;
    margin: 0 auto 35px auto;
    line-height: 1.6;
}

/* Footer Section Panel styling */
.dgtap-footer {
    background-color: var(--dgtap-dark);
    color: rgba(255, 255, 255, 0.7);
    padding: 60px 0 30px 0;
    border-top: 4px solid var(--dgtap-primary);
}

.dgtap-footer h5 {
    color: var(--dgtap-white);
    font-weight: 600;
    margin-bottom: 20px;
}

.dgtap-footer a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.2s ease;
}

.dgtap-footer a:hover {
    color: var(--dgtap-accent);
}
/* Product Grid Section styling */
.services-section {
    padding: 80px 0;
    background-color: var(--dgtap-light);
}

.section-header-title {
    color: var(--dgtap-primary);
    font-weight: 700;
    font-size: 2.25rem;
    margin-bottom: 40px;
    text-transform: uppercase;
}

.service-card {
    background: var(--dgtap-white);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 25px rgba(0,0,0,0.03);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(2, 64, 43, 0.1);
}

.service-card-img {
    height: 220px;
    object-fit: cover;
    width: 100%;
}

.service-card-body {
    padding: 30px;
}

.service-card-icon {
    font-size: 1.75rem;
    color: var(--dgtap-accent);
    margin-bottom: 15px;
    display: inline-block;
}

.service-card-title {
    color: var(--dgtap-primary);
    font-weight: 700;
    font-size: 1.4rem;
    margin-bottom: 10px;
}

.service-card-tagline {
    font-size: 0.9rem;
    font-weight: 600;
    color: #6c757d;
    margin-bottom: 15px;
}

.service-bullet-list {
    padding-left: 0;
    list-style: none;
    margin-top: 20px;
    font-size: 0.9rem;
}

.service-bullet-list li {
    position: relative;
    padding-bottom: 10px;
    line-height: 1.5;
}

/* Dynamically inject custom custom bullet icons based on direction */
html[dir="ltr"] .service-bullet-list li { padding-left: 20px; text-align: left; }
html[dir="rtl"] .service-bullet-list li { padding-right: 20px; text-align: right; }

html[dir="ltr"] .service-bullet-list li::before {
    content: "→"; position: absolute; left: 0; color: var(--dgtap-accent); font-weight: bold;
}
html[dir="rtl"] .service-bullet-list li::before {
    content: "←"; position: absolute; right: 0; color: var(--dgtap-accent); font-weight: bold;
}

/* Regional Presence Section styling */
.presence-section {
    padding: 80px 0;
    background-color: var(--dgtap-white);
}

.presence-card {
    background: var(--dgtap-light);
    border-radius: 10px;
    padding: 35px;
    border-top: 4px solid var(--dgtap-primary);
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
    height: 100%;
}

.presence-icon {
    font-size: 2.25rem;
    color: var(--dgtap-accent);
    margin-bottom: 20px;
}

.presence-card h4 {
    color: var(--dgtap-primary);
    font-weight: 700;
    margin-bottom: 15px;
}

.presence-card p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #4a5550;
}

/* About Page Specific Layout Elements */
.about-hero-block {
    background-color: var(--dgtap-primary);
    color: var(--dgtap-white);
    padding: 60px 0;
    border-bottom: 4px solid var(--dgtap-accent);
}

.about-body-block {
    padding: 70px 0;
    background-color: var(--dgtap-white);
}

.pillar-card {
    background-color: var(--dgtap-light);
    border-radius: 8px;
    padding: 30px;
    height: 100%;
    border-left: 4px solid var(--dgtap-primary);
}

html[dir="rtl"] .pillar-card {
    border-left: none;
    border-right: 4px solid var(--dgtap-primary);
}

.pillar-card h4 {
    color: var(--dgtap-primary);
    font-weight: 700;
    margin-bottom: 15px;
}
/* Force telephone strings to always render correctly in RTL layouts */
.phone-number-fix {
    direction: ltr !important;
    display: inline-block;
}