/* Scale Verse CSS3 Stylesheet - Strictly Navy & Off-White */

/* Theme Variables */
:root {
    --navy: #0A192F;
    --off-white: #F4F6F9;
    --transition-speed: 0.3s;
    --transition-curve: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
    scroll-behavior: smooth;
    background-color: var(--off-white);
    color: var(--navy);
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

body.menu-open {
    overflow: hidden;
}

main {
    flex: 1;
}

/* Page Containers */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-padding {
    padding: 6.5rem 0;
}

/* Navigation Header */
.site-header {
    background-color: var(--off-white);
    border-bottom: 2px solid var(--navy);
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.logo-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: var(--navy);
}

.site-logo {
    height: 58px;
    width: auto;
    object-fit: contain;
    transition: transform var(--transition-speed) var(--transition-curve);
}

.logo-link:hover .site-logo {
    transform: scale(1.06);
}

.logo-text {
    font-weight: 900;
    font-size: 1.4rem;
    letter-spacing: 0.08em;
}

.main-nav {
    display: block;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-link {
    text-decoration: none;
    color: var(--navy);
    font-weight: 700;
    font-size: 0.95rem;
    position: relative;
    padding: 0.25rem 0;
    opacity: 0.65;
    transition: opacity var(--transition-speed) ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2.5px;
    background-color: var(--navy);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform var(--transition-speed) var(--transition-curve);
}

.nav-link:hover, .nav-link.active {
    opacity: 1;
}

.nav-link:hover::after, .nav-link.active::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* Sections Base Styling (Alternating Backgrounds) */
.light-section {
    background-color: var(--off-white);
    color: var(--navy);
}

.dark-section {
    background-color: var(--navy);
    color: var(--off-white);
}

/* Headings */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4.5rem auto;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 850;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.1rem;
    opacity: 0.85;
}

/* Buttons */
.btn {
    display: inline-block;
    font-weight: 800;
    font-size: 0.95rem;
    text-decoration: none;
    padding: 0.95rem 1.85rem;
    border: 2px solid transparent;
    cursor: pointer;
    letter-spacing: 0.03em;
    transition: all var(--transition-speed) var(--transition-curve);
}

/* Light button (solid Navy on Light background) */
.btn-primary {
    background-color: var(--navy);
    color: var(--off-white);
    border-color: var(--navy);
}

.btn-primary:hover {
    background-color: var(--off-white);
    color: var(--navy);
    transform: translateY(-2px);
}

/* Dark button (solid Off-White on Dark background) */
.btn-dark {
    background-color: var(--off-white);
    color: var(--navy);
    border-color: var(--off-white);
}

.btn-dark:hover {
    background-color: var(--navy);
    color: var(--off-white);
    transform: translateY(-2px);
}

/* Hero Section (Light Section) */
.hero-section {
    padding: 7rem 0;
}

.hero-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4.5rem;
    align-items: center;
}

.hero-content {
    max-width: 550px;
}

.hero-title {
    font-size: 3.75rem;
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 1.5rem;
}

.hero-title span {
    border-bottom: 4px solid var(--navy);
}

.hero-text {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 2.5rem;
    line-height: 1.75;
}

.hero-media-wrapper {
    width: 100%;
    border: 3px solid var(--navy);
    box-shadow: 12px 12px 0 var(--navy);
    transition: all var(--transition-speed) var(--transition-curve);
    background-color: var(--navy);
    line-height: 0;
    overflow: hidden;
}

.hero-media-wrapper:hover {
    transform: translate(-4px, -4px);
    box-shadow: 16px 16px 0 var(--navy);
}

.hero-video {
    width: 100%;
    height: auto;
    display: block;
}

/* About Us Section (Dark Section) */
.about-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4.5rem;
    align-items: center;
}

.about-text h3 {
    font-size: 1.85rem;
    font-weight: 800;
    margin-bottom: 1.25rem;
    letter-spacing: -0.02em;
}

.about-text p {
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
    opacity: 0.9;
    line-height: 1.75;
}

.about-image-wrapper {
    width: 100%;
    border: 3px solid var(--off-white);
    box-shadow: 12px 12px 0 var(--off-white);
    transition: all var(--transition-speed) var(--transition-curve);
    overflow: hidden;
    line-height: 0;
}

.about-image-wrapper:hover {
    transform: translate(-4px, -4px);
    box-shadow: 16px 16px 0 var(--off-white);
}

.about-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* Portfolio Section (Light Section) */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

.portfolio-card {
    background-color: var(--off-white);
    border: 3px solid var(--navy);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all var(--transition-speed) var(--transition-curve);
    overflow: hidden;
}

.portfolio-card:hover {
    transform: translate(-6px, -6px);
    box-shadow: 8px 8px 0 var(--navy);
}

/* Portfolio Media (Natively Styled) */
.portfolio-img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    display: block;
    border-bottom: 3px solid var(--navy);
    transition: transform var(--transition-speed) var(--transition-curve);
}

.portfolio-card:hover .portfolio-img {
    transform: scale(1.03);
}

.portfolio-video {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: contain;
    background-color: var(--navy);
    display: block;
    border-bottom: 3px solid var(--navy);
}


.portfolio-body {
    padding: 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.portfolio-category {
    font-size: 0.75rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
    opacity: 0.75;
}

.portfolio-title {
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
}

.portfolio-desc {
    font-size: 0.95rem;
    opacity: 0.8;
}

/* Contact Us Section (Dark Section) */
.contact-container-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4.5rem;
}

.contact-info-block {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.info-item h4 {
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    letter-spacing: -0.01em;
}

.info-item p {
    opacity: 0.85;
}

.info-item a {
    color: var(--off-white);
    text-decoration: none;
    font-weight: 700;
    border-bottom: 2px solid var(--off-white);
    transition: opacity var(--transition-speed) ease;
}

.info-item a:hover {
    opacity: 0.8;
}

.contact-form-card {
    background-color: var(--off-white);
    border: 3px solid var(--navy);
    padding: 3rem;
    box-shadow: 8px 8px 0 var(--navy);
    transition: all var(--transition-speed) var(--transition-curve);
}

.contact-form-card:focus-within {
    box-shadow: 12px 12px 0 var(--navy);
    transform: translate(-4px, -4px);
}

.form-group-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.form-group.no-margin {
    margin-bottom: 0;
}

.form-label {
    font-weight: 800;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--navy);
}

.form-input, .form-textarea {
    width: 100%;
    padding: 0.85rem 1rem;
    font-family: inherit;
    font-size: 0.95rem;
    background-color: var(--off-white);
    border: 2px solid var(--navy);
    color: var(--navy);
    transition: all 0.2s ease;
    outline: none;
}

.form-input::placeholder, .form-textarea::placeholder {
    color: rgba(10, 25, 47, 0.45);
}

.form-input:focus::placeholder, .form-textarea:focus::placeholder {
    color: rgba(244, 246, 249, 0.55);
}

.form-input:focus, .form-textarea:focus {
    background-color: var(--navy);
    color: var(--off-white);
    border-color: var(--navy);
}

.form-textarea {
    resize: vertical;
    min-height: 140px;
}

.form-select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%230A192F'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1.25rem;
    padding-right: 2.5rem;
}

.form-select:focus {
    background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23F4F6F9'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
}

.form-select option {
    background-color: var(--off-white);
    color: var(--navy);
}

.form-select option:disabled {
    color: rgba(10, 25, 47, 0.4);
}

.form-section-title {
    font-size: 1.35rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--navy);
    border-bottom: 2px solid var(--navy);
    padding-bottom: 0.75rem;
}

.map-wrapper {
    width: 100%;
    border: 3px solid var(--off-white);
    box-shadow: 8px 8px 0 var(--off-white);
    transition: all var(--transition-speed) var(--transition-curve);
    line-height: 0;
    overflow: hidden;
    margin-top: 1rem;
}

.map-wrapper:hover {
    transform: translate(-3px, -3px);
    box-shadow: 12px 12px 0 var(--off-white);
}

.map-wrapper iframe {
    width: 100%;
    display: block;
}

/* Footer Section (Light Section) */
.site-footer {
    border-top: 2px solid var(--navy);
    padding: 4.5rem 0 2rem 0;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-info-column {
    max-width: 400px;
}

.footer-logo {
    display: inline-block;
    font-size: 1.6rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    color: var(--navy);
    text-decoration: none;
    margin-bottom: 1rem;
}

.footer-desc {
    font-size: 0.95rem;
    opacity: 0.85;
}

.footer-social-column h4 {
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1.25rem;
    font-weight: 800;
}

.footer-socials {
    display: flex;
    gap: 1.5rem;
}

.social-link {
    text-decoration: none;
    color: var(--navy);
    border: 2px solid var(--navy);
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.85rem;
    transition: all var(--transition-speed) var(--transition-curve);
}

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

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 2px solid var(--navy);
    padding-top: 2rem;
}

.copyright {
    font-size: 0.85rem;
    opacity: 0.8;
}

.footer-legal-links {
    display: flex;
    gap: 1.5rem;
}

.footer-legal-link {
    text-decoration: none;
    color: var(--navy);
    font-size: 0.85rem;
    font-weight: 700;
    transition: opacity var(--transition-speed) ease;
}

.footer-legal-link:hover {
    opacity: 0.7;
}

/* Utility & Refactored Component Classes */
.btn-outline {
    background-color: transparent;
    color: var(--navy);
    border-color: var(--navy);
}

.btn-outline:hover {
    background-color: var(--navy);
    color: var(--off-white);
}

.intro-section {
    padding: 4.5rem 0;
    border-bottom: 2px solid var(--navy);
}

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

.text-left {
    text-align: left;
}

.intro-title {
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.intro-desc {
    max-width: 700px;
    margin: 0 auto;
}

.section-label {
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    opacity: 0.75;
    display: block;
    margin-bottom: 0.5rem;
}

.teaser-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.teaser-desc {
    opacity: 0.85;
    margin-bottom: 2rem;
}

.align-stretch {
    align-items: stretch;
}

.testimonial-card {
    padding: 2.5rem;
    background-color: var(--off-white);
    border: 3px solid var(--navy);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    max-width: 600px;
    margin: 0 auto;
}

.testimonial-label {
    font-weight: 800;
    font-size: 1.15rem;
    color: var(--navy);
    text-align: center;
}

.testimonial-audio {
    width: 100%;
    max-width: 450px;
    outline: none;
    display: block;
}

.max-width-800 {
    max-width: 800px;
}

.podcast-player-wrapper {
    margin-top: 1.5rem;
    border-top: 2px solid var(--navy);
    padding-top: 1.25rem;
}

.podcast-label {
    font-weight: 800;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: block;
    margin-bottom: 0.75rem;
    opacity: 0.75;
}

.margin-top-1-5 {
    margin-top: 1.5rem;
}

.margin-top-2 {
    margin-top: 2rem;
}

.margin-bottom-3 {
    margin-bottom: 3rem;
}

.margin-bottom-1-5 {
    margin-bottom: 1.5rem;
}

.margin-bottom-2 {
    margin-bottom: 2rem;
}

.opacity-85 {
    opacity: 0.85;
}

.audio-control-btn {
    margin-top: 1.5rem;
    width: 100%;
    max-width: 280px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.subtitles-panel {
    margin-top: 1.5rem;
    min-height: 54px;
    font-size: 1.05rem;
    font-style: italic;
    opacity: 0;
    transition: opacity var(--transition-speed) var(--transition-curve);
    text-align: center;
    max-width: 500px;
    line-height: 1.5;
}

.subtitles-panel.visible {
    opacity: 0.9;
}
.social-avatar {
    padding: 0 !important;
    overflow: hidden;
    border-radius: 50%;
}

.footer-avatar {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

#blog, #about-sound {
    border-top: 2px solid var(--navy);
}

/* Blog Section */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

.blog-card {
    background-color: var(--off-white);
    border: 3px solid var(--navy);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all var(--transition-speed) var(--transition-curve);
    overflow: hidden;
}

.blog-card:hover {
    transform: translate(-6px, -6px);
    box-shadow: 8px 8px 0 var(--navy);
}

.blog-img-wrapper {
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    border-bottom: 3px solid var(--navy);
    line-height: 0;
}

.blog-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform var(--transition-speed) var(--transition-curve);
}

.blog-card:hover .blog-img {
    transform: scale(1.04);
}

.blog-body {
    padding: 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.blog-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

.blog-category {
    font-size: 0.75rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    opacity: 0.75;
}

.blog-read-time {
    font-size: 0.75rem;
    font-weight: 700;
    opacity: 0.6;
}

.blog-post-title {
    font-size: 1.35rem;
    font-weight: 850;
    margin-bottom: 0.75rem;
    line-height: 1.35;
    letter-spacing: -0.01em;
    color: var(--navy);
}

.blog-desc {
    font-size: 0.95rem;
    opacity: 0.85;
    line-height: 1.6;
}

.blog-link {
    color: var(--navy);
    text-decoration: none;
    font-weight: 800;
    font-size: 0.95rem;
    display: inline-block;
    transition: transform var(--transition-speed) var(--transition-curve);
}

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

/* Responsive Media Queries */
@media (max-width: 1024px) {
    .portfolio-grid, .blog-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media (max-width: 968px) {
    .section-padding {
        padding: 5rem 0;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 3.5rem;
        text-align: center;
    }

    .hero-content {
        max-width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

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

    .about-grid {
        grid-template-columns: 1fr;
        gap: 3.5rem;
        text-align: center;
    }

    .about-image-wrapper {
        max-width: 500px;
        margin: 0 auto;
    }

    .contact-container-grid {
        grid-template-columns: 1fr;
        gap: 3.5rem;
    }
}

@media (max-width: 768px) {
    .portfolio-grid, .blog-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }

    .footer-top {
        flex-direction: column;
        gap: 2.5rem;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 1.25rem;
    }

    .section-padding {
        padding: 4rem 0;
    }

    .header-container {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 1rem 1.25rem;
    }

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

    .testimonial-card {
        padding: 1.75rem 1.25rem;
    }

    .contact-form-card {
        padding: 1.75rem;
    }

    .form-group-row {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

/* Services Slider Section */
.services-section {
    position: relative;
    overflow: hidden;
    padding: 3.5rem 0;
}

.services-section .section-header {
    margin-bottom: 2rem;
}

.services-slider-viewport {
    width: 100%;
    overflow: hidden;
    padding: 1.25rem 0;
    margin: 0 auto;
}

.services-slider-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform;
}

.service-slide {
    flex: 0 0 33.3333%;
    padding: 0 1rem;
    box-sizing: border-box;
}

.service-card {
    background-color: var(--off-white);
    border: 3px solid var(--navy);
    padding: 1rem 1.5rem;
    min-height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    transition: all var(--transition-speed) var(--transition-curve);
}

.service-card:hover {
    transform: translate(-4px, -4px);
    box-shadow: 6px 6px 0 var(--navy);
}

.service-card-title {
    font-size: 1.15rem;
    font-weight: 850;
    letter-spacing: -0.01em;
    color: var(--navy);
}

/* Dots Navigation */
.slider-dots-container {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border: 2px solid var(--navy);
    background-color: transparent;
    cursor: pointer;
    padding: 0;
    transition: all var(--transition-speed) var(--transition-curve);
}

.slider-dot.active {
    background-color: var(--navy);
    transform: scale(1.2);
}

/* Responsive Overrides for Slider */
@media (max-width: 1024px) {
    .service-slide {
        flex: 0 0 50%;
        padding: 0 0.75rem;
    }
}

@media (max-width: 768px) {
    .services-section {
        padding: 2.5rem 0;
    }
    .service-slide {
        flex: 0 0 100%;
        padding: 0 0.5rem;
    }
}

/* Product Cards in Teasers Section */
.product-card {
    background-color: var(--navy);
    border: 3px solid var(--off-white);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all var(--transition-speed) var(--transition-curve);
    overflow: hidden;
}

.product-card:hover {
    transform: translate(-6px, -6px);
    box-shadow: 8px 8px 0 var(--off-white);
}

.product-img-wrapper {
    position: relative;
    width: 100%;
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--navy);
    border-bottom: 3px solid var(--off-white);
    padding: 1.5rem;
    overflow: hidden;
}

.product-img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    transition: transform var(--transition-speed) var(--transition-curve);
}

.product-card:hover .product-img {
    transform: scale(1.06);
}

.product-body {
    padding: 2.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Footer Team/Founders Column */
.footer-team-column {
    max-width: 320px;
}

.footer-team-column h4 {
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1.25rem;
    font-weight: 800;
}

.footer-team-members {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.footer-member {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.footer-member-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid var(--navy);
    object-fit: cover;
    background-color: var(--navy);
    flex-shrink: 0;
}

.footer-member-info {
    display: flex;
    flex-direction: column;
}

.footer-member-name {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--navy);
    text-decoration: none;
    transition: opacity var(--transition-speed) ease;
}

.footer-member-name:hover {
    opacity: 0.7;
    text-decoration: underline;
}

.footer-member-role {
    font-size: 0.8rem;
    opacity: 0.75;
    font-weight: 600;
}

/* LinkedIn Company Badge in Hero */
.hero-pretitle {
    margin-bottom: 1.5rem;
    align-self: flex-start;
}

.linkedin-company-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background-color: var(--off-white);
    border: 3px solid var(--navy);
    padding: 0.65rem 1.25rem;
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--navy);
    text-decoration: none;
    transition: all var(--transition-speed) var(--transition-curve);
}

.linkedin-company-badge:hover {
    transform: translate(-4px, -4px);
    box-shadow: 6px 6px 0 var(--navy);
}

.product-card-title {
    font-size: 1.6rem;
    font-weight: 800;
    margin-bottom: 1.25rem;
    color: var(--off-white);
}

/* Footer Company Profile Item */
.footer-company-profile {
    align-items: flex-start;
    margin-bottom: 1rem;
    border-bottom: 2px dashed rgba(10, 25, 47, 0.25);
    padding-bottom: 1rem;
}

.company-avatar {
    width: 80px;
    height: 80px;
    border: 2px solid var(--navy);
    border-radius: 4px;
    object-fit: cover;
    flex-shrink: 0;
}

.footer-company-name {
    font-size: 1.45rem;
    font-weight: 900;
    color: var(--navy);
    text-decoration: none;
    line-height: 1.15;
    transition: opacity var(--transition-speed) ease;
}

.footer-company-name:hover {
    opacity: 0.7;
    text-decoration: underline;
}

.footer-company-tagline {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--navy);
    opacity: 0.95;
    margin-top: 0.15rem;
    line-height: 1.25;
}

.footer-company-details {
    font-size: 0.8rem;
    opacity: 0.8;
    font-weight: 600;
    margin-top: 0.25rem;
    line-height: 1.3;
}

/* ==========================================
   Services Page Custom Styles
   ========================================== */
.service-features-list {
    list-style: none;
    padding: 0;
    margin: 1.25rem 0 1.75rem 0;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.service-features-list li {
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--navy);
    position: relative;
    padding-left: 1.35rem;
    line-height: 1.4;
}

.service-features-list li::before {
    content: "•";
    position: absolute;
    left: 0.2rem;
    color: var(--navy);
    font-size: 1.15rem;
    line-height: 1;
}

/* Why Choose Section */
.why-choose-section {
    padding: 6.5rem 0;
    background-color: var(--off-white);
    border-top: 3px solid var(--navy);
    border-bottom: 3px solid var(--navy);
}

.why-choose-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4.5rem;
    align-items: center;
}

.why-choose-list {
    list-style: none;
    padding: 0;
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.why-choose-list li {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--navy);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.why-choose-list li svg {
    color: var(--navy);
    flex-shrink: 0;
}

@media (max-width: 900px) {
    .why-choose-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

/* ==========================================
   Portfolio Filter Styles
   ========================================== */
.portfolio-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3.5rem;
    flex-wrap: wrap;
}

.filter-btn {
    background-color: transparent;
    border: 3px solid var(--navy);
    color: var(--navy);
    padding: 0.65rem 1.5rem;
    font-size: 0.95rem;
    font-weight: 800;
    letter-spacing: 0.03em;
    cursor: pointer;
    transition: all var(--transition-speed) var(--transition-curve);
}

.filter-btn:hover,
.filter-btn.active {
    background-color: var(--navy);
    color: var(--off-white);
    transform: translate(-3px, -3px);
    box-shadow: 4px 4px 0 var(--navy);
}

.filter-btn.active {
    box-shadow: none;
    transform: none;
}

/* Portfolio Card Animations */
.portfolio-card {
    opacity: 1;
    transform: scale(1);
    transition: opacity 0.35s ease, transform 0.35s ease, box-shadow var(--transition-speed) var(--transition-curve), transform var(--transition-speed) var(--transition-curve);
}
/* ==========================================
   Engineering Excellence Modal Styles
   ========================================== */
.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(10, 25, 47, 0.75);
    backdrop-filter: blur(8px);
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-backdrop.active {
    display: flex;
    opacity: 1;
}

.modal-container {
    background-color: var(--off-white);
    border: 3px solid var(--navy);
    box-shadow: 8px 8px 0 var(--navy);
    max-width: 750px;
    width: 100%;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transform: translateY(20px);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-backdrop.active .modal-container {
    transform: translateY(0);
}

.modal-header {
    padding: 1.5rem 2rem;
    border-bottom: 2px solid var(--navy);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-title {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--navy);
    line-height: 1.25;
}

.modal-close-btn {
    background-color: transparent;
    border: none;
    font-size: 2rem;
    font-weight: 800;
    color: var(--navy);
    cursor: pointer;
    line-height: 1;
    transition: transform 0.2s ease;
    padding: 0 0.5rem;
}

.modal-close-btn:hover {
    transform: scale(1.15);
}

.modal-body {
    padding: 2.5rem 2rem;
    overflow-y: auto;
    font-size: 1rem;
    line-height: 1.75;
    color: var(--navy);
}

.modal-body p {
    margin-bottom: 1.5rem;
}

.modal-body h4 {
    font-size: 1.2rem;
    font-weight: 850;
    margin: 2rem 0 1rem 0;
}

.modal-body ul {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.modal-body li {
    margin-bottom: 0.5rem;
}

/* =============================================
   FLOATING WHATSAPP BUTTON
   ============================================= */
.whatsapp-float {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 9999;
    width: 58px;
    height: 58px;
    background: linear-gradient(135deg, #25d366, #128c7e);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45);
    text-decoration: none;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    animation: wa-pulse-ring 2.5s ease-out infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1) translateY(-3px);
    box-shadow: 0 8px 28px rgba(37, 211, 102, 0.6);
    animation: none;
}

.whatsapp-float svg {
    flex-shrink: 0;
    filter: drop-shadow(0 1px 2px rgba(0,0,0,0.2));
}

/* Tooltip */
.whatsapp-float::before {
    content: "Chat with us";
    position: absolute;
    right: 68px;
    background: #1a1a2e;
    color: #fff;
    font-size: 0.78rem;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 8px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transform: translateX(8px);
    transition: opacity 0.25s ease, transform 0.25s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.15);
}

.whatsapp-float:hover::before {
    opacity: 1;
    transform: translateX(0);
}

@keyframes wa-pulse-ring {
    0%   { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5), 0 4px 20px rgba(37, 211, 102, 0.35); }
    70%  { box-shadow: 0 0 0 14px rgba(37, 211, 102, 0),  0 4px 20px rgba(37, 211, 102, 0.35); }
    100% { box-shadow: 0 0 0 0  rgba(37, 211, 102, 0),    0 4px 20px rgba(37, 211, 102, 0.35); }
}

@media (max-width: 480px) {
    .whatsapp-float {
        bottom: 18px;
        right: 18px;
        width: 52px;
        height: 52px;
    }
}

/* =============================================
   VIDEO SUBTITLE BLOCK (Portfolio Cards)
   ============================================= */
.video-subtitle-block {
    margin-top: 1.25rem;
    padding: 1rem 1.1rem;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.08), rgba(168, 85, 247, 0.06));
    border-left: 3px solid var(--color-primary, #6366f1);
    border-radius: 0 10px 10px 0;
    position: relative;
    overflow: hidden;
}

.video-subtitle-block::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(135deg, rgba(99,102,241,0.04), transparent);
    pointer-events: none;
}

.video-subtitle-label {
    display: block;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: var(--color-primary, #6366f1);
    margin-bottom: 0.5rem;
}

.video-subtitle-text {
    margin: 0;
    font-size: 0.82rem;
    line-height: 1.65;
    color: var(--color-text-muted, #64748b);
    font-style: italic;
}

/* =============================================
   About Page Custom Sections & Design Refinement
   ============================================= */

/* Stat Grid Styling */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2.5rem;
    margin-top: 3.5rem;
}

.stat-item {
    background-color: var(--off-white);
    border: 2px solid var(--navy);
    padding: 2.5rem 1.75rem;
    text-align: center;
    box-shadow: 6px 6px 0 var(--navy);
    transition: all var(--transition-speed) var(--transition-curve);
}

.stat-item:hover {
    transform: translate(-3px, -3px);
    box-shadow: 9px 9px 0 var(--navy);
}

.stat-number {
    font-size: 3rem;
    font-weight: 900;
    color: var(--navy);
    display: block;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.85rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    opacity: 0.85;
}

/* Core Pillars Card Styling */
.pillars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(270px, 100%), 1fr));
    gap: 3rem;
    margin-top: 2rem;
}

.pillar-card {
    background-color: var(--off-white);
    border: 3px solid var(--navy);
    padding: 3rem 2.25rem;
    box-shadow: 8px 8px 0 var(--navy);
    transition: all var(--transition-speed) var(--transition-curve);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.pillar-card:hover {
    transform: translate(-4px, -4px);
    box-shadow: 12px 12px 0 var(--navy);
}

.pillar-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    display: inline-block;
}

.pillar-card h4 {
    font-size: 1.4rem;
    font-weight: 850;
    margin-bottom: 1rem;
    color: var(--navy);
}

.pillar-card p {
    font-size: 1.05rem;
    line-height: 1.65;
    opacity: 0.9;
}

/* Process Timeline Section */
.process-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2.5rem;
    margin-top: 3.5rem;
}

.process-card {
    background-color: rgba(244, 246, 249, 0.03);
    border: 2px dashed rgba(244, 246, 249, 0.2);
    padding: 2.5rem 1.75rem;
    position: relative;
    transition: all var(--transition-speed) var(--transition-curve);
}

.process-card:hover {
    background-color: rgba(244, 246, 249, 0.07);
    border-color: var(--off-white);
    transform: translateY(-5px);
}

.process-num {
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1;
    color: transparent;
    -webkit-text-stroke: 1.5px rgba(244, 246, 249, 0.4);
    display: block;
    margin-bottom: 1rem;
}

.process-card:hover .process-num {
    -webkit-text-stroke: 1.5px var(--off-white);
}

.process-card h4 {
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
    color: var(--off-white);
}

.process-card p {
    font-size: 0.95rem;
    line-height: 1.6;
    opacity: 0.8;
}

/* Technology Stack Highlight */
.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.tech-category {
    background-color: rgba(244, 246, 249, 0.03);
    border: 2px solid rgba(244, 246, 249, 0.15);
    padding: 2.25rem 1.75rem;
    transition: all var(--transition-speed) var(--transition-curve);
}

.tech-category:hover {
    border-color: var(--off-white);
    background-color: rgba(244, 246, 249, 0.06);
    transform: translate(-3px, -3px);
}

.tech-category h4 {
    font-size: 1.15rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: var(--off-white);
    border-bottom: 1px solid rgba(244, 246, 249, 0.2);
    padding-bottom: 0.75rem;
}

.tech-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
}

.tech-tag {
    background-color: rgba(244, 246, 249, 0.1);
    color: var(--off-white);
    padding: 0.4rem 0.85rem;
    font-size: 0.8rem;
    font-weight: 700;
    border-radius: 4px;
    letter-spacing: 0.02em;
    transition: all 0.2s ease;
}

.tech-tag:hover {
    background-color: var(--off-white);
    color: var(--navy);
}
/* FAQ Accordion Styling */
.faq-grid {
    max-width: 800px;
    margin: 3.5rem auto 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.faq-item {
    background-color: var(--off-white);
    border: 2px solid var(--navy);
    box-shadow: 6px 6px 0 var(--navy);
    transition: all var(--transition-speed) var(--transition-curve);
}

.faq-item[open] {
    box-shadow: 9px 9px 0 var(--navy);
    transform: translate(-3px, -3px);
}

.faq-summary {
    padding: 1.5rem 2rem;
    font-size: 1.15rem;
    font-weight: 850;
    color: var(--navy);
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    outline: none;
}

/* Custom indicator instead of standard arrow */
.faq-summary::-webkit-details-marker {
    display: none;
}

.faq-summary::after {
    content: '+';
    font-size: 1.5rem;
    font-weight: 800;
    transition: transform 0.3s ease;
}

.faq-item[open] .faq-summary::after {
    transform: rotate(45deg);
}

.faq-content {
    padding: 0 2rem 1.5rem 2rem;
    font-size: 1rem;
    line-height: 1.65;
    opacity: 0.95;
    border-top: 1px dashed rgba(10, 25, 47, 0.15);
    margin-top: 0;
    padding-top: 1rem;
}

/* Contact Benefit Grid Styling */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
    margin-top: 3.5rem;
}

.benefit-card {
    background-color: var(--off-white);
    border: 2px solid var(--navy);
    padding: 2.25rem 1.75rem;
    box-shadow: 6px 6px 0 var(--navy);
    transition: all var(--transition-speed) var(--transition-curve);
}

.benefit-card:hover {
    transform: translate(-3px, -3px);
    box-shadow: 10px 10px 0 var(--navy);
}

.benefit-card h4 {
    font-size: 1.2rem;
    font-weight: 850;
    margin-bottom: 0.75rem;
    color: var(--navy);
}

.benefit-card p {
    font-size: 0.95rem;
    line-height: 1.6;
    opacity: 0.9;
}

/* Team Grid & Card Styling */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(270px, 100%), 1fr));
    gap: 3rem;
    margin-top: 3.5rem;
}

.team-card {
    background-color: var(--off-white);
    border: 3px solid var(--navy);
    box-shadow: 8px 8px 0 var(--navy);
    transition: all var(--transition-speed) var(--transition-curve);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.team-card:hover {
    transform: translate(-4px, -4px);
    box-shadow: 12px 12px 0 var(--navy);
}

.team-avatar-wrapper {
    width: 100%;
    height: 320px;
    border-bottom: 3px solid var(--navy);
    overflow: hidden;
    position: relative;
    background-color: var(--navy);
}

.team-avatar {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
    transition: all 0.4s ease;
}

.team-card:hover .team-avatar {
    filter: grayscale(0%);
    transform: scale(1.04);
}

.team-info {
    padding: 2.25rem 1.75rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.team-info h4 {
    font-size: 1.4rem;
    font-weight: 850;
    margin-bottom: 0.25rem;
    color: var(--navy);
}

.team-role {
    font-size: 0.9rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--navy);
    opacity: 0.75;
    margin-bottom: 1.25rem;
    display: block;
}

.team-bio {
    font-size: 0.98rem;
    line-height: 1.6;
    opacity: 0.9;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.team-linkedin-btn {
    align-self: flex-start;
    font-size: 0.9rem;
    font-weight: 800;
    color: var(--navy);
    text-decoration: none;
    border-bottom: 2px solid var(--navy);
    transition: opacity 0.2s ease;
}

.team-linkedin-btn:hover {
    opacity: 0.75;
}

/* =============================================
   MOBILE MENU TOGGLE & DRAWER RESPONSIVENESS
   ============================================= */

/* Hamburger Button Styles */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 19px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1010;
}

.hamburger-bar {
    width: 100%;
    height: 3px;
    background-color: var(--navy);
    transition: all 0.3s ease;
}

/* Hamburger animations when menu is active */
.menu-toggle.active .hamburger-bar:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
    background-color: var(--off-white);
}

.menu-toggle.active .hamburger-bar:nth-child(2) {
    width: 0%;
    opacity: 0;
}

.menu-toggle.active .hamburger-bar:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
    background-color: var(--off-white);
}

/* Mobile responsive menu */
@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .main-nav {
        position: fixed;
        top: 0;
        right: 0;
        width: 290px;
        height: 100vh;
        background-color: rgba(10, 25, 47, 0.98); /* Deep Navy */
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
        border-left: 3px solid var(--navy);
        z-index: 1005;
        padding: 6.5rem 2.25rem 2rem 2.25rem;
        transform: translateX(100%);
        transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        display: block;
    }

    .main-nav.active {
        transform: translateX(0);
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.25);
    }

    .nav-list {
        flex-direction: column;
        gap: 2rem;
        align-items: flex-start;
        width: 100%;
    }

    .nav-link {
        color: var(--off-white) !important;
        font-size: 1.35rem;
        font-weight: 800;
        width: 100%;
        display: block;
    }

    .nav-link::after {
        background-color: var(--off-white);
        bottom: -4px;
        height: 3px;
    }
}

/* =============================================
   DEVICE-SPECIFIC RESPONSIVE OVERRIDES
   ============================================= */

/* 1. Laptops & Large Tablets (769px to 1024px) */
@media (max-width: 1024px) {
    .section-padding {
        padding: 5rem 0;
    }
    
    .hero-title {
        font-size: 2.8rem;
    }
}

/* 2. Tablets (max-width: 768px) */
@media (max-width: 768px) {
    .section-padding {
        padding: 4.5rem 0;
    }
    
    .container {
        padding: 0 1.5rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
}

/* 3. Small Tablets & Landscape Mobile (481px to 600px) */
@media (max-width: 600px) {
    .hero-title {
        font-size: 2.3rem;
    }
    
    .section-padding {
        padding: 4rem 0;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

/* 4. Standard Mobile Portrait (361px to 480px) */
@media (max-width: 480px) {
    .container {
        padding: 0 1.25rem;
    }
    
    .section-padding {
        padding: 3.5rem 0;
    }
    
    .site-logo {
        height: 48px;
    }
    
    .hero-title {
        font-size: 2.1rem;
        line-height: 1.25;
    }
    
    .hero-text {
        font-size: 1rem;
    }
    
    .contact-form-card {
        padding: 1.5rem 1.25rem;
    }
    
    .stat-item {
        padding: 1.75rem 1rem;
    }
    
    .pillar-card {
        padding: 2.25rem 1.5rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .process-list {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .tech-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

/* 5. Ultra-Small Mobile Devices (<= 360px - e.g., iPhone SE) */
@media (max-width: 360px) {
    .container {
        padding: 0 1rem;
    }
    
    .section-padding {
        padding: 3rem 0;
    }
    
    .site-logo {
        height: 42px;
    }
    
    .hero-title {
        font-size: 1.8rem;
        line-height: 1.2;
    }
    
    .hero-text {
        font-size: 0.95rem;
    }
    
    .main-nav {
        width: 250px;
        padding-top: 5.5rem;
    }
    
    .nav-link {
        font-size: 1.2rem;
    }
    
    .testimonial-card-item {
        padding: 1.5rem 1rem;
    }
    
    .btn {
        padding: 0.8rem 1.4rem;
        font-size: 0.88rem;
    }
    
    .hero-actions {
        display: flex;
        flex-direction: column;
        gap: 0.75rem;
        width: 100%;
    }
    
    .hero-actions .btn {
        width: 100%;
        text-align: center;
    }
}

/* ==========================================================================
   Advanced Interactive Contact Form Styles
   ========================================================================== */

/* Stepper Component */
.form-stepper-container {
    margin-bottom: 2.5rem;
    position: relative;
}

.form-stepper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 1;
    max-width: 400px;
    margin: 0 auto;
}

.stepper-progress-track {
    position: absolute;
    top: 20px;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: rgba(10, 25, 47, 0.1);
    z-index: 0;
    border-radius: 2px;
}

.stepper-progress-fill {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0%;
    background-color: var(--navy);
    border-radius: 2px;
    transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.stepper-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    position: relative;
}

.stepper-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--off-white);
    border: 2px solid rgba(10, 25, 47, 0.2);
    color: rgba(10, 25, 47, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    z-index: 2;
}

.stepper-item.active .stepper-circle {
    border-color: var(--navy);
    background-color: var(--navy);
    color: var(--off-white);
    box-shadow: 0 0 0 4px rgba(10, 25, 47, 0.15);
}

.stepper-item.completed .stepper-circle {
    border-color: var(--navy);
    background-color: var(--navy);
    color: var(--off-white);
}

.stepper-item.completed .stepper-circle::after {
    content: "✓";
    font-size: 1.1rem;
}

.stepper-item.completed .stepper-circle span {
    display: none;
}

.stepper-label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: rgba(10, 25, 47, 0.6);
    transition: color 0.3s ease;
}

.stepper-item.active .stepper-label {
    color: var(--navy);
    font-weight: 700;
}

/* Steps Transition */
.form-step {
    display: none;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.form-step.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

/* Form Groups Validation States */
.form-group {
    position: relative;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.form-group.field-error .form-input,
.form-group.field-error .form-textarea {
    border-color: #dc3545 !important;
    background-color: rgba(220, 53, 69, 0.02);
}

.form-group.field-error .form-input:focus,
.form-group.field-error .form-textarea:focus {
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.15) !important;
}

.form-group.field-success .form-input,
.form-group.field-success .form-textarea {
    border-color: #198754 !important;
    background-color: rgba(25, 135, 84, 0.01);
}

.error-message {
    display: block;
    color: #dc3545;
    font-size: 0.75rem;
    margin-top: 0.35rem;
    font-weight: 500;
    animation: fadeInError 0.25s ease forwards;
}

@keyframes fadeInError {
    from { opacity: 0; transform: translateY(-4px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Custom Range Slider */
.budget-slider-group {
    margin: 1.5rem 0;
}

.budget-slider-wrapper {
    position: relative;
    padding: 0.5rem 0;
}

.form-range-slider {
    -webkit-appearance: none;
    width: 100%;
    height: 6px;
    border-radius: 3px;
    background: rgba(10, 25, 47, 0.15);
    outline: none;
    transition: background 0.3s ease;
}

.form-range-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--navy);
    cursor: pointer;
    border: 2px solid var(--off-white);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    transition: transform 0.15s ease;
}

.form-range-slider::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}

.form-range-slider::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--navy);
    cursor: pointer;
    border: 2px solid var(--off-white);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    transition: transform 0.15s ease;
}

.form-range-slider::-moz-range-thumb:hover {
    transform: scale(1.2);
}

.budget-display-container {
    background-color: rgba(10, 25, 47, 0.05);
    border-left: 3px solid var(--navy);
    padding: 0.75rem 1rem;
    border-radius: 0 6px 6px 0;
    margin-top: 1rem;
}

.budget-display-title {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(10, 25, 47, 0.5);
    font-weight: 700;
}

.budget-display-value {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--navy);
    margin-top: 0.1rem;
}

/* Timezone Greeting Widget */
.timezone-greeting-card {
    background-color: rgba(10, 25, 47, 0.03);
    border: 1px solid rgba(10, 25, 47, 0.08);
    border-radius: 8px;
    padding: 1rem 1.25rem;
    margin-top: 1.5rem;
    display: none;
}

.timezone-greeting-card.visible {
    display: block;
    animation: fadeInError 0.4s ease forwards;
}

.timezone-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: var(--navy);
    background-color: rgba(10, 25, 47, 0.06);
    padding: 0.25rem 0.6rem;
    border-radius: 4px;
    margin-bottom: 0.5rem;
}

.tz-pulse {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #198754;
    display: inline-block;
    animation: pulseGlow 1.8s infinite ease-in-out;
}

@keyframes pulseGlow {
    0% { transform: scale(0.9); opacity: 0.6; }
    50% { transform: scale(1.15); opacity: 1; }
    100% { transform: scale(0.9); opacity: 0.6; }
}

.tz-desc {
    font-size: 0.8rem;
    color: rgba(10, 25, 47, 0.7);
    margin: 0;
}

/* Wizard Navigation Row */
.form-actions-row {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    margin-top: 2rem;
    border-top: 1px solid rgba(10, 25, 47, 0.08);
    padding-top: 1.5rem;
}

.btn-prev {
    background-color: transparent !important;
    border: 1px solid var(--navy) !important;
    color: var(--navy) !important;
}

.btn-prev:hover {
    background-color: rgba(10, 25, 47, 0.05) !important;
}

/* LocalStorage Draft Auto-Save Notification Toast */
.draft-restored-toast {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background-color: var(--navy);
    color: var(--off-white);
    padding: 1rem 1.25rem;
    border-radius: 8px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    z-index: 10000;
    transform: translateY(150%);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(244, 246, 249, 0.1);
}

.draft-restored-toast.visible {
    transform: translateY(0);
}

.toast-message {
    font-size: 0.85rem;
    font-weight: 500;
}

.toast-close-btn {
    background: none;
    border: none;
    color: rgba(244, 246, 249, 0.6);
    font-size: 1.25rem;
    cursor: pointer;
    line-height: 1;
    padding: 0;
    transition: color 0.2s;
}

.toast-close-btn:hover {
    color: var(--off-white);
}

/* Submission Loader overlay */
.submit-loader-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(10, 25, 47, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
}

.submit-loader-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.loader-container-card {
    text-align: center;
    padding: 2.5rem;
    max-width: 420px;
    width: 90%;
}

.premium-spinner {
    position: relative;
    width: 80px;
    height: 80px;
    margin: 0 auto 2rem;
}

.spinner-outer {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 3px solid transparent;
    border-top-color: var(--off-white);
    border-bottom-color: var(--off-white);
    border-radius: 50%;
    animation: spinClockwise 1.5s linear infinite;
}

.spinner-inner {
    position: absolute;
    top: 10px;
    left: 10px;
    width: 60px;
    height: 60px;
    border: 3px solid transparent;
    border-left-color: rgba(244, 246, 249, 0.4);
    border-right-color: rgba(244, 246, 249, 0.4);
    border-radius: 50%;
    animation: spinCounterClockwise 1s linear infinite;
}

@keyframes spinClockwise {
    to { transform: rotate(360deg); }
}

@keyframes spinCounterClockwise {
    to { transform: rotate(-360deg); }
}

.loader-title {
    color: var(--off-white);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    letter-spacing: 0.05em;
}

.loader-status-text {
    color: rgba(244, 246, 249, 0.7);
    font-size: 0.85rem;
    min-height: 20px;
}

/* Currency Selector Pills */
.currency-pills {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-top: 0.5rem;
}

.currency-pill {
    background-color: transparent;
    border: 1px solid rgba(10, 25, 47, 0.2);
    color: var(--navy);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
}

.currency-pill:hover {
    background-color: rgba(10, 25, 47, 0.05);
    border-color: var(--navy);
}

.currency-pill.active {
    background-color: var(--navy);
    border-color: var(--navy);
    color: var(--off-white);
    box-shadow: 0 4px 10px rgba(10, 25, 47, 0.15);
}

/* Custom Budget Input Addon */
.custom-budget-input-wrapper {
    display: flex;
    align-items: stretch;
    width: 100%;
}

.currency-prefix-addon {
    background-color: rgba(10, 25, 47, 0.05);
    border: 2px solid var(--navy);
    border-right: none;
    color: var(--navy);
    font-weight: 700;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 1rem;
    border-radius: 6px 0 0 6px;
    user-select: none;
}

.custom-budget-input-wrapper .form-input {
    border-radius: 0 6px 6px 0;
    flex: 1;
}



