/* This CSS file adds consistent spacing between sections and enhances section visual appeal */

/* Global section spacing and styling */
section {
    padding: 90px 0;
    position: relative;
    overflow: hidden;
}

/* Add subtle background shape to every other section */
section:nth-child(even) {
    background-color: #f8f9fe;
}

/* Section title enhancement */
.section-title {
    position: relative;
    display: inline-block;
    margin: 0 auto 2.5rem;
}

.section-title:after {
    content: "";
    position: absolute;
    width: 80px;
    height: 4px;
    background: var(--primary-color);
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

/* Specific section adjustments */
#hero {
    padding: 150px 0 90px;
    background: linear-gradient(135deg, #f8f9fe 0%, #e2e6ff 100%);
    position: relative;
}

/* Add decorative element to hero */
#hero:before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 30%;
    height: 30%;
    background: radial-gradient(circle, rgba(var(--primary-color-rgb), 0.1) 0%, rgba(var(--primary-color-rgb), 0) 70%);
    border-radius: 0 0 0 100%;
}

#hero:after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 20%;
    height: 20%;
    background: radial-gradient(circle, rgba(var(--primary-color-rgb), 0.1) 0%, rgba(var(--primary-color-rgb), 0) 70%);
    border-radius: 0 100% 0 0;
}

/* Why Us section enhancement */
#why-us {
    background-color: #ffffff;
}

/* Portfolio section enhancement */
#portfolio {
    background-image: linear-gradient(to bottom, rgba(var(--primary-color-rgb), 0.03), rgba(var(--primary-color-rgb), 0));
}

/* Process section styling */
#process {
    background-color: #ffffff;
}

/* Testimonials section styling */
#testimonials {
    background-image: linear-gradient(135deg, #f9f9f9 0%, #f3f3f3 100%);
}

/* Mobile adjustments */
@media (max-width: 768px) {
    section {
        padding: 70px 0;
    }
    
    #hero {
        padding-top: 120px;
        padding-bottom: 70px;
    }
}

@media (max-width: 576px) {
    section {
        padding: 50px 0;
    }
    
    #hero {
        padding-top: 100px;
        padding-bottom: 50px;
    }
}
