/**
Theme Name: Amalga Child
Author: Brainstorm Force
Author URI: http://wpastra.com/about/
Description: Astra is the fastest, fully customizable & beautiful theme suitable for blogs, personal portfolios and business websites. It is very lightweight (less than 50KB on frontend) and offers unparalleled speed. Built with SEO in mind, Astra comes with schema.org code integrated so search engines will love your site. Astra offers plenty of sidebar options and widget areas giving you a full control for customizations. Furthermore, we have included special features and templates so feel free to choose any of your favorite page builder plugin to create pages flexibly. Some of the other features: # WooCommerce Ready # Responsive # Compatible with major plugins # Translation Ready # Extendible with premium addons # Regularly updated # Designed, Developed, Maintained & Supported by Brainstorm Force. Looking for a perfect base theme? Look no further. Astra is fast, fully customizable and beautiful theme!
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: amalga-child
Template: astra
*/

/* Globals & common classes */
.elementor-widget-text-editor.mb-0 p:last-child {
    margin-bottom: 0px;
}

/* ======= Hero Carousel ======= */
/* Wrapper — aspect-ratio trick preserves height */
.hc-wrapper {
    position: relative;
    width: 100%;
    background: #0d0d0d;
    overflow: hidden;
    outline: none;
}
/* Aspect ratio spacer */
.hc-wrapper::before {
    content: '';
    display: block;
    /* padding-top: 50%;   adjust for desired hero height */
    height: calc(100vh - 98px);
}
/* Track fills the wrapper absolutely */
.hc-track {
    position: absolute;
    inset: 0;
}
/* ---- Individual Slides ---- */
.hc-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center center;
    opacity: 0;
    transition: opacity 0.85s cubic-bezier(.4,0,.2,1);
    pointer-events: none;
    will-change: opacity;
}
.hc-slide--active {
    opacity: 1;
    pointer-events: auto;
    z-index: 1;
}
/* Dark gradient overlay for text legibility */
.hc-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
            180deg,
            transparent 78.61%,
            #000
        ),
        linear-gradient(
            270deg,transparent -.66%,
            rgba(0,0,0,.5)
        );
}
/* ---- Slide Content ---- */
.hc-content {
    position: absolute;
    bottom: 72px;       /* sits above the 52px bar with some breathing room */
    left: 68px;
    max-width: 66.667%;
    color: #fff;
}
.hc-wrapper .hc-category {
    display: inline-block;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: #fe5000;
    margin-bottom: 10px;
}
.hc-heading {
    margin: 0 0 14px;
    font-size: 52px;
    font-weight: 700;
    line-height: 1.2;
    color: #fff;
}
.hc-wrapper .hc-subheading {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin: 0;
    font-size: 20px;
    line-height: 1.2;
    color: rgba(255,255,255,.85);
    border-left: 2px solid #fe5000;
    padding-left: 16px;
}
.hc-slide .hc-subheading {
    margin-bottom: 53px;
}
.hc-subheading-bar {
    display: none;
}
/* Content fade-up on slide enter */
@keyframes hcFadeUp {
    from { opacity: 0; transform: translateY(14px); }
    to   { opacity: 1; transform: translateY(0); }
}
.hc-slide--active .hc-content {
    animation: hcFadeUp .65s .1s ease both;
}
/* ---- Bottom Bar ---- */
.hc-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 10;
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    padding: 0 0 40px;
}
/* ---- Tabs (bottom-left) ---- */
.hc-tabs {
    display: flex;
    align-items: stretch;
    padding-left: 68px;
    gap: 40px;
}
.hc-tab {
    background: transparent;
    border: none;
    border-top: 2px solid transparent;
    border-radius: 0;
    color: rgba(255,255,255,.42);
    font-size: 16px;
    line-height: 1.5;
    font-weight: 500;
    padding: 0;
    min-width: 80px;
    text-align: left;
    cursor: pointer;
    transition: color .22s, border-color .22s;
    white-space: nowrap;
}
button.hc-tab:hover {
    color: rgba(255,255,255,.80);
    background: transparent;
    border-top-color: transparent;
}
.hc-wrapper .hc-tab--active {
    color: #fff;
    border-top-color: #fe5000;
}
/* ---- Controls (bottom-right) ---- */
.hc-controls {
    display: flex;
    align-items: center;
    padding-right: 68px;
    gap: 8px;
}
.hc-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    background: #2e2e38;
    border: none;
    color: rgba(255,255,255,.65);
    cursor: pointer;
    border-radius: 50%;
    transition: color .2s, background .2s;
}
.hc-btn svg {
    width: 24px;
    height: 24px;
    display: block;
    flex-shrink: 0;
    fill: #fff;
}
.hc-btn:hover {
    color: #fff;
    background: rgba(255,255,255,.14);
}
.hc-btn:focus-visible {
    outline: 2px solid #fe5000;
    outline-offset: 2px;
}
.hc-btn svg rect {
    fill: #fff;
}
.hc-btn:focus {
    background: #2e2e38;
}
.hc-tabs .hc-tab:focus {
    background: transparent;
    border-color: #fe5000 !important;
}

/* ====== News Carousel Styles - start ====== */
/* Carousel wrapper */
.news-carousel {
  width: 100%;
  margin: 0 auto;
  overflow: visible;
  padding-bottom: 100px;
}
.news-carousel .flickity-viewport {
    overflow: visible;
}
.news-carousel .news-card {
  text-decoration: none !important;
  width: 100%;
  max-width: 66%;
  padding: 50px;
}
.news-carousel .news-card.is-selected {
    z-index: 10;
}
.news-carousel .news-card .news-card-inner {
  display: flex;
  flex-direction: column;
}
.news-carousel .news-meta {
    font-size: 18px;
    color: #fff;
    margin-bottom: 24px;
    font-family: 'Roboto';
    font-weight: 500;
}
.news-carousel .news-title {
    font-size: 53px;
    font-weight: 500;
    color: #fff;
    font-family: 'Roboto';
    font-weight: 700;
}
.news-carousel .flickity-button {
  background: transparent;
  color: #333;
  border: none;
}
.news-carousel .flickity-prev-next-button:hover {
  color: #0073aa;
}
.flickity-play-pause {
  margin-top: 15px;
  border: none;
  background: #0073aa;
  color: #fff;
  padding: 8px 15px;
  border-radius: 5px;
  cursor: pointer;
  position: absolute;
  bottom: 0;
  left: 0;
}
.flickity-play-pause:hover {
  background: #005f8a;
}
.news-carousel .flickity-button {
    position: absolute;
    bottom: 0 !important;
    transform: unset;
    top: unset;
}
.news-carousel .flickity-button i {
    color: #000;
    font-size: 26px;
}
.news-carousel .flickity-button.previous {
    right: 105px;
    left: unset;
}
.news-carousel .flickity-button, .news-carousel .flickity-play-pause {
    background: #fff;
    border-radius: 0;
    width: 64px;
    height: 64px;
    padding: 10px;
}
.news-carousel .flickity-button:hover {
    background: #2b2b2b;
}
.news-carousel .flickity-play-pause {
    display: flex;
    justify-content: center;
    align-items: center;
}
.news-carousel .flickity-play-pause i {
    font-size: 24px;
    color: #000;
}

/* Home Popular Categories */
.popular-cat-card .elementor-widget-text-editor * {
    font-size: 17px;
    line-height: 1.5;
}
.popular-cat-card .elementor-widget-text-editor ul {
    padding-left: 20px;
}
.popular-cat-card .elementor-widget-text-editor ul li, .popular-cat-card .elementor-widget-text-editor ul li a {
    font-size: 16px;
    line-height: 1.6;
    font-weight: 400;
    margin-bottom: 8px;
}
.popular-cat-card .elementor-widget-text-editor ul li::marker {
    color: #fe5000;
}
.popular-cat-card .elementor-button i {
    transform: rotate(-45deg);
    color: #fe5000;
}
.popular-cat-card-wrap .popular-cat-card:before {
    content: '';
    background: #183e911f;
    border-radius: 0;
    position: absolute;
    width: 100%;
    height: 100%;
    transition: all 0.3s ease;
    top: 100%;
}
.popular-cat-card-wrap .popular-cat-card {
    position: relative;
    overflow: hidden;
}
.popular-cat-card-wrap .popular-cat-card:hover:before {
    top: 0;
}
.popular-cat-card .elementor-widget-text-editor p:last-child {
    margin-bottom: 0;
}
.popular-cat-card .elementor-widget-text-editor a {
    text-decoration: none;
}
.popular-cat-card .elementor-button svg {
    transform: rotate(-45deg);
    fill: #fe5000;
}

/* Hover panels styling */
.hover-panels {
    position: relative;
    height: 640px;
    overflow: hidden;
    color: #fff;
}
.hp-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: background-image 0.5s ease;
}
.hover-panels::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(0,0,0,0.7), transparent);
    z-index: 1;
}
.hp-panels {
    position: relative;
    z-index: 2;
    display: flex;
    height: 100%;
}
.hover-panels .hp-panel {
    flex: 1;
    padding: 40px;
    border-left: 1px solid rgba(255,255,255,0.2);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    cursor: pointer;
    transition: background 0.3s ease;
    margin: 0;
    text-decoration: none !important;
}
.hp-panel:first-child {
    border-left: none;
}
.hover-panels .hp-panel:hover, .hover-panels .hp-panel.active {
    background: rgba(0,0,0,0.4);
    backdrop-filter: blur(2px);
}
.hp-panel .title {
    font-size: 32px;
    font-weight: 400;
    color: #fff;
    margin: 0;
}
.hp-panel .content-show-on-hover {
    font-size: 16px;
    line-height: 1.5;
    margin: 0;
    color: #fff;
}
.hp-panels .action-wrap {
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none !important;
    font-size: 16px;
    line-height: 1.2;
    margin-top: 15px;
}
.hp-panels .action-wrap i {
    color: #fff;
}
.content-show-on-hover {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.4s ease, opacity 0.3s ease;
}
.hp-panel .show-on-hover {
    display: inline-block;
    max-width: 0;
    overflow: hidden;
    white-space: nowrap;
    opacity: 0;
    transition: max-width 0.4s ease, opacity 0.3s ease;
    color: #fff;
}
.action-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
}
.hp-panel.active .content-show-on-hover,
.hp-panel:hover .content-show-on-hover {
    opacity: 1;
}
.hp-panel.active .show-on-hover,
.hp-panel:hover .show-on-hover {
    opacity: 1;
}
.hover-panels .hp-title {
    position: absolute;
    z-index: 5;
    color: #fff;
    font-size: 40px;
    font-weight: 400;
    padding: 40px;
}

/* New logo area */
.logo-cards-wrap .logo-cards {
    aspect-ratio: 1/1;
}

/* Services - Logo carousel area */
.logo-carousel .swiper-wrapper {
    transition-timing-function: linear !important;
}
.logo-carousel .swiper-slide-image {
    width: 100%;
    max-width: 90px;
}

.services-cta-form .elementor-field-type-html {
    margin-bottom: 49px !important;
}

/* ---- Responsive ---- */
@media screen and (max-width: 1024px) {
    .hc-wrapper .hc-content {
        max-width: 75%;
    }
    .hc-wrapper .hc-heading {
        font-size: 40px;
    }
    .hc-wrapper .hc-tab {
        font-size: 14px;
    }
    .hc-slide .hc-content {
        left: 40px;
    }
    .hc-wrapper .hc-tabs {
        padding-left: 40px;
    }
    .hc-wrapper .hc-controls {
        padding-right: 40px;
    }
    .news-carousel .news-title {
        font-size: 45px;
    }
    .news-carousel .news-card {
        padding-right: 50px;
    }
    .hover-panels .hp-panel {
        padding: 30px;
    }
    .hover-panels {
        height: auto;
    }
    .hover-panels .hp-panels {
        flex-wrap: wrap;
    }
    .hover-panels .hp-panel {
        width: 100%;
        max-width: 50%;
        flex: unset;
        aspect-ratio: 1/0.75;
    }
    .hover-panels .hp-title {
        padding: 40px 30px 40px;
    }
    .hover-panels .hp-panel:first-child {
        padding-top: 110px;
    }
    .hp-panel .title {
        font-size: 26px;
    }
}
@media (max-width: 768px) {
    .hc-wrapper::before {
        padding-top: 80vh;
        height: 80vh;
    }
    .hc-tab             { font-size: 11px; padding: 0 10px; }
    .hc-controls        { padding-right: 10px; }
}
@media screen and (max-width: 767px) {
    .hc-slide .hc-content {
        max-width: 100%;
        left: 0;
        padding: 0 20px;
    }
    .hc-wrapper .hc-heading {
        font-size: 36px;
    }
    .hc-slide .hc-subheading {
        font-size: 14px;
        margin-bottom: 25px;
    }
    .hc-wrapper .hc-tabs {
        display: none;
    }
    .hc-wrapper .hc-controls {
        padding-right: 0px;
    }
    .hc-wrapper .hc-bar {
        padding: 0 20px 20px;
    }
    .news-carousel .news-title {
        font-size: 35px;
    }
    .news-carousel .news-card {
        padding-right: 30px;
        max-width: 100%;
    }
    .news-carousel {
        padding-bottom: 65px;
    }
    .logo-carousel .swiper-slide-image {
        width: 100%;
        max-width: 110px;
    }
    .mobile-off-canvas-trigger .elementor-icon-wrapper, .mobile-phone-icon .elementor-icon-wrapper {
        display: flex;
    }
}
@media (max-width: 480px) {
    .hc-tabs            { padding-left: 3%; }
    .hc-tab             { font-size: 10px; padding: 0 7px; }
    .hc-heading         { font-size: 1.15rem; }
    .hover-panels .hp-panel {
        max-width: 100%;
        padding: 25px;
        aspect-ratio: 1 / 0.6;
    }
    .hp-panel .title {
        font-size: 26px;
        margin-bottom: 5px;
    }
    .hp-panel .content-show-on-hover {
        opacity: 1 !important;
        max-height: unset !important;
    }
    .hp-panel .show-on-hover {
        opacity: 1 !important;
        max-width: unset !important;
    }
    .hover-panels .hp-panel {
        background: rgba(0, 0, 0, 0.3);
        border-left: none;
        justify-content: center;
    }
    .hover-panels .hp-title {
        padding: 40px 25px;
        font-size: 34px;
    }
    .hover-panels .hp-panel:first-child {
        padding-top: 150px;
    }
}