:root {
    --bg-dark: #0f172a;
    --bg-darker: #020617;
    --primary: #3b82f6;
    --primary-light: #60a5fa;
    --accent: #10b981;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --card-bg: rgba(30, 41, 59, 0.7);
    --glass-border: rgba(255, 255, 255, 0.1);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    /* background-color: var(--bg-darker); */
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}
img{
    width: 100%;
}

/* Navbar */
.main-header {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1200px;
    padding: 0.8rem 1.8rem;
    display: flex;
    flex-wrap: nowrap !important;
    justify-content: space-between;
    align-items: center;
    gap: 1.25rem;
    background: #ffffff;
    backdrop-filter: blur(16px);
    z-index: 1000;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 50px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.main-header.scrolled {
    top: 0;
    width: 100%;
    max-width: 100%;
    border-radius: 0;
    border: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding: 1rem 5%;
}

.main-header .logo img {
    max-height: 55px;
    width: auto;
}

/* Toggle menu button */
.mobile-nav-toggle {
    display: none;
    background: none;
    border: none;
    color: #333333;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.25rem;
    transition: color 0.3s ease;
}

.mobile-nav-toggle:hover {
    color: var(--primary);
}

.nav-menu > ul {
    display: flex;
    flex-wrap: wrap;
    gap: 1.35rem;
    list-style: none;
    margin-bottom: 0px;
    padding-left: 0;
    align-items: center;
}

@media (max-width: 1200px) and (min-width: 991px) {
    /* Stabilize dropdown positioning in this breakpoint range */
    .dropdown-menu-list {
        left: 50%;
        right: auto;
        transform: translateX(-50%) translateY(10px);
    }

    .nav-item-dropdown:hover .dropdown-menu-list {
        transform: translateX(-50%) translateY(0);
    }
}



.nav-menu > ul > li > a {
    font-size: 0.75rem;
    font-weight: 700;
    color: #606060;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    padding: 0.5rem 0;
    display: flex;
    align-items: baseline;
    gap: 0.25rem;
}

.nav-menu > ul > li > a:hover {
    color: #003a8c;
}

.nav-menu > ul > li > a.active::before {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary);
}

/* Dropdown Menu Styles */
.nav-item-dropdown {
    position: relative;
}

.dropdown-menu-list {
    position: absolute;
    top: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: #ffffff;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    min-width: 220px;
    padding: 0.75rem 0.5rem;
    list-style: none;
    display: flex;
    flex-direction: column;
    border: 1px solid #e2e8f0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
    z-index: 1010;
}

.nav-item-dropdown:hover .dropdown-menu-list {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-menu-list li {
    width: 100%;
}

.dropdown-menu-list li a {
    font-size: 0.875rem;
    font-weight: 500;
    color: #334155;
    text-transform: none;
    letter-spacing: 0;
    padding: 0.5rem 1rem;
    display: block;
    width: 100%;
    border-radius: 6px;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.dropdown-menu-list li a:hover {
    background-color: #f0f4ff;
    color: #003a8c;
}

.dropdown-menu-list li a::before {
    display: none !important;
}

/* Buttons */
.btn {
    padding: 0.75rem 1.5rem;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    display: inline-block;
    border: none;
    transition: var(--transition);
}

.btn.primary {
    background: linear-gradient(135deg, var(--primary), #2563eb);
    color: white;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
}

.btn.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.6);
}

.btn.secondary {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary-light);
}

.btn.secondary:hover {
    background: var(--primary);
    color: white;
}

.contact-btn .btn {
    background: #003a8c;
    color: white;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
    padding: 0.6rem 1.8rem;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 50px;
}

.contact-btn .btn:hover {
    background: #2563eb;
    color: white;
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.5);
}

/* Hero Slider Section */
.hero-slider {
    position: relative;
    height: 100vh;
    width: 100%;
    overflow: hidden;
    background-color: var(--bg-darker);
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    display: flex;
    align-items: center;
    /* justify-content: center;
    text-align: center; */
    padding-top: 5rem;
    padding-bottom: 5rem;
}

.slide.active {
    opacity: 1;
    z-index: 1;
}

/* Slide Backgrounds */
.slide-1 {
    background: linear-gradient(rgba(10, 37, 88, 0.75), rgba(10, 37, 88, 0.45)), url('../images/testing-services/atmospheric-pollution-banner.webp') center/cover no-repeat;
}
.slide-2 {
    background: linear-gradient(rgba(10, 37, 88, 0.75), rgba(10, 37, 88, 0.45)), url('../images/testing-services/geophysical-works.webp') center/cover no-repeat;
}
.slide-3 {
    background: linear-gradient(rgba(10, 37, 88, 0.75), rgba(10, 37, 88, 0.45)), url('../images/testing-services/material-testing.webp') center/cover no-repeat;
}

.hero-content {
    max-width: 800px;
    position: relative;
    z-index: 10;
    padding: 0 2rem;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.8s ease-out 0.3s;
    margin-left: 9%;
}

.slide.active .hero-content {
    transform: translateY(0);
    opacity: 1;
}

.banner-check-point p.tik-point{
    background: rgb(255, 255, 255);
    color: rgb(0, 0, 0) !important;
    border: 1px solid rgba(255, 255, 255, 0.2);
    width: fit-content;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    margin-bottom: 1rem;
    margin-left: 0px;
    font-size: 0.75rem;
}

.banner-check-point p i{
     background: linear-gradient(141deg, #00b4c8, #2af321, #ffe200);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.hero-slider h2 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    background: linear-gradient(to right, #fff, #94a3b8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-slider h2 span {
    background: linear-gradient(to right, var(--primary-light), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-slider p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 600px;
    /* margin-left: auto;
    margin-right: auto; */
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    /* justify-content: center; */
}

.slider-controls {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 2rem;
    transform: translateY(-50%);
    z-index: 10;
    pointer-events: none;
}

.slider-btn {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.5rem;
    pointer-events: auto;
    transition: var(--transition);
    backdrop-filter: blur(5px);
}

.slider-btn:hover {
    background: var(--primary);
    border-color: var(--primary);
}

.slider-dots {
    position: absolute;
    bottom: 5.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: var(--transition);
}

.dot.active, .dot:hover {
    background: var(--primary);
    transform: scale(1.2);
}

/* Services */
.services {
    padding: 6rem 0;
    background: var(--bg-dark);
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: white;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.card {
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.card .icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: white;
}

.card p {
    color: var(--text-muted);
}

/* About Section */
.about {
    padding: 6rem 0;
    background: #ffffff;
}

.about-flex {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.about-text {
    flex: 1;
}

.about-text h1 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    color: #003a8c;
}

.about-text p {
    color: #000000;
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.about-text a {
    color: #003a8c;
    font-weight: 600;
}

.about-text a:hover{
    color: #3b82f6;
}

.about-text ul {
    list-style: none;
}

.about-text li {
    margin-bottom: 1rem;
    color: var(--text-main);
    display: flex;
    align-items: flex-start;
}

.about-text li::before {
    content: '✓';
    color: var(--accent);
    margin-right: 10px;
    font-weight: bold;
}

.about-vision {
    flex: 1;
    position: relative;
}



/* Footer */
.site-footer {
    background: #151a24;
    border-top: 1px solid rgba(96, 165, 250, 0.16);
    color: #e5edf8;
    padding: 5rem 0 2.2rem;
}

.site-footer .container {
    max-width: 1120px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.25fr 0.8fr 0.9fr 1.25fr;
    gap: 4rem;
    margin-bottom: 4.5rem;
}

.footer-col h3 {
    color: #ffffff;
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 1.35rem;
}

.footer-col p,
.footer-col li,
.footer-col a,
.footer-contact span {
    color: #c4cedb;
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.55;
}

.footer-about p {
    max-width: 270px;
    margin-bottom: 1.6rem;
}

.footer-col ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-col ul li {
    margin-bottom: 0.65rem;
}

.footer-col ul a:hover {
    color: var(--primary-light);
    padding-left: 5px;
}

.footer-social {
    display: flex;
    gap: 0.65rem;
}

.footer-social a {
    width: 36px;
    height: 36px;
    border: 1px solid rgba(229, 237, 248, 0.16);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
}

.footer-social a:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #ffffff;
    transform: translateY(-2px);
}

.footer-contact li {
    display: grid;
    grid-template-columns: 18px 1fr;
    gap: 0.9rem;
    align-items: start;
    margin-bottom: 1rem;
}

.footer-contact i {
    color: var(--primary-light);
    font-size: 1rem;
    line-height: 1.5;
}

.footer-contact a:hover {
    color: #ffffff;
    padding-left: 0;
}

.footer-bottom {
    border-top: 1px solid rgba(229, 237, 248, 0.13);
    color: #aeb8c6;
    font-size: 0.88rem;
    font-weight: 600;
    padding-top: 2.25rem;
    text-align: center;
}

.footer-bottom p {
    margin: 0;
}

.footer-bottom strong {
    color: #ffffff;
}

/* Responsive */
@media (max-width: 991px) {
    .site-footer {
        padding: 4rem 0 2rem;
    }

    .nav-item-dropdown:hover .dropdown-menu-list {
        opacity: 1;
        visibility: visible;
        transform: translateX(0%) translateY(0);
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem;
        margin-bottom: 3rem;
    }

    .footer-about p {
        max-width: none;
    }

    .about-flex {
        flex-direction: column;
    }
    .hero h1 {
        font-size: 3rem;
    }
    
    /* Responsive Header & Navigation */
    .main-header {
        top: 12px;
        width: calc(100% - 24px);
        max-width: none;
        padding: 0.65rem 1rem;
        border-radius: 30px;
    }

    .main-header.scrolled {
        padding: 0.65rem 1rem;
    }

    .main-header .logo img {
        max-height: 44px;
    }

    .mobile-nav-toggle {
        align-items: center;
        display: flex;
        height: 42px;
        justify-content: center;
        width: 42px;
        z-index: 1002;
    }

    .contact-btn {
        display: none;
    }

    .nav-menu {
        display: block;
        position: absolute;
        top: calc(100% + 8px);
        left: 50%;
        transform: translateX(-50%) translateY(-18px) scaleY(0.96);
        transform-origin: top center;
        width: 100%;
        height: calc(100dvh - 100px);
        max-height: calc(100dvh - 100px);
        overflow-y: auto;
        background: #ffffff;
        border-radius: 18px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
        border: 1px solid #e2e8f0;
        padding: 1rem;
        z-index: 1001;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: opacity 0.35s ease, transform 0.35s ease, visibility 0.35s ease;
    }

    .nav-menu.active {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateX(-50%) translateY(0) scaleY(1);
    }

    .nav-menu > ul {
        flex-direction: column;
        align-items: stretch;
        gap: 0.5rem;
    }

    .nav-menu > ul > li {
        width: 100%;
        display: flex;
        flex-direction: column;
    }

    .nav-menu > ul > li > a {
        border-radius: 10px;
        padding: 0.8rem 0.9rem;
        width: 100%;
        justify-content: space-between;
        font-size: 0.9rem;
        color: #334155;
    }

    .nav-menu > ul > li > a:hover {
        background: #f0f4ff;
        color: #003a8c;
    }

    .nav-menu > ul > li > a.active::before {
        display: none;
    }

    .nav-item-dropdown:not(.active):hover .dropdown-menu-list {
        display: none; /* Disable hover dropdown on mobile */
    }

    .nav-item-dropdown {
        width: 100%;
    }

    .dropdown-trigger {
        cursor: pointer;
    }

    .dropdown-menu-list {
        position: static;
        transform: none;
        opacity: 1;
        visibility: visible;
        box-shadow: none;
        border: none;
        display: none;
        min-width: 0;
        width: auto;
        gap: 0 !important;
        padding: 0.45rem 0 0.15rem;
        border-top: 1px solid #e2e8f0;
        margin: 0.35rem 0 0;
        overflow: visible;
        border-radius: 0;
    }

    .nav-item-dropdown.active .dropdown-menu-list {
        display: flex;
        flex-direction: column;
        gap: 0.25rem !important;
    }
    
    .dropdown-menu-list li a {
        padding: 0.6rem 0.9rem;
        font-size: 0.85rem;
        white-space: normal;
        border-radius: 10px;
        line-height: 1.4;
    }
}

@media (max-width: 576px) {
    .main-header {
        width: calc(100% - 20px);
        padding: 0.55rem 0.75rem;
    }

    .main-header .logo img {
        max-height: 40px;
    }

    .nav-menu {
        height: calc(100dvh - 88px);
        max-height: calc(100dvh - 88px);
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-col h3 {
        margin-bottom: 0.9rem;
    }

    .footer-bottom {
        padding-top: 1.6rem;
    }
}

/* Why Choose Us - Circular Card Design */
.wcu-section {
    background: #ffffff;
    padding: 5rem 0;
}

.wcu-title {
    font-size: 2rem;
    color: #020fb9;
    letter-spacing: 2px;
    position: relative;
    display: inline-block;
    padding-bottom: 1rem;
}

.wcu-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #00b4d8, #5e60ce);
    border-radius: 2px;
}

.wcu-circle-card {
    padding: 1rem 0.5rem;
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

.wcu-circle {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border: 3px solid transparent;
    background-clip: padding-box;
    position: relative;
    transition: all 0.3s ease;
}

.wcu-circle::before {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    background: linear-gradient(135deg, #00b4d8, #5e60ce);
    z-index: -1;
}

.wcu-circle i {
    font-size: 2.8rem;
    color: #0f172a;
    transition: all 0.3s ease;
}

.wcu-circle-card:hover .wcu-circle::before {
    background: linear-gradient(135deg, #5e60ce, #00b4d8);
}

.wcu-circle-card:hover .wcu-circle i {
    color: #00b4d8;
    transform: scale(1.1);
}

.wcu-label {
    font-size: 1rem;
    font-weight: 700;
    color: #000000;
    margin-bottom: 0.5rem;
    text-transform: capitalize;
}

.wcu-desc {
    font-size: 0.82rem;
    color: #64748b;
    line-height: 1.6;
    margin: 0;
}

.wcu-footer-link {
    font-size: 0.9rem;
    color: #64748b;
}

.wcu-footer-link a {
    color: #3b82f6;
    text-decoration: none;
    font-weight: 600;
}

.wcu-footer-link a:hover {
    text-decoration: underline;
}





/* =====================
   FAQ Section
===================== */
.faq-section {
    background: #f0f4ff;
    padding: 5rem 0;
}

.faq-layout {
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 4rem;
    align-items: start;
}

/* Left Panel */
.faq-left {
    position: sticky;
    top: 120px;
}

.faq-subtitle {
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #020fb9;
    margin-bottom: 0.75rem;
}

.faq-heading {
    font-size: 2.2rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.25;
    margin-bottom: 1.25rem;
}

.faq-desc {
    font-size: 0.95rem;
    color: #64748b;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.faq-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: #020fb9;
    color: #fff;
    font-size: 0.9rem;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.faq-cta-btn:hover {
    background: #1a24c8;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(2, 15, 185, 0.3);
    color: #fff;
}

/* Right Panel - Accordion */
.faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.faq-item {
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}

.faq-item.active,
.faq-item:hover {
    box-shadow: 0 4px 20px rgba(2, 15, 185, 0.08);
    border-color: #020fb9;
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 1.5rem;
    background: none;
    border: none;
    text-align: left;
    font-size: 0.95rem;
    font-weight: 600;
    color: #0f172a;
    cursor: pointer;
    gap: 1rem;
    transition: color 0.3s ease;
}

.faq-item.active .faq-question {
    color: #020fb9;
}

.faq-icon {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    background: #f0f4ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #020fb9;
    font-size: 0.75rem;
    transition: transform 0.35s ease, background 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
    background: #020fb9;
    color: #fff;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;
    padding: 0 1.5rem;
}

.faq-item.active .faq-answer {
    max-height: 300px;
    padding: 0 1.5rem 1.25rem;
}

.faq-answer p {
    font-size: 0.9rem;
    color: #475569;
    line-height: 1.75;
    margin: 0;
}

/* Responsive */
@media (max-width: 900px) {
    .faq-layout {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .faq-left {
        position: static;
    }
}

/* =====================
   Contact Section
===================== */
.contact-section {
    background: #ffffff;
    padding: 5rem 0;
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

/* --- Form Wrapper --- */
.contact-form-wrapper {
    background: #f8faff;
    border-radius: 16px;
    padding: 2.5rem;
    border: 1px solid #e2e8f0;
}

.contact-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    margin-bottom: 1.25rem;
}

.contact-form .form-group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.contact-form label {
    font-size: 0.85rem;
    font-weight: 600;
    color: #374151;
}

.contact-form label span {
    color: #ef4444;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    padding: 0.75rem 1rem;
    border: 1.5px solid #e2e8f0;
    border-radius: 8px;
    font-size: 0.9rem;
    color: #1e293b;
    background: #ffffff;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    outline: none;
    width: 100%;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    border-color: #020fb9;
    box-shadow: 0 0 0 3px rgba(2, 15, 185, 0.08);
}

.contact-form textarea {
    resize: vertical;
    min-height: 130px;
}

.contact-form .form-group:last-of-type {
    margin-bottom: 1.5rem;
}

.contact-submit-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: linear-gradient(135deg, #020fb9, #3b4fd9);
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 700;
    padding: 0.85rem 2rem;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(2, 15, 185, 0.3);
}

.contact-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(2, 15, 185, 0.4);
}

/* --- Map Wrapper --- */
.contact-map-wrapper {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-info-cards {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-info-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: #f0f4ff;
    border-radius: 12px;
    padding: 1rem 1.25rem;
    border-left: 4px solid #020fb9;
}

.contact-info-card i {
    font-size: 1.4rem;
    color: #020fb9;
    flex-shrink: 0;
}

.contact-info-card strong {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 2px;
}

.contact-info-card p {
    font-size: 0.85rem;
    color: #475569;
    margin: 0;
}

.contact-map iframe {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

/* Responsive */
@media (max-width: 900px) {
    .contact-layout {
        grid-template-columns: 1fr;
    }

    .contact-form .form-row {
        grid-template-columns: 1fr;
    }
}

/* =====================
   Hero Slider Responsive
===================== */

/* Tablet (max 768px) */
@media (max-width: 768px) {
    .hero-slider {
        height: 88vh;
        min-height: 620px;
    }

    .slide {
        padding-top: 6rem;
        /* padding-bottom: 14rem; */
        padding-left: 1rem;
        padding-right: 1rem;
        align-items: center;
    }

    .hero-content {
        max-width: 100%;
        padding: 0 1.25rem;
        margin-left: 0%;
    }

    .hero-slider h2 {
        font-size: 2.4rem;
        line-height: 1.2;
        margin-bottom: 1rem;
    }

    .hero-slider p {
        font-size: 1rem;
        margin-bottom: 1.75rem;
    }

    .hero-buttons {
        /* flex-direction: column; */
        align-items: center;
        gap: 0.75rem;
    }

    .hero-buttons .btn {
        width: 200px;
        text-align: center;
    }

    .slider-btn {
        width: 38px;
        height: 38px;
        font-size: 1.1rem;
    }

    .slider-controls {
        padding: 0 0.75rem;
    }

    .slider-dots {
        bottom: 5.5rem;
    }

    .dot {
        width: 9px;
        height: 9px;
    }
}

.success-message {
    margin-top: 15px;
    padding: 12px;
    background: #e8f8ec;
    color: #198754;
    border: 1px solid #198754;
}

.error-message {
    margin-top: 15px;
    padding: 12px;
    background: #fdecec;
    color: #dc3545;
    border: 1px solid #dc3545;
}
/* Mobile (max 480px) */
@media (max-width: 480px) {
    .hero-slider {
        height: auto;
        min-height: 720px;
    }

    .hero-slider h2 {
        font-size: 1.8rem;
        line-height: 1.25;
    }

    .hero-slider p {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
    }

    .hero-buttons {
        flex-wrap: wrap;
        justify-content: center;
        align-items: stretch;
        gap: 0.75rem;
    }

    .slider-btn {
        width: 32px;
        height: 32px;
        font-size: 0.9rem;
    }

    .hero-buttons .btn {
        width: calc(50% - 0.375rem);
        min-width: 140px;
        font-size: 0.85rem;
        padding: 0.65rem 1.2rem;
    }

    .hero-buttons .btn:nth-child(3) {
        width: 170px;
    }

    .banner-check-point p.tik-point{
        font-size: 0.65rem;
        padding: 0.4rem 0.8rem;
    }
}

/* =====================
   Testing Services Page
===================== */
.services-hero {
    position: relative;
    padding: 9rem 0 5rem; /* extra top padding to clear fixed header (header ~70px + top:20px) */
    background: #65728b;
    text-align: center;
    color: #ffffff;
    min-height: 260px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Dark overlay for background-image heroes */
.services-hero-overlay {
    position: absolute;
    inset: 0;
    background: rgb(10 37 88 / 77%);
    z-index: 0;
}
.services-hero-overlay2 {
    position: absolute;
    inset: 0;
    background: rgb(92 92 92 / 77%);
    z-index: 0;
}

.services-hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.services-hero-sub {
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.services-hero-title {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: #ffffff;
}

.services-hero-desc {
    font-size: 1.1rem;
    color: #cbd5e1;
    line-height: 1.6;
}

/* Responsive hero padding to avoid fixed-header overlap */
@media (max-width: 992px) {
    .services-hero {
        padding: 8rem 0 4rem;
    }
}

@media (max-width: 768px) {
    .services-hero {
        padding: 7.5rem 0 3.5rem;
        min-height: 220px;
    }

    .services-hero-title {
        font-size: 2rem;
    }

    .services-hero-desc {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .services-hero {
        padding: 7rem 0 3rem;
        min-height: 200px;
    }

    .services-hero-title {
        font-size: 1.75rem;
    }

    .services-hero-sub {
        font-size: 0.8rem;
    }
}

.ts-section {
    padding: 5rem 0;
    background-color: #ffffff;
}

.ts-header {
    margin-bottom: 3.5rem;
}

.ts-subtitle {
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #777777;
    margin-bottom: 0.5rem;
}

.ts-heading {
    font-size: 2.2rem;
    font-weight: 800;
    color: #1a1a1a;
    letter-spacing: -0.5px;
}

.ts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.ts-card {
    border: 1px solid #003a8c;
    padding: 3rem 2rem;
    text-align: center;
    transition: all 0.3s ease;
    border-radius: 4px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Alternating Background Colors (matches peach/white layout in screenshot) */
.ts-card:nth-child(odd) {
    background-color: #eceffd;
}

.ts-card:nth-child(even) {
    background-color: #ffffff;
}

.ts-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(212, 163, 115, 0.15);
    background-color: #e0e3fc;
}

.ts-icon-wrap {
    margin-bottom: 1.5rem;
}

.ts-icon-wrap i {
    font-size: 2.5rem;
    color: #003a8c;
}

.ts-card-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 1rem;
}

.ts-card-desc {
    font-size: 0.9rem;
    color: #666666;
    line-height: 1.7;
    margin: 0;
    max-width: 280px;
}

/* Responsive Grid */
@media (max-width: 992px) {
    .ts-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }
}

@media (max-width: 600px) {
    .ts-grid {
        grid-template-columns: 1fr;
    }

    .ts-heading {
        font-size: 1.8rem;
    }

    .ts-card {
        padding: 2.5rem 1.5rem;
    }
}

/* =====================
   Training Page
===================== */
.training-page {
    background: #f8fafc;
    color: #0f172a;
}

.training-hero {
    background: linear-gradient(90deg, rgba(2, 6, 23, 0.86), rgba(0, 58, 140, 0.62)), url('../images/testing-services/internship-programme.png') center/cover no-repeat;
    color: #ffffff;
    min-height: 520px;
    padding: 10rem 0 6rem;
    position: relative;
    overflow: hidden;
}

.training-hero::after {
    background: rgba(255, 255, 255, 0.14);
    bottom: -90px;
    content: '';
    height: 180px;
    position: absolute;
    right: 8%;
    transform: rotate(-12deg);
    width: 380px;
}

.training-hero-content {
    max-width: 720px;
    position: relative;
    z-index: 1;
}

.training-eyebrow,
.training-section-label,
.training-card-code {
    display: inline-flex;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.training-eyebrow {
    color: #93c5fd;
    margin-bottom: 1rem;
}

.training-hero h1 {
    color: #ffffff;
    font-size: clamp(2.6rem, 6vw, 5rem);
    font-weight: 800;
    line-height: 1;
    margin-bottom: 1.2rem;
}

.training-hero p {
    color: #dbeafe;
    font-size: 1.18rem;
    line-height: 1.75;
    margin-bottom: 2rem;
    max-width: 620px;
}

.training-hero-actions {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.training-hero-btn,
.training-hero-link {
    border-radius: 999px;
    display: inline-flex;
    font-weight: 800;
    padding: 0.9rem 1.4rem;
}

.training-hero-btn {
    background: #ffffff;
    color: #003a8c;
}

.training-hero-btn:hover {
    background: var(--primary-light);
    color: #ffffff;
}

.training-hero-link {
    border: 1px solid rgba(255, 255, 255, 0.42);
    color: #ffffff;
}

.training-hero-link:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
}

.training-section {
    padding: 5rem 0 2rem;
}

.training-page .container {
    max-width: 1240px;
}

.training-title-band {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.06);
    padding: 0.75rem 1rem;
    text-align: center;
    margin-bottom: 0;
}

.training-title-band h1,
.training-title-band h2 {
    color: #000000;
    font-family: 'Inter', sans-serif;
    font-size: 2.35rem;
    font-weight: 800;
    line-height: 1.25;
    margin: 0;
}

.training-intro {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 22px;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.06);
    margin: 0 0 2.5rem;
    padding: 2.2rem;
}

.training-section-label {
    color: #003a8c;
    margin-bottom: 0.75rem;
}

.training-intro h2 {
    color: #0f172a;
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.training-intro p,
.training-card p,
.training-card li,
.internship-content p {
    color: #111827;
    font-size: 0.95rem;
    font-weight: 400;
    line-height: 1.7;
}

.training-intro p {
    color: #475569;
    font-size: 1.02rem;
    margin: 0;
    max-width: 1080px;
}

.training-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    padding: 0;
}

.training-card {
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 14px 35px rgba(15, 23, 42, 0.05);
    display: flex;
    flex-direction: column;
    min-height: 310px;
    padding: 1.5rem;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.training-card:hover {
    border-color: rgba(0, 58, 140, 0.35);
    box-shadow: 0 20px 42px rgba(0, 58, 140, 0.11);
    transform: translateY(-6px);
}

.training-card-code {
    align-self: flex-start;
    background: #e0ecff;
    border-radius: 999px;
    color: #003a8c;
    margin-bottom: 0.9rem;
    padding: 0.42rem 0.75rem;
}

.training-card h2 {
    color: #0f172a;
    font-family: 'Inter', sans-serif;
    font-size: 1.08rem;
    font-weight: 800;
    line-height: 1.35;
    margin-bottom: 0.85rem;
}

.training-card p {
    margin-bottom: 1rem;
}

.training-card strong {
    font-weight: 700;
}

.training-card ul {
    margin: 0 0 1.4rem;
    padding-left: 1.25rem;
}

.training-card li {
    margin-bottom: 0.25rem;
}

.training-call-btn,
.internship-btn {
    border: 1px solid #003a8c;
    border-radius: 999px;
    color: #003a8c;
    display: inline-block;
    font-size: 0.92rem;
    font-weight: 800;
    line-height: 1;
    margin-top: auto;
    padding: 0.82rem 1.1rem;
    text-decoration: none;
    width: fit-content;
}

.training-call-btn:hover,
.internship-btn:hover {
    background: #003a8c;
    color: #ffffff;
}

.internship-section {
    padding: 1rem 0 5rem;
}

.internship-section .training-title-band {
    margin: 0 0 2rem;
}

.internship-section .training-title-band h2 {
    font-size: 1.8rem;
}

.internship-layout {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 22px;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.06);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.4rem;
    align-items: center;
    overflow: hidden;
    padding: 2rem;
}

.internship-content p {
    font-size: 0.92rem;
    margin-bottom: 1.3rem;
}

.internship-btn {
    background: #003a8c;
    border-color: #003a8c;
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 700;
    padding: 0.9rem 1.15rem;
}

.internship-btn:hover {
    background: #2563eb;
    border-color: #2563eb;
}

.internship-image img {
    border-radius: 18px;
    display: block;
    height: 390px;
    object-fit: cover;
    width: 100%;
}

.floating-actions {
    align-items: center;
    --floating-button-size: 64px;
    --floating-gap: 1.1rem;
    bottom: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: var(--floating-gap);
    position: fixed;
    right: 1.8rem;
    z-index: 999;
}

.training-whatsapp,
.back-to-top {
    align-items: center;
    border: 0;
    border-radius: 50%;
    box-shadow: 0 14px 26px rgba(15, 23, 42, 0.18);
    color: #ffffff;
    display: inline-flex;
    height: var(--floating-button-size);
    justify-content: center;
    width: var(--floating-button-size);
}

.training-whatsapp {
    background: #20d66b;
    font-size: 2rem;
    transform: translateY(calc(var(--floating-button-size) + var(--floating-gap)));
    transition: transform 0.3s ease, background 0.3s ease;
}

.floating-actions.has-back-to-top .training-whatsapp {
    transform: translateY(0);
}

.training-whatsapp:hover {
    background: #10b85d;
    color: #ffffff;
}

.floating-actions.has-back-to-top .training-whatsapp:hover {
    transform: translateY(-2px);
}

.floating-actions:not(.has-back-to-top) .training-whatsapp:hover {
    transform: translateY(calc(var(--floating-button-size) + var(--floating-gap) - 2px));
}

.back-to-top {
    background: #00479b;
    cursor: pointer;
    font-size: 1.35rem;
    opacity: 0;
    pointer-events: none;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.5s ease, background 0.3s ease;
}

.back-to-top.show {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.back-to-top:hover {
    background: #003a8c;
    transform: translateY(-2px);
}

@media (max-width: 1100px) {
    .training-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .training-hero {
        min-height: 460px;
        padding: 8rem 0 4rem;
    }

    .training-section {
        padding-top: 3rem;
    }

    .training-title-band h1,
    .training-title-band h2 {
        font-size: 1.85rem;
    }

    .training-grid,
    .internship-layout {
        grid-template-columns: 1fr;
    }

    .training-intro,
    .internship-layout {
        padding: 1.4rem;
    }

    .training-intro h2 {
        font-size: 1.65rem;
    }

    .internship-layout {
        gap: 1.5rem;
    }

    .floating-actions {
        --floating-button-size: 56px;
        bottom: 1rem;
        right: 1rem;
    }

    .training-whatsapp,
    .back-to-top {
        height: 56px;
        width: 56px;
    }
}

@media (max-width: 576px) {
    .training-hero {
        min-height: 420px;
        padding: 7rem 0 3rem;
    }

    .training-hero h1 {
        font-size: 2.35rem;
    }

    .training-hero p {
        font-size: 1rem;
    }

    .training-hero-btn,
    .training-hero-link {
        width: 100%;
        justify-content: center;
    }

    .training-intro p,
    .training-card p,
    .training-card li,
    .internship-content p {
        font-size: 0.95rem;
        text-align: left;
    }

    .training-card h2 {
        font-size: 1.05rem;
    }

    .internship-image img {
        height: 240px;
    }
}

/* =====================
   Service Detail Page Styles
===================== */
.service-detail-section {
    padding: 5rem 0;
    background-color: #f8fafc;
}

@media (max-width: 768px) {
    .service-detail-section {
        padding: 3rem 0;
    }
}

@media (max-width: 480px) {
    .service-detail-section {
        padding: 2rem 0;
    }
}

.service-detail-layout {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 3rem;
    align-items: start;
}

/* Sidebar Styles */
.service-sidebar {
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    padding: 1.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
    position: sticky;
    top: 100px;
}

.sidebar-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #0f172a;
    padding-bottom: 1rem;
    border-bottom: 1px solid #f1f5f9;
    margin-bottom: 1rem;
}

.sidebar-menu {
    list-style: none;
    padding-left: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.sidebar-menu li a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    font-size: 0.88rem;
    font-weight: 600;
    color: #475569;
    transition: all 0.2s ease;
}

.sidebar-menu li a i {
    width: 20px;
    text-align: center;
    color: #64748b;
    font-size: 1rem;
    transition: color 0.2s ease;
}

.sidebar-menu li a:hover,
.sidebar-menu li.active a {
    background-color: #f0f4ff;
    color: #020fb9;
}

.sidebar-menu li a:hover i,
.sidebar-menu li.active a i {
    color: #020fb9;
}

/* Main Detail Content */
.service-detail-content {
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    padding: 3rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
}

.service-icon-banner {
    width: 70px;
    height: 70px;
    background: #f0f4ff;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #020fb9;
    font-size: 2.2rem;
    margin-bottom: 2rem;
}

.detail-heading {
    font-size: 1.8rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 1rem;
}

.detail-description {
    font-size: 1rem;
    color: #475569;
    line-height: 1.75;
    margin-bottom: 2.5rem;
}

.detail-subheading {
    font-size: 1.3rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 1.25rem;
    border-bottom: 2px solid #f1f5f9;
    padding-bottom: 0.5rem;
}

.tests-list-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 3rem;
}

.test-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    padding: 1rem;
    border-radius: 10px;
}

.test-item i {
    color: #10b981;
    font-size: 1.2rem;
    margin-top: 2px;
}

.test-item span {
    font-size: 0.9rem;
    font-weight: 600;
    color: #334155;
    line-height: 1.4;
}

.materials-table-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 3rem;
}

.materials-table-wrap {
    overflow-x: auto;
}

.materials-accordion-item {
    overflow-x: visible;
}

.materials-test-table {
    width: 100%;
    min-width: 760px;
    border-collapse: collapse;
    color: #000000;
    font-size: 0.92rem;
    text-align: center;
}

.materials-test-table th,
.materials-test-table td {
    border: 1px solid #1267ff;
    padding: 0.8rem 1rem;
    vertical-align: middle;
}

.materials-test-table thead th {
    background: #1d2227;
    border-color: #343a40;
    color: #ffffff;
    font-weight: 700;
}

.materials-test-table .material-name {
    background: #cfe0f8;
    color: #000000;
    font-weight: 700;
    width: 26%;
    padding: 0;
}

.material-toggle {
    align-items: center;
    background: #cfe0f8;
    border: 1px solid #1267ff;
    color: #000000;
    cursor: pointer;
    display: flex;
    font: inherit;
    font-weight: 700;
    gap: 0.75rem;
    justify-content: space-between;
    min-height: 74px;
    padding: 0.8rem 1rem;
    text-align: left;
    width: 100%;
}

.material-toggle i {
    color: #003a8c;
    font-size: 0.85rem;
    transition: transform 0.25s ease;
}

.materials-table-wrap:not(.is-collapsed) .material-toggle i {
    transform: rotate(180deg);
}

.materials-accordion-panel {
    margin-top: 10px;
    overflow-x: auto;
}

.materials-table-wrap.is-collapsed .materials-accordion-panel {
    display: none;
}

.materials-table-wrap.is-collapsed .material-toggle:hover,
.material-toggle:hover {
    background: #bdd5f6;
}

.load-test-accordion {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin: 0 0 3rem;
}

.load-test-accordion-item {
    display: contents;
}

.load-test-accordion-toggle {
    align-items: center;
    background: #003a8cd5;
    border: 0;
    border-radius: 4px;
    color: #ffffff;
    cursor: pointer;
    display: inline-flex;
    font-size: 0.95rem;
    font-weight: 700;
    gap: 0.7rem;
    justify-content: space-between;
    padding: 0.95rem 1rem;
    transition: background 0.25s ease;
}

.load-test-accordion-toggle:hover,
.load-test-accordion-item.active .load-test-accordion-toggle {
    background: #003a8c;
}

.load-test-accordion-toggle > i {
    font-size: 0.8rem;
    transition: transform 0.25s ease;
}

.load-test-accordion-item.active .load-test-accordion-toggle > i {
    transform: rotate(180deg);
}

.load-test-accordion-panel {
    display: none;
    flex-basis: 100%;
    order: 99;
}

.load-test-accordion-item.active .load-test-accordion-panel {
    display: block;
}

.load-test-table-list {
    margin-bottom: 3rem;
}

.load-test-scope-table .load-test-material-name {
    font-size: 2rem;
    width: 20%;
}

/* Static Load Test Cards (always visible) */
.load-tests-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.load-test-card {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1.5rem;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 1.25rem 1.5rem;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
    transition: box-shadow 0.2s ease;
}

.load-test-card:hover {
    box-shadow: 0 4px 16px rgba(0,58,140,0.10);
}

.load-test-info {
    flex: 1;
}

.load-test-info .load-test-name {
    font-size: 1.05rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 0.3rem;
}

.load-test-info .load-test-standard {
    display: block;
    font-size: 0.82rem;
    font-weight: 600;
    color: #2563eb;
    margin-bottom: 0.5rem;
}

.load-test-info .load-test-desc {
    font-size: 0.9rem;
    color: #475569;
    margin: 0;
    line-height: 1.6;
}

.load-test-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.25rem;
    min-width: 180px;
    white-space: nowrap;
    flex-shrink: 0;
}

.load-test-sample,
.load-test-tat {
    font-size: 0.85rem;
    color: #64748b;
}

.load-test-sample strong,
.load-test-tat strong {
    color: #1e293b;
}

@media (max-width: 640px) {
    .load-test-card {
        flex-direction: column;
        gap: 0.75rem;
    }

    .load-test-info,
    .load-test-meta {
        flex: 1 1 100% !important;
        max-width: 100% !important;
        width: 100%;
    }

    .load-test-meta {
        align-items: flex-start;
        min-width: unset;
        white-space: normal;
    }
}

/* Service CTA Box */
.service-cta-card {
    background: #003a8c;
    border-radius: 14px;
    padding: 2.5rem;
    color: #ffffff;
    text-align: center;
}

.service-cta-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #ffffff;
}

.service-cta-card p {
    font-size: 0.95rem;
    color: #e0e7ff;
    margin-bottom: 1.5rem;
}

.service-cta-card .btn {
    background: #ffffff;
    color: #020fb9;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.service-cta-card .btn:hover {
    background: #f8fafc;
    transform: translateY(-2px);
}

/* Responsive Service Detail */
@media (max-width: 992px) {
    .service-detail-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .service-sidebar {
        position: static; /* remove sticky on mobile stack */
    }

    .service-detail-content {
        padding: 2rem;
    }

    .materials-test-table {
        min-width: 0;
        width: 100%;
    }
}

@media (max-width: 768px) {
    .service-detail-content {
        padding: 1.5rem 1.25rem;
    }

    .detail-heading {
        font-size: 1.5rem;
    }

    .detail-subheading {
        font-size: 1.1rem;
    }

    .tests-list-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
        margin-bottom: 2rem;
    }

    .service-cta-card {
        padding: 1.75rem 1.25rem;
    }

    .service-cta-card h3 {
        font-size: 1.2rem;
    }

    /* Make tables scrollable horizontally on tablet */
    .materials-accordion-panel,
    .materials-table-wrap:not(.materials-accordion-item) {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .materials-test-table {
        min-width: 480px;
        font-size: 0.85rem;
        width: 100%;
    }

    .materials-test-table th,
    .materials-test-table td {
        padding: 0.65rem 0.75rem;
    }
}

@media (max-width: 480px) {
    .service-detail-content {
        padding: 1.25rem 1rem;
    }

    .service-icon-banner {
        width: 56px;
        height: 56px;
        font-size: 1.7rem;
        margin-bottom: 1.5rem;
    }

    .tests-list-grid {
        grid-template-columns: 1fr;
    }

    /* Stack table cells vertically on very small screens */
    .materials-test-table,
    .materials-test-table thead,
    .materials-test-table tbody,
    .materials-test-table th,
    .materials-test-table td,
    .materials-test-table tr {
        display: block;
        min-width: 0;
        width: 100%;
    }

    .materials-test-table thead tr {
        display: none; /* hide header row, labels become inline */
    }

    .materials-test-table tbody tr {
        border: 1px solid #1267ff;
        border-radius: 6px;
        margin-bottom: 0.6rem;
        overflow: hidden;
    }

    .materials-test-table td {
        border: none;
        border-bottom: 1px solid #d1d5db;
        text-align: left;
        padding: 0.55rem 0.85rem;
        position: relative;
        font-size: 0.85rem;
        word-break: break-word;
    }

    .materials-test-table td:last-child {
        border-bottom: none;
    }

    .materials-test-table td[data-label]::before {
        content: attr(data-label);
        display: block;
        font-size: 0.72rem;
        font-weight: 700;
        color: #64748b;
        text-transform: uppercase;
        margin-bottom: 0.2rem;
    }

    .material-toggle {
        font-size: 0.88rem;
        min-height: 56px;
        padding: 0.75rem;
    }

    .service-cta-card {
        padding: 1.5rem 1rem;
    }

    .service-cta-card h3 {
        font-size: 1.1rem;
    }

    .service-cta-card p {
        font-size: 0.88rem;
    }
}

/* Homepage Services Section */
.home-services-section {
    padding: 5rem 0;
    background-color: #f8fafc;
}

.home-services-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.home-services-header {
    margin-bottom: 3rem;
}

.home-services-subtitle {
    font-size: 0.85rem;
    font-weight: 700;
    color: #003a8c;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    display: block;
    margin-bottom: 0.5rem;
}

.home-services-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 1rem;
    font-family: 'Outfit', sans-serif;
}

.home-services-desc {
    font-size: 1rem;
    color: #64748b;
    max-width: 600px;
}

.home-services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.home-service-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 2rem;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.home-service-card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border-color: #cbd5e1;
    transform: translateY(-5px);
}

.home-service-icon {
    width: 50px;
    height: 50px;
    background-color: #eff6ff;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.home-service-icon i {
    font-size: 1.5rem;
    color: #003a8c;
}

.home-service-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 1rem;
    font-family: 'Inter', sans-serif;
}

.home-service-card p {
    font-size: 0.9rem;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.home-service-link {
    font-size: 0.9rem;
    font-weight: 600;
    color: #1d4ed8;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    transition: color 0.3s ease;
}

.home-service-link:hover {
    color: #003a8c;
}

@media (max-width: 992px) {
    .home-services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .home-services-grid {
        grid-template-columns: 1fr;
    }
}

/* Why Falcon Lab Section */
.why-falcon-section {
    background-color: #f8fafc;
    padding: 6rem 0;
}

.why-falcon-img-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.why-falcon-img-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.why-falcon-subtitle {
    font-size: 0.85rem;
    font-weight: 700;
    color: #003a8c;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.75rem;
    display: inline-block;
}

.why-falcon-title {
    font-size: 2.8rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 1rem;
    font-family: 'Outfit', sans-serif;
    line-height: 1.2;
}

.why-falcon-desc {
    font-size: 1.15rem;
    color: #475569;
    margin-bottom: 2.5rem;
}

.why-falcon-features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem 2rem;
    margin-bottom: 2.5rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.feature-item i {
    color: #10b981;
    font-size: 1.25rem;
}

.feature-item span {
    font-size: 0.95rem;
    font-weight: 600;
    color: #1e293b;
}

.btn-nabl {
    border: 2px solid #003a8c;
    color: #003a8c;
    background: transparent;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
}

.btn-nabl:hover {
    background: #003a8c;
    color: #ffffff;
}

@media (max-width: 992px) {
    .why-falcon-title {
        font-size: 2.2rem;
    }
    .why-falcon-img-wrapper {
        margin-bottom: 3rem;
    }
}

@media (max-width: 768px) {
    .why-falcon-features-grid {
        grid-template-columns: 1fr;
    }
}

/* Equipment Section */
.equipment-section {
    background: linear-gradient(rgba(10, 37, 88, 0.92), rgba(10, 37, 88, 0.95)), url('../images/projects/thumb/9_lab.jpg') center/cover no-repeat fixed;
    padding: 6rem 0;
    color: #ffffff;
}

.equipment-subtitle {
    font-size: 0.8rem;
    font-weight: 700;
    color: #3b82f6;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
    display: inline-block;
}

.equipment-title {
    font-size: 2.8rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 1rem;
    font-family: 'Outfit', sans-serif;
    line-height: 1.2;
}

.equipment-desc {
    font-size: 1.1rem;
    color: #cbd5e1;
    margin-bottom: 3rem;
}

.equipment-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
    margin-bottom: 2.5rem;
}

.equipment-tab {
    border: 1px solid rgba(255, 255, 255, 0.25);
    background: rgba(255, 255, 255, 0.08);
    color: #e2e8f0;
    font-size: 0.9rem;
    font-weight: 700;
    padding: 0.8rem 1.35rem;
    border-radius: 999px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.equipment-tab:hover {
    background: rgba(255, 255, 255, 0.16);
    border-color: rgba(255, 255, 255, 0.45);
    color: #ffffff;
}

.equipment-tab.active {
    background: #ffffff;
    color: #0a2558;
    border-color: #ffffff;
    box-shadow: 0 10px 20px rgba(2, 6, 23, 0.18);
}

.equipment-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.equip-card {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    padding: 2rem;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.equip-card:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-5px);
}

.equip-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.equip-icon i {
    color: #ffffff;
    font-size: 1.1rem;
}

.equip-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.5rem;
    font-family: 'Inter', sans-serif;
    line-height: 1.4;
}

.equip-meta {
    font-size: 0.8rem;
    color: #60a5fa;
    display: block;
    margin-bottom: 1rem;
}

.equip-card p {
    font-size: 0.9rem;
    color: #cbd5e1;
    margin: 0;
    line-height: 1.6;
}

.equip-btn {
    border-radius: 8px;
    padding: 0.75rem 2rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    border-width: 1px;
    border: 1px solid #ffffff;
}

.equip-btn:hover {
    background: #ffffff;
    color: #0a2558;
}

@media (max-width: 992px) {
    .equipment-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .equipment-tabs {
        justify-content: flex-start;
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 0.35rem;
        scrollbar-width: thin;
    }

    .equipment-tab {
        flex: 0 0 auto;
        white-space: nowrap;
    }

    .equipment-grid {
        grid-template-columns: 1fr;
    }
}

/* Industries Section */
.industries-section {
    background-color: #ffffff;
    padding: 6rem 0;
}

.industries-subtitle {
    font-size: 0.85rem;
    font-weight: 700;
    color: #003a8c;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.75rem;
    display: inline-block;
}

.industries-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 1rem;
    font-family: 'Outfit', sans-serif;
}

.industries-desc {
    font-size: 1.1rem;
    color: #64748b;
    margin-bottom: 3rem;
}

.industries-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 2rem 1rem;
}

.industry-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.industry-icon {
    width: 60px;
    height: 60px;
    background-color: #eff6ff;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.industry-icon i {
    font-size: 1.5rem;
    color: #003a8c;
    transition: transform 0.3s ease;
}

.industry-item span {
    font-size: 0.85rem;
    font-weight: 600;
    color: #1e293b;
}

.industry-item:hover .industry-icon {
    background-color: #003a8c;
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(29, 78, 216, 0.2);
}

.industry-item:hover .industry-icon i {
    color: #ffffff;
    transform: scale(1.1);
}

@media (max-width: 992px) {
    .industries-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 768px) {
    .industries-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 576px) {
    .industries-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Testimonials Section */
.testimonials-section {
    background-color: #f8fafc;
    padding: 6rem 0;
    overflow: hidden;
}

.testimonials-subtitle {
    font-size: 0.85rem;
    font-weight: 700;
    color: #003a8c;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 0.5rem;
}

.testimonials-title {
    font-size: 2.8rem;
    font-weight: 800;
    color: #0f172a;
    font-family: 'Outfit', sans-serif;
}

.testimonials-slider-container {
    position: relative;
    padding: 1rem 0;
    margin: 0 auto;
    max-width: 1200px;
}

.testimonials-track {
    display: flex;
    gap: 2rem;
    width: max-content;
    animation: scroll-testimonials 35s linear infinite;
}

.testimonials-track:hover {
    animation-play-state: paused;
}

.testimonial-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 2.5rem;
    width: 350px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
}

.quote-icon {
    font-size: 2.5rem;
    color: #cbd5e1;
    margin-bottom: 1.5rem;
}

.testimonial-text {
    font-size: 1.05rem;
    color: #0f172a;
    font-style: italic;
    line-height: 1.7;
    margin-bottom: 2rem;
    flex-grow: 1;
}

.testimonial-divider {
    border: 0;
    border-top: 1px solid #e2e8f0;
    margin: 0 0 1.5rem 0;
}

.testimonial-author h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.25rem;
}

.author-title {
    font-size: 0.85rem;
    color: #64748b;
    margin-bottom: 0.25rem;
}

.author-company {
    font-size: 0.75rem;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0;
}

@keyframes scroll-testimonials {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-50% - 1rem));
    }
}

@media (max-width: 768px) {
    .testimonial-card {
        width: 300px;
        padding: 2rem;
    }
}

/* Accreditations Section */
.accreditations-section {
    background-color: #ffffff;
    padding: 6rem 0;
}

.accreditations-subtitle {
    font-size: 0.85rem;
    font-weight: 700;
    color: #003a8c;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.75rem;
    display: inline-block;
}

.accreditations-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 3rem;
    font-family: 'Outfit', sans-serif;
}

.accreditations-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    /* max-width: 1000px; */
    margin: 0 auto;
}

.accreditation-card {
    background: #f8fafc;
    border-radius: 16px;
    padding: 3rem 2rem;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.accreditation-card:hover {
    background: #ffffff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border-color: #e2e8f0;
    transform: translateY(-5px);
}

.accreditation-icon {
    width: 60px;
    height: 60px;
    background-color: #003a8c;
    color: #ffffff;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.accreditation-icon i {
    font-size: 1.8rem;
}

.accreditation-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.75rem;
    font-family: 'Inter', sans-serif;
}

.cert-number {
    font-size: 0.85rem;
    font-weight: 600;
    color: #3b82f6;
    display: block;
    margin-bottom: 1rem;
}

.accreditation-card p {
    font-size: 0.95rem;
    color: #64748b;
    line-height: 1.6;
    margin: 0 auto;
    max-width: 90%;
    margin-bottom: 1.5rem;
}

.accreditations-grid a{
    color: #003a8c;
    font-weight: 600;
}

@media (max-width: 768px) {
    .accreditations-grid {
        grid-template-columns: 1fr;
    }
}

/* Insights Section */
.insights-section {
    background-color: #f8fafc;
    padding: 6rem 0;
}

.insights-subtitle {
    font-size: 0.85rem;
    font-weight: 700;
    color: #3b82f6;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
    display: block;
}

.insights-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #0f172a;
    font-family: 'Outfit', sans-serif;
    margin: 0;
}

.view-all-link {
    color: #1d4ed8;
    font-weight: 600;
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.view-all-link:hover {
    color: #0f172a;
}

.view-all-link i {
    font-size: 0.9rem;
    transition: transform 0.3s ease;
}

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

.insights-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.insight-card {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.insight-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.insight-img-wrapper {
    height: 220px;
    width: 100%;
    overflow: hidden;
}

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

.insight-card:hover .insight-img-wrapper img {
    transform: scale(1.05);
}

.insight-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.insight-category {
    font-size: 0.75rem;
    font-weight: 700;
    color: #003a8c;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.75rem;
}

.insight-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.4;
    margin-bottom: 0.75rem;
    font-family: 'Inter', sans-serif;
}

.insight-card p {
    font-size: 0.9rem;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.insight-date {
    font-size: 0.8rem;
    color: #94a3b8;
}

@media (max-width: 992px) {
    .insights-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .insights-grid {
        grid-template-columns: 1fr;
    }
}

/* =====================
   Blog Pages
===================== */
.blog-page,
.blog-detail-page {
    background: #f8fafc;
    color: #0f172a;
}

.blog-hero,
.blog-detail-hero {
    background: linear-gradient(90deg, rgba(2, 6, 23, 0.88), rgba(0, 58, 140, 0.68)), url('../images/projects/thumb/9_lab.jpg') center/cover no-repeat;
    color: #ffffff;
    padding: 10rem 0 6rem;
}

/* .blog-hero-content,
.blog-detail-hero-content {
    max-width: 760px;
} */

.blog-eyebrow,
.blog-category {
    display: inline-flex;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.blog-eyebrow {
    color: #93c5fd;
    margin-bottom: 1rem;
}

.blog-hero h1,
.blog-detail-hero h1 {
    color: #ffffff;
    font-size: clamp(2.5rem, 5vw, 4.6rem);
    font-weight: 800;
    line-height: 1.05;
    margin-bottom: 1rem;
}

.blog-hero p {
    color: #dbeafe;
    font-size: 1.12rem;
    line-height: 1.75;
    margin: 0;
    max-width: 680px;
}

.blog-list-section {
    padding: 5rem 0;
}

.blog-section-header {
    margin-bottom: 2rem;
    /* max-width: 760px; */
}

.blog-section-header h2 {
    color: #0f172a;
    font-size: 2.2rem;
    font-weight: 800;
    margin: 0;
}

.blog-grid {
    display: grid;
    gap: 2rem;
    grid-template-columns: repeat(3, 1fr);
}

.blog-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    /* border-radius: 18px; */
    box-shadow: 0 16px 38px rgba(15, 23, 42, 0.06);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-card:hover {
    box-shadow: 0 24px 50px rgba(0, 58, 140, 0.12);
    transform: translateY(-6px);
}

.blog-card-image {
    display: block;
    height: 235px;
    overflow: hidden;
}

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

.blog-card:hover .blog-card-image img {
    transform: scale(1.06);
}

.blog-card-content {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    padding: 1.5rem;
}

.blog-category {
    color: #003a8c;
    margin-bottom: 0.75rem;
}

.blog-card h3 {
    font-size: 1.24rem;
    font-weight: 800;
    line-height: 1.35;
    margin-bottom: 0.85rem;
}

.blog-card h3 a {
    color: #0f172a;
}

.blog-card h3 a:hover {
    color: #003a8c;
}

.blog-card p {
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.blog-card-footer {
    align-items: center;
    border-top: 1px solid #e2e8f0;
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 1rem;
}

.blog-card-footer span {
    color: #94a3b8;
    font-size: 0.85rem;
    font-weight: 700;
}

.blog-card-footer a {
    color: #003a8c;
    font-size: 0.9rem;
    font-weight: 800;
}

.blog-card-footer a:hover i {
    transform: translateX(4px);
}

.blog-card-footer i {
    transition: transform 0.3s ease;
}

.blog-back-link {
    color: #bfdbfe;
    display: inline-flex;
    gap: 0.5rem;
    font-weight: 800;
    margin-bottom: 1.25rem;
    align-items: center;
}

.blog-back-link:hover {
    color: #ffffff;
}

.blog-detail-hero .blog-category {
    background: rgba(147, 197, 253, 0.16);
    border: 1px solid rgba(147, 197, 253, 0.35);
    border-radius: 999px;
    color: #dbeafe;
    margin-bottom: 1rem;
    padding: 0.45rem 0.8rem;
}

.blog-meta {
    color: #dbeafe;
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
    font-size: 0.95rem;
    font-weight: 700;
}

.blog-meta span {
    align-items: center;
    display: inline-flex;
    gap: 0.5rem;
}

.blog-detail-section {
    padding: 5rem 0;
}

.blog-detail-layout {
    align-items: start;
    display: grid;
    gap: 2rem;
    grid-template-columns: minmax(0, 1fr) 330px;
}

.blog-article,
.blog-sidebar-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    /* border-radius: 18px; */
    box-shadow: 0 16px 38px rgba(15, 23, 42, 0.06);
}

.blog-article {
    padding: 2rem;
}

.blog-featured-image {
    /* border-radius: 14px; */
    /* height: 390px; */
    margin-bottom: 2rem;
    object-fit: cover;
    width: 100%;
}

.blog-article h1,
.blog-article h2,
.blog-article h3,
.blog-article h4,
.blog-article h5,
.blog-article h6 {
    color: #0f172a;
    font-weight: 800;
    line-height: 1.25;
}

.blog-article h1 {
    font-size: 2.1rem;
    margin: 2rem 0 1rem;
}

.blog-article h2 {
    font-size: 1.55rem;
    margin: 2rem 0 0.9rem;
}

.blog-article h3 {
    font-size: 1.35rem;
    margin: 1.75rem 0 0.85rem;
}

.blog-article h4 {
    font-size: 1.15rem;
    margin: 1.5rem 0 0.75rem;
}

.blog-article h5 {
    font-size: 1rem;
    margin: 1.35rem 0 0.7rem;
}

.blog-article h6 {
    font-size: 0.92rem;
    letter-spacing: 0.02em;
    margin: 1.25rem 0 0.65rem;
}

.blog-article p,
.blog-article li {
    color: #475569;
    font-size: 1rem;
    line-height: 1.85;
}

.blog-article p a {
    color: #003a8c;
    font-weight: 700;
}

.blog-article ul {
    margin: 0 0 1rem;
    padding-left: 1.4rem;
}

.blog-lead {
    color: #1e293b !important;
    font-size: 1.15rem !important;
    font-weight: 600;
}

.blog-callout {
    background: #eff6ff;
    border-left: 4px solid #003a8c;
    border-radius: 12px;
    color: #1e3a8a;
    line-height: 1.7;
    margin-top: 2rem;
    padding: 1.25rem;
}

.blog-sidebar {
    display: grid;
    gap: 1.25rem;
    position: sticky;
    top: 110px;
}

.blog-sidebar-card {
    padding: 1.35rem;
}

.blog-sidebar-card h3 {
    color: #0f172a;
    font-size: 1.15rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.blog-sidebar-card a {
    border-top: 1px solid #e2e8f0;
    color: #003a8c;
    display: block;
    font-weight: 700;
    line-height: 1.5;
    padding: 0.9rem 0;
}

.blog-sidebar-card a:first-of-type {
    border-top: 0;
}

.blog-sidebar-card p {
    color: #64748b;
    line-height: 1.7;
}

.blog-contact-card {
    background: #003a8c;
    color: #ffffff;
}

.blog-contact-card h3,
.blog-contact-card p {
    color: #ffffff;
}

.blog-contact-card a {
    background: #ffffff;
    border: 0;
    border-radius: 999px;
    color: #003a8c;
    display: inline-flex;
    margin-top: 0.5rem;
    padding: 0.8rem 1rem;
}

@media (max-width: 992px) {
    .blog-grid,
    .blog-detail-layout {
        grid-template-columns: 1fr;
    }

    .blog-sidebar {
        position: static;
    }

    .blog-article h1 {
        font-size: 1.85rem;
    }

    .blog-article h2 {
        font-size: 1.4rem;
    }

    .blog-article h3 {
        font-size: 1.22rem;
    }

    .blog-article h4 {
        font-size: 1.08rem;
    }
}

@media (max-width: 576px) {
    .blog-hero,
    .blog-detail-hero {
        padding: 8rem 0 4rem;
    }

    .blog-section-header h2 {
        font-size: 1.75rem;
    }

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

    .blog-article {
        padding: 1.25rem;
    }

    .blog-featured-image {
        height: 240px;
    }

    .blog-article h1 {
        font-size: 1.65rem;
    }

    .blog-article h2 {
        font-size: 1.28rem;
    }

    .blog-article h3 {
        font-size: 1.15rem;
    }

    .blog-article h4 {
        font-size: 1rem;
    }

    .blog-article h5,
    .blog-article h6 {
        font-size: 0.92rem;
    }
}

/* Counters Section */
.counter-section {
    background-color: #003a8c; /* Deep corporate blue */
    padding: 2.25rem 0;
}

.hero-counter-section {
    /* position: absolute; */
    left: 0;
    bottom: 0;
    width: 100%;
    z-index: 9;
    padding: 1.5rem 0;
}

.counter-grid {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.25rem;
}

.counter-item {
    text-align: center;
    color: #ffffff;
}

.counter-item h2 {
    display: inline-block;
    font-size: 2.75rem;
    font-weight: 800;
    margin-bottom: 0;
    font-family: 'Playfair Display', Georgia, serif;
    color: #ffffff;
}

.counter-item span.plus {
    font-size: 2.25rem;
    font-weight: 700;
    vertical-align: top;
    margin-left: 2px;
    font-family: 'Playfair Display', Georgia, serif;
}

.counter-item p {
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 1.35px;
    margin-top: 0.35rem;
    text-transform: uppercase;
    color: #cbd5e1;
    font-family: 'Inter', sans-serif;
}

@media (max-width: 992px) {
    .counter-grid {
        justify-content: center;
    }
    .counter-item {
        width: 40%;
    }
}

@media (max-width: 576px) {
    .counter-section {
        padding: 2rem 0 1rem;
    }

    .hero-counter-section {
        padding: 1.25rem 0 0.5rem;
    }

    .counter-item h2 {
        font-size: 2.35rem;
    }

    .counter-item span.plus {
        font-size: 1.9rem;
    }

    .counter-item {
        width: 100%;
        margin-bottom: 1rem;
    }
}

/* Call To Action Section */
.cta-section {
    background-color: #003a8c;
    padding: 5rem 0;
    color: #ffffff;
}

.cta-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    font-family: 'Outfit', sans-serif;
}

.cta-section p {
    font-size: 1.05rem;
    line-height: 1.6;
    color: #cbd5e1;
    margin: 0 auto 2rem;
    max-width: 600px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.cta-btn-primary {
    background-color: #ffffff;
    color: #003a8c;
    font-weight: 600;
    padding: 0.8rem 2rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    text-decoration: none;
    border: 1px solid #ffffff;
}

.cta-btn-primary:hover {
    background-color: #f1f5f9;
    color: #003a8c;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.cta-btn-secondary {
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #ffffff;
    background-color: transparent;
    font-weight: 600;
    padding: 0.8rem 2rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.cta-btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

@media (max-width: 576px) {
    .cta-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    .cta-btn-primary, .cta-btn-secondary {
        width: 100%;
    }
}

/* About Us Hero Banner */
.about-hero-banner {
    background-color: #003a8c;
    padding: 7.5rem 0 3.5rem 0;
}

.about-hero-content {
    max-width: 800px;
}

.breadcrumbs {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.65);
    margin-bottom: 1rem;
}

.breadcrumbs a {
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumbs a:hover {
    color: #ffffff;
}

.breadcrumbs span {
    color: #ffffff;
}

.about-hero-banner h1 {
    font-size: 2.8rem;
    font-weight: 800;
    color: #ffffff;
    font-family: 'Outfit', sans-serif;
    margin-bottom: 0.75rem;
}

.about-hero-subtitle {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.75);
    margin: 0;
}

@media (max-width: 768px) {
    .about-hero-banner h1 {
        font-size: 2rem;
    }
}

/* Our Story Section */
.our-story-section {
    padding: 6rem 0;
    background-color: #ffffff;
}

.our-story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.our-story-img-wrapper {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

.our-story-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.our-story-img-wrapper:hover img {
    transform: scale(1.03);
}

.our-story-subtitle {
    font-size: 0.8rem;
    font-weight: 700;
    color: #003a8c;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 0.75rem;
}

.our-story-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #0f172a;
    font-family: 'Outfit', sans-serif;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.our-story-content p {
    font-size: 0.975rem;
    color: #475569;
    line-height: 1.8;
    margin-bottom: 1.25rem;
}

.our-story-badges {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem 2rem;
    margin-top: 2rem;
}

.story-badge {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.9rem;
    color: #0f172a;
    font-weight: 500;
}

.story-badge i {
    color: #003a8c;
    font-size: 1rem;
    flex-shrink: 0;
}

@media (max-width: 992px) {
    .our-story-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

@media (max-width: 576px) {
    .our-story-title {
        font-size: 2rem;
    }
    .our-story-badges {
        grid-template-columns: 1fr;
    }
}

/* Mission & Vision Section */
.mission-vision-section {
    background-color: #f0f4f8;
    padding: 6rem 0;
}

.mv-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.mv-card {
    border-radius: 20px;
    padding: 3rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Filled (Mission) Card */
.mv-card--filled {
    background-color: #003a8c;
    color: #ffffff;
}

.mv-card--filled .mv-icon {
    background-color: rgba(255, 255, 255, 0.15);
    color: #ffffff;
}

.mv-card--filled .mv-label {
    color: rgba(255, 255, 255, 0.7);
}

.mv-card--filled h3 {
    color: #ffffff;
}

.mv-card--filled p {
    color: rgba(255, 255, 255, 0.85);
}

/* Outline (Vision) Card */
.mv-card--outline {
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    color: #0f172a;
}

.mv-card--outline .mv-icon {
    background-color: #eef2ff;
    color: #003a8c;
}

.mv-card--outline .mv-label {
    color: #003a8c;
}

.mv-card--outline h3 {
    color: #0f172a;
}

.mv-card--outline p {
    color: #475569;
}

/* Shared Styles */
.mv-icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
}

.mv-label {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.mv-card h3 {
    font-size: 1.6rem;
    font-weight: 700;
    font-family: 'Outfit', sans-serif;
    line-height: 1.3;
}

.mv-card p {
    font-size: 0.95rem;
    line-height: 1.8;
}

@media (max-width: 768px) {
    .mv-grid {
        grid-template-columns: 1fr;
    }
}

.about-services-header {
    margin-bottom: 3rem;
    text-align: -webkit-center;
}
.home-service-icon h5{
    color: #003a8c;
    margin: 0;
}

/* Company Timeline Section */
.timeline-section {
    background-color: #f5f8fd;
    padding: 6rem 0;
}

.timeline-subtitle {
    font-size: 0.8rem;
    font-weight: 700;
    color: #003a8c;
    /* text-transform: uppercase; */
    letter-spacing: 2px;
    display: block;
    margin-bottom: 0.5rem;
}

.timeline-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #0f172a;
    font-family: 'Outfit', sans-serif;
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 1rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background-color: #003a8c;
    transform: translateX(-50%);
}

.timeline-item {
    display: grid;
    grid-template-columns: 1fr 16px 1fr;
    align-items: start;
    gap: 0 2rem;
    margin-bottom: 3rem;
    position: relative;
}

.timeline-dot {
    width: 14px;
    height: 14px;
    background-color: #003a8c;
    border-radius: 50%;
    border: 3px solid #ffffff;
    box-shadow: 0 0 0 2px #003a8c;
    position: relative;
    top: 6px;
    flex-shrink: 0;
    justify-self: center;
}

.timeline-content {
    padding: 1.5rem;
}

.timeline-left .timeline-content { text-align: right; }
.timeline-left .timeline-dot     { grid-column: 2; }
.timeline-left .timeline-spacer  { grid-column: 3; }

.timeline-right .timeline-spacer  { grid-column: 1; }
.timeline-right .timeline-dot     { grid-column: 2; }
.timeline-right .timeline-content { grid-column: 3; }

.timeline-year {
    font-size: 1.1rem;
    font-weight: 800;
    color: #003a8c;
    display: block;
    margin-bottom: 0.25rem;
    font-family: 'Outfit', sans-serif;
}

.timeline-content h4 {
    font-size: 1rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.5rem;
    font-family: 'Inter', sans-serif;
}

.timeline-content p {
    font-size: 0.875rem;
    color: #64748b;
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 768px) {
    .timeline::before {
        left: 8px;
    }

    .timeline-item {
        grid-template-columns: 16px 1fr;
        gap: 0 1rem;
    }

    .timeline-left .timeline-content,
    .timeline-right .timeline-content {
        grid-column: 2;
        text-align: left;
    }

    .timeline-left .timeline-dot,
    .timeline-right .timeline-dot {
        grid-column: 1;
        grid-row: 1;
    }

    .timeline-left .timeline-spacer,
    .timeline-right .timeline-spacer {
        display: none;
    }
}

/* Leadership Team Section */
.leadership-section {
    background-color: #ffffff;
    padding: 6rem 0;
}

.leadership-subtitle {
    font-size: 0.8rem;
    font-weight: 700;
    color: #003a8c;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 0.5rem;
}

.leadership-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #0f172a;
    font-family: 'Outfit', sans-serif;
}

.leadership-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.leader-card {
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.leader-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
}

.leader-img-wrapper {
    width: 100%;
    /* height: 260px; */
    overflow: hidden;
}

.leader-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    transition: transform 0.5s ease;
}

.leader-card:hover .leader-img-wrapper img {
    transform: scale(1.04);
}

.leader-info {
    padding: 1.5rem;
}

.leader-info h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.25rem;
    font-family: 'Inter', sans-serif;
}

.leader-role {
    font-size: 0.875rem;
    font-weight: 600;
    color: #003a8c;
    display: block;
    margin-bottom: 0.75rem;
}

.leader-info p {
    font-size: 0.875rem;
    color: #64748b;
    line-height: 1.7;
    margin: 0;
}

@media (max-width: 992px) {
    .leadership-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .leadership-grid {
        grid-template-columns: 1fr;
    }
}
.map-address h3{
    border-left: 8px solid #003a8c;
    padding-left: 10px;
    color: #003a8c;
}
.map-address p{
    color: #000000;
}
.contact-title{
    color: #003a8c;
}
.contact-subtitle{
    color: #0f172a;
}

/* ================================================== */
/* SECTORS PAGE STYLES */
/* ================================================== */
.sectors-section {
    background-color: #f8fafc;
    padding: 5rem 0;
}

.sectors-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.sector-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
}

.sector-card:hover {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    transform: translateY(-5px);
}

.sector-icon {
    width: 60px;
    height: 60px;
    background: #f0f4ff;
    color: #003a8c;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.sector-card.active .sector-icon,
.sector-card:hover .sector-icon {
    background: #003a8c;
    color: #ffffff;
}

.sector-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 1rem;
    font-family: 'Outfit', sans-serif;
}

.sector-card p {
    font-size: 0.95rem;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.sector-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.sector-tags span {
    background: #f1f5f9;
    color: #475569;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.4rem 0.8rem;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.sector-card.active .sector-tags span {
    background: #e0e7ff;
    color: #003a8c;
}

/* Offcanvas Sidebar */
.sector-offcanvas {
    position: fixed;
    top: 0;
    right: -70%; /* Hidden off screen */
    width: 70%;
    height: 100vh;
    background: #ffffff;
    box-shadow: -5px 0 30px rgba(0, 0, 0, 0.1);
    z-index: 9999;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
    padding: 3rem 2.5rem;
}

.sector-offcanvas.open {
    right: 0;
}

.sector-offcanvas-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(3px);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.sector-offcanvas-overlay.open {
    opacity: 1;
    visibility: visible;
}

.close-offcanvas {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: #f1f5f9;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #64748b;
    cursor: pointer;
    transition: all 0.2s ease;
}

.close-offcanvas:hover {
    background: #ef4444;
    color: white;
}

.offcanvas-content .offcanvas-header-icon {
    width: 70px;
    height: 70px;
    background: #003a8c;
    color: white;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.offcanvas-content h2 {
    font-size: 2rem;
    font-weight: 800;
    color: #0f172a;
    font-family: 'Outfit', sans-serif;
    margin-bottom: 1rem;
}

.offcanvas-content p {
    font-size: 1rem;
    color: #475569;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.offcanvas-content h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #e2e8f0;
}

.offcanvas-services-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.offcanvas-services-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid #f1f5f9;
    color: #334155;
    font-weight: 500;
}

.offcanvas-services-list li i {
    color: #003a8c;
    margin-top: 4px;
}

@media (max-width: 1024px) {
    .sectors-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .sectors-grid {
        grid-template-columns: 1fr;
    }
    .sector-offcanvas {
        width: 100%; /* Full width on mobile */
        right: -100%;
    }
}

/* ================================================== */
/* PROJECTS PAGE STYLES */
/* ================================================== */
.projects-section {
    padding: 5rem 0;
    background-color: #f8fafc;
}

.projects-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
    margin-bottom: 2.5rem;
}

.projects-tab {
    border: 1px solid #cbd5e1;
    background: #ffffff;
    color: #475569;
    font-size: 0.9rem;
    font-weight: 700;
    padding: 0.8rem 1.35rem;
    border-radius: 999px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.projects-tab:hover {
    border-color: #003a8c;
    color: #003a8c;
}

.projects-tab.active {
    background: #003a8c;
    border-color: #003a8c;
    color: #ffffff;
    box-shadow: 0 10px 20px rgba(0, 58, 140, 0.18);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

.project-card {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e2e8f0;
    display: flex;
    flex-direction: column;
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 58, 140, 0.1);
}

.project-img {
    height: 220px;
    overflow: hidden;
    position: relative;
    background: #e2e8f0;
}

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

.project-card:hover .project-img img {
    transform: scale(1.05);
}

.project-img-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: #94a3b8;
    background: #f1f5f9;
}

.project-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.project-category {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #003a8c;
    letter-spacing: 1px;
    margin-bottom: 0.75rem;
    display: inline-block;
}

.project-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 1rem;
    font-family: 'Outfit', sans-serif;
    line-height: 1.4;
}

.project-excerpt {
    font-size: 0.95rem;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.project-btn {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: #003a8c;
    border: 2px solid #003a8c;
    padding: 0.6rem 1.25rem;
    border-radius: 50px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.project-btn:hover {
    background: #003a8c;
    color: #ffffff;
}

@media (max-width: 768px) {
    .projects-tabs {
        justify-content: flex-start;
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 0.35rem;
        margin-bottom: 2rem;
        scrollbar-width: thin;
    }

    .projects-tab {
        flex: 0 0 auto;
        white-space: nowrap;
    }
}

@media (max-width: 1024px) {
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .projects-grid {
        grid-template-columns: 1fr;
    }
}

/* ================================================== */
/* CREDENTIALS PAGE STYLES */
/* ================================================== */
.credentials-page {
    background: #ffffff;
    color: #0f172a;
}

/* .credentials-page .container {
    max-width: 980px;
} */

.credentials-hero {
    background: #00479b;
    color: #ffffff;
    padding: 8rem 0 4.5rem;
}

.credentials-breadcrumb {
    align-items: center;
    display: flex;
    gap: 0.45rem;
    margin-bottom: 0.65rem;
}

.credentials-breadcrumb,
.credentials-breadcrumb a {
    color: rgba(255, 255, 255, 0.76);
    font-size: 0.76rem;
    font-weight: 500;
}

.credentials-breadcrumb a:hover,
.credentials-breadcrumb span:last-child {
    color: #ffffff;
}

.credentials-hero h1 {
    color: #ffffff;
    font-family: 'Inter', sans-serif;
    font-size: 2.85rem;
    font-weight: 800;
    line-height: 1.05;
    margin: 0 0 0.85rem;
}

.credentials-hero p {
    color: #ffffff;
    font-size: 1rem;
    line-height: 1.55;
    margin: 0;
    max-width: 680px;
}

.credentials-intro-section {
    background: #ffffff;
    padding: 6rem 0 3rem;
}

.credentials-intro {
    margin: 0 auto;
    max-width: 780px;
    text-align: center;
}

.credentials-intro h2,
.credentials-cta h2 {
    color: #0f172a;
    font-family: 'Inter', sans-serif;
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1.2;
    margin: 0 0 1rem;
}

.credentials-intro p,
.credentials-cta p {
    color: #31445f;
    font-size: 0.95rem;
    line-height: 1.8;
    margin: 0;
}

.credentials-grid-section {
    background: #ffffff;
    padding: 1rem 0 6rem;
}

.credentials-grid {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: repeat(3, 1fr);
}

.credential-card {
    background: #f4f7fb;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    min-height: 220px;
    padding: 2rem 1.85rem 1.75rem;
}

.credential-icon,
.credential-badge {
    align-items: center;
    color: #00479b;
    display: inline-flex;
    height: 46px;
    justify-content: center;
    margin-bottom: 1.35rem;
}

.credential-icon {
    font-size: 1.8rem;
}

.credential-badge {
    border: 2px solid #00479b;
    border-radius: 6px;
    font-size: 0.92rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    padding: 0 0.75rem;
}

.credential-card h3 {
    color: #0f172a;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 800;
    line-height: 1.35;
    margin: 0 0 0.85rem;
}

.credential-card p {
    color: #31445f;
    font-size: 0.82rem;
    line-height: 1.7;
    margin: 0;
}

.view-certificate {
    margin-top: auto;
    padding-top: 1.25rem;
}

.certificate-trigger {
    background: transparent;
    border: 0;
    border-bottom: 1px solid #00479b;
    color: #00479b;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 700;
    padding: 0;
}

.certificate-trigger:hover {
    color: #00367a;
}

.certificate-modal-open {
    overflow: hidden;
}

.certificate-modal {
    inset: 0;
    opacity: 0;
    pointer-events: none;
    position: fixed;
    transition: opacity 0.25s ease;
    z-index: 9999;
}

.certificate-modal.is-visible {
    opacity: 1;
    pointer-events: auto;
}

.certificate-modal-backdrop {
    background: rgba(15, 23, 42, 0.72);
    inset: 0;
    position: absolute;
}

.certificate-modal-dialog {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 24px 80px rgba(15, 23, 42, 0.26);
    display: flex;
    flex-direction: column;
    height: min(88vh, 860px);
    left: 50%;
    max-width: 1080px;
    overflow: hidden;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    width: calc(100% - 2rem);
}

.certificate-modal-header,
.certificate-modal-footer {
    align-items: center;
    background: #ffffff;
    display: flex;
    justify-content: space-between;
    padding: 1rem 1.25rem;
}

.certificate-modal-header {
    border-bottom: 1px solid #dbe4ef;
}

.certificate-modal-header h2 {
    color: #0f172a;
    font-size: 1.05rem;
    font-weight: 800;
    margin: 0;
}

.certificate-modal-close {
    background: transparent;
    border: 0;
    color: #0f172a;
    cursor: pointer;
    font-size: 2rem;
    line-height: 1;
    padding: 0;
}

.certificate-modal-body {
    background: #eef3f8;
    flex: 1;
    min-height: 0;
    padding: 0.85rem;
}

.certificate-modal-body iframe {
    background: #ffffff;
    border: 0;
    border-radius: 12px;
    display: block;
    height: 100%;
    width: 100%;
}

.certificate-modal-footer {
    border-top: 1px solid #dbe4ef;
    justify-content: flex-end;
}

.certificate-modal-footer a {
    color: #00479b;
    font-size: 0.9rem;
    font-weight: 700;
}

.credentials-cta-section {
    background: #f3f7fc;
    padding: 5.5rem 0;
}

.credentials-cta {
    background: #ffffff;
    border-radius: 10px;
    margin: 0 auto;
    max-width: 850px;
    padding: 3rem;
    text-align: center;
}

.credentials-cta-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

.credentials-cta-buttons .btn {
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 800;
    padding: 0.9rem 1.35rem;
}

.credentials-cta-buttons .btn-primary {
    background: #00479b;
    border-color: #00479b;
    color: #ffffff;
}

.credentials-cta-buttons .btn-primary:hover {
    background: #003a8c;
    border-color: #003a8c;
    color: #ffffff;
}

.credentials-cta-buttons .btn-secondary {
    background: #ffffff;
    border: 1px solid #cbd8e6;
    color: #00479b;
}

.credentials-cta-buttons .btn-secondary:hover {
    background: #eef5ff;
    border-color: #00479b;
    color: #00479b;
}

@media (max-width: 992px) {
    .credentials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .credentials-hero {
        padding: 6.5rem 0 3.5rem;
    }

    .credentials-hero h1 {
        font-size: 2.25rem;
    }

    .credentials-intro-section {
        padding: 4.5rem 0 2rem;
    }

    .credentials-grid-section {
        padding: 1rem 0 4.5rem;
    }

    .credentials-grid {
        grid-template-columns: 1fr;
    }

    .credentials-intro h2,
    .credentials-cta h2 {
        font-size: 1.85rem;
    }

    .credentials-cta-section {
        padding: 4rem 0;
    }

    .credentials-cta {
        padding: 2rem 1.35rem;
    }

    .certificate-modal-dialog {
        height: min(82vh, 700px);
        width: calc(100% - 1rem);
    }

    .certificate-modal-header,
    .certificate-modal-footer {
        padding: 0.85rem 1rem;
    }

    .certificate-modal-body {
        padding: 0.65rem;
    }
}

/* ================================================== */
/* CLIENTS PAGE STYLES */
/* ================================================== */
.clients-page {
    background: #ffffff;
    color: #0f172a;
}

.clients-page .container {
    max-width: 1080px;
}

.clients-hero {
    background: #00479b;
    color: #ffffff;
    padding: 8rem 0 4.5rem;
}

.clients-hero .container {
    max-width: 980px;
}

.clients-breadcrumb {
    align-items: center;
    display: flex;
    gap: 0.45rem;
    margin-bottom: 0.65rem;
}

.clients-breadcrumb,
.clients-breadcrumb a {
    color: rgba(255, 255, 255, 0.76);
    font-size: 0.76rem;
    font-weight: 500;
}

.clients-breadcrumb a:hover,
.clients-breadcrumb span:last-child {
    color: #ffffff;
}

.clients-hero h1 {
    color: #ffffff;
    font-family: 'Inter', sans-serif;
    font-size: 2.85rem;
    font-weight: 800;
    line-height: 1.05;
    margin: 0 0 0.85rem;
}

.clients-hero p {
    color: #ffffff;
    font-size: 1rem;
    line-height: 1.55;
    margin: 0;
    max-width: 660px;
}

.clients-grid-section {
    background: #ffffff;
    padding: 7rem 0 6rem;
}

.clients-heading {
    margin-bottom: 2.2rem;
    text-align: center;
}

.clients-heading span {
    color: #00479b;
    display: block;
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 3px;
    margin-bottom: 0.45rem;
    text-transform: uppercase;
}

.clients-heading h2 {
    color: #0f172a;
    font-family: 'Inter', sans-serif;
    font-size: 2.35rem;
    font-weight: 800;
    margin: 0;
}

.clients-logo-grid {
    display: grid;
    gap: 1.25rem;
    grid-template-columns: repeat(5, 1fr);
}

.client-logo-card {
    align-items: center;
    background: #f4f7fb;
    border: 1px solid #e3ebf4;
    border-radius: 8px;
    display: flex;
    justify-content: center;
    min-height: 130px;
    padding: 1.25rem;
    transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.client-logo-card:hover {
    border-color: #b8cde5;
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.08);
    transform: translateY(-3px);
}

.client-logo-card img {
    display: block;
    height: auto;
    max-height: 78px;
    max-width: 100%;
    object-fit: contain;
    width: auto;
}

@media (max-width: 992px) {
    .clients-logo-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 768px) {
    .clients-hero {
        padding: 6.5rem 0 3.5rem;
    }

    .clients-hero h1 {
        font-size: 2.25rem;
    }

    .clients-grid-section {
        padding: 4.5rem 0;
    }

    .clients-heading h2 {
        font-size: 1.9rem;
    }

    .clients-logo-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .clients-logo-grid {
        gap: 0.9rem;
    }

    .client-logo-card {
        min-height: 110px;
        padding: 1rem;
    }
}

/* ================================================== */
/* CAREER PAGE STYLES */
/* ================================================== */
.career-page {
    background: #ffffff;
    color: #0f172a;
}

.career-hero {
    background: #00479b;
    color: #ffffff;
    padding: 8rem 0 4.5rem;
}

.career-hero .container {
    max-width: 980px;
}

.career-breadcrumb {
    align-items: center;
    display: flex;
    gap: 0.45rem;
    margin-bottom: 0.65rem;
}

.career-breadcrumb,
.career-breadcrumb a {
    color: rgba(255, 255, 255, 0.76);
    font-size: 0.76rem;
    font-weight: 500;
}

.career-breadcrumb a:hover,
.career-breadcrumb span:last-child {
    color: #ffffff;
}

.career-hero h1 {
    color: #ffffff;
    font-family: 'Inter', sans-serif;
    font-size: 2.85rem;
    font-weight: 800;
    line-height: 1.05;
    margin: 0 0 0.7rem;
}

.career-hero p {
    color: #ffffff;
    font-size: 1rem;
    line-height: 1.45;
    margin: 0;
}

.career-benefits-section {
    background: #ffffff;
    padding: 7rem 0 5rem;
}

.career-openings-section {
    background: #f3f7fc;
    padding: 6rem 0 6.5rem;
}

.career-page .container {
    max-width: 980px;
}

.career-heading {
    margin-bottom: 2.2rem;
    text-align: center;
}

.career-heading span {
    color: #00479b;
    display: block;
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 3px;
    margin-bottom: 0.45rem;
    text-transform: uppercase;
}

.career-heading h2 {
    color: #0f172a;
    font-family: 'Inter', sans-serif;
    font-size: 2.35rem;
    font-weight: 800;
    margin: 0;
}

.career-benefits-grid {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: repeat(3, 1fr);
}

.career-benefit-card {
    background: #f4f7fb;
    border-radius: 8px;
    min-height: 170px;
    padding: 2rem 1.85rem 1.75rem;
}

.career-benefit-card i {
    color: #00479b;
    display: block;
    font-size: 1.7rem;
    margin-bottom: 1.35rem;
}

.career-benefit-card h3 {
    color: #0f172a;
    font-family: 'Inter', sans-serif;
    font-size: 0.98rem;
    font-weight: 800;
    margin: 0 0 0.85rem;
}

.career-benefit-card p {
    color: #31445f;
    font-size: 0.78rem;
    line-height: 1.65;
    margin: 0;
}

.career-jobs {
    display: grid;
    gap: 1rem;
}

.career-job {
    background: #ffffff;
    border: 1px solid #cbd8e6;
    border-radius: 10px;
    overflow: hidden;
}

.career-job summary {
    cursor: pointer;
    display: grid;
    gap: 0.55rem;
    grid-template-columns: 1fr auto;
    list-style: none;
    padding: 1.25rem 1.5rem;
}

.career-job summary::-webkit-details-marker {
    display: none;
}

.career-job summary i {
    color: #00479b;
    font-size: 0.85rem;
    grid-column: 2;
    grid-row: 1 / span 2;
    margin-top: 0.25rem;
    transition: transform 0.25s ease;
}

.career-job[open] summary i {
    transform: rotate(180deg);
}

.career-job-title {
    color: #0f172a;
    font-size: 1rem;
    font-weight: 800;
}

.career-job-meta {
    align-items: center;
    color: #64748b;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    font-size: 0.82rem;
}

.career-tag {
    background: #eef5ff;
    border-radius: 999px;
    color: #00479b;
    font-size: 0.72rem;
    font-weight: 800;
    padding: 0.28rem 0.65rem;
}

.career-job-body {
    border-top: 1px solid #dbe4ef;
    padding: 1.35rem 1.5rem 1.5rem;
}

.career-job-body p {
    color: #334155;
    font-size: 0.88rem;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.career-job-columns {
    display: grid;
    gap: 2.5rem;
    grid-template-columns: repeat(2, 1fr);
    margin-bottom: 1.5rem;
}

.career-job-columns h3 {
    color: #0f172a;
    font-family: 'Inter', sans-serif;
    font-size: 0.86rem;
    font-weight: 800;
    margin-bottom: 0.55rem;
}

.career-job-columns ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.career-job-columns li {
    color: #334155;
    font-size: 0.83rem;
    line-height: 1.65;
    margin-bottom: 0.35rem;
    padding-left: 0.9rem;
    position: relative;
}

.career-job-columns li::before {
    border-radius: 50%;
    content: '';
    height: 5px;
    left: 0;
    position: absolute;
    top: 0.63rem;
    width: 5px;
}

.career-blue-list li::before {
    background: #00479b;
}

.career-green-list li::before {
    background: #11a363;
}

.career-apply-btn {
    align-items: center;
    background: #00479b;
    border-radius: 6px;
    color: #ffffff;
    display: inline-flex;
    font-size: 0.9rem;
    font-weight: 800;
    gap: 0.55rem;
    padding: 0.85rem 1.25rem;
}

.career-apply-btn:hover {
    background: #003a8c;
    color: #ffffff;
}

.career-apply-section {
    background: #ffffff;
    padding: 5rem 0 1.5rem;
}

.career-apply-section h2 {
    color: #0f172a;
    font-family: 'Inter', sans-serif;
    font-size: 1.85rem;
    font-weight: 800;
    margin-bottom: 2rem;
    text-align: center;
}

.career-steps {
    display: grid;
    gap: 1.4rem;
    margin: 0 auto 2rem;
    max-width: 760px;
}

.career-step {
    align-items: center;
    background: #f3f7fc;
    border-radius: 10px;
    display: grid;
    gap: 1rem;
    grid-template-columns: auto 1fr;
    padding: 1.2rem 1.45rem;
}

.career-step span {
    align-items: center;
    background: #00479b;
    border-radius: 50%;
    color: #ffffff;
    display: inline-flex;
    font-size: 0.85rem;
    font-weight: 800;
    height: 38px;
    justify-content: center;
    width: 38px;
}

.career-step p {
    color: #0f172a;
    font-size: 0.88rem;
    line-height: 1.6;
    margin: 0;
}

.career-step a,
.career-query a {
    color: #00479b;
    font-weight: 800;
}

.career-query {
    color: #334155;
    font-size: 0.88rem;
    margin: 0;
    text-align: center;
}

@media (max-width: 768px) {
    .career-hero {
        padding: 6.5rem 0 3.5rem;
    }

    .career-hero h1 {
        font-size: 2.25rem;
    }

    .career-benefits-section {
        padding: 4.5rem 0 3.5rem;
    }

    .career-benefits-grid {
        grid-template-columns: 1fr;
    }

    .career-openings-section {
        padding: 4.5rem 0 4rem;
    }

    .career-heading h2 {
        font-size: 1.9rem;
    }

    .career-job-columns {
        gap: 1rem;
        grid-template-columns: 1fr;
    }

    .career-job summary {
        padding: 1.1rem;
    }

    .career-job-body {
        padding: 1.1rem;
    }
}

@media (max-width: 576px) {
    .career-step {
        align-items: flex-start;
    }
}

