/* Elementor Custom Styles for Oreteti Initiative */

/* Global Elementor Styles */
.elementor-widget-heading .elementor-heading-title {
    color: #2E7A4E;
    font-family: 'Merriweather', serif;
    font-weight: 700;
}

.elementor-widget-text-editor {
    color: #333333;
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
}

.elementor-button {
    background: #2E7A4E;
    color: white;
    border-radius: 8px;
    font-weight: 600;
    padding: 12px 24px;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.elementor-button:hover {
    background: #F6B042;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(46, 122, 78, 0.3);
}

.elementor-button.elementor-button-success {
    background: #2E7A4E;
}

.elementor-button.elementor-button-warning {
    background: #F6B042;
}

.elementor-button.elementor-button-success:hover {
    background: #F6B042;
}

.elementor-button.elementor-button-warning:hover {
    background: #2E7A4E;
}

/* Section and Container Styles */
.elementor-section {
    position: relative;
    padding: 80px 0;
}

.elementor-section-stretched {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

.elementor-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

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

.elementor-column {
    padding: 0 15px;
    box-sizing: border-box;
}

.elementor-col-100 { flex: 0 0 100%; max-width: 100%; }
.elementor-col-66 { flex: 0 0 66.666667%; max-width: 66.666667%; }
.elementor-col-50 { flex: 0 0 50%; max-width: 50%; }
.elementor-col-33 { flex: 0 0 33.333333%; max-width: 33.333333%; }
.elementor-col-25 { flex: 0 0 25%; max-width: 25%; }
.elementor-col-20 { flex: 0 0 20%; max-width: 20%; }

/* Widget Specific Styles */

/* Icon Box Widget */
.elementor-widget-icon-box {
    text-align: center;
}

.elementor-widget-icon-box .elementor-icon-box-wrapper {
    text-align: center;
}

.elementor-widget-icon-box .elementor-icon {
    background: #2E7A4E;
    color: white;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2.5rem;
    transition: all 0.3s ease;
}

.elementor-widget-icon-box:hover .elementor-icon {
    background: #F6B042;
    transform: translateY(-2px);
}

.elementor-widget-icon-box .elementor-icon-box-title {
    color: #2E7A4E;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 15px;
    font-family: 'Merriweather', serif;
}

.elementor-widget-icon-box .elementor-icon-box-content p {
    color: #333;
    line-height: 1.6;
    margin-bottom: 20px;
}

/* Counter Widget */
.elementor-widget-counter .elementor-counter-number-wrapper {
    color: #F6B042;
    font-size: 3rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 10px;
}

.elementor-widget-counter .elementor-counter-title {
    color: white;
    font-size: 1.1rem;
    font-weight: 500;
    text-align: center;
}

/* Image Box Widget */
.elementor-widget-image-box .elementor-image-box-wrapper .elementor-image-box-content .elementor-image-box-title {
    color: #2E7A4E;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 15px;
    font-family: 'Merriweather', serif;
}

.elementor-widget-image-box {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    text-align: center;
}

.elementor-widget-image-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.elementor-widget-image-box .elementor-image-box-img {
    border-radius: 8px;
    margin-bottom: 20px;
}

/* Testimonial Widget */
.elementor-widget-testimonial {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    text-align: center;
    margin-bottom: 20px;
}

.elementor-widget-testimonial .elementor-testimonial-content {
    color: #333;
    font-style: italic;
    margin-bottom: 20px;
    font-size: 1.1rem;
    line-height: 1.6;
}

.elementor-widget-testimonial .elementor-testimonial-name {
    color: #2E7A4E;
    font-weight: 700;
    margin-bottom: 5px;
}

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

/* Form Widget */
.elementor-widget-form .elementor-field {
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    padding: 12px 15px;
    font-family: 'Open Sans', sans-serif;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    width: 100%;
    box-sizing: border-box;
}

.elementor-widget-form .elementor-field:focus {
    border-color: #2E7A4E;
    outline: none;
}

.elementor-widget-form .elementor-field-textarea {
    min-height: 120px;
    resize: vertical;
}

/* Social Icons Widget */
.elementor-widget-social-icons .elementor-grid {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.elementor-widget-social-icons .elementor-grid-item {
    width: 40px;
    height: 40px;
    background: #2E7A4E;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    text-decoration: none;
}

.elementor-widget-social-icons .elementor-grid-item:hover {
    background: #F6B042;
    transform: translateY(-2px);
}

.elementor-widget-social-icons .elementor-grid-item i {
    color: white;
    font-size: 1.2rem;
}

/* Progress Bar Widget */
.elementor-widget-progress-bar .elementor-progress-bar {
    background: #F7F6F2;
    border-radius: 10px;
    height: 10px;
    overflow: hidden;
}

.elementor-widget-progress-bar .elementor-progress-bar-inner {
    background: linear-gradient(90deg, #2E7A4E 0%, #F6B042 100%);
    height: 100%;
    border-radius: 10px;
    transition: width 0.3s ease;
}

/* Posts Widget */
.elementor-widget-posts .elementor-post {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    margin-bottom: 30px;
}

.elementor-widget-posts .elementor-post:hover {
    transform: translateY(-5px);
}

.elementor-widget-posts .elementor-post-thumbnail img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.elementor-widget-posts .elementor-post-content {
    padding: 20px;
}

.elementor-widget-posts .elementor-post-title {
    color: #2E7A4E;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 10px;
    font-family: 'Merriweather', serif;
}

.elementor-widget-posts .elementor-post-excerpt {
    color: #333;
    line-height: 1.6;
    margin-bottom: 15px;
}

/* Hero Section Specific */
.hero-section {
    background: linear-gradient(135deg, rgba(46, 122, 78, 0.9) 0%, rgba(246, 176, 66, 0.9) 100%), url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-section .elementor-heading-title {
    color: white !important;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-section .elementor-text-editor {
    font-size: 1.25rem;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.hero-section .elementor-button-group {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Beautiful Color Schemes */
.elementor-widget-image .elementor-image {
    border-radius: 12px;
    overflow: hidden;
}

.elementor-widget-image img {
    transition: transform 0.3s ease;
}

.elementor-widget-image:hover img {
    transform: scale(1.05);
}

/* Background Sections */
.elementor-section-bg-olive {
    background-color: #2E7A4E;
    color: white;
}

.elementor-section-bg-gold {
    background-color: #F6B042;
    color: white;
}

.elementor-section-bg-light {
    background-color: #F7F6F2;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .elementor-col-20 {
        flex: 0 0 33.333333%;
        max-width: 33.333333%;
    }
}

@media (max-width: 768px) {
    .elementor-section {
        padding: 60px 0;
    }
    
    .elementor-container {
        padding: 0 15px;
    }
    
    .elementor-row {
        flex-direction: column;
    }
    
    .elementor-col-100,
    .elementor-col-66,
    .elementor-col-50,
    .elementor-col-33,
    .elementor-col-25,
    .elementor-col-20 {
        flex: 0 0 100%;
        max-width: 100%;
        margin-bottom: 30px;
    }
    
    .elementor-widget-counter .elementor-counter-number-wrapper {
        font-size: 2rem;
    }
    
    .elementor-widget-icon-box .elementor-icon {
        width: 60px;
        height: 60px;
        font-size: 2rem;
    }
    
    .hero-section {
        background-attachment: scroll;
        min-height: 80vh;
    }
    
    .hero-section .elementor-heading-title {
        font-size: 2.5rem;
    }
    
    .hero-section .elementor-text-editor {
        font-size: 1.1rem;
    }
    
    .hero-section .elementor-button-group {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .elementor-section {
        padding: 40px 0;
    }
    
    .elementor-button {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .elementor-widget-image-box {
        padding: 20px;
    }
    
    .hero-section .elementor-heading-title {
        font-size: 2rem;
    }
}

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

.elementor-fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.elementor-slide-up {
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.5s ease;
}

.elementor-slide-up.visible {
    transform: translateY(0);
    opacity: 1;
}

/* Custom Utilities */
.elementor-text-center { text-align: center; }
.elementor-text-left { text-align: left; }
.elementor-text-right { text-align: right; }

.elementor-mb-0 { margin-bottom: 0; }
.elementor-mb-1 { margin-bottom: 1rem; }
.elementor-mb-2 { margin-bottom: 2rem; }
.elementor-mb-3 { margin-bottom: 3rem; }

.elementor-mt-0 { margin-top: 0; }
.elementor-mt-1 { margin-top: 1rem; }
.elementor-mt-2 { margin-top: 2rem; }
.elementor-mt-3 { margin-top: 3rem; }

.elementor-hidden { display: none; }
.elementor-visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}