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

:root {
    /* Primary Colors */
    --primary-color: #1a56db;
    --primary-dark: #1e429f;
    --primary-light: #3f83f8;
    
    /* Secondary Colors */
    --secondary-color: #0e7490;
    --accent-color: #f59e0b;
    
    /* Neutral Colors */
    --dark: #111827;
    --dark-secondary: #1f2937;
    --gray-dark: #374151;
    --gray: #6b7280;
    --gray-light: #d1d5db;
    --gray-lighter: #f3f4f6;
    --white: #ffffff;
    
    /* Success & Highlight */
    --success: #10b981;
    --highlight: #fbbf24;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;
    
    /* Typography */
    --font-primary: 'Noto Sans JP', sans-serif;
    --font-secondary: 'Inter', sans-serif;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    line-height: 1.8;
    color: var(--dark);
    background-color: var(--white);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* ====================================
   Typography
   ==================================== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: var(--spacing-sm);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p {
    margin-bottom: var(--spacing-sm);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

/* ====================================
   Navigation
   ==================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
}

.navbar.scrolled {
    box-shadow: var(--shadow-md);
}

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

.logo a {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--dark);
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-image {
    height: 40px;
    width: auto;
    display: block;
}

.logo-text {
    display: inline-block;
}

.logo-blue {
    color: var(--primary-color);
}

.logo-highlight {
    color: var(--primary-color);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    color: var(--gray-dark);
    font-weight: 500;
    padding: 0.5rem 0;
    position: relative;
    font-size: 0.95rem;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition-normal);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover {
    color: var(--primary-color);
}

.btn-contact {
    background: var(--primary-color);
    color: var(--white) !important;
    padding: 0.625rem 1.5rem !important;
    border-radius: 0.5rem;
    font-weight: 600;
}

.btn-contact::after {
    display: none;
}

.btn-contact:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

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

.mobile-toggle span {
    width: 25px;
    height: 3px;
    background: var(--dark);
    border-radius: 3px;
    transition: var(--transition-normal);
}

/* ====================================
   Hero Section
   ==================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    overflow: hidden;
    padding-top: 80px;
}

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

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(26, 86, 219, 0.9) 0%, rgba(14, 116, 144, 0.85) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
    max-width: 900px;
    padding: var(--spacing-md);
}

.hero-title {
    font-size: 2.75rem;
    font-weight: 900;
    margin-bottom: var(--spacing-md);
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.hero-title .highlight {
    color: var(--highlight);
    display: inline-block;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-lg);
    opacity: 0.95;
    font-weight: 400;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
    flex-wrap: wrap;
}

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

.stat-number {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--highlight);
    margin-bottom: 0.5rem;
    font-family: var(--font-secondary);
}

.stat-label {
    font-size: 0.95rem;
    opacity: 0.9;
}

.hero-cta {
    display: flex;
    gap: var(--spacing-sm);
    justify-content: center;
    flex-wrap: wrap;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.scroll-arrow {
    width: 30px;
    height: 50px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 20px;
    position: relative;
}

.scroll-arrow::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0% {
        transform: translateX(-50%) translateY(0);
        opacity: 1;
    }
    100% {
        transform: translateX(-50%) translateY(20px);
        opacity: 0;
    }
}

/* ====================================
   Buttons
   ==================================== */
.btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition-normal);
    border: none;
    text-align: center;
}

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

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

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

.btn-secondary:hover {
    background: var(--white);
    color: var(--primary-color);
    transform: translateY(-2px);
}

/* ====================================
   Section Styles
   ==================================== */
.section {
    padding: var(--spacing-xl) 0;
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto var(--spacing-lg);
}

.section-title {
    font-size: 2.5rem;
    color: var(--dark);
    margin-bottom: var(--spacing-sm);
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--gray);
    line-height: 1.8;
}

/* ====================================
   Why MITrust Section
   ==================================== */
.why-section {
    background: var(--gray-lighter);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.why-card {
    background: var(--white);
    padding: var(--spacing-md);
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.why-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transition: var(--transition-normal);
}

.why-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.why-card:hover::before {
    transform: scaleX(1);
}

.why-number {
    display: inline-block;
    font-size: 1rem;
    font-weight: 900;
    color: var(--primary-color);
    background: rgba(26, 86, 219, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    margin-bottom: var(--spacing-sm);
    font-family: var(--font-secondary);
}

.why-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: var(--spacing-sm);
}

.why-title {
    font-size: 1.5rem;
    color: var(--dark);
    margin-bottom: var(--spacing-sm);
}

.why-description {
    color: var(--gray);
    margin-bottom: var(--spacing-md);
    font-size: 1.05rem;
}

.why-comparison {
    background: var(--gray-lighter);
    padding: var(--spacing-sm);
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.comparison-item {
    flex: 1;
    min-width: 100px;
}

.comparison-label {
    display: block;
    font-size: 0.75rem;
    color: var(--gray);
    margin-bottom: 0.25rem;
    font-weight: 600;
}

.comparison-value {
    display: block;
    font-size: 0.9rem;
    color: var(--gray-dark);
    font-weight: 500;
}

.comparison-item.highlight .comparison-value {
    color: var(--primary-color);
    font-weight: 700;
}

.comparison-vs {
    color: var(--gray);
    font-weight: 700;
    flex-shrink: 0;
}

/* ====================================
   Results Section
   ==================================== */
.results-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
}

.results-section .section-title,
.results-section .section-subtitle {
    color: var(--white);
}

.results-section .section-title::after {
    background: var(--white);
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.result-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: var(--spacing-md);
    border-radius: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition-normal);
}

.result-card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
}

.result-company {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: var(--spacing-sm);
    font-size: 1rem;
    opacity: 0.9;
}

.result-company i {
    font-size: 1.5rem;
}

.result-title {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-md);
}

.result-metrics {
    display: flex;
    gap: var(--spacing-md);
    flex-wrap: wrap;
}

.metric {
    flex: 1;
    min-width: 120px;
}

.metric-value {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--highlight);
    margin-bottom: 0.25rem;
    font-family: var(--font-secondary);
}

.metric-label {
    font-size: 0.95rem;
    opacity: 0.9;
}

/* ====================================
   Services Section
   ==================================== */
.services-section {
    background: var(--white);
}

.service-overview {
    margin-bottom: var(--spacing-lg);
}

.service-overview-item {
    background: linear-gradient(135deg, rgba(26, 86, 219, 0.05), rgba(14, 116, 144, 0.05));
    padding: var(--spacing-md);
    border-radius: 1rem;
    border: 2px solid var(--primary-color);
    text-align: center;
}

.service-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: var(--spacing-sm);
}

.service-overview-item h3 {
    font-size: 1.75rem;
    color: var(--primary-color);
    margin-bottom: var(--spacing-sm);
}

.service-overview-item ul {
    list-style: none;
    margin-bottom: var(--spacing-sm);
}

.service-overview-item li {
    color: var(--gray-dark);
    margin-bottom: 0.5rem;
    font-size: 1.05rem;
}

.service-result {
    font-size: 1.25rem;
    color: var(--primary-color);
    font-weight: 700;
    margin-top: var(--spacing-sm);
}

.service-result strong {
    color: var(--accent-color);
    font-size: 1.5rem;
}

.services-three-pillars {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
}

.pillar-card {
    background: var(--white);
    padding: var(--spacing-md);
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
    border: 2px solid transparent;
    transition: var(--transition-normal);
}

.pillar-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.pillar-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: var(--spacing-sm);
}

.pillar-title {
    font-size: 1.5rem;
    color: var(--dark);
    margin-bottom: var(--spacing-sm);
}

.pillar-features {
    list-style: none;
    margin-bottom: var(--spacing-md);
}

.pillar-features li {
    color: var(--gray-dark);
    margin-bottom: 0.75rem;
    padding-left: 1.5rem;
    position: relative;
}

.pillar-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success);
    font-weight: 900;
}

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

.result-badge {
    background: rgba(26, 86, 219, 0.1);
    color: var(--primary-color);
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-size: 0.9rem;
    font-weight: 600;
}

/* Service Details */
.service-details {
    margin-top: var(--spacing-xl);
}

.service-detail-card {
    background: var(--gray-lighter);
    border-radius: 1rem;
    padding: var(--spacing-md);
    margin-bottom: var(--spacing-md);
    box-shadow: var(--shadow-md);
}

.service-detail-header {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-md);
    padding-bottom: var(--spacing-sm);
    border-bottom: 2px solid var(--primary-color);
}

.service-detail-icon {
    font-size: 2rem;
    color: var(--primary-color);
}

.service-detail-title {
    font-size: 1.75rem;
    color: var(--dark);
}

.service-detail-content {
    background: var(--white);
    padding: var(--spacing-md);
    border-radius: 0.75rem;
}

.service-challenges,
.service-solutions {
    margin-bottom: var(--spacing-md);
}

.service-challenges h4,
.service-solutions h4 {
    color: var(--primary-color);
    margin-bottom: var(--spacing-sm);
    font-size: 1.25rem;
}

.service-challenges ul,
.service-solutions ul {
    list-style: none;
    padding-left: 0;
}

.service-challenges li,
.service-solutions li {
    padding-left: 1.5rem;
    position: relative;
    margin-bottom: 0.75rem;
    color: var(--gray-dark);
}

.service-challenges li::before {
    content: '⚠';
    position: absolute;
    left: 0;
    color: var(--accent-color);
}

.service-solutions li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success);
    font-weight: 900;
}

.service-timeline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-sm);
    margin: var(--spacing-md) 0;
    padding: var(--spacing-md) 0;
    border-top: 2px solid var(--gray-light);
    border-bottom: 2px solid var(--gray-light);
}

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

.timeline-month {
    background: var(--primary-color);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-weight: 700;
    display: inline-block;
    margin-bottom: 0.75rem;
}

.timeline-content {
    font-size: 0.95rem;
    color: var(--gray-dark);
    line-height: 1.6;
}

.service-outcomes h4 {
    color: var(--primary-color);
    margin-bottom: var(--spacing-sm);
    font-size: 1.25rem;
}

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

.outcome-badge {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    padding: 0.625rem 1.25rem;
    border-radius: 2rem;
    font-size: 0.95rem;
    font-weight: 600;
}

/* ====================================
   About Section
   ==================================== */
.about-section {
    background: var(--gray-lighter);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
    margin-top: var(--spacing-lg);
}

.about-message {
    background: var(--white);
    padding: var(--spacing-lg);
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
}

.about-message-title {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: var(--spacing-md);
}

.ceo-intro {
    display: flex;
    gap: var(--spacing-md);
    align-items: center;
    margin-bottom: var(--spacing-md);
    padding: var(--spacing-md);
    background: linear-gradient(135deg, rgba(26, 86, 219, 0.05), rgba(14, 116, 144, 0.05));
    border-radius: 1rem;
    border: 2px solid var(--gray-light);
}

.ceo-photo {
    flex-shrink: 0;
}

.ceo-photo img {
    width: 280px;
    height: 350px;
    border-radius: 1rem;
    object-fit: cover;
    object-position: center top;
    border: 4px solid var(--white);
    box-shadow: var(--shadow-lg);
    transition: var(--transition-normal);
}

.ceo-photo img:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-xl);
}

.ceo-info {
    flex: 1;
}

.ceo-name-large {
    font-size: 2rem;
    font-weight: 900;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.ceo-title-large {
    font-size: 1.25rem;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
}

.ceo-experience {
    color: var(--gray);
    font-size: 1rem;
    line-height: 1.6;
}

.about-vision {
    font-size: 1.75rem;
    color: var(--dark);
    margin-bottom: var(--spacing-md);
    font-weight: 700;
    line-height: 1.4;
}

.about-message-text {
    color: var(--gray-dark);
    line-height: 1.9;
    margin-bottom: var(--spacing-md);
}

.about-message-text p {
    margin-bottom: var(--spacing-sm);
}

.message-highlight {
    background: linear-gradient(135deg, rgba(26, 86, 219, 0.1), rgba(14, 116, 144, 0.1));
    padding: var(--spacing-sm);
    border-left: 4px solid var(--primary-color);
    border-radius: 0.5rem;
    font-weight: 600;
    color: var(--dark);
}

.ceo-signature {
    text-align: right;
    margin-top: var(--spacing-md);
    padding-top: var(--spacing-sm);
    border-top: 2px solid var(--gray-light);
}

.ceo-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.25rem;
}

.ceo-title {
    color: var(--gray);
    font-size: 1rem;
}

.company-info-card {
    background: var(--white);
    padding: var(--spacing-lg);
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
}

.company-info-title {
    font-size: 1.75rem;
    color: var(--primary-color);
    margin-bottom: var(--spacing-md);
}

.company-info-grid {
    display: grid;
    gap: var(--spacing-sm);
}

.info-item {
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: var(--spacing-sm);
    padding: var(--spacing-sm);
    border-bottom: 1px solid var(--gray-light);
}

.info-item:last-child {
    border-bottom: none;
}

.info-label {
    font-weight: 700;
    color: var(--gray-dark);
}

.info-value {
    color: var(--dark);
}

/* ====================================
   Contact Section
   ==================================== */
.contact-section {
    background: var(--white);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: var(--spacing-lg);
    margin-top: var(--spacing-lg);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.contact-info-item {
    background: var(--gray-lighter);
    padding: var(--spacing-md);
    border-radius: 1rem;
    display: flex;
    gap: var(--spacing-sm);
    align-items: flex-start;
    min-width: 320px;
}

.contact-icon {
    font-size: 2rem;
    color: var(--primary-color);
    flex-shrink: 0;
}

.contact-details h4 {
    color: var(--dark);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.contact-details {
    min-width: 0;
    flex: 1;
}

.contact-link {
    color: var(--primary-color);
    font-weight: 600;
    display: inline-block;
    word-break: keep-all;
    overflow-wrap: normal;
    white-space: nowrap;
    font-size: 0.95rem;
}

.contact-link:hover {
    text-decoration: underline;
}

.contact-form-wrapper {
    background: var(--gray-lighter);
    padding: var(--spacing-md);
    border-radius: 1rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-sm);
}

.form-group {
    display: flex;
    flex-direction: column;
}

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

.required {
    color: #ef4444;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.875rem;
    border: 2px solid var(--gray-light);
    border-radius: 0.5rem;
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: var(--transition-fast);
    background: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(26, 86, 219, 0.1);
}

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

.btn-submit {
    margin-top: var(--spacing-sm);
    width: 100%;
}

.form-message {
    margin-top: var(--spacing-sm);
    padding: var(--spacing-sm);
    border-radius: 0.5rem;
    display: none;
    font-weight: 600;
}

.form-message.success {
    display: block;
    background: #d1fae5;
    color: #065f46;
    border: 2px solid #10b981;
}

.form-message.error {
    display: block;
    background: #fee2e2;
    color: #991b1b;
    border: 2px solid #ef4444;
}

/* ====================================
   Footer
   ==================================== */
.footer {
    background: var(--dark);
    color: var(--gray-light);
    padding: var(--spacing-lg) 0 var(--spacing-md);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-md);
}

.footer-logo-container {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: var(--spacing-sm);
}

.footer-logo-image {
    height: 50px;
    width: auto;
    display: block;
    filter: brightness(0) invert(1);
}

.footer-logo h3 {
    color: var(--white);
    margin-bottom: 0;
    font-size: 1.75rem;
}

.footer-logo p {
    font-size: 0.95rem;
    line-height: 1.6;
}

.footer-links h4,
.footer-contact h4 {
    color: var(--white);
    margin-bottom: var(--spacing-sm);
    font-size: 1.1rem;
}

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

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

.footer-links a {
    color: var(--gray-light);
    transition: var(--transition-fast);
}

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

.footer-contact p {
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.footer-contact i {
    color: var(--white);
    flex-shrink: 0;
}

.footer-bottom {
    text-align: center;
    padding-top: var(--spacing-md);
    border-top: 1px solid var(--gray-dark);
}

.footer-bottom p {
    font-size: 0.9rem;
    margin: 0;
}

/* ====================================
   Back to Top Button
   ==================================== */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 50%;
    font-size: 1.25rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-normal);
    box-shadow: var(--shadow-lg);
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
}

/* ====================================
   Responsive Design
   ==================================== */
@media (max-width: 968px) {
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .contact-link {
        word-break: break-all;
        overflow-wrap: break-word;
        white-space: normal;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .footer-contact p {
        white-space: normal;
        word-break: break-all;
    }
    
    .service-timeline {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 14px;
    }
    
    .mobile-toggle {
        display: flex;
    }
    
    .logo-image {
        height: 32px;
    }
    
    .logo-text {
        font-size: 1.25rem;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--white);
        flex-direction: column;
        padding: var(--spacing-md);
        box-shadow: var(--shadow-lg);
        transition: var(--transition-normal);
        overflow-y: auto;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-stats {
        gap: var(--spacing-md);
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .why-grid {
        grid-template-columns: 1fr;
    }
    
    .results-grid {
        grid-template-columns: 1fr;
    }
    
    .services-three-pillars {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .info-item {
        grid-template-columns: 1fr;
    }
    
    .ceo-intro {
        flex-direction: column;
        text-align: center;
    }
    
    .ceo-photo img {
        width: 220px;
        height: 275px;
    }
    
    .back-to-top {
        bottom: 1rem;
        right: 1rem;
        width: 45px;
        height: 45px;
    }
}

@media (max-width: 480px) {
    :root {
        --spacing-lg: 3rem;
        --spacing-xl: 4rem;
    }
    
    .container {
        padding: 0 var(--spacing-sm);
    }
    
    .logo-image {
        height: 28px;
    }
    
    .logo-text {
        font-size: 1.1rem;
    }
    
    .footer-logo-image {
        height: 40px;
    }
    
    .hero-title {
        font-size: 1.75rem;
    }
    
    .stat-item {
        width: 100%;
    }
    
    .ceo-photo img {
        width: 180px;
        height: 225px;
    }
    
    .ceo-name-large {
        font-size: 1.5rem;
    }
    
    .ceo-title-large {
        font-size: 1rem;
    }
}

/* ====================================
   Animations
   ==================================== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* Smooth scrolling for all browsers */
@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }
}
