/********** Template CSS **********/
:root {
    --primary: #FDA12B;
    --secondary: #282a2c;
    --light: #F8F9FA;
    --dark: #182333;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 30px;
    z-index: 99;
}


/* Floating Icons Styles */

.floating-buttons {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 99999;
}

.floating-button {
    width: 45px;
    height: 45px;
    background-color: #25d366;
    color: white;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    text-decoration: none;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s;
}

.floating-button:hover {
    transform: scale(1.1);
}

.call-button {
    background-color: #34b7f1; 
}

.top-button {
    background-color: #ec912b; 
    display: none;
}

/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}


/*** Button ***/
.btn {
    font-weight: 500;
    transition: .5s;
}

.btn.btn-primary,
.btn.btn-outline-primary:hover {
    color: #FFFFFF;
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}


/*** Navbar ***/
.navbar.sticky-top {
    top: -100px;
    transition: .5s;
}

.navbar .navbar-nav .nav-link {
    margin-left: 30px;
    padding: 25px 0;
    color: var(--secondary);
    font-weight: 500;
    text-transform: uppercase;
    outline: none;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--primary);
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

@media (max-width: 991.98px) {
    .navbar .navbar-nav .nav-link {
        margin-left: 0;
        padding: 10px 0;
    }

    .navbar .navbar-nav {
        margin-top: 25px;
        border-top: 1px solid #EEEEEE;
    }
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        border: none;
        margin-top: 0;
        top: 150%;
        right: 0;
        opacity: 0;
        visibility: hidden;
        transition: .5s;
    }

    .navbar .nav-item:hover .dropdown-menu {
        top: 100%;
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}


/*** Header ***/
.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    text-align: start;
    background: rgba(0, 0, 0, .4);
    z-index: 1;
}

.carousel-control-prev,
.carousel-control-next {
    width: 15%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 4rem;
    height: 4rem;
    background-color: var(--dark);
    border: 15px solid var(--dark);
    border-radius: 50px;
}

.carousel-caption .breadcrumb-item+.breadcrumb-item::before {
    content: "\f111";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: var(--primary);
}

@media (max-width: 768px) {
    #header-carousel .carousel-item {
        position: relative;
        min-height: 450px;
    }

    #header-carousel .carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .carousel-control-prev-icon,
    .carousel-control-next-icon {
        width: 3rem;
        height: 3rem;
        border-width: 12px;
    }
}

.page-header {
    background: linear-gradient(rgba(0, 0, 0, .65), rgba(0, 0, 0, .65)), url(../img/home/banner-inn1.png) center center no-repeat;
    background-size: cover;
}

.page-header .breadcrumb-item+.breadcrumb-item::before {
    color: #999999;
}


/*** Facts ***/
.facts-overlay {
    position: absolute;
    padding: 30px;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: rgba(0, 0, 0, .65);
}

.facts-overlay h1 {
    font-size: 120px;
    color: transparent;
    -webkit-text-stroke: 2px var(--primary);
}

.facts-overlay a:hover {
    color: var(--primary) !important;
}


/*** Service ***/
.service-text::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 0;
    top: 0;
    left: 0;
    background: var(--primary);
    opacity: 0;
    transition: .5s;
}

.service-item:hover .service-text::before {
    height: 100%;
    opacity: 1;
}

.service-text * {
    position: relative;
    transition: .5s;
    z-index: 1;
}

.service-item:hover .service-text * {
    color: #FFFFFF !important;
}


/*** Appointment ***/
.appointment {
    background: linear-gradient(rgba(0, 0, 0, .65), rgba(0, 0, 0, .65)), url(../img/home/banner-inn.png) center center no-repeat;
    background-size: cover;
}


/*** Team ***/
.team-text {
    position: absolute;
    width: 75%;
    bottom: 30px;
    left: 0;
    transition: .5s;
}
.team-text h2 {
    font-size: 20px;
   
}

.team-item:hover .team-text {
    width: 100%;
}

.team-text * {
    transition: .5s;
}

.team-item:hover .team-text * {
    letter-spacing: 2px;
}


/*** Testimonial ***/
.testimonial-carousel .owl-item img {
    width: 100px;
    height: 100px;
}

.testimonial-carousel .owl-nav {
    margin-top: 30px;
    display: flex;
    justify-content: start;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    margin-right: 15px;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark);
    border: 2px solid var(--primary);
    border-radius: 50px;
    font-size: 18px;
    transition: .5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    color: #FFFFFF;
    background: var(--primary);
}


/*** Footer ***/
.footer {
    color: #999999;
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: #999999;
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: #999999;
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    color: var(--light);
    letter-spacing: 1px;
    box-shadow: none;
}

.footer .copyright {
    padding: 25px 0;
    font-size: 15px;
    border-top: 1px solid rgba(256, 256, 256, .1);
}

.footer .copyright a {
    color: var(--light);
}

.footer .copyright a:hover {
    color: var(--primary);
}


.about-section {
    background: #f4f7fb;
    padding: 80px 10%;
    font-family: 'Segoe UI', sans-serif;
}

.section-title {
    text-align: center;
    font-size: 36px;
    color: #1c1c1c;
    margin-bottom: 10px;
}

.section-desc {
    text-align: center;
    color: #0e0d0d;
    max-width: 700px;
    margin: 0 auto 50px;
    font-size: 16px;
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.feature-box {
    background: #ffffff;
    padding: 30px;
    border-radius: 10px;
    border-top: 4px solid #f39c12;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
}

.feature-box:hover {
    background: #fef6e7;
    transform: translateY(-6px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

.feature-box h3 {
    color: #e67e22;
    margin-bottom: 10px;
}

.feature-box p {
    color: #0e0d0d;
    line-height: 1.6;
}

.serve-section {
    background: #f5f7fb;
    padding: 80px 10%;
    font-family: 'Segoe UI', sans-serif;
}

.section-title {
    text-align: center;
    font-size: 36px;
    color: #262a58;
    margin-bottom: 10px;
}

.section-subtitle {
    text-align: center;
    color: #0e0d0d;
    font-size: 16px;
    margin-bottom: 40px;
}

.serve-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
}

.serve-box {
    background: #ffffff;
    padding: 25px;
    text-align: center;
    font-size: 18px;
    font-weight: 600;
    color: #262a58;
    border-radius: 10px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
    transition: 0.3s ease;
}

.serve-box:hover {
    background: #fef6e7;
    transform: translateY(-6px);
    box-shadow: 0 10px 25px rgba(38, 42, 88, 0.25);
}

.cta-section {
    text-align: center;
    padding: 40px 20px;
}

.cta-wrapper {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.cta-link {
    display: inline-block;
    padding: 12px 24px;
    text-decoration: none;
    border: 1px solid #ff7a00;
    color: #ff7a00;
    border-radius: 4px;
    font-weight: 600;
}

.cta-link.primary {
    background-color: #ff7a00;
    color: #ffffff;
}



     /* ============================================
   RESPONSIVE FIXES FOR EKANA KITCHEN EQUIPMENT
   Preserves all existing styles - only adds responsiveness
   ============================================ */

/* ========== CAROUSEL RESPONSIVE ========== */
@media (max-width: 768px) {
    .carousel-caption {
        position: relative;
        right: 0;
        left: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.6);
        padding: 15px 10px;
        /* margin-top: 128px; */
        height: 73vh;
        
        /*position: relative;*/
        /*right: 0;*/
        /*left: 0;*/
        /*bottom: 0;*/
        /*background: rgba(0,0,0,0.6);*/
        /*padding: 15px 10px;*/
        /*margin-top: -60px;*/
    }
    
    .carousel-caption h2.display-2 {
        font-size: 20px !important;
        margin-bottom: 0 !important;
    }
    
    .carousel-caption h5 {
        font-size: 12px !important;
        margin-bottom: 5px !important;
    }
    
    .carousel-item img {
        height: 300px;
        object-fit: cover;
    }
}

@media (min-width: 769px) and (max-width: 992px) {
    .carousel-caption h2.display-2 {
        font-size: 32px !important;
    }
}

@media (min-width: 993px) and (max-width: 1200px) {
    .carousel-caption h2.display-2 {
        font-size: 42px !important;
    }
}

/* ========== ABOUT SECTION ========== */
@media (max-width: 991px) {
    .position-relative.overflow-hidden.ps-5.pt-5 {
        min-height: 300px !important;
        padding-left: 20px !important;
        padding-top: 20px !important;
        margin-bottom: 30px;
    }
    
    .position-absolute.top-0.start-0.bg-white {
        width: 130px !important;
        height: 130px !important;
    }
    
    .border-start.border-5.border-primary.ps-4 {
        padding-left: 15px !important;
    }
    
    .display-6 {
        font-size: 28px !important;
    }
    
    h1.display-6.mb-0 {
        font-size: 26px !important;
    }
}

@media (max-width: 576px) {
    .col-sm-4.d-flex {
        flex-direction: column;
        text-align: center;
        margin-bottom: 15px;
    }
    
    .col-sm-4.d-flex i {
        margin-right: 0 !important;
        margin-bottom: 8px;
    }
}

/* ========== FACTS / HIGHLIGHTS SECTION ========== */
@media (max-width: 768px) {
    .facts-overlay {
        position: relative;
        background: #1e3a5f;
        margin-top: -5px;
    }
    
    .facts-overlay h4 {
        margin-top: 0 !important;
        font-size: 16px !important;
    }
    
    .row.g-0 .col-sm-6 {
        padding: 0;
    }
    
    .facts-overlay {
        padding: 12px;
    }
}

/* ========== FEATURES / WHY CHOOSE US ========== */
@media (max-width: 991px) {
    .row.g-5 .col-lg-6:first-child {
        order: 2;
    }
    
    .row.g-5 .col-lg-6:last-child {
        order: 1;
        margin-bottom: 30px;
    }
    
    .position-relative.overflow-hidden.ps-5.pt-5 {
        min-height: 280px !important;
    }
}

@media (max-width: 576px) {
    .col-sm-6.wow.fadeIn {
        margin-bottom: 20px;
    }
    
    .d-flex.align-items-center.mb-3 {
        justify-content: center;
    }
    
    .row.gy-5.gx-4 span {
        display: block;
        text-align: center;
    }
}

/* ========== SERVICE / PRODUCT CARDS ========== */
@media (max-width: 991px) {
    .service-item {
        margin-bottom: 20px;
        text-align: center;
    }
    
    .service-item img {
        height: auto;
        max-height: 220px;
        object-fit: cover;
    }
    
    .service-text {
        padding: 15px !important;
    }
    
    .service-text h5 {
        font-size: 18px;
    }
    
    .text-lg-end {
        text-align: left !important;
        margin-top: 10px;
    }
}

@media (max-width: 576px) {
    .service-item img {
        max-height: 180px;
    }
    
    .btn-primary.py-3.px-5 {
        padding: 10px 20px !important;
        font-size: 14px;
    }
}

/* ========== WE SUPPLY SECTION ========== */
@media (max-width: 1200px) {
    .container-fluid.appointment p.text-white {
        width: 100% !important;
        max-width: 100%;
    }
}

@media (max-width: 991px) {
    .container-fluid.appointment .row {
        flex-direction: column;
    }
    
    .container-fluid.appointment .col-lg-6 {
        text-align: center !important;
    }
    
    .border-start.border-5.border-primary.ps-4 {
        border-left: 4px solid #f59e0b !important;
        padding-left: 12px !important;
    }
    
    .display-6.text-white {
        font-size: 28px !important;
    }
    
    .container-fluid.appointment .py-5 {
        padding-top: 30px !important;
        padding-bottom: 30px !important;
    }
    
    .container.py-5 {
        padding-top: 20px !important;
        padding-bottom: 20px !important;
    }
}

@media (max-width: 576px) {
    .btn-primary.px-5.py-3 {
        padding: 10px 18px !important;
        font-size: 14px;
    }
}

/* ========== TEAM / PRODUCT RANGE GALLERY ========== */
@media (max-width: 991px) {
    .team-item {
        margin-bottom: 20px;
    }
    
    .team-item img {
        height: auto;
        max-height: 220px;
        object-fit: cover;
        width: 100%;
    }
    
    .team-text {
        padding: 12px !important;
    }
    
    .team-text h5 {
        font-size: 16px;
    }
}

@media (max-width: 576px) {
    .team-item img {
        max-height: 180px;
    }
}

/* ========== TESTIMONIAL SECTION ========== */
@media (max-width: 991px) {
    .testimonial-item .fs-5 {
        font-size: 14px !important;
    }
    
    .testimonial-item img {
        width: 60px;
        height: 60px;
        object-fit: cover;
        border-radius: 50%;
    }
    
    .row.g-5 .col-lg-5 {
        margin-bottom: 30px;
    }
    
    .col-sm-6 .d-flex {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .testimonial-item {
        padding: 10px;
    }
    
    .bg-primary.mb-3 {
        width: 40px !important;
    }
}

/* ========== GENERAL TEXT & TYPOGRAPHY RESPONSIVE ========== */
@media (max-width: 768px) {
    body {
        font-size: 14px;
    }
    
    h1, .h1 {
        font-size: 28px !important;
    }
    
    h2, .h2 {
        font-size: 24px !important;
    }
    
    h3, .h3 {
        font-size: 20px !important;
    }
    
    p {
        font-size: 14px;
        line-height: 1.5;
    }
    
    .text-uppercase.mb-2 {
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    h1.display-6 {
        font-size: 22px !important;
    }
    
    .btn {
        padding: 8px 16px !important;
        font-size: 13px;
    }
}

/* ========== BUTTON RESPONSIVE ========== */
@media (max-width: 576px) {
    .btn-primary {
        display: inline-block;
        width: auto;
        text-align: center;
    }
    
    .mt-4 .btn-primary {
        width: 100%;
        max-width: 200px;
    }
}

/* ========== GRID SPACING RESPONSIVE ========== */
@media (max-width: 768px) {
    .py-5 {
        padding-top: 30px !important;
        padding-bottom: 30px !important;
    }
    
    .my-5 {
        margin-top: 30px !important;
        margin-bottom: 30px !important;
    }
    
    .mb-5 {
        margin-bottom: 30px !important;
    }
    
    .g-5 {
        --bs-gutter-y: 1.5rem;
        --bs-gutter-x: 1rem;
    }
    
    .row.g-4 {
        --bs-gutter-y: 1rem;
        --bs-gutter-x: 1rem;
    }
}

/* ========== IMAGE RESPONSIVE ========== */
img {
    max-width: 100%;
    height: auto;
}

.position-absolute.w-100.h-100 {
    object-fit: cover;
}

/* ========== OWL CAROUSEL RESPONSIVE (Testimonials) ========== */
@media (max-width: 768px) {
    .owl-carousel .owl-item img {
        width: 60px;
        margin: 0 auto;
    }
    
    .testimonial-item {
        text-align: center;
    }
}

/* ========== HEADER/NAVIGATION RESPONSIVE (if needed) ========== */
@media (max-width: 991px) {
    .navbar-collapse {
        /*background: #1e293b;*/
        padding: 15px;
        border-radius: 8px;
        margin-top: 10px;
    }
    
    .navbar-nav {
        text-align: center;
    }
    
    .navbar-nav .nav-item {
        margin: 8px 0;
    }
}

/* ========== FOOTER RESPONSIVE ========== */
@media (max-width: 768px) {
    footer {
        text-align: center;
        padding: 20px 10px !important;
    }
    
    footer p {
        font-size: 12px;
    }
}

/* ========== FIX OVERFLOW ISSUES ========== */
.row, .container, .container-fluid, .container-xxl {
    overflow-x: hidden;
}

.carousel, .carousel-inner, .carousel-item {
    overflow: hidden;
}

/* ========== FLOATING ELEMENTS FIX ========== */
@media (max-width: 576px) {
    .position-absolute.top-0.start-0 {
        position: relative !important;
        margin: 0 auto 15px auto !important;
        left: auto !important;
        top: auto !important;
    }
    
    .position-relative.overflow-hidden.ps-5.pt-5 {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
    }
}

/* ========== SAFE MARGINS FOR VERY SMALL DEVICES ========== */
@media (max-width: 380px) {
    .carousel-caption h2.display-2 {
        font-size: 16px !important;
    }
    
    .display-6 {
        font-size: 18px !important;
    }
    
    .btn {
        font-size: 12px;
        padding: 6px 12px !important;
    }
}

/* ========== TABLET LANDSCAPE OPTIMIZATION ========== */
@media (min-width: 768px) and (max-width: 1024px) {
    .carousel-caption {
        bottom: 15%;
    }
    
    .carousel-caption h2.display-2 {
        font-size: 36px !important;
    }
    
    .container-xxl {
        max-width: 960px;
    }
}

/* ========== PRESERVE ANIMATIONS ON RESPONSIVE ========== */
@media (prefers-reduced-motion: reduce) {
    .wow, .animated {
        animation: none !important;
        transition: none !important;
    }
}

/* ========== FIX ANY BROKEN LAYOUTS ========== */
.clearfix::after {
    content: "";
    clear: both;
    display: table;
}

.text-center-mobile {
    text-align: center;
}

@media (min-width: 768px) {
    .text-center-mobile {
        text-align: inherit;
    }
}

