/* ============================================
   NorthTrac 2026 - Modern Website Styles
   Brand Colors:
     Primary Green:  #5DC288
     Charcoal:       #262524
     Orange Accent:  #FB962B
     Light Blue:     #D9F3FF
     Dark Navy:      #1e2036
   ============================================ */

:root {
    --green: #5DC288;
    --green-dark: #4aad73;
    --green-light: #e8f5ee;
    --charcoal: #262524;
    --orange: #FB962B;
    --light-blue: #D9F3FF;
    --navy: #1e2036;
    --white: #ffffff;
    --off-white: #f8f9fa;
    --gray-100: #f0f0f0;
    --gray-200: #e5e5e5;
    --gray-500: #888;
    --gray-700: #474544;
    --font-primary: 'Poppins', sans-serif;
    --font-secondary: 'Lora', serif;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.1);
    --shadow-lg: 0 8px 40px rgba(0,0,0,0.12);
    --transition: all 0.3s ease;
}

/* ---- Reset & Base ---- */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    color: var(--charcoal);
    line-height: 1.7;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    font-weight: 600;
    line-height: 1.3;
}

a {
    text-decoration: none;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
}

/* ---- Section Utilities ---- */
.section-padding {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 16px;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--green);
    border-radius: 2px;
    margin: 16px auto 0;
}

.section-header p {
    font-size: 1.125rem;
    color: var(--gray-500);
    max-width: 600px;
    margin: 0 auto;
}

/* ---- Navigation ---- */
#mainNav {
    padding: 16px 0;
    transition: var(--transition);
    background: transparent;
}

#mainNav.scrolled {
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    padding: 10px 0;
}

.nav-logo {
    height: 40px;
    transition: var(--transition);
}

#mainNav.scrolled .nav-logo {
    height: 34px;
}

#mainNav .navbar-nav .nav-link {
    color: var(--white);
    font-weight: 500;
    font-size: 0.95rem;
    padding: 8px 18px;
    border-radius: 6px;
    transition: var(--transition);
}

#mainNav.scrolled .navbar-nav .nav-link {
    color: var(--charcoal);
}

#mainNav .navbar-nav .nav-link:hover,
#mainNav .navbar-nav .nav-link.active {
    color: var(--green);
}

.navbar-toggler {
    border: none;
    padding: 4px 8px;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.9%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

#mainNav.scrolled .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2838, 37, 36, 0.9%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ---- Hero Section ---- */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--navy) 0%, var(--charcoal) 50%, #1a3a2a 100%);
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(93,194,136,0.15) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 8s ease-in-out infinite;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(251,150,43,0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 10s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-40px); }
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 24px;
    line-height: 1.15;
}

.hero-content h1 span {
    color: var(--green);
}

.hero-content p {
    font-size: 1.2rem;
    color: rgba(255,255,255,0.75);
    max-width: 540px;
    margin-bottom: 36px;
    line-height: 1.8;
}

.btn-hero {
    display: inline-block;
    padding: 14px 36px;
    background: var(--green);
    color: var(--white);
    font-weight: 600;
    font-size: 1rem;
    border-radius: 50px;
    border: none;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(93,194,136,0.4);
}

.btn-hero:hover {
    background: var(--green-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(93,194,136,0.5);
    color: var(--white);
}

.btn-hero-outline {
    display: inline-block;
    padding: 14px 36px;
    background: transparent;
    color: var(--white);
    font-weight: 600;
    font-size: 1rem;
    border-radius: 50px;
    border: 2px solid rgba(255,255,255,0.3);
    transition: var(--transition);
    margin-left: 16px;
}

.btn-hero-outline:hover {
    border-color: var(--green);
    color: var(--green);
    transform: translateY(-2px);
}

.hero-image-col {
    position: relative;
    z-index: 2;
}

.hero-image-wrapper {
    position: relative;
}

.hero-image-wrapper img {
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
}

.hero-badge {
    position: absolute;
    bottom: -20px;
    left: -20px;
    background: var(--white);
    border-radius: 16px;
    padding: 20px 24px;
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    gap: 12px;
}

.hero-badge i {
    font-size: 1.5rem;
    color: var(--green);
}

.hero-badge .badge-text {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--charcoal);
}

.hero-badge .badge-sub {
    font-size: 0.8rem;
    color: var(--gray-500);
}

/* ---- Trusted By / Stats Bar ---- */
.stats-bar {
    background: var(--white);
    padding: 50px 0;
    border-bottom: 1px solid var(--gray-200);
}

.stat-item {
    text-align: center;
    padding: 10px 20px;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--green);
    display: block;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ---- Services Section ---- */
.services-section {
    background: var(--off-white);
}

.service-card {
    background: var(--white);
    border-radius: 16px;
    padding: 40px 32px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid transparent;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--green-light);
}

.service-icon {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    font-size: 2rem;
    transition: var(--transition);
}

.service-card:nth-child(1) .service-icon {
    background: var(--green-light);
    color: var(--green);
}

.service-card:nth-child(2) .service-icon {
    background: #fff3e0;
    color: var(--orange);
}

.service-card:nth-child(3) .service-icon {
    background: var(--light-blue);
    color: #2196f3;
}

.service-card:hover .service-icon {
    transform: scale(1.1);
}

.service-card h4 {
    font-size: 1.25rem;
    margin-bottom: 14px;
    font-weight: 600;
}

.service-card p {
    color: var(--gray-500);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 0;
}

/* ---- About Section ---- */
.about-section {
    background: var(--white);
}

.about-image-container {
    position: relative;
}

.about-image-container img {
    border-radius: 20px;
    box-shadow: var(--shadow-md);
}

.about-accent {
    position: absolute;
    width: 200px;
    height: 200px;
    background: var(--green-light);
    border-radius: 20px;
    z-index: -1;
    top: -20px;
    left: -20px;
}

.about-content h2 {
    font-size: 2.25rem;
    margin-bottom: 20px;
}

.about-content h2 span {
    color: var(--green);
}

.about-content p {
    color: var(--gray-500);
    margin-bottom: 16px;
    font-size: 1.05rem;
}

.about-features {
    list-style: none;
    padding: 0;
    margin: 30px 0;
}

.about-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
    font-weight: 500;
}

.about-features li i {
    color: var(--green);
    font-size: 1.1rem;
    width: 24px;
    text-align: center;
}

/* ---- Who We Help ---- */
.audience-section {
    background: linear-gradient(135deg, var(--navy) 0%, var(--charcoal) 100%);
    color: var(--white);
}

.audience-section .section-header h2 {
    color: var(--white);
}

.audience-section .section-header p {
    color: rgba(255,255,255,0.6);
}

.audience-section .section-header h2::after {
    background: var(--green);
}

.audience-item {
    text-align: center;
    padding: 30px 20px;
}

.audience-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(93,194,136,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 1.4rem;
    color: var(--green);
    transition: var(--transition);
}

.audience-item:hover .audience-icon {
    background: var(--green);
    color: var(--white);
    transform: scale(1.1);
}

.audience-item h6 {
    font-weight: 600;
    font-size: 0.95rem;
}

/* ---- Products Section ---- */
.products-section {
    background: var(--off-white);
}

.product-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    transition: var(--transition);
    height: 100%;
    border: 1px solid var(--gray-200);
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.product-card-header {
    padding: 32px 28px 20px;
    position: relative;
}

.product-card-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--green);
}

.product-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 18px;
    background: var(--green-light);
    color: var(--green);
}

.contact-form .form-select {
    border: 2px solid var(--gray-200);
    border-radius: 10px;
    padding: 12px 16px;
    font-size: 0.95rem;
    transition: var(--transition);
    font-family: var(--font-primary);
    color: var(--charcoal);
}

.contact-form .form-select:focus {
    border-color: var(--green);
    box-shadow: 0 0 0 3px rgba(93,194,136,0.15);
}

.product-card h4 {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.product-card-body {
    padding: 0 28px 28px;
}

.product-card-body p {
    color: var(--gray-500);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

.product-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--green);
    font-weight: 600;
    font-size: 0.9rem;
}

.product-link:hover {
    color: var(--green-dark);
    gap: 10px;
}

/* ---- Features Highlight ---- */
.features-section {
    background: var(--white);
}

.feature-highlight {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 24px 0;
}

.feature-highlight-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    border-radius: 12px;
    background: var(--green-light);
    color: var(--green);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.feature-highlight h5 {
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 6px;
}

.feature-highlight p {
    color: var(--gray-500);
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* ---- Contact Section ---- */
.contact-section {
    background: linear-gradient(135deg, var(--navy) 0%, var(--charcoal) 100%);
    color: var(--white);
}

.contact-section .section-header h2 {
    color: var(--white);
}

.contact-section .section-header h2::after {
    background: var(--green);
}

.contact-section .section-header p {
    color: rgba(255,255,255,0.6);
}

.contact-form {
    background: var(--white);
    border-radius: 20px;
    padding: 48px 40px;
    box-shadow: var(--shadow-lg);
    max-width: 600px;
    margin: 0 auto;
}

.contact-form .form-label {
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--charcoal);
    margin-bottom: 6px;
}

.contact-form .form-control {
    border: 2px solid var(--gray-200);
    border-radius: 10px;
    padding: 12px 16px;
    font-size: 0.95rem;
    transition: var(--transition);
    font-family: var(--font-primary);
}

.contact-form .form-control:focus {
    border-color: var(--green);
    box-shadow: 0 0 0 3px rgba(93,194,136,0.15);
}

.contact-form textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

.btn-submit {
    width: 100%;
    padding: 14px;
    background: var(--green);
    color: var(--white);
    border: none;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1rem;
    font-family: var(--font-primary);
    transition: var(--transition);
    cursor: pointer;
}

.btn-submit:hover {
    background: var(--green-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(93,194,136,0.4);
}

.contact-info-card {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 16px;
    padding: 28px;
    margin-bottom: 20px;
    transition: var(--transition);
}

.contact-info-card:hover {
    background: rgba(255,255,255,0.12);
}

.contact-info-card i {
    font-size: 1.5rem;
    color: var(--green);
    margin-bottom: 12px;
}

.contact-info-card h6 {
    font-weight: 600;
    margin-bottom: 6px;
}

.contact-info-card p {
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* ---- Footer ---- */
.site-footer {
    background: var(--charcoal);
    color: rgba(255,255,255,0.8);
    padding: 80px 0 30px;
}

.footer-logo {
    height: 36px;
}

.footer-desc {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.5);
    line-height: 1.7;
    max-width: 320px;
}

.footer-heading {
    font-weight: 600;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.85rem;
    margin-bottom: 20px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255,255,255,0.5);
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--green);
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(255,255,255,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.6);
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--green);
    color: var(--white);
    transform: translateY(-3px);
}

.footer-contact {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.5);
}

.footer-divider {
    border-color: rgba(255,255,255,0.1);
    margin: 40px 0 20px;
}

.footer-copy {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.4);
    margin-bottom: 0;
}

.footer-copy-link {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.4);
}

.footer-copy-link:hover {
    color: var(--green);
}

/* ---- Animations ---- */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ---- Responsive ---- */
@media (max-width: 991.98px) {
    .nav-logo {
        height: 32px;
    }

    #mainNav.scrolled .nav-logo {
        height: 28px;
    }

    .hero-section {
        padding-top: 80px;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .navbar-collapse {
        background: var(--white);
        border-radius: 12px;
        padding: 16px;
        margin-top: 10px;
        box-shadow: var(--shadow-md);
    }

    .navbar-collapse .nav-link {
        color: var(--charcoal) !important;
        padding: 10px 16px !important;
    }

    .hero-image-col {
        margin-top: 40px;
    }

    .contact-form {
        padding: 32px 24px;
    }
}

@media (max-width: 767.98px) {
    .nav-logo {
        height: 28px;
    }

    #mainNav.scrolled .nav-logo {
        height: 24px;
    }

    .hero-section {
        padding-top: 70px;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .section-padding {
        padding: 60px 0;
    }

    .section-header {
        margin-bottom: 40px;
    }

    .btn-hero-outline {
        margin-left: 0;
        margin-top: 12px;
    }

    .hero-badge {
        bottom: -10px;
        left: 10px;
        padding: 14px 18px;
    }

    .about-accent {
        width: 120px;
        height: 120px;
    }

    .stat-number {
        font-size: 2rem;
    }
}
