/* ===== Page Hero ===== */
.page-hero {
    padding: 160px 24px 80px;
    background: linear-gradient(135deg, var(--bg-light) 0%, rgba(59, 130, 246, 0.05) 100%);
    text-align: center;
}

.page-tag {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary);
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: 50px;
    margin-bottom: 20px;
}

.page-hero h1 {
    font-size: 3rem;
    font-weight: 800;
    color: var(--secondary);
    margin-bottom: 16px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-hero p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* ===== About Story ===== */
.about-story {
    padding: 100px 24px;
}

.story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.story-content h2 {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--secondary);
    margin: 16px 0 24px;
}

.story-content p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 16px;
}

.story-visual {
    position: relative;
    height: 400px;
}

.visual-card {
    position: absolute;
    background: white;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    padding: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.vc-1 {
    top: 0;
    left: 0;
    width: 180px;
    height: 180px;
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
    color: white;
}

.vc-year {
    font-size: 2.5rem;
    font-weight: 800;
}

.vc-label {
    font-size: 0.875rem;
    opacity: 0.9;
    margin-top: 8px;
}

.vc-2 {
    top: 50px;
    right: 20px;
    width: 150px;
    height: 150px;
    background: linear-gradient(135deg, var(--accent-orange), var(--accent-pink));
    color: white;
}

.vc-icon {
    font-size: 3rem;
}

.vc-3 {
    bottom: 0;
    left: 80px;
    width: 200px;
    height: 160px;
    background: linear-gradient(135deg, var(--accent-green), var(--accent-blue));
    color: white;
}

.vc-number {
    font-size: 3rem;
    font-weight: 800;
}

/* ===== Mission Vision ===== */
.mission-vision {
    padding: 100px 24px;
    background: var(--bg-light);
}

.mv-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.mv-card {
    background: white;
    padding: 40px;
    border-radius: var(--radius-xl);
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.mv-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.mv-icon {
    width: 70px;
    height: 70px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}

.mv-icon svg {
    width: 32px;
    height: 32px;
    color: white;
}

.mv-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--secondary);
    margin-bottom: 16px;
}

.mv-card p {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ===== Team Section ===== */
.team-section {
    padding: 100px 24px;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.team-card {
    text-align: center;
    padding: 30px;
    background: white;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.team-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.team-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
}

.team-card h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--secondary);
    margin-bottom: 8px;
}

.team-card p {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

/* ===== Industries ===== */
.industries {
    padding: 100px 24px;
    background: var(--bg-light);
}

.industries-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
}

.industry-item {
    background: white;
    padding: 30px 20px;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.industry-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.industry-icon {
    font-size: 2.5rem;
    margin-bottom: 12px;
}

.industry-item span {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary);
}

/* ===== Services Page ===== */
.services-intro {
    padding: 100px 24px;
}

.intro-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.intro-content h2 {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 20px;
}

.intro-content p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

.services-detailed {
    padding: 0 24px 100px;
}

.service-detail-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    padding: 80px 0;
    border-bottom: 1px solid var(--border-color);
}

.service-detail-card:last-child {
    border-bottom: none;
}

.service-detail-card:nth-child(even) {
    direction: rtl;
}

.service-detail-card:nth-child(even) > * {
    direction: ltr;
}

.service-detail-content {
    padding: 20px;
}

.service-detail-content .service-number {
    font-size: 4rem;
    font-weight: 800;
    color: var(--bg-light);
    -webkit-text-stroke: 2px var(--primary);
    line-height: 1;
    margin-bottom: 20px;
}

.service-detail-content h3 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 16px;
}

.service-detail-content p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 24px;
}

.service-features {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.service-features span {
    padding: 8px 16px;
    background: var(--bg-light);
    color: var(--text-secondary);
    font-size: 0.875rem;
    border-radius: 50px;
}

.service-detail-visual {
    height: 350px;
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-detail-visual svg {
    width: 120px;
    height: 120px;
    color: white;
    opacity: 0.9;
}

/* ===== Process Section ===== */
.process-section {
    padding: 100px 24px;
    background: var(--bg-light);
}

.process-timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.process-timeline::before {
    content: '';
    position: absolute;
    left: 30px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--border-color);
}

.process-step {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
    position: relative;
}

.process-step:last-child {
    margin-bottom: 0;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 700;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.step-content {
    background: white;
    padding: 30px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    flex: 1;
}

.step-content h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--secondary);
    margin-bottom: 12px;
}

.step-content p {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ===== Portfolio Page ===== */
.portfolio-filter {
    padding: 60px 24px 0;
}

.filter-buttons {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 24px;
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.portfolio-grid-section {
    padding: 60px 24px 100px;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.portfolio-item {
    background: white;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.portfolio-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.portfolio-image {
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.portfolio-image svg {
    width: 60px;
    height: 60px;
    color: white;
    opacity: 0.9;
}

.portfolio-content {
    padding: 24px;
}

.portfolio-tag {
    display: inline-block;
    padding: 4px 12px;
    background: var(--bg-light);
    color: var(--text-secondary);
    font-size: 0.75rem;
    font-weight: 500;
    border-radius: 50px;
    margin-bottom: 12px;
}

.portfolio-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--secondary);
    margin-bottom: 8px;
}

.portfolio-content p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ===== Contact Page ===== */
.contact-section {
    padding: 100px 24px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 16px;
}

.contact-info > p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 40px;
}

.info-items {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.info-item {
    display: flex;
    gap: 16px;
}

.info-icon {
    width: 50px;
    height: 50px;
    background: var(--bg-light);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.info-icon svg {
    width: 22px;
    height: 22px;
    color: var(--primary);
}

.info-content h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--secondary);
    margin-bottom: 4px;
}

.info-content p,
.info-content a {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.info-content a:hover {
    color: var(--primary);
}

.contact-form-wrapper {
    background: white;
    padding: 40px;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
}

.contact-form-wrapper h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--secondary);
    margin-bottom: 24px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--secondary);
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
    background: var(--bg-light);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
    background: white;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

/* ===== Map Section ===== */
.map-section {
    padding: 0 24px 100px;
}

.map-container {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

#map {
    height: 400px;
    width: 100%;
}

/* ===== Legal Pages ===== */
.legal-content {
    padding: 100px 24px;
}

.legal-container {
    max-width: 800px;
    margin: 0 auto;
}

.legal-container h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--secondary);
    margin: 40px 0 16px;
}

.legal-container h2:first-child {
    margin-top: 0;
}

.legal-container h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--secondary);
    margin: 30px 0 12px;
}

.legal-container p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 16px;
}

.legal-container ul {
    margin: 16px 0;
    padding-left: 24px;
}

.legal-container li {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 8px;
    list-style: disc;
}

.legal-container .update-date {
    font-size: 0.875rem;
    color: var(--text-light);
    margin-bottom: 40px;
}

/* ===== Responsive for Pages ===== */
@media (max-width: 1024px) {
    .page-hero h1 {
        font-size: 2.5rem;
    }
    
    .story-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .story-visual {
        height: 300px;
    }
    
    .mv-grid {
        grid-template-columns: 1fr;
    }
    
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .industries-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .service-detail-card {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .service-detail-card:nth-child(even) {
        direction: ltr;
    }
    
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .page-hero {
        padding: 120px 24px 60px;
    }
    
    .page-hero h1 {
        font-size: 2rem;
    }
    
    .page-hero p {
        font-size: 1.1rem;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .industries-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .contact-form-wrapper {
        padding: 24px;
    }
    
    .process-timeline::before {
        left: 20px;
    }
    
    .step-number {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .step-content {
        padding: 20px;
    }
}
