* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

html, body {
    width: 100%;
    overflow-x: hidden;
    max-width: 100%;
}

body {
    font-family: "TASA Explorer", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    background: #001f3f;
    color: var(--navy-blue);
    line-height: 1.6;
    transition: background 1s ease;
}

body.content-loaded {
    background: #ffffff;
}

/* Container Fix */
.container {
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    padding: 0 2rem;
    overflow: visible;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    max-width: 100vw;
    background-color: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 1rem 0;
    overflow: visible;
}

.nav-container {
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 1002;
    overflow: visible;
}

.logo {
    display: flex;
    align-items: flex-end;
    gap: 1rem;
    overflow: hidden;
}

.logo-image {
    height: 90px;
    width: auto;
    flex-shrink: 0;
    opacity: 0;
}

.logo-divider {
    width: 2px;
    height: 70px;
    background: linear-gradient(180deg, transparent 0%, #001f3f 20%, #001f3f 80%, transparent 100%);
    align-self: flex-end;
    margin: 0 0.5rem;
    margin-bottom: 0;
    opacity: 0;
}

.logo-text-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    height: 90px;
    padding-bottom: 2px;
    opacity: 0;
}

.logo-text {
    font-size: 1.584rem;
    font-weight: 800;
    color: #001f3f;
    line-height: 1.2;
    margin-bottom: 2px;
}

.logo-tagline {
    font-size: 0.99rem;
    font-weight: 600;
    color: #dc143c;
    font-style: normal;
    line-height: 1;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
    padding: 0;
    align-self: flex-end;
    margin-bottom: 10px;
    position: static;
    overflow: visible;
}

.nav-link {
    color: #001f3f;
    text-decoration: none;
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #ff4500 0%, #ff6347 50%, #ff4500 100%);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 80%;
}

.nav-link:hover,
.nav-link.active {
    color: #001f3f;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    position: relative;
    z-index: 1003;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: #001f3f;
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* Section Styles */
section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 80px 0;
    overflow: visible;
    position: relative;
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--navy-blue);
}

.section-title .highlight {
    color: #FFA500;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-gray);
}

/* About Section */
.about-section {
    background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
    overflow: visible;
    padding: 100px 0;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    overflow: visible;
    margin-top: 3rem;
}

.about-left {
    position: relative;
}

.about-image-wrapper {
    position: relative;
    width: 100%;
}

.about-image-main {
    width: 100%;
    height: 500px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 31, 63, 0.15);
    position: relative;
}

.about-image-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-image-main .image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(31, 46, 84, 0.05), rgba(242, 106, 46, 0.05));
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-image-main .image-placeholder i {
    font-size: 120px;
    color: #FFA500;
    opacity: 0.3;
}

.about-badge {
    position: absolute;
    bottom: -30px;
    right: -30px;
    background: linear-gradient(135deg, #FF6347 0%, #FFA500 100%);
    width: 180px;
    height: 180px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 15px 40px rgba(255, 99, 71, 0.4);
    z-index: 10;
}

.badge-content {
    text-align: center;
    color: #001f3f;
}

.badge-content h3 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    line-height: 1;
    color: #001f3f;
}

.badge-content p {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #001f3f;
    margin: 0;
    line-height: 1.2;
}

.badge-line1 {
    margin-bottom: 0.2rem;
}

.badge-line2 {
    margin-top: 0;
}

.about-right {
    padding-left: 2rem;
}

.about-text-content h3 {
    font-size: 2.2rem;
    font-weight: 800;
    color: #001f3f;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.about-intro {
    font-size: 1.3rem;
    font-weight: 600;
    color: #FFA500;
    margin-bottom: 1.5rem;
    line-height: 1.4;
}

.about-description {
    font-size: 1.05rem;
    font-weight: 500;
    color: #666;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.about-highlights {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.highlight-item i {
    font-size: 1.3rem;
    color: #FFA500;
    flex-shrink: 0;
}

.highlight-item span {
    font-size: 1rem;
    font-weight: 600;
    color: #001f3f;
}

.btn-know-more {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 1.2rem 2.5rem;
    background: linear-gradient(135deg, #FF6347 0%, #FFA500 100%);
    color: #001f3f;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 50px;
    transition: all 0.4s ease;
    box-shadow: 0 8px 25px rgba(255, 99, 71, 0.3);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-know-more::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #FFA500 0%, #FF6347 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
    border-radius: 50px;
}

.btn-know-more:hover::before {
    opacity: 1;
}

.btn-know-more:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(255, 99, 71, 0.4);
}

.btn-know-more span,
.btn-know-more i {
    position: relative;
    z-index: 1;
}

/* Remove old about styles */
.about-text h3,
.about-text p,
.stats,
.stat-item,
.stat-number,
.about-image .image-placeholder {
    /* These are now replaced by new structure */
}

/* Industries Section */
.industries-section {
    background: linear-gradient(135deg, #001f3f 0%, #0d2847 100%);
    color: var(--white);
    overflow: visible;
}

.industries-section .section-title {
    color: #ffffff;
}

.industries-section .section-subtitle {
    color: rgba(255, 255, 255, 0.8);
}

.industries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    overflow: visible;
    width: 100%;
    max-width: 100%;
}

.industry-item {
    text-align: center;
    padding: 2.5rem 2rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    transition: all 0.4s ease;
    border: 2px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.industry-item::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 165, 0, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.industry-item:hover::before {
    opacity: 1;
}

.industry-item:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-10px);
    border-color: rgba(255, 165, 0, 0.5);
    box-shadow: 0 15px 40px rgba(255, 165, 0, 0.2);
}

.industry-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: #FFA500;
    transition: all 0.4s ease;
    position: relative;
    z-index: 1;
}

.industry-item:hover .industry-icon {
    transform: scale(1.15) rotate(5deg);
    color: #FF6347;
}

.industry-item h4 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.8rem;
    position: relative;
    z-index: 1;
}

.industry-item p {
    font-size: 0.95rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.4;
    position: relative;
    z-index: 1;
}

/* Footer */
.footer {
    background: var(--navy-blue);
    color: var(--white);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-logo p {
    margin-top: 1rem;
    color: rgba(255, 255, 255, 0.7);
}

.footer-links h4,
.footer-social h4 {
    margin-bottom: 1rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--orange);
}

.footer-logo .logo {
    margin-bottom: 1rem;
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icon {
    color: var(--white);
    text-decoration: none;
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: all 0.3s;
    font-size: 1.1rem;
}

.social-icon:hover {
    background: linear-gradient(135deg, var(--orange), var(--yellow));
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: stretch;
    justify-content: center;
    width: 100%;
    max-width: 100vw;
    overflow: hidden;
    background: #001f3f;
    padding: 0;
    margin-top: 110px;
}

.hero-left {
    width: 65%;
    height: 100%;
    position: relative;
    z-index: 10;
    overflow: hidden;
}

.hero-left::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 105%;
    height: 100%;
    background: linear-gradient(to right, 
        rgba(0, 31, 63, 0) 0%, 
        rgba(0, 31, 63, 0) 30%,
        rgba(0, 31, 63, 0.3) 60%,
        rgba(0, 31, 63, 0.7) 85%,
        rgba(0, 31, 63, 1) 95%,
        rgba(0, 31, 63, 1) 100%);
    pointer-events: none;
    z-index: 15;
}

.hero-right {
    width: 35%;
    height: 100%;
    position: relative;
    z-index: 16;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.hero-cta {
    width: 100%;
    max-width: 450px;
    text-align: center;
    position: relative;
    z-index: 17;
}

.cta-title {
    font-size: 2rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 2rem;
    line-height: 1.3;
}

.cta-highlight {
    background: linear-gradient(135deg, #FFA500 0%, #FF6347 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
    font-size: 2.2rem;
}

.hero-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.hero-form input {
    padding: 1rem;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    font-family: "TASA Explorer", sans-serif;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.hero-form input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.hero-form input:focus {
    outline: none;
    border-color: #FFA500;
    background: rgba(255, 255, 255, 0.15);
}

.btn-cta {
    background: linear-gradient(135deg, #FF6347 0%, #FFA500 100%);
    color: #ffffff;
    padding: 1.2rem 2rem;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(255, 99, 71, 0.3);
}

.btn-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(255, 99, 71, 0.5);
}

.immediate-enquiry {
    background: rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.immediate-enquiry h3 {
    font-size: 1rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.enquiry-phone,
.enquiry-email {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    color: #ffffff;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
    padding: 0.8rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.enquiry-phone:last-child,
.enquiry-email:last-child {
    margin-bottom: 0;
}

.enquiry-phone:hover,
.enquiry-email:hover {
    background: rgba(255, 165, 0, 0.1);
    color: #FFA500;
}

.enquiry-phone i,
.enquiry-email i {
    font-size: 1.2rem;
    color: #FFA500;
}

/* Gallery Section */
.masonry-gallery {
    width: 100%;
    height: 100%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 33.33vh;
    gap: 0;
}

.masonry-item {
    position: relative;
    overflow: hidden;
    background: #001f3f;
}

.masonry-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
    transition: background 0.5s ease;
}

.masonry-item:hover::before {
    background: rgba(0, 0, 0, 0.1);
}

.masonry-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
    filter: brightness(0.85) contrast(1.1);
}

.masonry-item:hover img {
    transform: scale(1.1);
    filter: brightness(1) contrast(1.15);
}

.masonry-tall {
    grid-row: span 2;
}

.masonry-wide {
    grid-column: span 2;
}

/* Specific layout pattern */
.masonry-item:nth-child(1) {
    grid-column: 1 / 2;
    grid-row: 1 / 3;
}

.masonry-item:nth-child(2) {
    grid-column: 2 / 3;
    grid-row: 1 / 2;
}

.masonry-item:nth-child(3) {
    grid-column: 3 / 4;
    grid-row: 1 / 2;
}

.masonry-item:nth-child(4) {
    grid-column: 2 / 4;
    grid-row: 2 / 3;
}

.masonry-item:nth-child(5) {
    grid-column: 1 / 2;
    grid-row: 3 / 4;
}

.masonry-item:nth-child(6) {
    grid-column: 2 / 4;
    grid-row: 3 / 4;
}

/* Stats Section */
.stats-section {
    background: linear-gradient(135deg, #001f3f 0%, #1a2f4f 100%);
    padding: 60px 0;
    min-height: auto;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.stat-box {
    text-align: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.stat-box::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 165, 0, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.stat-box:hover::before {
    opacity: 1;
}

.stat-box:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 165, 0, 0.5);
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(255, 165, 0, 0.2);
}

.stat-icon {
    font-size: 3rem;
    color: #FFA500;
    margin-bottom: 1.5rem;
    transition: all 0.4s ease;
}

.stat-box:hover .stat-icon {
    transform: scale(1.1) rotate(5deg);
    color: #FF6347;
}

.stat-value {
    font-size: 3.5rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 0.5rem;
    line-height: 1;
    position: relative;
    z-index: 1;
}

.stat-value::after {
    content: '+';
    font-size: 2.5rem;
    margin-left: 5px;
    color: #FFA500;
}

.stat-rating .stat-value::after {
    content: '/5';
    font-size: 1.8rem;
    margin-left: 5px;
    color: #FFA500;
}

.stat-label {
    font-size: 1.1rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    z-index: 1;
}

/* Mobile Responsive for Stats */
@media (max-width: 768px) {
    .stats-section {
        padding: 40px 0;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .stat-box {
        padding: 1.5rem;
    }

    .stat-icon {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }

    .stat-value {
        font-size: 2.5rem;
    }

    .stat-value::after {
        font-size: 1.8rem;
    }

    .stat-rating .stat-value::after {
        font-size: 1.3rem;
    }

    .stat-label {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .stat-box {
        padding: 1.2rem;
    }

    .stat-icon {
        font-size: 2rem;
        margin-bottom: 0.8rem;
    }

    .stat-value {
        font-size: 2rem;
    }

    .stat-value::after {
        font-size: 1.5rem;
    }

    .stat-rating .stat-value::after {
        font-size: 1.1rem;
    }

    .stat-label {
        font-size: 0.8rem;
        letter-spacing: 0.5px;
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .nav-container {
        padding: 0 1rem;
        width: 100%;
    }

    .logo {
        flex: 1;
        gap: 0.5rem;
        margin-left: 20px;
        align-items: flex-end;
    }

    .logo-image {
        height: 72px;
    }

    .logo-divider {
        height: 55px;
        margin: 0 0.3rem;
        margin-bottom: 0;
    }

    .logo-text-wrapper {
        height: 72px;
        padding-bottom: 2px;
    }

    .logo-text {
        font-size: 1.188rem;
        margin-bottom: 2px;
    }

    .logo-tagline {
        font-size: 0.858rem;
    }

    .hamburger {
        display: flex;
        z-index: 1003;
        align-self: flex-end;
        margin-bottom: 10px;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }

    .nav-links {
        position: fixed;
        top: 92px;
        right: -100%;
        flex-direction: column;
        background-color: #ffffff;
        width: 100%;
        max-width: 300px;
        padding: 2rem;
        box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
        transition: right 0.3s ease;
        gap: 0;
        overflow-y: auto;
        max-height: calc(100vh - 92px);
        z-index: 999;
        align-self: auto;
        margin-bottom: 0;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links li {
        width: 100%;
        margin-bottom: 1rem;
    }

    .nav-link {
        display: block;
        width: 100%;
        text-align: left;
        padding: 1rem;
        position: relative;
    }

    .nav-link::after {
        left: 1rem;
        transform: none;
        bottom: 0.5rem;
    }

    .nav-link:hover::after,
    .nav-link.active::after {
        width: 50%;
    }

    .hero-section {
        flex-direction: column;
        background: #001f3f;
        margin-top: 92px;
        height: auto;
        min-height: calc(100vh - 92px);
        position: relative;
    }

    .hero-left {
        width: 100%;
        height: 60vh;
        flex-shrink: 0;
    }

    .hero-left::after {
        width: 100%;
        height: 110%;
        bottom: -5%;
        background: linear-gradient(to bottom, 
            rgba(0, 31, 63, 0) 0%, 
            rgba(0, 31, 63, 0) 25%,
            rgba(0, 31, 63, 0.2) 50%,
            rgba(0, 31, 63, 0.5) 70%,
            rgba(0, 31, 63, 0.8) 85%,
            rgba(0, 31, 63, 1) 92%,
            rgba(0, 31, 63, 1) 100%);
    }

    .hero-right {
        width: 100%;
        height: auto;
        padding: 2rem 1.5rem;
        margin-top: -10vh;
        position: relative;
        z-index: 20;
    }

    .hero-cta {
        max-width: 100%;
    }

    .cta-title {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .cta-highlight {
        font-size: 1.7rem;
    }

    .hero-form {
        gap: 0.8rem;
        margin-bottom: 1.5rem;
    }

    .hero-form input {
        padding: 0.8rem;
        font-size: 0.9rem;
    }

    .btn-cta {
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }

    .immediate-enquiry {
        padding: 1rem;
    }

    .immediate-enquiry h3 {
        font-size: 0.85rem;
        margin-bottom: 0.8rem;
    }

    .enquiry-phone,
    .enquiry-email {
        font-size: 0.85rem;
        padding: 0.6rem;
        gap: 0.6rem;
    }

    .masonry-gallery {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 15vh;
        height: 100%;
    }

    .masonry-item:nth-child(1) {
        grid-column: 1 / 2;
        grid-row: 1 / 3;
    }

    .masonry-item:nth-child(2) {
        grid-column: 2 / 3;
        grid-row: 1 / 2;
    }

    .masonry-item:nth-child(3) {
        grid-column: 2 / 3;
        grid-row: 2 / 3;
    }

    .masonry-item:nth-child(4) {
        grid-column: 1 / 3;
        grid-row: 3 / 4;
    }

    .masonry-item:nth-child(5) {
        grid-column: 1 / 2;
        grid-row: 4 / 5;
    }

    .masonry-item:nth-child(6) {
        grid-column: 2 / 3;
        grid-row: 4 / 5;
    }

    /* About Section Mobile Fix */
    .about-section {
        padding: 60px 0;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        margin-top: 2rem;
    }

    .about-left {
        max-width: 100%;
    }

    .about-image-main {
        height: 350px;
        width: 100%;
    }

    .about-badge {
        width: 140px;
        height: 140px;
        bottom: -20px;
        right: 20px;
    }

    .badge-content h3 {
        font-size: 2.2rem;
        color: #001f3f;
        margin-bottom: 0.3rem;
    }

    .badge-content p {
        font-size: 0.7rem;
        color: #001f3f;
    }

    .about-right {
        padding-left: 0;
        width: 100%;
    }

    .about-text-content {
        width: 100%;
    }

    .about-text-content h3 {
        font-size: 1.8rem;
    }

    .about-intro {
        font-size: 1.1rem;
    }

    .about-description {
        font-size: 1rem;
    }

    .about-highlights {
        grid-template-columns: 1fr;
        gap: 0.8rem;
        margin-bottom: 2rem;
    }

    .highlight-item {
        padding: 0.5rem 0;
    }

    .highlight-item i {
        font-size: 1.2rem;
    }

    .highlight-item span {
        font-size: 0.95rem;
    }

    .btn-know-more {
        width: 100%;
        justify-content: center;
        padding: 1rem 2rem;
        font-size: 1rem;
    }

    /* Industries Section Mobile Fix */
    .industries-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .industry-item {
        padding: 2rem 1.5rem;
    }

    .industry-icon {
        font-size: 2.8rem;
        margin-bottom: 1rem;
    }

    .industry-item h4 {
        font-size: 1.1rem;
    }

    .industry-item p {
        font-size: 0.85rem;
    }
}

/* Very Small Devices (360px width) */
@media (max-width: 400px) {
    .navbar {
        padding: 0.75rem 0;
    }

    .nav-container {
        padding: 0 0.75rem;
    }

    .logo {
        gap: 0.4rem;
        margin-left: 0;
    }

    .logo-image {
        height: 55px;
    }

    .logo-divider {
        height: 42px;
        margin: 0 0.2rem;
        margin-bottom: 0;
    }

    .logo-text-wrapper {
        height: 55px;
        padding-bottom: 1px;
    }

    .logo-text {
        font-size: 0.88rem;
        line-height: 1.1;
        margin-bottom: 1px;
    }

    .logo-tagline {
        font-size: 0.66rem;
        line-height: 1;
    }

    .hamburger {
        margin-bottom: 8px;
    }

    .hamburger span {
        width: 22px;
        height: 2.5px;
    }

    .nav-links {
        top: 77px;
        max-height: calc(100vh - 77px);
    }

    .hero-section {
        margin-top: 77px;
        min-height: calc(100vh - 77px);
    }

    .stats-section {
        padding: 30px 0;
    }

    .stats-grid {
        gap: 0.8rem;
    }

    .stat-box {
        padding: 1rem 0.8rem;
    }

    .stat-icon {
        font-size: 1.8rem;
        margin-bottom: 0.6rem;
    }

    .stat-value {
        font-size: 1.8rem;
    }

    .stat-value::after {
        font-size: 1.3rem;
    }

    .stat-rating .stat-value::after {
        font-size: 1rem;
    }

    .stat-label {
        font-size: 0.75rem;
        letter-spacing: 0.3px;
    }
}

/* iPad Pro and Tablets (768px - 1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
    .nav-container {
        max-width: 100%;
        padding: 0 2.5rem;
    }

    .logo {
        gap: 1.2rem;
    }

    .logo-image {
        height: 85px;
    }

    .logo-divider {
        height: 65px;
    }

    .logo-text-wrapper {
        height: 85px;
    }

    .logo-text {
        font-size: 1.5rem;
    }

    .logo-tagline {
        font-size: 0.95rem;
    }

    .nav-links {
        gap: 1.5rem;
        margin-bottom: 8px;
    }

    .nav-link {
        padding: 0.5rem 0.8rem;
        font-size: 0.95rem;
    }

    .hero-section {
        margin-top: 110px;
        min-height: calc(100vh - 110px);
    }

    .hero-left {
        width: 60%;
    }

    .hero-right {
        width: 40%;
        padding: 2.5rem;
    }

    .cta-title {
        font-size: 1.8rem;
    }

    .cta-highlight {
        font-size: 2rem;
    }

    .stats-section {
        padding: 50px 0;
    }

    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 2rem;
    }

    .stat-box {
        padding: 1.8rem;
    }

    .stat-icon {
        font-size: 2.8rem;
    }

    .stat-value {
        font-size: 3rem;
    }

    .about-section {
        padding: 80px 0;
    }

    .about-content {
        gap: 3rem;
    }

    .about-image-main {
        height: 450px;
    }

    .industries-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }

    .industry-item {
        padding: 2.2rem 1.8rem;
    }

    .industry-icon {
        font-size: 3.2rem;
    }
}

/* iPad Pro Portrait (1024px width) */
@media (min-width: 1024px) and (max-width: 1366px) and (orientation: portrait) {
    .container {
        max-width: 95%;
    }

    .hero-section {
        height: 85vh;
    }

    .hero-left {
        width: 55%;
    }

    .hero-right {
        width: 45%;
    }

    .stats-grid {
        max-width: 95%;
    }

    .about-content {
        gap: 3.5rem;
    }

    .industries-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Landscape orientation fixes for tablets */
@media (max-width: 1024px) and (orientation: landscape) {
    .hero-section {
        height: auto;
        min-height: 100vh;
    }

    .hero-left {
        height: 70vh;
    }

    .masonry-gallery {
        grid-auto-rows: 23.33vh;
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .nav-container {
        padding: 0 1rem;
        width: 100%;
    }

    .logo {
        flex: 1;
        gap: 0.5rem;
        margin-left: 20px;
        align-items: flex-end;
    }

    .logo-image {
        height: 72px;
    }

    .logo-divider {
        height: 55px;
        margin: 0 0.3rem;
        margin-bottom: 0;
    }

    .logo-text-wrapper {
        height: 72px;
        padding-bottom: 2px;
    }

    .logo-text {
        font-size: 1.188rem;
        margin-bottom: 2px;
    }

    .logo-tagline {
        font-size: 0.858rem;
    }

    .hamburger {
        display: flex;
        z-index: 1003;
        align-self: flex-end;
        margin-bottom: 10px;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }

    .nav-links {
        position: fixed;
        top: 92px;
        right: -100%;
        flex-direction: column;
        background-color: #ffffff;
        width: 100%;
        max-width: 300px;
        padding: 2rem;
        box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
        transition: right 0.3s ease;
        gap: 0;
        overflow-y: auto;
        max-height: calc(100vh - 92px);
        z-index: 999;
        align-self: auto;
        margin-bottom: 0;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links li {
        width: 100%;
        margin-bottom: 1rem;
    }

    .nav-link {
        display: block;
        width: 100%;
        text-align: left;
        padding: 1rem;
        position: relative;
    }

    .nav-link::after {
        left: 1rem;
        transform: none;
        bottom: 0.5rem;
    }

    .nav-link:hover::after,
    .nav-link.active::after {
        width: 50%;
    }

    .hero-section {
        flex-direction: column;
        background: #001f3f;
        margin-top: 92px;
        height: auto;
        min-height: calc(100vh - 92px);
        position: relative;
    }

    .hero-left {
        width: 100%;
        height: 60vh;
        flex-shrink: 0;
    }

    .hero-left::after {
        width: 100%;
        height: 110%;
        bottom: -5%;
        background: linear-gradient(to bottom, 
            rgba(0, 31, 63, 0) 0%, 
            rgba(0, 31, 63, 0) 25%,
            rgba(0, 31, 63, 0.2) 50%,
            rgba(0, 31, 63, 0.5) 70%,
            rgba(0, 31, 63, 0.8) 85%,
            rgba(0, 31, 63, 1) 92%,
            rgba(0, 31, 63, 1) 100%);
    }

    .hero-right {
        width: 100%;
        height: auto;
        padding: 2rem 1.5rem;
        margin-top: -10vh;
        position: relative;
        z-index: 20;
    }

    .hero-cta {
        max-width: 100%;
    }

    .cta-title {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .cta-highlight {
        font-size: 1.7rem;
    }

    .hero-form {
        gap: 0.8rem;
        margin-bottom: 1.5rem;
    }

    .hero-form input {
        padding: 0.8rem;
        font-size: 0.9rem;
    }

    .btn-cta {
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }

    .immediate-enquiry {
        padding: 1rem;
    }

    .immediate-enquiry h3 {
        font-size: 0.85rem;
        margin-bottom: 0.8rem;
    }

    .enquiry-phone,
    .enquiry-email {
        font-size: 0.85rem;
        padding: 0.6rem;
        gap: 0.6rem;
    }

    .masonry-gallery {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 15vh;
        height: 100%;
    }

    .masonry-item:nth-child(1) {
        grid-column: 1 / 2;
        grid-row: 1 / 3;
    }

    .masonry-item:nth-child(2) {
        grid-column: 2 / 3;
        grid-row: 1 / 2;
    }

    .masonry-item:nth-child(3) {
        grid-column: 2 / 3;
        grid-row: 2 / 3;
    }

    .masonry-item:nth-child(4) {
        grid-column: 1 / 3;
        grid-row: 3 / 4;
    }

    .masonry-item:nth-child(5) {
        grid-column: 1 / 2;
        grid-row: 4 / 5;
    }

    .masonry-item:nth-child(6) {
        grid-column: 2 / 3;
        grid-row: 4 / 5;
    }

    /* About Section Mobile Fix */
    .about-section {
        padding: 60px 0;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        margin-top: 2rem;
    }

    .about-left {
        max-width: 100%;
    }

    .about-image-main {
        height: 350px;
        width: 100%;
    }

    .about-badge {
        width: 140px;
        height: 140px;
        bottom: -20px;
        right: 20px;
    }

    .badge-content h3 {
        font-size: 2.2rem;
        color: #001f3f;
        margin-bottom: 0.3rem;
    }

    .badge-content p {
        font-size: 0.7rem;
        color: #001f3f;
    }

    .about-right {
        padding-left: 0;
        width: 100%;
    }

    .about-text-content {
        width: 100%;
    }

    .about-text-content h3 {
        font-size: 1.8rem;
    }

    .about-intro {
        font-size: 1.1rem;
    }

    .about-description {
        font-size: 1rem;
    }

    .about-highlights {
        grid-template-columns: 1fr;
        gap: 0.8rem;
        margin-bottom: 2rem;
    }

    .highlight-item {
        padding: 0.5rem 0;
    }

    .highlight-item i {
        font-size: 1.2rem;
    }

    .highlight-item span {
        font-size: 0.95rem;
    }

    .btn-know-more {
        width: 100%;
        justify-content: center;
        padding: 1rem 2rem;
        font-size: 1rem;
    }

    /* Industries Section Mobile Fix */
    .industries-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .industry-item {
        padding: 2rem 1.5rem;
    }

    .industry-icon {
        font-size: 2.8rem;
        margin-bottom: 1rem;
    }

    .industry-item h4 {
        font-size: 1.1rem;
    }

    .industry-item p {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .logo {
        margin-left: 20px;
    }

    .logo-divider {
        height: 50px;
        margin-bottom: 0;
    }

    .logo-text {
        font-size: 0.99rem;
        line-height: 1.2;
        margin-bottom: 2px;
    }

    .logo-tagline {
        font-size: 0.792rem;
    }

    .hero-section {
        margin-top: 92px;
        height: auto;
        min-height: calc(100vh - 92px);
    }

    .hero-left {
        height: 55vh;
    }

    .hero-right {
        height: auto;
        padding: 2rem 1rem;
        margin-top: -12vh;
    }

    .cta-title {
        font-size: 1.3rem;
        margin-bottom: 1rem;
    }

    .cta-highlight {
        font-size: 1.5rem;
    }

    .hero-form {
        gap: 0.7rem;
        margin-bottom: 1rem;
    }

    .enquiry-phone,
    .enquiry-email {
        font-size: 0.8rem;
    }

    .masonry-gallery {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 13.75vh;
        height: 100%;
    }

    .masonry-item:nth-child(1) {
        grid-column: 1 / 2;
        grid-row: 1 / 3;
    }

    .masonry-item:nth-child(2) {
        grid-column: 2 / 3;
        grid-row: 1 / 2;
    }

    .masonry-item:nth-child(3) {
        grid-column: 2 / 3;
        grid-row: 2 / 3;
    }

    .masonry-item:nth-child(4) {
        grid-column: 1 / 3;
        grid-row: 3 / 4;
    }

    .masonry-item:nth-child(5) {
        grid-column: 1 / 2;
        grid-row: 4 / 5;
    }

    .masonry-item:nth-child(6) {
        grid-column: 2 / 3;
        grid-row: 4 / 5;
    }

    /* About Section Mobile Fix */
    .about-section {
        padding: 50px 0;
    }

    .about-content {
        gap: 2rem;
        margin-top: 1.5rem;
    }

    .about-image-main {
        height: 280px;
    }

    .about-badge {
        width: 110px;
        height: 110px;
        bottom: -15px;
        right: 15px;
    }

    .badge-content h3 {
        font-size: 1.8rem;
        color: #001f3f;
        margin-bottom: 0.2rem;
    }

    .badge-content p {
        font-size: 0.6rem;
        color: #001f3f;
        letter-spacing: 0.3px;
    }

    .about-text-content h3 {
        font-size: 1.5rem;
    }

    .about-intro {
        font-size: 1rem;
        margin-bottom: 1rem;
    }

    .about-description {
        font-size: 0.95rem;
    }

    .highlight-item i {
        font-size: 1.1rem;
    }

    .highlight-item span {
        font-size: 0.9rem;
    }

    .btn-know-more {
        padding: 0.9rem 1.5rem;
        font-size: 0.95rem;
    }

    /* Industries Section Mobile Fix */
    .industries-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .industry-item {
        padding: 1.5rem 1rem;
    }

    .industry-icon {
        font-size: 2.5rem;
        margin-bottom: 0.8rem;
    }

    .industry-item h4 {
        font-size: 1rem;
    }

    .industry-item p {
        font-size: 0.8rem;
    }
}

/* Image Responsiveness */
img {
    max-width: 100%;
    height: auto;
}

/* Prevent Text Overflow */
h1, h2, h3, h4, h5, h6, p {
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* Typography weights using TASA Explorer */
h1, h2, h3 {
    font-weight: 800;
}

h4, h5 {
    font-weight: 700;
}

h6 {
    font-weight: 600;
}

p {
    font-weight: 500;
}

strong, b {
    font-weight: 800;
}

.btn {
    font-weight: 700;
}

/* Scroll offset for anchor links */
section[id] {
    scroll-margin-top: 120px;
}

/* Hero section should not have offset */
#home {
    scroll-margin-top: 0;
}

/* Navbar Logo Animation */
.logo {
    display: flex;
    align-items: flex-end;
    gap: 1rem;
    overflow: hidden;
}

.logo-image,
.logo-text-wrapper {
    opacity: 0;
}

.logo.animate .logo-image {
    animation: revealFromRight 0.8s ease forwards;
    animation-delay: 0.2s;
}

.logo.animate .logo-divider {
    opacity: 1;
}

.logo.animate .logo-text-wrapper {
    animation: revealFromLeft 0.8s ease forwards;
    animation-delay: 0.2s;
}

@keyframes revealFromRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes revealFromLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}



 /* Fix navbar overflow and scrollbar issues */
        body {
            overflow-x: hidden;
        }
        
        .navbar {
            overflow: visible;
        }
        
        .nav-container {
            overflow: visible;
            max-width: 100%;
        }
        
        /* Hero section dynamic height fixes */
        .hero-section {
            min-height: auto !important;
            height: auto !important;
        }
        
        .hero-right {
            display: flex;
            align-items: center;
            justify-content: center;
        }
        
        .hero-cta {
            width: 100%;
            max-height: none;
            overflow-y: visible;
            overflow-x: hidden;
            /* Hide scrollbar completely */
            scrollbar-width: none; /* Firefox */
            -ms-overflow-style: none; /* IE and Edge */
        }
        
        /* Match textarea placeholder with input placeholders */
        .hero-form input::placeholder,
        .hero-form textarea::placeholder {
            color: inherit !important;
            opacity: 0.7 !important;
            font-family: inherit !important;
            font-size: inherit !important;
            font-weight: inherit !important;
        }
        
        .hero-form textarea {
            font-family: inherit !important;
            resize: vertical;
        }
        
        /* Hide scrollbar for Chrome, Safari and Opera */
        .hero-cta::-webkit-scrollbar {
            display: none;
            width: 0;
            height: 0;
        }
        
        /* Remove previous scrollbar styling as it's now hidden */
        .hero-cta::-webkit-scrollbar-track {
            display: none;
        }
        
        .hero-cta::-webkit-scrollbar-thumb {
            display: none;
        }
        
        .hero-cta::-webkit-scrollbar-thumb:hover {
            display: none;
        }
        
        /* Combined phone numbers on single line */
        .enquiry-phones {
            display: flex;
            gap: 10px;
            flex-wrap: wrap;
        }
        
        .enquiry-phones .enquiry-phone {
            flex: 1;
            min-width: calc(50% - 5px);
        }
        
        /* Scrollbar styling for hero-cta - only when needed */
        .hero-cta::-webkit-scrollbar {
            width: 6px;
        }
        
        .hero-cta::-webkit-scrollbar-track {
            background: rgba(255, 255, 255, 0.1);
            border-radius: 10px;
        }
        
        .hero-cta::-webkit-scrollbar-thumb {
            background: rgba(255, 165, 0, 0.5);
            border-radius: 10px;
        }
        
        .hero-cta::-webkit-scrollbar-thumb:hover {
            background: rgba(255, 165, 0, 0.7);
        }
        
        /* Height-based media queries for low-height devices */
        @media (max-height: 750px) {
            .hero-cta {
                max-height: 92vh;
                overflow-y: auto;
            }
            
            .cta-highlight {
                font-size: 1.5rem !important;
            }
        }
        
        @media (max-height: 700px) {
            .hero-section {
                padding: 90px 20px 30px !important;
            }
            
            .hero-cta {
                padding: 15px !important;
                max-height: 90vh;
            }
            
            .cta-title {
                font-size: 1.4rem !important;
                margin-bottom: 12px !important;
            }
            
            .cta-highlight {
                font-size: 1.3rem !important;
            }
            
            .hero-form input,
            .hero-form textarea {
                padding: 6px !important;
                margin-bottom: 8px !important;
                font-size: 0.85rem !important;
            }
            
            .hero-form textarea {
                min-height: 50px !important;
            }
            
            .btn-cta {
                padding: 10px 20px !important;
                font-size: 0.9rem !important;
            }
            
            .immediate-enquiry h3 {
                font-size: 0.9rem !important;
                margin-bottom: 8px !important;
            }
            
            .enquiry-phone,
            .enquiry-email {
                padding: 6px 10px !important;
                margin-bottom: 6px !important;
                font-size: 0.8rem !important;
            }
            
            .enquiry-phones {
                gap: 6px;
            }
            
            .enquiry-phones .enquiry-phone {
                padding: 6px 8px !important;
                font-size: 0.75rem !important;
            }
        }
        
        @media (max-height: 600px) {
            .hero-section {
                padding: 80px 15px 20px !important;
            }
            
            .masonry-gallery {
                max-height: 250px !important;
            }
            
            .hero-cta {
                padding: 12px !important;
                max-height: 88vh;
            }
            
            .cta-title {
                font-size: 1.2rem !important;
                margin-bottom: 10px !important;
            }
            
            .cta-highlight {
                font-size: 1.1rem !important;
            }
            
            .hero-form textarea {
                min-height: 40px !important;
            }
            
            .immediate-enquiry h3 {
                font-size: 0.85rem !important;
                margin-bottom: 6px !important;
            }
        }
        
        @media (max-height: 500px) {
            .hero-section {
                padding: 70px 15px 15px !important;
            }
            
            .hero-cta {
                padding: 10px !important;
                max-height: 85vh;
            }
            
            .cta-title {
                font-size: 1.1rem !important;
                margin-bottom: 8px !important;
            }
            
            .cta-highlight {
                font-size: 1rem !important;
            }
            
            .hero-form input,
            .hero-form textarea {
                padding: 5px !important;
                margin-bottom: 6px !important;
                font-size: 0.8rem !important;
            }
            
            .hero-form textarea {
                min-height: 35px !important;
            }
            
            .btn-cta {
                padding: 8px 16px !important;
                font-size: 0.85rem !important;
            }
            
            .immediate-enquiry h3 {
                font-size: 0.8rem !important;
                margin-bottom: 5px !important;
            }
            
            .enquiry-phone,
            .enquiry-email {
                padding: 5px 8px !important;
                margin-bottom: 5px !important;
                font-size: 0.75rem !important;
            }
            
            .enquiry-phones .enquiry-phone {
                padding: 5px 6px !important;
                font-size: 0.7rem !important;
            }
        }
        
        /* Responsive hero section fixes */
        @media (max-width: 1366px) {
            .hero-section {
                padding: 120px 20px 60px !important;
            }
            
            .hero-left,
            .hero-right {
                flex: 1;
                min-width: 45%;
            }
            
            .hero-cta {
                padding: 25px !important;
            }
            
            .cta-title {
                font-size: 1.8rem !important;
                margin-bottom: 20px !important;
            }
            
            .hero-form input,
            .hero-form textarea {
                font-size: 0.9rem !important;
                padding: 10px !important;
            }
        }
        
        @media (max-width: 1024px) {
            .hero-section {
                flex-direction: column !important;
                padding: 100px 20px 40px !important;
            }
            
            .hero-left,
            .hero-right {
                width: 100% !important;
                max-width: 100% !important;
                min-width: 100% !important;
            }
            
            .hero-left {
                margin-bottom: 30px;
            }
            
            .masonry-gallery {
                max-height: 400px !important;
            }
            
            .hero-cta {
                max-width: 600px;
                margin: 0 auto;
            }
            
            .cta-title {
                font-size: 1.6rem !important;
                text-align: center;
            }
            
            .nav-container {
                padding: 0 15px !important;
            }
            
            .logo {
                gap: 8px !important;
            }
            
            .logo-image {
                height: 60px !important;
            }
            
            .logo-divider {
                height: 45px !important;
            }
            
            .logo-text-wrapper {
                height: 60px !important;
            }
            
            .logo-text {
                font-size: 1.1rem !important;
            }
            
            .logo-tagline {
                font-size: 0.7rem !important;
            }
        }
        
        @media (max-width: 768px) {
            .hero-section {
                padding: 90px 15px 30px !important;
            }
            
            .masonry-gallery {
                max-height: 350px !important;
            }
            
            .cta-title {
                font-size: 1.4rem !important;
            }
            
            .hero-form input,
            .hero-form textarea {
                font-size: 0.85rem !important;
            }
            
            .immediate-enquiry {
                margin-top: 15px !important;
            }
            
            .enquiry-phone,
            .enquiry-email {
                font-size: 0.85rem !important;
                padding: 8px 12px !important;
            }
            
            /* Stack phone numbers vertically on mobile */
            .enquiry-phones {
                flex-direction: column !important;
                gap: 8px !important;
            }
            
            .enquiry-phones .enquiry-phone {
                min-width: 100% !important;
                width: 100% !important;
            }
            
            .nav-container {
                padding: 0 10px !important;
            }
            
            .logo {
                gap: 6px !important;
            }
            
            .logo-image {
                height: 50px !important;
            }
            
            .logo-divider {
                height: 38px !important;
            }
            
            .logo-text-wrapper {
                height: 50px !important;
            }
            
            .logo-text {
                font-size: 0.95rem !important;
                line-height: 1.1 !important;
            }
            
            .logo-tagline {
                font-size: 0.6rem !important;
                line-height: 1.2 !important;
            }
        }
        
        @media (max-width: 480px) {
            .nav-container {
                padding: 0 8px !important;
            }
            
            .logo {
                gap: 5px !important;
            }
            
            .logo-image {
                height: 45px !important;
            }
            
            .logo-divider {
                height: 35px !important;
            }
            
            .logo-text-wrapper {
                height: 45px !important;
            }
            
            .logo-text {
                font-size: 0.85rem !important;
                line-height: 1.1 !important;
            }
            
            .logo-tagline {
                font-size: 0.55rem !important;
                line-height: 1.2 !important;
                white-space: nowrap !important;
                overflow: hidden !important;
                text-overflow: ellipsis !important;
            }
        }
        
        @media (max-width: 360px) {
            .nav-container {
                padding: 0 5px !important;
            }
            
            .logo {
                gap: 4px !important;
            }
            
            .logo-image {
                height: 40px !important;
            }
            
            .logo-divider {
                height: 30px !important;
            }
            
            .logo-text-wrapper {
                height: 40px !important;
            }
            
            .logo-text {
                font-size: 0.75rem !important;
                line-height: 1 !important;
            }
            
            .logo-tagline {
                font-size: 0.5rem !important;
                line-height: 1.1 !important;
            }
        }
        
        /* Ensure no horizontal overflow anywhere */
        * {
            max-width: 100%;
        }
        
        img {
            max-width: 100%;
            height: auto;
        }
        
        .container {
            overflow-x: hidden;
        }
        
        /* Clients section background color */
        .clients-section {
            background: linear-gradient(135deg, #001f3f 0%, #003366 100%) !important;
            position: relative;
        }
        
        .clients-section::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: 
                radial-gradient(circle at 20% 50%, rgba(255, 165, 0, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(255, 165, 0, 0.08) 0%, transparent 50%);
            pointer-events: none;
        }
        
        .clients-section .section-header {
            position: relative;
            z-index: 1;
        }
        
        .clients-section .section-title,
        .clients-section .section-subtitle {
            color: #ffffff !important;
        }
        
        .clients-section .highlight {
            color: #FFA500 !important;
        }
        
        .clients-carousel-wrapper {
            position: relative;
            z-index: 1;
        }
        
        /* Fix roadmap section overflow */
        .industries-roadmap-section {
            overflow: hidden !important;
        }
        
        .industries-roadmap-section .container {
            overflow: visible !important;
        }
        
        .industries-roadmap-section .section-title,
        .industries-roadmap-section .section-subtitle {
            color: #000000 !important;
        }
        
        .industries-roadmap-section .highlight {
            color: #ff8800 !important;
        }