/* ==========================================================================
   Membran Jakarta - Premium Construction & Contractor Design System
   ========================================================================== */

/* Design System Variables */
:root {
    /* Color Palette (Clean & Light Contracting Theme) */
    --color-bg-main: #ffffff;
    --color-bg-alt: #f8fafc;
    /* Soft slate/gray for section alternates */
    --color-bg-card: #ffffff;

    --color-text-primary: #0f172a;
    /* Slate 900 / Deep Charcoal */
    --color-text-secondary: #475569;
    /* Slate 600 */
    --color-text-muted: #64748b;
    /* Slate 500 */
    --color-text-light: #f8fafc;

    --color-border: #e2e8f0;
    /* Slate 200 */
    --color-border-light: #f1f5f9;
    /* Slate 100 */

    --color-primary: #0f172a;
    /* Solid Dark Slate/Charcoal for Brand Authority */
    --color-primary-hover: #1e293b;
    --color-primary-light: #f1f5f9;
    /* Soft Slate Gray */

    --color-accent: #f59e0b;
    /* Safety Yellow / Construction Gold Accent */
    --color-accent-hover: #d97706;
    --color-accent-light: #fef3c7;
    /* Soft gold tint for backgrounds */

    --color-whatsapp: #22c55e;
    /* WhatsApp Green */
    --color-whatsapp-hover: #16a34a;

    /* Fonts */
    --font-primary: 'Inter', sans-serif;
    --font-heading: 'Outfit', sans-serif;

    /* Shadows (Extremely soft and modern) */
    --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.03), 0 1px 2px rgba(15, 23, 42, 0.02);
    --shadow-md: 0 4px 6px -1px rgba(15, 23, 42, 0.05), 0 2px 4px -1px rgba(15, 23, 42, 0.03);
    --shadow-lg: 0 10px 25px -5px rgba(15, 23, 42, 0.05), 0 8px 10px -6px rgba(15, 23, 42, 0.05);
    --shadow-xl: 0 20px 40px -10px rgba(15, 23, 42, 0.08), 0 10px 20px -10px rgba(15, 23, 42, 0.04);
    --shadow-glass: 0 8px 32px 0 rgba(15, 23, 42, 0.03);
    --shadow-premium: 0 30px 60px -15px rgba(15, 23, 42, 0.12);

    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --container-max-width: 1200px;
}

/* Base Reset */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--color-bg-main);
}

body {
    font-family: var(--font-primary);
    color: var(--color-text-secondary);
    background-color: var(--color-bg-main);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--color-text-primary);
    font-weight: 700;
    line-height: 1.25;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-smooth);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--color-bg-alt);
}

::-webkit-scrollbar-thumb {
    background: var(--color-border);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--color-accent);
}

/* Layout Containers */
.container {
    width: 100%;
    max-width: var(--container-max-width);
    margin-right: auto;
    margin-left: auto;
    padding-right: 1.5rem;
    padding-left: 1.5rem;
}

/* Grid & Flex Utilities */
.grid {
    display: grid;
}

.grid-1 {
    grid-template-columns: 1fr;
}

.grid-2 {
    grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

.gap-4 {
    gap: 1rem;
}

.gap-6 {
    gap: 1.5rem;
}

.gap-8 {
    gap: 2rem;
}

.gap-12 {
    gap: 3rem;
}

.gap-16 {
    gap: 4rem;
}

.items-center {
    align-items: center;
}

.justify-center {
    justify-content: center;
}

.flex {
    display: flex;
}

.flex-wrap {
    flex-wrap: wrap;
}

/* Spacing Utilities */
.py-12 {
    padding-top: 3rem;
    padding-bottom: 3rem;
}

.py-20 {
    padding-top: 6rem;
    padding-bottom: 6rem;
}

.py-24 {
    padding-top: 7.5rem;
    padding-bottom: 7.5rem;
}

.py-32 {
    padding-top: 9rem;
    padding-bottom: 9rem;
}

.px-8 {
    padding-left: 2.5rem;
    padding-right: 2.5rem;
}

.mb-4 {
    margin-bottom: 1rem;
}

.mb-6 {
    margin-bottom: 1.5rem;
}

.mb-8 {
    margin-bottom: 2rem;
}

.mb-12 {
    margin-bottom: 3rem;
}

.mb-16 {
    margin-bottom: 4rem;
}

.mt-6 {
    margin-top: 1.5rem;
}

.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.w-full {
    width: 100%;
}

.max-w-2xl {
    max-width: 42rem;
}

.max-w-3xl {
    max-width: 48rem;
}

.max-w-4xl {
    max-width: 56rem;
}

.mx-auto {
    margin-right: auto;
    margin-left: auto;
}

.rounded-lg {
    border-radius: 0.75rem;
}

.shadow-xl {
    box-shadow: var(--shadow-xl);
}

/* Force light backgrounds on standard bg classes */
.bg-slate-900 {
    background-color: var(--color-bg-alt) !important;
}

.bg-slate-950 {
    background-color: var(--color-bg-main) !important;
}

/* Buttons (Modern Capsule Shape) */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 700;
    border-radius: 9999px;
    /* Capsule buttons */
    padding: 0.875rem 2rem;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition-smooth);
    gap: 0.5rem;
    font-size: 0.95rem;
    letter-spacing: 0.3px;
}

.btn-sm {
    padding: 0.5rem 1.25rem;
    font-size: 0.85rem;
}

.btn-lg {
    padding: 1.125rem 2.5rem;
    font-size: 1.05rem;
}

.btn-primary {
    background-color: var(--color-accent);
    color: var(--color-text-primary);
    border-color: var(--color-accent);
}

.btn-primary:hover {
    background-color: var(--color-accent-hover);
    border-color: var(--color-accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px -5px rgba(245, 158, 11, 0.4);
}

.btn-secondary {
    background-color: var(--color-primary);
    color: #ffffff;
    border-color: var(--color-primary);
}

.btn-secondary:hover {
    background-color: #000000;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px -5px rgba(15, 23, 42, 0.2);
}

.btn-outline {
    background-color: transparent;
    border-color: var(--color-border);
    color: var(--color-text-primary);
}

.btn-outline:hover {
    background-color: var(--color-bg-alt);
    border-color: var(--color-text-primary);
    transform: translateY(-2px);
}

/* Sticky Frosted-Glass Navbar */
.navbar-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--color-border-light);
    transition: var(--transition-smooth);
}

.navbar-wrapper.scrolled {
    background-color: #ffffff;
    box-shadow: var(--shadow-sm);
    border-bottom-color: var(--color-border);
}

.navbar-container {
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: var(--transition-smooth);
}

.navbar-wrapper.scrolled .navbar-container {
    height: 75px;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 0.875rem;
}

.logo-icon {
    color: var(--color-text-primary);
    background-color: var(--color-accent);
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}

.brand-logo:hover .logo-icon {
    transform: rotate(5deg) scale(1.05);
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.brand-name {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.35rem;
    color: var(--color-text-primary);
    letter-spacing: 0.5px;
    line-height: 1.1;
}

.company-name {
    font-size: 0.7rem;
    color: var(--color-text-muted);
    font-weight: 650;
    letter-spacing: 0.5px;
    margin-top: 0.15rem;
}

.desktop-nav {
    display: flex;
    gap: 2.25rem;
}

.nav-item {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--color-text-secondary);
    position: relative;
    padding: 0.5rem 0;
}

.nav-item::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2.5px;
    bottom: -2px;
    left: 0;
    background-color: var(--color-accent);
    transition: var(--transition-smooth);
}

.nav-item:hover,
.nav-item.active {
    color: var(--color-text-primary);
}

.nav-item:hover::after,
.nav-item.active::after {
    width: 100%;
}

.nav-cta {
    display: flex;
    align-items: center;
}

.nav-cta .btn {
    border-radius: 9999px;
    font-size: 0.875rem;
    background-color: var(--color-primary-light);
    color: var(--color-text-primary);
    border: 1px solid var(--color-border);
}

.nav-cta .btn:hover {
    background-color: var(--color-accent);
    border-color: var(--color-accent);
    color: var(--color-text-primary);
}

/* Mobile Hamburger Menu */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 26px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1100;
}

.bar {
    width: 100%;
    height: 2px;
    background-color: var(--color-text-primary);
    border-radius: 2px;
    transition: var(--transition-smooth);
}

/* Mobile Drawer Overlay */
.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 23, 42, 0.4);
    backdrop-filter: blur(4px);
    z-index: 1050;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
}

.mobile-nav-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-nav-drawer {
    position: fixed;
    top: 0;
    right: -320px;
    width: 320px;
    height: 100%;
    background-color: #ffffff;
    z-index: 1060;
    box-shadow: var(--shadow-xl);
    padding: 2.5rem 2rem;
    display: flex;
    flex-direction: column;
    transition: var(--transition-smooth);
}

.mobile-nav-drawer.active {
    right: 0;
}

.drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--color-border-light);
    padding-bottom: 1.5rem;
    margin-bottom: 2.5rem;
}

.drawer-close-btn {
    background: transparent;
    border: none;
    color: var(--color-text-primary);
    font-size: 2.25rem;
    cursor: pointer;
    line-height: 1;
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
}

.mobile-nav-item {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-text-secondary);
    padding: 0.25rem 0;
}

.mobile-nav-item:hover,
.mobile-nav-item.active {
    color: var(--color-accent-hover);
}

.drawer-footer {
    margin-top: auto;
    border-top: 1px solid var(--color-border-light);
    padding-top: 2rem;
}

/* App Container Scaffolding */
#app-container {
    min-height: calc(100vh - 90px);
    margin-top: 90px;
}

/* SPA app fading transition */
#app {
    transition: opacity 0.15s ease-in-out;
}

/* Page Section Tags & Headings */
.section-tag {
    display: inline-block;
    color: var(--color-text-primary);
    background-color: var(--color-accent);
    font-weight: 800;
    font-size: 0.775rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1.25rem;
    padding: 0.4rem 1.25rem;
    border-radius: 4px;
    /* Structured construction badge */
}

.section-title {
    font-size: 2.75rem;
    font-weight: 900;
    color: var(--color-text-primary);
    margin-bottom: 1rem;
    letter-spacing: -1px;
    line-height: 1.2;
}

.title-divider {
    width: 60px;
    height: 5px;
    background-color: var(--color-accent);
    margin: 0 auto 2rem auto;
    border-radius: 0;
    /* Solid construction feel */
}

.title-divider.left {
    margin-left: 0;
    margin-right: 0;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--color-text-secondary);
    font-weight: 400;
}

/* Modern Hero Section Layout (Two Column) */
.hero-section {
    position: relative;
    background-color: #ffffff;
    background-image: radial-gradient(at 0% 0%, rgba(254, 243, 199, 0.4) 0px, transparent 50%),
        radial-gradient(at 100% 100%, rgba(241, 245, 249, 0.6) 0px, transparent 50%);
    padding: 3rem 0 6.5rem 0;
    border-bottom: 1px solid var(--color-border-light);
    overflow: hidden;
}

.hero-overlay {
    display: none;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 4rem;
    align-items: center;
}

.hero-content {
    max-width: 100%;
}

.hero-tag-badge {
    display: inline-flex;
    align-items: center;
    background-color: var(--color-primary-light);
    border: 1px solid var(--color-border);
    padding: 0.5rem 1.25rem;
    border-radius: 9999px;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--color-text-primary);
    margin-bottom: 1.75rem;
    gap: 0.5rem;
}

.hero-tag-badge .dot {
    width: 8px;
    height: 8px;
    background-color: var(--color-accent);
    border-radius: 50%;
}

.hero-title {
    font-size: 3.75rem;
    font-weight: 900;
    letter-spacing: -2px;
    color: var(--color-text-primary);
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-family: var(--font-heading);
    font-size: 1.65rem;
    font-weight: 800;
    color: var(--color-text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.35;
}

.hero-tagline {
    font-size: 1.15rem;
    color: var(--color-text-secondary);
    margin-bottom: 2.5rem;
    line-height: 1.8;
}

/* Modern Checklist under Hero (High Conversion Ads feature) */
.hero-checklist {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.hero-checklist li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--color-text-primary);
}

.hero-checklist li svg {
    color: var(--color-whatsapp);
    flex-shrink: 0;
}

.hero-actions {
    display: flex;
    gap: 1.25rem;
    flex-wrap: wrap;
}

/* Hero Floating Image panel (Right Column) */
.hero-image-column {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-img-card {
    position: relative;
    z-index: 2;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-premium);
    border: 8px solid #ffffff;
    transform: rotate(1.5deg);
    transition: var(--transition-smooth);
}

.hero-img-card:hover {
    transform: rotate(0deg) scale(1.02);
}

.hero-img-card img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.hero-deco-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: var(--color-accent-light);
    border-radius: 1rem;
    z-index: 1;
    transform: rotate(-3deg);
    top: 10px;
    left: -10px;
}


/* Feature Cards Grid (3 Columns) */
.feature-card {
    background-color: var(--color-bg-card);
    border: 1px solid var(--color-border-light);
    border-radius: 1rem;
    overflow: hidden;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-sm);
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: var(--color-accent);
    box-shadow: var(--shadow-xl);
}

.feature-img-wrapper {
    height: 230px;
    overflow: hidden;
    position: relative;
}

.feature-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.feature-card:hover .feature-img-wrapper img {
    transform: scale(1.05);
}

.feature-card-body {
    padding: 2.25rem 2rem;
}

.feature-card-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.875rem;
    color: var(--color-text-primary);
}

.feature-card-text {
    font-size: 0.95rem;
    color: var(--color-text-secondary);
    line-height: 1.7;
}

/* Feature Card Compact (Flex structure) */
.feature-card-compact {
    display: flex;
    gap: 1.5rem;
    padding: 1.75rem;
    background-color: var(--color-bg-card);
    border: 1px solid var(--color-border-light);
    border-radius: 0.75rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
}

.feature-card-compact:hover {
    transform: translateX(5px);
    border-color: var(--color-accent);
    box-shadow: var(--shadow-md);
}

.card-icon {
    color: var(--color-text-primary);
    background-color: var(--color-accent);
    width: 52px;
    height: 52px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.card-content h4 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--color-text-primary);
}

.card-content p {
    font-size: 0.9rem;
    color: var(--color-text-secondary);
    line-height: 1.6;
}

/* Advantages Section */
.advantages-image-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
}

.advantages-image-wrapper img {
    border-radius: 1rem;
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--color-border);
}

.floating-badge {
    position: absolute;
    bottom: -15px;
    right: 20px;
    background-color: var(--color-primary);
    border: none;
    padding: 1.25rem 1.75rem;
    border-radius: 0.75rem;
    box-shadow: var(--shadow-xl);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-left: 4px solid var(--color-accent);
}

.badge-num {
    font-size: 2.25rem;
    font-weight: 800;
    line-height: 1;
    color: #ffffff;
}

.badge-text {
    font-size: 0.75rem;
    text-transform: uppercase;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    margin-top: 0.25rem;
    letter-spacing: 0.5px;
}

.advantages-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
}

.advantages-list li {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
}

.list-icon {
    background-color: var(--color-accent-light);
    color: var(--color-accent-hover);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 0.15rem;
}

.list-text {
    font-size: 1rem;
    color: var(--color-text-secondary);
}

.list-text strong {
    font-size: 1.15rem;
    color: var(--color-text-primary);
    font-weight: 700;
    display: block;
    margin-bottom: 0.25rem;
}

/* Featured Projects Section */
.section-header-flex {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.project-card {
    background-color: var(--color-bg-card);
    border-radius: 1rem;
    border: 1px solid var(--color-border-light);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
    overflow: hidden;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-border);
}

.project-img-wrapper {
    height: 260px;
    overflow: hidden;
}

.project-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.project-card:hover .project-img-wrapper img {
    transform: scale(1.05);
}

.project-info {
    padding: 1.75rem;
}

.project-info h4 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.project-info p {
    font-size: 0.875rem;
    color: var(--color-text-muted);
}


/* CTA Section */
.cta-section {
    background-color: var(--color-bg-main);
    border-top: 1px solid var(--color-border-light);
}

.cta-glass-card {
    background-color: var(--color-primary);
    color: #ffffff;
    border: none;
    border-radius: 1.5rem;
    padding: 5rem 3rem;
    max-width: 900px;
    margin: 0 auto;
    box-shadow: var(--shadow-xl);
    border-bottom: 6px solid var(--color-accent);
}

.cta-glass-card .section-tag {
    background-color: var(--color-accent);
    color: var(--color-text-primary);
}

.cta-title {
    color: #ffffff;
    font-size: 2.75rem;
    font-weight: 900;
    letter-spacing: -1px;
    margin-bottom: 1.25rem;
}

.cta-desc {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.2rem;
    line-height: 1.8;
    max-width: 650px;
    margin: 0 auto 2.5rem auto;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

/* FAQ Layout */
.faq-card {
    background-color: var(--color-bg-card);
    padding: 2.25rem;
    border-radius: 1rem;
    border: 1px solid var(--color-border-light);
    border-left: 5px solid var(--color-accent);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
}

.faq-card:hover {
    box-shadow: var(--shadow-md);
}

.faq-question {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-text-primary);
    margin-bottom: 0.75rem;
}

.faq-answer {
    font-size: 0.95rem;
    color: var(--color-text-secondary);
}

/* Subpages Title Banner */
.page-title-section {
    padding: 7rem 0 5rem 0;
    background: radial-gradient(circle at top right, var(--color-accent-light) 0%, #ffffff 70%);
    border-bottom: 1px solid var(--color-border-light);
}

.page-title {
    font-size: 3.5rem;
    font-weight: 850;
    letter-spacing: -1px;
    margin-bottom: 0.75rem;
}

.page-subtitle {
    font-size: 1.35rem;
    font-weight: 400;
    color: var(--color-text-secondary);
}

/* About Us Page Stats */
.stat-card {
    background-color: var(--color-bg-card);
    border: 1px solid var(--color-border-light);
    padding: 3rem 2rem;
    box-shadow: var(--shadow-sm);
    border-radius: 1rem;
    text-align: center;
    transition: var(--transition-smooth);
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.stat-num {
    display: block;
    font-size: 3.25rem;
    font-weight: 850;
    color: var(--color-accent-hover);
    margin-bottom: 0.5rem;
}

.stat-text {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Vision / Mission Layouts */
.vision-card,
.mission-card,
.card-glass {
    background-color: var(--color-bg-card);
    border: 1px solid var(--color-border-light);
    box-shadow: var(--shadow-sm);
    border-radius: 1.25rem;
    padding: 3rem 2.5rem;
}

.card-icon-wrapper {
    color: var(--color-accent-hover);
    margin-bottom: 1.5rem;
}

.card-title {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
}

.mission-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.mission-list li {
    position: relative;
    padding-left: 1.5rem;
    font-size: 0.95rem;
    color: var(--color-text-secondary);
}

.mission-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--color-accent);
}

/* SOP Timeline */
.sop-timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.sop-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 30px;
    width: 2px;
    height: 100%;
    background-color: var(--color-border);
}

.sop-item {
    position: relative;
    display: flex;
    gap: 2.5rem;
    margin-bottom: 4rem;
}

.sop-item:last-child {
    margin-bottom: 0;
}

.sop-number {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background-color: #ffffff;
    border: 2px solid var(--color-accent);
    color: var(--color-text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
    flex-shrink: 0;
    z-index: 2;
    box-shadow: var(--shadow-sm);
}

.sop-content {
    background-color: var(--color-bg-card);
    border: 1px solid var(--color-border-light);
    border-radius: 1rem;
    box-shadow: var(--shadow-sm);
    padding: 2.25rem;
    flex-grow: 1;
}

.sop-content h4 {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--color-text-primary);
}

.sop-content p {
    font-size: 0.95rem;
    color: var(--color-text-secondary);
}

/* Service Detail Items */
.service-detail-item {
    background-color: var(--color-bg-card);
    border: 1px solid var(--color-border-light);
    box-shadow: var(--shadow-sm);
    border-radius: 1.5rem;
    padding: 4rem 3.5rem;
}

.service-badge {
    display: inline-block;
    background-color: var(--color-accent-light);
    color: var(--color-accent-hover);
    border: 1px solid rgba(245, 158, 11, 0.1);
    padding: 0.35rem 0.75rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.service-text h3 {
    font-size: 2.25rem;
    font-weight: 800;
    margin-bottom: 1.25rem;
}

.service-text p {
    color: var(--color-text-secondary);
    margin-bottom: 1.5rem;
}

.service-features-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.service-features-list li {
    position: relative;
    padding-left: 1.5rem;
    font-size: 0.95rem;
    color: var(--color-text-secondary);
}

.service-features-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-accent-hover);
    font-weight: 700;
}

.service-img img {
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--color-border);
}

/* Gallery filter styling */
.btn-filter {
    background-color: var(--color-bg-alt);
    border: 1px solid var(--color-border);
    color: var(--color-text-secondary);
    font-size: 0.9rem;
    font-weight: 650;
}

.btn-filter.active,
.btn-filter:hover {
    background-color: var(--color-accent);
    border-color: var(--color-accent);
    color: var(--color-text-primary);
}

/* Project Gallery Item Card */
.gallery-item-card {
    background-color: var(--color-bg-card);
    border: 1px solid var(--color-border-light);
    border-radius: 1rem;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.gallery-item-card.hide {
    display: none;
}

.gallery-img-box {
    position: relative;
    height: 260px;
    overflow: hidden;
    cursor: pointer;
    border-radius: 1rem 1rem 0 0;
}

.gallery-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 23, 42, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    opacity: 0;
    transition: var(--transition-smooth);
    z-index: 2;
}

.gallery-img-box:hover img {
    transform: scale(1.08);
}

.gallery-img-box:hover .gallery-overlay {
    opacity: 1;
}

.gallery-info {
    padding: 1.5rem;
    flex-grow: 1;
}

.gallery-info h4 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.gallery-info p {
    font-size: 0.875rem;
    color: var(--color-text-muted);
}

/* Lightbox Modal */
.lightbox-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 23, 42, 0.98);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
    padding: 2rem;
}

.lightbox-modal.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-close-btn {
    position: absolute;
    top: 2rem;
    right: 2rem;
    background: transparent;
    border: none;
    color: #ffffff;
    font-size: 3rem;
    cursor: pointer;
    line-height: 1;
    transition: var(--transition-smooth);
}

.lightbox-close-btn:hover {
    color: var(--color-accent);
    transform: rotate(90deg);
}

.lightbox-content-wrapper {
    max-width: 900px;
    width: 100%;
    background-color: #ffffff;
    border-radius: 1.25rem;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.lightbox-img-container {
    max-height: 60vh;
    overflow: hidden;
    background-color: #000000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-img-container img {
    max-height: 60vh;
    max-width: 100%;
    object-fit: contain;
}

.lightbox-meta {
    padding: 1.5rem 2rem;
    background-color: #ffffff;
    border-top: 1px solid var(--color-border-light);
}

.lightbox-meta h3 {
    font-size: 1.35rem;
    color: var(--color-text-primary);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.lightbox-meta p {
    font-size: 0.925rem;
    color: var(--color-text-secondary);
}

/* Contact Page Structure */
.contact-info-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-info-item {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
}

.info-icon {
    width: 48px;
    height: 48px;
    background-color: var(--color-accent-light);
    color: var(--color-accent-hover);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 1px solid rgba(245, 158, 11, 0.1);
}

.info-text h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    color: var(--color-text-primary);
}

.info-text p {
    font-size: 0.925rem;
    color: var(--color-text-secondary);
}

/* Form Styles */
.contact-form-box {
    background-color: var(--color-bg-card);
    border: 1px solid var(--color-border-light);
    border-radius: 1.25rem;
    box-shadow: var(--shadow-xl);
    padding: 3.5rem 3rem;
}

.form-box-title {
    font-size: 1.65rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.form-box-subtitle {
    font-size: 0.875rem;
    color: var(--color-text-muted);
}

.service-tags-container {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 0.25rem;
}

.tag-btn {
    background-color: #ffffff;
    border: 1.5px solid var(--color-border);
    color: var(--color-text-secondary);
    padding: 0.75rem 1.25rem;
    border-radius: 8px;
    /* Matching the input border radius */
    font-size: 0.875rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition-smooth);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.tag-btn:hover {
    border-color: var(--color-accent);
    color: var(--color-text-primary);
    background-color: var(--color-bg-alt);
}

.tag-btn.active {
    background-color: var(--color-accent);
    border-color: var(--color-accent-hover);
    color: var(--color-text-primary);
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.2);
}

.tag-btn.active::before {
    content: '✓';
    font-weight: 900;
    font-size: 1rem;
    color: var(--color-text-primary);
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    text-align: left;
}

.form-group label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-text-primary);
}

.form-group input,
.form-group select,
.form-group textarea {
    background-color: #ffffff;
    border: 1.5px solid var(--color-border);
    color: var(--color-text-primary);
    padding: 0.75rem 1rem;
    border-radius: 8px;
    font-family: var(--font-primary);
    font-size: 0.95rem;
    transition: var(--transition-smooth);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.1);
}

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg fill='%23475569' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/><path d='M0 0h24v24H0z' fill='none'/></svg>");
    background-repeat: no-repeat;
    background-position: right 10px center;
    padding-right: 30px;
}

/* Contact Maps */
.contact-maps-section {
    height: 450px;
    border-top: 1px solid var(--color-border-light);
}

.contact-maps-section iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Footer Section */
.footer-wrapper {
    background-color: var(--color-bg-alt);
    border-top: 1px solid var(--color-border-light);
    color: var(--color-text-secondary);
    padding: 5rem 0 0 0;
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr 2fr;
    gap: 3.5rem;
    padding-bottom: 4rem;
}

.footer-logo {
    display: flex;
    flex-direction: column;
    margin-bottom: 1.5rem;
}

.footer-logo .brand-name {
    color: var(--color-text-primary);
}

.footer-desc {
    font-size: 0.9rem;
    color: var(--color-text-secondary);
}

.footer-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--color-text-primary);
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 35px;
    height: 2px;
    background-color: var(--color-accent);
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    font-size: 0.9rem;
    color: var(--color-text-secondary);
}

.footer-links a:hover {
    color: var(--color-accent-hover);
    padding-left: 0.25rem;
}

.footer-contact-info {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    font-size: 0.875rem;
    color: var(--color-text-secondary);
}

.footer-contact-info li {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
}

.footer-contact-info svg {
    color: var(--color-accent-hover);
    flex-shrink: 0;
}

.footer-map-container {
    height: 150px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--color-border);
}

.footer-map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.footer-bottom {
    border-top: 1px solid var(--color-border-light);
    padding: 1.5rem 0;
    background-color: var(--color-bg-main);
}

.footer-bottom-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.825rem;
    color: var(--color-text-muted);
}

.footer-policies {
    display: flex;
    gap: 0.75rem;
}

.footer-policies a:hover {
    color: var(--color-accent-hover);
}

.policy-divider {
    color: var(--color-border);
}

/* Floating WhatsApp Widget */
.floating-whatsapp-widget {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 60px;
    height: 60px;
    background-color: var(--color-whatsapp);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 30px rgba(34, 197, 94, 0.3);
    z-index: 999;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.floating-whatsapp-widget:hover {
    background-color: var(--color-whatsapp-hover);
    transform: scale(1.05);
}

.whatsapp-svg {
    z-index: 2;
}

/* WhatsApp Breathing Pulse Animation */
.pulse-ring {
    position: absolute;
    top: 0;
    left: 0;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 4px solid var(--color-whatsapp);
    animation: whatsapp-pulse 1.8s infinite ease-out;
    opacity: 0.6;
    z-index: 1;
}

@keyframes whatsapp-pulse {
    0% {
        transform: scale(0.95);
        opacity: 0.8;
    }

    50% {
        opacity: 0.4;
    }

    100% {
        transform: scale(1.6);
        opacity: 0;
    }
}

/* Custom 404 Error */
.error-404-section {
    min-height: calc(100vh - 230px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.error-code {
    background: linear-gradient(135deg, var(--color-text-primary) 0%, var(--color-accent-hover) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
}

/* Animations */
.animate-fade-in {
    animation: fadeIn 0.8s forwards ease-out;
}

.animate-fade-in-delay-1 {
    opacity: 0;
    animation: fadeIn 0.8s 0.2s forwards ease-out;
}

.animate-fade-in-delay-2 {
    opacity: 0;
    animation: fadeIn 0.8s 0.4s forwards ease-out;
}

.animate-fade-in-delay-3 {
    opacity: 0;
    animation: fadeIn 0.8s 0.6s forwards ease-out;
}

.animate-pulse {
    animation: pulse 2s infinite ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

/* ==========================================================================
   Responsive Breakpoints (Mobile First)
   ========================================================================== */

/* Tablet (md) */
@media (max-width: 991px) {

    .grid-3,
    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-container {
        grid-template-columns: 1fr;
        gap: 3.5rem;
        text-align: center;
    }

    .hero-content {
        order: 1;
    }

    .hero-image-column {
        order: 2;
    }

    .hero-title {
        font-size: 3.25rem;
    }

    .hero-checklist {
        justify-content: center;
    }

    .hero-actions {
        justify-content: center;
    }

    .footer-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 3rem;
    }
}

/* Mobile (sm) */
@media (max-width: 767px) {
    html {
        font-size: 15px;
    }

    #app-container {
        margin-top: 75px;
    }

    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }

    .desktop-nav,
    .nav-cta {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .navbar-container {
        height: 75px;
    }

    .navbar-wrapper.scrolled .navbar-container {
        height: 70px;
    }

    .hero-section {
        padding: 1.25rem 0 4.5rem 0;
    }

    .hero-title {
        font-size: 2.75rem;
    }

    .hero-subtitle {
        font-size: 1.35rem;
    }

    .hero-checklist {
        grid-template-columns: 1fr;
        text-align: left;
        max-width: 320px;
        margin: 0 auto 2.5rem auto;
    }

    .hero-actions {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        justify-content: center !important;
        gap: 0.5rem !important;
        width: 100%;
    }

    .hero-actions .btn {
        flex: 1;
        min-width: 0;
        padding: 0.75rem 0.5rem !important;
        font-size: 0.85rem !important;
        white-space: nowrap;
        display: inline-flex;
        justify-content: center;
        align-items: center;
        gap: 0.25rem;
        height: auto !important;
    }

    .hero-actions .btn svg {
        width: 16px;
        height: 16px;
        flex-shrink: 0;
    }

    .service-detail-item.reverse {
        display: flex;
        flex-direction: column-reverse;
    }

    .service-detail-item {
        padding: 2.5rem 1.5rem;
        gap: 2rem;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .footer-bottom-container {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .section-title {
        font-size: 2rem;
    }

    .advantages-image-wrapper {
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    .floating-badge {
        position: static;
        margin-top: 1.25rem;
        width: 100%;
        box-sizing: border-box;
    }

    .lightbox-modal {
        padding: 0.5rem;
    }

    .lightbox-content-wrapper {
        border-radius: 0;
    }

    .sop-timeline::before {
        left: 20px;
    }

    .sop-item {
        gap: 1.5rem;
    }

    .sop-number {
        width: 44px;
        height: 44px;
        font-size: 1.15rem;
    }

    .px-8 {
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }

    .py-12 {
        padding-top: 2rem;
        padding-bottom: 2rem;
    }

    .contact-maps-section {
        height: 350px;
    }

    .gallery-filters {
        flex-wrap: nowrap !important;
        justify-content: flex-start !important;
        overflow-x: auto;
        padding: 0.5rem 1.5rem;
        margin-left: -1.5rem;
        margin-right: -1.5rem;
        gap: 0.75rem;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .gallery-filters::-webkit-scrollbar {
        display: none;
    }

    .btn-filter {
        flex-shrink: 0;
        padding: 0.5rem 1.25rem !important;
        font-size: 0.85rem !important;
        border-radius: 8px !important;
        height: auto !important;
        margin: 0 !important;
    }
}

/* Contact Page Map Section Styles */
.contact-maps-section {
    height: 450px;
    width: 100%;
    border-top: 1.5px solid var(--color-border-light);
    display: block;
    line-height: 0;
    overflow: hidden;
}

.contact-maps-section iframe {
    width: 100%;
    height: 100%;
    border: 0;
}