/* Adeqa Custom Styles */
:root {
    --primary-color: #f39c12;
    /* Signal Orange */
    --secondary-color: #e74c3c;
    /* Safety Red */
    --bg-dark: #1a1a1a;
    /* Deep Charcoal */
    --text-color: #222;
    --text-light: #fff;
    --bg-light: #f4f4f4;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Open Sans', sans-serif;
    color: var(--text-color);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
}

/* Header Redesign (Premium Fancy) */
.header-section {
    background: linear-gradient(135deg, #101010 0%, #2c3e50 100%) !important;
    /* Deep Premium Gradient */
    border-bottom: 3px solid #d0a97e;
    /* Gold Royal Border */
    padding: 10px 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}

.adeqa-header-title {
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-left: 25px;
}

.header-logo {
    display: flex;
    align-items: center;
}

.header-logo img {
    height: 95px;
    /* Big & Awesome */
    width: auto;
    filter: drop-shadow(0 0 5px rgba(255, 215, 0, 0.3));
    /* Subtle Gold Glow */
    transition: transform 0.3s ease;
}

.header-logo img:hover {
    transform: scale(1.05);
}

/* Typography for Title */
.adeqa-header-title .company-name {
    font-family: 'Oswald', sans-serif;
    font-size: 28px;
    font-weight: 700;
    text-transform: uppercase;
    color: #fff;
    line-height: 1;
    letter-spacing: 1px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.adeqa-header-title .service-line {
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    color: #d0a97e;
    /* Gold Accent */
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 2px;
}

.adeqa-header-title .arabic-title {
    font-family: 'Tahoma', sans-serif;
    font-size: 15px;
    color: #ccc;
    margin-top: 2px;
    letter-spacing: 0;
}

/* Nav Link Hover Enhancement */
.main-menu nav ul li a {
    position: relative;
    padding-bottom: 5px;
}

.main-menu nav ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #d0a97e;
    transition: width 0.3s;
}

.main-menu nav ul li:hover a::after {
    width: 100%;
}

/* Navigation Horizontal Fix */
.main-menu nav ul {
    display: flex;
    justify-content: flex-end;
    /* Horizontal Alignment */
    gap: 30px;
    /* Professional spacing */
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-menu nav ul li {
    margin-left: 0;
    /* Clear old margins */
}

.main-menu nav ul li a {
    color: #ddd !important;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    text-decoration: none;
    transition: color 0.3s;
}

.main-menu nav ul li:hover a {
    color: var(--primary-color) !important;
}

/* Hide E-commerce elements just in case */
.header-cart-wrap,
.wishlist-icon,
.currency-picker {
    display: none !important;
}

/* Hero Section */
.hero-slider .hero-item {
    background-size: cover;
    background-position: center;
    padding: 180px 0;
    position: relative;
}

/* Reduced Overlay for clearer HD images */
.hero-slider .hero-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.2);
    /* Lighter overlay */
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-content h1 {
    font-size: 52px;
    margin-bottom: 20px;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    opacity: 1 !important;
    visibility: visible !important;
}

.hero-content h2 {
    font-size: 28px;
    color: var(--primary-color);
    margin-bottom: 10px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
    opacity: 1 !important;
    visibility: visible !important;
}

.hero-content .btn {
    opacity: 1 !important;
    visibility: visible !important;
}

/* Buttons */
.btn-theme {
    background-color: var(--primary-color) !important;
    color: #fff !important;
    border-color: var(--primary-color) !important;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 5px;
}

.btn-theme:hover {
    background-color: var(--secondary-color) !important;
    border-color: var(--secondary-color) !important;
}

/* Partner Grid Styling */
.partner-item {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 120px;
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
    transition: transform 0.3s ease;
    width: 100%;
}

.partner-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

.partner-item img {
    max-height: 80px;
    max-width: 150px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.partner-grid {
    padding: 60px 0;
}

/* Expertise Counter */
.experience-counter {
    background: var(--bg-light);
    padding: 60px 0;
    text-align: center;
    border-bottom: 4px solid var(--primary-color);
}

.counter-box {
    padding: 20px;
}

.counter-number {
    font-size: 56px;
    font-weight: 700;
    color: var(--primary-color);
    font-family: 'Oswald', sans-serif;
}

.counter-text {
    font-size: 20px;
    font-weight: 600;
    color: #333;
}

/* Contact Section (Strict Bardy Match) */
.contact-info {
    background-color: var(--bg-dark);
    padding: 30px;
    border-radius: 5px;
}

.contact-info h3,
.contact-info h4 {
    color: #fff;
    margin-bottom: 20px;
}

.contact-info ul li {
    border-bottom: 1px solid #333;
    padding-bottom: 15px;
    margin-bottom: 15px;
}

.contact-info ul li:last-child {
    border-bottom: none;
}

.contact-info ul li p,
.contact-info ul li a {
    color: #ccc;
    font-size: 14px;
    margin: 0;
}

.contact-info ul li a:hover {
    color: var(--primary-color);
}

.contact-form-wrap h3 {
    color: var(--text-color);
    font-size: 24px;
    margin-bottom: 10px;
}

.contact-form-wrap p {
    color: #666;
    margin-bottom: 30px;
}

.contact-form input,
.contact-form textarea {
    background: #f9f9f9;
    border: 1px solid #eee;
    padding: 10px 15px;
    border-radius: 5px;
    width: 100%;
    color: #555;
    margin-bottom: 0;
    /* Margin handled by col mb-20 */
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--primary-color);
}

.contact-form button {
    background-color: var(--primary-color);
    color: #fff;
    padding: 12px 30px;
    border: none;
    border-radius: 5px;
    text-transform: uppercase;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s;
}

.contact-form button:hover {
    background-color: var(--secondary-color);
}

/* Services / Product Item Style */
.product-item {
    border: 1px solid #eee;
    transition: all 0.3s ease;
    background: #fff;
}

.product-item:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}

.product-image {
    position: relative;
    overflow: hidden;
}

.product-content {
    padding: 20px;
    text-align: center;
}

.product-content .title a {
    color: var(--text-color);
    font-size: 18px;
    font-weight: 700;
}

.product-content .title a:hover {
    color: var(--primary-color);
}

.product-description p {
    font-size: 14px;
    color: #666;
    margin: 15px 0;
}

.product-action .btn-theme {
    padding: 8px 20px;
    font-size: 13px;
}

/* Services / Expertise */
.service-box {
    border: 1px solid #ddd;
    padding: 30px;
    transition: all 0.3s;
    height: 100%;
    text-align: center;
}

.service-box:hover {
    border-color: var(--primary-color);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.service-icon {
    font-size: 40px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.service-title {
    font-size: 22px;
    margin-bottom: 15px;
}

/* Partner Grid */
.partner-grid {
    padding: 60px 0;
}

.partner-item {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100px;
    border: 1px solid #eee;
    margin-bottom: 30px;
    padding: 10px;
    background: #fff;
    transition: 0.3s;
}

.partner-item:hover {
    border-color: var(--primary-color);
}

.partner-name {
    font-weight: 700;
    color: #555;
    text-align: center;
    font-size: 14px;
}

/* Footer */
.footer-top-section {
    background-color: #222;
    color: #ddd;
    padding: 60px 0;
}

.footer-logo img {
    max-height: 50px;
    margin-bottom: 20px;
}

.footer-widget .title {
    color: #fff;
    margin-bottom: 25px;
}

.footer-contact-info p {
    margin-bottom: 10px;
    color: #bbb;
}

.footer-contact-info i {
    color: var(--primary-color);
    margin-right: 10px;
}

/* --- Adeqa Modern Custom Styles (Homepage Update) --- */

/* Scroll Reveal Animation */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(50px);
    transition: all 1.2s ease-out;
}

.reveal-on-scroll.active {
    opacity: 1;
    transform: translateY(0);
}

/* Floating Badges Animation */
@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0px);
    }
}

.floating-badge {
    animation: float 4s ease-in-out infinite;
    z-index: 2;
}

.floating-badge.badge-1 {
    animation-delay: 0s;
}

.floating-badge.badge-2 {
    animation-delay: 2s;
}

/* Experience Box Hover Effect */
.experience-box {
    transition: all 0.3s ease;
}

.experience-box:hover {
    background: rgba(255, 255, 255, 0.1) !important;
    border-color: #fff !important;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Typography Enhancements */
.text-theme {
    color: #d0a97e !important;
}

.btn-round {
    border-radius: 50px;
}

.about-content-modern .title {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

/* Responsive Fixes for Mobile (iPhone X, etc) */
@media (max-width: 767px) {
    .hero-content h1 {
        font-size: 32px !important;
        line-height: 1.3 !important;
        margin-bottom: 15px;
    }

    .hero-content h2 {
        font-size: 18px !important;
        line-height: 1.4 !important;
        margin-bottom: 8px;
    }

    .adeqa-header-title .company-name {
        font-size: 18px !important;
    }

    .adeqa-header-title .service-line {
        font-size: 11px !important;
    }

    .header-logo img {
        height: 65px !important;
    }

    .hero-slider .hero-item {
        padding: 120px 0;
    }

    .adeqa-header-title {
        margin-left: 15px;
    }
}/* =========================================
   Security Hardening: Utility Classes
   (Replacing Inline Styles for CSP Compliance)
   ========================================= */

/* Page Banners */
.banner-about { background: url('../assets/about-us.jpg') fixed center center / cover; padding: 160px 0; }
.banner-services { background: url('../assets/services.jpg') fixed center center / cover; padding: 160px 0; }
.banner-capabilities { background: url('../assets/project.jpg') fixed center center / cover; padding: 160px 0; }
.banner-contact { background: url('../assets/contact-us.jpg') center center / cover; padding: 100px 0; }

/* Overlays */
.overlay-dark { background: rgba(0,0,0,0.7); position: absolute; top:0; left:0; width:100%; height:100%; }
.overlay-dark-60 { background: rgba(0,0,0,0.6); position: absolute; top:0; left:0; width:100%; height:100%; }

/* Positioning & Z-Index */
.z-2 { z-index: 2; position: relative; }

/* Typography & Fonts */
.font-oswald { font-family: 'Oswald', sans-serif !important; }
.font-oswald-36 { font-family: 'Oswald', sans-serif !important; font-size: 36px !important; }
.contact-header { color: #fff; }
.contact-sub { color: #ddd; font-size: 18px; }

/* Images & Borders */
.border-theme-2 { border: 2px solid #d0a97e; }
.img-max-600 { max-height: 600px; }
.strategic-img { width: 100%; border-radius: 5px; }
.map-iframe { border: 0; width: 100%; height: 200px; }

/* Logistics Badges */
.floating-badge { position: absolute; padding: 10px 20px; font-weight: bold; border-radius: 5px; box-shadow: 0 10px 30px rgba(0,0,0,0.2); }
.badge-pos-1 { top: 10%; right: 10%; background: #d0a97e; color: #222; }
.badge-pos-2 { bottom: 15%; left: 5%; background: #222; color: #fff; }

/* Lists */
.strategic-ul { list-style: circle; margin-left: 20px; line-height: 1.8; }

/* Footer Styles */
.footer-top-bg { background-color: #1a1a1a; }
.footer-logo-img { height: 60px; }
.footer-title-en { color: #fff; margin-top: 10px; }
.footer-title-ar { color: #fff; }
.footer-bottom-bg { background-color: #1a1a1a; padding: 20px 0; border-top: 1px solid #333; }
.footer-copy { color: #666; margin: 0; }

/* Index Specific Styles */
.hero-item-bg { background-image: url('../assets/home.jpg'); }
.banner-about-index { background: url('../assets/about-us.jpg') fixed center center / cover; color: #fff; }
.overlay-dark-85 { background: rgba(0,0,0,0.85); position: absolute; top:0; left:0; width:100%; height:100%; }
.sub-title-style { color: #d0a97e; letter-spacing: 2px; }
.about-title-style { font-size: 42px; line-height: 1.2; font-weight: 700; font-family: 'Oswald', sans-serif !important; }
.about-p-style { font-size: 18px; line-height: 1.8; color: #e0e0e0; }
.exp-box-style { border: 2px solid #d0a97e; background: rgba(255,255,255,0.05); }
.counter-num-style { color: #d0a97e; font-family: 'Oswald', sans-serif !important; }
.bg-light-gray { background-color: #f4f4f4; }
