/**
 * Elementor Compatibility Styles
 * 
 * CSS styles to ensure proper Elementor integration
 * 
 * @package WestSide_Primary
 */

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

.elementor-section.elementor-top-section {
    margin-top: 0;
}

.elementor-section.elementor-bottom-section {
    margin-bottom: 0;
}

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

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

/* Elementor Widget Styles */
.elementor-widget {
    margin-bottom: 20px;
}

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

/* Elementor Heading Styles */
.elementor-heading-title {
    font-family: var(--font-heading, 'Playfair Display', serif);
    color: var(--primary-color, #1C3F77);
    margin-bottom: 15px;
}

.elementor-size-default {
    font-size: 24px;
    line-height: 1.2;
}

/* Elementor Button Styles */
.elementor-button {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--primary-color, #1C3F77);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.elementor-button:hover {
    background-color: var(--secondary-color, #FD3231);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.elementor-button-secondary {
    background-color: var(--secondary-color, #FD3231);
}

.elementor-button-secondary:hover {
    background-color: var(--primary-color, #1C3F77);
}

/* Elementor Text Editor Styles */
.elementor-text-editor {
    font-family: var(--font-body, 'Inter', sans-serif);
    color: #333;
    line-height: 1.6;
}

/* Elementor Icon Styles */
.elementor-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--secondary-color, #FD3231);
    color: white;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.elementor-icon:hover {
    background-color: var(--primary-color, #1C3F77);
    transform: scale(1.1);
}

/* Elementor Gallery Styles */
.elementor-gallery-item {
    margin-bottom: 20px;
}

.elementor-gallery-item img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.elementor-gallery-item:hover img {
    transform: scale(1.05);
}

/* Elementor Contact Form Styles */
.elementor-form-field {
    margin-bottom: 15px;
}

.elementor-form-field input,
.elementor-form-field textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e5e7eb;
    border-radius: 4px;
    font-family: var(--font-body, 'Inter', sans-serif);
    transition: border-color 0.3s ease;
    box-sizing: border-box;
}

.elementor-form-field input:focus,
.elementor-form-field textarea:focus {
    outline: none;
    border-color: var(--primary-color, #1C3F77);
}

/* Elementor Responsive Styles */
@media (max-width: 768px) {
    .elementor-section {
        padding: 40px 0;
    }
    
    .elementor-container {
        padding: 0 15px;
    }
    
    .elementor-column {
        padding: 0 10px;
    }
    
    .elementor-heading-title {
        font-size: 20px;
    }
    
    .elementor-button {
        padding: 10px 20px;
        font-size: 14px;
    }
}

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

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

/* Elementor Floating Shapes (for Hero Section) */
.floating-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.floating-shapes .shape {
    position: absolute;
    width: 20px;
    height: 20px;
    background: rgba(28, 63, 119, 0.1);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.floating-shapes .shape:nth-child(1) {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
    width: 15px;
    height: 15px;
}

.floating-shapes .shape:nth-child(2) {
    top: 40%;
    right: 10%;
    animation-delay: 2s;
    width: 25px;
    height: 25px;
}

.floating-shapes .shape:nth-child(3) {
    bottom: 20%;
    left: 50%;
    animation-delay: 4s;
    width: 20px;
    height: 20px;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

/* Elementor Statistics Animation */
.stat-number {
    font-size: 48px;
    font-weight: 700;
    color: var(--primary-color, #1C3F77);
    display: block;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 14px;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Elementor Program Cards */
.program-card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 20px;
}

.program-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.program-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-color, #1C3F77);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 24px;
}

.program-card h3 {
    font-family: var(--font-heading, 'Playfair Display', serif);
    color: var(--primary-color, #1C3F77);
    margin-bottom: 15px;
}

.program-card p {
    color: #666;
    line-height: 1.6;
}

/* Elementor Value Items */
.value-item {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 20px;
}

.value-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.value-icon {
    width: 60px;
    height: 60px;
    background: var(--secondary-color, #FD3231);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 24px;
}

.value-item h4 {
    font-family: var(--font-heading, 'Playfair Display', serif);
    color: var(--primary-color, #1C3F77);
    margin-bottom: 15px;
}

.value-item p {
    color: #666;
    line-height: 1.6;
}

/* Elementor Contact Info */
.contact-item {
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 20px;
    display: flex;
    align-items: flex-start;
}

.contact-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-color, #1C3F77);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    font-size: 20px;
}

.contact-item h4 {
    font-family: var(--font-heading, 'Playfair Display', serif);
    color: var(--primary-color, #1C3F77);
    margin-bottom: 5px;
    font-size: 18px;
}

.contact-item p {
    color: #666;
    margin: 0;
}

.contact-item a {
    color: #666;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: var(--primary-color, #1C3F77);
}

/* Elementor Social Icons */
.social-icons {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 20px;
}

.social-icons a {
    width: 40px;
    height: 40px;
    background: var(--primary-color, #1C3F77);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-icons a:hover {
    background: var(--secondary-color, #FD3231);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Elementor Form Styling */
.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e5e7eb;
    border-radius: 4px;
    font-family: var(--font-body, 'Inter', sans-serif);
    transition: border-color 0.3s ease;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color, #1C3F77);
}

/* Elementor Responsive Adjustments */
@media (max-width: 768px) {
    .elementor-section {
        padding: 40px 0;
    }
    
    .program-card,
    .value-item,
    .contact-item {
        padding: 20px;
    }
    
    .program-icon,
    .value-icon,
    .contact-icon {
        width: 40px;
        height: 40px;
        font-size: 18px;
        margin-right: 15px;
    }
    
    .stat-number {
        font-size: 36px;
    }
    
    .social-icons {
        gap: 10px;
    }
    
    .social-icons a {
        width: 35px;
        height: 35px;
        font-size: 16px;
    }
}