/*!
Theme Name: Minimal Theme
Theme URI: http://underscores.me/
Author: Underscores.me
Author URI: http://underscores.me/
Description: Description
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: minimal-theme
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

Minimal Theme is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

/* ─────────────────────────────────────────
       TOKENS & RESET
    ───────────────────────────────────────── */
            :root {
                --primary: #c59f59;
                --primary-dark: #856b3c;
                --primary-90: rgba(197, 159, 89, 0.9);
                --primary-10: rgba(197, 159, 89, 0.1);
                --bg-light: #f8f7f6;
                --bg-dark: #1e1a14;
                --text-dark: #0f172a; /* slate-900 */
                --text-light: #f1f5f9; /* slate-100 */
                --text-muted-light: #475569; /* slate-600 */
                --text-muted-dark: #94a3b8; /* slate-400 */
                --text-subtle: #64748b; /* slate-500 */
                --border-light: #e2e8f0; /* slate-200 */
                --border-dark: #1e293b; /* slate-800 */
                --white-5: rgba(255, 255, 255, 0.05);
                --white-10: rgba(255, 255, 255, 0.1);
                --white-20: rgba(255, 255, 255, 0.2);
                --slate-50: #f8fafc;
                --slate-900-50: rgba(15, 23, 42, 0.5);
                --radius: 0.25rem;
                --radius-lg: 0.5rem;
                --radius-xl: 0.75rem;
                --radius-full: 9999px;
            }

            *,
            *::before,
            *::after {
                box-sizing: border-box;
                margin: 0;
                padding: 0;
            }

            html {
                scroll-behavior: smooth;
            }

            body {
                font-family: "Inter", sans-serif;
                background-color: var(--bg-light);
                color: var(--text-dark);
                line-height: 1.5;
            }

            img {
                display: block;
                max-width: 100%;
            }
            a {
                text-decoration: none;
                color: inherit;
            }
            ul {
                list-style: none;
            }
            button {
                cursor: pointer;
                font-family: inherit;
                border: none;
            }

            .material-symbols-outlined {
                font-variation-settings:
                    "FILL" 0,
                    "wght" 300,
                    "GRAD" 0,
                    "opsz" 24;
                vertical-align: middle;
            }

            /* ─────────────────────────────────────────
       LAYOUT HELPERS
    ───────────────────────────────────────── */
            .container {
                width: 100%;
                max-width: 1280px;
                margin-left: auto;
                margin-right: auto;
                padding-left: 1.5rem;
                padding-right: 1.5rem;
            }
            /* ─────────────────────────────────────────
       Undo Padding around page Container from Theme
    ───────────────────────────────────────── */
            .ast-single-post.ast-page-builder-template .site-main > article,
            .ast-page-builder-template .post-navigation {
                padding-top: 0em !important;
                padding-left: 0px !important;
                padding-right: 0px !important;
            }
            /* ─────────────────────────────────────────
       HEADER / NAV
    ───────────────────────────────────────── */
            .site-header {
                position: sticky;
                top: 0;
                z-index: 50;
                width: 100%;
                border-bottom: 1px solid rgba(197, 159, 89, 0.1);
                background-color: rgba(248, 247, 246, 0.8);
                backdrop-filter: blur(12px);
                -webkit-backdrop-filter: blur(12px);
            }

            .header-inner {
                display: flex;
                align-items: center;
                justify-content: space-between;
                height: rem; /* h-20 */
            }

            .header-logo img {
                height: 4rem; /* h-10 */
                width: auto;
            }

            .main-nav {
                display: none;
                align-items: center;
                gap: 2.5rem; /* gap-10 */
            }

            .main-nav a {
                font-size: 0.875rem;
                font-weight: 600;
                transition: color 0.15s ease;
                text-decoration: none;
            }
            .main-nav a:hover {
                color: var(--primary);
                text-decoration: none;
            }

            .header-actions {
                display: flex;
                align-items: center;
                gap: 1rem;
            }

            .btn-primary {
                background-color: var(--primary);
                color: var(--bg-dark);
                padding: 0.625rem 1.5rem;
                border-radius: var(--radius-lg);
                font-size: 0.875rem;
                font-weight: 700;
                transition:
                    background-color 0.15s ease,
                    box-shadow 0.15s ease;
                box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
            }
            .btn-primary:hover {
                background-color: var(--primary-90);
            }

            /* ─────────────────────────────────────────
       HERO
    ───────────────────────────────────────── */
 

            /* Hero Section Container */
.hero-section {
  position: relative;
  width: 100%;
  height: 110vh; /* Full viewport height */
  display: flex;
  justify-content: center;
  align-items: center;
  /* text-align: center;
  Replace 'hero-desktop.webp' with your 1920x1080 image */
  background-image: url('https://btwproperties.ca/wp-content/uploads/BTW-Properties-housing-first-PM-hero-1672x941-1.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.wide-container {
    width: 90%;
    margin-left: auto;
    margin-right: auto;
}
/* Dark Overlay for Text Readability */
/* .hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1;
} */

.hero-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        var(--bg-light) 0%,
        rgba(248, 247, 246, 0.6) 40%,
        transparent 100%
    );
    z-index: 1;
}
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
        to right,
        var(--bg-light) 0%,
        rgba(248, 247, 246, 0.6) 40%,
        transparent 100%
    );
  z-index: 1;
}
/* Hero Content Area */
/* .hero-content {
  position: relative;
  z-index: 2; 
  max-width: 800px;
  padding: 0 20px;
}

.hero-content h1 {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
}

.hero-content p {
  font-size: 1.25rem;
  line-height: 1.6;
  margin-bottom: 30px;
  color: #f3f4f6;
}
*/
/* Call to Action Button 
.hero-btn {
  display: inline-block;
  background-color: #3b82f6; 
  color: #ffffff;
  padding: 14px 28px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 6px;
  transition: background-color 0.2s ease-in-out;
}

.hero-btn:hover {
  background-color: #2563eb;
}
*/
            .hero-content {
                position: relative;
                z-index: 2;
            }

            .hero-text {
                max-width: 40%;
            } /* max-w-2xl */

            .hero-title {
                font-size: clamp(2.5rem, 6vw, 4.5rem); /* text-5xl → lg:text-7xl */
                font-weight: 900;
                line-height: 1.1;
                letter-spacing: -0.025em;
                margin-bottom: 1.5rem;
            }

            .hero-title .text-primary {
                color: var(--primary-dark);
            }

            .hero-subtitle {
                font-size: 1.25rem;
                color: var(--text-muted-light);
                margin-bottom: 2.5rem;
                line-height: 1.625;
            }

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

            .btn-hero-primary {
                background-color: var(--primary);
                color: var(--bg-dark);
                padding: 1rem 2rem;
                border-radius: var(--radius-lg);
                font-size: 1.125rem;
                font-weight: 700;
                transition:
                    background-color 0.15s ease,
                    box-shadow 0.15s ease;
                box-shadow:
                    0 10px 15px -3px rgba(0, 0, 0, 0.1),
                    0 4px 6px -4px rgba(0, 0, 0, 0.1);
                text-align: center;
            }
            .btn-hero-primary:hover {
                background-color: var(--primary-90);
            }

            .btn-hero-secondary {
                background-color: rgba(255, 255, 255, 0.7);
                color: black;
                backdrop-filter: blur(4px);
                -webkit-backdrop-filter: blur(4px);
                border: 1px solid var(--border-light);
                padding: 1rem 2rem;
                border-radius: var(--radius-lg);
                font-size: 1.125rem;
                font-weight: 700;
                transition: background-color 0.15s ease;
                text-align: center;
            }
            .btn-hero-secondary:hover {
                background-color: var(--white-20);
            }
			

/* Responsive Breakpoint: Mobile Devices */
@media (max-width: 768px) {
  .hero-section {
    /* Optional: Swap out for a vertically optimized 800x1200 mobile background image */
    background-image: url('https://btwproperties.ca/wp-content/uploads/BTW-Properties-housing-first-PM-hero-581x872-1.webp'); 
  }

  .hero-content h1 {
    font-size: 2.25rem; /* Scales typography down smoothly */
    margin-bottom: 15px;
  }

  .hero-content p {
    font-size: 1rem;
    margin-bottom: 25px;
  }
}
            /* ─────────────────────────────────────────
       MODEL SECTION
    ───────────────────────────────────────── */
            .model-section {
                padding-top: 6rem;
                padding-bottom: 6rem;
            }

            .section-header {
                text-align: center;
                margin-bottom: 4rem;
            }

            .section-title {
                font-size: 2.25rem;
                font-weight: 700;
                letter-spacing: -0.025em;
                margin-bottom: 1rem;
            }

            .section-desc {
                color: var(--text-muted-light);
                max-width: 80%;
                margin-left: auto;
                margin-right: auto;
            }

            .pillars-grid {
                display: grid;
                grid-template-columns: 1fr;
                gap: 2rem;
            }

            .pillar-card {
                padding: 2rem;
                border-radius: var(--radius-xl);
                border: 1px solid var(--primary-10);
                background-color: #ffffff;
                box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
                transition: box-shadow 0.15s ease;
            }
            .pillar-card:hover {
                box-shadow:
                    0 4px 6px -1px rgba(0, 0, 0, 0.1),
                    0 2px 4px -2px rgba(0, 0, 0, 0.1);
            }

            .pillar-icon {
                width: 3rem;
                height: 3rem;
                background-color: var(--primary-10);
                border-radius: var(--radius-lg);
                display: flex;
                align-items: center;
                justify-content: center;
                margin-bottom: 1.5rem;
            }

            .pillar-icon .material-symbols-outlined {
                color: var(--primary);
                font-size: 1.875rem;
            }

            .pillar-title {
                font-size: 1.25rem;
                font-weight: 700;
                margin-bottom: 0.75rem;
            }

            .pillar-desc {
                color: var(--text-muted-light);
                line-height: 1.625;
            }

            /* ─────────────────────────────────────────
       PARTNERS SECTION
    ───────────────────────────────────────── */
            .partners-section {
                padding-top: 5rem;
                padding-bottom: 5rem;
                background-color: var(--slate-50);
            }

            .partners-heading {
                text-align: center;
                font-size: 2rem;
                font-weight: 700;
                text-transform: uppercase;
                letter-spacing: 0.1em;
                color: var(--text-subtle);
                margin-bottom: 3rem;
            }

            .partners-grid {
                display: grid;
                /* grid-template-columns: repeat(2, 1fr); 
                grid-template-columns: minmax(0, 1fr); */
                grid-template-columns: auto auto auto auto auto auto auto;
                gap: 0.5rem;
                align-items: center;
                justify-items: center;
                opacity: 0.6;
                filter: grayscale(100%);
                transition:
                    filter 0.3s ease,
                    opacity 0.3s ease;
            }
            .partners-grid:hover {
                opacity: 1;
                filter: grayscale(0%);
            }

            .partner-name {
                height: 3rem;
                width: 8rem;
                /* display: flex; */
                display: none;
                align-items: center;
                justify-content: center;
                font-weight: 700;
                color: #94a3b8; /* slate-400 */
            }
        /*    .partner-img {
            } */

            /* ─────────────────────────────────────────
       SERVICES SECTION
    ───────────────────────────────────────── */
            .services-section {
                padding-top: 6rem;
                padding-bottom: 6rem;
            }

            .services-layout {
                display: flex;
                flex-direction: column;
                gap: 4rem;
                align-items: center;
            }

            .services-text {
                width: 100%;
            }

            .services-title {
                font-size: 2.25rem;
                font-weight: 700;
                letter-spacing: -0.025em;
                margin-bottom: 1.5rem;
            }

            .services-intro {
                font-size: 1.125rem;
                color: var(--text-muted-light);
                margin-bottom: 2rem;
                line-height: 1.625;
            }

            .services-list {
                display: flex;
                flex-direction: column;
                gap: 1.5rem;
            }

            .service-card {
                display: flex;
                gap: 1.5rem;
                padding: 1.5rem;
                border-radius: var(--radius-xl);
                background-color: #ffffff;
                border: 1px solid var(--primary-10);
                align-items: flex-start;
            }

            .service-card .material-symbols-outlined {
                color: var(--primary);
                font-size: 2.5rem;
                flex-shrink: 0;
            }

            .service-card-title {
                font-size: 1.25rem;
                font-weight: 700;
                margin-bottom: 0.5rem;
            }

            .service-card-desc {
                color: var(--text-muted-light);
            }

            .services-images {
                width: 100%;
            }

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

            .images-grid img {
                border-radius: var(--radius-xl);
                width: 100%;
                height: 16rem; /* h-64 */
                object-fit: cover;
            }

            .images-grid img:nth-child(2) {
                margin-top: 2rem;
            }

            /* ─────────────────────────────────────────
       WHY PARTNER SECTION
    ───────────────────────────────────────── */
            .why-section {
                padding-top: 6rem;
                padding-bottom: 6rem;
                background-color: var(--primary);
            }

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

            .why-title {
                font-size: 2.25rem;
                font-weight: 900;
                color: var(--bg-dark);
                margin-bottom: 1.5rem;
            }

            .why-desc {
                font-size: 1.25rem;
                color: rgba(30, 26, 20, 0.8);
                max-width: 48rem;
                margin: 0 auto 2.5rem;
                font-weight: 500;
            }

            .btn-dark {
                background-color: var(--bg-dark);
                color: var(--primary);
                padding: 1rem 2.5rem;
                border-radius: var(--radius-lg);
                font-size: 1.125rem;
                font-weight: 900;
                transition: background-color 0.15s ease;
                box-shadow:
                    0 20px 25px -5px rgba(0, 0, 0, 0.1),
                    0 8px 10px -6px rgba(0, 0, 0, 0.1);
            }
            .btn-dark:hover {
                background-color: rgba(30, 26, 20, 0.9);
            }

            /* ─────────────────────────────────────────
       FOOTER
    ───────────────────────────────────────── */
            .site-footer {
                background-color: var(--bg-dark);
                color: white; /* was slate-300 #cbd5e1 */
                padding-top: 5rem;
                padding-bottom: 5rem;
                border-top: 1px solid var(--border-dark);
            }

            .footer-grid {
                display: grid;
                grid-template-columns: 1fr;
                gap: 3rem;
                margin-bottom: 4rem;
            }

            .footer-brand img {
                height: 5rem;
                width: auto;
                margin-bottom: 1rem;
            }

            .footer-brand p {
                /* max-width: 24rem; */
                color: white;
                margin-bottom: 1.5rem;
            }

            .footer-col-title {
                color: #ffffff;
                font-weight: 700;
                margin-bottom: 1.5rem;
            }

            .footer-col ul {
                display: flex;
                flex-direction: column;
                gap: 1rem;
            }

            .footer-col li {
                display: flex;
                align-items: center;
                gap: 0.75rem;
            }

            .footer-col li .material-symbols-outlined {
                color: var(--primary);
                font-size: 0.875rem;
            }

            .footer-col a {
                transition: color 0.15s ease;
            }
            .footer-col a:hover {
                color: var(--primary);
            }

            .footer-bottom {
                padding-top: 2rem;
                border-top: 1px solid var(--border-dark);
                display: flex;
                flex-direction: column;
                align-items: center;
                gap: 1rem;
                font-size: 0.875rem;
                color: white; /* slate-500 */
            }
            <!-- ── Remove Theme footer ── -- > .footer-bottom {
                display: none !important;
            }
            .site-footer#colophon {
                display: none !important;
            }
            .btn-hero-secondary {
                color: black;
            }

            .footer-social {
                display: flex;
                gap: 2rem;
            }

            .footer-social a {
                transition: color 0.15s ease;
            }
            .footer-social a:hover {
                color: #ffffff;
            }

            /* ─────────────────────────────────────────
       RESPONSIVE — sm (640px)
    ───────────────────────────────────────── */
            @media (min-width: 640px) {
                .hero-buttons {
                    flex-direction: row;
                }
            }

            /* ─────────────────────────────────────────
       RESPONSIVE — md (768px)
    ───────────────────────────────────────── */
            @media (min-width: 768px) {
                .main-nav {
                    display: flex;
                }

                .pillars-grid {
                    grid-template-columns: repeat(3, 1fr);
                }

                .partners-grid {
                    grid-template-columns: auto auto auto auto auto auto auto;
                }

                .footer-grid {
                    grid-template-columns: repeat(4, 1fr);
                }

                .footer-brand {
                    grid-column: span 2;
                }

                .footer-bottom {
                    flex-direction: row;
                    justify-content: space-between;
                }
            }

            /* ─────────────────────────────────────────
       RESPONSIVE — lg (1024px)
    ───────────────────────────────────────── */
            @media (min-width: 1024px) {
                .partners-grid {
                    grid-template-columns: auto auto auto auto auto auto auto;
                }

                .services-layout {
                    flex-direction: row;
                    gap: 4rem;
                    align-items: center;
                }

                .services-text {
                    width: 50%;
                }
                .services-images {
                    width: 50%;
                }
            }
            /* ─────────────────────────────────────────
       CHill changes
    ───────────────────────────────────────── */
