/* Section Headings */
.hero-heading,
.section-heading,
.why-heading,
.cta-heading {
    font-size: 1.875rem;
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 1.5rem;
    color: var(--dark-text-color);
}

/* Section Subtexts */
.hero-subtext,
.section-subtext,
.why-subtext,
.cta-subtext {
    font-size: 1.125rem;
    color: var(--gray-text-color);
    margin-bottom: 2rem;
    max-width: 42rem;
    margin-left: auto;
    margin-right: auto;
}

/* Card Titles */
.service-card-title,
.gradient-card-title,
.industry-title,
.feature-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--dark-text-color);
    margin-bottom: 0.75rem;
}

/* Card Descriptions */
.service-card-desc,
.gradient-card-desc,
.industry-desc,
.feature-desc {
    font-size: 0.875rem;
    color: var(--gray-text-color);
    margin-bottom: 1rem;
}

/* Base Card Box Model */
.service-card,
.industry-card {
    background-color: #ffffff;
    border-radius: 1rem;
    padding: 1.5rem;
    transition: all 300ms cubic-bezier(0.4, 0, 0.2, 1);
    cursor: default;
}

/* Base Badge Shape Modifiers */
.section-badge,
.why-badge {
    display: inline-block;
    padding: 0.25rem 1rem;
    font-weight: 600;
    font-size: 0.875rem;
    border-radius: 9999px;
    margin-bottom: 1rem;
}

/* Root Section Padding Modifiers */
.services-section,
.why-section,
.industries-section,
.cta-section {
    padding: 5rem 0;
}

/* Buttons moved to style.css */

/* ===== HERO SECTION ===== */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 5rem;
    overflow: hidden;
    background:
        linear-gradient(var(--primary-color) 1px, transparent 1px),
        linear-gradient(90deg, var(--primary-color) 1px, transparent 1px),
        linear-gradient(to bottom right, var(--light-background-color), #ffffff, var(--medium-background-color));
    background-size: 60px 60px, 60px 60px, 100% 100%;
    background-blend-mode: overlay;
}

.hero-section::before,
.hero-section::after {
    content: "";
    position: absolute;
    border-radius: 9999px;
    filter: blur(64px);
    z-index: 0;
    pointer-events: none;
}

.hero-section::before {
    top: 5rem;
    right: -5rem;
    width: 37.5rem;
    height: 37.5rem;
    background-color: var(--accent-color);
    opacity: 0.05;
}

.hero-section::after {
    bottom: -5rem;
    left: -5rem;
    width: 25rem;
    height: 25rem;
    background-color: var(--accent2-color);
    opacity: 0.05;
}

/* Ensure content stays above pseudo-elements */
.hero-content-wrapper {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 80rem !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding: 4rem 1rem 4rem;
}

.hero-grid {
    display: grid !important;
    gap: 2rem !important;
    align-items: center;
}

.hero-text {
    text-align: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: rgba(var(--primary-color-rgb), 0.1);
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    margin-bottom: 1.5rem;
}

.hero-badge-dot {
    width: 0.5rem;
    height: 0.5rem;
    background-color: var(--accent-color);
    border-radius: 9999px;
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.hero-badge-text {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.875rem;
}

.hero-heading-gradient {
    color: transparent;
    background-clip: text;
    -webkit-background-clip: text;
    background-image: linear-gradient(to right, var(--primary-color), var(--accent2-color));
    white-space: nowrap !important;
    display: inline-block;
}

.hero-subtext {
    max-width: 36rem;
}

.hero-buttons {
    display: flex !important;
    flex-direction: column;
    gap: 1rem !important;
    justify-content: center;
}

.hero-buttons .wp-block-button {
    margin: 0 !important;
}

.hero-trust {
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid var(--light-border-color);
}

.hero-trust-label {
    font-size: 0.875rem;
    color: var(--gray-text-color);
    margin-bottom: 1rem;
}

.hero-trust-badges {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
}

.trust-badge-item {
    display: flex !important;
    align-items: center;
    gap: 0.5rem;
    color: var(--gray-text-color);
    white-space: nowrap !important;
}

.trust-badge-item i {
    color: var(--accent3-color);
}

.trust-badge-item span {
    font-weight: 500;
}

.hero-image-wrap {
    position: relative !important;
}

.hero-image-inner {
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
}

.hero-image-inner img {
    width: 100%;
    height: 25rem;
    object-fit: cover;
}

.hero-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(var(--primary-color-rgb), 0.2), transparent);
}

.hero-floating-card {
    display: none !important;
    align-items: center !important;
    gap: 0.75rem;
    position: absolute !important;
    bottom: 6rem !important;
    left: -2rem !important;
    z-index: 10;
    background-color: #ffffff;
    border-radius: 0.75rem;
    padding: 1.5rem;
    max-width: 20rem;
}

.floating-card-inner {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.hero-floating-card .wp-block-font-awesome-icon,
.floating-card-icon {
    width: 3rem;
    height: 3rem;
    background-color: rgba(var(--accent3-color-rgb), 0.1);
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.hero-floating-card .wp-block-font-awesome-icon svg,
.floating-card-icon i {
    color: var(--accent3-color);
    font-size: 1.25rem;
    width: 1.25rem;
    height: 1.25rem;
}

.floating-card-title {
    font-weight: 700;
    color: var(--dark-text-color);
}

.floating-card-sub {
    font-size: 0.875rem;
    color: var(--gray-text-color);
}

.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
}

.hero-wave svg {
    width: 100%;
    display: block;
}

/* ===== SERVICES SECTION ===== */
.services-section {
    background-color: #ffffff;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-badge {
    background-color: rgba(var(--accent-color-rgb), 0.1);
    color: var(--primary-color);
}

.section-badge-purple {
    background-color: rgba(var(--accent2-color-rgb), 0.1);
    color: var(--accent2-color);
}

.section-badge-blue {
    background-color: rgba(var(--primary-color-rgb), 0.1);
    color: var(--primary-color);
}

.section-heading {
    margin-bottom: 1rem;
}

.services-grid {
    display: grid !important;
    gap: 2rem !important;
    margin-bottom: 5rem !important;
}

.service-card {
    border: 1px solid var(--light-border-color);
    transform: translateY(0);
}

.service-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-0.25rem);
}

.service-card .wp-block-font-awesome-icon {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 0.75rem;
    display: flex !important;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: all 150ms ease;
    background-color: var(--light-background-color);
}

.service-card .wp-block-font-awesome-icon svg {
    width: 1.5rem !important;
    height: 1.5rem !important;
    transition: color 150ms ease;
}

.service-card-title {
    font-size: 1.25rem;
}

.service-card-gradient {
    background: linear-gradient(to bottom right, var(--primary-color), var(--accent2-color));
    border: none;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.service-card-gradient:hover {
    border: none;
}

.service-card-gradient .wp-block-font-awesome-icon {
    background-color: rgba(255, 255, 255, 0.2) !important;
}

.service-card-gradient .wp-block-font-awesome-icon svg {
    color: #ffffff !important;
}

.gradient-card-title {
    font-size: 1.25rem;
    color: #ffffff !important;
}

.gradient-card-desc {
    color: rgba(255, 255, 255, 0.8) !important;
}

.btn-white-sm:not(.wp-block-button),
.wp-block-button.btn-white-sm .wp-block-button__link {
    padding: 0.5rem 1.5rem !important;
    background-color: #ffffff !important;
    color: var(--primary-color) !important;
    font-weight: 600;
    border-radius: 0.5rem !important;
    border: none !important;
}

.btn-white-sm:not(.wp-block-button):hover,
.wp-block-button.btn-white-sm .wp-block-button__link:hover {
    background-color: rgba(255, 255, 255, 0.9) !important;
}

/* ===== WHY CHOOSE SECTION ===== */
.why-section {
    background-color: var(--light-background-color) !important;
    width: 100vw !important;
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
    max-width: 100vw !important;
}

.why-grid {
    display: grid !important;
    gap: 2rem !important;
    align-items: center !important;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 1rem;
}

.why-badge {
    background-color: rgba(var(--primary-color-rgb), 0.1);
    color: var(--primary-color);
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.feature-item {
    display: flex;
    gap: 1rem;
}

.feature-icon,
.feature-item .wp-block-font-awesome-icon {
    flex-shrink: 0;
    width: 3rem;
    height: 3rem;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--light-background-color);
}

.feature-icon-accent3,
.feature-item:nth-child(1) .wp-block-font-awesome-icon {
    background-color: rgba(var(--accent3-color-rgb), 0.1);
}

.feature-icon-primary,
.feature-item:nth-child(2) .wp-block-font-awesome-icon {
    background-color: rgba(var(--primary-color-rgb), 0.1);
}

.feature-icon-accent2,
.feature-item:nth-child(3) .wp-block-font-awesome-icon {
    background-color: rgba(var(--accent2-color-rgb), 0.1);
}

.feature-icon-accent3 i {
    color: var(--accent3-color);
}

.feature-icon-primary i {
    color: var(--primary-color);
}

.feature-icon-accent2 i {
    color: var(--accent2-color);
}

[class*="feature-icon-"] i {
    font-size: 1.25rem;
}

.feature-item .wp-block-font-awesome-icon svg {
    width: 1.25rem;
    height: 1.25rem;
}

.why-cta {
    margin-top: 2.5rem;
}

/* Image Grid */
.image-grid-wrap {
    position: relative !important;
}

.image-cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.image-col-a {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.image-col-b {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding-top: 2rem;
}

.image-item {
    border-radius: 1rem;
    overflow: hidden;
}

.image-item img {
    width: 100%;
    object-fit: cover;
    transition: transform 500ms cubic-bezier(0.4, 0, 0.2, 1);
}

.image-item:hover img {
    transform: scale(1.1);
}

.img-short {
    height: 12rem;
}

.img-tall {
    height: 16rem;
}

.stats-card {
    display: none !important;
    position: absolute !important;
    bottom: 2rem !important;
    right: 1.5rem !important;
    z-index: 20;
    background-color: #ffffff;
    border-radius: 1rem;
    padding: 1.5rem;
    max-width: 20rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    text-align: center;
}

.stat-value {
    font-size: 1.875rem;
    font-weight: 700;
    color: var(--primary-color);
}

.stat-label {
    font-size: 0.875rem;
    color: var(--gray-text-color);
}

/* ===== INDUSTRIES SECTION ===== */
.industries-section {
    background-color: #ffffff;
}

.industries-grid {
    display: grid !important;
    gap: 2rem !important;
}

.industry-card {
    background-color: var(--light-background-color);
    text-align: center;
}

.industry-card:hover {
    background-color: var(--primary-color);
}

.industry-icon-wrap {
    width: 4rem;
    height: 4rem;
    background-color: #ffffff;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    transition: background-color 150ms;
}

.industry-card:hover .industry-icon-wrap {
    background-color: rgba(255, 255, 255, 0.2);
}

.industry-icon-wrap i,
.industry-icon-wrap svg {
    font-size: 1.5rem;
    width: 1.5rem;
    height: 1.5rem;
    transition: color 150ms;
}

.industry-card:hover .industry-icon-wrap i,
.industry-card:hover .industry-icon-wrap svg {
    color: #ffffff !important;
}

.industry-title {
    transition: color 150ms;
}

.industry-card:hover .industry-title {
    color: #ffffff;
}

.industry-desc {
    margin-top: 0.5rem;
    transition: color 150ms;
}

.industry-card:hover .industry-desc {
    color: rgba(255, 255, 255, 0.8);
}

.industries-cta {
    text-align: center;
    margin-top: 2.5rem;
}

/* ===== CTA SECTION ===== */
.cta-section {
    background: linear-gradient(to right, var(--primary-color), var(--accent2-color));
    position: relative;
    overflow: hidden;
}

.cta-section::before,
.cta-section::after {
    content: "";
    position: absolute;
    width: 24rem;
    height: 24rem;
    background-color: #ffffff;
    border-radius: 9999px;
    filter: blur(64px);
    opacity: 0.1;
    z-index: 0;
    pointer-events: none;
}

.cta-section::before {
    top: -5rem;
    left: -5rem;
}

.cta-section::after {
    bottom: -5rem;
    right: -5rem;
}

.cta-inner {
    position: relative;
    z-index: 10;
    max-width: 56rem;
    margin-left: auto;
    margin-right: auto;
    padding: 0 1rem;
    text-align: center;
}

.cta-heading {
    color: #ffffff !important;
}

.cta-subtext {
    color: rgba(255, 255, 255, 0.9) !important;
}

.cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
}

.cta-trust {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.cta-trust-label {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1rem;
}

.cta-contact-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    color: rgba(255, 255, 255, 0.8);
}

.cta-contact-row p,
.cta-contact-item p {
    color: rgba(255, 255, 255, 0.8) !important;
    margin: 0;
}

.cta-contact-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* ===== RESPONSIVE ===== */
@media (min-width: 640px) {
    .hero-heading {
        font-size: 3rem;
    }

    .hero-buttons {
        flex-direction: row;
    }

    .cta-buttons {
        flex-direction: row;
    }

    .hero-floating-card {
        display: block;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .industries-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .section-heading {
        font-size: 2.25rem;
    }

    .why-heading {
        font-size: 2.25rem;
    }

    .cta-heading {
        font-size: 2.25rem;
    }
}

@media (min-width: 1024px) {
    .hero-content-wrapper {
        padding: 6rem 2rem;
    }

    .hero-grid {
        grid-template-columns: 1fr 1fr !important;
    }

    .hero-text {
        text-align: left;
    }

    .hero-subtext {
        margin-left: 0;
        margin-right: 0;
    }

    .hero-buttons {
        justify-content: flex-start;
    }

    .hero-trust-badges {
        justify-content: flex-start;
    }

    .hero-heading {
        font-size: 3.75rem;
    }

    .hero-image-inner img {
        height: 31.25rem;
    }

    /* Section Wrapper Paddings */
    .services-section,
    .why-section,
    .industries-section,
    .cta-section {
        padding: 7rem 0;
    }

    /* Section Heading Sizes */
    .section-heading,
    .why-heading,
    .cta-heading {
        font-size: 3rem;
    }

    /* Grid Gaps */
    .hero-grid,
    .why-grid,
    .services-grid,
    .industries-grid,
    .stats-grid,
    .image-cols {
        gap: 4rem !important;
    }

    .services-grid {
        grid-template-columns: repeat(3, 1fr) !important;
    }

    .why-grid {
        grid-template-columns: 1fr 1fr !important;
    }

    .industries-grid {
        grid-template-columns: repeat(5, 1fr) !important;
    }

    .container {
        padding-left: 2rem;
        padding-right: 2rem;
    }

    .hero-floating-card {
        display: flex !important;
    }

    .stats-card {
        display: block !important;
    }
}