/* Home Sections Styling */
.home-section {
    padding: 80px 0;
    background: var(--color-white);
}

.home-section-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

/* Image Right Layout (Default) */
.section-right .home-section-content {
    grid-template-columns: 1fr 1fr;
}

.section-right .home-section-text {
    order: 1;
}

.section-right .home-section-image {
    order: 2;
}

/* Image Left Layout */
.section-left .home-section-content {
    grid-template-columns: 1fr 1fr;
}

.section-left .home-section-text {
    order: 2;
}

.section-left .home-section-image {
    order: 1;
}

/* Text Content */
.home-section-text h2 {
    font-size: 32px;
    font-weight: 700;
    color: var(--color-black);
    margin-bottom: 25px;
    line-height: 1.3;
}

.home-section-description {
    color: var(--color-text);
    line-height: 1.8;
    margin-bottom: 30px;
}

.home-section-description p {
    margin-bottom: 20px;
}

.home-section-description p:last-child {
    margin-bottom: 0;
}

/* Image Styling */
.home-section-image {
    position: relative;
}

.home-section-image img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    object-fit: cover;
}

/* Button Styling - Match CTA Section */
.home-section-text .btn,
.home-section-text .btn-primary {
    display: inline-block !important;
    padding: 14px 35px !important;
    background: linear-gradient(135deg, #1c5a6a 0%, #26b3af 100%) !important;
    color: white !important;
    text-decoration: none !important;
    border-radius: 2px !important;
    font-weight: 600 !important;
    font-size: 16px !important;
    transition: all 0.3s ease !important;
    border: none !important;
    cursor: pointer !important;
}

.home-section-text .btn:hover,
.home-section-text .btn-primary:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(28, 90, 106, 0.2) !important;
}

/* Responsive Design */
@media (max-width: 968px) {
    .home-section {
        padding: 60px 0;
    }
    
    .home-section-content {
        gap: 40px;
    }
    
    .home-section-text h2 {
        font-size: 28px;
    }
}

@media (max-width: 768px) {
    .home-section {
        padding: 50px 0;
    }
    
    .home-section-content,
    .section-right .home-section-content,
    .section-left .home-section-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    /* Always show text first on mobile */
    .section-right .home-section-text,
    .section-left .home-section-text {
        order: 1;
    }
    
    .section-right .home-section-image,
    .section-left .home-section-image {
        order: 2;
    }
    
    .home-section-text h2 {
        font-size: 24px;
        margin-bottom: 20px;
    }
    
    .home-section-description {
        font-size: 15px;
        margin-bottom: 25px;
    }
    
    .home-section-image img {
        border-radius: 12px;
    }
    
    .home-section-text .btn {
        width: 50% !important;
        text-align: center !important;
    }
}

@media (max-width: 480px) {
    .home-section {
        padding: 40px 0;
    }
    
    .home-section-text h2 {
        font-size: 22px;
    }
    
    .home-section-text .btn {
        width: 50% !important;
        text-align: center !important;
        padding: 10px 20px !important;
        font-size: 14px !important;
    }
}
