﻿/* ============================================================
   PROFAB — Shared Stylesheet
   ============================================================ */

/* Image protection */
img {
    -webkit-user-drag: none;
    user-select: none;
    -webkit-user-select: none;
    -webkit-touch-callout: none;
    pointer-events: auto;
}
.img-shield {
    position: relative;
    display: inline-block;
}
.img-shield::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    background: transparent;
    pointer-events: auto;
}
.img-shield img {
    pointer-events: none;
}

/* ============================================================
   CSS RESET & BASE
   ============================================================ */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --color-primary: #1a3c5e;
    --color-primary-light: #265680;
    --color-accent: #e8781a;
    --color-accent-hover: #c56514;
    --color-dark: #0f1f2e;
    --color-gray-900: #1a1a1a;
    --color-gray-700: #4a4a4a;
    --color-gray-500: #767676;
    --color-gray-300: #c0c0c0;
    --color-gray-100: #f0f0f0;
    --color-gray-50: #f8f9fa;
    --color-white: #ffffff;
    --font-heading: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    --font-body: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.04);
    --shadow-md: 0 2px 6px rgba(0,0,0,0.06);
    --shadow-lg: 0 4px 16px rgba(0,0,0,0.08);
    --radius-sm: 2px;
    --radius-md: 4px;
    --radius-lg: 6px;
    --transition: 0.2s ease;
    --max-width: 1200px;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 110px;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--color-gray-700);
    background: var(--color-white);
    -webkit-font-smoothing: antialiased;
}

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--color-dark);
    line-height: 1.3;
}

h1 { font-size: 2.8rem; font-weight: 700; }
h2 { font-size: 2.2rem; font-weight: 700; }
h3 { font-size: 1.5rem; font-weight: 600; }
h4 { font-size: 1.2rem; font-weight: 600; }

p { margin-bottom: 1rem; }

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

/* ============================================================
   CONTAINER
   ============================================================ */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* ============================================================
   TOP BAR
   ============================================================ */
.top-bar {
    background: var(--color-dark);
    color: var(--color-gray-300);
    font-size: 0.85rem;
    padding: 6px 0;
}
.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}
.top-bar a {
    color: var(--color-gray-300);
}
.top-bar a:hover {
    color: var(--color-white);
}
.top-bar .contact-row {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}
.top-bar .contact-row span {
    display: flex;
    align-items: center;
    gap: 6px;
}

/* ============================================================
   HEADER & NAVIGATION
   ============================================================ */
.site-header {
    background: rgba(255, 255, 255, 0.30);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
}
.site-header .container {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    height: 120px;
    padding-bottom: 2px;
}

/* Header Left */
.header-left {
    display: flex;
    align-items: flex-end;
    gap: 16px;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--color-primary);
    letter-spacing: 1px;
    white-space: nowrap;
    text-decoration: none;
}

/* Social Icons */
.social-icons {
    display: flex;
    align-items: flex-end;
    gap: 10px;
    padding-bottom: 6px;
}
.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    color: var(--color-primary);
    transition: color var(--transition), transform var(--transition);
}
.social-icon:hover {
    color: var(--color-accent);
    transform: translateY(-1px);
}
.logo-img {
    height: 105px;
    width: auto;
    display: block;
    transform-origin: left center;
    transition: transform 0.3s ease;
    will-change: transform;
}
.site-header.scrolled .logo-img {
    height: 105px;
    transform: scale(0.667);
}
.site-header.scrolled .container {
    height: 85px;
}
.logo:hover .logo-img {
    transform: scale(1.03);
}
.site-header.scrolled .logo:hover .logo-img {
    transform: scale(0.687);
}
.logo .logo-icon {
    width: 44px;
    height: 44px;
    background: var(--color-primary);
    color: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 900;
    border-radius: var(--radius-sm);
    flex-shrink: 0;
}
.logo .logo-sub {
    display: block;
    font-size: 0.55rem;
    font-weight: 500;
    color: var(--color-gray-500);
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* Nav */
.main-nav {
    display: flex;
    align-items: center;
    gap: 4px;
}
.main-nav a,
.main-nav .nav-drop-trigger {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 12px 20px;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-primary);
    letter-spacing: 0.3px;
    text-transform: uppercase;
    border-radius: var(--radius-sm);
    transition: color var(--transition);
    cursor: pointer;
    white-space: nowrap;
    border: none;
    background: none;
    font-family: inherit;
}
.main-nav a:hover,
.main-nav .nav-drop-trigger:hover {
    color: var(--color-accent);
    background: none;
}
.main-nav a.active,
.main-nav .nav-drop-trigger.active {
    color: var(--color-accent);
    position: relative;
}
.main-nav a.active::after,
.main-nav .nav-drop-trigger.active::after {
    content: '';
    position: absolute;
    bottom: 10px;
    left: 18px;
    right: 18px;
    height: 2px;
    background: var(--color-accent);
    border-radius: 0;
}
.main-nav .dropdown-arrow {
    font-size: 0.6rem;
    transition: transform var(--transition);
}

/* Dropdown */
.nav-drop {
    position: relative;
}
.nav-drop-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--color-white);
    border: 1px solid var(--color-gray-300);
    border-radius: var(--radius-sm);
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
    min-width: 220px;
    padding: 6px 0;
    display: none;
    z-index: 1001;
}
.nav-drop.open .nav-drop-menu {
    display: block;
    animation: fadeInDown 0.2s ease;
}
.nav-drop.open .dropdown-arrow {
    transform: rotate(180deg);
}
.nav-drop-menu a {
    display: block;
    padding: 9px 20px;
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--color-gray-700);
    border-radius: 0;
    text-transform: none;
}
.nav-drop-menu a:hover {
    background: var(--color-gray-50);
    color: var(--color-primary);
}
@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-8px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Mobile menu toggle */
.mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    flex-direction: column;
    gap: 5px;
}
.mobile-toggle span {
    display: block;
    width: 26px;
    height: 3px;
    background: var(--color-primary);
    border-radius: 2px;
    transition: var(--transition);
}

/* ============================================================
   PAGE BANNER (inner pages)
   ============================================================ */
.page-banner {
    background:
        linear-gradient(135deg, rgba(15,31,46,0.90) 0%, rgba(26,60,94,0.85) 50%, rgba(15,31,46,0.92) 100%),
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 300"><rect fill="%231a3c5e" width="1200" height="300"/><g fill="none" stroke="%23ffffff10" stroke-width="1"><line x1="0" y1="0" x2="1200" y2="300"/><line x1="300" y1="0" x2="1500" y2="300"/><line x1="600" y1="0" x2="1800" y2="300"/></g></svg>');
    background-size: cover;
    background-position: center;
    color: var(--color-white);
    padding: 60px 0;
    text-align: center;
}
.page-banner h1 {
    color: var(--color-white);
    font-size: 2.6rem;
    margin-bottom: 8px;
}
.page-banner .breadcrumb {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.7);
}
.page-banner .breadcrumb a {
    color: var(--color-accent);
}
.page-banner .breadcrumb a:hover {
    color: var(--color-accent-hover);
}

/* ============================================================
   CAROUSEL (Home page)
   ============================================================ */
.carousel {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 7;
    min-height: 420px;
    max-height: 85vh;
    overflow: hidden;
    background: var(--color-dark);
}
.carousel-track {
    position: absolute;
    inset: 0;
    display: flex;
    transition: transform 0.5s ease-in-out;
}
.carousel-slide {
    min-width: 100%;
    height: 100%;
    position: relative;
}
.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transform: scale(1);
}
.carousel-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(15,31,46,0.3) 0%, rgba(15,31,46,0.55) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 24px;
}
.carousel-overlay .container {
    max-width: 800px;
}
.carousel-overlay h1 {
    font-size: 3rem;
    color: #ffffff;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
    line-height: 1.2;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1s ease-out 0.3s, transform 1s ease-out 0.3s;
}
.carousel-slide.active .carousel-overlay h1 {
    opacity: 1;
    transform: translateY(0);
}
.carousel-overlay h1 span {
    color: var(--color-accent);
    font-weight: 700;
}

/* Slide 1 — three-line layout */
.carousel-line1 {
    font-family: 'Oswald', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 3.2rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    line-height: 1.0;
    margin-bottom: 4px;
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 1s ease-out 0.2s, transform 1s ease-out 0.2s;
    text-shadow:
        0 1px 2px rgba(0,0,0,0.6),
        0 3px 6px rgba(0,0,0,0.4),
        0 6px 14px rgba(0,0,0,0.25),
        0 10px 24px rgba(0,0,0,0.15);
}
.carousel-slide.active .carousel-line1 {
    opacity: 1;
    transform: translateY(0);
}
.carousel-overlay .carousel-line2 {
    font-family: 'Oswald', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 3.2rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    line-height: 1.0;
    margin-bottom: 14px;
    text-shadow:
        0 1px 2px rgba(0,0,0,0.6),
        0 3px 6px rgba(0,0,0,0.4),
        0 6px 14px rgba(0,0,0,0.25),
        0 10px 24px rgba(0,0,0,0.15);
    position: relative;
    display: block;
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 1s ease-out 0.4s, transform 1s ease-out 0.4s;
}
.carousel-line2::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-accent);
    transition: width 1s ease-out 0.6s;
}
.carousel-slide.active .carousel-line2::after {
    width: 100%;
}
.carousel-slide.active .carousel-line2 {
    opacity: 1;
    transform: translateY(0);
}
.carousel-line3 {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.8);
    max-width: 650px;
    margin: 0 auto 32px;
    line-height: 1.6;
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 1s ease-out 0.7s, transform 1s ease-out 0.7s;
}
.carousel-slide.active .carousel-line3 {
    opacity: 1;
    transform: translateY(0);
}

.carousel-overlay .carousel-tagline {
    font-size: 1.2rem;
    color: rgba(255,255,255,0.85);
    margin-bottom: 32px;
    line-height: 1.6;
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 1s ease-out 0.6s, transform 1s ease-out 0.6s;
}
.carousel-slide.active .carousel-overlay .carousel-tagline {
    opacity: 1;
    transform: translateY(0);
}
.carousel-overlay .carousel-buttons {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 1s ease-out 0.9s, transform 1s ease-out 0.9s;
}
.carousel-slide.active .carousel-overlay .carousel-buttons {
    opacity: 1;
    transform: translateY(0);
}

/* Carousel Arrows */
.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    background: rgba(255,255,255,0.15);
    border: none;
    color: #ffffff;
    font-size: 1.4rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background var(--transition);
    z-index: 10;
}
.carousel-arrow:hover {
    background: rgba(255,255,255,0.3);
}
.carousel-arrow.prev { left: 16px; }
.carousel-arrow.next { right: 16px; }

/* Carousel Dots */
.carousel-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}
.carousel-dots .dot {
    width: 10px;
    height: 10px;
    background: rgba(255,255,255,0.45);
    border: none;
    cursor: pointer;
    transition: background var(--transition);
}
.carousel-dots .dot.active {
    background: var(--color-accent);
}

@media (max-width: 768px) {
    .carousel { aspect-ratio: 4 / 3; min-height: 320px; max-height: 100vh; }
    .carousel-overlay h1 { font-size: 1.8rem; }
    .carousel-overlay .carousel-tagline { font-size: 1rem; }
    .carousel-line1 { font-size: 2rem; letter-spacing: 0; }
    .carousel-line2 { font-size: 2rem; letter-spacing: 0; }
    .carousel-line3 { font-size: 0.9rem; }
    .carousel-arrow { width: 36px; height: 36px; font-size: 1rem; }
    .carousel-arrow.prev { left: 8px; }
    .carousel-arrow.next { right: 8px; }
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    font-size: 0.95rem;
    font-weight: 700;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all var(--transition);
    border: 2px solid transparent;
    font-family: var(--font-body);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.btn-primary {
    background: var(--color-accent);
    color: var(--color-white);
    border-color: var(--color-accent);
}
.btn-primary:hover {
    background: var(--color-accent-hover);
    border-color: var(--color-accent-hover);
    color: var(--color-white);
}
.btn-outline {
    background: transparent;
    color: var(--color-white);
    border-color: rgba(255,255,255,0.5);
}
.btn-outline:hover {
    background: rgba(255,255,255,0.1);
    border-color: var(--color-white);
    color: var(--color-white);
}
.btn-sm {
    padding: 8px 20px;
    font-size: 0.82rem;
}

/* ============================================================
   SECTION STYLES
   ============================================================ */
.section {
    padding: 90px 0;
}
.section-tight {
    padding: 48px 0;
}
.section-tight .section-header {
    margin-bottom: 36px;
}
.section-tight .about-row {
    margin-bottom: 0;
}
.section-alt {
    background: var(--color-gray-50);
}
.section-header {
    text-align: center;
    margin-bottom: 56px;
}
.section-header h2 {
    position: relative;
    display: inline-block;
    margin-bottom: 12px;
}
.section-title-condensed {
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}
.section-header .section-title-condensed::after {
    width: 100%;
    height: 3px;
    background: #0f1f2e;
    margin-top: 4px;
}
.section-dark .section-header h2 {
    color: #ffffff;
}
.section-dark .section-header .section-subtitle {
    color: rgba(255,255,255,0.75);
}
.section-dark .section-header .section-title-condensed::after {
    background: #ffffff;
}
.section-dark .highlight-card {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.2);
    padding: 44px 28px;
    transition: border-color 0.3s ease, transform 0.3s ease;
}
.section-dark .highlight-card:hover {
    border-color: var(--color-accent);
    transform: translateY(-6px);
}
.section-dark .highlight-card .hl-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--color-accent);
    line-height: 1;
    margin-bottom: 8px;
}
.section-dark .highlight-card h4 {
    color: #ffffff;
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 6px;
}
.section-dark .highlight-card p {
    color: rgba(255,255,255,0.55);
    font-size: 0.85rem;
}
.section-header h2::after {
    content: '';
    display: block;
    width: 50px;
    height: 2px;
    background: var(--color-accent);
    margin: 12px auto 0;
    border-radius: 0;
}
.section-header .section-subtitle {
    color: var(--color-gray-500);
    font-size: 1.05rem;
    max-width: 600px;
    margin: 0 auto;
}

/* ============================================================
   COMPANY PROFILE
   ============================================================ */
.profile-content {
    max-width: 900px;
    margin: 0 auto;
}
.profile-content p {
    font-size: 1.05rem;
    margin-bottom: 1.3rem;
    color: var(--color-gray-700);
}

/* About Page Row Layout */
.about-row {
    display: flex;
    align-items: stretch;
    gap: 0;
    margin-bottom: 0;
}
.about-row-reverse {
    flex-direction: row-reverse;
}
.about-img {
    flex: 0 0 50%;
}
.about-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.about-text {
    flex: 0 0 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 48px 56px 72px 56px;
    position: relative;
    overflow: hidden;
}
.about-text h3 {
    font-size: 1.6rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 14px;
    letter-spacing: 3px;
}
.about-text h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 48px;
    height: 2px;
    background: var(--color-accent);
}
.about-text p {
    font-size: 1rem;
    color: rgba(255,255,255,0.82);
    line-height: 1.55;
    margin-bottom: 10px;
    position: relative;
    z-index: 2;
}
.about-text p strong {
    color: #ffffff;
}
.about-link {
    font-size: 1rem;
    color: rgba(255,255,255,0.82);
    text-decoration: underline;
    text-underline-offset: 4px;
    margin-top: 14px;
    transition: color 0.3s ease, text-underline-offset 0.3s ease;
}
.about-link:hover {
    color: var(--color-accent);
    text-underline-offset: 6px;
}

/* Large watermark silhouette */
.about-text::before {
    content: '';
    position: absolute;
    bottom: 20px;
    right: 20px;
    width: 250px;
    height: 250px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: right bottom;
    opacity: 0.05;
    z-index: 0;
    pointer-events: none;
}
.about-story .about-text::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1270 960'%3E%3Cg fill='white'%3E%3Cpath d='M1060 330L1270 440L1268 480L1056 372Z'/%3E%3Cpath d='M900 230L1042 245L1050 368L1038 560L916 552L908 482L826 476L822 548L700 536L696 470L814 462L808 310L896 228Z'/%3E%3Crect x='698' y='468' width='124' height='68' rx='4'/%3E%3Ccircle cx='1034' cy='528' r='14'/%3E%3Cpath d='M370 300L708 292L714 408L376 416Z'/%3E%3Crect x='540' y='410' width='116' height='72' rx='3'/%3E%3Cpath d='M46 660C140 480 210 360 366 316' fill='none' stroke='white' stroke-width='26' stroke-linecap='round'/%3E%3Cellipse cx='154' cy='506' rx='28' ry='16'/%3E%3Cpath d='M28 672L146 518L168 542L44 696Z'/%3E%3Crect x='32' y='626' width='86' height='36' rx='2'/%3E%3Ccircle cx='712' cy='356' r='18'/%3E%3C/g%3E%3C/svg%3E");
    bottom: -25px;
    transform: rotate(10deg);
}
.about-capability .about-text::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 140'%3E%3Cg fill='none' stroke='white' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3C!-- Sawtooth roof truss--%3E%3Cpath d='M10 40L40 12L70 40L100 12L130 40L160 12L190 40'/%3E%3C!-- Roof diagonal bracing--%3E%3Cline x1='40' y1='12' x2='70' y2='40'/%3E%3Cline x1='100' y1='12' x2='130' y2='40'/%3E%3Cline x1='160' y1='12' x2='190' y2='40'/%3E%3C!-- Main columns--%3E%3Cline x1='10' y1='40' x2='10' y2='130' stroke-width='2.5'/%3E%3Cline x1='40' y1='40' x2='40' y2='130' stroke-width='2.5'/%3E%3Cline x1='70' y1='40' x2='70' y2='130' stroke-width='2.5'/%3E%3Cline x1='100' y1='40' x2='100' y2='130' stroke-width='2.5'/%3E%3Cline x1='130' y1='40' x2='130' y2='130' stroke-width='2.5'/%3E%3Cline x1='160' y1='40' x2='160' y2='130' stroke-width='2.5'/%3E%3Cline x1='190' y1='40' x2='190' y2='130' stroke-width='2.5'/%3E%3C!-- Horizontal beams--%3E%3Cline x1='10' y1='55' x2='190' y2='55' stroke-width='1.2'/%3E%3Cline x1='10' y1='72' x2='190' y2='72' stroke-width='1.2'/%3E%3Cline x1='10' y1='89' x2='190' y2='89' stroke-width='1.2'/%3E%3Cline x1='10' y1='106' x2='190' y2='106' stroke-width='1.2'/%3E%3Cline x1='10' y1='123' x2='190' y2='123' stroke-width='1.2'/%3E%3C!-- Cross bracing between columns--%3E%3Cline x1='10' y1='55' x2='40' y2='72'/%3E%3Cline x1='40' y1='55' x2='10' y2='72'/%3E%3Cline x1='100' y1='72' x2='130' y2='89'/%3E%3Cline x1='130' y1='72' x2='100' y2='89'/%3E%3C!-- Overhead crane--%3E%3Cline x1='10' y1='62' x2='190' y2='62' stroke-width='2'/%3E%3Cline x1='55' y1='62' x2='55' y2='82'/%3E%3Cpath d='M50 82L60 82L58 90L52 90Z' fill='white' stroke='none'/%3E%3Cline x1='145' y1='62' x2='145' y2='82'/%3E%3Cpath d='M140 82L150 82L148 90L142 90Z' fill='white' stroke='none'/%3E%3C!-- Ground--%3E%3Cline x1='2' y1='130' x2='198' y2='130' stroke-width='2.5'/%3E%3C/g%3E%3C/svg%3E");
    width: 180px;
    height: 180px;
}
.about-ethics .about-text::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cg fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' transform='rotate(-4 50 50)'%3E%3Cline x1='50' y1='78' x2='50' y2='40'/%3E%3Cline x1='34' y1='80' x2='66' y2='80'/%3E%3Cline x1='14' y1='38' x2='86' y2='38'/%3E%3Cline x1='18' y1='38' x2='18' y2='58'/%3E%3Cline x1='82' y1='38' x2='82' y2='56'/%3E%3Cpath d='M6 60L18 58L30 60'/%3E%3Cpath d='M70 58L82 56L94 58'/%3E%3Ccircle cx='50' cy='38' r='3' fill='white'/%3E%3C/g%3E%3C/svg%3E");
    width: 160px;
    height: 160px;
}

/* Section color themes */
.about-story .about-text {
    background: linear-gradient(160deg, #0d2133 0%, #1a3c5e 25%, #15324d 55%, #1a3c5e 80%, #0f2a42 100%);
}
.about-capability .about-text {
    background: linear-gradient(160deg, #1e2126 0%, #2d3035 25%, #25282d 55%, #2d3035 80%, #22252a 100%);
}
.about-ethics .about-text {
    background: linear-gradient(160deg, #221c16 0%, #3a3028 25%, #2e2620 55%, #3a3028 80%, #282018 100%);
}

/* Section background */
.about-section-bg {
    background: #e8eaed;
}
.about-section-bg::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: radial-gradient(circle, rgba(0,0,0,0.1) 1.2px, transparent 1.2px);
    background-size: 22px 22px;
    mask-image: linear-gradient(180deg, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.2) 35%, rgba(0,0,0,0.15) 60%, rgba(0,0,0,0.4) 100%),
                linear-gradient(90deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.15) 50%, rgba(0,0,0,0.35) 100%);
    -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.2) 35%, rgba(0,0,0,0.15) 60%, rgba(0,0,0,0.4) 100%),
                        linear-gradient(90deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.15) 50%, rgba(0,0,0,0.35) 100%);
    pointer-events: none;
    z-index: 0;
}

/* Corner accent marks */
.about-text-inner {
    position: relative;
    z-index: 2;
}
.about-text-inner::before {
    content: '';
    position: absolute;
    top: -16px;
    left: 0;
    width: 20px;
    height: 20px;
    border-top: 2px solid var(--color-accent);
    border-left: 2px solid var(--color-accent);
    opacity: 0.5;
}
.about-text-inner::after {
    content: '';
    position: absolute;
    top: -16px;
    right: 0;
    width: 20px;
    height: 20px;
    border-top: 2px solid var(--color-accent);
    border-right: 2px solid var(--color-accent);
    opacity: 0.5;
}

/* Subtle image edge blend */
.about-img::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 60px;
    height: 100%;
    background: linear-gradient(to right, transparent, rgba(0,0,0,0.3));
    z-index: 1;
    pointer-events: none;
}
.about-row-reverse .about-img::before {
    left: 0;
    right: auto;
    background: linear-gradient(to left, transparent, rgba(0,0,0,0.3));
}

/* Smooth transition gradient from image to color block */
.about-row:not(.about-row-reverse) .about-img::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 40px;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}
.about-row-reverse .about-img::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 40px;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}
.about-img {
    position: relative;
}

@media (max-width: 768px) {
    .about-row, .about-row-reverse {
        flex-direction: column;
    }
    .about-img {
        flex: auto;
        width: 100%;
        max-height: 300px;
    }
    .about-text {
        flex: auto;
        width: 100%;
        padding: 40px 28px;
    }
}
.profile-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
    margin-top: 48px;
}
.section-dark .profile-highlights {
    gap: 12px;
}
.highlight-card {
    background: var(--color-white);
    border: 1px solid var(--color-gray-300);
    border-radius: var(--radius-sm);
    padding: 32px 24px;
    text-align: center;
    transition: border-color var(--transition);
}
.highlight-card:hover {
    border-color: var(--color-accent);
}
.highlight-card .hl-icon {
    width: 48px;
    height: 48px;
    background: var(--color-primary);
    color: var(--color-white);
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    margin: 0 auto 16px;
}
.highlight-card h4 {
    margin-bottom: 8px;
    color: var(--color-dark);
}
.highlight-card p {
    font-size: 0.9rem;
    color: var(--color-gray-500);
    margin: 0;
}

/* ============================================================
   PEOPLE & TEAM
   ============================================================ */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 28px;
}
.team-card {
    background: var(--color-white);
    border-radius: var(--radius-sm);
    border: 1px solid var(--color-gray-300);
    overflow: visible;
    text-align: center;
    transition: border-color var(--transition);
    position: relative;
}
.team-card:hover {
    border-color: var(--color-accent);
}
.team-card .team-avatar {
    width: 100%;
    height: 250px;
    background: var(--color-gray-100);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.5rem;
    color: var(--color-gray-300);
    overflow: hidden;
}
.team-card .team-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.team-card:hover .team-avatar img {
    transform: scale(1.06);
}
.team-card .team-info {
    padding: 20px;
    text-align: left;
}
.team-card .team-info h4 {
    color: var(--color-dark);
    margin-bottom: 2px;
}
.team-card .team-info .team-role {
    color: var(--color-accent);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 8px;
}
.team-card .team-info p {
    font-size: 0.88rem;
    color: var(--color-gray-500);
    margin: 0;
}
.team-bio-link {
    text-decoration: underline;
    cursor: pointer;
    transition: color 0.3s ease;
    position: relative;
}
.team-bio-link:hover {
    color: var(--color-accent);
}

/* Banner staggered letter animation */
.banner-text-stagger span {
    display: inline-block;
    opacity: 0;
    transform: scaleY(1.1);
    animation: letterFlyIn 0.5s ease-out forwards;
    margin-right: 0.05em;
}
@keyframes letterFlyIn {
    from {
        opacity: 0;
        transform: translateX(80px) rotateY(60deg) scaleY(1.1);
    }
    to {
        opacity: 1;
        transform: translateX(0) rotateY(0) scaleY(1.1);
    }
}

/* Bio modal overlay */
.bio-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(15,31,46,0.6);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.25s ease;
}
.bio-overlay.active {
    display: flex;
}
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
@keyframes slideUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Bio modal card */
.bio-modal {
    display: flex;
    background: #ffffff;
    border-radius: var(--radius-sm);
    box-shadow: 0 12px 40px rgba(0,0,0,0.25);
    max-width: 860px;
    width: 92%;
    overflow: hidden;
    animation: slideUp 0.3s ease;
    position: relative;
}
.bio-modal-close {
    position: absolute;
    top: 24px;
    right: 28px;
    background: none;
    border: none;
    font-size: 1.3rem;
    color: #aaa;
    cursor: pointer;
    z-index: 1;
    line-height: 1;
}
.bio-modal-close:hover {
    color: #25262a;
}
.bio-modal img {
    width: 50%;
    height: auto;
    min-height: 520px;
    object-fit: cover;
    flex-shrink: 0;
    align-self: stretch;
}
.bio-modal .bio-text {
    padding: 88px 47px 43px 47px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.bio-modal .bio-text h5 {
    font-size: 1.6rem;
    font-weight: 400;
    color: #25262a;
    margin-bottom: 0;
    line-height: 1.3;
    letter-spacing: -0.3px;
}
.bio-modal .bio-text .bio-role {
    font-size: 0.95rem;
    font-weight: 400;
    color: var(--color-accent);
    margin-bottom: 24px;
    line-height: 1.3;
}
.bio-modal .bio-text p {
    font-size: 1rem;
    color: #25262a;
    line-height: 1.5;
    margin: 0 0 8px;
}
.bio-linkedin-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 400;
    color: #25262a;
    text-decoration: none;
    border-bottom: 1px solid #ccc;
    padding-bottom: 2px;
    transition: border-color 0.3s ease;
    margin-top: 28px;
}
.bio-linkedin-link:hover {
    border-bottom-color: #25262a;
}
.bio-linkedin-link svg {
    width: 16px;
    height: 16px;
}
@media (max-width: 768px) {
    .bio-modal {
        flex-direction: column;
        max-width: 460px;
    }
    .bio-modal img {
        width: 100%;
        height: 320px;
        min-height: auto;
    }
    .bio-modal .bio-text {
        padding: 36px 28px;
    }
}

/* ============================================================
   WHY CHOOSE US
   ============================================================ */
.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 28px;
}
.why-card {
    background: var(--color-white);
    border-left: 3px solid var(--color-accent);
    border-top: 1px solid var(--color-gray-100);
    border-right: 1px solid var(--color-gray-100);
    border-bottom: 1px solid var(--color-gray-100);
    padding: 56px 32px;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    transition: border-left-color var(--transition);
}
.why-card:hover {
    border-left-color: var(--color-primary);
}

/* Image Card */
.why-card-img {
    position: relative;
    background-size: cover;
    background-position: center;
    border: none;
    border-left: 3px solid #ffffff;
    overflow: visible;
    z-index: 1;
    transition: z-index 0s;
}
.why-card-img:hover {
    z-index: 999;
}
.why-card-img::before {
    content: '';
    position: absolute;
    inset: 0;
    background: inherit;
    background-size: cover;
    background-position: center;
    z-index: 0;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    transition: transform 0.6s ease, opacity 0.4s ease;
}
.why-card-img:hover::before {
    transform: scale(1.5);
    z-index: 10;
}
.why-card-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.65);
    z-index: 1;
    transition: background 0.4s ease;
}
.why-card-img:hover .why-card-overlay {
    background: rgba(0,0,0,0.15);
}
.why-card-content {
    position: relative;
    z-index: 2;
    text-align: left;
}
.why-card-img .why-card-content h4 {
    color: #ffffff !important;
    font-weight: 700;
    font-size: 1.3rem;
    margin-bottom: 8px;
}
.why-card-content p {
    color: #ffffff;
    font-size: 1rem;
    margin: 0;
    transition: opacity 0.4s ease;
}
.why-card-img:hover .why-card-content p {
    opacity: 0.4;
}
.why-card-img:hover .why-card-content h4 {
    opacity: 0.6;
}
.why-card {
    position: relative;
}
.why-num {
    display: block;
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--color-accent);
    opacity: 0.5;
    line-height: 1;
    margin-bottom: 10px;
}
.why-card h4 {
    color: var(--color-primary);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 6px;
}
.why-card p {
    font-size: 0.9rem;
    color: var(--color-gray-500);
    margin: 0;
}

/* ============================================================
   PROJECTS
   ============================================================ */
.projects-tabs {
    display: flex;
    justify-content: flex-start;
    gap: 12px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}
.projects-tabs .tab-btn {
    padding: 10px 28px;
    border: 1px solid var(--color-gray-300);
    background: var(--color-white);
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all var(--transition);
    font-family: var(--font-body);
    color: var(--color-gray-700);
}
.projects-tabs .tab-btn.active,
.projects-tabs .tab-btn:hover {
    background: var(--color-primary);
    color: var(--color-white);
    border-color: var(--color-primary);
}
.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

@media (max-width: 1024px) {
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .projects-grid {
        grid-template-columns: 1fr;
    }
}
.project-card {
    background: var(--color-white);
    border-radius: var(--radius-sm);
    border: 1px solid var(--color-gray-300);
    transition: border-color var(--transition);
    display: flex;
    flex-direction: column;
    height: 100%;
}
.project-card:hover {
    border-color: var(--color-accent);
}
.project-card .project-img {
    width: 100%;
    height: 220px;
    background: var(--color-gray-100);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--color-gray-300);
    overflow: hidden;
    flex-shrink: 0;
}
.project-card .project-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.project-card .project-img img {
    transition: transform 0.5s ease;
}
.project-card:hover .project-img img {
    transform: scale(1.08);
}
.project-card .project-info {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.project-card .project-info .project-category {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--color-accent);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 8px;
    line-height: 1.2;
}
.project-card .project-info h4 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 8px;
    color: var(--color-dark);
}
.project-card .project-info p:not(.project-gallery-link) {
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--color-gray-600);
    line-height: 1.6;
    margin: 0 0 12px;
    min-height: 6.5em;
}
.project-gallery-link {
    margin-top: auto;
    padding-top: 8px;
}
.project-card .project-info p {
    font-size: 0.9rem;
    color: var(--color-gray-500);
    margin: 0 0 12px;
}
.project-card .project-info .project-meta {
    font-size: 0.8rem;
    color: var(--color-gray-500);
    display: flex;
    gap: 16px;
}
.project-gallery-link {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--color-gray-700);
    text-decoration: underline;
    text-underline-offset: 3px;
    cursor: pointer;
    margin-top: auto;
    transition: color 0.3s ease;
}
.project-gallery-link:hover {
    color: var(--color-accent);
}

/* Gallery Modal — Architecture Portfolio Style */
.gallery-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(8,8,8,0.94);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}
.gallery-overlay.active {
    display: flex;
}
.gallery-modal {
    position: relative;
    width: 92%;
    max-width: 1100px;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
}
.gallery-close {
    position: absolute;
    top: 36px;
    right: 36px;
    background: transparent;
    border: none;
    color: rgba(255,255,255,0.35);
    font-size: 1.6rem;
    font-weight: 200;
    width: 30px;
    height: 30px;
    cursor: pointer;
    z-index: 10;
    line-height: 1;
    transition: color 0.4s ease;
}
.gallery-close:hover {
    color: rgba(255,255,255,0.8);
    background: transparent;
}
.gallery-slides {
    position: relative;
    width: 100%;
    height: 75vh;
    display: flex;
    align-items: center;
    justify-content: center;
}
.gallery-slide {
    display: none;
    width: 100%;
    height: 100%;
}
.gallery-slide.active {
    display: flex;
    align-items: center;
    justify-content: center;
    animation: portfolioReveal 0.7s ease;
}
@keyframes portfolioReveal {
    from { opacity: 0; }
    to { opacity: 1; }
}
.gallery-slide img {
    height: 100%;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    display: block;
    box-shadow: 0 4px 30px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.06);
}
.gallery-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    background: transparent;
    border: 1px solid rgba(255,255,255,0.2);
    color: rgba(255,255,255,0.7);
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 5;
    transition: all 0.3s ease;
}
.gallery-arrow:hover {
    background: rgba(255,255,255,0.08);
    border-color: rgba(255,255,255,0.5);
    color: #fff;
}
.gallery-arrow.prev { left: 16px; }
.gallery-arrow.next { right: 16px; }
.gallery-dots {
    display: flex;
    justify-content: center;
    gap: 12px;
    padding: 16px 12px 24px;
    background: transparent;
}
.gallery-dots .g-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}
.gallery-dots .g-dot.active {
    background: var(--color-accent);
    box-shadow: 0 0 6px rgba(232,120,26,0.5);
}
.gallery-caption {
    text-align: center;
    padding: 0 20px 12px;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.5);
    font-weight: 400;
    letter-spacing: 2px;
    text-transform: uppercase;
}

@media (max-width: 768px) {
    .gallery-modal {
        width: 95%;
    }
    .gallery-slide img {
        max-height: 50vh;
    }
    .gallery-arrow.prev { left: 4px; }
    .gallery-arrow.next { right: 4px; }
}
.project-card .project-info .project-meta span {
    display: flex;
    align-items: center;
    gap: 4px;
}

/* Tab content */
.tab-content { display: none; }
.tab-content.active { display: block; }

/* ============================================================
   CONTACTS
   ============================================================ */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}
.contact-info h3 {
    margin-bottom: 20px;
    color: var(--color-primary);
}
.contact-info .contact-item {
    display: flex;
    gap: 14px;
    margin-bottom: 20px;
}
.contact-info .contact-icon {
    width: 40px;
    height: 40px;
    background: var(--color-primary);
    color: var(--color-white);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}
.contact-info .contact-text h4 {
    margin-bottom: 2px;
    font-size: 1rem;
}
.contact-info .contact-text p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--color-gray-500);
}
.contact-social {
    margin-top: 48px;
    padding-top: 28px;
    border-top: 1px solid var(--color-gray-200);
}
.contact-social-icons {
    display: flex;
    gap: 14px;
    margin-bottom: 14px;
}
.contact-social-icons {
    display: flex;
    gap: 0;
    margin-bottom: 12px;
    justify-content: flex-start;
    border-bottom: 1.5px solid var(--color-gray-300);
    padding-bottom: 0;
    transition: border-color 0.3s ease;
}
.contact-social-icons:has(.contact-social-icon:hover) {
    border-bottom-color: var(--color-accent);
}
.contact-social-icon {
    width: 56px;
    height: 38px;
    background: transparent;
    color: var(--color-gray-500);
    border-radius: 4px 4px 0 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s ease;
    margin-bottom: -1px;
    padding-bottom: 1px;
}
.contact-social-icon:not(:last-child) {
    margin-right: 0;
}
.contact-social-icon:hover {
    color: var(--color-accent);
    background: transparent;
    transform: none;
}
.contact-social p {
    font-size: 0.88rem;
    color: var(--color-gray-500);
    font-style: italic;
    line-height: 1.5;
    margin: 0;
}

/* QR Popup */
.qr-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(15,31,46,0.7);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}
.qr-overlay.active {
    display: flex;
}
.qr-modal {
    background: #fff;
    border-radius: var(--radius-sm);
    padding: 28px 32px;
    max-width: 440px;
    width: 92%;
    position: relative;
    box-shadow: 0 4px 20px rgba(0,0,0,0.12);
}
.qr-close {
    position: absolute;
    top: 8px;
    right: 12px;
    background: none;
    border: none;
    font-size: 1.2rem;
    color: var(--color-gray-400);
    cursor: pointer;
    line-height: 1;
}
.qr-close:hover { color: var(--color-dark); }
.qr-content {
    display: flex;
    gap: 28px;
    align-items: center;
}
.qr-code {
    flex-shrink: 0;
    width: 200px;
    height: 200px;
}
.qr-info h4 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 2px;
}
.qr-info p {
    font-size: 0.88rem;
    color: var(--color-gray-700);
    margin-bottom: 6px;
}
.qr-note {
    font-size: 0.8rem !important;
    color: var(--color-gray-500) !important;
    line-height: 1.5;
}
@media (max-width: 480px) {
    .qr-content { flex-direction: column; text-align: center; }
}
.contact-form {
    background: var(--color-white);
    padding: 28px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--color-gray-300);
}
.contact-form h3 {
    margin-bottom: 16px;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--color-dark);
    letter-spacing: 1px;
    text-transform: uppercase;
}
.form-group {
    margin-bottom: 10px;
}
.form-group label {
    display: block;
    font-weight: 600;
    font-size: 0.75rem;
    margin-bottom: 3px;
    color: var(--color-gray-700);
}
.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--color-gray-300);
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-family: var(--font-body);
    transition: border-color 0.2s ease;
    background: var(--color-white);
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--color-primary);
    background: var(--color-white);
}
.form-group textarea {
    resize: vertical;
    min-height: 100px;
}
.contact-form .btn-primary {
    width: 100%;
    padding: 12px;
    font-size: 0.9rem;
    letter-spacing: 1.5px;
}

/* ============================================================
   DOWNLOAD CTA
   ============================================================ */
.download-cta {
    background: var(--color-primary);
    color: var(--color-white);
    padding: 48px 0;
    text-align: center;
}
.download-cta h3 {
    color: var(--color-white);
    margin-bottom: 10px;
}
.download-cta p {
    color: rgba(255,255,255,0.8);
    margin-bottom: 24px;
}
.download-cta .btn {
    background: var(--color-accent);
    color: var(--color-white);
    border-color: var(--color-accent);
}
.download-cta .btn:hover {
    background: var(--color-accent-hover);
    border-color: var(--color-accent-hover);
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
    background: var(--color-dark);
    color: var(--color-gray-300);
    padding: 48px 0 20px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 28px;
    margin-bottom: 32px;
}
.footer-grid h4 {
    color: var(--color-white);
    margin-bottom: 16px;
    font-size: 1rem;
}
.footer-grid p,
.footer-grid a {
    font-size: 1rem;
    color: var(--color-gray-300);
}
.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
}
.footer-logo {
    height: 100px;
    width: auto;
    filter: brightness(0) invert(1);
    opacity: 1;
    flex-shrink: 0;
    margin-top: -34px;
}
.footer-tagline {
    font-size: 1.25rem;
    font-weight: 600;
    color: #ffffff;
    letter-spacing: 0.5px;
    line-height: 1.4;
    margin: -8px 0 0 0;
    padding-left: 20px;
    position: relative;
    z-index: 2;
    transition: opacity 0.3s ease;
}
.footer-contact {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.7);
    padding-left: 20px;
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-top: 28px;
}
.footer-contact span {
    display: flex;
    align-items: center;
    gap: 8px;
}
/* Image blend effect */
.img-blend {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto 32px;
    border-radius: var(--radius-sm);
    mask-image: radial-gradient(ellipse 90% 80% at center, black 60%, transparent 100%);
    -webkit-mask-image: radial-gradient(ellipse 90% 80% at center, black 60%, transparent 100%);
}

.footer-contact .contact-icon-sm {
    width: 14px;
    text-align: center;
    color: rgba(255,255,255,0.5);
    flex-shrink: 0;
}
.footer-tagline:hover {
    opacity: 0.85;
}
.footer-grid a {
    display: block;
    margin-bottom: 5px;
}
.footer-grid a:hover {
    color: var(--color-accent);
}
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    text-align: center;
    font-size: 0.82rem;
    color: var(--color-gray-500);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
    .contact-layout {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}
@media (max-width: 768px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.6rem; }
    .hero h1 { font-size: 2.2rem; }
    .hero { padding: 80px 0 60px; }
    .page-banner h1 { font-size: 1.8rem; }
    .page-banner { padding: 40px 0; }

    .mobile-toggle { display: flex; }
    .main-nav {
        display: none;
        position: absolute;
        top: 120px;
        left: 0;
        right: 0;
        background: var(--color-white);
        flex-direction: column;
        border-bottom: 2px solid var(--color-gray-100);
        box-shadow: var(--shadow-lg);
        padding: 8px 0;
    }
    .main-nav.open { display: flex; }
    .main-nav a,
    .main-nav .nav-drop-trigger {
        width: 100%;
        padding: 12px 24px;
        border-radius: 0;
    }
    .nav-drop-menu {
        position: static;
        box-shadow: none;
        border: none;
        padding-left: 16px;
        background: var(--color-gray-50);
    }
    .nav-drop.open .nav-drop-menu {
        display: block;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }
    .projects-grid {
        grid-template-columns: 1fr;
    }
    .section { padding: 60px 0; }
}
