/* ============================================
   APEX Government Sourcing - Modern Professional Stylesheet
   VERSION 2.0 - UPDATED WITH LARGER LOGO & NEW COLORS
   Last Updated: January 2026
   ============================================ */

/* === Reset & Base === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-blue: #0f4c81;
    --secondary-blue: #1e88e5;
    --accent-blue: #42a5f5;
    --dark: #1a202c;
    --gray: #4a5568;
    --light-gray: #f7fafc;
    --white: #ffffff;
    --success: #10b981;
    
    --font-main: 'Roboto', sans-serif;
    
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    color: var(--dark);
    line-height: 1.6;
    font-size: 16px;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* === Header === */
.header {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
    border-bottom: 1px solid #e2e8f0;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
}

.logo img {
    height: 90px;
    width: auto;
    padding: 8px 16px;
    background: var(--white);
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 40px;
    align-items: center;
}

.main-nav a {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: color 0.3s ease;
    position: relative;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--secondary-blue);
}

.main-nav a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--secondary-blue);
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-toggle span {
    width: 30px;
    height: 3px;
    background: var(--dark);
    transition: all 0.3s ease;
}

/* === Buttons === */
.btn {
    display: inline-block;
    padding: 14px 32px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, var(--secondary-blue) 0%, var(--accent-blue) 100%);
    color: var(--white);
    box-shadow: var(--shadow);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-primary-large {
    background: linear-gradient(135deg, var(--secondary-blue) 0%, var(--accent-blue) 100%);
    color: var(--white);
    padding: 18px 40px;
    font-size: 18px;
    font-weight: 700;
    box-shadow: var(--shadow-lg);
}

.btn-primary-large:hover {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
}

.btn-secondary-large {
    background: transparent;
    color: var(--white);
    padding: 18px 40px;
    font-size: 18px;
    font-weight: 700;
    border: 2px solid var(--white);
}

.btn-secondary-large:hover {
    background: var(--white);
    color: var(--primary-blue);
    transform: translateY(-3px);
}

.btn-white-large {
    background: var(--white);
    color: var(--primary-blue);
    padding: 18px 40px;
    font-size: 18px;
    font-weight: 700;
    box-shadow: var(--shadow-lg);
}

.btn-white-large:hover {
    background: var(--light-gray);
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
}

/* === Hero Section === */
.hero-main {
    position: relative;
    min-height: 700px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

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

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(15, 76, 129, 0.90) 0%, rgba(30, 136, 229, 0.85) 100%);
}

.hero-content-main {
    position: relative;
    z-index: 2;
    color: var(--white);
    max-width: 900px;
    padding: 80px 0;
}

.hero-content-main h1 {
    font-size: 56px;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 24px;
}

.highlight {
    color: var(--accent-blue);
}

.hero-subtitle {
    font-size: 22px;
    font-weight: 300;
    margin-bottom: 40px;
    opacity: 0.95;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

/* === Featured Services === */
.featured-services {
    padding: 100px 0;
    background: var(--white);
}

.services-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
}

.services-intro h2 {
    font-size: 42px;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 16px;
}

.services-intro p {
    font-size: 20px;
    color: var(--gray);
}

.services-grid-large {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
}

.service-box {
    background: var(--white);
    border: 2px solid var(--light-gray);
    border-radius: 16px;
    padding: 40px 32px;
    transition: all 0.3s ease;
    text-align: center;
}

.service-box:hover {
    border-color: var(--secondary-blue);
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.service-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 24px;
    background: linear-gradient(135deg, var(--secondary-blue), var(--accent-blue));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.service-icon i {
    font-size: 48px;
    color: var(--white);
}

.service-box:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
}

.service-box h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 16px;
}

.service-box p {
    font-size: 16px;
    color: var(--gray);
    line-height: 1.7;
    margin-bottom: 20px;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--secondary-blue);
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
}

.service-link:hover {
    gap: 12px;
    color: var(--primary-blue);
}

/* === Why Choose Section === */
.why-choose-section {
    padding: 100px 0;
    background: var(--light-gray);
}

.why-choose-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.section-label {
    display: inline-block;
    background: var(--secondary-blue);
    color: var(--white);
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.why-choose-content h2 {
    font-size: 42px;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 20px;
    line-height: 1.2;
}

.lead-text {
    font-size: 20px;
    color: var(--gray);
    margin-bottom: 40px;
    line-height: 1.7;
}

.benefits-list {
    margin-bottom: 40px;
}

.benefit-item {
    display: flex;
    gap: 20px;
    margin-bottom: 28px;
}

.benefit-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: var(--secondary-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.benefit-icon i {
    color: var(--white);
    font-size: 20px;
}

.benefit-text h4 {
    font-size: 20px;
    font-weight: 600;
    color: var(--primary-blue);
    margin-bottom: 4px;
}

.benefit-text p {
    font-size: 16px;
    color: var(--gray);
}

.why-choose-visual {
    position: relative;
}

.stats-showcase {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 24px;
}

.stat-box {
    background: var(--white);
    padding: 24px;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow);
}

.stat-number {
    font-size: 48px;
    font-weight: 900;
    color: var(--secondary-blue);
    line-height: 1;
}

.stat-label {
    font-size: 14px;
    color: var(--gray);
    margin-top: 8px;
    font-weight: 500;
}

.visual-image {
    width: 100%;
    border-radius: 16px;
    box-shadow: var(--shadow-xl);
}

/* === Process Section === */
.process-section {
    padding: 100px 0;
    background: var(--white);
}

.section-header-center {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
}

.section-header-center h2 {
    font-size: 42px;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 16px;
}

.section-header-center p {
    font-size: 20px;
    color: var(--gray);
}

.process-timeline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.process-step {
    text-align: center;
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--secondary-blue), var(--accent-blue));
    border-radius: 50%;
    font-size: 32px;
    font-weight: 900;
    color: var(--white);
    margin-bottom: 24px;
}

.step-content h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 12px;
}

.step-content p {
    font-size: 16px;
    color: var(--gray);
    line-height: 1.6;
}

/* === CTA Section === */
.cta-section-main {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
    color: var(--white);
}

.cta-content-main {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.cta-content-main h2 {
    font-size: 48px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 20px;
}

.cta-content-main p {
    font-size: 22px;
    margin-bottom: 40px;
    opacity: 0.95;
}

/* === Footer === */
.footer-main {
    background: var(--dark);
    color: #9ca3af;
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    height: 70px;
    margin-bottom: 20px;
    background: rgba(255, 255, 255, 0.1);
    padding: 8px 16px;
    border-radius: 8px;
}

.footer-about p {
    font-size: 15px;
    line-height: 1.7;
}

.footer-links h4,
.footer-contact h4 {
    color: var(--white);
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
}

.footer-links ul,
.footer-contact ul {
    list-style: none;
}

.footer-links li,
.footer-contact li {
    margin-bottom: 12px;
}

.footer-links a,
.footer-contact a {
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover,
.footer-contact a:hover {
    color: var(--accent-blue);
}

.footer-contact li i {
    margin-right: 8px;
    color: var(--secondary-blue);
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 30px;
    text-align: center;
}

.footer-bottom p {
    font-size: 14px;
}

/* === Responsive === */
/* === Page Hero Styles (for inner pages) === */
.page-hero {
    position: relative;
    padding: 120px 0 80px;
    background-size: cover;
    background-position: center;
}

.page-hero-content {
    position: relative;
    z-index: 2;
    color: var(--white);
    text-align: center;
}

.page-hero-content h1 {
    font-size: 48px;
    font-weight: 900;
    margin-bottom: 16px;
}

.page-hero-content p {
    font-size: 22px;
    font-weight: 300;
}

/* === Content Section Styles === */
.content-section {
    padding: 100px 0;
}

.content-grid-50-50 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.content-grid-50-50 h2 {
    font-size: 36px;
    color: var(--primary-blue);
    margin: 20px 0;
}

.content-grid-50-50 p {
    font-size: 18px;
    color: var(--gray);
    margin-bottom: 20px;
    line-height: 1.7;
}

/* === Values Section === */
.certifications-section {
    padding: 100px 0;
    background: var(--white);
}

.certifications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 60px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.cert-card {
    background: linear-gradient(135deg, var(--secondary-blue), var(--accent-blue));
    padding: 50px 40px;
    border-radius: 16px;
    text-align: center;
    box-shadow: var(--shadow-xl);
    transition: all 0.3s ease;
    color: var(--white);
}

.cert-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.cert-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 24px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
}

.cert-icon i {
    font-size: 48px;
    color: var(--white);
}

.cert-card h3 {
    font-size: 28px;
    color: var(--white);
    margin-bottom: 12px;
    font-weight: 700;
}

.cert-card p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 18px;
    line-height: 1.6;
}

/* === Values Section === */
.values-section {
    padding: 100px 0;
    background: var(--light-gray);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 32px;
    margin-top: 40px;
}

.value-card {
    background: var(--white);
    padding: 40px 32px;
    border-radius: 16px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.value-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    background: linear-gradient(135deg, var(--secondary-blue), var(--accent-blue));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.value-icon i {
    font-size: 36px;
    color: var(--white);
}

.value-card h3 {
    font-size: 24px;
    color: var(--primary-blue);
    margin-bottom: 12px;
}

.value-card p {
    color: var(--gray);
    line-height: 1.6;
}

/* === Capabilities Grid === */
.capabilities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 60px;
}

.capability-card {
    background: var(--white);
    border: 2px solid var(--light-gray);
    border-radius: 12px;
    padding: 32px 24px;
    text-align: center;
    transition: all 0.3s ease;
}

.capability-card:hover {
    border-color: var(--secondary-blue);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.capability-icon-sm {
    font-size: 40px;
    color: var(--secondary-blue);
    margin-bottom: 16px;
}

.capability-card h3 {
    font-size: 20px;
    color: var(--primary-blue);
    margin-bottom: 12px;
}

.capability-card p {
    font-size: 15px;
    color: var(--gray);
    line-height: 1.6;
}

/* === Contact Page Styles === */
.contact-form-section {
    padding: 100px 0;
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
}

.contact-info h2 {
    font-size: 36px;
    color: var(--primary-blue);
    margin-bottom: 16px;
}

.contact-info > p {
    font-size: 18px;
    color: var(--gray);
    margin-bottom: 32px;
    line-height: 1.7;
}

.contact-details-list {
    margin-bottom: 40px;
}

.contact-detail-item {
    display: flex;
    gap: 20px;
    margin-bottom: 24px;
}

.contact-detail-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--secondary-blue), var(--accent-blue));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-detail-icon i {
    font-size: 24px;
    color: var(--white);
}

.contact-detail-item h4 {
    font-size: 18px;
    color: var(--primary-blue);
    margin-bottom: 4px;
}

.contact-detail-item p {
    font-size: 16px;
    color: var(--dark);
}

.small-text {
    font-size: 14px !important;
    color: var(--gray) !important;
}

.contact-benefits {
    background: var(--light-gray);
    padding: 24px;
    border-radius: 12px;
}

.contact-benefits h3 {
    font-size: 20px;
    color: var(--primary-blue);
    margin-bottom: 16px;
}

.contact-benefits ul {
    list-style: none;
}

.contact-benefits li {
    display: flex;
    align-items: start;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 15px;
    color: var(--gray);
}

.contact-benefits li i {
    color: var(--secondary-blue);
    margin-top: 3px;
}

.form-container-main {
    background: var(--white);
    border: 2px solid var(--light-gray);
    border-radius: 16px;
    padding: 40px;
    box-shadow: var(--shadow-lg);
}

.form-container-main h3 {
    font-size: 28px;
    color: var(--primary-blue);
    margin-bottom: 12px;
}

.form-intro {
    font-size: 16px;
    color: var(--gray);
    margin-bottom: 32px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid var(--light-gray);
    border-radius: 8px;
    font-size: 16px;
    font-family: var(--font-main);
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary-blue);
    box-shadow: 0 0 0 4px rgba(30, 136, 229, 0.1);
}

.form-note {
    font-size: 14px;
    color: var(--gray);
    text-align: center;
    margin-top: 16px;
}

.form-message {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    border-radius: 12px;
    margin-top: 24px;
}

.form-message i {
    font-size: 32px;
    flex-shrink: 0;
}

.form-message h4 {
    font-size: 18px;
    margin-bottom: 4px;
}

.form-message p {
    font-size: 15px;
    margin: 0;
}

.form-message.success {
    background: #d1fae5;
    border: 2px solid #10b981;
    color: #065f46;
}

.form-message.success i {
    color: #10b981;
}

.form-message.error {
    background: #fee2e2;
    border: 2px solid #ef4444;
    color: #991b1b;
}

.form-message.error i {
    color: #ef4444;
}

/* === Services Page Specific === */
.service-box ul {
    list-style-position: inside;
    font-size: 15px;
    text-align: left;
    margin: 20px 0;
    color: var(--gray);
}

.service-box ul li {
    padding: 6px 0;
}

/* === Responsive === */
@media (max-width: 1024px) {
    .why-choose-grid,
    .footer-grid,
    .content-grid-50-50,
    .contact-layout {
        grid-template-columns: 1fr;
    }
    
    .hero-content-main h1 {
        font-size: 42px;
    }
}

@media (max-width: 768px) {
    .mobile-toggle {
        display: flex;
    }
    
    .main-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        box-shadow: var(--shadow-lg);
        display: none;
    }
    
    .main-nav.active {
        display: block;
    }
    
    .main-nav ul {
        flex-direction: column;
        padding: 20px;
        gap: 0;
    }
    
    .main-nav li {
        width: 100%;
        border-bottom: 1px solid var(--light-gray);
    }
    
    .main-nav a {
        display: block;
        padding: 16px 0;
    }
    
    .hero-content-main h1,
    .page-hero-content h1 {
        font-size: 32px;
    }
    
    .hero-subtitle {
        font-size: 18px;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .services-intro h2,
    .why-choose-content h2,
    .section-header-center h2,
    .content-grid-50-50 h2,
    .contact-info h2 {
        font-size: 32px;
    }
    
    .stats-showcase {
        grid-template-columns: 1fr;
    }
    
    .process-timeline {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .logo img {
        height: 70px;
    }
}
