/* =========
   Global Reset & Base Styles
   ========= */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #2c3e50;
    background-color: #ffffff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

ul {
    list-style: none;
}

/* =========
   Container & Layout
   ========= */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* =========
   Header & Navigation
   ========= */
.header {
    background-color: #1a2332;
    border-bottom: 1px solid #2d3748;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 600;
    color: #ffffff;
    letter-spacing: -0.5px;
}

.logo-nz-flag {
    margin-left: 10px;
    font-size: 1.2rem;
    display: inline-block;
}

.nav-links {
    display: flex;
    gap: 35px;
    align-items: center;
}

.nav-links a {
    color: #cbd5e0;
    font-size: 0.95rem;
    font-weight: 400;
    padding: 8px 0;
    position: relative;
    transition: color 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: #ffffff;
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background-color: #012169; /* New Zealand flag blue */
}

/* =========
   Hero Section
   ========= */
.hero {
    background: linear-gradient(135deg, #012169 0%, #1a2332 50%, #2d3748 100%);
    color: #ffffff;
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '★';
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 2rem;
    color: rgba(255, 255, 255, 0.1);
    opacity: 0.3;
}

.hero::after {
    content: '★';
    position: absolute;
    bottom: 20px;
    left: 20px;
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.1);
    opacity: 0.3;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: #cbd5e0;
    margin-bottom: 40px;
    line-height: 1.6;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

/* =========
   Buttons
   ========= */
.btn {
    display: inline-block;
    padding: 12px 30px;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    text-align: center;
}

.btn-primary {
    background-color: #012169; /* New Zealand flag blue */
    color: #ffffff;
}

.btn-primary:hover {
    background-color: #001050;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(1, 33, 105, 0.4);
}

.btn-secondary {
    background-color: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
}

.btn-secondary:hover {
    background-color: #ffffff;
    color: #1a2332;
}

/* =========
   Sections
   ========= */
.section {
    padding: 80px 0;
}

.section-light {
    background-color: #f7fafc;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a2332;
    margin-bottom: 15px;
    letter-spacing: -0.5px;
}

.section-description {
    font-size: 1.1rem;
    color: #64748b;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
}

/* =========
   Services Grid
   ========= */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.service-card {
    background-color: #ffffff;
    padding: 35px;
    border-radius: 6px;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    border-color: #012169; /* New Zealand flag blue */
}

.service-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: #1a2332;
    margin-bottom: 15px;
}

.service-card p {
    color: #64748b;
    line-height: 1.7;
    font-size: 0.95rem;
}

/* =========
   Stats Container
   ========= */
.stats-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    text-align: center;
}

.stat-item {
    padding: 20px;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: #012169; /* New Zealand flag blue */
    margin-bottom: 10px;
}

.stat-label {
    font-size: 1rem;
    color: #64748b;
    font-weight: 500;
}

/* =========
   Features Grid
   ========= */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.feature-item {
    padding: 25px;
    background-color: #ffffff;
    border-left: 4px solid #012169; /* New Zealand flag blue */
    border-radius: 4px;
}

.feature-item h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #1a2332;
    margin-bottom: 12px;
}

.feature-item p {
    color: #64748b;
    line-height: 1.7;
    font-size: 0.95rem;
}

/* =========
   Page Header
   ========= */
.page-header {
    background: linear-gradient(135deg, #012169 0%, #1a2332 50%, #2d3748 100%);
    color: #ffffff;
    padding: 80px 0 60px;
    text-align: center;
    position: relative;
}

.page-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 15px;
    letter-spacing: -1px;
}

.page-subtitle {
    font-size: 1.2rem;
    color: #cbd5e0;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

/* =========
   Content Grid
   ========= */
.content-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
    margin-top: 40px;
}

.content-main h2 {
    font-size: 2rem;
    font-weight: 600;
    color: #1a2332;
    margin-bottom: 20px;
    margin-top: 40px;
}

.content-main h2:first-child {
    margin-top: 0;
}

.content-main p {
    color: #4a5568;
    line-height: 1.8;
    margin-bottom: 20px;
    font-size: 1rem;
}

.info-card {
    background-color: #f7fafc;
    padding: 30px;
    border-radius: 6px;
    border: 1px solid #e2e8f0;
    margin-bottom: 25px;
}

.info-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #1a2332;
    margin-bottom: 20px;
}

.info-list {
    list-style: none;
}

.info-list li {
    padding: 10px 0;
    border-bottom: 1px solid #e2e8f0;
    color: #4a5568;
    font-size: 0.95rem;
}

.info-list li:last-child {
    border-bottom: none;
}

.info-list strong {
    color: #1a2332;
    font-weight: 600;
}

.values-list {
    list-style: none;
}

.values-list li {
    padding: 12px 0;
    color: #4a5568;
    font-size: 0.95rem;
    position: relative;
    padding-left: 25px;
}

.values-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #012169; /* New Zealand flag blue */
    font-weight: bold;
}

/* =========
   Team Grid
   ========= */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.team-member {
    text-align: center;
    padding: 30px;
    background-color: #ffffff;
    border-radius: 6px;
    border: 1px solid #e2e8f0;
}

.team-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: #012169; /* New Zealand flag blue */
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 600;
    margin: 0 auto 20px;
}

.team-member h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #1a2332;
    margin-bottom: 8px;
}

.team-role {
    color: #012169; /* New Zealand flag blue */
    font-weight: 500;
    margin-bottom: 12px;
    font-size: 0.95rem;
}

.team-bio {
    color: #64748b;
    font-size: 0.9rem;
    line-height: 1.6;
}

/* =========
   Approach Grid
   ========= */
.approach-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.approach-item {
    padding: 30px;
    background-color: #ffffff;
    border-radius: 6px;
    border: 1px solid #e2e8f0;
}

.approach-item h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #1a2332;
    margin-bottom: 12px;
}

.approach-item p {
    color: #64748b;
    line-height: 1.7;
    font-size: 0.95rem;
}

/* =========
   Service Detail
   ========= */
.service-detail {
    margin-bottom: 50px;
    padding-bottom: 50px;
    border-bottom: 1px solid #e2e8f0;
}

.service-detail:last-child {
    border-bottom: none;
}

.service-detail-content h2 {
    font-size: 2rem;
    font-weight: 600;
    color: #1a2332;
    margin-bottom: 20px;
}

.service-detail-content p {
    color: #4a5568;
    line-height: 1.8;
    margin-bottom: 20px;
    font-size: 1rem;
}

.service-features {
    list-style: none;
    margin-top: 20px;
}

.service-features li {
    padding: 10px 0;
    padding-left: 25px;
    position: relative;
    color: #4a5568;
    font-size: 0.95rem;
}

.service-features li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #012169; /* New Zealand flag blue */
    font-weight: bold;
    font-size: 1.2rem;
}

/* =========
   Delivery Grid
   ========= */
.delivery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.delivery-item {
    padding: 30px;
    background-color: #ffffff;
    border-radius: 6px;
    border: 1px solid #e2e8f0;
}

.delivery-item h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #1a2332;
    margin-bottom: 12px;
}

.delivery-item p {
    color: #64748b;
    line-height: 1.7;
    font-size: 0.95rem;
}

/* =========
   Solutions Grid
   ========= */
.solutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.solution-card {
    background-color: #ffffff;
    padding: 35px;
    border-radius: 6px;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.solution-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    border-color: #012169; /* New Zealand flag blue */
}

.solution-card h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: #1a2332;
    margin-bottom: 15px;
}

.solution-card p {
    color: #64748b;
    line-height: 1.7;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.solution-features {
    list-style: none;
}

.solution-features li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
    color: #4a5568;
    font-size: 0.9rem;
}

.solution-features li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: #012169; /* New Zealand flag blue */
    font-weight: bold;
}

/* =========
   Tech Grid
   ========= */
.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.tech-category {
    padding: 30px;
    background-color: #ffffff;
    border-radius: 6px;
    border: 1px solid #e2e8f0;
}

.tech-category h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #1a2332;
    margin-bottom: 15px;
}

.tech-list {
    list-style: none;
}

.tech-list li {
    padding: 8px 0;
    color: #64748b;
    font-size: 0.95rem;
    border-bottom: 1px solid #f1f5f9;
}

.tech-list li:last-child {
    border-bottom: none;
}

/* =========
   Process Timeline
   ========= */
.process-timeline {
    margin-top: 40px;
}

.process-step {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
    align-items: flex-start;
}

.step-number {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #012169; /* New Zealand flag blue */
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 600;
    flex-shrink: 0;
}

.step-content {
    flex: 1;
    padding-top: 5px;
}

.step-content h4 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #1a2332;
    margin-bottom: 10px;
}

.step-content p {
    color: #64748b;
    line-height: 1.7;
    font-size: 0.95rem;
}

/* =========
   Contact Grid
   ========= */
.contact-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 50px;
    margin-top: 40px;
}

.contact-form-container h2 {
    font-size: 2rem;
    font-weight: 600;
    color: #1a2332;
    margin-bottom: 30px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 0.95rem;
    font-weight: 500;
    color: #1a2332;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 15px;
    border: 1px solid #cbd5e0;
    border-radius: 4px;
    font-size: 1rem;
    font-family: inherit;
    color: #1a2332;
    background-color: #ffffff;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #012169; /* New Zealand flag blue */
    box-shadow: 0 0 0 3px rgba(1, 33, 105, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-info-container {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.contact-info-card {
    background-color: #f7fafc;
    padding: 30px;
    border-radius: 6px;
    border: 1px solid #e2e8f0;
}

.contact-info-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #1a2332;
    margin-bottom: 20px;
}

.contact-detail {
    margin-bottom: 25px;
}

.contact-detail:last-child {
    margin-bottom: 0;
}

.contact-detail h4 {
    font-size: 1rem;
    font-weight: 600;
    color: #1a2332;
    margin-bottom: 8px;
}

.contact-detail p {
    color: #64748b;
    line-height: 1.7;
    font-size: 0.95rem;
}

/* =========
   Footer
   ========= */
.footer {
    background-color: #1a2332;
    color: #cbd5e0;
    padding: 60px 0 30px;
    margin-top: 80px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 15px;
}

.footer-section p {
    color: #cbd5e0;
    line-height: 1.7;
    font-size: 0.95rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #cbd5e0;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #ffffff;
}

.footer-bottom {
    border-top: 1px solid #2d3748;
    padding-top: 30px;
    text-align: center;
}

.footer-bottom p {
    color: #94a3b8;
    font-size: 0.9rem;
}

/* =========
   Responsive Design
   ========= */
@media (max-width: 968px) {
    .content-grid {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        height: auto;
        padding: 15px 20px;
    }

    .nav-links {
        margin-top: 15px;
        gap: 20px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero {
        padding: 60px 0;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .section {
        padding: 60px 0;
    }

    .section-title {
        font-size: 2rem;
    }

    .page-title {
        font-size: 2rem;
    }

    .services-grid,
    .solutions-grid {
        grid-template-columns: 1fr;
    }

    .stats-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .process-step {
        flex-direction: column;
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.75rem;
    }

    .stats-container {
        grid-template-columns: 1fr;
    }

    .btn {
        width: 100%;
    }

    .hero-actions {
        flex-direction: column;
    }
}




