:root {
    --font-primary: 'Avenir LT Pro', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-armenian: 'Inter', 'Avenir LT Pro', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-main: var(--font-primary);
    
    --color-primary: #00334a;
    --color-accent: #00b57e;
    --color-accent-hover: #009e6e;
    --color-text: #555555;
    --color-bg-light: #edf0ed;
    --color-border: #edf2f0;
    --color-white: #ffffff;
    --color-muted-blue: #b0c4de;
    --color-muted-blue-dark: #8fa3bc;
}

html[lang="hy"] {
    --font-main: var(--font-armenian);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 110px;
}

html.js-scrolling {
    scroll-behavior: auto;
}

@font-face {
    font-family: 'Avenir LT Pro';
    src: url('fonts/AvenirLTProBook.woff2') format('woff2');
    font-weight: 200;
    font-style: normal;
}

@font-face {
    font-family: 'Avenir LT Pro';
    src: url('fonts/AvenirLTProMedium.woff2') format('woff2');
    font-weight: 200;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Avenir LT Pro';
    src: url('fonts/AvenirLTProHeavy.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Avenir LT Pro';
    src: url('fonts/AvenirLTProBlack.woff2') format('woff2');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

html, 
body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
    font-family: var(--font-main);
}

body {
    padding-top: 110px;
}

html, body, button, input, select, textarea {
    font-family: var(--font-main);
}

section, 
header, 
footer, 
.hero, 
.about-us, 
.services-section, 
.apply-section, 
.careers-section, 
.faq-section, 
.locations-section, 
.footer-section {
    width: 100%;
}

img, svg, video {
    max-width: 100%;
    height: auto;
}

/* HEADER & NAVBAR */
header {
    width: 100%;
    height: 110px;
    background-color: var(--color-primary);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
}

.header-container {
    width: 100%;
    max-width: 1400px;
    height: 100%;
    margin: 0 auto;
    padding: 0 clamp(0.75rem, 2vw, 1.5rem);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    margin-right: 1.5rem; /* Adds breathing room between the left logos and the nav menu */
    flex-wrap: nowrap;
    z-index: 2;
}

.header-left a {
    display: flex;
    align-items: center;
    text-decoration: none;
    height: 100%;
    gap: 0.75rem; /* Space between the SVG bars and the company logo text */
    flex-shrink: 0;
}

.header-logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    height: 100%;
    gap: 0.75rem;
    flex-shrink: 0;
}

.ministry-logo {
    flex-shrink: 0;
}

.header-left .company-logo {
    max-height: clamp(38px, 3.8vw, 58px);
    height: auto;
    object-fit: contain;
}

.header-left .ministry-logo {
    height: clamp(70px, 7vw, 100px);
    width: auto;
    object-fit: contain;
}

/* Logo Animation */
.header-logo-svg {
    height: clamp(33px, 3.3vw, 50px);
    width: auto;
    aspect-ratio: 77 / 94;
    min-width: auto;
    overflow: visible;
    margin-top: 0;
}

.header-logo-svg .logo-bar {
    fill: var(--color-accent);
    opacity: 0;
    animation-duration: 3s;
    animation-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
    animation-fill-mode: forwards;
    animation-iteration-count: 1;
}

.header-logo-svg.animate-logo .bar-left {
    animation-name: slideFromLeftHeader;
}

.header-logo-svg.animate-logo .bar-right {
    animation-name: slideFromRightHeader;
}

@keyframes slideFromLeftHeader {
    0% { opacity: 0; transform: translateX(-120px); }
    100% { opacity: 1; transform: translateX(0); }
}

@keyframes slideFromRightHeader {
    0% { opacity: 0; transform: translateX(120px); }
    100% { opacity: 1; transform: translateX(0); }
}

/* Nav Menu & Links */
.nav-menu {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.nav-menu a, 
.dropbtn {
    text-decoration: none;
    color: var(--color-white);
    font-weight: 500;
    font-size: 0.95rem;
    white-space: nowrap;
    position: relative;
    outline-offset: 4px;
}

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

.nav-menu > a.active-link,
.dropbtn.active-link {
    color: var(--color-accent);
}

.nav-menu > a.active-link::after,
.dropbtn.active-link::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -8px;
    height: 2px;
    background-color: var(--color-accent);
    border-radius: 2px;
}

.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown::after {
    content: '';
    position: absolute;
    top: 100%;
    left: -20px;
    right: -20px;
    height: 25px;
}

.dropbtn {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    cursor: pointer;
}

.arrow {
    font-size: 0.75rem;
    transition: transform 0.2s ease;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: calc(100% + 25px);
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--color-primary);
    min-width: 200px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    padding: 0.5rem 0;
    z-index: 1000;
    border: 1px solid rgba(0, 181, 126, 0.2);
}

.dropdown-content a {
    display: block;
    padding: 0.65rem 1.2rem;
    font-size: 0.95rem;
    color: var(--color-white);
    white-space: nowrap;
}

.dropdown-content a:hover {
    background-color: rgba(0, 181, 126, 0.15);
    color: var(--color-accent);
}

.dropdown:hover .dropdown-content,
.dropdown:focus-within .dropdown-content {
    display: block;
}

.dropdown.dismissed .dropdown-content {
    display: none !important;
}

.dropdown:hover .arrow,
.dropdown:focus-within .arrow {
    transform: rotate(180deg);
}

.header-right {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
    z-index: 2;
}

.header-right .btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--color-accent, #00b57e); /* HayPass Green background */
    color: #ffffff; /* White text */
    font-family: var(--font-main, sans-serif);
    font-weight: 600;
    font-size: 1rem;
    padding: 0.75rem 1.5rem;
    border: 2px solid var(--color-accent, #00b57e); /* Matching border */
    border-radius: 50px;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
    text-decoration: none;
}

.header-right .btn-primary:hover {
    background-color: #009e6e; /* Slightly darker HayPass Green for hover state */
    border-color: #009e6e;
    color: #ffffff; /* Keeps text white on hover */
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 181, 126, 0.3); /* Subtle green glow */
}

.lclose-modalng-dropdown {
    position: relative;
    display: inline-block;
}

.lang-dropdown {
    position: relative;
    display: inline-block;
}

.lang-dropdown::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: 15px;
}

.lang-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--color-bg-light);
    border: 1px solid var(--color-border);
    padding: 0.5rem 0.85rem;
    border-radius: 9999px;
    cursor: pointer;
    font-family: inherit;
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--color-primary);
}

.lang-menu {
    display: none;
    position: absolute;
    right: 0;
    top: calc(100% + 10px);
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    min-width: 140px;
    z-index: 10;
}

.lang-dropdown.active .lang-menu,
.lang-dropdown:hover .lang-menu {
    display: block;
}

.lang-option {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.6rem 1rem;
    text-decoration: none;
    color: var(--color-primary) !important; /* Forces text to stay dark and visible */
    font-size: 0.9rem;
    font-weight: 500;
}

.lang-option:hover {
    background-color: var(--color-bg-light);
    color: var(--color-accent) !important;
}

.lang-option.active {
    font-weight: 700;
    color: var(--color-accent) !important;
}

.flag-icon {
    border-radius: 2px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.15);
    flex-shrink: 0;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 21px;
    padding: 0;
    z-index: 1001;
}

.mobile-menu-btn span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--color-white);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}
.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}
.mobile-menu-btn.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

html[lang="hy"] {
    --font-main: 'Inter', sans-serif;
}

html[lang="hy"] .nav-menu a, 
html[lang="hy"] .dropbtn {
    font-size: 0.85rem; 
}

html[lang="hy"] .nav-menu {
    gap: 1rem; 
}

html[lang="hy"] .header-container {
    gap: 1rem; 
}

/* DESKTOP LAYOUT (1025px and up) */
/* DESKTOP LAYOUT (1025px and up) */
@media (min-width: 1025px) {
    .header-container {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .nav-menu {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        display: flex;
        align-items: center;
        gap: 1.5rem;
        z-index: 1;
    }

    .header-left {
        justify-self: start;
        z-index: 2;
    }

    .header-right {
        justify-self: end;
        z-index: 2;
    }

    .mobile-menu-btn {
        display: none !important;
    }
}

/* MOBILE & TABLET STYLES (1024px and below) */
@media (max-width: 1024px) {
    .header-container > .header-right {
        display: none !important;
    }

    .header-left {
        margin-right: 0;
    }

    .header-container > .lang-dropdown {
        flex: 0 0 36px;
        margin-left: auto;
        margin-right: 0.5rem;
        z-index: 1002;
    }

    .header-container > .lang-dropdown .lang-btn {
        justify-content: center;
        width: 36px;
        height: 36px;
        padding: 0;
        background: rgba(255, 255, 255, 0.1);
        border: 1px solid rgba(255, 255, 255, 0.2);
        border-radius: 8px;
        color: var(--color-white);
    }

    .header-container > .lang-dropdown .lang-btn span {
        display: none;
    }

    .header-container > .lang-dropdown .lang-menu {
        position: absolute;
        top: calc(100% + 8px);
        right: 0;
        display: none !important;
        background: var(--color-white);
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
        min-width: 140px;
        z-index: 1003;
    }

    .header-container > .lang-dropdown:hover .lang-menu {
        display: none !important;
    }

    .header-container > .lang-dropdown.open .lang-menu {
        display: flex !important;
        flex-direction: column;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background-color: var(--color-primary);
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        padding: 5rem 2rem 2rem 2rem;
        gap: 1.2rem;
        transition: right 0.3s ease-in-out;
        z-index: 1000;
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.4);
        overflow-y: auto;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-menu > a,
    .nav-menu .dropbtn {
        color: var(--color-white);
        font-size: 1.1rem;
        text-decoration: none;
        width: 100%;
        padding: 0.4rem 0;
    }

    .nav-menu .dropdown:hover .dropdown-content,
    .nav-menu .lang-dropdown:hover .lang-menu {
        display: none !important;
    }

    .nav-menu .dropdown {
        width: 100%;
    }

    .nav-menu .dropdown-content {
        position: static !important;
        display: none !important;
        background: rgba(255, 255, 255, 0.08) !important;
        box-shadow: none !important;
        border-radius: 6px;
        margin-top: 0.5rem;
        padding: 0.5rem 0.5rem 0.5rem 1rem !important;
        width: 100% !important;
        transform: none !important;
    }

    .nav-menu .dropdown.open .dropdown-content {
        display: flex !important;
        flex-direction: column !important;
    }

    .nav-menu .dropdown-content a {
        position: static !important;
        width: 100% !important;
        white-space: normal !important;
        color: #cbd5e1 !important;
        padding: 0.5rem 0;
        font-size: 0.95rem;
    }

    .nav-menu .dropdown-content a:hover {
        color: var(--color-accent) !important;
        background: transparent !important;
    }

    .nav-menu .header-right {
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
        gap: 1rem !important;
        margin-top: auto; 
        padding-top: 1.5rem;
        border-top: 1px solid rgba(255, 255, 255, 0.15);
    }

    .nav-menu .header-right .btn-primary {
        width: 100%;
        text-align: center;
        justify-content: center;
        display: flex;
    }

    .nav-menu .lang-dropdown {
        width: 100%;
        position: relative;
    }

    .nav-menu .lang-btn {
        width: 100%;
        display: flex;
        justify-content: flex-start;
        align-items: center;
        background: rgba(255, 255, 255, 0.1);
        border: 1px solid rgba(255, 255, 255, 0.2);
        color: var(--color-white);
        padding: 0.6rem 1rem;
        border-radius: 8px;
    }

    .nav-menu .lang-menu {
        position: static !important;
        display: none !important;
        background: rgba(0, 0, 0, 0.2) !important;
        box-shadow: none !important;
        width: 100% !important;
        margin-top: 0.5rem;
        border-radius: 6px;
        padding: 0.4rem 0 !important;
    }

    /* Toggle class for mobile language menu click */
    .nav-menu .lang-dropdown.open .lang-menu {
        display: flex !important;
        flex-direction: column !important;
    }

    .nav-menu .lang-option {
        color: var(--color-white) !important;
        padding: 0.5rem 1rem;
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }

    .nav-menu .lang-option:hover {
        background: rgba(255, 255, 255, 0.1);
        color: var(--color-accent) !important;
    }

    .mobile-menu-btn {
        display: flex !important;
        flex-direction: column;
        justify-content: space-between;
        width: 30px;
        height: 21px;
        flex: 0 0 30px;
        background: transparent;
        border: none;
        cursor: pointer;
        z-index: 1001;
    }
}

@media (max-width: 360px) {
    .header-left {
        gap: 0.5rem;
    }

    .header-left .company-logo {
        max-height: 32px;
    }

    .header-left .ministry-logo {
        height: 44px;
    }
}

/* HERO SECTION */
.hero {
    position: relative;
    width: 100vw;
    min-height: calc(100vh - 110px);
    display: flex;
    justify-content: flex-start;
    align-items: flex-start; 
    overflow: hidden;
    background-color: var(--color-primary);
    padding: 3rem 4rem 4rem 4rem; 
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 25%; /* Adjust this percentage (e.g., 20% to 35%) to find your sweet spot */
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg, rgba(32, 38, 43, 0.9) 0%, rgba(42, 50, 56, 0.7) 45%, rgba(48, 57, 64, 0.4) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    top: 0;
    z-index: 3;
    padding: 0;
    max-width: 1200px;
    text-align: left;
    color: var(--color-white);
    width: 100%;
    margin-left: clamp(1rem, 3vw, 5rem);
    margin-right: 2rem;
}

.hero-content h1 {
    color: var(--color-white);
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 900;
    line-height: 2;
    margin: 0;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-line {
    display: block;
    width: fit-content;
    opacity: 0;
    animation: fadeInUp 1s ease-out forwards;
    margin-bottom: 0.3rem;
}

.hero-line.line-1 {
    animation-delay: 0.2s;
    margin-left: 0;
}

.hero-line.line-2 {
    animation-delay: 0.4s;
    margin-left: clamp(2rem, 5vw, 6rem);
}

.hero-line.line-3 {
    animation-delay: 0.6s;
    margin-left: clamp(4rem, 10vw, 12rem);
}

.hero-content h1 .highlight {
    color: var(--color-accent);
}

.hero-scroll {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: rgba(255, 255, 255, 0.75);
}

.bouncing-mouse {
    margin-top: 0.25rem;
}

.mouse-wheel {
    animation: bounce-wheel 1.5s ease-in-out infinite;
}

@keyframes bounce-wheel {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(5px); }
}

@media (max-width: 992px) {
    .hero-content {
        margin-left: 1rem !important;
        margin-right: 1rem !important;
    }

    .hero-line.line-2,
    .hero-line.line-3,
    .hero-line.line-4,
    .hero-line.line-5 {
        margin-left: 0 !important;
    }
}

@media (max-width: 768px) {
    .hero {
        min-height: 0;
        height: auto;
        aspect-ratio: 16 / 9;
        padding: 1rem 1.25rem;
    }

    .hero-bg {
        object-fit: contain;
        object-position: center top;
    }

    .hero-content {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .hero-content h1 {
        font-size: 1.4rem;
        line-height: 2.5;
    }

    .hero-line.line-2 {
        margin-left: 1rem !important;
    }

    .hero-line.line-3 {
        margin-left: 2rem !important;
    }

    .hero-scroll {
        display: none;
    }
}

@media (max-width: 360px) {
    .hero {
        min-height: 220px;
        padding-top: 0.5rem;
    }
}

/* ABOUT US */
.about-us {
    width: 100%;
    padding: 1.5rem 2rem 3rem;
    background-color: var(--color-white);
    box-sizing: border-box;
}

.about-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    color: var(--color-text);
    text-align: center;
    box-sizing: border-box;
}

.about-container .subtitle {
    display: block;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: var(--color-accent);
    margin-bottom: 0.5rem;
    line-height: 1;
}

.about-container h2 {
    font-size: clamp(2rem, 3vw, 3rem);
    font-weight: 700;
    color: var(--color-primary);
    margin-top: 0;
    margin-bottom: 2rem;
}

.about-container h2 .highlight {
    color: var(--color-accent);
}

.about-content {
    max-width: 900px;
    margin: 0 auto 4rem auto;
    line-height: 1.7;
}

.about-content p {
    margin-bottom: 1.5rem;
    font-size: 1.125rem;
}

.about-content strong {
    color: var(--color-primary);
    font-weight: 700;
}

.values-content > h3 {
    margin: 0 0 2rem;
    color: var(--color-primary);
    font-size: 2rem;
    font-weight: 700;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    align-items: stretch;
}

.value-card {
    background-color: var(--color-bg-light);
    border-radius: 16px;
    padding: 3rem 2rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid var(--color-border);
    cursor: pointer;
}

.value-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    border-color: #e2e8f0;
}

.icon-circle {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    background-color: var(--color-primary);
    color: var(--color-white);
    transition: background-color 0.3s ease;
}

.value-card:hover .icon-circle {
    background-color: var(--color-accent);
}

.value-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 1rem;
}

.value-card p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--color-text);
    margin: 0;
}

/* SERVICES SECTION */
.services-section {
    width: 100%;
    padding: 1.5rem 1rem 3rem;
    background-color: var(--color-bg-light);
    box-sizing: border-box;
    overflow-x: hidden;
}

.services-section .services-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    box-sizing: border-box;
}

.services-section .services-container .subtitle {
    display: block;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--color-accent);
    margin-bottom: 0.5rem;
    line-height: 1;
}

.services-section .services-container h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.75rem);
    font-weight: 700;
    color: var(--color-primary);
    margin-top: 0.5rem;
    margin-bottom: 1rem;
}

.services-section .services-container h2 .highlight {
    color: var(--color-accent);
}

.services-section .services-intro {
    max-width: 700px;
    margin: 0 auto 3.5rem auto;
    font-size: 1.05rem;
    color: var(--color-text);
    line-height: 1.6;
    padding: 0 0.5rem;
}

.services-section .services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    justify-content: center;
    gap: 2.5rem;
    align-items: stretch;
}

.services-section .service-card {
    background-color: transparent;
    perspective: 1000px;
    cursor: pointer;
    width: 100%;
    min-height: 580px;
    height: auto; 
}

.services-section .card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 580px;
    text-align: left;
    transition: transform 0.6s cubic-bezier(0.4, 0.2, 0.2, 1);
    transform-style: preserve-3d;
}

.services-section .service-card.flipped .card-inner {
    transform: rotateY(180deg);
}

.services-section .card-front, 
.services-section .card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    border-radius: 16px;
    border: 1px solid var(--color-border);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    background-color: var(--color-white);
    box-sizing: border-box;
}

.services-section .card-front {
    padding: 2.25rem 2rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-start; 
}

.services-section .flip-hint {
    position: relative;
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    align-self: flex-end;
    gap: 0.35rem;
    padding: 0.45rem 0.85rem;
    background-color: var(--color-bg-light);
    color: var(--color-primary);
    border-radius: 9999px;
    font-size: 0.8rem;
    font-weight: 500;
    opacity: 0.85;
}

.services-section .service-icon {
    width: 52px !important;
    height: 52px !important;
    min-width: 52px !important;
    min-height: 52px !important;
    max-width: 52px !important;
    max-height: 52px !important;
    border-radius: 12px;
    background-color: var(--color-primary);
    color: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    flex-shrink: 0;
    box-sizing: border-box;
}

.services-section .service-icon svg {
    width: 28px !important;
    height: 28px !important;
    min-width: 28px !important;
    min-height: 28px !important;
    flex-shrink: 0;
}

.services-section .service-card h3 {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 1.1rem;
}

.services-section .service-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.2rem 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.services-section .service-list li {
    position: relative;
    padding-left: 1.35rem;
    font-size: 1rem;
    color: var(--color-text);
    line-height: 1.5;
}

.services-section .service-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.45rem;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background-color: var(--color-accent);
}

.services-section .card-back {
    transform: rotateY(180deg);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.services-section .card-back img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.services-section .service-card:focus-visible {
    outline: 3px solid #009e6e;
    outline-offset: 4px;
    border-radius: 16px;
}

/* APPLY SECTION */
.apply-section {
    width: 100%;
    padding: 1.5rem 1.5rem 3rem;
    background-color: var(--color-white);
    box-sizing: border-box;
}

.apply-container {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
    box-sizing: border-box;
}

.apply-container .subtitle {
    display: block;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: var(--color-accent);
    margin-bottom: 0.5rem;
    line-height: 1;
}

.apply-container h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.75rem);
    font-weight: 700;
    color: var(--color-primary);
    margin-top: 0rem;
    margin-bottom: 1rem;
}

.apply-container h2 .highlight {
    color: var(--color-accent);
}

.apply-intro {
    font-size: 1.125rem;
    color: var(--color-text);
    line-height: 1.6;
    margin-bottom: 3rem;
}

.animation-container {
    width: 100%;
    max-width: 840px;
    margin: 0 auto;
    background: #000;
    border: none;
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    position: relative;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.video-wrapper {
    width: 100%;
    aspect-ratio: 16 / 9;
    position: relative;
    background: #000;
}

.apply-video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.video-controls {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #f1f5f9;
    border-top: 1px solid #e2e8f0;
    padding: 12px 16px;
    width: 100%;
    box-sizing: border-box;
    z-index: 10;
}

.control-btn {
    background: transparent;
    color: #475569;
    border: none;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.control-btn:hover {
    background: rgba(0, 0, 0, 0.06);
    color: #0f172a;
}

@media (max-width: 768px) {
    .skip-btn {
        display: none !important;
    }
}

.skip-btn {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 0 6px;
    font-size: 12px;
    font-weight: 500;
    color: #475569;
    width: auto;
}

.skip-label {
    font-size: 11px;
    letter-spacing: -0.5px;
}

.progress-container {
    flex-grow: 1;
    height: 6px;
    background: #cbd5e1;
    border-radius: 4px;
    cursor: pointer;
    position: relative;
    overflow: visible;
    margin: 0 6px;
}

.progress-bar {
    width: 0%;
    height: 100%;
    background: var(--color-accent);
    border-radius: 4px;
    position: relative;
    pointer-events: none;
}

.progress-thumb {
    position: absolute;
    right: -6px;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 12px;
    background: var(--color-accent);
    border: 2px solid var(--color-white);
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
    opacity: 0;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.progress-container:hover .progress-thumb {
    opacity: 1;
    transform: translateY(-50%) scale(1.1);
}

.volume-group {
    display: flex;
    align-items: center;
    gap: 4px;
}

.volume-slider {
    width: 65px;
    height: 5px;
    accent-color: var(--color-accent);
    cursor: pointer;
}

.animation-container:fullscreen,
.animation-container:-webkit-full-screen {
    width: 100vw;
    height: 100vh;
    max-width: none;
    border-radius: 0;
    border: none;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: #000;
}

.animation-container:fullscreen .video-wrapper,
.animation-container:-webkit-full-screen .video-wrapper {
    width: 100%;
    flex: 1;
    min-height: 0;
    aspect-ratio: unset;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000;
}

.animation-container:fullscreen .apply-video,
.animation-container:-webkit-full-screen .apply-video {
    width: 100%;
    height: 100%;
    object-fit: cover; 
    transform: scale(1.01);
}

.animation-container:fullscreen .video-controls,
.animation-container:-webkit-full-screen .video-controls {
    background: #f1f5f9;
    flex-shrink: 0;
}

/* CAREERS SECTION */
.careers-section {
    width: 100%;
    padding: 1.5rem 2rem 3rem;
    background-color: var(--color-bg-light);
    text-align: center;
    box-sizing: border-box;
}

.careers-container {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    box-sizing: border-box;
}

.careers-container .subtitle {
    display: block;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: var(--color-accent);
    margin-bottom: 0.5rem;
    line-height: 1;
}

.careers-container h2 {
    font-size: clamp(2rem, 3vw, 3rem);
    font-weight: 700;
    color: var(--color-primary);
    margin-top: 0.5rem;
    margin-bottom: 1.5rem;
}

.careers-container h2 .highlight {
    color: var(--color-accent);
}

.careers-desc {
    font-size: 1.125rem;
    color: var(--color-text);
    line-height: 1.7;
    margin-bottom: 2.5rem;
}

.careers-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background-color: var(--color-primary);
    color: var(--color-white);
    font-weight: 700;
    font-size: 1rem;
    border-radius: 9999px;
    text-decoration: none;
    transition: background-color 0.2s ease, transform 0.2s ease;
    box-shadow: 0 10px 20px rgba(10, 37, 64, 0.15);
}

.careers-btn:hover {
    background-color: var(--color-accent);
    transform: translateY(-3px);
}

/* FAQ SECTION */
.faq-section {
    width: 100%;
    padding: 1.5rem 2rem 3rem;
    background-color: var(--color-bg-light);
    box-sizing: border-box;
}

.faq-container {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    box-sizing: border-box;
}

.faq-container .subtitle {
    display: block;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: var(--color-accent);
    margin-bottom: 0.5rem;
    line-height: 1;
}

.faq-container h2 {
    font-size: clamp(2rem, 3vw, 3rem);
    font-weight: 700;
    color: var(--color-primary);
    margin-top: 0.5rem;
    margin-bottom: 1rem;
}

.faq-container h2 .highlight {
    color: var(--color-accent);
}

.faq-intro {
    font-size: 1.125rem;
    color: var(--color-text);
    line-height: 1.6;
    margin-bottom: 3.5rem;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    text-align: left;
}

.faq-item {
    background-color: var(--color-white);
    border-radius: 12px;
    border: 1px solid var(--color-border);
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.faq-item.active {
    border-color: var(--color-accent);
    box-shadow: 0 8px 24px rgba(0, 168, 89, 0.08);
}

.faq-question {
    font-family: var(--font-main);
    width: 100%;
    background: none;
    border: none;
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--color-primary);
    cursor: pointer;
    text-align: left;
    gap: 1rem;
}

.faq-question:hover {
    color: var(--color-accent);
}

.faq-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: #f0f4f2;
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 400;
    flex-shrink: 0;
    transition: transform 0.3s ease, background-color 0.3s ease, color 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
    background-color: var(--color-accent);
    color: var(--color-white);
}

.faq-answer {
    font-family: var(--font-main);
    display: grid;
    grid-template-rows: 0fr;
    overflow: hidden;
    transition: grid-template-rows 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    padding: 0 2rem;
}

.faq-item.active .faq-answer {
    grid-template-rows: 1fr;
}

.faq-answer p {
    margin: 0;
    min-height: 0;
    overflow: hidden;
    font-size: 1.05rem;
    color: var(--color-text);
    line-height: 1.6;
    padding-top: 0;
    padding-bottom: 0;
    transition: padding 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.faq-answer a {
    color: var(--color-accent);
    text-decoration: underline;
    text-underline-offset: 0.15em;
}

.faq-item.active .faq-answer p {
    padding-top: 0.5rem;
    padding-bottom: 1.5rem;
}

/* Container & Spacing for Categories */
/* --- CATEGORY & ICON STYLING FIX --- */

/* Container & Spacing for Categories */
.faq-categories-wrapper {
  display: flex;
  flex-direction: column;
    gap: 1rem;
}

.faq-category {
    background: transparent;
}

/* Category Header Button */
.faq-category-header {
    display: none;
}

/* Smooth Dropdown Animation for Categories */
.faq-category-content {
  display: grid;
    grid-template-rows: 1fr;
    padding: 0;
}

.faq-category.active .faq-category-content {
  grid-template-rows: 1fr;
}

.faq-category-content > div {
    overflow: visible;
}

/* Unique styling for Category Icon (Rotation only) */
.category-icon {
  display: inline-block;
  font-weight: bold;
  font-size: 1.2rem;
  line-height: 1;
  transition: transform 0.3s ease;
}

.faq-category.active .category-icon {
  transform: rotate(45deg);
}

/* BRANCHES & LOCATIONS SECTION */
.locations-section {
    width: 100%;
    padding: 1.5rem 2rem 3rem;
    background-color: var(--color-white);
    box-sizing: border-box;
}

.locations-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    box-sizing: border-box;
}

.locations-container .subtitle {
    display: block;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: var(--color-accent);
    margin-bottom: 0.5rem;
}

.locations-container h2 {
    font-size: clamp(2rem, 3vw, 3rem);
    font-weight: 700;
    color: var(--color-primary);
    margin-top: 0.5rem;
    margin-bottom: 1rem;
}

.locations-container h2 .highlight {
    color: var(--color-accent);
}

.locations-intro {
    font-size: 1.125rem;
    color: var(--color-text);
    margin-bottom: 3rem;
}

.slider-container {
    position: relative;
    max-width: 800px;
    width: 100%;
    height: 450px;
    margin: 0 auto 3rem auto;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    background: #000;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: var(--color-white);
    padding: 30px 20px 20px;
    text-align: left;
}

.slide-content h3 {
    margin: 0 0 5px 0;
    font-size: 1.5rem;
}

.slide-content p {
    margin: 0;
    font-size: 1rem;
    color: #ddd;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    font-size: 1.5rem;
    padding: 12px 18px;
    cursor: pointer;
    border-radius: 50%;
    transition: background 0.3s;
    z-index: 10;
}

.slider-btn:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.prev-btn {
    left: 15px;
}

.next-btn {
    right: 15px;
}

.dots-container {
    text-align: center;
    margin-top: 15px;
    margin-bottom: 3rem;
}

.dot {
    display: inline-block;
    height: 12px;
    width: 12px;
    margin: 0 5px;
    background-color: #bbb;
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s;
}

.dot.active {
    background-color: var(--color-accent);
}

.lululemon-map-layout {
    display: grid;
    grid-template-columns: 0.9fr 2.6fr;
    gap: 2rem;
    background-color: var(--color-bg-light);
    border: 1px solid var(--color-border);
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    text-align: left;
}

.locations-sidebar {
    display: flex;
    flex-direction: column;
    height: 820px;
    align-self: start;
}

.branch-search-wrapper {
    position: relative;
    margin-bottom: 1rem;
    flex-shrink: 0;
}

.branch-search-icon {
    position: absolute;
    left: 0.9rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--color-text);
    pointer-events: none;
}

.branch-search-input {
    width: 100%;
    padding: 0.85rem 1rem 0.85rem 2.7rem;
    border: 1px solid var(--color-border);
    border-radius: 12px;
    background-color: var(--color-white);
    font-family: var(--font-main);
    font-size: 0.95rem;
    color: var(--color-primary);
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.04);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.branch-search-input::placeholder {
    color: var(--color-text);
    opacity: 0.7;
}

.branch-search-input:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(0, 181, 126, 0.15);
}

.branch-no-results {
    text-align: center;
    color: var(--color-text);
    font-size: 0.95rem;
    padding: 1.5rem 0.5rem;
}

.location-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    overflow-y: auto;
    padding-right: 0.5rem;
    flex: 1;
    scrollbar-width: thin;
    scrollbar-color: var(--color-accent) transparent;
}

.location-list::-webkit-scrollbar {
    width: 6px;
}

.location-list::-webkit-scrollbar-track {
    background: transparent;
}

.location-list::-webkit-scrollbar-thumb {
    background-color: rgba(0, 181, 126, 0.35);
    border-radius: 10px;
}

.location-list::-webkit-scrollbar-thumb:hover {
    background-color: rgba(0, 181, 126, 0.6);
}

.location-card {
    position: relative;
    background-color: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 1.1rem 1.2rem 1.1rem 1.4rem;
    cursor: pointer;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
    transition: transform 0.18s ease, border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.location-card::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.6rem;
    bottom: 0.6rem;
    width: 4px;
    border-radius: 4px;
    background-color: transparent;
    transition: background-color 0.2s ease;
}

.location-card:hover {
    border-color: var(--color-accent);
    box-shadow: 0 6px 16px rgba(0, 181, 126, 0.1);
    transform: translateX(2px);
}

.location-card.active {
    border-color: var(--color-accent);
    background-color: #f0fbf7;
    box-shadow: 0 8px 20px rgba(0, 181, 126, 0.14);
}

.location-card.active::before {
    background-color: var(--color-accent);
}

.card-header-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.35rem;
}

.branch-dot {
    width: 9px;
    height: 9px;
    background-color: #cbd5e1;
    border-radius: 50%;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.location-card.active .branch-dot {
    background-color: var(--color-accent);
    box-shadow: 0 0 0 4px rgba(0, 181, 126, 0.18);
}

.location-card h3 {
    margin: 0;
    font-size: 1.02rem;
    color: var(--color-primary);
    font-weight: 700;
    letter-spacing: -0.01em;
}

.location-card.active h3 {
    color: var(--color-accent);
}

.location-card p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--color-text);
    line-height: 1.4;
}

.location-card p.location-hours {
    margin-top: 0.35rem;
    color: var(--color-primary);
    font-size: 0.82rem;
    font-weight: 600;
}

.map-box {
    position: relative;
    width: 100%;
    aspect-ratio: 2000 / 2019;
    background: transparent;
    overflow: hidden;
    border-radius: 16px;
}

#armenia-map {
    width: 100%;
    height: 100%;
    display: block;
}

/* Marz that lifts + turns brand-coloured when one of its service points is selected.
   Change --map-region-active to swap the colour (e.g. var(--color-primary)). */
#armenia-map {
    --map-region-active: var(--color-accent);
}

.map-region {
    fill: rgba(0, 181, 126, 0);
    stroke: rgba(255, 255, 255, 0);
    stroke-width: 8;
    stroke-linejoin: round;
    pointer-events: none;
    transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1),
                fill 0.3s ease,
                stroke 0.3s ease,
                filter 0.4s ease;
}

.map-region.selected {
    fill: var(--map-region-active);
    stroke: #ffffff;
    transform: translateY(-14px) scale(var(--lift, 1.05));
    filter: drop-shadow(0 34px 30px rgba(0, 51, 74, 0.35));
}

.map-pin {
    cursor: pointer;
    outline: none;
}

.map-pin .pin-dot {
    fill: transparent;
    stroke: none;
    opacity: 0;
    pointer-events: all;
}

.map-pin .pin-logo {
    opacity: 1;
    transform-box: fill-box;
    transform-origin: center;
    transition: opacity 0.28s ease, transform 0.28s ease;
    pointer-events: none;
}

.map-pin .pin-badge-circle {
    fill: var(--color-primary);
    stroke: #ffffff;
    stroke-width: 2;
    paint-order: stroke;
}

.map-pin .pin-bar {
    fill: var(--color-accent);
}

.map-pin .pin-logo {
    transform: scale(0.38);
}

.map-pin:hover .pin-logo,
.map-pin:focus-visible .pin-logo,
.map-pin.active .pin-logo {
    transform: scale(0.55);
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.3));
}

.map-pin.dimmed {
    opacity: 0.25;
}

.map-info-card {
    position: absolute;
    top: 1rem;
    right: 1rem;
    bottom: auto;
    left: auto;
    background-color: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: 10px;
    padding: 0.85rem 1.1rem;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    max-width: 260px;
    opacity: 0;
    transform: translateY(-6px); /* Adjusted starting slide direction if preferred */
    transition: opacity 0.25s ease, transform 0.25s ease;
    pointer-events: none;
}

.map-info-card.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.map-info-card h4 {
    margin: 0 0 0.25rem;
    font-size: 0.95rem;
    color: var(--color-primary);
    font-weight: 700;
}

.map-info-card p {
    margin: 0;
    font-size: 0.85rem;
    color: var(--color-text);
    line-height: 1.4;
}

.map-info-address-row {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
}

.map-info-address-row #mapInfoAddress {
    flex: 1;
}

.map-info-share-btn {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: var(--color-primary);
    color: #ffffff;
    text-decoration: none;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.map-info-share-btn:hover,
.map-info-share-btn:focus-visible {
    background-color: var(--color-accent);
    transform: scale(1.08);
}

@media (max-width: 900px) {
    .lululemon-map-layout {
        grid-template-columns: 1fr;
    }
    
    .locations-sidebar {
        height: auto;
    }

    .location-list {
        display: none;
    }

    .slider-container {
        height: 300px;
    }
}


/* FOOTER */
.footer-section {
    width: 100%;
    background-color: var(--color-primary);
    color: var(--color-white);
    font-family: var(--font-main);
    padding: 3rem 2rem;
    box-sizing: border-box;
}

.footer-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1.5fr 1fr;
    gap: 4rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-sizing: border-box;
}

.footer-col {
    display: flex;
    flex-direction: column;
}

.footer-logo-link {
    display: inline-block;
    height: 49px;
    margin-bottom: 0;
}

.footer-logo {
    height: 60px;
    width: auto;
    object-fit: contain;
    display: block;
    transform: translateY(-11px);
}

.footer-desc {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--color-muted-blue);
    margin: 0 0 1.25rem 0;
}

.footer-ppp {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--color-muted-blue-dark);
    margin: 0;
}

.footer-col h4 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--color-white);
    margin: 0 0 1.5rem 0;
    letter-spacing: 0.05em;
}

.contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    font-size: 1.05rem;
    color: var(--color-muted-blue);
    line-height: 1.5;
}

.contact-list li svg {
    flex-shrink: 0;
    margin-top: 4px;
    color: var(--color-accent);
}

.contact-list li a {
    color: var(--color-muted-blue);
    text-decoration: none;
    transition: color 0.2s ease;
}

.contact-list li a:hover {
    color: var(--color-white);
}

.footer-hours .contact-list a[href="#branches"] {
    color: var(--color-accent);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 0.18em;
}

.footer-hours .contact-list a[href="#branches"]:hover {
    color: var(--color-white);
}
.social-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.social-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.85rem 1.5rem;
    /* Increased background visibility and crisp white border */
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 10px;
    color: var(--color-white);
    text-decoration: none;
    font-weight: 600; /* Made slightly bolder for better legibility */
    font-size: 1.05rem;
    transition: all 0.2s ease;
    width: fit-content;
}

.social-btn:hover {
    background-color: var(--color-accent);
    border-color: var(--color-accent);
    color: var(--color-primary); /* High contrast dark text on green hover */
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 181, 126, 0.3); /* Added a subtle green glow */
}

.social-btn svg {
    flex-shrink: 0;
}

.footer-social-icons {
    grid-column: 1 / -1;
    display: flex;
    justify-content: center;
    gap: 14px; /* Slightly wider gap for better breathing room */
    margin-top: 20px;
}

.social-icon-btn {
    width: 50px; /* Slightly larger for better hit area and visibility */
    height: 50px;
    display: grid;
    place-items: center;
    /* More prominent border and background contrast */
    border: 1.5px solid rgba(255, 255, 255, 0.35);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff; 
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

/* Distinctly visible accent color by default */
.social-icon-btn.linkedin {
    color: var(--color-accent); 
    border-color: rgba(0, 181, 126, 0.4);
}

.social-icon-btn svg {
    width: 24px; /* Slightly larger icons */
    height: 24px;
    fill: currentColor;
    stroke: none;
}

.social-icon-btn:hover {
    transform: translateY(-3px);
    border-color: var(--color-accent);
    background: var(--color-accent);
    color: var(--color-primary);
    box-shadow: 0 6px 20px rgba(0, 181, 126, 0.4); /* Stronger, vibrant glow */
}

/* High-visibility, accessible focus state */
.social-icon-btn:focus-visible {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 4px rgba(0, 181, 126, 0.4); /* Clean halo ring instead of a block */
}

.footer-bottom {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 2.5rem;
    text-align: center;
    font-size: 0.95rem;
    color: var(--color-muted-blue-dark);
    box-sizing: border-box;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap; /* Wraps cleanly to a new line if the screen is too narrow */
  gap: 20px;       /* Controls the spacing between each link */
  align-items: center;
  justify-content: center; /* Change to 'flex-start' if you want them left-aligned */
  margin: 0;
  padding: 0;
}

.footer-legal a {
  color: #6c757d;       /* Muted text color; change to match your design */
  text-decoration: none;
  font-size: 14px;      /* Slightly smaller footer text */
  transition: color 0.2s ease;
}

.footer-legal a:hover {
  color: #0d6efd;       /* Your brand/hover color */
  text-decoration: underline;
}

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

/* Container Layout */
.footer-legal-container {
  font-family: var(--font-main);
}

/* Side-by-side Nav Links */
.footer-legal-container .footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  margin: 0;
  padding: 0;
}

/* Updated Footer Legal Nav Links */
.footer-legal-container .footer-legal a {
  color: #ffffff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s ease;
}

.footer-legal-container .footer-legal a:hover,
.footer-legal-container .footer-legal a:focus-visible {
  color: var(--color-accent);
  text-decoration: none;
  outline: none;
}

/* Modal Styling using your design variables */
.footer-legal-container .legal-modal {
  max-width: 650px;
  width: 90%;
  max-height: 80vh;
  border: none;
  border-radius: 12px;
  padding: 0;
  box-shadow: 0 10px 25px rgba(0, 51, 74, 0.15);
  background: var(--color-white);
  font-family: var(--font-main);
}

.footer-legal-container .legal-modal::backdrop {
  background: rgba(0, 51, 74, 0.4);
  backdrop-filter: blur(2px);
}

.footer-legal-container .modal-content {
  padding: 30px;
  overflow-y: auto;
  max-height: 80vh;
  font-size: 14px;
  color: var(--color-text);
  line-height: 1.6;
  position: relative;
}

.footer-legal-container .close-modal {
  position: absolute;
  top: 16px;
  right: 20px;
  background: none;
  border: none;
  font-size: 28px;
  cursor: pointer;
  color: var(--color-primary);
  transition: color 0.2s ease;
}

.footer-legal-container .close-modal:hover {
  color: var(--color-accent);
}

.footer-legal-container .modal-content h2 {
  font-size: 24px;
  font-weight: 700;
  margin-top: 0;
  margin-bottom: 4px;
  color: var(--color-primary);
  border-bottom: 2px solid var(--color-border);
  padding-bottom: 10px;
}

.footer-legal-container .modal-content h3 {
  font-size: 16px;
  font-weight: 600;
  margin-top: 24px;
  margin-bottom: 8px;
  color: var(--color-primary);
}

.footer-legal-container .meta-date {
  font-size: 13px;
  color: var(--color-muted-blue-dark);
  margin-bottom: 20px;
}

.footer-legal-container .modal-content p {
  margin-bottom: 12px;
}

.footer-legal-container .modal-content ul {
  padding-left: 20px;
  margin-bottom: 16px;
}

.footer-legal-container .modal-content li {
  margin-bottom: 6px;
}

.footer-legal-container .modal-content a {
  color: var(--color-accent);
  text-decoration: none;
}

.footer-legal-container .modal-content a:hover {
  color: var(--color-accent-hover);
  text-decoration: underline;
}

.footer-legal-container .contact-list {
  list-style: none;
  padding-left: 0;
  background-color: var(--color-bg-light);
  padding: 16px 20px;
  border-radius: 8px;
  border-left: 4px solid var(--color-accent);
}

.footer-legal-container .contact-list li {
  margin-bottom: 8px;
}

.footer-legal-container .contact-list li:last-child {
  margin-bottom: 0;
}

/* FEEDBACK SECTION */
.feedback-section {
    width: 100%;
    padding: 3rem 2rem 4rem;
    background-color: var(--color-white);
    box-sizing: border-box;
}

.feedback-container {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    box-sizing: border-box;
}

.feedback-container .subtitle {
    display: block;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: var(--color-accent);
    margin-bottom: 0.5rem;
    line-height: 1;
}

.feedback-container h2 {
    font-size: clamp(2rem, 3vw, 3rem);
    font-weight: 700;
    color: var(--color-primary);
    margin-top: 0.5rem;
    margin-bottom: 1rem;
}

.feedback-container h2 .highlight {
    color: var(--color-accent);
}

.feedback-intro {
    font-size: 1.125rem;
    color: var(--color-text);
    line-height: 1.6;
    margin-bottom: 2.5rem;
}

.feedback-form {
    background-color: var(--color-bg-light);
    border: 1px solid var(--color-border);
    border-radius: 16px;
    padding: 2.5rem;
    text-align: left;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
}

.feedback-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.feedback-form .form-group {
    margin-bottom: 1.5rem;
}

.feedback-form label {
    display: block;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 0.5rem;
}

.feedback-form input,
.feedback-form select,
.feedback-form textarea {
    width: 100%;
    padding: 0.85rem 1rem;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    font-size: 1rem;
    font-family: var(--font-main);
    color: var(--color-primary);
    background-color: var(--color-white);
    transition: all 0.2s ease-in-out;
}

.feedback-form input:focus,
.feedback-form select:focus,
.feedback-form textarea:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(0, 181, 126, 0.15);
}

.feedback-form textarea {
    resize: vertical;
}

.feedback-btn {
    width: 100%;
    padding: 1rem;
    background-color: var(--color-primary);
    color: var(--color-white);
    border: none;
    border-radius: 9999px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.2s ease;
    box-shadow: 0 10px 20px rgba(10, 37, 64, 0.15);
}

.feedback-btn:hover {
    background-color: var(--color-accent);
    transform: translateY(-2px);
}

.feedback-success {
    margin-top: 1.5rem;
    padding: 1rem;
    background-color: #d1fae5;
    color: #065f46;
    border-radius: 8px;
    font-size: 0.95rem;
    text-align: center;
    font-weight: 500;
}

.feedback-form .hidden {
    display: none;
}

/* Make the feedback modal window wider */
dialog#feedback-modal.legal-modal {
    max-width: 950px;
    width: 90%;
}

/* ============================================================
   MOBILE FIXES
   ============================================================ */

/* 1. Navbar: cover the gap above the fixed header (iOS Safari shows page
      content through the area above a fixed top:0 element) */
header::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 100%;
    height: 400px;
    background-color: var(--color-primary);
    pointer-events: none;
}

/* 2. Hero text: keep Armenian text inside the hero, centred vertically */
@media (max-width: 768px) {
    .hero {
        min-height: 240px;
        aspect-ratio: auto;
        align-items: center;
        padding: 1.5rem 1.25rem;
    }

    .hero-content {
        margin: 0 !important;
    }

    .hero-content h1 {
        font-size: clamp(1.15rem, 5.2vw, 1.5rem);
        line-height: 1.4;
    }

    .hero-line {
        margin-bottom: 0.5rem;
    }

    .hero-line.line-2 {
        margin-left: 0.75rem !important;
    }

    .hero-line.line-3 {
        margin-left: 1.5rem !important;
    }
}

@media (max-width: 360px) {
    .hero {
        min-height: 220px;
        padding-top: 1.5rem;
    }
}

/* 3. Service cards: let the card grow with its text instead of a fixed height */
@media (max-width: 768px) {
    .services-section .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .services-section .service-card {
        min-height: 0;
        height: auto;
    }

    .services-section .card-inner {
        min-height: 0;
        height: auto;
    }

    /* front sits in normal flow so it defines the card height */
    .services-section .card-front {
        position: relative;
        height: auto;
        padding: 1.75rem 1.25rem;
    }

    .services-section .card-back {
        position: absolute;
        inset: 0;
        height: 100%;
    }

    .services-section .service-list li {
        font-size: 0.95rem;
        overflow-wrap: anywhere;
    }

    .services-section .service-card h3 {
        font-size: 1.2rem;
    }

    .services-section .flip-hint {
        margin-top: 1rem;
    }
}


/* Fullscreen fallback for browsers that can't fullscreen a div (iPhone Safari) */
html.video-pseudo-fs,
html.video-pseudo-fs body {
    overflow: hidden;
}

.animation-container.pseudo-fullscreen {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    max-width: none;
    margin: 0;
    border-radius: 0;
    z-index: 10000;
    justify-content: space-between;
    background: #000;
}

.animation-container.pseudo-fullscreen .video-wrapper {
    flex: 1;
    min-height: 0;
    aspect-ratio: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.animation-container.pseudo-fullscreen .apply-video {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.animation-container.pseudo-fullscreen .video-controls {
    flex-shrink: 0;
    padding-bottom: calc(12px + env(safe-area-inset-bottom, 0px));
}

/* FEEDBACK SECTION */
.feedback-section {
    width: 100%;
    padding: 1.5rem 2rem 3rem;
    background-color: #ffffff;
    text-align: center;
    box-sizing: border-box;
}

.feedback-container {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    box-sizing: border-box;
    /* Ensures items inside (like the button) respect text-align center instead of stretching */
    display: flex;
    flex-direction: column;
    align-items: center; 
}

.feedback-container .subtitle {
    display: block;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: var(--color-accent);
    margin-bottom: 0.5rem;
    line-height: 1;
}

.feedback-container h2 {
    font-size: clamp(2rem, 3vw, 3rem);
    font-weight: 700;
    color: var(--color-primary);
    margin-top: 0.5rem;
    margin-bottom: 1.5rem;
}

.feedback-container h2 .highlight {
    color: var(--color-accent);
}

.feedback-desc {
    font-size: 1.125rem;
    color: var(--color-text);
    line-height: 1.7;
    margin-bottom: 2.5rem;
    max-width: 700px; /* Keeps the text paragraph nicely readable */
}

.feedback-btn {
    display: inline-flex;
    align-items: center;
    width: fit-content; /* Forces the button to only take up as much space as its content */
    gap: 0.5rem;
    padding: 0.75rem 1.75rem;
    background-color: var(--color-primary);
    color: var(--color-white);
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 9999px;
    text-decoration: none;
    transition: background-color 0.2s ease, transform 0.2s ease;
    box-shadow: 0 8px 16px rgba(10, 37, 64, 0.12);
}

.feedback-btn:hover {
    background-color: var(--color-accent);
    transform: translateY(-3px);
}

.launch-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    backdrop-filter: blur(4px);
}

.launch-modal-content {
    background-color: var(--color-white, #ffffff);
    padding: 3rem 2.5rem;          /* Increased padding */
    border-radius: 20px;
    max-width: 550px;              /* Increased width from 400px to 550px */
    width: 90%;
    text-align: center;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    position: relative;
    animation: modalScaleIn 0.25s ease;
}

.launch-modal-content h3 {
    margin-top: 0;
    color: var(--color-primary, #0f172a);
    font-size: 2rem;               /* Made heading larger */
    margin-bottom: 1rem;
}

.launch-modal-content p {
    color: var(--color-text, #475569);
    margin-bottom: 2rem;           /* Increased spacing before button */
    font-size: 1.15rem;            /* Made text larger */
    line-height: 1.6;
}

.launch-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--color-text, #333);
}

@keyframes modalScaleIn {
    from {
        transform: scale(0.9);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}