/* ── ROOT ── */
:root {
    --white: #ffffff;
    --off-white: #fafaf9;
    --light: #f5f5f4;
    --ink: #1c1917;
    --mid: #78716c;
    --accent: #b45309;
    --accent-light: #fef3c7;
    --border: #e7e5e4;
    --dark: #1c1917;
    --dark-card: #292524;
    --dark-border: #44403c;
}

html { scroll-behavior: smooth; }
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Inter', 'DM Sans', Arial, sans-serif;
    background: var(--white);
    color: var(--ink);
    line-height: 1.6;
}

/* ── NAVBAR ── */
.navbar {
    position: fixed;
    top: 0; left: 0;
    width: 100%;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 5px 60px;
    height: 70px;
    background: var(--dark);
    border-bottom: none;
}

.logo { width: 130px; height: 44px; object-fit: contain; }

.nav-links {
    display: flex;
    gap: 8px;
    list-style: none;
    align-items: center;
}

.nav-links a {
    font-size: 14px;
    font-weight: 500;
    color: var(--white);
    text-decoration: none;
    padding: 8px 12px;
    border-radius: 6px;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--white);
    
}

.nav-links a.active { color: lightsalmon;  }

/* Hamburger */
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--white); border-radius: 2px; transition: all 0.3s; }

/* ── DROPDOWN ── */
.dropdown { position: relative; }

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--dark);
    border: none;
    border-radius: 10px;
    padding: 8px;
    min-width: 200px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    list-style: none;
    z-index: 200;
}

.dropdown:hover .dropdown-menu { display: block; }

.dropdown-menu li a {
    display: block;
    padding: 9px 14px;
    font-size: 14px;
    color: var(--white);
    border-radius: 6px;
    background: none;
    transition: all 0.2s;
}

.dropdown-menu li a:hover { background: var(--accent-light); color: var(--accent); }

/* ── BUTTONS ── */
.btn-primary {
    background: var(--accent);
    color: white;
    padding: 12px 28px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.2s;
    box-shadow: 0 2px 8px rgba(37,99,235,0.3);
}

.btn-primary:hover { background: #ae5d0c; transform: translateY(-1px); box-shadow: 0 4px 16px rgba(164, 88, 1, 0.4); }

.btn-secondary {
    color: var(--mid);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: color 0.2s;
}

.btn-secondary:hover { color: var(--ink); }

/* ── SECTION ── */
.section { padding: 100px 60px; }

.section-label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 12px;
}

.section-title {
    font-size: 40px;
    font-weight: 800;
    letter-spacing: -1.5px;
    color: var(--ink);
    line-height: 1.1;
    margin-bottom: 16px;
}

.section-desc {
    font-size: 16px;
    color: var(--mid);
    max-width: 560px;
    line-height: 1.8;
}

.section-header { margin-bottom: 60px; }
.section-header.light .section-title { color: white; }
.section-header.light .section-desc { color: rgba(255,255,255,0.7); }

/* ── HERO (HOME) ── */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 60px 80px;
    position: relative;
    background-image: url(../images/homepag.jpeg);
    background-size: cover;
    background-position: top;
    background-attachment: relative;
}


.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(110deg,rgba(0,0,0,0.80) 25%, rgba(0,0,0,0.1) 100%);
    z-index: 0;
}

.hero-badge {
    background: rgba(255,255,255,0.15);
    color: white;
    border: 1px solid rgba(255,255,255,0.2);
}


.hero h1 { color: white; }
.hero h1 span { color: #e2e8f0; }
.hero .hero-description { color: rgba(255,255,255,0.75); }
.hero .btn-secondary { color: rgba(255,255,255,0.85); border: 1px solid rgba(255,255,255,0.3); padding: 12px 28px; border-radius: 8px; }
.hero .btn-secondary:hover { background: rgba(255,255,255,0.1); color: white; }


.hero h1 {
    font-size: 52px;
    font-weight: 800;
    letter-spacing: -2px;
    line-height: 1.05;
    color: var(--white);
    margin-bottom: 20px;
}

.hero h1 span { color: var(--white) ; }

.hero-description {
    font-size: 17px;
    color: var(--mid);
    line-height: 1.8;
    margin-bottom: 36px;
    max-width: 480px;
}


.hero-content {
    position: relative;
    z-index: 1;
    max-width: 640px;
}

.hero-image { display: none; }
.hero-buttons { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }

.hero-image {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    height: 480px;
}

.hero-image img { width: 100%; height: 100%; object-fit: cover; }

.hero-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(37,99,235,0.15) 0%, transparent 60%);
}

/* ── PAGE HERO ── */
.page-hero {
    min-height: 55vh;
    display: flex;
    align-items: center;
    padding: 120px 60px 80px;
    position: relative;
    background-size: cover;
    background-position: center;
    grid-template-columns: unset;
}

.services-hero-bg { background-image: url(../images/servicesss.jpg); background-position: bottom;}
.industries-hero-bg { background-image: url(../images/industries.jpg); }
.about-hero-bg { background-image: url(../images/aboutteambigg.jpg); background-position: top; }



.page-hero.dark-hero { background: var(--dark); }

.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.80) 0%, rgba(0,0,0,0.40) 100%);
    z-index: 0;
}

.page-hero-content {
    position: relative;
    z-index: 1;
    max-width: 600px;
}

.page-hero-content h1 { color: white; }
.page-hero-content p { color: rgba(255,255,255,0.75); }
.page-hero .section-label { color: rgba(255,255,255,0.7); }

.page-hero-image {
    border-radius: 16px;
    overflow: hidden;
    height: 380px;
}

.page-hero .section-label{ display: none;}
.page-hero-image img { width: 100%; height: 100%; object-fit: cover; }

/* Contact hero */
.contact-hero {
    min-height: 45vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 60px 80px;
    position: relative;
    background-image: url(../images/contact-hero.jpg);
    background-size: cover;
    background-position: center;
    text-align: center;
}

.contact-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.75);
    z-index: 0;
}


.contact-hero-content {
    position: relative;
    z-index: 1;
}

.contact-hero-content h1 {
    font-size: 48px;
    font-weight: 800;
    letter-spacing: -2px;
    color: white;
    margin: 12px 0;
}

.contact-hero-content p { font-size: 17px; color: rgba(255,255,255,0.65); max-width: 500px; margin: 0 auto; }

/* ── CARDS GRID ── */
.cards-grid { display: grid; gap: 24px; }
.three-col { grid-template-columns: repeat(3, 1fr); }
.two-col { grid-template-columns: repeat(2, 1fr); }

/* ── IMAGE CARDS (Services) ── */
.image-card {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    min-height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
}

.image-card:hover { transform: translateY(-6px); box-shadow: 0 16px 40px rgba(0,0,0,0.15); }

.card-image { position: absolute; inset: 0; }
.card-image img { width: 100%; height: 100%; object-fit: cover; }
.card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.88) 0%, rgba(0,0,0,0.3) 50%, rgba(0,0,0,0.1) 100%);
    transition: background 0.3s;
}

.image-card:hover .card-overlay {
    background: linear-gradient(to top, rgba(20, 20, 20, 0.88) 0%, rgba(0,0,0,0.4) 60%, rgba(0,0,0,0.1) 100%);
}

.card-content {
    position: relative;
    z-index: 2;
    padding: 28px;
}

.card-content i { font-size: 28px; color: rgba(255,255,255,0.9); margin-bottom: 10px; display: block; }
.card-content h3 { font-size: 20px; font-weight: 700; color: white; margin-bottom: 8px; }
.card-content p { font-size: 13px; color: rgba(255,255,255,0.75); line-height: 1.7; margin-bottom: 14px; }

.card-link {
    font-size: 13px;
    font-weight: 600;
    color: white;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border-bottom: 1px solid rgba(255,255,255,0.4);
    padding-bottom: 2px;
    transition: gap 0.2s;
}

.card-link:hover { gap: 10px; }

/* ── WHY CARDS ── */
.why-section { background: var(--dark); }

.why-card {
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: 12px;
    padding: 32px;
    transition: border-color 0.2s, transform 0.2s;
}

.why-card:hover { border-color: var(--accent); transform: translateY(-4px); }
.why-card i { font-size: 28px; color: var(--accent); margin-bottom: 16px; display: block; }
.why-card h3 { font-size: 18px; font-weight: 700; color: white; margin-bottom: 8px; }
.why-card p { font-size: 14px; color: rgba(255,255,255,0.6); line-height: 1.7; }

/* ── INDUSTRY CARDS ── */
.industry-card {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    min-height: 280px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    transition: transform 0.3s, box-shadow 0.3s;
}

.industry-card:hover { transform: translateY(-6px); box-shadow: 0 16px 40px rgba(0,0,0,0.15); }

.industry-img { position: absolute; inset: 0; }
.industry-img img { width: 100%; height: 100%; object-fit: cover; }
.industry-img .card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.2) 60%, transparent 100%);
}

.industry-card:hover .card-overlay {
    background: linear-gradient(to top, rgba(12, 13, 15, 0.85) 0%, rgba(0,0,0,0.3) 60%, transparent 100%);
}

.industry-content { position: relative; z-index: 2; padding: 24px; }
.industry-content i { font-size: 28px; color: white; margin-bottom: 8px; display: block; }
.industry-content h3 { font-size: 18px; font-weight: 700; color: white; margin-bottom: 6px; }
.industry-content p { font-size: 13px; color: rgba(255,255,255,0.75); line-height: 1.6; }

/* ── CTA SECTION ── */
.cta-section {
    padding: 100px 60px;
    background: var(--accent);
    text-align: center;
}

.cta-section h2 { font-size: 40px; font-weight: 800; color: white; letter-spacing: -1px; margin-bottom: 16px; }
.cta-section p { font-size: 17px; color: rgba(255,255,255,0.8); margin-bottom: 36px; }
.cta-section .btn-primary { background: white; color: var(--accent); }
.cta-section .btn-primary:hover { background: var(--off-white); transform: translateY(-2px); }

/* ── FOOTER ── */
.footer { background: var(--dark); padding: 80px 60px 0; }

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    padding-bottom: 60px;
    border-bottom: 1px solid var(--dark-border);
}

.footer-logo { width: 120px; height: 40px; object-fit: contain; margin-bottom: 16px; display: block; }
.footer-brand p { font-size: 14px; color: rgba(255,255,255,0.4); line-height: 1.7; }

.footer-links-col h4 { font-size: 13px; font-weight: 700; color: white; margin-bottom: 16px; letter-spacing: 0.5px; }
.footer-links-col a { display: block; font-size: 13px; color: rgba(255,255,255,0.5); text-decoration: none; margin-bottom: 10px; transition: color 0.2s; }
.footer-links-col a:hover { color: white; }

.footer-bottom { padding: 24px 0; text-align: center; }
.footer-bottom p { font-size: 13px; color: rgba(255,255,255,0.25); }

/* ── SERVICE SECTION (Services page) ── */
.service-section { padding: 100px 60px; }
.dark-section { background: var(--dark); }

.service-intro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    margin-bottom: 0;
}

.service-intro-text { display: flex; flex-direction: column; gap: 20px; align-items: flex-start; }
.service-intro-text p { font-size: 16px; color: var(--mid); line-height: 1.8; }

.service-intro-image { border-radius: 16px; overflow: hidden; height: 400px; }
.service-intro-image img { width: 100%; height: 100%; object-fit: cover; }

/* Sub services */
.sub-services { display: flex; flex-direction: column; gap: 80px; margin-top: 80px; }

.sub-service-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.sub-service-card.reverse { direction: rtl; }
.sub-service-card.reverse > * { direction: ltr; }

.sub-service-image { border-radius: 14px; overflow: hidden; height: 300px; position: relative; }
.sub-service-image img { width: 100%; height: 100%; object-fit: cover; }
.sub-service-image .card-overlay { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(37,99,235,0.2) 0%, transparent 60%); }

.sub-service-content i { font-size: 32px; color: var(--accent); margin-bottom: 16px; display: block; }
.sub-service-content h3 { font-size: 26px; font-weight: 700; color: var(--ink); margin-bottom: 12px; }
.sub-service-content > p { font-size: 15px; color: var(--mid); line-height: 1.8; margin-bottom: 28px; }

.sub-cards-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.sub-cards-grid.three { grid-template-columns: repeat(3, 1fr); }

.mini-card { background: var(--off-white); border: 1px solid var(--border); border-radius: 10px; padding: 20px; transition: transform 0.2s, box-shadow 0.2s; }
.mini-card:hover { transform: translateY(-3px); box-shadow: 0 6px 20px rgba(0,0,0,0.08); }
.mini-card i { font-size: 20px; color: var(--accent); margin-bottom: 10px; display: block; }
.mini-card h4 { font-size: 14px; font-weight: 700; color: var(--ink); margin-bottom: 6px; }
.mini-card p { font-size: 12px; color: var(--mid); line-height: 1.6; }

/* Dark cards */
.dark-card {
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: 12px;
    padding: 32px;
    transition: border-color 0.2s, transform 0.2s;
}

.dark-card:hover { border-color: var(--accent); transform: translateY(-4px); }
.dark-card i { font-size: 28px; color: var(--accent); margin-bottom: 16px; display: block; }
.dark-card h3 { font-size: 18px; font-weight: 700; color: white; margin-bottom: 8px; }
.dark-card p { font-size: 14px; color: rgba(255,255,255,0.6); line-height: 1.7; }

/* Feature cards */
.feature-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 32px;
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.feature-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,0.08); border-color: var(--accent); }
.feature-card i { font-size: 28px; color: var(--accent); margin-bottom: 16px; display: block; }
.feature-card h3 { font-size: 18px; font-weight: 700; color: var(--ink); margin-bottom: 8px; }
.feature-card p { font-size: 14px; color: var(--mid); line-height: 1.7; }

/* ── ABOUT PAGE ── */
.about-mission {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    padding: 100px 60px;
}

.mission-text { display: flex; flex-direction: column; gap: 20px; }
.mission-text p { font-size: 16px; color: var(--mid); line-height: 1.8; }
.mission-image { border-radius: 16px; overflow: hidden; height: 440px; }
.mission-image img { width: 100%; height: 100%; object-fit: cover; }

.highlights-list { display: flex; flex-direction: column; gap: 0; max-width: 800px; margin: 0 auto; }

.highlight-row {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 28px 0;
    border-bottom: 1px solid var(--border);
}

.highlight-row:last-child { border-bottom: none; }
.highlight-row i { font-size: 22px; color: var(--accent); flex-shrink: 0; margin-top: 2px; }
.highlight-row h3 { font-size: 17px; font-weight: 700; color: var(--ink); margin-bottom: 4px; }
.highlight-row p { font-size: 14px; color: var(--mid); line-height: 1.7; }

/* ── CONTACT PAGE ── */
.contact-section { padding: 100px 60px; }

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 80px;
    align-items: start;
}

.contact-info h2 { font-size: 32px; font-weight: 800; color: var(--ink); margin-bottom: 16px; letter-spacing: -1px; }
.contact-info > p { font-size: 15px; color: var(--mid); line-height: 1.8; margin-bottom: 40px; }

.contact-items { display: flex; flex-direction: column; gap: 24px; }

.contact-item { display: flex; align-items: flex-start; gap: 16px; }

.contact-icon {
    width: 44px; height: 44px;
    background: var(--accent-light);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon i { font-size: 16px; color: var(--accent); }

.contact-item h4 { font-size: 13px; font-weight: 700; color: var(--mid); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 4px; }
.contact-item a { display: block; font-size: 14px; color: var(--ink); text-decoration: none; transition: color 0.2s; }
.contact-item a:hover { color: var(--accent); }

/* Contact Form */
.contact-form-wrap {
    background: var(--off-white);
    border-radius: 16px;
    padding: 48px;
    border: 1px solid var(--border);
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.form-group label { font-size: 13px; font-weight: 600; color: var(--ink); }

.form-group input,
.form-group select,
.form-group textarea {
    background: white;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 12px 16px;
    font-size: 14px;
    font-family: inherit;
    color: var(--ink);
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--mid); }

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(37,99,235,0.1);
}

.form-group textarea { resize: vertical; min-height: 120px; }

.btn-submit {
    background: var(--accent);
    color: white;
    border: none;
    padding: 14px 32px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    width: 100%;
    transition: all 0.2s;
    box-shadow: 0 2px 8px rgba(37,99,235,0.3);
}

.btn-submit:hover { background: #d38716; transform: translateY(-1px); }

.form-success { font-size: 14px; color: #16a34a; font-weight: 500; margin-top: 12px; }

/* ── SCROLL ANIMATION ── */
.fade-in { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ── MOBILE ── */
@media (max-width: 768px) {
    .navbar { padding: 0 20px; }
    .hamburger { display: flex; }

    .nav-links {
        display: none;
        position: fixed;
        top: 70px; left: 0;
        width: 100%;
        background: rgb(18, 17, 17);
        flex-direction: column;
        gap: 0;
        padding: 8px;
        border-bottom: 1px solid var(--border);
        box-shadow: 0 8px 24px rgba(0,0,0,0.1);
        z-index: 999;
    }

    .nav-links.open { display: flex; }
    .nav-links a { padding: 12px 16px; }
    .dropdown-menu { position: static; box-shadow: none; border: none; background: var(--dark); }

    .hero, .page-hero { grid-template-columns: 1fr; padding: 100px 24px 60px; }
    .hero-image, .page-hero-image { height: 260px; }
    .hero h1 { font-size: 36px; }
    .page-hero-content h1 { font-size: 32px; }
    .hero-buttons { flex-direction: column; align-items: flex-start; }

    .contact-hero { padding: 120px 24px 60px; }
    .contact-hero-content h1 { font-size: 32px; }

    .section { padding: 60px 24px; }
    .three-col { grid-template-columns: 1fr; }
    .two-col { grid-template-columns: 1fr; }

    .service-intro { grid-template-columns: 1fr; gap: 40px; }
    .service-intro-image { height: 260px; }

    .sub-service-card { grid-template-columns: 1fr; gap: 32px; }
    .sub-service-card.reverse { direction: ltr; }
    .sub-service-image { height: 220px; }
    .sub-cards-grid, .sub-cards-grid.three { grid-template-columns: 1fr; }

    .about-mission { grid-template-columns: 1fr; padding: 60px 24px; gap: 40px; }
    .mission-image { height: 260px; }

    .contact-section { padding: 60px 24px; }
    .contact-grid { grid-template-columns: 1fr; gap: 48px; }
    .contact-form-wrap { padding: 28px; }
    .form-row { grid-template-columns: 1fr; }

    .footer { padding: 60px 24px 0; }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }

    .cta-section { padding: 60px 24px; }
    .cta-section h2 { font-size: 28px; }

    .section-title { font-size: 30px; }

    #chat-widget { width: calc(100vw - 32px); right: 16px; bottom: 88px; }
}

@media (max-width: 480px) {
    .hero h1 { font-size: 28px; }
    .section-title { font-size: 24px; }
}
