/* ========================================
   Xmun Projects Co Ltd. – Stylesheet
   Color scheme: #1d1815 (dark), #22647b (teal)
   ======================================== */

:root {
    --primary: #22647b;
    --primary-dark: #1a4f63;
    --primary-light: #2d7d99;
    --accent: #3a95b3;
    --charcoal: #1d1815;
    --charcoal-light: #3a3530;
    --silver: #a0948a;
    --silver-light: #c8bfb6;
    --dark: #1d1815;
    --gray-900: #2a2520;
    --gray-700: #5a524a;
    --gray-500: #8a8078;
    --gray-300: #c8c0b8;
    --gray-200: #ddd6ce;
    --gray-100: #f0ece8;
    --white: #ffffff;
    --font-body: 'DM Sans', -apple-system, sans-serif;
    --font-heading: 'Sora', 'DM Sans', -apple-system, sans-serif;
    --shadow-sm: 0 1px 4px rgba(29,24,21,0.06);
    --shadow-md: 0 4px 20px rgba(29,24,21,0.1);
    --shadow-lg: 0 12px 40px rgba(29,24,21,0.14);
    --radius: 6px;
    --radius-lg: 12px;
    --transition: 0.3s ease;
}

/* ===== Background Watermark ===== */
.bg-watermark {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90vw;
    max-width: 1200px;
    z-index: 9999;
    pointer-events: none;
    opacity: 0.06;
    transition: opacity 0.3s ease;
}

.bg-watermark.hidden {
    opacity: 0;
}

.bg-watermark img {
    width: 100%;
    height: auto;
    filter: invert(1);
}

/* ===== Reset ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-body);
    color: var(--charcoal-light);
    line-height: 1.7;
    background: var(--gray-100);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition);
}

img {
    max-width: 100%;
    display: block;
}

ul { list-style: none; }

.container {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ========================================
   Loading Screen
   ======================================== */
.loading-screen {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease;
}

.loader-content {
    text-align: center;
}

.loader-logo {
    width: 400px;
    height: auto;
    margin: 0 auto 30px;
    animation: logoFloat 2s ease-in-out infinite;
}

@keyframes logoFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.loader-bar {
    width: 200px;
    height: 3px;
    background: var(--gray-200);
    border-radius: 10px;
    margin: 0 auto 20px;
    overflow: hidden;
}

.loader-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    border-radius: 10px;
    animation: loadBar 2s ease-in-out forwards;
}

@keyframes loadBar {
    0% { width: 0%; }
    60% { width: 70%; }
    100% { width: 100%; }
}

.loader-text {
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 5px;
    color: var(--primary);
}

.main-content.hidden {
    display: none;
}

/* ========================================
   Header / Navigation
   ======================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid transparent;
    transition: all var(--transition);
}

.header.scrolled {
    border-bottom-color: var(--gray-200);
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 76px;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-img {
    height: 44px;
    width: auto;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.logo-name {
    font-family: var(--font-body);
    font-size: 18px;
    font-weight: 800;
    color: var(--dark);
    letter-spacing: 3px;
}

.logo-sub {
    font-family: var(--font-body);
    font-size: 8px;
    font-weight: 600;
    letter-spacing: 4.5px;
    color: var(--silver);
    margin-top: 2px;
}

/* Navigation */
.nav-list {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-link {
    font-size: 13.5px;
    font-weight: 500;
    color: var(--charcoal);
    padding: 8px 18px;
    border-radius: 6px;
    transition: all var(--transition);
    letter-spacing: 0.2px;
}

.nav-link:hover {
    color: var(--primary);
    background: var(--gray-100);
}

.nav-link.nav-cta {
    background: var(--primary);
    color: var(--white);
    margin-left: 12px;
    font-weight: 600;
    border-radius: 6px;
}

.nav-link.nav-cta:hover {
    background: var(--primary-dark);
}

/* Hamburger */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--charcoal);
    border-radius: 2px;
    transition: all var(--transition);
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ========================================
   Buttons
   ======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 600;
    padding: 14px 34px;
    border-radius: 0;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition);
    letter-spacing: 0.3px;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(34, 100, 123, 0.35);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border-color: rgba(255,255,255,0.5);
}

.btn-outline:hover {
    background: var(--white);
    color: var(--dark);
    border-color: var(--white);
    transform: translateY(-2px);
}

.btn-whatsapp {
    background: #25D366;
    color: var(--white);
    border-color: #25D366;
    gap: 8px;
}

.btn-whatsapp svg {
    width: 18px;
    height: 18px;
}

.btn-whatsapp:hover {
    background: #1fba59;
    border-color: #1fba59;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.35);
}

.btn-lg {
    padding: 18px 44px;
    font-size: 15px;
}

.btn-full {
    width: 100%;
}

/* ========================================
   Hero Section
   ======================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: var(--dark);
    overflow: hidden;
}

.hero-split {
    display: grid;
    grid-template-columns: 1fr 2fr;
    flex: 1;
    min-height: 0;
}

/* ---- Hero Left ---- */
.hero-left {
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
}

.hero-left-inner {
    max-width: 520px;
    margin-left: auto;
    padding: 0 40px 0 24px;
}

.hero-accent-line {
    width: 48px;
    height: 4px;
    background: var(--primary);
    border-radius: 2px;
    margin-bottom: 24px;
}

.hero-tag {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 28px;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(36px, 4.5vw, 58px);
    font-weight: 700;
    color: var(--white);
    line-height: 1.15;
    margin-bottom: 28px;
}

.hero-title-line {
    display: block;
}

.hero-title em {
    font-style: italic;
    color: var(--primary-light);
}

.hero-title-highlight {
    color: var(--primary);
    position: relative;
    display: inline-block;
}

.hero-title-highlight::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 0;
    right: 0;
    height: 12px;
    background: rgba(34, 100, 123, 0.25);
    border-radius: 2px;
    z-index: -1;
}

.hero-subtitle {
    font-size: 16px;
    font-weight: 400;
    color: rgba(255,255,255,0.6);
    max-width: 420px;
    margin-bottom: 36px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.btn-ghost {
    background: transparent;
    color: var(--primary-light);
    border-color: transparent;
    padding-left: 4px;
    font-weight: 600;
}

.btn-ghost:hover {
    color: var(--accent);
}

.btn-arrow {
    display: inline-block;
    transition: transform 0.3s ease;
    margin-left: 6px;
}

.btn-ghost:hover .btn-arrow {
    transform: translateX(4px);
}

/* Hero proof strip */
.hero-proof {
    display: flex;
    align-items: center;
    gap: 24px;
}

.hero-proof-item {
    display: flex;
    flex-direction: column;
}

.hero-proof-num {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 700;
    color: var(--white);
    line-height: 1;
}

.hero-proof-label {
    font-size: 12px;
    color: rgba(255,255,255,0.4);
    margin-top: 4px;
    font-weight: 500;
}

.hero-proof-divider {
    width: 1px;
    height: 32px;
    background: rgba(255,255,255,0.15);
}

/* ---- Hero Right ---- */
.hero-right {
    position: relative;
    overflow: hidden;
}

.hero-image-frame {
    position: absolute;
    inset: 0;
    clip-path: polygon(8% 0, 100% 0, 100% 100%, 0 100%);
}

.hero-image-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Hero Slideshow */
.hero-slideshow {
    position: absolute;
    inset: 0;
}

.hero-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1.2s ease;
}

.hero-slide.active {
    opacity: 1;
}

.hero-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(29, 24, 21, 0.15) 0%,
        rgba(29, 24, 21, 0.35) 100%
    );
}

/* Floating Gozo map outline on hero — DVD bounce */
.hero-gozo-map {
    position: absolute;
    top: 0;
    left: 0;
    width: 825px;
    z-index: 1;
    pointer-events: none;
    mix-blend-mode: screen;
}

.hero-gozo-map img {
    width: 100%;
    height: auto;
    opacity: 0.22;
}

/* Floating card on hero image */
.hero-float-card {
    position: absolute;
    bottom: 80px;
    left: -20px;
    background: var(--dark);
    border-radius: var(--radius-lg);
    padding: 18px 24px;
    display: flex;
    align-items: center;
    gap: 14px;
    box-shadow: 0 12px 40px rgba(0,0,0,0.3);
    z-index: 2;
}

.hero-float-icon {
    width: 36px;
    height: 36px;
    background: rgba(34, 100, 123, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    flex-shrink: 0;
}

.hero-float-icon svg {
    width: 18px;
    height: 18px;
}

.hero-float-card strong {
    display: block;
    font-size: 13px;
    color: var(--white);
    font-weight: 700;
}

.hero-float-card span {
    font-size: 12px;
    color: rgba(255,255,255,0.5);
}

/* ---- Hero Ticker ---- */
.hero-ticker-wrap {
    background: var(--primary-dark);
    overflow: hidden;
    padding: 16px 0;
    flex-shrink: 0;
}

.hero-ticker {
    display: flex;
    align-items: center;
    gap: 32px;
    white-space: nowrap;
    animation: tickerScroll 20s linear infinite;
    width: max-content;
}

.hero-ticker span {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
}

.ticker-dot {
    width: 5px;
    height: 5px;
    background: var(--accent);
    border-radius: 50%;
    display: inline-block;
    flex-shrink: 0;
}

@keyframes tickerScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ========================================
   Section Shared
   ======================================== */
.section {
    padding: 100px 0;
}

.section-tag {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 12px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(26px, 3.5vw, 40px);
    font-weight: 700;
    color: var(--dark);
    line-height: 1.2;
    margin-bottom: 0;
}

.section-subtitle {
    font-size: 15px;
    color: var(--gray-500);
    max-width: 500px;
    margin-top: 16px;
}

.section-header {
    text-align: center;
    margin-bottom: 56px;
}

.section-header .section-subtitle {
    margin-left: auto;
    margin-right: auto;
}

.section-divider,
.about-divider {
    width: 40px;
    height: 3px;
    background: var(--primary);
    margin-top: 16px;
    margin-bottom: 20px;
    border-radius: 2px;
}

.section-header .section-divider {
    margin-left: auto;
    margin-right: auto;
}

/* ========================================
   About Section
   ======================================== */
.about {
    background: var(--gray-100);
    padding-bottom: 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center;
}

.about-images {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
}

.about-img-main {
    overflow: visible;
}

.about-img-main img {
    width: 120%;
    max-width: none;
    margin-left: -10%;
    height: auto;
    object-fit: contain;
}

.about-img-secondary {
    position: absolute;
    bottom: -30px;
    right: -30px;
    width: 55%;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 5px solid var(--gray-100);
    box-shadow: var(--shadow-md);
}

.about-img-secondary img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
}

.about-badge {
    position: absolute;
    top: 20px;
    left: -20px;
    background: var(--primary);
    color: var(--white);
    padding: 20px 24px;
    border-radius: var(--radius);
    text-align: center;
    box-shadow: var(--shadow-md);
}

.badge-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 700;
    color: var(--white);
    line-height: 1;
}

.badge-text {
    font-size: 11px;
    font-weight: 500;
    opacity: 0.8;
    margin-top: 4px;
    display: block;
}

.about-description {
    font-size: 15px;
    margin-bottom: 16px;
    color: var(--charcoal-light);
    line-height: 1.8;
}

.about-stats {
    display: flex;
    gap: 36px;
    margin-top: 32px;
    padding-top: 28px;
    border-top: 1px solid var(--gray-200);
}

.stat { text-align: center; }

.stat-number,
.stat-suffix {
    font-family: var(--font-heading);
    font-size: 34px;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
}

.stat-label {
    display: block;
    font-size: 12px;
    color: var(--gray-500);
    margin-top: 6px;
    font-weight: 500;
}

/* ========================================
   Services Section — Pillar Cards
   ======================================== */
.services {
    background: var(--dark);
}

.services .section-tag {
    color: var(--accent);
}

.services .section-title {
    color: var(--white);
}

.services .section-subtitle {
    color: rgba(255,255,255,0.5);
}

.services .section-divider {
    background: var(--primary);
}

.pillars-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.pillar-card {
    position: relative;
    overflow: hidden;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    transition: all var(--transition);
    z-index: 0;
}

.pillar-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.08;
    transition: opacity 0.4s ease;
    z-index: -1;
}

.pillar-card:hover::before,
.pillar-card.active::before {
    opacity: 0.22;
}

.pillar-card:nth-child(1)::before { background-image: url('images/imagesforservices/turnkey.jpg'); }
.pillar-card:nth-child(2)::before { background-image: url('images/imagesforservices/gypsum-works.webp'); }
.pillar-card:nth-child(3)::before { background-image: url('images/imagesforservices/scaffolding.jpg'); }
.pillar-card:nth-child(4)::before { background-image: url('images/imagesforservices/waterproofing.jpg'); }
.pillar-card:nth-child(5)::before { background-image: url('images/imagesforservices/painting.jpg'); }
.pillar-card:nth-child(6)::before { background-image: url('images/imagesforservices/plastering.webp'); }
.pillar-card:nth-child(7)::before { background-image: url('images/imagesforservices/tiling.jpg'); }
.pillar-card:nth-child(8)::before { background-image: url('images/imagesforservices/wellworks.jpg'); }
.pillar-card:nth-child(9)::before { background-image: url('images/imagesforservices/infrastructure.png'); }

.pillar-card:hover {
    background: rgba(255,255,255,0.08);
    border-color: var(--primary);
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.3);
}

.pillar-icon {
    width: 48px;
    height: 48px;
    background: rgba(34, 100, 123, 0.2);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-light);
    margin-bottom: 20px;
}

.pillar-icon svg {
    width: 24px;
    height: 24px;
}

.pillar-card h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 12px;
}

.pillar-desc {
    font-size: 13.5px;
    line-height: 1.7;
    color: rgba(255,255,255,0.5);
    margin-bottom: 20px;
}

.pillar-services {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.pillar-services li {
    font-size: 13px;
    font-weight: 500;
    color: rgba(255,255,255,0.65);
    padding-left: 16px;
    position: relative;
}

.pillar-services li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 7px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--primary);
}

/* ========================================
   Projects Section
   ======================================== */
.projects {
    background: var(--dark);
}

.projects .section-tag {
    color: var(--accent);
}

.projects .section-title {
    color: var(--white);
}

.projects .section-subtitle {
    color: rgba(255,255,255,0.5);
}

.projects .section-divider {
    background: var(--primary);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.project-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition);
}

.project-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary);
    box-shadow: 0 12px 30px rgba(0,0,0,0.3);
}

.project-image {
    position: relative;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.project-card:hover .project-image img {
    transform: scale(1.05);
}

.project-overlay {
    position: absolute;
    top: 12px;
    left: 12px;
}

.project-category {
    background: var(--primary);
    color: var(--white);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 6px 14px;
    border-radius: 0;
}

.project-info {
    padding: 24px;
}

.project-info h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 8px;
}

.project-info p {
    font-size: 13px;
    line-height: 1.6;
    color: rgba(255,255,255,0.5);
}

/* ========================================
   FAQ Teaser
   ======================================== */
.faq-teaser {
    background: var(--gray-100);
    padding: 40px 0;
    border-bottom: 1px solid var(--gray-200);
}

.faq-teaser-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.faq-teaser-content h3 {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 4px;
}

.faq-teaser-content p {
    font-size: 14px;
    color: var(--gray-500);
}

/* ========================================
   How We Work — Timeline
   ======================================== */
.process {
    background: var(--gray-100);
}

.timeline {
    display: flex;
    justify-content: space-between;
    position: relative;
    padding-top: 40px;
}

.timeline-line {
    position: absolute;
    top: 60px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: var(--gray-300);
    z-index: 0;
}

.timeline-step {
    text-align: center;
    position: relative;
    z-index: 1;
    flex: 1;
    max-width: 180px;
}

.timeline-number {
    width: 40px;
    height: 40px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 700;
    margin: 0 auto 16px;
    position: relative;
    z-index: 2;
    box-shadow: 0 4px 12px rgba(34, 100, 123, 0.3);
}

.timeline-icon {
    width: 36px;
    height: 36px;
    color: var(--primary);
    margin: 0 auto 12px;
}

.timeline-icon svg {
    width: 100%;
    height: 100%;
}

.timeline-step h4 {
    font-size: 15px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 6px;
}

.timeline-step p {
    font-size: 12.5px;
    line-height: 1.6;
    color: var(--gray-500);
    padding: 0 8px;
}

/* ========================================
   Why Choose Us
   ======================================== */
.why-us {
    background: var(--dark);
}

.why-us .section-tag {
    color: var(--accent);
}

.why-us .section-title {
    color: var(--white);
}

.why-us .section-divider {
    background: var(--primary);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.value-card {
    padding: 32px 24px;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius-lg);
    transition: all var(--transition);
    text-align: center;
    background: rgba(255,255,255,0.03);
}

.value-card:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.3);
    background: rgba(255,255,255,0.06);
}

.value-icon {
    width: 44px;
    height: 44px;
    color: var(--primary-light);
    margin: 0 auto 16px;
}

.value-icon svg {
    width: 100%;
    height: 100%;
}

.value-card h3 {
    font-size: 15px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 10px;
}

.value-card p {
    font-size: 13px;
    line-height: 1.7;
    color: rgba(255,255,255,0.5);
}

/* ========================================
   Clients Section
   ======================================== */
.clients {
    background: var(--gray-100);
}

.clients-layout {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 60px;
    align-items: center;
}

.clients-text p:last-child {
    font-size: 15px;
    color: var(--charcoal-light);
    line-height: 1.8;
}

.clients-cards {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.client-card {
    display: flex;
    align-items: start;
    gap: 20px;
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 28px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200);
    transition: all var(--transition);
}

.client-card:hover {
    transform: translateX(6px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
}

.client-icon {
    width: 40px;
    height: 40px;
    color: var(--primary);
    flex-shrink: 0;
    margin-top: 2px;
}

.client-card h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 6px;
}

.client-card p {
    font-size: 13.5px;
    line-height: 1.6;
    color: var(--gray-500);
}

/* ========================================
   Trust Strip
   ======================================== */
.trust-strip {
    background: var(--dark);
    padding: 32px 0;
    border-top: 1px solid rgba(255,255,255,0.05);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.trust-items {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.trust-icon {
    width: 20px;
    height: 20px;
    color: var(--primary-light);
    flex-shrink: 0;
}

.trust-icon svg {
    width: 100%;
    height: 100%;
}

.trust-item span {
    font-size: 13px;
    font-weight: 600;
    color: rgba(255,255,255,0.7);
    letter-spacing: 0.3px;
}

.trust-divider {
    width: 1px;
    height: 20px;
    background: rgba(255,255,255,0.12);
}

/* ========================================
   CTA Banner
   ======================================== */
.cta-banner {
    position: relative;
    padding: 100px 0;
    text-align: center;
    overflow: hidden;
}

.cta-bg {
    position: absolute;
    inset: 0;
}

.cta-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cta-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(29, 24, 21, 0.92), rgba(34, 100, 123, 0.85));
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-banner h2 {
    font-family: var(--font-heading);
    font-size: clamp(24px, 3.5vw, 36px);
    color: var(--white);
    margin-bottom: 12px;
}

.cta-banner p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 36px;
}

.cta-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* ========================================
   Contact Section
   ======================================== */
.contact {
    background: var(--gray-100);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 50px;
    align-items: start;
}

.contact-item {
    display: flex;
    gap: 16px;
    align-items: start;
    margin-bottom: 28px;
}

.contact-icon-wrap {
    width: 22px;
    height: 22px;
    color: var(--primary);
    flex-shrink: 0;
    margin-top: 2px;
}

.contact-item h4 {
    font-size: 13px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 3px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-item p {
    font-size: 14px;
    color: var(--gray-500);
}

.contact-item a:hover {
    color: var(--primary);
}

.contact-logo {
    margin-top: 16px;
}

.contact-logo img {
    max-width: 220px;
    height: auto;
}

/* Contact Form */
.contact-form {
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
}

.contact-form h3 {
    font-family: var(--font-heading);
    font-size: 22px;
    color: var(--dark);
    margin-bottom: 28px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: var(--charcoal);
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    font-family: var(--font-body);
    font-size: 14px;
    padding: 13px 16px;
    border: 1px solid var(--gray-300);
    border-radius: var(--radius);
    background: var(--gray-100);
    color: var(--dark);
    transition: border-color var(--transition), box-shadow var(--transition);
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(34, 100, 123, 0.1);
}

.form-group textarea {
    resize: vertical;
}

/* ========================================
   Footer
   ======================================== */
.footer {
    background: var(--dark);
    color: rgba(255, 255, 255, 0.5);
    padding-top: 60px;
}

.footer-top {
    display: grid;
    grid-template-columns: 1.8fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
}

.logo-footer .logo-name {
    color: var(--white);
}

.logo-footer .logo-sub {
    color: rgba(255,255,255,0.35);
}

.footer-tagline {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-light);
    margin-top: 16px;
    margin-bottom: 10px;
}

.footer-desc {
    font-size: 13.5px;
    line-height: 1.7;
}

.footer-links h4 {
    font-size: 13px;
    font-weight: 700;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    font-size: 13.5px;
    color: rgba(255, 255, 255, 0.45);
    transition: color var(--transition);
}

.footer-links a:hover {
    color: var(--white);
}

.footer-links li {
    font-size: 13.5px;
}

.footer-whatsapp {
    color: #25D366 !important;
}

.footer-whatsapp:hover {
    color: #1fba59 !important;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 20px 0;
    text-align: center;
    font-size: 12.5px;
}

/* ========================================
   FAQ Page
   ======================================== */
.header-faq {
    position: relative;
}

.faq-hero {
    background: var(--dark);
    padding: 140px 0 80px;
    text-align: center;
}

.faq-hero .section-tag {
    color: var(--accent);
}

.faq-hero .section-title {
    color: var(--white);
    font-size: clamp(28px, 4vw, 44px);
}

.faq-hero .section-divider {
    margin-left: auto;
    margin-right: auto;
}

.faq-hero .section-subtitle {
    color: rgba(255,255,255,0.5);
    margin-left: auto;
    margin-right: auto;
}

.faq-section {
    background: var(--gray-100);
}

.faq-list {
    max-width: 960px;
    margin: 0 auto;
}

.faq-group {
    margin-bottom: 48px;
}

.faq-group-title {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--primary);
    display: inline-block;
}

.faq-cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.faq-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 28px 24px;
    display: flex;
    flex-direction: column;
    transition: box-shadow var(--transition), transform var(--transition);
}

.faq-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.faq-card-question {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 700;
    color: var(--dark);
    line-height: 1.4;
    margin-bottom: 12px;
}

.faq-card-summary {
    font-size: 14px;
    line-height: 1.7;
    color: var(--gray-500);
    margin-bottom: 16px;
    flex-grow: 1;
}

.faq-card-link {
    display: inline-block;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
    transition: color var(--transition);
}

.faq-card-link:hover {
    color: var(--primary-dark);
}

.faq-cta {
    text-align: center;
    margin-top: 60px;
    padding: 48px;
    background: var(--white);
    border: 1px solid var(--gray-200);
}

.faq-cta h3 {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 8px;
}

.faq-cta p {
    font-size: 15px;
    color: var(--gray-500);
    margin-bottom: 28px;
}

.faq-cta-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* ========================================
   Scroll Reveal
   ======================================== */
.reveal {
    opacity: 0;
    transform: translateY(25px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ========================================
   Responsive
   ======================================== */
@media (max-width: 1024px) {
    .values-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .pillars-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-top {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }

    .about-grid {
        gap: 40px;
    }

    .clients-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .timeline {
        flex-wrap: wrap;
        gap: 40px;
        justify-content: center;
    }

    .timeline-line {
        display: none;
    }

    .timeline-step {
        max-width: 160px;
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    .nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        border-bottom: 1px solid var(--gray-200);
        box-shadow: var(--shadow-md);
    }

    .nav.active {
        display: block;
    }

    .nav-list {
        flex-direction: column;
        padding: 12px 24px 20px;
        gap: 2px;
    }

    .nav-link {
        padding: 12px 16px;
        width: 100%;
        text-align: left;
    }

    .nav-link.nav-cta {
        margin-left: 0;
        margin-top: 8px;
        text-align: center;
    }

    .section {
        padding: 70px 0;
    }

    .hero-split {
        grid-template-columns: 1fr;
    }

    .hero-left {
        padding: 110px 0 50px;
    }

    .hero-left-inner {
        max-width: 100%;
        margin: 0;
        padding: 0 24px;
    }

    .hero-right {
        position: relative;
        height: 340px;
    }

    .hero-gozo-map {
        display: none;
    }

    .hero-image-frame {
        clip-path: polygon(0 10%, 100% 0, 100% 100%, 0 100%);
    }

    .hero-float-card {
        bottom: 30px;
        left: 16px;
    }

    .hero-subtitle {
        font-size: 15px;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .about-images {
        display: none;
    }

    .about-text {
        order: 1;
    }

    .about-img-secondary {
        right: 0;
        bottom: -20px;
        width: 50%;
    }

    .about-badge {
        left: 0;
        top: 10px;
        padding: 14px 18px;
    }

    .badge-number { font-size: 26px; }

    .about-stats {
        gap: 20px;
    }

    .stat-number, .stat-suffix {
        font-size: 26px;
    }

    .pillars-grid {
        grid-template-columns: 1fr;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }

    .faq-teaser-content {
        flex-direction: column;
        text-align: center;
    }

    .faq-cards-grid {
        grid-template-columns: 1fr;
    }

    .values-grid {
        grid-template-columns: 1fr 1fr;
    }

    .timeline {
        flex-direction: column;
        align-items: center;
        gap: 32px;
    }

    .timeline-step {
        max-width: 260px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .contact-form {
        padding: 28px 20px;
    }

    .footer-top {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .cta-banner {
        padding: 70px 0;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: stretch;
        max-width: 320px;
        margin: 0 auto;
    }

    .trust-items {
        gap: 20px;
    }

    .trust-divider {
        display: none;
    }

    .trust-item {
        flex-basis: calc(50% - 10px);
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-tag {
        font-size: 9px;
        letter-spacing: 2px;
    }

    .hero-right {
        height: 280px;
    }

    .hero-proof {
        gap: 16px;
    }

    .hero-proof-num {
        font-size: 20px;
    }

    .values-grid {
        grid-template-columns: 1fr;
    }

    .about-stats {
        flex-direction: column;
        gap: 16px;
    }

    .logo-name {
        font-size: 15px;
    }

    .logo-img {
        height: 36px;
    }

    .trust-item {
        flex-basis: 100%;
    }
}
