/* BETTER MENTAL LIFE - LAYER 2
   Editorial typography + Motion & Polish
   Smooth animations, refined interactions */

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

html, body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background: #FAF7F2;
    color: #1A1814;
    line-height: 1.6;
    font-size: 18px;
    overflow-x: hidden;
    padding-top: 60px; /* Navbar height */
}

/* Smooth scroll behavior */
html {
    scroll-behavior: smooth;
}

/* Navbar - Elegant & Minimal */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(250, 247, 242, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(139, 38, 53, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(250, 247, 242, 0.98);
    box-shadow: 0 2px 12px rgba(139, 38, 53, 0.08);
}

.navbar.hidden {
    transform: translateY(-100%);
}

/* Scroll Progress Bar */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: #8B2635;
    z-index: 1001;
    transition: width 0.1s ease-out;
}

.navbar-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 12px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.navbar-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-img {
    height: 45px;
    width: auto;
    transition: transform 0.3s ease;
    transform: translateY(3px);
}

.navbar-logo:hover .logo-img {
    transform: translateY(3px) scale(1.05);
}

.navbar-right {
    display: flex;
    align-items: center;
    gap: 8px;
}

.lang-btn {
    background: transparent;
    border: none;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.05em;
    color: #6B6862;
    cursor: pointer;
    padding: 6px 12px;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.lang-btn:hover {
    color: #8B2635;
    background: rgba(139, 38, 53, 0.05);
}

.lang-btn.active {
    color: #8B2635;
    background: rgba(139, 38, 53, 0.1);
}

.lang-divider {
    color: rgba(139, 38, 53, 0.3);
    font-size: 14px;
    font-weight: 300;
}

/* Fade-in animations - subtle */
.fade-in-section {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

.fade-in-item {
    opacity: 0;
    transform: translateY(15px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

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

/* Typography Scale */
h1 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(56px, 12vw, 112px);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -0.03em;
    margin-bottom: 40px;
    transition: letter-spacing 0.3s ease;
}

h2 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(36px, 6vw, 64px);
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: 48px;
}

h3 {
    font-size: 22px;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 8px;
    transition: color 0.3s ease;
}

p {
    margin-bottom: 16px;
}

.label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #6B6862;
    margin-bottom: 24px;
}

/* Section Numbers */
.section-number {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(72px, 10vw, 120px);
    font-weight: 400;
    line-height: 1;
    color: rgba(139, 38, 53, 0.12);
    display: block;
    margin-bottom: -20px;
    letter-spacing: -0.04em;
    transition: all 0.3s ease;
    will-change: transform;
}

section:hover .section-number {
    color: rgba(139, 38, 53, 0.18);
}

/* Sections */
section {
    padding: 80px 24px;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

/* Hero - Asymmetric Editorial Power */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #FAF7F2;
    position: relative;
    padding: 60px 24px;
    overflow: hidden;
}

.hero-container {
    max-width: 1000px;
    width: 100%;
    position: relative;
    z-index: 2;
}

.hero-container > * {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.hero-loaded .hero-container > * {
    opacity: 1;
    transform: translateY(0);
}

.hero-loaded .hero-container .label {
    transition-delay: 0.05s;
}

.hero-loaded .hero-container h1 {
    transition-delay: 0.15s;
}

.hero-loaded .hero-container .hero-statement {
    transition-delay: 0.25s;
}

.hero-loaded .hero-container .hero-meta {
    transition-delay: 0.35s;
}

.hero-loaded .hero-container .hero-cta {
    transition-delay: 0.45s;
}

.hero-decorative {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(120px, 20vw, 240px);
    font-weight: 700;
    color: rgba(139, 38, 53, 0.06);
    position: absolute;
    top: -40px;
    right: -20px;
    line-height: 1;
    pointer-events: none;
    z-index: 1;
    opacity: 0;
    transition: opacity 0.8s ease 0.1s;
}

.hero-loaded .hero-decorative {
    opacity: 1;
}

.hero .label {
    position: relative;
    z-index: 3;
}

.hero h1 {
    color: #1A1814;
    margin-bottom: 32px;
    position: relative;
    z-index: 3;
}

.hero-statement {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(22px, 3.5vw, 32px);
    font-style: italic;
    font-weight: 400;
    line-height: 1.5;
    color: #4A4743;
    max-width: 700px;
    margin-bottom: 32px;
}

.hero-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 18px;
    font-weight: 600;
    color: #8B2635;
    margin-bottom: 48px;
    letter-spacing: 0.05em;
}

.meta-divider {
    color: rgba(139, 38, 53, 0.4);
}

.hero-cta {
    display: inline-block;
    font-size: 17px;
    font-weight: 500;
    color: #FAF7F2;
    background: #8B2635;
    padding: 12px 28px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid #8B2635;
    letter-spacing: 0.02em;
}

.hero-cta:hover {
    background: #1A1814;
    border-color: #1A1814;
    transform: translateX(4px);
    letter-spacing: 0.03em;
}

.hero-line {
    position: absolute;
    left: 0;
    top: 10%;
    width: 4px;
    height: 0;
    background: linear-gradient(to bottom,
        transparent 0%,
        #8B2635 20%,
        #8B2635 80%,
        transparent 100%);
    z-index: 1;
    transition: height 1s ease 0.2s;
}

.hero-loaded .hero-line {
    height: 80%;
}

/* Academic Timeline */
.academic {
    background: #FFFFFF;
}

.timeline {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
}

.timeline-item {
    border-left: 3px solid #8B2635;
    padding-left: 24px;
    transition: all 0.3s ease;
    cursor: default;
}

.timeline-item:hover {
    border-left-width: 4px;
    padding-left: 26px;
}

.timeline-item:hover h3 {
    color: #8B2635;
}

.year {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #8B2635;
    margin-bottom: 12px;
    letter-spacing: 0.05em;
}

/* Research Highlight - Editorial Pull Quote */
.research-highlight {
    background: #8B2635;
    color: #FAF7F2;
    padding: 100px 24px;
}

.pull-quote {
    max-width: 900px;
    margin: 0 auto;
}

.quote-text {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(32px, 5vw, 52px);
    font-weight: 400;
    line-height: 1.3;
    font-style: italic;
    margin-bottom: 32px;
    color: #FAF7F2;
}

.quote-attribution {
    font-size: 18px;
    line-height: 1.7;
    color: rgba(250, 247, 242, 0.85);
    margin-bottom: 32px;
    max-width: 700px;
}

.research-link {
    display: inline-block;
    font-size: 18px;
    font-weight: 600;
    color: #FAF7F2;
    text-decoration: none;
    border-bottom: 2px solid rgba(250, 247, 242, 0.4);
    padding-bottom: 4px;
    transition: all 0.3s ease;
}

.research-link:hover {
    border-color: #FAF7F2;
    transform: translateX(4px);
}

/* Professional Experience */
.experience {
    background: #F5F3EF;
}

.experience-timeline {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
}

.experience-item {
    border-left: 3px solid #8B2635;
    padding-left: 24px;
    transition: all 0.3s ease;
    cursor: default;
}

.experience-item:hover {
    border-left-width: 4px;
    padding-left: 26px;
}

.experience-item:hover h3 {
    color: #8B2635;
}

.experience-item .year {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #8B2635;
    margin-bottom: 12px;
    letter-spacing: 0.05em;
}

.experience-item h3 {
    margin-bottom: 12px;
}

.experience-item p {
    color: #4A4743;
    line-height: 1.7;
}

/* Clinical Specializations */
.expertise {
    background: #FFFFFF;
}

.expertise-list {
    display: grid;
    gap: 1px;
    background: rgba(139, 38, 53, 0.06);
    overflow: hidden;
}

.expertise-item {
    background: #FFFFFF;
}

.expertise-header {
    display: grid;
    grid-template-columns: 20px 1fr;
    align-items: center;
    gap: 12px;
    padding: 20px 0;
    cursor: pointer;
    transition: none;
    -webkit-tap-highlight-color: transparent;
    outline: none;
    user-select: none;
}

.expertise-header:focus {
    outline: none;
}

.expertise-header:active {
    background: transparent;
}

.expertise-header:hover .expertise-dash {
    transform: translateX(3px);
}

.expertise-dash {
    color: #8B2635;
    font-size: 18px;
    font-weight: 300;
    line-height: 1;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                opacity 0.2s ease;
}

.expertise-dash::before {
    content: "—";
    display: block;
    transition: opacity 0.2s ease;
}

.expertise-item.active .expertise-dash::before {
    content: "+";
}

.expertise-item.active .expertise-dash {
    transform: rotate(0deg);
}

.expertise-title {
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: #2A2622;
    letter-spacing: -0.008em;
    margin: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.expertise-item:hover .expertise-title {
    color: #8B2635;
}

.expertise-content {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    padding: 0 0 0 32px;
    transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1),
                opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1),
                padding 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.expertise-item.active .expertise-content {
    max-height: 300px;
    opacity: 1;
    padding: 4px 0 24px 32px;
}

.expertise-content p {
    font-size: 16px;
    line-height: 1.8;
    color: #6B6862;
    margin: 0;
    transform: translateY(-5px);
    opacity: 0;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.1s,
                opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.1s;
}

.expertise-item.active .expertise-content p {
    transform: translateY(0);
    opacity: 1;
}

/* Services */
.services {
    background: #F5F3EF;
}

.lead {
    font-size: 22px;
    line-height: 1.7;
    color: #1A1814;
    margin-bottom: 48px;
    max-width: 750px;
}

.services ul {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.services li {
    padding-left: 32px;
    position: relative;
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 18px;
    font-weight: 500;
    line-height: 1.75;
    color: #2A2622;
    letter-spacing: -0.005em;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.services li:hover {
    color: #8B2635;
    transform: translateX(4px);
}

.services li::before {
    content: "•";
    position: absolute;
    left: 0;
    top: 0.15em;
    color: #8B2635;
    font-size: 24px;
    font-weight: 400;
    line-height: 1;
}

/* Certifications */
.certifications {
    background: #FFFFFF;
}

.cert-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 64px;
    margin-bottom: 48px;
}

.cert-item {
    border-left: 5px solid #8B2635;
    padding-left: 32px;
    padding-top: 8px;
    padding-bottom: 8px;
    background: transparent;
    transition: all 0.3s ease;
    cursor: default;
    position: relative;
}

.cert-item::before {
    content: '';
    position: absolute;
    left: -5px;
    top: 0;
    bottom: 0;
    width: 5px;
    background: linear-gradient(to bottom,
        rgba(139, 38, 53, 0.3) 0%,
        #8B2635 50%,
        rgba(139, 38, 53, 0.3) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.cert-item:hover::before {
    opacity: 1;
}

.cert-item:hover {
    border-left-width: 6px;
    padding-left: 36px;
}

.cert-item h3 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(36px, 5vw, 48px);
    font-weight: 700;
    color: #8B2635;
    margin-bottom: 16px;
    line-height: 1.1;
    transition: letter-spacing 0.3s ease;
}

.cert-item:hover h3 {
    letter-spacing: 0.02em;
}

.cert-item p {
    font-size: 18px;
    line-height: 1.7;
    margin-bottom: 20px;
    color: #4A4743;
}

.cert-org {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #FAF7F2;
    background: #8B2635;
    padding: 6px 16px;
    border-radius: 2px;
}

.languages {
    font-size: 16px;
    text-align: left;
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid rgba(139, 38, 53, 0.15);
    color: #6B6862;
    font-style: italic;
    letter-spacing: 0.01em;
}

.languages strong {
    font-weight: 600;
    font-style: normal;
    color: #8B2635;
    margin-right: 8px;
}

/* Istanbul Locations */
.locations {
    background: #F5F3EF;
}

.locations-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 64px;
    margin-top: 48px;
}

.location-map h3,
.additional-locations h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 24px;
    color: #1A1814;
}

.map-container {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    overflow: visible;
    margin-bottom: 24px;
    transition: all 0.4s ease;
}

/* Bottom-left corner - thick to thin fade */
.map-container::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 80px;
    background:
        linear-gradient(to right, #8B2635 0%, #8B2635 3px, transparent 3px) bottom left / 100% 4px no-repeat,
        linear-gradient(to right, #8B2635 0%, #8B2635 2px, transparent 2px) bottom left / 85% 3px no-repeat,
        linear-gradient(to right, rgba(139, 38, 53, 0.8) 0%, rgba(139, 38, 53, 0.8) 2px, transparent 2px) bottom left / 70% 2px no-repeat,
        linear-gradient(to top, #8B2635 0%, #8B2635 3px, transparent 3px) bottom left / 4px 100% no-repeat,
        linear-gradient(to top, #8B2635 0%, #8B2635 2px, transparent 2px) bottom left / 3px 85% no-repeat,
        linear-gradient(to top, rgba(139, 38, 53, 0.8) 0%, rgba(139, 38, 53, 0.8) 2px, transparent 2px) bottom left / 2px 70% no-repeat;
    opacity: 0.9;
    transition: opacity 0.4s ease;
    pointer-events: none;
    z-index: 1;
}

/* Top-right corner - thick to thin fade */
.map-container::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 80px;
    height: 80px;
    background:
        linear-gradient(to left, #8B2635 0%, #8B2635 3px, transparent 3px) top right / 100% 4px no-repeat,
        linear-gradient(to left, #8B2635 0%, #8B2635 2px, transparent 2px) top right / 85% 3px no-repeat,
        linear-gradient(to left, rgba(139, 38, 53, 0.8) 0%, rgba(139, 38, 53, 0.8) 2px, transparent 2px) top right / 70% 2px no-repeat,
        linear-gradient(to bottom, #8B2635 0%, #8B2635 3px, transparent 3px) top right / 4px 100% no-repeat,
        linear-gradient(to bottom, #8B2635 0%, #8B2635 2px, transparent 2px) top right / 3px 85% no-repeat,
        linear-gradient(to bottom, rgba(139, 38, 53, 0.8) 0%, rgba(139, 38, 53, 0.8) 2px, transparent 2px) top right / 3px 70% no-repeat;
    opacity: 0.9;
    transition: opacity 0.4s ease;
    pointer-events: none;
    z-index: 1;
}

.map-container:hover::before,
.map-container:hover::after {
    opacity: 1;
}

.map-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 1px solid rgba(139, 38, 53, 0.15);
}

.location-address {
    font-size: 18px;
    color: #4A4743;
    margin-bottom: 16px;
    font-style: italic;
}

.location-link {
    display: inline-block;
    font-size: 16px;
    font-weight: 500;
    color: #8B2635;
    text-decoration: none;
    background: rgba(139, 38, 53, 0.05);
    padding: 8px 16px;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.location-link:hover {
    background: rgba(139, 38, 53, 0.1);
    transform: translateX(3px);
}

.main-location-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 22px;
    font-weight: 500;
    margin-bottom: 24px;
    color: #2A2622;
    letter-spacing: -0.01em;
}

.additional-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 22px;
    font-weight: 500;
    margin-bottom: 32px;
    color: #2A2622;
    letter-spacing: -0.01em;
}

.additional-locations {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.collapsible-location {
    border-left: 4px solid #8B2635;
    padding-left: 24px;
    padding-top: 12px;
    padding-bottom: 32px;
    margin-bottom: 0;
    cursor: pointer;
    transition: all 0.3s ease;
    -webkit-tap-highlight-color: transparent;
    outline: none;
    user-select: none;
}

.collapsible-location:hover .location-name {
    color: #8B2635;
}

.collapsible-location:last-child {
    padding-bottom: 0;
}

.location-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    padding-bottom: 4px;
}

.location-info {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.location-plus {
    color: #8B2635;
    font-size: 20px;
    font-weight: 400;
    line-height: 1;
    margin-top: 4px;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.collapsible-location.active .location-plus {
    transform: rotate(90deg);
}

.location-name {
    display: block;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 24px;
    font-weight: 600;
    color: #2A2622;
    line-height: 1.2;
    margin-bottom: 8px;
    transition: color 0.3s ease;
}

.location-detail {
    display: block;
    font-size: 16px;
    color: #6B6862;
    font-style: italic;
    line-height: 1.6;
    transition: color 0.3s ease;
}

.collapsible-location:hover .location-detail {
    color: #8B2635;
}

.location-content {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    padding: 0;
    transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1),
                opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1),
                padding 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.collapsible-location.active .location-content {
    max-height: 200px;
    opacity: 1;
    padding: 12px 0 0 0;
}

.full-address {
    font-size: 16px;
    line-height: 1.7;
    color: #4A4743;
    margin-bottom: 12px;
}

.location-map-link {
    display: inline-block;
    font-size: 14px;
    font-weight: 500;
    color: #8B2635;
    text-decoration: none;
    background: rgba(139, 38, 53, 0.04);
    padding: 6px 12px;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.location-map-link:hover {
    background: rgba(139, 38, 53, 0.08);
    transform: translateX(2px);
}

.locations-note {
    font-size: 16px;
    color: #6B6862;
    font-style: italic;
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid rgba(139, 38, 53, 0.2);
}

/* Contact */
.contact {
    background: #FFFFFF;
    color: #1A1814;
}

.contact h2 {
    color: #1A1814;
}

.contact p {
    color: #6B6862;
    max-width: 700px;
    font-size: 19px;
    line-height: 1.7;
}

.contact .tagline {
    font-size: 22px;
    font-weight: 500;
    color: #1A1814;
    margin-top: 32px;
    max-width: 700px;
}

.contact-link {
    display: inline-block;
    margin-top: 32px;
    font-size: 17px;
    font-weight: 500;
    color: #8B2635;
    text-decoration: none;
    background: rgba(139, 38, 53, 0.06);
    padding: 10px 20px;
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    letter-spacing: 0.005em;
}

.contact-link:hover {
    background: rgba(139, 38, 53, 0.12);
    color: #8B2635;
    transform: translateX(4px);
}

/* Footer - Minimal & Refined */
.footer {
    background: #E8E6E1;
    color: #1A1814;
    padding: 80px 24px 60px 24px;
    text-align: center;
}

.footer-content {
    max-width: 900px;
    margin: 0 auto;
}

.footer-logo {
    width: 80px;
    height: auto;
    display: block;
    margin: 0 auto 24px auto;
    opacity: 0.9;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.footer-logo:hover {
    opacity: 1;
    transform: scale(1.05);
}

.footer-brand h2 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 32px;
    font-weight: 600;
    letter-spacing: -0.02em;
    margin-bottom: 12px;
    color: #1A1814;
}

.footer-subtitle {
    font-size: 15px;
    color: #6B6862;
    margin-bottom: 48px;
    font-weight: 400;
}

.footer-social {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 40px;
}

.footer-social a {
    color: #8B2635;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.01em;
    transition: all 0.3s ease;
    padding: 4px 8px;
    border-bottom: 1px solid transparent;
}

.footer-social a:hover {
    border-bottom-color: #8B2635;
    opacity: 0.7;
}

.social-divider {
    color: rgba(139, 38, 53, 0.3);
    font-weight: 300;
}

.footer-meta {
    padding-top: 32px;
    border-top: 1px solid rgba(139, 38, 53, 0.15);
}

.footer-meta p {
    font-size: 13px;
    color: #6B6862;
    letter-spacing: 0.05em;
}

/* Tablet */
@media (min-width: 768px) {
    section {
        padding: 120px 48px;
    }

    .footer {
        padding: 100px 48px 70px 48px;
    }

    .footer-brand h2 {
        font-size: 48px;
    }

    .hero {
        padding: 100px 48px;
    }

    .hero-container {
        margin-left: 80px;
    }

    .hero-decorative {
        font-size: 280px;
        top: -60px;
        right: -40px;
    }

    .hero-statement {
        font-size: 32px;
    }

    .hero-line {
        width: 6px;
        left: 24px;
    }

    .section-number {
        margin-bottom: -32px;
    }

    .timeline {
        grid-template-columns: repeat(2, 1fr);
    }

    .experience-timeline {
        grid-template-columns: repeat(2, 1fr);
    }


    .services ul {
        grid-template-columns: repeat(2, 1fr);
    }

    .cert-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 80px;
    }

    .locations-grid {
        grid-template-columns: 1fr 1fr;
        gap: 48px;
    }

    .map-container {
        padding-bottom: 75%; /* Taller on tablet */
    }
}

/* Desktop */
@media (min-width: 1024px) {
    section {
        padding: 140px 64px;
    }

    .footer {
        padding: 100px 64px 70px 64px;
    }

    .hero {
        padding: 120px 64px;
    }

    .hero-container {
        margin-left: 120px;
        max-width: 1100px;
    }

    .hero-decorative {
        font-size: 360px;
        top: -80px;
        right: -60px;
    }

    .hero-statement {
        font-size: 36px;
        max-width: 800px;
    }

    .hero-line {
        width: 8px;
        left: 48px;
    }

    .research-highlight {
        padding: 140px 64px;
    }

    .timeline {
        grid-template-columns: repeat(3, 1fr);
    }

    .experience-timeline {
        grid-template-columns: repeat(3, 1fr);
    }

    .locations-grid {
        grid-template-columns: 1.2fr 1fr;
        gap: 80px;
    }

    .map-container {
        padding-bottom: 60%; /* Back to wider on desktop */
    }
}
