/* ========================================
 * HEADER NAVIGATION REFINEMENTS
 * ======================================== */
.site-header #navbar>ul>li {
    margin: 0 12px;
}

.site-header #navbar>ul>li>a {
    font-weight: 700;
    letter-spacing: 0.5px;
    padding: 28px 0;
    position: relative;
}

.site-header #navbar>ul>li>a::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 18px;
    width: 26px;
    height: 3px;
    border-radius: 999px;
    background: transparent;
    transform: translateX(-50%);
    transition: background 0.3s ease;
}

.site-header #navbar>ul>li:hover>a::after {
    background: #be0a06;
}

.site-header #navbar>ul .sub-menu {
    padding: 18px 16px !important;
    width: 240px !important;
    border-radius: 18px !important;
    border: 1px solid rgba(15, 32, 96, 0.08);
    box-shadow: 0 20px 45px rgba(15, 32, 96, 0.15) !important;
    background: linear-gradient(135deg, #ffffff 0%, #f7f9ff 100%) !important;
}

.site-header #navbar>ul .scrollable-menu {
    max-height: 240px !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
}

.site-header #navbar>ul .scrollable-menu::-webkit-scrollbar {
    width: 6px;
}

.site-header #navbar>ul .scrollable-menu::-webkit-scrollbar-track {
    background: rgba(15, 32, 96, 0.05);
    border-radius: 10px;
}

.site-header #navbar>ul .scrollable-menu::-webkit-scrollbar-thumb {
    background: #be0a06;
    border-radius: 10px;
}

.site-header #navbar>ul .scrollable-menu::-webkit-scrollbar-thumb:hover {
    background: #131e4a;
}

.site-header #navbar>ul .sub-menu li+li {
    margin-top: 8px;
}

.site-header #navbar>ul .sub-menu a {
    border-radius: 12px;
    padding: 12px 14px !important;
    color: #0f2060 !important;
    font-weight: 600;
    transition: all 0.2s ease;
}

.site-header #navbar>ul .sub-menu a:hover {
    background: rgba(190, 10, 6, 0.08);
    color: #be0a06 !important;
    padding-left: 18px !important;
}

.site-header #navbar>ul .sub-menu li:last-child a {
    border-bottom: none;
}

/* Locations dropdown scroll treatment */
.site-header #navbar>ul li.locations-menu>.sub-menu {
    max-height: 320px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #be0a06 rgba(15, 32, 96, 0.08);
}

.site-header #navbar>ul li.locations-menu>.sub-menu::-webkit-scrollbar {
    width: 6px;
}

.site-header #navbar>ul li.locations-menu>.sub-menu::-webkit-scrollbar-track {
    background: rgba(15, 32, 96, 0.08);
    border-radius: 999px;
}

.site-header #navbar>ul li.locations-menu>.sub-menu::-webkit-scrollbar-thumb {
    background: #be0a06;
    border-radius: 999px;
}

.site-header #navbar>ul li.locations-menu>.sub-menu::-webkit-scrollbar-thumb:hover {
    background: #a90906;
}

/* Blog hub redesign */
.blog-hub {
    background: linear-gradient(180deg, #f4f6fb 0%, #ffffff 65%);
}

.blog-hub__intro {
    margin-bottom: 45px;
    row-gap: 24px;
}

.blog-hub__heading {
    font-size: 40px;
    font-weight: 700;
    color: #0f2060;
    line-height: 1.2;
    margin-bottom: 12px;
}

.blog-hub__intro .lead {
    font-size: 18px;
    color: #5b6487;
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 13px;
    font-weight: 600;
    color: #be0a06;
    margin-bottom: 12px;
}

.blog-hub__filters {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 10px;
    font-weight: 600;
    color: #5b6487;
}

.blog-hub__filters .chip {
    border: 1px solid rgba(15, 32, 96, 0.15);
    background: #fff;
    border-radius: 999px;
    padding: 8px 18px;
    font-size: 14px;
    font-weight: 600;
    color: #0f2060;
    transition: all 0.2s ease;
}

.blog-hub__filters .chip:hover,
.blog-hub__filters .chip.active {
    background: #0f2060;
    color: #fff;
    box-shadow: 0 15px 30px rgba(15, 32, 96, 0.15);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    gap: 30px;
}

.blog-card {
    background: #fff;
    border-radius: 26px;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(15, 32, 96, 0.12);
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(15, 32, 96, 0.05);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.blog-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 35px 65px rgba(15, 32, 96, 0.18);
}

.blog-card--feature {
    grid-column: span 2;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

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

.blog-card__body {
    padding: 28px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.blog-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.pill {
    background: rgba(190, 10, 6, 0.09);
    color: #be0a06;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.blog-card__meta .date {
    margin-left: auto;
    font-size: 14px;
    font-weight: 600;
    color: #7981a1;
}

.blog-card h3,
.blog-card h4 {
    color: #0f2060;
    margin: 0;
    line-height: 1.3;
}

.blog-card h3 {
    font-size: 30px;
}

.blog-card h4 {
    font-size: 22px;
}

.blog-card p {
    color: #5b6487;
    margin: 0;
}

.blog-card__footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(15, 32, 96, 0.08);
    padding-top: 18px;
}

.ghost-link {
    font-weight: 700;
    color: #be0a06;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.ghost-link i {
    transition: transform 0.2s ease;
}

.ghost-link:hover i {
    transform: translateX(4px);
}

.trend-panel {
    margin-top: 60px;
    padding: 35px;
    border-radius: 28px;
    background: radial-gradient(circle at top right, rgba(190, 10, 6, 0.12), rgba(15, 32, 96, 0.9));
    color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.trend-panel h4 {
    margin: 6px 0 0;
    font-size: 24px;
    line-height: 1.4;
}

.trend-panel .theme-btn-s3 {
    min-width: 180px;
    text-align: center;
}

@media (max-width: 991px) {
    .blog-card--feature {
        grid-column: span 1;
    }

    .blog-card h3 {
        font-size: 26px;
    }

    .blog-card h4 {
        font-size: 20px;
    }
}

@media (max-width: 575px) {
    .blog-hub__heading {
        font-size: 30px;
    }

    .blog-card__meta {
        flex-direction: column;
        align-items: flex-start;
    }

    .blog-card__meta .date {
        margin-left: 0;
    }

    .trend-panel {
        padding: 28px;
    }
}

/*
 * Al Noor N3 Custom Color Theme
 * Primary Color: Light Dark Blue #2a3b6e
 * Accent Color: Bright Red #be0a06
 * Hover Color: Dark Red #a90906
 */

/* Page Title Background Overlay - 65% dark filter */
.page-title::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(19, 30, 74, 0.65);
    /* 65% dark blue overlay */
    z-index: 1;
}

.page-title .container {
    position: relative;
    z-index: 2;
}

/* Primary brand color - buttons, links, accents */
.theme-btn,
.theme-btn-s2:hover,
.theme-btn-s3,
.section-title>span,
.section-title-s2>span,
.section-title-s3>span,
.section-title-s4>span,
.section-title-s5>span {
    background-color: #2a3b6e !important;
    color: #fff !important;
}

.theme-btn:hover,
.theme-btn:focus,
.theme-btn:active {
    background-color: #a90906 !important;
    color: #fff !important;
}

/* Section title spans */
.section-title>span,
.section-title-s2>span,
.section-title-s3>span,
.section-title-s4>span,
.section-title-s5>span {
    color: #2a3b6e !important;
    background-color: transparent !important;
}

/* Service grids and icons */
.service-grids .grid:hover {
    background-color: #2a3b6e !important;
}

.service-grids .grid .read-more {
    color: #2a3b6e !important;
}

.service-grids .grid:hover .read-more {
    color: #fff !important;
}

.service-grids .grid:hover h4 a,
.service-grids .grid:hover p {
    color: #fff !important;
}

/* Why choose section background */
.why-choose-section {
    background-color: #2a3b6e !important;
}

/* Fun fact section background */
.fun-fact-section {
    background-color: #35294a !important;
}

/* CTA section background */
.cta-section {
    background-color: #2a3b6e !important;
}

/* Links hover effects */
a:hover,
.read-more:hover {
    color: #a90906 !important;
}

/* Form focus states */
.form input:focus,
.form textarea:focus,
.form select:focus {
    border-color: #2a3b6e !important;
    -webkit-box-shadow: 0 0 5px 0 rgba(42, 59, 110, 0.5) !important;
    box-shadow: 0 0 5px 0 rgba(42, 59, 110, 0.5) !important;
}

/* Navigation active/hover states - Enhanced with specific selectors */
.navigation .nav>li>a {
    transition: all 0.3s ease !important;
    position: relative;
}

.navigation .nav>li>a:hover,
.navigation .nav>li.current-menu-item>a {
    color: #a90906 !important;
}

/* More specific selectors to override style.css */
.site-header #navbar>ul li a:hover,
.site-header #navbar>ul li a:focus {
    color: #a90906 !important;
}

/* Mobile navigation hover */
@media (max-width: 991px) {

    .navigation .nav>li>a:hover,
    .navigation .nav>li.current-menu-item>a {
        background-color: rgba(169, 9, 6, 0.1) !important;
        color: #a90906 !important;
    }
}

/* Footer newsletter button */
.newsletter-widget button[type="submit"] {
    background-color: #2a3b6e !important;
}

.newsletter-widget button[type="submit"]:hover {
    background-color: #a90906 !important;
}

/* Social icons */
.social-icons li a:hover,
.social-links li a:hover {
    background-color: #a90906 !important;
}

/* Preloader gears - brand colors */
.preloader .gear.two svg {
    fill: #2a3b6e !important;
}

/* Border and accent colors */
.theme-btn-s3 {
    border-color: #2a3b6e !important;
}

/* Hero slider button styles */
/* Primary Button: Blue Background + Size */
.hero-slider .slide-btns .theme-btn {
    background-color: #2a3b6e !important;
    min-width: 200px;
    /* Force equal width */
    text-align: center;
    /* Center text */
}

/* Secondary Button: Just Size (Keep original background) */
.hero-slider .slide-btns .theme-btn-s2 {
    min-width: 200px;
    /* Force equal width */
    text-align: center;
    /* Center text */
}

.hero-slider .slide-btns .theme-btn:hover {
    background-color: #a90906 !important;
}

/* Swiper navigation - More specific selectors to override style.css */
.hero-slider .swiper-button-next,
.hero-slider .swiper-button-prev {
    transition: all 0.3s ease !important;
}

.hero-slider .swiper-button-next:hover,
.hero-slider .swiper-button-prev:hover {
    border-color: #a90906 !important;
}

.hero-slider .swiper-button-next:hover:before,
.hero-slider .swiper-button-prev:hover:before {
    color: #a90906 !important;
}

.swiper-pagination-bullet-active {
    background-color: #2a3b6e !important;
}

/* Icon colors - Use red accent with comprehensive specific selectors */
.fi,
.flaticon:before,
.service-grids .grid i,
.why-choose-grids .grid i,
.fun-fact-section i,
.cta-section i {
    color: #be0a06 !important;
}

/* Specific icon selectors to override style.css */
.service-section .service-grids .grid>.fi:before,
.why-choose-section .why-choose-grids .fi:before,
.cta-section .contact-info .fi:before,
.service-section .service-grids .read-more .fi:before,
.testimonials-section .grid .fi:before,
.fun-fact-section .fun-fact-grids .fi:before,
.blog-section .read-more .fi:before,
.pagination-wrapper .pg-pagination .fi:before,
.about-us-section .video-holder .fi:before,
.fi.flaticon-play-button:before {
    color: #be0a06 !important;
}

.service-grids .grid:hover .fi,
.why-choose-grids .grid .fi {
    color: #fff !important;
}

/* ========================================
 * RED ACCENT COLOR - Remaining Orange Elements
 * Color: #be0a06 (N3 Brand Red)
 * Hover: #a90906 (Dark Red)
 * ======================================== */

/* Any remaining orange backgrounds */
.contact-validation-active #loader i,
.social-links li a {
    background-color: #be0a06 !important;
}

/* Fun fact section background colors */
.fun-fact-section .fun-fact-grids .grid {
    background-color: #d43b39 !important;
}

.fun-fact-section .fun-fact-grids>.grid:nth-child(even) {
    background-color: #a52e2c !important;
}

.social-links li a:hover {
    background-color: #a90906 !important;
}

/* Orange text and borders that weren't covered */
.page-title,
.breadcrumb-section {
    border-color: #be0a06 !important;
}

/* Video play button and similar elements */
.video-btn,
.hero-video-btn {
    background-color: #be0a06 !important;
}

.video-btn:hover,
.hero-video-btn:hover {
    background-color: #a90906 !important;
}

/* Video holder background - specific override for about section */
.about-us-section .video-holder {
    background-color: #be0a06 !important;
}

/* Ensure video button text stays white on hover */
.about-us-section .video-holder a {
    color: #fff !important;
}

.about-us-section .video-holder a:hover,
.video-btn:hover,
.hero-video-btn:hover {
    color: #fff !important;
}

/* Any orange highlights or accents */
.highlight-color,
.accent-color {
    color: #be0a06 !important;
}

/* Contact form submit buttons if not already covered */
.contact-pg-section .theme-btn,
.quote-section .theme-btn {
    background-color: #2a3b6e !important;
}

/* Ensure secondary buttons use red */
.theme-btn-s2 {
    background-color: rgba(255, 255, 255, 0.9) !important;
    color: #2a3b6e !important;
}

.theme-btn-s2:hover {
    background-color: #a90906 !important;
    color: #fff !important;
}

/* ========================================
 * ADDITIONAL ORANGE TO RED CONVERSIONS
 * Based on screenshots - checkmarks, links, icons
 * ======================================== */

/* Checkmarks in about section (ti-check icons) */
.about-us-section ul li i,
.ti-check {
    color: #be0a06 !important;
}

/* "Products & Services" and other links */
.service-section .view-all a,
.view-all a {
    color: #be0a06 !important;
}

.service-section .view-all a:hover,
.view-all a:hover {
    color: #a90906 !important;
}

/* Call/phone icons in header */
.header-style-1 .search-contact .call i,
.header-style-2 .search-contact .call i,
.header-style-3 .search-contact .call i,
.search-contact .call .fi,
.contact .call i {
    color: #ffffff !important;
}

/* Call icon ::before pseudo-elements - critical for icon display */
.header-style-1 .search-contact .call i:before,
.header-style-2 .search-contact .call i:before,
.header-style-3 .search-contact .call i:before {
    color: #ffffff !important;
}

/* Email/envelope icons */
.contact-info i,
.fi.flaticon-contact {
    color: #be0a06 !important;
}

/* Newsletter email icon button */
.site-footer .newsletter-widget form .submit button,
.newsletter-widget .submit button i,
.ti-email {
    color: #be0a06 !important;
}

/* Newsletter email button hover - make icon white for visibility */
.site-footer .newsletter-widget form .submit button:hover,
.site-footer .newsletter-widget form .submit button:hover i,
.newsletter-widget .submit button:hover i {
    color: #fff !important;
}

/* Any remaining themify icons that might be orange */
[class^="ti-"]:not(.ti-close):not(.ti-search),
[class*=" ti-"]:not(.ti-close):not(.ti-search) {
    color: inherit;
}

/* ========================================
 * HERO SLIDER OVERLAY
 * Aesthetic blue gradient for text visibility
 * ======================================== */

.hero-slider .slide-inner:before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    /* Gradient from dark blue (#131e4a) to black mix - 70% opacity */
    background: linear-gradient(90deg, rgba(19, 30, 74, 0.7) 0%, rgba(17, 17, 17, 0.7) 100%);
    z-index: 1;
}

.hero-slider .slide-inner .container {
    position: relative;
    z-index: 2;
}

/* Override any remaining orange colors globally */
a[style*="#fd5f17"],
span[style*="#fd5f17"],
div[style*="#fd5f17"] {
    color: #be0a06 !important;
}

/* ========================================
 * PRICING SECTION STYLES
 * ======================================== */
.pricing-section {
    background-color: #ffffff;
    padding-bottom: 70px;
}

.pricing-section .section-title-s3 {
    text-align: center;
    margin-bottom: 50px;
}

.pricing-section .section-title-s3 span {
    font-size: 14px;
    font-weight: 600;
    color: #be0a06;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 10px;
}

.pricing-section .section-title-s3 h2 {
    font-size: 36px;
    color: #2a3b6e;
    margin-bottom: 15px;
}

.pricing-grids {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.pricing-grids .grid {
    width: 25%;
    padding: 0 15px;
}

@media (max-width: 991px) {
    .pricing-grids .grid {
        width: 50%;
        margin-bottom: 30px;
    }
}

@media (max-width: 500px) {
    .pricing-grids .grid {
        width: 100%;
    }
}

.pricing-grids .grid .pricing-header {
    background: #fff;
    padding: 40px 30px 10px;
    text-align: center;
    border-radius: 10px 10px 0 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.pricing-grids .grid .pricing-body {
    background: #fff;
    padding: 0 30px 40px;
    text-align: center;
    border-radius: 0 0 10px 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.pricing-grids .grid .icon {
    width: 70px;
    height: 70px;
    line-height: 70px;
    border-radius: 50%;
    background: #f5f5f5;
    text-align: center;
    margin: 0 auto 25px;
}

.pricing-grids .grid .icon i {
    font-size: 35px;
    color: #2a3b6e;
}

.pricing-grids .grid .category {
    font-size: 11px;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 10px;
}

.pricing-grids .grid h3 {
    font-size: 24px;
    color: #2a3b6e;
    font-weight: 700;
    margin: 0;
}

.pricing-grids .grid .price-label {
    font-size: 11px;
    color: #be0a06;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
    margin-top: 20px;
    margin-bottom: 10px;
    position: relative;
    display: inline-block;
}

.pricing-grids .grid .price-label:before,
.pricing-grids .grid .price-label:after {
    content: "";
    width: 20px;
    height: 1px;
    background: #eee;
    position: absolute;
    top: 50%;
}

.pricing-grids .grid .price-label:before {
    left: -30px;
}

.pricing-grids .grid .price-label:after {
    right: -30px;
}

.pricing-grids .grid .price {
    font-size: 32px;
    color: #be0a06;
    font-weight: 700;
    margin: 0;
}

.pricing-disclaimer {
    margin-top: 50px;
    text-align: center;
    background: #fdecde;
    padding: 20px;
    border-left: 4px solid #be0a06;
    border-radius: 4px;
}

.pricing-disclaimer p {
    margin: 0;
    font-size: 13px;
    color: #666;
}

/* ========================================
 * FOOTER STYLES (Bluish like Header)
 * ======================================== */
/* Dark blue overlay for ENTIRE footer to improve text visibility */
.site-footer {
    position: relative;
    background-color: #131e4a !important;
    color: #ffffff !important;
    z-index: 1;
}

.site-footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(19, 30, 74, 0.95);
    /* 95% dark blue overlay for maximum visibility */
    z-index: -1;
}

.site-footer .upper-footer,
.site-footer .lower-footer {
    position: relative;
    z-index: 2;
}

.site-footer .widget-title h3,
.site-footer h3 {
    color: #ffffff !important;
}

.site-footer p {
    color: #e0e0e0 !important;
}

.site-footer .link-widget ul a {
    color: #e0e0e0 !important;
}

.site-footer .link-widget ul a:hover {
    color: #be0a06 !important;
    /* Keep accent hover */
}

.site-footer .contact-widget li span {
    color: #ffffff !important;
}

.site-footer .newsletter-widget form input {
    background-color: #ffffff;
    border: 1px solid #ffffff;
    color: #333;
}

.site-footer .lower-footer .copyright {
    color: #e0e0e0 !important;
}

.site-footer .lower-footer .extra-link a {
    color: #e0e0e0 !important;
}

.site-footer .lower-footer .row .separator {
    background: #2a3b6e !important;
    /* Lighter blue separator */
}

/* Ensure social icons are visible if they have specific colors */
.site-footer .social-icons ul li a {
    color: #ffffff !important;
    border-color: rgba(255, 255, 255, 0.2) !important;
}


.site-footer .social-icons ul li a:hover {
    background: #be0a06 !important;
    border-color: #be0a06 !important;
    color: #fff !important;
}

/* ========================================
 * NEW SECTIONS OVERRIDES (Testimonials, Projects, Team, Quote, Blog)
 * ======================================== */

/* Testimonials Section */
.testimonials-section .grid .quote i {
    color: #be0a06 !important;
}

.testimonials-section .client-info h5 {
    color: #2a3b6e !important;
}

.testimonials-section .client-info p {
    color: #666;
    /* Keep subtle or change to blue-gray */
}

/* Featured Projects Section */
.featured-project-section .project-grids .grid .overlay .count {
    color: #be0a06 !important;
}

.featured-project-section .project-grids .grid .overlay h3 {
    color: #ffffff !important;
    /* Text on overlay usually white */
}

/* Team Section */
.team-section .team-grids .grid .details h3 {
    color: #2a3b6e !important;
}

.team-section .team-grids .grid .details span {
    color: #be0a06 !important;
    /* Role title in red accent */
}


/*Team Image Holder */
.team-section .team-grids .grid .img-holder {
    overflow: hidden !important;
    margin-bottom: 10px !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: 100% !important;
    aspect-ratio: 1 / 1 !important;
}

.team-section .team-grids .grid .img-holder img {
    width: 100% !important;
    height: 100% !important;
    display: block !important;
    transition: transform 0.3s ease;
    visibility: visible !important;
    opacity: 1 !important;
    object-fit: cover !important;
}

.team-section .team-grids .grid:hover .img-holder img {
    transform: scale(1.05);
}

/* Force team images to be visible */
.team-section .team-grids .img-social {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.team-section .team-grids .grid .img-social .social ul li a {
    background-color: #ffffff !important;
    color: #2a3b6e !important;
}

.team-section .team-grids .grid .img-social .social ul li a:hover {
    background-color: #be0a06 !important;
    color: #ffffff !important;
}

/* Quote Section */
.quote-section .left-col h2 {
    color: #2a3b6e !important;
}

.quote-section .left-col ul li i {
    color: #be0a06 !important;
    /* Checkmarks */
}

.quote-section .right-col .quote-area {
    background-color: #2a3b6e !important;
    /* Branding the form area dark blue */
}

.quote-section .right-col .quote-area h3 {
    color: #ffffff !important;
}

.quote-section .right-col .quote-area p {
    color: #e0e0e0 !important;
}

.quote-section .contact-validation-active .submit-area button {
    background-color: #be0a06 !important;
    /* Contrast button against dark blue bg */
    color: #ffffff !important;
}

.quote-section .contact-validation-active .submit-area button:hover {
    background-color: #ffffff !important;
    color: #be0a06 !important;
}

/* Blog Section */
.blog-section .entry-body .cats {
    color: #be0a06 !important;
}

.blog-section .entry-body h4 a:hover {
    color: #be0a06 !important;
}

.blog-section .entry-body .date {
    color: #2a3b6e !important;
    /* Date in dark blue */
}

.blog-section .entry-body .read-more {
    color: #be0a06 !important;
}

.blog-section .entry-body .read-more:hover {
    color: #2a3b6e !important;
}

.latest-updates.section-padding {
    padding: 70px 0;
}

.latest-updates .section-title-s5 {
    margin-bottom: 30px;
    text-align: center;
}

.latest-updates .section-title-s5 h2 {
    font-size: 34px;
}

.latest-updates .section-title-s5 p {
    margin: 0 auto;
    max-width: 700px;
}

.latest-updates .updates-shell {
    position: relative;
    padding: 32px 72px;
    border-radius: 28px;
    background: linear-gradient(135deg, #f8fbff 0%, #ffffff 70%);
    box-shadow: 0 30px 60px rgba(19, 30, 74, 0.08);
}

.latest-updates .latest-updates-carousel {
    width: 100%;
}

.latest-updates .latest-updates-carousel .grid {
    background: #fff;
    border-radius: 24px;
    padding: 22px;
    box-shadow: 0 18px 35px rgba(19, 30, 74, 0.08);
    height: 100%;
}

.latest-updates .entry-media {
    height: 185px;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 20px;
}

.latest-updates .entry-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.latest-updates .entry-body h4 {
    font-size: 20px;
    margin-bottom: 12px;
}

.latest-updates .entry-body .cats {
    font-size: 13px;
    letter-spacing: 0.5px;
}

.latest-updates .entry-body .date {
    margin-bottom: 10px;
}

.updates-arrow {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: 2px solid rgba(42, 59, 110, 0.15);
    background: #fff;
    color: #2a3b6e;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: all 0.25s ease;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
}

.updates-arrow:hover {
    background: #be0a06;
    border-color: #be0a06;
    color: #fff;
}

.updates-prev {
    left: 20px;
}

.updates-next {
    right: 20px;
}

@media (max-width: 1199px) {
    .latest-updates .section-title-s5 h2 {
        font-size: 30px;
    }

    .latest-updates .updates-shell {
        padding: 28px 56px;
    }
}

@media (max-width: 991px) {
    .latest-updates.section-padding {
        padding: 60px 0;
    }

    .latest-updates .updates-shell {
        padding: 26px 48px;
    }
}

@media (max-width: 767px) {
    .latest-updates .updates-shell {
        padding: 24px;
    }

    .updates-arrow {
        position: static;
        transform: none;
        margin: 0 auto 12px auto;
    }

    .latest-updates .latest-updates-carousel .grid {
        padding: 18px;
    }

    .latest-updates .entry-media {
        height: 200px;
    }
}

/* ========================================
 * SERVICE SECTION GRID OVERRIDE
 * Fix for 4-column layout (default was 3)
 * ======================================== */
@media (min-width: 992px) {
    .service-section .service-grids .grid {
        width: calc(20% - 30px) !important;
    }
}

/* ========================================
 * AESTHETIC FILTER - CORE BUSINESS AREAS
 * Dark gradient overlay for text visibility
 * ======================================== */
.featured-project-section .project-grids .grid {
    position: relative;
    z-index: 1;
    border: none !important;
    /* Remove white separators */
}

.featured-project-section .project-grids .grid:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Gradient from semi-transparent dark blue to solid dark blue at bottom */
    background: linear-gradient(to bottom,
            rgba(19, 30, 74, 0.4) 0%,
            rgba(19, 30, 74, 0.8) 70%,
            rgba(19, 30, 74, 0.95) 100%);
    z-index: -1;
    transition: all 0.3s ease;
}

/* Ensure text is clearly visible on top of overlay */
.featured-project-section .project-grids .grid .overlay {
    z-index: 2;
}

/* Make overlay slightly darker on hover for effect */
.featured-project-section .project-grids .grid:hover:before {
    background: linear-gradient(to bottom,
            rgba(19, 30, 74, 0.6) 0%,
            rgba(19, 30, 74, 0.9) 70%,
            #131e4a 100%);
}

/* Ensure numbers are visible and pop */
.featured-project-section .project-grids .grid .count {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

/* ========================================
 * TEXT VISIBILITY FIX
 * Darken section description text
 * ======================================== */
.section-title-s3 p {
    color: #555555 !important;
    font-weight: 500;
}

/* Make subtitle bolder */
.section-title-s3 span,
.section-title-s3 .subtitle {
    font-weight: 700 !important;
}

/* ========================================
 * CENTER PRODUCT FEATURES GRID (3 items)
 * ======================================== */
.why-choose-section .why-choose-grids {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

/* Change small decorative dash from orange to N3 red */
.blog-sidebar .widget h3:before {
    background-color: #be0a06 !important;
}

/* Blog page title background - change from white to N3 dark blue */
.blog-pg-section .page-title {
    background-color: #131e4a !important;
}

.blog-pg-section .page-title h2,
.blog-pg-section .page-title .breadcrumb li,
.blog-pg-section .page-title .breadcrumb li a {
    color: #fff !important;
}

/* ========================================
 * SERVICE GRID ALIGNMENT FIX
 * Remove staggering effect
 * ======================================== */
.service-section .service-grids .grid {
    margin-top: 0 !important;
    transform: none !important;
}

.service-section .service-grids .grid:nth-child(even),
.service-section .service-grids .grid:nth-child(odd) {
    margin-top: 0 !important;
}

/* ========================================
 * SERVICE GRID EQUAL HEIGHT FIX
 * ======================================== */
.service-section .service-grids {
    display: flex !important;
    flex-wrap: wrap !important;
}

.service-section .service-grids .grid {
    float: none !important;
    display: flex !important;
    flex-direction: column !important;
    height: auto !important;
}

/* Push 'Learn More' to bottom */
.service-section .service-grids .grid .read-more {
    margin-top: auto !important;
}

/* ========================================
 * LOGO ALIGNMENT
 * ======================================== */
.header-style-1 .navbar-brand,
.header-style-2 .navbar-brand,
.header-style-3 .navbar-brand {
    display: flex;
    align-items: center;
    height: 100%;
    padding: 0 15px;
    margin-top: 0 !important;
}

.navbar-header {
    display: flex;
    align-items: center;
    height: 100px;
}

@media (max-width: 991px) {
    .navbar-header {
        height: auto;
        display: block;
    }
}

/* ========================================
 * TEXT VISIBILITY FIX
 * ======================================== */

/* Dark Background Section - White Text */
.why-choose-section .section-title-s3 p,
.why-choose-section .section-title-s3 span,
.why-choose-section .section-title-s3 .subtitle {
    color: #fff !important;
}

/* Light Background Section - Blue Text */
.featured-project-section .section-title-s3 span,
.featured-project-section .section-title-s3 .subtitle {
    color: #2a3b6e !important;
}

/* Ensure Core Business Areas (H2) matches Dedicated Team style */
.featured-project-section .section-title-s3 h2 {
    font-size: 38px !important;
    font-weight: 700 !important;
    color: #2a3b6e !important;
    margin: 0.1em 0 0 !important;
    text-transform: capitalize;
    /* s5 doesn't specify, but s3 might need it */
    text-align: center !important;
}

.featured-project-section .section-title-s3 p {
    color: #555555 !important;
    /* Dark grey for paragraph */
}

/* Network Slider Styles */
.network-slider .item {
    margin: 15px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.network-slider .item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.network-slider .img-holder {
    position: relative;
}

.network-slider .img-holder:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(42, 59, 110, 0.2);
    /* Light Blue Overlay */
    transition: background 0.3s ease;
    z-index: 1;
}

.network-slider .item:hover .img-holder:before {
    background: rgba(42, 59, 110, 0.1);
    /* Lighter on hover */
}

.network-slider .img-holder img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

.network-slider .details {
    padding: 20px;
    background: #fff;
    text-align: center;
    border-top: 1px solid #eee;
}

.network-slider .details h3 {
    font-size: 18px;
    margin: 0 0 5px;
    color: #1a1a1a;
    font-weight: 600;
}

.network-slider .details span {
    font-size: 14px;
    color: #2a3b6e;
    /* Theme Blue */
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Owl Nav Customization */
.network-slider .owl-nav button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: #fff !important;
    border-radius: 50%;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    color: #1a1a1a !important;
    font-size: 18px !important;
    line-height: 40px !important;
    transition: all 0.3s ease;
}

.network-slider .owl-nav button:hover {
    background: #fd5f17 !important;
    color: #fff !important;
}

.network-slider .owl-nav button.owl-prev {
    left: -20px;
}

.network-slider .owl-nav button.owl-next {
    right: -20px;
}

/* ========================================
 * NAVIGATION DISTRIBUTION (Desktop Only)
 * Equal spacing between logo, menu, and contact
 * ======================================== */
@media screen and (min-width: 992px) {

    /* Main container flexbox */
    .site-header .navigation>.container-fluid,
    .site-header .navigation>.container {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        float: none !important;
    }

    /* Logo section - prevent shrinking */
    .site-header .navbar-header {
        flex-shrink: 0 !important;
        float: none !important;
        margin: 0 !important;
    }

    /* Navigation holder - grow to fill space */
    .site-header #navbar {
        flex-grow: 1 !important;
        float: none !important;
        width: auto !important;
        margin: 0 40px !important;
        /* Spacing from logo and contact */
    }

    /* Navigation list - distribute items equally */
    .site-header #navbar>ul {
        display: flex !important;
        justify-content: space-between !important;
        width: 100% !important;
        float: none !important;
        margin: 0 !important;
    }

    .site-header #navbar>ul>li {
        float: none !important;
        flex-grow: 1 !important;
        text-align: center !important;
    }

    /* Contact section - prevent shrinking */
    .site-header .search-contact {
        flex-shrink: 0 !important;
        float: none !important;
        margin: 0 !important;
        position: static !important;
        /* Override absolute positioning if any */
    }
}

/* ========================================
 * ABOUT US OVERLAPPING IMAGES
 * ======================================== */
.about-n3-images {
    position: relative;
    height: 500px;
    /* Adjust based on image aspect ratios */
    margin-bottom: 30px;
    width: 100%;
}

.about-n3-images .img-back {
    position: absolute;
    top: 0;
    right: 0;
    width: 65%;
    height: auto;
    z-index: 1;
}

.about-n3-images .img-back img {
    border-radius: 10px;
    width: 100%;
    height: auto;
    object-fit: cover;
}

.about-n3-images .img-front {
    position: absolute;
    bottom: 50px;
    /* Leave space for video button if needed, or align with bottom */
    left: 0;
    width: 55%;
    height: auto;
    z-index: 2;
}

.about-n3-images .img-front img {
    border-radius: 10px;
    width: 100%;
    height: auto;
    object-fit: cover;
    border: 5px solid #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

/* Responsive Adjustments */
@media (max-width: 767px) {
    .about-n3-images {
        height: auto;
        margin-bottom: 20px;
    }

    .about-n3-images .img-back,
    .about-n3-images .img-front {
        position: static;
        width: 100%;
        margin-bottom: 15px;
    }

    .about-n3-images .img-front img {
        border: none;
        box-shadow: none;
    }
}

/* ========================================
 * REFINED ABOUT US LAYOUT (Reference Match)
 * ======================================== */
.about-n3-images {
    position: relative;
    height: 450px;
    /* Reduced height for tighter composition */
    margin-bottom: 0;
    width: 100%;
}

.about-n3-images .img-back {
    position: absolute;
    top: 0;
    right: 0;
    width: 75%;
    /* Larger back image */
    height: auto;
    z-index: 1;
}

.about-n3-images .img-back img {
    border-radius: 0;
    /* Reference has sharp edges or minimal radius */
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-n3-images .img-front {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50%;
    /* Front image covers about half */
    height: auto;
    z-index: 2;
    padding: 10px 10px 0 0;
    /* White space separation from back image */
    background-color: #fff;
    /* Creates the cut-out effect */
}

.about-n3-images .img-front img {
    border-radius: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    box-shadow: none;
    /* Reference allows clean cut */
}

/* Adjust video button to align or sit below */
.about-us-section .video-holder {
    margin-top: 20px;
    text-align: left;
}

/* ========================================
 * DUSTECH EXACT LAYOUT - PIXEL PERFECT REPLICATION
 * Left Image (Front Layer), Right Image (Back Layer)
 * ======================================== */
.custom-about-layout {
    position: relative;
    min-height: 540px;
    width: 100%;
    padding-bottom: 55px;
    perspective: 1500px;
    /* 3D perspective for depth */
}

/* Animated geometric accent - floating shape */
.custom-about-layout::before {
    content: "";
    position: absolute;
    top: -30px;
    right: 15%;
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, rgba(190, 10, 6, 0.08) 0%, rgba(42, 59, 110, 0.06) 100%);
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    z-index: 0;
    animation: float 6s ease-in-out infinite;
    backdrop-filter: blur(40px);
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(10deg);
    }
}

/* RIGHT IMAGE (TANKER) - BACK LAYER, RIGHT SIDE */
.custom-about-layout .img-back {
    position: absolute;
    top: 45px;
    right: 0;
    width: 72%;
    height: calc(100% - 100px);
    z-index: 1;
    overflow: visible;
    border-radius: 20px;
    transform-style: preserve-3d;
}

/* Decorative corner accent - top right */
.custom-about-layout .img-back::before {
    content: "";
    position: absolute;
    top: -8px;
    right: -8px;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #be0a06 0%, #a90906 100%);
    border-radius: 0 20px 0 20px;
    z-index: -1;
    opacity: 0.15;
    transform: translateZ(-10px);
}

/* Gradient overlay with brand colors */
.custom-about-layout .img-back::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg,
            rgba(42, 59, 110, 0.12) 0%,
            transparent 40%,
            rgba(190, 10, 6, 0.08) 100%);
    border-radius: 20px;
    z-index: 1;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.custom-about-layout .img-back:hover::after {
    opacity: 0.7;
}

.custom-about-layout .img-back img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    border-radius: 20px;
    box-shadow:
        0 15px 45px rgba(0, 0, 0, 0.15),
        0 40px 80px rgba(0, 0, 0, 0.1),
        0 5px 15px rgba(190, 10, 6, 0.05);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateZ(0);
}

.custom-about-layout .img-back:hover img {
    transform: scale(1.03) translateZ(20px) rotateY(2deg);
    box-shadow:
        0 25px 60px rgba(0, 0, 0, 0.2),
        0 60px 120px rgba(0, 0, 0, 0.15),
        0 10px 25px rgba(190, 10, 6, 0.1);
}

/* LEFT IMAGE (MANAGER) - FRONT LAYER, LEFT SIDE WITH ACCENT */
.custom-about-layout .img-front-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 58%;
    height: calc(100% - 55px);
    z-index: 2;
    transform: translateY(-20px) translateZ(30px);
    overflow: visible;
    border-radius: 20px;
    transform-style: preserve-3d;
}

/* Premium N3 red accent stripe with glow - REMOVED per user request */
/* .custom-about-layout .img-front-container::after {
    content: "";
    position: absolute;
    top: 0;
    right: -2px;
    width: 8px;
    height: 100%;
    background: linear-gradient(180deg, #be0a06 0%, #d41410 50%, #a90906 100%);
    border-radius: 0 20px 20px 0;
    z-index: 3;
    box-shadow: 0 0 20px rgba(190, 10, 6, 0.4);
    animation: pulse-glow 3s ease-in-out infinite;
} */

@keyframes pulse-glow {

    0%,
    100% {
        box-shadow: 0 0 20px rgba(190, 10, 6, 0.4);
    }

    50% {
        box-shadow: 0 0 30px rgba(190, 10, 6, 0.6);
    }
}

/* Decorative corner element - bottom left */
.custom-about-layout .img-front-container::before {
    content: "";
    position: absolute;
    bottom: -10px;
    left: -10px;
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, rgba(42, 59, 110, 0.2) 0%, transparent 100%);
    border-radius: 20px 0 0 0;
    z-index: 0;
    backdrop-filter: blur(10px);
}

.custom-about-layout .img-front-container img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    border-radius: 20px;
    border: 5px solid #fff;
    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.25),
        0 50px 100px rgba(0, 0, 0, 0.18),
        0 0 0 2px rgba(190, 10, 6, 0.12),
        inset 0 0 0 1px rgba(255, 255, 255, 0.5);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateZ(0);
}

.custom-about-layout .img-front-container:hover img {
    transform: scale(1.04) translateY(-5px) translateZ(40px) rotateY(-3deg);
    box-shadow:
        0 30px 70px rgba(0, 0, 0, 0.3),
        0 70px 140px rgba(0, 0, 0, 0.22),
        0 0 0 2px rgba(190, 10, 6, 0.25),
        inset 0 0 0 1px rgba(255, 255, 255, 0.8),
        0 0 80px rgba(190, 10, 6, 0.15);
}

/* PREMIUM VIDEO BUTTON - WORLD CLASS DESIGN */
.video-btn-orange {
    position: absolute;
    bottom: 10px;
    left: 10px;
    right: 10px;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    width: calc(100% - 20px);
    height: 60px;
    padding: 0 30px;
    background: linear-gradient(135deg, #be0a06 0%, #d41410 50%, #a90906 100%);
    color: #fff !important;
    font-size: 17px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-decoration: none !important;
    border-radius: 16px;
    box-shadow:
        0 8px 25px rgba(190, 10, 6, 0.35),
        0 15px 40px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateZ(0);
    overflow: hidden;
}

/* Animated shine effect */
.video-btn-orange::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.video-btn-orange:hover::before {
    left: 100%;
}

.video-btn-orange i {
    font-size: 24px;
    margin-right: 12px;
    color: #fff !important;
    transition: transform 0.3s ease;
}

/* Override the global red icon color for video button */
.video-btn-orange .fi:before,
.video-btn-orange i:before,
.video-btn-orange .flaticon-play-button:before {
    color: #fff !important;
}

.video-btn-orange:hover {
    background: linear-gradient(135deg, #a90906 0%, #be0a06 50%, #d41410 100%);
    transform: translateY(-3px) scale(1.02);
    box-shadow:
        0 12px 35px rgba(190, 10, 6, 0.45),
        0 25px 60px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    color: #fff !important;
}

.video-btn-orange:hover i {
    transform: scale(1.15);
}

/* RESPONSIVE - STACK ON MOBILE */
@media (max-width: 991px) {
    .custom-about-layout {
        min-height: auto;
        padding-bottom: 0;
        margin-top: 30px;
    }

    .custom-about-layout .img-back {
        position: relative;
        width: 100%;
        height: auto;
        margin-bottom: 20px;
    }

    .custom-about-layout .img-back img {
        height: auto;
    }

    .custom-about-layout .img-front-container {
        position: relative;
        width: 90%;
        height: auto;
        margin: 0 auto 15px;
        border-right: none;
    }

    .custom-about-layout .img-front-container img {
        height: auto;
    }

    .video-btn-orange {
        position: relative;
        height: auto;
        padding: 16px 20px;
    }
}

/* Navbar text visibility update */
.site-header #navbar>ul>li>a {
    font-weight: 700 !important;
    color: #ffffff !important;
    font-size: 18px !important;
}

/* ========================================
 * ABOUT SECTION ALIGNMENT FIX
 * Grid layout for Ticks
 * ======================================== */
.features-grid-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 20px;
    row-gap: 15px;
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
    width: 100%;
    float: none !important;
    /* Override previous float */
}

.features-grid-list li {
    display: flex;
    align-items: flex-start;
    color: #131e4a;
    /* Dark Blue Text */
    font-weight: 500;
    margin-bottom: 0 !important;
    /* Handled by row-gap */
}

.features-grid-list li i {
    color: #be0a06 !important;
    /* Red Tick */
    margin-right: 12px;
    margin-top: 5px;
    /* Visual alignment with text top */
    min-width: 16px;
    /* Prevent icon shrinking */
    flex-shrink: 0;
    font-weight: bold;
}

@media (max-width: 767px) {
    .features-grid-list {
        grid-template-columns: 1fr;
        /* Stack on mobile */
    }
}

/* ========================================
 * CEO SHOWCASE STYLING
 * Prominent and aesthetic styling for CEO image
 * ======================================== */
.ceo-showcase {
    background: #fff;
    padding: 20px;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-align: center;
    border: 1px solid rgba(68, 54, 97, 0.05);
    margin-top: 10px;
    position: relative;
    overflow: hidden;
}



.ceo-showcase:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(68, 54, 97, 0.15);
}

.ceo-showcase .img-holder {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 20px;
}

.ceo-showcase .img-holder::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(68, 54, 97, 0.1);
    pointer-events: none;
    z-index: 1;
}

.ceo-showcase .img-holder img {
    border-radius: 15px;
    width: 100%;
    display: block;
    transition: transform 0.5s ease;
}

.ceo-showcase:hover .img-holder img {
    transform: scale(1.03);
}

.ceo-showcase h3 {
    margin-top: 15px;
    margin-bottom: 10px;
    font-size: 24px;
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

/* Adjust Sr. Manager image positioning */
img[src*="sr.manager.webp"] {
    object-fit: cover;
    object-position: center top;
}

.ceo-showcase h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 3px;
    background: #be0a06;
    border-radius: 2px;
    transition: width 0.3s ease;
}

.ceo-showcase:hover h3::after {
    width: 80px;
}


/* ========================================
 * CEO MESSAGE CARD 2.0
 * Modern corporate layout for leadership message
 * ======================================== */
.about-us-section {
    background-color: #ffffff !important;
    position: relative;
}

.about-us-section::before,
.about-us-section::after {
    content: none;
}

.ceo-message-card {
    position: relative;
    display: flex;
    gap: 40px;
    padding: 48px;
    border-radius: 32px;
    background: #ffffff;
    box-shadow: 0 35px 70px rgba(11, 22, 54, 0.08);
    border: 1px solid rgba(15, 32, 96, 0.08);
    overflow: hidden;
    isolation: isolate;
}

.ceo-message-card::before,
.ceo-message-card::after {
    content: none;
}

.ceo-profile {
    flex: 0 0 360px;
    background: #f6f7fb;
    border-radius: 26px;
    padding: 32px 26px;
    text-align: center;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(15, 32, 96, 0.08);
    color: #0f2060;
}

.ceo-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 999px;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    background: rgba(15, 32, 96, 0.08);
    color: #0f2060;
    margin-bottom: 24px;
}

.ceo-badge::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: linear-gradient(135deg, #be0a06, #f2523e);
    display: inline-block;
}

.ceo-frame {
    position: relative;
    border-radius: 24px;
    padding: 6px;
    background: linear-gradient(135deg, #be0a06, #443661);
    overflow: hidden;
}

.ceo-portrait {
    position: relative;
    padding-top: 12px;
    margin-bottom: 24px;
}

.ceo-backdrop {
    position: absolute;
    inset: 0;
    transform: translate(16px, -16px);
    border-radius: 30px;
    background: radial-gradient(circle at 0% 0%, rgba(68, 54, 97, 0.15), transparent 60%);
    filter: blur(2px);
    z-index: 0;
}

.ceo-portrait .ceo-frame {
    position: relative;
    z-index: 1;
}

.ceo-frame::before {
    content: "";
    position: absolute;
    inset: 8px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    pointer-events: none;
    z-index: 2;
}

.ceo-stat-chip {
    position: absolute;
    bottom: -16px;
    right: 22px;
    padding: 12px 18px;
    background: #ffffff;
    border-radius: 18px;
    box-shadow: 0 25px 40px rgba(15, 32, 96, 0.15);
    text-align: left;
    min-width: 160px;
}

.ceo-stat-chip strong {
    display: block;
    font-size: 22px;
    color: #be0a06;
    margin-bottom: 4px;
}

.ceo-stat-chip span {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #142447;
    font-weight: 600;
}

.ceo-frame img {
    border-radius: 18px;
    width: 100%;
    height: 360px;
    display: block;
    object-fit: cover;
}

.profile-gradient {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(160deg, rgba(0, 0, 0, 0) 20%, rgba(0, 0, 0, 0.25));
    mix-blend-mode: multiply;
    pointer-events: none;
}

.ceo-meta {
    margin-top: 24px;
}

.ceo-name {
    font-size: 30px;
    font-weight: 700;
    color: #0f2060;
    margin-bottom: 6px;
}

.ceo-title {
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: #be0a06;
    font-weight: 600;
}

.ceo-highlight {
    margin-top: 26px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ceo-highlight span {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    border-radius: 16px;
    background: rgba(15, 32, 96, 0.05);
    color: #0f2060;
    font-weight: 600;
    font-size: 14px;
}

.ceo-highlight span::before {
    content: "";
    width: 18px;
    height: 18px;
    border-radius: 6px;
    border: 2px solid rgba(190, 10, 6, 0.25);
    background: rgba(190, 10, 6, 0.1);
}

.ceo-message-body {
    flex: 1;
    background: #ffffff;
    border-radius: 26px;
    padding: 36px 42px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(15, 32, 96, 0.06);
}

.ceo-message-body p {
    font-size: 17px;
    line-height: 1.85;
    color: #1d1d28;
    font-weight: 500;
}

.ceo-message-body p+p {
    margin-top: 18px;
}

.message-intro .tagline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    border-radius: 999px;
    background: rgba(15, 32, 96, 0.08);
    color: #0f2060;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.message-intro h3 {
    margin-top: 16px;
    font-size: 30px;
    line-height: 1.4;
    color: #0f2060;
    font-weight: 700;
}

.lede {
    font-size: 18px;
    color: #131e4a;
    font-weight: 600;
}

.message-quote {
    margin: 24px 0;
    padding: 22px 28px;
    border-left: 4px solid #be0a06;
    background: rgba(190, 10, 6, 0.04);
    border-radius: 18px;
    font-style: italic;
    color: #0f2060;
    font-weight: 600;
}

.ceo-pillars {
    display: none;
}

.motivation-points {
    margin: 28px 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
}

.motivation-points .point {
    border: 1px solid rgba(15, 32, 96, 0.08);
    border-radius: 18px;
    padding: 18px 20px;
    background: #f7f9ff;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.motivation-points .point h4 {
    font-size: 16px;
    color: #0f2060;
    margin-bottom: 8px;
}

.motivation-points .point p {
    font-size: 14px;
    color: #4a4a5c;
    margin: 0;
}

.ceo-signature {
    margin-top: 32px;
    display: flex;
    align-items: center;
    gap: 18px;
}

.signature-line {
    flex: 1;
    height: 2px;
    background: linear-gradient(90deg, rgba(190, 10, 6, 0.3), rgba(15, 32, 96, 0.3));
}

.ceo-signature .name {
    font-size: 18px;
    font-weight: 700;
    color: #0f2060;
    margin-bottom: 2px;
}

.ceo-signature span {
    font-size: 13px;
    color: #6b6b7c;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.ceo-cta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 35px;
}

.ceo-cta .theme-btn,
.ceo-cta .theme-btn-s3 {
    min-width: 180px;
    text-align: center;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.site-header #navbar>ul .sub-menu li:last-child a {
    border-bottom: none;
}

.vision-mission-page .intro-copy {
    text-align: center;
    max-width: 780px;
    margin: 0 auto 40px auto;
}

.vision-mission-page .intro-copy .badge-pill {
    display: inline-flex;
    padding: 6px 18px;
    border-radius: 999px;
    font-size: 12px;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-weight: 700;
    background: rgba(15, 32, 96, 0.08);
    color: #0f2060;
    margin-bottom: 16px;
}

.vision-mission-page .intro-copy h3 {
    font-size: 32px;
    color: #0f2060;
    margin-bottom: 16px;
}

.vision-mission-page .intro-copy p {
    color: #4a4a5c;
}

.vision-mission-grid {
    margin-top: 30px;
    margin-bottom: 20px;
}

.vm-card {
    background: #ffffff;
    padding: 28px;
    border-radius: 24px;
    border: 1px solid rgba(15, 32, 96, 0.08);
    box-shadow: 0 25px 65px rgba(11, 22, 54, 0.08);
    height: 100%;
}

.vm-card .label {
    display: inline-block;
    font-size: 14px;
    color: #be0a06;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.vm-card h4 {
    font-size: 22px;
    color: #0f2060;
    margin-bottom: 12px;
}

.vm-card p {
    color: #4a4a5c;
    line-height: 1.7;
}

.values-grid {
    margin-top: 40px;
}

.value-card {
    background: #f7f9ff;
    border-radius: 20px;
    padding: 24px;
    border: 1px solid rgba(15, 32, 96, 0.08);
    height: 100%;
}

.value-card span {
    display: inline-flex;
    width: 36px;
    height: 36px;
    border-radius: 12px;
    align-items: center;
    justify-content: center;
    background: rgba(190, 10, 6, 0.12);
    color: #be0a06;
    font-weight: 700;
    margin-bottom: 12px;
}

.value-card h5 {
    font-size: 16px;
    color: #0f2060;
    margin-bottom: 8px;
}

.value-card p {
    color: #4a4a5c;
    margin: 0;
}

.vision-cta {
    margin-top: 45px;
    text-align: center;
    background: linear-gradient(135deg, rgba(15, 32, 96, 0.08), rgba(190, 10, 6, 0.08));
    border-radius: 28px;
    padding: 32px 30px;
    border: 1px solid rgba(15, 32, 96, 0.08);
}

.vision-cta h4 {
    font-size: 24px;
    color: #0f2060;
    margin-bottom: 18px;
}

.vision-cta .btn-wrap {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

@media (max-width: 1199px) {
    .ceo-message-card {
        flex-direction: column;
        padding: 40px 32px;
    }

    .ceo-profile {
        flex-basis: auto;
    }

    .ceo-message-body {
        padding: 32px;
    }
}

@media (max-width: 767px) {
    .ceo-message-card {
        padding: 28px 22px;
        gap: 24px;
    }

    .ceo-message-body {
        padding: 26px;
    }

    .ceo-highlight span {
        font-size: 13px;
    }
}

/* ========================================
 * LEADERSHIP PHOTO STYLES
 * ======================================== */
.team-section .team-grids {
    display: flex !important;
    flex-wrap: nowrap !important;
    justify-content: center !important;
    gap: 20px !important;
}

.team-section .team-grids .grid {
    flex: 1 !important;
    min-width: 0 !important;
}

.team-section .team-grids .img-holder {
    border-radius: 10px;
    overflow: hidden;
    background-color: transparent;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.team-section .team-grids .img-holder img {
    border-radius: 10px;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    background: transparent;
    transition: all 0.3s ease;
}

.team-section .team-grids .grid:hover .img-holder {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.team-section .team-grids .grid:hover .img-holder img {
    transform: scale(1.02);
    /* Subtle zoom on hover */
}

/* ========================================
 * FEATURED PROJECT CARDS ALIGNMENT FIX
 * Equal height cards with proper styling
 * ======================================== */
.featured-project-section .project-grids .grid {
    min-height: 400px !important;
    display: flex !important;
    flex-direction: column !important;
    float: left !important;
    width: 25% !important;
}

.featured-project-section .project-grids .grid .overlay {
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    height: 100% !important;
    padding: 280px 60px 60px !important;
    position: relative !important;
    top: 0 !important;
}

.featured-project-section .project-grids .grid .overlay .count {
    display: block !important;
    margin-bottom: 20px !important;
}

.featured-project-section .project-grids .grid .overlay h3 {
    margin-bottom: 15px !important;
    flex-shrink: 0 !important;
}

.featured-project-section .project-grids .grid .overlay p {
    flex-grow: 1 !important;
    margin-bottom: 20px !important;
    padding-bottom: 0 !important;
}

.featured-project-section .project-grids .grid .overlay>a {
    margin-top: auto !important;
    top: 0 !important;
    position: relative !important;
}

.featured-project-section .project-grids .grid:hover .overlay {
    background-color: rgba(19, 30, 74, 0.9) !important;
    top: 0 !important;
}

@media (max-width: 1199px) {
    .featured-project-section .project-grids .grid {
        width: 50% !important;
        min-height: 380px !important;
    }
}

@media (max-width: 991px) {
    .featured-project-section .project-grids .grid {
        width: 100% !important;
        float: none !important;
        min-height: 350px !important;
    }

    .featured-project-section .project-grids .grid .overlay {
        padding: 80px 30px 50px !important;
    }
}

/* Hamburger menu button - match brand colors */
@media (max-width: 991px) {
    .site-header .navbar-header button {
        background-color: #be0a06 !important;
    }
}

/* Mobile navigation menu - make links visible */
@media (max-width: 991px) {
    .site-header #navbar {
        background: #131e4a !important;
    }

    .site-header #navbar ul a {
        color: #fff !important;
    }

    .site-header #navbar ul a:hover,
    .site-header #navbar ul li.current a {
        color: #be0a06 !important;
    }
}

/* Final robust fix for email overflow and overlap - target Home Page*/
@media (max-width: 1024px) {

    /* Fix for Home Page Leadership Section (index.html) */
    .team-grids .grid .details .email,
    .team-grids .grid .details .email a,
    .team-section .grid .details .email a {
        display: inline-block !important;
        width: 100% !important;
        white-space: normal !important;
        overflow-wrap: anywhere !important;
        word-wrap: break-word !important;
        word-break: break-all !important;
        font-size: 12px !important;
        line-height: 1.3 !important;
        overflow: visible !important;
        letter-spacing: -0.2px !important;
    }
}