/* MASTER STYLE SHEET: Applied Virtual Technology
   Global variables and base styles.
*/

/* ============================================================
   LOCAL FONT REGISTRATION
   ============================================================ */
/* @font-face {
    font-family: 'Inter';
    src: url('assets/fonts/Inter-VariableFont_slnt,wght.ttf') format('truetype');
    font-weight: 100 900;
    font-style: normal;
}

@font-face {
    font-family: 'Roboto';
    src: url('assets/fonts/Roboto-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Roboto';
    src: url('assets/fonts/Roboto-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
} */

/* ============================================================
   LOCAL FONT REGISTRATION - CORRECTED
   ============================================================ */

/* Inter - Regular (400) */
@font-face {
    font-family: 'Inter';
    src: url('assets/fonts/Inter-400.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

/* Inter - Bold (700) */
@font-face {
    font-family: 'Inter';
    src: url('assets/fonts/Inter-700.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}

/* Roboto - Regular (400) */
@font-face {
    font-family: 'Roboto';
    src: url('assets/fonts/Roboto-400.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

/* Roboto - Bold (700) */
@font-face {
    font-family: 'Roboto';
    src: url('assets/fonts/Roboto-700.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}

:root {
    /* COLORS */
    --GLOBAL-NAVY: #002856;
    --GLOBAL-GOLD: #FFB71B;
    --GLOBAL-BG-GRAY: #E5EAE7;
    --GLOBAL-TEXT-WHITE: #F9FAFB;
    --GLOBAL-TEXT-BLACK: #333333;

    /* LAYOUT & SPACING */
    --GLOBAL-MAX-WIDTH: 1400px;
    --GLOBAL-GUTTER: 40px;
    --GLOBAL-MARGIN-DESKTOP: 5%;
    --GLOBAL-MARGIN-TABLET-MOBILE: 5%;
    --GLOBAL-SECTION-PADDING-V: 100px; /* Average of 80-120px */
    --GLOBAL-HERO-PADDING-V: 150px;
    --GLOBAL-FIRST-SECTION-OFFSET: 100px; /* To clear fixed header */

    /* COMPONENTS */
    --GLOBAL-HEADER-HEIGHT: 100px;
    --GLOBAL-FOOTER-HEIGHT: 380px;
}

/* ============================================================
   ICON SIZE PROTECTION (Prevents SVG blowouts)
   ============================================================ */
.apart-icon img, 
.consider-card-icon img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
}

.apart-icon img { 
    max-width: 36px; 
}

.footer-icon { 
    max-width: 18px; 
}

.consider-card-icon img { 
    max-width: 45px; 
}

/* ============================================================
   BASE FOUNDATION
   ============================================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Roboto', sans-serif;
    color: var(--GLOBAL-TEXT-BLACK);
    background-color: #FFFFFF;
    line-height: 1.6;
    overflow-x: hidden;
}

/* ============================================================
   CONTAINER
   ============================================================ */
.container {
    width: 100%;
    max-width: var(--GLOBAL-MAX-WIDTH);
    margin: 0 auto;
    padding: 0 var(--GLOBAL-MARGIN-DESKTOP);
}

/* ============================================================
   SITE TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Inter', sans-serif; /* Uses your local Inter font */
    color: var(--GLOBAL-NAVY);
    line-height: 1.2;
}

/* H1 Hero - Responsive */
h1 {
    font-weight: 800;
    font-size: clamp(32px, 5vw, 64px); 
}

h2 { font-weight: 700; font-size: 36px; margin-bottom: 1.5rem; }
h3 { font-weight: 600; font-size: 28px; margin-bottom: 1.2rem; }
h4 { font-weight: 600; font-size: 22px; }
h5 { font-weight: 500; font-size: 18px; }
h6 { font-weight: 700; font-size: 14px; text-transform: uppercase; letter-spacing: 0.1em; }

p {
    font-family: 'Roboto', sans-serif; /* Uses your local Roboto font */
    font-weight: 400;
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 1.2rem;
}

/* ============================================================
   SITE HEADER
   ============================================================ */
header.global-header {
    height: var(--GLOBAL-HEADER-HEIGHT);
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    background-color: var(--GLOBAL-NAVY);
    display: flex;
    align-items: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.header-container {
    width: 100%;
    max-width: var(--GLOBAL-MAX-WIDTH);
    margin: 0 auto;
    padding: 0 var(--GLOBAL-MARGIN-DESKTOP);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

/* ============================================================
   SITE LOGO
   ============================================================ */
.logo-section {
    flex-shrink: 0;
}

.logo {
    height: 60px;
    width: auto;
}

/* ============================================================
   SITE NAVIGATION
   ============================================================ */
.nav-menu {
    display: flex; 
    align-items: center;
    gap: 32px;
    flex-grow: 1;
}

.nav-link {
    color: var(--GLOBAL-TEXT-WHITE);
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    transition: color 0.3s ease;
    cursor: pointer;
}

.nav-link:hover {
    color: var(--GLOBAL-GOLD);
}

/* Highlights the link for the page the user is currently on */
.nav-link.active, 
.mobile-nav-link.active {
    color: var(--GLOBAL-GOLD); /* Or whatever highlight color you prefer */
    font-weight: 700;          /* Optional: make it bold so it stands out */
}

/* ============================================================
   SITE CTA BUTTONS
   ============================================================ */
.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-shrink: 0;
    background-color: var(--GLOBAL-GOLD);
    color: var(--GLOBAL-NAVY);
    border: none;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 700;
    border-radius: 4px;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s ease;
    text-decoration: none;
}

.cta-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: inherit;
}

.cta-icon svg {
    display: block;
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.cta-button:hover {
    background-color: var(--GLOBAL-GOLD);
    color: var(--GLOBAL-TEXT-WHITE);
}

/* ============================================================
   SITE MOBILE MENU
   ============================================================ */
.mobile-menu-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
    align-items: center;
    justify-content: center;
}

.mobile-menu-toggle svg {
    width: 32px;
    height: 32px;
    color: #FFFFFF;
}

.mobile-menu-overlay {
    display: none;
    position: absolute;
    top: calc(var(--GLOBAL-HEADER-HEIGHT) + 8px);
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--GLOBAL-NAVY);
    z-index: 1100;
    padding: 8px 0;
    border-radius: 12px;
    min-width: 220px;
    max-width: calc(100vw - 40px);
    box-shadow: 0 16px 30px rgba(0, 0, 0, 0.22);
}

.mobile-menu-overlay.open {
    display: block;
}

/* ============================================================
   SITE MOBILE NAVIGATION LINKS
   ============================================================ */
.mobile-nav {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    width: 100%;
}

.mobile-nav-link {
    display: block;
    color: var(--GLOBAL-TEXT-WHITE);
    text-decoration: none;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 500;
    padding: 16px 24px;
    transition: color 0.2s ease, background-color 0.2s ease;
}

.mobile-nav-link:hover {
    color: var(--GLOBAL-GOLD);
    background-color: rgba(255, 183, 27, 0.08);
}

/* ============================================================
   HOME - HERO SECTION
   ============================================================ */
.hero-section {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    background-image: url("assets/images/Cabin.webp");
    background-size: cover;
    background-position: center center;
    background-attachment: fixed;
    color: var(--GLOBAL-TEXT-WHITE);
    visibility: hidden; /* Hide it completely at first */
}

.hero-section.visible {
    visibility: visible; /* Show it once the image is ready */
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 70% 120% at 20% 50%, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.4) 35%, transparent 70%);
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
}

.hero-copy {
    max-width: 720px;
}

.hero-title {
    font-size: clamp(40px, 4vw, 56px);
    line-height: 1.05;
    margin-bottom: 1.2rem;
    text-shadow: 2px 2px 15px rgba(0, 0, 0, 0.7);
    color: #FFF;
}

.hero-title span {
    display: block;
}

.hero-subheading {
    font-weight: 600;
    color: var(--GLOBAL-TEXT-WHITE);
    margin-bottom: 1.4rem;
    font-size: 20px;
}

.hero-body-copy {
    font-size: 18px;
    line-height: 1.6;
    max-width: 600px;
    margin-bottom: 36px;
    color: #FFF;
}

.hero-button {
    display: inline-flex;
    background-color: var(--GLOBAL-NAVY);
    color: var(--GLOBAL-TEXT-WHITE);
    text-decoration: none;
    padding: 14px 28px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 14px;
    transition: color 0.3s ease;
}

.hero-button:hover {
    color: var(--GLOBAL-GOLD);
}

/* Offset for first section */
.main-content {
    margin-top: var(--GLOBAL-FIRST-SECTION-OFFSET);
}

/* ============================================================
   HOME -ABOUT OUR COMPANY SECTION
   ============================================================ */
.about-section {
    padding: var(--GLOBAL-SECTION-PADDING-V) 0;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 60px;
    align-items: center;
}

.about-image {
    width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
}

.about-content h2 {
    font-size: 36px;
    margin-bottom: 0.75rem;
}

.about-content h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.about-content p {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.about-values-list {
    list-style: none;
    margin-bottom: 2rem;
    display: grid;
    gap: 0.85rem;
}

.about-values-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 18px;
}

.checkmark-icon {
    color: var(--GLOBAL-GOLD);
    margin-top: 4px;
}

.about-button {
    display: inline-flex;
    background-color: var(--GLOBAL-NAVY);
    color: var(--GLOBAL-TEXT-WHITE);
    text-decoration: none;
    padding: 14px 28px;
    border-radius: 4px;
    font-weight: 700;
    transition: color 0.2s ease;
}

.about-button:hover {
    color: var(--GLOBAL-GOLD);
}

/* ============================================================
   HOME - WHAT SETS US APART SECTION
   ============================================================ */
.apart-section {
    padding: var(--GLOBAL-SECTION-PADDING-V) 0;
    background-color: #E5EAE7;
}

.apart-header {
    text-align: center;
    margin-bottom: 60px;
}

.apart-header h2 {
    font-size: 36px;
    margin-bottom: 1rem;
}

.apart-header h3 {
    display: block;
    font-size: 24px;
    font-weight: 600;
    color: var(--GLOBAL-NAVY);
    max-width: 650px;
    margin: 0 auto 1.5rem auto;
    text-align: center;
    line-height: 1.4;
}

/* --- THE GRID --- */
.apart-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* --- THE CARDS: Consolidated & High-Contrast --- */
.apart-card {
    background-color: #ffffff;
    padding: 35px;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    
    /* Pronounced Static Shadow for "Pop" */
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.18), 0 5px 15px rgba(0, 0, 0, 0.08);
    
    /* Removed all transitions and hover movement */
    transition: none; 
}

.apart-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    color: var(--GLOBAL-GOLD);
    margin-bottom: 20px;
}

.apart-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
    font-weight: 700;
}

.apart-card p {
    font-size: 16px;
    line-height: 1.6;
    margin: 0;
}

/* ============================================================
   HOME - WHAT TO EXPECT SECTION
   ============================================================ */
.process-section {
    padding: var(--GLOBAL-SECTION-PADDING-V) 0;
    background-color: #FFFFFF;
    position: relative;
}

.process-header {
    text-align: center;
    margin-bottom: 40px;
    width: 100%;
}

/* Target the subheading specifically in the What to Expect section */
.process-header h3 {
    font-size: 24px !important;
    color: var(--GLOBAL-NAVY) !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    letter-spacing: 0px !important;
    margin-bottom: 1.5rem;
    text-align: center;
}

.timeline-container {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding-bottom: 100px; 
}

/* --- Updated Vertical Line (Trimmmed) --- */

.timeline-container::before {
    content: '';
    position: absolute;
    /* Pushing the top down further to meet the first horizontal line */
    top: 228px; 
    /* Pulling the bottom up significantly to meet the last horizontal line */
    bottom: 322px; 
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    border-left: 2px dashed var(--GLOBAL-GOLD);
    z-index: 1;
}

.timeline-step {
    display: flex;
    flex-direction: column-reverse; 
    align-items: center;
    width: 44%; 
    position: relative;
    z-index: 2;
    margin-top: -120px; 
}

.timeline-step:first-child {
    margin-top: 0;
}

.timeline-step:nth-child(odd) {
    margin-right: auto;
}

.timeline-step:nth-child(even) {
    margin-left: auto;
    margin-top: -160px; 
}

.step-icon-box {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-bottom: 10px;
    background: #FFFFFF; 
    padding: 20px 0; 
}

.process-svg {
    width: 150px; 
    height: auto;
}

.step-content {
    width: 100%;
    text-align: center;
    background: #FFFFFF;
    padding: 10px 15px;
}

.step-content h4 {
    /* Forced Consistency */
    font-size: 22px !important;
    color: var(--GLOBAL-NAVY) !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    letter-spacing: 0px !important;
    text-transform: none !important; /* Prevents accidental All-Caps */
    
    /* Layout properties */
    margin-bottom: 5px;
    position: relative;
    z-index: 15; /* Keeps it above the leader line */
}

.step-content p {
    font-size: 17px;
    line-height: 1.4;
    color: var(--GLOBAL-NAVY);
}

.process-footer {
    text-align: center;
    position: relative;
    z-index: 2;
    margin-top: 40px;
}

/* --- Horizontal Leader Lines (Final Overlay) --- */

.step-content {
    position: relative;
    background: #FFFFFF; /* Hides the vertical line behind the text */
    z-index: 1; /* Sets the base layer for the text block */
}

.step-content::before {
    content: '';
    position: absolute;
    top: 26px; /* Aligns with the center of your h4 */
    width: 80px; /* Physical length of the dash */
    border-top: 2px dashed var(--GLOBAL-GOLD);
    /* This is the secret sauce: it lifts the line ABOVE the white box */
    z-index: 10; 
}

/* For Odd Steps (Left side): Line starts at center, ends INSIDE the box */
.timeline-step:nth-child(odd) .step-content::before {
    /* Moves the line 60px past the right edge of the box to hit center */
    right: -60px; 
}

/* For Even Steps (Right side): Line starts at center, ends INSIDE the box */
.timeline-step:nth-child(even) .step-content::before {
    /* Moves the line 60px past the left edge of the box to hit center */
    left: -60px; 
}

/* ============================================================
   HOME - WHAT TO CONSIDER SECTION
   ============================================================ */
.consider-section {
    padding: var(--GLOBAL-SECTION-PADDING-V) 0;
    /* Updated to match the "What Sets Us Apart" section background */
    background-color: var(--GLOBAL-BG-GRAY); 
}

.consider-header {
    text-align: center; /* Centers the H2 and H3 */
    margin-bottom: 60px;
    width: 100%;
}

.consider-header h2 {
    margin-bottom: 0.5rem;
}

.consider-header h3 {
    font-size: 24px !important;
    color: var(--GLOBAL-NAVY) !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    margin-left: auto;
    margin-right: auto;
    max-width: 700px; /* Keeps the subheading from stretching too wide */
}

.consider-card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.consider-card {
    background: #FFFFFF;
    border-radius: 8px;
    overflow: hidden; 
    text-align: center;
    /* Static shadow to match your high-contrast card style */
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.18), 0 5px 15px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-bottom: 40px;
}

/* The Blue Title Box */
.consider-card-title {
    background-color: var(--GLOBAL-NAVY);
    width: 100%;
    padding: 18px 0;
    margin-bottom: 30px;
}

.consider-card-title h4 {
    color: #FFFFFF !important;
    margin: 0;
    font-size: 16px; /* Slightly smaller for that professional 'label' look */
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

/* Heavier Icons */
.consider-card-icon {
    width: 45px;
    height: 45px;
    color: var(--GLOBAL-GOLD);
    margin-bottom: 25px;
}

.consider-card p {
    font-size: 16px;
    line-height: 1.6;
    color: var(--GLOBAL-TEXT-BLACK);
    padding: 0 35px;
    margin: 0;
}

/* --- Card Body & Stat Highlights --- */
.consider-body {
    padding: 0 30px;
    margin-bottom: 25px;
}

.consider-body p {
    font-size: 15px; /* Slightly smaller to fit more text comfortably */
    line-height: 1.5;
    margin-bottom: 15px; /* Gap between the two paragraphs */
    color: var(--GLOBAL-TEXT-BLACK);
}

.consider-body p:last-child {
    margin-bottom: 0;
}

.consider-stats {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding-top: 10px;
}

/* Global Yellow Larger Font Line */
.stat-percentage {
    color: var(--GLOBAL-GOLD);
    font-size: 24px;
    font-weight: 800;
    font-family: 'Inter', sans-serif;
}

/* Global Blue Slightly Larger Font Line */
.stat-range {
    color: var(--GLOBAL-NAVY);
    font-size: 19px;
    font-weight: 700;
}

/* Card 2 Bullet Styling */
.consider-bullets {
    list-style: none;
    padding: 0;
    margin: 15px 0;
    text-align: center;
}

.consider-bullets li {
    font-size: 15px;
    line-height: 1.6;
    color: var(--GLOBAL-NAVY);
    margin-bottom: 5px;
}

/* Card 3 Cost Calculator Button */
.card-cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background-color: var(--GLOBAL-GOLD);
    color: var(--GLOBAL-NAVY);
    text-decoration: none;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 700;
    border-radius: 4px;
    margin-top: 15px;
    transition: 0.3s ease;
}

.card-cta-button:hover {
    background-color: var(--GLOBAL-GOLD); /* Stays Gold */
    color: #FFFFFF; /* Text turns White */
}

/* Bottom "Discuss Project" Button */
.consider-final-cta {
    text-align: center;
    margin-top: 60px;
    width: 100%;
}

.global-call-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background-color: var(--GLOBAL-NAVY);
    color: #FFFFFF;
    padding: 18px 35px;
    font-weight: 700;
    border-radius: 4px;
    text-decoration: none;
    transition: 0.3s ease;
}

.global-call-button:hover {
    background-color: var(--GLOBAL-NAVY); /* Stays Navy */
    color: var(--GLOBAL-GOLD); /* Text turns Gold */
}

/* Ensure the calculator icon remains hollow and crisp */
.card-cta-button .cta-icon svg {
    width: 18px;
    height: 18px;
    fill: none !important; /* Forces the interior to be hollow */
    stroke: currentColor; /* Matches the text color (Navy or White on hover) */
    stroke-width: 2; /* Keeps the lines thin and professional */
}

/* Maintain gold background on hover as requested */
.card-cta-button:hover {
    background-color: var(--GLOBAL-GOLD) !important;
    color: #FFFFFF !important;
}

/* ==========================================================================
   ABOUT - HERO SECTION
   ========================================================================== */



.about-hero {
    position: relative;
    width: 100%;
    min-height: 500px; 
    background: url('assets/images/avt_Hero-l-About.webp') no-repeat center center;
    background-size: cover;
    display: flex;
    align-items: center;    
    justify-content: center; 
    /* padding: 100px 20px 60px 20px; */
    isolation: isolate;
    z-index: 1;
    visibility: hidden; /* Hide it completely at first */
}
.about-hero.visible {
    visibility: visible; /* Show it once the image is ready */
}

.about-hero::before {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    /* This makes the oval 80% of the width and 40% of the height of the hero */
    background: radial-gradient(80% 40% at center, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0) 100%);
    z-index: -1;
}

.about-hero .container {
    position: relative;
    max-width: 1200px;
    transform: translateY(185px); /* This nudges the text down 40px from center */
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    isolation: isolate;
    z-index: 2;
}

.about-hero h1 {
    color: var(--GLOBAL-TEXT-WHITE);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

.about-hero p {
    color: var(--GLOBAL-TEXT-WHITE);
    font-size: 1.25rem;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto;
}

/* ==========================================================================
   ABOUT - OUR STORY SECTION
   ========================================================================== */
.our-story {
    padding: 100px 0;
    background-color: #f9f9f9; /* Light background to contrast the dark footer/hero */
}

.story-intro {
    text-align: center;
    margin-bottom: 60px;
}

.story-intro h2 {
    font-size: 3rem;
    color: var(--GLOBAL-NAVY);
    margin-bottom: 10px;
    font-weight: 700;
}

.story-intro .subtitle {
    font-size: 1.5rem;
    color: var(--GLOBAL-NAVY);
    font-weight: 600;
    margin-bottom: 100px; 
    display: block; /* Ensures the margin is respected */
}

.story-content {
    display: flex;
    align-items: flex-start;
    gap: 60px; /* Space between text and images */
}

.story-text {
    flex: 1; /* Takes up 50-60% of the width */
}

.story-text h3 {
    font-size: 1.75rem;
    color: var(--GLOBAL-NAVY);
    margin: 40px 0 15px 0;
}

.story-text p {
    line-height: 1.7;
    color: var(--GLOBAL-TEXT-BLACK);
    margin-bottom: 20px;
}

/* .story-images {
    flex: 1;
    position: relative;
    min-height: 500px;
} */

.story-images {
    /* flex: 1; */
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 5; /* This keeps the 'box' height relative to its width */
    max-width: 500px;    /* Prevents the photos from getting too huge on big screens */
    margin-left: 0 auto;
}

.story-grid {
    display: grid;
    /* The 60/40 split */
    grid-template-columns: 1.5fr 1fr; 
    gap: var(--GLOBAL-GUTTER);
    /* gap: 15vw; */
    align-items: start;
    margin-top: 60px;
}

.story-text-col {
    padding-right: 20px; /* Provides a small buffer before the images start */
}

/* .story-image-stage {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 5;
    min-height: 600px;
} */

.story-image-stage {
    position: relative;
    width: 100%;
    /* 1. Remove min-height: 600px */
    /* 2. Add aspect-ratio to make height follow width */
    aspect-ratio: 4 / 5; 
    max-width: 450px;
    margin-left: auto;
}

.photo-group {
    position: relative;
    width: 100%;
    height: 100%;
}

.stack-photo {
    position: absolute;
    width: 85%; /* Prevents them from being too massive */
    height: auto;
    border-radius: 12px; /* Matches your brand's modern feel */
    box-shadow: 0 15px 35px rgba(0,0,0,0.5) !important;
    border: 6px solid #fff; /* The "Polaroid" look from your concept */
}

/* Individual Positioning - Adjust these to taste */
/* .p1 { top: 0; right: 0; z-index: 1; transform: rotate(3deg); }
.p2 { top: 180px; left: -10%; z-index: 3; transform: rotate(-4deg); }
.p3 { top: 380px; right: 5%; z-index: 2; transform: rotate(2deg); } */

/* .p1 { top: 5%; right: 0; z-index: 1; transform: rotate(3deg); }
.p2 { top: 25%; left: 0; z-index: 3; transform: rotate(-4deg); }
.p3 { top: 50%; right: 10%; z-index: 2; transform: rotate(2deg); } */

.p1 { 
    top: 0%; 
    right: 5%; 
    z-index: 1; 
    transform: rotate(4deg); 
}

.p2 { 
    top: 25%; /* Pushes the middle photo down */
    left: -10%; /* Pushes it out to the left */
    z-index: 3; /* Keeps the middle photo on very top */
    transform: rotate(-5deg); 
}

.p3 { 
    top: 55%; /* Pushes the bottom photo further down */
    right: 0%; 
    z-index: 2; 
    transform: rotate(3deg); 
}

/* ==========================================================================
   ABOUT - HOW WE WORK SECTION
   ========================================================================== */
.how-we-work {
    padding: 100px 0;
    background-color: var(--GLOBAL-BG-GRAY);
}

.work-intro {
    text-align: center;
    margin-bottom: 60px;
}

/* Reusing your exact Story Title styles */
.work-intro h2 {
    font-size: 3rem;
    color: var(--GLOBAL-NAVY);
    margin-bottom: 10px;
    font-weight: 700;
}

.work-intro .subtitle {
    font-size: 1.5rem;
    color: var(--GLOBAL-NAVY);
    font-weight: 600;
    margin-bottom: 80px; 
    display: block;
}

.work-grid {
    display: grid;
    /* 1fr (40%) and 1.5fr (60%) ratio */
    grid-template-columns: 1fr 1.5fr; 
    gap: var(--GLOBAL-GUTTER);
    align-items: center; /* Vertically centers image with the text blocks */
}

/* Image Styling - Matches your "Polaroid" border-radius and shadow */
.work-photo {
    width: 100%;
    height: auto;
    border-radius: 4px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.5);
    display: block;
}

/* Text Styling */
.work-item h3 {
    font-size: 1.75rem;
    color: var(--GLOBAL-NAVY);
    margin-bottom: 15px;
}

.work-item p {
    line-height: 1.7;
    color: var(--GLOBAL-TEXT-BLACK);
}

.work-item:not(:last-child) {
    margin-bottom: 40px; /* Space between the two blocks */
}

/* ==========================================================================
   ABOUT - OWNER BIO SECTION
   ========================================================================== */
.owner-bio {
    padding: 100px 0;
    background-color: #FFFFFF; /* White background for contrast */
}

.bio-intro {
    text-align: center;
    margin-bottom: 60px;
}

.bio-intro h2 {
    font-size: 3rem;
    color: var(--GLOBAL-NAVY);
    margin-bottom: 10px;
    font-weight: 700;
}

.bio-intro .subtitle {
    font-size: 1.5rem;
    color: var(--GLOBAL-NAVY);
    font-weight: 600;
    margin-bottom: 80px; 
    display: block;
}

.bio-grid {
    display: grid;
    /* 1.5fr (60%) and 1fr (40%) ratio */
    grid-template-columns: 1.5fr 1fr; 
    gap: var(--GLOBAL-GUTTER);
    align-items: center; 
}

/* Image Styling */
.bio-photo {
    width: 100%;
    height: auto;
    border-radius: 4px; 
    box-shadow: 0 15px 35px rgba(0,0,0,0.5);
    display: block;
}

/* Text Styling */
.bio-text-col p {
    line-height: 1.8; /* Slightly more breathing room for biography text */
    color: var(--GLOBAL-TEXT-BLACK);
    margin-bottom: 25px;
    font-size: 1.1rem; /* Adjust to match your preferred body size */
}

/* ==========================================================================
   ABOUT - FAQ SECTION
   ========================================================================== */
.faq-section {
    padding: 100px 0;
    background-color: var(--GLOBAL-BG-GRAY); /* Matches How We Work */
}

.faq-intro {
    text-align: center;
    margin-bottom: 60px;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* .faq-column h3 {
    font-size: 1.4rem;
    color: var(--GLOBAL-NAVY);
    text-align: center;
    margin-bottom: 30px;
    letter-spacing: 1px;
} */

/* --- FAQ Section Typography --- */
.faq-intro h2 {
    font-family: 'Inter', sans-serif;
    font-size: 3rem;                /* Matches previous section headers */
    color: var(--GLOBAL-NAVY);      /* #002856 */
    margin-bottom: 10px;
    font-weight: 700;               /* Bold Inter weight */
    text-transform: none;           /* Keeping it clean and natural */
}

.faq-intro .subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 1.5rem;              /* Matches previous section sub-headers */
    color: var(--GLOBAL-NAVY);      /* #002856 */
    font-weight: 600;               /* Semi-bold weight */
    margin-bottom: 80px; 
    display: block;
}

/* Category Headers (GETTING STARTED, COSTS, etc.) */
.faq-column h3 {
    font-family: 'Inter', sans-serif;
    font-size: 1.4rem;
    color: var(--GLOBAL-NAVY);
    text-align: center;
    margin-bottom: 30px;
    font-weight: 700;
    letter-spacing: 1px;           /* Subtle spacing for column clarity */
}

/* Individual FAQ Box Styling */
.faq-item {
    background: #FFFFFF;
    border: 3px solid var(--GLOBAL-NAVY);
    border-radius: 4px;
    margin-bottom: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item summary {
    padding: 20px 25px;
    list-style: none; /* Removes default arrow */
    cursor: pointer;
    font-weight: 600;
    color: var(--GLOBAL-NAVY);
    position: relative;
    padding-left: 45px; /* Space for the yellow bar */
}

/* The vertical yellow accent bar */
.faq-item summary::before {
    content: "";
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 25px;
    background-color: var(--GLOBAL-GOLD);
}

/* Remove default marker in Chrome/Safari */
.faq-item summary::-webkit-details-marker {
    display: none;
}

/* Hover Effect: Text turns Gold */
.faq-item summary:hover {
    color: var(--GLOBAL-GOLD);
}

/* Answer Box Styling */
.faq-answer {
    padding: 0 25px 25px 45px;
    border-top: 1px solid #eee;
    background-color: #FFFFFF;
}

/* --- FAQ Link Styling --- */
.faq-answer a {
    color: var(--GLOBAL-NAVY);
    text-decoration: underline;
    font-weight: 600; 
    transition: color 0.3s ease;
}

.faq-answer a:hover {
    color: var(--GLOBAL-GOLD);
}

.faq-answer p {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-top: 15px;
    color: var(--GLOBAL-TEXT-BLACK);
}

/* --- FAQ List Styling --- */
.faq-answer ul {
    list-style-type: disc;      /* Standard bullet point */
    margin: 15px 0;             /* Spacing above and below the list */
    padding-left: 20px;         /* Indents the bullets */
}

.faq-answer li {
    font-size: 0.95rem;         /* Matches your existing p tag size */
    line-height: 1.6;
    color: var(--GLOBAL-TEXT-BLACK);
    margin-bottom: 10px;        /* Spacing between list items */
}

.faq-answer li strong {
    color: var(--GLOBAL-NAVY);  /* Makes the bold text Navy for extra pop */
    font-weight: 700;
}

/* This targets the <li> tags inside your FAQ answers */
.faq-answer li {
    font-weight: 700;             /* Standard bold weight */
    color: var(--GLOBAL-NAVY);    /* Optional: making them Navy helps them pop */
    margin-bottom: 10px;
}

/* Styling specific bold emphasis lines in FAQ */
.faq-answer strong {
    color: var(--GLOBAL-NAVY); /* #002856 from your root variables */
    font-weight: 700;          /* Bold weight */
    display: inline-block;     /* Helps with spacing if needed */
    margin-top: 10px;          /* Optional: adds a little separation */
}


/* ==========================================================================
   SERCICES - HERO SECTION
   ========================================================================== */
.page-hero {
    position: relative;
    width: 100%;
    min-height: 500px; 
    display: flex;
    align-items: center;    
    justify-content: center; 
    isolation: isolate;
    z-index: 1;
}

/* Background unique to Services */
.services-hero {
    background: url('assets/images/avt_Hero-l-Services.webp') no-repeat center center;
    background-size: cover;
}

/* Shared Radial Overlay logic from your About page */
.page-hero::before {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: radial-gradient(100% 70% at center, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.7) 100%);
    z-index: -1;
}

.page-hero .container {
    position: relative;
    max-width: 1200px;
    transform: translateY(50px); /* Matches your exact About page nudge */
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    isolation: isolate;
    z-index: 2;
}

.page-hero h1 {
    color: var(--GLOBAL-TEXT-WHITE);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

.page-hero p {
    color: var(--GLOBAL-TEXT-WHITE);
    font-size: 1.25rem;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto;
}

/* ==========================================================================
   SERVICES - BACKGROUND GRID & STEP 1 SECTION
   ========================================================================== */

/* .graph-paper-bg {
    background-color: #ffffff;
    background-image: 
        linear-gradient(rgba(0, 40, 86, 0.1) 1.5px, transparent 1.5px),
        linear-gradient(90deg, rgba(0, 40, 86, 0.1) 1.5px, transparent 1.5px);
    background-size: 60px 60px;
    padding-bottom: 120px;
} */

.graph-paper-bg {
    background-color: var(--GLOBAL-BG-GRAY);
    background-image: 
        /* MAJOR GRID (Every 5th line) - Darker and slightly thicker */
        linear-gradient(rgba(0, 40, 86, 0.15) 1.5px, transparent 1.5px),
        linear-gradient(90deg, rgba(0, 40, 86, 0.15) 1.5px, transparent 1.5px),
        
        /* MINOR GRID (The 4 lines in between) - Lighter and thinner */
        linear-gradient(rgba(0, 40, 86, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 40, 86, 0.05) 1px, transparent 1px);
    
    /* The first two values are the "1-inch" block, the second two are the "1/5th" blocks */
    background-size: 100px 100px, 100px 100px, 20px 20px, 20px 20px;
    
    padding-bottom: 120px;
}

.services-intro {
    padding: 120px 0 60px;
    text-align: center;
}

.services-intro h2 {
    font-size: 2.8rem;
    color: var(--GLOBAL-NAVY);
    margin-bottom: 20px;
}

.intro-lead {
    font-size: 1.3rem;
    color: var(--GLOBAL-NAVY);
    font-weight: 600;
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Section Card styling based on reference images */
.step-card {
    background: #ffffff;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    padding: 60px;
    border-radius: 8px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
    align-items: start;
    margin-top: 40px;
}

.step-card {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 1);
    border: 1px solid rgba(0, 0, 0, 0.05);
    margin-top: 100px;
}

.step-number {
    font-size: 4rem;
    font-weight: 800;
    color: var(--GLOBAL-NAVY);
    line-height: 1;
    display: block;
    margin-bottom: 10px;
}

.step-text h3 {
    font-size: 2.2rem;
    color: var(--GLOBAL-NAVY);
    margin-bottom: 15px;
}

.step-accent {
    width: 120px;
    height: 4px;
    background: var(--GLOBAL-GOLD);
    margin-bottom: 30px;
}

.step-text h4 {
    margin: 30px 0 20px 0; /* Increased bottom margin to 20px for the "gap" */
    color: var(--GLOBAL-NAVY);
    font-weight: 700;
    font-size: 1.1rem;
}

.step-list {
    list-style: none;
    padding-left: 30px; /* This creates the indentation */
    margin: 0;
}

.step-list li {
    position: relative;
    padding-left: 25px; /* Space between bullet and text */
    margin-bottom: 15px; /* Space between each bullet point */
    font-weight: 500;
    line-height: 1.5;
}

.step-list li::before {
    content: "•";
    color: var(--GLOBAL-GOLD);
    position: absolute;
    left: 0;
    font-size: 1.5rem; /* Makes the bullet slightly more prominent */
    line-height: 1;
    top: -2px; /* Fine-tune vertical alignment of the dot */
}

/* 1. Tell the image column to center its contents vertically */
.step-image {
    display: flex;
    align-items: center; /* This centers the stage vertically */
    justify-content: center;
    height: 100%; /* Ensures it uses the full height of the card */
}

/* 2. Refine the stage */
.service-image-stage {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 5; 
    max-width: 480px;
    /* Remove 'margin: 0 auto' if it was there, Flexbox handles it now */
}

/* --- Services Photo Stacking Stage --- */
/* .service-image-stage {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 5; 
    max-width: 480px;
    margin: 0 auto;
} */

.service-photo-group {
    position: relative;
    width: 100%;
    height: 100%;
}

.stack-photo {
    position: absolute;
    width: 80%; /* Base size for all photos */
    height: auto;
    border-radius: 8px;
    box-shadow: 0 15px 45px rgba(0,0,0,0.2);
    border: 5px solid #fff; /* Polaroid border */
    transition: transform 0.3s ease; /* Fun hover effect later if you want */
}

/* --- Individual Adjustments (The "Knobs") --- */

.s1 { 
    top: 0%; 
    right: 10%;
    width: 50%; 
    z-index: 1; 
    transform: rotate(10deg); 
}

.s2 { 
    top: 20%; 
    left: 10%; 
    width: 50%; /* Making the middle one slightly larger */
    z-index: 2; 
    transform: rotate(-4deg); 
}

.s3 { 
    top: 30%; 
    right: 5%; 
    width: 50%;
    z-index: 3; 
    transform: rotate(3deg); 
}

/* ==========================================================================
   SERVICES - STEP 2 SECTION
   ========================================================================== */
/* --- Dark Mode Modifier --- */
.step-card-dark {
    background: var(--GLOBAL-NAVY);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.3);
    padding-top: 20px;
    padding-bottom: 80px;
    /* display: flex;
    flex-direction: row-reverse;
    min-height: 0; */
    align-items: start;
}

.step-card.step-card-dark {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 1);
    border: 1px solid rgba(0, 0, 0, 0.2);
    margin-top: 100px;
}

.step-card-dark .step-number,
.step-card-dark .step-text h3,
.step-card-dark .step-text p {
    color: var(--GLOBAL-TEXT-WHITE);
}

/* --- Dark Card Image Border --- */
.step-card-dark .stack-photo {
    /* Change the white 'Polaroid' border to your Navy brand color */
    border: 6px solid var(--GLOBAL-NAVY); 
    /* Optional: Adding a slight glow/drop shadow helps navy photos pop on a navy card */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4); 
}

/* --- Zig-Zag Layout (Flipping Columns) --- */
.card-reverse {
    direction: rtl; /* Flips the grid columns */
    grid-auto-flow: dense;
}

/* Ensure the columns themselves are swapped */
.step-card.card-reverse {
    /* This explicitly tells the grid to put the second HTML element 
       (the text) into the first visual column, and vice versa */
    grid-template-columns: 1.2fr 1fr;
    margin-top: 100px;
}

.card-reverse .step-image { grid-area: image; 
    grid-column: 2;
}

.card-reverse .step-text { grid-area: text; 
    grid-column: 1;
}

.card-reverse .step-text, 
.card-reverse .step-image {
    direction: ltr; /* Resets internal text alignment to left-to-right */
}

/* --- Step 02 Image "Knobs" --- */
/* We use .m1, .m2, .m3 so they don't fight with Step 1 (.s1, etc.) */

.m1 { 
    top: 0%; 
    left: 10%; 
    width: 50%; 
    z-index: 1; 
    transform: rotate(0deg); 
}

.m2 { 
    top: 36%; 
    left: 0%; 
    width: 55%; 
    z-index: 2; 
    transform: rotate(0deg); 
}

.m3 { 
    top: 22%; 
    right: -3%; 
    width: 75%; /* The main 3D massing model on top */
    z-index: 3; 
    transform: rotate(0deg); 
}

/* Update your global selector to include Step 2 */
.step-2-section .stack-photo, 
.step-3-section .stack-photo {
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease;
    transform-origin: center center;
    cursor: pointer;
    position: absolute;
}

/* 1. Establish the Baseline for Step 2 */
.step-card-dark .stack-photo {
    z-index: 10;
    position: absolute; /* Ensures they are ready to be layered */
}

/* Add Step 2 Hover & Enlarged states */
/* .step-2-section .stack-photo:hover,
.step-2-section .stack-photo.is-enlarged {
    z-index: 999 !important;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
} */

/* Change lines 1730-1731 in your CSS to this: */
.step-card-dark .stack-photo:hover,
.step-card-dark .stack-photo.is-enlarged {
    z-index: 999 !important;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}

/* Step 2 Custom Scales (Trying 1.30 as a starting point) */
.m1:hover, .s4.is-enlarged { transform: scale(1.30); }
.m2:hover, .s5.is-enlarged { transform: scale(1.30); }
.m3:hover, .s6.is-enlarged { transform: scale(1.30); }

/* ==========================================================================
   SERVICES - STEP 3 SECTION
   ========================================================================== */
/* --- STEP 03: SCHEMATIC DESIGN --- */

/* 1. Global Vertical Separation (100px) */
.step-3-section {
    margin-top: 100px;
}

/* The Card Shadow Effect */
.step-3-section .step-card {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 1); /* Soft, deep shadow for depth */
    border: 1px solid rgba(0, 0, 0, 0.05); /* Subtle border to define the edge */
    margin-top: 100px; /* Consistent spacing with previous sections */
}

/* 2. Step 3 Image Knobs (s7 - s10) */
/* Top Image: Large Perspective House */
.s7 {
    top: 10%;
    left: 0;
    width: 100%;
    z-index: 1;
    border: none;
}

/* Bottom Left: Plan View */
.s8 {
    top: 52%; /* Pushes below the top house image */
    left: 0;
    width: 31%; /* Sized to fit 3-across with small gaps */
    z-index: 2;
    border: none;
}

/* Bottom Middle: Elevation View */
.s9 {
    top: 60%;
    left: 34.5%; /* Positioned in the center */
    width: 31%;
    z-index: 2;
    border: none;
}

/* Bottom Right: Interior Plan */
.s10 {
    top: 52%;
    right: 0;
    width: 31%;
    z-index: 2;
    border: none;
}

/* 1. Global Setup for all photos in Step 3 */
.step-3-section .stack-photo {
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease;
    transform-origin: center center; /* Grows from center */
    cursor: pointer;
    position: absolute; /* Already part of your knob system */
}

/* 2. The Hover State (Desktop) */
.step-3-section .stack-photo:hover {
    z-index: 100; /* Jumps to the front */
    box-shadow: 0 20px 40px rgba(0,0,0,0.3); /* Deeper shadow as it 'lifts' */
}

/* 3. Your Customizable 'Enlarge' Knobs */
/* Tune these percentages to your liking! */

.s7:hover { transform: scale(1.60); }  /* Top House: Subtle growth */
.s8:hover { transform: scale(1.60); }  /* Bottom Left: Larger growth */
.s9:hover { transform: scale(1.60); }  /* Bottom Middle: Larger growth */
.s10:hover { transform: scale(1.60); } /* Bottom Right: Larger growth */

/* This allows the tap to trigger the same effect as the hover */
.stack-photo.is-enlarged {
    z-index: 100;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

/* This allows the tap to trigger the same effect as the hover */
.stack-photo.is-enlarged {
    z-index: 100;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

/* Match your custom scale values for the 'enlarged' class */
.s7.is-enlarged { transform: scale(1.60); }
.s8.is-enlarged { transform: scale(1.60); }
.s9.is-enlarged { transform: scale(1.60); }
.s10.is-enlarged { transform: scale(1.60); }

/* ==========================================================================
   SERVICES - STEP 4 SECTION
   ========================================================================== */
/* The Parent Container */
.step-4-section {
    margin-bottom: 120px !important; /* Adjust this for gap between cards */
    display: block !important;       /* Ensures margin is respected */
    /* position: relative; */
    /* min-height: 5000px; */
    /* padding-bottom: 150px !important;
    height: auto !important; */
}

/* The Card Shadow Effect */
.step-4-section .step-card {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 1); /* Soft, deep shadow for depth */
    border: 1px solid rgba(0, 0, 0, 0.05); /* Subtle border to define the edge */
    margin-top: 100px; /* Consistent spacing with previous sections */
}

/* --- STEP 4 DESKTOP: Adjusting the Bottom Floor --- */

/* This targets the blue card specifically for Step 4 */
.step-4-section .step-card-dark.card-reverse {
    /* Adjust this number to increase/decrease space inside the blue box */
    padding-bottom: 40px !important;
    height: auto !important; 
    
    /* Adjust this to increase space between this card and the next section */
    margin-bottom: 100px !important;
    
    /* This ensures the grid doesn't cap the height */
    min-height: 0 !important;
    align-items: start !important; 
}


/* The Base Rule for all Step 4 Images */
.step-4-section .stack-photo {
    position: absolute !important;
    height: auto;
}

/* Individual Coordinates - All Pure Percentages */
.s11 {
    width: 30%;
    top: 14.2%;
    left: 0%;
    z-index: 1;
    border: none !important;
}

.s12 {
    width: 29%;
    top: 40%;
    left: 0.5%;
    z-index: 2;
    border: none !important;
}

.s13 {
    width: 65%;
    top: 14%;
    left: 33%;
    z-index: 3;
    border: none !important;
}

.s14 {
    width: 65%;
    top: 45%;
    left: 33%;
    z-index: 4;
    border: none !important;
}

/* Hover & Enlarge Logic for Step 4 */
.step-4-section .stack-photo:hover,
.step-4-section .stack-photo.is-enlarged {
    z-index: 999 !important;
    transform: scale(1.60); /* Standard 'pop' for these visuals */
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}

/* ==========================================================================
   SERVICES - STEP 5 SECTION
   ========================================================================== */
/* The Card Shadow Effect */
.step-5-section .step-card {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 1); /* Soft, deep shadow for depth */
    border: 1px solid rgba(0, 0, 0, 0.05); /* Subtle border to define the edge */
    margin-top: 100px; /* Consistent spacing with previous sections */
}

.s15 {
    width: 48%;
    top: 10%;
    left: 0%;
    z-index: 2;
}

.s16 {
    width: 85%;
    top: 25%;
    left: 15%;
    z-index: 1;
}

.s17 {
    width: 65%;
    top: 55%;
    left: 27%;
    z-index: 2;
}

.step-5-section .stack-photo:hover,
.step-5-section .stack-photo.is-enlarged {
    z-index: 999 !important;
    transform: scale(1.60);
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}

/* ============================================================
   RESOURCES - HERO SECTION
   ============================================================ */

/* Base Hero Structure */
.page-hero {
    position: relative;
    width: 100%;
    min-height: 500px; 
    display: flex;
    align-items: center;    
    justify-content: center; 
    isolation: isolate;
    z-index: 1;
}

/* Resources Specific Background */
.resources-hero {
    background: url('assets/images/avt_Hero-Resources.webp') no-repeat center center;
    background-size: cover;
}

/* Vignette Overlay */
.page-hero::before {
    content: "";
    position: absolute;
    top: 10%; left: 0%;
    width: 100%; height: 100%;
    background: radial-gradient(100% 40% at center, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0) 100%);
    z-index: -1;
}

/* Content Container & Nudge */
.page-hero .container {
    position: relative;
    max-width: 1200px;
    transform: translateY(50px); 
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    isolation: isolate;
    z-index: 2;
}

/* Typography */
.page-hero h1 {
    color: var(--GLOBAL-TEXT-WHITE);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1rem; /* Reduced to make room for accent */
    text-transform: uppercase;
}

.page-hero p {
    color: var(--GLOBAL-TEXT-WHITE);
    font-size: 1.25rem;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto;
}

/* ============================================================
   RESOURCES - DIRECTORY SECTION
   ============================================================ */

 .resources-directory {
    padding: 80px 0;
}

.directory-grid {
    display: grid;
    grid-template-columns: 250px 1fr; /* Exact sidebar vs content width */
    gap: 60px;
    align-items: start;
}

/* --- STICKY INDEX (LEFT) --- */
.directory-index {
    position: sticky;
    top: calc(var(--GLOBAL-HEADER-HEIGHT) + 40px); /* Stays below your fixed header */
}

.sticky-nav h3 {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 2px;
    color: var(--GLOBAL-NAVY);
    margin-bottom: 20px;
    border-bottom: 2px solid var(--GLOBAL-GOLD);
    display: inline-block;
    padding-bottom: 4px;
}

.sticky-nav ul {
    list-style: none;
}

.sticky-nav li {
    margin-bottom: 2px; /* Space between links */
}

.sticky-nav a {
    text-decoration: none;
    color: var(--GLOBAL-NAVY);
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 14px;
    transition: color 0.2s ease;
}

/* Hover State: Global Yellow */
.sticky-nav a:hover {
    color: var(--GLOBAL-GOLD);
}

/* --- RESOURCE CONTENT (RIGHT) --- */
/* .resource-category {
    margin-bottom: 60px;
} */

.category-header {
    display: flex;
    align-items: center;
    gap: 15px;
    /* Gray Ribbon Styling */
    background-color: #E0E0E0;
    padding: 10px 20px;
    width: 100%;
    margin-bottom: 0px;
}

/* .category-icon {
    width: 28px;
    height: 28px;
    color: var(--GLOBAL-NAVY);
    flex-shrink: 0;
} */

/* --- 1. GLOBAL ICON STYLING --- */
.category-icon {
    width: 28px;
    height: 28px;
    display: inline-block;

    /* This colors the actual geometry of the Lucide icon */
    stroke: var(--GLOBAL-NAVY); 
    stroke-width: 2px;
    fill: none; /* Ensures the inside of the icon is hollow */

    background: transparent;
    /* -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-size: contain;
    mask-size: contain; */
    flex-shrink: 0;
}

.resource-category {
    margin-bottom: 50px;
    scroll-margin-top: calc(var(--GLOBAL-HEADER-HEIGHT) + 55px); 
}

.resource-category h2 {
    font-family: 'Inter', sans-serif;
    font-weight: 800;
    font-size: 28px;
    color: var(--GLOBAL-NAVY);
    margin-bottom: 0px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.category-divider {
    width: 100%;
    height: 3px;
    background-color: var(--GLOBAL-GOLD);
    margin-bottom: 20px;
}

.resource-links {
    list-style: disc;
    padding-left: 50px;
}

.resource-links li {
    margin-bottom: 5px; /* Space between list items */
    color: var(--GLOBAL-GOLD); /* Bullet color */
}

/* Custom Gold Bullet */
.resource-links li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--GLOBAL-GOLD);
    font-size: 10px;
    /* line-height: 1; */
    /* top: 2px; */
}

.resource-links a {
    text-decoration: none;
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    font-size: 16px;
    color: var(--GLOBAL-TEXT-BLACK);
    transition: color 0.2s ease;
}

/* Hover State: Global Yellow */
.resource-links a:hover {
    color: var(--GLOBAL-GOLD);
}

/* ==========================================================================
   INSPIRATION - HERO SECTION
   ========================================================================== */
.inspiration-hero {
    background: 
        radial-gradient(40% 60% at center, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.2) 100%),
        url('assets/images/avt_Hero-Inspiration.webp') no-repeat center center;
    background-size: cover;
    z-index: -1;
}

/* ==========================================================================
   INSPIRATION - INDEX SECTION
   ========================================================================== */
.inspiration-index {
    position: relative;
    display: block;
    width: 100%;
    /* Keep the !important only if the global hero styles still try to override this */
    padding: 120px 0 80px 0 !important; 
    background-color: #ffffff;
    z-index: 5;
    /* Prevents hero radial gradients from bleeding into this section */
    isolation: isolate; 
}

.index-header {
    text-align: center;
    max-width: 600px;
    /* Top: 80px | Right/Left: auto | Bottom: 60px (or whatever you like) */
    margin: 0px auto 60px auto; 
}

.index-header h2 {
    font-family: 'Inter', sans-serif;
    font-size: 2.5rem;
    color: var(--GLOBAL-NAVY);
    font-weight: 800;
    margin-bottom: 20px;
}

.index-header p {
    font-family: 'Roboto', sans-serif;
    font-size: 1.15rem;
    color: var(--GLOBAL-NAVY); /* Matches the screenshot's cohesive look */
    line-height: 1.6;
    font-weight: 600;
}

/* ==========================================================================
   INSPIRATION - GRID SECTION
   ========================================================================== */

/* --- INSPIRATION GRID --- */
.inspiration-grid {
    display: grid;
    /* Forces 3 equal columns */
    grid-template-columns: repeat(3, 1fr); 
    gap: 60px 40px;
    margin-top: 60px;
}

/* --- BLOG CARD STYLING --- */
.blog-card {
    background-color: #ffffff;
    transition: transform 0.3s ease;
}

.blog-card a {
    text-decoration: none; /* Keeps the title from having a link underline */
}

.blog-image-wrapper {
    width: 100%;
    aspect-ratio: 4 / 3; /* Keeps all card images uniform */
    overflow: hidden;
    margin-bottom: 20px;
    background-color: #f0f0f0;
}

.blog-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* --- CARD CONTENT --- */
.blog-title {
    font-family: 'Inter', sans-serif;
    font-size: 1.5rem;
    color: var(--GLOBAL-NAVY);
    font-weight: 800;
    margin-bottom: 12px;
    padding-bottom: 12px;
    /* The Gold Accent Line */
    border-bottom: 2px solid var(--GLOBAL-GOLD);
    min-height: 4.5rem; /* This forces the title area to always be tall enough for 2 lines */
    display: flex;
    align-items: flex-end;
    line-height: 1.2;        /* Tightens the gap between wrapped lines */
}

.blog-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--GLOBAL-NAVY);
    font-family: 'Roboto', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
}

/* --- HOVER EFFECTS --- */

/* 1. The subtle lift for the whole card */
.blog-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-8px); /* Lifts the card up slightly */
}

/* 2. The image zoom effect */
.blog-image-wrapper {
    overflow: hidden; /* CRITICAL: keeps the zoomed image inside the box */
}

.blog-image-wrapper img {
    transition: transform 0.5s ease; /* Makes the zoom smooth */
}

.blog-card:hover .blog-image-wrapper img {
    transform: scale(1.1); /* Zooms the image in by 10% */
}

/* 3. Optional: Make the gold line "grow" or brighten */
.blog-card:hover .blog-title {
    border-bottom-color: #ffd700; /* A slightly brighter gold on hover */
}

/* ==========================================================================
   INSPIRATION - BLOG ARTICLE PAGE
   ========================================================================== */


   /* ============================================================
   BLOG BREADCRUMBS
   ============================================================ */
.breadcrumb-container {
    padding: .75rem 0%; /* Aligns with your container margins */
    /* background-color: #f9f9f9; */
}

.breadcrumb-list {
    display: flex;
    list-style: none;
    font-size: 0.9rem;
    color: var(--GLOBAL-NAVY);
}

.breadcrumb-item + .breadcrumb-item::before {
    content: "/"; /* The separator */
    padding: 0 10px;
    color: #999;
}

.breadcrumb-item a {
    color: var(--GLOBAL-NAVY);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb-item a:hover {
    color: var(--GLOBAL-GOLD);
}

.breadcrumb-item.active {
    color: #777; /* Current page is not a link */
    font-weight: 600;
}

   /* --- ARTICLE LAYOUT --- */
.back-link-container {
    max-width: 1200px; /* Match your main container width */
    margin: 20px auto;
    padding: 0 20px;
}

.back-link {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    color: var(--GLOBAL-NAVY);
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    transition: color 0.3s ease;
}

.back-link:hover {
    color: var(--GLOBAL-GOLD);
}

/* This ensures the icon also turns gold on hover */
.back-link:hover .article-icon {
    stroke: var(--GLOBAL-GOLD);
}

.back-link span {
    margin-left: 5px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

.article-hero {
    /* Increase bottom padding to push the first row down further */
    padding-bottom: 80px;
    line-height: 1.2; 
}

.article-meta {
    margin-top: 10px; 
    display: flex;
    align-items: center;
    gap: 15px;
    color: var(--GLOBAL-TEXT-BLACK);
}

.meta-icon {
    /* Use 'stroke' for Lucide icons, not 'color' or 'fill' */
    stroke: var(--GLOBAL-NAVY); 
    width: 24px;
    height: 24px;
    stroke-width: 2px;
    vertical-align: middle;
    margin-right: 0px;
}

#article-page {
    /* Adjust this value until the "May 1, 2026" clears the blue header */
    padding-top: 120px; 
}

/* The container for each image/text pair */
.article-row {
    display: flex;
    align-items: center; /* Centers text vertically against the image */
    gap: 80px;           /* Large, airy gap between image and text */
    margin-bottom: 60px; /* Space between each section */
}

/* THE MAGIC: This flips every 2nd row (Row 2, 4, etc.) */
.article-row:nth-child(even) {
    flex-direction: row-reverse;
}

/* Ensure the image and text boxes take up equal 50/50 space */
.article-image, 
.article-text {
    flex: 1;
}

.article-image img {
    width: 100%;
    height: auto;
    display: block;
    /* Optional: add a slight shadow to make images pop off the white background */
    box-shadow: 0 10px 30px rgba(0,0,0,0.5); 
}

/* --- TEXT STYLING --- */

.article-text h2 {
    font-family: 'Inter', sans-serif;
    font-size: 2.2rem;
    color: var(--GLOBAL-NAVY);
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--GLOBAL-GOLD);
    display: inline-block; /* Keeps gold line from stretching full width */
}

.article-text p {
    font-family: 'Roboto', sans-serif;
    line-height: 1.8;
    color: var(--GLOBAL-NAVY);
    font-size: 1.1rem;
}

/* Optional: If the last row feels too close to the footer */
.article-body {
    padding-bottom: 80px;
}

/* .header-icon {
    width: 24px;
    height: 24px;
    display: inline-block;
    stroke-width: 2px;
    fill: none;
    flex-shrink: 0;
} */

/* Target the icon inside the toggle button on hover */
.mobile-menu-toggle:hover .header-icon {
    stroke: var(--GLOBAL-GOLD);
    transition: stroke 0.3s ease; /* Makes the color change feel smooth */
    cursor: pointer;
}

/* Following your Resources logic for color */
.icon-navy {
    stroke: var(--GLOBAL-NAVY);
}

.icon-white {
    stroke: #ffffff;
}

/* ==========================================================================
   CONTACT - HERO SECTION
   ========================================================================== */
.contact-hero {
    background: 
        radial-gradient(40% 60% at center, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.2) 100%),
        url('assets/images/Hero-Contact-.webp') no-repeat center center;
    background-size: cover;
    z-index: -1;
}

/* ==========================================================================
   CONTACT - INFORMATION SECTION
   ========================================================================== */
/* Contact Page Specific Styles */
.contact-info-section {
    padding: 80px 0;
    background-color: #ffffff;
}

/* .contact-grid {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
} */

.contact-grid {
    display: flex;
    justify-content: center; /* Centers the columns together */
    align-items: center;     /* Vertically aligns the text and the list */
    gap: 60px;               /* Increases breathing room around the divider */
    max-width: 700px;       /* Constrains the width for a tighter look */
    margin: 0 auto;          /* Centers the entire block on the page */
}

.contact-col {
    flex: 1;
}

/* Vertical Gold Divider */
.contact-divider {
    width: 4px;
    align-self: stretch; /* Ensures it grows to the height of the content */
    background-color: var(--GLOBAL-GOLD);
    margin: 0 20px;
}

.contact-subheadline {
    color: var(--GLOBAL-NAVY);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.contact-col p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--GLOBAL-NAVY);
}

/* Contact Details Styling */
.contact-details {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.details-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    color: var(--GLOBAL-NAVY);
    font-weight: 500;
}

.details-icon {
    width: 20px;
    height: 20px;
    stroke: var(--GLOBAL-NAVY);
    stroke-width: 2.5px;
    margin-top: 3px; /* Aligns icon with first line of text */
}

/* Contact Page Link Styling */
.contact-protected-link {
    color: var(--GLOBAL-NAVY); /* Default navy to match your text */
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    cursor: pointer;
}

.contact-protected-link:hover {
    color: var(--GLOBAL-GOLD); /* Turns Global Yellow on hover */
    /* text-decoration: underline; */
}

/* ==========================================================================
   SITE FOOTER
   ========================================================================== */
.site-footer {
    background-color: #00264d;
    color: #FFFFFF;
    padding: 60px 0 30px;
    font-family: 'Inter', sans-serif;
}

.site-footer .container {
    max-width: 900px; /* Constrains width for a professional look */
    margin: 0 auto;
    padding: 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.1fr 1fr; 
    gap: 30px; 
    margin-bottom: 50px;
    align-items: start;
}

.footer-col {
    display: flex;
    flex-direction: column;
}

.footer-title {
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 1.5px;
    margin-bottom: 20px;
    text-transform: uppercase; /* Uniform uppercase headers */
    color: #FFFFFF;
}

/* Column 1: Brand/Logo */
.brand-col {
    align-items: center;
    text-align: center;
    padding-top: 5px; /* Visual alignment with other headers */
}

.footer-logo {
    width: 180px;      /* Fixed width ensures visibility */
    height: auto;
    margin-bottom: 12px;
    flex-shrink: 0;    /* Critical fix: prevents logo disappearing in flexbox */
}

.footer-meta {
    font-size: 13px;
    line-height: 1.4;
    margin: 0;
}

/* Column 2: Quick Links */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    color: #FFFFFF;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--GLOBAL-GOLD);
}

/* Maintain footer aesthetics for the protected links */
.footer-protected-link {
    color: white;           /* Or use var(--GLOBAL-WHITE) */
    text-decoration: none;
    cursor: pointer;
}

.footer-protected-link:hover {
    color: var(--GLOBAL-GOLD); /* Provides a nice interactive feedback */
}

/* Column 3: Contact Info & Lucide Icons */
.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-item {
    display: flex;
    align-items: flex-start; /* Keeps icon at the top of multi-line text */
}

.footer-icon {
    width: 18px;
    height: 18px;
    margin-right: 12px;
    stroke: #FFFFFF;   /* Matches footer text color */
    stroke-width: 2px;
    flex-shrink: 0;
    margin-top: 2px;   /* Fine-tuned vertical alignment */
}

.contact-text {
    font-size: 14px;
    line-height: 1.4;
}

/* Column 4: Philosophy Column */
.philosophy-col {
    align-items: center; /* Centers everything horizontally */
    text-align: center;
}

.philosophy-col .footer-title {
    margin-bottom: 6px !important; /* Decreased from 20px */
}

.footer-palm {
    max-width: 45px;
    height: auto;
    margin-bottom: 10px; /* Space above "WHY A PALM TREE" */
}

.philosophy-text {
    font-size: 14px;
    font-weight: 600;
    margin-top: 0px !important;    /* Space under the title */
    margin-bottom: 4px;
    line-height: 1.2;
}

.scripture-ref {
    font-size: 13px;
    font-style: italic;
    opacity: 0.8;
}

/* Privacy Bar */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 25px;
    text-align: center;
}

.footer-bottom p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    max-width: 650px; 
    margin: 0 auto;
}

/* ==========================================================================
   SITE RESPONSIVENESS
   ========================================================================== */
   
/* New Trigger: Hide Timeline Line at 1140px 
   ========================================= */
/* Hide BOTH the vertical and horizontal timeline lines at 1140px */
@media (max-width: 1140px) {
    .timeline-container::before, 
    .timeline-container::after,
    .step-content::before,
    .step-content::after {
        display: none !important;
        content: none !important; /* Forces the browser to ignore the 'empty' space */
    }
}

@media (max-width: 1140px) {
    /* ... keep your line hiding code ... */

    /* .timeline-step, 
    .timeline-step.step-reverse {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        gap: 0 !important;
    } */

    .step-icon-box {
        margin: 0 auto 0px auto !important; /* Forces 0px on bottom */
        padding-bottom: 0 !important;
        height: auto !important;
        min-height: 0 !important;
    }

    .step-content {
        margin-top: -5px !important;
    }

}
   /* Trigger 1: Small Desktop & Laptop (1050px)
   ============================================= */
@media (max-width: 1050px) {

    /* --- 1. THE NAVIGATION "HANDSHAKE" --- */

    /* Hide the desktop word-links to clear space */
    .nav-menu {
        display: none !important;
    }

    /* Show the hamburger toggle immediately at this width */
    .mobile-menu-toggle {
        display: block !important;
    }

    /* --- 2. HEADER CTA ADJUSTMENTS --- */
    
    /* Transform CTA button into a compact circle */
    .global-header .cta-text {
        display: none;
    }

    .global-header .cta-button {
        width: 44px;
        height: 44px;
        padding: 0;
        display: inline-flex;
        justify-content: center;
        align-items: center;
        border-radius: 50%;
        min-width: 44px;
    }

    .global-header .cta-icon {
        margin: 0;
        font-size: 1.2rem;
    }

    /* --- 3. GLOBAL LAYOUT & GRIDS --- */

    .container {
        padding: 0 var(--GLOBAL-MARGIN-TABLET-MOBILE);
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    /* .about-image {
        height: 550px;
        object-fit: cover;
    } */

    .about-image {
        width: 100%;
        height: 450px;       /* Set a comfortable height for tablet viewing */
        object-fit: contain; /* Forces the ENTIRE image to fit inside the 450px box */
        background-color: transparent; /* Ensures no weird borders if the ratio differs */
        display: block;
        margin: 0 auto;
    }

    .apart-grid {
        grid-template-columns: 1fr 1fr;
    }

    .consider-card-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }
}

/* ============================================================
   CONSOLIDATED MOBILE RESPONSIVE (990px and below)
   ============================================================ */
@media (max-width: 990px) {

    /* --- 1. FOOTER MOBILE --- */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .footer-col {
        align-items: center;
    }

    .footer-links li {
        margin-bottom: 12px;
    }

    .contact-item {
        justify-content: center;
        width: 100%;
    }

    .brand-col {
        padding-top: 0;
    }
    
    .footer-logo {
        margin: 0 auto 15px;
    }

    /* --- 2. SERVICE STEPS (01 & 02) --- */
    .step-card {
        display: flex !important;
        flex-direction: column;
        grid-template-columns: 1fr;
        padding: 40px 25px;
    }
    
    .step-image {
        order: -1; 
        display: flex;
        justify-content: center; 
        width: 100%;
        height: auto;
    }

    .service-image-stage {
        margin: 40px auto 20px; 
        max-width: 80%; 
        aspect-ratio: 4 / 3.3; 
    }

    .step-text {
        padding-top: 0;
        text-align: left;
    }

    /* Step 02 Specific (.card-reverse) Overrides */
    .step-card.card-reverse {
        padding: 30px 20px;
    }

    .card-reverse .step-image,
    .card-reverse .step-text {
        grid-column: auto;
    }

    .card-reverse .service-image-stage {
        max-width: 75%;
        aspect-ratio: 4 / 3.2; 
    }

    .card-reverse .step-text {
        margin-top: 20px; /* Reduced from 80px to fix the overlap/gap */
    }

    /* Step 02 Image "Knobs" */
    .card-reverse .m1 { width: 50%; left: 0; top: 0; }
    .card-reverse .m2 { width: 55%; left: 10%; top: 15%; }
    .card-reverse .m3 { width: 70%; right: -2%; top: 10%; }

    /* --- 3. HOW WE WORK --- */
    .work-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .work-image-col {
        max-width: 500px;
        margin: 0 auto;
    }

    /* --- 4. OWNER BIO --- */
    .bio-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: left;
    }
    
    .bio-image-col {
        max-width: 450px;
        margin: 0 auto;
        order: -1;
    }

    /* --- 5. FAQ --- */
    .faq-grid {
        grid-template-columns: 1fr;
    }

    .faq-column {
        margin-bottom: 40px;
    }
/* 1. Expand the stage height on mobile to prevent the 'climb' */
.step-3-section .service-image-stage {
    aspect-ratio: 4 / 3; /* Slightly taller to give the bottom row more room */
    max-width: 90%; /* Scales the group nicely for phone widths */
    margin: 0 auto;
}

/* 2. Lock the Step 3 Knobs for Mobile */
.s7 { top: 0; }
.s8 { top: 58%; } /* Pushed down slightly to counteract the shrinking height */
.s9 { top: 70%; }
.s10 { top: 58%; }

.step-3-section .step-text {
    margin-top: 80px; /* Adjust this to increase or decrease the gap */
    padding-top: 0;
}

} 

/* Trigger 3: Structural Pivot (768px)
   ===================================== */
@media (max-width: 768px) {

    /* --- 1. TIMELINE & PROCESS SECTION --- */

    .timeline-container::before, 
    .step-content::before {
        display: none !important;
    }

    .process-header {
        margin-bottom: 20px;
    }

    .timeline-step, 
    .timeline-step:nth-child(even),
    .timeline-step:nth-child(odd) {
        width: 90%;
        margin: 0 auto 30px auto !important; 
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        margin-top: 0 !important;
    }

    .step-icon-box {
        justify-content: center;
        margin-bottom: 5px;
    }

    .process-svg {
        width: 130px;
        margin: 0 auto;
    }

    .step-content p {
        font-size: 16px;
        line-height: 1.3;
        padding: 5px 10px;
    }

    .process-footer {
        margin-top: 10px;
    }
}

/* ============================================================
   MOBILE RESPONSIVE - OUR STORY (768px Breakpoint)
   ============================================================ */

@media (max-width: 768px) {
    .story-grid {
        /* Switching to flex to allow reordering */
        display: flex;
        flex-direction: column; 
        gap: 40px;
    }

    .story-text-col {
        /* Moves text to the bottom of the stack */
        order: 2; 
        text-align: center;
    }

    .story-image-stage {
        /* Moves photos to the top of the stack */
        order: 1; 
        max-width: 280px; /* Slightly smaller for mobile comfort */
        margin: 0 auto 20px auto; 
        aspect-ratio: 4 / 5;
    }

    /* Keeps the intro text at the very top above the photos */
    /* .story-intro {
        order: 0;
        text-align: center;
        margin-bottom: 0px;
    } */
}

/* Trigger 4: Mobile (600px)
   =========================== */

@media (max-width: 600px) {

    /* --- 1. THE "MOBILE STACK" CENTERED --- */

    /* Ensure all major footer columns are perfectly centered and stacked */
    .footer-col,
    .brand-col,
    .philosophy-col {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        padding-top: 20px; /* Standardized spacing for vertical stack */
    }


    /* --- 2. CONTACT & ADDRESS REFINEMENT --- */

    /* Force all contact details and address blocks to center-align their internal content */
    .contact-item,
    .contact-text,
    .footer-contact p,
    .address-block {
        text-align: center;
        justify-content: center;
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    /* Reset the footer grid specifically for extra-narrow screens */
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media screen and (max-width: 990px) {
    /* 1. Make the section taller to accommodate the vertical stack */
    .step-4-section {
        min-height: 110vw !important; /* Adjust this so the text below doesn't collide */
    }

    /* 2. Dial in the Left Column (Elevation & Floor Plan) */
    .s11 {
        width: 25% !important; /* Larger for mobile */
        top: 9% !important;
        left: 1% !important;
    }

    .s12 {
        width: 27% !important;
        top: 43% !important; /* Move it down the 'stack' */
        left: 0% !important;
    }

    /* 3. Dial in the Right Column (3D Perspectives) */
    .s13 {
        width: 70% !important; /* Takes up more width */
        top: 0% !important;
        left: auto !important;
        right: 0% !important; /* Pin to the right edge */
    }

    .s14 {
        width: 70% !important;
        top: 52% !important;
        left: auto !important;
        right: 0% !important;
    }
}

/* Services - Step 5 Mobile Stack Adjustments */
@media screen and (max-width: 990px) {
    .step-5-section {
        min-height: 110vw !important;
    }

        .s15 {
        width: 40% !important;
        top: 9% !important;
        left: 0% !important;
        z-index: 2;
    }

    .s16 {
        width: 85% !important;
        top: 15% !important;
        left: 8% !important;
        z-index: 1;
    }

    .s17 {
        width: 60% !important;
        top: 55% !important;
        left: 25% !important;
        z-index: 2;
    }
}


/* Trigger 5: Directory & Resources (990px)
   =========================================== */
@media (max-width: 990px) {
    /* Stack the grid into one column */
    .directory-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    /* Make the Index a horizontal sticky bar */
    .directory-index {
        position: sticky;
        top: var(--GLOBAL-HEADER-HEIGHT); /* Stick right below main nav */
        z-index: 100;
        background-color: #F9FAFB; /* Solid background to prevent overlap transparency */
        padding: 20px 15px;
        margin: 0; /* Pull to edges of screen if needed */
    }

    .sticky-nav h3 {
        display: none; /* Hide 'INDEX' title on mobile to save space */
    }

    .sticky-nav ul {
        display: flex;
        /* flex-direction: row; */
        flex-wrap: wrap; /* Allows wrapping to multiple lines if needed */
        justify-content: center;
        /* white-space: nowrap; */
        padding: 0;
        /* -webkit-overflow-scrolling: touch; */
        gap: 10px 20px;
        list-style: none;
    }

    .sticky-nav li {
        margin-bottom: 0;
        display: flex;
        align-items: center;
    }

    /* Vertical Gold Divider Logic */
    .sticky-nav li:not(:last-child)::after {
        content: "";
        width: 1px;
        height: 14px;
        background-color: var(--GLOBAL-GOLD);
        margin-left: 15px;
        flex-shrink: 0;
    }

    .sticky-nav a {
        color: var(--GLOBAL-NAVY); /* White text for contrast on Navy bar */
        font-family: 'Inter', sans-serif;
        font-weight: 500;
        font-size: 12px;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        text-decoration: none;
        transition: color 0.2s ease;
    }

    /* Update landing position so headings aren't hidden by the new sticky bar */
    .resource-category {
        /* Adjust 140px based on Header Height + Index Bar Height */
        scroll-margin-top: 300px; 
    }
    .resources-directory {
        /* INCREASE this to push the Index further down from the Hero */
        padding-top: 20px; 
    }
}
@media (max-width: 600px) {
    /* 1. Push the anchor "landing zone" down further */
    .resource-category {
        /* Adjust this based on your header + wrapped index height */
        /* If it's still overlapping, try 280px or 300px */
        scroll-margin-top: 420px; 
    }
}

/* --- RESPONSIVE GRID LOGIC --- */

/* Tablet View: 1024px and down */
@media (max-width: 1024px) {
    .inspiration-grid {
        grid-template-columns: repeat(2, 1fr); /* Drop to 2 columns */
        gap: 40px 30px;
    }
    
    .index-header {
        max-width: 90%; /* Let the header take more space on smaller screens */
    }
}

/* Mobile View: 768px and down */
@media (max-width: 768px) {
    .inspiration-index {
        padding: 80px 0 60px 0 !important; /* Reduce the big top gap for mobile */
    }

    .inspiration-grid {
        grid-template-columns: 1fr; /* Single column stack */
        gap: 50px; /* More space between stacked cards */
        padding: 0 20px; /* Add some side breathing room */
    }

    .blog-title {
        min-height: auto; /* Titles don't need forced height when stacked vertically */
        font-size: 1.3rem;
    }

    .index-header h2 {
        font-size: 2rem; /* Scale down the main heading */
    }
}

/* --- MOBILE RESPONSIVENESS --- */
@media (max-width: 992px) {
    .article-row {
        gap: 40px; /* Smaller gap for tablets */
    }
}

@media (max-width: 768px) {
    .article-row, 
    .article-row:nth-child(even) {
        flex-direction: column; /* Stacks them vertically on phones */
        margin-bottom: 60px;
    }
    
    .article-text h2 {
        font-size: 1.8rem;
    }
}

/* Mobile Responsive Adjustments */
@media (max-width: 768px) {
    .contact-grid {
        flex-direction: column; /* Stacks the columns vertically */
        align-items: center;    /* Centers both columns horizontally */
        text-align: center;     /* Centers all text within the columns */
        gap: 40px;              /* Space between columns and the line */
    }

    .contact-col {
        width: 100%;
        max-width: 450px;       /* Keeps text from getting too wide on mobile */
    }

    /* Transform the vertical gold divider into a horizontal line */
    .contact-divider {
        width: 60px;            /* Narrower width for the horizontal accent */
        height: 4px;            /* Keeps the same thickness as your hero-accent */
        margin: 0 auto;         /* Centers the line between the segments */
        align-self: center;     /* Ensures flexbox centers the line */
    }

    /* Ensure icons and text stay centered together in the list */
    .details-item {
        justify-content: center; /* Centers the icon + text group */
        text-align: left;        /* Keeps the text block itself readable */
    }

    .contact-subheadline {
        font-size: 1.5rem;      /* Slightly smaller heading for mobile screens */
    }
}