/* Miller Storage Buildings - Main Stylesheet */
/* Exact recreation from original WordPress/Kadence theme */

/* ===== Self-Hosted Fonts ===== */
/* Gilda Display - Regular */
@font-face {
  font-family: 'Gilda Display';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/gilda-display.woff2') format('woff2');
}

/* Nunito - Regular (400) */
@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/nunito-XRXV3I6Li01BKofINeaB.woff2') format('woff2');
}

/* Nunito - SemiBold (600) */
@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/fonts/nunito-XRXV3I6Li01BKofIMeaBXso.woff2') format('woff2');
}

/* Nunito - Bold (700) */
@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/nunito-XRXV3I6Li01BKofIO-aBXso.woff2') format('woff2');
}

/* Raleway - Regular (400) */
@font-face {
  font-family: 'Raleway';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/raleway-1Ptug8zYS_SKggPNyCMIT5lu.woff2') format('woff2');
}

/* Raleway - Medium (500) */
@font-face {
  font-family: 'Raleway';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/fonts/raleway-1Ptug8zYS_SKggPNyCkIT5lu.woff2') format('woff2');
}

/* Raleway - SemiBold (600) */
@font-face {
  font-family: 'Raleway';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/fonts/raleway-1Ptug8zYS_SKggPNyCAIT5lu.woff2') format('woff2');
}

/* ===== CSS Variables (from original) ===== */
:root {
    --global-palette1: #a66a00;
    --global-palette2: #77944e;
    --global-palette3: #292b26;
    --global-palette4: #3a432c;
    --global-palette5: #52564c;
    --global-palette6: #757b6d;
    --global-palette7: #d0dcbb;
    --global-palette8: #edf1ec;
    --global-palette9: #ffffff;

    --global-body-font-family: 'Nunito', sans-serif;
    --global-heading-font-family: 'Gilda Display', serif;
    --global-primary-nav-font-family: 'Raleway', sans-serif;

    --global-content-width: 1290px;
    --global-content-edge-padding: 1.5rem;
}

/* ===== Reset & Base Styles ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--global-body-font-family);
    font-size: 16px;
    line-height: 1.7;
    color: var(--global-palette4);
    background: var(--global-palette9);
}

.content-bg {
    background: var(--global-palette9);
}

/* ===== Typography ===== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--global-heading-font-family);
    line-height: 1.5;
}

h1 {
    font-size: 40px;
    font-weight: normal;
    color: var(--global-palette3);
}

h2 {
    font-size: 33px;
    font-weight: normal;
    color: var(--global-palette3);
}

h3 {
    font-size: 24px;
    font-weight: normal;
    color: var(--global-palette3);
}

/* ===== Layout ===== */
.site-container {
    max-width: var(--global-content-width);
    margin: 0 auto;
    padding: 0 var(--global-content-edge-padding);
}

.skip-link {
    position: absolute;
    left: -9999px;
}

/* ===== Header Styles ===== */
.site-header {
    background: var(--global-palette8);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.site-main-header-wrap {
    padding: 0;
    border-bottom: 1px solid var(--global-palette7);
}

.site-main-header-inner-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 120px;
    padding: 0;
}

.site-header-section-left {
    display: flex;
    align-items: center;
}

.site-header-section-right {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex: 1;
    justify-content: flex-end;
}

/* Logo */
.site-branding {
    display: flex;
    align-items: center;
}

.site-branding .custom-logo {
    width: auto;
    height: 100px;
    max-width: 450px;
}

/* Navigation */
.main-navigation {
    font-family: var(--global-primary-nav-font-family);
}

.main-navigation ul {
    list-style: none;
    display: flex;
    gap: 0;
    align-items: center;
}

.main-navigation a {
    color: var(--global-palette5);
    text-decoration: none;
    font-weight: 500;
    padding: 0.6em 1.2em;
    transition: color 0.3s;
    text-transform: capitalize;
    letter-spacing: 0.03em;
}

.main-navigation a:hover {
    color: var(--global-palette3);
}

.current-menu-item a {
    color: var(--global-palette3);
}

/* Dropdown Menu */
.menu-item-has-children {
    position: relative;
}

.dropdown-toggle {
    font-size: 0.8em;
    margin-left: 0.3rem;
}

.sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--global-palette9);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    padding: 1rem 0;
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    display: flex;
    flex-direction: column;
    gap: 0;
    border-radius: 4px;
    margin-top: 0.5rem;
    transition: opacity 0.2s ease, visibility 0.2s ease;
    pointer-events: none;
}

/* Invisible bridge between menu and dropdown for easier hovering */
.menu-item-has-children::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: 8px;
    z-index: 999;
}

.menu-item-has-children:hover .sub-menu,
.menu-item-has-children.menu-hover .sub-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.sub-menu li {
    display: block;
}

.sub-menu a {
    padding: 0.75rem 1.5rem;
    display: block;
    white-space: nowrap;
}

.sub-menu a:hover {
    background: var(--global-palette8);
}

/* Phone Number in Header */
.phone-number {
    color: var(--global-palette1);
    font-weight: 600;
    font-size: 16px;
    white-space: nowrap;
}

/* Mobile Header */
.site-mobile-header {
    display: none;
    padding: 1rem 0;
    background: var(--global-palette8);
    position: relative;
    z-index: 1001;
}

.mobile-header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.menu-toggle {
    background: transparent;
    border: 2px solid var(--global-palette1);
    color: var(--global-palette1);
    font-size: 24px;
    padding: 0.5rem 1rem;
    cursor: pointer;
    border-radius: 4px;
}

/* Mobile Menu Styles */
@media (max-width: 1024px) {
    /* Hide desktop navigation */
    #main-header #site-navigation {
        display: none !important;
    }

    /* Mobile navigation styles */
    #mobile-navigation {
        display: none;
        position: fixed;
        top: calc(var(--mobile-header-height, 80px));
        left: 0;
        right: 0;
        background: var(--global-palette9);
        box-shadow: 0 8px 16px rgba(0,0,0,0.15);
        z-index: 1000;
        max-height: calc(100vh - var(--mobile-header-height, 80px));
        overflow-y: auto;
    }

    #mobile-navigation.mobile-menu-open {
        display: block !important;
    }

    /* Ensure mobile header is above the navigation */
    .site-mobile-header {
        z-index: 1001 !important;
    }

    #mobile-navigation .menu,
    #site-navigation .menu {
        flex-direction: column;
        padding: 0;
        margin: 0;
    }

    #mobile-navigation .menu > li,
    #site-navigation .menu > li {
        border-bottom: 1px solid var(--global-palette7);
    }

    #mobile-navigation .menu > li:last-child,
    #site-navigation .menu > li:last-child {
        border-bottom: none;
    }

    #mobile-navigation .menu li a,
    #site-navigation .menu li a {
        padding: 1.25rem 1.5rem;
        display: block;
        color: var(--global-palette3);
        font-weight: 500;
        transition: background 0.2s ease;
    }

    #mobile-navigation .menu li a:hover,
    #site-navigation .menu li a:hover {
        background: var(--global-palette8);
        color: var(--global-palette1);
    }

    /* Style dropdown toggle for mobile */
    #mobile-navigation .dropdown-toggle,
    #site-navigation .dropdown-toggle {
        display: inline-block;
        margin-left: 0.5rem;
        font-size: 10px;
        transition: transform 0.3s ease;
        color: var(--global-palette1);
    }

    #mobile-navigation .menu-item-has-children.submenu-open .dropdown-toggle,
    #site-navigation .menu-item-has-children.submenu-open .dropdown-toggle {
        transform: rotate(180deg);
    }

    /* Submenu styles */
    #mobile-navigation .sub-menu,
    #site-navigation .sub-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        box-shadow: none;
        padding: 0;
        margin: 0;
        background: var(--global-palette8);
        display: none;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    #mobile-navigation .menu-item-has-children.submenu-open .sub-menu,
    #site-navigation .menu-item-has-children.submenu-open .sub-menu {
        display: block;
        max-height: 500px;
    }

    #mobile-navigation .sub-menu li,
    #site-navigation .sub-menu li {
        border-bottom: 1px solid rgba(255,255,255,0.5);
    }

    #mobile-navigation .sub-menu li:last-child,
    #site-navigation .sub-menu li:last-child {
        border-bottom: none;
    }

    #mobile-navigation .sub-menu a,
    #site-navigation .sub-menu a {
        padding: 1rem 1.5rem 1rem 2.5rem;
        font-size: 15px;
        color: var(--global-palette4);
    }

    #mobile-navigation .sub-menu a:hover,
    #site-navigation .sub-menu a:hover {
        background: rgba(255,255,255,0.8);
        color: var(--global-palette1);
    }
}

/* ===== Main Content ===== */
.content-area {
    margin-top: 0;
    margin-bottom: 0;
}

.entry-content {
    padding: 0;
}

/* Full-width sections */
.hero-section,
.miller-process,
.product-categories,
.customer-favorites,
.product-showcase,
.testimonial-gallery-section,
.newsletter-section {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
}

/* ===== Buttons ===== */
button, .button {
    font-family: var(--global-primary-nav-font-family);
    font-size: 13px;
    text-transform: uppercase;
    border-radius: 50px;
    padding: 15px 30px;
    border: 1px solid var(--global-palette1);
    background: var(--global-palette1);
    color: var(--global-palette9);
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 600;
    letter-spacing: 0.5px;
}

button:hover, .button:hover {
    background: var(--global-palette2);
    border-color: var(--global-palette2);
}

/* ===== Footer ===== */
.site-footer {
    background: var(--global-palette3);
    color: var(--global-palette7);
    padding: 3rem 0 1rem;
}

.footer-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-column h3 {
    color: var(--global-palette9);
    font-size: 18px;
    margin-bottom: 1rem;
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: 0.5rem;
}

.footer-column a {
    color: var(--global-palette7);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-column a:hover {
    color: var(--global-palette1);
}

.tagline {
    font-style: italic;
    color: var(--global-palette1);
    margin-bottom: 0.5rem;
}

.footer-bottom {
    border-top: 1px solid var(--global-palette5);
    padding-top: 1.5rem;
    text-align: center;
    color: var(--global-palette6);
}

.footer-top-row {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 4rem;
    align-items: start;
    margin-bottom: 2rem;
}

.footer-left h3 {
    color: var(--global-palette9);
    font-size: 20px;
    margin-bottom: 1rem;
}

.footer-left p {
    color: var(--global-palette7);
    font-size: 16px;
    line-height: 1.6;
    max-width: 400px;
}

.footer-navigation ul {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    gap: 1.5rem;
    justify-content: flex-end;
}

.footer-navigation a {
    color: var(--global-palette7);
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s;
}

.footer-navigation a:hover {
    color: var(--global-palette1);
}

/* ===== Hero Section ===== */
.hero-section {
    background-color: #f4f7f1;
    padding: 4em 1em 3.5em 1em;
    font-family: Georgia, serif;
    color: #1e1e1e;
}

.hero-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 3em;
}

.hero-left {
    flex: 1 1 500px;
    min-width: 320px;
    text-align: center;
}

.hero-tagline {
    font-size: 1.375rem;
    font-weight: 400;
    margin-bottom: 0.75rem;
}

.hero-title {
    font-size: 2rem;
    font-weight: 400;
    margin: 0 0 1.5rem;
}

.hero-cta {
    display: inline-block;
    background-color: #b4792a;
    color: #fff;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: bold;
    padding: 0.75em 1.25em;
    border-radius: 4px;
    margin-bottom: 2rem;
    transition: background-color 0.3s;
}

.hero-cta:hover {
    background-color: #8a5a1f;
}

/* Google Review Card Styles */
.testimonial.google-review-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    max-width: 540px;
    margin: 2rem auto 0;
}

.google-review-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.google-logo {
    height: 24px;
    width: auto;
}

.google-stars {
    display: flex;
    gap: 2px;
}

.google-stars .star {
    color: #FBBC04;
    font-size: 20px;
    line-height: 1;
}

.testimonial-text {
    font-size: 14px;
    line-height: 1.6;
    color: #202124;
    margin: 0 0 20px 0;
    font-family: 'Nunito', sans-serif;
    text-align: left;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--global-palette1);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 16px;
    flex-shrink: 0;
}

.testimonial-author-info {
    text-align: left;
}

.testimonial-author-name {
    margin: 0 0 2px 0;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    color: #202124;
}

.testimonial-author-title {
    margin: 0;
    font-size: 12px;
    font-weight: 400;
    color: #5f6368;
    line-height: 1.3;
}

.hero-right {
    flex: 1 1 480px;
    min-width: 320px;
    text-align: center;
}

.hero-image {
    max-width: 100%;
    height: auto;
    border-radius: 48px;
}

.hero-image-caption {
    font-size: 1.25rem;
    color: #b4792a;
    margin-top: 1.25rem;
}

/* ===== Miller Process Section ===== */
.miller-process {
    background-color: var(--global-palette9);
    padding: 3rem 1rem;
}

.process-header {
    max-width: 1200px;
    margin: 0 auto 3rem;
    text-align: center;
}

.process-cta {
    color: var(--global-palette1);
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 1rem;
}

.process-title {
    font-size: 33px;
    color: var(--global-palette3);
    margin-bottom: 1rem;
}

.process-subtitle {
    font-size: 16px;
    color: var(--global-palette4);
    max-width: 800px;
    margin: 0 auto;
}

.process-steps {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.process-step {
    text-align: center;
}

.process-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    color: var(--global-palette1);
}

.process-icon svg {
    width: 100%;
    height: 100%;
}

.process-step-title {
    font-size: 18px;
    color: var(--global-palette3);
    margin-bottom: 1rem;
    font-family: var(--global-body-font-family);
}

.process-step-text {
    font-size: 16px;
    color: var(--global-palette4);
    line-height: 1.6;
}

/* ===== Product Category Cards ===== */
.product-categories {
    background-color: var(--global-palette8); /* Light green background */
    padding: 4rem 0;
    margin: 0;
}

.product-categories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1290px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 1.5rem;
}

.category-card {
    position: relative;
    overflow: hidden;
}

.category-image {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.category-card:hover .category-image {
    transform: scale(1.05);
}

.category-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    transition: background 0.3s ease;
    z-index: 2;
}

/* Single inset border effect */
.category-card::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 8px;
    right: 8px;
    bottom: 8px;
    border: 1px solid rgba(255, 255, 255, 0.9);
    pointer-events: none;
    z-index: 3;
    transition: all 0.4s ease;
}

.category-card:hover::before {
    top: 6px;
    left: 6px;
    right: 6px;
    bottom: 6px;
}

.category-card:hover .category-overlay {
    background: rgba(231, 97, 6, 0.7);
}

.category-link {
    text-decoration: none;
    color: white;
    text-align: center;
}

.category-title {
    font-size: 28px;
    color: white;
    margin-bottom: 1rem;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

.category-subtitle {
    font-size: 16px;
    color: white;
    line-height: 1.5;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.category-card:hover .category-subtitle {
    opacity: 1;
    transform: translateY(0);
}

/* ===== Customer Favorites Section ===== */
.customer-favorites {
    background: var(--global-palette9);
    padding: 3rem 1rem;
}

.favorites-title {
    text-align: center;
    color: var(--global-palette1);
    font-size: 33px;
    margin-bottom: 2rem;
}

.favorites-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.favorite-item {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4 / 3;
}

.favorite-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

/* Inner border effect using ::before */
.favorite-item::before {
    content: '';
    position: absolute;
    top: 12px;
    left: 12px;
    right: 12px;
    bottom: 12px;
    border: 1px solid rgba(255, 255, 255, 0.9);
    pointer-events: none;
    z-index: 3;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.favorite-item:hover::before {
    opacity: 1;
}

/* Blue hover overlay */
.favorite-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(28, 107, 176, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 2;
}

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

.favorite-title {
    color: white;
    font-size: 20px;
    line-height: 1.4;
    margin: 0;
    text-align: center;
}

/* ===== Product Showcase Section ===== */
.product-showcase {
    background: var(--global-palette9);
    padding: 3rem 1rem;
}

.showcase-title {
    text-align: center;
    color: var(--global-palette3);
    font-size: 33px;
    margin-bottom: 3rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.showcase-item {
    max-width: 1200px;
    margin: 0 auto 3rem;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 100px;
    gap: 2rem;
    align-items: center;
}

.showcase-description p {
    color: var(--global-palette3);
    font-size: 16px;
    line-height: 1.6;
}

.showcase-image {
    width: 100%;
}

.showcase-image img {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 8px;
}

.showcase-name h3 {
    text-align: center;
    color: var(--global-palette3);
    font-size: 24px;
}

.showcase-link {
    text-align: center;
}

.arrow-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--global-palette1);
    color: white;
    text-decoration: none;
    transition: background 0.3s ease;
}

.arrow-link:hover {
    background: var(--global-palette2);
}

.arrow-link svg {
    width: 24px;
    height: 24px;
}

/* ===== Responsive Design ===== */
@media (max-width: 1024px) {
    h1 {
        font-size: 32px;
    }

    h2 {
        font-size: 28px;
    }

    .content-area {
        margin-top: 3rem;
        margin-bottom: 3rem;
    }

    .showcase-item {
        grid-template-columns: 1fr;
    }

    .showcase-name,
    .showcase-link {
        text-align: center;
    }
}

@media (max-width: 767px) {
    /* Hide desktop header, show mobile */
    #main-header {
        display: none;
    }

    .site-mobile-header {
        display: block;
    }

    /* Ensure mobile header stays at the top */
    .site-header {
        position: sticky;
        top: 0;
        z-index: 999;
    }

    h1 {
        font-size: 28px;
    }

    h2 {
        font-size: 24px;
    }

    /* Hero section mobile spacing */
    .hero-section {
        padding: 2rem 1rem 1.5rem 1rem;
        min-height: 0;
    }

    .hero-inner {
        gap: 0.75rem;
        padding-bottom: 0;
        margin-bottom: 0;
        flex-direction: column;
        align-items: stretch;
        min-height: 0;
    }

    .hero-left {
        margin-bottom: 0;
        padding-bottom: 0;
        flex: 0 0 auto;
    }

    .hero-right {
        margin-bottom: 0;
        padding-bottom: 0;
        flex: 0 0 auto;
    }

    .hero-image {
        margin-bottom: 0.5rem;
    }

    .hero-image-caption {
        margin-top: 0.5rem;
        margin-bottom: 0;
        padding-bottom: 0;
    }

    .testimonial.google-review-card {
        margin-bottom: 0;
    }

    .content-area {
        margin-top: 0;
        margin-bottom: 2rem;
    }

    .footer-row {
        grid-template-columns: 1fr;
    }

    /* Reorder hero columns on mobile for better LCP */
    .hero-left {
        order: 2;
    }

    .hero-right {
        order: 1;
    }

    .product-categories {
        padding: 2rem 0;
    }

    .product-categories-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 0.75rem;
    }

    .process-steps {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 767px) {
    .favorites-grid {
        grid-template-columns: 1fr;
    }

    .favorite-item::before {
        border-width: 10px;
    }

    .showcase-item {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

/* ===== Testimonial with Gallery Section ===== */
.testimonial-gallery-section {
    background: var(--global-palette8);
    padding: 5rem 1rem;
}

.testimonial-gallery-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.testimonial-gallery-left {
    padding: 2rem;
}

.testimonial-quote-icon {
    width: 60px;
    height: 60px;
    color: var(--global-palette1);
    margin-bottom: 1.5rem;
}

.testimonial-quote-icon svg {
    width: 100%;
    height: 100%;
}

.testimonial-gallery-title {
    font-size: 32px;
    color: var(--global-palette3);
    margin-bottom: 1rem;
}

.testimonial-rating {
    font-size: 24px;
    color: var(--global-palette1);
    margin-bottom: 1.5rem;
}

.testimonial-rating .star {
    margin-right: 0.25rem;
}

.testimonial-gallery-text {
    font-size: 18px;
    line-height: 1.6;
    color: var(--global-palette4);
}

/* Carousel Styles */
.build-carousel {
    position: relative;
}

.carousel-images {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 1rem;
}

.carousel-images img {
    width: 100%;
    height: auto;
    display: none;
}

.carousel-images img.carousel-active {
    display: block;
}

.carousel-thumbs {
    display: flex;
    gap: 0.5rem;
}

.carousel-thumbs img {
    width: calc(33.333% - 0.5rem);
    height: auto;
    cursor: pointer;
    border-radius: 4px;
    border: 3px solid transparent;
    transition: all 0.3s;
    opacity: 0.6;
}

.carousel-thumbs img:hover,
.carousel-thumbs img.thumb-active {
    opacity: 1;
    border-color: var(--global-palette1);
}

/* ===== Newsletter Section ===== */
.newsletter-section {
    background-color: var(--global-palette8);
    background-image: url('/images/2025/05/millers_footer_1920x480.webp');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 5rem 1rem;
    position: relative;
}

.newsletter-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(237, 241, 236, 0.85);
    pointer-events: none;
}

.newsletter-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.newsletter-eyebrow {
    color: var(--global-palette1);
    font-size: 16px;
    font-weight: 600;
    display: block;
    margin-bottom: 1rem;
}

.newsletter-title {
    font-size: 28px;
    color: var(--global-palette3);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.newsletter-subtitle {
    font-size: 16px;
    color: var(--global-palette4);
    text-align: center;
}

.newsletter-form {
    display: flex;
    gap: 1rem;
    margin-bottom: 0.5rem;
}

.newsletter-input {
    flex: 1;
    padding: 1rem 1.5rem;
    border: 1px solid var(--global-palette6);
    border-radius: 4px;
    font-size: 16px;
    font-family: var(--global-body-font-family);
}

.newsletter-input:focus {
    outline: none;
    border-color: var(--global-palette1);
}

.newsletter-button {
    padding: 1rem 2rem;
    background: var(--global-palette1);
    color: white;
    border: none;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

.newsletter-button:hover {
    background: var(--global-palette2);
}

.newsletter-privacy {
    font-size: 14px;
    color: var(--global-palette5);
    text-align: center;
}

/* Responsive additions */
@media (max-width: 1024px) {
    .testimonial-gallery-inner,
    .newsletter-inner {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .testimonial-gallery-left {
        text-align: center;
    }

    .testimonial-quote-icon {
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 767px) {
    .newsletter-form {
        flex-direction: column;
    }

    .newsletter-subtitle {
        text-align: center;
    }

    .testimonial-gallery-section,
    .newsletter-section {
        padding: 3rem 1rem;
    }
}
/* ===== Product Pages ===== */

/* Page Hero Section */
.entry-hero.page-hero-section {
    background: var(--global-palette8);
    padding: 5rem 0 3rem;
    margin-bottom: 0;
}

.entry-hero .entry-title {
    font-size: 40px;
    color: var(--global-palette3);
    text-align: center;
    margin: 0;
}

/* Page Introduction Section */
.page-intro-section {
    background: var(--global-palette8);
    padding: 3rem 1rem;
}

.intro-grid {
    max-width: 1140px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 4rem;
    align-items: center;
}

.intro-label {
    color: var(--global-palette1);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
    font-weight: 400;
}

.intro-title {
    font-size: 36px;
    line-height: 1.3;
    color: var(--global-palette3);
    margin-bottom: 1.5rem;
}

.intro-description {
    font-size: 16px;
    line-height: 1.7;
    color: var(--global-palette4);
}

.profile-image {
    max-width: 400px;
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 50%;
    display: block;
}

/* Main Intro Section */
.main-intro-section {
    background: var(--global-palette9);
    padding: 2rem 1rem;
}

.main-intro-content {
    max-width: 1290px;
    margin: 0 auto;
    text-align: center;
}

.main-intro-label {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--global-palette1);
    margin-bottom: 1rem;
    display: block;
}

.main-intro-title {
    font-size: 36px;
    line-height: 1.4;
    color: var(--global-palette3);
    margin: 0;
}

/* Product Detail Sections */
.product-detail-section {
    background: var(--global-palette9);
    padding: 1.5rem 1rem 6.5rem;
}

.product-detail-grid {
    max-width: 1290px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4rem;
    align-items: center;
}

/* Image Left Layout */
.product-detail-grid.image-left {
    grid-template-columns: repeat(2, 1fr);
}

.product-detail-grid.image-left .product-image-col {
    order: 1;
}

.product-detail-grid.image-left .product-text-col {
    order: 2;
}

/* Image Right Layout */
.product-detail-grid.image-right {
    grid-template-columns: repeat(2, 1fr);
}

.product-detail-grid.image-right .product-text-col {
    order: 1;
}

.product-detail-grid.image-right .product-image-col {
    order: 2;
}

/* Product Image Column */
.product-image-col {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 1rem;
}

.product-detail-grid.image-right .product-image-col {
    align-items: flex-end;
}

.product-detail-grid.image-left .product-image-col {
    align-items: flex-end;
}

.product-image-wrap {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.product-image {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.product-image-wrap:hover .product-image {
    transform: scale(1.05);
}

/* Product Image Overlay */
.product-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.4s ease;
    z-index: 2;
}

.product-image-wrap:hover .product-image-overlay {
    opacity: 1;
    background: rgba(231, 97, 6, 0.7);
}

.product-image-wrap::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 8px;
    right: 8px;
    bottom: 8px;
    border: 1px solid rgba(255, 255, 255, 0.9);
    pointer-events: none;
    z-index: 3;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.product-image-wrap:hover::before {
    opacity: 1;
}

.overlay-content {
    text-align: center;
    padding: 2rem;
}

.overlay-title {
    color: white;
    font-size: 28px;
    margin-bottom: 0.5rem;
}

.overlay-subtitle {
    color: white;
    font-size: 16px;
    line-height: 1.5;
}

/* Product Text Column */
.product-category {
    display: block;
    color: var(--global-palette1);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
    font-weight: 400;
}

.product-title {
    font-size: 36px;
    line-height: 1.1;
    color: var(--global-palette3);
    margin-bottom: 1.5rem;
}

.product-description {
    font-size: 18px;
    line-height: 1.6;
    color: var(--global-palette4);
    margin-bottom: 2rem;
}

.features-heading {
    font-size: 24px;
    color: var(--global-palette3);
    margin-bottom: 1rem;
    margin-top: 2rem;
}

/* Feature Lists */
.features-list,
.addons-list {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
}

.features-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.3rem 0;
    font-size: 18px;
    line-height: 1.2;
    font-weight: 600;
    color: var(--global-palette3);
}

.addons-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.3rem 0;
    font-size: 16px;
    line-height: 1.2;
    font-weight: 400;
    color: var(--global-palette4);
}

.check-icon {
    color: var(--global-palette1);
    font-size: 20px;
    flex-shrink: 0;
}

.addon-icon {
    color: var(--global-palette1);
    font-size: 18px;
    flex-shrink: 0;
    opacity: 0.7;
}

/* Product CTA Button */
.product-cta-button {
    display: inline-block;
    padding: 15px 30px;
    background: var(--global-palette1);
    color: white;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 13px;
    font-weight: 600;
    border-radius: 4px;
    border: 1px solid var(--global-palette1);
    transition: all 0.3s;
    text-align: center;
}

.product-cta-button:hover {
    background: var(--global-palette2);
    border-color: var(--global-palette2);
}

/* Responsive - Product Pages */
@media (max-width: 1024px) {
    .intro-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .profile-image {
        margin: 0 auto;
    }

    .product-detail-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .product-detail-grid.image-left .product-image-col,
    .product-detail-grid.image-left .product-text-col,
    .product-detail-grid.image-right .product-image-col,
    .product-detail-grid.image-right .product-text-col {
        order: initial;
    }

    .product-image-col {
        align-items: center;
    }
}

@media (max-width: 767px) {
    .entry-hero .entry-title {
        font-size: 32px;
    }

    .intro-title,
    .main-intro-title,
    .product-title {
        font-size: 28px;
    }

    .product-detail-section {
        padding-bottom: 3rem;
    }
}

/* ===== FAQ Page Styles ===== */

/* Process Section */
.process-section {
    background: var(--global-palette8);
    padding: 4rem 0;
    text-align: center;
}

.process-container {
    max-width: 1290px;
    margin: 0 auto;
    padding: 0 var(--global-content-edge-padding);
}

.process-label {
    font-family: var(--global-primary-nav-font-family);
    font-size: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--global-palette1);
    margin-bottom: 1rem;
    font-weight: 400;
}

.process-title {
    font-size: 40px;
    color: var(--global-palette3);
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.process-subtitle {
    font-size: 20px;
    color: var(--global-palette4);
    margin-bottom: 3.5rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    max-width: 1290px;
    margin: 0 auto;
}

.process-step {
    text-align: center;
    background: var(--global-palette9);
    padding: 2rem 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.process-icon-box {
    margin: 0 auto 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.process-icon-svg {
    width: 80px;
    height: 80px;
    color: var(--global-palette1);
}

.process-step-title {
    font-size: 22px;
    color: var(--global-palette3);
    margin-bottom: 0.5rem;
}

.process-step-description {
    font-size: 16px;
    color: var(--global-palette4);
    line-height: 1.6;
}

/* FAQ Category Section */
.faq-category-section {
    max-width: 1290px;
    margin: 4rem auto;
    padding: 0 var(--global-content-edge-padding);
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 4rem;
    align-items: start;
}

.faq-category-image {
    width: 100%;
    max-width: 400px;
    aspect-ratio: 1 / 1;
    overflow: hidden;
}

.faq-category-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.faq-category-content {
    flex: 1;
}

.faq-category-title {
    font-size: 33px;
    color: var(--global-palette3);
    margin-bottom: 2rem;
}

/* FAQ Accordion */
.faq-accordion {
    width: 100%;
}

.faq-item {
    border-bottom: 1px solid var(--global-palette7);
    margin-bottom: 0;
}

.faq-question {
    width: 100%;
    background: var(--global-palette9);
    border: none;
    padding: 1.5rem 3rem 1.5rem 0;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--global-body-font-family);
    font-size: 16px;
    color: var(--global-palette3);
    position: relative;
    transition: all 0.3s ease;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.faq-question:hover {
    background: var(--global-palette9);
}

.faq-question-text {
    flex: 1;
    padding-right: 1rem;
}

.faq-icon {
    position: relative;
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.faq-icon::before,
.faq-icon::after {
    content: '';
    position: absolute;
    background: var(--global-palette1);
    transition: transform 0.3s ease;
}

.faq-icon::before {
    top: 50%;
    left: 0;
    width: 24px;
    height: 2px;
    transform: translateY(-50%);
}

.faq-icon::after {
    top: 0;
    left: 50%;
    width: 2px;
    height: 24px;
    transform: translateX(-50%);
}

.faq-item.active .faq-icon::after {
    transform: translateX(-50%) rotate(90deg);
    opacity: 0;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-item.active .faq-answer {
    max-height: 1000px;
    padding-bottom: 1.5rem;
}

.faq-answer-content {
    color: var(--global-palette4);
    font-size: 16px;
    line-height: 1.7;
}

.faq-answer-content p {
    margin-bottom: 1rem;
}

.faq-answer-content p:last-child {
    margin-bottom: 0;
}

/* Responsive - FAQ */
@media (max-width: 1024px) {
    .process-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .faq-category-section {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .faq-category-image {
        margin: 0 auto;
    }

    .faq-category-title {
        text-align: center;
    }
}

@media (max-width: 767px) {
    .process-grid {
        grid-template-columns: 1fr;
    }

    .process-title {
        font-size: 28px;
    }

    .faq-category-title {
        font-size: 28px;
    }

    .faq-question {
        font-size: 14px;
        padding: 1.25rem 2.5rem 1.25rem 0;
    }
}

/* ===== Financing Page Styles ===== */

/* Financing Hero Section */
.financing-hero {
    text-align: center;
    padding: 4rem 0 3rem;
}

.hero-icon {
    margin: 0 auto 1.5rem;
    display: flex;
    justify-content: center;
}

.hero-icon svg {
    width: 80px;
    height: 80px;
    color: var(--global-palette1);
}

.hero-subtitle {
    font-size: 20px;
    color: var(--global-palette4);
    margin: 1.5rem auto 0;
    max-width: 800px;
    line-height: 1.6;
}

/* Financing Sections */
.financing-section {
    padding: 4rem 1rem;
}

section.rent-to-own-section {
    background-color: #ffffff !important;
}

section.traditional-financing-section {
    background-color: #ffffff !important;
}

.financing-grid {
    max-width: 1290px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 560px 1fr;
    gap: 4rem;
    align-items: start;
}

.financing-left-column {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* Info Box */
.financing-info-box {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    background: #edf1ec;
    padding: 3rem 2rem;
    border-radius: 8px;
}

.info-box-icon {
    text-align: center;
}

.info-box-icon svg {
    width: 80px;
    height: 80px;
    color: var(--global-palette1);
}

.info-box-content {
    text-align: center;
}

.info-box-label {
    color: var(--global-palette1);
    font-size: 14px;
    text-transform: lowercase;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
    font-weight: 400;
}

.info-box-title {
    font-size: 32px;
    color: var(--global-palette3);
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.info-box-content p {
    font-size: 16px;
    line-height: 1.7;
    color: var(--global-palette4);
}

.info-box-content a {
    color: var(--global-palette1);
    text-decoration: none;
}

.info-box-content a:hover {
    text-decoration: underline;
}


/* Financing Details Column */
.financing-details {
    padding-top: 1rem;
}

.details-label {
    color: var(--global-palette1);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
    font-weight: 400;
    display: block;
}

.details-heading {
    font-size: 28px;
    color: var(--global-palette3);
    margin-bottom: 1.5rem;
}

.steps-heading {
    font-size: 22px;
    color: var(--global-palette3);
    margin-top: 3rem;
    margin-bottom: 1.5rem;
}

/* Benefits List */
.benefits-list {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
}

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

.benefits-list .check-icon {
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.benefits-list .check-icon svg {
    width: 20px;
    height: 20px;
    fill: var(--global-palette1);
}

.benefit-content {
    flex: 1;
    font-size: 16px;
    line-height: 1.6;
    color: var(--global-palette4);
}

.benefit-content strong {
    color: var(--global-palette3);
    font-weight: 700;
}

/* Steps List */
.steps-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

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

.steps-list .step-icon {
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.steps-list .step-icon svg {
    width: 20px;
    height: 20px;
    stroke: var(--global-palette1);
}

.step-content {
    flex: 1;
    font-size: 16px;
    line-height: 1.6;
    color: var(--global-palette4);
}

.step-content strong {
    color: var(--global-palette3);
    font-weight: 700;
}

.step-content a {
    color: var(--global-palette1);
    text-decoration: none;
}

.step-content a:hover {
    text-decoration: underline;
}

/* CTA Section */
.financing-cta-section {
    position: relative;
    padding: 6rem 1rem;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.financing-cta-section .site-container {
    position: relative;
    z-index: 1;
}

.cta-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.95);
    padding: 3rem 4rem;
    border-radius: 8px;
}

.cta-heading {
    font-size: 40px;
    color: var(--global-palette3);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.cta-text {
    font-size: 18px;
    color: var(--global-palette3);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.cta-button {
    display: inline-block;
    padding: 15px 30px;
    background: var(--global-palette1);
    color: white;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 13px;
    font-weight: 600;
    border-radius: 50px;
    border: 1px solid var(--global-palette1);
    transition: all 0.3s;
}

.cta-button:hover {
    background: var(--global-palette2);
    border-color: var(--global-palette2);
}

/* Extra Section Below Info Box */
.financing-extra-section {
    text-align: center;
}

.extra-section-title {
    font-size: 28px;
    color: var(--global-palette3);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.extra-section-text {
    font-size: 16px;
    color: var(--global-palette4);
    line-height: 1.6;
}

/* Responsive - Financing Page */
@media (max-width: 1024px) {
    .financing-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .financing-details {
        padding-top: 0;
    }
}

@media (max-width: 767px) {
    .financing-hero {
        padding: 3rem 0 2rem;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .financing-section {
        padding: 3rem 1rem;
    }

    .info-box-title {
        font-size: 24px;
    }

    .details-heading {
        font-size: 24px;
    }

    .cta-heading {
        font-size: 28px;
    }

    .financing-cta-section {
        padding: 4rem 1rem;
    }
}

/* ===== Gallery Page Styles ===== */

.gallery-section {
    background: var(--global-palette9);
    padding: 4rem 0;
}

.gallery-heading {
    font-size: 40px;
    color: var(--global-palette3);
    text-align: center;
    margin-bottom: 3rem;
    padding: 0 1rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    width: 100%;
    padding: 0 1rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

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

/* Responsive - Gallery */
@media (max-width: 1024px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .gallery-heading {
        font-size: 32px;
    }

    .gallery-section {
        padding: 3rem 1rem;
    }
}

/* ===== About Page Styles ===== */

/* About Hero Section */
.about-hero-section {
    background: var(--global-palette8);
    padding: 1.25rem 0;
}

.about-hero-inner {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 1rem;
}

.about-hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    align-items: center;
}

.about-hero-text {
    padding-right: 2rem;
}

.about-hero-heading {
    font-size: 33px;
    color: var(--global-palette3);
    margin-bottom: 38.5px;
    line-height: 1.3;
}

.about-hero-subheading {
    font-size: 20px;
    color: var(--global-palette4);
    margin-bottom: 20px;
    line-height: 1.7;
}

.about-hero-image {
    text-align: center;
}

.about-hero-image img {
    max-width: 584px;
    width: 100%;
    height: auto;
}

/* Heritage Section */
.heritage-section {
    background: var(--global-palette9);
    padding: 5rem 0 3rem;
}

.heritage-heading {
    font-size: 33px;
    color: var(--global-palette3);
    padding-left: 1rem;
    margin-left: 1rem;
    margin-bottom: 1rem;
}

.heritage-subheading {
    font-size: 20px;
    color: var(--global-palette4);
    padding-left: 1rem;
    margin-left: 1rem;
    font-weight: 400;
}

/* Timeline Section */
.timeline-section {
    background: var(--global-palette8);
    padding: 4rem 1rem;
}

.timeline-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    width: 100%;
}

.timeline-card {
    background: var(--global-palette8);
    display: flex;
    flex-direction: column;
}

.timeline-card img {
    width: 100%;
    height: auto;
    margin-bottom: 0;
}

.timeline-decade {
    font-size: 33px;
    color: var(--global-palette3);
    margin: 1.5rem 0 1rem;
}

.timeline-description {
    font-size: 20px;
    color: var(--global-palette4);
    margin: 0;
    font-weight: 400;
    line-height: 1.5;
}

/* Quote Section */
.quote-section {
    background: var(--global-palette9);
    padding: 5rem 0;
}

.quote-text {
    font-size: 56px;
    color: var(--global-palette3);
    text-align: center;
    line-height: 1.2;
    margin-bottom: 2rem;
}

.quote-attribution {
    font-size: 24px;
    color: var(--global-palette4);
    text-align: center;
    font-weight: 400;
    font-style: italic;
}

/* Separator Section */
.separator-section {
    background: var(--global-palette9);
    padding: 0;
}

.separator-line {
    border: none;
    border-top: 1px solid var(--global-palette7);
    margin: 0 auto;
    max-width: 1290px;
}

/* About CTA Section */
.about-cta-section {
    background: var(--global-palette9);
    padding: 5rem 0;
}

.cta-main-heading {
    font-size: 48px;
    color: var(--global-palette3);
    text-align: center;
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.cta-subheading {
    font-size: 28px;
    color: var(--global-palette4);
    text-align: center;
    margin-bottom: 3rem;
    line-height: 1.5;
}

.cta-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    max-width: 600px;
    margin: 0 auto;
}

.cta-button-left {
    display: flex;
    justify-content: flex-end;
}

.cta-button-right {
    display: flex;
    justify-content: flex-start;
}

.cta-button {
    display: inline-block;
    padding: 15px 30px;
    background: var(--global-palette1);
    color: var(--global-palette9);
    text-decoration: none;
    text-transform: uppercase;
    font-size: 13px;
    font-weight: 600;
    border-radius: 4px;
    border: 1px solid var(--global-palette1);
    transition: all 0.3s;
}

.cta-button:hover {
    background: var(--global-palette2);
    border-color: var(--global-palette2);
}

/* Responsive - About Page */
@media (max-width: 1024px) {
    .about-hero-section {
        padding: 5rem 0;
    }

    .about-hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .about-hero-text {
        padding-right: 0;
    }

    .about-hero-image {
        margin-top: 70px;
    }

    .about-hero-heading,
    .about-hero-subheading {
        text-align: center;
    }

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

@media (max-width: 767px) {
    .about-hero-section {
        padding: 3.75rem 0.9375rem;
    }

    .about-hero-image {
        margin-top: 0;
        margin-bottom: -80px;
    }

    .about-hero-heading {
        font-size: 28px;
    }

    .timeline-grid {
        grid-template-columns: 1fr;
    }

    .quote-text {
        font-size: 32px;
    }

    .cta-main-heading {
        font-size: 32px;
    }

    .cta-subheading {
        font-size: 20px;
    }

    .cta-buttons {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .cta-button-left,
    .cta-button-right {
        justify-content: center;
    }
}

/* ===== Contact Page Styles ===== */

/* Contact Hero Section */
.contact-hero-section {
    background: var(--global-palette8);
    padding: 5rem 0;
}

.contact-hero-heading {
    font-size: 48px;
    color: var(--global-palette3);
    text-align: center;
    line-height: 1.3;
}

/* HubSpot Form Section */
.hubspot-form-section {
    background: var(--global-palette9);
    padding: 0;
    width: 100%;
}

.hs-form-frame {
    width: 100%;
    max-width: 100%;
}

/* HubSpot Form Custom Styles */
.hubspot-form-section .hbspt-form {
    width: 100%;
    max-width: 100%;
}

.hubspot-form-section .hs-form label {
    font-family: var(--global-body-font-family);
    color: var(--global-palette3);
    font-weight: 600;
}

.hubspot-form-section .hs-form input[type="text"],
.hubspot-form-section .hs-form input[type="email"],
.hubspot-form-section .hs-form input[type="tel"],
.hubspot-form-section .hs-form textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: var(--global-body-font-family);
    font-size: 16px;
}

.hubspot-form-section .hs-form textarea {
    min-height: 120px;
}

.hubspot-form-section .hs-button {
    background: var(--global-palette1) !important;
    color: white !important;
    border: none !important;
    padding: 15px 30px !important;
    font-size: 16px !important;
    border-radius: 50px !important;
    cursor: pointer !important;
    transition: background 0.3s !important;
    font-weight: 600 !important;
    text-transform: uppercase;
}

.hubspot-form-section .hs-button:hover {
    background: var(--global-palette2) !important;
}

/* Google Maps Section */
.google-maps-section {
    background: var(--global-palette9);
    padding: 0;
    margin-bottom: -160px;
    position: relative;
    z-index: 15;
    width: 100%;
}

.map-container {
    width: 100%;
    margin: 0;
    padding: 0;
}

.map-container iframe {
    width: 100%;
    height: 450px;
    display: block;
    filter: grayscale(100%);
    margin: 0;
    padding: 0;
    vertical-align: bottom;
}

/* Contact Info Section */
.contact-info-section {
    background: var(--global-palette2);
    padding: 200px 1rem 4rem;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.contact-info-grid {
    display: grid;
    grid-template-columns: 40% 30% 30%;
    gap: 4rem;
    max-width: 1290px;
    margin: 0 auto;
}

.contact-info-box {
    text-align: center;
    color: var(--global-palette9);
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: rgba(237, 241, 236, 0.3);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    padding: 10px;
}

.contact-icon svg {
    width: 20px;
    height: 20px;
    stroke: var(--global-palette9);
}

.contact-box-title {
    font-size: 20px;
    color: var(--global-palette9);
    margin-bottom: 1rem;
    font-weight: 400;
}

.contact-box-text {
    font-size: 14px;
    color: var(--global-palette9);
    line-height: 1.6;
}

/* Responsive - Contact Page */
@media (max-width: 1024px) {
    .contact-info-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

@media (max-width: 767px) {
    .contact-hero-section {
        padding: 1.5rem 1rem;
    }

    .contact-hero-heading {
        font-size: 32px;
    }

    .google-maps-section {
        margin-bottom: -100px;
    }

    .contact-info-section {
        padding: 120px 1rem 3rem;
    }

    .map-container iframe {
        height: 350px;
    }
}
