/* Animation Styles */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in-up.animate {
    opacity: 1;
    transform: translateY(0);
}

.delay-100 { transition-delay: 0.1s; }
.delay-200 { transition-delay: 0.2s; }
.delay-300 { transition-delay: 0.3s; }
.delay-400 { transition-delay: 0.4s; }

/* Wrapper for the entire CTA section with background */
.cta-section-wrapper {
    position: relative;
    margin: 130px 0;
    padding: 0;
    overflow: visible;
}

/* Lines Background */
.cta-lines-bg {
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    height: calc(100% + 200px);
    z-index: 1;
    overflow: hidden;
}

.cta-bg-lines {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 1;
    position: absolute;
}

/* Main CTA Styles */
.cta-section {
    background-image: url('../images/website_design_development_services/cta_bg.png');
    background-size: cover;
    background-position: center;
    border-radius: 1.875rem;
    position: relative;
    overflow: hidden;
    padding: 0;
    z-index: 2;
    max-width: 1320px;
    margin: 0 auto;
}

.cta-container {
    width: 100%;
    margin: 0 auto;
    position: relative;
    z-index: 3;
    height: 650px;
}

.cta-content-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 60px;
}

.cta-content {
    background: #FFFFFF;
    border-radius: 1.25rem;
    padding: 40px;
    max-width: 580px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.cta-heading {
    color: #150F02;
    text-align: center;
    font-family: 'Outfit', sans-serif;
    font-size: 2.25rem;
    font-style: normal;
    font-weight: 600;
    line-height: 3.15rem;
    letter-spacing: -0.0625rem;
    margin-bottom: 20px;
}

.cta-content p {
    color: var(--Accent, #373737);
    text-align: center;
    font-family: 'Outfit', sans-serif;
    font-size: 1.125rem;
    font-style: normal;
    font-weight: 400;
    line-height: 1.9125rem; /* 170% */
    margin-bottom: 30px;
}

.cta-content .hero-btn-primary {
    height: 56px;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: #FF8E6C;
    color: white;
    border: none;
    border-radius: 50px;
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cta-content .hero-btn-primary:hover {
    background: #ff7a53;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 142, 108, 0.4);
    color: white;
}

.cta-content .hero-btn-primary .hero-btn-arrow {
    transition: transform 0.3s ease;
    filter: brightness(0) invert(1);
}

.cta-content .hero-btn-primary:hover .hero-btn-arrow {
    transform: translateX(5px);
}

.cta-image-wrapper {
    display: flex;
    justify-content: center;
    position: relative;
    z-index: 4;
    margin-top: -80px;
}

.cta-people-image {
    max-width: 100%;
    height: auto;
}

/* Background with grid pattern */
.cta-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(255, 142, 108, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 142, 108, 0.05) 1px, transparent 1px);
    background-size: 40px 40px;
    z-index: 2;
}

/* Decorative Gradient Blur */
.cta-decorative-blur {
    position: absolute;
    width: 76.94569rem;
    height: 76.94569rem;
    transform: rotate(60deg);
    flex-shrink: 0;
    border-radius: 76.94569rem;
    opacity: 0.1;
    background: linear-gradient(180deg, #FF8E6C 0%, #FF8E6C 100%);
    filter: blur(133.33334350585938px);
    z-index: 1;
    left: -20rem;
    top: -20rem;
    pointer-events: none;
}

/* 1440px Device - CTA Heading Size */
@media (min-width: 1440px) and (max-width: 1599px) {
    .cta-heading,
    .cta-content .cta-heading,
    .cta-section .cta-heading,
    h2.cta-heading {
        font-size: 27px !important;
    }
}

/* Responsive Spacing Adjustments */
@media (max-width: 1400px) {
    .cta-section-wrapper {
        margin: 120px 0;
    }
    
    .cta-lines-bg {
        top: -80px;
        height: calc(100% + 160px);
    }
    
    .cta-decorative-blur {
        width: 65rem;
        height: 65rem;
        left: -15rem;
        top: -15rem;
    }
}

@media (max-width: 1200px) {
    .cta-container {
        height: 600px;
    }
    
    .cta-section-wrapper {
        margin: 110px 0;
    }
    
    .cta-lines-bg {
        top: -70px;
        height: calc(100% + 140px);
    }
    
    .cta-decorative-blur {
        width: 55rem;
        height: 55rem;
        left: -12rem;
        top: -12rem;
    }
    
    .cta-image-wrapper {
        margin-top: -60px;
    }
}

@media (max-width: 991px) {
    .cta-section {
        padding: 40px 20px;
    }
    
    .cta-section-wrapper {
        margin: 100px 0;
    }
    
    .cta-lines-bg {
        top: -60px;
        height: calc(100% + 120px);
    }
    
    .cta-decorative-blur {
        width: 45rem;
        height: 45rem;
        left: -10rem;
        top: -10rem;
    }
    
    .cta-container {
        height: auto;
    }
    
    .cta-content {
        max-width: 90%;
        padding: 30px;
    }
    
    .cta-heading {
        font-size: 2rem;
        line-height: 2.8rem;
    }
    
    .cta-image-wrapper {
        margin-top: 20px;
    }
    
    .cta-people-image {
        max-width: 80%;
    }
}

@media (max-width: 767px) {
    .cta-section {
        padding: 30px 15px;
    }
    
    .cta-section-wrapper {
        margin: 80px 0;
    }
    
    .cta-decorative-blur {
        width: 35rem;
        height: 35rem;
        left: -8rem;
        top: -8rem;
    }
    
    .cta-content {
        padding: 25px;
    }
    
    .cta-heading {
        font-size: 1.75rem;
        line-height: 2.45rem;
    }
    
    .cta-content p {
        font-size: 1rem;
        line-height: 1.7rem;
    }
    
    .cta-content .hero-btn-primary {
        height: 50px;
        font-size: 15px;
        padding: 0.875rem 1.5rem;
    }
    
    .cta-people-image {
        max-width: 90%;
    }
}

@media (max-width: 576px) {
    .cta-section {
        border-radius: 1.25rem;
    }
    
    .cta-section-wrapper {
        margin: 60px 0;
    }
    
    .cta-content {
        padding: 20px;
    }
    
    .cta-heading {
        font-size: 1.5rem;
        line-height: 2.1rem;
    }
    
    .cta-content p {
        font-size: 0.9375rem;
        line-height: 1.6rem;
        margin-bottom: 25px;
    }
    
    .cta-content .hero-btn-primary {
        height: 45px;
        font-size: 14px;
        padding: 0.75rem 1.25rem;
    }
    
    .cta-people-image {
        max-width: 100%;
    }
} 