/* Page Hero */
.page-hero {
    padding: 160px 0 80px;
    background: linear-gradient(135deg, var(--bg-light) 0%, var(--bg-white) 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
    border-radius: 50%;
    top: -200px;
    right: -200px;
    opacity: 0.1;
    filter: blur(60px);
}

.page-hero h1 {
    margin-bottom: 16px;
    color: var(--text-dark);
}

.page-hero p {
    color: var(--text-gray);
    font-size: 1.25rem;
    max-width: 600px;
    margin: 0 auto;
}

/* About Page */
.about-intro {
    padding: 100px 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-content h2 {
    margin-bottom: 24px;
    color: var(--text-dark);
}

.about-content p {
    color: var(--text-gray);
    margin-bottom: 20px;
    line-height: 1.8;
}

.about-visual {
    display: flex;
    justify-content: center;
}

.visual-box {
    width: 400px;
    height: 400px;
    position: relative;
}

.visual-shape {
    position: absolute;
    border-radius: var(--radius-lg);
}

.vs-1 {
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-teal));
    top: 0;
    left: 0;
}

.vs-2 {
    width: 180px;
    height: 180px;
    background: linear-gradient(135deg, var(--accent-purple), var(--accent-pink));
    top: 100px;
    right: 0;
}

.vs-3 {
    width: 160px;
    height: 160px;
    background: linear-gradient(135deg, var(--accent-orange), var(--accent-pink));
    bottom: 0;
    left: 80px;
}

/* Mission Vision */
.mission-vision {
    padding: 100px 0;
    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-lg);
    text-align: center;
    box-shadow: var(--shadow);
}

.mv-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.mv-card h3 {
    margin-bottom: 16px;
    color: var(--text-dark);
}

.mv-card p {
    color: var(--text-gray);
    line-height: 1.7;
}

/* Industries */
.industries {
    padding: 100px 0;
}

.industries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.industry-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 24px;
    background: var(--bg-light);
    border-radius: var(--radius);
    transition: all 0.3s ease;
}

.industry-item:hover {
    background: var(--primary);
    color: white;
    transform: translateX(8px);
}

.industry-icon {
    font-size: 1.5rem;
}

/* Timeline */
.timeline {
    padding: 100px 0;
    background: var(--bg-light);
}

.timeline-container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.timeline-container::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--border);
}

.timeline-item {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
    position: relative;
}

.timeline-dot {
    width: 42px;
    height: 42px;
    background: var(--primary);
    border-radius: 50%;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.timeline-content {
    background: white;
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    flex: 1;
}

.timeline-content h4 {
    margin-bottom: 12px;
    color: var(--primary);
}

.timeline-content p {
    color: var(--text-gray);
}

/* Services Page */
.services-detail {
    padding: 100px 0;
}

.services-list {
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.service-detail-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.service-detail-item.reverse {
    direction: rtl;
}

.service-detail-item.reverse > * {
    direction: ltr;
}

.service-detail-content h3 {
    font-size: 1.75rem;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.service-detail-content p {
    color: var(--text-gray);
    margin-bottom: 24px;
    line-height: 1.8;
}

.service-features {
    list-style: none;
}

.service-features li {
    padding: 8px 0;
    color: var(--text-gray);
    display: flex;
    align-items: center;
    gap: 12px;
}

.service-features li::before {
    content: '✓';
    color: var(--accent-teal);
    font-weight: bold;
}

.service-detail-visual {
    height: 350px;
    border-radius: var(--radius-lg);
    position: relative;
    overflow: hidden;
}

.sdv-1 { background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple)); }
.sdv-2 { background: linear-gradient(135deg, var(--accent-teal), var(--accent-blue)); }
.sdv-3 { background: linear-gradient(135deg, var(--accent-purple), var(--accent-pink)); }
.sdv-4 { background: linear-gradient(135deg, var(--accent-orange), var(--accent-pink)); }

.service-detail-visual::after {
    content: '';
    position: absolute;
    inset: 40px;
    border: 3px solid rgba(255,255,255,0.3);
    border-radius: var(--radius);
}

/* Process Section */
.process {
    padding: 100px 0;
    background: var(--bg-light);
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.process-step {
    text-align: center;
    position: relative;
}

.process-step::after {
    content: '→';
    position: absolute;
    right: -20px;
    top: 40px;
    font-size: 1.5rem;
    color: var(--border);
}

.process-step:last-child::after {
    display: none;
}

.process-number {
    width: 80px;
    height: 80px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 20px;
}

.process-step h4 {
    margin-bottom: 12px;
    color: var(--text-dark);
}

.process-step p {
    color: var(--text-gray);
    font-size: 0.9rem;
}


/* Portfolio Page */
.portfolio-section {
    padding: 100px 0;
}

.portfolio-filters {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 24px;
    background: var(--bg-light);
    border: none;
    border-radius: 30px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary);
    color: white;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.portfolio-item {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.portfolio-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.portfolio-image {
    height: 220px;
    position: relative;
}

.pi-1 { background: linear-gradient(135deg, #667eea, #764ba2); }
.pi-2 { background: linear-gradient(135deg, #f093fb, #f5576c); }
.pi-3 { background: linear-gradient(135deg, #4facfe, #00f2fe); }
.pi-4 { background: linear-gradient(135deg, #43e97b, #38f9d7); }
.pi-5 { background: linear-gradient(135deg, #fa709a, #fee140); }
.pi-6 { background: linear-gradient(135deg, #a8edea, #fed6e3); }

.portfolio-image::after {
    content: '';
    position: absolute;
    inset: 30px;
    border: 2px solid rgba(255,255,255,0.4);
    border-radius: var(--radius);
}

.portfolio-content {
    padding: 30px;
}

.portfolio-content h3 {
    margin-bottom: 12px;
    color: var(--text-dark);
}

.portfolio-content p {
    color: var(--text-gray);
    margin-bottom: 16px;
}

.portfolio-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.portfolio-tag {
    padding: 4px 12px;
    background: var(--bg-light);
    border-radius: 20px;
    font-size: 0.8rem;
    color: var(--text-gray);
}

/* Contact Page */
.contact-section {
    padding: 100px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info h2 {
    margin-bottom: 24px;
    color: var(--text-dark);
}

.contact-info > p {
    color: var(--text-gray);
    margin-bottom: 40px;
    line-height: 1.8;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-item {
    display: flex;
    gap: 16px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--bg-light);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.contact-text h4 {
    margin-bottom: 4px;
    color: var(--text-dark);
}

.contact-text p {
    color: var(--text-gray);
}

.contact-form-wrapper {
    background: var(--bg-light);
    padding: 40px;
    border-radius: var(--radius-lg);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-weight: 500;
    color: var(--text-dark);
}

.form-group input,
.form-group textarea,
.form-group select {
    padding: 14px 18px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.2s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

/* Map Section */
.map-section {
    padding: 0 0 100px;
}

.map-container {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

#map {
    height: 400px;
    width: 100%;
}

/* Legal Pages */
.legal-content {
    padding: 100px 0;
}

.legal-container {
    max-width: 800px;
    margin: 0 auto;
}

.legal-section {
    margin-bottom: 40px;
}

.legal-section h2 {
    font-size: 1.5rem;
    margin-bottom: 16px;
    color: var(--text-dark);
}

.legal-section h3 {
    font-size: 1.125rem;
    margin: 24px 0 12px;
    color: var(--text-dark);
}

.legal-section p {
    color: var(--text-gray);
    margin-bottom: 16px;
    line-height: 1.8;
}

.legal-section ul {
    color: var(--text-gray);
    margin-left: 24px;
    margin-bottom: 16px;
}

.legal-section li {
    margin-bottom: 8px;
    line-height: 1.7;
}

.legal-update {
    padding: 20px;
    background: var(--bg-light);
    border-radius: var(--radius);
    margin-bottom: 40px;
}

.legal-update p {
    margin: 0;
    color: var(--text-gray);
}

/* Responsive */
@media (max-width: 1024px) {
    .about-grid,
    .service-detail-item,
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .service-detail-item.reverse {
        direction: ltr;
    }
    
    .visual-box {
        width: 300px;
        height: 300px;
    }
    
    .mv-grid {
        grid-template-columns: 1fr;
    }
    
    .process-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .process-step::after {
        display: none;
    }
}

@media (max-width: 768px) {
    .page-hero {
        padding: 120px 0 60px;
    }
    
    .about-intro,
    .mission-vision,
    .industries,
    .timeline,
    .services-detail,
    .process,
    .portfolio-section,
    .contact-section,
    .legal-content {
        padding: 60px 0;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .process-grid {
        grid-template-columns: 1fr;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
}