/* ===========================
   PAGE BANNER STYLES
   =========================== */

.page-banner {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--dark-color) 100%);
    color: var(--white);
    padding: 80px 0;
    text-align: center;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-banner h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.page-banner p {
    font-size: 1.25rem;
    color: #ddd;
}

/* ===========================
   ABOUT PAGE STYLES
   =========================== */

.company-overview {
    padding: 80px 0;
    background-color: var(--white);
}

.company-overview h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--primary-color);
    position: relative;
    padding-bottom: 1rem;
}

.company-overview h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--secondary-color);
}

.overview-content {
    max-width: 800px;
    margin: 0 auto;
}

.overview-text p {
    font-size: 1.05rem;
    color: #555;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.read-more-btn {
    display: inline-block;
    padding: 10px 30px;
    background-color: var(--secondary-color);
    color: var(--white);
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: var(--transition);
    margin-top: 1rem;
}

.read-more-btn:hover {
    background-color: var(--accent-color);
    transform: translateY(-3px);
}

.mission-vision {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.mission-vision h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--primary-color);
}

.mv-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.mv-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.mv-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.15);
}

.mv-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.mv-card p {
    color: #666;
    line-height: 1.7;
}

.why-choose-us {
    padding: 80px 0;
    background-color: var(--white);
}

.why-choose-us h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--primary-color);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.feature-item {
    padding: 2rem;
    background-color: #f8f9fa;
    border-radius: 8px;
    transition: var(--transition);
    position: relative;
    padding-left: 80px;
}

.feature-item:hover {
    box-shadow: var(--shadow);
    transform: translateX(5px);
}

.feature-number {
    position: absolute;
    left: 20px;
    top: 20px;
    font-size: 2rem;
    font-weight: bold;
    color: var(--secondary-color);
}

.feature-item h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.feature-item p {
    color: #666;
}

.company-stats {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--dark-color) 100%);
    color: var(--white);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    text-align: center;
}

.stat-card h3 {
    font-size: 3rem;
    margin-bottom: 0.5rem;
    color: var(--secondary-color);
}

.stat-card p {
    font-size: 1.1rem;
    color: #ddd;
}

.our-team {
    padding: 80px 0;
    background-color: var(--white);
}

.our-team h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.section-intro {
    text-align: center;
    color: #666;
    margin-bottom: 3rem;
    font-size: 1.1rem;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.team-card {
    text-align: center;
    padding: 2rem;
    background-color: #f8f9fa;
    border-radius: 8px;
    transition: var(--transition);
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow);
}

.team-image {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.team-card h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.team-card p {
    color: #666;
}

/* ===========================
   SERVICES PAGE STYLES
   =========================== */

.services-details {
    padding: 80px 0;
    background-color: var(--white);
}

.services-details h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--primary-color);
    position: relative;
    padding-bottom: 1rem;
}

.services-details h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--secondary-color);
}

/* Card Grid Layout */
.services-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.service-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    border-top: 4px solid transparent;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.15);
    border-top-color: var(--secondary-color);
}

.service-card-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: var(--secondary-color);
}

.service-card h3 {
    color: var(--primary-color);
    font-size: 1.4rem;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.service-card p {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.7;
    font-size: 0.95rem;
    flex-grow: 1;
}

.service-card .features-list {
    list-style: none;
    margin-bottom: 1.5rem;
}

.service-card .features-list li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: #666;
    font-size: 0.9rem;
}

.service-card .features-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
}

.service-card-btn {
    display: inline-block;
    padding: 10px 25px;
    background-color: var(--secondary-color);
    color: var(--white);
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: var(--transition);
    text-align: center;
    margin-top: auto;
}

.service-card-btn:hover {
    background-color: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

/* Old detail styles - REMOVED as we now use card design */

.service-process {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.service-process h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--primary-color);
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.process-step {
    text-align: center;
    padding: 2rem;
    background-color: var(--white);
    border-radius: 8px;
    position: relative;
}

.step-number {
    font-size: 3rem;
    color: var(--secondary-color);
    font-weight: bold;
    margin-bottom: 1rem;
}

.process-step h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.process-step p {
    color: #666;
    font-size: 0.95rem;
}

/* ===========================
   PRODUCTS PAGE STYLES
   =========================== */

.products-intro {
    padding: 60px 0;
    background-color: var(--white);
    text-align: center;
}

.products-intro h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.products-intro p {
    color: #666;
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.products-section {
    padding: 80px 0;
    background-color: var(--white);
}

.product-category {
    margin-bottom: 4rem;
}

.product-category h3 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 3px solid var(--secondary-color);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.product-card {
    background-color: #f8f9fa;
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    transition: var(--transition);
    border-top: 3px solid transparent;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow);
    border-top-color: var(--secondary-color);
}

.product-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.product-card h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.product-card p {
    color: #666;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.product-spec {
    display: block;
    color: var(--secondary-color);
    font-size: 0.9rem;
    font-weight: bold;
}

.product-support {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.product-support h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--primary-color);
}

.support-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.support-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.support-card:hover {
    transform: translateY(-5px);
}

.support-card h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.support-card p {
    color: #666;
}

/* ===========================
   GALLERY PAGE STYLES
   =========================== */

.gallery-section {
    padding: 80px 0;
    background-color: var(--white);
}

.gallery-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--primary-color);
}

.filter-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 25px;
    border: 2px solid var(--secondary-color);
    background-color: transparent;
    color: var(--secondary-color);
    border-radius: 25px;
    cursor: pointer;
    font-weight: bold;
    transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
    background-color: var(--secondary-color);
    color: var(--white);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.gallery-item {
    background-color: #f8f9fa;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    cursor: pointer;
    display: none;
}

.gallery-item.show {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.gallery-image {
    width: 100%;
    aspect-ratio: 16 / 9;
    background-color: #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
}

.gallery-content {
    padding: 1.5rem;
}

.gallery-content h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.gallery-content p {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.project-year {
    display: inline-block;
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 3px 10px;
    border-radius: 3px;
    font-size: 0.85rem;
    font-weight: bold;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.15);
}

.project-stats {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--dark-color) 100%);
    color: var(--white);
}

.project-stats h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}

.stat-item h3 {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.stat-item p {
    font-size: 1rem;
    color: #ddd;
}

.recent-projects {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.recent-projects h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--primary-color);
}

.featured-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.featured-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 8px;
    border-left: 4px solid var(--secondary-color);
    transition: var(--transition);
}

.featured-card:hover {
    box-shadow: var(--shadow);
    transform: translateY(-5px);
}

.featured-card h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.featured-card p {
    color: #666;
    margin-bottom: 1rem;
    line-height: 1.7;
}

.featured-card label {
    display: inline-block;
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 5px 12px;
    border-radius: 3px;
    font-size: 0.85rem;
    font-weight: bold;
}

/* ===========================
   CONTACT PAGE STYLES
   =========================== */

.contact-main {
    padding: 80px 0;
    background-color: var(--white);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-form-section h2,
.contact-info-section h2 {
    color: var(--primary-color);
    margin-bottom: 2rem;
    font-size: 1.8rem;
}

.contact-form {
    background-color: #f8f9fa;
    padding: 2rem;
    border-radius: 8px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.contact-form select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: inherit;
    font-size: 0.95rem;
}

.contact-form select:focus {
    outline: none;
    border-color: var(--secondary-color);
}

.info-box {
    background-color: #f8f9fa;
    padding: 2rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    border-left: 4px solid var(--secondary-color);
}

.info-box h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.info-box p {
    color: #666;
    line-height: 1.8;
}

.info-box a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
}

.info-box a:hover {
    color: var(--accent-color);
}

.social-links-contact {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.social-link {
    display: inline-block;
    padding: 8px 15px;
    background-color: var(--secondary-color);
    color: var(--white);
    text-decoration: none;
    border-radius: 5px;
    transition: var(--transition);
    font-size: 0.9rem;
}

.social-link:hover {
    background-color: var(--accent-color);
    transform: translateY(-2px);
}

.map-section {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.map-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--primary-color);
}

.map-container {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.faq-section {
    padding: 80px 0;
    background-color: var(--white);
}

.faq-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--primary-color);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.faq-item {
    background-color: #f8f9fa;
    padding: 2rem;
    border-radius: 8px;
    border-left: 4px solid var(--secondary-color);
}

.faq-item h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.faq-item p {
    color: #666;
    line-height: 1.7;
}

.form-footer {
    margin-top: 1rem;
    text-align: center;
}

.form-footer a {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: bold;
}

.form-footer a:hover {
    color: var(--accent-color);
}

.services-footer {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.view-all-btn,
.view-products-btn {
    padding: 12px 40px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: var(--transition);
    display: inline-block;
}

.view-all-btn {
    background-color: var(--secondary-color);
    color: var(--white);
}

.view-all-btn:hover {
    background-color: var(--accent-color);
    transform: translateY(-3px);
}

.view-products-btn {
    background-color: transparent;
    color: var(--secondary-color);
    border: 2px solid var(--secondary-color);
}

.view-products-btn:hover {
    background-color: var(--secondary-color);
    color: var(--white);
}

/* ===========================
   RESPONSIVE UPDATES
   =========================== */

@media (max-width: 768px) {
    .page-banner h1 {
        font-size: 2rem;
    }

    .page-banner p {
        font-size: 1rem;
    }

    .page-banner {
        padding: 50px 0;
    }

    .service-detail {
        grid-template-columns: 1fr;
    }

    .service-detail:nth-child(even) {
        grid-template-columns: 1fr;
    }

    .service-detail-icon {
        order: 0 !important;
    }

    .service-detail-content {
        order: 0 !important;
    }

    /* Card grid responsive */
    .services-cards-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .service-card {
        padding: 1.5rem;
    }

    .service-card-icon {
        font-size: 2.5rem;
    }

    .service-card h3 {
        font-size: 1.2rem;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }

    .featured-grid {
        grid-template-columns: 1fr;
    }

    .mv-grid {
        grid-template-columns: 1fr;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .filter-buttons {
        gap: 0.5rem;
    }

    .filter-btn {
        padding: 8px 15px;
        font-size: 0.9rem;
    }

    .process-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .page-banner h1,
    .services-details h2,
    .product-category h3,
    .gallery-section h2,
    .project-stats h2,
    .recent-projects h2,
    .faq-section h2 {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    .page-banner h1 {
        font-size: 1.5rem;
    }

    .page-banner p {
        font-size: 0.9rem;
    }

    .page-banner {
        padding: 40px 0;
        min-height: 200px;
    }

    .service-detail {
        padding: 1rem;
    }

    /* Card grid mobile */
    .services-cards-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .service-card {
        padding: 1.2rem;
    }

    .service-card-icon {
        font-size: 2rem;
        margin-bottom: 1rem;
    }

    .service-card h3 {
        font-size: 1.1rem;
    }

    .service-card p {
        font-size: 0.85rem;
    }

    .filter-buttons {
        flex-direction: column;
    }

    .filter-btn {
        width: 100%;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .process-grid {
        grid-template-columns: 1fr;
    }

    .faq-grid {
        grid-template-columns: 1fr;
    }

    .feature-item {
        padding-left: 60px;
    }

    .feature-number {
        font-size: 1.5rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .team-grid {
        grid-template-columns: 1fr;
    }
}
