/* --- Reset & Base Styles --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

html,
body {
    overflow-x: hidden;
}


:root {
    --primary-blue: #0A192F;
    --secondary-blue: #112240;
    --accent-yellow: #FFCC00;
    --text-white: #FFFFFF;
    --text-light-gray: #CCD6F6;
    --text-dark: #0A192F;
    --transition-speed: 0.3s;
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Inter', sans-serif;
    --navbar-height: 84px;
}

body {
    background-color: #f4f5f7;
    color: var(--text-dark);
    line-height: 1.6;
    padding-top: var(--navbar-height);
}

/* --- Header / Navigation (Unified) --- */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--text-white);
    padding: 1.2rem 5%;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 50;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: box-shadow 0.3s ease;
}

.navbar.scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    margin-left: -25px;
    /* <-- add this line */
}


.logo img {
    height: 60px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    display: block;
}

.nav-links {
    display: flex;
    gap: 2rem;
    margin-left: auto;
}

.nav-links a {
    text-decoration: none;
    color: var(--primary-blue);
    font-weight: 600;
    font-size: 0.9rem;
    position: relative;
    padding-bottom: 5px;
    transition: color var(--transition-speed);
}

.nav-links a:hover {
    color: var(--accent-yellow);
}

.nav-links a.active {
    color: var(--primary-blue);
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--accent-yellow);
}

/* Mobile Menu Elements (Hidden on Desktop) */
.menu-toggle {
    display: none;
}

.hamburger {
    display: none;
    font-size: 1.5rem;
    color: var(--text-dark);
    cursor: pointer;
}

/* CTA Button */
.btn-cta {
    display: flex;
    align-items: center;
    gap: 10px;
    background-color: var(--accent-yellow);
    color: var(--text-dark);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.85rem;
    text-decoration: none;
    padding: 1rem 1.8rem;
    border-radius: 4px;
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.btn-cta:hover {
    background-color: #e6b800;
    transform: translateY(-2px);
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.5rem;
    font-size: 0.85rem;
    font-weight: 700;
    text-decoration: none;
    border-radius: 4px;
    transition: all var(--transition-speed);
    cursor: pointer;
    border: none;
    gap: 8px;
}

.btn .arrow {
    font-size: 1rem;
    line-height: 1;
}

.btn-primary {
    background-color: var(--accent-yellow);
    color: var(--primary-blue);
}

.btn-primary:hover {
    background-color: #e6b800;
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    color: var(--accent-yellow);
    border: 1px solid var(--accent-yellow);
}

.btn-outline:hover {
    background-color: rgba(255, 204, 0, 0.1);
}

/* --- Hero Section --- */
.hero {
    position: relative;
    background-color: var(--primary-blue);
    min-height: calc(100vh - var(--navbar-height));
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 2rem 4% 5rem 4%;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 78%;
    height: 100%;
    background-image: url('images/hero-background.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.5;
    z-index: 2;
}

/* Simulating the background powerline image overlay */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(to right, #0A192F 40%, rgba(10, 25, 47, 0.7)), url('https://images.unsplash.com/photo-1473341304170-971dccb5ac1e?ixlib=rb-4.0.3&auto=format&fit=crop&w=1600&q=80');
    background-size: cover;
    background-position: center right;
    z-index: 1;
    opacity: 0.6;
}

.hero-container {
    position: relative;
    z-index: 3;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

/* Hero Content (Left) */
.hero-content {
    flex: 1;
    max-width: 650px;
}

.subtitle {
    color: var(--accent-yellow);
    font-weight: 700;
    font-size: clamp(0.75rem, 0.8vw, 0.85rem);
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
}

.main-title {
    color: var(--text-white);
    font-size: clamp(2.2rem, 4.2vw, 3.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.main-title .highlight {
    color: var(--accent-yellow);
}

.mobile-main-title {
    display: none;
}

.description {
    color: var(--text-light-gray);
    font-size: clamp(0.95rem, 1.1vw, 1.1rem);
    margin-bottom: 2.5rem;
    max-width: 500px;
}

.button-group {
    display: flex;
    gap: 1rem;
}

/* Hero Visuals (Right) */
.hero-visuals {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    position: relative;
    gap: 0;
}

.image-wrapper {
    position: relative;
    width: clamp(320px, 32vw, 500px);
    max-width: 100%;
    border-bottom: 3px solid var(--accent-yellow);
    transform: translateY(35px);
}

.engineer-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    position: relative;
    z-index: 1;
}

.signature {
    position: absolute;
    bottom: 20px;
    right: 20px;
    text-align: right;
    z-index: 2;
}

.sign-name {
    display: block;
    font-family: 'Brush Script MT', cursive, sans-serif;
    color: var(--text-white);
    font-size: 1.8rem;
    line-height: 1;
}

.sign-title {
    color: var(--text-light-gray);
    font-size: 0.8rem;
}

/* Dark Stats Sidebar */
.stats-sidebar {
    background-color: var(--secondary-blue);
    padding: 2rem 1.5rem;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    box-shadow: -5px 10px 30px rgba(0, 0, 0, 0.3);
    border-left: 2px solid var(--accent-yellow);
    min-width: 220px;
}

.stat-item-dark {
    display: flex;
    align-items: center;
    gap: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 1.5rem;
}

.stat-item-dark:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.icon-circle {
    width: 40px;
    height: 40px;
    border: 1.5px solid var(--accent-yellow);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--accent-yellow);
    flex-shrink: 0;
}

.icon-circle svg {
    width: 20px;
    height: 20px;
}

.stat-text-dark {
    display: flex;
    flex-direction: column;
}

.stat-text-dark strong {
    color: var(--text-white);
    font-size: 1.1rem;
    line-height: 1.2;
}

.stat-text-dark span {
    color: var(--text-light-gray);
    font-size: 0.8rem;
}

/* --- Bottom Floating Banner --- */
.bottom-banner-wrapper {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    margin-top: -60px;
    /* Pulls banner up into hero section */
    z-index: 10;
    padding: 0 4%;
}

.bottom-banner {
    background-color: var(--text-white);
    border-radius: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 3rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.stat-item-light {
    display: flex;
    align-items: center;
    gap: 15px;
}

.icon-circle-light {
    width: 50px;
    height: 50px;
    background-color: #fef8e6;
    border: 2px solid var(--accent-yellow);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--primary-blue);
    flex-shrink: 0;
}

.icon-circle-light svg {
    width: 24px;
    height: 24px;
}

.stat-text-light {
    display: flex;
    flex-direction: column;
}

.stat-text-light strong {
    color: var(--primary-blue);
    font-size: 1.4rem;
    line-height: 1.1;
}

.stat-text-light span {
    color: #666;
    font-size: 0.85rem;
}

.divider {
    width: 1px;
    height: 50px;
    background-color: #e0e0e0;
}

/* --- Responsive Design --- */
@media screen and (orientation: portrait) {
    .main-title {
        font-size: 2.8rem;
    }

    .hero-visuals {
        flex-direction: column;
        gap: 2rem;
    }

    .stats-sidebar {
        border-left: none;
        border-top: 2px solid var(--accent-yellow);
        width: 100%;
        max-width: 500px;
    }

    .bottom-banner {
        flex-wrap: wrap;
        gap: 2rem;
        justify-content: center;
    }

    .divider {
        display: none;
    }
}

@media screen and (orientation: portrait) {
    .hero-container {
        flex-direction: column;
        text-align: center;
    }

    .hero-content {
        max-width: 100%;
    }

    .button-group {
        justify-content: center;
    }

    .stat-item-dark {
        flex-direction: column;
        text-align: center;
    }

    .nav-links,
    .nav-cta {
        display: none;
        /* Mobile menu needed for production */
    }
}

/* --- About Me Section Layout --- */
.about-section {
    background-color: #FFFFFF;
    padding: 5rem 4% 6rem 4%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-container {
    width: 100%;
    max-width: 1200px;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 5rem;
    align-items: center;
}

/* Floating Image Layout Mechanics */
.about-visual-stack {
    position: relative;
    width: 100%;
    max-width: 520px;
    height: 380px;
    justify-self: center;
    overflow: hidden;
    border-radius: 12px;
}

.about-img-frame {
    width: 100%;
    height: 100%;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    z-index: 5;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    background-color: #f4f5f7;
}

.about-panel-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

/* Offset Yellow Trim Frame */
.about-border-decoration {
    position: absolute;
    border: 4px solid #FFCC00;
    border-top: none;
    border-right: none;
    top: 15px;
    left: -15px;
    width: 100%;
    height: 100%;
    border-radius: 12px;
    z-index: 2;
}

.about-border-decoration::after {
    content: '';
    position: absolute;
    top: 0;
    right: -15px;
    width: 30px;
    height: 4px;
    background-color: #FFCC00;
}

.about-border-decoration::before {
    content: '';
    position: absolute;
    top: -15px;
    left: 0;
    width: 4px;
    height: 30px;
    background-color: #FFCC00;
}

/* Technical Matrix Point Accumulations (CSS Dots Pattern) */
.about-dot-pattern {
    position: absolute;
    width: 60px;
    height: 60px;
    background-image: radial-gradient(#cccccc 2px, transparent 2px);
    background-size: 8px 8px;
    z-index: 1;
}

.about-dot-left {
    bottom: -25px;
    left: -35px;
}

.about-dot-right {
    bottom: -20px;
    right: -20px;
}

/* About Typography Blocks */
.about-text-block {
    display: flex;
    flex-direction: column;
}

.about-section-subtitle {
    color: #0056B3;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 1.5px;
    margin-bottom: 0.8rem;
}

.about-section-title {
    color: #0A192F;
    font-size: 2.4rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.about-paragraph {
    color: #556275;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.2rem;
}

.about-cta-btn {
    align-self: flex-start;
    background-color: #FFCC00;
    color: #0A192F;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.85rem;
    padding: 0.9rem 1.8rem;
    border-radius: 4px;
    margin-top: 0.8rem;
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.about-cta-btn:hover {
    background-color: #E6B800;
    transform: translateY(-2px);
}

/* About Engineer Image (Mobile Only) */
.about-engineer-img {
    display: none;
    width: 60%;
    max-width: 60%;
    height: auto;
    border-radius: 12px;
    margin: 1rem 0;
    object-fit: cover;
}

/* --- Professional Services Layout --- */
.services-section {
    background-color: #F7F9FC;
    padding: 6rem 4% 8rem 4%;
}

.services-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.services-section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 2rem;
    text-align: left;
    margin-bottom: 4rem;
}

.services-section-subtitle {
    color: #0056B3;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
}

.services-section-title {
    color: #0A192F;
    font-size: 2.2rem;
    font-weight: 800;
}

.services-title-underline {
    position: relative;
    display: inline-block;
}

.services-title-underline::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 2px;
    width: 100%;
    height: 3px;
    background-color: #FFCC00;
}

.services-view-all {
    color: #0056B3;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: transform 0.2s ease, opacity 0.2s ease;
    padding-bottom: 0.5rem;
    white-space: nowrap;
}

.services-view-all:hover {
    opacity: 0.8;
    transform: translateX(4px);
}

/* Services Dynamic Card Grid Architecture */
.services-cards-layout {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}

.services-cards-layout .service-card {
    min-height: 100%;
}

.spec-service-card {
    background-color: #FFFFFF;
    border-radius: 15px;
    padding: 2.2rem 1.8rem;
    box-shadow: 0 4px 20px rgba(10, 25, 47, 0.04);
    border: 1px solid rgba(10, 25, 47, 0.02);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.spec-service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(10, 25, 47, 0.08);
}

.spec-card-top {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 1.2rem;
}

.spec-card-icon-box {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    background-color: #FFFBE6;
    border: 1.5px solid #FFCC00;
    color: #FFCC00;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.spec-card-icon-box stroke,
.spec-card-icon-box svg {
    width: 22px;
    height: 22px;
}

.spec-card-heading {
    color: #0A192F;
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.3;
}

.spec-card-body {
    color: #556275;
    font-size: 0.92rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.spec-card-action {
    color: #0A192F;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    transition: color 0.2s ease;
}

.spec-card-action:hover {
    color: #0056B3;
}

/* --- Adaptability Breakpoints --- */
@media screen and (orientation: portrait) {
    .about-container {
        grid-template-columns: 1fr;
        gap: 4rem;
    }

    .about-text-block {
        text-align: center;
        align-items: center;
    }

    .about-cta-btn {
        align-self: center;
    }

    .about-visual-stack {
        height: 340px;
    }
}

@media screen and (orientation: portrait) {
    .about-section {
        padding: 3rem 5% 4rem 5%;
    }

    .about-container {
        gap: 2rem;
    }

    .about-text-block {
        text-align: center;
        align-items: center;
    }

    .about-section-subtitle {
        font-size: 0.75rem;
        letter-spacing: 1px;
        margin-bottom: 0.5rem;
    }

    .about-section-title {
        font-size: 1.7rem;
        line-height: 1.25;
        margin-bottom: 1rem;
    }

    .about-paragraph {
        font-size: 0.9rem;
        line-height: 1.6;
        margin-bottom: 1rem;
    }

    .about-cta-btn {
        align-self: center;
        padding: 0.8rem 1.5rem;
        font-size: 0.8rem;
        margin-top: 0.25rem;
    }

    .about-visual-stack {
        display: none;
    }

    /* Show engineer image on mobile */
    .about-engineer-img {
        display: block;
        width: 95%;
        max-width: 95%;
        border-radius: 12px;
        margin: 0.5rem 0 1.5rem 0;
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
        align-self: center;
    }

    /* --- Services Section Mobile Layout --- */
    .services-section {
        padding: 3rem 5% 4rem 5%;
    }

    .services-section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
        text-align: left;
        margin-bottom: 2rem;
    }

    .services-view-all {
        padding-bottom: 0;
    }

    .services-section-subtitle {
        font-size: 0.75rem;
        letter-spacing: 1.5px;
        margin-bottom: 0.5rem;
    }

    .services-section-title {
        font-size: 1.8rem;
        font-weight: 800;
    }

    /* Single column vertical stack layout */
    .services-cards-layout {
        display: grid;
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

@media screen and (orientation: portrait) {
    .about-section-title {
        font-size: 1.5rem;
    }

    .services-section-title {
        font-size: 1.8rem;
    }

    .about-visual-stack {
        display: none;
    }
}

/* --- Featured Projects Section --- */
.feat-projects-section {
    background-color: #F7F9FC;
    padding: 6rem 4% 8rem 4%;
}

.feat-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Header Flexbox Layout */
.feat-header-flex {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 3.5rem;
}

.feat-subtitle {
    color: #0056B3;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.feat-title {
    color: #0A192F;
    font-size: 2.4rem;
    font-weight: 800;
    line-height: 1.1;
}

.feat-view-all {
    color: #0056B3;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: transform 0.2s ease, opacity 0.2s ease;
    padding-bottom: 0.5rem;
}

.feat-view-all:hover {
    opacity: 0.8;
    transform: translateX(4px);
}

/* Projects Grid Architecture */
.feat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.feat-card {
    background-color: #FFFFFF;
    border-radius: 8px;
    overflow: hidden;
    border: none;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 8px 24px rgba(10, 25, 47, 0.08);
}

.feat-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(10, 25, 47, 0.12);
}

/* Image & Badge Overlay */
.feat-img-wrapper {
    position: relative;
    width: 100%;
    height: 240px;
}

.feat-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Installation & Commissioning service image carousel */
.service-image-carousel {
    display: flex;
    flex-direction: column;
    overflow: visible;
    background-color: #FFFFFF;
    position: relative;
}

.service-carousel-viewport {
    width: 100%;
    height: 240px;
    overflow: hidden;
    background-color: #F7F9FC;
    position: relative;
}

.service-carousel-track {
    position: relative;
    width: 100%;
    height: 100%;
}

.service-carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1200ms ease-in-out;
    pointer-events: none;
}

.service-carousel-slide.active {
    opacity: 1;
    pointer-events: auto;
}

.service-carousel-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.service-carousel-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(0, 0, 0, 0.55);
    padding: 6px 14px;
    border-radius: 999px;
    z-index: 5;
    backdrop-filter: blur(2px);
}

.service-carousel-dot {
    width: 8px;
    height: 8px;
    border: 0;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.45);
    cursor: pointer;
    padding: 0;
    transition: width 250ms ease, background-color 250ms ease, transform 250ms ease;
}

.service-carousel-dot.active,
.service-carousel-dot:hover,
.service-carousel-dot:focus-visible {
    background-color: #FFCC00;
}

.service-carousel-dot.active {
    width: 20px;
    border-radius: 999px;
}

.service-carousel-dot:focus-visible {
    outline: 2px solid #0A192F;
    outline-offset: 3px;
}

/* Card Typography & Meta Info */
.feat-content {
    padding: 2rem 1.8rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.feat-card-title {
    color: #0A192F;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.3;
}

/* Project card icon + title row (mirrors services section) */
.feat-projects-section .service-heading-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 1rem;
    flex-wrap: nowrap;
}

.feat-projects-section .service-heading-row .feat-card-title {
    margin-bottom: 0;
    flex: 1 1 auto;
    min-width: 0;
}

.feat-projects-section .service-heading-row .spec-card-icon-box {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    flex-shrink: 0;
}

.feat-projects-section .service-heading-row .spec-card-icon-box svg {
    width: 20px;
    height: 20px;
}

.feat-card-desc {
    color: #556275;
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    flex-grow: 1;
}

.feat-meta {
    display: flex;
    justify-content: flex-start;
    gap: 1.5rem;
}

.feat-meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #556275;
    font-size: 0.85rem;
    font-weight: 500;
}

.feat-icon {
    width: 16px;
    height: 16px;
    color: #FFCC00;
}

/* --- Carousel Styles --- */
.feat-carousel-wrapper {
    width: 100%;
    position: relative;
}

.feat-carousel {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

/* Hide dots and arrows on desktop */
.carousel-dots,
.carousel-arrow {
    display: none;
}

/* --- Adaptability Breakpoints --- */
@media screen and (orientation: portrait) {
    .feat-header-flex {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
    }

    .feat-title {
        font-size: 2rem;
    }

    /* Transform grid into horizontal carousel on mobile */
    .feat-carousel {
        display: flex;
        gap: 1rem;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 1rem;
        /* Hide scrollbar for clean look */
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .feat-carousel::-webkit-scrollbar {
        display: none;
    }

    /* Each card takes full viewport width on mobile */
    .feat-carousel .feat-card {
        flex: 0 0 98%;
        scroll-snap-align: center;
        scroll-snap-stop: always;
    }

    /* Add side padding so cards peek from edges */
    .feat-carousel-wrapper {
        padding: 0 1rem;
        margin: 0 -1rem;
    }

    /* Navigation Arrows */
    .carousel-arrow {
        display: flex;
        align-items: center;
        justify-content: center;
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        width: 48px;
        height: 48px;
        min-width: 44px;
        min-height: 44px;
        background-color: rgba(255, 204, 0, 0.95);
        border: 2px solid #0A192F;
        border-radius: 50%;
        cursor: pointer;
        z-index: 10;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
        transition: all 0.2s ease;
        padding: 0;
    }

    .carousel-arrow:hover,
    .carousel-arrow:active {
        background-color: #FFCC00;
        transform: translateY(-50%) scale(1.1);
        box-shadow: 0 6px 16px rgba(0, 0, 0, 0.5);
    }

    .carousel-arrow:disabled {
        opacity: 0.3;
        cursor: not-allowed;
        transform: translateY(-50%) scale(1);
    }

    .carousel-arrow svg {
        width: 24px;
        height: 24px;
        color: #0A192F;
        stroke-width: 2.5;
    }

    .carousel-arrow-prev {
        left: 8px;
    }

    .carousel-arrow-next {
        right: 8px;
    }

    /* Make wrapper relative for arrow positioning */
    .feat-carousel-wrapper {
        position: relative;
        padding: 0 1rem;
        margin: 0 -1rem;
    }

    /* Dot Indicators */
    .carousel-dots {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 8px;
        margin-top: 1.5rem;
    }

    .carousel-dots .dot {
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background-color: rgba(255, 204, 0, 0.3);
        cursor: pointer;
        transition: all 0.3s ease;
    }

    .carousel-dots .dot.active {
        background-color: #FFCC00;
        width: 24px;
        border-radius: 4px;
    }

    /* Adjust card image height for mobile */
    .feat-img-wrapper {
        height: 200px;
    }

    /* Adjust card padding for mobile */
    .feat-content {
        padding: 1.5rem;
    }

    .feat-projects-section .feat-card-title {
        font-size: 0.95rem;
    }


    /* Certifications Stacked Mobile Layout */
    .cert-carousel {
        display: grid;
        grid-template-columns: 1fr;
        gap: 1.5rem;
        overflow-x: visible;
        scroll-snap-type: none;
        padding-bottom: 0;
    }

    .cert-carousel .cert-card {
        width: 100%;
        min-width: auto;
        scroll-snap-align: none;
        scroll-snap-stop: normal;
    }

    .cert-carousel-wrapper {
        position: static;
        padding: 0;
        margin: 0;
    }

    /* Hide cert carousel arrows and dots on mobile */
    .cert-arrow-prev,
    .cert-arrow-next,
    .cert-dots {
        display: none !important;
    }

    /* Testimonials Carousel Mobile Styles */
    .testi-carousel {
        display: flex;
        gap: 1rem;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 1rem;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .testi-carousel::-webkit-scrollbar {
        display: none;
    }

    /* Show 1 card at a time (85% width like Projects) */
    .testi-carousel .testi-card {
        flex: 0 0 85%;
        scroll-snap-align: center;
        scroll-snap-stop: always;
    }

    .testi-carousel-wrapper {
        position: relative;
        padding: 0 1rem;
        margin: 0 -1rem;
    }

    /* Testimonials Arrow Positioning */
    .testi-arrow-prev {
        left: 8px;
    }

    .testi-arrow-next {
        right: 8px;
    }
}

/* --- Certifications Carousel Base Styles --- */
.cert-carousel-wrapper {
    width: 100%;
    position: relative;
}

.cert-carousel {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

/* --- Testimonials Carousel Base Styles --- */
.testi-carousel-wrapper {
    width: 100%;
    position: relative;
}

.testi-carousel {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

/* Hide cert/testi arrows and dots on desktop */
.cert-carousel-wrapper>.carousel-arrow,
.testi-carousel-wrapper>.carousel-arrow,
.cert-dots,
.testi-dots {
    display: none;
}

/* --- Certifications & Qualifications Section --- */

.cert-section {
    padding: 4rem 4%;
    background-color: #F7F9FC;
}

.cert-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Header Styling */
.cert-header {
    text-align: center;
    margin-bottom: 3rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.cert-subtitle {
    color: #0056B3;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.cert-title {
    color: #0A192F;
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 0.8rem;
}

.cert-underline {
    width: 35px;
    height: 3px;
    background-color: #FFCC00;
    border-radius: 2px;
}

/* Grid Layout - Desktop only, hidden on mobile when carousel is active */
.cert-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.2rem;
}

/* Certifications Carousel Base Styles */
.cert-carousel-wrapper {
    width: 100%;
    position: relative;
}

.cert-carousel {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

/* Hide cert arrows and dots on desktop */
.cert-carousel-wrapper>.carousel-arrow,
.cert-dots {
    display: none;
}

/* Individual Card Styling */
.cert-card {
    width: 280px;
    max-width: 100%;
    background-color: #FFFFFF;
    border: 1px solid #EAECEF;
    border-radius: 8px;
    padding: 1.2rem 1rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cert-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
    border-color: #DDE1E6;
}

/* Card Top (Icon + Title) */
.cert-card-top {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    margin-bottom: 0.8rem;
    min-height: auto;
    width: 100%;
}

.cert-icon-wrapper {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cert-icon-wrapper svg {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.cert-card-heading {
    color: #0A192F;
    font-size: 0.95rem;
    font-weight: 800;
    line-height: 1.3;
    text-align: left;
}

/* Card Bottom (Description) */
.cert-card-bottom {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
}

.cert-desc {
    color: #556275;
    font-size: 0.85rem;
    line-height: 1.5;
}

.cert-year {
    color: #556275;
    font-size: 0.85rem;
    font-weight: 600;
}

/* --- Adaptability Breakpoints --- */
@media screen and (orientation: portrait) {
    .cert-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }
}

@media screen and (orientation: portrait) {
    .cert-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .cert-title {
        font-size: 1.9rem;
    }
}

@media screen and (orientation: portrait) {
    .cert-grid {
        grid-template-columns: 1fr;
    }

    .cert-card-top {
        flex-direction: column;
        text-align: center;
    }

    .cert-card-heading {
        text-align: center;
    }

    .cert-card-bottom {
        padding-left: 58px;
        /* aligns text with the heading beside the icon on mobile */
    }
}


/* --- Footer Section Styling --- */
.site-footer {
    background-color: #0A192F;
    color: #FFFFFF;
    font-family: 'Inter', sans-serif;
    /* Assuming Inter or similar based on previous UI */
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* 1. CTA Banner */
.footer-cta-wrapper {
    background-color: #112240;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-cta-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3.5rem 4%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.cta-content-left {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    max-width: 750px;
}

.cta-icon-ring {
    width: 65px;
    height: 65px;
    border: 2px solid #FFCC00;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
}

.cta-icon-ring svg {
    width: 30px;
    height: 30px;
}

.cta-heading {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.cta-subtext {
    color: #CCD6F6;
    font-size: 1rem;
    line-height: 1.5;
    margin: 0;
}

.cta-button {
    background-color: #FFCC00;
    color: #0A192F;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    padding: 1rem 1.8rem;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: background-color 0.3s ease, transform 0.2s ease;
    flex-shrink: 0;
}

.cta-button svg {
    width: 18px;
    height: 18px;
}

.cta-button:hover {
    background-color: #E6B800;
    transform: translateY(-2px);
}

/* 2. Main Footer Content */
.footer-main-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 5rem 4%;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1.5fr 1fr 1.5fr;
    gap: 3rem;
}

/* Landscape: unwrap footer-nav-wrapper so Quick Links & Services sit in the same row */
@media screen and (orientation: landscape) {
    .footer-nav-wrapper {
        display: contents;
    }
}

/* Column Typographies */
.footer-col-title {
    color: #FFFFFF;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    letter-spacing: 0.5px;
}

.footer-nav {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-nav a {
    color: #CCD6F6;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.2s ease;
}

.footer-nav a:hover {
    color: #FFCC00;
}

/* Brand Column Specifics */
.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 1.2rem;
}

.logo-icon {
    width: 28px;
    height: 28px;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-title {
    color: #FFFFFF;
    font-weight: 800;
    font-size: 1.2rem;
    line-height: 1.1;
}

.logo-subtitle {
    color: #FFCC00;
    font-size: 0.85rem;
    font-weight: 600;
}

.footer-desc {
    color: #CCD6F6;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    max-width: 90%;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-circle {
    width: 36px;
    height: 36px;
    background-color: #FFFFFF;
    color: #0A192F;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.social-circle svg {
    width: 18px;
    height: 18px;
}

.social-circle:hover {
    background-color: #FFCC00;
}

/* Contact Column Specifics */
.contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: #CCD6F6;
    font-size: 0.95rem;
    line-height: 1.5;
}

.contact-list a {
    color: #CCD6F6;
    text-decoration: none;
    transition: color 0.2s ease;
}

.contact-list a:hover {
    color: #FFCC00;
}

.contact-icon {
    width: 20px;
    height: 20px;
    color: #FFCC00;
    flex-shrink: 0;
    margin-top: 2px;
}


.legal-links {
    display: flex;
    align-items: center;
    gap: 10px;
}

.legal-links a {
    color: #8892B0;
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.2s ease;
}

.legal-links a:hover {
    color: #FFFFFF;
}

.separator {
    color: #8892B0;
    font-size: 0.85rem;
}

/* --- Responsive Breakpoints --- */
@media screen and (orientation: portrait) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 4rem 2rem;
    }
}

@media screen and (orientation: portrait) {
    .footer-cta-container {
        flex-direction: column;
        text-align: center;
    }

    .cta-content-left {
        flex-direction: column;
    }

    .cta-heading {
        font-size: 1.3rem;

    }

    .cta-subtext {
        font-size: 1rem;
    }

    .cta-button {
        font-size: 1rem;
        padding: 0.5rem 1rem;
        white-space: nowrap;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    /* Reorder footer columns on mobile: Brand -> Contact -> Links */
    .brand-col {
        order: 1;
    }

    .contact-col {
        order: 2;
    }

    .footer-nav-wrapper {
        order: 3;
    }

    /* Stack Quick Links and Services vertically on mobile */
    .footer-nav-wrapper {
        display: block;
    }

    .footer-nav-wrapper .footer-col {
        width: 100%;
    }

    .footer-nav-wrapper .services-col {
        margin-top: 2rem;
    }

}

/* --- Mobile Navigation Responsive Styles --- */
@media screen and (orientation: portrait) {
    .hamburger {
        display: block;
        position: relative;
        width: 26px;
        height: 18px;
        cursor: pointer;
        align-self: center;
    }

    .hamburger span {
        position: absolute;
        left: 0;
        width: 100%;
        height: 3px;
        background-color: var(--text-dark);
        border-radius: 2px;
        transition: all 0.3s ease-in-out;
    }

    .hamburger span:nth-child(1) {
        top: 0;
    }

    .hamburger span:nth-child(2) {
        top: 7.5px;
    }

    .hamburger span:nth-child(3) {
        top: 15px;
    }

    #menu-toggle:checked~.hamburger span:nth-child(1) {
        top: 7.5px;
        transform: rotate(45deg);
    }

    #menu-toggle:checked~.hamburger span:nth-child(2) {
        opacity: 0;
    }

    #menu-toggle:checked~.hamburger span:nth-child(3) {
        top: 7.5px;
        transform: rotate(-45deg);
    }

    .btn-cta {
        display: none;
    }

    .nav-links {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--text-white);
        padding: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    }

    .nav-links a {
        padding: 1rem 5%;
        border-bottom: 1px solid #f3f4f6;
    }

    .nav-links a.active {
        border-bottom: 1px solid #f3f4f6;
        color: var(--accent-yellow);
        background-color: #fafafa;
    }

    #menu-toggle:checked~.nav-links {
        max-height: 400px;
    }

}




@media screen and (orientation: portrait) {

    /* --- Hero Mobile Layout --- */
    .hero {
        --hero-mobile-image-top-gap: clamp(1.25rem, 5.5vw, 2.5rem);
        padding: clamp(2rem, 5vw, 3rem) 5% clamp(2.5rem, 6vw, 4rem) 5%;
        min-height: auto;
        overflow: hidden;
    }

    .hero-container {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
        gap: 0;
        position: relative;
    }

    .hero-content {
        max-width: 100%;
        z-index: 10;
        position: relative;
        width: 100%;
    }

    .subtitle {
        font-size: clamp(0.7rem, 2.2vw, 0.85rem);
        margin-bottom: 1rem;
        letter-spacing: 1.5px;
    }

    .main-title {
        font-size: clamp(1.5rem, 6.5vw, 2.4rem);
        line-height: 1.15;
        margin-bottom: 1rem;
        max-width: 75%;
    }

    .desktop-main-title {
        display: none;
    }

    .mobile-main-title {
        display: block;
    }

    .main-title .highlight {
        color: var(--accent-yellow);
    }

    .description {
        font-size: clamp(0.8rem, 2.5vw, 1.05rem);
        max-width: 60%;
        margin-bottom: 1.5rem;
        color: var(--text-light-gray);
        line-height: 1.5;
    }

    /* --- Buttons: Stack Vertically & Full Width --- */
    .button-group {
        flex-direction: column;
        gap: 0.8rem;
        width: 100%;
        margin-top: 1rem;
        position: relative;
        z-index: 6;
    }

    .button-group .btn {
        width: 100%;
        padding: 1rem 1.5rem;
        font-size: 0.85rem;
        justify-content: space-between;
    }

    .button-group .btn .arrow {
        margin-left: auto;
    }

    /* --- Hero Image: Position to the Right --- */
    .hero-visuals {
        position: absolute;
        top: var(--hero-mobile-image-top-gap);
        right: clamp(-60px, -10vw, -30px);
        bottom: auto;
        width: clamp(180px, 48vw, 320px);
        z-index: 2;
        pointer-events: none;
        padding-top: 0;
    }


    .image-wrapper {
        max-width: 100%;
        border-bottom: none;
        position: relative;
        transform: none;
    }

    .engineer-img {
        width: 100%;
        height: auto;
        display: block;
        transform: scale(1.35);
        transform-origin: top right;
        mask-image: linear-gradient(to bottom, black 85%, transparent 100%);
        -webkit-mask-image: linear-gradient(to bottom, black 85%, transparent 100%);
    }


    /* Hide signature on mobile */
    .signature {
        display: none;
    }

    /* --- Hide Stats Sidebar on Mobile --- */
    .stats-sidebar {
        display: none;
    }

    /* --- Hide Bottom Banner on Mobile --- */
    .bottom-banner-wrapper {
        display: none;
    }

    /* --- Mobile Stats Wrapper (positioned after hero) --- */
    .mobile-stats-wrapper {
        display: block;
        background-color: #FFFFFF;
        padding: 2rem 5%;
        position: relative;
        z-index: 5;
    }

    .mobile-stats-wrapper .stats-sidebar {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
        max-width: 400px;
        margin: 0 auto;
        background-color: transparent;
        padding: 0;
        border: none;
        box-shadow: none;
    }

    .mobile-stats-wrapper .stat-item-dark {
        flex-direction: column;
        align-items: center;
        text-align: center;
        border-bottom: none;
        padding-bottom: 0;
    }

    .mobile-stats-wrapper .icon-circle {
        width: 48px;
        height: 48px;
        margin-bottom: 0.5rem;
    }

    .mobile-stats-wrapper .icon-circle svg {
        width: 24px;
        height: 24px;
    }

    .mobile-stats-wrapper .stat-text-dark strong {
        font-size: 1.2rem;
        color: #0A192F;
    }

    .mobile-stats-wrapper .stat-text-dark span {
        font-size: 0.75rem;
        color: #556275;
    }
}

/* Hide mobile stats wrapper on desktop */
@media screen and (orientation: landscape) {
    .mobile-stats-wrapper {
        display: none;
    }
}

/* --- MARKER 4 --- */
@media screen and (orientation: portrait) {
    .hero-overlay {
        background-image: linear-gradient(to right, #0A192F 45%, rgba(10, 25, 47, 0.7)),
            url('https://images.unsplash.com/photo-1473341304170-971dccb5ac1e?ixlib=rb-4.0.3&auto=format&fit=crop&w=1600&q=80');
        background-position: center right;
        opacity: 0.7;
    }

    /* Certifications Stacked Mobile Layout */
    .cert-carousel {
        display: grid;
        grid-template-columns: 1fr;
        gap: 1.5rem;
        overflow-x: visible;
        scroll-snap-type: none;
        padding-bottom: 0;
    }

    .cert-carousel::-webkit-scrollbar {
        display: none;
    }

    .cert-carousel .cert-card {
        width: 100%;
        min-width: auto;
        scroll-snap-align: none;
        scroll-snap-stop: normal;
    }

    .cert-carousel-wrapper {
        position: static;
        padding: 0;
        margin: 0;
    }

    .cert-arrow-prev,
    .cert-arrow-next,
    .cert-dots {
        display: none !important;
    }

    /* Testimonials Carousel Mobile Styles */
    .testi-carousel {
        display: flex;
        gap: 1rem;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 1rem;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .testi-carousel::-webkit-scrollbar {
        display: none;
    }

    /* Show 1 card at a time (85% width like Projects) */
    .testi-carousel .testi-card {
        flex: 0 0 85%;
        scroll-snap-align: center;
        scroll-snap-stop: always;
    }

    .testi-carousel-wrapper {
        position: relative;
        padding: 0 1rem;
        margin: 0 -1rem;
    }

    /* Testimonials Arrow Positioning */
    .testi-arrow-prev {
        left: 8px;
    }

    .testi-arrow-next {
        right: 8px;
    }

    /* Show testi arrows and dots on mobile */
    .testi-carousel-wrapper>.carousel-arrow,
    .testi-dots {
        display: flex;
    }
}

/* --- MARKER 5 (Cleaned up: Hero overrides removed in favor of fluid clamp() rules above) --- */

/* =========================================================
   ORIENTATION-FIRST RESPONSIVE SYSTEM
   Portrait = mobile layout. Landscape = desktop layout.
   Width is used only for fluid scaling/overflow protection.
   ========================================================= */
html {
    --page-gutter: clamp(1rem, 4vw, 5rem);
    --section-gap: clamp(2.5rem, 6vmin, 6rem);
}

*,
*::before,
*::after {
    min-width: 0;
}

img,
svg,
video,
canvas {
    max-width: 100%;
}

.hero-container,
.hero-content,
.hero-text,
.hero-visuals,
.about-container,
.about-details-grid,
.services-display-grid,
.projects-grid,
.contact-content-grid,
.certs-grid,
.footer-grid {
    min-width: 0;
}

.main-title,
.section-title,
.section-main-heading,
.hero-title,
.contact-title {
    overflow-wrap: anywhere;
}

@media screen and (orientation: landscape) {
    .navbar {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .hamburger {
        display: none !important;
    }

    .nav-links {
        display: flex;
        position: static;
        flex-direction: row;
        width: auto;
        max-height: none;
        overflow: visible;
        padding: 0;
        background: transparent;
        box-shadow: none;
    }

    .nav-links a {
        border-bottom: 0;
    }

    .btn-cta {
        display: flex;
    }
}

@media screen and (orientation: portrait) {
    .navbar {
        padding: 1rem 5%;
    }

    .hamburger {
        display: block;
    }

    .btn-cta {
        display: none;
    }

    .nav-links {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--text-white, #fff);
        padding: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
        z-index: 60;
        gap: 0;
    }

    .nav-links a {
        padding: 0.6rem 5%;
        border-bottom: 1px solid #f3f4f6;
    }

    .nav-links a.active {
        border-bottom: 1px solid #f3f4f6;
        color: var(--accent-yellow, #ffcc00);
        background-color: #fafafa;
    }

    #menu-toggle:checked~.nav-links {
        max-height: 340px;
    }

    .button-group,
    .footer-cta-container,
    .cta-content-left,
    .mind-cta-container,
    .mind-cta-left {
        flex-direction: column;
    }

    .button-group .btn {
        width: 100%;
    }
}

/* --- Services Card Light Theme Override --- */
.services-cards-layout .feat-card.service-card,
.services-cards-layout .service-card,
.spec-service-card {
    background-color: #FFFFFF;
    border: none;
    box-shadow: 0 8px 24px rgba(10, 25, 47, 0.08);
}

.services-cards-layout .feat-card.service-card .feat-content,
.services-cards-layout .service-card .feat-content,
.spec-card-content {
    background-color: #FFFFFF;
}

.services-cards-layout .feat-card.service-card .feat-card-title,
.services-cards-layout .service-card .feat-card-title,
.spec-card-heading {
    color: #0A192F;
}

.services-cards-layout .service-heading-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 1rem;
}

.services-cards-layout .service-heading-row .feat-card-title {
    margin-bottom: 0;
}

.services-cards-layout .service-heading-row .spec-card-icon-box {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    flex-shrink: 0;
}

.services-cards-layout .service-heading-row .spec-card-icon-box svg {
    width: 20px;
    height: 20px;
}

.services-cards-layout .feat-card.service-card .feat-card-desc,
.services-cards-layout .service-card .feat-card-desc,
.spec-card-body {
    color: #556275;
}





/* Reduce Services card inner spacing */
.services-cards-layout .service-card .feat-content {
    padding: 1.4rem 1.4rem 0.9rem;
}

.services-cards-layout .service-card .feat-card-title {
    font-size: 1.08rem;
    line-height: 1.25;
}

.services-cards-layout .service-card .feat-card-desc {
    font-size: 0.88rem;
    line-height: 1.5;
    margin-bottom: 0;
}

@media screen and (orientation: portrait) {
    .services-cards-layout .service-card .feat-content {
        padding: 1.2rem 1.2rem 0.8rem;
    }

    .services-cards-layout .service-card .feat-card-title {
        font-size: 1rem;
        line-height: 1.25;
    }
}

/* --- Eletyview Card: Glass Dots Over Image --- */
#eletyviewCarousel .service-carousel-dots {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: inline-flex;
    width: auto;
    height: auto;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(10, 25, 47, 0.55);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    gap: 6px;
}

#eletyviewCarousel .service-carousel-dot {
    width: 8px;
    height: 8px;
}

#eletyviewCarousel .service-carousel-dot.active {
    width: 8px;
    border-radius: 50%;
    background-color: #FFCC00;
    transform: scale(1.3);
}

/* --- Abuja Hotel Card: Glass Dots Over Image --- */
#abujaHotelCarousel .service-carousel-dots {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: inline-flex;
    width: auto;
    height: auto;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(10, 25, 47, 0.55);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    gap: 6px;
}

#abujaHotelCarousel .service-carousel-dot {
    width: 8px;
    height: 8px;
}

#abujaHotelCarousel .service-carousel-dot.active {
    width: 8px;
    border-radius: 50%;
    background-color: #FFCC00;
    transform: scale(1.3);
}

/* --- Owerri 80 Rooms Hotel Card: Glass Dots Over Image --- */
#owerriHotelCarousel .service-carousel-dots {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: inline-flex;
    width: auto;
    height: auto;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(10, 25, 47, 0.55);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    gap: 6px;
}

#owerriHotelCarousel .service-carousel-dot {
    width: 8px;
    height: 8px;
}

#owerriHotelCarousel .service-carousel-dot.active {
    width: 8px;
    border-radius: 50%;
    background-color: #FFCC00;
    transform: scale(1.3);
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.whatsapp-float img {
    width: 56px;
    height: 56px;
    display: block;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.whatsapp-float .whatsapp-tooltip {
    position: absolute;
    bottom: 100%;
    right: 0;
    margin-bottom: 8px;
    background: #fff;
    color: #333;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 13px;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    opacity: 0;
    pointer-events: none;
    transform: translateY(4px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.whatsapp-float:hover .whatsapp-tooltip,
.whatsapp-float:focus .whatsapp-tooltip {
    opacity: 1;
    transform: translateY(0);
}

.whatsapp-float.whatsapp-hidden {
    opacity: 0;
    pointer-events: none;
    transform: scale(0.8);
}

@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 16px;
        right: 16px;
    }

    .whatsapp-float img {
        width: 48px;
        height: 48px;
    }
}