/* CSS Variables - PAXIO Brand Colors */
:root {
    --navy: #283276;
    --navy-dark: #1e1c5a;
    --cyan: #6EC1E4;
    --green: #61CE70;
    --white: #ffffff;
    --off-white: #F7FAFB;
    --light-gray: #e9ecef;
    --text-dark: #54595F;
    --text-light: #7A7A7A;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Open Sans', 'Proxima Nova', Arial, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Proxima Nova', 'Open Sans', Arial, sans-serif;
    font-weight: 700;
    line-height: 1.2;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo {
    text-decoration: none;
    font-family: 'Proxima Nova', Arial, sans-serif;
    font-weight: 700;
    font-size: 1.4rem;
}

.logo-paxio {
    color: var(--navy);
}

.logo-darkfiber {
    color: var(--cyan);
    margin-left: 5px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    transition: color 0.3s ease;
    padding: 5px 0;
    border-bottom: 2px solid transparent;
}

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

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

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background: var(--navy);
    transition: 0.3s;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 20px 80px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%236EC1E4' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.hero h1 {
    color: var(--white);
    font-size: 3.2rem;
    margin-bottom: 20px;
    position: relative;
}

.hero-subtitle {
    color: rgba(255,255,255,0.9);
    font-size: 1.25rem;
    max-width: 650px;
    margin: 0 auto 30px;
    position: relative;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    font-family: 'Proxima Nova', Arial, sans-serif;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: var(--cyan);
    color: var(--navy-dark);
}

.btn-primary:hover {
    background: #5bb1d4;
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--navy);
}

.btn-outline {
    background: transparent;
    color: var(--navy);
    border: 2px solid var(--navy);
}

.btn-outline:hover {
    background: var(--navy);
    color: var(--white);
}

/* Mission Section */
.mission-section {
    padding: 80px 20px;
    background: var(--white);
}

.mission-section h2 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--navy);
    margin-bottom: 40px;
}

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

.mission-text .lead {
    font-size: 1.25rem;
    color: var(--navy);
    font-weight: 600;
    margin-bottom: 20px;
}

.mission-text p {
    margin-bottom: 15px;
    color: var(--text-dark);
}

.mission-values {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.value-card {
    background: var(--off-white);
    padding: 25px;
    border-radius: 10px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
    transition: transform 0.3s ease;
    border-left: 4px solid var(--cyan);
}

.value-card:hover {
    transform: translateX(10px);
}

.value-icon {
    width: 50px;
    height: 50px;
    background: var(--navy);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.value-icon svg {
    width: 24px;
    height: 24px;
    color: var(--cyan);
}

.value-text h3 {
    font-size: 1.1rem;
    color: var(--navy);
    margin-bottom: 5px;
}

.value-text p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin: 0;
}

/* Services Section */
.services-section {
    padding: 80px 20px;
    background: var(--off-white);
}

.services-section h2 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--navy);
    margin-bottom: 50px;
}

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

.service-card {
    background: var(--white);
    padding: 40px;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
}

.service-icon svg {
    width: 36px;
    height: 36px;
    color: var(--cyan);
}

.service-card h3 {
    color: var(--navy);
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.service-card p {
    color: var(--text-light);
    margin-bottom: 25px;
    line-height: 1.7;
}

/* Stats Section */
.stats-section {
    padding: 60px 20px;
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
}

.stats-grid {
    display: flex;
    justify-content: center;
    gap: 80px;
    flex-wrap: wrap;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-family: 'Proxima Nova', Arial, sans-serif;
    font-size: 3rem;
    font-weight: 700;
    color: var(--cyan);
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.8);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* CTA Section */
.cta-section {
    padding: 80px 20px;
    background: var(--white);
    text-align: center;
}

.cta-section h2 {
    color: var(--navy);
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.cta-section p {
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
    padding: 150px 20px 80px;
    text-align: center;
}

.page-header h1 {
    color: var(--white);
    font-size: 3rem;
    margin-bottom: 15px;
}

.page-header p {
    color: rgba(255,255,255,0.9);
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Content Section */
.content-section {
    padding: 80px 20px;
    background: var(--white);
}

.content-section h2 {
    color: var(--navy);
    font-size: 2rem;
    margin-bottom: 20px;
}

.content-section p {
    color: var(--text-dark);
    margin-bottom: 20px;
    line-height: 1.8;
}

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

.content-image {
    background: var(--off-white);
    border-radius: 10px;
    padding: 40px;
    text-align: center;
}

.content-image svg {
    width: 200px;
    height: 150px;
    color: var(--navy);
}

/* Features List */
.features-section {
    padding: 80px 20px;
    background: var(--off-white);
}

.features-section h2 {
    text-align: center;
    color: var(--navy);
    font-size: 2.5rem;
    margin-bottom: 50px;
}

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

.feature-item {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    border-left: 4px solid var(--cyan);
}

.feature-item h3 {
    color: var(--navy);
    margin-bottom: 10px;
}

.feature-item p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* Contact Form */
.contact-section {
    padding: 80px 20px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info h2 {
    color: var(--navy);
    margin-bottom: 20px;
}

.contact-info p {
    color: var(--text-dark);
    margin-bottom: 30px;
}

.contact-details {
    background: var(--off-white);
    padding: 30px;
    border-radius: 10px;
}

.contact-details h3 {
    color: var(--navy);
    margin-bottom: 15px;
}

.contact-details p {
    color: var(--text-light);
    margin-bottom: 10px;
}

.contact-form {
    background: var(--off-white);
    padding: 40px;
    border-radius: 10px;
}

.contact-form h2 {
    color: var(--navy);
    margin-bottom: 25px;
}

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

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

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid var(--light-gray);
    border-radius: 5px;
    font-family: 'Open Sans', Arial, sans-serif;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    background: var(--white);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--cyan);
}

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

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

/* About Page */
.about-content {
    padding: 80px 20px;
}

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

.about-text h2 {
    color: var(--navy);
    font-size: 2rem;
    margin-bottom: 20px;
}

.about-text p {
    color: var(--text-dark);
    margin-bottom: 15px;
    line-height: 1.8;
}

.about-image {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
    border-radius: 10px;
    padding: 60px;
    text-align: center;
}

.about-image svg {
    width: 200px;
    height: 200px;
    color: var(--cyan);
}

/* Timeline */
.timeline-section {
    padding: 80px 20px;
    background: var(--off-white);
}

.timeline-section h2 {
    text-align: center;
    color: var(--navy);
    font-size: 2.5rem;
    margin-bottom: 50px;
}

.timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 100%;
    background: var(--cyan);
}

.timeline-item {
    display: flex;
    margin-bottom: 40px;
    position: relative;
}

.timeline-item:nth-child(odd) {
    flex-direction: row;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-content {
    width: 45%;
    background: var(--white);
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-right: auto;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-left: auto;
}

.timeline-marker {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 20px;
    background: var(--navy);
    border-radius: 50%;
    border: 4px solid var(--white);
    box-shadow: 0 0 0 4px var(--cyan);
}

.timeline-content h3 {
    color: var(--navy);
    margin-bottom: 10px;
}

.timeline-content p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* Footer */
footer {
    background: var(--navy-dark);
    color: var(--white);
    padding: 60px 20px 20px;
}

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

.footer-brand .logo-paxio,
.footer-brand .logo-darkfiber {
    font-size: 1.4rem;
}

.footer-brand p {
    color: rgba(255,255,255,0.7);
    margin-top: 15px;
}

.footer-links h4,
.footer-contact h4 {
    margin-bottom: 20px;
    font-size: 1rem;
    color: var(--cyan);
}

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

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--cyan);
}

.footer-contact p {
    color: rgba(255,255,255,0.7);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    text-align: center;
    color: rgba(255,255,255,0.5);
    font-size: 0.9rem;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        align-items: center;
        padding: 20px;
        gap: 15px;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
        transform: translateY(-150%);
        transition: transform 0.3s ease;
    }

    .nav-links.active {
        transform: translateY(0);
    }

    .mobile-menu-btn {
        display: flex;
    }

    .mobile-menu-btn.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .mobile-menu-btn.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-btn.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .mission-content,
    .content-grid,
    .contact-grid,
    .about-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        flex-direction: column;
        gap: 30px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .timeline::before {
        left: 20px;
    }

    .timeline-item {
        flex-direction: column !important;
        padding-left: 50px;
    }

    .timeline-content {
        width: 100% !important;
        margin: 0 !important;
    }

    .timeline-marker {
        left: 20px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }
}
