:root {
    --forest-deep: #1a3a2e;
    --forest-mid: #2d5a47;
    --earth-warm: #8b7355;
    --sage: #87a878;
    --cream: #f4f1ea;
    --white: #ffffff;
    --text-dark: #2a2a2a;
    --text-mid: #4a4a4a;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Manrope', sans-serif;
    color: var(--text-dark);
    background: var(--cream);
    line-height: 1.7;
    overflow-x: hidden;
}

/* Navigation */
.navbar {
    background: var(--white);
    border-bottom: 1px solid rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

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

.nav-logo {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--forest-deep);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.nav-logo img {
    height: 50px;
    width: auto;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-menu li {
    position: relative;
}

.nav-menu a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--forest-mid);
}

.dropdown {
    position: relative;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    min-width: 240px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    list-style: none;
    padding: 0.5rem 0;
    margin-top: 0rem;
    z-index: 1000;
}

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

.dropdown-menu li {
    padding: 0;
}

.dropdown-menu a {
    display: block;
    padding: 0.75rem 1.5rem;
    color: var(--text-dark);
    white-space: nowrap;
}

.dropdown-menu a:hover {
    background: var(--cream);
    color: var(--forest-mid);
}

/* Hero Section */
.hero {
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        linear-gradient(135deg, rgba(26, 58, 46, 0.85) 0%, rgba(45, 90, 71, 0.8) 100%),
        url('hero.png') center center / cover no-repeat;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(135, 168, 120, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(139, 115, 85, 0.1) 0%, transparent 50%);
    animation: subtle-pulse 15s ease-in-out infinite;
}

@keyframes subtle-pulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.6; }
}

.hero-content {
    text-align: center;
    position: relative;
    z-index: 1;
    padding: 2rem;
    animation: fade-in-up 1.2s ease-out;
}

@keyframes fade-in-up {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero h1 {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 300;
    color: var(--white);
    margin-bottom: 1rem;
    letter-spacing: 0.02em;
}

.hero .credentials {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    color: var(--sage);
    margin-bottom: 1.5rem;
    font-weight: 400;
    letter-spacing: 0.15em;
}

.hero .credentials a {
    color: var(--sage);
    text-decoration: none;
    transition: color 0.3s ease, transform 0.3s ease;
    display: inline-block;
}

.hero .credentials a:hover {
    color: var(--white);
    transform: translateY(-2px);
}

.hero-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin: 1.5rem 0 2rem;
}

.hero-credential-logo {
    height: 60px;
    width: auto;
    opacity: 0.9;
    filter: brightness(0) invert(1);
}

@media (max-width: 768px) {
    .hero-logos {
        gap: 1.5rem;
    }
    
    .hero-credential-logo {
        height: 45px;
    }
}

.hero .tagline {
    font-size: clamp(1rem, 2vw, 1.3rem);
    color: var(--white);
    max-width: 600px;
    margin: 0 auto 3rem;
    font-weight: 300;
    opacity: 0.95;
}

.service-hero .subtitle,
.about-hero .subtitle {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    color: var(--white);
    max-width: 800px;
    margin: 0 auto;
    opacity: 0.95;
}

.scroll-indicator {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

.scroll-indicator::after {
    content: '↓';
    font-size: 2rem;
    color: rgba(255, 255, 255, 0.6);
}

/* Buttons */
.cta-button {
    display: inline-block;
    padding: 1.2rem 3rem;
    background: var(--forest-mid);
    color: var(--white);
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    letter-spacing: 0.05em;
    transition: all 0.3s ease;
    margin-top: 2rem;
}

.cta-button:hover {
    background: var(--forest-deep);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(26, 58, 46, 0.3);
}

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

/* Section Styling */
section {
    padding: 6rem 0;
}

section.alt {
    background: var(--white);
}

h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 400;
    color: var(--forest-deep);
    margin-bottom: 3rem;
    position: relative;
    display: inline-block;
}

h2::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--sage);
}

h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1.3rem, 3vw, 1.8rem);
    font-weight: 600;
    color: var(--forest-mid);
    margin-bottom: 1rem;
}

h4 {
    font-family: 'Manrope', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--earth-warm);
    margin-bottom: 0.5rem;
}

p {
    font-size: 1.1rem;
    color: var(--text-mid);
    margin-bottom: 1.5rem;
}

.lead {
    font-size: 1.25rem;
    color: var(--text-dark);
    max-width: 900px;
    margin: 0 auto 2rem;
    text-align: center;
}

/* Intro Section */
.intro-section {
    background: var(--white);
    text-align: center;
}

/* Services Grid */
.services-overview {
    background: var(--cream);
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 3rem;
}

@media (min-width: 600px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1000px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }
}

/* Service Flip Cards */
.service-flip-card {
    background-color: transparent;
    min-height: 200px;
    perspective: 1000px;
    text-decoration: none;
    display: block;
}

@media (min-width: 768px) {
    .service-flip-card {
        min-height: 220px;
    }
}

.service-flip-inner {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 200px;
    transition: transform 0.6s ease;
    transform-style: preserve-3d;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(26, 58, 46, 0.1);
}

@media (min-width: 768px) {
    .service-flip-inner {
        min-height: 220px;
    }
}

.service-flip-card:hover .service-flip-inner,
.service-flip-card.flipped .service-flip-inner {
    transform: rotateY(180deg);
}

.service-flip-front, .service-flip-back {
    position: absolute;
    width: 100%;
    height: 100%;
    min-height: 200px;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    text-align: center;
}

@media (min-width: 768px) {
    .service-flip-front, .service-flip-back {
        min-height: 220px;
    }
}

.service-flip-front {
    background: var(--white);
    border: 2px solid var(--sage);
}

.service-flip-front h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.5rem;
    color: var(--forest-deep);
    margin: 0;
    line-height: 1.3;
}

@media (min-width: 768px) {
    .service-flip-front h3 {
        font-size: 1.7rem;
    }
}

.service-flip-back {
    background: linear-gradient(145deg, var(--forest-mid) 0%, var(--forest-deep) 100%);
    color: var(--white);
    transform: rotateY(180deg);
    justify-content: center;
}

.service-flip-back p {
    color: rgba(255, 255, 255, 0.95);
    font-size: 0.95rem;
    margin: 0 0 1.5rem 0;
    line-height: 1.6;
}

.service-flip-back .learn-more {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--sage);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    width: 100%;
}

/* Legacy service cards (keeping for other pages if needed) */
.service-card {
    padding: 2.5rem;
    background: var(--white);
    border-left: 4px solid var(--sage);
    transition: all 0.3s ease;
    text-decoration: none;
    display: block;
    position: relative;
}

.service-card:hover {
    transform: translateX(8px);
    border-left-color: var(--forest-mid);
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.service-card h3 {
    color: var(--forest-mid);
    margin-bottom: 1rem;
}

.service-card p {
    font-size: 1rem;
    margin-bottom: 0;
    color: var(--text-mid);
}

.card-arrow {
    position: absolute;
    bottom: 1.5rem;
    right: 2rem;
    font-size: 1.5rem;
    color: var(--sage);
    transition: transform 0.3s ease;
}

.service-card:hover .card-arrow {
    transform: translateX(5px);
}

/* Credentials Section */
.credentials-section {
    background: var(--white);
}

.credentials-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin: 3rem 0;
}

@media (min-width: 768px) {
    .credentials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.credential-item {
    padding: 2rem;
    background: var(--cream);
    border-radius: 8px;
    text-decoration: none;
    display: block;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}

a.credential-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(26, 58, 46, 0.15);
    background: var(--white);
}

.credential-item h3 {
    font-size: 2rem;
    color: var(--forest-deep);
    margin-bottom: 0.5rem;
}

.credential-item h4 {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
}

.credential-item p {
    font-size: 0.95rem;
    margin-bottom: 0;
}

.credentials-summary {
    text-align: center;
    font-size: 1.15rem;
    font-weight: 500;
    color: var(--forest-mid);
    max-width: 800px;
    margin: 2rem auto 0;
}

/* Service Detail Pages */
.service-hero {
    background: linear-gradient(135deg, var(--forest-deep) 0%, var(--forest-mid) 100%);
    padding: 8rem 2rem 6rem;
    color: var(--white);
    text-align: center;
}

.service-hero h1 {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 400;
    margin-bottom: 1.5rem;
}

.service-hero .subtitle {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    color: rgba(255, 255, 255, 0.9);
    max-width: 800px;
    margin: 0 auto;
}

.diagnostics-hero {
    background:
        linear-gradient(135deg, rgba(26, 58, 46, 0.85) 0%, rgba(45, 90, 71, 0.8) 100%),
        url('diagnosticshero.png') center center / cover no-repeat;
}

.appraisal-hero {
    background:
        linear-gradient(135deg, rgba(26, 58, 46, 0.85) 0%, rgba(45, 90, 71, 0.8) 100%),
        url('apprhero.png') center center / cover no-repeat;
}

.preservation-hero {
    background:
        linear-gradient(135deg, rgba(26, 58, 46, 0.85) 0%, rgba(45, 90, 71, 0.8) 100%),
        url('hero2.png') center center / cover no-repeat;
}

.risk-hero {
    background:
        linear-gradient(135deg, rgba(26, 58, 46, 0.85) 0%, rgba(45, 90, 71, 0.8) 100%),
        url('brokenhero.png') center center / cover no-repeat;
}

.inventory-hero {
    background:
        linear-gradient(135deg, rgba(26, 58, 46, 0.85) 0%, rgba(45, 90, 71, 0.8) 100%),
        url('inventoryhero.png') center center / cover no-repeat;
}

.speaking-hero {
    background:
        linear-gradient(135deg, rgba(26, 58, 46, 0.85) 0%, rgba(45, 90, 71, 0.8) 100%),
        url('teachinghero.jpg') center 80% / cover no-repeat;
}

.service-content {
    padding: 6rem 0;
    background: var(--white);
}

.service-content h2 {
    margin-top: 3rem;
}

.service-content h2:first-child {
    margin-top: 0;
}

.service-content ul {
    list-style: none;
    padding-left: 0;
    margin: 2rem 0;
}

.service-content ul li {
    padding-left: 2rem;
    margin-bottom: 1rem;
    position: relative;
    font-size: 1.05rem;
    color: var(--text-mid);
}

.service-content ul li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--sage);
    font-weight: bold;
}

/* Contact Section */
.contact-section {
    background: var(--cream);
    text-align: center;
}

.contact-section .container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contact-section h2 {
    display: block;
    text-align: center;
}

.contact-section h2::after {
    left: 50%;
    transform: translateX(-50%);
}

.contact-section .cta-button {
    margin-top: 1.5rem;
}

.contact-email {
    font-size: 1.4rem;
    font-weight: 600;
    margin: 2rem auto 3rem;
}

.contact-email a {
    color: var(--forest-mid);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-email a:hover {
    color: var(--forest-deep);
}

.contact-form {
    max-width: 700px;
    margin: 3rem auto;
    text-align: left;
}

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

@media (min-width: 768px) {
    .form-row {
        grid-template-columns: 1fr 1fr;
    }
}

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

.form-group label {
    font-weight: 600;
    color: var(--forest-mid);
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.75rem;
    border: 2px solid rgba(0,0,0,0.1);
    border-radius: 4px;
    font-family: 'Manrope', sans-serif;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--sage);
}

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

.contact-form .cta-button {
    margin-top: 1rem;
    cursor: pointer;
    border: none;
    font-family: 'Manrope', sans-serif;
}

.contact-details {
    margin-top: 3rem;
    padding-top: 3rem;
    border-top: 1px solid rgba(0,0,0,0.1);
}

.contact-details p {
    text-align: center;
    margin: 0.5rem auto;
    font-size: 1rem;
}

.contact-details a {
    color: var(--forest-mid);
    text-decoration: none;
}

.contact-details a:hover {
    text-decoration: underline;
}

/* Credentials Logo Bar (below hero) */
.credentials-logos-bar {
    background: var(--white);
    padding: 2rem 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.credentials-logos-bar .logo-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.credentials-logos-bar .credential-logo {
    height: 70px;
    width: auto;
    opacity: 0.75;
    transition: opacity 0.3s ease;
}

.credentials-logos-bar .credential-logo:hover {
    opacity: 1;
}

@media (max-width: 768px) {
    .credentials-logos-bar .logo-container {
        gap: 2rem;
    }
    
    .credentials-logos-bar .credential-logo {
        height: 55px;
    }
}

/* Hero logos - DEPRECATED */
.hero-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin: 1.5rem 0 2rem;
}

.hero-credential-logo {
    height: 60px;
    width: auto;
    opacity: 0.9;
    filter: brightness(0) invert(1);
}

@media (max-width: 768px) {
    .hero-logos {
        gap: 1.5rem;
    }
    
    .hero-credential-logo {
        height: 45px;
    }
}

/* Credentials Logo Section - DEPRECATED (logos now in hero) */
.credentials-logos {
    background: var(--white);
    padding: 4rem 0;
    text-align: center;
}

.credentials-logos h3 {
    font-family: 'Manrope', sans-serif;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-mid);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 2rem;
}

.logo-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4rem;
    flex-wrap: wrap;
    max-width: 800px;
    margin: 0 auto;
}

.credential-logo {
    height: 80px;
    width: auto;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.credential-logo:hover {
    opacity: 1;
}

@media (max-width: 768px) {
    .logo-container {
        gap: 2rem;
    }
    
    .credential-logo {
        height: 60px;
    }
}

/* Footer */
footer {
    background: var(--forest-deep);
    color: rgba(255, 255, 255, 0.7);
    text-align: center;
    padding: 2rem;
    font-size: 0.9rem;
}

footer p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin: 0.5rem 0;
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* About Page Specific */
.about-hero {
    background: linear-gradient(135deg, var(--forest-deep) 0%, var(--forest-mid) 100%);
    padding: 8rem 2rem 6rem;
    color: var(--white);
    text-align: center;
}

.about-hero h1 {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 400;
    margin-bottom: 1.5rem;
}

.about-hero .hero-logos {
    margin: 1.5rem 0;
}

.about-content {
    padding: 6rem 0;
    background: var(--white);
}

.profile-section {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    margin-bottom: 4rem;
}

@media (min-width: 768px) {
    .profile-section {
        flex-direction: row;
        align-items: flex-start;
    }
}

.profile-photo {
    flex-shrink: 0;
    width: 100%;
    max-width: 350px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .profile-photo {
        width: 400px;
        margin: 0;
    }
}

.profile-photo img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(26, 58, 46, 0.2);
}

.profile-text {
    flex: 1;
}

.profile-text p {
    margin-bottom: 1.5rem;
}

/* Redbud Section on About Page */
.redbud-section {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin: 3rem 0;
    padding: 2rem;
    background: var(--cream);
    border-radius: 12px;
}

@media (min-width: 768px) {
    .redbud-section {
        flex-direction: row-reverse;
        align-items: center;
        padding: 2.5rem;
    }
}

.redbud-photo {
    flex-shrink: 0;
    width: 100%;
    max-width: 280px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .redbud-photo {
        width: 280px;
        margin: 0;
    }
}

.redbud-photo img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(26, 58, 46, 0.15);
}

.redbud-text {
    flex: 1;
}

.redbud-text p {
    margin: 0;
    font-size: 1.1rem;
}

/* Service Page Intro with Photo */
.service-intro {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    margin-bottom: 4rem;
}

@media (min-width: 768px) {
    .service-intro {
        flex-direction: row;
        align-items: center;
    }
}

.service-photo {
    flex-shrink: 0;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .service-photo {
        width: 450px;
        margin: 0;
    }
}

.service-photo img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(26, 58, 46, 0.2);
}

.service-text {
    flex: 1;
}

.service-text .lead {
    text-align: left;
    margin: 0;
}

/* Assessment Levels - Flip Cards */
.assessment-levels {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin: 2rem 0 3rem;
}

@media (min-width: 900px) {
    .assessment-levels {
        grid-template-columns: repeat(3, 1fr);
    }
}

.flip-card {
    background-color: transparent;
    min-height: 280px;
    height: auto;
    perspective: 1000px;
}

@media (max-width: 899px) {
    .flip-card {
        min-height: 240px;
    }
}

.flip-card-inner {
    position: relative;
    width: 100%;
    min-height: 280px;
    height: 100%;
    text-align: center;
    transition: transform 0.6s ease;
    transform-style: preserve-3d;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(26, 58, 46, 0.1);
}

@media (max-width: 899px) {
    .flip-card-inner {
        min-height: 240px;
    }
}

.flip-card:hover .flip-card-inner,
.flip-card.flipped .flip-card-inner {
    transform: rotateY(180deg);
}

.flip-card-front, .flip-card-back {
    position: absolute;
    width: 100%;
    min-height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 1.5rem;
}

@media (min-width: 900px) {
    .flip-card-front, .flip-card-back {
        padding: 2rem;
    }
}

.flip-card-front {
    background: linear-gradient(145deg, var(--cream) 0%, var(--white) 100%);
    border: 2px solid var(--sage);
}

.flip-card-highlight .flip-card-front {
    background: linear-gradient(145deg, var(--forest-deep) 0%, var(--forest-mid) 100%);
    border: none;
}

.flip-card-highlight .flip-card-front h3,
.flip-card-highlight .flip-card-front .level-subtitle,
.flip-card-highlight .flip-card-front .flip-hint {
    color: var(--white);
}

.flip-card-highlight .flip-card-front .level-number {
    color: rgba(255, 255, 255, 0.15);
}

.flip-card-back {
    background: linear-gradient(145deg, var(--forest-mid) 0%, var(--forest-deep) 100%);
    color: var(--white);
    transform: rotateY(180deg);
    text-align: left;
    justify-content: center;
    align-items: flex-start;
}

.flip-card-back p {
    color: rgba(255, 255, 255, 0.95);
    font-size: 0.95rem;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.flip-card-back p:last-child {
    margin-bottom: 0;
}

.flip-card-back .ideal-for {
    margin-top: 0.5rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 0.9rem;
}

.level-number {
    font-family: 'Cormorant Garamond', serif;
    font-size: 4rem;
    font-weight: 300;
    color: rgba(45, 90, 71, 0.15);
    line-height: 1;
    margin-bottom: 0.25rem;
}

@media (min-width: 900px) {
    .level-number {
        font-size: 5rem;
        margin-bottom: 0.5rem;
    }
}

.flip-card-front h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.6rem;
    color: var(--forest-deep);
    margin: 0;
}

@media (min-width: 900px) {
    .flip-card-front h3 {
        font-size: 1.8rem;
    }
}

.level-subtitle {
    font-size: 0.95rem;
    color: var(--text-mid);
    margin-top: 0.5rem;
}

.flip-hint {
    font-size: 0.75rem;
    color: var(--sage);
    margin-top: 1rem;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

@media (min-width: 900px) {
    .flip-hint {
        margin-top: 1.5rem;
        font-size: 0.8rem;
    }
}

.flip-card:hover .flip-hint {
    opacity: 0;
}

.most-common {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    background: var(--sage);
    color: var(--white);
    font-size: 0.65rem;
    font-weight: 600;
    padding: 0.25rem 0.6rem;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

@media (min-width: 900px) {
    .most-common {
        top: 1rem;
        right: 1rem;
        font-size: 0.7rem;
        padding: 0.3rem 0.8rem;
    }
}

/* Touch device support for flip cards */
@media (hover: none) {
    .flip-card {
        cursor: pointer;
    }

    .flip-hint::after {
        content: ' (tap)';
    }
}

/* Accordion Sections */
.accordion {
    margin: 2rem 0;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    overflow: hidden;
}

.accordion-header {
    background: var(--cream);
    padding: 1.5rem 2rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
}

.accordion-header:hover {
    background: var(--white);
}

.accordion-header h2 {
    margin: 0;
    font-size: clamp(1.4rem, 3vw, 1.8rem);
}

.accordion-header h2::after {
    display: none;
}

.accordion-icon {
    font-size: 1.5rem;
    color: var(--forest-mid);
    transition: transform 0.3s ease;
    font-weight: 300;
}

.accordion.open .accordion-icon {
    transform: rotate(45deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    padding: 0 2rem;
}

.accordion.open .accordion-content {
    max-height: 2000px;
    padding: 1.5rem 2rem 2rem;
}

.accordion-content p:first-child {
    margin-top: 0;
}

.accordion-content ul {
    margin: 1rem 0;
}

/* Speaking Page Specific */
.speaking-intro {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    margin-bottom: 4rem;
}

@media (min-width: 768px) {
    .speaking-intro {
        flex-direction: row;
        align-items: center;
    }
}

.speaking-photo {
    flex-shrink: 0;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .speaking-photo {
        width: 450px;
        margin: 0;
    }
}

.speaking-photo img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(26, 58, 46, 0.2);
}

.speaking-text {
    flex: 1;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-menu {
        display: none; /* Simplified for now - can add mobile menu later */
    }
    
    section {
        padding: 4rem 0;
    }
    
    .hero {
        min-height: 70vh;
    }
}