/* =========================================================
   AL DAAM International - Public Site Styles
   (Based on frontend.html design system)
========================================================= */

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Inter', sans-serif;
    color: #172b49;
    background: #ffffff;
    line-height: 1.7;
    overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
button { font-family: inherit; }

.container { width: min(1180px, 92%); margin: auto; }

:root {
    --navy: #062b57;
    --navy-dark: #031e3d;
    --orange: #ff6418;
    --orange-dark: #e9510b;
    --white: #ffffff;
    --light: #f5f8fc;
    --text: #172b49;
    --gray: #66758a;
    --border: #e4e9ef;
}

/* TOP BAR */
.topbar { background: var(--navy-dark); color: #fff; font-size: 13px; }
.topbar-inner { min-height: 38px; display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.topbar-left, .topbar-right { display: flex; align-items: center; gap: 22px; }
.topbar span { display: flex; align-items: center; gap: 8px; }
.topbar i { color: var(--orange); }
.social { display: flex; gap: 14px; }
.social a { transition: 0.3s; }
.social a:hover { color: var(--orange); }

/* HEADER */
.header { height: 82px; background: #fff; position: sticky; top: 0; z-index: 999; box-shadow: 0 3px 20px rgba(0,0,0,0.07); }
.nav { height: 100%; display: flex; align-items: center; justify-content: space-between; }
.logo { display: flex; align-items: center; gap: 10px; }
.logo-symbol { width: 54px; height: 54px; position: relative; display: flex; align-items: center; justify-content: center; }
.logo-symbol::before { content: ""; width: 34px; height: 45px; background: var(--orange); clip-path: polygon(50% 0,100% 25%,100% 100%,0 100%,0 25%); position: absolute; }
.logo-symbol::after { content: ""; width: 14px; height: 31px; background: #fff; position: absolute; bottom: 5px; }
.logo-text strong { display: block; font-family: 'Oswald', sans-serif; font-size: 30px; line-height: 1; letter-spacing: 2px; color: #107df9; font-weight: 700; text-transform: uppercase; text-shadow: 0 2px 6px rgba(16,125,249,0.35), 0 1px 2px rgba(0,0,0,0.15); }
.logo-text small { display: block; font-size: 9px; font-weight: 800; letter-spacing: 0.8px; color: #e40765; margin-top: 5px; text-transform: capitalize; }

.menu { display: flex; align-items: center; gap: 20px; }
.menu > a, .has-dropdown > a { font-size: 13px; font-weight: 700; color: #18212d; position: relative; padding: 31px 0; }
.menu a::after { content: ""; position: absolute; width: 0; height: 3px; bottom: 20px; left: 0; background: var(--orange); transition: 0.3s; }
.menu a:hover, .menu a.active { color: var(--orange); }
.menu a:hover::after, .menu a.active::after { width: 100%; }

.has-dropdown { position: relative; }
.has-dropdown .droparrow { font-size: 9px; margin-left: 4px; }
.dropdown { display: none; position: absolute; top: 100%; left: 0; background: #fff; min-width: 240px; box-shadow: 0 15px 35px rgba(0,0,0,0.12); border-radius: 6px; padding: 8px 0; z-index: 1000; }
.has-dropdown:hover .dropdown, .has-dropdown:focus-within .dropdown { display: block; }
.dropdown a { display: block; padding: 9px 18px; font-size: 12px; font-weight: 600 !important; color: #18212d; }
.dropdown a::after { display: none; }
.dropdown a:hover { color: var(--orange); background: var(--light); }

.quote-btn { background: var(--orange); color: #fff !important; padding: 9px 18px !important; border-radius: 5px; transition: 0.3s; font-size: 12px; }
.quote-btn::after { display: none; }
.quote-btn:hover { background: var(--orange-dark); transform: translateY(-2px); color: #fff !important; }

.menu-right { display: flex; align-items: center; gap: 12px; }
.desktop-only { display: inline-flex; }
.menu-toggle { display: none; width: 43px; height: 43px; border: 0; background: var(--navy); color: #fff; border-radius: 5px; font-size: 20px; cursor: pointer; }

/* HERO */
.hero { min-height: 570px; position: relative; background: linear-gradient(90deg, rgba(2,24,47,0.92) 0%, rgba(2,24,47,0.72) 42%, rgba(2,24,47,0.15) 100%), url("https://images.unsplash.com/photo-1504917595217-d4dc5ebe6122?auto=format&fit=crop&w=2000&q=85") center/cover no-repeat; display: flex; align-items: center; }
.hero-content { width: 700px; color: #fff; padding: 70px 0 130px; }
.hero-label { color: var(--orange); font-weight: 800; font-size: 15px; letter-spacing: 1px; margin-bottom: 12px; text-transform: uppercase; }
.hero h1 { font-family: 'Oswald', sans-serif; font-size: clamp(42px, 5vw, 67px); line-height: 1.05; text-transform: uppercase; letter-spacing: 1px; }
.hero h1 span { color: var(--orange); }
.hero p { max-width: 600px; font-size: 16px; color: #edf3fa; margin: 22px 0 30px; }
.hero-buttons { display: flex; gap: 18px; flex-wrap: wrap; }

.btn { display: inline-flex; align-items: center; gap: 12px; padding: 14px 25px; border-radius: 5px; font-weight: 800; font-size: 13px; transition: 0.3s; }
.btn-orange { background: var(--orange); color: #fff; }
.btn-orange:hover { background: var(--orange-dark); transform: translateY(-3px); }
.btn-outline { border: 1px solid #fff; color: #fff; }
.btn-outline:hover { background: #fff; color: var(--navy); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--orange); }

/* SERVICE STRIP */
.service-strip { margin-top: -72px; position: relative; z-index: 10; }
.service-box { background: var(--navy); color: #fff; border-radius: 12px; display: grid; grid-template-columns: repeat(5, 1fr); padding: 28px 15px; box-shadow: 0 15px 40px rgba(0,0,0,0.2); }
.service-item { padding: 5px 20px; border-right: 1px solid rgba(255,255,255,0.18); display: flex; gap: 16px; align-items: center; }
.service-item:last-child { border-right: 0; }
.service-icon { font-size: 34px; color: var(--orange); min-width: 40px; }
.service-item h4 { font-size: 13px; margin-bottom: 3px; }
.service-item p { font-size: 11px; line-height: 1.5; color: #d8e2ee; }

/* SECTION COMMON */
.section { padding: 100px 0; }
.section-label { color: var(--orange); font-size: 13px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; position: relative; padding-bottom: 10px; }
.section-label::after { content: ""; position: absolute; width: 35px; height: 3px; left: 0; bottom: 0; background: var(--orange); }
.section-title { font-size: 39px; line-height: 1.2; margin: 15px 0 20px; color: var(--navy); }
.section-text { color: var(--gray); font-size: 15px; }

/* ABOUT */
.about { background: #fff; }
.about-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 70px; align-items: center; }
.about-content .btn { margin-top: 25px; background: var(--navy); color: #fff; }
.about-content .btn:hover { background: var(--orange); }
.about-highlight { margin-top: 25px; padding-left: 18px; border-left: 4px solid var(--orange); color: var(--navy); font-weight: 700; }
.about-text { margin-top: 15px; }
.about-image { position: relative; height: 100%; display: flex; align-items: center; justify-content: center; }
.about-image img {
    width: 100%;
    height: 100%;
    max-height: 460px;
    min-height: 320px;
    object-fit: contain;
    border-radius: 14px;
    box-shadow: 0 20px 50px rgba(6,43,87,0.18);
    opacity: 0;
    transform: translateX(120px) rotate(0deg);
}
.about-image.visible img {
    opacity: 1;
    transform: translateX(0) rotate(0deg);
    animation: aboutRotate 3s cubic-bezier(0.22, 0.61, 0.36, 1) forwards;
}
@keyframes aboutRotate {
    0% { transform: translateX(120px) rotate(0deg); }
    60% { transform: translateX(0) rotate(360deg); }
    80% { transform: rotate(340deg); }
    100% { transform: translateX(0) rotate(360deg); }
}
.about-image::before { content: ""; position: absolute; inset: -12px 12px 12px -12px; border: 3px solid var(--orange); border-radius: 16px; z-index: -1; }

/* STATS */
.stats { margin-top: 30px; display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; box-shadow: 0 8px 35px rgba(0,0,0,0.1); border-radius: 10px; position: relative; z-index: 3; }
.stat { padding: 25px 15px; text-align: center; border-right: 1px solid var(--border); }
.stat:last-child { border-right: 0; }
.stat i { color: var(--orange); font-size: 25px; margin-bottom: 7px; }
.stat strong { display: block; color: var(--navy); font-size: 30px; line-height: 1; }
.stat span { color: var(--gray); font-size: 12px; }

/* SERVICES */
.services-section { background: var(--light); }
.section-heading { text-align: center; max-width: 700px; margin: auto auto 50px; }
.section-heading .section-label::after { left: 50%; transform: translateX(-50%); }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 25px; }
.service-card { background: #fff; border-radius: 9px; overflow: hidden; border: 1px solid #e7edf3; transition: 0.35s; }
.service-card:hover { transform: translateY(-8px); box-shadow: 0 15px 35px rgba(4,35,70,0.12); }
.service-card-image { height: 200px; overflow: hidden; }
.service-card-image img { width: 100%; height: 100%; object-fit: cover; transition: 0.5s; }
.service-card:hover img { transform: scale(1.07); }
.service-card-content { padding: 25px; }
.service-card-icon { width: 52px; height: 52px; background: #fff1e9; color: var(--orange); display: flex; justify-content: center; align-items: center; border-radius: 6px; font-size: 22px; margin-top: -48px; position: relative; margin-bottom: 18px; }
.service-card h3 { color: var(--navy); font-size: 20px; margin-bottom: 8px; }
.service-card p { color: var(--gray); font-size: 13px; }
.service-card a { display: inline-flex; gap: 8px; color: var(--orange); font-weight: 800; font-size: 12px; margin-top: 15px; }
.service-card a:hover { text-decoration: underline; }

/* =========================================================
   SERVICE DETAIL ROWS (single services page)
========================================================= */
.svc-nav {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin: 45px auto 20px;
}
.svc-nav a {
    border: 1px solid var(--border);
    background: #fff;
    padding: 10px 18px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 700;
    color: var(--text);
    transition: 0.3s;
}
.svc-nav a:hover { background: var(--orange); color: #fff; border-color: var(--orange); }

.svc-row {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 40px;
    align-items: center;
    padding: 40px 0;
    border-bottom: 1px solid var(--border);
    scroll-margin-top: 100px;
}
.svc-row:last-child { border-bottom: 0; }
.svc-row:first-child { padding-top: 20px; }
.svc-row.alt .svc-media { order: 2; }
.svc-media {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0,0,0,0.12);
}
.svc-media img { width: 100%; height: 320px; object-fit: cover; }

/* Animated colored border on service images */
.svc-media {
    padding: 5px;
    background: #fff;
    box-shadow: 0 0 0 3px var(--svc-color, var(--orange));
    animation: svcBlink 1.6s ease-in-out infinite;
}
.svc-media img { border-radius: 10px; }
@keyframes svcBlink {
    0%, 100% { box-shadow: 0 15px 40px rgba(0,0,0,0.12), 0 0 0 3px var(--svc-color, var(--orange)), 0 0 30px 6px var(--svc-color, var(--orange)); }
    50% { box-shadow: 0 15px 40px rgba(0,0,0,0.12), 0 0 0 3px var(--svc-color, var(--orange)), 0 0 8px 2px var(--svc-color, var(--orange)); }
}
.svc-media:hover { animation: none; }

/* Colored border on the whole service card */
.svc-row {
    border: 2px solid rgba(0,0,0,0.06);
    border-left: 6px solid var(--svc-color, var(--orange));
    border-radius: 16px;
    background: #fff;
    padding: 30px 10px;
    margin: 22px 0;
    transition: 0.35s;
}
.svc-row:hover {
    box-shadow: 0 15px 45px rgba(0,0,0,0.1);
    transform: translateY(-3px);
    box-shadow: 0 15px 45px rgba(0,0,0,0.1), 0 0 0 2px var(--svc-color, var(--orange));
}
.svc-row .svc-info { padding: 0 10px; }
.svc-row .svc-media { margin: 0 10px; }
.svc-zoom { cursor: zoom-in; }
.svc-zoom-hint {
    position: absolute;
    bottom: 16px;
    right: 16px;
    background: rgba(3,30,61,0.75);
    color: #fff;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    opacity: 0;
    transition: 0.3s;
    z-index: 2;
}
.svc-media:hover .svc-zoom-hint { opacity: 1; }

/* LIGHTBOX */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(2,20,40,0.94);
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    padding: 30px;
    cursor: zoom-out;
}
.lightbox.open { display: flex; animation: lbFade 0.3s ease; }
@keyframes lbFade { from { opacity: 0; } to { opacity: 1; } }
.slideshow {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 95%;
    max-height: 78vh;
}
.lightbox-img {
    max-width: 100%;
    max-height: 76vh;
    border-radius: 10px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
    cursor: default;
    animation: lbZoom 0.3s ease;
}
@keyframes lbZoom { from { transform: scale(0.92); } to { transform: scale(1); } }
.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 44px;
    color: #fff;
    cursor: pointer;
    line-height: 1;
    transition: 0.3s;
    z-index: 10;
}
.lightbox-close:hover { color: var(--orange); transform: rotate(90deg); }
.slide-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border: 0;
    border-radius: 50%;
    background: rgba(255,255,255,0.12);
    color: #fff;
    font-size: 20px;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255,255,255,0.25);
}
.slide-nav:hover { background: var(--orange); }
.slide-prev { left: -70px; }
.slide-next { right: -70px; }
.slide-counter {
    position: absolute;
    top: -38px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0,0,0,0.5);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    padding: 5px 14px;
    border-radius: 20px;
    letter-spacing: 0.5px;
}
.slideshow-caption {
    margin-top: 20px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 10px;
    padding: 16px 24px;
    max-width: 720px;
    width: 100%;
    text-align: center;
    color: #fff;
}
.slideshow-caption .slide-caption-site {
    color: var(--orange);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 6px;
}
.slideshow-caption .slide-caption-title {
    font-family: 'Oswald', sans-serif;
    font-size: 20px;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}
.slideshow-caption .slide-caption-desc {
    color: #d8e2ee;
    font-size: 13px;
    line-height: 1.6;
    margin-top: 6px;
}
@media (max-width: 700px) {
    .slide-prev { left: -8px; }
    .slide-next { right: -8px; }
    .slide-nav { width: 42px; height: 42px; font-size: 16px; }
    .lightbox { padding: 15px; }
    .slideshow-caption { padding: 12px 16px; }
}

.svc-media .svc-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: var(--orange);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    padding: 7px 14px;
    border-radius: 30px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}
.svc-info .section-label { margin-bottom: 12px; }
.svc-info h2 { font-size: 30px; color: var(--navy); margin-bottom: 10px; line-height: 1.25; }
.svc-info .svc-icon { width: 56px; height: 56px; background: #fff1e9; color: var(--orange); display: flex; align-items: center; justify-content: center; border-radius: 8px; font-size: 24px; margin-bottom: 16px; }
.svc-info p { color: var(--gray); font-size: 14px; }
.svc-info ul { margin: 14px 0 0 20px; }
.svc-info li { color: var(--text); font-size: 14px; margin-bottom: 6px; position: relative; }
.svc-info li::marker { color: var(--orange); }

/* Highlight service row when navigated to via anchor link */
.svc-row:target {
    background: var(--light);
    border-radius: 12px;
    padding: 40px;
    margin: 20px 0;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 12px 40px rgba(233,81,11,0.15);
    animation: svcFlash 2s ease;
}
.svc-row:target .svc-media {
    box-shadow: 0 0 0 4px var(--orange), 0 15px 40px rgba(0,0,0,0.15);
}
.svc-row:target .svc-media img {
    transform: scale(1.05);
}
.svc-row:target .svc-badge {
    background: var(--navy);
}
@keyframes svcFlash {
    0% { box-shadow: 0 0 0 0 rgba(233,81,11,0.5); }
    100% { box-shadow: 0 12px 40px rgba(233,81,11,0.15); }
}

@media (max-width: 900px) {
    .svc-row { grid-template-columns: 1fr; gap: 25px; }
    .svc-row.alt .svc-media { order: 0; }
    .svc-media img { height: 240px; }
    .svc-row:target { padding: 25px; }
}

/* SOLUTIONS (dark strip / automation) */
.solutions { background: linear-gradient(rgba(3,30,61,0.94), rgba(3,30,61,0.94)), url("https://images.unsplash.com/photo-1581092160607-ee22621dd758?auto=format&fit=crop&w=2000&q=80") center/cover fixed; color: #fff; }
.solutions .section-title { color: #fff; }
.solutions .section-text { color: #cbd7e4; }
.solution-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; margin-top: 45px; }
.solution-card { padding: 30px 22px; border: 1px solid rgba(255,255,255,0.17); background: rgba(255,255,255,0.05); border-radius: 8px; transition: 0.3s; }
.solution-card:hover { background: var(--orange); transform: translateY(-5px); }
.solution-card i { font-size: 35px; color: var(--orange); margin-bottom: 18px; }
.solution-card:hover i { color: #fff; }
.solution-card h3 { font-size: 17px; margin-bottom: 8px; }
.solution-card p { color: #c8d5e3; font-size: 12px; }
.solution-card:hover p { color: #fff; }

/* PROJECTS */
.projects { background: #fff; }
.projects-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.project { position: relative; height: 270px; overflow: hidden; border-radius: 8px; display: block; }
.project img { width: 100%; height: 100%; object-fit: cover; transition: 0.5s; }
.project:hover img { transform: scale(1.08); }
.project-overlay { position: absolute; inset: 0; background: linear-gradient(transparent 25%, rgba(3,30,61,0.92)); display: flex; flex-direction: column; justify-content: flex-end; padding: 25px; color: #fff; }
.project-overlay span { color: var(--orange); font-size: 11px; font-weight: 800; text-transform: uppercase; }
.project-overlay h3 { font-size: 18px; margin-top: 5px; }
.project-overlay p { font-size: 11px; color: #d8e2ee; }

/* QUALITY */
.quality { background: var(--light); }
.quality-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.quality-card { background: #fff; padding: 40px; border-radius: 10px; border-top: 4px solid var(--orange); box-shadow: 0 7px 25px rgba(0,0,0,0.05); }
.quality-card i { color: var(--orange); font-size: 40px; margin-bottom: 20px; }
.quality-card h3 { color: var(--navy); font-size: 25px; margin-bottom: 12px; }
.quality-card p { color: var(--gray); font-size: 14px; }

/* CTA */
.cta { background: var(--orange); color: #fff; padding: 65px 0; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.cta h2 { font-size: 36px; line-height: 1.2; }
.cta p { margin-top: 8px; opacity: 0.9; }
.cta .btn { background: var(--navy); white-space: nowrap; color: #fff; }
.cta .btn:hover { background: var(--navy-dark); }

/* BACK TO TOP */
.back-to-top {
    position: fixed;
    right: 22px;
    bottom: 22px;
    width: 46px;
    height: 46px;
    border: none;
    border-radius: 8px;
    background: var(--orange);
    color: #fff;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 6px 18px rgba(233,81,11,0.4);
}
.back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--navy); transform: translateY(-3px); box-shadow: 0 8px 22px rgba(6,43,87,0.4); }

/* FOOTER */
.footer { background: var(--navy-dark); color: #fff; padding: 70px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.2fr; gap: 50px; }
.footer-logo .logo-text strong, .footer-logo .logo-text small { color: #fff; }
.footer-about { color: #b8c7d8; font-size: 13px; margin-top: 20px; }
.footer h3 { font-size: 16px; margin-bottom: 20px; position: relative; padding-bottom: 10px; }
.footer h3::after { content: ""; position: absolute; left: 0; bottom: 0; width: 30px; height: 3px; background: var(--orange); }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 9px; }
.footer-links a { color: #b8c7d8; font-size: 13px; transition: 0.3s; }
.footer-links a:hover { color: var(--orange); padding-left: 4px; }
.contact-item { display: flex; gap: 12px; margin-bottom: 15px; color: #b8c7d8; font-size: 13px; }
.contact-item i { color: var(--orange); margin-top: 5px; }
.footer-bottom { margin-top: 55px; border-top: 1px solid rgba(255,255,255,0.1); padding: 20px 0; display: flex; justify-content: space-between; color: #879bb1; font-size: 12px; }

/* PAGE HERO (inner pages) */
.page-hero {
    background: linear-gradient(90deg, rgba(2,24,47,0.88), rgba(2,24,47,0.7)), url("https://images.unsplash.com/photo-1504917595217-d4dc5ebe6122?auto=format&fit=crop&w=2000&q=85") center/cover;
    color: #fff;
    padding: 70px 0;
}
.page-hero .hero-label { text-transform: uppercase; }
.page-hero h1 { font-family: 'Oswald', sans-serif; font-size: clamp(32px, 4vw, 48px); text-transform: uppercase; }
.page-hero p { color: #d8e2ee; max-width: 700px; margin-top: 10px; }
.breadcrumb { font-size: 12px; color: #cbd7e4; margin-top: 8px; }
.breadcrumb a { color: var(--orange); }

/* Generic content list */
.content-block ul { margin: 12px 0 12px 22px; }
.content-block li { margin-bottom: 6px; color: var(--text); }

/* TEAM */
.team-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 25px; }
.team-card { background: #fff; border-radius: 10px; overflow: hidden; border: 1px solid #e7edf3; text-align: center; padding: 30px; }
.team-avatar { width: 90px; height: 90px; border-radius: 50%; background: var(--navy); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 30px; font-weight: 800; margin: 0 auto 15px; }
.team-card h3 { color: var(--navy); font-size: 19px; }
.team-card span { color: var(--orange); font-size: 13px; font-weight: 700; }
.team-card p { color: var(--gray); font-size: 13px; margin-top: 10px; }

/* TESTIMONIALS */
.testimonial-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 25px; }
.testimonial-card { background: #fff; padding: 30px; border-radius: 10px; border: 1px solid #e7edf3; }
.testimonial-card .stars { color: var(--orange); margin-bottom: 12px; }
.testimonial-card p { color: var(--gray); font-size: 14px; }
.testimonial-card h4 { color: var(--navy); margin-top: 15px; }
.testimonial-card span { color: var(--orange); font-size: 12px; }

/* STRENGTHS */
.strengths-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 25px; margin-top: 40px; }
.strength-card { background: #fff; padding: 30px; border-radius: 10px; border-top: 4px solid var(--orange); box-shadow: 0 7px 25px rgba(0,0,0,0.05); }
.strength-card i { color: var(--orange); font-size: 32px; margin-bottom: 14px; }
.strength-card h3 { color: var(--navy); font-size: 19px; margin-bottom: 8px; }
.strength-card p { color: var(--gray); font-size: 13px; }

/* MISSION / VISION */
.mv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.mv-card { background: var(--navy); color: #fff; padding: 40px; border-radius: 12px; }
.mv-card h3 { font-size: 26px; margin-bottom: 15px; }
.mv-card i { color: var(--orange); font-size: 40px; margin-bottom: 16px; }
.mv-card p { color: #d8e2ee; font-size: 15px; }
.mv-card ul { margin: 12px 0 0 22px; }
.mv-card li { margin-bottom: 6px; color: #d8e2ee; font-size: 14px; }

/* INDUSTRIES */
.industry-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 25px; }
.industry-card { background: #fff; border-radius: 10px; overflow: hidden; border: 1px solid #e7edf3; transition: 0.3s; }
.industry-card:hover { transform: translateY(-6px); box-shadow: 0 15px 35px rgba(4,35,70,0.1); }
.industry-card-content { padding: 25px; }
.industry-card i { color: var(--orange); font-size: 34px; margin-bottom: 12px; }
.industry-card h3 { color: var(--navy); font-size: 20px; margin-bottom: 8px; }
.industry-card p { color: var(--gray); font-size: 13px; }

/* INDUSTRIES - Full-bleed hero block design */
.ind-hero-strip { background: var(--navy); padding: 22px 0; overflow-x: auto; border-bottom: 3px solid var(--orange); }
.ind-hero-track { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; padding: 0 5%; }
.ind-hero-pill {
    position: relative;
    width: 175px;
    height: 115px;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    flex-shrink: 0;
    transition: 0.35s;
    border: 2px solid rgba(255,255,255,0.1);
}
.ind-hero-pill::before {
    content: "";
    position: absolute;
    inset: 0;
    background: inherit;
    background-size: cover;
    background-position: center;
    z-index: 0;
}
.ind-hero-pill::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(transparent 10%, rgba(3,30,61,0.92));
    z-index: 1;
}
.ind-hero-pill:hover { transform: translateY(-5px) scale(1.04); box-shadow: 0 14px 35px rgba(0,0,0,0.35); border-color: var(--orange); }
.ind-hero-pill-num {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--orange);
    color: #fff;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 800;
    z-index: 2;
    box-shadow: 0 3px 10px rgba(233,81,11,0.4);
}
.ind-hero-pill-text {
    position: relative;
    z-index: 2;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    padding: 12px 14px;
    line-height: 1.3;
    text-shadow: 0 1px 4px rgba(0,0,0,0.3);
}

.ind-block {
    position: relative;
    min-height: 520px;
    display: flex;
    align-items: center;
    overflow: hidden;
}
.ind-block-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform 8s ease;
}
.ind-block:hover .ind-block-bg { transform: scale(1.05); }
.ind-block-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(2,24,47,0.93) 0%, rgba(2,24,47,0.78) 45%, rgba(2,24,47,0.25) 100%);
}
.ind-block--alt .ind-block-overlay {
    background: linear-gradient(270deg, rgba(2,24,47,0.93) 0%, rgba(2,24,47,0.78) 45%, rgba(2,24,47,0.25) 100%);
}
.ind-block-inner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 50px;
    align-items: center;
    padding: 70px 0;
    color: #fff;
}
.ind-block-num {
    font-family: 'Oswald', sans-serif;
    font-size: 130px;
    font-weight: 800;
    line-height: 1;
    color: rgba(255,255,255,0.06);
    text-shadow: 0 0 60px rgba(255,100,24,0.08);
}
.ind-block--alt .ind-block-inner { direction: rtl; }
.ind-block--alt .ind-block-num { direction: ltr; }
.ind-block-content { direction: ltr; }
.ind-block-icon {
    width: 64px;
    height: 64px;
    background: rgba(255,100,24,0.15);
    border: 2px solid var(--orange);
    color: var(--orange);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    font-size: 28px;
    margin-bottom: 20px;
    transition: 0.3s;
}
.ind-block:hover .ind-block-icon { background: var(--orange); color: #fff; transform: scale(1.08); }
.ind-block-tag {
    display: inline-block;
    color: var(--orange);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 10px;
}
.ind-block h2 {
    font-family: 'Oswald', sans-serif;
    font-size: 42px;
    text-transform: uppercase;
    line-height: 1.15;
    margin-bottom: 18px;
}
.ind-block p, .ind-block li { color: #d8e2ee; font-size: 14.5px; line-height: 1.75; }
.ind-block ul { margin: 14px 0 0 22px; }
.ind-block li { margin-bottom: 6px; }
.ind-block li::marker { color: var(--orange); }
.ind-block-btn {
    margin-top: 24px;
    background: var(--orange);
    color: #fff;
    padding: 14px 28px;
    border-radius: 5px;
    font-weight: 800;
    font-size: 13px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: 0.3s;
}
.ind-block-btn:hover { background: #fff; color: var(--navy); transform: translateY(-2px); }

@media (max-width: 900px) {
    .ind-hero-pill { width: 145px; height: 95px; }
    .ind-block { min-height: auto; }
    .ind-block-inner { grid-template-columns: 1fr; gap: 20px; padding: 45px 0; }
    .ind-block--alt .ind-block-inner { direction: ltr; }
    .ind-block-num { font-size: 75px; }
    .ind-block h2 { font-size: 32px; }
    .ind-hero-track { justify-content: flex-start; }
    .ind-hero-pill-text { font-size: 12px; padding: 10px 12px; }
}

/* GALLERY */
.filter-bar { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 30px; justify-content: center; }
.filter-btn { border: 1px solid var(--border); background: #fff; padding: 9px 18px; border-radius: 30px; font-size: 12px; font-weight: 700; color: var(--gray); cursor: pointer; transition: 0.3s; }
.filter-btn:hover, .filter-btn.active { background: var(--orange); color: #fff; border-color: var(--orange); }
.gallery-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 15px; }
.gallery-item { position: relative; height: 220px; overflow: hidden; border-radius: 8px; cursor: pointer; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: 0.5s; }
.gallery-item:hover img { transform: scale(1.08); }
.gallery-item span { position: absolute; bottom: 10px; left: 10px; background: rgba(3,20,40,0.8); color: #fff; font-size: 11px; padding: 4px 10px; border-radius: 20px; }
.gallery-item .gallery-count { left: auto; right: 10px; background: var(--orange); }
.gallery-placeholder { width: 100%; height: 100%; background: var(--light); }

/* CONTACT */
.contact-map { margin-top: 20px; }
.contact-map iframe { width: 100%; height: 480px; border: 0; display: block; }

.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 50px; }
.contact-info-card { background: var(--navy); color: #fff; padding: 35px; border-radius: 12px; }
.contact-info-card h3 { font-size: 22px; margin-bottom: 20px; }
.contact-info-item { display: flex; gap: 14px; margin-bottom: 18px; }
.contact-info-item i { color: var(--orange); font-size: 18px; margin-top: 4px; }
.contact-info-item p { color: #d8e2ee; font-size: 13px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 13px; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.form-control { width: 100%; border: 1px solid var(--border); border-radius: 6px; padding: 12px 14px; font-size: 14px; color: var(--text); outline: none; background: #fff; }
.form-control:focus { border-color: var(--orange); box-shadow: 0 0 0 2px rgba(255,100,24,0.12); }
textarea.form-control { min-height: 130px; resize: vertical; }

/* FLASH */
.flash { padding: 13px 17px; border-radius: 6px; font-size: 13px; font-weight: 600; margin-bottom: 18px; }
.flash-success { background: #dcfce7; color: #15803d; }
.flash-error { background: #fee2e2; color: #b91c1c; }

/* REVEAL ANIMATION */
.reveal { opacity: 0; transform: translateY(30px); transition: all 0.8s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* =========================================================
   RESPONSIVE (from frontend.html)
========================================================= */
@media (max-width: 1100px) {
    .menu { gap: 15px; }
    .menu > a, .has-dropdown > a { font-size: 12px; }
    .service-item { padding: 5px 15px; }
}
@media (max-width: 900px) {
    .topbar-left span:last-child { display: none; }
    .menu-toggle { display: block; }
    .desktop-only { display: none; }
    .menu { position: absolute; left: 0; right: 0; top: 82px; background: #fff; flex-direction: column; align-items: stretch; gap: 0; padding: 15px 5%; box-shadow: 0 15px 25px rgba(0,0,0,0.1); display: none; }
    .menu.open { display: flex; }
    .menu > a, .has-dropdown > a { padding: 13px 0; border-bottom: 1px solid #edf0f3; }
    .menu a::after { display: none; }
    .has-dropdown > a { display: flex; align-items: center; justify-content: space-between; cursor: pointer; }
    .dropdown { display: none; position: static; box-shadow: none; padding: 0 0 0 15px; min-width: 0; }
    .has-dropdown.open .dropdown { display: block; }
    .dropdown a { padding: 10px 0; border-bottom: 1px solid #f0f2f4; }
    .quote-btn { text-align: center; margin-top: 10px; }
    .hero { min-height: 600px; }
    .hero-content { padding-bottom: 150px; }
    .service-box { grid-template-columns: repeat(2,1fr); }
    .service-item:nth-child(2) { border-right: 0; }
    .service-item { border-bottom: 1px solid rgba(255,255,255,0.15); padding: 18px; }
    .about-grid { grid-template-columns: 1fr; gap: 45px; }
    .services-grid { grid-template-columns: repeat(2,1fr); }
    .solution-grid { grid-template-columns: repeat(2,1fr); }
    .projects-grid { grid-template-columns: repeat(2,1fr); }
    .footer-grid { grid-template-columns: repeat(2,1fr); }
    .contact-grid, .quality-grid { grid-template-columns: 1fr; }
    .team-grid, .strengths-grid, .industry-grid { grid-template-columns: repeat(2,1fr); }
    .gallery-grid { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 600px) {
    .topbar { display: none; }
    .header { height: 70px; }
    .logo-symbol { width: 43px; height: 43px; }
    .logo-text strong { font-size: 22px; }
    .logo-text small { font-size: 7px; }
    .menu { top: 70px; }
    .hero { min-height: 650px; background: linear-gradient(rgba(2,24,47,0.85), rgba(2,24,47,0.7)), url("https://images.unsplash.com/photo-1504917595217-d4dc5ebe6122?auto=format&fit=crop&w=1200&q=80") center/cover; }
    .hero-content { padding: 50px 0 160px; }
    .hero h1 { font-size: 39px; }
    .hero p { font-size: 14px; }
    .hero-buttons { flex-direction: column; align-items: flex-start; }
    .service-strip { margin-top: -110px; }
    .service-box { grid-template-columns: 1fr; }
    .service-item, .service-item:nth-child(2) { border-right: 0; padding: 17px 12px; }
    .section { padding: 70px 0; }
    .section-title { font-size: 31px; }
    .stats { grid-template-columns: repeat(2,1fr); }
    .stat:nth-child(2) { border-right: 0; }
    .stat:nth-child(-n+2) { border-bottom: 1px solid var(--border); }
    .services-grid, .solution-grid, .projects-grid, .quality-grid { grid-template-columns: 1fr; }
    .projects-grid { gap: 15px; }
    .project { height: 230px; }
    .cta-inner { flex-direction: column; align-items: flex-start; }
    .cta h2 { font-size: 29px; }
    .footer-grid { grid-template-columns: 1fr; gap: 35px; }
    .footer-bottom { flex-direction: column; gap: 8px; }
    .mv-grid, .testimonial-grid { grid-template-columns: 1fr; }
    .team-grid, .strengths-grid, .industry-grid, .gallery-grid { grid-template-columns: 1fr; }
}
