/* ===== Page Hero ===== */
.page-hero {
    padding: 160px 0 80px;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.03)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.5;
}

.page-hero .container {
    position: relative;
    z-index: 1;
}

.page-hero h1 {
    font-size: 48px;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 15px;
    background: linear-gradient(135deg, #fff 0%, #a5b4fc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.page-hero p {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
    margin: 0 auto;
}

/* ===== Services Detail ===== */
.services-detail {
    padding: 100px 0;
}

.service-detail-card {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 40px;
    padding: 50px;
    margin-bottom: 40px;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--light);
}

.service-detail-card:hover {
    box-shadow: var(--shadow-xl);
    transform: translateY(-5px);
}

.service-detail-card.reverse {
    direction: rtl;
}

.service-detail-card.reverse > * {
    direction: ltr;
}

.service-detail-icon {
    width: 100px;
    height: 100px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-detail-icon.blue { background: rgba(79, 70, 229, 0.1); color: var(--primary); }
.service-detail-icon.purple { background: rgba(124, 58, 237, 0.1); color: #7C3AED; }
.service-detail-icon.green { background: rgba(16, 185, 129, 0.1); color: var(--secondary); }
.service-detail-icon.orange { background: rgba(245, 158, 11, 0.1); color: var(--accent); }

.service-detail-icon svg {
    width: 48px;
    height: 48px;
}

.service-detail-content h2 {
    font-size: 28px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 15px;
}

.service-detail-content > p {
    font-size: 17px;
    color: var(--gray);
    line-height: 1.8;
    margin-bottom: 25px;
}

.service-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--dark-light);
    font-weight: 500;
}

.service-features li::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    flex-shrink: 0;
}

/* ===== Industries ===== */
.industries {
    padding: 100px 0;
    background: var(--light);
}

.industries-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.industry-card {
    padding: 30px;
    background: var(--white);
    border-radius: var(--radius);
    text-align: center;
    transition: var(--transition);
    border: 2px solid transparent;
}

.industry-card:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
}

.industry-card h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--dark);
}

/* ===== About Page ===== */
.about-intro {
    padding: 100px 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-content h2 {
    font-size: 36px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 20px;
}

.about-content p {
    font-size: 17px;
    color: var(--gray);
    line-height: 1.8;
    margin-bottom: 15px;
}

.about-visual {
    position: relative;
}

.about-image {
    width: 100%;
    height: 400px;
    background: var(--gradient-1);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.about-image::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1.5" fill="rgba(255,255,255,0.2)"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>');
}

.about-image-text {
    position: relative;
    z-index: 1;
    text-align: center;
    color: var(--white);
}

.about-image-text .big-text {
    font-size: 72px;
    font-weight: 800;
    display: block;
    line-height: 1;
}

.about-image-text span:last-child {
    font-size: 18px;
    opacity: 0.9;
}

/* ===== Values ===== */
.values {
    padding: 100px 0;
    background: var(--light);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.value-card {
    padding: 40px 30px;
    background: var(--white);
    border-radius: var(--radius-lg);
    text-align: center;
    transition: var(--transition);
}

.value-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.value-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: var(--gradient-1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.value-icon svg {
    width: 36px;
    height: 36px;
    color: var(--white);
}

.value-card h3 {
    font-size: 22px;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 12px;
}

.value-card p {
    color: var(--gray);
    line-height: 1.7;
}

/* ===== Company Info ===== */
.company-info {
    padding: 100px 0;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.info-card {
    padding: 40px;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.info-card h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--light);
}

.info-item {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid var(--light);
}

.info-item:last-child {
    border-bottom: none;
}

.info-label {
    color: var(--gray);
    font-weight: 500;
}

.info-value {
    color: var(--dark);
    font-weight: 600;
    text-align: right;
}

/* ===== Contact Page ===== */
.contact-section {
    padding: 100px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info h2 {
    font-size: 32px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 20px;
}

.contact-info > p {
    color: var(--gray);
    line-height: 1.8;
    margin-bottom: 40px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.contact-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-1);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon svg {
    width: 24px;
    height: 24px;
    color: var(--white);
}

.contact-item h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 5px;
}

.contact-item p {
    color: var(--gray);
    line-height: 1.6;
}

.contact-item a {
    color: var(--primary);
}

.contact-item a:hover {
    text-decoration: underline;
}

/* ===== Contact Form ===== */
.contact-form-wrapper {
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.contact-form-wrapper h3 {
    font-size: 24px;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 500;
    color: var(--dark);
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid var(--light);
    border-radius: var(--radius);
    font-size: 16px;
    font-family: inherit;
    transition: var(--transition);
    background: var(--white);
}

.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;
}

.contact-form-wrapper .btn {
    width: 100%;
    padding: 16px;
    font-size: 17px;
}

/* ===== Map ===== */
.map-section {
    padding: 0 0 100px;
}

.map-container {
    height: 400px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

#map {
    width: 100%;
    height: 100%;
}

/* ===== Legal Pages ===== */
.legal-content {
    padding: 80px 0;
}

.legal-content .container {
    max-width: 900px;
}

.legal-section {
    margin-bottom: 40px;
}

.legal-section h2 {
    font-size: 24px;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--light);
}

.legal-section p {
    color: var(--gray);
    line-height: 1.8;
    margin-bottom: 15px;
}

.legal-section ul {
    margin: 15px 0;
    padding-left: 25px;
}

.legal-section li {
    color: var(--gray);
    line-height: 1.8;
    margin-bottom: 10px;
    list-style: disc;
}

.legal-section li::marker {
    color: var(--primary);
}

.last-updated {
    padding: 20px;
    background: var(--light);
    border-radius: var(--radius);
    color: var(--gray);
    font-size: 14px;
    margin-bottom: 40px;
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .service-detail-card {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .service-detail-card.reverse {
        direction: ltr;
    }
    
    .service-detail-icon {
        margin: 0 auto;
    }
    
    .service-features {
        grid-template-columns: 1fr;
        text-align: left;
    }
    
    .industries-grid,
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .info-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .page-hero h1 {
        font-size: 36px;
    }
    
    .page-hero p {
        font-size: 18px;
    }
    
    .service-detail-card {
        padding: 30px;
    }
    
    .industries-grid,
    .values-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .contact-form-wrapper {
        padding: 25px;
    }
}