:root {
    --primary-color: #002d4b;
    --primary-color-hover: #001f35;
    --dark-navy: #002d4b; 
    --secondary-color: #ff5e2e;
    --accent-blue: #3498db; /* Inner page accent color */
    --danger-color: #cd4347;
    --danger-color-hover: #a53539;
    --font-main: "PT Sans", sans-serif;
    --font-heading: "Montserrat", sans-serif;
    --text-color: #333333;
}

body {
    font-family: var(--font-main);
    color: var(--text-color);
    margin: 0;
    padding: 0;
    overflow-x: clip;
}
html {
    margin: 0;
    padding: 0;
    overflow-x: clip;
}

h1, h2, h3, h4, h5, h6, .heading-font {
    font-family: var(--font-heading);
    font-weight: 500;
}

/* Typography & Utilities */
.fs-7 { font-size: 0.85rem; }
.bg-dark-navy { background-color: var(--dark-navy) !important; }
.bg-primary { background-color: var(--primary-color) !important; }
.text-primary { color: var(--primary-color) !important; }
.hover-primary { transition: color 0.3s ease; }
.footer-copyright a:hover {
    color: var(--secondary-color) !important;
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 45px;
    height: 45px;
    background-color: var(--primary-color);
    color: #ffffff;
    border: none;
    border-radius: 5px;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.scroll-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-to-top:hover {
    background-color: var(--dark-navy);
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* Text overrides for dark/colored backgrounds */
.bg-dark-navy .section-subtitle,
.bg-dark-navy h1, .bg-dark-navy h2, .bg-dark-navy h3, .bg-dark-navy h4, .bg-dark-navy h5, .bg-dark-navy h6,
.bg-dark-navy p, .bg-dark-navy .service-title,
.bg-primary .section-subtitle,
.bg-primary h1, .bg-primary h2, .bg-primary h3, .bg-primary h4, .bg-primary h5, .bg-primary h6,
.bg-primary p, .bg-primary .service-title {
    color: #ffffff !important;
}



/* -------------------
   Header & Topbar
---------------------*/
.topbar {
    background-color: #ffffff;
    border-bottom: 1px solid #eeeeee;
    position: relative;
    z-index: 1030;
    margin-top: 0 !important;
    padding-top: 0 !important;
}
.site-header {
    margin: 0;
    padding: 0;
    display: block;
}

.logo h1 {
    color: #111111;
    letter-spacing: -0.5px;
}

.header-logo-box {
    display: inline-flex;
    align-items: center;
    padding: 16px 160px 16px 48px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 120' preserveAspectRatio='none'%3E%3Cdefs%3E%3Cpattern id='t' width='300' height='120' patternUnits='userSpaceOnUse'%3E%3Cpath d='M-50,-50 Q50,50 150,-50 T350,-50' fill='none' stroke='%23e8e8e8' stroke-width='1'/%3E%3Cpath d='M-50,-25 Q50,75 150,-25 T350,-25' fill='none' stroke='%23e8e8e8' stroke-width='1'/%3E%3Cpath d='M-50,0 Q50,100 150,0 T350,0' fill='none' stroke='%23e8e8e8' stroke-width='1'/%3E%3Cpath d='M-50,25 Q50,125 150,25 T350,25' fill='none' stroke='%23e8e8e8' stroke-width='1'/%3E%3Cpath d='M-50,50 Q50,150 150,50 T350,50' fill='none' stroke='%23e8e8e8' stroke-width='1'/%3E%3Cpath d='M-50,75 Q50,175 150,75 T350,75' fill='none' stroke='%23e8e8e8' stroke-width='1'/%3E%3Cpath d='M-50,100 Q50,200 150,100 T350,100' fill='none' stroke='%23e8e8e8' stroke-width='1'/%3E%3Cpath d='M-50,125 Q50,225 150,125 T350,125' fill='none' stroke='%23e8e8e8' stroke-width='1'/%3E%3Cpath d='M-50,150 Q50,250 150,150 T350,150' fill='none' stroke='%23e8e8e8' stroke-width='1'/%3E%3C/pattern%3E%3CclipPath id='c'%3E%3Cpath d='M0,0 H260 C230,40 230,80 260,120 H0 Z'/%3E%3C/clipPath%3E%3C/defs%3E%3Cpath d='M0,0 H260 C230,40 230,80 260,120 H0 Z' fill='%23ffffff'/%3E%3Crect width='300' height='120' fill='url(%23t)' clip-path='url(%23c)'/%3E%3Cpath d='M0,0 H260 C230,40 230,80 260,120 H0 Z' fill='none' stroke='%23e0e0e0' stroke-width='1'/%3E%3C/svg%3E");
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: center left;
    filter: drop-shadow(0px 4px 8px rgba(0,0,0,0.08));
    min-height: 112px;
}

/* Topbar Contact List Layout */
.topbar-contact-list {
    display: flex;
    align-items: center;
    gap: 30px;
    flex-wrap: nowrap; /* Prevent wrapping so it scales down */
}
.topbar-contact-item {
    display: flex;
    align-items: center;
    gap: 5px;
}
.topbar-text {
    display: flex;
    flex-direction: column;
}
.mobile-phone-icon {
    display: none !important;
}

.topbar-icon {
    font-size: 1.75rem; /* Default size (approx fs-3) */
}

.topbar-company-name {
    font-size: clamp(1rem, 2vw, 1.4rem); /* Base desktop size */
    white-space: nowrap;
}

.footer-company-name {
    white-space: nowrap;
    font-size: clamp(1rem, 2vw, 1.4rem);
}

@media (max-width: 1199px) {
    .header-logo-box {  padding: 12px 140px 12px 20px; min-height: 90px; }
    .topbar-logo-img { max-height: 65px !important; }
    .topbar-contact-list { gap: 15px; }
    .topbar-contact-item { gap: 5px; }
    .icon-box { width: 38px; height: 38px; font-size: 1rem; }
    .topbar-icon { font-size: 1.4rem; }
    .topbar-text span, .topbar-text a { font-size: 0.8rem; }
    .btn-topbar-call { padding: 8px 12px; }
}

@media (max-width: 991px) {
    .header-logo-box {padding: 10px 100px 10px 15px; min-height: 80px; }
    .topbar-logo-img { max-height: 55px !important; }
    .topbar-contact-list { gap: 25px !important; padding-right: 5px !important; }
    .topbar-contact-item { gap: 5px; }
    .topbar-icon { font-size: 1.1rem; }
    .btn-topbar-call { padding: 4px 6px; font-size: 0.75rem; }
    .topbar-text span, .topbar-text a { font-size: 0.65rem; white-space: nowrap; }
    .icon-box { width: 32px; height: 32px; font-size: 0.9rem; }
}

/* Below 768px: Mobile Icons Only */
@media (max-width: 767px) {
    /* Logo col stretches to fill all remaining space */
    .topbar .col-auto:first-child {
        flex: 1 1 100%;
        min-width: 0;
    }
    .header-logo-box {
        background: #fff;
        display: flex;
        width: 100%;
        justify-content: flex-start;
        padding: 10px 15px;
        min-height: 70px;
        align-items: center;
    }
    .header-logo-box img {
        max-height: 55px !important;
        width: auto;
    }
    .topbar-company-name {
        font-size: clamp(0.75rem, 4.2vw, 1.2rem);
        text-align: left;
    }
    .footer-company-name {
        font-size: clamp(0.75rem, 4.2vw, 1.2rem);
    }
    /* Icons side stays compact */
    .topbar-contact-list {
        padding: 10px 10px !important;
        gap: 6px;
        flex-shrink: 0;
    }
    .topbar-text {
        display: none !important;
    }
    .btn-topbar-call {
        display: none !important;
    }
    .mobile-phone-icon {
        display: flex !important;
    }
    .icon-box { width: 36px; height: 36px; font-size: 1rem; }
}

.icon-box {
    width: 45px;
    height: 45px;
    background-color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.contact-item:hover .icon-box {
    background-color: var(--dark-navy);
}

.contact-item span, .contact-item a {
    line-height: 1.2;
}

.btn-danger {
    background-color: var(--danger-color);
    border-color: var(--danger-color);
    transition: all 0.3s ease;
}

.btn-danger:hover {
    background-color: var(--danger-color-hover);
    border-color: var(--danger-color-hover);
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    transition: all 0.3s ease;
}

.btn-primary:hover, .btn.btn-primary:hover {
    box-shadow: 0 5px 15px rgb(42 42 42 / 40%) !important;
    border: 1px solid var(--primary-color);
    color: var(--primary-color) !important;
}

/* Animated Button Hover Effect */
.btn:not(.btn-topbar-call) {
    position: relative;
    overflow: hidden;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.btn:not(.btn-topbar-call)::before {
    --progress: 100%;
    background: #ffffff;
    -webkit-clip-path: polygon(100% 0, var(--progress) var(--progress), 0 100%, 100% 100%);
    clip-path: polygon(100% 0, var(--progress) var(--progress), 0 100%, 100% 100%);
    content: "";
    inset: 0;
    position: absolute;
    transition: clip-path 0.2s ease, -webkit-clip-path 0.2s ease;
    z-index: -1;
}

.btn:not(.btn-topbar-call):hover::before {
    --progress: 0%;
}

.btn .text-container {
    display: inline-block;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn .text {
    display: inline-block;
    position: relative;
    transition: color 0.3s ease;
}

.btn:hover .text {
    -webkit-animation: move-up-alternate 0.3s ease forwards;
    animation: move-up-alternate 0.3s ease forwards;
}

.btn-primary:hover .text {
    color: var(--primary-color) !important;
}

.btn.btn-light::before {
    background: var(--primary-color);
}
.btn.btn-light:hover .text {
    color: #ffffff !important;
}

@-webkit-keyframes move-up-alternate {
  0% { transform: translateY(0); }
  50% { transform: translateY(80%); }
  51% { transform: translateY(-80%); }
  to { transform: translateY(0); }
}
@keyframes move-up-alternate {
  0% { transform: translateY(0); }
  50% { transform: translateY(80%); }
  51% { transform: translateY(-80%); }
  to { transform: translateY(0); }
}

.btn-call {
    border-radius: 5px !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}

.btn-call:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(205, 67, 71, 0.4) !important;
}

/* -------------------
   Navbar & Topbar
---------------------*/
.topbar-logo-img {
    max-height: 80px;
    width: auto;
}

@media (max-width: 768px) {
    .topbar-logo-img {
        max-height: 60px;
    }
}

.navbar {
    min-height: 60px;
}

.navbar-nav .nav-link {
    color: #ffffff !important;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    text-transform: capitalize;
    position: relative;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    background-color: transparent;
    color: #ff5e2e !important;
    font-weight: bold !important;
}

/* Stylish Nav Underline Animation */
@media (min-width: 768px) and (max-width: 991.98px) {
    .navbar-nav .nav-link {
        font-size: 0.8rem;
        padding-left: 0.4rem !important;
        padding-right: 0.4rem !important;
    }
    .stylish-nav .nav-item {
        margin: 0 2px;
    }
}

@media (min-width: 768px) {
    .stylish-nav .nav-item {
        margin: 0 4px;
    }
}

/* Desktop Navbar Behavior */
@media (min-width: 1200px) {
    .navbar-collapse-custom {
        display: flex !important;
        flex-basis: auto;
        flex-grow: 1;
        align-items: center;
    }
}

/* Mobile Hamburger Menu (User Rule)
---------------------*/
@media (max-width: 1199.98px) {
    .navbar-collapse-custom {
        position: fixed;
        top: 0;
        right: -300px; /* Slide out of view */
        width: 280px;
        height: 100vh;
        background-color: #ffffff;
        box-shadow: -2px 0 10px rgba(0,0,0,0.1);
        transition: right 0.3s ease;
        z-index: 99999; /* Above everything including topbar */
        overflow-y: auto;
        display: block !important;
    }
    
    .navbar-collapse-custom.show {
        right: 0;
    }
    
    .menu-close {
        position: absolute;
        top: 20px;
        right: 20px;
        font-size: 1.2rem;
        z-index: 100001;
    }
    
    /* Fix Z-index stacking when menu opens */
    body.menu-open .topbar {
        z-index: 1010 !important;
    }
    body.menu-open nav.sticky-top {
        z-index: 1040 !important;
    }
    
    /* Real overlay div â€” covers entire screen, clickable */
    #menu-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(0, 0, 0, 0.4);
        z-index: 99998; /* Below menu panel, above everything else */
    }
    #menu-overlay.active {
        display: block;
    }
    
    .navbar-nav {
        padding-top: 60px;
    }
    
    .navbar-nav .nav-link {
        color: var(--text-color) !important;
        padding: 12px 16px !important;
        border-bottom: 1px solid #eeeeee;
    }
    
    .navbar-nav .nav-link:hover {
        background-color: #f5f5f5;
        color: var(--primary-color) !important;
    }
}

/* -------------------
   Hero Slider
---------------------*/
.hero-slider-section {
    padding-top: 0;
}

.hero-slide {
    height: auto;
    min-height: auto;
    padding: 80px 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

@media (max-width: 991.98px) {
    .hero-slide {
        height: auto;
        min-height: auto;
        max-height: none;
        padding: 60px 0;
    }
}

@media (max-width: 767.98px) {
    .hero-slide {
        height: auto;
        min-height: auto;
        max-height: none;
        padding: 50px 0;
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgb(63 63 63 / 38%) 0%, rgb(95 95 95 / 41%) 40%, rgba(0, 45, 75, 0) 100%);
    z-index: 1;
}

.hero-content {
    padding-left: 15px;
}

.hero-logo-text {
    border-left: 4px solid var(--primary-color);
    padding-left: 15px;
}

.letter-spacing-1 {
    letter-spacing: 1px;
}

/* Owl Carousel Customizations for Hero (User Rule: No dots at bottom of sliders, draggable by mouse) */
#hero-slider .owl-dots {
    display: none !important;
}

#hero-slider .owl-nav {
    display: none !important;
}



/* -------------------
   Section Spacing & Utilities
---------------------*/
.section-padding {
    padding: 40px 0;
}

/* -------------------
   About Us ÃƒÂ¢Ã¢â€šÂ¬Ã¢â‚¬Â Collage Image Layout
-----------------------*/
.about-collage {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 12px;
    padding-bottom: 10px;
}

/* Top-left image */
.about-col-img-tl {
    grid-column: 1;
    grid-row: 1;
}
.about-col-img-tl img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    border-radius: 10px;
    display: block;
    box-shadow: 0 10px 32px rgba(0,0,0,0.18);
}

/* Right tall image ÃƒÂ¢Ã¢â€šÂ¬Ã¢â‚¬Â spans 2 rows */
.about-col-img-tr {
    grid-column: 2;
    grid-row: 1 / 3;
}
.about-col-img-tr img {
    width: 100%;
    height: 100%;
    min-height: 380px;
    object-fit: cover;
    border-radius: 10px;
    display: block;
    box-shadow: 0 10px 32px rgba(0,0,0,0.18);
}

/* Experience block ÃƒÂ¢Ã¢â€šÂ¬Ã¢â‚¬Â bottom left */
.about-exp-block {
    grid-column: 1;
    grid-row: 2;
    background: var(--primary-color);
    color: #fff;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1.5rem 1rem;
    min-height: 130px;
    box-shadow: 0 8px 28px rgba(0,45,75,0.35);
}
.about-exp-block .exp-number {
    font-size: 3rem;
    font-weight: 900;
    line-height: 1;
    color: #ffffff;
    font-family: var(--font-heading);
    display: block;
}
.about-exp-block .exp-label {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    line-height: 1.6;
    opacity: 0.88;
    text-align: center;
    margin-top: 6px;
}

/* Spinning Contact Us Badge */
.about-contact-badge {
    position: absolute;
    top: -30px;
    right: -25px;
    width: 130px;
    height: 130px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    z-index: 10;
    cursor: pointer;
}
.about-contact-badge .badge-circle-text {
    position: absolute;
    top: 0;
    left: 0;
    width: 130px;
    height: 130px;
    animation: spinBadge 10s linear infinite;
    fill: none;
}
.about-contact-badge .badge-circle-text circle {
    fill: var(--secondary-color);
}
.about-contact-badge .badge-circle-text text {
    fill: #ffffff;
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-family: var(--font-heading);
}
/* The filled circle background behind the SVG text */
.about-contact-badge::before {
    content: '';
    position: absolute;
    width: 130px;
    height: 130px;
    background: var(--secondary-color);
    border-radius: 50%;
    z-index: -1;
    box-shadow: 0 4px 18px rgba(255,94,46,0.45);
    transition: transform 0.3s ease;
}
.about-contact-badge:hover::before {
    transform: scale(1.08);
}
.about-contact-badge .badge-icon {
    position: relative;
    z-index: 1;
    width: 40px;
    height: 40px;
    background: rgba(0,0,0,0.18);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.1rem;
}
@keyframes spinBadge {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}

/* Sweep Hover on collage images */
.about-col-img {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
}
.about-col-img::after {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: rgba(255,255,255,0.25);
    transition: left 0.5s ease-in-out;
    pointer-events: none;
    z-index: 2;
}
.about-col-img:hover::after { left: 100%; }
.about-col-img img { transition: transform 0.5s ease; }
.about-col-img:hover img { transform: scale(1.06); }

/* Responsive */
@media (max-width: 575px) {
    .about-collage {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto auto;
        gap: 8px;
    }
    .about-col-img-tl img { height: 150px; }
    .about-col-img-tr img { min-height: 280px; }
    .about-exp-block { min-height: 100px; padding: 1rem 0.6rem; }
    .about-exp-block .exp-number { font-size: 2rem; }
    .about-contact-badge { width: 100px; height: 100px; top: -20px; right: -5px; }
    .about-contact-badge::before { width: 100px; height: 100px; }
    .about-contact-badge .badge-circle-text { width: 100px; height: 100px; }
    .about-contact-badge .badge-icon { width: 40px; height: 40px; font-size: 1rem; }
}
@media (min-width: 576px) and (max-width: 991px) {
    .about-col-img-tl img { height: 200px; }
    .about-col-img-tr img { min-height: 300px; }
    .about-exp-block { min-height: 110px; }
}

/* Sweep Hover Effect Overlay */
.service-img-wrap::after,
.product-img-wrap::after,
.legal-card::after,
.client-logo-box::after,
.project-card::after,
.system-img-wrapper::after,
.brand-visual::after,
.sticky-image-wrapper::after {
    content: "";
    position: absolute;
    top: 0; 
    left: -100%; 
    width: 100%; 
    height: 100%;
    background: rgba(255, 255, 255, 0.3);
    transition: left 0.5s ease-in-out;
    pointer-events: none;
    z-index: 2;
}

/* Ensure parents clip the overlay and zoom */
.service-img-wrap,
.product-img-wrap,
.legal-card,
.client-logo-box,
.project-card,
.system-img-wrapper,
.brand-visual,
.sticky-image-wrapper {
    position: relative;
    overflow: hidden; 
}

/* Base Image Transition */
.service-img-wrap img,
.product-img-wrap img,
.legal-card img,
.client-logo-box img {
    transition: transform 0.5s ease;
}

/* Trigger Sweep & Zoom on Hover */
.service-card:hover .service-img-wrap::after,
.product-card:hover .product-img-wrap::after,
.legal-card:hover::after,
.client-logo-box:hover::after,
.project-card:hover::after,
.system-card:hover .system-img-wrapper::after,
.brand-visual:hover::after,
.sticky-image-wrapper:hover::after {
    left: 100%;
}

.service-card:hover .service-img-wrap img,
.product-card:hover .product-img-wrap img,
.legal-card:hover img,
.client-logo-box:hover img {
    transform: scale(1.08);
}

/* -------------------
   Services Section
---------------------*/
.section-title {
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 40px;
    font-weight: 800;
    color: #111;
}
.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
}


/* Owl Carousel Equal Heights */
#services-slider .owl-stage {
    display: flex;
}
#services-slider .owl-item {
    display: flex;
    flex: 1 0 auto;
}
#services-slider .item {
    width: 100%;
    display: flex;
    flex-direction: column;
}

.service-card {
    background: #fff;
    border-radius: 0;
    box-shadow: rgba(9, 30, 66, 0.25) 0px 4px 8px -2px, rgba(9, 30, 66, 0.08) 0px 0px 0px 1px;
    transition: all 0.3s ease;
    height: 100%;
    border: none;
    display: flex;
    flex-direction: column;
}
.service-card:hover {
    transform: translateY(-10px);
    box-shadow: rgba(9, 30, 66, 0.25) 0px 12px 24px -6px, rgba(9, 30, 66, 0.08) 0px 0px 0px 1px;
}
.service-img {
    height: 220px;
    width: 100%;
    object-fit: cover;
    display: block;
}
.service-content {
    padding: 30px 20px;
}
.service-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
}
.service-icon {
    width: 50px;
    height: 50px;
    flex-shrink: 0; /* Prevents icon from squishing */
    background-color: rgba(52, 152, 219, 0.12); /* Light tint of --accent-blue */
    color: var(--accent-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}
.service-card:hover .service-icon {
    background-color: var(--accent-blue);
    color: #fff;
}
.service-card h4 {
    font-size: 1.05rem; /* Slightly smaller to fit better */
    font-weight: 700;
    margin-bottom: 0; /* Margin handled by header */
    word-break: break-word; /* Prevent long words like Documentation from breaking layout */
    line-height: 1.3;
}
.service-card p {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 0;
    line-height: 1.6;
}

/* Service Slider Controls */
#services-slider .owl-nav button {
    width: 40px;
    height: 40px;
    background-color: #fff !important;
    color: var(--dark-navy) !important;
    border-radius: 0 !important;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    font-size: 20px !important;
    margin: 0 10px !important;
    transition: all 0.3s ease;
}
#services-slider .owl-nav button:hover {
    background-color: var(--primary-color) !important;
    color: #fff !important;
}

/* -------------------
   Semantic CSS Refactor (Replacing Bootstrap Utilities)
---------------------*/

/* Hero Section */
.hero-inner {
    position: relative;
    z-index: 2;
}
.hero-content-wrapper {
    color: #fff;
}
.hero-logo-box {
    margin-bottom: 1rem;
}
.hero-logo-box h2 {
    color: #fff;
    font-weight: 500;
    margin-bottom: 0;
}
.hero-logo-box p {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0;
}
.hero-title {
    font-size: 2rem;
    font-weight: 500;
    margin-bottom: 1rem;
    line-height: 1.3;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.8);
}
@media (min-width: 1200px) {
    .hero-title { font-size: 2.8rem; }
}
@media (max-width: 991.98px) {
    .hero-title { font-size: 1.6rem; margin-bottom: 0.75rem; }
}
@media (max-width: 767.98px) {
    .hero-title { font-size: 1.25rem; margin-bottom: 0.5rem; }
}
.hero-desc {
    font-size: 1rem;
    font-weight: 300;
    margin-bottom: 1.25rem;
    opacity: 0.9;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.8);
}
@media (max-width: 767.98px) {
    .hero-desc { font-size: 0.85rem; margin-bottom: 1rem; }
}
.btn-hero {
    border-radius: 5px;
    padding: 0.5rem 1.5rem;
}
@media (max-width: 767.98px) {
    .btn-hero { font-size: 0.85rem; padding: 0.4rem 1rem; }
}

/* About Us Section */
.about-section-inner {
    align-items: center;
}
.about-image-col {
    margin-bottom: 2rem;
}
@media (min-width: 992px) {
    .about-image-col { margin-bottom: 0; }
    .about-text-col { padding-left: 2.5rem; }
}
.section-subtitle {
    color: var(--secondary-color);
    font-weight: 500;
    margin-bottom: 0.5rem;
    display: inline-flex;
    align-items: center;
    font-size: 1.1rem;
}

.about-title, .service-title {
    font-size: 2rem !important;
    font-weight: 600;
    line-height: 1.2;
    color: #111;
}
.about-desc {
    color: #6c757d;
    margin-bottom: 2px;
}
.btn-about {
    margin-top: 0.5rem;
}

/* CTA Section */
.cta-section {
    position: relative;
    padding: 20px 0;
    background-size: cover;
    background-position: center right;
    background-repeat: no-repeat;
    background-attachment: fixed;
    overflow: hidden;
}
.cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(0, 45, 75, 0.95) 0%, rgba(0, 45, 75, 0.514) 45%, rgba(0, 45, 75, 0.192) 100%);
    z-index: 0;
}
.cta-content {
    color: #ffffff;
    position: relative;
    z-index: 2;
}
.cta-title {
    font-size: calc(1.8rem + 0.5vw);
    font-weight: 700;
    line-height: 1.3;
}
.cta-desc {
    font-size: 1.15rem;
    margin-bottom: 8px;
    line-height: 1.6;
}
.cta-subtitle {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    letter-spacing: 1px;
}
.btn-cta {
    background-color: #38bdf8;
    color: #ffffff;
    font-weight: 600;
    padding: 0.75rem 2rem;
    border-radius: 4px;
    letter-spacing: 0.5px;
    transition: background-color 0.3s ease;
    border: none;
}
.btn-cta:hover {
    background-color: #0ea5e9;
    color: #ffffff;
}

@media (max-width: 991px) {
    .cta-overlay {
        background: linear-gradient(90deg, rgba(0, 45, 75, 0.95) 0%, rgba(0, 45, 75, 0.8) 100%);
    }
    .cta-section {
        background-position: center;
    }
}
@media (max-width: 767px) {
    .cta-overlay {
        background: rgba(0, 45, 75, 0.95);
    }
}

/* Services Section */
.services-section {
    background-color: #f8f9fa;
}
.services-header {
    text-align: center;
    margin-bottom: 1rem;
    display: flex;
    justify-content: center;
}
.services-header-content {
    width: 100%;
}
@media (min-width: 992px) {
    .services-header-content { width: 100%; }
}

.service-title {
    font-size: calc(1.375rem + 1.5vw);
    font-weight: 600;
    line-height: 1.2;
    color: #111;
}
@media (min-width: 1200px) {
    .service-title { font-size: 2.5rem; }
}


.service-card-wrapper {
    padding: 0.5rem;
    height: 100%;
}
.service-card {
    text-align: left;
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid #e0e6ed;
    border-radius: 4px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.03);
    overflow: hidden;
    height: 100%;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}
.service-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}
.service-content {
    flex-grow: 1;
    padding: 1.5rem;
}
.service-card-header {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}
.service-icon {
    flex-shrink: 0;
    width: 45px;
    height: 45px;
    background-color: #eaf3fa;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    font-size: 1.25rem;
}
.service-card-header h4 {
    margin-bottom: 0;
    font-size: 15px;
    font-weight: 700;
    color: var(--dark-navy);
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

@media (max-width: 1210px) {
    .service-card-header h4 {
        font-size: 14px; /* Smaller on tablet/laptop to prevent 3 lines */
    }
}
@media (max-width: 767px) {
    .service-card-header h4 {
        font-size: 14px; /* Compact size on mobile */
    }
}
.service-content p {
    font-size: 0.85rem;
    color: #6c757d;
    line-height: 1.6;
    margin-bottom: 0;
}
.services-action-area {
    margin-top: 1.5rem;
    text-align: center;
}
.btn-more-services {
    font-weight: 700;
    letter-spacing: 1px;
    padding: 0.5rem 1.5rem;
}

/* Topbar & Header Refactor */

/* ---- Mobile-only icon button (hidden by default on desktop) ---- */
.mobile-phone-icon { display: none; }

/* ---- BASE (all screens) ---- */
.topbar-contact-list {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
}
.topbar-contact-item {
    display: flex;
    align-items: center;
    gap: 5px;
}
.topbar-text { display: block; }
.contact-title {
    display: block;
    color: var(--dark-navy);
    font-weight: 500;
    font-size: 0.9rem;
}
.contact-detail {
    display: block;
    color: #6c757d;
    font-size: 0.9rem;
}
.btn-topbar-call {
    padding: 0.5rem 1.5rem;
    line-height: 1.25;
    text-align: left;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    position: relative;
    overflow: hidden;
    border-radius: 5px;
}

@keyframes shake-icon-anim {
    0% { transform: rotate(0); }
    15% { transform: rotate(15deg); }
    30% { transform: rotate(-15deg); }
    45% { transform: rotate(15deg); }
    60% { transform: rotate(-15deg); }
    75% { transform: rotate(0); }
    100% { transform: rotate(0); }
}
.shake-icon {
    animation: shake-icon-anim 2s infinite ease-in-out;
    display: inline-block;
    transform-origin: center;
}

/* Footer Logo Box */
.footer-logo-box {
    background-color: #ffffff;
    padding: 8px 12px;
    border-radius: 8px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    display: flex;
    flex-direction: row !important;
    align-items: center;
    gap: 10px;
    max-width: 100%;
    width: fit-content;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
    overflow: hidden;
}
.footer-logo-box img {
    flex-shrink: 0;
    max-height: 50px;
    width: auto;
    object-fit: contain;
}
.footer-company-name {
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.3;
    white-space: normal;
    word-break: break-word;
    max-width: 180px;
}
@media (max-width: 1199px) {
    .footer-logo-box { padding: 7px 10px; gap: 8px; }
    .footer-logo-box img { max-height: 42px; }
    .footer-company-name { font-size: 0.9rem; max-width: 150px; }
}
@media (max-width: 991px) {
    .footer-logo-box { padding: 6px 10px; }
    .footer-logo-box img { max-height: 38px; }
    .footer-company-name { font-size: 0.85rem; max-width: 130px; }
}
@media (max-width: 576px) {
    .footer-logo-box img { max-height: 34px; }
    .footer-company-name { font-size: 0.8rem; max-width: 110px; }
}

.btn-topbar-call-label {
    display: block;
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}
.btn-topbar-call-number {
    display: block;
    font-size: 1.25rem;
    font-weight: 700;
}

/* ---- MOBILE: 320px - 767px (icons only) ---- */
@media (max-width: 767.98px) {
    /* Logo: auto width so icons can sit beside it */
    .header-logo-box { display: flex; align-items: center; }
    .header-logo-box img { max-height: 55px !important; width: auto !important; }
    .topbar-company-name { font-size: 0.85rem !important; }
    /* Contact list stays visible as icons row */
    .topbar-contact-list {
        display: flex !important;
        justify-content: flex-end;
        gap: 10px;
        flex-wrap: nowrap;
        flex-shrink: 0;
    }
    /* Show icons, hide text labels */
    .topbar-contact-item { display: flex !important; align-items: center; }
    .topbar-icon { display: inline-block !important; font-size: 1.1rem; }
    /* Hide text labels - they show as tooltip popup only */
    .topbar-text { display: none !important; }
    /* But tooltip popup itself should be block when shown */
    .topbar-text.contact-tooltip.show-tooltip { display: block !important; }
    /* Hide call button - it's in navbar on mobile */
    .btn-topbar-call { display: none !important; }
    .contact-btn { display: none !important; }
    .mobile-phone-icon { display: flex; }
    .icon-box { width: 36px; height: 36px; font-size: 0.9rem; }
    .topbar .row { flex-wrap: nowrap; align-items: center; }
}

/* ---- SMALL MOBILE: 320px ÃƒÂ¢Ã¢â€šÂ¬Ã¢â‚¬Å“ 479px ---- */
@media (max-width: 479.98px) {
   
    .logo h1 { font-size: 0.8rem !important; }
    .icon-box { width: 32px; height: 32px; font-size: 0.8rem; }
}

/* ---- TABLET: 768px ÃƒÂ¢Ã¢â€šÂ¬Ã¢â‚¬Å“ 991px ---- */
@media (min-width: 768px) and (max-width: 991.98px) {
    .topbar-contact-list {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem 1.5rem;
    }
    .btn-topbar-call { width: auto; display: inline-block; padding: 0.5rem 1.5rem; }
    .contact-title { font-size: 0.85rem; }
    .contact-detail { font-size: 0.85rem; }
    .icon-box { width: 40px; height: 40px; font-size: 1rem; }
    .btn-topbar-call-label { font-size: 0.8rem; }
    .btn-topbar-call-number { font-size: 1.1rem; }
}

/* ---- SMALL DESKTOP: 992px ÃƒÂ¢Ã¢â€šÂ¬Ã¢â‚¬Å“ 1199px ---- */
@media (min-width: 992px) {
    .topbar-contact-list { justify-content: flex-end; }
}
@media (min-width: 992px) and (max-width: 1199.98px) {
    .topbar-contact-list { gap: 0.75rem; }
    .topbar-contact-item { gap: 0.5rem; }
    .contact-title { font-size: 0.78rem; }
    .contact-detail { font-size: 0.75rem; }
    .icon-box { width: 36px; height: 36px; font-size: 0.95rem; }
    .btn-topbar-call { padding: 0.4rem 0.9rem; }
    .btn-topbar-call-label { font-size: 0.75rem; }
    .btn-topbar-call-number { font-size: 1rem; }
}

/* ==============================================
   Footer Download Banner (Inner Pages)
   ============================================== */
.footer-download-banner {
    background-color: #3498db; /* Blue matching screenshot */
    padding: 16px 0;
    width: 100%;
}
.fdb-text {
    color: #ffffff;
    font-size: 1.05rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin: 0;
}
.fdb-btn {
    display: inline-block;
    background-color: #ffffff;
    color: #000000;
    font-size: 0.85rem;
    font-weight: 700;
    padding: 8px 25px;
    text-decoration: none;
    border: 1px solid #000000;
    box-shadow: 2px 2px 0px rgba(0,0,0,1);
    transition: all 0.2s ease;
    text-transform: uppercase;
}
.fdb-btn:hover {
    color: #ffffff;
    background-color: #000000;
    text-decoration: none;
    box-shadow: 3px 3px 0px rgba(0,0,0,0.4);
    transform: translate(-1px, -1px);
}
@media (max-width: 767px) {
    .footer-download-banner {
        text-align: center;
    }
    .fdb-text {
        font-size: 0.95rem;
    }
}

/* Footer Refactor */
.site-footer {
    background-color: #0b1f30; /* Dark navy tone for perfect neat look */
    color: #ffffff;
    padding-top: 4rem;
    padding-bottom: 2rem;
    font-size: 0.95rem;
    overflow: hidden; /* Prevents nested rows from causing horizontal scroll space */
}
.footer-logo-text {
    color: var(--primary-color);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 2rem;
}
.footer-contact-list {
    list-style: none;
    padding-left: 0;
    margin: 0;
}
.footer-contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}
.footer-contact-list li i {
    color: #ff5e2e;
    font-size: 1.1rem;
    margin-top: 0.25rem;
}
.footer-widget-title {
    color: #fff;
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 12px;
}
.footer-widget-title::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: #ff5e2e;
}
.footer-nav-list {
    list-style: none;
    padding-left: 0;
    margin: 0;
}
.footer-nav-list li {
    margin-bottom: 1rem;
}
.footer-nav-link {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.footer-nav-link i {
    color: #ff5e2e;
    font-size: 0.8rem;
}

.footer-social-text {
    color: #ffffff;
    font-size: 0.9rem;
}
.footer-social-icons {
    display: flex;
    gap: 1rem;
}
.footer-social-icons a {
    color: #fff;
    font-size: 1.2rem;
    transition: color 0.3s ease;
}
.footer-social-icons a:hover {
    color: var(--secondary-color);
}
.footer-working-text {
    color: #ffffff;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}
.working-hours-box {
    border: 1px solid #1a3c5a;
    padding: 1.5rem;
    border-radius: 4px;
}
.working-hour-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.75rem;
}
.working-hour-row:last-child {
    margin-bottom: 0;
}
.working-hour-row .day {
    color: #ffffff;
}
.working-hour-row .time {
    color: #fff;
    font-weight: 500;
}
.working-hour-row .day.weekend {
    color: #4ade80;
}
.working-hour-row .time.closed {
    color: #fff;
}

.footer-bottom {
    margin-top: 3rem;
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.75rem;
}
.footer-copyright {
    margin-bottom: 0;
    font-size: 0.85rem;
    color: #bdbdbd;
}
.footer-dev-credit {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.82rem;
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 0.03em;
    position: relative;
    transition: color 0.3s ease;
}


/* Projects Section */
.projects-section {
    background-color: #ffffff;
}
.projects-masonry {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

@media (min-width: 768px) {
    .projects-masonry {
        grid-template-columns: 1fr 1fr;
    }
    .projects-masonry .project-card-tall {
        grid-row: 1 / 3;
    }
    .projects-masonry .project-card-tall .project-card {
        height: 100%;
        min-height: 500px;
    }
}
@media (min-width: 992px) {
    .projects-masonry {
        grid-template-columns: 1fr 1fr 1fr;
    }
    .projects-masonry .project-card {
        height: 100%;
    }
    .projects-masonry .project-card-tall {
        grid-column: 1;
        grid-row: 1 / 3;
    }
}

/* MEP Graphic Card */
.mep-card {
    background-color: #fff;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1.25rem;
}
.mep-text-wrap {
    margin-bottom: 1.5rem;
}
.mep-title {
    font-size: clamp(4rem, 15vw, 10rem);
    font-weight: 900;
    margin: 0;
    color: var(--primary-color);
    letter-spacing: -2px;
    line-height: 1;
}
.mep-icons-wrap {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    flex-wrap: wrap;
}
.mep-icon-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
}
.mep-badge {
    background-color: transparent;
    color: var(--secondary-color);
    padding: 0 0 6px 0;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    position: relative;
}
.mep-badge::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 2px;
    background-color: var(--secondary-color);
    transition: width 0.3s ease;
}
.mep-icon-col:hover .mep-badge::after {
    width: 100%;
}
.mep-icon-circle {
    width: 55px;
    height: 55px;
    border: 1px solid var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
    color: var(--secondary-color);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    background-color: transparent;
}
.mep-icon-col:hover .mep-icon-circle {
    background-color: var(--secondary-color);
    color: #fff;
    transform: translateY(-8px) scale(1.1);
    box-shadow: 0 12px 24px rgba(255, 94, 46, 0.4);
    border-color: var(--secondary-color);
}

/* MEP Stats Grid */
.mep-stat-number {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1;
}
.mep-stat-number .stat-suffix {
    font-size: 1rem;
    font-weight: 700;
    margin-left: 2px;
}
.mep-stat-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: #6c757d;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 5px;
}

.btn.btn-mep-custom {
    width: 100%;
    border-radius: 8px;
    background-color: var(--primary-color);
    color: #fff !important;
    border: 2px solid var(--primary-color);
    transition: all 0.3s ease;
    letter-spacing: 1px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.btn.btn-mep-custom::before {
    background: var(--secondary-color);
}
.btn.btn-mep-custom .text {
    color: #fff;
}
.btn.btn-mep-custom:hover {
    border-color: var(--secondary-color);
    box-shadow: 0 5px 15px rgba(255, 94, 46, 0.4);
}
.btn.btn-mep-custom:hover .text {
    color: #fff !important;
    -webkit-animation: none !important;
    animation: none !important;
}

@media (min-width: 576px) {
    .mep-card { padding: 2rem; }
    .mep-icons-wrap { gap: 1.5rem; flex-wrap: nowrap; }
    .mep-icon-col { gap: 1rem; }
    .mep-badge { padding: 4px 12px; font-size: 0.85rem; }
    .mep-icon-circle { width: 60px; height: 60px; font-size: 1.5rem; }
}
@media (min-width: 992px) {
    .mep-icons-wrap {
        gap: 2rem;
    }
    .mep-icon-circle {
        width: 80px;
        height: 80px;
        font-size: 2rem;
    }
}

.project-card {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 280px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: rgba(9, 30, 66, 0.25) 0px 4px 8px -2px, rgba(9, 30, 66, 0.08) 0px 0px 0px 1px;
}
@media (max-width: 767px) {
    .project-card { min-height: 250px; }
}
.project-card-bg {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
    z-index: 1;
    transition: transform 0.5s ease;
}
.project-card:hover .project-card-bg {
    transform: scale(1.05);
}
.project-card-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to top, rgba(0, 45, 75, 0.9) 0%, rgba(0, 45, 75, 0) 50%);
    z-index: 2;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.project-card-content {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: 3;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    color: #fff;
    justify-content: flex-end; 
    opacity: 0;
    transform: translateY(15px);
    transition: all 0.3s ease;
}
.project-card:hover .project-card-overlay,
.project-card:hover .project-card-content {
    opacity: 1;
    transform: translateY(0);
}
.project-card-title {
    color: #fff;
    font-size: clamp(0.8rem, 2vw, 1.1rem);
    font-weight: 500;
    margin-bottom: 0.3rem;
    text-transform: uppercase;
    line-height: 1.3;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.8);
}
.project-card-desc {
    font-size: 0.85rem;
    color: #eeeeee;
    margin-bottom: 0;
    line-height: 1.5;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.8);
}

.footer-nav-link {
    color: #fff;
    text-decoration: none;
}
.footer-nav-link:hover {
    color: var(--secondary-color);
}
/* footer-bottom rules consolidated above */
#services-slider .owl-nav {
    margin-top: 30px;
    text-align: center;
}

/* Legal Info Section */
#legal-slider .owl-stage {
    display: flex;
}
#legal-slider .owl-item {
    display: flex;
    flex: 1 0 auto;
}
#legal-slider .item {
    width: 100%;
    display: flex;
    flex-direction: column;
}

.legal-card {
    background: transparent;
    overflow: hidden;
    position: relative;
}
.legal-card img {
    width: 100%;
    height: auto;
    display: block;
}
.legal-card-text {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(to top, rgba(0, 45, 75, 0.9) 0%, rgba(0, 45, 75, 0) 100%);
    text-align: center;
    line-height: 1.4;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
}
.legal-card:hover .legal-card-text {
    opacity: 1;
    transform: translateY(0);
}
.legal-slider-nav button {
    width: 35px;
    height: 35px;
    background-color: var(--primary-color) !important;
    color: #fff !important;
    border-radius: 0 !important;
    border: none;
    margin-left: 2px !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem !important;
}
.legal-slider-nav button:hover {
    background-color: var(--dark-navy) !important;
}

/* Supply & Install Products */
.supply-install-section {
    background-color: #e1e1e1;
}
.product-card {
    background-color: #ffffff;
    background-image: radial-gradient(#e5e9f0 1px, transparent 1px);
    background-size: 10px 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    position: relative;
}
.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.12);
}
.product-img-wrap {
    height: 300px;
    overflow: hidden;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 75%);
    position: relative;
    z-index: 1;
}
.product-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.product-card:hover .product-img {
    transform: scale(1.05);
}
.product-info {
    padding: 0.5rem 1.5rem 2rem;
    text-align: left;
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
}
.product-logo {
    height: 40px;
    width: auto;
    object-fit: contain;
    margin-bottom: 0.8rem;
    align-self: flex-start;
}
.product-cat {
    color: var(--dark-navy);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    letter-spacing: 0.3px;
    text-transform: uppercase;
}

/* Infinite Clients Slider */
.clients-carousel-wrap {
    overflow: hidden;
    width: 100%;
    padding: 2rem 0;
    position: relative;
}
.clients-carousel-wrap::before,
.clients-carousel-wrap::after {
    content: '';
    position: absolute;
    top: 0;
    width: 150px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}
.clients-carousel-wrap::before {
    left: 0;
    background: linear-gradient(to right, #f8f9fa 0%, transparent 100%);
}
.clients-carousel-wrap::after {
    right: 0;
    background: linear-gradient(to left, #f8f9fa 0%, transparent 100%);
}

.clients-track {
    display: flex;
    align-items: center;
    width: max-content;
    animation: scroll-clients 50s linear infinite;
    margin-bottom: 1.5rem;
}
.clients-track.reverse {
    animation: scroll-clients-reverse 50s linear infinite;
}
.clients-track:hover, .clients-track.reverse:hover {
    animation-play-state: paused;
}
.client-logo-box {
    width: 200px;
    height: 100px;
    margin: 0 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border-radius: 6px;
    border: 1px solid #e0e0e0;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    padding: 1rem;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, border-color 0.3s ease;
}
.client-logo-box:hover {
    transform: scale(1.05);
    border-color: var(--primary-color);
}
.client-logo-box img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: all 0.3s ease;
}

@keyframes scroll-clients {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@keyframes scroll-clients-reverse {
    0% { transform: translateX(-50%); }
    100% { transform: translateX(0); }
}

@media (max-width: 768px) {
    .client-logo-box {
        width: 130px;
        height: 65px;
    }
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 45px;
    height: 45px;
    background-color: var(--primary-color);
    color: #ffffff;
    border: none;
    border-radius: 5px;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.scroll-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-to-top:hover {
    background-color: var(--dark-navy);
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* -------------------
   Ultra-Large Screen Scaling (up to 2400px)
---------------------*/
@media (min-width: 1400px) {
    html { font-size: 17px; }
    .container { max-width: 1320px; }
    .header-logo-box { min-height: 125px; padding-left: 60px; padding-right: 140px; }
    .service-img { height: 240px; }
    .product-img-wrap { height: 320px; }
}

@media (min-width: 1600px) {
    html { font-size: 18.5px; }
    .container { max-width: 1520px; }
    .header-logo-box { min-height: 140px; padding-left: 80px; padding-right: 180px; }
    .service-img { height: 280px; }
    .product-img-wrap { height: 360px; }
    .hero-slide { min-height: auto; }
}

@media (min-width: 1920px) {
    html { font-size: 21px; }
    .container { max-width: 1800px; }
    .header-logo-box { min-height: 160px; padding-left: 100px; padding-right: 220px; }
    .service-img { height: 330px; }
    .product-img-wrap { height: 410px; }
    .hero-slide { min-height: auto; }
    .topbar-logo-img { max-height: 100px; }
    .about-col-img-tr img { min-height: 480px; }
    .about-col-img-tl img { height: 320px; }
}

@media (min-width: 2400px) {
    html { font-size: 26px; }
    .container { max-width: 2200px; }
    .header-logo-box { min-height: 200px; padding-left: 140px; padding-right: 280px; }
    .service-img { height: 420px; }
    .product-img-wrap { height: 500px; }
    .hero-slide { min-height: auto; }
    .topbar-logo-img { max-height: 130px; }
    .about-col-img-tr img { min-height: 600px; }
    .about-col-img-tl img { height: 400px; }
}

/* -------------------------------------
   CONTACT PAGE STYLES
------------------------------------- */

.contact-banner .hero-overlay {
    position: absolute; 
    top: 0; left: 0; 
    width: 100%; height: 100%; 
    background: rgba(0, 31, 63, 0.5); 
    z-index: 1;
}
.contact-banner .hero-inner {
    position: relative; 
    z-index: 2;
}
.contact-banner .page-title {
    font-weight: 800; 
    font-size: 3rem;
}
.contact-banner .page-desc {
    font-size: 1.1rem; 
    max-width: 600px; 
    margin: 0 auto;
}

/* Contact Section & Info */
.contact-section {
    padding-top: 70px !important; 
    padding-bottom: 70px !important;
}
.contact-info-wrapper {
    top: 100px;
}
.contact-info-list .icon-box {
    width: 50px; 
    height: 50px; 
    background: rgba(224, 75, 17, 0.1); 
    color: var(--secondary-color); 
    border-radius: 50%; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    font-size: 1.2rem; 
    margin-right: 20px; 
    flex-shrink: 0;
}
.contact-info-list h5 {
    font-size: 1.1rem; 
    font-weight: 600; 
    margin-bottom: 5px;
}
.contact-info-list p {
    color: #666; 
    margin-bottom: 0;
}
.contact-info-list a {
    color: inherit; 
    text-decoration: none;
    transition: color 0.3s;
}
.contact-info-list a:hover {
    color: var(--secondary-color);
}

/* Contact Form */
.contact-form-wrapper {
    background: #fff; 
    padding: 40px; 
    border-radius: 12px; 
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
}
.premium-form .form-control {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 15px 20px;
    background-color: #f9f9fc;
    transition: all 0.3s ease;
}
.premium-form .form-control:focus {
    box-shadow: 0 0 0 4px rgba(224, 75, 17, 0.1);
    border-color: var(--secondary-color);
    background-color: #fff;
}
.premium-form .form-control::placeholder {
    color: #888;
}
.premium-form .submit-btn {
    font-size: 1.1rem; 
    font-weight: 600; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    gap: 10px;
}

/* Map Section */
.map-section {
    margin-bottom: 0;
}
.contact-map-iframe {
    border: 0; 
    display: block; 
    width: 100%; 
    height: 450px;
}

/* Download Banner */
.download-banner-section {
    background-color: #5f5f5f;
    padding: 60px 0;
}
.banner-heading {
    font-weight: 800; 
    font-size: 1.4rem; 
    letter-spacing: 1px;
}
.download-btn {
    font-weight: 700; 
    padding: 12px 35px; 
    border-radius: 5px;
    background-color: #ffffff !important;
    color: var(--secondary-color);
    border: 2px solid #ffffff;
    transition: all 0.3s ease;
}
.download-btn:hover {
    background-color: transparent !important;
    color: #ffffff !important;
}

/* Premium SweetAlert Customization */
.premium-swal-popup {
    border-radius: 15px !important;
    padding: 2em !important;
    box-shadow: 0 20px 50px rgba(0,0,0,0.15) !important;
}
.premium-swal-title {
    font-family: var(--font-main) !important;
    font-weight: 700 !important;
}
.premium-swal-btn {
    border-radius: 8px !important;
    padding: 12px 30px !important;
    font-weight: 600 !important;
    font-family: var(--font-main) !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
}

/* Responsive reCAPTCHA */
@media screen and (max-width: 400px) {
    .recaptcha-wrapper .g-recaptcha {
        transform: scale(0.85);
        transform-origin: 0 0;
    }
}

/* -------------------------------------
   MILESTONE TIMELINE
-------------------------------------- */
.timeline-container-wrapper {
    position: relative;
    padding: 20px 0;
}
.timeline-fade-left, .timeline-fade-right {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 120px;
    z-index: 5;
    pointer-events: none;
}
.timeline-fade-left {
    left: 0;
    background: linear-gradient(to right, #ffffff 0%, transparent 100%);
}
.timeline-fade-right {
    right: 0;
    background: linear-gradient(to left, #ffffff 0%, transparent 100%);
}
.timeline-scroll-container {
    overflow-x: auto;
    scrollbar-width: none;
    display: flex;
    position: relative;
    z-index: 2;
    padding-bottom: 20px;
    cursor: grab;
}
.timeline-scroll-container::-webkit-scrollbar {
    display: none;
}
.timeline-item {
    flex: 0 0 33.333%;
    min-width: 300px;
    display: grid;
    grid-template-rows: 1fr 40px 1fr;
    text-align: center;
    position: relative;
    padding: 0 15px;
}
.timeline-item::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 0;
    border-top: 2px dashed #a0c4ff;
    transform: translateY(-50%);
    z-index: 1;
}
.timeline-top, .timeline-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.timeline-top {
    justify-content: flex-end;
}
.timeline-bottom {
    justify-content: flex-start;
}
.timeline-middle {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
}
.timeline-dot {
    width: 20px;
    height: 20px;
    background-color: #fff;
    border: 4px solid var(--primary-color);
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(224, 75, 17, 0.15);
    transition: all 0.3s ease;
}
.timeline-item:hover .timeline-dot {
    background-color: var(--primary-color);
    border-color: #fff;
    box-shadow: 0 0 0 5px rgba(0, 31, 63, 0.2);
    transform: scale(1.3);
}
.timeline-stem {
    width: 0;
    height: 20px;
    border-left: 2px dashed #ccc;
    margin: 8px 0;
}
.timeline-year {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--secondary-color);
    margin: 0;
    transition: all 0.3s ease;
}
.timeline-item:hover .timeline-year {
    color: var(--primary-color);
    transform: scale(1.1);
}
.timeline-card {
    background: #fff;
    padding: 15px 20px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
}
.timeline-item-up .timeline-card {
    border-bottom: none;
    border-top: 3px solid transparent;
}
.timeline-item:hover .timeline-card {
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}
.timeline-item-down:hover .timeline-card {
    border-bottom-color: var(--primary-color);
    transform: translateY(-5px);
}
.timeline-item-up:hover .timeline-card {
    border-top-color: var(--primary-color);
    transform: translateY(5px);
}
.timeline-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 8px;
}
.timeline-desc {
    font-size: 0.9rem;
    color: #666;
    margin: 0;
    line-height: 1.6;
}
.timeline-nav .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}
.timeline-nav .btn:hover {
    background-color: var(--primary-color);
    color: #fff !important;
}

/* Universal Image Hover Effect & Creative Animations */
.project-card-bg, .service-img, .product-img, .about-col-img img, .legal-card img, .hero-slide {
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94), filter 0.6s ease;
}

.project-card:hover .project-card-bg,
.project-card:hover .project-img,
.service-card-wrapper:hover .service-img,
.product-card:hover .product-img,
.about-col-img:hover img,
.legal-card:hover img,
.system-card:hover .system-img-wrapper img,
.sticky-image-wrapper:hover .sticky-img,
.brand-visual:hover .brand-img {
    transform: scale(1.08);
    filter: brightness(1.1);
}

/* Enhancing hover over the entire card to make it look creative */
.service-card, .project-card, .product-card, .legal-card {
    transition: box-shadow 0.5s ease, transform 0.5s ease;
}

.service-card:hover, .project-card:hover, .product-card:hover, .legal-card:hover {
    box-shadow: 0 15px 35px rgba(0, 45, 75, 0.15);
    transform: translateY(-8px);
}

/* Pulsing Badge Icon */
@keyframes pulse-icon {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255, 94, 46, 0.7); }
    70% { transform: scale(1.1); box-shadow: 0 0 0 15px rgba(255, 94, 46, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255, 94, 46, 0); }
}

.badge-icon {
    animation: pulse-icon 2s infinite;
}

/* Slow zoom animation for hero banners to add life */
@keyframes slowZoom {
    0% { background-size: 100% auto; }
    50% { background-size: 110% auto; }
    100% { background-size: 100% auto; }
}

.hero-banner {
    animation: slowZoom 20s ease-in-out infinite alternate;
}

/* Inner About Collage Styles */
.inner-about-collage {
    display: flex;
    gap: 15px;
    position: relative;
    align-items: stretch;
}

.inner-about-left {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 48%;
}

.inner-about-right {
    width: 52%;
    position: relative;
}

.inner-about-img-top img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 12px !important;
}

.inner-about-exp-box {
    background-color: var(--dark-navy);
    padding: 30px 20px;
    text-align: center;
    border-radius: 12px !important;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    flex-grow: 1; /* fills remaining space */
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.inner-about-exp-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 45, 75, 0.2);
}

.inner-about-img-tall {
    height: 100%;
}

.inner-about-img-tall img {
    width: 100%;
    height: 100%;
    min-height: 400px;
    object-fit: cover;
    border-radius: 12px !important;
}

/* Position the spinning badge on the top right of the right column */
.about-contact-badge.inner-badge {
    position: absolute;
    top: -40px;
    right: -40px;
    width: 140px;
    height: 140px;
    z-index: 10;
    transform-origin: center center;
}

@media (max-width: 768px) {
    .inner-about-collage {
        flex-direction: column;
    }
    .inner-about-left, .inner-about-right {
        width: 100%;
    }
    .about-contact-badge.inner-badge {
        right: 10px;
        top: -20px;
        width: 100px;
        height: 100px;
    }
}

/* Apply universal hover to the new collage */
.inner-about-img-top, .inner-about-img-tall {
    overflow: hidden;
    border-radius: 12px !important;
}

.inner-about-img-top img, .inner-about-img-tall img {
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94), filter 0.6s ease;
}

.inner-about-img-top:hover img, .inner-about-img-tall:hover img {
    transform: scale(1.08);
    filter: brightness(1.1);
}

/* Concept 5 Ã¢â‚¬â€ Connected Cards */
.connected-cards-section {
    perspective: 1000px;
}
.connected-cards-wrapper {
    position: relative;
    z-index: 1;
}

.connected-card {
    border-top: 4px solid var(--primary-color) !important;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    z-index: 2;
}
.connected-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 45, 75, 0.15) !important;
}

/* Connecting Line */
.connecting-line {
    position: absolute;
    top: 50%;
    left: 20%;
    right: 20%;
    height: 4px;
    background-color: #e0e0e0;
    transform: translateY(-50%);
    z-index: 0;
    border-radius: 4px;
    overflow: hidden;
}

/* Animated Glow on Line */
.line-glow {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, var(--secondary-color), transparent);
    animation: lineTravel 4s linear infinite;
    opacity: 0.6;
}

@keyframes lineTravel {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* Intense travel on hover */
.connected-cards-wrapper:hover .line-glow {
    animation: lineTravelFast 1.5s ease-in-out infinite;
    opacity: 1;
    background: linear-gradient(90deg, transparent, var(--primary-color), var(--secondary-color), transparent);
}

@keyframes lineTravelFast {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* Center Icon Circle */
.center-icon-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background-color: #fff;
    border: 4px solid var(--primary-color);
    border-radius: 50%;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: var(--secondary-color);
    box-shadow: 0 0 15px rgba(0,0,0,0.1);
    transition: all 0.5s ease;
}

/* Icon Pulse & Rotation on Hover */
.connected-cards-wrapper:hover .center-icon-circle {
    box-shadow: 0 0 30px rgba(255, 94, 46, 0.6);
    border-color: var(--secondary-color);
    color: var(--primary-color);
    transform: translate(-50%, -50%) scale(1.1);
}
.connected-cards-wrapper:hover .center-icon-circle i {
    animation: spinCompass 3s linear infinite;
}

@keyframes spinCompass {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Card Background Faded Icons */
.card-bg-icon {
    position: absolute;
    top: -10px;
    right: -10px;
    font-size: 140px;
    color: rgba(0, 45, 75, 0.04);
    z-index: 1;
    transition: transform 0.6s ease, color 0.6s ease;
    pointer-events: none;
}

.connected-card:hover .card-bg-icon {
    transform: scale(1.15) rotate(-10deg);
    color: rgba(255, 94, 46, 0.06);
}

/* [Old solution-card block removed] */
}

/* Project Card Redesign */
.project-card {
    border-radius: 0 !important;
    cursor: pointer;
    display: block;
}
.project-card .project-img {
    transition: transform 0.5s ease;
    display: block;
}
.project-card:hover .project-img {
    transform: scale(1.08);
}
.project-card .project-overlay {
    background: linear-gradient(to top, rgba(0, 31, 63, 0.8) 0%, rgb(0 31 63 / 21%) 40%, transparent 100%) !important;
    transition: all 0.4s ease;
}
.project-card:hover .project-overlay {
    background: linear-gradient(to top, rgba(0, 31, 63, 0.9) 0%, rgba(0, 31, 63, 0.6) 60%, transparent 100%) !important;
}
.project-card .solution-desc {
    max-height: 0;
    opacity: 0;
    margin-bottom: 0 !important;
    overflow: hidden;
    transition: all 0.4s ease;
}
.project-card:hover .solution-desc {
    max-height: 200px;
    opacity: 1;
    margin-bottom: 0.75rem !important;
    margin-top: 0 !important;
}
.project-card .project-btn {
    border-radius: 0 !important;
    transition: all 0.4s ease;
}

/* Generator Card Overrides (Show fully on hover) */
.project-card.generator-card {
    cursor: default;
}

.project-card.generator-card:hover .solution-desc {
    max-height: 500px; /* Large enough to show full text without cutting, allows animation */
    opacity: 1;
    margin-top: 5px !important;
}
.project-card.generator-card:hover .project-img {
    transform: scale(1.08); /* Restore zoom */
}

/* ============================================
   INNER PAGES â€” COMMON CSS
   ============================================ */

/* Inner Banner */
.inner-banner {
    background-image: linear-gradient(rgba(0, 31, 63, 0.7), rgba(0, 31, 63, 0.7)), url('../img/inner_banner.webp');
    background-size: cover;
    background-position: center;
    padding: 55px 0 45px;
    color: #fff;
}
.inner-banner-content h1 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 10px;
}
.inner-banner-content p {
    font-size: 1rem;
    opacity: 0.9;
    margin-bottom: 0;
}
.breadcrumb-custom {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.9rem;
}
.breadcrumb-custom a {
    color: #fff;
    text-decoration: none;
}
.breadcrumb-custom i {
    font-size: 11px;
    color: var(--secondary-color);
}

/* Section spacing */
.inner-section {
    padding: 50px 0;
}
.section-head {
    margin-bottom: 20px;
}
@media (min-width: 768px) {
    .section-head {
        margin-bottom: 30px;
    }
}

/* ============================================
   ABOUT PAGE
   ============================================ */

/* About Two-column grid */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.about-text-col .services-header {
    margin-bottom: 10px;
}
.about-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.about-list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 14px;
    gap: 12px;
}
.about-dot {
    font-size: 8px;
    color: #888;
    margin-top: 6px;
    flex-shrink: 0;
}
.about-list li span {
    color: #555;
    font-size: 1.05rem;
    line-height: 1.7;
}

/* Vision & Mission Section */
.vision-mission-section {
    background-color: var(--primary-color);
    padding: 50px 0;
}
.vm-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}
.vm-card {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    position: relative;
    overflow: hidden;
}
.vm-title {
    font-size: 1.6rem !important;
}
.about-desc {
    color: #666;
    line-height: 1.8;
}

/* Milestone Header */
.milestone-section {
    background-color: #fff;
    overflow: hidden;
}
.milestone-header-grid {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}
.timeline-nav-wrap {
    display: flex;
    justify-content: flex-end;
}
.timeline-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 2px solid var(--accent-blue);
    background: transparent;
    color: var(--accent-blue);
    cursor: pointer;
    transition: all 0.3s ease;
    margin-left: 10px;
}
.timeline-btn:hover {
    background: var(--accent-blue);
    color: #fff;
}


.download-banner-grid {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    flex-wrap: wrap;
}
.download-banner-text h3 {
    color: #fff;
    font-weight: 700;
    font-size: 1.5rem;
    margin-bottom: 8px;
}
.download-banner-text p {
    color: rgba(255,255,255,0.85);
    font-size: 1rem;
    margin: 0;
}
.btn-download-profile {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 25px;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    white-space: nowrap;
}


/* ============================================
   CONTACT PAGE
   ============================================ */

.contact-section {
    padding: 70px 0;
}
.contact-grid {
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: 60px;
    align-items: start;
}
.contact-info-col {
    position: sticky;
    top: 100px;
}
.contact-info-heading {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.8rem;
    margin-bottom: 30px;
}
.contact-info-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.contact-info-list li {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 28px;
}
.contact-info-list .info-content h5 {
    font-weight: 700;
    margin-bottom: 4px;
    color: #333;
    font-size: 0.95rem;
}
.contact-info-list .info-content p,
.contact-info-list .info-content a {
    color: #666;
    font-size: 0.95rem;
    text-decoration: none;
    margin: 0;
    line-height: 1.6;
}
.contact-info-list .info-content a:hover {
    color: var(--accent-blue);
}
.contact-form-heading {
    font-weight: 700;
    margin-bottom: 28px;
    color: #222;
    font-size: 1.5rem;
}
.form-row-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}
.form-row-grid .form-group {
    margin-bottom: 0;
}
.form-group {
    margin-bottom: 20px;
}
.form-group:last-child {
    margin-bottom: 0;
}
.btn-submit-form {
    border-radius: 8px;
    padding: 14px 20px;
    font-size: 1.1rem;
    margin-top: 10px;
}
.map-section {
    display: block;
    line-height: 0;
}
.contact-map-iframe {
    display: block;
    width: 100%;
    height: 450px;
    border: none;
}

/* ============================================
   SOLUTIONS PAGE
   ============================================ */

.solutions-section {
    background-color: #f8f9fa;
}
.solutions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.solution-card {
    position: relative;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}
.solution-card-img {
    display: block;
    width: 100%;
    height: 240px;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.solution-card:hover .solution-card-img {
    transform: scale(1.05);
}
.solution-card-content {
    padding: 24px;
}
.solution-icon-wrap {
    width: 48px;
    height: 48px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
}
.solution-icon-wrap i {
    color: #fff;
    font-size: 1.1rem;
}
.solution-title {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 8px;
}
.solution-desc {
    color: #666;
    font-size: 0.92rem;
    line-height: 1.7;
    margin: 0;
}

/* ============================================
   PROJECTS PAGE
   ============================================ */

.projects-section {
    background-color: #f8f9fa;
}
.project-card {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    background: #111;
}
.project-card .project-img {
    display: block;
    width: 100%;
    transition: transform 0.5s ease;
}
.project-card:hover .project-img {
    transform: scale(1.08);
}
.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px;
    background: linear-gradient(to top, rgba(0,31,63,0.8) 0%, rgba(0,31,63,0.3) 50%, transparent 100%);
    transition: background 0.4s ease;
    z-index: 5;
}
.project-card:hover .project-overlay {
    background: linear-gradient(to top, rgba(0,31,63,0.9) 0%, rgba(0,31,63,0.6) 60%, transparent 100%);
}

.project-overlay h4 {
    color: #fff;
    font-weight: 700;
    padding-bottom: 10px;
    font-size: 1.1rem;
    margin: 0;
}

.project-overlay .solution-desc {
    color: rgba(255,255,255,0.75);
    font-size: 0.88rem;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    margin: 0;
    transition: all 0.4s ease;
}
.project-card:hover .project-overlay .solution-desc {
    max-height: 100px;
    opacity: 1;
    margin-top: 6px;
}
.project-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.3s ease;
    width: max-content;
    position: relative;
    z-index: 10;
    margin-top: 10px;
}

/* ============================================
   PROJECT DETAIL PAGE
   ============================================ */

.project-details-section {
    background: #fff;
}
.project-detail-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
    align-items: start;
}
.project-detail-img {
    display: block;
    width: 100%;
    max-height: 480px;
    object-fit: cover;
    margin-bottom: 30px;
}
.project-section-heading {
    color: var(--accent-blue);
    font-weight: 700;
    font-size: 1.4rem;
    margin: 35px 0 15px;
}
.project-section-heading:first-of-type {
    margin-top: 0;
}
.project-text {
    color: #666;
    line-height: 1.85;
    margin-bottom: 16px;
}
.project-sidebar-box {
    background: #f8f9fa;
    padding: 28px;
    border-left: 4px solid var(--accent-blue);
    margin-bottom: 24px;
}
.sidebar-heading {
    color: var(--accent-blue);
    font-weight: 700;
    font-size: 1.1rem;
    padding-bottom: 14px;
    border-bottom: 1px solid #e0e0e0;
    margin-bottom: 20px;
}
.sidebar-detail-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.sidebar-detail-list li {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    margin-bottom: 18px;
}
.sidebar-detail-list li:last-child {
    margin-bottom: 0;
}
.sidebar-icon {
    color: var(--secondary-color);
    width: 24px;
    flex-shrink: 0;
    font-size: 1.1rem;
    margin-top: 2px;
}
.sidebar-detail-list strong {
    display: block;
    color: #333;
    font-size: 0.88rem;
    margin-bottom: 2px;
}
.sidebar-detail-list span {
    color: #666;
    font-size: 0.9rem;
}
.status-badge {
    display: inline-block;
    background: #28a745;
    color: #fff;
    padding: 4px 14px;
    font-size: 0.82rem;
    font-weight: 600;
    border-radius: 4px;
    margin-top: 4px;
}
.sidebar-cta-box {
    background: var(--primary-color);
    padding: 28px;
    text-align: center;
    color: #fff;
}
.sidebar-cta-box h5 {
    font-weight: 700;
    margin-bottom: 10px;
}
.sidebar-cta-box p {
    opacity: 0.8;
    font-size: 0.9rem;
    margin-bottom: 16px;
}
.sidebar-cta-btn {
    display: block;
    background: #fff;
    color: var(--primary-color);
    font-weight: 700;
    padding: 10px 20px;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}
.sidebar-cta-btn:hover {
    background: var(--secondary-color);
    color: #fff;
}
.project-gallery-section {
    background: #f8f9fa;
    padding: 60px 0;
}
.gallery-heading {
    color: var(--primary-color);
    font-weight: 700;
    text-align: center;
    margin-bottom: 30px;
}
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
.gallery-img {
    display: block;
    width: 100%;
    height: 220px;
    object-fit: cover;
}

/* ============================================
   INNER PAGES RESPONSIVE
   ============================================ */

@media (max-width: 1199px) {
    .about-grid {
        gap: 40px;
    }
    .solutions-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .project-detail-grid {
        grid-template-columns: 3fr 2fr;
    }
}

@media (max-width: 991px) {
    .inner-banner {
        padding: 45px 0 35px;
    }
    .inner-banner-content h1 {
        font-size: 1.8rem;
    }
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .vm-grid {
        grid-template-columns: 1fr;
    }
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .contact-info-col {
        position: static;
    }
    .project-detail-grid {
        grid-template-columns: 1fr;
    }
    .solutions-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .download-banner-grid {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 767px) {
    .inner-banner {
        padding: 35px 0 30px;
    }
    .inner-banner-content h1 {
        font-size: 1.5rem;
    }
    .inner-banner-content p {
        font-size: 0.9rem;
    }
    .inner-section {
        padding: 35px 0;
    }
    .form-row-grid {
        grid-template-columns: 1fr;
    }
    .solutions-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    .solution-card-img {
        height: 180px;
    }
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .milestone-header-grid {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 480px) {
    .inner-banner {
        padding: 28px 0 22px;
    }
    .inner-banner-content h1 {
        font-size: 1.25rem;
    }
    .solutions-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    .solution-card-img {
        height: 140px;
    }
    .solution-card-content {
        padding: 14px;
    }
    .solution-title {
        font-size: 0.9rem;
    }
    .solution-desc {
        font-size: 0.82rem;
    }
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    .contact-map-iframe {
        height: 300px;
    }
    .project-overlay {
        padding: 16px;
    }
    .project-overlay h4 {
        font-size: 0.95rem;
    }
    .project-btn {
        padding: 6px 14px;
        font-size: 0.82rem;
    }
}

@media (max-width: 420px) {
    .solutions-grid {
        grid-template-columns: 1fr;
    }
}


/* FIX: Project Card height and hover */
.project-card {
    aspect-ratio: 4/3;
    display: flex;
}
.project-card .project-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* FIX: Mobile/Tablet show text normally */
@media (max-width: 991px) {
    .project-overlay .solution-desc {
        max-height: 300px !important;
        opacity: 1 !important;
        margin-top: 6px !important;
        font-size: 0.8rem;
    }
    .project-card {
        aspect-ratio: auto;
        min-height: 280px;
    }
}
/* ============================================
   NEW SOLUTIONS CARD DESIGN
   ============================================ */

.solution-card {
    background: #fff;
    border: 1px solid #eaeaea;
    border-radius: 0;
    overflow: hidden;
    position: relative;
    transition: all 0.3s ease;
    height: 100%;
}
.solution-card:hover {
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
.solution-img-wrapper {
    position: relative;
    width: 100%;
    height: 220px;
    overflow: hidden;
}
.solution-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.solution-card:hover .solution-card-img {
    transform: scale(1.05);
}
.solution-card-content {
    padding: 30px 20px;
    text-align: center;
    border-top: 5px solid var(--primary-color);
    position: relative;
    background: #fff;
    z-index: 2;
}
.solution-icon-wrap {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: #fff;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-bottom: 20px;
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    transition: all 0.4s ease;
    border: 3px solid #fff;
}
.solution-card:hover .solution-icon-wrap {
    background: var(--secondary-color);
    transform: translateX(-50%) rotateY(360deg);
}
.solution-title {
    font-size: 1rem;
    color: var(--primary-color);
    text-transform: uppercase;
    font-weight: 700;
    margin: 15px 0 0;
    transition: color 0.3s ease;
}
.solution-desc-wrapper {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: all 0.5s ease;
}
.solution-card:hover .solution-desc-wrapper {
    max-height: 150px;
    opacity: 1;
    margin-top: 15px;
}
.solution-desc {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

/* Mobile override for solutions hover */
@media (max-width: 991px) {
    .solution-desc-wrapper {
        max-height: 200px !important;
        opacity: 1 !important;
        margin-top: 15px !important;
    }
}

/* FIX: Solutions card content slide up over image */
.solution-card {
    height: 380px;
}
.solution-img-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.solution-card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
}

@media (max-width: 991px) {
    .solution-card {
        height: 450px;
    }
}

/* ============================================
   PROJECT VIEW PAGE (NEW DESIGN)
   ============================================ */
.project-view-banner h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 15px;
    letter-spacing: -1px;
}
.showcase-img-wrap {
    width: 100%;
    background: #000;
    text-align: center;
}
.img-uncut {
    max-width: 100%;
    height: auto;
    display: inline-block;
}
.project-specs-section {
    margin-top: -60px; /* Overlap the image */
    position: relative;
    z-index: 10;
}
.specs-glass-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    padding: 40px;
}
.specs-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}
.spec-item {
    display: flex;
    align-items: center;
    gap: 15px;
}
.spec-item i {
    font-size: 2rem;
    color: var(--secondary-color);
}
.spec-item span {
    display: block;
    font-size: 0.85rem;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.spec-item strong {
    display: block;
    font-size: 1.05rem;
    color: var(--primary-color);
    font-weight: 700;
}
.story-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 60px;
}
.story-title {
    font-size: 2.2rem;
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 20px;
}
.title-line {
    width: 60px;
    height: 4px;
    background: var(--secondary-color);
    margin-bottom: 30px;
}
.lead-text {
    font-size: 1.25rem;
    color: #333;
    font-weight: 500;
    line-height: 1.7;
    margin-bottom: 20px;
}
.story-left p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 20px;
    font-size: 1.05rem;
}
.challenge-box {
    background: #f8f9fa;
    padding: 40px;
    border-top: 5px solid #e74c3c;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}
.challenge-icon i {
    font-size: 2.5rem;
    color: #e74c3c;
    margin-bottom: 20px;
}
.challenge-box h4 {
    font-size: 1.5rem;
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 20px;
}
.challenge-box p {
    color: #555;
    line-height: 1.7;
    margin-bottom: 15px;
}
.project-view-gallery {
    background: #f4f6f9;
}
.uncut-gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    align-items: start;
}
.gallery-uncut-item {
    background: #000;
    text-align: center;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}
.gallery-uncut-item.full-width {
    grid-column: 1 / -1;
}

@media (max-width: 991px) {
    .specs-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .story-grid {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 767px) {
    .project-specs-section {
        margin-top: -30px;
    }
    .specs-glass-card {
        padding: 25px;
    }
    .specs-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .project-view-banner h1 {
        font-size: 2.2rem;
    }
    .uncut-gallery-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   PREMIUM PROJECT DETAIL PAGE
   ============================================ */

.premium-project-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 80px;
    align-items: flex-start;
}

/* Project Title — sits above the orange meta box */
.project-title-block {
    margin-bottom: 24px;
}
.project-title-block .premium-heading {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1.25;
    margin: 0;
}
@media (max-width: 767px) {
    .project-title-block .premium-heading {
        font-size: 1.4rem;
    }
}
@media (max-width: 480px) {
    .project-title-block .premium-heading {
        font-size: 1.2rem;
    }
    .project-title-block {
        margin-bottom: 16px;
    }
}
.project-meta-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    background: var(--secondary-color);
    border: none;
    padding: 35px;
    margin-bottom: 50px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    border-radius: 8px;
}
.meta-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}
.meta-item i {
    font-size: 1.6rem;
    color: #ffffff;
    margin-top: 4px;
}
.meta-text span {
    display: block;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
}
.meta-text strong {
    display: block;
    color: #ffffff;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.4;
}
.project-text-block {
    margin-bottom: 45px;
}
.premium-heading {
    font-size: 1.8rem;
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 15px;
}

.premium-text {
    color: #555;
    font-size: 1.05rem;
    line-height: 1.9;
    margin-bottom: 20px;
}
.premium-cta-box {
    background: linear-gradient(135deg, var(--primary-color), #003366);
    padding: 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    color: #fff;
}
.cta-content h4 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #fff;
}
.cta-content p {
    margin: 0;
    opacity: 0.85;
    font-size: 1rem;
}
.premium-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}

/* Sticky Right Column */
.premium-project-visual {
    position: sticky;
    top: 100px;
}
.sticky-image-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 14px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}
.sticky-img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 420px;
    object-fit: contain;
    border-radius: 14px;
    background: #f4f6f9; /* Soft background in case image doesn't fill width */
}
.image-overlay-info {
    position: absolute;
    bottom: 30px;
    left: 30px;
    z-index: 2;
}
.status-badge-glass {
    background: rgba(40, 167, 69, 0.9);
    backdrop-filter: blur(10px);
    color: #fff;
    padding: 10px 20px;
    font-weight: 700;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

@media (max-width: 991px) {
    .premium-project-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .premium-project-visual {
        position: relative;
        top: 0;
        order: -1;
    }
    .sticky-img {
        max-height: 340px;
        object-fit: contain;
    }
    .premium-cta-box {
        flex-direction: column;
        text-align: center;
    }
}
@media (max-width: 767px) {
    .project-meta-grid {
        grid-template-columns: 1fr;
        padding: 25px;
    }
}

/* FIX: Topbar Responsive Overflow (1200px - 1400px) */
@media (max-width: 1399px) {
    .topbar-contact-list { gap: 15px !important; }
    .topbar-company-name { font-size: 1.1rem !important; }
    .contact-title, .contact-detail { font-size: 0.8rem !important; }
    .btn-topbar-call { padding: 6px 14px !important; }
    .btn-topbar-call-number { font-size: 1.1rem !important; }
}
@media (max-width: 1250px) {
    .topbar-contact-list { gap: 8px !important; }
    .topbar-company-name { font-size: 1rem !important; }
    .contact-title, .contact-detail { font-size: 0.75rem !important; }
    .topbar-icon { font-size: 1rem !important; }
    .btn-topbar-call { padding: 4px 10px !important; }
    .btn-topbar-call-label { font-size: 0.7rem !important; margin-bottom: 0 !important; }
    .btn-topbar-call-number { font-size: 0.95rem !important; }
}

/* FIX: Sidebar CTA styles */
.sidebar-cta {
    flex-direction: column;
    text-align: center;
    padding: 30px;
    margin-top: 30px;
    gap: 15px;
}
.sidebar-cta .cta-content h4 {
    font-size: 1.3rem;
}
.sidebar-cta .cta-content p {
    font-size: 0.95rem;
    margin-bottom: 0;
}



/* ============================================
   PRODUCTS PAGE DESIGN
   ============================================ */

/* Section Background Separation */
.brands-supply-section {
    background: #ffffff;
}
.core-systems-section {
    background: #f0f4f8;
}

/* Brands Supply Section */
.premium-brand-row {
    display: block;
}
.premium-brand-row::after {
    content: "";
    display: table;
    clear: both;
}
.premium-brand-row.reverse-row .brand-visual {
    float: right;
    margin-right: 0;
    margin-left: 40px;
}
.brand-visual {
    float: left;
    width: 45%;
    margin-right: 40px;
    margin-bottom: 20px;
    position: relative;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}
.brand-content {
    /* Flows around the floated visual */
}
.brand-img {
    width: 100%;
    height: 100%;
    max-height: 400px;
    object-fit: cover;
    display: block;
    background: #fff;
}
.brand-logo-glass {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 20px 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border-top: 4px solid var(--secondary-color);
}
.reverse-row .brand-logo-glass {
    right: auto;
    left: -20px;
}
.brand-name-glass {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-color);
    margin: 0;
    letter-spacing: 1px;
    text-transform: uppercase;
}
.premium-heading {
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-top: 0;
    margin-bottom: 25px;
    font-weight: 800;
    position: relative;
    padding-bottom: 15px;
}

.premium-text {
    color: #666;
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 20px;
}

/* Vertical Tabs Layout for Supply & Install */
.supply-tabs-container {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 40px;
    align-items: start;
}
.supply-tabs-menu {
    position: sticky;
    top: 120px;
    z-index: 10;
    display: flex;
    flex-direction: column;
    gap: 4px;
    background: var(--primary-color);
    padding: 15px;
    border-radius: 8px;
}
.supply-tab-btn {
    text-align: left;
    padding: 10px 15px;
    background: transparent;
    border: none;
    border-left: 3px solid transparent;
    font-size: 1.05rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    transition: all 0.3s ease;
}
.supply-tab-btn:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
}
.supply-tab-btn.active {
    color: var(--secondary-color);
    border-left-color: var(--secondary-color);
    background: rgba(255, 255, 255, 0.05);
}
.supply-tab-pane {
    display: none;
    animation: fadeIn 0.5s ease;
}
.supply-tab-pane.active {
    display: block;
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 991px) {
    .supply-tabs-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .supply-tabs-menu {
        flex-direction: row;
        overflow-x: auto;
        border-bottom: 2px solid #eaeaea;
        padding: 15px;
    }
    .supply-tab-btn {
        border-left: none;
        border-bottom: 3px solid transparent;
        white-space: nowrap;
    }
    .supply-tab-btn.active {
        border-left-color: transparent;
        border-bottom-color: var(--secondary-color);
    }
    .brand-visual {
        width: 100%;
        float: none;
        margin-right: 0;
        margin-bottom: 30px;
    }
}

/* Core Systems Grid */
.system-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.system-card {
    display: flex;
    flex-direction: row;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 0;
    overflow: hidden;
    height: 100%;
    transition: var(--transition-smooth);
    position: relative;
    box-shadow: none;
}
.system-card:hover {
    border-left: 3px solid var(--secondary-color);
    transform: translateY(-4px);
    border-color: var(--secondary-color);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}
.system-img-wrapper {
    position: relative;
    width: 42%;
    flex-shrink: 0;
    overflow: hidden;
}
.system-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

/* Icon badge on image */
.system-img-tag {
    position: absolute;
    top: 12px;
    left: 12px;
    width: 40px;
    height: 40px;
    background: var(--secondary-color);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transition: var(--transition-smooth);
    z-index: 2;
}
.system-img-tag i {
    transition: transform 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}
.system-card:hover .system-img-tag i {
    transform: rotate(360deg);
}
.system-card:hover .system-img-tag {
    background: #1a1a1a;
}
/* Content Panel */
.system-body {
    flex: 1;
    padding: 22px 20px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    min-width: 0;
    background: #fff;
    z-index: 2;
    transition: var(--transition-smooth);
    position: relative;
    top: 0;
}
.system-body h4 {
    font-family: var(--font-heading);
    font-size: 19px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 12px;
    line-height: 1.3;
    transition: color 0.3s ease;
    text-transform: none;
    letter-spacing: normal;
}
.system-card:hover .system-body h4 {
    color: var(--secondary-color);
}
.system-body p {
    font-size: 14.5px;
    color: #555;
    line-height: 1.6;
    margin-bottom: 0;
    padding: 0;
}

@media (max-width: 991px) {
    .premium-brand-row, .premium-brand-row.reverse-row {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .brand-logo-glass, .reverse-row .brand-logo-glass {
        bottom: 0;
        right: 0;
        left: auto;
    }
}

@media (max-width: 991px) {
    .system-grid {
        grid-template-columns: 1fr;
    }
}
@media (min-width: 992px) {
    .system-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 767.98px) {
    .system-card {
        flex-direction: column;
    }
    .system-img-wrapper {
        width: 100%;
        height: 200px;
    }
    .system-body {
        padding: 18px 16px;
    }
}

/* ============================================
   ABOUT US - TEXT & SPECIALIZATION TABS
   ============================================ */
.about-lead {
    font-size: 1.15rem;
    color: #444;
    line-height: 1.7;
    margin-bottom: 30px;
    font-weight: 500;
}
.spec-section {
    margin-bottom: 30px;
}
.spec-heading {
    font-size: 1.1rem;
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 20px;
}
.specialization-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}
.spec-tab {
    background: #f4f6f9;
    color: var(--primary-color);
    padding: 10px 18px;
    font-size: 0.85rem;
    font-weight: 600;
    border: 1px solid rgba(0, 31, 63, 0.08);
    transition: all 0.3s ease;
    cursor: default;
    box-shadow: 0 2px 5px rgba(0,0,0,0.02);
}
.spec-tab:hover {
    background: var(--primary-color);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 31, 63, 0.15);
    border-color: var(--primary-color);
}
.about-text {
    font-size: 1.05rem;
    color: #555;
    line-height: 1.8;
    margin-bottom: 20px;
}

/* About Page Sections */
.about-company {
    background-color: #fcfcfc;
}
.vision-mission-section {
    padding: 70px 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, #1a5276 100%);
}
.vision-mission-section .section-subtitle {
    color: rgba(255,255,255,0.7);
}
.vision-mission-section .service-title {
    color: #ffffff;
}
.vm-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}
@media (min-width: 768px) {
    .vm-grid {
        grid-template-columns: 1fr 1fr;
    }
}
.vm-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 40px;
    border-radius: 10px;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease;
}
.vm-card:hover {
    transform: translateY(-5px);
    background: rgba(255,255,255,0.08);
}
.vm-card .card-bg-icon {
    position: absolute;
    right: -20px;
    bottom: -20px;
    font-size: 120px;
    opacity: 0.05;
    color: #ffffff;
}
.vm-card .about-desc {
    color: #f0f0f0;
    font-size: 1.05rem;
    line-height: 1.7;
    position: relative;
    z-index: 1;
}

/* Removed aggressive overrides for collage to restore original design as requested */



/* FIX: Specialization Tabs (Tight grid, premium look) */
.specialization-tabs {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    margin-bottom: 30px !important;
    align-content: flex-start !important;
    align-items: flex-start !important;
}
.spec-tab {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: transparent !important;
    color: var(--primary-color) !important;
    padding: 6px 14px !important;
    font-size: 0.85rem !important;
    font-weight: 600 !important;
    border: 1px solid var(--primary-color) !important;
    border-radius: 0 !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0 !important;
    line-height: 1 !important;
}
.spec-tab:hover {
    background: var(--primary-color) !important;
    color: #fff !important;
}

/* Clients & Partners Page Styles (Custom, No Bootstrap) */
.clients-section {
    background-color: #ffffff;
    padding: 70px 30px; /* Standard 70px section padding and 30px side padding */
}
.clients-container {
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
    padding: 0 15px;
}
.clients-title-wrapper {
    text-align: center;
    margin-bottom: 30px;
}
@media (min-width: 768px) {
    .clients-title-wrapper {
        margin-bottom: 50px;
    }
}
.clients-heading {
    font-size: 2.2rem;
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 15px;
    text-transform: capitalize;
}
.clients-heading.small-heading {
    font-size: 1.8rem;
}
.clients-divider {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.clients-subtitle {
    font-size: 1.1rem;
    color: #666;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}
.clients-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    align-items: stretch;
}
@media (min-width: 768px) {
    .clients-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 25px;
    }
}
@media (min-width: 1200px) {
    .clients-grid {
        grid-template-columns: repeat(6, 1fr);
        gap: 30px;
    }
}

.clients-grid-marquee {
    margin-bottom: 20px;
    grid-template-columns: repeat(3, 1fr) !important;
}
@media (min-width: 768px) {
    .clients-grid-marquee {
        margin-bottom: 25px;
        grid-template-columns: repeat(4, 1fr) !important;
    }
}
@media (min-width: 992px) {
    .clients-grid-marquee {
        grid-template-columns: repeat(6, 1fr) !important;
    }
}
@media (min-width: 1200px) {
    .clients-grid-marquee {
        margin-bottom: 30px;
        grid-template-columns: repeat(7, 1fr) !important;
    }
}

.clients-vertical-marquee-container {
    container-type: inline-size;
    overflow: hidden;
    position: relative;
    padding: 20px 0;
    -webkit-mask-image: linear-gradient(to bottom, transparent, black 10%, black 90%, transparent);
    mask-image: linear-gradient(to bottom, transparent, black 10%, black 90%, transparent);
    
    /* Default for < 768px */
    --cols: 3;
    --gap: 20px;
    
    /* Calculate exact height for 3 rows based on card aspect-ratio (4/3) */
    --card-width: calc((100cqw - (var(--cols) - 1) * var(--gap)) / var(--cols));
    --card-height: calc(var(--card-width) * 0.75);
    /* 3 rows + 2 gaps + 40px padding top/bottom */
    height: calc(3 * var(--card-height) + 2 * var(--gap) + 40px);
}
@media (min-width: 768px) {
    .clients-vertical-marquee-container {
        --cols: 4;
        --gap: 25px;
    }
}
@media (min-width: 992px) {
    .clients-vertical-marquee-container {
        --cols: 6;
    }
}
@media (min-width: 1200px) {
    .clients-vertical-marquee-container {
        --cols: 7;
        --gap: 30px;
    }
}

.clients-vertical-marquee-track {
    display: flex;
    flex-direction: column;
}
.client-card {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 8px;
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 4 / 3;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
    overflow: hidden;
    position: relative;
}
.client-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.4) 0%, rgba(255,255,255,0) 100%);
    z-index: 1;
    pointer-events: none;
}
.client-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    border-color: rgba(52, 152, 219, 0.2);
}
.client-card-inner {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.client-card img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.4s ease;
}
.client-card:hover img {
    transform: scale(1.05);
}

/* Products Page Specific Styles (Custom, No Bootstrap) */
.products-section-header {
    text-align: center;
    margin-bottom: 50px;
}
.products-section-header .section-title {
    font-size: 2.2rem;
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 15px;
}
.products-section-header .title-underline {
    margin: 0 auto;
}
.products-section-header .section-subtitle {
    margin-top: 15px;
    font-size: 1.1rem;
    color: #555;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}
.products-cta-wrapper {
    text-align: center;
    margin-top: 50px;
}

/* Experience Sections (GC & Consultants) */
.experience-section {
    padding: 70px 30px;
    background-color: #ffffff;
}
.experience-section.bg-light-grey {
    background-color: #f8f9fa;
}
.experience-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-top: 40px;
}
@media (min-width: 768px) {
    .experience-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (min-width: 1024px) {
    .experience-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}
.experience-card {
    position: relative;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    height: 160px; /* Smallest possible height */
    background: #fff;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    border: 1px solid #f0f0f0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
@media (max-width: 767px) {
    .experience-card {
        height: auto; /* Fallback for mobile normal flow */
    }
}
.experience-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
    border-color: var(--secondary-color);
}
.experience-img-wrapper {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
    background: #fff;
    transition: transform 0.5s ease;
    z-index: 1;
}
.experience-card:hover .experience-img-wrapper {
    transform: scale(1.05);
}
.experience-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: all 0.5s ease;
}
.experience-content {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(248, 249, 250, 0.95); /* Clean semi-transparent overlay */
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 20px;
    text-align: center;
    z-index: 2;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.experience-card:hover .experience-content {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.experience-content h3 {
    font-size: 14px;
    font-weight: 700;
    color: var(--secondary-color);
    margin: 0 0 5px 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: normal;
}
.experience-content p {
    color: #444;
    font-size: 12px;
    line-height: 1.5;
    margin: 0;
    opacity: 1;
    max-height: none;
}

/* Tablet & Mobile Layout: Normal flow, always show description */
@media (max-width: 1023px) {
    .experience-card {
        height: auto;
        transform: none !important;
    }
    .experience-img-wrapper {
        position: relative;
        height: 160px;
        flex: none;
    }
    .experience-content {
        position: relative;
        opacity: 1;
        visibility: visible;
        transform: none;
        background: #fcfcfc;
        border-top: 1px solid #f0f0f0;
    }
    .experience-content h3 {
        color: #222;
    }
}

/* Clients CTA Section */
.clients-cta-section {
    background: var(--accent-blue);
    padding: 60px 30px;
    text-align: center;
}
.clients-cta-content {
    max-width: 800px;
    margin: 0 auto;
}
.clients-cta-content h2 {
    color: #fff;
    font-size: 1.75rem; /* Reduced font size to match standard headings */
    font-weight: 700;
    margin-bottom: 30px;
    line-height: 1.4;
}

/* Mobile Adjustments for CTA Section */
@media (max-width: 767px) {
    .clients-cta-section {
        padding: 40px 20px;
    }
    .clients-cta-content h2 {
        font-size: 1.4rem;
        margin-bottom: 20px;
    }
    .clients-btn-primary {
        padding: 12px 25px;
        font-size: 1rem;
    }
}

/* About Page - Closing Statement */
.about-closing-statement {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 40px;
}
@media (min-width: 768px) {
    .about-closing-statement {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
}
.closing-card {
    background: #ebebeb;
    border-left: 4px solid var(--primary-color);
    padding: 30px;
    border-radius: 0 8px 8px 0;
    position: relative;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.closing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}
.closing-card .card-icon {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    display: block;
}
.closing-card p {
    font-size: 1.05rem;
    color: #555;
    line-height: 1.7;
    margin-bottom: 0;
}
/* Footer logo hover */
.footer-logo-box:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

/* Hide topbar text below 910px and turn them into tooltips */
@media (max-width: 910px) {
    .topbar-contact-item .topbar-text.contact-tooltip {
        display: none;
        position: absolute;
        top: calc(100% + 8px);
        right: 0;
        background: #ffffff;
        padding: 15px 18px;
        box-shadow: 0 8px 30px rgba(0,0,0,0.18);
        border-radius: 8px;
        z-index: 99999;
        min-width: 220px;
        border: 1px solid #e0e0e0;
    }
    .topbar-contact-item .topbar-text.contact-tooltip.show-tooltip {
        display: block;
    }
    .topbar-contact-item {
        display: flex;
        align-items: center;
        position: relative;
        z-index: 99999;
    }
    .topbar-icon {
        font-size: 1.25rem;
    }
}

/* Ensure the full call button is visible inside the mobile navbar */
.mobile-nav-contact .btn-topbar-call {
    display: inline-flex !important;
}

/* Force topbar icons to show on mobile */
@media (max-width: 767.98px) {
    .topbar-contact-list {
        display: flex !important;
        opacity: 1 !important;
        visibility: visible !important;
    }
    .topbar-contact-item {
        display: flex !important;
    }
    .topbar-icon {
        display: inline-block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    .header-logo-box img {
        max-width: 180px !important;
        height: auto !important;
    }
}

/* Experience Tabs Section */
.experience-tabs-section {
    padding: 0 0 40px 0;
}
.experience-tabs-wrapper {
    display: flex;
    align-items: center;
    position: relative;
    margin: 0 auto 30px;
    background: #f0f3f5; /* Light grey pill background */
    border-radius: 50px;
    padding: 5px;
    box-shadow: inset 0 2px 5px rgba(0,0,0,0.05);
    max-width: 700px;
}
.experience-tabs-header {
    display: flex;
    width: 100%;
}
.exp-tab-btn {
    flex: 1;
    text-align: center;
    padding: 10px 20px;
    background: transparent;
    border: none;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 700;
    color: #555;
    white-space: nowrap;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.exp-tab-btn:hover {
    color: var(--secondary-color);
}
.exp-tab-btn.active {
    background: var(--secondary-color);
    color: #fff;
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}
.exp-tab-arrow {
    display: none; /* Hide arrows for the pill toggle design */
}
.exp-tab-arrow:hover {
    background: rgba(255, 255, 255, 0.1);
}
.exp-tab-arrow.left-arrow {
    box-shadow: 5px 0 10px rgba(0,0,0,0.1);
}
.exp-tab-arrow.right-arrow {
    box-shadow: -5px 0 10px rgba(0,0,0,0.1);
}
.exp-tab-pane {
    display: none;
    animation: fadeIn 0.5s ease;
}
.exp-tab-pane.active {
    display: block;
}
@media (max-width: 767px) {
    .experience-tabs-wrapper {
        border-radius: 15px;
        padding: 10px;
    }
    .experience-tabs-header {
        flex-direction: column;
        gap: 8px;
    }
    .exp-tab-btn {
        padding: 12px 15px;
        font-size: 0.95rem;
        white-space: normal;
        border-radius: 10px;
    }
    .exp-tab-arrow {
        padding: 15px;
    }
}

/* ============================================
   Experience Cards (GC & Consultants)
   ============================================ */
.experience-section {
    padding: 70px 0;
}
.experience-card {
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 12px;
    overflow: hidden;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    width: 100%;
    display: flex;
    flex-direction: column;
}
.experience-card:hover {
    box-shadow: 0 10px 35px rgba(0, 45, 75, 0.12);
    transform: translateY(-5px);
}
.experience-img-wrapper {
    width: 100%;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: #fafafa;
    border-bottom: 1px solid #f0f0f0;
}
.experience-img-wrapper img {
    max-width: 100%;
    max-height: 140px;
    width: auto;
    height: auto;
    object-fit: contain;
}
.experience-content {
    padding: 20px;
    flex: 1;
}
.experience-content h3 {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-color);
    margin: 0 0 10px 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.experience-content p {
    font-size: 0.88rem;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* Responsive: Experience Cards Grid */
@media (max-width: 991px) {
    .clients-grid[style] {
        grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)) !important;
    }
}
@media (max-width: 767px) {
    .clients-grid[style] {
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)) !important;
        gap: 20px !important;
    }
    .experience-img-wrapper {
        height: 140px;
    }
}
@media (max-width: 480px) {
    .clients-grid[style] {
        grid-template-columns: 1fr 1fr !important;
    }
    .experience-content h3 {
        font-size: 0.85rem;
    }
}

/* ============================================
   Project Hero Nav Bar (Prev / Next)
   ============================================ */
.project-nav-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 28px;
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 50px;
    gap: 16px;
}
.proj-back-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    font-size: 0.88rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-decoration: none;
    padding: 8px 18px;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: background 0.25s ease, transform 0.2s ease;
}
.proj-back-btn:hover {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
    color: #fff;
    transform: scale(1.04);
    text-decoration: none;
}
.proj-back-btn i {
    font-size: 0.85rem;
}
.proj-nav-arrows {
    display: flex;
    align-items: center;
    gap: 12px;
}
.proj-nav-arrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #fff;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 8px 18px;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.12);
    cursor: pointer;
    transition: background 0.25s ease, transform 0.2s ease, border-color 0.25s ease;
    text-decoration: none;
    white-space: nowrap;
}
a.proj-nav-arrow:hover {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
    color: #fff;
    transform: scale(1.04);
    text-decoration: none;
}
.proj-nav-arrow i {
    font-size: 0.8rem;
    transition: transform 0.2s ease;
}
a.proj-nav-arrow:hover i.fa-chevron-left { transform: translateX(-3px); }
a.proj-nav-arrow:hover i.fa-chevron-right { transform: translateX(3px); }
.proj-nav-disabled {
    opacity: 0.38;
    cursor: not-allowed;
    pointer-events: none;
}
.proj-nav-counter {
    color: #fff;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 1px;
    padding: 0 6px;
    min-width: 52px;
    text-align: center;
}
.proj-nav-counter em {
    font-style: normal;
    opacity: 0.55;
    margin: 0 2px;
}

/* Responsive */
@media (max-width: 767px) {
    .project-nav-bar {
        flex-direction: column;
        border-radius: 20px;
        gap: 12px;
        padding: 16px;
    }
    .proj-nav-label {
        display: none;
    }
    .proj-nav-arrow {
        padding: 10px 14px;
    }
    .proj-back-btn {
        width: 100%;
        justify-content: center;
    }
}
@media (max-width: 480px) {
    .proj-nav-counter {
        font-size: 0.82rem;
    }
}

/* ============================================
   GLOBAL MOBILE OVERFLOW FIX
   ============================================ */
*,
*::before,
*::after {
    box-sizing: border-box;
}

/* Prevent any section or container from exceeding viewport width */
section,
.container,
.container-fluid {
    max-width: 100%;
}

/* ============================================
   PROJECT NAV BAR — MOBILE FIXES
   ============================================ */
@media (max-width: 575px) {
    .project-nav-bar {
        border-radius: 16px;
        padding: 12px;
        flex-direction: column;
        gap: 10px;
        margin-top: 20px;
        width: 100%;
        box-sizing: border-box;
    }
    .proj-back-btn {
        width: 100%;
        justify-content: center;
        padding: 8px 12px;
        font-size: 0.82rem;
    }
    .proj-nav-arrows {
        width: 100%;
        justify-content: center;
        gap: 8px;
    }
    .proj-nav-arrow {
        padding: 8px 12px;
        font-size: 0.8rem;
    }
    .proj-nav-label {
        display: none;
    }
    .proj-nav-counter {
        font-size: 0.85rem;
        padding: 0 4px;
    }
}

/* ============================================
   TOPBAR — MOBILE OVERFLOW FIX
   ============================================ */
@media (max-width: 575px) {
    .topbar {
        overflow: hidden;
    }
    .topbar .container-fluid {
        padding-left: 10px !important;
        padding-right: 10px !important;
        overflow: hidden;
    }
    .topbar .row {
        flex-wrap: nowrap;
        overflow: hidden;
    }
    .topbar-company-name {
        font-size: 0.8rem !important;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 160px;
    }
}

/* ============================================
   INNER BANNER — MOBILE FIX
   ============================================ */
@media (max-width: 575px) {
    .inner-banner {
        padding: 35px 0 30px;
        overflow: hidden;
    }
    .inner-banner .container {
        padding-left: 16px;
        padding-right: 16px;
    }
    .inner-banner-content h1 {
        font-size: 1.4rem;
        line-height: 1.3;
        word-break: break-word;
    }
    .breadcrumb-custom {
        flex-wrap: wrap;
        font-size: 0.8rem;
        gap: 5px;
    }
}

/* ============================================
   PROJECT DETAIL SECTION — MOBILE
   ============================================ */
@media (max-width: 575px) {
    .project-details-section .container {
        padding-left: 16px;
        padding-right: 16px;
    }
    .project-meta-grid {
        grid-template-columns: 1fr 1fr;
        padding: 18px;
        gap: 14px;
    }
    .meta-item {
        flex-direction: column;
        gap: 6px;
    }
    .premium-heading {
        font-size: 1.3rem;
    }
    .premium-project-visual {
        order: -1;
    }
    .sticky-img {
        aspect-ratio: 16/9;
        border-radius: 10px;
    }
    .premium-cta-box {
        padding: 20px;
        flex-direction: column;
        text-align: center;
    }
    .status-badge-glass {
        font-size: 0.75rem;
        padding: 6px 12px;
    }
}

/* Extra small screens (320px) */
@media (max-width: 380px) {
    .project-meta-grid {
        grid-template-columns: 1fr;
    }
    .project-nav-bar {
        padding: 10px;
    }
    .inner-banner-content h1 {
        font-size: 1.2rem;
    }
    .proj-nav-arrow {
        padding: 7px 10px;
    }
}
