/*
Theme Name: Fair Share Sport Club
Theme URI: https://fairsharesportclub.com
Description: A custom WordPress theme for Fair Share Sport Club featuring modern design, responsive layout, and sports-focused functionality.
Author: Fair Share Sport Club
Version: 1.0.2
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: fairsharesportclub
Tags: sports, club, responsive, custom-colors, custom-logo, custom-menu, featured-images, post-formats, sticky-post, theme-options, threaded-comments, translation-ready

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

/* Font Face Declarations */
@font-face {
    font-family: 'Bebas Neue';
    src: url('./assets/fonts/BebasNeue-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Manrope';
    src: url('./assets/fonts/Manrope-VariableFont_wght.ttf') format('truetype-variations');
    font-weight: 200 800;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Manrope';
    src: url('./assets/fonts/static/Manrope-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Manrope';
    src: url('./assets/fonts/static/Manrope-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Manrope';
    src: url('./assets/fonts/static/Manrope-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

/* Color Variables - Based on Fair Share Sport Club Logo */
:root {
    --primary-turquoise: #00B8D4;
    /* Main FS logo color */
    --secondary-navy: #2E4F7A;
    /* Text color from logo */
    --accent-red: #E53935;
    /* Maple leaf red */
    --dark-background: #333333;
    /* Logo circle background */
    --light-gray: #E5E5E5;
    /* Logo outer ring */
    --white: #ffffff;
    --text-dark: #333333;
    --text-light: #666666;
    --menu-text-gray: #555555;
    /* Better grey for menu text */
    --header-background: #262f4a;
    /* Site header background color */
    --nav-menu-color: #54bcd9;
    /* Navigation menu link color */

    /* Theme Layout Variables */
    --theme-max-width: 1290px;
    /* Consistent max-width for navbar and blocks */

    /* Theme Typography & Button Variables */
    --theme-button-min-height: 34px;
    --theme-button-padding: 5px 15px;
    --theme-button-font-size: 13px;
    --theme-font-size: 19px;
    --theme-content-font-size: 20px;
    --theme-line-height: 1.3;
}

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

body {
    font-family: 'Manrope', Arial, sans-serif;
    font-size: var(--theme-content-font-size);
    line-height: 1.6;
    color: var(--text-dark);
    background-color: #f8fafc;
    font-weight: 400;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Bebas Neue', Arial, sans-serif;
    letter-spacing: 0.05em;
    font-weight: 400;
}

/* Header Styles */
.site-header {
    background-color: var(--header-background);
    color: var(--text-dark);
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

/* Header scroll state styles */
.site-header.scrolled .header-content {
    height: 100px;
}

.site-header.scrolled .site-logo img,
.site-header.scrolled .custom-logo {
    max-height: 70px;
}

/* Page Hero Styles with Gradient Overlay */
.page-hero {
    position: relative;
    background-image: var(--bg-image);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 600px;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 600px;
    background: linear-gradient(to bottom, var(--header-background) 0%, rgba(38, 47, 74, 0.8) 45%, rgba(38, 47, 74, 0.4) 90%, transparent 100%);
    z-index: 1;
    pointer-events: none;
}

.page-hero .hero-content {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    text-align: left;
    height: 600px;
    padding: 0 20px;
}

.page-hero .hero-content .container {
    max-width: var(--theme-max-width);
    width: 100%;
}

.page-hero .page-title {
    position: relative;
    z-index: 2;
    color: var(--white);
    font-size: 4rem;
    font-weight: 400;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    font-family: 'Bebas Neue', Arial, sans-serif;
    letter-spacing: 0.05em;
}

.page-hero .hero-subtitle {
    position: relative;
    z-index: 2;
    color: var(--white);
    font-size: 1.75rem;
    margin-bottom: 0;
    opacity: 0.95;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    font-family: 'Bebas Neue', Arial, sans-serif;
    letter-spacing: 0.05em;
}

.header-container {
    max-width: var(--theme-max-width);
    margin: 0 auto;
    padding: 0 20px;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 160px;
    transition: height 0.3s ease;
}

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

.site-logo {
    display: flex;
    align-items: center;
}

.site-logo img,
.custom-logo {
    max-height: 100px;
    width: auto;
    height: auto;
    transition: all 0.3s ease;
}

.site-logo a,
.custom-logo-link {
    display: inline-block;
    line-height: 0;
}

.site-title {
    font-size: 2.6rem;
    margin: 0;
    font-family: 'Bebas Neue', Arial, sans-serif;
    letter-spacing: 0.1em;
}

.site-title a {
    color: var(--text-dark);
    text-decoration: none;
    transition: color 0.3s ease;
}

.site-title a:hover {
    color: var(--primary-turquoise);
}

.navigation-wrapper {
    display: flex;
    align-items: center;
    gap: 2rem;
}

/* Hide header-actions and close button inside menu-wrapper on desktop */
.menu-wrapper .header-actions,
.menu-close {
    display: none;
}

/* Navigation Styles */
.main-navigation {
    position: relative;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--menu-text-gray);
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.menu-toggle:hover {
    background-color: #0088A3;
}

.hamburger-icon {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.hamburger-icon span {
    width: 20px;
    height: 2px;
    background-color: var(--menu-text-gray);
    transition: all 0.3s ease;
}

.screen-reader-text {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.nav-menu {
    list-style: none;
    display: flex;
    gap: 0;
    margin: 0;
    padding: 0;
}

.nav-menu li {
    position: relative;
    display: flex;
    align-items: center;
}

.nav-menu a {
    color: var(--nav-menu-color);
    text-decoration: none;
    padding: 0 1.2rem;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: var(--theme-font-size);
    line-height: 1.3;
    position: relative;
    font-family: 'Bebas Neue', Arial, sans-serif;
    letter-spacing: 0.05em;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: var(--nav-menu-color);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-menu a:hover {
    color: var(--nav-menu-color);
}

.nav-menu a:hover::after {
    width: calc(100% - 2.4rem);
}

/* Active/Current page styles */
.nav-menu .current-menu-item>a,
.nav-menu .current_page_item>a,
.nav-menu .current-menu-ancestor>a {
    color: var(--nav-menu-color);
}

.nav-menu .current-menu-item>a::after,
.nav-menu .current_page_item>a::after,
.nav-menu .current-menu-ancestor>a::after {
    width: calc(100% - 2.4rem);
}

/* Submenu Styles */
.nav-menu .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: linear-gradient(145deg, var(--white) 0%, #f8fafc 100%);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12), 0 4px 12px rgba(0, 0, 0, 0.08);
    border: none;
    border-radius: 12px;
    min-width: 280px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px) scale(0.95);
    transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 1000;
    list-style: none;
    padding: 1rem 0;
    margin: 8px 0 0 0;
    overflow: hidden;
    backdrop-filter: blur(8px);
}

/* Last submenu (flag dropdown) - narrower width */
.nav-menu>li:last-child>.sub-menu {
    min-width: auto;
    width: fit-content;
    min-width: initial;
}

.nav-menu li:hover .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.nav-menu .sub-menu li {
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-menu .sub-menu a {
    color: #374151;
    padding: 0.875rem 1.75rem;
    border-radius: 8px;
    font-weight: 500;
    font-family: 'Manrope', Arial, sans-serif;
    text-decoration: none;
    display: flex;
    align-items: center;
    transition: all 0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border-bottom: none;
    position: relative;
    letter-spacing: 0.025em;
    margin: 0 0.5rem;
    font-size: 0.95rem;
    line-height: 1.2;
}

.nav-menu .sub-menu a::after {
    display: none;
}

.nav-menu .sub-menu a:hover {
    background: linear-gradient(135deg, var(--primary-turquoise) 0%, #0088A3 100%);
    color: var(--white);
    transform: translateX(6px) translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 184, 212, 0.3);
}

.nav-menu .sub-menu a::before {
    content: '→';
    opacity: 0;
    transform: translateX(-8px);
    transition: all 0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    margin-right: 0.5rem;
    font-weight: 600;
    color: var(--primary-turquoise);
}

.nav-menu .sub-menu a:hover::before {
    opacity: 1;
    transform: translateX(0);
    color: var(--white);
}

/* Phone Button */
.phone-button {
    background-color: #0088A3;
    color: var(--white);
    text-decoration: none;
    padding: var(--theme-button-padding);
    min-height: var(--theme-button-min-height);
    border-radius: 17px;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    font-weight: 500;
    font-size: var(--theme-button-font-size);
    transition: all 0.3s ease;
    border: none;
}

.phone-button:hover {
    background-color: #0088A3;
    color: var(--white);
}

.phone-icon {
    font-size: var(--theme-button-font-size);
    font-family: "Font Awesome 5 Free", "FontAwesome", Arial, sans-serif !important;
    font-weight: 900 !important;
    font-style: normal !important;
    line-height: 1 !important;
    text-rendering: auto !important;
    -webkit-font-smoothing: antialiased !important;
    text-decoration: none !important;
}

.phone-text {
    font-size: var(--theme-button-font-size);
}

/* Main Content */
.site-main {
    padding: 0 0 2rem 0;
    min-height: 60vh;
}

/* Page Content Area - Consistent styling for all pages */
.page-content-area {
    background: transparent;
}

.aboutus-content,
.programs-content,
.contact-content,
.program-content {
    padding: 0;
    margin-bottom: 2rem;
}

.entry-content {
    line-height: 1.7;
    font-size: var(--theme-content-font-size);
    color: #374151;
    font-family: 'Manrope', Arial, sans-serif;
}

.entry-content h2 {
    color: #1e3a8a;
    font-size: 2rem;
    margin-top: 0;
    margin-bottom: 1rem;
    font-weight: 400;
    font-family: 'Bebas Neue', Arial, sans-serif;
    letter-spacing: 0.05em;
}

.entry-content h3 {
    color: #333333;
    font-size: 1.5rem;
    margin-top: 0;
    margin-bottom: 0.75rem;
    font-weight: 400;
    font-family: 'Bebas Neue', Arial, sans-serif;
    letter-spacing: 0.05em;
}

.entry-content p {
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.entry-content ul,
.entry-content ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.entry-content li {
    margin-bottom: 0.5rem;
}

.entry-content blockquote {
    border-left: 4px solid #06b6d4;
    margin: 2rem 0;
    padding: 1rem 1.5rem;
    background-color: #f0f9ff;
    font-style: italic;
    color: #0c4a6e;
}

.entry-content a {
    color: #06b6d4;
    text-decoration: none;
    border: none;
    transition: all 0.3s ease;
}

.entry-content a:hover {
    color: #1e3a8a;
}

.page-links {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e5e7eb;
}

/* Breadcrumb Navigation */
.breadcrumb-nav {
    margin-bottom: 2rem;
    padding-top: 1rem;
}

.breadcrumb-link {
    color: var(--primary-turquoise);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    font-family: 'Manrope', Arial, sans-serif;
}

.breadcrumb-link:hover {
    color: var(--secondary-navy);
}

/* Responsive Design for Page Content */
@media (max-width: 768px) {

    .entry-content h2 {
        font-size: 1.75rem;
    }

    .entry-content h3 {
        font-size: 1.375rem;
    }
}

@media (max-width: 480px) {
    .entry-content {
        font-size: 18px;
    }
}

/* Footer */
.site-footer {
    background-color: #222222;
    color: var(--white);
    text-align: center;
    padding: 2rem 0;
    margin-top: 2rem;
}

.site-footer .container {
    max-width: var(--theme-max-width);
    margin: 0 auto;
    padding: 0 20px;
}

.site-footer a {
    color: var(--primary-turquoise);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
    align-items: start;
}

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

.contact-icon {
    font-size: 1.1rem;
    min-width: 24px;
}

.footer-social h4 {
    color: var(--white);
    font-size: 1.2rem;
    margin-bottom: 1rem;
    font-weight: 600;
    text-align: left;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--white);
    transition: all 0.3s ease;
}

.social-link:hover {
    background-color: var(--primary-turquoise);
    transform: translateY(-2px);
    color: var(--white);
}

.social-link svg {
    width: 20px;
    height: 20px;
}

.footer-bottom {
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.8);
    font-size: 12px;
    font-family: 'Manrope', Arial, sans-serif;
    font-weight: 400;
}

.footer-bottom .developer-credit {
    margin-top: 0.5rem;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.6);
}

.footer-bottom .developer-credit a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-bottom .developer-credit a:hover {
    color: var(--primary-turquoise);
}

.footer-contact p {
    font-size: 14px;
    font-family: 'Manrope', Arial, sans-serif;
    font-weight: 400;
}

.footer-social h4 {
    font-size: 16px;
    font-family: 'Bebas Neue', Arial, sans-serif;
    letter-spacing: 0.05em;
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: left;
    }

    .footer-contact p {
        font-size: 0.95rem;
    }

    .footer-social h4 {
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }

    .footer-bottom {
        text-align: center;
    }

    /* Remove gaps from WordPress layout-flex elements on mobile */
    :where(.wp-block-columns.is-layout-flex) {
        gap: 0 !important;
    }

    :where(.is-layout-flex) {
        gap: 0 !important;
    }
}

/* Additional Theme Elements */
.entry-title a {
    color: var(--secondary-navy);
    transition: color 0.3s ease;
    font-family: 'Bebas Neue', Arial, sans-serif;
    letter-spacing: 0.05em;
}

/* Content Text Elements */
p,
.entry-content p,
.entry-content li,
.entry-content {
    font-family: 'Manrope', Arial, sans-serif;
    font-weight: 400;
}

.entry-meta {
    font-family: 'Manrope', Arial, sans-serif;
    font-weight: 400;
}

.entry-title a:hover {
    color: var(--primary-turquoise);
}

.read-more {
    background-color: #0088A3;
    color: var(--white);
    padding: 0.5rem 1rem;
    text-decoration: none;
    border-radius: 4px;
    display: inline-block;
    transition: background-color 0.3s ease;
    font-family: 'Manrope', Arial, sans-serif;
    font-weight: 500;
}

.read-more:hover {
    background-color: var(--secondary-navy);
    color: var(--white);
}

.entry-meta {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    font-family: 'Manrope', Arial, sans-serif;
    font-weight: 400;
}

/* Accent Elements */
.accent-red {
    color: var(--accent-red);
}

.bg-turquoise {
    background-color: #0088A3;
    color: var(--white);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .header-container {
        max-width: none;
        padding: 0 15px;
    }

    .navigation-wrapper {
        gap: 1rem;
    }

    .phone-button .phone-text {
        display: none;
    }

    .phone-button {
        padding: var(--theme-button-padding);
        border-radius: 50%;
        min-width: var(--theme-button-min-height);
        min-height: var(--theme-button-min-height);
        justify-content: center;
    }

    /* Hero Section Tablet Responsive Styles */
    .page-hero .hero-content {
        height: 500px;
    }

    .page-hero .page-title {
        font-size: 3.5rem;
    }

    .page-hero .hero-subtitle {
        font-size: 1.625rem;
    }

    .site-title {
        font-size: 2.25rem;
    }
}

@media (max-width: 768px) {
    .header-container {
        padding: 0 36px;
    }

    .header-content {
        position: relative;
    }

    .navigation-wrapper {
        gap: 1rem;
        width: 100%;
        justify-content: flex-end;
    }

    .main-navigation {
        display: flex;
        align-items: center;
        justify-content: flex-end;
    }

    .menu-toggle {
        display: block;
    }

    .hamburger-icon span {
        background-color: var(--white);
    }

    .header-actions {
        display: none;
        /* Hide from header on mobile */
    }

    .menu-wrapper {
        position: fixed;
        top: 0;
        right: 0;
        width: 100%;
        height: 100vh;
        background: linear-gradient(135deg, var(--header-background) 0%, var(--secondary-navy) 100%);
        transform: translateX(100%);
        transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        z-index: 9999;
        overflow-y: auto;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 1rem;
    }

    /* Close button styling */
    .menu-close {
        position: absolute;
        top: 2rem;
        right: 2rem;
        background: none;
        border: none;
        color: var(--white);
        cursor: pointer;
        padding: 0.5rem;
        border-radius: 50%;
        width: 44px;
        height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.3s ease;
        z-index: 10000;
    }

    .menu-close:hover {
        background-color: rgba(255, 255, 255, 0.1);
        transform: rotate(90deg);
    }

    .close-icon {
        position: relative;
        width: 24px;
        height: 24px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .close-icon span {
        position: absolute;
        width: 24px;
        height: 2px;
        background-color: var(--white);
        transition: all 0.3s ease;
    }

    .close-icon span:first-child {
        transform: rotate(45deg);
    }

    .close-icon span:last-child {
        transform: rotate(-45deg);
    }

    .menu-wrapper.active {
        transform: translateX(0);
    }

    .nav-menu {
        flex-direction: column;
        padding: 0;
        gap: 0.5rem;
        width: 100%;
        max-width: 280px;
        margin: 0;
    }

    .nav-menu a {
        color: var(--white);
        padding: 1rem 0;
        text-align: left;
        font-size: 1.1rem;
        font-weight: 500;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        transition: all 0.3s ease;
        text-transform: uppercase;
        letter-spacing: 0.05em;
        border-radius: 0;
    }

    .nav-menu a:hover {
        color: var(--primary-turquoise);
        border-bottom-color: var(--primary-turquoise);
        transform: translateX(10px);
    }

    .nav-menu li:last-child a {
        border-bottom: none;
    }

    /* Show header-actions inside menu-wrapper on mobile */
    .menu-wrapper .header-actions {
        display: block;
        padding: 2rem 0 0 0;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        width: 100%;
        max-width: 280px;
        text-align: center;
    }

    .menu-wrapper .phone-button {
        width: 100%;
        justify-content: center;
        padding: 0.75rem;
        border-radius: 8px;
        font-size: 1rem;
        background-color: var(--primary-turquoise);
        transition: all 0.3s ease;
        gap: 0.5rem;
    }

    .menu-wrapper .phone-button .phone-text {
        display: inline-block;
    }

    .menu-wrapper .phone-button:hover {
        background-color: var(--white);
        color: var(--primary-turquoise);
        transform: translateY(-2px);
    }

    .nav-menu a::after {
        display: none;
    }

    /* Mobile active/current page styles */
    .nav-menu .current-menu-item>a,
    .nav-menu .current_page_item>a,
    .nav-menu .current-menu-ancestor>a {
        color: var(--primary-turquoise);
        border-bottom-color: var(--primary-turquoise);
        background-color: transparent;
    }

    /* Mobile Submenu Styles - Accordion style inline expansion */
    .nav-menu>li {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        width: 100%;
    }

    .nav-menu .sub-menu {
        /* Override all desktop positioning */
        position: static !important;
        display: block !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        /* No space when collapsed */
        height: 0;
        overflow: hidden;
        /* Styling */
        background: transparent;
        border: none;
        border-radius: 0;
        margin: 0;
        padding: 0;
        box-shadow: none;
        backdrop-filter: none;
        width: 100%;
        min-width: unset !important;
        /* Smooth transition */
        transition: height 0.3s ease-out;
    }

    .nav-menu li.menu-item-has-children.open>.sub-menu {
        height: auto;
        padding: 0.5rem 0;
        margin-top: 0.25rem;
        background: rgba(0, 0, 0, 0.15);
        border-radius: 8px;
    }

    .nav-menu .sub-menu li {
        list-style: none;
        margin: 0;
        padding: 0;
        width: 100%;
    }

    .nav-menu .sub-menu a {
        color: rgba(255, 255, 255, 0.9) !important;
        padding: 0.6rem 1.25rem;
        font-size: 0.9rem;
        font-weight: 400;
        text-decoration: none;
        display: block;
        transition: all 0.2s ease;
        border-bottom: none;
        text-transform: none;
        letter-spacing: normal;
        background-color: transparent;
        text-align: left;
        border-radius: 0;
        margin: 0;
    }

    .nav-menu .sub-menu a::after {
        display: none !important;
    }

    .nav-menu .sub-menu a:hover {
        color: var(--primary-turquoise) !important;
        background: rgba(255, 255, 255, 0.1);
        transform: none;
    }

    .nav-menu .sub-menu li:last-child a {
        border-bottom: none;
    }

    /* Dropdown arrow indicator for mobile - moved to after text */
    .nav-menu .menu-item-has-children>a {
        position: relative;
        display: flex;
        justify-content: flex-start;
        align-items: center;
        flex-wrap: wrap;
    }

    .nav-menu .menu-item-has-children>a::after {
        content: '';
        display: inline-block;
        width: 8px;
        height: 8px;
        border-right: 2px solid currentColor;
        border-bottom: 2px solid currentColor;
        transform: rotate(45deg) translateY(-2px);
        transition: transform 0.3s ease;
        margin-left: 0.75rem;
        flex-shrink: 0;
    }

    .nav-menu .menu-item-has-children.open>a::after {
        transform: rotate(-135deg) translateY(0);
    }

    /* Remove the ::before arrow since using ::after now */
    .nav-menu .menu-item-has-children>a::before {
        display: none !important;
    }

    /* Flag/language submenu special styling on mobile */
    .nav-menu>li:last-child>.sub-menu {
        display: flex !important;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.75rem;
    }

    .nav-menu>li:last-child.open>.sub-menu {
        padding: 0.75rem;
    }

    .nav-menu>li:last-child>.sub-menu li {
        width: auto;
    }

    .nav-menu>li:last-child>.sub-menu a {
        padding: 0.5rem;
        margin: 0;
    }

    .nav-menu>li:last-child>.sub-menu a:hover {
        transform: scale(1.1);
        background: none;
    }

    /* Mobile menu toggle animation */
    .menu-toggle.active .hamburger-icon span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

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

    .menu-toggle.active .hamburger-icon span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }

    .site-title {
        font-size: 1.4rem;
    }

    .site-logo img,
    .custom-logo {
        max-height: 64px;
    }
}

@media (max-width: 480px) {
    .header-container {
        padding: 0 36px;
    }

    .site-title {
        font-size: 1.2rem;
    }

    .phone-button {
        padding: calc(var(--theme-button-padding) * 0.8);
        min-width: calc(var(--theme-button-min-height) * 0.9);
        min-height: calc(var(--theme-button-min-height) * 0.9);
    }

    .phone-icon {
        font-size: calc(var(--theme-button-font-size) * 0.9);
    }

    /* Hero Section Responsive Styles */
    .page-hero .page-title {
        font-size: 3rem;
    }

    .page-hero .hero-subtitle {
        font-size: 1.5rem;
    }

    .site-title {
        font-size: 2rem;
    }

    .page-hero .hero-content {
        height: 400px;
    }
}

/* Gutenberg Block Styles */

/* Image Text Section Block */
.fssc-image-text-section {
    width: 100%;
    max-width: var(--theme-max-width);
    margin: auto;
}

.fssc-image-text-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 400px;
    gap: 0;
}

.fssc-image-text-left {
    position: relative;
    overflow: hidden;
}

.fssc-image-text-image-container {
    position: relative;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.fssc-image-text-image-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.fssc-image-text-heading {
    position: relative;
    z-index: 2;
    color: rgb(17, 21, 24);
    font-size: 60px;
    font-weight: bold;
    text-align: center;
    margin: 0;
    line-height: 1.2;
}

.fssc-image-text-right {
    padding: 3rem 2.5rem;
    display: flex;
    align-items: center;
}

.fssc-image-text-description {
    color: rgb(103, 113, 120);
    font-size: var(--theme-content-font-size);
    line-height: 1.7;
    margin: 0;
    font-family: 'Manrope', Arial, sans-serif;
    font-weight: 400;
}

.fssc-image-text-description p {
    margin-bottom: 1.5rem;
}

.fssc-image-text-description p:last-child {
    margin-bottom: 0;
}

.fssc-image-text-description strong {
    color: var(--primary-turquoise);
}

.fssc-image-text-description a {
    color: var(--primary-turquoise);
    text-decoration: none;
    border-bottom: 1px solid var(--primary-turquoise);
    transition: all 0.3s ease;
}

.fssc-image-text-description a:hover {
    color: var(--secondary-navy);
    border-bottom-color: var(--secondary-navy);
}

/* Full width and wide alignment support */
.fssc-image-text-section.alignwide {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.fssc-image-text-section.alignfull {
    max-width: none;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    width: 100vw;
}

/* Responsive styles for Image Text Section */
@media (max-width: 768px) {
    .fssc-image-text-row {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .fssc-image-text-image-container {
        min-height: 300px;
    }

    .fssc-image-text-heading {
        font-size: 45px;
    }

    .fssc-image-text-right {
        padding: 2rem 1.5rem;
    }
}

@media (max-width: 480px) {
    .fssc-image-text-image-container {
        min-height: 250px;
        padding: 1.5rem;
    }

    .fssc-image-text-heading {
        font-size: 32px;
    }

    .fssc-image-text-right {
        padding: 1.5rem 1rem;
    }

    .fssc-image-text-description {
        font-size: 18px;
    }
}

/* WordPress Block Image Border Radius */
.wp-block-image img {
    border-radius: 20px;
}

/* Font Awesome Icon Styles - Override theme fonts for icons only */
/* Use Font Awesome 5 for better compatibility */
.fas,
.far,
.fab,
.fal,
.fa {
    font-family: "Font Awesome 5 Free", "Font Awesome 5 Brands", "FontAwesome", Arial, sans-serif !important;
    font-weight: 900 !important;
    font-style: normal !important;
    font-variant: normal !important;
    text-rendering: auto !important;
    -webkit-font-smoothing: antialiased !important;
    line-height: 1 !important;
    letter-spacing: normal !important;
    display: inline-block !important;
    text-decoration: none !important;
}

.far {
    font-family: "Font Awesome 5 Free", "FontAwesome", Arial, sans-serif !important;
    font-weight: 400 !important;
}

.fab {
    font-family: "Font Awesome 5 Brands", "FontAwesome", Arial, sans-serif !important;
    font-weight: 400 !important;
}


/* Hide actual text content when Font Awesome is supposed to show */
.fas::before,
.far::before,
.fab::before,
.fal::before,
.fa::before {
    font-size: inherit;
    line-height: inherit;
}

/* Specific Font Awesome selectors to ensure they don't inherit theme fonts */
i.fas,
i.far,
i.fab,
i.fal,
i.fa,
span.fas,
span.far,
span.fab,
span.fal,
span.fa,
[class^="fa-"],
[class*=" fa-"] {
    font-family: "Font Awesome 5 Free", "Font Awesome 5 Brands", "FontAwesome", Arial, sans-serif !important;
    font-weight: 900 !important;
    font-style: normal !important;
    letter-spacing: normal !important;
    text-decoration: none !important;
}

/* Brand icons specific styling */
i.fab,
span.fab,
[class^="fab-"],
[class*=" fab-"] {
    font-family: "Font Awesome 5 Brands", "FontAwesome", Arial, sans-serif !important;
    font-weight: 400 !important;
}

/* Regular icons specific styling */
i.far,
span.far,
[class^="far-"],
[class*=" far-"] {
    font-family: "Font Awesome 5 Free", "FontAwesome", Arial, sans-serif !important;
    font-weight: 400 !important;
}