/* ==========================================================================
   CSS VARIABLES & DESIGN TOKENS
   ========================================================================== */
   :root {
    /* Brand Colors */
    --color-primary: #065AA9;
    --color-accent: #F99D14;
    --color-accent-dark: #DE5605;
    
    /* Neutrals */
    --color-bg-dark: #0D1B2A;
    --color-bg-light: #F5F5F5;
    --color-bg-white: #FFFFFF;
    
    --color-text-main: #333333;
    --color-text-muted: #555555;
    --color-text-light: #E2E2E2;
    --color-text-white: #FFFFFF;
    
    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Core Layout Tokens */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-medium: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
    
    --header-height: 100px;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--color-text-main);
    background-color: var(--color-bg-white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: inherit;
    margin-bottom: 0.5rem;
}

p {
    margin-bottom: 1rem;
}

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

a:hover {
    color: var(--color-accent);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.text-center { text-align: center; }
.text-white { color: var(--color-text-white) !important; }
.mb-4 { margin-bottom: 1.5rem; }
.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 1.5rem; }

/* ==========================================================================
   LAYOUT
   ========================================================================== */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 5rem 0;
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    font-family: var(--font-body);
    font-weight: 600;
    border-radius: var(--radius-sm);
    cursor: pointer;
    text-align: center;
    transition: all var(--transition-fast);
    border: 2px solid transparent;
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.btn-block {
    display: block;
    width: 100%;
    padding: 1rem;
    font-size: 1.1rem;
}

.btn-primary {
    background-color: var(--color-accent);
    color: var(--color-bg-dark) !important;
    border-color: var(--color-accent);
}

.btn-primary:hover {
    background-color: var(--color-accent-dark);
    border-color: var(--color-accent-dark);
    color: var(--color-text-white) !important;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background-color: transparent;
    color: var(--color-text-white) !important;
    border-color: var(--color-text-white);
}

.btn-secondary:hover {
    background-color: var(--color-text-white);
    color: var(--color-bg-dark) !important;
    transform: translateY(-2px);
}

/* ==========================================================================
   FLOATING WHATSAPP
   ========================================================================== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25D366;
    color: white !important;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    box-shadow: var(--shadow-lg);
    z-index: 1000;
    transition: transform var(--transition-fast);
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

/* ==========================================================================
   GLOBAL HEADER
   ========================================================================== */
.global-header {
    background-color: var(--color-bg-dark);
    position: fixed;
    top: 0;
    width: 100%;
    height: var(--header-height);
    z-index: 999;
    box-shadow: none;
    transition: all var(--transition-medium);
}

/* Sticky scroll state */
.global-header.scrolled {
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    height: 75px;
}

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

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--color-text-white);
    letter-spacing: -0.5px;
}

.logo-accent {
    color: var(--color-accent);
    font-weight: 400;
}

/* Logo image */
.logo-img {
    height: 90px;
    width: auto;
    display: block;
    object-fit: contain;
    transition: height var(--transition-medium), opacity var(--transition-fast);
}

.logo a:hover .logo-img {
    opacity: 0.88;
}

/* Shrink logo slightly when header scrolls */
.global-header.scrolled .logo-img {
    height: 68px;
}

.main-nav {
    display: flex;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: var(--color-text-light);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-accent);
    transition: width var(--transition-medium);
}

.nav-links a:hover {
    color: var(--color-text-white);
}

.nav-links a:hover::after {
    width: 100%;
}

.cta-header {
    padding: 0.5rem 1.25rem;
    font-size: 0.95rem;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--color-text-white);
    font-size: 2rem;
    cursor: pointer;
}

/* ==========================================================================
   SECTION 1: HERO
   ========================================================================== */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 650px;
    display: flex;
    align-items: center;
    background-color: var(--color-bg-dark);
    margin-top: 0; /* Full viewport height */
    padding-top: var(--header-height); /* Offset for fixed header */
    overflow: hidden;
}

.hero-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(13, 27, 42, 0.75); /* Dark semi-transparent layer */
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 800px;
}

.hero-title {
    font-size: clamp(2.2rem, 4.5vw, 3.5rem);
    color: var(--color-text-white);
    margin-bottom: 1.25rem;
    line-height: 1.15;
}

.hero-subtitle {
    font-size: clamp(1.05rem, 2vw, 1.25rem);
    color: var(--color-text-light);
    margin-bottom: 2rem;
    max-width: 650px;
    line-height: 1.5;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* ==========================================================================
   SECTION 2: TRUST BAR
   ========================================================================== */
.trust-bar {
    background-color: var(--color-primary);
    padding: 1.5rem 0;
    color: var(--color-text-white);
}

.trust-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap;
    gap: 1.5rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Firefox */
}

.trust-container::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 500;
    font-size: 0.95rem;
    white-space: nowrap;
}

.trust-item i {
    font-size: 1.5rem;
    color: var(--color-accent);
}

/* ==========================================================================
   SECTION 3: SERVICES OVERVIEW
   ========================================================================== */
.section-header {
    max-width: 700px;
    margin: 0 auto 3rem;
}

.section-title {
    font-size: 2.5rem;
    color: var(--color-bg-dark);
    margin-bottom: 1rem;
}

.section-intro {
    font-size: 1.1rem;
    color: var(--color-text-muted);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.service-card {
    background-color: var(--color-bg-white);
    padding: 2.5rem 2rem;
    border-radius: var(--radius-md);
    border: 1px solid #EAEAEA;
    text-align: center;
    transition: all var(--transition-medium);
}

.service-card:hover {
    border-color: var(--color-accent-dark);
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.service-icon {
    font-size: 3rem;
    color: var(--color-primary);
    margin-bottom: 1.5rem;
    transition: color var(--transition-fast);
}

.service-card:hover .service-icon {
    color: var(--color-accent-dark);
}

.service-title {
    font-size: 1.25rem;
    color: var(--color-bg-dark);
    margin-bottom: 1rem;
}

.service-desc {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    margin: 0;
}

.text-link {
    display: inline-flex;
    align-items: center;
    font-weight: 600;
    color: var(--color-primary);
}

.text-link:hover {
    color: var(--color-accent-dark);
}

/* ==========================================================================
   SECTION 4: WHY HBO
   ========================================================================== */
.why-section {
    background-color: var(--color-bg-light);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-top: 3rem;
}

.why-column {
    text-align: center;
}

.why-icon {
    width: 80px;
    height: 80px;
    background-color: var(--color-bg-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--color-accent);
    margin: 0 auto 1.5rem;
    box-shadow: var(--shadow-sm);
    border: 2px solid transparent;
    transition: all var(--transition-medium);
}

.why-column:hover .why-icon {
    border-color: var(--color-primary);
    color: var(--color-primary);
    transform: scale(1.05);
}

.why-title {
    font-size: 1.2rem;
    color: var(--color-bg-dark);
    margin-bottom: 1rem;
}

.why-column p {
    color: var(--color-text-muted);
    font-size: 0.95rem;
}

/* ==========================================================================
   SECTION 5: PORTFOLIO PREVIEW
   ========================================================================== */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.portfolio-item {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    aspect-ratio: 4/3;
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-medium);
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(13, 27, 42, 0.6);
    opacity: 0;
    transition: opacity var(--transition-medium);
}

.portfolio-item:hover img {
    transform: scale(1.05);
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

/* ==========================================================================
   SECTION 6: SOCIAL PROOF
   ========================================================================== */
.testimonial-section {
    background-color: var(--color-bg-dark);
    color: var(--color-text-white);
    padding: 6rem 0;
}

.quote-block {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.quote-icon {
    font-size: 3rem;
    color: var(--color-accent);
    margin-bottom: 1.5rem;
    opacity: 0.8;
}

.quote-text {
    font-size: 1.5rem;
    font-style: italic;
    color: var(--color-text-light);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.quote-attribution {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--color-text-white);
}

/* ==========================================================================
   SECTION 7: FINAL CTA
   ========================================================================== */
.cta-section {
    background-color: var(--color-primary);
    padding: 6rem 0;
}

.cta-content {
    max-width: 700px;
    margin: 0 auto;
}

.cta-header-content {
    margin-bottom: 3rem;
}

.cta-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
}

.contact-form {
    background-color: var(--color-bg-white);
    padding: 3rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.form-row {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-row .form-group {
    flex: 1;
    margin-bottom: 0;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-bg-dark);
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    font-family: var(--font-body);
    font-size: 1rem;
    border: 1px solid #D1D5DB;
    border-radius: var(--radius-sm);
    color: var(--color-text-main);
    background-color: #F9FAFB;
    transition: border-color var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(6, 90, 169, 0.1);
}

.select-wrapper {
    position: relative;
}

.select-wrapper select {
    appearance: none;
    padding-right: 2.5rem;
    cursor: pointer;
}

.select-icon {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    color: var(--color-text-muted);
}

.contact-alt {
    color: var(--color-text-light);
    font-size: 0.95rem;
}

.contact-alt a {
    color: var(--color-text-white);
    font-weight: 600;
}

/* ==========================================================================
   GLOBAL FOOTER
   ========================================================================== */
.global-footer {
    background-color: var(--color-bg-dark);
    color: var(--color-text-light);
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    padding: 5rem 20px;
}

.footer-logo {
    display: inline-block;
    margin-bottom: 1rem;
}

.footer-tagline {
    color: var(--color-text-light);
    opacity: 0.8;
}

.footer-title {
    color: var(--color-text-white);
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

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

.footer-links a {
    color: var(--color-text-light);
}

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

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.footer-contact a {
    color: var(--color-text-light);
}

.footer-contact a:hover {
    color: var(--color-text-white);
}

.footer-contact i {
    color: var(--color-accent);
    font-size: 1.25rem;
}

.footer-bottom {
    background-color: rgba(0, 0, 0, 0.2);
    padding: 1.5rem 0;
    font-size: 0.85rem;
    color: rgba(226, 226, 226, 0.7);
}

.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

/* ==========================================================================
   CONTACT PAGE STYLES
   ========================================================================== */
.bg-dark { background-color: var(--color-bg-dark); }
.text-light { color: var(--color-text-light); }

.mx-auto {
    margin-left: auto !important;
    margin-right: auto !important;
}

.page-hero-title {
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--color-text-white);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.page-hero-subtitle {
    font-size: clamp(1rem, 1.5vw, 1.25rem);
    color: var(--color-text-light);
    margin-bottom: 2rem;
    max-width: 600px;
    line-height: 1.6;
}

.page-hero {
    padding-top: calc(var(--header-height) + 4rem);
    padding-bottom: 4rem;
    height: 35vh;
    min-height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-main {
    padding: 5rem 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-form-card {
    background-color: var(--color-bg-white);
    padding: 3rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid #EAEAEA;
}

.btn-submit-large {
    font-size: 1.2rem;
    padding: 1.25rem;
    margin-top: 1rem;
}

.trust-card {
    background-color: var(--color-bg-light);
    padding: 3rem 2.5rem;
    border-radius: var(--radius-md);
    border: 1px solid #EAEAEA;
}

.trust-card-title {
    font-size: 1.5rem;
    color: var(--color-bg-dark);
    margin-bottom: 1.5rem;
}

.steps-list {
    margin-bottom: 2.5rem;
}

.steps-list li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.step-num {
    background-color: var(--color-primary);
    color: var(--color-text-white);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.step-text {
    color: var(--color-text-main);
    font-size: 1.05rem;
    font-weight: 500;
    line-height: 1.4;
    padding-top: 3px;
}

.trust-contact-info {
    border-top: 1px solid #D1D5DB;
    padding-top: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 1.05rem;
    font-weight: 500;
    color: var(--color-bg-dark);
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--color-primary);
}

.contact-item:not(.no-link):hover {
    color: var(--color-accent-dark);
}

.reassurance-bar {
    background-color: var(--color-bg-light);
    padding: 2rem 0;
    border-top: 1px solid #EAEAEA;
}

.reassurance-container {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.r-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 600;
    color: var(--color-bg-dark);
    text-align: center;
}

.r-item i {
    font-size: 1.5rem;
    color: var(--color-accent);
}

/* ==========================================================================
   SERVICES PAGE STYLES
   ========================================================================== */
.services-hero {
    position: relative;
    height: 40vh;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--color-bg-dark);
    margin-top: var(--header-height);
    overflow: hidden;
}

.bg-light-alt {
    background-color: #FAFAFA;
}

.service-detail-section {
    padding: 6rem 0;
}

.service-detail-section:last-child {
    border-bottom: 1px solid #EAEAEA;
}

.service-row {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.service-row.reverse {
    flex-direction: row-reverse;
}

.service-image {
    flex: 1;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 4/3;
    transition: transform var(--transition-medium);
}

.service-image:hover img {
    transform: scale(1.05);
}

.service-content {
    flex: 1;
}

.service-detail-title {
    font-size: 2rem;
    color: var(--color-bg-dark);
    margin-bottom: 1rem;
}

.service-accent-line {
    width: 60px;
    height: 3px;
    background-color: var(--color-accent);
    margin-bottom: 1.5rem;
}

.service-content p {
    font-size: 1.1rem;
    color: var(--color-text-muted);
    margin-bottom: 2rem;
}

.closing-cta {
    padding: 5rem 0;
}

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

.btn-dark-text {
    color: var(--color-bg-dark) !important;
}

/* ==========================================================================
   PORTFOLIO PAGE STYLES
   ========================================================================== */

/* --- Active nav link (current page indicator) --- */
.nav-links a.nav-active-link {
    color: var(--color-text-white);
}
.nav-links a.nav-active-link::after {
    width: 100%;
}

/* --- Portfolio Page Hero --- */
.portfolio-page-hero {
    position: relative;
    height: 35vh;
    min-height: 300px;
    background-color: var(--color-bg-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: var(--header-height);
    overflow: hidden;
}

.portfolio-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(6, 90, 169, 0.15) 0%,
        rgba(13, 27, 42, 0.95) 100%
    );
    z-index: 1;
}

.portfolio-hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
}

.portfolio-hero-eyebrow {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: 0.75rem;
}

.portfolio-hero-title {
    font-size: clamp(2.2rem, 4vw, 3.5rem);
    color: var(--color-text-white);
    margin-bottom: 0.75rem;
    line-height: 1.1;
}

.portfolio-hero-sub {
    font-size: 1.1rem;
    color: rgba(226, 226, 226, 0.8);
    margin: 0;
    max-width: 520px;
}

/* --- Sticky Filter Bar --- */
.filter-bar-wrapper {
    position: sticky;
    top: var(--header-height);
    background-color: var(--color-bg-white);
    z-index: 100;
    padding: 1.25rem 0;
    border-bottom: 1px solid #EAEAEA;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
    transition: top var(--transition-medium);
}

/* Aligns with squished sticky header on scroll */
body:has(.global-header.scrolled) .filter-bar-wrapper {
    top: 70px;
}

.filter-bar {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.filter-btn {
    background-color: var(--color-bg-white);
    color: var(--color-primary);
    border: 1.5px solid var(--color-primary);
    padding: 0.45rem 1.35rem;
    border-radius: 50px;
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all var(--transition-fast);
    user-select: none;
}

.filter-btn:hover {
    background-color: rgba(6, 90, 169, 0.06);
    transform: translateY(-1px);
}

.filter-btn.active {
    background-color: var(--color-primary);
    color: var(--color-text-white);
    border-color: var(--color-primary);
    box-shadow: 0 4px 12px rgba(6, 90, 169, 0.3);
}

/* --- Gallery Section --- */
.portfolio-gallery {
    padding: 3.5rem 0 6rem;
    background-color: #F8F9FB;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem 1.75rem;
}

/* Card show/hide transitions */
.gallery-card {
    transition: opacity 0.3s ease, transform 0.3s ease;
    transform: translateY(0);
    opacity: 1;
}

.gallery-card.hide {
    display: none;
}

.gallery-card.visible {
    display: block;
    animation: cardFadeIn 0.35s ease forwards;
}

@keyframes cardFadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Image wrapper */
.gallery-image-wrapper {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    aspect-ratio: 4/3;
    margin-bottom: 0.9rem;
    background-color: #DDE1E8;
    box-shadow: var(--shadow-sm);
    transition: box-shadow var(--transition-medium);
}

.gallery-card:hover .gallery-image-wrapper {
    box-shadow: var(--shadow-lg);
}

.gallery-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: block;
}

/* Hover overlay (visual only, no text) */
.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        transparent 40%,
        rgba(13, 27, 42, 0.45) 100%
    );
    opacity: 0;
    transition: opacity var(--transition-medium);
}

.gallery-card:hover .gallery-image-wrapper img {
    transform: scale(1.07);
}

.gallery-card:hover .gallery-overlay {
    opacity: 1;
}

/* Category tag (always visible on image, top-left) */
.gallery-category-tag {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    background-color: rgba(13, 27, 42, 0.72);
    color: var(--color-text-white);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 0.25rem 0.65rem;
    border-radius: var(--radius-sm);
    z-index: 3;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border: 1px solid rgba(255,255,255,0.12);
}

/* Caption */
.gallery-caption {
    color: #656565;
    font-size: 0.875rem;
    margin: 0;
    font-weight: 500;
    letter-spacing: 0.1px;
    transition: color var(--transition-fast);
}

.gallery-card:hover .gallery-caption {
    color: var(--color-bg-dark);
}

/* Empty state */
.gallery-empty {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 5rem 2rem;
    color: var(--color-text-muted);
    gap: 1rem;
}

.gallery-empty i {
    font-size: 3rem;
    color: #C5CBD2;
}

.gallery-empty p {
    margin: 0;
    font-size: 1.05rem;
    line-height: 1.6;
}

.gallery-empty a {
    font-weight: 600;
    color: var(--color-primary);
}

/* --- Portfolio Closing CTA --- */
.portfolio-cta {
    background-color: var(--color-primary);
    padding: 5rem 0;
}

.portfolio-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}

.portfolio-cta-title {
    font-size: clamp(2rem, 3.5vw, 2.75rem);
    color: var(--color-text-white);
    margin-bottom: 0.5rem;
}

.portfolio-cta-sub {
    font-size: 1.1rem;
    color: rgba(226, 226, 226, 0.85);
    margin: 0;
}

/* Accent button variant (orange, dark text) */
.btn-accent {
    background-color: var(--color-accent);
    color: var(--color-bg-dark) !important;
    border-color: var(--color-accent);
    white-space: nowrap;
    flex-shrink: 0;
}

.btn-accent:hover {
    background-color: var(--color-accent-dark);
    border-color: var(--color-accent-dark);
    color: var(--color-text-white) !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(249, 157, 20, 0.4);
}

/* ==========================================================================
   ABOUT PAGE STYLES
   ========================================================================== */

/* --- About Hero --- */
.about-hero {
    position: relative;
    height: 40vh;
    min-height: 340px;
    background-color: var(--color-bg-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: var(--header-height);
    overflow: hidden;
}

.about-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        160deg,
        rgba(6, 90, 169, 0.18) 0%,
        rgba(13, 27, 42, 0.97) 100%
    );
    z-index: 1;
}

/* Subtle grid texture overlay */
.about-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 39px,
        rgba(255, 255, 255, 0.02) 39px,
        rgba(255, 255, 255, 0.02) 40px
    ),
    repeating-linear-gradient(
        90deg,
        transparent,
        transparent 39px,
        rgba(255, 255, 255, 0.02) 39px,
        rgba(255, 255, 255, 0.02) 40px
    );
    z-index: 1;
}

.about-hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
}

.about-hero-eyebrow {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: 0.75rem;
}

.about-hero-title {
    font-size: clamp(2rem, 4vw, 3.25rem);
    color: var(--color-text-white);
    margin-bottom: 1rem;
    line-height: 1.15;
    max-width: 760px;
}

.about-hero-sub {
    font-size: 1.05rem;
    color: rgba(226, 226, 226, 0.78);
    margin: 0;
    max-width: 600px;
    line-height: 1.7;
}

/* --- Meet Jhonny Section --- */
.meet-jhonny-section {
    padding: 6rem 0;
}

.jhonny-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 5rem;
    align-items: center;
}

/* Photo column */
.jhonny-photo-col {
    position: relative;
}

.jhonny-photo-wrapper {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    aspect-ratio: 3/4;
    background-color: var(--color-primary);
}

.jhonny-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
    transition: transform 0.5s ease;
}

.jhonny-photo-wrapper:hover .jhonny-photo {
    transform: scale(1.03);
}

/* Placeholder shown when real photo not available */
.jhonny-photo-placeholder {
    width: 100%;
    height: 100%;
    background-color: var(--color-primary);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 2rem;
    text-align: center;
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
    font-weight: 500;
}

.jhonny-photo-placeholder i {
    font-size: 5rem;
    color: rgba(255,255,255,0.4);
}

/* Credential badge overlaid on photo */
.jhonny-photo-badge {
    position: absolute;
    bottom: 1.25rem;
    left: 1.25rem;
    right: 1.25rem;
    background-color: rgba(13, 27, 42, 0.88);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-md);
    padding: 0.85rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--color-text-white);
    font-size: 0.85rem;
    font-weight: 500;
}

.jhonny-photo-badge i {
    font-size: 1.35rem;
    color: var(--color-accent);
    flex-shrink: 0;
}

/* Text column */
.about-eyebrow {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: 0.6rem;
}

.jhonny-heading {
    font-size: clamp(2rem, 3vw, 2.75rem);
    color: var(--color-bg-dark);
    margin-bottom: 1.25rem;
    line-height: 1.1;
}

.jhonny-accent-line {
    width: 50px;
    height: 3px;
    background-color: var(--color-accent);
    margin-bottom: 2rem;
    border-radius: 2px;
}

.jhonny-body p {
    font-size: 1.05rem;
    color: var(--color-text-muted);
    line-height: 1.8;
    margin-bottom: 1.25rem;
}

.jhonny-body p:last-child {
    margin-bottom: 0;
    font-style: italic;
    color: var(--color-bg-dark);
    font-weight: 500;
}

.jhonny-attribution {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--color-text-muted);
    margin-top: 2rem;
    margin-bottom: 2.5rem;
    border-left: 3px solid var(--color-accent);
    padding-left: 1rem;
}

/* --- Credentials Section --- */
.credentials-section {
    padding: 6rem 0;
    background-color: #F5F5F5;
}

.credentials-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}

.credential-card {
    background-color: var(--color-bg-white);
    border: 1px solid #EAEAEA;
    border-radius: var(--radius-md);
    padding: 2rem 2.25rem;
    display: flex;
    align-items: center;
    gap: 1.25rem;
    transition: box-shadow var(--transition-medium), transform var(--transition-medium);
}

.credential-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.credential-icon {
    font-size: 2rem;
    color: var(--color-accent);
    flex-shrink: 0;
    line-height: 1;
}

.credential-text {
    font-size: 1rem;
    font-weight: 500;
    color: var(--color-bg-dark);
    margin: 0;
    line-height: 1.5;
}

/* --- How We Work Section --- */
.how-we-work-section {
    padding: 6rem 0;
    background-color: var(--color-bg-white);
}

.principles-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem 3rem;
    margin-top: 3.5rem;
}

.principle-card {
    padding: 2.5rem 2rem;
    border-radius: var(--radius-md);
    border: 1px solid #EAEAEA;
    border-left: 4px solid var(--color-primary);
    background-color: #FAFAFA;
    transition: all var(--transition-medium);
}

.principle-card:hover {
    background-color: var(--color-bg-white);
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
    border-left-color: var(--color-accent);
}

.principle-title {
    font-size: 1.3rem;
    color: var(--color-primary);
    margin-bottom: 0.85rem;
    font-weight: 700;
    transition: color var(--transition-fast);
}

.principle-card:hover .principle-title {
    color: var(--color-accent-dark);
}

.principle-desc {
    font-size: 1rem;
    color: var(--color-text-muted);
    line-height: 1.75;
    margin: 0;
}

/* --- About Closing CTA --- */
.about-cta-section {
    background-color: var(--color-primary);
    padding: 6rem 0;
}

.about-cta-inner {
    max-width: 680px;
    margin: 0 auto;
}

.about-cta-title {
    font-size: clamp(2rem, 3.5vw, 2.75rem);
    color: var(--color-text-white);
    margin-bottom: 0.75rem;
}

.about-cta-sub {
    font-size: 1.1rem;
    color: rgba(226, 226, 226, 0.85);
    margin-bottom: 2.5rem;
}

/* ==========================================================================
   MEDIA QUERIES
   ========================================================================== */
@media (max-width: 992px) {
    .services-grid,
    .why-grid,
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-container {
        grid-template-columns: 1fr 1fr;
    }

    /* About page tablet */
    .jhonny-grid {
        gap: 3rem;
    }

    .credentials-grid,
    .principles-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links, .cta-header {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }
    
    /* Navigation visible state added by JS */
    .nav-active .nav-links {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: var(--header-height);
        left: 0;
        width: 100%;
        background-color: var(--color-bg-dark);
        padding: 2rem;
        gap: 1.5rem;
        border-top: 1px solid rgba(255,255,255,0.1);
        text-align: center;
        box-shadow: var(--shadow-lg);
    }

    .nav-active.scrolled .nav-links {
        top: 70px;
    }
    
    .header-container {
        position: relative;
    }
    
    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 30px;
        bottom: 20px;
        right: 20px;
    }

    .reassurance-container {
        gap: 1.25rem;
        flex-direction: column;
    }
    
    section {
        padding: 3.5rem 0; /* Reduced padding on mobile */
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-buttons .btn {
        width: 100%; /* Full width buttons on mobile banners */
    }
    
    .trust-container {
        justify-content: flex-start;
        padding-bottom: 0.5rem; /* Optional: for scrolling spacing */
    }
    
    .services-grid,
    .why-grid,
    .portfolio-grid,
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        flex-direction: column;
        gap: 0;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .service-row, 
    .service-row.reverse {
        flex-direction: column;
        gap: 2rem;
    }
    
    .container-flush-mobile {
        padding-left: 0;
        padding-right: 0;
    }
    
    .container-flush-mobile .service-content {
        padding-left: 20px;
        padding-right: 20px;
    }
    
    .container-flush-mobile .service-image img {
        border-radius: 0; /* Remove border-radius if any to flush to screen edge */
        width: 100%;
    }
    
    .footer-bottom-inner {
        flex-direction: column;
        text-align: center;
    }

    /* Portfolio page responsive */
    .portfolio-cta-inner {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .portfolio-hero-content {
        padding-bottom: 2.5rem;
    }

    .filter-bar {
        gap: 0.5rem;
        flex-wrap: nowrap;
        overflow-x: auto;
        justify-content: flex-start;
        padding-bottom: 0.5rem;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .filter-bar::-webkit-scrollbar {
        display: none;
    }
    
    .filter-bar::after {
        content: "";
        padding-right: 1px; /* ensures a bit of right scroll padding */
    }

    .filter-btn {
        padding: 0.4rem 1rem;
        font-size: 0.85rem;
        white-space: nowrap; /* Prevent button text breaking */
    }

    /* About page mobile */
    .jhonny-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .jhonny-photo-wrapper {
        aspect-ratio: 4/3;
        max-width: 480px;
        margin: 0 auto;
    }

    .about-hero-title {
        font-size: 1.85rem;
    }

    .about-hero-content {
        padding-bottom: 2.5rem;
    }

    .credentials-grid,
    .principles-grid {
        grid-template-columns: 1fr;
    }

    .credential-card {
        padding: 1.5rem 1.5rem;
    }

    .meet-jhonny-section {
        padding: 4rem 0;
    }
}

/* ==========================================================================
   LIGHTBOX
   ========================================================================== */
.lightbox {
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 9999;
    padding-top: 5vh;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(13, 27, 42, 0.95);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    opacity: 0;
    transition: opacity var(--transition-medium);
}

.lightbox.show {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 1;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
    z-index: 10000;
}

.lightbox-close:hover,
.lightbox-close:focus {
    color: var(--color-accent);
    text-decoration: none;
    cursor: pointer;
}

.lightbox-content-wrapper {
    position: relative;
    max-width: 90%;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.lightbox-content {
    margin: auto;
    display: block;
    max-width: 100%;
    max-height: 75vh;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    object-fit: contain;
    transform: scale(0.9);
    transition: transform var(--transition-medium);
}

.lightbox.show .lightbox-content {
    transform: scale(1);
    animation: zoom 0.3s ease-in-out;
}

.lightbox-caption {
    margin-top: 1rem;
    text-align: center;
    color: #FFF;
    font-size: 1.1rem;
    font-weight: 500;
    max-width: 800px;
}

@keyframes zoom {
    from {transform:scale(0.9)}
    to {transform:scale(1)}
}

/* Make gallery images look clickable */
.gallery-image-wrapper {
    cursor: pointer;
}
