@import url('https://fonts.googleapis.com/css2?family=Libre+Baskerville:wght@400;700&family=Source+Sans+3:wght@300;400;600;700&display=swap');

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Source Sans 3', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.8;
    color: #2d2720;
    background-color: #ffffff;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(140, 112, 68, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(140, 112, 68, 0.02) 0%, transparent 50%);
    background-attachment: fixed;
}

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

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(5px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-5px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(5px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.995);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Apply animations to elements */
.fade-in {
    animation: fadeIn 0.2s ease-out forwards;
    opacity: 0;
}

.slide-in-left {
    animation: slideInLeft 0.2s ease-out forwards;
    opacity: 0;
}

.slide-in-right {
    animation: slideInRight 0.2s ease-out forwards;
    opacity: 0;
}

.scale-in {
    animation: scaleIn 0.15s ease-out forwards;
    opacity: 0;
}

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

/* Header Navigation */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 16px 48px;
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(110, 94, 79, 0.12);
    box-shadow: 0 4px 20px -8px rgba(39, 33, 28, 0.15);
    z-index: 1000;
    transition: all 0.3s ease;
}

.main-nav {
    display: flex;
    gap: 32px;
    align-items: center;
    width: 100%;
    justify-content: flex-end;
}

.nav-link {
    text-decoration: none;
    color: #2b241c;
    font-family: 'Libre Baskerville', serif;
    font-size: 12px;
    font-weight: 400;
    padding: 6px 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    letter-spacing: 1.2px;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #8c7044, #a88a5e);
    transition: width 0.3s ease;
}

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

.nav-link:hover,
.nav-link.active {
    color: #8c7044;
    transform: translateY(-1px);
}

/* Hidden class */
.hidden {
    display: none !important;
}

/* Hero Banner */
.hero-banner {
    position: relative;
    width: 100%;
    height: 500px;
    margin-top: 65px;
    overflow: hidden;
}

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

.hero-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(28, 26, 22, 0.92), rgba(28, 26, 22, 0));
    padding: 12px 40px 15px;
    color: #f5f1ea;
}

.hero-title {
    font-family: 'Libre Baskerville', serif;
    font-size: 54px;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: 4px;
    line-height: 1.0;
}

.hero-subtitle {
    font-size: 20px;
    font-weight: 600;
    color: rgba(246, 240, 231, 0.95);
    margin-top: 0;
    letter-spacing: 0.5px;
}

/* Introduction Section */
.intro-section {
    padding: 100px 0;
    background-color: #ffffff;
    position: relative;
}

.intro-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 3px;
    background: linear-gradient(90deg, transparent, #8c7044, transparent);
}

.intro-section h2 {
    font-family: 'Libre Baskerville', serif;
    font-size: 28px;
    font-weight: 600;
    color: #8c7044;
    margin-bottom: 32px;
    text-align: center;
    letter-spacing: 2px;
}

.lead {
    font-size: 20px;
    line-height: 1.9;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 45px;
    color: #4c4338;
    letter-spacing: 0.3px;
}

.quick-links {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}

.btn-link {
    display: inline-block;
    padding: 10px 20px;
    background: linear-gradient(135deg, #8c7044, #a88a5e);
    color: #ffffff;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 11px;
    letter-spacing: 0.8px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(140, 112, 68, 0.2);
    position: relative;
    overflow: hidden;
}

.btn-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.btn-link:hover::before {
    left: 100%;
}

.btn-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(140, 112, 68, 0.35);
}

/* Background Images Section */
.background-images-section {
    padding: 0;
    background: #ffffff;
    position: relative;
}

.background-images-section::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 3px;
    background: linear-gradient(90deg, transparent, #8c7044, transparent);
}

.background-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
    max-width: 100%;
}

.background-grid img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease, filter 0.3s ease;
}

.background-grid img:hover {
    transform: scale(1.03);
    filter: brightness(1.05);
}

/* Featured Figures Section */
.figures-section {
    padding: 100px 0;
    background: #ffffff;
    position: relative;
}

.figures-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 3px;
    background: linear-gradient(90deg, transparent, #8c7044, transparent);
}

.figures-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 3px;
    background: linear-gradient(90deg, transparent, #8c7044, transparent);
}

.figures-title {
    font-family: 'Libre Baskerville', serif;
    font-size: 36px;
    letter-spacing: 3px;
    font-weight: 600;
    color: #8c7044;
    text-align: center;
    margin-bottom: 50px;
    line-height: 1.3;
}

.figures-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 40px;
}

.research-figure {
    background: transparent;
    border: none;
    overflow: hidden;
    position: relative;
}

.research-figure img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    display: block;
}

.research-figure figcaption {
    display: none;
}

/* Content Sections */
.section-content {
    padding: 120px 0;
    min-height: 100vh;
    position: relative;
}

.section-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 3px;
    background: linear-gradient(90deg, transparent, #8c7044, transparent);
}

.section-title {
    font-family: 'Libre Baskerville', serif;
    font-size: 48px;
    font-weight: 600;
    letter-spacing: 2px;
    color: #8c7044;
    margin-bottom: 60px;
    text-align: center;
    line-height: 1.3;
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 70px;
    margin-top: 50px;
}

.profile-image {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding-top: 20px;
}

.profile-image img {
    width: 350px;
    height: 350px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 15px 40px rgba(140, 112, 68, 0.25);
    border: 4px solid rgba(140, 112, 68, 0.1);
}

.about-main h3 {
    font-family: 'Libre Baskerville', serif;
    font-size: 26px;
    font-weight: 600;
    color: #8c7044;
    margin-bottom: 22px;
    margin-top: 35px;
    letter-spacing: 0.5px;
}

.about-main h3:first-child {
    margin-top: 0;
}

.about-main p {
    font-size: 17px;
    line-height: 1.9;
    margin-bottom: 22px;
    color: #4c4338;
    letter-spacing: 0.2px;
}

.about-main ul {
    list-style: none;
    padding: 0;
}

.about-main li {
    font-size: 16px;
    line-height: 1.9;
    margin-bottom: 16px;
    padding-left: 28px;
    position: relative;
    color: #4c4338;
    transition: all 0.3s ease;
}

.about-main li:hover {
    transform: translateX(5px);
    color: #8c7044;
}

.about-main li:before {
    content: "▸";
    position: absolute;
    left: 0;
    color: #8c7044;
    font-weight: bold;
    font-size: 18px;
}

.about-sidebar .info-card {
    background-color: #ffffff;
    padding: 28px;
    border-radius: 10px;
    margin-bottom: 28px;
    border-top: 3px solid #8c7044;
    box-shadow: 0 4px 15px rgba(140, 112, 68, 0.08);
    transition: all 0.3s ease;
}

.info-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(140, 112, 68, 0.15);
}

.info-card h4 {
    font-size: 18px;
    font-weight: 600;
    color: #8c7044;
    margin-bottom: 15px;
}

.info-card p {
    font-size: 15px;
    line-height: 1.8;
    color: #5b5347;
}

.info-card a {
    color: #8c7044;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.info-card a:hover {
    color: #a88a5e;
    text-decoration: underline;
}

/* Research Section */
.research-areas h3 {
    font-size: 34px;
    font-weight: 600;
    color: #8c7044;
    margin-bottom: 35px;
    letter-spacing: 0.5px;
}

.project-card {
    background-color: #ffffff;
    padding: 38px;
    border-radius: 10px;
    margin-bottom: 28px;
    border-left: 4px solid #8c7044;
    box-shadow: 0 4px 15px rgba(140, 112, 68, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 25px;
}

.project-card:hover {
    box-shadow: 0 8px 30px rgba(140, 112, 68, 0.18);
    transform: translateX(8px);
    border-left-width: 6px;
}

.project-content {
    flex: 1;
}

.project-card h4 {
    font-size: 23px;
    font-weight: 600;
    color: #8c7044;
    margin-bottom: 12px;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.project-card:hover h4 {
    color: #a88a5e;
}

.project-logos {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.project-logos img {
    max-width: 85px;
    max-height: 65px;
    object-fit: contain;
    opacity: 0.85;
    transition: all 0.3s ease;
}

.project-logos img:hover {
    opacity: 1;
    transform: scale(1.1);
}

.project-meta {
    font-size: 14px;
    color: #888888;
    margin-bottom: 16px;
    font-style: italic;
    letter-spacing: 0.3px;
}

.project-card p {
    font-size: 16px;
    line-height: 1.8;
    color: #4c4338;
    letter-spacing: 0.2px;
}

.project-card a {
    color: #8c7044;
    font-weight: 500;
    transition: all 0.3s ease;
}

.project-card a:hover {
    color: #a88a5e;
    text-decoration: underline;
}

.research-tools {
    margin-top: 70px;
}

.tools-showcase {
    display: flex;
    flex-direction: column;
    gap: 60px;
    margin-top: 50px;
}

.tool-feature-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 45px;
    background-color: #ffffff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 6px 25px rgba(140, 112, 68, 0.12);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(140, 112, 68, 0.08);
}

.tool-feature-card:hover {
    box-shadow: 0 12px 40px rgba(140, 112, 68, 0.22);
    transform: translateY(-8px);
}

.tool-feature-card-reverse {
    direction: rtl;
}

.tool-feature-card-reverse > * {
    direction: ltr;
}

.tool-image {
    position: relative;
    overflow: hidden;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 35px;
}

.tool-image img {
    width: 100%;
    height: auto;
    max-height: 420px;
    object-fit: contain;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.tool-feature-card:hover .tool-image img {
    transform: scale(1.06);
}

.tool-content {
    padding: 45px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.tool-content h4 {
    font-family: 'Libre Baskerville', serif;
    font-size: 30px;
    font-weight: 600;
    color: #8c7044;
    margin-bottom: 14px;
    line-height: 1.3;
    letter-spacing: 0.5px;
}

.tool-subtitle {
    font-size: 16px;
    font-weight: 600;
    color: #a88a5e;
    margin-bottom: 22px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.tool-description {
    font-size: 16px;
    line-height: 1.9;
    color: #4c4338;
    margin-bottom: 32px;
    letter-spacing: 0.2px;
}

.tool-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 15px 30px;
    background: linear-gradient(135deg, #8c7044, #a88a5e);
    color: #ffffff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    align-self: flex-start;
    box-shadow: 0 4px 15px rgba(140, 112, 68, 0.25);
}

.tool-btn:hover {
    transform: translateX(8px);
    box-shadow: 0 6px 25px rgba(140, 112, 68, 0.4);
}

.tool-btn svg {
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.tool-btn:hover svg {
    transform: translateX(6px);
}

/* Publications Section */
.pub-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 35px;
    margin-bottom: 70px;
}

.stat-card {
    background-color: #ffffff;
    padding: 45px 25px;
    border-radius: 10px;
    text-align: center;
    border-top: 4px solid #8c7044;
    box-shadow: 0 4px 15px rgba(140, 112, 68, 0.08);
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(140, 112, 68, 0.15);
}

.stat-number {
    font-size: 52px;
    font-weight: 700;
    color: #8c7044;
    margin-bottom: 12px;
}

.stat-label {
    font-size: 16px;
    color: #5b5347;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.publications-list h3 {
    font-size: 30px;
    font-weight: 600;
    color: #8c7044;
    margin: 50px 0 28px;
    padding-bottom: 12px;
    border-bottom: 2px solid rgba(140, 112, 68, 0.2);
    letter-spacing: 0.5px;
}

.pub-item {
    padding: 12px 0;
    border-bottom: 1px solid rgba(140, 112, 68, 0.1);
    transition: all 0.3s ease;
}

.pub-item:hover {
    transform: translateX(5px);
    padding-left: 10px;
    border-left: 3px solid #8c7044;
}

.pub-title {
    font-size: 17px;
    font-weight: 600;
    color: #222222;
    margin-bottom: 4px;
    line-height: 1.4;
    letter-spacing: 0.2px;
}

.pub-authors {
    font-size: 14px;
    color: #5b5347;
    margin-bottom: 3px;
    line-height: 1.4;
}

.pub-journal {
    font-size: 14px;
    color: #888888;
    font-style: italic;
    margin-bottom: 4px;
}

.pub-link {
    color: #8c7044;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.3s ease;
}

.pub-link:hover {
    color: #a88a5e;
    text-decoration: underline;
}

.view-all-btn {
    display: inline-block;
    margin-top: 45px;
    padding: 16px 38px;
    background: linear-gradient(135deg, #8c7044, #a88a5e);
    color: #ffffff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(140, 112, 68, 0.25);
}

.view-all-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(140, 112, 68, 0.4);
}

/* Awards Section */
.awards-timeline {
    margin-top: 50px;
}

.award-year-group {
    margin-bottom: 60px;
}

.award-year-group h3 {
    font-size: 36px;
    font-weight: 700;
    color: #8c7044;
    margin-bottom: 35px;
    padding-bottom: 12px;
    border-bottom: 3px solid rgba(140, 112, 68, 0.3);
    letter-spacing: 1px;
}

.award-item {
    background-color: #ffffff;
    padding: 35px;
    border-radius: 10px;
    margin-bottom: 25px;
    border-left: 4px solid #8c7044;
    box-shadow: 0 4px 15px rgba(140, 112, 68, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 25px;
}

.award-item:hover {
    box-shadow: 0 8px 30px rgba(140, 112, 68, 0.18);
    transform: translateX(8px);
    border-left-width: 6px;
}

.award-content {
    flex: 1;
}

.award-item h4 {
    font-size: 21px;
    font-weight: 600;
    color: #8c7044;
    margin-bottom: 10px;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.award-item:hover h4 {
    color: #a88a5e;
}

.award-org {
    font-size: 15px;
    color: #5b5347;
    margin-bottom: 8px;
    letter-spacing: 0.2px;
}

.award-amount {
    font-size: 18px;
    font-weight: 700;
    color: #a88a5e;
    margin-bottom: 12px;
}

.award-item p:last-child {
    font-size: 15px;
    line-height: 1.7;
    color: #4c4338;
    margin-bottom: 0;
    letter-spacing: 0.2px;
}

.award-logos {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.award-logos img {
    max-width: 85px;
    max-height: 65px;
    object-fit: contain;
    opacity: 0.85;
    transition: all 0.3s ease;
}

.award-logos img:hover {
    opacity: 1;
    transform: scale(1.1);
}

/* Teaching & Service Section */
.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 45px;
    margin-top: 50px;
}

.service-category {
    background-color: #ffffff;
    padding: 38px;
    border-radius: 10px;
    border-top: 4px solid #8c7044;
    box-shadow: 0 4px 15px rgba(140, 112, 68, 0.08);
    transition: all 0.3s ease;
}

.service-category:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(140, 112, 68, 0.15);
}

.service-category h3 {
    font-size: 23px;
    font-weight: 600;
    color: #8c7044;
    margin-bottom: 22px;
    letter-spacing: 0.3px;
}

.service-category p {
    font-size: 15px;
    line-height: 1.8;
    color: #4c4338;
    margin-bottom: 16px;
}

.service-category ul {
    list-style: none;
    padding: 0;
}

.service-category li {
    font-size: 15px;
    line-height: 1.9;
    margin-bottom: 14px;
    padding-left: 22px;
    position: relative;
    color: #4c4338;
    transition: all 0.3s ease;
}

.service-category li:hover {
    transform: translateX(5px);
    color: #8c7044;
}

.service-category li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: #8c7044;
    font-weight: bold;
    font-size: 16px;
}

/* Contact Section */
.contact-form-wrapper {
    max-width: 720px;
    margin: 50px auto 0;
}

.contact-form-container h3 {
    font-size: 30px;
    font-weight: 600;
    color: #8c7044;
    margin-bottom: 22px;
    text-align: center;
    letter-spacing: 0.5px;
}

.contact-form-container p {
    font-size: 17px;
    line-height: 1.9;
    color: #4c4338;
    margin-bottom: 35px;
    text-align: center;
    letter-spacing: 0.2px;
}

.contact-form {
    background-color: #ffffff;
    padding: 40px;
    border-radius: 12px;
    border: 1px solid rgba(140, 112, 68, 0.15);
    box-shadow: 0 6px 25px rgba(140, 112, 68, 0.1);
}

.form-group {
    margin-bottom: 28px;
}

.form-group label {
    display: block;
    font-size: 15px;
    font-weight: 600;
    color: #8c7044;
    margin-bottom: 10px;
    letter-spacing: 0.3px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    font-size: 15px;
    font-family: 'Source Sans 3', sans-serif;
    color: #2d2720;
    background-color: #ffffff;
    border: 2px solid rgba(140, 112, 68, 0.2);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #8c7044;
    box-shadow: 0 0 0 4px rgba(140, 112, 68, 0.1);
}

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

.submit-btn {
    width: 100%;
    padding: 16px 35px;
    background: linear-gradient(135deg, #8c7044, #a88a5e);
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(140, 112, 68, 0.25);
    letter-spacing: 0.5px;
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(140, 112, 68, 0.4);
}

.submit-btn:active {
    transform: translateY(-1px);
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.detail-item h4 {
    font-size: 16px;
    font-weight: 600;
    color: #8c7044;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.detail-item p {
    font-size: 15px;
    line-height: 1.8;
    color: #5b5347;
    margin-bottom: 0;
}

.detail-item a {
    color: #8c7044;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.detail-item a:hover {
    color: #a88a5e;
    text-decoration: underline;
}

.reference-item {
    background-color: #ffffff;
    padding: 28px;
    border-radius: 10px;
    margin-bottom: 22px;
    border-left: 4px solid #8c7044;
    box-shadow: 0 4px 15px rgba(140, 112, 68, 0.08);
    transition: all 0.3s ease;
}

.reference-item:hover {
    transform: translateX(5px);
    box-shadow: 0 6px 20px rgba(140, 112, 68, 0.15);
}

.reference-item h4 {
    font-size: 18px;
    font-weight: 600;
    color: #222222;
    margin-bottom: 6px;
}

.ref-title {
    font-size: 14px;
    color: #5b5347;
    margin-bottom: 4px;
    font-style: italic;
}

.ref-org {
    font-size: 14px;
    color: #888888;
    margin-bottom: 12px;
}

.reference-item p {
    font-size: 14px;
    margin-bottom: 6px;
}

.reference-item a {
    color: #8c7044;
    text-decoration: none;
    margin-right: 12px;
    transition: all 0.3s ease;
}

.reference-item a:hover {
    color: #a88a5e;
    text-decoration: underline;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #8c7044, #a88a5e);
    color: #ffffff;
    padding: 45px 0;
    margin-top: 100px;
    box-shadow: 0 -4px 20px rgba(140, 112, 68, 0.15);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 22px;
}

.footer-content p {
    font-size: 14px;
    margin: 0;
    letter-spacing: 0.3px;
}

.footer-links {
    display: flex;
    gap: 28px;
    flex-wrap: wrap;
}

.footer-links a {
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    letter-spacing: 0.3px;
}

.footer-links a:hover {
    opacity: 0.8;
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .header {
        padding: 14px 32px;
    }

    .figures-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 24px;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .tool-feature-card {
        grid-template-columns: 1fr;
    }
    
    .tool-feature-card-reverse {
        direction: ltr;
    }
}

@media (max-width: 768px) {
    .header {
        justify-content: center;
        padding: 14px 20px;
    }
    
    .main-nav {
        flex-wrap: wrap;
        gap: 16px;
    }
    
    .nav-link {
        font-size: 11px;
        padding: 6px 0;
    }
    
    .hero-banner {
        height: 350px;
    }
    
    .hero-title {
        font-size: 36px;
        margin-bottom: 4px;
        letter-spacing: 2px;
    }
    
    .hero-subtitle {
        font-size: 16px;
        margin-top: 8px;
    }
    
    .intro-section,
    .figures-section,
    .section-content {
        padding: 70px 0;
    }
    
    .section-title {
        font-size: 38px;
    }
    
    .background-grid {
        grid-template-columns: 1fr;
    }
    
    .background-grid img {
        height: 300px;
    }
    
    .figures-grid {
        grid-template-columns: 1fr;
        gap: 25px;
        padding: 0 20px;
    }
    
    .research-figure img {
        height: 250px;
    }
    
    .pub-stats,
    .service-grid {
        grid-template-columns: 1fr;
    }
    
    .tool-feature-card,
    .tool-feature-card-reverse {
        grid-template-columns: 1fr;
        direction: ltr;
    }
    
    .tool-image {
        min-height: 300px;
    }
    
    .tool-content {
        padding: 30px;
    }
    
    .tool-content h4 {
        font-size: 24px;
    }
    
    .tool-subtitle {
        font-size: 14px;
    }
    
    .tool-description {
        font-size: 15px;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .contact-form {
        padding: 30px;
    }
}

@media (max-width: 480px) {
    .hero-banner {
        height: 250px;
    }
    
    .hero-title {
        font-size: 28px;
        margin-bottom: 4px;
    }
    
    .hero-subtitle {
        font-size: 14px;
        margin-top: 10px;
    }
    
    .section-title {
        font-size: 30px;
    }

    .figures-title {
        font-size: 26px;
        margin-bottom: 35px;
    }
    
    .figures-grid {
        gap: 20px;
    }
    
    .research-figure img {
        height: 220px;
    }
    
    .stat-number {
        font-size: 40px;
    }
    
    .btn-link {
        padding: 8px 16px;
        font-size: 10px;
    }
}
