@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@300;400;500;600;700&family=Raleway:wght@300;400;500;600;700;800;900&display=swap');

/* Header Navigation Color - Removed to allow Admin Settings to control color */
/* Header Top Contact Info Color - Removed to allow Admin Settings to control color */

/* Slider Container Override */
.custom-slider-container,
.custom-slider-container:before,
#footer:before {
    transform: none !important;
}

/* Breadcrumb Styling */
.breadcrumb li a {
    color: #000000 !important;
    transition: color 0.3s;
}

.breadcrumb li a:hover {
    color: #fff3f5 !important;
    text-decoration: none;
}

/* Force remove transform from custom page header pseudo-elements */
.custom-page-header:before,
.custom-page-header:after {
    transform: none !important;
}

/* 
=============================================
   DIGITEX HERO SECTION STYLES
============================================= 
*/

.banner-section {
    position: relative;
    overflow: hidden;
    font-family: 'Raleway', sans-serif;
    color: #ffffff;
}

.banner-section .owl-carousel .owl-item {
    height: 100vh;
    width: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Overlay for better text readability */
.banner-section .owl-carousel .owl-item:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.banner-section .container {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.digitex-hero-content {
    max-width: 800px;
    padding-left: 15px;
}

/* Force specific font on H1 with high specificity */
html body .banner-section .digitex-hero-content h1 {
    font-family: 'Oswald', sans-serif !important;
    font-size: 80px;
    font-weight: 700;
    line-height: 1.1;
    color: #ffffff;
    margin-bottom: 25px;
    text-transform: capitalize;
}

.digitex-hero-content p {
    font-family: 'Raleway', sans-serif !important;
    font-size: 18px;
    line-height: 1.6;
    color: #ffffff;
    margin-bottom: 40px;
    max-width: 650px;
    font-weight: 400;
}

/* Force animations to show immediately in banner to avoid invisible content */
.banner-section .appear-animation {
    opacity: 1 !important;
}

/* Buttons */
.btn-box {
    display: flex;
    align-items: center;
    gap: 20px;
}

.theme-btn-orange {
    position: relative;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    font-family: 'Oswald', sans-serif;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #ffffff !important;
    background-color: #f94a29;
    padding: 16px 35px;
    border-radius: 0;
    /* Square edges like Digitex */
    transition: all 0.3s ease;
    border: 2px solid #f94a29;
    text-decoration: none;
    z-index: 1;
}

.theme-btn-orange:hover {
    background-color: transparent;
    color: #ffffff !important;
}

/* Play Button Simulation (Optional placeholder style) */
.play-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: #ffffff;
    border-radius: 50%;
    color: #f94a29;
    font-size: 16px;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    padding-left: 4px;
    /* Optical center for triangle */
}

.play-btn:hover {
    transform: scale(1.1);
    background: #f94a29;
    color: #ffffff;
}

.play-text {
    margin-left: 15px;
    font-family: 'Oswald', sans-serif;
    font-weight: 600;
    font-size: 14px;
    color: #ffffff;
    text-transform: uppercase;
    cursor: pointer;
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .digitex-hero-content h1 {
        font-size: 50px;
    }
}

@media (max-width: 767px) {
    .digitex-hero-content h1 {
        font-size: 36px;
    }

    .digitex-hero-content p {
        font-size: 16px;
    }

    .theme-btn-orange {
        padding: 12px 25px;
    }
}

/* Fix ratio and increase height for all page header banners */
.page-header.page-header-modern {
    background-size: cover !important;
    background-position: center center !important;
    min-height: 400px !important; /* Increased height */
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
}

.page-header.page-header-modern .container {
    width: 100%;
}

/* 
=============================================
   MOBILE & TABLET RESPONSIVE OVERRIDES
============================================= 
*/

/* 1. Homepage Hero Badge wrapping */
@media (max-width: 575px) {
    .sky-hero-content .badge {
        white-space: normal !important;
        display: inline-block !important;
        max-width: 90% !important;
        line-height: 1.4 !important;
        margin-bottom: 10px !important;
    }
}

/* 2. Contact Us Header Button centering & spacing */
@media (max-width: 991px) {
    #header .header-top {
        padding-top: 10px !important;
        padding-bottom: 10px !important;
        min-height: auto !important;
    }
    #header .header-top .header-row {
        justify-content: center !important;
        flex-wrap: wrap !important;
        gap: 12px !important;
    }
    #header .header-top .header-column {
        justify-content: center !important;
        width: 100% !important;
        flex: none !important;
    }
    #header .header-top .header-row > a {
        margin-top: 5px !important;
        margin-bottom: 5px !important;
    }
}

/* 3. Driven by Purpose centering */
@media (max-width: 991px) {
    .sky-mission-content {
        text-align: center !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    .sky-mission-content .d-flex {
        justify-content: center !important;
    }
    .sky-mission-content .bg-sky-red-btn {
        margin: 10px auto 0 !important;
        display: inline-flex !important;
    }
}

/* 4. Expert Team centering and padding */
@media (max-width: 991px) {
    .expert-team-section {
        padding-top: 60px !important;
        padding-bottom: 60px !important;
        text-align: center !important;
    }
    .expert-team-section .custom-features-list .d-flex {
        justify-content: center !important;
    }
    .expert-team-section .btn-primary {
        margin: 20px auto 0 !important;
        display: inline-flex !important;
    }
}

/* 5. AI-Driven Health Indicators padding and centering */
@media (max-width: 991px) {
    .technology-content-section {
        padding-top: 60px !important;
        padding-bottom: 60px !important;
        text-align: center !important;
    }
    .technology-content-section .feature-list .d-flex {
        justify-content: center !important;
        text-align: left !important;
    }
    .technology-content-section .btn-modern {
        margin: 20px auto 0 !important;
        display: inline-flex !important;
    }
}

/* 6. Measurable Success Section */
@media (max-width: 767px) {
    .case-studies-stats-section .card {
        margin-left: 0 !important;
        margin-right: 0 !important;
        width: 100% !important;
    }
    .case-studies-stats-section .col-md-6 {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
}

/* 7. CTA Stacking Buttons */
@media (max-width: 575px) {
    .contact-cta-section .btn-modern {
        display: block !important;
        margin: 12px auto !important;
        width: 100% !important;
        max-width: 280px !important;
        text-align: center !important;
        margin-right: auto !important;
    }
}

/* 8. Footer Alignment centering */
@media (max-width: 991px) {
    .footer-top-row {
        justify-content: center !important;
        text-align: center !important;
        flex-direction: column !important;
        gap: 20px !important;
    }
    .footer-logo {
        text-align: center !important;
        width: 100% !important;
        margin-bottom: 10px !important;
    }
    .footer-newsletter-wrapper {
        justify-content: center !important;
        width: 100% !important;
        flex-direction: column !important;
        gap: 15px !important;
    }
    .footer-newsletter-pill {
        margin: 0 auto !important;
    }
    .widgets-section .col-md-6 {
        text-align: center !important;
        margin-bottom: 40px !important;
    }
    .footer-widget-title {
        text-align: center !important;
    }
    .contact-widget .footer-contact-info-block {
        padding-left: 0 !important;
        text-align: center !important;
    }
    .contact-widget .footer-contact-info-block i {
        position: relative !important;
        display: inline-block !important;
        margin-bottom: 8px !important;
        left: auto !important;
        top: auto !important;
    }
    .footer-links ul {
        text-align: center !important;
    }
    .footer-social-circles {
        justify-content: center !important;
    }
    .widgets-section ul.list-unstyled li {
        justify-content: center !important;
    }
}

/* 9. About Page - Mission & Vision Circles */
@media (max-width: 575px) {
    .feature-box-style-2 {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
    }
    .feature-box-style-2 .feature-box-icon {
        margin-right: 0 !important;
        margin-bottom: 15px !important;
        display: inline-flex !important;
        justify-content: center !important;
    }
    .feature-box-style-2 .feature-box-info {
        padding-left: 0 !important;
    }
}

/* 10. About Page - Core Values List spacing & margins */
@media (max-width: 767px) {
    .feature-box-style-2 .feature-box-icon {
        margin-right: 20px !important;
    }
    .feature-box {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
}