/* Prevent Flash of Unstyled Content (FOUC) */
html {
    visibility: hidden;
    opacity: 0;
}

html.loaded {
    visibility: visible;
    opacity: 1;
    transition: opacity 0.3s ease-in-out;
}

/* Corporate Page Specific Styles */

/* Corporate Page/* Logo Image Styles */
.logo-image {
    height: 38px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.15));
    transition: all 0.3s ease;
}

.logo-image:hover {
    filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.2));
    transform: translateY(-1px);
}

/* Corporate Hero Section */
.corporate-hero {
    background: linear-gradient(135deg, #4a90c2 0%, #6ba8d6 100%);
    color: white;
    padding: 150px 0 100px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.corporate-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    z-index: 1;
}

.corporate-hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.corporate-hero-title {
    font-size: 3.5rem;
    margin-bottom: 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.corporate-hero-title .title-main {
    font-weight: 500;
    font-family: 'Lora', serif;
}

.corporate-hero-title .title-sub {
    font-weight: 300;
    font-size: 0.6em;
    opacity: 0.9;
}

.corporate-hero-description {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #f8f9fa;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    font-weight: 400;
    margin-bottom: 2rem;
}

.personal-cta-button {
    display: inline-block;
    background: white;
    color: #333;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    border: 2px solid white;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.personal-cta-button:hover {
    background: #f8f9fa;
    border-color: #f8f9fa;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    color: #222;
}

/* Corporate Services Section */
.corporate-services {
    padding: 100px 0;
    background: white;
}

.corporate-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(650px, 1fr));
    gap: 50px;
    margin-top: 60px;
}

.corporate-service-card {
    display: flex;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.service-image {
    flex: 1;
    min-height: 250px;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-content {
    flex: 1.5;
    padding: 40px;
    display: flex;
    flex-direction: column;
    min-width: 380px;
}

.service-content h3 {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 15px;
    font-family: 'Lora', serif;
}

.service-content p {
    color: #666;
    line-height: 1.7;
    margin-bottom: 25px;
    flex: 1;
}

.service-features {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    width: 100%;
    min-width: 280px;
}

.service-features li {
    padding: 5px 0;
    position: relative;
    padding-left: 20px;
    color: #7bb3d9;
    font-size: 0.9rem;
    font-weight: 500;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #7bb3d9;
    font-weight: bold;
}

/* Project Examples Section */
.project-examples {
    padding: 100px 0;
    background: linear-gradient(135deg, #f5f1eb 0%, #faf9f7 100%);
}

.examples-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.example-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.example-card:hover {
    transform: translateY(-5px);
}

.example-image {
    height: 200px;
    overflow: hidden;
}

.example-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.example-card:hover .example-image img {
    transform: scale(1.05);
}

.example-content {
    padding: 30px;
}

.example-content h3 {
    font-size: 1.3rem;
    color: #333;
    margin-bottom: 20px;
    font-family: 'Lora', serif;
}

.example-details {
    margin-bottom: 20px;
}

.detail-item {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
}

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

.detail-label {
    font-weight: 500;
    color: #666;
    font-size: 0.9rem;
}

.detail-value {
    color: #333;
    font-size: 0.9rem;
}

.example-description {
    color: #666;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Process Timeline Section */
.corporate-process {
    padding: 100px 0;
    background: white;
}

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

.process-timeline::before {
    content: '';
    position: absolute;
    left: 30px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, #7bb3d9, #a8cce8);
}

.process-step {
    display: flex;
    align-items: flex-start;
    margin-bottom: 50px;
    position: relative;
}

.process-step:last-child {
    margin-bottom: 0;
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #7bb3d9, #a8cce8);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 500;
    font-size: 1.1rem;
    flex-shrink: 0;
    position: relative;
    z-index: 2;
}

.step-content {
    margin-left: 30px;
    background: white;
    padding: 25px 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    flex: 1;
}

.step-content h3 {
    font-size: 1.2rem;
    color: #333;
    margin-bottom: 10px;
    font-family: 'Lora', serif;
}

.step-content p {
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* Corporate Contact Section */
.corporate-contact {
    padding: 100px 0;
    background: white;
}

.corporate-contact .contact-form {
    background: linear-gradient(135deg, #f5f1eb 0%, #faf9f7 100%);
}

.corporate-contact .submit-button {
    background: linear-gradient(135deg, #7bb3d9, #a8cce8);
}

.corporate-contact .submit-button:hover {
    background: linear-gradient(135deg, #6ba3d0, #97bce0);
}

/* Responsive Design */
@media (max-width: 768px) {
    .corporate-hero {
        padding: 120px 0 80px;
    }
    
    .corporate-hero-title {
        font-size: 2.5rem;
    }
    
    .corporate-services-grid {
        grid-template-columns: 1fr;
    }
    
    .corporate-service-card {
        flex-direction: column;
    }
    
    .service-image {
        min-height: 200px;
    }
    
    .service-features {
        grid-template-columns: 1fr;
    }
    
    .examples-grid {
        grid-template-columns: 1fr;
    }
    
    .process-timeline::before {
        left: 20px;
    }
    
    .step-number {
        width: 40px;
        height: 40px;
        font-size: 0.9rem;
    }
    
    .step-content {
        margin-left: 20px;
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .corporate-hero-title {
        font-size: 2rem;
    }
    
    .corporate-hero-description {
        font-size: 1rem;
    }
    
    .service-content {
        padding: 30px 20px;
    }
    
    .example-content {
        padding: 20px;
    }
}
