/* Electric Fork Media - Main Stylesheet */

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

:root {
    --dark-blue: #0E0F1D;
    --teal: #046F8D;
    --yellow: #D8A428;
    --light-bg: #DDE2E8;
    --white: #FFFFFF;
    --text-dark: #333333;
    --text-light: #555555;
    --body-bg: #FFFFFF;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--body-bg);
}

/* HEADER AND NAVIGATION */
header {
    background-color: var(--dark-blue);
    color: var(--white);
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 999;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--white);
}

.logo-box {
    background-color: var(--white);
    color: var(--dark-blue);
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
}

.logo-text {
    font-family: 'DM Sans', 'Termina', sans-serif;
    font-weight: 700;
    font-size: 16px;
}

nav {
    flex: 1;
    margin-left: 60px;
}

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

.nav-menu a {
    color: rgba(255,255,255,0.85);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
}

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

/* Dropdown */
.dropdown-menu {
    position: relative;
}

.dropdown-toggle {
    cursor: pointer;
}

.dropdown-content {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--dark-blue);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 4px;
    padding: 10px 0;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    margin-top: 10px;
}

.dropdown-menu:hover .dropdown-content {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-content a {
    display: block;
    padding: 12px 20px;
    color: rgba(255,255,255,0.85);
    font-size: 13px;
    text-transform: none;
    letter-spacing: 0;
    transition: color 0.3s ease;
}

.dropdown-content a:hover {
    color: var(--yellow);
    background-color: rgba(255,255,255,0.05);
}

/* Hamburger menu for mobile */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 6px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--white);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* HERO SECTIONS */
.hero {
    padding: 120px 40px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
}

.hero.dark {
    background-color: var(--dark-blue);
    color: var(--white);
}

.hero h1 {
    font-family: 'DM Sans', 'Termina', sans-serif;
    font-size: 56px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 30px;
    letter-spacing: -0.5px;
}

.hero.dark h1 {
    color: var(--white);
}

.hero .subhead {
    font-size: 18px;
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto 40px;
    color: rgba(255,255,255,0.95);
}

.max-width {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

/* SECTIONS */
section {
    padding: 80px 40px;
}

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

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

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

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

section h2 {
    font-family: 'DM Sans', 'Termina', sans-serif;
    font-size: 42px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 30px;
    letter-spacing: -0.5px;
}

section.dark h2,
section.teal h2 {
    color: var(--white);
}

section h3 {
    font-family: 'DM Sans', 'Termina', sans-serif;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--teal);
}

section.dark h3,
section.teal h3 {
    color: var(--yellow);
}

section p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 20px;
}

section.dark p,
section.teal p {
    color: rgba(255,255,255,0.9);
}

.section-intro {
    max-width: 700px;
    margin: 0 auto 60px;
    text-align: center;
}

/* BUTTONS */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border: none;
    border-radius: 4px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-primary {
    background-color: var(--yellow);
    color: var(--dark-blue);
}

.btn-primary:hover {
    background-color: #E8B923;
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.15);
}

.link-arrow {
    color: var(--teal);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    display: inline-block;
}

section.dark .link-arrow,
section.teal .link-arrow {
    color: var(--yellow);
}

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

/* Hero buttons container */
.hero-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
}

/* CARDS */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.card {
    background-color: var(--white);
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

section.light .card {
    background-color: var(--white);
}

.card h3 {
    margin-bottom: 16px;
}

.card p {
    font-size: 15px;
    margin-bottom: 20px;
}

/* STATS */
.stats-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-top: 50px;
    text-align: center;
}

.stat {
    padding: 20px;
}

.stat-number {
    font-family: 'DM Sans', 'Termina', sans-serif;
    font-size: 48px;
    font-weight: 700;
    color: var(--yellow);
    margin-bottom: 10px;
}

.stat-label {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: rgba(255,255,255,0.8);
}

/* CASE STUDIES */
.case-study {
    background-color: var(--white);
    border-radius: 8px;
    padding: 40px;
    margin-bottom: 30px;
    border-left: 5px solid var(--teal);
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.case-study-title {
    font-family: 'DM Sans', 'Termina', sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: var(--dark-blue);
    margin-bottom: 10px;
}

.case-study-subtitle {
    font-size: 18px;
    color: var(--teal);
    font-weight: 600;
    margin-bottom: 20px;
}

.case-study-body {
    font-size: 15px;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 20px;
}

.case-study-result {
    background-color: var(--light-bg);
    padding: 20px;
    border-radius: 6px;
    margin-bottom: 20px;
    font-weight: 600;
    color: var(--dark-blue);
}

.case-study-tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.tag {
    background-color: var(--light-bg);
    color: var(--teal);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* FEATURED IMAGES */
.featured-image {
    background-color: #e0e0e0;
    width: 100%;
    height: 250px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    font-size: 14px;
    font-weight: 500;
    text-align: center;
    padding: 20px;
}

/* FAQ/ACCORDION */
.accordion {
    margin-top: 40px;
}

.accordion-item {
    border-bottom: 1px solid rgba(0,0,0,0.1);
    margin-bottom: 10px;
}

.accordion-header {
    padding: 20px;
    cursor: pointer;
    background-color: transparent;
    border: none;
    width: 100%;
    text-align: left;
    font-family: 'DM Sans', 'Termina', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: var(--dark-blue);
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

section.dark .accordion-header,
section.teal .accordion-header {
    color: var(--white);
    border-bottom: 1px solid rgba(255,255,255,0.2);
}

.accordion-header:hover {
    background-color: rgba(0,0,0,0.03);
}

.accordion-icon {
    font-size: 18px;
    transition: transform 0.3s ease;
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 20px;
}

.accordion-content.active {
    max-height: 500px;
    padding: 0 20px 20px 20px;
}

.accordion-content p {
    margin-bottom: 15px;
    color: var(--text-light);
}

section.dark .accordion-content p,
section.teal .accordion-content p {
    color: rgba(255,255,255,0.9);
}

/* CONTACT FORM */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-top: 60px;
    align-items: start;
}

.contact-info h3 {
    font-size: 18px;
    margin-bottom: 20px;
    color: var(--dark-blue);
}

.contact-info p {
    margin-bottom: 15px;
}

form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

form label {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 14px;
}

form input,
form textarea,
form select {
    padding: 12px 16px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    transition: border-color 0.3s ease;
}

form input:focus,
form textarea:focus,
form select:focus {
    outline: none;
    border-color: var(--teal);
    box-shadow: 0 0 0 3px rgba(4, 111, 141, 0.1);
}

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

form .btn {
    align-self: flex-start;
}

/* BLOG GRID */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.blog-card {
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.blog-card-image {
    background-color: #e0e0e0;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    font-size: 12px;
}

.blog-card-content {
    padding: 30px;
}

.blog-card-category {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--teal);
    margin-bottom: 12px;
}

.blog-card-title {
    font-family: 'DM Sans', 'Termina', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: var(--dark-blue);
    margin-bottom: 12px;
    line-height: 1.4;
}

.blog-card-excerpt {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.6;
}

.blog-card-date {
    font-size: 12px;
    color: #999;
    margin-bottom: 15px;
}

.blog-card .link-arrow {
    font-size: 13px;
}

/* NEWSLETTER */
.newsletter-section {
    background-color: var(--light-bg);
    padding: 60px 40px;
    text-align: center;
    border-radius: 8px;
    margin-top: 60px;
}

.newsletter-section h3 {
    color: var(--dark-blue);
    margin-bottom: 20px;
}

.subscribe-form {
    max-width: 400px;
    margin: 0 auto;
    display: flex;
    gap: 10px;
}

.subscribe-form input {
    flex: 1;
    padding: 12px 16px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
}

.subscribe-form .btn {
    white-space: nowrap;
}

/* FOOTER */
footer {
    background-color: var(--dark-blue);
    color: var(--white);
    padding: 60px 40px 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 50px;
    max-width: 1200px;
    margin: 0 auto 50px;
}

.footer-col h3 {
    color: var(--yellow);
    margin-bottom: 20px;
    font-size: 16px;
    font-weight: 700;
}

.footer-tagline {
    font-size: 13px;
    line-height: 1.8;
    opacity: 0.8;
    margin-bottom: 20px;
}

.footer-copyright {
    font-size: 12px;
    opacity: 0.6;
}

.footer-links {
    list-style: none;
}

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

.footer-links a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--yellow);
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: bold;
    font-size: 16px;
}

.social-icon:hover {
    background-color: var(--yellow);
    color: var(--dark-blue);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 30px;
    text-align: center;
    font-size: 12px;
    opacity: 0.6;
    max-width: 1200px;
    margin: 0 auto;
}

/* TEAM SECTION */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

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

.team-photo {
    width: 220px;
    height: 220px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center top;
    margin: 0 auto 24px;
    display: block;
    filter: saturate(0.85) contrast(1.05);
    border: 4px solid var(--teal);
    transition: all 0.4s ease;
}

.team-photo:hover {
    filter: saturate(1) contrast(1);
    border-color: var(--yellow);
    transform: scale(1.03);
}

.team-name {
    font-family: 'DM Sans', 'Termina', sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: var(--dark-blue);
    margin-bottom: 6px;
}

.team-role {
    font-size: 14px;
    font-weight: 600;
    color: var(--teal);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
}

.team-bio {
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-light);
    max-width: 320px;
    margin: 0 auto;
}

section.dark .team-name { color: var(--white); }
section.dark .team-role { color: var(--yellow); }
section.dark .team-bio { color: rgba(255,255,255,0.85); }
section.dark .team-photo { border-color: rgba(255,255,255,0.3); }
section.dark .team-photo:hover { border-color: var(--yellow); }

/* TEAM DETAIL (About page full bios) */
.team-detail {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 50px;
    align-items: start;
    margin-bottom: 60px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(0,0,0,0.08);
}

.team-detail:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.team-detail-photo {
    width: 280px;
    height: 340px;
    border-radius: 12px;
    object-fit: cover;
    object-position: center top;
    filter: saturate(0.85) contrast(1.05);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.team-detail-info h3 {
    font-size: 32px;
    color: var(--dark-blue);
    margin-bottom: 8px;
}

.team-detail-info .team-role {
    font-size: 15px;
    margin-bottom: 24px;
}

.team-detail-info p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 16px;
}

.team-credentials {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.credential-tag {
    background-color: var(--light-bg);
    color: var(--teal);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.3px;
}

/* TEAM PHOTO BANNER */
.team-banner-section {
    padding: 60px 40px;
}

.team-banner {
    width: 100%;
    max-height: 500px;
    object-fit: cover;
    border-radius: 12px;
    margin-top: 40px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

/* TESTIMONIALS */
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.testimonial {
    background-color: var(--white);
    border-radius: 8px;
    padding: 36px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    position: relative;
    border-top: 3px solid var(--teal);
}

.testimonial-quote {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-light);
    font-style: italic;
    margin-bottom: 24px;
}

.testimonial-author {
    font-weight: 700;
    color: var(--dark-blue);
    font-size: 15px;
}

.testimonial-org {
    font-size: 13px;
    color: var(--teal);
    font-weight: 600;
}

section.dark .testimonial {
    background-color: rgba(255,255,255,0.06);
    border-top-color: var(--yellow);
}

section.dark .testimonial-quote { color: rgba(255,255,255,0.9); }
section.dark .testimonial-author { color: var(--white); }
section.dark .testimonial-org { color: var(--yellow); }

/* PULL QUOTE */
.pull-quote {
    border-left: 4px solid var(--yellow);
    padding: 30px 40px;
    margin: 40px 0;
    font-family: 'DM Sans', 'Termina', sans-serif;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.5;
    color: var(--dark-blue);
}

section.dark .pull-quote {
    color: var(--white);
    border-left-color: var(--yellow);
}

.pull-quote-attribution {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: var(--teal);
    margin-top: 16px;
}

section.dark .pull-quote-attribution { color: var(--yellow); }

/* HERO WITH PHOTO */
.hero-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    text-align: left;
}

.hero-split h1 { margin-bottom: 24px; }
.hero-split .subhead { margin: 0 0 30px; }

.hero-image {
    width: 100%;
    max-height: 500px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}

/* CASE STUDY WITH CLIENT QUOTE */
.case-study-quote {
    background-color: rgba(4, 111, 141, 0.06);
    border-left: 3px solid var(--teal);
    padding: 20px 24px;
    margin: 20px 0;
    border-radius: 0 8px 8px 0;
}

.case-study-quote p {
    font-style: italic;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.case-study-quote .quote-attribution {
    font-size: 13px;
    font-weight: 700;
    color: var(--teal);
    font-style: normal;
}

/* MINI TEAM ROW (for homepage preview) */
.team-mini-grid {
    display: flex;
    justify-content: center;
    gap: 50px;
    flex-wrap: wrap;
    margin-top: 50px;
}

.team-mini {
    text-align: center;
    max-width: 200px;
}

.team-mini-photo {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center top;
    margin: 0 auto 16px;
    display: block;
    filter: saturate(0.85) contrast(1.05);
    border: 3px solid rgba(255,255,255,0.3);
    transition: all 0.4s ease;
}

.team-mini-photo:hover {
    border-color: var(--yellow);
    filter: saturate(1) contrast(1);
}

.team-mini-name {
    font-family: 'DM Sans', 'Termina', sans-serif;
    font-weight: 700;
    font-size: 16px;
    color: var(--white);
    margin-bottom: 4px;
}

.team-mini-role {
    font-size: 12px;
    color: var(--yellow);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* NUMBER HIGHLIGHT */
.highlight-number {
    font-family: 'DM Sans', 'Termina', sans-serif;
    font-size: 36px;
    font-weight: 700;
    color: var(--teal);
    display: block;
    margin-bottom: 8px;
}

section.dark .highlight-number { color: var(--yellow); }

/* SERVICE LEVEL INDICATOR */
.level-badge {
    background-color: var(--teal);
    color: white;
    padding: 6px 14px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-block;
    margin-bottom: 12px;
}

.level-badge.highlight {
    background-color: var(--yellow);
    color: var(--dark-blue);
}

/* RESOURCE CARD */
.resource-card {
    background-color: var(--white);
    border-radius: 8px;
    padding: 36px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.resource-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.resource-icon {
    width: 56px;
    height: 56px;
    background-color: var(--light-bg);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 20px;
    color: var(--teal);
    font-weight: 700;
}

/* RESPONSIVE DESIGN */
@media (max-width: 768px) {
    /* --- HEADER & NAVIGATION --- */
    header {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: center;
        padding: 15px 20px;
    }

    .hamburger {
        display: flex;
    }

    /* Animate hamburger to X when active */
    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }

    nav {
        display: none;
        width: 100%;
        margin-left: 0;
        order: 3;
        flex-basis: 100%;
    }

    nav.active {
        display: block;
    }

    .nav-menu {
        flex-direction: column;
        gap: 0;
        padding: 15px 0 5px;
    }

    .nav-menu > li,
    .nav-menu > a {
        width: 100%;
    }

    .nav-menu a {
        display: block;
        padding: 12px 0;
        font-size: 14px;
        border-bottom: 1px solid rgba(255,255,255,0.08);
    }

    .dropdown-content {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        background-color: transparent;
        border: none;
        margin-top: 0;
        padding: 0 0 0 20px;
        min-width: unset;
    }

    .dropdown-content a {
        padding: 10px 0;
        font-size: 13px;
        border-bottom: 1px solid rgba(255,255,255,0.05);
    }

    /* --- HERO --- */
    .hero {
        padding: 80px 20px;
        min-height: auto;
    }

    .hero h1 {
        font-size: 36px;
    }

    .hero .subhead {
        font-size: 16px;
    }

    /* Stack hero buttons on mobile */
    .hero-buttons {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }

    .hero-buttons .link-arrow {
        margin-left: 0 !important;
    }

    /* --- SECTIONS --- */
    section {
        padding: 50px 20px;
    }

    section h2 {
        font-size: 32px;
    }

    /* --- GRIDS --- */
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .card-grid,
    .blog-grid {
        grid-template-columns: 1fr;
    }

    .team-detail {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }

    .team-detail-photo {
        width: 200px;
        height: 240px;
        margin: 0 auto;
    }

    .team-detail-info { text-align: left; }

    .hero-split {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-image {
        max-height: 300px;
        order: -1;
    }

    .hero-split .subhead { margin: 0 auto 30px; }

    .testimonial-grid {
        grid-template-columns: 1fr;
    }

    .team-mini-grid { gap: 30px; }

    .pull-quote {
        font-size: 20px;
        padding: 20px 24px;
    }

    /* --- FOOTER --- */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    footer {
        padding: 40px 20px 30px;
    }

    /* --- CASE STUDIES --- */
    .case-study {
        padding: 28px;
    }

    .case-study-title {
        font-size: 22px;
    }

    /* --- TESTIMONIALS --- */
    .testimonial {
        padding: 24px;
    }

    /* --- STATS --- */
    .stats-row {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .stat-number {
        font-size: 36px;
    }
}

@media (max-width: 480px) {
    header {
        padding: 12px 15px;
    }

    .logo-text {
        font-size: 14px;
    }

    .hero {
        padding: 60px 15px;
    }

    .hero h1 {
        font-size: 28px;
        margin-bottom: 20px;
    }

    .hero .subhead {
        font-size: 15px;
        line-height: 1.7;
    }

    section {
        padding: 40px 15px;
    }

    section h2 {
        font-size: 24px;
    }

    section h3 {
        font-size: 18px;
    }

    section p {
        font-size: 15px;
    }

    .card {
        padding: 24px;
    }

    .case-study {
        padding: 20px;
    }

    .case-study-title {
        font-size: 20px;
    }

    .case-study-subtitle {
        font-size: 15px;
    }

    .testimonial {
        padding: 20px;
    }

    .pull-quote {
        font-size: 18px;
        padding: 16px 20px;
    }

    .team-detail-photo {
        width: 180px;
        height: 220px;
    }

    .team-detail-info h3 {
        font-size: 24px;
    }

    .team-mini-grid {
        gap: 20px;
    }

    .team-mini-photo {
        width: 110px;
        height: 110px;
    }

    .team-mini-name {
        font-size: 14px;
    }

    .team-mini-role {
        font-size: 11px;
    }

    .resource-card {
        padding: 24px;
    }

    .blog-grid {
        grid-template-columns: 1fr;
    }

    .blog-card-content {
        padding: 20px;
    }

    .subscribe-form {
        flex-direction: column;
    }

    .btn {
        padding: 12px 24px;
        font-size: 13px;
    }

    .team-banner {
        border-radius: 8px;
        max-height: 300px;
        margin-top: 0;
    }

    .team-banner-section {
        padding: 30px 15px;
    }
}
