/* GLOBAL CSS VARIABLES EXPANSION */
:root {
    --radius: 12px;
}

/* Global Component Radii Application */
.btn {
    border-radius: var(--radius);
}

.ui-box {
    border-radius: var(--radius);
    overflow: hidden;
}

.round-img {
    border-radius: var(--radius);
}

.dashed-box {
    border: 1px dashed var(--primary);
}
.ui-box.theme-light.dashed-box {
    padding: 2.5rem;
}

/* Page Headers globally adopting Hero Aesthetic per user request */
.page-hero {
    position: relative;
    padding-top: 100px;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary);
    background-image:
        radial-gradient(circle at 20% 40%, rgba(159, 231, 245, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 80% 20%, rgba(66, 158, 189, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 50% 80%, rgba(247, 173, 25, 0.05) 0%, transparent 40%),
        linear-gradient(135deg, var(--primary) 0%, var(--primary) 25%, var(--tertiary) 70%, var(--primary-light) 100%);
    color: var(--white);
    text-align: center;
    overflow: hidden;
    z-index: 1;
}

/* Subtle drifting texture from home page hero */
.page-hero::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background-image: radial-gradient(rgba(255, 255, 255, 0.06) 2px, transparent 2px);
    background-size: 40px 40px;
    z-index: 0;
    pointer-events: none;
    animation: floatParticles 80s linear infinite;
    background-color: transparent;
}

/* Water Wave Divider at the bottom of hero */
.page-hero::after {
    content: "";
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 80px;
    background-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 1200 120" preserveAspectRatio="none" xmlns="http://www.w3.org/2000/svg"><path d="M0,0V46.29c47.79,22.2,103.59,32.17,158,28,70.36-5.37,136.33-33.31,206.8-37.5C438.64,32.43,512.34,53.67,583,72.05c69.27,18,138.3,24.88,209.4,13.08,36.15-6,69.85-17.84,104.45-29.34C989.49,25,1113-14.29,1200,52.47V0Z" fill="%23FFFFFF" opacity=".25"/><path d="M0,0V15.81C13,36.92,27.64,56.86,47.69,72.05c38.3,29.07,91.86,39.31,141.33,39.31,111.47,0,195.1-66.52,311.95-66.52,109.15,0,196.15,62.13,303.11,62.13,111.23,0,194.27-58.42,295.92-58.42,39.11,0,76.51,7.21,100,10.74V0Z" fill="%23FFFFFF" opacity=".5"/><path d="M0,0V5.63C149.93,59,314.09,71.32,475.83,42.57c43-7.64,84.23-20.12,127.61-26.46,59-8.63,112.48,12.24,165.56,35.4C827.93,77.22,886,95.24,951.2,90c86.53-7,172.46-45.71,248.8-84.81V0Z" fill="%23FFFFFF"/></svg>');
    background-size: 100% 100%;
    background-position: center bottom;
    background-repeat: no-repeat;
    pointer-events: none;
    z-index: 5;
    transform: rotate(180deg);
}

.page-hero-img {
    display: none;
    /* Native override since gradient holds priority */
}

.page-hero-overlay {
    display: none;
}

.page-hero-content {
    position: relative;
    z-index: 3;
    max-width: 800px;
    padding: 0 5%;
}

.page-hero-content h1 {
    font-size: clamp(2.5rem, 4vw, 4rem);
    margin-bottom: 0.5rem;
    color: #ffffff !important;
}

.page-hero-content p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9) !important;
    letter-spacing: 1px;
}

/* General Layouts */
.section {
    padding: 6rem 5%;
    max-width: 1600px;
    margin: 0 auto;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.bg-light {
    background-color: var(--gray-bg);
}

.bg-dark {
    background-color: var(--primary);
}

.text-white,
.text-white p,
.text-white h1,
.text-white h2,
.text-white h3,
.text-white h4 {
    color: var(--white);
}

.center {
    text-align: center;
}

/* Grid Split */
.grid-split {
    display: flex;
    gap: 4rem;
    align-items: center;
}

.split-col {
    flex: 1;
}

.split-img img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* Mission & Vision Redesign */
.mission-vision-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.mv-story-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    background-image: url('assets/rockman_demo_bw_1773037467372.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: flex-end;
    min-height: 400px;
}

.story-overlay {
    background: linear-gradient(to top, rgba(5, 63, 92, 0.9) 0%, rgba(5, 63, 92, 0.5) 60%, transparent 100%);
    padding: 3rem 2.5rem 2.5rem;
    width: 100%;
}

.story-overlay h3 {
    color: var(--white);
    font-size: 2rem;
    margin-bottom: 0.8rem;
    font-family: var(--font-heading);
    font-weight: 800;
}

.story-overlay p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.05rem;
    line-height: 1.6;
}

.mv-right-col {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.mv-card {
    padding: 3.5rem 3rem;
    text-align: left;
    border-radius: 20px;
    flex: 1;
    /* Distributes available height evenly between the two cards */
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.mv-card h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    font-family: var(--font-heading);
    font-weight: 800;
}

.mv-mission {
    background-color: var(--primary-light);
    color: var(--primary);
}

.mv-vision {
    background-color: var(--primary);
    color: var(--white);
}

.mv-vision h3,
.mv-vision p {
    color: var(--white) !important;
}

/* Specialties / Services Features Grids */
.specialty-grid,
.services-feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.specialty-box,
.feature-box {
    padding: 3rem 2rem;
    border: 1px solid var(--primary);
    text-align: center;
}

.icon-circle,
.f-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--primary);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-weight: 900;
    font-size: 1.25rem;
}

.theme-primary .f-icon {
    background-color: var(--white);
    color: var(--primary);
}

/* Forms */
.form-input {
    width: 100%;
    padding: 1.25rem;
    margin-bottom: 1.5rem;
    border: 1px solid var(--primary);
    border-radius: var(--radius);
    background-color: transparent;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--primary);
}

.form-input::placeholder {
    color: #888;
}

.form-input.bg-dark {
    background-color: transparent;
}

.form-input.border-white {
    border-color: rgba(255, 255, 255, 0.3);
}

.quick-inquiry-form,
.advanced-form {
    max-width: 600px;
    margin: 0 auto;
    padding: 3rem;
    background-color: var(--white);
}

/* Accordion */
.accordion-container {
    background-color: var(--white);
    border: 1px solid var(--primary);
}

.accordion-item {
    border-bottom: 1px solid var(--primary);
}

.accordion-item:last-child {
    border-bottom: none;
}

.accordion-header {
    width: 100%;
    text-align: left;
    border: none;
    outline: none;
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 800;
    padding: 1.5rem 2rem;
    background-color: var(--white);
    color: var(--primary);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    transition: all 0.3s;
}

.accordion-item.active .accordion-header,
.accordion-header:hover {
    background-color: var(--primary);
    color: var(--white);
}

.accordion-body {
    max-height: 0;
    overflow: hidden;
    padding: 0 2rem;
    background-color: var(--gray-bg);
    transition: all 0.3s ease;
}

/* Testimonial Slider & Mini Gallery */
.testimonial-section .section-title h2 {
    color: var(--white) !important;
}

.testimonial-slider-container {
    width: 100%;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 1rem;
}

.testimonial-slider {
    display: flex;
    gap: 2rem;
    min-width: max-content;
}

.testimonial-card {
    width: 400px;
    padding: 3rem;
    background-color: var(--white);
    border: 1px solid var(--primary);
    color: var(--primary);
    scroll-snap-align: center;
}

.stars {
    color: var(--primary);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.quote {
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 2rem;
    color: #000000 !important;
}

.client-name {
    font-weight: 800;
    display: block;
}

.client-role {
    font-size: 0.85rem;
    color: var(--gray-text);
}

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

.mini-gallery-grid img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

/* Masonry Gallery */
.gallery-masonry {
    column-count: 3;
    column-gap: 1.5rem;
}

.masonry-item {
    break-inside: avoid;
    margin-bottom: 1.5rem;
    position: relative;
    cursor: pointer;
}

.masonry-item img {
    width: 100%;
    display: block;
}

.masonry-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    border-radius: var(--radius);
    transition: opacity 0.3s;
}

.masonry-item:hover .masonry-overlay {
    opacity: 1;
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    z-index: 2000;
    padding: 50px 0;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
}

.lightbox-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 80%;
    border-radius: var(--radius);
}

.lightbox-caption {
    margin: auto;
    display: block;
    width: 80%;
    text-align: center;
    color: var(--white);
    padding: 10px 0;
    font-family: var(--font-heading);
    letter-spacing: 1px;
}

.lightbox-close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
}

.lightbox-prev,
.lightbox-next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -50px;
    color: white;
    font-weight: bold;
    font-size: 30px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
    -webkit-user-select: none;
    background: transparent;
    border: none;
}

.lightbox-next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

/* Contact Split Layout */
.split-contact-wrapper {
    display: flex;
    min-height: 100vh;
}

.contact-info-hub {
    flex: 1;
    padding: 6rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-form-side {
    flex: 1.2;
    padding: 6rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.info-block {
    margin-bottom: 2.5rem;
}

.info-block h4 {
    margin-bottom: 0.5rem;
    letter-spacing: 2px;
}

.contact-link {
    color: var(--primary);
    font-weight: 600;
}

.contact-link:hover {
    text-decoration: underline;
}

.map-placeholder {
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px dashed var(--primary);
    border-radius: var(--radius);
    background-color: rgba(5, 63, 92, 0.05);
}

.form-row {
    display: flex;
    gap: 1rem;
}

/* Responsiveness Extensions */
@media(max-width: 992px) {
    .grid-split {
        flex-direction: column;
    }

    .mission-vision-grid {
        grid-template-columns: 1fr;
    }

    .gallery-masonry {
        column-count: 2;
    }

    .split-contact-wrapper {
        flex-direction: column;
    }

    .contact-info-hub,
    .contact-form-side {
        padding: 4rem 5%;
    }
}

@media(max-width: 768px) {
    .gallery-masonry {
        column-count: 1;
    }

    .mini-gallery-grid {
        grid-template-columns: 1fr;
    }

    .testimonial-card {
        width: 300px;
        padding: 2rem;
    }

    .form-row {
        flex-direction: column;
        gap: 0;
    }
}

/* WHO WE ARE Section (About Page specific hero redesign) */
.who-we-are-hero {
    padding: 10rem 5% 5rem;
    max-width: 1600px;
    margin: 0 auto;
    overflow: hidden;
    background-color: var(--white);
}

.wwa-container {
    display: flex;
    align-items: center;
    gap: 4rem;
    max-width: 1400px;
    margin: 0 auto;
}

/* Left Content */
.wwa-left {
    flex: 1;
    display: flex;
    gap: 3rem;
}

/* Social Mini Sidebar */
.wwa-social-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding-top: 1rem;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(247, 173, 25, 0.15);
    /* Light yellow */
    color: var(--secondary);
    /* Golden Yellow */
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-weight: bold;
    font-size: 1rem;
    font-family: var(--font-heading);
    transition: all 0.3s;
}

.social-icon:hover {
    background-color: var(--secondary);
    color: var(--white);
}

.wwa-text-content {
    flex: 1;
}

.wwa-subtitle {
    font-size: 1.2rem;
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--primary);
    /* Navy */
    margin-bottom: 2rem;
    letter-spacing: 0.5px;
}

.wwa-title {
    font-size: clamp(2rem, 3vw, 2.5rem) !important;
    line-height: 1.3;
    font-weight: 900;
    color: var(--primary);
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

.highlight-box {
    display: inline-block;
    background-color: var(--primary);
    /* Deep Navy acting as the solid box */
    color: var(--white);
    padding: 0 1.2rem;
    border-radius: 4px;
    /* Slightly sharp box for industrial look */
    margin-top: 0.5rem;
}

.wwa-desc {
    font-size: 1.1rem;
    color: var(--gray-text);
    line-height: 1.8;
    margin-bottom: 3rem;
    max-width: 550px;
}

.wwa-actions {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.wwa-btn {
    background-color: var(--secondary);
    color: var(--primary);
    border: none;
    padding: 1.2rem 2.5rem;
    font-weight: 800;
    font-size: 1.1rem;
    border-radius: 8px;
    cursor: pointer;
    text-decoration: none;
    box-shadow: 0 10px 20px rgba(247, 173, 25, 0.2);
    transition: transform 0.3s, box-shadow 0.3s;
}

.wwa-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 25px rgba(247, 173, 25, 0.3);
}

.wwa-play-btn {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    color: var(--primary);
    font-weight: 800;
    font-family: var(--font-heading);
    font-size: 1.1rem;
}

.play-circle {
    width: 50px;
    height: 50px;
    border: 2px solid var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    transition: all 0.3s;
}

.play-circle svg {
    width: 20px;
    height: 20px;
    margin-left: 4px;
    /* optical center */
}

.wwa-play-btn:hover .play-circle {
    background-color: var(--primary);
    color: var(--white);
}

/* Right Content */
.wwa-right {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    min-height: 500px;
    background-image:
        radial-gradient(circle at top right, rgba(159, 231, 245, 0.1) 0%, transparent 60%);
}

.wwa-bg-block {
    position: absolute;
    top: 5%;
    right: -20px;
    width: 90%;
    height: 95%;
    background-color: var(--tertiary);
    /* Medium Cyan to match the reference backdrop offset */
    background-image: radial-gradient(circle at 10% 10%, rgba(255, 255, 255, 0.1) 0%, transparent 40%);
    border-radius: 20px;
    z-index: 1;
}

.wwa-subject-img {
    position: relative;
    z-index: 2;
    max-height: 500px;
    height: auto;
    width: 90%;
    object-fit: cover;
    border-radius: var(--radius);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    transform: translateX(-5%);
    /* Slight overhang for layered effect */
}

/* Floating Cards Overlays */
.float-card {
    position: absolute;
    background: #ffffff;
    padding: 1.8rem;
    border-radius: 16px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
    /* Soft diffuse shadows acting like the reference */
    z-index: 10;
    min-width: 200px;
}

.card-title {
    font-size: 0.9rem;
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 0.8rem;
    font-family: var(--font-heading);
}

.card-value {
    font-size: 1.8rem;
    font-family: var(--font-heading);
    font-weight: 800;
    color: var(--primary-light);
    /* using light blue / cyan for data focus */
    margin-bottom: 0.8rem;
    display: flex;
    align-items: flex-end;
}

.card-sub {
    font-size: 0.85rem;
    color: var(--gray-text);
    font-weight: 600;
}

.card-bottom-left {
    bottom: 30px;
    left: -60px;
    /* Strong left overlap out of the container boundary */
}

.card-top-right {
    top: 60px;
    right: -30px;
    /* Overlap right */
}

.card-top-right .card-value {
    font-size: 1.6rem;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Responsive adjustments */
@media (max-width: 1000px) {
    .wwa-container {
        flex-direction: column;
    }

    .wwa-left {
        flex-direction: column-reverse;
        gap: 1.5rem;
    }

    .wwa-social-sidebar {
        flex-direction: row;
        padding-top: 0;
    }

    .wwa-right {
        width: 100%;
        margin-top: 2rem;
    }

    .wwa-bg-block {
        width: 90%;
        right: 0;
        /* Align clean */
    }

    .wwa-subject-img {
        transform: translateX(-5%);
        max-height: 400px;
    }

    .card-bottom-left {
        left: 0px;
        bottom: 10px;
    }

    .card-top-right {
        right: 0px;
        top: 20px;
    }
}

/* About Timeline Section */
.about-history-split {
    display: flex;
    gap: 4rem;
    align-items: stretch;
}

.history-timeline-col {
    flex: 1;
}

.history-image-col {
    flex: 1;
    display: flex;
    align-items: center;
}

.history-image-col img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius);
}

.left-timeline {
    position: relative;
    padding-left: 2rem;
    margin-top: 2rem;
}

.lt-line {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background-color: var(--primary);
    opacity: 0.2;
}

.lt-progress {
    position: absolute;
    left: 0;
    top: 0;
    width: 2px;
    background-color: var(--secondary);
    z-index: 1;
}

.lt-item {
    position: relative;
    margin-bottom: 2.5rem;
}

.lt-item:last-child {
    margin-bottom: 0;
}

.lt-dot {
    position: absolute;
    left: -2rem;
    top: 15px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background-color: var(--secondary);
    border: 3px solid var(--white);
    transform: translateX(-50%);
    box-shadow: 0 0 0 2px var(--primary);
    z-index: 2;
    transition: all 0.4s ease;
}

.lt-content {
    background-color: var(--gray-bg);
    padding: 1.5rem 2rem;
    border: 1px dashed var(--primary);
    border-radius: var(--radius);
    transition: all 0.4s ease;
}

.lt-item.active .lt-dot {
    background-color: var(--white);
    border-color: var(--secondary);
    box-shadow: 0 0 0 3px var(--secondary);
}

.lt-item.active .lt-content {
    border-color: var(--secondary);
    transform: translateX(10px);
}

.lt-content h4 {
    color: var(--primary);
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    font-family: var(--font-heading);
    font-weight: 800;
}

.lt-content p {
    font-size: 1rem;
    color: var(--primary);
    opacity: 0.8;
}

@media(max-width: 900px) {
    .about-history-split {
        flex-direction: column;
    }
}

/* Service Presentation Cards (Reference Image Design) */
.spc-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    padding-top: 2rem;
}

.service-presentation-card {
    background-color: var(--white);
    padding: 2.5rem 2rem;
    border-radius: 12px;
    position: relative;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
    text-align: left;
    transition: all 0.3s ease;
    z-index: 2;
    display: flex;
    flex-direction: column;
}

.service-presentation-card:hover {
    transform: translateY(-5px);
}

.service-presentation-card::before,
.service-presentation-card::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 60px;
    background-color: var(--primary);
    z-index: -1;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.service-presentation-card::before {
    top: -8px;
    right: -8px;
}

.service-presentation-card::after {
    bottom: -8px;
    left: -8px;
}

.service-presentation-card:hover::before {
    top: -12px;
    right: -12px;
    background-color: var(--secondary);
}

.service-presentation-card:hover::after {
    bottom: -12px;
    left: -12px;
    background-color: var(--secondary);
}

.spc-icon {
    width: 70px;
    height: 70px;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 1.5rem;
    background-color: var(--gray-bg);
}

.spc-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-presentation-card h3 {
    font-size: 1.3rem;
    color: var(--primary);
    margin-bottom: 0.8rem;
    font-weight: 800;
}

.service-presentation-card p {
    color: #6B7280;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.service-presentation-card .read-more {
    color: var(--primary);
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.3s ease;
    align-self: flex-end;
}

.service-presentation-card .read-more:hover {
    color: var(--secondary);
}

/* Video Intro Section */
.video-intro-section {
    padding: 6rem 5%;
    background-color: var(--white);
}

.video-intro-section .btn-primary {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.video-intro-section .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(5, 63, 92, 0.15);
}

.video-thumbnail-container a:hover {
    transform: scale(1.1) !important;
    background-color: rgba(255, 255, 255, 0.3) !important;
}

@media(max-width: 900px) {
    .video-intro-section .grid-split {
        flex-direction: column;
        gap: 3rem;
    }

    .video-thumbnail-container {
        padding-left: 0 !important;
        padding-bottom: 2rem !important;
        padding-right: 2rem !important;
    }

    .video-thumbnail-container>div:first-child {
        left: 2rem !important;
        right: 0 !important;
    }
}

.journey-section {
    position: relative;
    overflow: hidden;
    background-color: var(--white);
    padding-top: 8rem;
    padding-bottom: 8rem;
}

/* Redefined Header for better balance */
.journey-header-block {
    margin-bottom: 8rem;
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.journey-header-left {
    max-width: 650px;
    position: relative;
    z-index: 2;
}

.journey-header-img {
    flex: 0 0 400px;
    height: 300px;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    z-index: 2;
}

.journey-header-img::before {
    content: '';
    position: absolute;
    top: 15px;
    right: -15px;
    width: 100%;
    height: 100%;
    background-color: var(--secondary);
    border-radius: 20px;
    z-index: -1;
    opacity: 0.2;
}

.journey-header-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Subtle Technical grid */
.journey-bg-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(5, 63, 92, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(5, 63, 92, 0.03) 1px, transparent 1px);
    background-size: 80px 80px;
    z-index: 1;
    pointer-events: none;
}

/* Background Icons */
.journey-icon-bg {
    position: absolute;
    color: var(--primary);
    opacity: 0.04;
    z-index: 1;
    pointer-events: none;
}

.journey-icon-bg svg {
    width: 250px;
    height: 250px;
}

.journey-icon-bg.icon-1 {
    top: 5%;
    right: 5%;
    transform: rotate(15deg);
}

.journey-icon-bg.icon-2 {
    top: 40%;
    left: -5%;
    transform: rotate(-15deg);
}

.journey-icon-bg.icon-3 {
    bottom: 5%;
    right: -2%;
    transform: rotate(-5deg);
}

.journey-header-left .badge {
    background-color: var(--primary-light);
    color: var(--primary);
    padding: 0.5rem 1.2rem;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.9rem;
    display: inline-block;
    margin-bottom: 1.5rem;
}

.journey-header-left h2 {
    color: var(--primary);
    font-weight: 900;
    font-family: var(--font-heading);
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.journey-header-left p {
    color: #4B5563;
    font-size: 1.2rem;
    line-height: 1.7;
    max-width: 600px;
}

.journey-timeline-flow {
    display: flex;
    flex-direction: column;
    gap: 4rem;
    position: relative;
    padding-bottom: 2rem;
}

.journey-card-wrapper {
    position: relative;
    width: 100%;
    display: flex;
}

.journey-card-wrapper.left {
    justify-content: flex-start;
}

.journey-card-wrapper.right {
    justify-content: flex-end;
}

.journey-card {
    background-color: #F8F9FA;
    border-radius: 24px;
    padding: 2.5rem;
    width: 45%;
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

.journey-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.06);
}

.journey-card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.jc-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #eaf1ed;
    color: var(--primary);
    display: flex;
    justify-content: center;
    align-items: center;
}

.journey-card-header h3 {
    font-size: 1.5rem;
    color: var(--primary);
    margin: 0;
    font-weight: 700;
}

.journey-card p {
    color: #4B5563;
    line-height: 1.6;
    margin: 0;
}

/* Connecting lines converging at 50% */
.line-to-right {
    position: absolute;
    top: 50%;
    left: 45%;
    width: 5%;
    height: calc(100% + 4rem);
    border-top: 2px dashed #9ca3af;
    border-right: 2px dashed #9ca3af;
    border-top-right-radius: 20px;
    opacity: 0.6;
    z-index: 1;
}

.line-to-left {
    position: absolute;
    top: 50%;
    right: 45%;
    width: 5%;
    height: calc(100% + 4rem);
    border-top: 2px dashed #9ca3af;
    border-left: 2px dashed #9ca3af;
    border-top-left-radius: 20px;
    opacity: 0.6;
    z-index: 1;
}

@media(max-width: 768px) {
    .journey-header-block {
        flex-direction: column;
        align-items: flex-start;
        gap: 2rem;
    }

    .journey-header-img {
        flex: none;
        width: 100%;
        height: 250px;
    }

    .journey-card-wrapper {
        justify-content: center !important;
    }

    .journey-card {
        width: 100% !important;
    }

    .line-to-right,
    .line-to-left {
        display: none;
    }
}

/* Inquiry Split Section (Reference Image Design) */
.inquiry-split-section {
    padding: 100px 5%;
    background-color: var(--white);
}

.inquiry-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    line-height: 1.1;
    color: var(--primary);
    margin-bottom: 2rem;
    font-family: var(--font-heading);
}

.inquiry-desc {
    color: #4B5563;
    font-size: 1.1rem;
    line-height: 1.7;
    max-width: 550px;
    margin-bottom: 0;
}

/* Form Card */
.inquiry-form-card {
    background-color: var(--primary);
    background-image:
        radial-gradient(circle at 20% 40%, rgba(159, 231, 245, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 80% 20%, rgba(66, 158, 189, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 50% 80%, rgba(247, 173, 25, 0.05) 0%, transparent 40%),
        linear-gradient(135deg, var(--primary) 0%, var(--primary) 25%, var(--tertiary) 70%, var(--primary-light) 100%);
    padding: 4rem 3rem;
    border-radius: 30px;
    box-shadow: 0 30px 60px rgba(5, 63, 92, 0.3);
    position: relative;
    overflow: hidden;
}

/* Subtle, drifting geometric dot texture inside the card */
.inquiry-form-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(rgba(255, 255, 255, 0.06) 2px, transparent 2px);
    background-size: 30px 30px;
    z-index: 0;
    pointer-events: none;
}

.inquiry-form-card form {
    position: relative;
    z-index: 1;
}

.inquiry-field {
    margin-bottom: 1.5rem;
}

.inquiry-field label {
    display: block;
    font-weight: 800;
    color: var(--secondary);
    margin-bottom: 0.8rem;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.inquiry-field input,
.inquiry-field select {
    width: 100%;
    padding: 1.2rem 1.5rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--white);
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.inquiry-field select option {
    background-color: var(--primary);
    color: var(--white);
}

.inquiry-field input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.inquiry-field input:focus,
.inquiry-field select:focus {
    background-color: rgba(255, 255, 255, 0.1);
    outline: none;
    border-color: rgba(255, 255, 255, 0.3);
}

.inquiry-submit-btn {
    background-color: var(--white);
    color: var(--primary);
    border: none;
    padding: 1.2rem 2.5rem;
    border-radius: 40px;
    font-weight: 800;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    justify-content: center;
    margin-top: 1rem;
}

.inquiry-submit-btn:hover {
    transform: translateY(-3px);
    background-color: #f0f0f0;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.inquiry-submit-btn .btn-icon {
    width: 32px;
    height: 32px;
    background-color: var(--secondary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s;
}

@media(max-width: 992px) {
    .inquiry-split-section .grid-split {
        flex-direction: column;
        gap: 3rem;
    }

    .inquiry-form-card {
        padding: 3rem 2rem;
    }

    .specialty-box,
    .feature-box {
        padding: 2rem 1.5rem;
    }
}

@media(max-width: 480px) {
    .section {
        padding: 4rem 5%;
    }

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