/**
 * Amana Tech Custom Redesign CSS
 * Additional styling overrides for specific elements
 */

/* ==========================================================================
   FORCE BRAND COLOR OVERRIDES
   ========================================================================== */

/* Override any inline color styles with brand colors */
.elementor-element[style*="color: #"] h1,
.elementor-element[style*="color: #"] h2,
.elementor-element[style*="color: #"] h3,
.elementor-element[style*="color: #"] h4,
.elementor-element[style*="color: #"] h5,
.elementor-element[style*="color: #"] h6 {
    color: #1A1A1A !important;
}

/* Ensure buttons use only brand colors */
.elementor-button[style*="background"] {
    background-color: #2D6BFF !important;
}

.elementor-button.elementor-button-accent[style*="background"],
.elementor-button-secondary[style*="background"] {
    background-color: #FF751F !important;
}

/* ==========================================================================
   REMOVE OLD COLOR SCHEME
   ========================================================================== */

/* List of colors to replace from old design */
[style*="#8B5CF6"],
/* Purple */
[style*="#10B981"],
/* Green */
[style*="#F59E0B"],
/* Yellow */
[style*="#EF4444"],
/* Red */
[style*="#3B82F6"]

/* Light Blue */
    {
    /* These will be overridden by brand colors */
}

/* ==========================================================================
   HOMEPAGE HERO SECTION
   ========================================================================== */

.amana-hero {
    min-height: 600px;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, rgba(45, 107, 255, 0.05) 0%, rgba(255, 117, 31, 0.05) 100%);
}

.amana-hero h1 {
    font-size: 52px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #1A1A1A;
}

.amana-hero p.subtitle {
    font-size: 20px;
    color: #6B7280;
    margin-bottom: 30px;
    line-height: 1.6;
}

/* ==========================================================================
   IMPACT STATISTICS SECTION
   ========================================================================== */

.amana-stats {
    background-color: #2D6BFF;
    color: white;
    padding: 60px 0;
}

.amana-stat-item {
    text-align: center;
    padding: 20px;
}

.amana-stat-number {
    font-size: 48px;
    font-weight: 700;
    color: white;
    font-family: 'Poppins', sans-serif;
    margin-bottom: 10px;
}

.amana-stat-label {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.9);
    font-family: 'Open Sans', sans-serif;
}

/* ==========================================================================
   PROGRAMS SECTION
   ========================================================================== */

.amana-programs {
    padding: 80px 0;
}

.amana-program-card {
    background: white;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
}

.amana-program-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(45, 107, 255, 0.15);
}

.amana-program-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #2D6BFF, #FF751F);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 28px;
    color: white;
}

.amana-program-title {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #1A1A1A;
}

.amana-program-description {
    font-size: 15px;
    color: #6B7280;
    line-height: 1.6;
    margin-bottom: 20px;
}

/* ==========================================================================
   TESTIMONIALS SECTION
   ========================================================================== */

.amana-testimonials {
    background-color: #F9FAFB;
    padding: 80px 0;
}

.amana-testimonial-card {
    background: white;
    border-radius: 8px;
    padding: 35px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    position: relative;
    margin: 20px 0;
}

.amana-testimonial-quote {
    font-size: 18px;
    line-height: 1.7;
    color: #1A1A1A;
    margin-bottom: 25px;
    font-style: italic;
}

.amana-testimonial-quote::before {
    content: '"';
    font-size: 48px;
    color: #2D6BFF;
    position: absolute;
    top: 20px;
    left: 20px;
    opacity: 0.3;
}

.amana-testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.amana-testimonial-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.amana-testimonial-name {
    font-weight: 600;
    color: #1A1A1A;
    font-size: 16px;
}

.amana-testimonial-role {
    font-size: 14px;
    color: #6B7280;
}

/* ==========================================================================
   TEAM SECTION
   ========================================================================== */

.amana-team {
    padding: 80px 0;
}

.amana-team-member {
    text-align: center;
    margin-bottom: 30px;
}

.amana-team-photo {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 20px;
    border: 4px solid #E5E7EB;
    transition: border-color 0.3s ease;
}

.amana-team-member:hover .amana-team-photo {
    border-color: #2D6BFF;
}

.amana-team-name {
    font-size: 20px;
    font-weight: 600;
    color: #1A1A1A;
    margin-bottom: 5px;
}

.amana-team-position {
    font-size: 15px;
    color: #6B7280;
    margin-bottom: 10px;
}

.amana-team-bio {
    font-size: 14px;
    color: #6B7280;
    line-height: 1.6;
}

/* ==========================================================================
   PARTNERS SECTION
   ========================================================================== */

.amana-partners {
    background-color: #F9FAFB;
    padding: 60px 0;
}

.amana-partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    align-items: center;
    justify-items: center;
}

.amana-partner-logo {
    max-width: 180px;
    height: auto;
    opacity: 0.7;
    transition: opacity 0.3s ease;
    filter: grayscale(100%);
}

.amana-partner-logo:hover {
    opacity: 1;
    filter: grayscale(0%);
}

/* ==========================================================================
   SECTION HEADINGS
   ========================================================================== */

.section-heading {
    text-align: center;
    margin-bottom: 50px;
}

.section-title {
    font-size: 40px;
    font-weight: 700;
    color: #1A1A1A;
    margin-bottom: 15px;
}

.section-subtitle {
    font-size: 18px;
    color: #6B7280;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

.section-title-accent {
    color: #2D6BFF;
}

/* ==========================================================================
   CALL TO ACTION SECTIONS
   ========================================================================== */

.amana-cta {
    background: linear-gradient(135deg, #2D6BFF 0%, #1E4FD9 100%);
    padding: 80px 0;
    text-align: center;
    color: white;
}

.amana-cta h2 {
    color: white;
    font-size: 38px;
    margin-bottom: 20px;
}

.amana-cta p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 18px;
    margin-bottom: 30px;
}

.amana-cta .elementor-button {
    background-color: #FF751F !important;
    border-color: #FF751F !important;
    padding: 18px 40px;
    font-size: 18px;
}

.amana-cta .elementor-button:hover {
    background-color: white !important;
    color: #2D6BFF !important;
    border-color: white !important;
}

/* ==========================================================================
   FOOTER ENHANCEMENTS
   ========================================================================== */

.amana-footer {
    background-color: #1A1A1A;
    color: white;
    padding: 60px 0 20px;
}

.amana-footer-column {
    margin-bottom: 30px;
}

.amana-footer h3 {
    color: white;
    font-size: 18px;
    margin-bottom: 20px;
    font-weight: 600;
}

.amana-footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.amana-footer ul li {
    margin-bottom: 10px;
}

.amana-footer a {
    color: #E5E7EB;
    text-decoration: none;
    transition: color 0.3s ease;
}

.amana-footer a:hover {
    color: #FF751F;
}

.amana-footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 40px;
    padding-top: 20px;
    text-align: center;
    font-size: 14px;
    color: #9CA3AF;
}

/* ==========================================================================
   MOBILE RESPONSIVENESS
   ========================================================================== */

@media (max-width: 768px) {
    .amana-hero h1 {
        font-size: 36px;
    }

    .section-title {
        font-size: 32px;
    }

    .amana-stat-number {
        font-size: 36px;
    }

    .amana-program-card {
        margin-bottom: 20px;
    }

    .amana-partners-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

/* ==========================================================================
   PRINT STYLES
   ========================================================================== */

@media print {

    .elementor-button,
    .amana-cta,
    footer,
    nav {
        display: none;
    }
}

/* ==========================================================================
   HEIGHT ADJUSTMENTS TO MATCH LIVE SITE
   ========================================================================== */

/* Match live site Navigation Header height (134px) */
html body header,
html body header .elementor-container,
html body .elementor-location-header,
html body .elementor-location-header .elementor-container,
.elementor-nav-menu--main {
    min-height: 134px !important;
}

/* Match live site Cookie Popup height (97px) */
.wpr-popup-container,
.wpr-popup-container-inner,
.wpr-cookie-consent,
.cookie-notice {
    min-height: 97px !important;
}