/* Engineering Theme Adjustments */
@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;600;700;800&family=Roboto:wght@400;500;700&display=swap');

/* Apply geometric fonts to everything */
body, h1, h2, h3, h4, h5, h6, .site-button, a, p, span, div, li, strong {
    font-family: 'Cairo', 'Roboto', sans-serif !important;
}

/* Sharp Edges / No Border Radius for structured feel */
.site-button, .btn, .form-control, .wt-box, .wt-icon-box-wraper, .img-responsive, img, .bg-white, .radius-sm, .radius-md, .radius-bx, .testimonial-pic, .testimonial-text {
    border-radius: 0 !important;
}

/* Subtle Grid Background Pattern Removed */
.bg-secondry {
    /* Removed linear-gradient grid */
}

.section-full, .bg-gray, .footer-bottom {
    /* Removed linear-gradient grid */
}

/* Structured Hover Effects (Linear instead of soft curves) */
.site-button, .wt-icon-box-wraper {
    transition: all 0.1s linear !important;
}
.site-button:hover {
    transform: translate(-2px, -2px) !important;
    box-shadow: 2px 2px 0px 0px rgba(0,0,0,0.2) !important;
}

/* Sticky header logo fix */
.is-fixed .logo-header img {
    max-height: 60px !important;
    transition: all 0.3s ease;
}
.is-fixed .logo-header {
    height: auto !important;
    display: flex;
    align-items: center;
}
.logo-header img {
    transition: all 0.3s ease;
}

/* Luxury Engineering Partners Section */
.engineering-partners-section {
    background-color: #0b1a20 !important; /* Very dark luxury teal */
    background-image: 
      linear-gradient(rgba(193, 155, 98, 0.05) 1px, transparent 1px),
      linear-gradient(90deg, rgba(193, 155, 98, 0.05) 1px, transparent 1px) !important;
    background-size: 30px 30px !important;
    position: relative;
    border-top: 3px solid #c0955b;
    border-bottom: 3px solid #c0955b;
}

.engineering-partners-section .section-head h2 {
    color: #ffffff !important;
    text-shadow: 0px 2px 4px rgba(0,0,0,0.5);
}

.engineering-partners-section .section-head p {
    color: rgba(255, 255, 255, 0.7) !important;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

.engineering-partners-section .wt-separator.style-square span {
    background-color: #c0955b !important;
}

/* Partner Logo Luxury Cards */
.engineering-partner-logo {
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid rgba(192, 149, 91, 0.2) !important;
    border-radius: 8px !important; /* Slight curve for luxury */
    padding: 20px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 140px;
    margin: 10px;
}

.engineering-partner-logo:hover {
    border-color: #c0955b !important;
    background: rgba(255, 255, 255, 0.08) !important;
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 30px rgba(0,0,0,0.4) !important;
}

.engineering-partner-logo img {
    filter: brightness(0) invert(1) opacity(0.6); /* Make logos white and slightly transparent */
    transition: all 0.4s ease;
    max-height: 90px;
    width: auto;
}

.engineering-partner-logo:hover img {
    filter: brightness(0) invert(1) opacity(1);
    transform: scale(1.05);
}

/* Fix Owl Carousel Dots in dark section */
.engineering-partners-section .owl-dots .owl-dot span {
    background: rgba(255, 255, 255, 0.3) !important;
}
.engineering-partners-section .owl-dots .owl-dot.active span {
    background: #c0955b !important;
}
.is-fixed .logo-header img { height: auto !important; max-height: 50px !important; width: auto !important; object-fit: contain !important; }
.engineering-partner-logo .client-logo, .engineering-partner-logo .client-logo a { display: flex; justify-content: center; align-items: center; height: 100%; width: 100%; } .engineering-partner-logo .client-logo img { max-height: 90px; max-width: 100%; object-fit: contain; height: auto; }
.engineering-partner-logo img { filter: none !important; opacity: 1 !important; } .engineering-partner-logo:hover img { filter: none !important; opacity: 1 !important; }

/* --- Premium About Section Redesign --- */
.engineering-about-section { background-color: #0b131c; padding: 100px 0; color: #fff; position: relative; border-top: 1px solid rgba(255,255,255,0.05); }
.engineering-about-section .section-head h2 { color: #C0955B; font-weight: 700; font-size: 32px; margin-bottom: 20px; position: relative; display: inline-block; padding-bottom: 15px; }
.engineering-about-section .section-head h2::after { content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); width: 50px; height: 2px; background: #C0955B; }
.engineering-about-section p { color: #a1b1c3; }

/* Premium Image */
.engineering-about-image { position: relative; border-radius: 16px; overflow: hidden; box-shadow: 0 30px 60px rgba(0,0,0,0.4); display: block; height: 100%; min-height: 300px; }
.engineering-about-image img { width: 100%; height: 100%; object-fit: cover; display: block; filter: brightness(0.9); transition: transform 0.6s ease; }
.engineering-about-image:hover img { transform: scale(1.03); }

@media (min-width: 992px) {
    .engineering-about-image { height: calc(100% - 30px); margin-bottom: 0; }
}

/* Premium Glass Cards */
.engineering-about-card { background: rgba(255, 255, 255, 0.02); border: 1px solid rgba(255, 255, 255, 0.04); border-radius: 16px; padding: 35px 30px; text-align: center; margin-bottom: 30px; transition: all 0.4s ease; display: flex; flex-direction: column; align-items: center; justify-content: space-between; height: calc(100% - 30px); position: relative; overflow: hidden; z-index: 1; }
.engineering-about-card:hover { background: rgba(255, 255, 255, 0.04); border-color: rgba(192, 149, 91, 0.4); transform: translateY(-5px); box-shadow: 0 20px 40px rgba(0,0,0,0.3); }

/* Elegant Icon Wrapper */
.engineering-about-card .icon-cell { width: 80px; height: 80px; border-radius: 50%; background: linear-gradient(145deg, rgba(192,149,91,0.1), rgba(192,149,91,0.02)); border: 1px solid rgba(192,149,91,0.15); display: flex; align-items: center; justify-content: center; margin: 0 auto 25px auto; transition: all 0.4s ease; }
.engineering-about-card:hover .icon-cell { background: rgba(192,149,91,0.15); border-color: rgba(192,149,91,0.4); transform: scale(1.05); }
.engineering-about-card .icon-cell img { height: 40px; width: auto; filter: brightness(0) saturate(100%) invert(71%) sepia(40%) saturate(417%) hue-rotate(345deg) brightness(85%) contrast(87%); transition: all 0.4s ease; }
.engineering-about-card:hover .icon-cell img { filter: brightness(0) saturate(100%) invert(85%) sepia(31%) saturate(757%) hue-rotate(338deg) brightness(97%) contrast(92%); }

/* Typography inside Cards */
.engineering-about-card h5 { color: #fff; font-size: 18px; margin-bottom: 15px; font-weight: 600; }
.engineering-about-card p { font-size: 14px; line-height: 1.8; margin-bottom: 25px; color: #8c9dae; }

/* Read More Link */
.engineering-about-card .site-button { background: transparent !important; border: none !important; color: #C0955B !important; padding: 0; font-size: 14px; font-weight: 500; display: inline-flex; align-items: center; gap: 8px; transition: all 0.3s ease; }
.engineering-about-card .site-button i { font-size: 12px; transition: transform 0.3s ease; }
.engineering-about-card .site-button:hover { color: #e6b877 !important; }
.engineering-about-card .site-button:hover i { transform: translateX(-5px); }

/* --- Premium Why Choose Us Section --- */
.engineering-why-choose { background-color: #f8f9fa; padding: 100px 0; position: relative; overflow: hidden; border-top: 1px solid rgba(0,0,0,0.05); }
.engineering-why-choose::before { content: ''; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%; background: radial-gradient(circle, rgba(192,149,91,0.03) 0%, transparent 60%); pointer-events: none; z-index: 0; }
.engineering-why-choose .container { position: relative; z-index: 1; }
.engineering-why-choose .section-head h2 { color: #101e2c; font-weight: 700; font-size: 32px; margin-bottom: 20px; position: relative; display: inline-block; padding-bottom: 15px; }
.engineering-why-choose .section-head h2::after { content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); width: 50px; height: 3px; background: #C0955B; border-radius: 2px; }

/* Feature Cards */
.engineering-feature-card { background: #ffffff; border: 1px solid rgba(16, 30, 44, 0.05); border-radius: 16px; padding: 40px 30px; text-align: center; margin-bottom: 30px; transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1); height: calc(100% - 30px); display: flex; flex-direction: column; align-items: center; justify-content: flex-start; position: relative; z-index: 1; box-shadow: 0 5px 15px rgba(0,0,0,0.02); }
.engineering-feature-card:hover { border-color: #C0955B; transform: translateY(-8px); box-shadow: 0 20px 40px rgba(16, 30, 44, 0.08); }

/* Feature Icon */
.engineering-feature-card .icon-cell { width: 70px; height: 70px; border-radius: 12px; background: #101e2c; border: 1px solid rgba(192,149,91,0.3); display: flex; align-items: center; justify-content: center; margin: 0 auto 25px auto; transition: all 0.4s ease; position: relative; overflow: hidden; }
.engineering-feature-card:hover .icon-cell { background: #C0955B; border-color: #101e2c; transform: scale(1.05) rotate(5deg); }
.engineering-feature-card .icon-cell::after { content: ''; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%; background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.1) 50%, rgba(255,255,255,0) 100%); transform: rotate(45deg); transition: all 0.6s ease; opacity: 0; }
.engineering-feature-card:hover .icon-cell::after { opacity: 1; left: 100%; }
.engineering-feature-card .icon-cell img { height: 35px; width: auto; filter: brightness(0) saturate(100%) invert(85%) sepia(31%) saturate(757%) hue-rotate(338deg) brightness(97%) contrast(92%); transition: all 0.4s ease; z-index: 1; position: relative; }
.engineering-feature-card:hover .icon-cell img { filter: brightness(0) saturate(100%) invert(100%); }

/* Feature Typography */
.engineering-feature-card h5 { color: #101e2c; font-size: 19px; margin-bottom: 15px; font-weight: 700; transition: color 0.3s ease; }
.engineering-feature-card:hover h5 { color: #C0955B; }
.engineering-feature-card p { font-size: 14px; line-height: 1.7; margin-bottom: 25px; color: #6c757d; flex-grow: 1; }

/* Feature Link */
.engineering-feature-card .site-button { background: transparent !important; border: none !important; color: #101e2c !important; padding: 0; font-size: 14px; font-weight: 600; display: inline-flex; align-items: center; gap: 8px; transition: all 0.3s ease; }
.engineering-feature-card .site-button i { font-size: 12px; transition: transform 0.3s ease; color: #C0955B; }
.engineering-feature-card .site-button:hover { color: #C0955B !important; }
.engineering-feature-card .site-button:hover i { transform: translateX(-5px); }

/* --- Premium Services Section --- */
.engineering-service-card { background: #ffffff; border-radius: 16px; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,0.05); transition: all 0.4s ease; border: 1px solid rgba(0,0,0,0.03); margin: 15px 5px; display: block; text-decoration: none !important; }
.engineering-service-card:hover { transform: translateY(-8px); box-shadow: 0 20px 40px rgba(16, 30, 44, 0.1); border-color: rgba(192,149,91,0.3); }

/* Service Image */
.engineering-service-media { position: relative; width: 100%; height: 260px; overflow: hidden; }
.engineering-service-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; display: block; }
.engineering-service-card:hover .engineering-service-media img { transform: scale(1.08); }
.engineering-service-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(16,30,44,0.6) 0%, transparent 60%); opacity: 0; transition: opacity 0.4s ease; pointer-events: none; }
.engineering-service-card:hover .engineering-service-media::after { opacity: 1; }

/* Service Content */
.engineering-service-info { padding: 30px; text-align: center; }
.engineering-service-info h5 { color: #101e2c; font-size: 20px; font-weight: 700; margin-bottom: 15px; transition: color 0.3s ease; }
.engineering-service-card:hover h5 { color: #C0955B; }
.engineering-service-info p { color: #6c757d; font-size: 14px; line-height: 1.7; margin-bottom: 0; }

/* --- Premium CTA Bar --- */
.engineering-cta-bar { background: linear-gradient(135deg, #0b131c 0%, #101e2c 100%); padding: 50px 0 20px; border-bottom: 2px solid #C0955B; position: relative; overflow: hidden; }
.engineering-cta-bar::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(circle at 100% 50%, rgba(192, 149, 91, 0.1) 0%, transparent 40%), radial-gradient(circle at 0% 50%, rgba(192, 149, 91, 0.1) 0%, transparent 40%); pointer-events: none; }
.engineering-cta-bar .icon-cell { width: 65px; height: 65px; background: rgba(192, 149, 91, 0.05); border: 1px solid rgba(192, 149, 91, 0.2); border-radius: 16px; display: flex; align-items: center; justify-content: center; font-size: 30px; color: #C0955B; margin-left: 20px; transition: all 0.4s ease; flex-shrink: 0; }
.engineering-cta-bar .wt-icon-box-wraper:hover .icon-cell { transform: translateY(-5px); background: #C0955B; color: #fff; box-shadow: 0 10px 20px rgba(192, 149, 91, 0.2); }
.engineering-cta-bar .icon-content { display: flex; flex-direction: column; justify-content: center; text-align: right; }
.engineering-cta-bar h5 { color: #fff !important; font-size: 20px; font-weight: 700; margin-bottom: 8px; }
.engineering-cta-bar p { color: rgba(255, 255, 255, 0.6) !important; font-size: 14px; margin-bottom: 0; line-height: 1.6; }
.engineering-cta-bar .site-button-gold { background: linear-gradient(to right, #C0955B, #e6b877); border: none; color: #0b131c !important; padding: 18px 40px; border-radius: 12px; font-weight: 700; font-size: 16px; transition: all 0.4s ease; display: inline-flex; align-items: center; gap: 10px; box-shadow: 0 10px 20px rgba(192, 149, 91, 0.2); text-decoration: none; }
.engineering-cta-bar .site-button-gold:hover { transform: translateY(-5px); box-shadow: 0 15px 30px rgba(192, 149, 91, 0.4); }
.engineering-cta-bar .wt-icon-box-wraper { display: flex; align-items: center; padding: 20px; background: rgba(255, 255, 255, 0.02); border-radius: 16px; border: 1px solid rgba(255, 255, 255, 0.04); transition: all 0.3s ease; }
.engineering-cta-bar .wt-icon-box-wraper:hover { background: rgba(255, 255, 255, 0.04); border-color: rgba(192, 149, 91, 0.3); }

/* --- Premium Slider Typography --- */
.engineering-slider-title { 
    font-size: 65px; 
    font-weight: 800; 
    color: #ffffff; 
    text-shadow: 0 4px 20px rgba(0,0,0,0.7); 
    line-height: 1.3; 
    text-transform: uppercase; 
    font-family: 'Cairo', sans-serif; 
}
.engineering-slider-title .site-text-primary {
    color: #C0955B !important; 
}
.engineering-slider-desc { 
    font-size: 24px; 
    color: rgba(255,255,255,0.95); 
    text-shadow: 0 2px 15px rgba(0,0,0,0.8); 
    line-height: 1.6; 
    max-width: 800px; 
    font-weight: 500;
}
@media (max-width: 768px) { 
    .engineering-slider-title { font-size: 35px; } 
    .engineering-slider-desc { font-size: 18px; }
}

/* Slider Dark Overlay */
.rev_slider_wrapper::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(11,19,28,0.85) 0%, rgba(11,19,28,0.3) 100%);
    pointer-events: none;
    z-index: 10;
}

/* VIP Separator to replace scale lines */
.engineering-vip-separator { position: relative; }
.engineering-vip-separator::before, .engineering-vip-separator::after { content: ''; position: absolute; left: 0; right: 0; height: 3px; background: linear-gradient(to right, transparent, rgba(192,149,91,0.5), #C0955B, rgba(192,149,91,0.5), transparent); z-index: 10; opacity: 0.8; }
.engineering-vip-separator::before { top: 0; }
.engineering-vip-separator::after { bottom: 0; }

/* --- Premium VIP Team Section --- */
.engineering-team-card {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    transition: all 0.5s ease;
    margin-bottom: 30px;
    border: none;
}
.engineering-team-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 25px 45px rgba(192,149,91,0.25);
}
.engineering-team-media {
    width: 100%;
    padding: 30px 20px;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 190px;
    position: relative;
}
.engineering-team-media img {
    max-height: 120px;
    max-width: 100%;
    object-fit: contain;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.engineering-team-card:hover .engineering-team-media img {
    transform: scale(1.1);
}
.engineering-team-info {
    padding: 35px 25px 30px;
    text-align: center;
    background: linear-gradient(135deg, #0b131c 0%, #152433 100%);
    border-top: 4px solid #C0955B;
    position: relative;
}
.engineering-team-info::before {
    content: '';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    border-width: 0 12px 12px 12px;
    border-style: solid;
    border-color: transparent transparent #C0955B transparent;
}
.engineering-team-title {
    color: #ffffff;
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 8px;
    min-height: 48px;
    line-height: 1.4;
    transition: color 0.3s ease;
}
.engineering-team-card:hover .engineering-team-title {
    color: #C0955B;
}
.engineering-team-job {
    color: #a1b1c3;
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 0;
    min-height: 50px;
}
