/*
Theme Name: Metalvar Custom
Author: Metalvar Dev
Description: Custom High-Fidelity Industrial Theme
Version: 1.0
*/

/* --- PASTE YOUR EXACT CSS BELOW THIS LINE --- */

/* --- VARIABLES & THEME CONFIG --- */
:root {
    --color-brand-red: #ed1c24;
    --color-brand-dark-red: #c41219;
    --color-brand-grey: #939598;
    --color-dark: #111111;
    --color-light: #ffffff;
    --color-surface: #f4f4f4;

    --font-primary: 'Barlow', sans-serif;
    --font-heading: 'Rajdhani', sans-serif;

    --site-width: 1400px;
    --header-height: 90px;
    --transition-fast: 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition-slow: 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* --- RESET & BASE --- */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--color-light);
    color: var(--color-dark);
    font-family: var(--font-primary);
    line-height: 1.6;
    font-size: 16px;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.1;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

ul {
    list-style: none;
}

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

/* --- PRELOADER --- */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--color-dark);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease;
}

.loader-content {
    text-align: center;
}

.loader-logo {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 800;
    color: white;
    margin-bottom: 20px;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
}

.loader-logo span {
    color: var(--color-brand-red);
}

.loader-bar {
    width: 0;
    height: 4px;
    background: var(--color-brand-red);
    margin: 0 auto;
    animation: loadBar 1.5s ease forwards 0.5s;
}

@keyframes loadBar {
    to {
        width: 100px;
    }
}

/* --- UTILITIES --- */
.container {
    width: 100%;
    margin: 0 auto;
    padding: 0 25px;
}

.section-padding {
    padding: var(--wp--preset--spacing--70) 0;
}

.bg-light {
    background-color: var(--color-surface);
}

.bg-dark {
    background-color: var(--color-dark);
    color: white;
}

.text-red {
    color: var(--color-brand-red);
}

.text-grey {
    color: var(--color-brand-grey);
}

/* Scroll Reveal Class */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Section Titles */
.section-header {
    margin-bottom: 80px;
    position: relative;
}

.section-subtitle {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--color-brand-red);
    font-weight: 600;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.section-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--color-dark);
}

.bg-dark .section-title {
    color: white;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 40px;
    font-family: var(--font-heading);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: color 0.3s;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background-color: var(--color-brand-dark-red);
    z-index: -1;
    transition: width 0.3s ease;
}

.btn:hover::before {
    width: 100%;
}

.btn-primary {
    background-color: var(--color-brand-red);
    color: white;
}

.btn-outline {
    background: transparent;
    border: 2px solid white;
    color: white;
}

.btn-outline:hover {
    border-color: var(--color-brand-red);
    background: var(--color-brand-red);
}

/* --- HEADER --- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    margin: 0 auto;
    height: var(--header-height);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    overflow-x: visible !important;
}

.site-header.scrolled {
    height: 70px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.header-inner {
    display: flex;
    align-items: center;
    height: 100%;
    gap: var(--wp--preset--spacing--60);
    justify-content: center;
}

a.brand-logo {
    max-width: 20%;
}

.brand-logo {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--color-dark);
    letter-spacing: -1px;
    display: flex;
    align-items: center;
}

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

.brand-logo i {
    margin-right: 10px;
    font-size: 1.8rem;
    color: var(--color-brand-red);
}

.nav-menu {
    display: flex;
    gap: 40px;
}

.nav-link {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--color-dark);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0%;
    height: 2px;
    background: var(--color-brand-red);
    transition: width 0.3s;
}

.nav-link:hover::after {
    width: 100%;
}

.mobile-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* --- HERO --- */
.hero-section {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-position: center;
    background-size: cover;
    z-index: -2;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.6) 60%, rgba(0, 0, 0, 0.2) 100%);
    z-index: -1;
}

.hero-content {
    max-width: 800px;
    color: white;
    padding-top: 80px;
}

.hero-badge {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(237, 28, 36, 0.2);
    border: 1px solid var(--color-brand-red);
    color: white;
    font-family: var(--font-heading);
    font-weight: 600;
    letter-spacing: 2px;
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.hero-title {
    font-size: 5rem;
    line-height: 1;
    margin-bottom: 20px;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.hero-text {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 40px;
    max-width: 600px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: calc(var(--wp--preset--spacing--20));
}

/* --- STATS BANNER --- */
.stats-banner {
    background: var(--color-brand-red);
    padding: 40px 0;
    color: white;
    position: relative;
    z-index: 10;
    margin-top: -60px;
    /* Pull up over hero */
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
    border-right: 1px solid rgba(255, 255, 255, 0.2);
}

.stat-item {
    border-left: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0 20px;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 800;
    display: block;
    line-height: 1;
}

.stat-label {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.9;
}

/* --- ABOUT --- */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-img-wrapper {
    position: relative;
}

.about-img-main {
    border-radius: 4px;
    box-shadow: 20px 20px 0px var(--color-brand-grey);
    width: 90%;
}

.cert-float {
    position: absolute;
    bottom: -30px;
    right: 0;
    background: white;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border-left: 5px solid var(--color-brand-red);
    max-width: 300px;
}

.cert-float h4 {
    color: var(--color-brand-red);
    margin-bottom: 5px;
}

.cert-float p {
    font-size: 0.9rem;
    margin: 0;
    color: #666;
}

/* --- NEW: SECTORS (INDUSTRIES) --- */
.sector-section {
    padding-bottom: 0;
}

.sector-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    height: 600px;
}

.sector-card {
    position: relative;
    height: 100%;
    overflow: hidden;
    cursor: pointer;
    transition: flex 0.5s;
}

.sector-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.8s;
}

.sector-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    transition: background 0.3s;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 40px;
}

.sector-card:hover .sector-bg {
    transform: scale(1.1);
}

.sector-card:hover .sector-overlay {
    background: rgba(237, 28, 36, 0.8);
}

.sector-icon {
    font-size: 3rem;
    color: white;
    margin-bottom: 20px;
    transform: translateY(20px);
    transition: 0.4s;
}

.sector-title {
    color: white;
    font-size: 2rem;
    margin-bottom: 10px;
    transform: translateY(20px);
    transition: 0.4s 0.1s;
}

.sector-desc {
    color: white;
    opacity: 0;
    transform: translateY(20px);
    transition: 0.4s 0.2s;
}

.sector-card:hover .sector-icon,
.sector-card:hover .sector-title,
.sector-card:hover .sector-desc {
    transform: translateY(0);
    opacity: 1;
}

/* --- NEW: PROCESS TIMELINE --- */
.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 60px;
    position: relative;
}

.process-line {
    position: absolute;
    top: 40px;
    left: 0;
    width: 100%;
    height: 2px;
    background: #ddd;
    z-index: 0;
}

.step-card {
    background: white;
    padding: 30px;
    border: 1px solid #eee;
    position: relative;
    z-index: 1;
    transition: 0.3s;
}

.step-card:hover {
    transform: translateY(-10px);
    border-color: var(--color-brand-red);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.step-number {
    width: 80px;
    height: 80px;
    background: var(--color-brand-grey);
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    font-weight: 800;
    font-family: var(--font-heading);
    margin: 0 auto 20px;
    border: 5px solid white;
    transition: 0.3s;
}

.step-card:hover .step-number {
    background: var(--color-brand-red);
}

.step-card h4 {
    text-align: center;
    margin-bottom: 15px;
}

.step-card p {
    text-align: center;
    font-size: 0.9rem;
    color: #666;
}

/* --- NEW: EQUIPMENT CAROUSEL --- */
.equipment-scroller {
    display: flex;
    overflow-x: auto;
    gap: 30px;
    padding-bottom: 40px;
    scrollbar-width: none;
    /* Firefox */
}

.equipment-scroller::-webkit-scrollbar {
    display: none;
}

.equip-card {
    min-width: 350px;
    background: white;
    border: 1px solid #eee;
    overflow: hidden;
}

.equip-img {
    height: 250px;
    background: #f9f9f9;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.equip-img img {
    max-height: 100%;
    object-fit: contain;
    transition: 0.3s;
}

.equip-card:hover .equip-img img {
    transform: scale(1.05);
}

.equip-details {
    padding: 25px;
}

.brand-tag {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--color-brand-grey);
    text-transform: uppercase;
    margin-bottom: 5px;
    display: block;
}

.equip-title {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.equip-link {
    color: var(--color-brand-red);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    margin-top: 15px;
}

.equip-link i {
    margin-left: 5px;
    transition: 0.3s;
}

.equip-link:hover i {
    margin-left: 10px;
}

/* --- CONTACT --- */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1);
}

.contact-info {
    background: var(--color-brand-dark-red);
    padding: 60px;
    color: white;
    background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ed1c24' fill-opacity='0.1' fill-rule='evenodd'%3E%3Ccircle cx='3' cy='3' r='3'/%3E%3Ccircle cx='13' cy='13' r='3'/%3E%3C/g%3E%3C/svg%3E");
}

.contact-form {
    background: white;
    padding: 60px;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

input,
select,
textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    background: #fbfbfb;
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: 0.3s;
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: var(--color-brand-red);
    background: white;
    box-shadow: 0 0 10px rgba(237, 28, 36, 0.1);
}

/* --- FOOTER --- */
footer {
    background: #0a0a0a;
    color: #888;
    padding: 80px 0 30px;
}

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

.footer-widget h4 {
    color: white;
    margin-bottom: 25px;
    font-size: 1.2rem;
}

.footer-widget ul li {
    margin-bottom: 12px;
    border-bottom: 1px solid #222;
    padding-bottom: 12px;
}

.footer-widget a:hover {
    color: var(--color-brand-red);
    padding-left: 5px;
}

.copyright {
    border-top: 1px solid #222;
    padding-top: 30px;
    text-align: center;
    font-size: 0.9rem;
}




/* --- HEADER MENU --- */

.nav-menu .nav-menu-ul {
    display: flex;
    gap: var(--wp--preset--spacing--40);
    list-style: none;
    margin: 0;
    padding: 0;
    align-items: center;
}



.nav-menu .nav-menu-ul li {

    position: relative;

}



.nav-menu .nav-menu-ul a {

    font-family: var(--font-heading);

    font-weight: 600;

    font-size: 1.1rem;

    color: var(--color-dark);

    position: relative;

    display: block;

    padding: 5px 0;

    text-decoration: none;

}



.nav-menu .nav-menu-ul a::after {

    content: '';

    position: absolute;

    bottom: 0;

    left: 0;

    width: 0%;

    height: 2px;

    background: var(--color-brand-red);

    transition: width 0.3s;

}



.nav-menu .nav-menu-ul a:hover::after {

    width: 100%;

}



/* Sub-menu styles */

.nav-menu .sub-menu {

    display: none;

    position: absolute;

    top: 100%;

    left: -20px;

    background: white;

    list-style: none;

    padding: 10px 0;

    margin: 0;

    min-width: 240px;

    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);

    border-top: 2px solid var(--color-brand-red);

    z-index: 100;

}


/* Additional styles for the Contact page */
.contact-page-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: start;
}
.contact-info-block { margin-bottom: 30px; }
.contact-info-block h4 {
    font-size: 1rem;
    text-transform: uppercase;
    color: var(--color-brand-grey);
    margin-bottom: 5px;
    letter-spacing: 1px;
}
.contact-info-block p {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--color-dark);
    margin: 0;
}
.contact-info-block p a {
    color: var(--color-dark);
    text-decoration: none;
}
.contact-info-block p a:hover {
    color: var(--color-brand-red);
}
.contact-map {
    margin-top: 50px;
    height: 400px;
    background: #f9f9f9;
}
.contact-map iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* Reusing form styles from front-page for consistency */
.contact-form { background: #f9f9f9; padding: 50px; border-left: 4px solid var(--color-brand-red); }
.contact-form h3 { color: var(--color-dark); margin-bottom: 30px; font-size: 2rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; }
input, select, textarea {
    width: 100%; padding: 15px;
    border: 1px solid #ddd;
    background: #fbfbfb;
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: 0.3s;
    border-radius: 4px;
}
input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--color-brand-red);
    background: white;
    box-shadow: 0 0 10px rgba(237, 28, 36, 0.1);
}

/* Additional styles for the About Us page */
.about-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 80px auto;
}
.about-intro p {
    font-size: 1.2rem;
    line-height: 1.7;
}
.timeline {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 0;
}
.timeline::after {
    content: '';
    position: absolute;
    width: 3px;
    background-color: var(--color-brand-red);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -1.5px;
}
.timeline-container {
    padding: 10px 40px;
    position: relative;
    background-color: inherit;
    width: 50%;
}
.timeline-container.left { left: 0; }
.timeline-container.right { left: 50%; }
.timeline-container::after {
    content: '';
    position: absolute;
    width: 25px;
    height: 25px;
    right: -12.5px;
    background-color: white;
    border: 4px solid var(--color-brand-red);
    top: 25px;
    border-radius: 50%;
    z-index: 1;
}
.timeline-container.right::after { left: -12.5px; }
.timeline-content {
    padding: 20px 30px;
    background-color: #f9f9f9;
    position: relative;
    border-radius: 6px;
    border-left: 4px solid var(--color-brand-red);
}
.timeline-content h3 { font-size: 1.5rem; margin-bottom: 10px; color: var(--color-dark); }
.timeline-content p { font-size: 1rem; }

/* Additional styles for the Partners page */
.partners-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 80px auto;
}
.logo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 40px;
    align-items: center;
    margin-bottom: 80px;
}
.logo-item {
    background: #fff;
    padding: 20px;
    border-radius: 4px;
    border: 1px solid #eee;
    text-align: center;
    transition: all 0.3s ease;
    min-height: 120px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.logo-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    border-color: var(--color-brand-red);
}
.logo-item img {
    max-width: 80%;
    max-height: 60px;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
}
.logo-item:hover img {
    filter: grayscale(0%);
    opacity: 1;
}
.partner-detail-section {
    padding-top: 80px;
    border-top: 1px solid #eee;
}
.partner-detail-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 80px;
}
.partner-detail-grid:last-child {
    margin-bottom: 0;
}
.partner-logo-lg {
    text-align: center;
    font-size: 3rem;
    font-weight: 900;
}

/* Additional styles for the Legal Notices page */
.legal-content-wrapper {
    max-width: 800px;
    margin: 0 auto;
}
.legal-content-wrapper h2 {
    font-size: 2rem;
    margin-top: 40px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #eee;
}
.legal-content-wrapper h3 {
    font-size: 1.5rem;
    margin-top: 30px;
    margin-bottom: 15px;
}
.legal-content-wrapper p, .legal-content-wrapper ul {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333;
}
.legal-content-wrapper ul {
    padding-left: 20px;
    list-style: disc;
}

@media (min-width: 1025px) {



    .nav-menu li:hover>.sub-menu {



        display: block;



    }



}



.nav-menu .sub-menu li {

    width: 100%;

}



.nav-menu .sub-menu a {

    padding: 10px 20px;

    font-size: 1rem;

    white-space: nowrap;

}



.nav-menu .sub-menu a::after {

    display: none;
    /* No underline on sub-menu items */

}



.nav-menu .sub-menu a:hover {

    background: #f9f9f9;

    color: var(--color-brand-red);

}


/* --- RESPONSIVE --- */

@media (max-width: 1024px) {
    body>* {
        max-width: 100vw;
        overflow-x: hidden;
    }

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

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

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

    .process-line {
        display: none;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
        row-gap: 30px;
    }

    .stat-item {
        border: none;
    }

    .container.header-inner>a.btn-primary {
        display: none;
    }

    a.brand-logo {
        max-width: 50%;
    }

    .header-inner {
        justify-content: space-between;
        padding: 0 25px;
    }

    /* --- Mobile Menu --- */
    .site-header .nav-menu {
        display: flex;
        /* JS toggles to flex */
        position: fixed;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100vh;
        background: white;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 0;
        z-index: 998;
        transition: left 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        padding: var(--header-height) 0;
        overflow-y: auto;
    }

    .site-header .nav-menu.open {
        left: 0;
    }

    body.mobile-menu-open {
        overflow: hidden;
    }

    .mobile-toggle {
        display: block;
        z-index: 999;
    }

    .nav-menu .nav-menu-ul {
        flex-direction: column;
        text-align: center;
        gap: 0;
        width: 100%;
    }

    .nav-menu .nav-menu-ul li {
        width: 100%;
        text-align: left;
    }

    .nav-menu .nav-menu-ul a {
        padding: 15px 25px;
        font-size: 1.5rem;
        border-bottom: 1px solid #f0f0f0;
    }

    .nav-menu .nav-menu-ul a:hover {
        background: #f9f9f9;
    }

    .nav-menu .sub-menu {
        position: static;
        display: block;
        /* Required for max-height transition */
        background: #f5f5f5;
        box-shadow: none;
        border-top: none;
        min-width: 100%;
        padding: 0;
        border-radius: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease-out;
    }

    .nav-menu .menu-item-has-children.open>.sub-menu {
        max-height: 500px;
        /* Animates open */
        transition: max-height 0.4s ease-in;
    }

    .nav-menu .sub-menu a {
        font-size: 1.1rem;
        font-weight: 400;
        text-transform: none;
        border-bottom: 1px solid #e5e5e5;
    }

    /* Give parent item some feedback */
    .nav-menu .menu-item-has-children>a {
        background-color: transparent;
        transition: background-color 0.3s;
    }

    .nav-menu .menu-item-has-children.open>a {
        background-color: #f0f0f0;
    }

    .nav-menu .sub-menu a {
        font-size: 1.2rem;
        padding-left: 40px;
    }

    .nav-menu .menu-item-has-children {
        position: relative;
    }

    .submenu-toggle {
        position: absolute;
        right: 0;
        top: 0;
        width: 60px;
        height: 100%;
        cursor: pointer;
        display: flex;
        align-items: flex-start;
        justify-content: center;
        z-index: 1;
        padding: var(--wp--preset--spacing--50) 0;
    }

    .submenu-toggle::after {
        content: '\f078';
        font-family: 'Font Awesome 6 Free';
        font-weight: 900;
        color: var(--color-brand-red);
        transition: transform 0.3s;
    }

    .menu-item-has-children.open>.submenu-toggle::after {
        transform: rotate(180deg);
    }

    .hero-actions>a.btn {
        min-width: 100%;
        margin: 0 !important;
    }
}



@media (max-width: 768px) {

    .hero-title {
        font-size: 2.8rem;
    }

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

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

    .stats-banner {
        margin-top: 0;
    }

    .section-title {
        font-size: 2.5rem;
    }

}