/* MDF 2026-01-07 10:00 v26 */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #2c3e50;
    background: #fff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Floating Quote */
.floating-quote {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.95);
    padding: 15px 20px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    max-width: 300px;
    z-index: 1000;
    transition: all 0.5s ease;
    animation: floatQuote 8s ease-in-out infinite;
}

@keyframes floatQuote {
    0%, 100% {
        transform: translate(0, 0);
    }
    25% {
        transform: translate(-10px, -10px);
    }
    50% {
        transform: translate(10px, -5px);
    }
    75% {
        transform: translate(-5px, 10px);
    }
}

.floating-quote p {
    font-style: italic;
    color: #1a2332;
    margin: 0;
    font-size: 14px;
}

.quote-author {
    text-align: right;
    font-weight: 600;
    margin-top: 5px;
    font-style: normal !important;
    color: #3498db;
}

/* Header */
header {
    background: #1a2332;
    color: white;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 999;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.3rem;
    font-weight: 600;
    cursor: pointer;
}

.logo-image {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: #3498db;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    display: none;
}

nav {
    display: flex;
    gap: 2rem;
    align-items: center;
}

nav a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
    padding: 0.5rem 1rem;
    border-radius: 4px;
}

nav a:hover {
    color: #3498db;
}

nav a.active {
    background: #3498db;
    color: white;
}

.search-bar {
    display: flex;
    gap: 5px;
}

.search-bar input {
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 5px;
    width: 180px;
}

.search-bar button {
    background: #3498db;
    border: none;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s;
}

.search-bar button:hover {
    background: #2980b9;
}

/* Page Content Management */
.page-content {
    display: none;
}

.page-content.active {
    display: block;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #1a2332 0%, #2c3e50 100%);
    color: white;
    padding: 5rem 0 2rem;
}

.slider {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    height: 400px;
    overflow: hidden;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.5s ease;
    background-size: cover;
    background-position: center;
}

.slide.active {
    opacity: 1;
}

.slide-content {
    text-align: center;
    padding: 20px;
    z-index: 2;
}

.slide-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.slide-content p {
    font-size: 1.3rem;
    opacity: 0.95;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.2);
    color: white;
    border: none;
    font-size: 40px;
    padding: 10px 20px;
    cursor: pointer;
    transition: background 0.3s;
    z-index: 10;
}

.slider-btn:hover {
    background: rgba(255,255,255,0.3);
}

.slider-btn.prev {
    left: 20px;
}

.slider-btn.next {
    right: 20px;
}

.hero-subtitle {
    text-align: center;
    padding: 2rem;
    font-size: 0.95rem;
    opacity: 0.8;
}

/* Page Hero */
.page-hero {
    background: linear-gradient(135deg, #1a2332 0%, #2c3e50 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.page-hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.page-subtitle {
    font-size: 1.3rem;
    opacity: 0.9;
    max-width: 800px;
    margin: 0 auto;
}

/* Stats Section */
.stats {
    padding: 4rem 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 2rem;
}

.stat-card {
    perspective: 1000px;
    height: 180px;
    cursor: pointer;
    position: relative;
}

.stat-card:hover .card-front {
    transform: rotateY(180deg);
}

.stat-card:hover .card-back {
    transform: rotateY(0deg);
}

.card-front,
.card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    transition: transform 0.6s;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.card-front {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: white;
    transform: rotateY(0deg);
}

.card-back {
    background: #2c3e50;
    transform: rotateY(-180deg);
}

.card-front h3 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.card-front p {
    font-size: 0.9rem;
    opacity: 0.9;
}

.card-back img {
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

/* Stats for other sections */
.stat-card .number {
    font-size: 2.5rem;
    font-weight: 700;
    display: block;
    margin-bottom: 0.5rem;
}

.stat-card .label {
    font-size: 1rem;
    opacity: 0.9;
}

/* CTA Section */
.cta {
    background: #f8f9fa;
    padding: 3rem 0;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 0.9rem 2rem;
    background: #3498db;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s;
    display: inline-block;
}

.btn:hover {
    background: #2980b9;
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: #3498db;
    border: 2px solid #3498db;
}

.btn-secondary:hover {
    background: #3498db;
    color: white;
}

.btn-primary {
    background: #3498db;
}

.btn-small {
    padding: 0.6rem 1.5rem;
    font-size: 0.9rem;
}

/* Skills Section */
.skills {
    padding: 4rem 0;
    background: white;
}

.skills h2 {
    text-align: center;
    color: #1a2332;
    margin-bottom: 3rem;
    font-size: 2.5rem;
}

.skills-bubbles {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    max-width: 900px;
    margin: 0 auto;
}

.bubble {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 500;
    display: inline-block;
    transition: transform 0.3s, box-shadow 0.3s;
}

.bubble:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(52, 152, 219, 0.3);
}

/* Core Competency Tabs */
.competency {
    padding: 4rem 0;
    background: #f8f9fa;
}

.competency h2 {
    text-align: center;
    color: #1a2332;
    margin-bottom: 2rem;
    font-size: 2.5rem;
}

.tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
}

.tab-btn {
    padding: 1rem 2.5rem;
    background: #ecf0f1;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    color: #2c3e50;
}

.tab-btn:hover {
    background: #bdc3c7;
}

.tab-btn.active {
    background: #3498db;
    color: white;
}

.tab-panel {
    display: none;
}

.tab-panel.active {
    display: block;
    animation: fadeIn 0.5s;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.competency-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.competency-item {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    border-left: 4px solid #3498db;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.competency-item h3 {
    color: #1a2332;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.competency-item p {
    color: #555;
    line-height: 1.8;
}

/* Testimonials Carousel */
.testimonials {
    padding: 4rem 0;
    background: white;
}

.testimonials h2 {
    text-align: center;
    color: #1a2332;
    margin-bottom: 3rem;
    font-size: 2.5rem;
}

.testimonials-carousel {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 60px;
}

.testimonials-wrapper {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    overflow: hidden;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #3498db;
    color: white;
    border: none;
    font-size: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s;
    z-index: 10;
}

.carousel-btn:hover {
    background: #2980b9;
}

.carousel-btn.prev {
    left: 0;
}

.carousel-btn.next {
    right: 0;
}

.testimonial {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 8px;
    border-top: 4px solid #3498db;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    min-height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.testimonial p {
    font-style: italic;
    color: #2c3e50;
    margin-bottom: 1.5rem;
    line-height: 1.8;
    flex-grow: 1;
}

.testimonial-author {
    font-weight: 600;
    color: #1a2332;
    font-style: normal !important;
}

/* Expertise Page */
.expertise-content {
    padding: 4rem 0;
}

.bio-section-with-image {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
    align-items: start;
}

.bio-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.bio-text p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-align: center;
    color: #1a2332;
}

.expertise-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.expertise-card {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 8px;
    border-left: 4px solid #3498db;
}

.expertise-card h3 {
    color: #1a2332;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.expertise-card p {
    color: #555;
    margin-bottom: 1rem;
}

.expertise-card ul {
    list-style: none;
}

.expertise-card li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: #2c3e50;
}

.expertise-card li:before {
    content: "→";
    position: absolute;
    left: 0;
    color: #3498db;
    font-weight: bold;
}

/* Research Page */
.research-hero {
    background: linear-gradient(135deg, #1a2332 0%, #2c3e50 100%);
    color: white;
    padding: 4rem 0 3rem;
    text-align: center;
}

.research-hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.research-hero .hero-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 800px;
    margin: 0 auto 2rem;
}

.thrive-header-image {
    width: 100%;
    max-width: 800px;
    height: auto;
    display: block;
    margin: 2rem auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.section-title-white {
    font-size: 2.5rem;
    color: white;
    margin-bottom: 1rem;
}

.section-subtitle-white {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.9);
    max-width: 800px;
    margin: 0 auto 2rem;
}

.mission-vision-block {
    max-width: 900px;
    margin: 2rem auto;
    text-align: center;
}

.mv-line {
    font-size: 1.1rem;
    line-height: 1.8;
    color: rgba(255,255,255,0.95);
    margin-bottom: 1.5rem;
}

.mv-line strong {
    color: #4299e1;
    font-weight: 700;
}

.metrics-spacing {
    height: 4rem;
}

.thrive-metrics-inline {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.metric-box-inline {
    background: rgba(255,255,255,0.15);
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    backdrop-filter: blur(10px);
}

.metric-box-inline .metric-number {
    font-size: 2.5rem;
    font-weight: 700;
    display: block;
    margin-bottom: 0.5rem;
    color: white;
}

.metric-box-inline .metric-label {
    font-size: 0.9rem;
    opacity: 0.9;
    color: rgba(255,255,255,0.95);
}

.research-content {
    padding: 4rem 0;
}

.scope-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.scope-card {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 8px;
    border-left: 4px solid #3498db;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.scope-card h3 {
    color: #1a2332;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.scope-card p {
    color: #555;
    margin-bottom: 1rem;
}

.scope-card ul {
    list-style: none;
}

.scope-card li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: #2c3e50;
}

.scope-card li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #3498db;
    font-weight: bold;
}

.academic-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.academic-card {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.academic-card h3 {
    color: white;
    margin-bottom: 1rem;
}

.academic-card p {
    color: rgba(255,255,255,0.9);
    margin-bottom: 0.5rem;
}

/* Publications Page */
.publications-content {
    padding: 4rem 0;
}

.publications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.publication-card {
    background: #fff;
    border: 2px solid #ecf0f1;
    border-radius: 8px;
    padding: 2rem;
    transition: all 0.3s;
}

.publication-card:hover {
    border-color: #3498db;
    box-shadow: 0 5px 20px rgba(52, 152, 219, 0.2);
    transform: translateY(-5px);
}

.publication-type {
    background: #3498db;
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 4px;
    font-size: 0.8rem;
    display: inline-block;
    margin-bottom: 1rem;
}

.publication-card h3 {
    color: #1a2332;
    margin-bottom: 0.5rem;
}

.publication-card .year {
    color: #7f8c8d;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.publication-card p {
    color: #2c3e50;
    line-height: 1.7;
}

.publication-stats {
    margin-top: 4rem;
    padding: 3rem;
    background: #f8f9fa;
    border-radius: 8px;
    text-align: center;
}

.stats-showcase {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
    margin: 2rem 0;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #3498db;
}

.stat-label {
    color: #7f8c8d;
}

/* Connect Page */
.connect-content {
    padding: 4rem 0;
}

.connect-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-info h3,
.contact-form h3 {
    color: #1a2332;
    margin-bottom: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contact-icon {
    width: 40px;
    height: 40px;
    background: #3498db;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.contact-item a {
    color: #3498db;
    text-decoration: none;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-link {
    transition: transform 0.3s;
}

.social-link:hover {
    transform: scale(1.1);
}

.social-link img {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

.contact-form form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    padding: 0.8rem;
    border: 2px solid #ecf0f1;
    border-radius: 5px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #3498db;
}

.contact-form textarea {
    min-height: 120px;
    resize: vertical;
}

/* Footer */
footer {
    background: #1a2332;
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    color: #3498db;
    margin-bottom: 1rem;
}

.footer-section p {
    color: #bdc3c7;
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section ul li a:hover {
    color: #3498db;
}

.footer-social {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-social a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-social a:hover {
    color: #3498db;
}

.footer-icon {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #2c3e50;
}

.footer-bottom p {
    color: rgba(255,255,255,0.6);
}

/* Responsive */
@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .competency-grid,
    .academic-grid,
    .connect-grid,
    .scope-grid,
    .thrive-metrics-inline,
    .bio-section-with-image {
        grid-template-columns: 1fr;
    }
    
    .bio-image {
        max-width: 250px;
        margin: 0 auto;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    nav {
        flex-wrap: wrap;
        gap: 1rem;
    }
    
    .slide-content h1 {
        font-size: 2rem;
    }
    
    .slider {
        height: 300px;
    }
    
    .tabs {
        flex-direction: column;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .testimonials-wrapper {
        grid-template-columns: 1fr;
    }
    
    .testimonials-carousel {
        padding: 0 20px;
    }
}