/* Elementor Base Styles */
.elementor-page {
    width: 100%;
    overflow-x: hidden;
}

.elementor-section {
    position: relative;
    width: 100%;
}

.elementor-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    position: relative;
    z-index: 2;
}

.elementor-row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.elementor-column {
    padding: 0 15px;
    position: relative;
    flex: 0 0 auto;
}

.elementor-column-wrap {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.elementor-widget-wrap {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.elementor-widget {
    margin-bottom: 20px;
    position: relative;
}

.elementor-widget:last-child {
    margin-bottom: 0;
}

.elementor-widget-container {
    word-wrap: break-word;
}

/* Typography */
.elementor-heading-title {
    margin: 0;
    line-height: 1.2;
}

.elementor-text-editor {
    word-wrap: break-word;
}

.elementor-text-editor p {
    margin: 0 0 1em;
}

.elementor-text-editor p:last-child {
    margin-bottom: 0;
}

/* Alignment classes */
.elementor-align-left {
    text-align: left;
}

.elementor-align-center {
    text-align: center;
}

.elementor-align-right {
    text-align: right;
}

.elementor-align-justify {
    text-align: justify;
}

/* Button Widget */
.elementor-button-wrapper {
    display: flex;
}

.elementor-button-wrapper.elementor-align-left {
    justify-content: flex-start;
}

.elementor-button-wrapper.elementor-align-center {
    justify-content: center;
}

.elementor-button-wrapper.elementor-align-right {
    justify-content: flex-end;
}

.elementor-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
    font-size: inherit;
    line-height: 1;
    padding: 12px 24px;
    background-color: #007cba;
    color: #ffffff;
    border-radius: 3px;
}

.elementor-button:hover {
    opacity: 0.85;
}

.elementor-button-content-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
}

.elementor-button-text {
    font-size: inherit;
}

/* Image Widget */
.elementor-image {
    display: flex;
}

.elementor-image.elementor-align-left {
    justify-content: flex-start;
}

.elementor-image.elementor-align-center {
    justify-content: center;
}

.elementor-image.elementor-align-right {
    justify-content: flex-end;
}

.elementor-image-img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Spacer Widget */
.elementor-spacer {
    width: 100%;
    clear: both;
}

/* Divider Widget */
.elementor-divider {
    display: flex;
    width: 100%;
}

.elementor-divider.elementor-align-left {
    justify-content: flex-start;
}

.elementor-divider.elementor-align-center {
    justify-content: center;
}

.elementor-divider.elementor-align-right {
    justify-content: flex-end;
}

.elementor-divider-separator {
    height: 1px;
    background-color: #ddd;
    display: block;
}

/* Testimonial Widget */
.elementor-testimonial-wrapper {
    text-align: center;
    padding: 20px;
}

.elementor-testimonial-image {
    margin-bottom: 15px;
}

.elementor-testimonial-image-img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 50%;
    margin: 0 auto;
    display: block;
}

.elementor-testimonial-content {
    margin-bottom: 15px;
    font-style: italic;
}

.elementor-testimonial-name {
    font-weight: bold;
    margin-bottom: 5px;
}

.elementor-testimonial-job {
    font-size: 0.9em;
    color: #666;
}

/* Forms Widget */
.elementor-forms-wrapper {
    width: 100%;
}

.elementor-form {
    width: 100%;
}

.elementor-field-group {
    margin-bottom: 15px;
}

.elementor-field {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 3px;
    font-size: 14px;
    font-family: inherit;
}

.elementor-field:focus {
    outline: none;
    border-color: #007cba;
}

/* Image Carousel */
.elementor-image-carousel-wrapper {
    width: 100%;
}

.elementor-image-carousel {
    overflow: hidden;
}

.swiper-wrapper {
    display: flex;
}

.swiper-slide {
    flex-shrink: 0;
}

.elementor-carousel-image {
    width: 100%;
    height: auto;
    display: block;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .elementor-container {
        padding: 0 20px;
    }
    
    .elementor-row {
        margin: 0 -10px;
    }
    
    .elementor-column {
        padding: 0 10px;
    }
}

@media (max-width: 768px) {
    .elementor-container {
        padding: 0 15px;
    }
    
    .elementor-row {
        margin: 0 -7.5px;
    }
    
    .elementor-column {
        padding: 0 7.5px;
        width: 100% !important;
        margin-bottom: 20px;
    }
    
    .elementor-column:last-child {
        margin-bottom: 0;
    }
}

/* Widget placeholder styles */
.elementor-widget-placeholder {
    padding: 20px;
    border: 2px dashed #ddd;
    text-align: center;
    color: #666;
    background-color: #f9f9f9;
}

.elementor-widget-placeholder pre {
    font-size: 12px;
    text-align: left;
    max-height: 200px;
    overflow: auto;
    background: #fff;
    padding: 10px;
    border-radius: 3px;
}