/* ══════════════════════════════════════════════
   G Q Mutajirs (Pvt.) Ltd — Design System
   Primary: #4B6B8A (Air Force Blue)
   Accent:  #D4A017 (Industrial Gold)
   Dark:    #1F2937
   Light:   #F4F6F9
   Text:    #222831
   ══════════════════════════════════════════════ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --primary: #4B6B8A;
    --primary-dark: #3A5A7A;
    --primary-light: #6B8BA8;
    --accent: #D4A017;
    --accent-dark: #B8860B;
    --dark: #1F2937;
    --darker: #111827;
    --light: #F4F6F9;
    --text: #222831;
    --text-light: #6B7280;
    --border: #E5E7EB;
    --white: #FFFFFF;
    --shadow: 0 4px 6px -1px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 30px -5px rgba(0,0,0,0.15);
    --radius: 8px;
    --transition: 0.3s ease;
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Inter', sans-serif;
}

html { scroll-behavior: smooth; }
body { font-family: var(--font-body); color: var(--text); line-height: 1.7; overflow-x: hidden; }
h1, h2, h3, h4, h5, h6 { font-family: var(--font-heading); font-weight: 600; line-height: 1.3; }
a { color: var(--primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--accent); }
img { max-width: 100%; height: auto; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section { padding: 80px 0; }
.section-dark { background: var(--dark); color: var(--white); }
.section-light { background: var(--light); }
.gold { color: var(--accent); }
.gold-divider { width: 60px; height: 3px; background: var(--accent); margin: 15px 0 20px; }

.section-title {
    font-size: 2rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
    position: relative;
    display: inline-block;
}

.section-subtitle {
    color: var(--text-light);
    font-size: 1.05rem;
    margin-bottom: 40px;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header .gold-divider {
    margin: 15px auto 20px;
}

/* ─── Top Bar ─── */
.top-bar {
    background: var(--dark);
    color: var(--white);
    padding: 8px 0;
    font-size: 0.85rem;
}
.top-bar-content {
    display: flex;
    justify-content: flex-end;
    gap: 25px;
}
.top-bar-content i { margin-right: 6px; color: var(--accent); }

/* ─── Navigation ─── */
.main-nav {
    background: var(--white);
    border-bottom: 2px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
.nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}
.logo-text { font-family: var(--font-heading); font-size: 1.5rem; font-weight: 700; color: var(--primary); }
.logo-sub { display: block; font-size: 0.65rem; color: var(--text-light); letter-spacing: 2px; text-transform: uppercase; }
.nav-menu { display: flex; list-style: none; gap: 5px; }
.nav-menu a {
    padding: 8px 16px;
    border-radius: var(--radius);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text);
    transition: all var(--transition);
}
.nav-menu a:hover,
.nav-menu a.active { background: var(--primary); color: var(--white); }
.mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}
.mobile-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background: var(--primary);
    margin: 5px 0;
    transition: var(--transition);
}

/* ─── Hero ─── */
.hero {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--dark) 100%);
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('https://images.unsplash.com/photo-1504917595217-d4dc5ebe6122?q=80&w=2070&auto=format&fit=crop') center/cover;
    opacity: 0.15;
    z-index: 0;
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        rgba(255,255,255,0.015) 2px,
        rgba(255,255,255,0.015) 4px
    );
    z-index: 1;
}
.hero .container { position: relative; z-index: 2; }
.hero-content { max-width: 700px; }
.hero h1 {
    font-size: 3rem;
    color: var(--white);
    margin-bottom: 20px;
    line-height: 1.2;
}
.hero p {
    font-size: 1.15rem;
    color: rgba(255,255,255,0.8);
    margin-bottom: 35px;
    line-height: 1.8;
}
.hero-buttons { display: flex; gap: 15px; flex-wrap: wrap; }
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: var(--radius);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all var(--transition);
    border: none;
    text-decoration: none;
}
.btn-primary { background: var(--accent); color: var(--dark); }
.btn-primary:hover { background: var(--accent-dark); color: var(--dark); transform: translateY(-2px); box-shadow: 0 8px 25px rgba(212,160,23,0.3); }
.btn-outline { background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,0.3); }
.btn-outline:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }

/* ─── Company Intro ─── */
.intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.intro-image {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    min-height: 400px;
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
}
.intro-image i { font-size: 6rem; color: rgba(255,255,255,0.3); }

/* ─── Stats Counter ─── */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 30px;
    text-align: center;
}
.stat-card { padding: 30px 15px; }
.stat-number {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--accent);
}
.stat-label { color: rgba(255,255,255,0.7); margin-top: 5px; font-size: 0.95rem; }

/* ─── Services / Cards Grid ─── */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
}
.card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 35px 25px;
    box-shadow: var(--shadow);
    transition: all var(--transition);
    border-top: 3px solid transparent;
}
.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-top-color: var(--accent);
}
.card-icon {
    width: 60px;
    height: 60px;
    background: var(--light);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 15px;
    transition: all var(--transition);
}
.card:hover .card-icon { background: var(--primary); color: var(--white); }
.card h3 { font-size: 1.15rem; margin-bottom: 10px; }
.card p { color: var(--text-light); font-size: 0.9rem; }

/* ─── Vision & Mission ─── */
.vm-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}
.vm-card {
    padding: 40px;
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: var(--shadow);
    border-left: 4px solid var(--accent);
}
.vm-card h3 {
    font-size: 1.3rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

/* ─── Core Values ─── */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
}
.value-item {
    text-align: center;
    padding: 25px 15px;
    background: rgba(255,255,255,0.05);
    border-radius: var(--radius);
    border: 1px solid rgba(255,255,255,0.1);
    transition: all var(--transition);
}
.value-item:hover { background: rgba(255,255,255,0.1); transform: translateY(-3px); }
.value-item i { font-size: 2rem; color: var(--accent); margin-bottom: 10px; }
.value-item h4 { font-size: 1rem; margin-bottom: 8px; }
.value-item p { font-size: 0.85rem; color: rgba(255,255,255,0.6); }

/* ─── Project Cards ─── */
.project-card {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    background: var(--white);
    transition: all var(--transition);
}
.project-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.project-card-image {
    height: 200px;
    background: var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 3rem;
}
.project-card-body { padding: 20px; }
.project-card-body h3 { font-size: 1.05rem; margin-bottom: 5px; }
.project-value {
    color: var(--accent);
    font-weight: 600;
    font-size: 1.1rem;
}

/* ─── Team ─── */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
}
.team-card {
    text-align: center;
    padding: 30px 20px;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: all var(--transition);
}
.team-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.team-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: var(--light);
    margin: 0 auto 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--primary);
    border: 3px solid var(--border);
    overflow: hidden;
}
.team-card h4 { font-size: 1.1rem; }
.team-card .designation { color: var(--primary); font-weight: 500; font-size: 0.9rem; margin: 5px 0; }
.team-card .qualifications { font-size: 0.85rem; color: var(--text-light); white-space: pre-line; }

/* ─── Clients ─── */
.client-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}
.client-logo {
    padding: 20px 30px;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    font-weight: 600;
    color: var(--primary);
    text-align: center;
    border: 1px solid var(--border);
    transition: all var(--transition);
    min-width: 200px;
}
.client-logo:hover { border-color: var(--accent); color: var(--accent); }

/* ─── CTA Section ─── */
.cta-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--dark) 100%);
    text-align: center;
    padding: 80px 0;
    color: var(--white);
}
.cta-section h2 { font-size: 2rem; margin-bottom: 15px; }
.cta-section p { font-size: 1.1rem; opacity: 0.85; margin-bottom: 30px; }

/* ─── Footer ─── */
.site-footer {
    background: var(--darker);
    color: rgba(255,255,255,0.7);
    padding: 60px 0 0;
}
.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-col h4 {
    color: var(--white);
    font-size: 1.05rem;
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 10px;
}
.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--accent);
}
.footer-col p { margin-bottom: 8px; font-size: 0.9rem; }
.footer-col p i { color: var(--accent); margin-right: 8px; width: 16px; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul a { color: rgba(255,255,255,0.6); font-size: 0.9rem; }
.footer-col ul a:hover { color: var(--accent); padding-left: 5px; }
.footer-bottom {
    text-align: center;
    padding: 20px 0;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.4);
}

.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 45px;
    height: 45px;
    background: var(--accent);
    color: var(--dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition);
    z-index: 999;
}
.scroll-top.visible { opacity: 1; visibility: visible; }
.scroll-top:hover { background: var(--accent-dark); color: var(--dark); transform: translateY(-3px); }

/* ─── Page Header Banner ─── */
.page-banner {
    background: linear-gradient(135deg, var(--primary-dark), var(--dark));
    padding: 80px 0 50px;
    text-align: center;
    position: relative;
}
.page-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('https://images.unsplash.com/photo-1504917595217-d4dc5ebe6122?q=80&w=2070&auto=format&fit=crop') center/cover;
    opacity: 0.08;
}
.page-banner .container { position: relative; z-index: 1; }
.page-banner h1 { color: var(--white); font-size: 2.2rem; }
.page-banner p { color: rgba(255,255,255,0.7); margin-top: 10px; }

/* ─── Content Pages ─── */
.page-content { max-width: 800px; margin: 0 auto; }
.page-content h2 { margin-top: 30px; color: var(--primary); }
.page-content p { margin-bottom: 15px; }

/* ─── Contact Form ─── */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-weight: 500; margin-bottom: 5px; font-size: 0.9rem; }
.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: border-color var(--transition);
}
.form-control:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(75,107,138,0.1); }
textarea.form-control { min-height: 150px; resize: vertical; }

/* ─── Alert ─── */
.alert {
    padding: 15px 20px;
    border-radius: var(--radius);
    margin-bottom: 20px;
    font-size: 0.95rem;
}
.alert-success { background: #d4edda; color: #155724; border: 1px solid #c3e6cb; }
.alert-error { background: #f8d7da; color: #721c24; border: 1px solid #f5c6cb; }

/* ─── Responsive ─── */
@media (max-width: 768px) {
    .mobile-toggle { display: block; }
    .nav-menu {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 15px;
        box-shadow: var(--shadow-lg);
        border-top: 2px solid var(--border);
    }
    .nav-menu.open { display: flex; }
    .hero h1 { font-size: 2rem; }
    .intro-grid,
    .vm-grid,
    .contact-grid { grid-template-columns: 1fr; }
    .section { padding: 50px 0; }
    .section-title { font-size: 1.5rem; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .cards-grid { grid-template-columns: 1fr; }
    .top-bar-content { justify-content: center; font-size: 0.8rem; gap: 15px; }
}

@media (max-width: 480px) {
    .hero h1 { font-size: 1.6rem; }
    .hero p { font-size: 1rem; }
    .hero-buttons { flex-direction: column; }
    .btn { width: 100%; justify-content: center; }
    .stats-grid { grid-template-columns: 1fr 1fr; }
    .stat-number { font-size: 2rem; }
}
