:root {
    --primary-color: #191f83;
    --primary-hover: #111660;
    --accent-color: #01a3de;
    --accent-hover: #008cc0;
    --navy-dark: #0f143a;
    --navy-darker: #0a0e28;
    --badge-blue-bg: #e8ecf8;
    --badge-accent-bg: #e0f4fc
}

* {
    box-sizing: border-box
}

body {
    margin: 0;
    background: #f5f7f9;
    color: #14253d;
    font: 16px Arial, Helvetica, sans-serif;
    overflow-x: hidden
}

.shell {
    width: min(1180px, calc(100% - 48px));
    margin: auto
}

a {
    color: inherit;
    text-decoration: none
}

a:hover {
    color: var(--accent-color)
}

.site-header {
    background: #fff;
    border-bottom: 1px solid #d9e1e9;
    position: relative;
    z-index: 30
}

.header-inner {
    height: 86px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    position: relative
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    flex: 0 0 auto;
    min-width: 230px
}

.brand-logo {
    height: 52px;
    width: auto;
    max-width: 58px;
    object-fit: contain;
    display: block
}

.brand-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    line-height: 1.15
}

.brand-name {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .3px;
    white-space: nowrap;
    text-transform: uppercase
}

.brand-classic {
    color: #01a3de
}

.brand-construction {
    color: #191f83
}

.brand-pvtltd {
    color: #191f83;
    font-weight: 800;
    letter-spacing: .2px;
    margin-left: 2px
}

.brand-sub {
    font-size: 7.5px;
    letter-spacing: .8px;
    font-weight: 700;
    color: #64748b;
    margin-top: 2px;
    text-transform: uppercase
}

.main-nav {
    flex: 1;
    display: flex;
    justify-content: center
}

.nav-root,
.dropdown {
    list-style: none;
    padding: 0;
    margin: 0
}

.nav-root {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 22px
}

.nav-root>li {
    position: relative
}

.nav-root>li>a {
    display: block;
    padding: 32px 0;
    font-weight: 650;
    font-size: 14px;
    white-space: nowrap;
    transition: color .2s
}

.nav-root a:hover,
.nav-root a:focus-visible {
    color: var(--accent-color)
}

.dropdown {
    display: none;
    position: absolute;
    top: calc(100% - 5px);
    left: 50%;
    transform: translateX(-50%);
    min-width: 240px;
    padding: 9px 0;
    background: white;
    border: 1px solid #d7e0e9;
    border-radius: 15px;
    box-shadow: 0 15px 40px #14253d24;
    text-align: center;
    z-index: 100
}

.has-menu:hover>.dropdown,
.has-menu:focus-within>.dropdown,
.has-submenu:hover>.dropdown,
.has-submenu:focus-within>.dropdown {
    display: block
}

.dropdown a {
    display: block;
    padding: 7px 14px;
    font-size: 13.5px;
    line-height: 1.25;
    white-space: nowrap;
    font-weight: 500;
    transition: background .15s, color .15s
}

.dropdown a:hover {
    background: #f0f7fd;
    color: var(--primary-color);
    text-decoration: none
}

.has-submenu {
    position: relative
}

.dropdown.nested {
    left: 100%;
    top: -8px;
    transform: none;
    text-align: left
}

.mobile-nav-bottom {
    display: none
}

.desktop-fb-btn {
    display: inline-flex
}

.header-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 14px;
    flex: 0 0 auto
}

.fb-icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #1877f2;
    color: #fff;
    transition: background-color .2s, transform .2s, box-shadow .2s;
    box-shadow: 0 2px 8px rgba(24, 119, 242, .28);
    flex-shrink: 0
}

.fb-icon-btn:hover {
    background: #0d65d9;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(24, 119, 242, .4)
}

.fb-icon-btn svg {
    width: 18px;
    height: 18px;
    display: block
}

.mobile-toggle {
    display: none
}

.inner-page {
    padding: 30px 0 70px
}

.breadcrumbs {
    display: flex;
    gap: 12px;
    align-items: center;
    font-size: 14px;
    color: #537095;
    margin-bottom: 18px;
    flex-wrap: wrap
}

.breadcrumbs a {
    color: #537095
}

.breadcrumbs a:hover {
    color: var(--accent-color)
}

.inner-page h1 {
    font-size: 42px;
    margin: 0 0 24px;
    line-height: 1.2;
    color: #101a30;
    word-break: break-word
}

.inner-hero {
    height: 295px;
    border-radius: 22px;
    background-position: center;
    background-size: cover;
    box-shadow: 0 12px 28px #14253d0c
}

.content-panel {
    background: white;
    border: 1px solid #dce4ec;
    border-radius: 22px;
    padding: 40px;
    margin-top: 30px;
    min-height: 230px;
    line-height: 1.75;
    box-sizing: border-box;
    max-width: 100%;
    overflow: hidden
}

.content-panel h2 {
    font-size: 27px;
    margin: 0 0 15px;
    color: #101a30
}

.content-panel h3 {
    color: #101a30
}

.content-panel p {
    color: #43546a
}

.section-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px
}

.section-links a {
    padding: 13px 15px;
    border: 1px solid #dce4ec;
    border-radius: 9px;
    display: flex;
    justify-content: space-between;
    transition: background .2s, border-color .2s, color .2s
}

.section-links a:hover {
    background: #f0f7fd;
    border-color: var(--accent-color);
    color: var(--primary-color)
}

.home {
    padding: 22px 0 65px
}

.hero {
    height: 420px;
    position: relative;
    border-radius: 22px;
    overflow: hidden;
    background: #081b35;
    margin-bottom: 35px
}

.hero-bg-slides {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1
}

.hero-bg-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 0.8s ease-in-out
}

.hero-bg-slide.active {
    opacity: 1
}

.hero-copy {
    position: relative;
    z-index: 3;
    padding: 0 40px 52px 75px;
    color: white;
    max-width: 660px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    box-sizing: border-box
}

.hero-copy span {
    font-size: 12px;
    letter-spacing: 1px;
    color: var(--accent-color);
    font-weight: 700;
    display: block;
    margin-bottom: 6px
}

.hero-copy h1 {
    font-size: 38px;
    line-height: 1.1;
    margin: 0 0 12px;
    font-weight: 800;
    color: #fff
}

.hero-copy p {
    font-size: 14px;
    line-height: 1.6;
    color: #e2e8f0;
    margin: 0
}

.slide-prev,
.slide-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    border: 0;
    background: rgba(25, 31, 131, .75);
    color: white;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border-radius: 50%;
    transition: background .2s, transform .2s;
    font-size: 18px
}

.slide-prev:hover,
.slide-next:hover {
    background: var(--accent-color);
    transform: translateY(-50%) scale(1.08)
}

.slide-prev {
    left: 15px
}

.slide-next {
    right: 15px
}

.dots {
    position: absolute;
    bottom: 18px;
    left: 75px;
    z-index: 5;
    color: #fff;
    display: flex;
    gap: 8px;
    align-items: center
}

.dots .dot {
    cursor: pointer;
    opacity: 0.45;
    transition: opacity 0.2s, transform 0.2s, color 0.2s;
    font-size: 14px;
    line-height: 1
}

.dots .dot.active {
    opacity: 1;
    color: var(--accent-color);
    transform: scale(1.2)
}

.home h2 {
    font-size: 20px;
    margin: 28px 0 16px;
    color: #101a30
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 15px
}

.project-tile {
    height: 145px;
    background-position: center;
    background-size: cover;
    border-radius: 18px;
    display: flex;
    align-items: flex-end;
    padding: 15px;
    color: white;
    font-size: 13px;
    line-height: 1.4;
    transition: transform .2s, box-shadow .2s;
    box-sizing: border-box
}

.project-tile:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(25, 31, 131, .25);
    color: white
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px
}

.news-card {
    background: #fff;
    border: 1px solid #dbe4ed;
    border-radius: 18px;
    overflow: hidden;
    box-sizing: border-box
}

.news-photo {
    height: 130px;
    background: url('../images/projects/building-renovation-site-workers.jpg') center/cover
}

.news-body {
    padding: 15px
}

.news-body h3 {
    font-size: 16px;
    margin: 0 0 10px
}

.news-body p {
    font-size: 13px;
    color: #60748d;
    line-height: 1.6
}

.news-body small {
    color: #60748d
}

.footer {
    background: var(--navy-dark);
    color: #fff;
    padding: 28px 0
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: start;
    font-size: 13px
}

.footer p {
    line-height: 1.6
}

.footer-links {
    display: flex;
    gap: 16px;
    align-items: center;
    flex-wrap: wrap
}

.footer-links a {
    color: #cbd5e1;
    transition: color .2s
}

.footer-links a:hover {
    color: var(--accent-color)
}

.btn-primary {
    background: var(--primary-color);
    color: #fff;
    padding: 12px 22px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 0;
    cursor: pointer;
    transition: background .2s;
    box-sizing: border-box
}

.btn-primary:hover {
    background: var(--accent-color);
    color: #fff
}

.btn-accent {
    background: var(--accent-color);
    color: #fff;
    padding: 12px 22px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 0;
    cursor: pointer;
    transition: background .2s;
    box-sizing: border-box
}

.btn-accent:hover {
    background: #008fc3;
    color: #fff
}

.btn-outline-primary {
    border: 1.5px solid var(--primary-color);
    color: var(--primary-color);
    padding: 11px 22px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    display: inline-block;
    transition: all .2s;
    box-sizing: border-box
}

.btn-outline-primary:hover {
    background: var(--primary-color);
    color: #fff
}

.btn-outline-accent {
    border: 1.5px solid var(--accent-color);
    color: var(--accent-color);
    padding: 11px 22px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    display: inline-block;
    transition: all .2s;
    box-sizing: border-box
}

.btn-outline-accent:hover {
    background: var(--accent-color);
    color: #fff
}

.badge-primary {
    display: inline-block;
    padding: 4px 12px;
    background: var(--badge-blue-bg);
    color: var(--primary-color);
    font-size: 12px;
    font-weight: 700;
    border-radius: 20px;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 12px
}

.badge-accent {
    display: inline-block;
    padding: 4px 12px;
    background: var(--badge-accent-bg);
    color: #007ea8;
    font-size: 12px;
    font-weight: 700;
    border-radius: 20px;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 12px
}

/* Responsive Showcase & Grid System */
.showcase-card {
    background: #fff;
    border: 1px solid #dce4ec;
    border-radius: 22px;
    padding: 32px;
    margin: 32px 0;
    box-shadow: 0 8px 30px rgba(10, 30, 55, .04);
    box-sizing: border-box;
    max-width: 100%;
    overflow: hidden
}

.showcase-split {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 32px;
    align-items: center
}

.showcase-split-reverse {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 32px;
    align-items: center
}

.showcase-gallery-2x2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px
}

.showcase-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 6px
}

.responsive-video-wrap {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    background: #000;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box
}

.responsive-video {
    width: 100%;
    max-width: 100%;
    height: auto;
    aspect-ratio: 16/9;
    display: block;
    background: #000;
    object-fit: cover;
    box-sizing: border-box
}

.building-highlight-card {
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 30px;
    box-sizing: border-box;
    max-width: 100%;
    overflow: hidden
}

.building-highlight-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 24px;
    align-items: center
}

.building-highlight-thumbs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px
}

.avenierr-renders-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
    margin-bottom: 24px
}

.avenierr-render-card {
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    background: #fff;
    box-sizing: border-box;
    max-width: 100%
}

.avenierr-render-card img {
    width: 100%;
    max-width: 100%;
    height: 300px;
    object-fit: cover;
    display: block
}

.charity-videos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-bottom: 40px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box
}

.charity-video-card {
    background: #fff;
    border: 1px solid #dce4ec;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
    width: 100%;
    max-width: 100%;
    box-sizing: border-box
}

.charity-video-card video {
    width: 100%;
    max-width: 100%;
    height: auto;
    aspect-ratio: 16/9;
    background: #000;
    display: block;
    object-fit: cover;
    box-sizing: border-box
}

.charity-video-body {
    padding: 16px;
    box-sizing: border-box
}

.media-grid-responsive {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 16px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box
}

.media-tile-responsive {
    height: 210px;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    box-sizing: border-box;
    max-width: 100%
}

.media-tile-responsive img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block
}

.founder-card {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 26px;
    align-items: center;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    padding: 22px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, .04);
    margin-bottom: 28px
}

.founder-photo-wrap {
    width: 100%;
    height: 100%;
    min-height: 220px;
    display: flex
}

.founder-placeholder-frame {
    width: 100%;
    background: linear-gradient(145deg, #f8fafc, #edf2f7);
    border: 2px dashed #cbd5e1;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 220px;
    box-sizing: border-box
}

.founder-placeholder-icon {
    color: var(--primary-color);
    opacity: .55
}

.founder-quote-box {
    background: #f0f7ff;
    border-left: 4px solid var(--accent-color);
    border-radius: 8px;
    padding: 12px 16px;
    margin-top: 14px
}

@media(max-width:1150px) {
    .brand {
        min-width: auto
    }

    .nav-root {
        gap: 14px
    }

    .nav-root>li>a {
        font-size: 12.5px
    }
}

@media(max-width:900px) {

    .showcase-split,
    .showcase-split-reverse,
    .building-highlight-grid {
        grid-template-columns: 1fr;
        gap: 22px
    }

    .showcase-card {
        padding: 24px;
        margin: 24px 0
    }
}

@media(max-width:760px) {
    .founder-card {
        grid-template-columns: 1fr;
        gap: 18px;
        padding: 16px
    }

    .founder-photo-wrap {
        min-height: 190px
    }

    .shell {
        width: min(100% - 24px, 1180px)
    }

    .header-inner {
        height: 75px
    }

    .brand {
        gap: 9px;
        min-width: auto
    }

    .brand-logo {
        height: 40px;
        max-width: 44px
    }

    .brand-name {
        font-size: 10px
    }

    .brand-sub {
        font-size: 6px
    }

    .desktop-fb-btn {
        display: none !important
    }

    .mobile-nav-bottom {
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 16px 0 8px;
        border-top: 1px solid #eef2f6;
        margin-top: 14px;
        width: 100%
    }

    .mobile-nav-bottom .fb-icon-btn {
        width: 36px;
        height: 36px
    }

    .mobile-nav-bottom .fb-icon-btn svg {
        width: 18px;
        height: 18px
    }

    .header-right {
        gap: 10px
    }

    .mobile-toggle {
        display: block;
        border: 0;
        background: none;
        font-size: 26px;
        color: #101a30
    }

    .main-nav {
        display: none;
        position: absolute;
        top: 75px;
        left: 0;
        right: 0;
        background: white;
        padding: 12px 20px;
        max-height: 80vh;
        overflow: auto;
        box-shadow: 0 12px 20px #0002
    }

    .main-nav.open {
        display: block
    }

    .nav-root {
        display: block
    }

    .nav-root>li>a {
        padding: 12px 0;
        font-size: 15px
    }

    .dropdown,
    .dropdown.nested {
        position: static;
        display: block;
        transform: none;
        box-shadow: none;
        border: 0;
        padding: 0 0 0 16px;
        text-align: left;
        min-width: 0
    }

    .dropdown a {
        font-size: 14px;
        padding: 7px
    }

    .inner-page {
        padding: 20px 0 50px
    }

    .inner-page h1 {
        font-size: 28px;
        margin: 0 0 16px
    }

    .inner-hero {
        height: 190px;
        border-radius: 16px
    }

    .content-panel {
        padding: 20px 15px;
        border-radius: 16px;
        margin-top: 20px
    }

    .section-links {
        grid-template-columns: 1fr
    }

    .hero {
        height: 360px;
        border-radius: 16px
    }

    .hero-copy {
        left: 0;
        right: 0;
        bottom: 38px;
        padding: 0;
        max-width: 100%;
        text-align: center;
        align-items: center
    }

    .hero-copy span {
        margin: 0 auto 6px;
        text-align: center
    }

    .hero-copy h1 {
        font-size: 20px;
        line-height: 1.2;
        margin: 0 0 8px;
        text-align: center
    }

    .hero-copy p {
        font-size: 12.5px;
        line-height: 1.45;
        margin: 0;
        text-align: center
    }

    .slide-prev,
    .slide-next {
        width: 34px;
        height: 34px;
        font-size: 14px
    }

    .slide-prev {
        left: 8px
    }

    .slide-next {
        right: 8px
    }

    .dots {
        left: 50% !important;
        transform: translateX(-50%) !important;
        bottom: 12px;
        display: flex !important;
        justify-content: center
    }

    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px
    }

    .news-grid {
        grid-template-columns: 1fr 1fr
    }

    .footer-inner {
        display: block
    }

    .footer-links {
        flex-wrap: wrap;
        margin-top: 16px
    }

    .showcase-card {
        padding: 18px 14px;
        border-radius: 16px;
        margin: 20px 0
    }

    .showcase-card h2 {
        font-size: 23px !important
    }

    .showcase-gallery-2x2 {
        grid-template-columns: 1fr 1fr;
        gap: 8px
    }

    .showcase-gallery-2x2 a {
        height: 120px !important
    }

    .showcase-actions {
        flex-direction: column;
        gap: 8px
    }

    .showcase-actions a,
    .showcase-actions button {
        width: 100%;
        justify-content: center;
        text-align: center
    }

    .avenierr-renders-grid {
        grid-template-columns: 1fr;
        gap: 16px
    }

    .avenierr-render-card img {
        height: 220px
    }

    .building-highlight-card {
        padding: 16px
    }

    .charity-videos-grid {
        grid-template-columns: 1fr;
        gap: 18px;
        margin-bottom: 30px
    }

    .charity-video-body {
        padding: 14px
    }

    .media-grid-responsive {
        grid-template-columns: 1fr 1fr;
        gap: 10px
    }

    .media-tile-responsive {
        height: 150px
    }
}

@media(max-width:480px) {
    .media-grid-responsive {
        grid-template-columns: 1fr;
        gap: 12px
    }

    .media-tile-responsive {
        height: 190px
    }

    .showcase-gallery-2x2 {
        grid-template-columns: 1fr;
        gap: 8px
    }

    .showcase-gallery-2x2 a {
        height: 150px !important
    }

    .projects-grid {
        grid-template-columns: 1fr
    }

    .news-grid {
        grid-template-columns: 1fr
    }
}