/**
 * Potomac Wealth Main Stylesheet
 *
 * @package Potomac_Wealth
 * @since 1.0.0
 */

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

:root {
    --navy-dark: #3a4149;
    --navy-bright: #466cde;
    --slate: #6B7C8C;
    --slate-light: #8A9AAA;
    --cream: #FAF9F6;
    --white: #FFFFFF;
}

body {
    font-family: 'Lato', sans-serif;
    color: #333;
    line-height: 1.6;
}

h1, h2, h3, h4 {
    font-family: 'Merriweather', serif;
    font-weight: 400;
    line-height: 1.2;
}

h2, h3, h4 {
    font-weight: 700;
}

/* ==========================================================================
   Contact Bar
   ========================================================================== */

.contact-bar {
    background: linear-gradient(135deg, var(--navy-bright) 0%, var(--navy-dark) 100%);
    color: var(--white);
    padding: 12px 0;
    font-size: 14px;
    position: relative;
}

.contact-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 0, rgba(255, 255, 255, 0.15) 1px, transparent 0, transparent 50%);
    background-size: 10px 10px;
    opacity: 0.6;
    pointer-events: none;
}

.contact-bar .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: flex-end;
    gap: 30px;
    position: relative;
    z-index: 1;
}

.contact-bar a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s;
}

.contact-bar a:hover {
    color: var(--slate-light);
}

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

.main-header {
    background: rgba(250, 249, 246, 0.98);
    padding: 24px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    backdrop-filter: blur(10px);
    border-top: 2px solid #e8e8e8;
    border-bottom: 2px solid #e8e8e8;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Merriweather', serif;
    font-size: 28px;
    font-weight: 700;
    color: var(--navy-dark);
    display: flex;
    align-items: center;
}

.logo a {
    color: var(--navy-dark);
    text-decoration: none;
    display: flex;
    align-items: center;
}

.logo span {
    color: var(--slate);
}

/* Custom logo image styling */
.custom-logo-link {
    display: flex;
    align-items: center;
}

.custom-logo {
    height: 62px;
    width: auto;
    max-width: 375px;
    display: block;
    filter: brightness(0.3);
}

/* Navigation */
nav {
    position: relative;
}

.nav-links {
    display: flex;
    gap: 0;
    list-style: none;
    align-items: center;
}

.nav-links > li {
    position: relative;
}

.nav-links > li > a {
    color: #5a6570;
    text-decoration: none;
    font-family: 'EB Garamond', serif;
    font-weight: 600;
    font-size: 17px;
    letter-spacing: 0.3px;
    padding: 12px 24px;
    display: block;
    transition: all 0.3s ease;
    border-radius: 4px;
    position: relative;
}

.nav-links > li > a:hover {
    color: var(--navy-bright);
    background: rgba(70, 108, 222, 0.08);
}

/* Dropdown Menu Styles */
.nav-links li {
    position: relative;
}

.nav-links .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 280px;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.12);
    border-radius: 6px;
    border: 1px solid rgba(107, 124, 140, 0.15);
    padding: 8px;
    margin-top: 8px;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
}

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

.nav-links .sub-menu li {
    width: 100%;
}

.nav-links .sub-menu a {
    color: #5a6570;
    text-decoration: none;
    font-family: 'EB Garamond', serif;
    font-weight: 500;
    font-size: 16px;
    padding: 14px 20px;
    display: block;
    border-radius: 4px;
    transition: all 0.25s ease;
    line-height: 1.5;
    white-space: normal;
    word-wrap: break-word;
}

.nav-links .sub-menu a:hover {
    color: var(--navy-bright);
    background: linear-gradient(135deg, rgba(70, 108, 222, 0.1) 0%, rgba(107, 124, 140, 0.08) 100%);
    transform: translateX(4px);
    padding-left: 24px;
}

/* Dropdown indicator */
.nav-links li.menu-item-has-children > a::after {
    content: '\f078';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 10px;
    margin-left: 8px;
    transition: transform 0.3s ease;
    opacity: 0.6;
}

.nav-links li.menu-item-has-children:hover > a::after {
    transform: rotate(180deg);
    opacity: 1;
}

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

.hero-slider-wrapper {
    position: relative;
    height: 650px;
    overflow: hidden;
}

.hero-slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #3a4149 0%, #466cde 50%, #5a7def 100%);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease-in-out, visibility 0.8s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 1;
}

.hero-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(58, 65, 73, 0.7);
    z-index: 1;
}

/* Pattern overlay */
.hero-slide::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.1)"/></svg>') repeat;
    opacity: 0.3;
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: var(--white);
    max-width: 900px;
    padding: 0 20px;
}

.hero-slide h1,
.hero-content h1 {
    font-size: 56px;
    margin-bottom: 25px;
    color: var(--white);
}

.hero-subtitle {
    font-size: 24px;
    font-weight: 300;
    color: var(--slate-light);
    margin-bottom: 35px;
}

/* Slider Controls */
.hero-slider-prev,
.hero-slider-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.5);
    color: var(--white);
    font-size: 28px;
    line-height: 1;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-slider-prev:hover,
.hero-slider-next:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.8);
}

.hero-slider-prev {
    left: 20px;
}

.hero-slider-next {
    right: 20px;
}

/* Slider Dots */
.hero-slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 12px;
}

.hero-slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    border: 2px solid rgba(255, 255, 255, 0.6);
    cursor: pointer;
    transition: all 0.3s;
    padding: 0;
}

.hero-slider-dot:hover {
    background: rgba(255, 255, 255, 0.6);
}

.hero-slider-dot.active {
    background: var(--white);
    border-color: var(--white);
    width: 40px;
    border-radius: 6px;
}

/* Legacy hero class for backward compatibility */
.hero {
    position: relative;
    height: 650px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #3a4149 0%, #466cde 50%, #5a7def 100%);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.1)"/></svg>') repeat;
    opacity: 0.3;
}

.cta-button {
    display: inline-block;
    padding: 18px 45px;
    background: var(--slate);
    color: var(--white);
    text-decoration: none;
    font-weight: 700;
    border-radius: 25px;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(107, 124, 140, 0.3);
}

.cta-button:hover {
    background: #5c6a78;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(107, 124, 140, 0.4);
}

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

.about-section {
    background: var(--white);
    padding: 120px 20px;
    position: relative;
}

.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--slate-light), transparent);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 48px;
    color: var(--navy-dark);
    margin-bottom: 20px;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.divider {
    width: 120px;
    height: 3px;
    background: linear-gradient(90deg, var(--slate), var(--slate-light));
    margin: 0 auto 30px;
    border-radius: 2px;
}

.section-header p {
    font-size: 20px;
    color: #555;
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.9;
    font-weight: 300;
}

.section-subtitle {
    font-size: 18px;
    color: var(--slate-light);
    font-weight: 300;
    font-style: italic;
    margin-top: 15px;
}

/* ==========================================================================
   Services Section
   ========================================================================== */

.services-section {
    background: linear-gradient(135deg, var(--navy-dark) 0%, #2d353c 100%);
    padding: 120px 20px;
    position: relative;
}

.services-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.03)"/></svg>') repeat;
    opacity: 0.5;
}

.services-section .section-header h2 {
    color: var(--white);
}

.services-section .section-header p {
    color: rgba(255, 255, 255, 0.8);
}

.services-section .divider {
    background: linear-gradient(90deg, var(--slate-light), var(--white));
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    position: relative;
    z-index: 1;
}

.service-box {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    padding: 60px 40px;
    border-radius: 8px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.service-box:hover {
    transform: translateY(-12px);
    background: rgba(255, 255, 255, 0.12);
    border-color: var(--slate-light);
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.4);
}

.service-icon {
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 35px;
    font-size: 40px;
    color: var(--white);
    transition: all 0.4s;
}

.service-box:hover .service-icon {
    background: rgba(138, 154, 170, 0.2);
    border-color: var(--slate-light);
    transform: scale(1.1);
}

.service-icon i {
    color: var(--white);
}

.service-box h3 {
    font-size: 28px;
    color: var(--white);
    margin-bottom: 20px;
    font-weight: 700;
}

.service-box p {
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.9;
    margin-bottom: 30px;
    font-size: 16px;
}

.service-link {
    color: var(--slate-light);
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    letter-spacing: 0.5px;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.service-link:hover {
    color: var(--white);
    gap: 12px;
}

.service-link i {
    font-size: 14px;
    transition: transform 0.3s;
}

.service-link:hover i {
    transform: translateX(4px);
}

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

.footer {
    background: linear-gradient(135deg, var(--navy-bright) 0%, var(--navy-dark) 100%);
    color: var(--white);
    padding: 80px 20px 30px;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 0, rgba(255, 255, 255, 0.15) 1px, transparent 0, transparent 50%);
    background-size: 10px 10px;
    opacity: 0.6;
    pointer-events: none;
}

.footer-grid {
    display: grid;
    grid-template-columns: 35% 1fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 50px;
}

.footer h3 {
    font-size: 24px;
    margin-bottom: 25px;
    color: var(--slate-light);
}

.footer p, .footer a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    display: block;
    margin-bottom: 12px;
    line-height: 1.8;
}

.footer a:hover {
    color: var(--slate-light);
}

.footer-bottom {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    opacity: 0.8;
}

.footer-bottom a {
    display: inline;
    margin-bottom: 0;
}

/* ==========================================================================
   Page Content
   ========================================================================== */

.page-content-section {
    background: var(--white);
    padding: 80px 20px;
}

.page-content-section .container {
    max-width: 900px;
}

.entry-content {
    font-size: 18px;
    line-height: 1.8;
    color: #333;
}

.entry-content p {
    margin-bottom: 1.5em;
}

.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6 {
    margin-top: 2em;
    margin-bottom: 1em;
    color: var(--navy-dark);
}

.entry-content h2 {
    font-size: 32px;
}

.entry-content h3 {
    font-size: 26px;
}

.entry-content h4 {
    font-size: 22px;
}

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

.entry-content a {
    color: var(--navy-bright);
    text-decoration: underline;
    transition: color 0.3s ease;
}

.entry-content a:hover {
    color: var(--slate);
}

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

.page-banner {
    position: relative;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url('../images/potomac-harness-power.jpeg');
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.page-banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(58, 65, 73, 0.85) 0%, rgba(70, 108, 222, 0.75) 100%);
    z-index: 1;
}

.page-banner .container {
    position: relative;
    z-index: 2;
    text-align: center;
}

.page-banner h1 {
    font-size: 52px;
    color: var(--white);
    margin-bottom: 15px;
    font-weight: 400;
    font-family: 'Merriweather', serif;
}

.banner-subtitle {
    font-size: 22px;
    color: var(--slate-light);
    font-weight: 300;
    font-style: italic;
}

.about-features {
    background: var(--white);
    padding: 80px 20px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 50px;
    max-width: 1100px;
    margin: 0 auto;
}

.feature-item {
    text-align: center;
}

.feature-icon {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, var(--navy-bright) 0%, var(--slate) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 36px;
    color: var(--white);
    box-shadow: 0 8px 24px rgba(70, 108, 222, 0.3);
}

.feature-item h3 {
    font-size: 24px;
    color: var(--navy-dark);
    margin-bottom: 15px;
    font-weight: 700;
}

.feature-item p {
    font-size: 16px;
    color: #666;
    line-height: 1.8;
}

.about-content-section {
    background: var(--cream);
    padding: 100px 20px;
}

.about-content-text {
    max-width: 900px;
    margin: 0 auto 50px;
}

.about-content-text p {
    font-size: 18px;
    color: #555;
    line-height: 1.9;
    margin-bottom: 20px;
}

.services-list-section {
    max-width: 800px;
    margin: 0 auto 50px;
    padding: 40px;
    background: var(--white);
    border-radius: 6px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.services-list-section h3 {
    font-size: 28px;
    color: var(--navy-dark);
    margin-bottom: 25px;
    text-align: center;
}

.services-list {
    list-style: none;
    padding: 0;
}

.services-list li {
    font-size: 17px;
    color: #555;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
    gap: 15px;
}

.services-list li:last-child {
    border-bottom: none;
}

.services-list i {
    color: var(--slate);
    font-size: 20px;
}

.about-cta {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 30px;
    background: linear-gradient(135deg, var(--navy-bright), var(--slate));
    border-radius: 6px;
    color: var(--white);
}

.about-cta p {
    font-size: 19px;
    line-height: 1.8;
    margin: 0;
}

/* Team Section */
.team-section {
    background: linear-gradient(135deg, var(--navy-dark) 0%, #2d353c 100%);
    padding: 100px 20px;
    position: relative;
}

.team-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.03)"/></svg>') repeat;
    opacity: 0.5;
}

.team-section .section-header h2,
.team-section .section-header p {
    color: var(--white);
}

.team-section .divider {
    background: linear-gradient(90deg, var(--slate-light), var(--white));
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.team-member {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    border-radius: 8px;
    padding: 50px 40px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    transition: all 0.4s;
}

.team-member:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.12);
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.4);
}

.team-member-photo {
    width: 180px;
    height: 180px;
    margin: 0 auto 30px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.team-member-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

.photo-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--slate) 0%, var(--slate-light) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 80px;
    color: rgba(255, 255, 255, 0.6);
}

.team-member-info {
    text-align: center;
}

.team-member-info h3 {
    font-size: 32px;
    color: var(--white);
    margin-bottom: 10px;
    font-weight: 700;
}

.team-member-title {
    font-size: 18px;
    color: var(--slate-light);
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 30px;
    text-transform: uppercase;
}

.team-member-bio {
    text-align: left;
    margin-bottom: 30px;
}

.team-member-bio p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.9;
    margin-bottom: 20px;
}

.team-member-social {
    text-align: center;
}

.team-member-social a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--slate-light);
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    padding: 12px 25px;
    border: 2px solid rgba(138, 154, 170, 0.5);
    border-radius: 15px;
    transition: all 0.3s;
}

.team-member-social a:hover {
    color: var(--white);
    border-color: var(--white);
    background: rgba(255, 255, 255, 0.1);
}

/* ==========================================================================
   Mobile Menu Toggle
   ========================================================================== */

.mobile-menu-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
}

.mobile-menu-toggle span {
    display: block;
    width: 28px;
    height: 3px;
    background: var(--navy-dark);
    margin: 5px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
}

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

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

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

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

@media (max-width: 768px) {
    .hero h1 {
        font-size: 36px;
    }
    
    /* Smaller Hero Slider Arrows on Mobile */
    .hero-slider-prev,
    .hero-slider-next {
        width: 35px;
        height: 35px;
        font-size: 20px;
    }
    
    .hero-slider-prev {
        left: 10px;
    }
    
    .hero-slider-next {
        right: 10px;
    }
    
    /* Mobile Menu Toggle Visible */
    .mobile-menu-toggle {
        display: block;
    }
    
    /* Hide Desktop Menu */
    nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--white);
        box-shadow: -4px 0 24px rgba(0, 0, 0, 0.15);
        padding: 80px 0 30px;
        transition: right 0.3s ease;
        z-index: 1002;
        overflow-y: auto;
        pointer-events: auto;
    }
    
    nav.active {
        right: 0;
    }
    
    .nav-links {
        display: flex;
        flex-direction: column;
        gap: 0;
        padding: 0;
    }
    
    .nav-links > li {
        width: 100%;
        border-bottom: 1px solid #e8e8e8;
    }
    
    .nav-links > li > a {
        padding: 18px 25px;
        border-radius: 0;
        font-size: 18px;
    }
    
    /* Mobile Dropdown */
    .nav-links .sub-menu {
        position: static;
        width: 100%;
        background: var(--cream);
        box-shadow: none;
        border: none;
        border-radius: 0;
        padding: 0;
        margin: 0;
        opacity: 1;
        visibility: visible;
        transform: none;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }
    
    .nav-links li.menu-item-has-children.active > .sub-menu {
        max-height: 500px;
    }
    
    .nav-links .sub-menu li {
        border-bottom: 1px solid #e0e0e0;
    }
    
    .nav-links .sub-menu li:last-child {
        border-bottom: none;
    }
    
    .nav-links .sub-menu a {
        padding: 16px 25px 16px 45px;
        font-size: 16px;
    }
    
    .nav-links .sub-menu a:hover {
        transform: none;
        padding-left: 50px;
    }
    
    /* Dropdown Arrow for Mobile */
    .nav-links li.menu-item-has-children > a {
        position: relative;
    }
    
    .nav-links li.menu-item-has-children > a::after {
        position: absolute;
        right: 25px;
        transform: none;
    }
    
    .nav-links li.menu-item-has-children.active > a::after {
        transform: rotate(180deg);
    }
    
    /* Mobile Overlay - Behind menu, not blocking it */
    .mobile-menu-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.5);
        z-index: 1;
        opacity: 0;
        transition: opacity 0.3s ease;
        pointer-events: auto;
    }
    
    .mobile-menu-overlay.active {
        display: block;
        opacity: 1;
    }
    
    .contact-bar .container {
        flex-direction: column;
        gap: 10px;
        align-items: flex-end;
    }
    
    .section-header h2 {
        font-size: 32px;
    }
    
    .page-banner h1 {
        font-size: 36px;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}
