/* ============================================
   KAIRYU-SHIN IT SUPPORT - CUSTOM STYLES
   ============================================ */

:root {
    --primary-dark: #0f172a;
    --primary-blue: #1e3a8a;
    --primary-lighter: #3b82f6;
    --accent: #06b6d4;
    --success: #10b981;
    --text-light: #f0f9ff;
    --text-muted: #cbd5e1;
    --bg-light: #f8fafc;
    --border-color: #e2e8f0;
}

/* ============================================
   GENERAL STYLES
   ============================================ */

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

html, body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: #ffffff;
    color: #1e293b;
    line-height: 1.6;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main.main-content {
    flex: 1;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    color: #0f172a;
}

p {
    color: #64748b;
}

.lead {
    font-size: 1.25rem;
    font-weight: 500;
}

/* Gradient Text */
.gradient-text {
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ============================================
   NAVBAR STYLES
   ============================================ */

.navbar {
    background: linear-gradient(180deg, #0f172a 0%, #1e293b 100%) !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 1rem 0;
}

.navbar-brand {
    font-size: 1.5rem;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
}

.navbar-brand:hover {
    color: #3b82f6 !important;
}

.navbar-nav .nav-link {
    color: #cbd5e1 !important;
    font-weight: 500;
    margin: 0 0.5rem;
    transition: color 0.3s ease;
    position: relative;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: #3b82f6 !important;
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #1e3a8a, #3b82f6);
}

.sticky-top {
    top: 0;
    z-index: 1020;
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero-section {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(59, 130, 246, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(6, 182, 212, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.hero-section .container {
    position: relative;
    z-index: 1;
}

.hero-section h1 {
    color: #f0f9ff;
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    animation: slideInDown 0.8s ease;
}

.hero-section p {
    color: #cbd5e1;
    font-size: 1.3rem;
    margin-bottom: 2rem;
    animation: slideInUp 0.8s ease 0.2s backwards;
}

.hero-section .btn {
    animation: slideInUp 0.8s ease 0.4s backwards;
    font-weight: 600;
    transition: all 0.3s ease;
}

.hero-section .btn-primary {
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    border: none;
    box-shadow: 0 4px 15px rgba(30, 58, 138, 0.3);
}

.hero-section .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(30, 58, 138, 0.4);
}

.hero-section .btn-outline-light {
    color: #f0f9ff;
    border-color: #cbd5e1;
}

.hero-section .btn-outline-light:hover {
    background-color: #f0f9ff;
    border-color: #f0f9ff;
    color: #0f172a;
    transform: translateY(-2px);
}

/* ============================================
   BUTTONS
   ============================================ */

.btn {
    border-radius: 8px;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-primary {
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    border: none;
    color: #fff;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #1e40af 0%, #2563eb 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(30, 58, 138, 0.3);
    color: #fff;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

.btn-link {
    color: #3b82f6;
    text-decoration: none;
}

.btn-link:hover {
    color: #1e40af;
    text-decoration: underline;
}

/* ============================================
   SERVICES OVERVIEW SECTION
   ============================================ */

.services-overview {
    background-color: #f8fafc;
    padding: 5rem 0;
}

.service-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    height: 100%;
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(30, 58, 138, 0.15);
    border-color: #3b82f6;
}

.service-icon {
    width: 70px;
    height: 70px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    margin-bottom: 1.5rem;
}

.service-card h5 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: #0f172a;
}

.service-card p {
    font-size: 0.95rem;
    line-height: 1.7;
    flex-grow: 1;
    margin-bottom: 1.5rem;
}

.service-card .btn-link {
    align-self: flex-start;
    font-size: 0.95rem;
}

/* ============================================
   WHY US SECTION
   ============================================ */

.why-us {
    padding: 5rem 0;
    background: white;
}

.advantage-item {
    display: flex;
    gap: 2rem;
    padding: 2rem;
    border-radius: 12px;
    background: #f8fafc;
    transition: all 0.3s ease;
}

.advantage-item:hover {
    background: #f0f9ff;
    transform: translateX(8px);
}

.advantage-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    flex-shrink: 0;
}

.advantage-content h5 {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
    color: #0f172a;
}

.advantage-content p {
    font-size: 0.95rem;
    color: #64748b;
}

/* ============================================
   PAGE HEADER
   ============================================ */

.page-header {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: white;
    padding: 4rem 0;
}

.page-header h1 {
    color: #f0f9ff;
    margin-bottom: 1rem;
}

.page-header p {
    color: #cbd5e1;
    font-size: 1.1rem;
}

/* ============================================
   SERVICE DETAIL
   ============================================ */

.service-detail-card {
    background: white;
    border-radius: 12px;
    padding: 2.5rem;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.service-detail-card:hover {
    border-color: #3b82f6;
    box-shadow: 0 8px 16px rgba(30, 58, 138, 0.1);
}

.service-detail-icon {
    width: 100%;
    max-width: 120px;
    height: 120px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2.5rem;
}

.features-section,
.tech-stack,
.process-section {
    margin-bottom: 3rem;
}

.features-section h3,
.tech-stack h3,
.process-section h3 {
    color: #0f172a;
    margin-bottom: 2rem;
    border-bottom: 2px solid #e2e8f0;
    padding-bottom: 1rem;
}

.feature-item {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.feature-item:hover {
    border-color: #3b82f6;
    box-shadow: 0 4px 12px rgba(30, 58, 138, 0.1);
}

.tech-item {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 2rem !important;
    text-align: center;
    transition: all 0.3s ease;
}

.tech-item:hover {
    border-color: #3b82f6;
    transform: translateY(-4px);
    box-shadow: 0 6px 16px rgba(30, 58, 138, 0.1);
}

/* Timeline */
.timeline {
    position: relative;
    padding-left: 2rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, #1e3a8a 0%, #cbd5e1 100%);
}

.timeline-item {
    position: relative;
}

.timeline-number {
    position: absolute;
    left: -3rem;
    top: 0;
    width: 2rem;
    height: 2rem;
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.9rem;
}

.timeline-item h5 {
    color: #0f172a;
}

/* Sidebar */
.service-sidebar-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
}

.package-item h6 {
    color: #0f172a;
}

.contact-info-card {
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
}

.contact-info-card h5 {
    color: #0f172a;
}

.contact-info-card a {
    color: #1e3a8a;
    font-weight: 600;
}

.other-services a {
    color: #3b82f6;
    transition: color 0.3s ease;
}

.other-services a:hover {
    color: #1e40af;
}

/* ============================================
   SERVICES GRID SECTION
   ============================================ */

.services-grid {
    padding: 5rem 0;
}

.service-detail-card {
    background: white;
    border-radius: 12px;
    padding: 2.5rem;
    border: 1px solid #e2e8f0;
}

.features-list ul li {
    color: #64748b;
}

/* ============================================
   COMPANY OVERVIEW
   ============================================ */

.company-overview {
    padding: 5rem 0;
}

.stats-row {
    margin-top: 3rem;
}

.stat-item h3 {
    color: #1e3a8a;
}

/* ============================================
   TEAM SECTION
   ============================================ */

.team-section {
    padding: 5rem 0;
}

.team-card {
    background: white;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.team-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(30, 58, 138, 0.15);
    border-color: #3b82f6;
}

.team-image {
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    border-radius: 50%;
    width: 150px;
    height: 150px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3rem;
}

.team-card h5 {
    color: #0f172a;
}

.team-card p {
    font-size: 0.95rem;
    color: #64748b;
}

/* ============================================
   ADVANTAGE CARD
   ============================================ */

.advantage-card {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.advantage-card:hover {
    border-color: #3b82f6;
    box-shadow: 0 8px 16px rgba(30, 58, 138, 0.1);
    transform: translateY(-4px);
}

.advantage-icon-lg {
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    border-radius: 10px;
    color: white;
    font-size: 1.75rem;
}

/* ============================================
   CONTACT SECTION
   ============================================ */

.contact-section {
    padding: 5rem 0;
}

.contact-form-card {
    background: white;
}

.contact-form input,
.contact-form textarea {
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.contact-info-item {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.contact-info-item:hover {
    border-color: #3b82f6;
    box-shadow: 0 4px 12px rgba(30, 58, 138, 0.1);
    transform: translateY(-4px);
}

.contact-info-item a {
    color: #1e3a8a;
    font-weight: 600;
    text-decoration: none;
}

.contact-info-item a:hover {
    color: #3b82f6;
}

/* ============================================
   FAQ SECTION
   ============================================ */

.faq-section {
    padding: 5rem 0;
}

.faq-item {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: #3b82f6;
    box-shadow: 0 4px 12px rgba(30, 58, 138, 0.1);
}

.faq-item h6 {
    color: #0f172a;
    font-size: 1rem;
}

.faq-item i {
    color: #3b82f6;
}

/* ============================================
   PORTFOLIO SECTION
   ============================================ */

.portfolio-section {
    padding: 5rem 0;
}

.portfolio-card {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.portfolio-card:hover {
    border-color: #3b82f6;
    box-shadow: 0 8px 16px rgba(30, 58, 138, 0.1);
    transform: translateY(-4px);
}

.portfolio-card h4 {
    color: #0f172a;
}

.portfolio-card .badge {
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    color: white;
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
}

.portfolio-result {
    background: #f0f9ff;
    border-left: 4px solid #1e3a8a;
    border-radius: 4px;
    color: #0f172a;
}

/* ============================================
   CTA SECTION
   ============================================ */

.cta-section {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    padding: 4rem 0;
    text-align: center;
}

.cta-section h2 {
    color: #f0f9ff;
    margin-bottom: 1rem;
}

.cta-section p {
    color: #cbd5e1;
}

.cta-section .btn {
    margin-top: 1.5rem;
}

.bg-primary-dark {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: #cbd5e1;
    margin-top: auto;
    padding: 3rem 0 1rem;
}

.footer h5,
.footer h6 {
    color: #f0f9ff;
    margin-bottom: 1.5rem;
}

.footer p {
    color: #cbd5e1;
    font-size: 0.95rem;
    line-height: 1.8;
}

.footer a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer a:hover {
    color: #3b82f6;
}

.social-links a {
    display: inline-flex;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: rgba(59, 130, 246, 0.1);
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    color: white;
    transform: translateY(-2px);
}

.footer hr {
    border-color: rgba(203, 213, 225, 0.2);
}

.footer-bottom {
    border-top: 1px solid rgba(203, 213, 225, 0.2);
    padding-top: 2rem;
    color: #94a3b8;
    font-size: 0.9rem;
}

/* ============================================
   ANIMATIONS
   ============================================ */

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2.5rem;
    }

    .hero-section p {
        font-size: 1.1rem;
    }

    .display-5 {
        font-size: 2rem !important;
    }

    .hero-section .d-flex {
        flex-direction: column;
    }

    .hero-section .btn {
        width: 100%;
    }

    .service-icon {
        width: 60px;
        height: 60px;
        font-size: 1.75rem;
    }

    .advantage-item {
        padding: 1.5rem;
    }

    .timeline::before {
        left: -0.5rem;
    }

    .timeline-number {
        width: 1.75rem;
        height: 1.75rem;
        font-size: 0.8rem;
        left: -1.5rem;
    }

    .page-header {
        padding: 2.5rem 0;
    }

    .navbar-brand {
        font-size: 1.25rem;
    }

    .footer {
        padding: 2rem 0 1rem;
    }

    .footer h5,
    .footer h6 {
        font-size: 1rem;
        margin-bottom: 1rem;
    }
}

@media (max-width: 480px) {
    .hero-section h1 {
        font-size: 1.75rem;
    }

    .hero-section p {
        font-size: 1rem;
    }

    .display-4 {
        font-size: 1.75rem !important;
    }

    .display-5 {
        font-size: 1.5rem !important;
    }

    .display-6 {
        font-size: 1.25rem !important;
    }

    .btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }

    .btn-lg {
        padding: 0.8rem 1.6rem;
    }

    .service-card,
    .service-detail-card {
        padding: 1.5rem;
    }

    .contact-form-card {
        padding: 1.5rem !important;
    }

    .stats-row {
        text-align: center;
    }
}

/* ============================================
   UTILITY CLASSES
   ============================================ */

.badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.text-light {
    color: #f0f9ff !important;
}

.text-muted {
    color: #64748b !important;
}

.bg-light {
    background-color: #f8fafc !important;
}

.border {
    border: 1px solid #e2e8f0 !important;
}

.border-start {
    border-left: 4px solid #1e3a8a !important;
}

.rounded {
    border-radius: 8px !important;
}

.opacity-75 {
    opacity: 0.75;
}

.opacity-50 {
    opacity: 0.5;
}
