@font-face {
    font-family: 'Plus Jakarta Sans';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('fonts/plus-jakarta-sans-v12-latin-regular.woff2') format('woff2');
}

@font-face {
    font-family: 'Plus Jakarta Sans';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('fonts/plus-jakarta-sans-v12-latin-500.woff2') format('woff2');
}

@font-face {
    font-family: 'Plus Jakarta Sans';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('fonts/plus-jakarta-sans-v12-latin-600.woff2') format('woff2');
}

@font-face {
    font-family: 'Plus Jakarta Sans';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('fonts/plus-jakarta-sans-v12-latin-700.woff2') format('woff2');
}

:root {
    --primary: #0077b6;
    --primary-light: #00b4d8;
    --primary-lighter: #90e0ef;
    --primary-subtle: #caf0f8;
    --accent: #03045e;
    --text-dark: #1d3557;
    --text-muted: #457b9d;
    --bg-light: #f4fafd;
    --white: #ffffff;
    --border-color: #d8e2ec;
    --transition: all 0.3s ease;
}

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

.logo img {
    display: block;
    height: 90px;
    width: auto;
}
.logo {
    display: flex;
    align-items: center;
}

.site-logo {
    height: 45px;
    width: auto;
    display: block;
}

html {
    scroll-behavior: smooth;
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: var(--text-dark);
    background-color: var(--white);
    line-height: 1.6;
}

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

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

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

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

.mt-3 {
    margin-top: 1.5rem;
}

.mt-4 {
    margin-top: 3rem;
}

.subtitle {
    display: inline-block;
    color: var(--primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
}

h1,
h2,
h3,
h4 {
    color: var(--accent);
    font-weight: 700;
    line-height: 1.2;
}

h2 {
    font-size: 2.25rem;
    margin-bottom: 1rem;
}

p {
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.btn {
    display: inline-block;
    padding: 0.75rem 1.75rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    font-size: 0.95rem;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--white);
    box-shadow: 0 4px 14px rgba(0, 119, 182, 0.3);
}

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

/* Header & Navigation */

.site-header {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
}

/* Hamburger menu at every screen width */

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

.logo-main {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--accent);
    letter-spacing: -0.5px;
}

.logo-sub {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--primary);
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* #navToggle (id selector, higher specificity + !important) so this
   can never be silently overridden or hidden by any other rule or a
   stale cached stylesheet. */
#navToggle.menu-toggle {
    display: flex !important;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
    margin-left: auto;
}

#navToggle.menu-toggle span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--accent);
    border-radius: 3px;
    transition: var(--transition);
}

#navToggle.active span:nth-child(1) {
    transform: translateY(8.5px) rotate(45deg);
}
#navToggle.active span:nth-child(2) {
    opacity: 0;
}
#navToggle.active span:nth-child(3) {
    transform: translateY(-8.5px) rotate(-45deg);
}

/* Nav dropdown panel — pinned under the toggle, top-right */
#primaryNav {
    position: absolute;
    top: 100%;
    right: 0;
    width: 280px;
    max-width: 90vw;
    background: var(--white);
    border-top: 1px solid var(--border-color);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
    z-index: 999;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease;
}

#primaryNav.active {
    max-height: 500px;
}

.main-nav {
    list-style: none;
    display: flex;
    flex-direction: column;
    padding: 1rem 0;
    gap: 0.25rem;
}

.main-nav a {
    display: block;
    padding: 0.6rem 1.5rem;
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: var(--transition);
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--primary);
}
/* Hero Section */

.hero-section {
    padding: 7rem 0;
    background: linear-gradient(
        135deg,
        var(--bg-light) 0%,
        var(--primary-subtle) 100%
    );
    text-align: center;
    overflow: hidden;
    position: relative;
}

.hero-title {
    font-size: 2.8rem;
    color: var(--accent);
    margin-bottom: 1.5rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.hero-lead {
    font-size: 1.15rem;
    color: var(--text-dark);
    max-width: 800px;
    margin: 0 auto 2rem auto;
}

/* Animate title and button, but do not delay the LCP paragraph */
.hero-title,
.hero-section .btn {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 0.9s ease forwards;
}

.hero-title {
    animation-delay: 0.2s;
}

.hero-section .btn {
    animation-delay: 0.8s;
}

.hero-section::before {
    content: "";
    position: absolute;
    width: 350px;
    height: 350px;
    background: rgba(255, 255, 255, 0.25);
    border-radius: 50%;
    top: -120px;
    left: -100px;
    filter: blur(40px);
    animation: floatBlob 10s ease-in-out infinite;
    pointer-events: none;
}

.hero-section::after {
    content: "";
    position: absolute;
    width: 250px;
    height: 250px;
    background: rgba(255, 255, 255, 0.18);
    border-radius: 50%;
    bottom: -80px;
    right: -80px;
    filter: blur(35px);
    animation: floatBlob 14s ease-in-out infinite reverse;
    pointer-events: none;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes floatBlob {
    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(20px, -20px) scale(1.08);
    }
}

/* Services Section */

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

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.service-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-light);
    box-shadow: 0 8px 25px rgba(0, 119, 182, 0.08);
}

.service-card .service-icon {
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
}

.service-card .service-icon svg {
    width: 48px;
    height: 48px;
    stroke: currentColor;
}

.service-card h3 {
    font-size: 1.15rem;
    color: var(--text-dark);
}

/* Packages Grid */

.packages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.package-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.03);
    display: flex;
    flex-direction: column;
    position: relative;
}

.package-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

.price-item {
    font-weight: 700;
    color: var(--accent);
    font-size: 1.1rem;
    margin: 0.5rem 0;
}

.package-note {
    font-size: 0.85rem;
    margin-top: 1rem;
}

/* Story Section */

.about-quote {
    font-size: 1.4rem;
    color: var(--accent);
    font-weight: 600;
    max-width: 900px;
    margin: 1.5rem auto;
    font-style: italic;
}

.story-content-box {
    max-width: none;
    margin: 0 auto;
    background: var(--white);
    padding: 3rem;
    border-radius: 16px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.03);
    border: 1px solid var(--border-color);
}

.lead-text {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text-dark);
}

/* Mission & Vision */

.mission-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2rem;
    width: 100%;
    margin-top: 2rem;
}

.mv-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.03);
    border-top: 4px solid var(--primary);
    width: 100%;
    box-sizing: border-box;
}

.mv-card h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

/* Values Grid */

.values-container {
    background: var(--white);
    padding: 3rem;
    border-radius: 16px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.03);
    border: 1px solid var(--border-color);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.value-item {
    background: var(--bg-light);
    padding: 1.5rem;
    border-radius: 12px;
    text-align: center;
    border: 1px solid var(--primary-lighter);
}

.value-letter {
    display: inline-block;
    width: 45px;
    height: 45px;
    background: var(--primary);
    color: var(--white);
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 45px;
    border-radius: 50%;
    margin-bottom: 1rem;
}

.value-item p {
    margin: 0;
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.95rem;
}

/* Frame Collection */

.frame-collection-box {
    width: 100%;
    max-width: none;
    margin-top: 4rem;
    padding-top: 3rem;
}

/* Expectations Grid */

.expectation-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.expectation-card {
    background: var(--white);
    padding: 2rem 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    border: 1px solid var(--border-color);
    text-align: center;
}

.expectation-card p {
    margin: 0;
    font-size: 0.95rem;
    color: var(--text-dark);
    font-weight: 500;
}

/* Team Section */

.team-content-box {
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 3rem;
    box-sizing: border-box;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.team-member-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.04);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
}

.team-member-card.founder-card {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    border-left: 6px solid var(--primary);
}

.team-img-wrapper {
    width: 100%;
    background: var(--bg-light);
    height: 280px;
}

.team-member-card.founder-card .team-img-wrapper {
    height: 100%;
    min-height: 320px;
}

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

.member-details {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.team-member-card h3 {
    font-size: 1.4rem;
    margin-bottom: 0.25rem;
}

.team-member-card .role {
    display: inline-block;
    color: var(--primary);
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.founder-quote {
    font-style: italic;
    color: var(--text-dark);
    font-weight: 500;
    margin-top: 1rem;
    padding-left: 1rem;
    border-left: 3px solid var(--primary-lighter);
}

.team-email {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    margin-top: auto;
}

/* Contact Section & Footer */

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    background: var(--white);
    padding: 3rem;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.03);
    max-width: 1000px;
    margin: 0 auto;
}

.contact-info-item {
    margin-bottom: 1.5rem;
}

.contact-info-item strong {
    color: var(--accent);
    display: block;
    margin-bottom: 0.2rem;
}

.site-footer {
    background: var(--accent);
    color: var(--white);
    padding: 4rem 0 0 0;
}

.footer-contact-layout {
    background: var(--accent);
    border: none;
    box-shadow: none;
    padding: 0;
    margin-bottom: 4rem;
    color: var(--white);
}

.footer-subtitle {
    color: var(--primary-lighter);
}

.footer-contact-title {
    color: var(--white);
    margin-bottom: 1.5rem;
}

.footer-contact-desc {
    color: var(--primary-lighter);
}

.footer-info-item {
    margin-top: 2rem;
}

.footer-strong {
    color: var(--white);
}

.footer-link {
    color: var(--primary-lighter);
}

.footer-span {
    color: var(--primary-lighter);
}

.footer-hours-title {
    color: var(--white);
    margin-bottom: 1.5rem;
}

.footer-hours-p {
    color: var(--primary-lighter);
}

.footer-hours-note {
    color: var(--primary-lighter);
    margin-top: 1.5rem;
}

.footer-container {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.2fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-col .logo-main {
    color: var(--white);
}

.footer-col p {
    color: var(--primary-lighter);
    font-size: 0.95rem;
    margin-top: 1rem;
}

.footer-col h4 {
    color: var(--white);
    margin-bottom: 1.2rem;
    font-size: 1.1rem;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 0.6rem;
}

.footer-col ul li a {
    color: var(--primary-lighter);
    text-decoration: none;
    transition: var(--transition);
}

.footer-col ul li a:hover {
    color: var(--white);
    padding-left: 5px;
}

.footer-bottom {
    background: #02033b;
    padding: 1.5rem 0;
    text-align: center;
    font-size: 0.85rem;
    color: var(--primary-lighter);
}

.footer-bottom p {
    margin-bottom: 0.3rem;
    color: var(--primary-lighter);
}

.footer-bottom a {
    color: var(--primary-lighter);
    text-decoration: underline;
    transition: var(--transition);
}

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

/* Responsive Navigation and Layout */

@media (max-width: 900px) {
    .mission-grid,
    .contact-layout,
    .footer-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .team-member-card.founder-card {
        grid-template-columns: 1fr;
    }
}

/* Mission and general mobile layout */

@media (max-width: 700px) {
    .mission-grid {
        grid-template-columns: 1fr;
    }
}

/* 5 Myths - 3 Across, Then 2 */

section[id="5-myths-about-eye-care"] .expectation-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    width: 100%;
}

section[id="5-myths-about-eye-care"] .expectation-card {
    min-width: 0;
    width: auto;
}

@media (max-width: 700px) {
    section[id="5-myths-about-eye-care"] .expectation-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 480px) {
    section[id="5-myths-about-eye-care"] .expectation-grid {
        grid-template-columns: 1fr;
    }
}

/* Our Story - Full Width */

#about .story-content-box:first-of-type {
    width: 100%;
    max-width: none;
}

/* =========================================================
   FRAME BRAND GRID
   Requires:
   <div class="values-grid frame-brand-grid">
   ========================================================= */

/* Desktop: 7 brands per row */
#about .story-content-box .frame-brand-grid {
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 1rem;
}

#about .story-content-box .frame-brand-grid .value-item {
    min-width: 0;
    padding: 1rem 0.5rem;
}

/* Tablet: 4 brands per row */
@media (max-width: 992px) {
    #about .story-content-box .frame-brand-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

/* Mobile: 2 brands per row */
@media (max-width: 600px) {
    #about .story-content-box .frame-brand-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.75rem;
    }

    #about .story-content-box .frame-brand-grid .value-item {
        padding: 1rem 0.5rem;
    }
}

/* Small mobile: 1 brand per row */
@media (max-width: 400px) {
    #about .story-content-box .frame-brand-grid {
        grid-template-columns: 1fr;
    }
}/* images of the staff */
.team-member-founder {
    display: flex;
    gap: 2rem;
    align-items: center;
    flex-wrap: wrap;
}
.team-member-founder img.team-member-photo-founder {
    width: 300px !important;
    height: auto !important;
    flex-shrink: 0;
}
.team-member-founder-text {
    flex: 1 1 300px;
}
.team-member-photo {
    width: 150px;
    height: auto;
    border-radius: 4px;
    display: block;
    margin: 0 auto 1rem;
}
.team-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
    margin-top: 2rem;
}
.team-grid .team-member {
    flex: 1 1 200px;
    max-width: 250px;
    text-align: center;
}

/* =========================================================
   CONTACT FORM
   ========================================================= */

.contact-form {
    width: 100%;
}

.contact-form-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
    margin-bottom: 1.25rem;
}

.contact-form-group {
    display: flex;
    flex-direction: column;
}

.contact-form-group.full-width {
    grid-column: 1 / -1;
}

.contact-form-label {
    color: var(--accent);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.45rem;
}

.contact-form-input,
.contact-form-textarea {
    width: 100%;
    padding: 0.85rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: var(--white);
    color: var(--text-dark);
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.95rem;
    transition: var(--transition);
}

.contact-form-input {
    height: 48px;
}

.contact-form-textarea {
    min-height: 150px;
    resize: vertical;
    line-height: 1.6;
}

.contact-form-input::placeholder,
.contact-form-textarea::placeholder {
    color: var(--text-muted);
    opacity: 0.7;
}

.contact-form-input:focus,
.contact-form-textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 119, 182, 0.1);
}

.contact-form-submit {
    margin-top: 0.5rem;
}

.contact-form-note {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: 1.5rem;
}

/* Mobile */

@media (max-width: 700px) {
    .contact-form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .contact-form-group.full-width {
        grid-column: auto;
    }
}