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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #ffffff;
}

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

/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #e5e5e5;
    z-index: 1000;
    padding: 1rem 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 1.5rem;
    font-weight: bold;
    color: #1e3a5f;
    text-decoration: none;
}

.logo img {
    height: 44px;
    width: auto;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.logo-sub {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #666;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: #666;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #00bcd4;
}

.nav-phone {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: #00bcd4;
    color: white;
    font-weight: 600;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    white-space: nowrap;
    transition: background 0.3s;
}

.nav-phone:hover {
    background: #1e3a5f;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #1e3a5f;
    cursor: pointer;
}

.mobile-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border-bottom: 1px solid #e5e5e5;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.mobile-menu.active {
    display: block;
}

.mobile-menu ul {
    list-style: none;
    padding: 1rem 0;
}

.mobile-menu a {
    display: block;
    padding: 1rem 2rem;
    text-decoration: none;
    color: #666;
    font-weight: 500;
    border-bottom: 1px solid #f0f0f0;
}

.mobile-menu a:hover {
    background: #f8f9fa;
    color: #00bcd4;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    background: linear-gradient(135deg, #1e3a5f 0%, #2c5282 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
    padding: 2rem 0;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 0 1rem;
}

.hero h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: bold;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero .subtitle {
    color: #00bcd4;
    font-size: clamp(1.25rem, 4vw, 2rem);
    margin-bottom: 1.5rem;
}

.hero p {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    margin-bottom: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 12px 24px;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s;
    cursor: pointer;
    min-width: 150px;
    justify-content: center;
}

.btn-primary {
    background: #00bcd4;
    color: white;
}

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

.btn-outline {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-outline:hover {
    background: white;
    color: #1e3a5f;
}

/* Stats Section */
.stats {
    padding: 4rem 0;
    background: #f8f9fa;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    text-align: center;
}

.stat-item {
    padding: 2rem 1rem;
}

.stat-number {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: bold;
    color: #1e3a5f;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: #666;
    font-size: clamp(0.875rem, 2vw, 1rem);
}

/* Section Styles */
section {
    padding: 5rem 0;
}

.section-title {
    text-align: center;
    font-size: clamp(2rem, 5vw, 2.5rem);
    font-weight: bold;
    color: #1e3a5f;
    margin-bottom: 1rem;
}

.section-subtitle {
    text-align: center;
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    color: #666;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* About Section */
.about-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: start;
}

.about-text p {
    margin-bottom: 1.5rem;
    font-size: clamp(1rem, 2vw, 1.1rem);
    line-height: 1.8;
}

.credentials {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.credential-card {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    text-align: center;
}

.credential-icon {
    width: 48px;
    height: 48px;
    background: #00bcd4;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: white;
    font-size: 1.5rem;
}

.credential-title {
    font-weight: bold;
    margin-bottom: 0.5rem;
    color: #1e3a5f;
    font-size: clamp(1rem, 2vw, 1.1rem);
}

.badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
}

.badge {
    background: #e3f2fd;
    color: #1976d2;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
}

/* Services Section */
.services {
    background: #f8f9fa;
}

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

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.service-icon {
    width: 64px;
    height: 64px;
    background: #00bcd4;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    color: white;
    font-size: 1.5rem;
}

.service-title {
    font-size: clamp(1.1rem, 2.5vw, 1.25rem);
    font-weight: bold;
    color: #1e3a5f;
    margin-bottom: 1rem;
}

.service-description {
    color: #666;
    line-height: 1.6;
    font-size: clamp(0.9rem, 2vw, 1rem);
}

/* Experience Section */
.experience-timeline {
    max-width: 800px;
    margin: 0 auto;
}

.timeline-item {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
    position: relative;
}

.timeline-header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.company-name {
    font-size: clamp(1.1rem, 2.5vw, 1.25rem);
    font-weight: bold;
    color: #00bcd4;
}

.role-name {
    font-size: clamp(1rem, 2vw, 1.1rem);
    font-weight: 600;
    color: #1e3a5f;
    margin-top: 0.25rem;
}

.period {
    background: #e3f2fd;
    color: #1976d2;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
    white-space: nowrap;
}

.highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.highlight {
    background: #f5f5f5;
    color: #333;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.875rem;
}

/* Contact Section */
.contact {
    background: linear-gradient(135deg, #1e3a5f 0%, #2c5282 100%);
    color: white;
}

.contact .section-title,
.contact .section-subtitle {
    color: white;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.contact-card {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
}

.contact-icon {
    width: 48px;
    height: 48px;
    background: #00bcd4;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.5rem;
}

.contact-title {
    font-size: clamp(1.1rem, 2.5vw, 1.25rem);
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.contact-info {
    opacity: 0.9;
    font-size: clamp(0.9rem, 2vw, 1rem);
}

/* Footer */
footer {
    background: #1e3a5f;
    color: white;
    text-align: center;
    padding: 2rem 0;
}

.footer-title {
    font-size: clamp(1.1rem, 2.5vw, 1.25rem);
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.footer-subtitle {
    opacity: 0.8;
    margin-bottom: 1rem;
    font-size: clamp(0.9rem, 2vw, 1rem);
}

.footer-copyright {
    font-size: 0.875rem;
    opacity: 0.6;
}

/* Mobile Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .logo {
        font-size: 1.2rem;
    }

    .nav-phone {
        padding: 0.4rem 0.75rem;
        font-size: 0.9rem;
    }

    .container {
        padding: 0 15px;
    }

    section {
        padding: 3rem 0;
    }

    .hero {
        min-height: 90vh;
        padding: 1rem 0;
    }

    .stats {
        padding: 3rem 0;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .stat-item {
        padding: 1.5rem 0.5rem;
    }

    .about-content {
        gap: 2rem;
    }

    .credentials {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .service-card {
        padding: 1.5rem;
    }

    .timeline-item {
        padding: 1.5rem;
    }

    .timeline-header {
        flex-direction: column;
        align-items: start;
        gap: 0.5rem;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .contact-card {
        padding: 1.5rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
    }

    .btn {
        width: 100%;
        max-width: 250px;
    }
}

/* Extra small devices */
@media (max-width: 480px) {
    .container {
        padding: 0 10px;
    }

    .nav-container {
        padding: 0 15px;
    }

    .logo {
        font-size: 1.25rem;
    }

    .hero-content {
        padding: 0 0.5rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .stat-item {
        padding: 1rem 0.5rem;
    }

    .service-card,
    .timeline-item,
    .contact-card,
    .credential-card {
        padding: 1rem;
    }

    .service-icon {
        width: 48px;
        height: 48px;
        font-size: 1.25rem;
    }

    .highlights {
        gap: 0.25rem;
    }

    .highlight {
        font-size: 0.75rem;
        padding: 0.2rem 0.5rem;
    }

    .badges {
        gap: 0.25rem;
    }

    .badge {
        font-size: 0.75rem;
        padding: 0.2rem 0.5rem;
    }
}

/* Large screens */
@media (min-width: 1200px) {
    .about-content {
        grid-template-columns: 2fr 1fr;
    }

    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Add some animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Touch-friendly improvements */
@media (hover: none) and (pointer: coarse) {
    .service-card:hover {
        transform: none;
    }

    .btn:hover {
        transform: none;
    }

    .btn-primary:hover {
        background: #00bcd4;
    }

    .btn-outline:hover {
        background: transparent;
        color: white;
    }
}

/* Separate pages */
/* Leave room for the fixed menu bar inside the first section, so its background reaches the top */
.page > section:first-child {
    padding-top: calc(5rem + 80px);
}

@media (max-width: 768px) {
    .page > section:first-child {
        padding-top: calc(3rem + 70px);
    }
}

/* Problem -> solution cards on the home page */
.help-section {
    background: #f8f9fa;
}

.help-grid,
.why-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

@media (min-width: 1000px) {
    .help-grid,
    .why-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 600px) {
    .help-grid,
    .why-grid {
        grid-template-columns: 1fr;
    }
}

.help-card {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    border-top: 4px solid #00bcd4;
}

.help-card h3 {
    color: #1e3a5f;
    font-size: 1.15rem;
    margin-bottom: 0.75rem;
}

.help-card p {
    color: #666;
}

.text-center {
    text-align: center;
    margin-top: 2.5rem;
}

.contact-info a {
    color: inherit;
    text-decoration: none;
}

.footer-contact {
    margin-bottom: 1rem;
    opacity: 0.9;
}

.footer-contact a {
    color: white;
    text-decoration: none;
}

@media (max-width: 480px) {
    .logo img {
        height: 36px;
    }

    .logo-sub {
        display: none;
    }
}

.nav-links a.active,
.mobile-menu a.active {
    color: #00bcd4;
}

.page-cta {
    background: #f8f9fa;
    text-align: center;
}

.page-cta .cta-buttons .btn-outline {
    color: #1e3a5f;
    border-color: #1e3a5f;
}

.page-cta .cta-buttons .btn-outline:hover {
    background: #1e3a5f;
    color: white;
}
