/* ==========================================================================
   Electric Cal - Page Template Styles
   Covers: Homepage, Services Hub, About, Contact
   Add to: Customiser > Additional CSS or child theme stylesheet
   ========================================================================== */

/* --------------------------------------------------------------------------
   Shared Components
   -------------------------------------------------------------------------- */
.ecal-home,
.ecal-page {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0;
}

.ecal-btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease, transform 0.1s ease;
    cursor: pointer;
}

.ecal-btn:active {
    transform: scale(0.98);
}

.ecal-btn--primary {
    background: #00D4FF;
    color: #1A1A1A;
}

.ecal-btn--primary:hover {
    background: #0AABBF;
    color: #FFFFFF;
    text-decoration: none;
}

.ecal-btn--outline {
    background: transparent;
    color: #2D2D2D;
    border: 1px solid #D0D0D0;
}

.ecal-btn--outline:hover {
    border-color: #00D4FF;
    color: #00D4FF;
    text-decoration: none;
}

.ecal-btn--large {
    font-size: 1.25rem;
    padding: 14px 32px;
}

.ecal-link {
    font-size: 0.95rem;
    font-weight: 600;
    color: #00D4FF;
    text-decoration: none;
}

.ecal-link:hover {
    color: #0AABBF;
    text-decoration: underline;
}

.ecal-pill {
    display: inline-block;
    padding: 6px 14px;
    background: #FFFFFF;
    border: 1px solid #D0D0D0;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    color: #1A1A1A;
}

/* --------------------------------------------------------------------------
   Homepage - Hero
   -------------------------------------------------------------------------- */
/*.ecal-home-hero {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 2.5rem;
    align-items: center;
    padding: 3rem 2rem;
    background: #FFFFFF;
    border: 1px solid #D0D0D0;
    border-radius: 8px;
}*/

.ecal-home-hero__badge {
    font-size: 0.8rem;
    font-weight: 600;
    color: #00D4FF;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin: 0 0 0.5rem;
}

.ecal-home-hero h1 {
    font-size: 2.2rem;
    line-height: 1.2;
    color: #FFFFFF;
    margin: 0 0 1rem;
}

.ecal-home-hero__intro {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #CCCCCC;
    margin: 0 0 1.5rem;
}

.ecal-home-hero__buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.ecal-home-hero__image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    object-fit: cover;
}

/* --------------------------------------------------------------------------
   Homepage - Services
   -------------------------------------------------------------------------- */
.ecal-home-services {
    padding: 3rem 2rem;
    background: #F0F0F0;
    border-radius: 8px;
    margin-top: 2rem;
    border: 1px solid #D0D0D0;
}

.ecal-home-services__badge {
    font-size: 0.8rem;
    font-weight: 600;
    color: #0AABBF;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin: 0 0 0.5rem;
    text-align: center;
}

.ecal-home-services h2 {
    font-size: 1.6rem;
    color: #1A1A1A;
    text-align: center;
    margin: 0 0 2rem;
}

.ecal-home-services__grid--3col {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    margin-bottom: 1.25rem;
}

.ecal-home-services__grid--2col {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
}

.ecal-home-services__all {
    text-align: center;
    margin-top: 1.5rem;
}

/* Cards */
.ecal-card {
    display: block;
    background: #FFFFFF;
    border: 1px solid #D0D0D0;
    border-radius: 8px;
    overflow: hidden;
    text-decoration: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.ecal-card:hover {
    border-color: #00D4FF;
    box-shadow: 0 2px 12px rgba(0, 212, 255, 0.12);
    text-decoration: none;
}

.ecal-card--vertical .ecal-card__image img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
}

.ecal-card--horizontal {
    display: grid;
    grid-template-columns: 140px 1fr;
}

.ecal-card--horizontal .ecal-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.ecal-card__body {
    padding: 1.25rem;
}

.ecal-card__body h3 {
    font-size: 1.1rem;
    color: #1A1A1A;
    margin: 0 0 0.4rem;
}

.ecal-card__body p {
    font-size: 0.9rem;
    color: #6B6B6B;
    line-height: 1.6;
    margin: 0 0 0.75rem;
}

.ecal-card__link {
    font-size: 0.85rem;
    font-weight: 600;
    color: #00D4FF;
}

/* --------------------------------------------------------------------------
   Homepage - Reviews
   -------------------------------------------------------------------------- */
.ecal-home-reviews {
    padding: 3rem 2rem;
    background: #FFFFFF;
    border: 1px solid #D0D0D0;
    border-radius: 8px;
    margin-top: 2rem;
    text-align: center;
    border: 1px solid #D0D0D0;
}

.ecal-home-reviews h2 {
    font-size: 1.6rem;
    color: #1A1A1A;
    margin: 0 0 1.5rem;
}

/* --------------------------------------------------------------------------
   Homepage - Why Choose Us
   -------------------------------------------------------------------------- */
.ecal-home-why {
    padding: 3rem 2rem;
    background: #1A1A1A;
    border-radius: 8px;
    margin-top: 2rem;
}

.ecal-home-why h2 {
    font-size: 1.6rem;
    color: #FFFFFF;
    text-align: center;
    margin: 0 0 1.5rem;
}

.ecal-home-why__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.ecal-home-why__item {
    background: #2D2D2D;
    padding: 1.25rem;
    border-radius: 8px;
    border-left: 4px solid #00D4FF;
}

.ecal-home-why__item h3 {
    font-size: 0.95rem;
    color: #FFFFFF;
    margin: 0 0 0.4rem;
}

.ecal-home-why__item p {
    font-size: 0.85rem;
    color: #CCCCCC;
    line-height: 1.6;
    margin: 0;
}

/* --------------------------------------------------------------------------
   Homepage - Areas
   -------------------------------------------------------------------------- */
.ecal-home-areas {
    padding: 3rem 2rem;
    background: #F0F0F0;
    border-radius: 8px;
    margin-top: 2rem;
    border: 1px solid #D0D0D0;
}

.ecal-home-areas h2 {
    font-size: 1.6rem;
    color: #1A1A1A;
    margin: 0 0 0.5rem;
}

.ecal-home-areas > p {
    font-size: 1rem;
    color: #2D2D2D;
    margin: 0 0 1rem;
}

.ecal-home-areas__pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

/* --------------------------------------------------------------------------
   Homepage - Final CTA
   -------------------------------------------------------------------------- */
.ecal-home-cta {
    text-align: center;
    padding: 3.5rem 2rem;
    background: #1A1A1A;
    border-radius: 8px;
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.ecal-home-cta h2 {
    font-size: 1.8rem;
    color: #FFFFFF;
    margin: 0 0 0.5rem;
}

.ecal-home-cta p {
    font-size: 1.1rem;
    color: #CCCCCC;
    margin: 0 0 1.5rem;
}

/* --------------------------------------------------------------------------
   Page Hero (Services Hub, Contact)
   -------------------------------------------------------------------------- */
.ecal-page-hero {
    padding: 3rem 2rem;
    background: #1A1A1A;
    border: none;
    border-radius: 8px;
}

.ecal-page-hero h1 {
    font-size: 2rem;
    color: #FFFFFF;
    margin: 0 0 0.75rem;
}

.ecal-page-hero__intro {
    font-size: 1.05rem;
    color: #CCCCCC;
    line-height: 1.7;
    margin: 0;
    max-width: 680px;
}

/* --------------------------------------------------------------------------
   Services Hub
   -------------------------------------------------------------------------- */
.ecal-hub-section {
    padding: 2rem;
    background: #FFFFFF;
    border: 1px solid #D0D0D0;
    border-radius: 8px;
    margin-top: 1.5rem;
}

.ecal-hub-section h2 {
    font-size: 1.4rem;
    margin: 0 0 0.5rem;
}

.ecal-hub-section h2 a {
    color: #1A1A1A;
    text-decoration: none;
}

.ecal-hub-section h2 a:hover {
    color: #00D4FF;
}

.ecal-hub-section__desc {
    font-size: 0.95rem;
    color: #6B6B6B;
    margin: 0 0 1rem;
    line-height: 1.6;
}

.ecal-hub-section__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.ecal-hub-section__list li {
    margin: 0;
}

.ecal-hub-section__list a {
    display: inline-block;
    padding: 8px 16px;
    background: #F0F0F0;
    border: 1px solid #D0D0D0;
    border-radius: 6px;
    color: #1A1A1A;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight:700;
    transition: border-color 0.2s ease;
}

.ecal-hub-section .ecal-hub-section__list li a:hover {
    border-color: #00D4FF !important;
    background-color: #00D4FF !important;
    color: #fff !important;
}

/* --------------------------------------------------------------------------
   About Page
   -------------------------------------------------------------------------- */
.ecal-about-hero {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 2.5rem;
    align-items: center;
    padding: 3rem 2rem;
    background: #1A1A1A;
    border: none;
    border-radius: 8px;
}

.ecal-about-hero h1 {
    font-size: 2rem;
    color: #FFFFFF;
    margin: 0 0 1rem;
}

.ecal-about-hero__intro {
    font-size: 1.05rem;
    color: #CCCCCC;
    line-height: 1.7;
    margin: 0;
}

.ecal-about-hero__image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    object-fit: cover;
}

.ecal-about-content {
    padding: 2.5rem 2rem;
    background: #FFFFFF;
    border: 1px solid #D0D0D0;
    border-radius: 8px;
    margin-top: 1.5rem;
    font-size: 1rem;
    line-height: 1.7;
    color: #2D2D2D;
}

.ecal-about-content h2 {
    font-size: 1.4rem;
    color: #1A1A1A;
    margin: 2rem 0 0.75rem;
}

.ecal-about-content h2:first-child {
    margin-top: 0;
}

.ecal-about-content p {
    margin: 0 0 1rem;
}

.ecal-about-accreditations {
    padding: 2.5rem 2rem;
    background: #F0F0F0;
    border-radius: 8px;
    margin-top: 1.5rem;
}

.ecal-about-accreditations h2 {
    font-size: 1.4rem;
    color: #1A1A1A;
    margin: 0 0 1.5rem;
}

.ecal-about-accreditations__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1.25rem;
}

.ecal-about-accreditations__item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #FFFFFF;
    padding: 1rem;
    border: 1px solid #D0D0D0;
    border-radius: 8px;
}

.ecal-about-accreditations__item img {
    width: 48px;
    height: 48px;
    object-fit: contain;
    flex-shrink: 0;
}

.ecal-about-accreditations__item span {
    font-size: 0.9rem;
    font-weight: 600;
    color: #1A1A1A;
}

/* --------------------------------------------------------------------------
   Contact Page
   -------------------------------------------------------------------------- */
.ecal-contact-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.ecal-contact-grid__form {
    padding: 2rem;
    background: #FFFFFF;
    border: 1px solid #D0D0D0;
    border-radius: 8px;
}

.ecal-contact-grid__form h2 {
    font-size: 1.4rem;
    color: #1A1A1A;
    margin: 0 0 1.5rem;
}

.ecal-contact-grid__info {
    padding: 2rem;
    background: #1A1A1A;
    border-radius: 8px;
}

.ecal-contact-grid__info h2 {
    font-size: 1.4rem;
    color: #FFFFFF;
    margin: 0 0 1.5rem;
}

.ecal-contact-detail {
    margin-bottom: 1.5rem;
}

.ecal-contact-detail:last-child {
    margin-bottom: 0;
}

.ecal-contact-detail h3 {
    font-size: 0.8rem;
    font-weight: 600;
    color: #6B6B6B;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0 0 0.25rem;
}

.ecal-contact-detail a {
    color: #00D4FF;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
}

.ecal-contact-detail a:hover {
    color: #0AABBF;
    text-decoration: underline;
}

.ecal-contact-detail p {
    color: #CCCCCC;
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 900px) {
    .ecal-home-hero {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 2rem 1.5rem;
    }

    .ecal-home-services__grid--3col {
        grid-template-columns: 1fr;
    }

    .ecal-home-services__grid--2col {
        grid-template-columns: 1fr;
    }

    .ecal-card--horizontal {
        grid-template-columns: 1fr;
    }

    .ecal-card--horizontal .ecal-card__image img {
        height: 180px;
    }

    .ecal-home-why__grid {
        grid-template-columns: 1fr;
    }

    .ecal-about-hero {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 2rem 1.5rem;
    }

    .ecal-contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .ecal-home-hero {
        padding: 1.5rem;
    }

    .ecal-home-hero h1 {
        font-size: 1.6rem;
    }

    .ecal-home-hero__buttons {
        flex-direction: column;
    }

    .ecal-home-hero__buttons .ecal-btn {
        text-align: center;
    }

    .ecal-home-services,
    .ecal-home-reviews,
    .ecal-home-why,
    .ecal-home-areas,
    .ecal-home-cta {
        padding: 2rem 1.25rem;
    }

    .ecal-home-services h2,
    .ecal-home-why h2,
    .ecal-home-cta h2 {
        font-size: 1.3rem;
    }

    .ecal-home-cta h2 {
        font-size: 1.4rem;
    }

    .ecal-btn--large {
        font-size: 1.1rem;
        padding: 12px 24px;
    }

    .ecal-page-hero {
        padding: 2rem 1.25rem;
    }

    .ecal-page-hero h1 {
        font-size: 1.6rem;
    }

    .ecal-hub-section {
        padding: 1.5rem;
    }

    .ecal-hub-section__list {
        flex-direction: column;
    }

    .ecal-about-content {
        padding: 1.5rem;
    }

    .ecal-about-accreditations {
        padding: 1.5rem;
    }

    .ecal-about-accreditations__grid {
        grid-template-columns: 1fr;
    }

    .ecal-contact-grid__form,
    .ecal-contact-grid__info {
        padding: 1.5rem;
    }
}


.site-footer .sub-menu li a.menu-link::before {
    content: '\25AB';
    margin-right: 6px;
    font-size: 0.7rem;
    color: #fff;
    position: relative;
    top: -2px;
}
.widget_nav_menu ul ul.sub-menu li {
    padding-left:0;
}

.ecal-content-section__cta {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #E0E0E0;
}


/* --------------------------------------------------------------------------
   Scroll reveal animations
   -------------------------------------------------------------------------- */
.ecal-reveal {
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.ecal-reveal--visible {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

.ecal-home-hero .ecal-btn--outline {
    border-color: #555555;
    color: #FFFFFF !important;
}

.ecal-home-hero .ecal-btn--outline:hover {
    background: #00D4FF;
    border-color: #00D4FF;
    color: #FFFFFF !important;
}

.ecal-home-hero__accreditations {
    border-top: 1px solid #333333;
}

.ahfb-svg-iconset svg {
    width:40px !important;
    height:40px !important;
}

@media (max-width: 921px) {
    .ast-mobile-header-content,
    .ast-mobile-popup-content,
    .ast-mobile-popup-drawer,
    .ast-mobile-header-wrap .ast-mobile-header-content {
        display: none !important;
    }
}