/********** Template CSS **********/
:root {
    --primary: #E85D37;
    --primary-dark: #c94a27;
    --light: #F8FAFC;
    --dark: #0F172A;
    --text: #1E293B;
    --text-muted: #64748B;
    --border: #E2E8F0;
    --shadow-sm: 0 1px 3px rgba(15,23,42,.06), 0 4px 8px rgba(15,23,42,.04);
    --shadow: 0 4px 16px rgba(15,23,42,.08), 0 1px 4px rgba(15,23,42,.04);
    --shadow-lg: 0 8px 32px rgba(15,23,42,.12), 0 2px 10px rgba(15,23,42,.06);
}

* {
    font-family: 'Heebo', sans-serif !important;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
}


/*** 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 {
    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;
    border-radius: 50px;
}


/*** Heading ***/
h1,
h2,
h3,
h4,
.h1,
.h2,
.h3,
.h4,
.display-1,
.display-2,
.display-3,
.display-4,
.display-5,
.display-6 {
    font-family: 'Inter', 'Heebo', sans-serif;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--dark);
}

h5,
h6,
.h5,
.h6,
.p {
    font-weight: 600;
}

.font-secondary {
    font-family: 'Inter', 'Heebo', sans-serif;
    font-weight: 700;
}


/*** Navbar ***/
.navbar .navbar-nav .nav-link {
    padding: 18px 14px;
    color: var(--dark);
    font-weight: 500;
    outline: none;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--primary);
}

.navbar.sticky-top {
    top: 0;
    transition: .5s;
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 5px;
    transition: .5s;
}

.navbar .dropdown-toggle[aria-expanded=true]::after {
    transform: rotate(-180deg);
}

@media (max-width: 991.98px) {
    .navbar .navbar-nav .nav-link  {
        margin-right: 0;
        padding: 10px 0;
    }

    .navbar .navbar-nav {
        margin-top: 15px;
        border-top: 1px solid #EEEEEE;
    }
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        top: calc(100% - 15px);
        margin-top: 0;
        opacity: 0;
        visibility: hidden;
        transition: .5s;
        
    }

    .navbar .nav-item:hover .dropdown-menu {
        top: 100%;
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}


/*** Header ***/
.header-carousel::before,
.header-carousel::after,
.page-header::before,
.page-header::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 10px;
    top: 0;
    left: 0;
    background: url(../img/bg-header-top.png) center center repeat-x;
    z-index: 1;
}

.header-carousel::after,
.page-header::after {
    height: 19px;
    top: auto;
    bottom: 0;
    background: url(../img/bg-header-bottom.png) center center repeat-x;
}

@media (max-width: 768px) {
    .header-carousel .owl-carousel-item {
        position: relative;
        min-height: 500px;
    }
    
    .header-carousel .owl-carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .header-carousel .owl-carousel-item p {
        font-size: 16px !important;
        font-weight: 400 !important;
    }

    .header-carousel .owl-carousel-item h1 {
        font-size: 30px;
        font-weight: 600;
    }
}

.header-carousel .owl-nav {
    position: absolute;
    top: 50%;
    right: 8%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
}

.header-carousel .owl-nav .owl-prev,
.header-carousel .owl-nav .owl-next {
    margin: 7px 0;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: transparent;
    border: 1px solid #FFFFFF;
    border-radius: 45px;
    font-size: 22px;
    transition: .5s;
}

.header-carousel .owl-nav .owl-prev:hover,
.header-carousel .owl-nav .owl-next:hover {
    background: var(--primary);
    border-color: var(--primary);
}

.page-header {
    background: linear-gradient(rgba(0, 0, 0, .2), rgba(0, 0, 0, .2)), url(../img/carousel-1.jpg) center center no-repeat;
    background-size: cover;
}

.breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, .5);
}


/*** Facility ***/
.facility-item .facility-icon {
    position: relative;
    margin: 0 auto;
    width: 100px;
    height: 100px;
    border-radius: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.facility-item .facility-icon::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(255, 255, 255, .9);
    transition: .5s;
    z-index: 1;
}

.facility-item .facility-icon span {
    position: absolute;
    content: "";
    width: 15px;
    height: 30px;
    top: 0;
    left: 0;
    border-radius: 50%;
}

.facility-item .facility-icon span:last-child {
    left: auto;
    right: 0;
}

.facility-item .facility-icon i {
    position: relative;
    z-index: 2;
}

.facility-item .facility-text {
    position: relative;
    min-height: 250px;
    padding: 30px;
    border-radius: 100%;
    display: flex;
    text-align: center;
    justify-content: center;
    flex-direction: column;
}

.facility-item .facility-text::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(255, 255, 255, .9);
    transition: .5s;
    z-index: 1;
}

.facility-item .facility-text * {
    position: relative;
    z-index: 2;
}

.facility-item:hover .facility-icon::before,
.facility-item:hover .facility-text::before {
    background: transparent;
}

.facility-item * {
    transition: .5s;
}

.facility-item:hover * {
    color: #FFFFFF !important;
}


/*** About ***/
.about-img img {
    transition: .5s;
}

.about-img img:hover {
    background: var(--primary) !important;
}


/*** Classes ***/
.classes-item {
    transition: .5s;
}

.classes-item:hover {
    margin-top: -10px;
}


/*** Team ***/
.team-item .team-text {
    position: absolute;
    width: 250px;
    height: 250px;
    bottom: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    background: #FFFFFF;
    border: 17px solid var(--light);
    border-radius: 250px;
    transition: .5s;
}

.team-item:hover .team-text {
    border-color: var(--primary);
}


/*** Testimonial ***/
.testimonial-carousel {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

@media (min-width: 576px) {
    .testimonial-carousel {
        padding-left: 4rem;
        padding-right: 4rem;
    }
}

.testimonial-carousel .testimonial-item .border {
    border: 1px dashed rgba(0, 185, 142, .3) !important;
}

.testimonial-carousel .owl-nav {
    position: absolute;
    width: 100%;
    height: 45px;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    z-index: 1;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    position: relative;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: var(--primary);
    border-radius: 45px;
    font-size: 20px;
    transition: .5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    background: var(--dark);
}


/*** Footer ***/
.footer .btn.btn-social {
    margin-right: 5px;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    border: 1px solid rgba(255,255,255,0.5);
    border-radius: 45px;
    transition: .3s;
}

.footer .btn.btn-social:hover {
    border-color: var(--primary);
    background: var(--primary);
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    font-size: 16px;
    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;
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    color: var(--primary) !important;
    letter-spacing: 1px;
    box-shadow: none;
}

.footer .form-control {
    border-color: rgba(255,255,255,0.5);
}

.footer .copyright {
    padding: 25px 0;
    font-size: 15px;
    border-top: 1px solid rgba(256, 256, 256, .1);
}

.footer .copyright a {
    color: #FFFFFF;
}

.footer .footer-menu a {
    margin-right: 15px;
    padding-right: 15px;
    border-right: 1px solid rgba(255, 255, 255, .1);
}

.footer .copyright a:hover,
.footer .footer-menu a:hover {
    color: var(--primary) !important;
}

.footer .footer-menu a:last-child {
    margin-right: 0;
    padding-right: 0;
    border-right: none;
}


/* ============================================================
   PROFESSIONAL DESIGN ENHANCEMENTS
   ============================================================ */

/* Body & base text */
body {
    color: var(--text);
    line-height: 1.7;
}

p {
    color: #475569;
    line-height: 1.8;
}

/* Smooth transitions globally */
a, button, .btn {
    transition: all .25s ease;
}


/* --- Navbar --- */
.navbar.navbar-light {
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}

.navbar .navbar-nav .nav-link {
    font-size: 0.92rem;
    font-weight: 600;
    letter-spacing: .15px;
}

.navbar .navbar-nav .nav-link.active {
    color: var(--primary);
    border-bottom: 2px solid var(--primary);
}


/* --- Primary Button --- */
.btn.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-color: transparent;
    box-shadow: 0 2px 8px rgba(232, 93, 55, .28);
    font-weight: 600;
    letter-spacing: .2px;
}

.btn.btn-primary:hover,
.btn.btn-primary:focus {
    background: linear-gradient(135deg, var(--primary-dark) 0%, #a03010 100%);
    border-color: transparent;
    box-shadow: 0 4px 18px rgba(232, 93, 55, .42);
    transform: translateY(-1px);
}

.btn.btn-primary:active {
    transform: translateY(0);
}


/* --- Section heading accent bar --- */
.text-center.mx-auto h1 {
    position: relative;
    padding-bottom: 18px;
}

.text-center.mx-auto h1::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 44px;
    height: 3px;
    background: var(--primary);
    border-radius: 3px;
}


/* --- Testimonial & Content Cards --- */
.testimonial-item {
    background: #ffffff !important;
    border: 1px solid var(--border) !important;
    border-left: 4px solid var(--primary) !important;
    border-radius: 12px !important;
    box-shadow: var(--shadow) !important;
    position: relative;
    overflow: hidden;
    transition: box-shadow .3s ease, transform .3s ease;
}

.testimonial-item:hover {
    box-shadow: var(--shadow-lg) !important;
    transform: translateY(-3px);
}

.testimonial-item::before {
    content: '\201C';
    position: absolute;
    top: 10px;
    right: 22px;
    font-size: 96px;
    line-height: 1;
    color: rgba(232, 93, 55, .08);
    font-family: Georgia, 'Times New Roman', serif;
    pointer-events: none;
    user-select: none;
}

.testimonial-item > h1,
.testimonial-item > .p-5 > h1 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--dark);
    padding-bottom: 12px;
    margin-bottom: 0;
    border-bottom: 1px solid var(--border);
    letter-spacing: 0;
}


/* --- Product Cards (image + text rows) --- */
.container > .bg-light.rounded {
    background: #ffffff !important;
    border: 1px solid var(--border) !important;
    border-radius: 16px !important;
    box-shadow: var(--shadow) !important;
    overflow: hidden;
    transition: box-shadow .3s ease, transform .3s ease;
}

.container > .bg-light.rounded:hover {
    box-shadow: var(--shadow-lg) !important;
    transform: translateY(-3px);
}

.container > .bg-light.rounded .col-lg-6 > .position-relative img {
    transition: transform .5s ease;
}

.container > .bg-light.rounded:hover .col-lg-6 > .position-relative img {
    transform: scale(1.03);
}

/* Product card pricing/heading hierarchy */
.container > .bg-light.rounded .p-5 h1.mb-4:first-child {
    font-size: 2rem;
    color: var(--primary);
    border-bottom: 2px solid var(--border);
    padding-bottom: 12px;
}


/* --- Download Buttons --- */
.btn.btn-lg.btn-primary.shadow-sm {
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(232, 93, 55, .3) !important;
}

.btn.btn-lg.btn-secondary.shadow-sm {
    background: #334155;
    border-color: #334155;
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(51, 65, 85, .25) !important;
    transition: all .25s ease;
}

.btn.btn-lg.btn-secondary.shadow-sm:hover {
    background: #1E293B;
    border-color: #1E293B;
    transform: translateY(-1px);
    box-shadow: 0 5px 18px rgba(51, 65, 85, .35) !important;
}


/* --- Team / Founders --- */
.site-section .rounded-circle {
    border: 3px solid var(--border);
    box-shadow: var(--shadow);
    transition: border-color .3s, box-shadow .3s, transform .3s;
}

.site-section .rounded-circle:hover {
    border-color: var(--primary);
    box-shadow: 0 8px 24px rgba(232, 93, 55, .18);
    transform: scale(1.05);
}

.site-section h2 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--dark);
}

.site-section p {
    font-size: 0.92rem;
    line-height: 1.75;
}

.site-section ul {
    text-align: left;
    display: inline-block;
}


/* --- Core Values section --- */
#core-values .col-lg-8 ol {
    padding-left: 1.5rem;
}

#core-values ol li {
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
    line-height: 1.8;
    color: var(--text);
}

#core-values ol li:last-child {
    border-bottom: none;
}

#core-values ol li strong {
    color: var(--primary);
    display: block;
    margin-bottom: 3px;
}

#core-values blockquote {
    padding: 22px 28px;
    background: linear-gradient(135deg, #FFF7F5 0%, #FFF2EE 100%);
    border-left: 4px solid var(--primary);
    border-radius: 0 10px 10px 0;
    color: var(--dark);
    font-style: italic;
    font-weight: 500;
    font-size: 1.05rem;
    margin-top: 2rem;
    box-shadow: var(--shadow-sm);
}


/* --- Footer refinements --- */
.footer {
    background: linear-gradient(180deg, #0F172A 0%, #1A2940 100%) !important;
}

.footer h3 {
    letter-spacing: .5px;
    font-size: 1rem;
    text-transform: uppercase;
    color: #ffffff !important;
}

.footer p,
.footer .btn.btn-link {
    font-size: 0.9rem;
}

.footer .copyright {
    font-size: 0.85rem;
}


/* --- TNC Page specific --- */
.container-xxl .testimonial-item h1 {
    font-size: 1.1rem !important;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: none;
}

.container-xxl .testimonial-item ol li,
.container-xxl .testimonial-item ul li {
    margin-bottom: 6px;
    line-height: 1.75;
    color: #334155;
}

/* Pricing table */
.table-responsive table {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.table thead.table-dark th {
    background-color: var(--dark) !important;
    font-weight: 600;
    letter-spacing: .4px;
    padding: 14px 20px;
    font-size: 0.9rem;
    text-transform: uppercase;
}

.table tbody td {
    padding: 13px 20px;
    vertical-align: middle;
    font-size: 0.95rem;
}

.table-striped > tbody > tr:nth-of-type(odd) > td {
    background-color: #F8FAFC;
}


/* --- Back to Top Button --- */
.back-to-top {
    border-radius: 50px;
    box-shadow: 0 4px 14px rgba(232, 93, 55, .35);
}

.back-to-top:hover {
    box-shadow: 0 6px 20px rgba(232, 93, 55, .5);
    transform: translateY(-2px);
}


/* --- Founders note card --- */
#about .testimonial-item {
    border-left: 4px solid var(--primary) !important;
}

#about .testimonial-item ul {
    list-style: none;
    padding-left: 0;
}

#about .testimonial-item ul li {
    padding: 8px 0 8px 24px;
    position: relative;
    border-bottom: 1px solid var(--border);
    color: var(--text);
    line-height: 1.75;
}

#about .testimonial-item ul li:last-child {
    border-bottom: none;
}

#about .testimonial-item ul li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: 700;
}
