/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #f6f5f3 0%, #e9ecef 100%);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Color Variables */
:root {
    --primary-blue: #2574A9;
    --soft-teal: #88D8C0;
    --ivory: #F6F5F3;
    --light-neutral: #E9ECEF;
    --education-green: #A3BE8C;
    --soft-gold: #FFB85F;
    --text-dark: #2c3e50;
    --text-light: #6c757d;
    --white: #ffffff;
    --shadow: rgba(0, 0, 0, 0.1);
    --shadow-hover: rgba(0, 0, 0, 0.15);
}

/* Navigation */
.navbar {
    background: linear-gradient(120deg, rgba(255,255,255,0.82) 70%, rgba(255,255,255,0.72) 100%);
    backdrop-filter: blur(14px) saturate(140%);
    -webkit-backdrop-filter: blur(14px) saturate(140%);
    border-bottom: 1.5px solid rgba(37, 116, 169, 0.10);
    box-shadow: 0 2px 16px rgba(37, 116, 169, 0.07);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: linear-gradient(120deg, rgba(255,255,255,0.82) 70%, rgba(255,255,255,0.72) 100%);
    backdrop-filter: blur(14px) saturate(140%);
    -webkit-backdrop-filter: blur(14px) saturate(140%);
    box-shadow: 0 2px 20px rgba(37, 116, 169, 0.10);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-logo h2 {
    color: var(--primary-blue);
    font-size: 1.5rem;
    font-weight: 600;
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-item {
    margin-left: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-blue);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-blue);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: var(--primary-blue);
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 100px 0 50px;
    background: linear-gradient(rgba(37, 116, 169, 0.7), rgba(136, 216, 192, 0.6)), url('images/hero section.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    overflow: hidden;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    z-index: 1;
}

.hero::before {
    display: none;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    33% { transform: translateY(-20px) rotate(1deg); }
    66% { transform: translateY(10px) rotate(-1deg); }
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 3rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.hero-text {
    background: linear-gradient(120deg, rgba(255,255,255,0.32) 60%, rgba(255,255,255,0.12) 100%);
    backdrop-filter: blur(18px) saturate(180%);
    -webkit-backdrop-filter: blur(18px) saturate(180%);
    padding: 2.5rem;
    border-radius: 24px;
    box-shadow: 0 8px 32px rgba(37, 116, 169, 0.12);
    border: 1.5px solid rgba(255, 255, 255, 0.35);
    outline: 1px solid rgba(136, 216, 192, 0.08);
    transition: background 0.3s, box-shadow 0.3s;
}

@media (max-width: 700px) {
  .hero-text {
    background: linear-gradient(120deg, rgba(255,255,255,0.18) 60%, rgba(255,255,255,0.06) 100%);
    backdrop-filter: blur(18px) saturate(180%);
    -webkit-backdrop-filter: blur(18px) saturate(180%);
    border-radius: 18px;
    box-shadow: 0 4px 16px rgba(37, 116, 169, 0.10);
    border: 1px solid rgba(255, 255, 255, 0.18);
    outline: none;
    padding: 1.2rem;
  }
}

/* Fallback for browsers that don't support backdrop-filter */
@supports not (backdrop-filter: blur(10px)) {
    .hero-text {
        background: rgba(255, 255, 255, 0.98);
    }
}

.hero-text h1 {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--primary-blue);
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-placeholder {
    width: 250px;
    height: 250px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow: 0 10px 30px var(--shadow);
    transition: transform 0.3s ease;
    overflow: hidden;
}

.image-placeholder:hover {
    transform: translateY(-5px);
}

.image-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.image-placeholder i {
    font-size: 4rem;
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.image-placeholder p {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 500;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: var(--primary-blue);
    color: var(--white);
    border-color: var(--primary-blue);
}

.btn-primary:hover {
    background: transparent;
    color: var(--primary-blue);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px var(--shadow-hover);
}

.btn-secondary {
    background: var(--education-green);
    color: var(--white);
    border-color: var(--education-green);
}

.btn-secondary:hover {
    background: transparent;
    color: var(--education-green);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px var(--shadow-hover);
}

.btn-outline {
    background: transparent;
    color: var(--primary-blue);
    border-color: var(--primary-blue);
}

.btn-outline:hover {
    background: var(--primary-blue);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px var(--shadow-hover);
}

/* Stats Section */
.stats-section {
    padding: 60px 0;
    background: var(--white);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}

.stat-item {
    padding: 2rem 1rem;
    background: var(--ivory);
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.1rem;
    color: var(--text-dark);
    font-weight: 500;
}

/* Force stat-label to 2 lines for mobile */
@media (max-width: 700px) {
  .stat-label {
    display: block;
    max-width: 90px;
    margin: 0 auto;
    text-align: center;
    white-space: normal;
    word-break: break-word;
    line-height: 1.2;
    min-height: 2.2em;
  }
}

/* Force 2 columns and ultra-compact for mobile */
@media (max-width: 700px) {
  .stats-section {
    padding: 18px 0;
  }
  .stats-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 0.5rem !important;
  .stat-number {
    font-size: 2.2rem !important;
    margin-bottom: 1px !important;
  }
  }
  .stat-item {
    padding: 0.5rem 0.2rem !important;
    font-size: 0.9rem !important;
    border-radius: 7px !important;
    min-width: 0;
  }
  .stat-number {
    font-size: 1.1rem !important;
    margin-bottom: 1px !important;
  }
  .stat-label {
    font-size: 0.75rem !important;
  }
  .stat-number {
    font-size: 1.5rem !important;
    margin-bottom: 0 !important;
  }
    padding: 10px 0 !important;
  }
  .stats-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 0.3rem !important;
  }
  .stat-item {
    padding: 0.3rem 0.1rem !important;
    font-size: 0.8rem !important;
    border-radius: 5px !important;
  }
  .stat-number {
    font-size: 0.9rem !important;
    margin-bottom: 0 !important;
  }
  .stat-label {
    font-size: 0.65rem !important;
  }
}

/* Mobile compact stats section */
@media (max-width: 700px) {
  .stats-section {
    padding: 28px 0;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.7rem;
  }
  .stat-item {
    padding: 0.7rem 0.3rem;
    font-size: 0.95rem;
    border-radius: 7px;
  }
  .stat-number {
    font-size: 1.3rem;
    margin-bottom: 2px;
  }
  .stat-label {
    font-size: 0.85rem;
  }
}

/* About Preview Section */
.about-preview {
    padding: 80px 0;
    background: var(--white);
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-weight: 600;
}

.section-header p {
    font-size: 1.2rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.about-text p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.qualifications {
    margin-bottom: 2rem;
}

.qualifications h3 {
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.qual-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.tag {
    background: var(--soft-teal);
    color: var(--white);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

.achievements h3 {
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.achievement-list {
    list-style: none;
}

.achievement-list li {
    padding: 0.8rem 0;
    border-bottom: 1px solid var(--light-neutral);
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--text-light);
}

.achievement-list li i {
    color: var(--soft-gold);
    font-size: 1.2rem;
}

/* Blog Preview Section */
.blog-preview {
    padding: 80px 0;
    background: var(--ivory);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.blog-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px var(--shadow);
    transition: all 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px var(--shadow-hover);
}

.blog-image {
    height: 150px;
    background: linear-gradient(135deg, var(--primary-blue), var(--soft-teal));
    display: flex;
    justify-content: center;
    align-items: center;
}

.blog-image i {
    font-size: 3rem;
    color: var(--white);
}

.blog-content {
    padding: 1.5rem;
}

.blog-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.blog-date,
.blog-category {
    font-size: 0.9rem;
    color: var(--text-light);
}

.blog-category {
    background: var(--education-green);
    color: var(--white);
    padding: 0.2rem 0.5rem;
    border-radius: 3px;
}

.blog-card h3 {
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-size: 1.3rem;
    line-height: 1.4;
}

.blog-card p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.read-more {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.read-more:hover {
    color: var(--soft-teal);
    transform: translateX(5px);
}

.blog-cta {
    text-align: center;
}

/* Contact CTA Section */
.contact-cta {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-blue), var(--soft-teal));
    color: var(--white);
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-buttons .btn {
    background: var(--white);
    color: var(--primary-blue);
    border-color: var(--white);
}

.cta-buttons .btn:hover {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
}

.cta-buttons .btn-outline {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
}

.cta-buttons .btn-outline:hover {
    background: var(--white);
    color: var(--primary-blue);
}

/* Footer */
.footer {
    background: var(--text-dark);
    color: var(--white);
    padding: 50px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: var(--soft-teal);
}

.footer-section p,
.footer-section li {
    color: #bbb;
    margin-bottom: 0.5rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section a {
    color: #bbb;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--soft-teal);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #444;
    color: #bbb;
}

/* Hide Quick Links section and heading in footer for mobile */
@media (max-width: 700px) {
  .footer-section:nth-child(2),
  .footer-section:nth-child(2) h4 {
    display: none !important;
  }
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: var(--primary-blue);
    color: var(--white);
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    cursor: pointer;
    font-size: 1.2rem;
    opacity: 0;
    transform: translateY(100px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.scroll-to-top.visible {
    opacity: 1;
    transform: translateY(0);
}

.scroll-to-top:hover {
    background: var(--soft-teal);
    transform: translateY(-3px);
}

/* Animations */
.fade-in {
    opacity: 0;
    animation: fadeIn 1s ease forwards;
}

.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }

    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px var(--shadow);
        padding: 2rem 0;
        z-index: 999;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-item {
        margin: 1rem 0;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    /* Hero Section Mobile */
    .hero {
        padding: 80px 0 40px;
        min-height: 90vh;
        background-attachment: scroll; /* Better performance on mobile */
    }

    .hero::after {
        backdrop-filter: blur(1px);
        -webkit-backdrop-filter: blur(1px);
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 1.5rem;
        padding: 0 15px;
    }

    .hero-text {
        padding: 1.5rem;
        border-radius: 15px;
        margin-bottom: 1rem;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
    }

    .hero-text h1 {
        font-size: 1.8rem;
        line-height: 1.3;
        margin-bottom: 0.8rem;
    }

    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 1rem;
    }

    .hero-description {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
        line-height: 1.5;
    }

    .hero-description p {
        margin-bottom: 0.8rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 0.8rem;
    }

    .image-placeholder {
        width: 180px;
        height: 180px;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    }

    /* Page Headers Mobile */
    .page-header {
        padding: 100px 0 40px;
    }

    .header-content h1 {
        font-size: 2.2rem;
    }

    .header-content p {
        font-size: 1.1rem;
    }

    /* Section Headers Mobile */
    .section-header h2 {
        font-size: 2rem;
    }

    .section-header p {
        font-size: 1rem;
    }

    /* Grid Layouts Mobile */
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .overview-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .blog-grid {
        grid-template-columns: 1fr;
    }

    .blog-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .qualifications-grid {
        grid-template-columns: 1fr;
    }

    .roles-grid {
        grid-template-columns: 1fr;
    }

    .awards-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .publications-grid .overview-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .econtent-grid {
        grid-template-columns: 1fr;
    }

    /* Form Mobile */
    .form-row {
        flex-direction: column;
    }

    .form-group {
        margin-bottom: 1rem;
    }

    .contact-methods {
        gap: 1.5rem;
    }

    .consultation-areas .areas-grid {
        grid-template-columns: 1fr;
    }

    .professional-networks .networks-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Controls Mobile */
    .controls-content {
        flex-direction: column;
        gap: 1rem;
    }

    .search-box {
        max-width: 100%;
    }

    .filter-categories {
        justify-content: center;
    }

    .filter-tabs {
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .tab-btn {
        padding: 8px 12px;
        font-size: 0.8rem;
    }

    /* Blog Cards Mobile */
    .blog-post {
        margin-bottom: 1.5rem;
    }

    .post-content {
        padding: 1.2rem;
    }

    .post-meta {
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .blog-post h2 {
        font-size: 1.3rem;
    }

    .blog-post h3 {
        font-size: 1.2rem;
    }

    /* Publication Cards Mobile */
    .publication-card {
        padding: 1.2rem;
    }

    .publication-details {
        flex-direction: column;
        gap: 0.5rem;
    }

    /* Awards and Achievements Mobile */
    .award-card {
        padding: 1.5rem;
        text-align: center;
    }

    .contribution-details {
        margin-top: 2rem;
    }

    .stat-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    /* Philosophy Section Mobile */
    .philosophy-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .philosophy-text blockquote {
        font-size: 1.1rem;
        padding-left: 1rem;
    }

    /* Footer Mobile */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    /* Reduce icon and image sizes for mobile */
    .profile-image {
        width: 80px;
        height: 80px;
    }

    .author-image {
        width: 60px;
        height: 60px;
    }

    .role-icon {
        width: 60px;
        height: 60px;
    }

    .role-icon i {
        font-size: 1.5rem;
    }

    .method-icon {
        width: 40px;
        height: 40px;
    }

    .method-icon i {
        font-size: 1rem;
    }

    .spec-card i {
        font-size: 2rem;
    }

    .award-icon {
        font-size: 2rem;
    }

    .blog-image i {
        font-size: 2rem;
    }

    .post-image i {
        font-size: 2rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .image-placeholder i {
        font-size: 2.5rem;
    }

    /* Award images mobile */
    .award-image img {
        height: 120px !important;
    }

    /* Book image mobile */
    .book-image img {
        height: 150px !important;
        max-width: 120px;
    }

    /* Buttons Mobile */
    .hero-buttons,
    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
        width: 100%;
        max-width: 280px;
    }

    /* Footer Mobile - Simplified */
    .footer {
        padding: 30px 0 15px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        text-align: center;
    }

    .footer-section {
        padding: 1rem 0;
    }

    .footer-section h3,
    .footer-section h4 {
        font-size: 1.1rem;
        margin-bottom: 0.8rem;
    }

    .footer-section p,
    .footer-section li {
        font-size: 0.9rem;
        margin-bottom: 0.3rem;
    }

    .footer-section ul {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }

    .footer-section:nth-child(2) ul {
        display: none; /* Hide quick links on mobile to save space */
    }

    .footer-bottom {
        padding-top: 15px;
        font-size: 0.8rem;
    }

    /* Sidebar Mobile */
    .sidebar-widget {
        margin-bottom: 2rem;
    }

    .widget-header h3 {
        font-size: 1.2rem;
    }

    /* Timeline Mobile */
    .awards-timeline::before {
        left: 20px;
    }

    .timeline-item {
        padding-left: 40px;
    }

    .timeline-year {
        position: static;
        display: inline-block;
        margin-bottom: 0.5rem;
    }

    /* Featured Badge Mobile */
    .featured-badge {
        font-size: 0.75rem !important;
        padding: 2px 8px !important;
        left: 10px !important;
        top: 10px !important;
    }

    /* Spacing Adjustments Mobile */
    .hero,
    .about-preview,
    .blog-preview,
    .contact-cta,
    .page-section {
        padding: 50px 0;
    }

    .stats-section {
        padding: 40px 0;
    }
}

/* Additional Mobile Responsive Styles */
@media (max-width: 480px) {
    .container {
        padding: 0 10px;
    }

    .hero {
        min-height: 100vh;
        padding: 60px 0 30px;
    }

    .hero-text h1 {
        font-size: 1.5rem;
    }

    .hero-subtitle {
        font-size: 0.9rem;
    }

    .hero-description {
        font-size: 0.85rem;
    }

    .hero-text {
        padding: 1rem;
        border-radius: 12px;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .btn {
        font-size: 0.85rem;
        padding: 8px 16px;
    }

    .featured-badge {
        font-size: 0.7rem !important;
        padding: 2px 6px !important;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        font-size: 16px; /* Prevents zoom on iOS */
    }

    .image-placeholder {
        width: 150px;
        height: 150px;
    }

    .page-header {
        padding: 90px 0 30px;
    }

    .header-content h1 {
        font-size: 1.8rem;
    }

    .section-header h2 {
        font-size: 1.5rem;
    }

    /* Ultra compact footer for small screens */
    .footer-content {
        gap: 1rem;
    }

    .footer-section {
        padding: 0.5rem 0;
    }

    .footer-section h3,
    .footer-section h4 {
        font-size: 1rem;
    }

    .footer-section p,
    .footer-section li {
        font-size: 0.8rem;
    }

    /* Ensure text remains readable on small screens */
    .blog-post h2,
    .blog-post h3 {
        font-size: 1.1rem;
        line-height: 1.4;
    }

    .publication-card h3 {
        font-size: 1.1rem;
    }

    .award-card h3 {
        font-size: 1.1rem;
    }
}

/* Landscape phone optimization */
@media (max-width: 768px) and (orientation: landscape) {
    .hero {
        min-height: 100vh;
        padding: 60px 0 30px;
    }

    .hero-content {
        gap: 1rem;
    }

    .hero-text {
        padding: 1.2rem;
    }

    .image-placeholder {
        width: 120px;
        height: 120px;
    }
}

/* Page Header Styles */
.page-header {
    background: linear-gradient(135deg, var(--primary-blue), var(--soft-teal));
    color: var(--white);
    padding: 120px 0 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><pattern id="grid" width="50" height="50" patternUnits="userSpaceOnUse"><path d="M 50 0 L 0 0 0 50" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.header-content {
    position: relative;
    z-index: 1;
}

.header-content h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.header-content p {
    font-size: 1.3rem;
    opacity: 0.9;
}

/* About Page Styles */
.about-main {
    padding: 0;
}

.professional-overview {
    padding: 80px 0;
    background: var(--white);
}

.overview-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: start;
}

.overview-text h2 {
    color: var(--text-dark);
    font-size: 2.2rem;
    margin-bottom: 2rem;
    font-weight: 600;
}

.overview-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.profile-card {
    background: var(--white);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 10px 30px var(--shadow);
    text-align: center;
    transition: transform 0.3s ease;
}

.profile-card:hover {
    transform: translateY(-5px);
}

.profile-image {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, var(--primary-blue), var(--soft-teal));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    overflow: hidden;
}

.profile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.profile-image i {
    font-size: 3rem;
    color: var(--white);
}

.profile-info h3 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.profile-info p {
    color: var(--text-light);
    margin-bottom: 0.3rem;
}

.profile-badges {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.badge {
    background: var(--education-green);
    color: var(--white);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

.qualifications-section {
    padding: 80px 0;
    background: var(--ivory);
}

.qualifications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.qual-category {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px var(--shadow);
    transition: transform 0.3s ease;
}

.qual-category:hover {
    transform: translateY(-5px);
}

.qual-category h3 {
    color: var(--primary-blue);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.qual-category ul {
    list-style: none;
}

.qual-category li {
    padding: 0.5rem 0;
    color: var(--text-light);
    border-bottom: 1px solid var(--light-neutral);
}

.roles-section {
    padding: 80px 0;
    background: var(--white);
}

.roles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.role-card {
    background: var(--ivory);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    transition: all 0.3s ease;
}

.role-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px var(--shadow-hover);
}

.role-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.role-icon i {
    font-size: 2rem;
    color: var(--white);
}

.role-card h3 {
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.role-card ul {
    list-style: none;
    text-align: left;
}

.role-card li {
    padding: 0.3rem 0;
    color: var(--text-light);
}

.contributions-section {
    padding: 80px 0;
    background: var(--ivory);
}

.contributions-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
    align-items: start;
}

.stat-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.stat-box {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px var(--shadow);
}

.contribution-details h3 {
    color: var(--text-dark);
    margin-bottom: 2rem;
    font-size: 1.5rem;
}

.contribution-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contribution-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.contribution-item i {
    color: var(--primary-blue);
    font-size: 1.5rem;
    margin-top: 0.2rem;
}

.contribution-item h4 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.contribution-item p {
    color: var(--text-light);
    line-height: 1.6;
}

.awards-section {
    padding: 80px 0;
    background: var(--white);
}

.awards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.award-card {
    background: linear-gradient(135deg, var(--soft-gold), #f39c12);
    color: var(--white);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.award-card:hover {
    transform: translateY(-5px) scale(1.02);
}

.award-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.1), transparent);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

.award-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.award-year {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(255,255,255,0.2);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
}

.specializations-section {
    padding: 80px 0;
    background: var(--ivory);
}

.specializations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.spec-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px var(--shadow);
    transition: all 0.3s ease;
}

.spec-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px var(--shadow-hover);
}

.spec-card i {
    font-size: 3rem;
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.spec-card h3 {
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.spec-card p {
    color: var(--text-light);
    line-height: 1.6;
}

.philosophy-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-blue), var(--soft-teal));
    color: var(--white);
}

.philosophy-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: start;
}

.philosophy-text h2 {
    margin-bottom: 2rem;
    font-size: 2.2rem;
}

.philosophy-text blockquote {
    font-size: 1.3rem;
    font-style: italic;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    padding-left: 2rem;
    border-left: 4px solid var(--soft-gold);
}

.philosophy-text cite {
    font-size: 1.1rem;
    opacity: 0.9;
}

.philosophy-values h3 {
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.philosophy-values ul {
    list-style: none;
}

.philosophy-values li {
    padding: 0.8rem 0;
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.1rem;
}

.philosophy-values i {
    color: var(--soft-gold);
    font-size: 1.2rem;
}

/* Blog Page Styles */
.blog-controls {
    padding: 60px 0 40px;
    background: var(--white);
    border-bottom: 1px solid var(--light-neutral);
}

.controls-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.search-box {
    position: relative;
    flex: 1;
    max-width: 400px;
}

.search-box i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-light);
}

.search-box input {
    width: 100%;
    padding: 12px 15px 12px 45px;
    border: 2px solid var(--light-neutral);
    border-radius: 25px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.search-box input:focus {
    outline: none;
    border-color: var(--primary-blue);
}

.filter-categories {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 8px 16px;
    border: 2px solid var(--light-neutral);
    background: var(--white);
    color: var(--text-light);
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.filter-btn.active,
.filter-btn:hover {
    background: var(--primary-blue);
    color: var(--white);
    border-color: var(--primary-blue);
}

.blog-main {
    padding: 60px 0;
    background: var(--ivory);
}

.blog-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
}

.blog-posts {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.blog-post {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px var(--shadow);
    transition: all 0.3s ease;
}

.blog-post:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px var(--shadow-hover);
}

.blog-post.featured {
    border: 2px solid var(--soft-gold);
}

.featured-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--soft-gold);
    color: var(--white);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
}

.post-image {
    height: 120px;
    background: linear-gradient(135deg, var(--primary-blue), var(--soft-teal));
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.post-image i {
    font-size: 2.5rem;
    color: var(--white);
}

.post-content {
    padding: 2rem;
}

.post-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.post-date,
.post-read-time {
    color: var(--text-light);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.post-category {
    padding: 0.2rem 0.6rem;
    border-radius: 12px;
    font-size: 0.8rem;
    color: var(--white);
    font-weight: 500;
}

.post-category.pedagogy { background: var(--education-green); }
.post-category.technology { background: var(--primary-blue); }
.post-category.psychology { background: var(--soft-teal); }
.post-category.research { background: #8e44ad; }
.post-category.motivation { background: var(--soft-gold); }

.blog-post h2,
.blog-post h3 {
    color: var(--text-dark);
    margin-bottom: 1rem;
    line-height: 1.4;
}

.blog-post h2 {
    font-size: 1.8rem;
}

.blog-post h3 {
    font-size: 1.4rem;
}

.blog-post p {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.post-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin: 1.5rem 0;
}

.read-more-btn {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.read-more-btn:hover {
    color: var(--soft-teal);
    transform: translateX(5px);
}

.blog-sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.sidebar-widget {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px var(--shadow);
}

.widget-header {
    background: var(--primary-blue);
    color: var(--white);
    padding: 1rem 1.5rem;
}

.widget-header h3 {
    margin: 0;
    font-size: 1.1rem;
}

.author-card {
    padding: 1.5rem;
    text-align: center;
}

.author-image {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-blue), var(--soft-teal));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    overflow: hidden;
}

.author-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.author-image i {
    font-size: 2rem;
    color: var(--white);
}

.author-info h4 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.author-info p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.author-link {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 500;
}

.recent-posts {
    padding: 1.5rem;
}

.recent-post {
    padding: 1rem 0;
    border-bottom: 1px solid var(--light-neutral);
}

.recent-post:last-child {
    border-bottom: none;
}

.recent-post-date {
    color: var(--text-light);
    font-size: 0.8rem;
    margin-bottom: 0.3rem;
}

.recent-post h4 {
    color: var(--text-dark);
    font-size: 0.9rem;
    line-height: 1.4;
}

.category-list {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.category-list a {
    color: var(--text-light);
    text-decoration: none;
    padding: 0.5rem 0;
    display: flex;
    justify-content: space-between;
    transition: color 0.3s ease;
}

.category-list a:hover {
    color: var(--primary-blue);
}

.category-list span {
    color: var(--text-light);
    font-size: 0.8rem;
}

.newsletter-form {
    padding: 1.5rem;
}

.newsletter-form p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.newsletter-form input {
    width: 100%;
    padding: 10px;
    border: 2px solid var(--light-neutral);
    border-radius: 5px;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--primary-blue);
}

.load-more-section {
    text-align: center;
    margin-top: 3rem;
}

/* Publications Page Styles */
.publications-overview {
    padding: 60px 0;
    background: var(--white);
}

.overview-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.stat-card {
    background: var(--ivory);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
}

.stat-card .stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
}

.stat-card .stat-label {
    font-size: 1.2rem;
    color: var(--text-dark);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.stat-card .stat-description {
    color: var(--text-light);
    font-size: 0.9rem;
}

.publications-main {
    padding: 60px 0;
    background: var(--ivory);
}

.filter-tabs {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    justify-content: center;
}

.tab-btn {
    padding: 12px 24px;
    border: 2px solid var(--light-neutral);
    background: var(--white);
    color: var(--text-light);
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.tab-btn.active,
.tab-btn:hover {
    background: var(--primary-blue);
    color: var(--white);
    border-color: var(--primary-blue);
}

.publications-grid {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.publication-section {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px var(--shadow);
}

.publication-section .section-header {
    margin-bottom: 2rem;
    text-align: left;
}

.publication-section .section-header h2 {
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.8rem;
}

.publication-section .section-header p {
    color: var(--text-light);
    margin-top: 0.5rem;
}

.publication-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
}

.publication-card {
    background: var(--ivory);
    padding: 2rem;
    border-radius: 10px;
    border-left: 4px solid var(--primary-blue);
    transition: transform 0.3s ease;
}

.publication-card.featured {
    border-left-color: var(--soft-gold);
    background: linear-gradient(135deg, #fff9e6, var(--ivory));
}

.publication-card:hover {
    transform: translateY(-3px);
}

.book-image {
    margin-bottom: 1.5rem;
}

.book-image img {
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.book-image img:hover {
    transform: scale(1.05);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.publication-type {
    background: var(--primary-blue);
    color: var(--white);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

.publication-year {
    color: var(--text-light);
    font-weight: 600;
}

.publication-card h3 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.publication-subtitle {
    color: var(--primary-blue);
    font-weight: 500;
    margin-bottom: 1rem;
}

.publication-description {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.publication-details {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    color: var(--text-light);
    font-size: 0.9rem;
}

.detail-item i {
    color: var(--primary-blue);
}

.publication-actions {
    display: flex;
    gap: 1rem;
}

.publication-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.publication-item {
    padding: 1.5rem;
    background: var(--ivory);
    border-radius: 8px;
    border-left: 3px solid var(--education-green);
}

.item-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.5rem;
    gap: 1rem;
}

.item-header h4 {
    color: var(--text-dark);
    font-size: 1.1rem;
    line-height: 1.3;
    flex: 1;
}

.journal-name {
    color: var(--primary-blue);
    font-weight: 500;
    font-style: italic;
    margin-bottom: 0.5rem;
}

.item-description {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.item-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.show-more-publications {
    text-align: center;
    margin-top: 2rem;
}

.book-chapters {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.chapter-item {
    background: var(--ivory);
    padding: 2rem;
    border-radius: 10px;
    border-left: 4px solid var(--soft-teal);
}

.chapter-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
    gap: 1rem;
}

.chapter-header h4 {
    color: var(--text-dark);
    font-size: 1.2rem;
    line-height: 1.3;
    flex: 1;
}

.chapter-year {
    color: var(--text-light);
    font-weight: 600;
}

.book-title {
    color: var(--primary-blue);
    font-weight: 500;
    font-style: italic;
    margin-bottom: 1rem;
}

.chapter-description {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.chapter-details {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.detail {
    color: var(--text-light);
    font-size: 0.9rem;
}

.econtent-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.econtent-card {
    background: var(--ivory);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s ease;
}

.econtent-card:hover {
    transform: translateY(-5px);
}

.econtent-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.econtent-icon i {
    font-size: 2rem;
    color: var(--white);
}

.econtent-card h4 {
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.econtent-description {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.econtent-features {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.feature {
    background: var(--education-green);
    color: var(--white);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.econtent-stats {
    display: flex;
    gap: 1rem;
    justify-content: center;
    font-size: 0.9rem;
    color: var(--text-light);
}

.research-projects {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.project-card {
    background: var(--ivory);
    padding: 2rem;
    border-radius: 10px;
    border-left: 4px solid var(--education-green);
}

.project-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    gap: 1rem;
}

.project-header h4 {
    color: var(--text-dark);
    font-size: 1.3rem;
    line-height: 1.3;
    flex: 1;
}

.project-status {
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

.project-status.completed {
    background: var(--education-green);
    color: var(--white);
}

.project-status.ongoing {
    background: var(--soft-gold);
    color: var(--white);
}

.project-details {
    display: grid;
    gap: 1.5rem;
}

.project-info {
    display: grid;
    gap: 0.5rem;
}

.project-info p {
    color: var(--text-light);
    margin: 0;
}

.project-description p {
    color: var(--text-light);
    line-height: 1.6;
}

.project-outcomes h5 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.project-outcomes ul {
    list-style-position: inside;
    color: var(--text-light);
}

.project-outcomes li {
    margin-bottom: 0.3rem;
}

.awards-timeline {
    position: relative;
    padding-left: 2rem;
}

.awards-timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--primary-blue);
}

.timeline-item {
    position: relative;
    margin-bottom: 2rem;
    padding-left: 2rem;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -0.5rem;
    top: 0.5rem;
    width: 1rem;
    height: 1rem;
    background: var(--soft-gold);
    border-radius: 50%;
    border: 3px solid var(--white);
    box-shadow: 0 0 0 2px var(--primary-blue);
}

.timeline-year {
    position: absolute;
    left: -8rem;
    top: 0;
    background: var(--primary-blue);
    color: var(--white);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.9rem;
    font-weight: 600;
}

.timeline-content h4 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.timeline-content p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Contact Page Styles */
.contact-main {
    padding: 60px 0;
    background: var(--ivory);
}

.contact-layout {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

.contact-form-section {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px var(--shadow);
}

.form-header {
    margin-bottom: 2rem;
}

.form-header h2 {
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-size: 2rem;
}

.form-header p {
    color: var(--text-light);
    line-height: 1.6;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    position: relative;
}

.form-group label {
    display: block;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--light-neutral);
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
}

.form-group select {
    cursor: pointer;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
    padding-right: 45px;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

.form-group select:hover {
    background-color: #f8f9fa;
}

.form-group select:focus {
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.form-group select option {
    background-color: var(--white);
    color: var(--dark-text);
    padding: 8px 12px;
    border: none;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    cursor: pointer;
    line-height: 1.5;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    margin: 0;
}

.submit-btn {
    margin-top: 1rem;
    position: relative;
    overflow: hidden;
}

.btn-loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.contact-info-section {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px var(--shadow);
}

.contact-info h2 {
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-size: 2rem;
}

.contact-info p {
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.contact-method {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.method-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.method-icon i {
    color: var(--white);
    font-size: 1.2rem;
}

.method-content h4 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.method-content p {
    color: var(--text-light);
    margin-bottom: 0.3rem;
    line-height: 1.5;
}

.method-content a {
    color: var(--primary-blue);
    text-decoration: none;
    transition: color 0.3s ease;
}

.method-content a:hover {
    color: var(--soft-teal);
}

.office-hours {
    background: var(--ivory);
    padding: 2rem;
    border-radius: 10px;
}

.office-hours h3 {
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.hours-grid {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin-bottom: 1.5rem;
}

.hours-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--light-neutral);
}

.day {
    color: var(--text-dark);
    font-weight: 500;
}

.time {
    color: var(--text-light);
}

.hours-note {
    color: var(--text-light);
    font-size: 0.9rem;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    line-height: 1.5;
}

.hours-note i {
    color: var(--primary-blue);
    margin-top: 0.2rem;
}

.consultation-areas {
    background: var(--white);
    padding: 3rem 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px var(--shadow);
    margin-bottom: 3rem;
}

.areas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.area-card {
    background: var(--ivory);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s ease;
}

.area-card:hover {
    transform: translateY(-5px);
}

.area-icon {
    width: 70px;
    height: 70px;
    background: var(--primary-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.area-icon i {
    font-size: 1.8rem;
    color: var(--white);
}

.area-card h3 {
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.area-card ul {
    list-style: none;
    text-align: left;
}

.area-card li {
    color: var(--text-light);
    padding: 0.3rem 0;
    position: relative;
    padding-left: 1rem;
}

.area-card li::before {
    content: '•';
    color: var(--primary-blue);
    position: absolute;
    left: 0;
}

.professional-networks {
    background: var(--white);
    padding: 3rem 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px var(--shadow);
    margin-bottom: 3rem;
}

.networks-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.network-card {
    background: var(--ivory);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s ease;
}

.network-card:hover {
    transform: translateY(-5px);
}

.network-icon {
    width: 60px;
    height: 60px;
    background: var(--education-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.network-icon i {
    font-size: 1.5rem;
    color: var(--white);
}

.network-card h4 {
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.network-card p {
    color: var(--text-light);
    line-height: 1.5;
    font-size: 0.9rem;
}

.faq-section {
    background: var(--white);
    padding: 3rem 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px var(--shadow);
}

.faq-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    border: 1px solid var(--light-neutral);
    border-radius: 8px;
    overflow: hidden;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    background: var(--ivory);
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background: var(--light-neutral);
}

.faq-question h4 {
    color: var(--text-dark);
    margin: 0;
    font-size: 1.1rem;
}

.faq-question i {
    color: var(--primary-blue);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 1.5rem;
}

.faq-answer p {
    color: var(--text-light);
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 768px) {
    .page-header {
        padding: 100px 0 40px;
    }

    .header-content h1 {
        font-size: 2.5rem;
    }

    .overview-content,
    .about-content,
    .contributions-content,
    .philosophy-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .qualifications-grid,
    .roles-grid,
    .specializations-grid {
        grid-template-columns: 1fr;
    }

    .blog-layout {
        grid-template-columns: 1fr;
    }

    .blog-sidebar {
        order: -1;
    }

    .controls-content {
        flex-direction: column;
        align-items: stretch;
    }

    .search-box {
        max-width: none;
    }

    .filter-categories {
        justify-content: center;
    }

    .contact-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .areas-grid,
    .networks-grid {
        grid-template-columns: 1fr;
    }

    .awards-timeline {
        padding-left: 1rem;
    }

    .timeline-year {
        position: static;
        display: inline-block;
        margin-bottom: 0.5rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero-text h1 {
        font-size: 2rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .header-content h1 {
        font-size: 2rem;
    }

    .header-content p {
        font-size: 1.1rem;
    }

    .publication-cards {
        grid-template-columns: 1fr;
    }

    .filter-tabs {
        flex-direction: column;
        align-items: center;
    }

    .tab-btn {
        width: 100%;
        max-width: 300px;
    }

    .contact-form-section,
    .contact-info-section {
        padding: 1.5rem;
    }

    .consultation-areas,
    .professional-networks,
    .faq-section {
        padding: 2rem 1rem;
    }
}
