/* --- Common Page Styles --- */
.page-hero {
    position: relative;
    height: 500px;
    padding-top: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-size: cover;
    background-position: center;
    color: var(--bg-white);
}

.page-hero.services-bg {
    background-image: linear-gradient(rgba(7, 21, 39, 0.7), rgba(7, 21, 39, 0.4)), url('https://images.unsplash.com/photo-1542282811-943ef1a647a5?q=80&w=2670&auto=format&fit=crop');
}

.page-hero.about-bg {
    background-image: linear-gradient(rgba(7, 21, 39, 0.8), rgba(7, 21, 39, 0.6)), url('https://images.unsplash.com/photo-1449965408869-eaa3f722e40d?q=80&w=2000&auto=format&fit=crop');
}

.page-hero-title {
    font-size: 3.5rem;
    margin-bottom: 20px;
    color: var(--bg-white);
    animation: fadeInUp 0.8s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

.page-hero-subtitle {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
    opacity: 0.9;
    animation: fadeInUp 0.8s cubic-bezier(0.25, 1, 0.5, 1) 0.2s forwards;
    opacity: 0;
}

/* --- Services Page Styles --- */
.service-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 100px;
}

.service-row:last-child {
    margin-bottom: 0;
}

.service-row.reverse .service-content {
    order: 2;
}

.service-row.reverse .service-image {
    order: 1;
}

.service-image {
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    position: relative;
    height: 400px;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.service-image:hover img {
    transform: scale(1.05);
}

.service-icon-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--bg-white);
    color: var(--accent);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: var(--shadow-sm);
    z-index: 10;
}

.service-title {
    font-size: 2.2rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.service-desc {
    font-size: 1.1rem;
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 25px;
}

.service-features {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    color: var(--text-dark);
    font-weight: 500;
}

.service-features li i {
    color: var(--accent);
    font-size: 1.3rem;
}

.service-banner {
    background-color: var(--primary);
    color: var(--bg-white);
    padding: 60px 0;
    text-align: center;
    border-radius: var(--radius-md);
    margin-top: 80px;
    position: relative;
    overflow: hidden;
}

.service-banner::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background: var(--gradient-gold);
    opacity: 0.1;
    border-radius: 50%;
}

/* --- About Page Styles --- */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image {
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    position: relative;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.stats-section {
    background: var(--gradient-dark);
    color: var(--bg-white);
    padding: 80px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}

.stat-item h3 {
    font-size: 3rem;
    color: var(--accent);
    margin-bottom: 10px;
}

.stat-item p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.value-card {
    background: var(--bg-white);
    padding: 40px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    text-align: center;
    border: 1px solid var(--border-color);
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--accent);
}

.value-icon {
    font-size: 3rem;
    color: var(--accent);
    margin-bottom: 20px;
}

.licenses-list {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.license-item {
    display: flex;
    align-items: center;
    gap: 15px;
    background: var(--bg-white);
    padding: 25px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    font-weight: 500;
}

/* --- Contact Page Styles --- */
.contact-card {
    background: var(--bg-white);
    padding: 40px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

.contact-item:last-child {
    margin-bottom: 0;
}

.contact-icon {
    font-size: 2rem;
    color: var(--accent);
}

.contact-icon.whatsapp {
    font-size: 2.5rem;
    color: #25D366;
}

.contact-text h4 {
    margin: 0 0 5px 0;
}

.contact-text p {
    margin: 0;
    color: var(--text-gray);
}

.contact-whatsapp-link {
    font-weight: bold;
    color: var(--primary);
    font-size: 1.2rem;
}


/* --- Enhanced Contact Page Styles --- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 40px;
    margin-top: 50px;
}

.contact-info-wrapper {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-box {
    background: var(--bg-white);
    padding: 30px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: flex-start;
    gap: 20px;
    transition: all 0.3s ease;
}

.contact-box:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: var(--accent);
}

.contact-box .icon-wrap {
    background: rgba(220, 168, 63, 0.1);
    color: var(--accent);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    flex-shrink: 0;
}

.contact-box.whatsapp .icon-wrap {
    background: rgba(37, 211, 102, 0.1);
    color: #25D366;
}

.contact-box h4 {
    margin: 0 0 8px 0;
    font-size: 1.2rem;
    color: var(--primary);
}

.contact-box p, .contact-box a {
    margin: 0;
    color: var(--text-gray);
    font-size: 1rem;
    text-decoration: none;
    line-height: 1.5;
}

.contact-box a:hover {
    color: var(--accent);
}

.contact-box.whatsapp a {
    color: #25D366;
    font-weight: 600;
    font-size: 1.1rem;
}

.contact-box.telegram .icon-wrap {
    background: rgba(0, 136, 204, 0.1);
    color: #0088cc;
}
.contact-box.telegram a {
    color: #0088cc;
    font-weight: 600;
    font-size: 1.1rem;
}


.contact-map-overlay {
    width: 100%;
    height: 450px;
    border-radius: var(--radius-md);
    overflow: hidden;
    margin-top: 60px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
}

@media (max-width: 991px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

/* --- Responsive Helpers --- */
@media (max-width: 991px) {
    .service-row {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .service-row.reverse .service-content {
        order: unset;
    }

    .service-row.reverse .service-image {
        order: unset;
    }

    .service-image {
        height: 300px;
    }

    .about-grid,
    .values-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .page-hero {
        height: 400px;
    }

    .page-hero-title {
        font-size: 2.5rem;
    }

    .service-title {
        font-size: 1.8rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }
}