/**
 * Stellar Service Brands - Website Redesign Styles
 *
 * @package WordPress
 * @subpackage Stellar_Child
 */

/* ==========================================================================
   CSS Variables & Color Palette
   ========================================================================== */

:root {
    /* Brand Colors */
    --stellar-blue: #0096d6;
    --stellar-cyan: #00aeef;
    --stellar-navy: #274496;
    --stellar-dark: #2c3e50;
    --stellar-gray: #f7f7f7;
    --stellar-white: #ffffff;
    --stellar-text: #333333;

    /* Typography */
    --font-heading: "Poppins", sans-serif;
    --font-body: "Lato", sans-serif;

    /* Spacing */
    --section-padding: 80px 0;
    --container-max-width: 1200px;
}

/* ==========================================================================
   Global Reset & Base Styles
   ========================================================================== */

/* Remove fixed header spacing for pages, posts, and archives using default template */
body.page #primary,
body.single #primary,
body.category #primary,
body.archive #primary {
    margin-top: 0 !important;
}

/* Fix Bootstrap white space below footer on News page */
body.category-news {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

body.category-news #page {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
    flex: 1;
    display: flex;
    flex-direction: column;
}

body.category-news #content {
    flex: 1;
}

body.category-news #primary,
body.category-news .site-main,
body.category-news .container {
    margin-bottom: 0 !important;
}

body.category-news .stellar-footer {
    margin-top: auto;
}

/* Ensure blog posts and articles remain left-aligned */
article,
.entry-content,
.post-content,
.site-main article {
    text-align: left;
}

.stellar-redesign {
    font-family: var(--font-body);
    color: var(--stellar-text);
    line-height: 1.6;
}

.stellar-redesign h1,
.stellar-redesign h2,
.stellar-redesign h3,
.stellar-redesign h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    margin: 0 0 20px 0;
}

.stellar-redesign p {
    margin: 0 0 20px 0;
}

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

/* ==========================================================================
   Header Styles
   ========================================================================== */

.stellar-header {
    background: var(--stellar-gray) !important;
    padding: 20px 0;
    border-bottom: 1px solid #e0e0e0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.stellar-header-container {
    max-width: 100%;
    margin: 0;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.stellar-logo {
    display: block;
}

.stellar-logo a {
    display: block;
}

.stellar-logo-image {
    height: 120px;
    width: 380px;
    max-width: none;
    display: block;
}

.stellar-navigation {
    flex: 1;
    display: flex;
    align-items: center;
    padding-left: 180px;
    padding-right: 120px;
}

.stellar-navigation ul.stellar-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1800px;
}

.stellar-navigation .menu-item {
    margin: 0 12px;
}

.stellar-navigation .menu-item a {
    text-decoration: none;
    color: var(--stellar-navy);
    font-family: var(--font-heading);
    font-weight: 400;
    font-size: 16px;
    text-transform: uppercase;
    transition: color 0.3s ease;
    white-space: nowrap;
}

.stellar-navigation .menu-item a:hover {
    color: var(--stellar-blue);
}

/* Mobile Menu Toggle (Hamburger) */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
    flex-direction: column;
    gap: 6px;
    width: 40px;
    height: 40px;
    justify-content: center;
    align-items: center;
}

.hamburger-line {
    width: 28px;
    height: 3px;
    background-color: var(--stellar-navy);
    transition: all 0.3s ease;
    border-radius: 2px;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
}

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

.stellar-navigation .menu-item-has-children > a {
    display: flex;
    align-items: center;
    gap: 6px;
}

.dropdown-icon {
    margin-left: 2px;
    transition: transform 0.3s ease;
}

.menu-item-has-children:hover .dropdown-icon {
    transform: rotate(180deg);
}

.stellar-navigation .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    margin: 10px 0 0 0;
    padding: 8px 0;
    list-style: none;
    background: var(--stellar-white);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-radius: 6px;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.menu-item-has-children:hover .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.stellar-navigation .sub-menu .menu-item {
    margin: 0;
    padding: 0;
}

.stellar-navigation .sub-menu .menu-item a {
    display: block;
    padding: 10px 20px;
    font-size: 14px;
    text-transform: none;
    color: var(--stellar-navy);
    transition: all 0.2s ease;
    white-space: normal;
}

.stellar-navigation .sub-menu .menu-item a:hover {
    background: var(--stellar-gray);
    color: var(--stellar-blue);
    padding-left: 24px;
}

/* ==========================================================================
   Header Logo Responsive Adjustments
   ========================================================================== */

/* Reduce logo size for mid-range screens to fit menu items */
@media (min-width: 769px) and (max-width: 1280px) {
    .stellar-logo-image {
        height: 90px;
        width: 280px;
    }
}

/* ==========================================================================
   Footer Styles
   ========================================================================== */

.stellar-footer {
    background: #0d2847;
    color: var(--stellar-white);
    padding: 60px 0 30px;
    font-family:
        -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
        Arial, sans-serif;
}

.stellar-footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

/* 3-Column Layout */
.stellar-footer-columns {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 60px;
    align-items: start;
    margin-bottom: 50px;
}

/* Logo Column */
.footer-column-logo {
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-logo-image {
    height: 150px;
    width: auto;
}

/* Contact Column */
.footer-column-contact {
    text-align: center;
}

.footer-column-title {
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 20px 0;
    color: var(--stellar-white);
    letter-spacing: 0.5px;
}

.footer-column-contact p {
    margin: 0 0 12px 0;
    font-size: 15px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
}

.footer-column-contact a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-column-contact a:hover {
    color: var(--stellar-cyan);
}

/* Social Column */
.footer-column-social {
    text-align: center;
}

.footer-linkedin-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: var(--stellar-white);
    transition: all 0.3s ease;
}

.footer-linkedin-link:hover {
    background: #0077b5;
    transform: translateY(-2px);
}

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

/* Footer Bottom */
.stellar-footer-bottom {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 30px;
    border-top: 2px solid rgba(255, 255, 255, 0.2);
}

.footer-copyright {
    margin: 0;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
}

/* Responsive Footer */
@media (max-width: 768px) {
    .stellar-footer-columns {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .footer-column-logo {
        justify-content: center;
    }

    .footer-column-contact,
    .footer-column-social {
        text-align: center;
    }

    .footer-linkedin-link {
        margin: 0 auto;
    }

    .stellar-footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}

/* ==========================================================================
   Hero Section
   ========================================================================== */

.hero-section {
    position: relative;
    min-height: 600px;
    overflow: hidden;
    color: var(--stellar-white);

    /* Blue background with vertical gradient - bright at top, deeper blue at bottom */
    background: linear-gradient(
        105deg,
        #0ea5e9 0%,
        #0ea5e9 40%,
        #1e88e5 75%,
        #244d9d 100%
    );

    /* Flexbox to position content on the right */
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

/* Image layer with blend effect */
.hero-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 55%;
    height: 100%;
    background-image: var(--hero-image);
    background-size: cover;
    background-position: center 60%;
    background-repeat: no-repeat;

    /* Gradient mask to blend into blue */
    mask-image: linear-gradient(
        to right,
        rgba(0, 0, 0, 1) 0%,
        rgba(0, 0, 0, 1) 60%,
        rgba(0, 0, 0, 0.7) 72%,
        rgba(0, 0, 0, 0.3) 82%,
        rgba(0, 0, 0, 0) 92%
    );
    -webkit-mask-image: linear-gradient(
        to right,
        rgba(0, 0, 0, 1) 0%,
        rgba(0, 0, 0, 1) 60%,
        rgba(0, 0, 0, 0.7) 72%,
        rgba(0, 0, 0, 0.3) 82%,
        rgba(0, 0, 0, 0) 92%
    );
    z-index: 1;
}

.hero-content {
    color: var(--stellar-white);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 80px 60px;
    width: 50%;
    position: relative;
    z-index: 2;
    text-align: left;
}

.hero-logo-mark {
    margin-bottom: 10px;
}

.hero-star {
    width: 275px;
    height: auto;
}

.hero-title {
    font-size: 58px;
    color: var(--stellar-white);
    margin-bottom: 10px;
    font-weight: 400 !important;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 48px;
    color: var(--stellar-white);
    margin: 0;
    font-weight: 400;
    line-height: 1.2;
}

/* ==========================================================================
   Mission Section
   ========================================================================== */

.mission-section {
    background: var(--stellar-gray);
    padding: var(--section-padding);
}

.mission-container {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 200px;
    text-align: center;
}

.mission-heading {
    font-size: 36px;
    color: var(--stellar-navy);
    margin-bottom: 40px;
    font-weight: 700 !important;
}

.mission-content {
    max-width: 1100px;
    margin: 0 auto 60px;
}

.mission-paragraph {
    font-size: 22px;
    line-height: 1.8;
    color: var(--stellar-navy);
    margin-bottom: 20px;
}

.mission-paragraph sup {
    font-size: 0.6em;
    vertical-align: baseline;
    position: relative;
    top: -0.4em;
    line-height: 0;
}

.mission-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 40px;
    max-width: 1300px;
    margin-left: auto;
    margin-right: auto;
}

.mission-image-item {
    display: flex;
    align-items: stretch;
}

.mission-image-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

/* ==========================================================================
   American Dream Section (Blue Background)
   ========================================================================== */

.american-dream-section {
    background: var(--stellar-gray);
    padding: 30px 0;
}

.american-dream-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 80px;
    text-align: center;
}

.american-dream-text {
    font-size: 24px;
    line-height: 1.8;
    color: var(--stellar-cyan);
    font-style: italic;
    margin: 0;
    font-family: var(--font-heading);
    font-weight: 500;
}

/* ==========================================================================
   Partnership Section
   ========================================================================== */

.partnership-section {
    background: var(--stellar-gray);
    padding: 40px 0 80px 0;
}

.partnership-container {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 80px;
    text-align: center;
}

.partnership-heading {
    font-size: 36px;
    color: var(--stellar-navy);
    margin-bottom: 30px;
    font-weight: 600 !important;
}

.partnership-text-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-bottom: 60px;
}

.partnership-text {
    font-size: 22px;
    line-height: 1.8;
    color: var(--stellar-navy);
    max-width: 1100px;
    margin: 0;
    text-align: center;
}

.client-videos {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    margin-top: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.video-item {
    background: #f0f0f0;
    padding: 20px;
    border-radius: 8px;
}

.video-embed {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    background: #333;
    margin-bottom: 0;
    border-radius: 4px;
}

.video-embed iframe,
.video-embed object,
.video-embed embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */

/* Wider screens - increase height to prevent image cropping */

@media (min-width: 2000px) {
    .hero-section {
        min-height: 750px;
    }
}

@media (max-width: 1024px) {
    .hero-section {
        background-position:
            left center,
            left center;
    }

    .hero-content {
        padding: 60px 40px;
        width: 60%;
    }

    .hero-title,
    .hero-subtitle {
        font-size: 36px;
    }

    .stellar-navigation {
        padding-left: 40px;
        padding-right: 20px;
    }
}

@media (max-width: 768px) {
    .stellar-header {
        position: relative;
    }

    .hero-section {
        flex-direction: column;
        min-height: auto;
        justify-content: center;
        text-align: center;
    }

    .hero-section::before {
        position: relative;
        width: 100%;
        height: 300px;
        mask-image: none;
        -webkit-mask-image: none;
    }

    .hero-content {
        width: 100%;
        align-items: center;
        padding: 40px 30px;
    }

    .mission-images,
    .client-videos,
    .brands-videos-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .stellar-header-container {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 0 20px;
    }

    /* Show hamburger menu on mobile */
    .mobile-menu-toggle {
        display: flex;
    }

    /* Hide navigation by default on mobile */
    .stellar-navigation {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        max-height: 0;
        background: var(--stellar-white);
        padding: 0 20px;
        overflow: hidden;
        transition:
            max-height 0.3s ease,
            padding 0.3s ease;
        z-index: 999;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    }

    /* Show navigation when menu is active */
    .stellar-navigation.active {
        max-height: 80vh;
        padding: 20px;
        overflow-y: auto;
    }

    .stellar-navigation ul.stellar-menu {
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        width: 100%;
    }

    .stellar-navigation .menu-item {
        width: 100%;
        border-bottom: 1px solid #e0e0e0;
    }

    .stellar-navigation .menu-item a {
        display: block;
        padding: 16px 0;
        font-size: 18px;
    }

    /* Mobile dropdown adjustments */
    .stellar-navigation .menu-item-has-children > a {
        justify-content: space-between;
    }

    .stellar-navigation .sub-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: var(--stellar-gray);
        margin: 0;
        padding: 0;
        min-width: auto;
        border-radius: 0;
    }

    .menu-item-has-children:hover .sub-menu {
        transform: none;
    }

    .stellar-navigation .sub-menu .menu-item {
        border-bottom: none;
    }

    .stellar-navigation .sub-menu .menu-item a {
        padding: 12px 20px;
        font-size: 16px;
    }

    .stellar-navigation .sub-menu .menu-item a:hover {
        padding-left: 20px;
        background: rgba(0, 0, 0, 0.05);
    }

    .mission-heading,
    .partnership-heading {
        font-size: 28px;
    }

    .american-dream-text {
        font-size: 20px;
    }
}

@media (max-width: 675px) {
    .mission-container,
    .partnership-container {
        padding: 0 30px;
    }

    .mission-heading,
    .partnership-heading {
        font-size: 26px;
    }

    .mission-paragraph,
    .partnership-text {
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .mission-container,
    .partnership-container {
        padding: 0 20px;
    }

    .hero-content {
        padding: 40px 20px;
    }

    .hero-title,
    .hero-subtitle {
        font-size: 28px;
    }

    :root {
        --section-padding: 40px 0;
    }
}

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

/* ==========================================================================
   About Hero Section
   ========================================================================== */

.about-hero-section {
    position: relative;
    min-height: 600px;
    overflow: hidden;
    color: var(--stellar-white);

    /* Blue background with vertical gradient - same as homepage */
    background: linear-gradient(
        105deg,
        #0ea5e9 0%,
        #079be0 40%,
        #1e88e5 75%,
        #244d9d 100%
    );

    /* Flexbox for split layout */
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

/* About Image layer */
.about-hero-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 45%;
    height: 100%;
    background-image: var(--about-hero-image);
    background-size: cover;
    background-position: center 23%;
    background-repeat: no-repeat;

    /* Gradient mask to blend into blue */
    mask-image: linear-gradient(
        to right,
        rgba(0, 0, 0, 1) 0%,
        rgba(0, 0, 0, 1) 70%,
        rgba(0, 0, 0, 0.7) 82%,
        rgba(0, 0, 0, 0.3) 90%,
        rgba(0, 0, 0, 0) 100%
    );
    -webkit-mask-image: linear-gradient(
        to right,
        rgba(0, 0, 0, 1) 0%,
        rgba(0, 0, 0, 1) 70%,
        rgba(0, 0, 0, 0.7) 82%,
        rgba(0, 0, 0, 0.3) 90%,
        rgba(0, 0, 0, 0) 100%
    );
    z-index: 1;
}

.about-hero-content {
    color: var(--stellar-white);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 80px 60px;
    width: 50%;
    position: relative;
    z-index: 2;
    text-align: left;
}

.about-hero-logo-mark {
    margin-bottom: 10px;
}

.about-hero-star {
    width: 275px;
    height: auto;
}

.about-hero-title {
    font-size: 58px;
    font-family: var(--font-heading);
    font-weight: 400 !important;
    color: var(--stellar-white);
    margin: 0;
    line-height: 1.3;
}

/* ==========================================================================
   About Statement Section
   ========================================================================== */

.about-statement-section {
    background: var(--stellar-gray);
    padding: 80px 0;
}

.about-statement-container {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 200px;
    text-align: center;
}

.about-statement-heading {
    font-size: 36px;
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--stellar-navy);
    margin-bottom: 40px;
}

.about-statement-content {
    max-width: 1100px;
    margin: 0 auto;
}

.about-statement-text {
    font-size: 22px;
    line-height: 1.8;
    color: var(--stellar-navy);
    margin: 0;
}

/* ==========================================================================
   About Green Split Section
   ========================================================================== */

.about-green-section {
    position: relative;
    min-height: 500px;
    overflow: hidden;

    /* Smooth horizontal gradient from green to blue */
    background: linear-gradient(135deg, #93e159 0%, #2dbc8f 50%, #1e74bc 100%);

    /* Flexbox for split layout */
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

/* Green section image layer - hard edge, no feathering */
.about-green-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    background-image: var(--about-green-image);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
}

.about-green-content {
    color: var(--stellar-white);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 60px 80px;
    width: 50%;
    position: relative;
    z-index: 2;
}

.about-green-text {
    font-size: clamp(22px, 2.5vw, 30px);
    line-height: 1.6;
    color: var(--stellar-white);
    margin: 0;
    text-align: center;
    max-width: 800px;
}

/* ==========================================================================
   About Beliefs Section
   ========================================================================== */

.about-beliefs-section {
    background: #e6f2f8;
    padding: 80px 0 100px 0;
}

.about-beliefs-container {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 200px;
    text-align: center;
}

.about-beliefs-heading {
    font-size: 36px;
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--stellar-navy);
    margin-bottom: 50px;
}

.about-beliefs-list {
    max-width: 900px;
    margin: 0 auto;
}

.about-belief-item {
    font-size: 22px;
    line-height: 1.8;
    color: var(--stellar-navy);
    margin-bottom: 30px;
}

.about-belief-item:last-child {
    margin-bottom: 0;
}

/* ==========================================================================
   About Us Responsive Design
   ========================================================================== */

/* Wider screens - increase height to prevent image cropping */

@media (min-width: 2000px) {
    .about-hero-section {
        min-height: 750px;
    }
}

@media (max-width: 1024px) {
    .about-hero-section,
    .about-green-section {
        min-height: 500px;
    }

    .about-hero-content,
    .about-green-content {
        padding: 60px 40px;
    }

    .about-hero-title {
        font-size: 36px;
    }

    .about-statement-container,
    .about-beliefs-container {
        padding: 0 80px;
    }
}

@media (max-width: 768px) {
    .about-hero-section,
    .about-green-section {
        flex-direction: column;
        min-height: auto;
    }

    .about-hero-section::before,
    .about-green-section::before {
        position: relative;
        width: 100%;
        height: 300px;
        mask-image: none;
        -webkit-mask-image: none;
    }

    .about-hero-content,
    .about-green-content {
        width: 100%;
        padding: 40px 30px;
        text-align: center;
        align-items: center;
    }

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

    .about-statement-container,
    .about-beliefs-container {
        padding: 0 40px;
    }

    .about-statement-heading,
    .about-beliefs-heading {
        font-size: 28px;
    }

    .about-statement-text,
    .about-green-text,
    .about-belief-item {
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .about-hero-content,
    .about-green-content {
        padding: 30px 20px;
    }

    .about-hero-title {
        font-size: 24px;
    }

    .about-statement-container,
    .about-beliefs-container {
        padding: 0 20px;
    }
}

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

/* ==========================================================================
   Contact Hero Section
   ========================================================================== */

.contact-hero-section {
    position: relative;
    min-height: 600px;
    overflow: hidden;
    color: var(--stellar-white);

    /* Blue background with vertical gradient - same as other pages */
    background: linear-gradient(
        105deg,
        #0ea5e9 0%,
        #079be0 40%,
        #1e88e5 75%,
        #244d9d 100%
    );

    /* Flexbox for split layout */
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

/* Contact Image layer */
.contact-hero-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 45%;
    height: 100%;
    background-image: var(--contact-hero-image);
    background-size: cover;
    background-position: center 23%;
    background-repeat: no-repeat;

    /* Gradient mask to blend into blue */
    mask-image: linear-gradient(
        to right,
        rgba(0, 0, 0, 1) 0%,
        rgba(0, 0, 0, 1) 70%,
        rgba(0, 0, 0, 0.7) 82%,
        rgba(0, 0, 0, 0.3) 90%,
        rgba(0, 0, 0, 0) 100%
    );
    -webkit-mask-image: linear-gradient(
        to right,
        rgba(0, 0, 0, 1) 0%,
        rgba(0, 0, 0, 1) 70%,
        rgba(0, 0, 0, 0.7) 82%,
        rgba(0, 0, 0, 0.3) 90%,
        rgba(0, 0, 0, 0) 100%
    );
    z-index: 1;
}

.contact-hero-content {
    color: var(--stellar-white);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 80px 60px;
    width: 50%;
    position: relative;
    z-index: 2;
    text-align: left;
}

.contact-hero-logo-mark {
    margin-bottom: 10px;
}

.contact-hero-star {
    width: 275px;
    height: auto;
}

.contact-hero-title {
    font-size: 58px;
    font-family: var(--font-heading);
    font-weight: 400 !important;
    color: var(--stellar-white);
    margin: 0;
    line-height: 1.3;
}

/* ==========================================================================
   Contact Content Section
   ========================================================================== */

.contact-content-section {
    background: var(--stellar-gray);
    padding: 80px 0 100px 0;
}

.contact-content-container {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 200px;
    text-align: center;
}

.contact-main-heading {
    font-size: 42px;
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--stellar-navy);
    margin-bottom: 40px;
    line-height: 1.3;
}

.contact-text-content {
    max-width: 1100px;
    margin: 0 auto 60px auto;
}

.contact-text-content p {
    font-size: 22px;
    line-height: 1.8;
    color: var(--stellar-navy);
    margin-bottom: 20px;
}

.contact-text-content p:last-child {
    margin-bottom: 0;
}

/* ==========================================================================
   Contact CTA Button
   ========================================================================== */

.contact-cta-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 40px;
    margin-bottom: 60px;
}

.contact-cta-button {
    display: inline-block;
    padding: 18px 50px;
    font-size: 18px;
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--stellar-white);
    text-decoration: none;
    text-align: center;
    border-radius: 50px;

    /* Solid stellar blue */
    background: #0ea5e9;

    box-shadow: 0 4px 15px rgba(14, 165, 233, 0.3);
    transition: all 0.3s ease;
    cursor: pointer;
}

.contact-cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(14, 165, 233, 0.4);
    background: #079be0;
    color: var(--stellar-white);
    text-decoration: none;
}

.contact-cta-button:active {
    transform: translateY(0);
}

/* ==========================================================================
   Contact Brand Logos Section
   ========================================================================== */

.contact-brand-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 60px;
    margin-top: 0;
}

.brand-logo-link {
    display: block;
    transition:
        transform 0.3s ease,
        opacity 0.3s ease;
}

.brand-logo-link:hover {
    transform: scale(1.05);
    opacity: 0.9;
}

.brand-logo-image {
    height: auto;
    display: block;
}

/* Specific sizing for each logo to balance them */
.logo-r1,
img.logo-r1,
.brand-logo-image.logo-r1 {
    max-width: 420px !important;
    width: 420px !important;
}

.logo-bluefrog,
img.logo-bluefrog,
.brand-logo-image.logo-bluefrog {
    max-width: 350px !important;
    width: 350px !important;
}

/* ==========================================================================
   Contact Us Responsive Design
   ========================================================================== */

@media (min-width: 2000px) {
    .contact-hero-section {
        min-height: 750px;
    }
}

@media (max-width: 1024px) {
    .contact-hero-section {
        min-height: 500px;
    }

    .contact-hero-content {
        padding: 60px 40px;
    }

    .contact-hero-title {
        font-size: 36px;
    }

    .contact-content-container {
        padding: 0 80px;
    }

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

    .contact-cta-button {
        padding: 16px 40px;
        font-size: 16px;
    }

    .logo-r1,
    img.logo-r1,
    .brand-logo-image.logo-r1 {
        max-width: 320px !important;
        width: 320px !important;
    }

    .logo-bluefrog,
    img.logo-bluefrog,
    .brand-logo-image.logo-bluefrog {
        max-width: 270px !important;
        width: 270px !important;
    }
}

@media (max-width: 768px) {
    .contact-hero-section {
        flex-direction: column;
        min-height: auto;
    }

    .contact-hero-section::before {
        position: relative;
        width: 100%;
        height: 300px;
        mask-image: none;
        -webkit-mask-image: none;
    }

    .contact-hero-content {
        width: 100%;
        padding: 40px 30px;
        text-align: center;
        align-items: center;
    }

    .contact-hero-title {
        font-size: 28px;
    }

    .contact-content-container {
        padding: 0 40px;
    }

    .contact-main-heading {
        font-size: 28px;
    }

    .contact-text-content p {
        font-size: 18px;
    }

    .contact-cta-button {
        padding: 14px 35px;
        font-size: 16px;
    }

    .contact-brand-logos {
        flex-direction: column;
        gap: 40px;
    }

    .logo-r1,
    img.logo-r1,
    .brand-logo-image.logo-r1 {
        max-width: 280px !important;
        width: 280px !important;
    }

    .logo-bluefrog,
    img.logo-bluefrog,
    .brand-logo-image.logo-bluefrog {
        max-width: 230px !important;
        width: 230px !important;
    }
}

@media (max-width: 480px) {
    .contact-hero-content {
        padding: 30px 20px;
    }

    .contact-hero-title {
        font-size: 24px;
    }

    .contact-content-container {
        padding: 0 20px;
    }

    .contact-cta-button {
        padding: 12px 30px;
        font-size: 15px;
    }

    .logo-r1,
    img.logo-r1,
    .brand-logo-image.logo-r1 {
        max-width: 240px !important;
        width: 240px !important;
    }

    .logo-bluefrog,
    img.logo-bluefrog,
    .brand-logo-image.logo-bluefrog {
        max-width: 200px !important;
        width: 200px !important;
    }
}

/* ==========================================================================
   Stellar Academy Page Styles
   ========================================================================== */

/* ==========================================================================
   Academy Hero Section
   ========================================================================== */

.academy-hero-section {
    position: relative;
    min-height: 600px;
    overflow: hidden;
    color: var(--stellar-white);

    /* Blue background with vertical gradient - same as homepage/about */
    background: linear-gradient(
        105deg,
        #0ea5e9 0%,
        #079be0 40%,
        #1e88e5 75%,
        #244d9d 100%
    );

    /* Flexbox for split layout */
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

/* Academy Image layer */
.academy-hero-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    background-image: var(--academy-hero-image);
    background-size: cover;
    background-position: center 33%;
    background-repeat: no-repeat;

    /* Gradient mask to blend into blue */
    mask-image: linear-gradient(
        to right,
        rgba(0, 0, 0, 1) 0%,
        rgba(0, 0, 0, 1) 78%,
        rgba(0, 0, 0, 0.7) 88%,
        rgba(0, 0, 0, 0.3) 94%,
        rgba(0, 0, 0, 0) 100%
    );
    -webkit-mask-image: linear-gradient(
        to right,
        rgba(0, 0, 0, 1) 0%,
        rgba(0, 0, 0, 1) 78%,
        rgba(0, 0, 0, 0.7) 88%,
        rgba(0, 0, 0, 0.3) 94%,
        rgba(0, 0, 0, 0) 100%
    );
    z-index: 1;
}

.academy-hero-content {
    color: var(--stellar-white);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 80px 60px;
    width: 50%;
    position: relative;
    z-index: 2;
    text-align: left;
}

.academy-hero-logo-mark {
    margin-bottom: 10px;
}

.academy-hero-star {
    width: 275px;
    height: auto;
}

.academy-hero-title {
    font-size: 58px;
    font-family: var(--font-heading);
    font-weight: 400 !important;
    color: var(--stellar-white);
    margin: 0;
    line-height: 1.3;
}

/* ==========================================================================
   Academy Introduction Section
   ========================================================================== */

.academy-intro-section {
    background: var(--stellar-gray);
    padding: 80px 0 40px 0;
}

.academy-intro-container {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 200px;
    text-align: center;
}

.academy-intro-content {
    max-width: 1100px;
    margin: 0 auto;
}

.academy-intro-text {
    font-size: 22px;
    line-height: 1.8;
    color: var(--stellar-navy);
    margin: 0;
}

/* ==========================================================================
   Academy Welcome Section
   ========================================================================== */

.academy-welcome-section {
    background: var(--stellar-gray);
    padding: 20px 0 40px 0;
}

.academy-welcome-container {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 200px;
    text-align: center;
}

.academy-welcome-heading {
    font-size: 36px;
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--stellar-navy);
    margin-bottom: 30px;
}

.academy-welcome-content {
    max-width: 1100px;
    margin: 0 auto 60px;
}

.academy-welcome-text {
    font-size: 22px;
    line-height: 1.8;
    color: var(--stellar-navy);
    margin: 0;
}

.academy-welcome-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 40px;
    max-width: 1300px;
    margin-left: auto;
    margin-right: auto;
}

.academy-welcome-image-item {
    display: flex;
    align-items: stretch;
}

.academy-welcome-image-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

/* ==========================================================================
   Academy Learning Section (with Badges)
   ========================================================================== */

.academy-learning-section {
    background: var(--stellar-gray);
    padding: 20px 0 80px 0;
}

.academy-learning-container {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 200px;
    text-align: center;
}

.academy-learning-heading {
    font-size: 36px;
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--stellar-navy);
    margin-bottom: 30px;
}

.academy-learning-content {
    max-width: 1100px;
    margin: 0 auto 60px;
}

.academy-learning-text {
    font-size: 22px;
    line-height: 1.8;
    color: var(--stellar-navy);
    margin: 0;
}

.academy-logo-large {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 40px;
}

.academy-logo-large img {
    width: 100%;
    max-width: 385px;
    height: auto;
}

/* ==========================================================================
   Academy Green-to-Blue Gradient Section
   ========================================================================== */

.academy-gradient-section {
    position: relative;
    min-height: 500px;
    overflow: hidden;

    /* Smooth horizontal gradient from green to blue */
    background: linear-gradient(135deg, #93e159 0%, #2dbc8f 50%, #1e74bc 100%);

    /* Flexbox for split layout */
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

/* Gradient section image layer - hard edge, no feathering */
.academy-gradient-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    background-image: var(--academy-gradient-image);
    background-size: cover;
    background-position: center 25%;
    background-repeat: no-repeat;
    z-index: 1;
}

.academy-gradient-content {
    color: var(--stellar-white);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 60px 80px;
    width: 50%;
    position: relative;
    z-index: 2;
}

.academy-gradient-text {
    font-size: clamp(22px, 2.5vw, 32px);
    line-height: 1.6;
    color: var(--stellar-white);
    margin: 0;
    text-align: center;
    max-width: 800px;
}

/* ==========================================================================
   Academy Community Section
   ========================================================================== */

.academy-community-section {
    background: #e6f2f8;
    padding: 80px 0;
}

.academy-community-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 40px;
    text-align: center;
}

.academy-community-heading {
    font-size: 36px;
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--stellar-navy);
    margin-bottom: 30px;
}

.academy-community-intro {
    margin-bottom: 40px;
}

.academy-community-intro-text {
    font-size: 20px;
    line-height: 1.8;
    color: var(--stellar-navy);
    margin: 0;
}

.academy-community-subheading {
    font-size: 20px;
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--stellar-navy);
    margin-bottom: 20px;
}

.academy-community-list {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.academy-community-item {
    font-size: 18px;
    line-height: 1.8;
    color: var(--stellar-navy);
    margin-bottom: 15px;
    padding-left: 30px;
    position: relative;
}

.academy-community-item::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--stellar-blue);
    font-weight: bold;
    font-size: 24px;
}

.academy-community-item:last-child {
    margin-bottom: 0;
}

/* ==========================================================================
   Academy Responsive Design
   ========================================================================== */

/* Wider screens - increase height to prevent image cropping */
@media (min-width: 2000px) {
    .academy-hero-section {
        min-height: 750px;
    }
}

@media (max-width: 1024px) {
    .academy-hero-section,
    .academy-gradient-section {
        min-height: 500px;
    }

    .academy-hero-content,
    .academy-gradient-content {
        padding: 60px 40px;
    }

    .academy-hero-title {
        font-size: 36px;
    }

    .academy-intro-container,
    .academy-welcome-container,
    .academy-learning-container {
        padding: 0 80px;
    }
}

@media (max-width: 768px) {
    .academy-hero-section,
    .academy-gradient-section {
        flex-direction: column;
        min-height: auto;
    }

    .academy-hero-section::before,
    .academy-gradient-section::before {
        position: relative;
        width: 100%;
        height: 300px;
        mask-image: none;
        -webkit-mask-image: none;
    }

    .academy-hero-content,
    .academy-gradient-content {
        width: 100%;
        padding: 40px 30px;
        text-align: center;
        align-items: center;
    }

    .academy-hero-title {
        font-size: 28px;
    }

    .academy-intro-container,
    .academy-welcome-container,
    .academy-learning-container {
        padding: 0 40px;
    }

    .academy-welcome-images {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .academy-logo-large img {
        max-width: 300px;
    }

    .academy-welcome-heading,
    .academy-learning-heading,
    .academy-community-heading {
        font-size: 28px;
    }

    .academy-intro-text,
    .academy-welcome-text,
    .academy-learning-text,
    .academy-gradient-text,
    .academy-community-intro-text {
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .academy-hero-content,
    .academy-gradient-content {
        padding: 30px 20px;
    }

    .academy-hero-title {
        font-size: 24px;
    }

    .academy-intro-container,
    .academy-welcome-container,
    .academy-learning-container,
    .academy-community-container {
        padding: 0 20px;
    }
}

/* ==========================================================================
   Technology Page Styles
   ========================================================================== */

/* ==========================================================================
   Tech Hero Section
   ========================================================================== */

.tech-hero-section {
    position: relative;
    min-height: 600px;
    overflow: hidden;
    color: var(--stellar-white);

    /* Blue background with vertical gradient - same as homepage/about */
    background: linear-gradient(
        105deg,
        #0ea5e9 0%,
        #079be0 40%,
        #1e88e5 75%,
        #244d9d 100%
    );

    /* Flexbox for split layout */
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

/* Tech Image layer */
.tech-hero-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    background-image: var(--tech-hero-image);
    background-size: cover;
    background-position: center 33%;
    background-repeat: no-repeat;

    /* Gradient mask to blend into blue */
    mask-image: linear-gradient(
        to right,
        rgba(0, 0, 0, 1) 0%,
        rgba(0, 0, 0, 1) 70%,
        rgba(0, 0, 0, 0.7) 82%,
        rgba(0, 0, 0, 0.3) 90%,
        rgba(0, 0, 0, 0) 100%
    );
    -webkit-mask-image: linear-gradient(
        to right,
        rgba(0, 0, 0, 1) 0%,
        rgba(0, 0, 0, 1) 70%,
        rgba(0, 0, 0, 0.7) 82%,
        rgba(0, 0, 0, 0.3) 90%,
        rgba(0, 0, 0, 0) 100%
    );
    z-index: 1;
}

.tech-hero-content {
    color: var(--stellar-white);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 80px 60px;
    width: 50%;
    position: relative;
    z-index: 2;
    text-align: left;
}

.tech-hero-logo-mark {
    margin-bottom: 10px;
}

.tech-hero-star {
    width: 275px;
    height: auto;
}

.tech-hero-title {
    font-size: 58px;
    font-family: var(--font-heading);
    font-weight: 400 !important;
    color: var(--stellar-white);
    margin: 0;
    line-height: 1.3;
}

/* ==========================================================================
   Tech Introduction Section
   ========================================================================== */

.tech-intro-section {
    background: var(--stellar-gray);
    padding: 80px 0;
}

.tech-intro-container {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 200px;
    text-align: center;
}

.tech-intro-content {
    max-width: 1100px;
    margin: 0 auto;
}

.tech-intro-text {
    font-size: 22px;
    line-height: 1.8;
    color: var(--stellar-navy);
    margin: 0;
}

/* ==========================================================================
   Tech Green-to-Blue Gradient Section
   ========================================================================== */

.tech-gradient-section {
    position: relative;
    min-height: 430px;
    overflow: hidden;

    /* Smooth horizontal gradient from green to blue */
    background: linear-gradient(135deg, #93e159 0%, #2dbc8f 50%, #1e74bc 100%);

    /* Flexbox for split layout */
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

/* Gradient section image layer - hard edge, no feathering */
.tech-gradient-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    background-image: var(--tech-gradient-image);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
}

.tech-gradient-content {
    color: var(--stellar-white);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 60px 80px;
    width: 50%;
    position: relative;
    z-index: 2;
}

.tech-gradient-text {
    font-size: clamp(22px, 2.5vw, 32px);
    line-height: 1.6;
    color: var(--stellar-white);
    margin: 0;
    text-align: center;
    max-width: 720px;
}

/* ==========================================================================
   Tech More Brands Section
   ========================================================================== */

.tech-more-brands-section {
    background: var(--stellar-gray);
    padding: 80px 0;
}

.tech-more-brands-container {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 200px;
    text-align: center;
}

.tech-more-brands-heading {
    font-size: 36px;
    font-family: var(--font-heading);
    font-weight: 600 !important;
    color: var(--stellar-navy);
    margin-bottom: 30px;
    max-width: 800px;
    display: inline-block;
}

.tech-more-brands-content {
    max-width: 1100px;
    margin: 0 auto;
}

.tech-more-brands-text {
    font-size: 22px;
    line-height: 1.8;
    color: var(--stellar-navy);
    margin: 0;
}

/* ==========================================================================
   Tech National Brands Section
   ========================================================================== */

.tech-national-section {
    background: #e6f2f8;
    padding: 40px 0 80px 0;
}

.tech-national-container {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 200px;
    text-align: center;
}

.tech-national-heading {
    font-size: 36px;
    font-family: var(--font-heading);
    font-weight: 600 !important;
    color: var(--stellar-navy);
    margin-bottom: 30px;
}

.tech-national-content {
    max-width: 1100px;
    margin: 0 auto 40px;
}

.tech-national-text {
    font-size: 22px;
    line-height: 1.8;
    color: var(--stellar-navy);
    margin: 0;
}

.tech-national-list {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.tech-national-item {
    font-size: 18px;
    line-height: 1.8;
    color: var(--stellar-navy);
    margin-bottom: 15px;
    padding-left: 30px;
    position: relative;
}

.tech-national-item::before {
    content: "•";
    position: absolute;
    left: 0;
    top: 0.1em;
    color: var(--stellar-blue);
    font-weight: bold;
    font-size: 24px;
    line-height: 1;
}

.tech-national-item em {
    font-style: italic;
    font-weight: 600;
}

.tech-national-item:last-child {
    margin-bottom: 0;
}

/* ==========================================================================
   Tech Bottom Blue Gradient Section (No Image)
   ========================================================================== */

.tech-bottom-gradient-section {
    position: relative;
    min-height: 300px;
    overflow: hidden;
    color: var(--stellar-white);

    /* Blue gradient - same as hero section */
    background: linear-gradient(
        105deg,
        #0ea5e9 0%,
        #079be0 40%,
        #1e88e5 75%,
        #244d9d 100%
    );

    /* Flexbox for centered content */
    display: flex;
    align-items: center;
    justify-content: center;
}

.tech-bottom-gradient-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 60px 200px;
    text-align: center;
}

.tech-bottom-gradient-text {
    font-size: clamp(20px, 2vw, 26px);
    font-style: italic;
    max-width: 1000px;
    line-height: 1.7;
    color: var(--stellar-white);
    margin: 0 auto;
}

/* ==========================================================================
   Tech Responsive Design
   ========================================================================== */

/* Wider screens - increase height to prevent image cropping */
@media (min-width: 2000px) and (max-width: 2150px) {
    .tech-hero-section {
        min-height: 750px;
    }
    .tech-gradient-section {
        min-height: 480px;
    }
    .tech-gradient-section::before {
        background-size: 100% auto;
        background-position: left center;
    }
}

@media (min-width: 2151px) {
    .tech-hero-section {
        min-height: 750px;
    }
    .tech-gradient-section {
        min-height: 563px;
    }
    .tech-gradient-section::before {
        background-size: 100% auto;
        background-position: left center;
    }
}

@media (max-width: 1024px) {
    .tech-hero-section,
    .tech-gradient-section {
        min-height: 430px;
    }

    .tech-hero-content,
    .tech-gradient-content {
        padding: 60px 40px;
    }

    .tech-hero-title {
        font-size: 36px;
    }

    .tech-intro-container,
    .tech-more-brands-container,
    .tech-national-container {
        padding: 0 80px;
    }

    .tech-bottom-gradient-container {
        padding: 60px 80px;
    }
}

@media (max-width: 768px) {
    .tech-hero-section,
    .tech-gradient-section {
        flex-direction: column;
        min-height: auto;
    }

    .tech-hero-section::before,
    .tech-gradient-section::before {
        position: relative;
        width: 100%;
        height: 300px;
        mask-image: none;
        -webkit-mask-image: none;
    }

    .tech-hero-content,
    .tech-gradient-content {
        width: 100%;
        padding: 40px 30px;
        text-align: center;
        align-items: center;
    }

    .tech-hero-title {
        font-size: 28px;
    }

    .tech-intro-container,
    .tech-more-brands-container,
    .tech-national-container {
        padding: 0 40px;
    }

    .tech-bottom-gradient-container {
        padding: 60px 40px;
    }

    .tech-more-brands-heading,
    .tech-national-heading {
        font-size: 28px;
    }

    .tech-intro-text,
    .tech-more-brands-text,
    .tech-national-text,
    .tech-gradient-text,
    .tech-bottom-gradient-text {
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .tech-hero-content,
    .tech-gradient-content {
        padding: 30px 20px;
    }

    .tech-hero-title {
        font-size: 24px;
    }

    .tech-intro-container,
    .tech-more-brands-container,
    .tech-national-container {
        padding: 0 20px;
    }

    .tech-bottom-gradient-container {
        padding: 60px 20px;
    }
}

/* ==========================================================================
   Leadership Page Styles
   ========================================================================== */

/* ==========================================================================
   Leadership Hero Section
   ========================================================================== */

.leadership-hero-section {
    position: relative;
    min-height: 600px;
    overflow: hidden;
    color: var(--stellar-white);

    /* Blue background with vertical gradient - same as homepage/about */
    background: linear-gradient(
        105deg,
        #0ea5e9 0%,
        #079be0 40%,
        #1e88e5 75%,
        #244d9d 100%
    );

    /* Flexbox for split layout */
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

/* Leadership Image layer */
.leadership-hero-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    background-image: var(--leadership-hero-image);
    background-size: cover;
    background-position: center 33%;
    background-repeat: no-repeat;

    /* Gradient mask to blend into blue */
    mask-image: linear-gradient(
        to right,
        rgba(0, 0, 0, 1) 0%,
        rgba(0, 0, 0, 1) 70%,
        rgba(0, 0, 0, 0.7) 82%,
        rgba(0, 0, 0, 0.3) 90%,
        rgba(0, 0, 0, 0) 100%
    );
    -webkit-mask-image: linear-gradient(
        to right,
        rgba(0, 0, 0, 1) 0%,
        rgba(0, 0, 0, 1) 70%,
        rgba(0, 0, 0, 0.7) 82%,
        rgba(0, 0, 0, 0.3) 90%,
        rgba(0, 0, 0, 0) 100%
    );
    z-index: 1;
}

.leadership-hero-content {
    color: var(--stellar-white);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 80px 60px;
    width: 50%;
    position: relative;
    z-index: 2;
    text-align: left;
}

.leadership-hero-logo-mark {
    margin-bottom: 10px;
}

.leadership-hero-star {
    width: 275px;
    height: auto;
}

.leadership-hero-title {
    font-size: 58px;
    font-family: var(--font-heading);
    font-weight: 400 !important;
    color: var(--stellar-white);
    margin: 0;
    line-height: 1.3;
}

/* ==========================================================================
   Leadership Introduction Section
   ========================================================================== */

.leadership-intro-section {
    background: var(--stellar-gray);
    padding: 80px 0 40px 0;
}

.leadership-intro-container {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 200px;
    text-align: center;
}

.leadership-intro-content {
    max-width: 1100px;
    margin: 0 auto 30px;
}

.leadership-intro-content:last-child {
    margin-bottom: 0;
}

.leadership-intro-text {
    font-size: 22px;
    line-height: 1.8;
    color: var(--stellar-navy);
    margin: 0;
}

/* ==========================================================================
   Leadership Grid Section
   ========================================================================== */

.leadership-grid-section {
    background: var(--stellar-gray);
    padding: 40px 0 60px 0;
}

.leadership-grid-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 100px;
}

.leadership-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 40px;
    margin-top: 20px;
}

/* Main leadership cards (1-5) with flip functionality */
.leadership-card {
    grid-column: span 2;
    perspective: 1000px;
    cursor: pointer;
    height: 650px;
}

/* Center cards 4 and 5 */
.leadership-card:nth-child(4) {
    grid-column: 2 / 4;
}

.leadership-card:nth-child(5) {
    grid-column: 4 / 6;
}

/* Affiliated brand cards (6-7) - separated and centered */
.leadership-card:nth-child(6),
.leadership-card:nth-child(7) {
    margin-top: 60px;
    height: auto;
    cursor: default;
}

.leadership-card:nth-child(6) {
    grid-column: 2 / 4;
}

.leadership-card:nth-child(7) {
    grid-column: 4 / 6;
}

/* Flip card inner container */
.leadership-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.6s;
    transform-style: preserve-3d;
}

/* Flip on hover or click for cards 1-5 */
.leadership-card:nth-child(1):hover .leadership-card-inner,
.leadership-card:nth-child(2):hover .leadership-card-inner,
.leadership-card:nth-child(3):hover .leadership-card-inner,
.leadership-card:nth-child(4):hover .leadership-card-inner,
.leadership-card:nth-child(5):hover .leadership-card-inner {
    transform: rotateY(180deg);
}

.leadership-card:nth-child(1).flipped-by-click .leadership-card-inner,
.leadership-card:nth-child(2).flipped-by-click .leadership-card-inner,
.leadership-card:nth-child(3).flipped-by-click .leadership-card-inner,
.leadership-card:nth-child(4).flipped-by-click .leadership-card-inner,
.leadership-card:nth-child(5).flipped-by-click .leadership-card-inner {
    transform: rotateY(180deg) !important;
}

/* Affiliated brand cards (6-7) don't flip */
.leadership-card:nth-child(6) .leadership-card-inner,
.leadership-card:nth-child(7) .leadership-card-inner {
    transform: none !important;
}

.leadership-card:nth-child(6):hover .leadership-card-inner,
.leadership-card:nth-child(7):hover .leadership-card-inner {
    transform: none !important;
}

/* Front and back faces */
.leadership-card-front,
.leadership-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    background: var(--stellar-white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.leadership-card-front {
    display: flex;
    flex-direction: column;
}

.leadership-card-back {
    transform: rotateY(180deg);
    display: flex;
    flex-direction: column;
    padding: 25px 30px 30px 30px;
    justify-content: flex-start;
    overflow-y: auto;
    overflow-x: hidden;
}

/* Affiliated brand cards styling */
.leadership-card:nth-child(6) .leadership-card-front,
.leadership-card:nth-child(7) .leadership-card-front {
    position: relative;
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.leadership-card:nth-child(6):hover .leadership-card-front,
.leadership-card:nth-child(7):hover .leadership-card-front {
    transform: translateY(-5px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.leadership-card-image {
    width: 100%;
    height: 400px;
    overflow: hidden;
}

.leadership-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.leadership-card-content {
    padding: 30px 25px;
    text-align: center;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.leadership-card-name {
    font-size: 22px;
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--stellar-navy);
    margin: 0 0 5px 0 !important;
}

.leadership-card-title {
    font-size: 18px;
    font-family: var(--font-heading);
    color: var(--stellar-navy);
    margin: 0 !important;
    font-weight: 700;
}

.leadership-card-company {
    font-size: 17px;
    font-family: var(--font-heading);
    font-weight: 500;
    color: var(--stellar-navy);
    margin: 0;
}

.leadership-card-note {
    font-size: 14px;
    font-family: var(--font-body);
    font-style: italic;
    font-weight: 500;
    color: #3d4f5e;
    margin: 8px 0 0 0 !important;
    line-height: 1.4;
}

/* Bio on card back */
.leadership-card-bio {
    font-size: 15.5px;
    font-family: var(--font-body);
    color: var(--stellar-navy);
    line-height: 1.8;
    margin: 0;
    text-align: left;
}

.leadership-card-back-name {
    font-size: 24px;
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--stellar-navy);
    margin: 0 0 5px 0 !important;
    text-align: center;
}

.leadership-card-back-title {
    font-size: 18px;
    font-family: var(--font-heading);
    color: var(--stellar-blue);
    margin: 0 0 10px 0;
    font-weight: 500;
    text-align: center;
}

/* ==========================================================================
   Leadership Testimonials Section
   ========================================================================== */

.leadership-testimonials-section {
    background: #e6f2f8;
    padding: 40px 0 80px 0;
}

.leadership-testimonials-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 200px;
}

.leadership-testimonials-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-top: 20px;
}

.leadership-testimonials-single {
    grid-template-columns: 1fr;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.testimonial-card {
    background: var(--stellar-white);
    border-radius: 8px;
    padding: 35px 30px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 280px;
}

.testimonial-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.testimonial-quote {
    margin-bottom: 20px;
}

.testimonial-text {
    font-size: 22px;
    font-weight: 600;
    line-height: 1.7;
    color: var(--stellar-navy);
    margin: 0;
    font-style: italic;
}

.testimonial-attribution {
    margin-top: auto;
}

.testimonial-name {
    font-size: 16px;
    font-weight: 600;
    color: var(--stellar-navy);
    margin: 0 0 4px 0;
}

.testimonial-business {
    font-size: 14px;
    color: var(--stellar-blue);
    margin: 0;
    line-height: 1.5;
}

/* ==========================================================================
   Leadership Responsive Design
   ========================================================================== */

/* Wider screens - increase hero height to prevent image cropping */
@media (min-width: 2000px) {
    .leadership-hero-section {
        min-height: 750px;
    }
}

@media (max-width: 1300px) {
    .leadership-grid-container,
    .leadership-testimonials-container {
        padding: 0 80px;
    }

    .leadership-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .leadership-card {
        grid-column: span 1 !important;
    }

    .leadership-card:nth-child(4),
    .leadership-card:nth-child(5) {
        grid-column: span 1 !important;
    }

    .leadership-card:nth-child(6),
    .leadership-card:nth-child(7) {
        grid-column: span 1 !important;
        margin-top: 60px;
    }
}

@media (max-width: 1024px) {
    .leadership-hero-section {
        min-height: 500px;
    }

    .leadership-hero-content {
        padding: 60px 40px;
    }

    .leadership-hero-title {
        font-size: 36px;
    }

    .leadership-intro-container {
        padding: 0 80px;
    }
}

@media (max-width: 600px) {
    .leadership-grid-container {
        padding: 0 60px;
    }

    .leadership-grid {
        grid-template-columns: 1fr !important;
        gap: 30px;
    }

    .leadership-card {
        grid-column: span 1 !important;
        height: auto;
        min-height: 500px;
    }

    .leadership-card:nth-child(4),
    .leadership-card:nth-child(5),
    .leadership-card:nth-child(6),
    .leadership-card:nth-child(7) {
        grid-column: span 1 !important;
        margin-top: 0;
    }

    /* Fix image cropping for cards 1-5 on mobile */
    .leadership-card:nth-child(1) .leadership-card-image img,
    .leadership-card:nth-child(2) .leadership-card-image img {
        object-position: center 20%;
    }

    .leadership-card:nth-child(3) .leadership-card-image img,
    .leadership-card:nth-child(4) .leadership-card-image img {
        object-position: center 25%;
    }

    .leadership-card:nth-child(5) .leadership-card-image img {
        object-position: center 35%;
    }
}

@media (max-width: 768px) {
    .leadership-hero-section {
        flex-direction: column;
        min-height: auto;
    }

    .leadership-hero-section::before {
        position: relative;
        width: 100%;
        height: 300px;
        mask-image: none;
        -webkit-mask-image: none;
    }

    .leadership-hero-content {
        width: 100%;
        padding: 40px 30px;
        text-align: center;
        align-items: center;
    }

    .leadership-hero-title {
        font-size: 28px;
    }

    .leadership-intro-container,
    .leadership-grid-container,
    .leadership-testimonials-container {
        padding: 0 40px;
    }

    .leadership-grid,
    .leadership-testimonials-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .leadership-card {
        grid-column: span 1 !important;
        height: auto;
        min-height: 450px;
    }

    .leadership-card:nth-child(4),
    .leadership-card:nth-child(5),
    .leadership-card:nth-child(6),
    .leadership-card:nth-child(7) {
        grid-column: span 1 !important;
        margin-top: 0;
    }

    .leadership-intro-text {
        font-size: 18px;
    }

    /* Increase bio font size slightly on mobile for readability */
    .leadership-card-bio {
        font-size: 15px;
    }

    /* Fix image cropping for cards 1-5 on mobile */
    .leadership-card:nth-child(1) .leadership-card-image img,
    .leadership-card:nth-child(2) .leadership-card-image img {
        object-position: center 20%;
    }

    .leadership-card:nth-child(3) .leadership-card-image img,
    .leadership-card:nth-child(4) .leadership-card-image img {
        object-position: center 25%;
    }

    .leadership-card:nth-child(5) .leadership-card-image img {
        object-position: center 35%;
    }

    .testimonial-card {
        min-height: auto;
    }
}

@media (max-width: 480px) {
    .leadership-hero-content {
        padding: 30px 20px;
    }

    .leadership-hero-title {
        font-size: 24px;
    }

    .leadership-intro-container,
    .leadership-grid-container,
    .leadership-testimonials-container {
        padding: 0 20px;
    }

    .testimonial-card {
        padding: 25px 20px;
    }
}

/* ==========================================================================
   Our Brands Page Styles
   ========================================================================== */

/* ==========================================================================
   Brands Hero Section
   ========================================================================== */

.brands-hero-section {
    position: relative;
    min-height: 600px;
    overflow: hidden;
    color: var(--stellar-white);

    /* Blue background with vertical gradient - same as other pages */
    background: linear-gradient(
        105deg,
        #0ea5e9 0%,
        #079be0 40%,
        #1e88e5 75%,
        #244d9d 100%
    );

    /* Flexbox for split layout */
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

/* Brands Image layer */
.brands-hero-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 45%;
    height: 100%;
    background-image: var(--brands-hero-image);
    background-size: cover;
    background-position: center 23%;
    background-repeat: no-repeat;

    /* Gradient mask to blend into blue */
    mask-image: linear-gradient(
        to right,
        rgba(0, 0, 0, 1) 0%,
        rgba(0, 0, 0, 1) 70%,
        rgba(0, 0, 0, 0.7) 82%,
        rgba(0, 0, 0, 0.3) 90%,
        rgba(0, 0, 0, 0) 100%
    );
    -webkit-mask-image: linear-gradient(
        to right,
        rgba(0, 0, 0, 1) 0%,
        rgba(0, 0, 0, 1) 70%,
        rgba(0, 0, 0, 0.7) 82%,
        rgba(0, 0, 0, 0.3) 90%,
        rgba(0, 0, 0, 0) 100%
    );
    z-index: 1;
}

.brands-hero-content {
    color: var(--stellar-white);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 80px 60px;
    width: 50%;
    position: relative;
    z-index: 2;
    text-align: left;
}

.brands-hero-logo-mark {
    margin-bottom: 10px;
}

.brands-hero-star {
    width: 275px;
    height: auto;
}

.brands-hero-title {
    font-size: 58px;
    font-family: var(--font-heading);
    font-weight: 400 !important;
    color: var(--stellar-white);
    margin: 0;
    line-height: 1.3;
}

/* ==========================================================================
   Brands Introduction Section
   ========================================================================== */

.brands-intro-section {
    background: var(--stellar-gray);
    padding: 80px 0 0 0;
    margin: 0;
}

.brands-intro-container {
    max-width: 1800px;
    margin: 0 auto;
    padding: 0 200px;
}

.brands-intro-content {
    text-align: center;
    margin: 0;
    padding: 0;
}

.brands-intro-text {
    font-size: 22px;
    color: var(--stellar-navy);
    line-height: 1.8;
    margin: 0 auto !important;
    padding: 0;
    max-width: 900px;
}

/* ==========================================================================
   Brands Grid Section
   ========================================================================== */

.brands-grid-section {
    background: var(--stellar-gray);
    padding: 80px 0 80px 0;
    margin: 0;
}

.brands-grid-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 200px;
}

.brands-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 60px 80px;
    margin-top: 0;
}

.brand-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.brand-logo {
    margin: 0 auto 30px auto;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 80px;
    width: 100%;
    max-width: 280px;
}

.brand-logo a {
    display: block;
    transition: transform 0.3s ease;
}

.brand-logo a:hover {
    transform: translateY(-5px);
}

.brand-logo img {
    width: 100%;
    height: auto;
    display: block;
}

.brand-logos-multiple {
    margin-bottom: 30px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 40px;
    min-height: 80px;
}

.brand-logo-small {
    display: flex;
    align-items: center;
    justify-content: center;
}

.brand-logo-small a {
    display: block;
    transition: transform 0.3s ease;
}

.brand-logo-small a:hover {
    transform: translateY(-5px);
}

.brand-logo-small img {
    max-width: 350px;
    height: auto;
}

.brand-description {
    max-width: 500px;
}

.brand-description p {
    font-size: 20px;
    color: var(--stellar-navy);
    line-height: 1.7;
    margin: 0;
}

/* ==========================================================================
   Brands Bottom Gradient Section
   ========================================================================== */

.brands-bottom-gradient-section {
    background: linear-gradient(135deg, #0ea5e9 0%, #1e88e5 50%, #244d9d 100%);
    padding: 60px 0;
}

.brands-bottom-gradient-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 200px;
    text-align: center;
}

.brands-bottom-gradient-text {
    font-size: 26px;
    color: var(--stellar-white);
    line-height: 1.8;
    margin: 0;
    font-style: italic;
}

/* ==========================================================================
   Partner Brands Section
   ========================================================================== */

.brands-partners-section {
    background: var(--stellar-gray);
    padding: 80px 0;
}

.brands-partners-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 100px;
}

.brands-partners-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 80px;
    align-items: start;
}

.brands-partners-grid .brand-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.brands-partners-grid .brand-logo-small {
    min-height: 120px;
    margin-bottom: 30px;
}

.brands-partners-grid .brand-description {
    text-align: center;
}

/* ==========================================================================
   Brands Videos Section
   ========================================================================== */

.brands-videos-section {
    background: var(--stellar-gray);
    padding: 80px 0;
}

.brands-videos-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 100px;
}

.brands-videos-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 60px;
    align-items: start;
}

.brands-videos-grid .video-item {
    width: 100%;
}

.brands-videos-grid .video-embed {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
}

.brands-videos-grid .video-embed iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* ==========================================================================
   Brands Testimonials Section
   ========================================================================== */

.brands-testimonials-section {
    background: #e6f2f8;
    padding: 80px 0;
}

.brands-testimonials-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 200px;
}

.brands-testimonials-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

/* Smaller styling for brands testimonials */
.brands-testimonials-section .testimonial-card {
    padding: 30px 25px;
    min-height: 240px;
}

.brands-testimonials-section .testimonial-text {
    font-size: 18px;
    font-weight: 600;
    line-height: 1.6;
}

.brands-testimonials-section .testimonial-name {
    font-size: 15px;
}

.brands-testimonials-section .testimonial-business {
    font-size: 13px;
}

/* ==========================================================================
   Brands Responsive Design
   ========================================================================== */

/* Wider screens - increase height to prevent image cropping */
@media (min-width: 2000px) {
    .brands-hero-section {
        min-height: 750px;
    }
}

@media (max-width: 1200px) {
    .brands-intro-container,
    .brands-grid-container,
    .brands-bottom-gradient-container,
    .brands-testimonials-container {
        padding: 0 80px;
    }

    .brand-logo img {
        max-width: 240px;
    }
}

@media (max-width: 1024px) {
    .brands-hero-section {
        min-height: 500px;
    }

    .brands-hero-content {
        padding: 60px 40px;
    }

    .brands-hero-title {
        font-size: 36px;
    }

    .brands-grid {
        gap: 50px 60px;
    }
}

@media (max-width: 768px) {
    .brands-hero-section {
        flex-direction: column;
        min-height: auto;
    }

    .brands-hero-section::before {
        position: relative;
        width: 100%;
        height: 300px;
        mask-image: none;
        -webkit-mask-image: none;
    }

    .brands-hero-content {
        width: 100%;
        padding: 40px 30px;
        text-align: center;
        align-items: center;
    }

    .brands-hero-title {
        font-size: 28px;
    }

    .brands-intro-container,
    .brands-grid-container,
    .brands-bottom-gradient-container,
    .brands-videos-container,
    .brands-testimonials-container {
        padding: 0 40px;
    }

    .brands-grid,
    .brands-videos-grid,
    .brands-testimonials-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .brands-intro-text {
        font-size: 18px;
    }

    .brand-description p {
        font-size: 16px;
    }

    .brands-bottom-gradient-text {
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .brands-hero-content {
        padding: 30px 20px;
    }

    .brands-hero-title {
        font-size: 24px;
    }

    .brands-intro-container,
    .brands-grid-container,
    .brands-bottom-gradient-container,
    .brands-testimonials-container {
        padding: 0 20px;
    }

    .brand-logo img {
        max-width: 200px;
    }

    .brand-logo-small img {
        max-width: 160px;
    }

    .brands-testimonials-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   News Page Styles
   ========================================================================== */

/* Fix news page "Read More" button sizing to be consistent */
.post-container .wp-block-button__link,
.post-container a.wp-block-button__link,
div.post-container .wp-block-button__link {
    display: inline-block !important;
    padding: 17px 20px !important;
    min-width: 140px !important;
    width: auto !important;
    height: auto !important;
    text-align: center !important;
    white-space: nowrap !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
    letter-spacing: 0.5px !important;
    background: var(--stellar-cyan) !important;
    color: var(--stellar-white) !important;
    border-radius: 25px !important;
    text-decoration: none !important;
    text-transform: uppercase !important;
    transition: all 0.3s ease !important;
    box-sizing: border-box !important;
}

.post-container .wp-block-button__link:hover,
.post-container a.wp-block-button__link:hover,
div.post-container .wp-block-button__link:hover {
    background: var(--stellar-blue) !important;
    color: var(--stellar-white) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(0, 174, 239, 0.3) !important;
}
