@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;700&family=Noto+Sans+TC:wght@300;400;500;700&display=swap');

:root {
    --color-primary: #111111;
    /* Rich deep black */
    --color-secondary: #ffffff;
    /* Pure white */
    --color-accent: #C08553;
    /* Luxury gold/camel */
    --color-accent-light: #dfb288;
    --color-bg-light: #FAF9F6;
    /* Off-white Alabaster */
    --color-bg-dark: #1a1a1a;
    --color-text-dark: #1E1E1E;
    --color-text-muted: #757575;

    --font-headings: 'Outfit', sans-serif;
    --font-body: 'Noto Sans TC', sans-serif;

    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--color-primary);
}

::-webkit-scrollbar-thumb {
    background: var(--color-accent);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--color-accent-light);
}

/* Global Styles */
html,
body {
    overflow-x: hidden;
    width: 100%;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-body);
    color: var(--color-text-dark);
    background-color: var(--color-bg-light);
    line-height: 1.7;
}

h1,
h2,
h3,
h4,
h5,
h6,
.font-headings {
    font-family: var(--font-headings);
    font-weight: 600;
    letter-spacing: 0.05em;
    color: var(--color-primary);
}

/* Glassmorphism Sticky Navbar */
.custom-navbar {
    background: rgba(17, 17, 17, 0.8) !important;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(192, 133, 83, 0.15);
    transition: var(--transition-smooth);
    padding: 20px 0;
}

.custom-navbar.scrolled {
    background: rgba(17, 17, 17, 0.95) !important;
    padding: 12px 0;
    border-bottom: 2px solid var(--color-accent);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.navbar-brand img {
    height: 52px;
    transition: var(--transition-smooth);
}

.custom-navbar.scrolled .navbar-brand img {
    height: 42px;
}

.nav-link {
    font-size: 1rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8) !important;
    position: relative;
    padding: 8px 16px !important;
    transition: var(--transition-smooth);
    letter-spacing: 0.05em;
}

.nav-link:hover,
.nav-link.active {
    color: var(--color-accent) !important;
}

/* 僅在桌機端顯示導覽底線動畫，避免手機版滿版橫線異常 */
@media (min-width: 992px) {
    .nav-link::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 50%;
        width: 0;
        height: 2px;
        background-color: var(--color-accent);
        transition: var(--transition-smooth);
        transform: translateX(-50%);
    }

    .nav-link:hover::after,
    .nav-link.active::after {
        width: 60%;
    }
}

/* Dropdown Submenu Style for Premium Look */
.custom-navbar .dropdown-menu {
    border-radius: 0;
    padding: 10px 0;
    margin-top: 0;
    position: relative;
}

/* 1. Bridge the gap to prevent flicker when hovering (extends upwards to overlap parent) */
.custom-navbar .dropdown-menu::before {
    content: "";
    position: absolute;
    top: -30px;
    /* Bridge the gap to the parent item */
    left: 0;
    right: 0;
    height: 35px;
    /* Cover the gap and animation offset */
    background: transparent;
    z-index: -1;
}

.custom-navbar .dropdown-item {
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.85);
    padding: 10px 24px;
    transition: var(--transition-smooth);
    letter-spacing: 0.05em;
    position: relative;
    background: transparent;
}

.custom-navbar .dropdown-item:hover,
.custom-navbar .dropdown-item:focus {
    color: var(--color-accent);
    background-color: rgba(192, 133, 83, 0.08);
    padding-left: 28px;
    /* Subtle slide-in effect on hover */
}

/* Hide Bootstrap's default caret arrow entirely */
.custom-navbar .dropdown-toggle::after {
    display: none !important;
}

/* Add rotation transition for the custom chevron icon */
.custom-navbar .nav-link .bi-chevron-down {
    display: inline-block;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Desktop hover behavior */
@media (min-width: 992px) {
    .custom-navbar .dropdown-menu {
        display: block;
        opacity: 0;
        visibility: hidden;
        transform: translate(-50%, 8px);
        /* Center dropdown and add subtle slide-up offset */
        left: 50% !important;
        /* Horizontally center dropdown under menu item */
        background: rgba(17, 17, 17, 0.95);
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
        border: 1px solid rgba(192, 133, 83, 0.25);
        border-top: 2px solid var(--color-accent);
        /* Elegant gold top border */
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
        transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1),
            transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
            visibility 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .custom-navbar .nav-item.dropdown:hover .dropdown-menu {
        opacity: 1;
        visibility: visible;
        transform: translate(-50%, 0);
    }

    .custom-navbar .nav-item.dropdown:hover .nav-link {
        color: var(--color-accent) !important;
    }

    /* Disable underline hover effect for dropdown parents */
    .custom-navbar .nav-item.dropdown .nav-link::after {
        display: none !important;
    }

    .custom-navbar .dropdown:hover .nav-link .bi-chevron-down {
        transform: rotate(180deg);
    }
}

/* Mobile style integration */
@media (max-width: 991px) {
    .custom-navbar .dropdown-menu {
        background: rgba(255, 255, 255, 0.03);
        border: none;
        border-left: 2px solid rgba(192, 133, 83, 0.3);
        margin: 5px 15px 10px 15px;
        padding: 5px 0;
    }

    .custom-navbar .dropdown-item {
        color: rgba(255, 255, 255, 0.75);
        padding: 8px 20px;
    }

    .custom-navbar .dropdown-item:hover,
    .custom-navbar .dropdown-item:focus {
        background-color: transparent;
        padding-left: 24px;
    }

    .custom-navbar .nav-link[aria-expanded="true"] .bi-chevron-down {
        transform: rotate(180deg);
    }
}

/* Custom Animated Hamburger Menu Toggler */
.custom-menu-toggle {
    background: transparent;
    border: none;
    width: 28px;
    height: 20px;
    position: relative;
    display: none;
    /* hidden on desktop */
    cursor: pointer;
    z-index: 1050;
    padding: 0;
}

.custom-menu-toggle:focus {
    outline: none;
}

.custom-menu-toggle .bar {
    display: block;
    width: 28px;
    height: 2px;
    background-color: var(--color-secondary);
    position: absolute;
    left: 0;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    transform-origin: center;
}

.custom-menu-toggle .bar-1 {
    top: 0;
}

.custom-menu-toggle .bar-2 {
    top: 9px;
}

.custom-menu-toggle .bar-3 {
    top: 18px;
}

/* Active State (Transforms 3 bars into an X) */
.custom-menu-toggle.active .bar-1 {
    transform: translateY(9px) rotate(45deg);
    background-color: var(--color-accent);
    /* changes to gold on active for luxury touch! */
}

.custom-menu-toggle.active .bar-2 {
    opacity: 0;
    transform: scaleX(0);
}

.custom-menu-toggle.active .bar-3 {
    transform: translateY(-9px) rotate(-45deg);
    background-color: var(--color-accent);
}

@media (max-width: 991px) {
    .custom-menu-toggle {
        display: block;
        /* show on mobile/tablet */
    }
}

/* Hero Carousel */
.carousel-inner,
.carousel-item {
    height: 90vh;
    min-height: 550px;
}

.carousel-item {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.carousel-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(17, 17, 17, 0.3) 0%, rgba(17, 17, 17, 0.75) 100%);
}

.carousel-caption-custom {
    position: absolute;
    top: 53%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 85%;
    max-width: 900px;
    text-align: center;
    z-index: 10;
}

.carousel-caption-custom h2 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.6);
    color: var(--color-secondary);
    letter-spacing: 0.1em;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.carousel-caption-custom h3 {
    font-size: 1.6rem;
    font-family: var(--font-headings);
    font-weight: 300;
    color: var(--color-accent);
    margin-bottom: 2.5rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.3s forwards;
}

.carousel-caption-custom .btn-group {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.6s forwards;
}

.carousel-control-prev,
.carousel-control-next {
    width: 8%;
    opacity: 0.5;
    transition: var(--transition-smooth);
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    opacity: 1;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 2.5rem;
    height: 2.5rem;
    background-size: 60%;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    padding: 20px;
    transition: var(--transition-smooth);
}

.carousel-control-prev-icon:hover,
.carousel-control-next-icon:hover {
    border-color: var(--color-accent);
    background-color: var(--color-accent);
}

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

/* Elegant Buttons */
.btn-gold {
    background-color: var(--color-accent);
    color: var(--color-secondary);
    border: 1px solid var(--color-accent);
    padding: 12px 32px;
    font-family: var(--font-headings);
    font-weight: 600;
    letter-spacing: 0.1em;
    border-radius: 0;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-gold::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--color-primary);
    z-index: -1;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-gold:hover {
    color: var(--color-secondary);
    border-color: var(--color-accent);
}

.btn-gold:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

.btn-outline-gold {
    background-color: transparent;
    color: var(--color-accent);
    border: 1px solid var(--color-accent);
    padding: 12px 32px;
    font-family: var(--font-headings);
    font-weight: 600;
    letter-spacing: 0.1em;
    border-radius: 0;
    transition: var(--transition-smooth);
}

.btn-outline-gold:hover {
    background-color: var(--color-accent);
    color: var(--color-secondary);
    border-color: var(--color-accent);
}

/* Sections Configuration */
.section-padding {
    padding: 110px 0;
}

.section-title-wrapper {
    margin-bottom: 65px;
}

.section-subtitle {
    color: var(--color-accent);
    font-family: var(--font-headings);
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 12px;
    display: block;
    font-size: 0.95rem;
}

.section-title {
    font-size: 2.6rem;
    color: var(--color-primary);
    font-weight: 700;
    position: relative;
    display: inline-block;
    padding-bottom: 18px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 70px;
    height: 3px;
    background-color: var(--color-accent);
}

.section-title-center::after {
    left: 50%;
    transform: translateX(-50%);
}

/* 1. About Hornegrace Section */
.about-image-wrapper {
    position: relative;
    padding-right: 25px;
    padding-bottom: 25px;
}

.about-image-wrapper::before {
    content: '';
    position: absolute;
    top: 25px;
    left: 25px;
    right: 0;
    bottom: 0;
    border: 2px solid var(--color-accent);
    z-index: 1;
    transition: var(--transition-smooth);
}

.about-image-wrapper:hover::before {
    transform: translate(-8px, -8px);
}

.about-img {
    width: 100%;
    position: relative;
    z-index: 2;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
    transition: var(--transition-smooth);
}

.about-content-lead {
    font-size: 1.25rem;
    color: var(--color-accent);
    font-weight: 600;
    margin-bottom: 20px;
    line-height: 1.6;
}

.about-text {
    color: var(--color-text-muted);
    font-size: 1.05rem;
    line-height: 1.8;
}

/* 2. Featured Eyewear Brands Section */
.brand-section {
    background-color: var(--color-primary);
    color: var(--color-secondary);
}

.brand-section .section-title {
    color: var(--color-secondary);
}

.brand-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

@media (max-width: 991px) {
    .brand-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 575px) {
    .brand-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
}

.brand-card {
    background: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 15px;
    text-align: center;
    transition: var(--transition-smooth);
    position: relative;
    cursor: pointer;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1 / 1;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.brand-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--color-accent);
    transform: scaleX(0);
    transition: var(--transition-smooth);
}

.brand-card:hover {
    background: #ffffff;
    border-color: var(--color-accent);
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(192, 133, 83, 0.25);
}

.brand-card:hover::after {
    transform: scaleX(1);
}

.brand-logo {
    width: 72%;
    height: 72%;
    object-fit: contain;
    transition: var(--transition-smooth);
    opacity: 0.85;
}

.brand-card:hover .brand-logo {
    opacity: 1;
    transform: scale(1.08);
}

/* 3. Lens Brands Section */
.lens-section {
    background-color: #f6f5f0;
}

.lens-card {
    background: var(--color-secondary);
    border: none;
    border-radius: 0;
    padding: 45px 35px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    transition: var(--transition-smooth);
    height: 100%;
    position: relative;
    overflow: hidden;
}

.lens-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background-color: var(--color-accent);
    transform: scaleY(0);
    transform-origin: top;
    transition: var(--transition-smooth);
}

.lens-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(192, 133, 83, 0.08);
}

.lens-card:hover::before {
    transform: scaleY(1);
}

.lens-icon-wrapper {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(192, 133, 83, 0.08);
    color: var(--color-accent);
    font-size: 1.8rem;
    margin-bottom: 25px;
    transition: var(--transition-smooth);
}

.lens-card:hover .lens-icon-wrapper {
    background-color: var(--color-accent);
    color: var(--color-secondary);
}

.lens-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 15px;
}

.lens-desc {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 0;
}

/* 4. Eye Encyclopedia Section */
.article-card {
    background: var(--color-secondary);
    border: none;
    border-radius: 0;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    transition: var(--transition-smooth);
    height: 100%;
}

.article-img-wrapper {
    overflow: hidden;
    position: relative;
    height: 250px;
}

.article-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.article-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(17, 17, 17, 0.2);
    transition: var(--transition-smooth);
}

.article-card:hover .article-overlay {
    background: rgba(17, 17, 17, 0.4);
}

.article-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.article-card:hover .article-img {
    transform: scale(1.08);
}

.article-body {
    padding: 35px 30px;
}

.article-tag {
    display: inline-block;
    font-size: 0.8rem;
    text-transform: uppercase;
    color: var(--color-accent);
    font-weight: 600;
    letter-spacing: 0.1em;
    margin-bottom: 12px;
}

.article-title {
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.5;
    margin-bottom: 15px;
    transition: var(--transition-smooth);
}

.article-title a {
    color: var(--color-primary);
    text-decoration: none;
}

.article-title a:hover {
    color: var(--color-accent);
}

.article-desc {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 22px;
}

.article-more {
    font-family: var(--font-headings);
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.1em;
    color: var(--color-primary);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: var(--transition-smooth);
}

.article-more i {
    margin-left: 8px;
    font-size: 0.8rem;
    transition: var(--transition-smooth);
}

.article-more:hover {
    color: var(--color-accent);
}

.article-more:hover i {
    transform: translateX(6px);
}

/* Footer Section */
.footer-section {
    background-color: var(--color-primary);
    color: rgba(255, 255, 255, 0.6);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 90px;
    padding-bottom: 35px;
}

.footer-logo {
    height: 80px;
    margin-bottom: 30px;
}

.footer-desc {
    font-size: 0.95rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 25px;
}

.footer-title {
    color: var(--color-secondary);
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 12px;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 35px;
    height: 2px;
    background-color: var(--color-accent);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.55);
    text-decoration: none;
    transition: var(--transition-smooth);
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--color-accent);
    padding-left: 6px;
}

.footer-sublinks {
    list-style: none;
    padding-left: 12px;
    margin-top: 0px;
    margin-bottom: 3px;
}

.footer-sublinks li {
    margin-bottom: 0px !important;
}

.footer-sublinks a {
    font-size: 0.85rem !important;
    color: rgba(255, 255, 255, 0.45) !important;
}

.footer-sublinks a:hover {
    color: var(--color-accent) !important;
    padding-left: 4px !important;
}

.footer-info {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-info li {
    margin-bottom: 18px;
    display: flex;
    align-items: flex-start;
    font-size: 0.95rem;
}

.footer-info i {
    color: var(--color-accent);
    margin-right: 14px;
    margin-top: 5px;
    font-size: 1.05rem;
}

.social-links {
    display: flex;
    gap: 12px;
    margin-top: 25px;
}

.social-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 0;
    background-color: rgba(255, 255, 255, 0.03);
    color: var(--color-secondary);
    text-decoration: none;
    transition: var(--transition-smooth);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.social-btn:hover {
    background-color: var(--color-accent);
    color: var(--color-secondary);
    transform: translateY(-4px);
    border-color: var(--color-accent);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 35px;
    margin-top: 70px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.4);
}

/* Responsiveness adjustments */
@media (max-width: 991px) {
    .custom-navbar {
        background: rgba(17, 17, 17, 0.95) !important;
        padding: 15px 0;
    }

    .navbar-collapse {
        text-align: center;
        padding: 20px 0 10px 0;
    }

    .navbar-nav {
        align-items: center;
    }

    .nav-item {
        width: 100%;
        margin-bottom: 12px;
    }

    .nav-item:last-child {
        margin-bottom: 0;
    }

    .nav-link {
        padding: 10px 0 !important;
        display: inline-block;
        font-size: 1.1rem;
    }

    .carousel-inner,
    .carousel-item {
        height: 75vh;
        min-height: 450px;
    }

    .carousel-caption-custom h2 {
        font-size: 2.6rem;
    }

    .carousel-caption-custom h3 {
        font-size: 1.3rem;
    }

    .section-padding {
        padding: 80px 0;
    }

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

    .about-image-wrapper {
        margin-bottom: 40px;
        padding-right: 0;
        padding-bottom: 0;
    }

    .about-image-wrapper::before {
        display: none;
    }

    .footer-title {
        margin-top: 40px;
    }
}

@media (max-width: 575px) {

    .carousel-inner,
    .carousel-item {
        height: 70vh;
    }

    .carousel-caption-custom h2 {
        font-size: 1.85rem;
        margin-bottom: 0.8rem;
    }

    .carousel-caption-custom h3 {
        font-size: 1rem;
        margin-bottom: 1.8rem;
    }

    .btn-gold,
    .btn-outline-gold {
        padding: 10px 22px;
        font-size: 0.9rem;
        display: block;
        width: 100%;
        margin-bottom: 10px;
    }

    .carousel-caption-custom .hero-btn-wrapper {
        display: flex;
        flex-direction: column;
        width: 100%;
    }

    .brand-card {
        padding: 15px;
    }



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

.OptometryCenter {
    background-image: url(../images/eye-doctor-with-fema.jpg);
}

.top-header {
    height: 540px;
    background-size: cover;
    background-position: center;
}

.top-header-h1 {
    position: relative;
}

.top-header-h1 h1 {
    position: absolute;
    top: 390px;
    color: #fff;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.6);
}

@media (max-width: 991px) {
    .top-header {
        height: 460px;
    }
}

/* Optometry Steps Styles */
.step-card {
    background: var(--color-secondary);
    border: 1px solid rgba(0, 0, 0, 0.05);
    padding: 40px 30px;
    position: relative;
    overflow: hidden;
    height: 100%;
    transition: var(--transition-smooth);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
    text-align: center;
}

.step-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--color-accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition-smooth);
}

.step-card:hover {
    transform: translateY(-8px);
    border-color: var(--color-accent);
    box-shadow: 0 15px 35px rgba(192, 133, 83, 0.1);
}

.step-card:hover::before {
    transform: scaleX(1);
}

.step-number {
    font-family: var(--font-headings);
    font-size: 3rem;
    font-weight: 300;
    color: var(--color-accent);
    opacity: 0.12;
    position: absolute;
    top: 15px;
    right: 25px;
    line-height: 1;
    transition: var(--transition-smooth);
}

.step-card:hover .step-number {
    opacity: 0.25;
    transform: scale(1.1);
}

.step-icon-wrapper {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(192, 133, 83, 0.06);
    color: var(--color-accent);
    font-size: 1.6rem;
    border-radius: 50%;
    margin: 0 auto 25px auto;
    transition: var(--transition-smooth);
}

.step-card:hover .step-icon-wrapper {
    background-color: var(--color-accent);
    color: var(--color-secondary);
}

.step-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 15px;
}

.step-desc {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 0;
}