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

:root {
    --simkura-blue: #2563eb;
    --simkura-light-blue: #60a5fa;
    --simkura-dark-blue: #1e40af;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --bg-white: #ffffff;
    --bg-light: #f9fafb;
    --border-color: #e5e7eb;
    --success-color: #10b981;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-white);
    position: relative;
    overflow-x: hidden;
    min-height: 100vh;
}

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

/* ========================================
   Connecting Path Line
   ======================================== */
.connecting-path {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.connecting-path svg {
    width: 100%;
    height: 100%;
}

.path-line {
    fill: none;
    stroke: var(--simkura-blue);
    stroke-width: 3;
    stroke-linecap: square;
    stroke-linejoin: miter;
}

/* CSS-Based Line Segments (Product Page) */
.connecting-line-segments {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.line-segment {
    position: absolute;
    background-color: var(--simkura-blue);
}

/* Product page specific positioning */
.line-vertical-right {
    width: 3px;
    right: 50px;
    top: 0;
}

.line-horizontal {
    height: 3px;
    left: 100px;
    right: 100px;
}

.line-vertical-left {
    width: 3px;
    left: 50px;
}

/* Rounded corners */
.line-corner {
    position: absolute;
    width: 50px;
    height: 50px;
    border: 3px solid var(--simkura-blue);
    background: transparent;
}

.line-corner-right {
    right: 50px;
    border-top: none;
    border-right: none;
    border-top-right-radius: 50px;
}

.line-corner-left {
    left: 50px;
    border-top: none;
    border-left: none;
    border-top-left-radius: 50px;
}

/* ========================================
   Navigation
   ======================================== */
.navbar {
    background-color: var(--bg-white);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--simkura-blue);
    text-decoration: none;
    letter-spacing: -0.5px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 400;
    transition: color 0.3s;
    font-size: 0.95rem;
}

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

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 2px;
    background-color: var(--text-dark);
    margin: 3px 0;
    transition: 0.3s;
}

/* ========================================
   Hero Section
   ======================================== */
.hero {
    padding: 8rem 0 6rem;
    background-color: var(--bg-white);
    position: relative;
}

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

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    font-weight: 300;
    color: var(--text-dark);
    line-height: 1.2;
}

.hero-content h1 strong {
    font-weight: 600;
    color: var(--simkura-blue);
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    color: var(--text-light);
    font-weight: 300;
}

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

/* ========================================
   Buttons
   ======================================== */
.btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    border-radius: 0.375rem;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--simkura-blue);
    color: white;
}

.btn-primary:hover {
    background-color: var(--simkura-dark-blue);
    transform: translateY(-1px);
}

.btn-secondary {
    background-color: transparent;
    color: var(--simkura-blue);
    border: 1px solid var(--simkura-blue);
}

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

/* ========================================
   Sections
   ======================================== */
section {
    position: relative;
}

.features,
.services-section,
.about-content,
.mission-vision,
.values,
.team,
.process,
.contact-section {
    padding: 5rem 0;
}

.features:nth-child(even),
.mission-vision,
.process {
    background-color: var(--bg-light);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3.5rem;
    color: var(--text-dark);
    font-weight: 300;
}

.section-title strong {
    font-weight: 600;
    color: var(--simkura-blue);
}

/* ========================================
   Features Grid
   ======================================== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
}

.feature-card {
    padding: 2.5rem;
    background-color: white;
    border-radius: 0.5rem;
    border: 1px solid var(--border-color);
    transition: all 0.3s;
}

.feature-card:hover {
    border-color: var(--simkura-blue);
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.1);
    transform: translateY(-2px);
}

.feature-card h3 {
    margin-bottom: 1rem;
    color: var(--text-dark);
    font-size: 1.25rem;
    font-weight: 600;
}

.feature-card p {
    color: var(--text-light);
    line-height: 1.7;
}

/* ========================================
   CTA Section
   ======================================== */
.cta {
    background-color: var(--simkura-blue);
    color: white;
    padding: 5rem 0;
    text-align: center;
}

.cta h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 300;
}

.cta p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
}

.cta .btn-primary {
    background-color: white;
    color: var(--simkura-blue);
}

.cta .btn-primary:hover {
    background-color: var(--bg-light);
}

/* ========================================
   Footer
   ======================================== */
.footer {
    background-color: var(--text-dark);
    color: var(--bg-light);
    padding: 3.5rem 0 1.5rem;
    border-top: 1px solid var(--border-color);
}

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

.footer-section h3 {
    margin-bottom: 1rem;
    color: white;
    font-weight: 600;
}

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

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: var(--bg-light);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: var(--simkura-light-blue);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-light);
}

/* ========================================
   Page Header
   ======================================== */
.page-header {
    background-color: var(--bg-white);
    padding: 6rem 0 4rem;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 300;
    color: var(--text-dark);
}

.page-header p {
    font-size: 1.25rem;
    color: var(--text-light);
}

/* ========================================
   About Page
   ======================================== */
.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 4rem;
    align-items: center;
}

.about-text h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
    color: var(--simkura-blue);
}

.about-text p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.8;
}

.placeholder-image {
    background-color: var(--bg-light);
    border-radius: 0.5rem;
    height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-weight: 500;
    border: 1px solid var(--border-color);
}

.mv-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
}

.mv-card {
    background-color: white;
    padding: 2.5rem;
    border-radius: 0.5rem;
    border: 1px solid var(--border-color);
}

.mv-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--simkura-blue);
    font-weight: 600;
}

.mv-card p {
    color: var(--text-light);
    line-height: 1.8;
}

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

.value-item {
    text-align: center;
}

.value-item h4 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--simkura-blue);
    font-weight: 600;
}

.value-item p {
    color: var(--text-light);
    line-height: 1.7;
}

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

.team-member {
    text-align: center;
    padding: 1.5rem;
}

.member-image {
    margin-bottom: 1rem;
}

.placeholder-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background-color: var(--simkura-blue);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 600;
    margin: 0 auto;
}

.member-role {
    color: var(--simkura-blue);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

/* ========================================
   Services Page
   ======================================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}

.service-card {
    background-color: white;
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    padding: 2.5rem;
    transition: all 0.3s;
}

.service-card:hover {
    border-color: var(--simkura-blue);
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.1);
    transform: translateY(-2px);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
    font-weight: 600;
}

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

.product-image {
    width: 100%;
    height: 250px;
    margin-bottom: 1.5rem;
    border-radius: 0.5rem;
    overflow: hidden;
    background-color: white;
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.service-features {
    list-style: none;
    margin-top: 1.5rem;
}

.service-features li {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-light);
}

.service-features li:last-child {
    border-bottom: none;
}

.service-features li::before {
    content: "→ ";
    color: var(--simkura-blue);
    font-weight: bold;
    margin-right: 0.5rem;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2.5rem;
}

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

.step-number {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--simkura-blue);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0 auto 1rem;
}

.process-step h4 {
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
    font-weight: 600;
}

.process-step p {
    color: var(--text-light);
    line-height: 1.7;
}

/* ========================================
   Contact Page
   ======================================== */
.contact-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 4rem;
}

.contact-info h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    font-weight: 600;
    color: var(--simkura-blue);
}

.contact-info > p {
    color: var(--text-light);
    margin-bottom: 2.5rem;
    line-height: 1.7;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.contact-item h4 {
    margin-bottom: 0.25rem;
    color: var(--text-dark);
    font-weight: 600;
}

.contact-item p {
    color: var(--text-light);
}

.contact-form-wrapper {
    position: relative;
}

.contact-form {
    background-color: var(--bg-light);
    padding: 2.5rem;
    border-radius: 0.5rem;
    border: 1px solid var(--border-color);
}

.form-group {
    margin-bottom: 1.5rem;
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.875rem;
    border: 1px solid var(--border-color);
    border-radius: 0.375rem;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s;
}

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

.form-group textarea {
    resize: vertical;
}

.form-success {
    display: none;
    background-color: var(--success-color);
    color: white;
    padding: 1rem;
    border-radius: 0.5rem;
    text-align: center;
    margin-top: 1rem;
}

.form-success.show {
    display: block;
}

.map-section {
    padding: 0;
}

.map-placeholder {
    background-color: var(--bg-light);
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-weight: 500;
    border-top: 1px solid var(--border-color);
}

/* ========================================
   Responsive Design
   ======================================== */
@media (max-width: 768px) {
    .connecting-path {
        display: none;
    }

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

    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--bg-white);
        flex-direction: column;
        padding: 1rem;
        border-bottom: 1px solid var(--border-color);
    }

    .nav-menu.active {
        display: flex;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

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

    .section-title {
        font-size: 2rem;
    }

    .page-header h1 {
        font-size: 2.5rem;
    }

    .features-grid,
    .services-grid,
    .team-grid,
    .values-grid {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 480px) {
    .hero {
        padding: 4rem 0 3rem;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.95rem;
    }

    .container {
        padding: 0 15px;
    }
}
