/**
 * ACT Solutions For All - Contact & Projects Pages Styles
 * Improved contrast and 80% width consistency
 *
 * @since 1.3.0
 */

/* ===============================
   GLOBAL CONTAINER
   =============================== */

.container-80 {
    max-width: 1400px;
    width: 80%;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===============================
   CONTACT PAGE STYLES
   =============================== */

.actsolutions-contact-page {
    font-family: 'Poppins', sans-serif;
    background: #FFFFFF;
}

/* Contact Hero Section */
.contact-hero {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    padding: 140px 0 100px;
    overflow: hidden;
}

.contact-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('https://images.unsplash.com/photo-1527515637462-cff94eecc1ac?w=1920');
    background-size: cover;
    background-position: center;
    z-index: 1;
}

.contact-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 114, 188, 0.96) 0%, rgba(0, 90, 148, 0.94) 100%);
    z-index: 2;
}

.contact-hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: #FFFFFF;
}

.contact-hero-title {
    font-size: 58px;
    font-weight: 700;
    margin: 0 0 24px;
    line-height: 1.2;
    color: #FFFFFF;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
}

.contact-hero-description {
    font-size: 21px;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto;
    opacity: 1;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.15);
}

/* Contact Cards Section */
.contact-cards-section {
    padding: 0;
    margin-top: -80px;
    position: relative;
    z-index: 10;
    background: transparent;
}

.contact-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.contact-card {
    background: #FFFFFF;
    border-radius: 20px;
    padding: 40px 28px;
    text-align: center;
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.12);
    transition: all 0.3s ease;
    border-top: 5px solid #0072BC;
    min-height: 320px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.contact-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 114, 188, 0.25);
}

.contact-card-icon {
    margin-bottom: 24px;
    display: flex;
    justify-content: center;
}

.contact-card-title {
    font-size: 20px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 16px;
}

.contact-card-info {
    font-size: 17px;
    color: #0072BC;
    margin: 0 0 14px;
    font-weight: 600;
    line-height: 1.5;
}

.contact-card-info a {
    color: #0072BC;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-card-info a:hover {
    color: #005a94;
    text-decoration: underline;
}

.contact-card-note {
    font-size: 14px;
    color: #555555;
    margin: 0;
    line-height: 1.7;
}

/* Contact Form Section */
.contact-form-section {
    padding: 120px 0;
    background: #F8F9FB;
}

.contact-form-grid {
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
    gap: 64px;
    align-items: start;
}

.form-column {
    background: #FFFFFF;
    border-radius: 24px;
    padding: 52px;
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.08);
}

.modern-contact-form {
    margin-top: 36px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 24px;
}

.form-group {
    margin-bottom: 28px;
}

.form-group label {
    display: block;
    font-size: 15px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 10px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 16px 18px;
    border: 2px solid #d0d0d0;
    border-radius: 10px;
    font-size: 16px;
    font-family: 'Poppins', sans-serif;
    transition: all 0.3s ease;
    color: #1a1a1a;
    background: #FFFFFF;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #888888;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #0072BC;
    box-shadow: 0 0 0 4px rgba(0, 114, 188, 0.12);
}

.btn-submit {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: #0072BC;
    color: #FFFFFF;
    padding: 18px 36px;
    border-radius: 50px;
    font-size: 17px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(0, 114, 188, 0.35);
}

.btn-submit:hover {
    background: #005a94;
    transform: translateY(-3px);
    box-shadow: 0 10px 28px rgba(0, 114, 188, 0.45);
}

.form-note {
    font-size: 14px;
    color: #666666;
    margin-top: 20px;
    line-height: 1.6;
}

.alert {
    padding: 18px 24px;
    border-radius: 12px;
    margin-bottom: 28px;
    font-size: 16px;
    font-weight: 500;
}

.alert-success {
    background: #d1f2dd;
    color: #0a5e2a;
    border: 2px solid #9ee4b8;
}

.alert-error {
    background: #fde0e2;
    color: #8b1a23;
    border: 2px solid #f5a5ab;
}

/* Info Column */
.info-column {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.info-box {
    background: #FFFFFF;
    border-radius: 20px;
    padding: 36px;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.08);
}

.info-box h3 {
    font-size: 26px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 14px 0 20px;
}

.info-box p {
    font-size: 16px;
    color: #555555;
    line-height: 1.8;
    margin-bottom: 28px;
}

.info-features {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.info-feature-item {
    display: flex;
    gap: 18px;
    align-items: flex-start;
}

.feature-text h4 {
    font-size: 17px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0 0 8px;
}

.feature-text p {
    font-size: 15px;
    color: #555555;
    margin: 0;
    line-height: 1.6;
}

.social-box {
    background: linear-gradient(135deg, #e8f4fd 0%, #d6ebfa 100%);
    border-radius: 20px;
    padding: 32px;
    border: 2px solid #b8dff5;
}

.social-box h4 {
    font-size: 20px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 20px;
}

.social-links-modern {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.social-link-modern {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
    background: #FFFFFF;
    border-radius: 10px;
    color: #1a1a1a;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.social-link-modern:hover {
    transform: translateX(6px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
    border-color: #0072BC;
}

.social-link-modern.facebook {
    border-left: 4px solid #1877f2;
}

.social-link-modern.google {
    border-left: 4px solid #4285f4;
}

/* Service Areas Section */
.service-areas-section {
    padding: 120px 0;
    background: #FFFFFF;
}

.service-areas-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
}

.area-card {
    background: #F8F9FB;
    border-radius: 16px;
    padding: 32px 24px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid #e8e9eb;
}

.area-card:hover {
    background: #e8f4fd;
    transform: translateY(-6px);
    border-color: #0072BC;
    box-shadow: 0 8px 24px rgba(0, 114, 188, 0.15);
}

.area-icon {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.area-card h4 {
    font-size: 19px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 14px;
}

.area-card p {
    font-size: 15px;
    color: #555555;
    line-height: 1.7;
    margin: 0;
}

/* Contact FAQ Section */
.contact-faq-section {
    padding: 120px 0;
    background: #F8F9FB;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.faq-item {
    background: #FFFFFF;
    border-radius: 16px;
    padding: 36px;
    border-left: 5px solid #0072BC;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.faq-item:hover {
    box-shadow: 0 12px 32px rgba(0, 114, 188, 0.18);
    transform: translateX(6px);
}

.faq-item h4 {
    font-size: 19px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 14px;
}

.faq-item p {
    font-size: 16px;
    color: #555555;
    line-height: 1.8;
    margin: 0;
}

/* Contact CTA Section */
.contact-cta-section {
    padding: 120px 0;
    background: linear-gradient(135deg, #0072BC 0%, #005a94 100%);
    position: relative;
    overflow: hidden;
}

.contact-cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="60" height="60" xmlns="http://www.w3.org/2000/svg"><circle cx="2" cy="2" r="1.5" fill="rgba(255,255,255,0.08)"/></svg>');
    background-size: 30px 30px;
}

.cta-content-center {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #FFFFFF;
}

.cta-content-center h2 {
    font-size: 50px;
    font-weight: 700;
    margin: 0 0 20px;
    color: #FFFFFF;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
}

.cta-content-center p {
    font-size: 21px;
    margin: 0 0 44px;
    opacity: 1;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.15);
}

.cta-buttons-center {
    display: flex;
    gap: 24px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-cta-large {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    padding: 20px 40px;
    border-radius: 50px;
    font-size: 17px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-cta-large.btn-white {
    background: #FFFFFF;
    color: #0072BC;
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.25);
}

.btn-cta-large.btn-white:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.35);
}

.btn-cta-large.btn-outline-white {
    background: transparent;
    color: #FFFFFF;
    border-color: rgba(255, 255, 255, 0.7);
}

.btn-cta-large.btn-outline-white:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: #FFFFFF;
}

/* ===============================
   PROJECTS ARCHIVE PAGE STYLES
   =============================== */

.actsolutions-projects-archive {
    font-family: 'Poppins', sans-serif;
    background: #FFFFFF;
}

/* Projects Hero Section */
.projects-hero {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    padding: 140px 0 100px;
    overflow: hidden;
}

.projects-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('https://images.unsplash.com/photo-1556911220-bff31c812dba?w=1920');
    background-size: cover;
    background-position: center;
    z-index: 1;
}

.projects-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 114, 188, 0.96) 0%, rgba(0, 90, 148, 0.94) 100%);
    z-index: 2;
}

.projects-hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: #FFFFFF;
}

.projects-hero-title {
    font-size: 58px;
    font-weight: 700;
    margin: 0 0 24px;
    line-height: 1.2;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
	color: #fff;
}

.projects-hero-description {
    font-size: 21px;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto;
    opacity: 1;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.15);
}

/* Projects Filter Section */
.projects-filter-section {
    padding: 0;
    margin-top: -80px;
    position: relative;
    z-index: 10;
    background: transparent;
}

.filter-wrapper {
    background: #FFFFFF;
    border-radius: 20px;
    padding: 36px;
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.12);
    display: flex;
    align-items: center;
    gap: 28px;
    flex-wrap: wrap;
}

.filter-label {
    font-size: 17px;
    font-weight: 700;
    color: #1a1a1a;
}

.filter-buttons {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    flex: 1;
}

.filter-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    background: #F8F9FB;
    border: 2px solid #e0e0e0;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 600;
    color: #1a1a1a;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-button:hover {
    background: #e8f4fd;
    border-color: #0072BC;
    color: #0072BC;
}

.filter-button.active {
    background: #0072BC;
    color: #FFFFFF;
    border-color: #0072BC;
    box-shadow: 0 4px 12px rgba(0, 114, 188, 0.3);
}

/* Projects Listing Section */
.projects-listing-section {
    padding: 120px 0;
    background: #F8F9FB;
}

.projects-modern-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 36px;
}

.project-modern-card {
    background: #FFFFFF;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s ease;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.1);
}

.project-modern-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 16px 48px rgba(0, 114, 188, 0.25);
}

.project-image-container {
    position: relative;
    height: 300px;
    overflow: hidden;
}

.project-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.project-modern-card:hover .project-image-container img {
    transform: scale(1.12);
}

.project-hover-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 114, 188, 0.94) 0%, rgba(0, 90, 148, 0.94) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
    gap: 14px;
}

.project-modern-card:hover .project-hover-overlay {
    opacity: 1;
}

.overlay-icon {
    margin-bottom: 10px;
}

.overlay-text {
    color: #FFFFFF;
    font-size: 19px;
    font-weight: 600;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.project-badges {
    position: absolute;
    top: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 5;
}

.project-badge {
    background: #0072BC;
    color: #FFFFFF;
    padding: 8px 16px;
    border-radius: 24px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.project-card-content {
    padding: 32px;
}

.project-card-title {
    font-size: 24px;
    font-weight: 700;
    margin: 0 0 14px;
}

.project-card-title a {
    color: #1a1a1a;
    text-decoration: none;
    transition: color 0.3s ease;
}

.project-card-title a:hover {
    color: #0072BC;
}

.project-excerpt {
    font-size: 16px;
    color: #555555;
    line-height: 1.7;
    margin-bottom: 24px;
}

.project-view-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #0072BC;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.project-view-link:hover {
    gap: 14px;
}

/* No Projects Message */
.no-projects-message {
    text-align: center;
    padding: 120px 20px;
}

.no-projects-icon {
    margin-bottom: 28px;
}

.no-projects-message h2 {
    font-size: 36px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 20px;
}

.no-projects-message p {
    font-size: 18px;
    color: #555555;
    margin: 0 0 36px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

.btn-primary-modern {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: #0072BC;
    color: #FFFFFF;
    padding: 18px 36px;
    border-radius: 50px;
    font-size: 17px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(0, 114, 188, 0.35);
}

.btn-primary-modern:hover {
    background: #005a94;
    transform: translateY(-3px);
    box-shadow: 0 10px 28px rgba(0, 114, 188, 0.45);
}

/* Projects Stats Section */
.projects-stats-section {
    padding: 120px 0;
    background: #FFFFFF;
}

.stats-modern-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 36px;
}

.stat-modern-card {
    text-align: center;
    padding: 48px 24px;
    background: linear-gradient(135deg, #e8f4fd 0%, #d6ebfa 100%);
    border-radius: 20px;
    transition: all 0.3s ease;
    border: 2px solid #b8dff5;
}

.stat-modern-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(0, 114, 188, 0.2);
    border-color: #0072BC;
}

.stat-modern-number {
    font-size: 56px;
    font-weight: 700;
    color: #0072BC;
    line-height: 1;
    margin-bottom: 16px;
}

.stat-modern-label {
    font-size: 16px;
    color: #1a1a1a;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.2px;
}

/* Projects CTA Section */
.projects-cta-section {
    padding: 120px 0;
    background: linear-gradient(135deg, #0072BC 0%, #005a94 100%);
    position: relative;
    overflow: hidden;
}

.projects-cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="60" height="60" xmlns="http://www.w3.org/2000/svg"><circle cx="2" cy="2" r="1.5" fill="rgba(255,255,255,0.08)"/></svg>');
    background-size: 30px 30px;
}

.cta-modern-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 48px;
    color: #FFFFFF;
}

.cta-modern-text h2 {
    font-size: 46px;
    font-weight: 700;
    margin: 0 0 14px;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
	color: #fff;
}

.cta-modern-text p {
    font-size: 19px;
    margin: 0;
    opacity: 1;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.15);
}

.cta-modern-buttons {
    display: flex;
    gap: 18px;
    flex-shrink: 0;
}

.btn-cta-modern {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 36px;
    border-radius: 50px;
    font-size: 17px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    white-space: nowrap;
}

.btn-cta-modern.btn-white-modern {
    background: #FFFFFF;
    color: #0072BC;
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.25);
}

.btn-cta-modern.btn-white-modern:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.35);
}

.btn-cta-modern.btn-outline-modern {
    background: transparent;
    color: #FFFFFF;
    border-color: rgba(255, 255, 255, 0.7);
}

.btn-cta-modern.btn-outline-modern:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: #FFFFFF;
}

/* ===============================
   RESPONSIVE DESIGN
   =============================== */

@media (max-width: 1200px) {
    .contact-cards-grid,
    .service-areas-grid,
    .stats-modern-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .projects-modern-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .container-80 {
        width: 85%;
    }
}

@media (max-width: 992px) {
    .contact-form-grid {
        grid-template-columns: 1fr;
    }

    .faq-grid {
        grid-template-columns: 1fr;
    }

    .cta-modern-content {
        flex-direction: column;
        text-align: center;
    }

    .cta-modern-buttons {
        flex-direction: column;
        width: 100%;
    }

    .btn-cta-modern {
        width: 100%;
        justify-content: center;
    }

    .container-80 {
        width: 90%;
    }
}

@media (max-width: 768px) {
    .contact-hero-title,
    .projects-hero-title {
        font-size: 38px;
    }

    .contact-hero-description,
    .projects-hero-description {
        font-size: 18px;
    }

    .contact-cards-grid,
    .service-areas-grid,
    .stats-modern-grid,
    .projects-modern-grid {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .form-column {
        padding: 36px 28px;
    }

    .filter-wrapper {
        flex-direction: column;
        align-items: flex-start;
        padding: 28px;
    }

    .filter-buttons {
        width: 100%;
    }

    .cta-content-center h2,
    .cta-modern-text h2 {
        font-size: 36px;
    }

    .cta-buttons-center {
        flex-direction: column;
        width: 100%;
    }

    .btn-cta-large {
        width: 100%;
        justify-content: center;
    }

    .container-80 {
        width: 95%;
    }

    .contact-hero,
    .projects-hero {
        padding: 120px 0 80px;
    }

    .contact-cards-section,
    .projects-filter-section {
        margin-top: -60px;
    }
}

@media (max-width: 480px) {
    .contact-hero,
    .projects-hero {
        min-height: 55vh;
        padding: 100px 0 70px;
    }

    .contact-hero-title,
    .projects-hero-title {
        font-size: 30px;
    }

    .stat-modern-number {
        font-size: 44px;
    }

    .contact-card,
    .area-card,
    .faq-item,
    .stat-modern-card {
        padding: 28px 20px;
        min-height: auto;
    }
}
