:root {
    --primary-color: #00547B;
    /* Deep Teal Blue */
    --primary-dark: #166E9E;
    /* Muted Ocean Blue */
    --secondary-color: #f1f5f9;
    --text-main: #1e293b;
    --text-muted: #334155;
    /* Darkened for better contrast and SEO */
    --white: #ffffff;
    --black: #2E2E2E;
    /* Charcoal Gray */
    --accent: #e11d48;
    /* For small accents if needed, or stick to logo colors */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    background-color: #050a14;
    /* Dark base to prevent white line artifacts */
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img,
video {
    max-width: 100%;
    display: block;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Typography */
h1,
h2,
h3,
h4 {
    font-weight: 700;
    line-height: 1.2;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--black);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-title span {
    color: var(--primary-color);
}

/* Header */
.top-bar {
    background: var(--primary-color);
    color: var(--white);
    padding: 0.75rem 0;
    font-size: 0.85rem;
    font-weight: 500;
}

/* Hide top bar (email & phone strip) on mobile */
@media (max-width: 768px) {
    .top-bar {
        display: none;
    }
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.contact-info {
    display: flex;
    gap: 1.5rem;
}

.contact-info span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Force all top-bar icons to same size */
.contact-info svg,
.top-bar-social svg {
    width: 16px !important;
    height: 16px !important;
    flex-shrink: 0;
}

.top-bar-social {
    display: flex;
    align-items: center;
    color: rgba(255, 255, 255, 0.85);
    font-size: 16px;
    line-height: 1;
    transition: all 0.3s ease;
    text-decoration: none;
}

.top-bar-social:hover {
    color: #ffffff;
    transform: translateY(-2px) scale(1.15);
    filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.5));
}

header {
    background: var(--white);
    padding: 1.2rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 3px solid var(--primary-color);
    /* Only animate compositor-safe properties; padding excluded to prevent layout-shift vibration */
    transition: box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1), background 0.4s cubic-bezier(0.4, 0, 0.2, 1), backdrop-filter 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: box-shadow, background;
}

header.header-scrolled {
    padding: 0.6rem 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    border: none;
    outline: none;
    text-decoration: none;
}

.logo img {
    height: 60px;
    width: auto;
    object-fit: contain;
    border: none;
    display: block;
}

nav {
    margin: 0 auto;
    /* Center nav between logo and CTA */
}

nav ul {
    display: flex;
    gap: 2rem;
}

nav ul li a {
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    color: var(--black);
}

nav ul li a:hover,
nav ul li a.active {
    color: var(--primary-color);
}

.header-cta {
    background: var(--black);
    color: var(--white);
    padding: 0.8rem 1.8rem;
    border-radius: 4px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.header-cta:hover {
    background: var(--primary-color);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.header-social-link {
    color: var(--primary-color);
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

.header-social-link:hover {
    color: var(--black);
    transform: translateY(-2px);
}

.header-social-link i {
    font-size: 1.25rem;
    /* Calibrated for Font Awesome */
}

/* Hero Section */
.hero {
    position: relative;
    height: auto;
    min-height: 75vh;
    /* Reduced from 85vh to decrease video zoom and improve clarity */
    display: flex;
    align-items: center;
    color: var(--white);
    overflow: hidden;
    padding-top: 10rem;
    padding-bottom: 6rem;
    background: #050a14;
}

.hero-video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    /* Ensures the best part of the video is visible */
    z-index: 1;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.3) 100%);
    /* Slightly lightened for better detail */
    z-index: 2;
}

.hero .container {
    position: relative;
    z-index: 3;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 2rem;
    align-items: center;
}

.hero-content {
    max-width: 800px;
}

.hero h1 {
    font-size: clamp(2rem, 5vw, 3.2rem);
    /* Reduced for more sophisticated look */
    margin-bottom: 1rem;
    line-height: 1.1;
    font-weight: 800;
}

.hero h1 span {
    color: var(--primary-color);
}

.hero p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    max-width: 600px;
}

.hero-checklist {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin-top: 1.5rem;
}

.hero-checklist div {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
}

.hero-checklist i {
    color: var(--primary-color);
}

.hero-features {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    perspective: 1200px;
    /* High-depth 3D space */
}

.feature-box {
    position: relative;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(15px);
    padding: 1.8rem 2.2rem;
    padding-left: 2.5rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: background-color 0.5s cubic-bezier(0.16, 1, 0.3, 1),
        box-shadow 0.5s cubic-bezier(0.16, 1, 0.3, 1),
        border-color 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: default;
    will-change: background-color, box-shadow;
}

.feature-box::before {
    content: '';
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    bottom: -1px;
    border-radius: 12px;
    border-left: 5px solid var(--primary-color);
    border-top: 1px solid transparent;
    border-right: 1px solid transparent;
    border-bottom: 1px solid transparent;
    pointer-events: none;
    transition: border-left-width 0.25s ease-out,
        border-left-color 0.25s ease-out;
    will-change: border-left-width, border-left-color;
}

.feature-box:hover,
.feature-box.active-anim {
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 35px rgba(79, 195, 247, 0.25), 0 15px 40px rgba(0, 0, 0, 0.4);
    border-color: rgba(79, 195, 247, 0.3);
}

.feature-box:hover::before,
.feature-box.active-anim::before {
    border-left-width: 10px;
    border-left-color: var(--secondary-color);
}

.feature-box i {
    font-size: 2.2rem;
    color: var(--secondary-color);
    transition: filter 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    transform: translate3d(0, 0, 0);
    backface-visibility: hidden;
}

.feature-box:hover i,
.feature-box.active-anim i {
    filter: drop-shadow(0 0 12px var(--secondary-color));
}

.feature-box h4 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--white);
    margin: 0;
    white-space: nowrap;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    transform: translate3d(0, 0, 0);
    backface-visibility: hidden;
}

.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    border-radius: 4px;
    font-weight: 700;
    text-transform: uppercase;
    transition: var(--transition);
    cursor: pointer;
}

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

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
}

/* ... existing styles ... */

/* Illuminated Glassy About Section */
.about {
    padding: 6rem 0;
    /* Reduced from 10rem */
    background: #050a14;
    color: var(--white);
    position: relative;
    overflow: hidden;
    margin-top: -1px;
    /* Overlap to hide sub-pixel gaps during scroll */
}

/* Glassy Glow Blobs */
.about::before,
.about::after {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(150px);
    z-index: 0;
    opacity: 0.15;
    pointer-events: none;
}

.about::before {
    background: var(--primary-color);
    top: -200px;
    right: -100px;
}

.about::after {
    background: #4fc3f7;
    bottom: -200px;
    left: -100px;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.about-heading {
    display: block;
    color: #4fc3f7;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 5px;
    font-size: 0.8rem;
    margin-bottom: 1.5rem;
    text-shadow: 0 0 15px rgba(79, 195, 247, 0.3);
}

.about-title {
    font-size: clamp(2rem, 4vw, 3rem);
    /* Refined scale */
    line-height: 1.2;
    margin-bottom: 1.5rem;
    font-weight: 800;
    white-space: nowrap;
    /* Forces single line */
}

.about-title span.brand-font {
    color: var(--white);
    text-shadow: 0 0 30px rgba(79, 195, 247, 0.5);
}

.about-text p {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 3rem;
    line-height: 1.8;
}

.about-visual {
    position: relative;
    height: 600px;
}

.about-image-main {
    width: 100%;
    height: 100%;
    border-radius: 30px;
    object-fit: cover;
    filter: brightness(0.7) contrast(1.1);
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.about-stats-v {
    position: absolute;
    top: 50%;
    left: -4rem;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    z-index: 5;
    perspective: 1500px;
    /* High-depth 3D space */
}

.stat-glass-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 2rem 2.5rem;
    border-radius: 24px;
    width: 290px;
    transition: background-color 0.6s cubic-bezier(0.16, 1, 0.3, 1),
        box-shadow 0.6s cubic-bezier(0.16, 1, 0.3, 1),
        border-color 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: default;
    will-change: background-color, box-shadow;
}

.stat-glass-card:hover,
.stat-glass-card.active-anim {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(79, 195, 247, 0.5);
    box-shadow: 0 0 35px rgba(79, 195, 247, 0.3), 0 20px 50px rgba(0, 0, 0, 0.5);
}

.stat-glass-card h3 {
    font-size: 3rem;
    color: var(--white);
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 0.5rem;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    transform: translate3d(0, 0, 0);
    backface-visibility: hidden;
}

.stat-glass-card p {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #4fc3f7;
    letter-spacing: 2px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    transform: translate3d(0, 0, 0);
    backface-visibility: hidden;
}

.about-checklist {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 4rem;
}

.about-checklist li {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.95);
}

.about-checklist i {
    color: #4fc3f7;
    filter: drop-shadow(0 0 8px #4fc3f7);
}

.stat-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 2.5rem;
    border-left: 5px solid var(--primary-color);
    box-shadow: none;
    border-radius: 4px;
}

.stat-card h3 {
    font-size: 3.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    line-height: 1;
}

.stat-card p {
    font-weight: 700;
    color: var(--white);
    font-size: 1.1rem;
}

/* Services Section */
.services {
    padding: 6rem 0;
    background: #f8fafc;
    color: var(--black);
}

.services .section-title h2 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.services .section-title h2 span {
    color: var(--primary-color);
}

/* Modern 3D Flip Services Section */
.services {
    padding: 6rem 0;
    background: #fcfdfe;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 3rem;
    perspective: 1500px;
}

.service-card-wrapper {
    text-decoration: none;
    display: block;
    height: 420px;
    perspective: 1500px;
}

.service-card {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
}

.service-card-wrapper:hover .service-card {
    transform: rotateY(180deg);
}

.card-front,
.card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.08);
}

.card-front {
    background: var(--white);
    display: flex;
    flex-direction: column;
}

.service-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s ease;
}

.service-content-front {
    height: calc(100% - 250px);
    padding: 1.5rem 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    /* Center horizontally */
    text-align: center;
    background: var(--white);
}

.service-content-front h3 {
    font-size: 1.1rem;
    color: var(--black);
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    margin-bottom: 0.5rem;
    /* Gap for teaser */
}

.front-teaser {
    font-size: 0.85rem;
    color: #64748b;
    font-weight: 500;
    line-height: 1.4;
    margin: 0;
}

.card-back {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--white);
    transform: rotateY(180deg);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 3rem;
    text-align: center;
}

.card-back h3 {
    font-size: 1.6rem;
    margin-bottom: 1.2rem;
    font-weight: 800;
}

.card-back p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 2.5rem;
    opacity: 0.9;
}

.read-more-btn {
    background: var(--white);
    color: var(--primary-color);
    padding: 0.9rem 2rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.service-card-wrapper:hover .read-more-btn {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.4);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(255, 255, 255, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
    }
}


.projects {
    padding: 6rem 0 2rem;
    /* Reduced from 10rem */
    background: #0a1118;
    color: var(--white);
}

.projects .section-title h2 {
    color: var(--white);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
}

.projects .section-title h2 span {
    color: var(--primary-color);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    /* Forced 3 images per row on desktop */
    gap: 2.5rem;
}

@media (max-width: 1100px) {
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
        /* 2 columns for tablets */
    }
}

@media (max-width: 768px) {
    .projects-grid {
        grid-template-columns: 1fr;
        /* 1 column for mobile */
    }
}

.project-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    height: 360px;
    /* Reduced for better balance */
    cursor: pointer;
    background: #000;
}

.project-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.75;
    /* Slightly darkened for better text readability */
    transition: transform 0.8s cubic-bezier(0.2, 1, 0.3, 1), opacity 0.5s ease;
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background: linear-gradient(to bottom,
            transparent 0%,
            rgba(0, 0, 0, 0) 30%,
            rgba(0, 0, 0, 0.7) 100%);
    opacity: 1;
    /* Always visible */
    transform: translateY(0);
    /* Always in position */
    transition: all 0.6s cubic-bezier(0.2, 1, 0.3, 1);
}

.project-overlay h3 {
    font-size: 1.5rem;
    /* Balanced size */
    font-weight: 800;
    margin-bottom: 0.3rem;
    letter-spacing: -0.01em;
    color: var(--white);
}

.project-overlay p {
    font-size: 0.95rem;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
    opacity: 0.9;
}

.project-link-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--white);
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    width: 100%;
    opacity: 0;
    /* Only the button reveals on hover */
    transform: translateY(10px);
    transition: all 0.4s ease;
}

.project-card:hover img {
    transform: scale(1.1);
    opacity: 0.6;
}

.project-card:hover .project-link-btn {
    opacity: 1;
    transform: translateY(0);
}

.project-card:hover .project-overlay {
    background: linear-gradient(to bottom,
            transparent 0%,
            rgba(0, 84, 123, 0.3) 50%,
            rgba(0, 0, 0, 0.9) 100%);
}

/* CTA Section - Signcore Modern Edition */
.cta-section {
    padding: 3rem 0 8rem;
    background: #050a14;
}

.cta-card {
    background: linear-gradient(135deg,
            rgba(255, 255, 255, 0.03) 0%,
            rgba(0, 84, 123, 0.05) 100%);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(0, 84, 123, 0.2);
    /* Illuminated Brand-Blue border */
    border-radius: 28px;
    padding: 2.8rem 3.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 3rem;
    box-shadow:
        0 30px 60px rgba(0, 0, 0, 0.5),
        inset 0 0 20px rgba(0, 84, 123, 0.1);
    /* Subtle inner brand glow */
    position: relative;
    overflow: hidden;
}

.cta-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: linear-gradient(to bottom, var(--primary-color), #4fc3f7);
    box-shadow: 0 0 15px rgba(0, 84, 123, 0.5);
    /* Illuminated sign effect */
}

.cta-content h2 {
    font-size: 2rem;
    color: var(--white);
    margin-bottom: 0.6rem;
    font-weight: 800;
    line-height: 1.1;
}

.cta-content h2 span {
    color: #4fc3f7;
    /* High-visibility modern blue */
    display: inline-block;
    font-size: 1em;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-left: 8px;
    font-weight: 800;
}

.cta-content p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.6);
    letter-spacing: 0.3px;
}

.cta-actions {
    display: flex;
    gap: 1.5rem;
    flex-shrink: 0;
}

.btn-whatsapp,
.btn-call {
    display: flex;
    /* Force flex for tight gap control */
    align-items: center;
    justify-content: center;
    gap: 4px !important;
    /* Force ultra-tight gap */
    padding: 0.75rem 2rem;
    /* Increased for better visual balance */
    border-radius: 12px;
    /* Smoother radius for the taller profile */
    font-weight: 700;
    font-size: 0.95rem;
    /* Slightly larger text for better readability */
    transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
    min-width: 160px;
    border: 1px solid transparent;
}

.btn-whatsapp i,
.btn-call i {
    font-size: 1.4rem;
    margin: 0 !important;
    /* Force remove all default margins */
    padding: 0 !important;
    background: none !important;
    display: flex;
    align-items: center;
}

.btn-whatsapp {
    background: #25D366;
    color: var(--white);
    box-shadow: 0 10px 20px rgba(37, 211, 102, 0.15);
}

.btn-call {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--white);
    border: 1px solid rgba(79, 195, 247, 0.3);
    box-shadow: 0 10px 25px rgba(0, 84, 123, 0.3);
}

.btn-whatsapp:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(37, 211, 102, 0.3);
}

.btn-call:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0, 84, 123, 0.5);
    border-color: #4fc3f7;
}

@media (max-width: 992px) {
    .cta-card {
        flex-direction: column;
        text-align: center;
        padding: 3rem 2rem;
        gap: 2.5rem;
    }

    .cta-actions {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 600px) {
    .cta-actions {
        flex-direction: column;
        gap: 1rem;
    }

    .btn-whatsapp,
    .btn-call {
        width: 100%;
        padding: 1rem;
    }

    .cta-content h2 {
        font-size: 1.8rem;
    }
}

/* Footer */
footer {
    background: #050a14;
    color: var(--white);
    padding: 5rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-col h4 {
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background: var(--primary-color);
}

.footer-links li {
    margin-bottom: 1rem;
}

.footer-links li a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Floating Action Buttons - Clean & Stable Version */
.fab-container {
    position: fixed !important;
    bottom: 2rem !important;
    right: 2rem !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 1.2rem !important;
    z-index: 99999999 !important;
    /* Ultimate high stacking z-index */

    /* Promote to GPU hardware layer to prevent flickering or disappearing during scroll */
    -webkit-transform: translate3d(0, 0, 0) !important;
    transform: translate3d(0, 0, 0) !important;
    will-change: transform !important;

    /* Prevent any external styles from hiding it */
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
}

.floating-btn {
    width: 60px !important;
    height: 60px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #ffffff !important;
    font-size: 1.6rem !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4) !important;
    text-decoration: none !important;
    border: 2px solid #ffffff !important;

    /* Promotes individual buttons to their own GPU layers to guarantee rendering on top of other content */
    -webkit-transform: translate3d(0, 0, 0) !important;
    transform: translate3d(0, 0, 0) !important;
    -webkit-backface-visibility: hidden !important;
    backface-visibility: hidden !important;

    /* Safe transition for interactions */
    transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.2s ease !important;

    /* Prevent external opacity overrides */
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
}

.fab-whatsapp-color {
    background: #25D366 !important;
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.3) !important;
}

.fab-call-color {
    background: var(--primary-color) !important;
    box-shadow: 0 10px 30px rgba(0, 84, 123, 0.3) !important;
}

.floating-btn:hover {
    transform: scale(1.1) translateY(-3px) translate3d(0, -3px, 0) !important;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4) !important;
    color: #ffffff !important;
}

/* Mobile optimizations for floating buttons to prevent overlap and scroll issues */
@media (max-width: 768px) {
    .fab-container {
        position: fixed !important;
        /* Positioned safely above mobile browser address bars with robust viewport-fit support */
        bottom: 20px !important;
        bottom: calc(20px + env(safe-area-inset-bottom, 0px)) !important;
        right: 20px !important;
        z-index: 99999999 !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 12px !important;

        /* Enable hardware acceleration & promotion to compositor layer to prevent disappearing/flickering on mobile scroll */
        -webkit-transform: translate3d(0, 0, 0) !important;
        transform: translate3d(0, 0, 0) !important;
        will-change: transform !important;

        visibility: visible !important;
        opacity: 1 !important;
        pointer-events: auto !important;
    }

    .floating-btn {
        width: 52px !important;
        height: 52px !important;
        font-size: 1.4rem !important;
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5) !important;
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        pointer-events: auto !important;

        /* Retain hardware layer rendering for buttons */
        -webkit-transform: translate3d(0, 0, 0) !important;
        transform: translate3d(0, 0, 0) !important;
        -webkit-backface-visibility: hidden !important;
        backface-visibility: hidden !important;
    }
}



/* Mobile Menu */
.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Directional Scroll Reveal Animations */
.reveal-up {
    opacity: 0;
    transform: translateY(50px);
    transition: all 1s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 1s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 1s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-up.active,
.reveal-left.active,
.reveal-right.active {
    opacity: 1;
    transform: translate(0, 0);
}

/* Staggered Delays for checklist */
.delay-1 {
    transition-delay: 0.1s;
}

.delay-2 {
    transition-delay: 0.2s;
}

.delay-3 {
    transition-delay: 0.3s;
}

.delay-4 {
    transition-delay: 0.4s;
}

@media (max-width: 1024px) {
    .contact-info {
        display: none;
    }

    .hero h1 {
        font-size: 3rem;
    }

    .about-grid {
        gap: 4rem;
    }

    .about-title {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    nav {
        position: fixed;
        top: 0;
        right: -100%;
        /* Hidden off-screen */
        width: 80%;
        height: 100vh;
        background: rgba(5, 10, 20, 0.95);
        backdrop-filter: blur(20px);
        display: flex !important;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        z-index: 1000;
        transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
        border-left: 1px solid rgba(255, 255, 255, 0.1);
    }

    nav.active {
        right: 0;
        /* Slide in */
        box-shadow: -15px 0 35px rgba(0, 0, 0, 0.5);
    }

    nav ul {
        flex-direction: column;
        gap: 2rem;
    }

    nav ul li a {
        font-size: 1.5rem;
        font-weight: 700;
        color: var(--white);
    }

    .header-cta {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
        position: relative;
        z-index: 1001;
        /* Above the nav drawer */
        align-items: center;
        justify-content: center;
        color: var(--primary-color);
        font-size: 2rem;
    }

    header .container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0.5rem 1.5rem;
    }

    header .logo img {
        height: 45px;
        /* Refined mobile logo size */
    }

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

    .about-visual {
        padding-left: 0;
        margin-top: 1.5rem;
        height: 450px;
        position: relative;
        display: flex;
        justify-content: center;
    }

    .about-image-main {
        height: 100%;
        width: 100%;
        border-radius: 24px;
        object-fit: cover;
    }

    .about-stats-v {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 100%;
        align-items: center;
        padding: 0 1rem;
        gap: 1rem;
        z-index: 10;
    }

    .stat-glass-card {
        width: 100%;
        max-width: 280px;
        padding: 1.5rem;
        background: rgba(15, 25, 40, 0.35);
        /* More transparent for glass feel */
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        border: 1px solid rgba(255, 255, 255, 0.15);
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    }

    .about-text {
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .about-title {
        font-size: 1.8rem;
        white-space: normal !important;
        text-align: center;
        line-height: 1.3;
    }

    .about-heading {
        letter-spacing: 3px;
        margin-left: auto;
        margin-right: auto;
    }

    .about-checklist {
        align-items: center;
        text-align: left;
        /* Keep text left-aligned relative to icons but center the whole list */
    }

    .hero h1 {
        font-size: 2.1rem;
    }

    .hero {
        height: auto !important;
        min-height: 100vh;
        padding: 8rem 0 4rem;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3.5rem;
    }
}

/* Scroll Reveal Animations */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered Delay */
.reveal-delay-1 {
    transition-delay: 0.1s;
}

.reveal-delay-2 {
    transition-delay: 0.2s;
}

.reveal-delay-3 {
    transition-delay: 0.3s;
}

.reveal-delay-4 {
    transition-delay: 0.4s;
}

.reveal-scale {
    opacity: 0;
    transform: scale(0.9);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-scale.active {
    opacity: 1;
    transform: scale(1);
}

/* Service Detail Pages - Visibility Fix for Dark Theme */
.detail-container {
    color: #e2e8f0;
    /* Crisp Off-White for readability */
}

.service-main-content h2,
.service-main-content h3,
.service-main-content h4 {
    color: var(--white) !important;
}

.service-main-content p {
    color: #cbd5e1 !important;
    /* Soft Silver for paragraphs */
}

.feature-item {
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.feature-item i,
.feature-item svg {
    width: 32px !important;
    height: 32px !important;
    color: var(--secondary-color) !important;
    filter: drop-shadow(0 0 8px rgba(79, 195, 247, 0.3));
    flex-shrink: 0;
}

.feature-item h4 {
    color: var(--white) !important;
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.feature-item p {
    color: #94a3b8 !important;
}


.sidebar-card {
    background: rgba(255, 255, 255, 0.02) !important;
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
    color: var(--white);
}

.sidebar-card h4 {
    color: var(--white) !important;
    border-bottom: 2px solid var(--secondary-color) !important;
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    padding-bottom: 8px;
    display: inline-block;
}

.sidebar-card p {
    color: #94a3b8 !important;
}

.enquiry-form input,
.enquiry-form textarea {
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: var(--white) !important;
}

.enquiry-form input::placeholder,
.enquiry-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.service-main-content ul {
    display: grid;
    grid-template-columns: 1fr !important;
    /* Single column for maximum space */
    gap: 1rem;
    margin-top: 2rem;
    padding: 0;
}

.service-main-content ul li {
    background: rgba(255, 255, 255, 0.03) !important;
    color: var(--white) !important;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-left: 4px solid var(--primary-color) !important;
    /* Industrial accent */
    display: flex !important;
    align-items: center;
    gap: 20px;
    padding: 1.2rem 2rem !important;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.service-main-content ul li:hover {
    background: rgba(255, 255, 255, 0.06) !important;
    transform: translateX(10px);
}

.service-main-content ul li i,
.service-main-content ul li svg {
    width: 24px !important;
    height: 24px !important;
    color: var(--secondary-color) !important;
    filter: drop-shadow(0 0 8px rgba(79, 195, 247, 0.4));
    flex-shrink: 0;
}

.service-main-content ul li span:first-of-type {
    font-weight: 800 !important;
    color: var(--white) !important;
    min-width: 180px;
    /* Ensures titles align */
}

.service-main-content ul li span:last-of-type {
    color: #94a3b8 !important;
    font-size: 0.95rem;
}

.brand-font {
    color: var(--secondary-color) !important;
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
}

footer p,
footer li {
    color: #94a3b8 !important;
}

/* FAQ Section - Premium Dark Glassmorphism for High-Performance SEO & AEO */
.faq-section {
    padding: 8rem 0;
    background: #050a14;
    /* Deep premium dark theme alignment */
    position: relative;
    overflow: hidden;
}

/* Glowing background blobs inside FAQ section - pulsing & floating */
.faq-section::before,
.faq-section::after {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(140px);
    z-index: 0;
    opacity: 0.14;
    pointer-events: none;
}

@keyframes floatBlob1 {
    0% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(60px, 40px) scale(1.15);
    }

    100% {
        transform: translate(0, 0) scale(1);
    }
}

@keyframes floatBlob2 {
    0% {
        transform: translate(0, 0) scale(1.15);
    }

    50% {
        transform: translate(-50px, -60px) scale(0.95);
    }

    100% {
        transform: translate(0, 0) scale(1.15);
    }
}

.faq-section::before {
    background: var(--primary-color);
    top: -200px;
    left: -150px;
    animation: floatBlob1 18s ease-in-out infinite alternate;
}

.faq-section::after {
    background: #00b0ff;
    bottom: -200px;
    right: -150px;
    animation: floatBlob2 22s ease-in-out infinite alternate;
}

.faq-section .container {
    position: relative;
    z-index: 1;
}

/* Specific override for FAQ section title and description to guarantee maximum contrast and readability on dark background */
#faq.faq-section .section-title h2,
.faq-section .section-title h2 {
    font-size: clamp(2.4rem, 4.5vw, 3.2rem) !important;
    color: #ffffff !important;
    /* Force high-contrast brilliant white */
    text-transform: uppercase !important;
    letter-spacing: 2px !important;
    font-weight: 800 !important;
    margin-bottom: 1.25rem !important;
    text-shadow: 0 0 35px rgba(255, 255, 255, 0.25) !important;
    line-height: 1.15 !important;
}

#faq.faq-section .section-title h2 span,
.faq-section .section-title h2 span {
    background: linear-gradient(135deg, #00b0ff 0%, #00e5ff 40%, #007bb0 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    display: inline-block !important;
    text-shadow: none !important;
    /* Ensure gradient works properly without shadow clipping */
    filter: drop-shadow(0 0 15px rgba(0, 176, 255, 0.45)) !important;
}

#faq.faq-section .section-title p,
.faq-section .section-title p {
    color: #e2e8f0 !important;
    /* Soft, highly-readable light blue-grey text */
    font-size: 1.15rem !important;
    max-width: 800px !important;
    margin: 0 auto !important;
    line-height: 1.7 !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3) !important;
}

/* Ultra-modern Accordion item styling - Premium High-Contrast Glassmorphism */
.faq-item {
    background: rgba(10, 20, 35, 0.45) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 18px !important;
    overflow: hidden;
    margin-bottom: 1.5rem !important;
    transition: all 0.45s cubic-bezier(0.16, 1, 0.3, 1) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25), inset 0 1px 1px rgba(255, 255, 255, 0.05);
}

.faq-item:hover {
    background: rgba(255, 255, 255, 0.04) !important;
    border-color: rgba(0, 176, 255, 0.4) !important;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.55),
        0 0 25px rgba(0, 176, 255, 0.08),
        inset 0 1px 1px rgba(255, 255, 255, 0.1) !important;
    transform: translateY(-4px) scale(1.005) !important;
}

.faq-question {
    padding: 1.8rem 2.5rem !important;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 700;
    font-size: 1.2rem !important;
    color: #f8fafc !important;
    /* Extremely high contrast near-white */
    user-select: none;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-question span {
    padding-right: 2.5rem;
    line-height: 1.4;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-icon {
    width: 26px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    flex-shrink: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-icon::before,
.faq-icon::after {
    content: '';
    position: absolute;
    background-color: #f1f5f9;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-icon::before {
    width: 2px;
    height: 12px;
}

.faq-icon::after {
    width: 12px;
    height: 2px;
}

/* Active FAQ Item styling - Exquisite Neon Border & Glow effects */
.faq-item.faq-active {
    border-color: #00b0ff !important;
    background: rgba(10, 20, 35, 0.7) !important;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.6),
        0 0 30px rgba(0, 176, 255, 0.25),
        inset 0 1px 1px rgba(255, 255, 255, 0.15) !important;
}

.faq-item.faq-active .faq-question {
    color: #00b0ff !important;
}

.faq-item.faq-active .faq-question span {
    transform: translateX(6px);
}

.faq-item.faq-active .faq-icon {
    transform: rotate(45deg);
    background: rgba(0, 176, 255, 0.15);
    border-color: #00b0ff;
}

.faq-item.faq-active .faq-icon::before,
.faq-item.faq-active .faq-icon::after {
    background-color: #00b0ff;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.45s cubic-bezier(0.16, 1, 0.3, 1), padding 0.45s ease;
    padding: 0 2.5rem;
    color: #cbd5e1 !important;
    /* Perfect readability grey */
    font-size: 1.05rem !important;
    line-height: 1.85;
}

.faq-item.faq-active .faq-answer {
    padding: 0 2.5rem 2rem 2.5rem !important;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}