/* Gestify - Layout Improvements Stylesheet */

/* Global Spacing Improvements */
:root {
    /* Enhanced spacing variables */
    --spacing-section: 5rem;      /* Increased section padding */
    --spacing-element: 2.5rem;    /* Standard element spacing */
    --spacing-component: 1.5rem;  /* Component internal spacing */
}  

/* Improved Container Layout */
.container {
    padding: 0 2rem;  /* Increased horizontal padding */
}

/* Enhanced Section Spacing */
section {
    padding: var(--spacing-section) 0;
    margin-bottom: 0;  /* Remove default margins to control spacing with padding */
}

/* Improved Hero Section Layout */
.hero, .page-hero {
    padding: 140px 0 100px;  /* Increased padding for better breathing room */
    display: flex;
    align-items: center;
}

.hero .container, .page-hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
}

.hero-content, .page-hero .hero-content {
    flex: 1;
    max-width: 600px;
}

.hero-visual, .page-hero .hero-visual {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

/* Improved Typography Spacing */
h1, h2, h3, h4, h5, h6 {
    margin-bottom: 1.5rem;  /* Consistent heading margins */
    line-height: 1.3;       /* Improved line height for readability */
}

p {
    margin-bottom: 1.2rem;  /* Consistent paragraph spacing */
    line-height: 1.7;       /* Improved line height for readability */
}

/* Enhanced Service Cards Layout */
.services-grid {
    gap: 2.5rem;  /* Increased gap between service cards */
}

.service-card {
    padding: 2.5rem;  /* Increased padding inside cards */
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: space-between;
}

.service-card h3 {
    margin: 1.5rem 0 1rem;  /* Consistent spacing around headings */
}

.service-card p {
    margin-bottom: 1.5rem;  /* Space before the button/link */
}

/* Improved Features and Benefits Layout */
.features-grid, .benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.feature, .benefit {
    padding: 2.5rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.feature i, .benefit i {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

/* Enhanced CTA Section */
.cta-section {
    padding: 5rem 0;
    text-align: center;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 3rem;
    border-radius: 10px;
}

.cta-content h2 {
    margin-bottom: 1.5rem;
}

.cta-content p {
    margin-bottom: 2rem;
}

/* Improved Footer Layout */
.footer-grid {
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-column {
    display: flex;
    flex-direction: column;
}

.footer-column h4 {
    margin-bottom: 1.5rem;
}

.footer-column ul li {
    margin-bottom: 0.8rem;
}

/* Enhanced Form Layout */
.form-group {
    margin-bottom: 1.5rem;
}

label {
    margin-bottom: 0.5rem;
    display: block;
    font-weight: 500;
}

input, textarea, select {
    padding: 0.8rem 1rem;
}

/* Improved Testimonials Layout */
.testimonial-slider {
    margin: 3rem auto;
    max-width: 900px;
}

.testimonial-card {
    padding: 3rem;
}

.testimonial-content {
    margin-bottom: 2rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
}

.author-info {
    text-align: center;
}

/* Enhanced Combined Offers Layout */
.offers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.offer-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.offer-header {
    padding: 2rem;
    text-align: center;
}

.offer-content {
    padding: 2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.offer-features {
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.offer-features li {
    margin-bottom: 0.8rem;
    display: flex;
    align-items: flex-start;
}

.offer-features li i {
    margin-right: 0.8rem;
    margin-top: 0.3rem;
}

.offer-description {
    margin-bottom: 1.5rem;
}

/* FAQ Section Layout Improvements */
.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.faq-item {
    background-color: white;
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.faq-item h3 {
    margin-bottom: 1rem;
    color: var(--primary);
}

/* Responsive Improvements */
@media screen and (max-width: 992px) {
    .hero .container, .page-hero .container {
        flex-direction: column;
    }
    
    .hero-content, .page-hero .hero-content {
        max-width: 100%;
        text-align: center;
        margin-bottom: 2rem;
    }
    
    .hero-visual, .page-hero .hero-visual {
        justify-content: center;
    }
}

@media screen and (max-width: 768px) {
    :root {
        --spacing-section: 4rem;
        --spacing-element: 2rem;
    }
    
    .services-grid, .features-grid, .benefits-grid, .offers-grid, .faq-grid {
        gap: 2rem;
    }
    
    .service-card, .feature, .benefit, .offer-card, .faq-item {
        padding: 2rem;
    }
    
    .cta-content {
        padding: 2rem;
    }
}

@media screen and (max-width: 576px) {
    :root {
        --spacing-section: 3rem;
        --spacing-element: 1.5rem;
    }
    
    .container {
        padding: 0 1.5rem;
    }
    
    .hero, .page-hero {
        padding: 120px 0 60px;
    }
    
    .service-card, .feature, .benefit, .offer-card, .faq-item {
        padding: 1.5rem;
    }
    
    .cta-content {
        padding: 1.5rem;
    }
}