/* Hero Slider Wrapper */
.main-hero-slider {
    position: relative;
    overflow: hidden;
    width: 100%;
}

#premiumHeroCarousel {
    position: relative;
    height: 80vh; /* Viewport height slider */
    min-height: 550px;
    background-color: #000;
}

/* Zoom effect on background image when active */
.carousel-item {
    height: 80vh;
    min-height: 550px;
    position: relative;
}

.slider-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transform: scale(1);
    transition: transform 6s ease-in-out;
}

/* Active slide background zoom effect triggers */
.carousel-item.active .slider-bg-image {
    transform: scale(1.1);
}

/* Dark professional overlay */
.slider-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.6) 100%);
    z-index: 1;
}

/* Caption Container Styling */
.carousel-caption-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    color: #fff;
}

/* Text Element Animations (Premium Layering) */
.animate-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.3s;
}

.animate-desc {
    font-size: 1.2rem;
    font-weight: 300;
    line-height: 1.6;
    margin-bottom: 30px;
    color: #f1f1f1;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.5s;
}

.animate-btn {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.7s;
}

/* Slide elements show state on active item */
.carousel-item.active .animate-title,
.carousel-item.active .animate-desc,
.carousel-item.active .animate-btn {
    opacity: 1;
    transform: translateY(0);
}

/* Modern Button Style */
.btn-slider-primary {
    background-color: #ff5e15; /* Aafno brand color sanga match garnus */
    color: #fff;
    padding: 12px 30px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    border-radius: 30px;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 94, 21, 0.4);
}

.btn-slider-primary:hover {
    background-color: transparent;
    border-color: #fff;
    color: #fff;
    box-shadow: none;
    transform: translateY(-2px);
}

.btn-slider-primary i {
    margin-left: 5px;
    transition: transform 0.2s ease;
}
.btn-slider-primary:hover i {
    transform: translateX(4px);
}

/* Custom Navigation Controls (Minimal & Elegant) */
.custom-carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 50%;
    color: #fff;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
    transition: all 0.3s ease;
    cursor: pointer;
}

.custom-carousel-control:hover {
    background-color: #ff5e15;
    border-color: #ff5e15;
    box-shadow: 0 0 15px rgba(255, 94, 21, 0.5);
}

.custom-carousel-control.prev { left: 30px; }
.custom-carousel-control.next { right: 30px; }

/* Custom Indicators (Elegant Dots) */
.carousel-indicators-custom {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 3;
}

.indicator-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.indicator-dot.active {
    background-color: #ff5e15;
    transform: scale(1.2);
    box-shadow: 0 0 8px #ff5e15;
}

/* Responsive fixes */
@media (max-width: 768px) {
    #premiumHeroCarousel, .carousel-item { height: 60vh; min-height: 400px; }
    .animate-title { font-size: 2.2rem; }
    .animate-desc { font-size: 1rem; }
    .custom-carousel-control { display: none; } /* Hide layout control elements on mobile mobile */
}

/* ==========================================================================
   Modern Construction Header Styles 
   ========================================================================== */

/* Top Info Bar */
.header-top-bar {
    background-color: #111111; /* Sleek dark theme */
    color: #bcbcbc;
    font-size: 0.85rem;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-bar-info span {
    margin-right: 20px;
    display: inline-block;
}

.top-bar-info i {
    color: #ffb400; /* Industrial Yellow / Construction Theme Color */
    margin-right: 6px;
}

.top-bar-social a {
    color: #bcbcbc;
    margin-left: 15px;
    transition: color 0.3s ease;
}

.top-bar-social a:hover {
    color: #ffb400;
}

/* Main Navbar Layout */
.main-navigation-bar {
    background-color: #ffffff !important;
    padding: 18px 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

/* Dynamic Text Logo Styling */
.logo-text {
    font-size: 1.8rem;
    font-weight: 800;
    color: #111;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.logo-text span {
    color: #ffb400;
}

/* WordPress Menu Links Formatting */
.main-nav-links .nav-item .nav-link {
    color: #111111 !important;
    font-size: 0.95rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 10px 18px !important;
    position: relative;
    transition: color 0.3s ease;
}

/* Hover Animated Underline */
.main-nav-links .nav-item .nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 3px;
    bottom: 0;
    left: 18px;
    background-color: #ffb400;
    transition: width 0.3s ease;
}

.main-nav-links .nav-item .nav-link:hover::after,
.main-nav-links .nav-item.active .nav-link::after {
    width: calc(100% - 36px);
}

.main-nav-links .nav-item .nav-link:hover {
    color: #ffb400 !important;
}

/* Premium Construction Call-To-Action Button */
.btn-header-quote {
    background-color: #ffb400;
    color: #111111;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 12px 26px;
    border-radius: 0px; /* Sharp industrial raw edges look premium */
    border: 2px solid #ffb400;
    box-shadow: 0 4px 15px rgba(255, 180, 0, 0.2);
    transition: all 0.3s ease;
}

.btn-header-quote:hover {
    background-color: #111111;
    border-color: #111111;
    color: #ffffff;
    box-shadow: none;
    transform: translateY(-2px);
}

.btn-header-quote i {
    margin-left: 5px;
    font-size: 0.8rem;
}

/* Custom Hamburger Icon for Mobile */
.custom-toggler {
    border: none;
    padding: 0;
}

.custom-toggler:focus {
    box-shadow: none;
}

.toggler-icon {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #111;
    margin: 5px 0;
    transition: all 0.3s ease;
}

/* Responsive Overrides */
@media (max-width: 991px) {
    .main-navigation-bar { padding: 12px 0; }
    .main-nav-links { padding: 15px 0; }
    .main-nav-links .nav-item .nav-link::after { display: none; }
    .header-action-btn { margin-top: 10px; }
    .btn-header-quote { display: inline-block; width: 100%; text-align: center; }
}

/* ==========================================================================
   WORDPRESS MENU ITEMS & NAVIGATION TABS CORRECTION STYLE
   ========================================================================== */

/* 1. Main Navigation Wrapper Container */
.main-nav-links {
    display: flex;
    align-items: center;
    gap: 10px; /* Menu tabs ko bich ma gapping rakheko */
    margin: 0;
    padding: 0;
    list-style: none;
}

/* 2. Style for each Menu Tab (li element) */
.main-nav-links li {
    position: relative;
    padding: 0;
    margin: 0;
}

/* 3. Style for Links inside Tabs (Home, About Us, etc.) */
.main-nav-links li a {
    display: block;
    color: #1a1a1a !important; /* Bold Dark Gray Text */
    font-size: 0.95rem;
    font-weight: 700; /* Bold typography for industrial theme */
    text-transform: uppercase; /* Elegant Capital Look */
    letter-spacing: 0.8px;
    padding: 22px 18px !important; /* Perfect clickable tap target size */
    text-decoration: none !important;
    position: relative;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* 4. Smooth Bottom Bar Animation Layer on Hover */
.main-nav-links li a::after {
    content: '';
    position: absolute;
    bottom: 12px; /* Bottom bhanda thora mathi border baseline */
    left: 18px;
    width: 0;
    height: 3px;
    background-color: #ffb400; /* Construction Corporate Yellow */
    transition: width 0.3s ease;
}

/* Hover or Active State logic */
.main-nav-links li:hover > a,
.main-nav-links li.current-menu-item > a,
.main-nav-links li.current-menu-ancestor > a {
    color: #ffb400 !important;
}

.main-nav-links li:hover > a::after,
.main-nav-links li.current-menu-item > a::after {
    width: calc(100% - 36px); /* Auto-adjust width according to text padding */
}

/* 5. Dropdown Menu Indicator Icon (Automatic dynamic arrow handle) */
.main-nav-links li.menu-item-has-children > a::shrink,
.main-nav-links li.dropdown > a::after {
    /* WordPress le standard array use garda dynamic arrow support ho */
}

/* 6. Dynamic Clean Sub-Menu Layout (WordPress .sub-menu container) */
.main-nav-links li ul.sub-menu,
.main-nav-links li .dropdown-menu {
    display: block;
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    background-color: #ffffff;
    min-width: 250px;
    padding: 15px 0;
    margin: 0;
    list-style: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border-top: 3px solid #ffb400; /* Top Orange accent row bar */
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Open Submenu on hover */
.main-nav-links li:hover > ul.sub-menu,
.main-nav-links li:hover > .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Submenu Items Styling */
.main-nav-links ul.sub-menu li a,
.main-nav-links .dropdown-menu li a {
    color: #333333 !important;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: capitalize; /* Normal format for subcategories */
    padding: 10px 24px !important;
    letter-spacing: 0px;
}

.main-nav-links ul.sub-menu li a::after,
.main-nav-links .dropdown-menu li a::after {
    display: none; /* Sub-menu bhitra main hover bar lai remove gareko */
}

/* Sub-menu Item Hover Effect */
.main-nav-links ul.sub-menu li a:hover,
.main-nav-links .dropdown-menu li a:hover {
    color: #ffb400 !important;
    background-color: #fafafa;
    padding-left: 30px !important; /* Text smoothly slides right */
}

/* 7. Mobile Responsive Adjustments (For Burger Toggle) */
@media (max-width: 991px) {
    .main-nav-links {
        display: block;
        width: 100%;
        padding: 15px 0;
    }
    
    .main-nav-links li a {
        padding: 12px 0 !important;
        border-bottom: 1px solid #f5f5f5;
    }
    
    .main-nav-links li a::after {
        display: none;
    }
    
    .main-nav-links li ul.sub-menu,
    .main-nav-links li .dropdown-menu {
        position: relative;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border-top: none;
        border-left: 2px solid #ffb400;
        padding-left: 15px;
        background: #fafafa;
        display: none; /* jQuery dropdown function toggle logic setup screen target */
    }
}


/* ==========================================================================
   About Company & Chairman Message Section Design
   ========================================================================== */

.about-chairman-section {
    padding: 100px 0;
    background-color: #ffffff;
    position: relative;
}

/* --- Left Column: About Company --- */
.tech-tagline-mini {
    font-size: 0.85rem;
    font-weight: 700;
    color: #ffb400; /* Industrial Yellow */
    letter-spacing: 2px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.tag-bar {
    display: inline-block;
    width: 30px;
    height: 2px;
    background-color: #ffb400;
    margin-right: 10px;
}

.section-main-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #0b132b; /* Deep Navy Blue */
    line-height: 1.2;
    margin-bottom: 25px;
}

.section-main-title span {
    color: #555555;
    font-size: 2.2rem;
    font-weight: 600;
}

.company-lead-text {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1a1a1a;
    line-height: 1.6;
    margin-bottom: 20px;
}

.company-body-text {
    font-size: 0.95rem;
    color: #64748b;
    line-height: 1.7;
    margin-bottom: 30px;
}

/* Stats Box Styling */
.stat-item-box {
    display: flex;
    align-items: center;
    background-color: #f8fafc;
    padding: 15px 20px;
    border-left: 3px solid #0b132b;
    transition: all 0.3s ease;
}

.stat-item-box:hover {
    background-color: #ffffff;
    border-left-color: #ffb400;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
}

.stat-icon {
    font-size: 1.5rem;
    color: #ffb400;
    margin-right: 15px;
}

.stat-text h5 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #0b132b;
    margin: 0;
}

.stat-text p {
    font-size: 0.85rem;
    color: #64748b;
    margin: 0;
}


/* --- Right Column: Premium Chairman Message Card --- */
.chairman-message-card {
    /* प्रिमियम र आधुनिक ३-लेयर लिनियर ग्रेडियन्ट */
    background: linear-gradient(135deg, #0b132b 0%, #1c2541 60%, #111a36 100%);
    padding: 45px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 45px rgba(11, 19, 43, 0.25); /* बक्सको स्याडो अझ सफ्ट र थामिने बनाइएको */
    border-bottom: 5px solid #ffb400; /* Signature Accent Line */
    z-index: 1;
}

/* प्रो-डिजाइनर टच: कार्डभित्र एउटा हल्का चमक (Light Reflection Effects) थप्न */
.chairman-message-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 180, 0, 0.06) 0%, rgba(255, 255, 255, 0) 70%);
    pointer-events: none;
    z-index: -1;
}

/* Subtle blueprint technical background grids */
.blueprint-overlay-indicator {
    position: absolute;
    top: 0;
    right: 0;
    width: 150px;
    height: 150px;
    background-image: linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 15px 15px;
    pointer-events: none;
}

.chairman-card-header {
    display: flex;
    align-items: center;
    gap: 25px;
    margin-bottom: 30px;
    position: relative;
    z-index: 2;
}

/* Chairman Circular Premium Border Image */
.chairman-image-wrapper {
    position: relative;
    width: 110px;
    height: 110px;
    flex-shrink: 0;
}

.chairman-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid #ffb400;
    padding: 4px;
    background-color: #0b132b;
}

.badge-icon {
    position: absolute;
    bottom: 0;
    right: 0;
    background-color: #ffb400;
    color: #0b132b;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    border: 2px solid #0b132b;
}

.tag-title-msg {
    font-size: 0.75rem;
    font-weight: 700;
    color: #ffb400;
    letter-spacing: 2px;
    margin-bottom: 5px;
}

.chairman-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 3px 0;
}

.chairman-designation {
    font-size: 0.85rem;
    color: #94a3b8;
    display: block;
}

/* Quote Layout Body */
.chairman-card-body {
    position: relative;
    z-index: 2;
    margin-bottom: 25px;
}

.chairman-quote {
    font-size: 1.05rem;
    font-style: italic;
    color: #e2e8f0;
    line-height: 1.7;
    font-weight: 400;
}

/* Footer & Digital Signature Look */
.chairman-card-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 20px;
    display: flex;
    justify-content: flex-end;
}

.signature-text {
    font-family: 'Brush Script MT', 'Dancing Script', cursive, sans-serif;
    font-size: 2.2rem;
    color: #ffb400;
    opacity: 0.8;
}

/* Responsive Adjustments */
@media (max-width: 767px) {
    .chairman-card-header {
        flex-direction: column;
        text-align: center;
    }
    .chairman-message-card {
        padding: 30px 20px;
    }
    .section-main-title {
        font-size: 2rem;
    }
}


/* ==========================================================================
   Modern Services "What We Offer" Section Style
   ========================================================================== */

.services-offer-section {
    padding: 100px 0;
    background-color: #f8fafc; /* Minimal Light Blue-Gray Background */
    position: relative;
}

/* Header Adjustments */
.services-main-title {
    font-size: 2.6rem;
    font-weight: 800;
    color: #0b132b; /* Corporate Deep Navy */
    line-height: 1.2;
    margin: 0;
}

.services-header-desc {
    font-size: 1.05rem;
    color: #64748b;
    line-height: 1.7;
    margin: 0;
    border-left: 3px solid #ffb400; /* Industrial Left Border Accent */
    padding-left: 20px;
}

/* 3. Modern Rectangle Box Structure */
.service-rectangle-box {
    background-color: #ffffff;
    padding: 30px 25px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    z-index: 1;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Icon Wrap Style */
.service-icon-wrap {
    font-size: 1.8rem;
    color: #0b132b;
    margin-bottom: 25px;
    transition: all 0.4s ease;
}

/* Heading inside Box */
.service-box-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #0b132b;
    line-height: 1.4;
    margin: 0 0 20px 0;
    transition: all 0.4s ease;
}

/* Arrow link indicator */
.arrow-indicator {
    font-size: 0.9rem;
    color: #94a3b8;
    transform: translateX(0);
    display: inline-block;
    transition: all 0.4s ease;
}

/* ==========================================================================
   Premium Hover Slide & Color Shift Engine
   ========================================================================== */

/* Corporate Yellow Slide Up Layer Effect */
.service-rectangle-box::before {
    content: '';
    position: absolute;
    bottom: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #ffb400; /* Engineering Accent Color */
    z-index: -1;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Hover Box Active Triggers */
.service-rectangle-box:hover {
    border-color: #ffb400;
    transform: translateY(-5px); /* Smooth Floating Effect */
    box-shadow: 0 15px 35px rgba(11, 19, 43, 0.1);
}

.service-rectangle-box:hover::before {
    bottom: 0; /* Layers upward cleanly */
}

/* Text & Icon color inversion on hover */
.service-rectangle-box:hover .service-icon-wrap,
.service-rectangle-box:hover .service-box-title {
    color: #0b132b; /* Keeps high contrast on yellow background */
}

.service-rectangle-box:hover .arrow-indicator {
    color: #0b132b;
    transform: translateX(6px); /* Arrow smoothly pushes right */
}

/* Bottom CTA Paragraph Text */
.service-footer-cta {
    font-size: 1rem;
    color: #64748b;
    margin: 0;
}

.service-footer-cta a {
    color: #0b132b;
    font-weight: 700;
    text-decoration: none;
    margin-left: 8px;
    border-bottom: 2px solid #ffb400;
    padding-bottom: 2px;
    transition: all 0.3s ease;
}

.service-footer-cta a:hover {
    color: #ffb400;
    border-bottom-color: #0b132b;
}

/* Responsive Grid Adaptations */
@media (max-width: 991px) {
    .services-main-title { font-size: 2.1rem; margin-bottom: 20px; }
    .services-header-desc { border-left: none; padding-left: 0; }
    .section-header-grid { text-align: left; }
    .service-rectangle-box { padding: 25px 20px; }
}


/* ==========================================================================
   Premium Counter Statistics Grid Section Style
   ========================================================================== */

.corporate-counter-section {
    padding: 80px 0;
    background-color: #ffffff;
    position: relative;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
    overflow: hidden;
}

/* Subtle Dotted Matrix Architecture Grid Overlay Background */
.counter-grid-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(#cbd5e1 1px, transparent 1px);
    background-size: 24px 24px;
    opacity: 0.3;
    pointer-events: none;
}

/* Flex Container Frame */
.stat-counter-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 15px;
    transition: transform 0.3s ease;
}

.stat-counter-item:hover {
    transform: translateY(-3px);
}

/* Large Counter Typography */
.stat-num-box {
    font-size: 4.2rem;
    font-weight: 800;
    color: #0b132b; /* Deep Corporate Navy */
    line-height: 1;
    letter-spacing: -2px;
    min-width: 110px; /* Number Box Width Uniformity */
}

/* Content block layout alignment */
.stat-content-box {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.stat-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #0b132b;
    margin: 0 0 6px 0;
    line-height: 1.3;
}

/* Screenshot standard colored line indicator block */
.stat-decor-line {
    display: block;
    width: 70px;
    height: 3px;
    background-color: #2ec4b6; /* Modern Tech Teal/Green Accent (Like the image) */
    margin-bottom: 8px;
    border-radius: 2px;
    transition: width 0.4s ease;
}

.stat-counter-item:hover .stat-decor-line {
    width: 100px; /* Line expands smoothly on mouse hover */
    background-color: #ffb400; /* Changes to Corporate Yellow on hover */
}

.stat-subtext {
    font-size: 0.85rem;
    color: #64748b;
    margin: 0;
    font-weight: 500;
}

/* Responsive Grid Adapters */
@media (max-width: 1199px) {
    .stat-num-box { font-size: 3.5rem; min-width: 90px; }
    .stat-title { font-size: 1rem; }
}

@media (max-width: 767px) {
    .corporate-counter-section { padding: 50px 0; }
    .stat-counter-item { 
        justify-content: center; 
        text-align: left;
        border-bottom: 1px dashed #e2e8f0;
        padding-bottom: 25px;
    }
    .col-md-6:last-child .stat-counter-item { border-bottom: none; }
}


/* ==========================================================================
   Premium Area of Expertise Section Style
   ========================================================================== */

.expertise-area-section {
    padding: 100px 0;
    background-color: #ffffff;
}

.expertise-main-title {
    font-size: 2.6rem;
    font-weight: 800;
    color: #0b132b;
    margin: 10px 0 15px 0;
}

.expertise-subtitle {
    font-size: 1.05rem;
    color: #64748b;
    line-height: 1.6;
}

/* 2. Modern Architectural Card Element */
.expertise-card {
    height: 400px;
    background-size: cover;
    background-position: center;
    position: relative;
    border-radius: 0px; /* Sharp corporate edges look more professional */
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 35px;
    z-index: 1;
    box-shadow: 0 10px 30px rgba(11, 19, 43, 0.05);
    transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Overlay Shader Engine */
.card-gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(11, 19, 43, 0) 20%, rgba(11, 19, 43, 0.85) 100%);
    z-index: -1;
    transition: all 0.5s ease;
}

/* Content Mechanics */
.expertise-content {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.expertise-num {
    font-size: 1.1rem;
    font-weight: 700;
    color: #ffffff;
    background-color: rgba(255, 255, 255, 0.15);
    padding: 6px 14px;
    backdrop-filter: blur(5px);
    border-left: 3px solid #ffb400; /* Yellow Accent Flag */
    display: inline-block;
}

.expertise-card-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
    line-height: 1.3;
    transition: transform 0.4s ease;
}

/* Hidden Reveal Mechanism */
.expertise-hover-reveal {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.explore-link {
    font-size: 0.9rem;
    font-weight: 600;
    color: #ffb400; /* Corporate Accent Yellow */
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 15px;
}

.explore-link i {
    transition: transform 0.3s ease;
}

/* ==========================================================================
   Micro-Animations on Hover Triggers
   ========================================================================== */

.expertise-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(11, 19, 43, 0.25);
}

/* Zoom Image Effect via Background sizing transition trick */
.expertise-card:hover .card-gradient-overlay {
    background: linear-gradient(to bottom, rgba(11, 19, 43, 0.3) 0%, rgba(11, 19, 43, 0.95) 100%);
}

/* Sliding text mechanism */
.expertise-card:hover .expertise-hover-reveal {
    max-height: 50px;
    opacity: 1;
}

.expertise-card:hover .explore-link i {
    transform: translateX(6px);
}

/* Responsive Structural Fixes */
@media (max-width: 767px) {
    .expertise-card { height: 320px; padding: 25px; }
    .expertise-card-title { font-size: 1.3rem; }
}



/* ==========================================================================
   Premium Infinite Client Logo Slider Style
   ========================================================================== */

.our-clients-section {
    padding: 80px 0;
    background-color: #f8fafc; /* Minimal Light Gray Background */
    border-top: 1px solid #e2e8f0;
    overflow: hidden;
}

.clients-main-title {
    font-size: 2.4rem;
    font-weight: 800;
    color: #0b132b;
    margin: 10px 0 12px 0;
}

.clients-subtitle {
    font-size: 1rem;
    color: #64748b;
    margin: 0;
}

/* 2. Slider Frame & Track Configuration */
.clients-carousel-wrapper {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 20px 0;
}

/* Smooth left-right fade shaders overlay to look premium */
.clients-carousel-wrapper::before,
.clients-carousel-wrapper::after {
    content: "";
    height: 100%;
    position: absolute;
    width: 150px;
    z-index: 2;
    pointer-events: none;
}
.clients-carousel-wrapper::before {
    top: 0; left: 0;
    background: linear-gradient(to right, #f8fafc 0%, rgba(248, 250, 252, 0) 100%);
}
.clients-carousel-wrapper::after {
    top: 0; right: 0;
    background: linear-gradient(to left, #f8fafc 0%, rgba(248, 250, 252, 0) 100%);
}

/* Flex Track executing CSS marquee animation */
.clients-carousel-track {
    display: flex;
    width: calc(250px * 14); /* Dynamic calculated track length */
    animation: infiniteLogoScroll 25s linear infinite; /* Non-stop looping */
}

/* JavaScript नलगाई CSS बाटै निरन्तर घुम्ने एनिमेसन इन्जिन */
@keyframes infiniteLogoScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-250px * 7)); } /* Exactly halves the duplicated set */
}

/* Pause scroll when a visitor hovers mouse over logos */
.clients-carousel-wrapper:hover .clients-carousel-track {
    animation-play-state: paused;
}

/* 3. Sleek Client Logo Card Structure */
.client-logo-card {
    width: 220px;
    height: 220px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    margin: 0 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    position: relative;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.logo-img-box {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.client-logo-img {
    max-width: 100%;
    max-height: 800px;
    object-fit: contain;
    filter: grayscale(-100%); /* Keeps logos cleanly grayscale for minimalist professional look */
    opacity: 0.6;
    transition: all 0.3s ease;
}

/* Micro Text that floats underneath the logo grid link */
.client-hover-name {
    position: absolute;
    bottom: 5px;
    font-size: 0.75rem;
    font-weight: 700;
    color: #ffb400;
    opacity: 0;
    transform: translateY(5px);
    transition: all 0.3s ease;
    text-align: center;
    width: 90%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Interactive Hover Trigger overrides */
.client-logo-card:hover {
    border-color: #ffb400;
    box-shadow: 0 10px 25px rgba(11, 19, 43, 0.08);
    transform: translateY(-4px);
}

.client-logo-card:hover .client-logo-img {
    filter: grayscale(0%); /* Returns original colorful logo design upon focus */
    opacity: 1;
    transform: scale(1.04) translateY(-6px);
}

.client-logo-card:hover .client-hover-name {
    opacity: 1;
    transform: translateY(0);
}

/* Mobile responsive fixes */
@media (max-width: 767px) {
    .clients-main-title { font-size: 1.9rem; }
    .clients-carousel-wrapper::before, .clients-carousel-wrapper::after { width: 50px; }
}


/* ==========================================================================
   Modern & Attractive Latest News Section Style
   ========================================================================== */

.latest-news-section {
    padding: 100px 0 120px 0; /* Extra bottom padding as this is the last section */
    background-color: #ffffff;
    position: relative;
}

.news-main-title {
    font-size: 2.6rem;
    font-weight: 800;
    color: #0b132b;
    margin: 10px 0 0 0;
}

/* Premium Outer Border Button */
.btn-premium-blank {
    display: inline-block;
    padding: 12px 28px;
    border: 2px solid #0b132b;
    color: #0b132b;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.4s ease;
}

.btn-premium-blank:hover {
    background-color: #0b132b;
    color: #ffffff;
}

/* 3. Modern News Card Structure */
.modern-news-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
}

/* Image Context Wrapping */
.news-image-wrap {
    position: relative;
    width: 100%;
    height: 240px;
    overflow: hidden;
}

.news-core-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Architectural Date Badge Style */
.news-date-badge {
    position: absolute;
    bottom: 0;
    left: 20px;
    background-color: #ffb400; /* Corporate Yellow Accent */
    color: #0b132b;
    padding: 10px 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    line-height: 1;
    z-index: 2;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.badge-day { font-size: 1.4rem; }
.badge-month { font-size: 0.75rem; text-transform: uppercase; margin-top: 2px; letter-spacing: 0.5px; }

/* Body Content Formatting */
.news-body-content {
    padding: 30px 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.news-category-tag {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #64748b;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.news-card-title {
    font-size: 1.3rem;
    font-weight: 700;
    line-height: 1.4;
    margin: 0 0 15px 0;
}

.news-card-title a {
    color: #0b132b;
    text-decoration: none;
    transition: color 0.3s ease;
}

.news-card-title a:hover {
    color: #ffb400;
}

.news-excerpt-text {
    font-size: 0.95rem;
    color: #64748b;
    line-height: 1.6;
    margin: 0 0 20px 0;
}

/* Footer Link Trigger */
.news-card-footer {
    margin-top: auto; /* Pushes to bottom uniform line grid */
    padding-top: 15px;
    border-top: 1px solid #f1f5f9;
}

.news-readmore-link {
    font-size: 0.85rem;
    font-weight: 700;
    color: #0b132b;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: gap 0.3s ease, color 0.3s ease;
}

.news-readmore-link i {
    font-size: 0.75rem;
}

/* ==========================================================================
   Micro Animations on Hover
   ========================================================================== */

.modern-news-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(11, 19, 43, 0.08);
    border-color: #cbd5e1;
}

.modern-news-card:hover .news-core-img {
    transform: scale(1.06); /* Image zooms beautifully inside its bounds */
}

.modern-news-card:hover .news-readmore-link {
    color: #ffb400;
    gap: 10px; /* Small chevron arrow bounces right */
}

/* Responsive Scaling */
@media (max-width: 767px) {
    .news-main-title { font-size: 2rem; }
    .news-header-row { text-align: left; }
    .news-body-content { padding: 25px 20px; }
}



/* ==========================================================================
   Pro Frontend Developer Corporate Footer Style
   ========================================================================== */

.corporate-premium-footer {
    background-color: #0b132b; /* Deep Premium Navy */
    color: #94a3b8; /* Soft readable text */
    position: relative;
    font-family: sans-serif;
}

/* Industrial Top Accent Strip */
.footer-top-accent-bar {
    width: 100%;
    height: 5px;
    background: linear-gradient(to right, #ffb400, #2ec4b6); /* Yellow to Teal Premium Transition */
}

.footer-main-content {
    padding: 90px 0 60px 0;
}

/* 2. Widget Typographies */
.footer-brand-title {
    font-size: 1.8rem;
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 20px 0;
    letter-spacing: -0.5px;
}

.footer-about-para {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #94a3b8;
    margin-bottom: 25px;
}

.footer-widget-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 25px 0;
    position: relative;
    padding-bottom: 10px;
}

/* Underline Indicator for Titles */
.footer-widget-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 35px;
    height: 3px;
    background-color: #ffb400; /* Signature Accent Yellow */
}

/* 3. Link Lists and Hover Interaction Engine */
.footer-links-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links-list li {
    margin-bottom: 14px;
}

.footer-links-list li a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.95rem;
    display: inline-block;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Elegant sliding link on hover */
.footer-links-list li a:hover {
    color: #ffffff;
    transform: translateX(6px);
}

.footer-links-list li a::before {
    content: '→';
    margin-right: 8px;
    color: #ffb400;
    opacity: 0;
    display: inline-block;
    transform: translateX(-8px);
    transition: all 0.3s ease;
}

.footer-links-list li a:hover::before {
    opacity: 1;
    transform: translateX(0);
}

/* 4. Official Address Layout Cards */
.footer-contact-cards {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact-cards li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 18px;
    font-size: 0.95rem;
    line-height: 1.5;
}

.footer-contact-cards li i {
    color: #ffb400;
    font-size: 1.1rem;
    margin-top: 3px;
}

/* 5. Social Icon Channels */
.footer-social-connect {
    display: flex;
    gap: 12px;
}

.footer-social-connect a {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 1rem;
    border-radius: 0px;
    transition: all 0.3s ease;
}

.footer-social-connect a:hover {
    background-color: #ffb400;
    color: #0b132b;
    transform: translateY(-3px);
}

/* ==========================================================================
   Socket Bar & Sigma Group Developer Badge
   ========================================================================== */

.footer-socket-bar {
    background-color: #060b1a; /* Even Darker Navy for Contrast */
    padding: 25px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.copyright-txt, .developer-credit-txt {
    font-size: 0.88rem;
    color: #64748b;
    margin: 0;
}

.copyright-txt strong {
    color: #cbd5e1;
}

/* Sigma Group Highlight Link */
.developer-credit-txt a {
    color: #2ec4b6; /* Cyber Teal Color for Developer Credential */
    font-weight: 700;
    text-decoration: none;
    border-bottom: 1px dashed transparent;
    transition: all 0.3s ease;
}

.developer-credit-txt a:hover {
    color: #ffb400; /* Shifts to brand yellow */
    border-bottom-color: #ffb400;
}

/* Responsive Fixes */
@media (max-width: 991px) {
    .footer-main-content { padding: 60px 0 30px 0; }
    .footer-widget-block { margin-bottom: 20px; }
}

/* ==========================================================================
   Premium Single.php Layout Style
   ========================================================================== */

/* 1. Hero Header Banner */
.single-post-hero {
    padding: 120px 0 100px 0;
    background-size: cover;
    background-position: center;
    color: #ffffff;
    position: relative;
}

.single-post-cat a {
    background-color: #ffb400; /* Signature Yellow Accent */
    color: #0b132b;
    padding: 6px 16px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: 1px;
    display: inline-block;
    margin-bottom: 20px;
}

.single-post-title {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 25px;
    letter-spacing: -1px;
}

.single-post-meta {
    display: flex;
    justify-content: center;
    gap: 25px;
    font-size: 0.9rem;
    color: #cbd5e1;
}

.single-post-meta .meta-item i {
    color: #ffb400;
    margin-right: 6px;
}

/* 2. Main Article Body Typography Engine */
.single-post-body-layout {
    padding: 80px 0;
    background-color: #ffffff;
}

.single-article-container {
    background: #ffffff;
}

/* WYSIWYG Content Overrides (Wordpress default rendering tags) */
.single-entry-content {
    font-size: 1.15rem;
    line-height: 1.8;
    color: #334155; /* High contrast but smooth slate color */
}

.single-entry-content p {
    margin-bottom: 25px;
}

.single-entry-content h2, .single-entry-content h3 {
    color: #0b132b;
    font-weight: 800;
    margin: 40px 0 20px 0;
}

.single-entry-content img {
    max-width: 100%;
    height: auto;
    margin: 20px 0;
    border-radius: 4px;
}

/* Blockquote Style (उद्धरण चिन्ह बक्स) */
.single-entry-content blockquote {
    background-color: #f8fafc;
    border-left: 4px solid #2ec4b6; /* Teal border accent */
    padding: 25px 30px;
    margin: 35px 0;
    font-style: italic;
    font-size: 1.25rem;
    color: #0b132b;
}

/* 3. Tags and Social Box */
.single-post-tags {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #e2e8f0;
}

.tags-title {
    font-weight: 700;
    color: #0b132b;
    margin-right: 10px;
}

.single-post-tags a {
    background: #f1f5f9;
    color: #64748b;
    padding: 4px 12px;
    font-size: 0.85rem;
    text-decoration: none;
    transition: all 0.3s;
}

.single-post-tags a:hover {
    background: #0b132b;
    color: #ffffff;
}

/* Social Box Styles */
.post-share-box {
    background: #f8fafc;
    padding: 25px;
    margin-top: 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 1px solid #e2e8f0;
}

.share-title { font-size: 1rem; font-weight: 700; color: #0b132b; margin: 0; }
.share-social-links { display: flex; gap: 10px; }
.share-social-links a {
    padding: 8px 18px;
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
}
.share-fb { background: #1877f2; }
.share-ln { background: #0a66c2; }

/* 4. Paddle Post Navigation Buttons */
.post-navigation-paddles {
    margin-top: 40px;
    padding: 30px 0;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
}

.post-navigation-paddles a {
    text-decoration: none;
    display: block;
}

.nav-label {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    color: #64748b;
    font-weight: 700;
    margin-bottom: 5px;
}

.nav-title {
    display: block;
    font-size: 1rem;
    font-weight: 700;
    color: #0b132b;
    transition: color 0.3s;
}

.post-navigation-paddles a:hover .nav-title { color: #ffb400; }

/* ==========================================================================
   Smart Dynamic Sidebar Widget Boxes
   ========================================================================== */

.single-sidebar-sticky {
    position: -webkit-sticky;
    position: sticky;
    top: 40px; /* Scrolls elegantly along with content */
}

.sidebar-widget-box {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    padding: 30px;
    margin-bottom: 35px;
}

.widget-box-title {
    font-size: 1.2rem;
    font-weight: 800;
    color: #0b132b;
    margin: 0 0 25px 0;
    position: relative;
    padding-bottom: 10px;
}

.widget-box-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background-color: #ffb400;
}

/* Recent Posts widget layout styles */
.sidebar-recent-posts { list-style: none; padding: 0; margin: 0; }
.sidebar-recent-posts li {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    align-items: center;
}

.widget-thumb-wrap { width: 70px; height: 70px; flex-shrink: 0; overflow: hidden; }
.widget-thumb-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.widget-thumb-wrap:hover img { transform: scale(1.1); }

.widget-post-date { font-size: 0.75rem; color: #64748b; font-weight: 600; display: block; margin-bottom: 4px; }
.widget-post-title { font-size: 0.95rem; font-weight: 700; line-height: 1.4; margin: 0; }
.widget-post-title a { color: #0b132b; text-decoration: none; transition: color 0.3s; }
.widget-post-title a:hover { color: #ffb400; }

/* Category Widget list styling */
.sidebar-cat-list { list-style: none; padding: 0; margin: 0; }
.sidebar-cat-list li {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px dashed #e2e8f0;
    font-size: 0.95rem;
    font-weight: 600;
}

.sidebar-cat-list li a { color: #334155; text-decoration: none; transition: color 0.3s; }
.sidebar-cat-list li a:hover { color: #ffb400; }

/* Responsive adjustments */
@media (max-width: 991px) {
    .single-post-title { font-size: 2.2rem; }
    .single-post-hero { padding: 80px 0; }
    .post-share-box { flex-direction: column; gap: 15px; align-items: flex-start; }
}



/* ==========================================================================
   Premium Multi-purpose Page.php Style Sheet
   ========================================================================== */

/* 1. Page Title Hero Header Banner */
.premium-page-banner {
    background-color: #0b132b; /* Deep Corporate Navy Theme */
    padding: 70px 0;
    position: relative;
    border-bottom: 3px solid #ffb400; /* Yellow bottom accent underline */
    overflow: hidden;
}

/* Structural diagonal vector overlay */
.banner-grid-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 20px 20px;
    pointer-events: none;
}

.page-main-title {
    font-size: 2.3rem;
    font-weight: 800;
    color: #ffffff;
    margin: 0;
    letter-spacing: -0.5px;
}

/* Breadcrumb Navigation Trail */
.custom-breadcrumb-trail {
    font-size: 0.9rem;
    font-weight: 600;
    color: #94a3b8;
}

.custom-breadcrumb-trail a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.3s ease;
}

.custom-breadcrumb-trail a:hover {
    color: #ffb400;
}

.trail-separator {
    font-size: 0.7rem;
    margin: 0 10px;
    color: #64748b;
}

.trail-current {
    color: #ffb400; /* Current active label highlighted in gold */
}

/* 2. Core Inner Layout Padding System */
.premium-page-wrapper-content {
    padding: 90px 0;
    background-color: #ffffff;
    min-height: 450px; /* Screen failsafe spacing layout */
}

.master-page-article-box {
    background: #ffffff;
}

.page-core-hero-thumb {
    width: 100%;
    max-height: 480px;
    object-fit: cover;
    box-shadow: 0 15px 35px rgba(11, 19, 43, 0.06);
}

/* 3. Global Text Formatting Tags (Highly adaptive for Gutenberg / Elementor blocks) */
.page-main-entry-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #334155;
}

.page-main-entry-content p {
    margin-bottom: 25px;
}

.page-main-entry-content h2 {
    font-size: 1.8rem;
    font-weight: 800;
    color: #0b132b;
    margin: 40px 0 20px 0;
}

.page-main-entry-content h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #0b132b;
    margin: 30px 0 15px 0;
}

/* Bullet list standard configuration for standard inner pages */
.page-main-entry-content ul, .page-main-entry-content ol {
    margin-bottom: 25px;
    padding-left: 20px;
}

.page-main-entry-content li {
    margin-bottom: 10px;
}

/* Tables Styling Inside WordPress Content (e.g., Rates, Tenders info tables) */
.page-main-entry-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 30px 0;
    font-size: 1rem;
}

.page-main-entry-content th, .page-main-entry-content td {
    border: 1px solid #e2e8f0;
    padding: 12px 15px;
    text-align: left;
}

.page-main-entry-content th {
    background-color: #0b132b;
    color: #ffffff;
    font-weight: 700;
}

.page-main-entry-content tr:nth-child(even) {
    background-color: #f8fafc;
}

/* Responsive UI scaling adjustments */
@media (max-width: 991px) {
    .premium-page-banner { padding: 50px 0; }
    .page-main-title { font-size: 1.9rem; }
    .premium-page-wrapper-content { padding: 60px 0; }
}
/* ==========================================================================
   Premium Category.php / Archive Layout Style
   ========================================================================== */

.category-archive-banner {
    background-color: #0b132b; /* Deep Corporate Navy */
    padding: 80px 0;
    position: relative;
    border-bottom: 3px solid #ffb400;
    overflow: hidden;
}

.category-main-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #ffffff;
    margin: 5px 0 0 0;
    letter-spacing: -0.5px;
}

.category-description-text {
    color: #94a3b8;
    font-size: 1rem;
    max-width: 600px;
    line-height: 1.5;
}

.category-body-layout {
    padding: 80px 0;
    background-color: #ffffff;
}

/* 3. Premium WordPress Pagination Styling */
.theme-custom-pagination ul.page-numbers {
    display: flex;
    justify-content: center;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 8px;
}

.theme-custom-pagination ul.page-numbers li a,
.theme-custom-pagination ul.page-numbers li span.current {
    display: inline-block;
    padding: 10px 20px;
    border: 1px solid #e2e8f0;
    color: #0b132b;
    font-weight: 700;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.theme-custom-pagination ul.page-numbers li span.current,
.theme-custom-pagination ul.page-numbers li a:hover {
    background-color: #0b132b;
    border-color: #0b132b;
    color: #ffffff;
}

.theme-custom-pagination ul.page-numbers li span.dots {
    padding: 10px 15px;
    color: #64748b;
}

/* WordPress Default Search Form Fix inside Sidebar */
.sidebar-search-wrapper form {
    display: flex;
    width: 100%;
}

.sidebar-search-wrapper input[type="search"] {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #e2e8f0;
    font-size: 0.95rem;
    outline: none;
}

.sidebar-search-wrapper input[type="submit"] {
    background-color: #0b132b;
    color: #ffffff;
    border: none;
    padding: 0 20px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.3s;
}

.sidebar-search-wrapper input[type="submit"]:hover {
    background-color: #ffb400;
    color: #0b132b;
}

/* Mobile Responsive Adjustments */
@media (max-width: 767px) {
    .category-main-title { font-size: 2rem; }
    .category-archive-banner { padding: 50px 0; }
}
/* ==========================================================================
   Premium Project Gallery with Description Card Styles
   ========================================================================== */

/* ==========================================================================
   Fixed & Enhanced CPT Gallery Layout Styles
   ========================================================================== */

/* ==========================================================================
   Fully Responsive CPT Gallery Layout Styles
   ========================================================================== */

.premium-gallery-section {
    background-color: #f8fafc !important;
    padding: 60px 0 !important;
}

/* 1. Base Flexbox Card Structure */
.modern-gallery-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 15px rgba(11, 19, 43, 0.03);
    display: flex;
    flex-direction: column;
    width: 100%;
    transition: all 0.3s ease-in-out;
}

.modern-gallery-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 15px 30px rgba(11, 19, 43, 0.08);
    border-color: #ffb400;
}

.gallery-media-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 11;
    overflow: hidden;
    background-color: #0b132b;
}

.gallery-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

/* 2. Overlay Elements & Touch Fallback */
.gallery-image-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-color: rgba(11, 19, 43, 0.65);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
}

.gallery-lightbox-btn {
    width: 45px;
    height: 45px;
    background-color: #ffb400;
    color: #0b132b !important;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    text-decoration: none;
    transform: scale(0.8);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Desktop Hover Triggers */
@media (min-width: 992px) {
    .modern-gallery-card:hover .gallery-card-img { transform: scale(1.06); }
    .modern-gallery-card:hover .gallery-image-overlay { opacity: 1; }
    .modern-gallery-card:hover .gallery-lightbox-btn { transform: scale(1); }
}

/* 3. Typography & Info Content */
.gallery-info-content {
    padding: 22px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.gallery-meta-tag {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #2ec4b6;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}

.gallery-card-title {
    font-size: 1.2rem;
    font-weight: 800;
    color: #0b132b;
    margin: 0 0 10px 0;
    line-height: 1.4;
}

.gallery-card-desc, .gallery-card-desc p {
    font-size: 0.9rem;
    color: #64748b;
    line-height: 1.6;
    margin: 0;
}

/* ==========================================================================
   Responsive Media Queries Breakdown
   ========================================================================== */

/* Tablet & Mobile Tweaks */
@media (max-width: 991px) {
    .premium-gallery-section {
        padding: 40px 0 !important;
    }
    .gallery-info-content {
        padding: 18px; /* Mobile मा भित्री ग्यापिङ अलि सानो बनाएको */
    }
    .gallery-card-title {
        font-size: 1.1rem; /* Adjust heading scale */
    }
    /* Mobile/Tablet मा होभर नहुने हुनाले लाइटबक्स आइकन सधैँ हल्का देखिने बनाइएको */
    .gallery-image-overlay {
        opacity: 1;
        background-color: transparent;
        justify-content: flex-end;
        align-items: flex-start;
        padding: 10px;
        pointer-events: none; /* Allows tapping the image normally */
    }
    .gallery-lightbox-btn {
        width: 36px;
        height: 36px;
        font-size: 0.9rem;
        transform: scale(1) !important;
        pointer-events: auto; /* Re-enables tap click functionality for icon */
        box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    }
}

/* Extra Small Smartphones Specifics */
@media (max-width: 575px) {
    .page-main-title {
        font-size: 1.8rem !important; /* Reduces large banners text size */
    }
    .gallery-card-title {
        font-size: 1.05rem;
    }
    .gallery-card-desc, .gallery-card-desc p {
        font-size: 0.85rem;
    }
}
/* ==========================================================================
   Premium Search Results Page Styles
   ========================================================================== */

.premium-search-section {
    background-color: #f8fafc;
}

.search-keyword {
    color: #ffb400; /* Highlights searched keyword in Yellow */
    font-weight: 700;
}

/* 1. Search Result Card Structure */
.search-result-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 12px rgba(11, 19, 43, 0.02);
    transition: all 0.3s ease;
    overflow: hidden;
}

.search-result-card:hover {
    transform: translateX(5px); /* Gentle slide effect on hover */
    border-color: #ffb400;
    box-shadow: 0 10px 25px rgba(11, 19, 43, 0.06);
}

/* 2. Thumbnail Layout Fix */
.search-post-thumb {
    width: 150px;
    min-width: 150px;
    height: 100%;
    overflow: hidden;
    align-self: stretch;
}

.search-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.search-result-card:hover .search-img {
    transform: scale(1.08);
}

/* 3. Text Elements Styling */
.search-post-type-tag {
    font-size: 0.7rem;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1px;
    background-color: #e2e8f0;
    color: #475569;
    padding: 3px 8px;
    border-radius: 3px;
}

.search-item-title a {
    color: #0b132b;
    text-decoration: none;
    font-weight: 700;
    transition: color 0.2s ease;
}

.search-item-title a:hover {
    color: #ffb400;
}

.search-item-excerpt {
    font-size: 0.92rem;
    line-height: 1.5;
}

/* Action Arrow Trigger */
.search-view-link {
    width: 40px;
    height: 40px;
    border: 1px solid #e2e8f0;
    color: #0b132b;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
}

.search-result-card:hover .search-view-link {
    background-color: #ffb400;
    border-color: #ffb400;
    color: #0b132b;
}

/* 4. No Results Block design */
.no-results-box {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 10px 30px rgba(100,116,139,0.05);
}

/* 5. Pagination Styling Bridge */
.custom-pagination ul {
    display: inline-flex;
    padding-left: 0;
    list-style: none;
}

.custom-pagination ul li a, 
.custom-pagination ul li span.current {
    padding: 10px 18px;
    border: 1px solid #e2e8f0;
    color: #0b132b;
    text-decoration: none;
    margin: 0 3px;
    font-weight: 600;
}

.custom-pagination ul li span.current {
    background-color: #0b132b;
    color: #ffffff;
    border-color: #0b132b;
}

.custom-pagination ul li a:hover {
    background-color: #ffb400;
    border-color: #ffb400;
    color: #0b132b;
}

/* ==========================================================================
   Premium Single Project Detailed View Styles
   ========================================================================== */

.project-details-main-section {
    background-color: #f8fafc;
}

/* 1. Image Frame Styles */
.project-showcase-frame {
    width: 100%;
    overflow: hidden;
    border-radius: 8px;
}
.project-showcase-frame img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 8px;
}

/* 2. Text Content Styling */
.section-sub-heading-prime {
    color: #0b132b;
    font-weight: 800;
    font-size: 1.8rem;
    position: relative;
    padding-left: 15px;
}
.section-sub-heading-prime::before {
    content: '';
    position: absolute;
    left: 0; top: 15%; width: 5px; height: 70%;
    background-color: #ffb400;
}
.content-text-flow {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #475569;
}

/* 3. Features Checkbox Specification Box */
.project-features-spec-box {
    background-color: #ffffff;
    border-left: 5px solid #2ec4b6;
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
}
.feature-box-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #0b132b;
}
.feature-spec-list li {
    list-style: none;
    font-size: 0.95rem;
    color: #475569;
    margin-bottom: 12px;
}
.feature-spec-list li i {
    color: #2ec4b6;
    margin-right: 8px;
    font-size: 0.85rem;
}

/* 4. Sidebar Dynamic Data Card */
.sticky-sidebar-data {
    position: -webkit-sticky;
    position: sticky;
    top: 30px; /* Keeps sidebar sticky on scroll */
}
.project-meta-info-card {
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 10px 30px rgba(11,19,43,0.04);
}
.meta-card-title {
    font-size: 1.3rem;
    font-weight: 800;
    color: #0b132b;
    border-bottom: 2px solid #f1f5f9;
    padding-bottom: 12px;
}
.meta-icon-boxme i {
    width: 42px;
    height: 42px;
    background-color: #f1f5f9;
    color: #0b132b;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
}
.meta-label-mini {
    font-size: 0.72rem;
    font-weight: 700;
    color: #94a3b8;
    letter-spacing: 0.5px;
}
.meta-value-text {
    font-size: 1rem;
    color: #1e293b;
    font-weight: 700;
}

/* ==========================================================================
   Responsive Breakdowns
   ========================================================================== */
@media (max-width: 991px) {
    .sticky-sidebar-data {
        position: relative;
        top: 0;
    }
    .section-sub-heading-prime {
        font-size: 1.5rem;
    }
    .meta-card-title {
        font-size: 1.15rem;
    }
}