/* ICOIS Website - Clean Static CSS (Based on icois.site design) */
/* Color Palette */
:root {
    --primary-blue: #0066b3;
    --nav-red: #e53935;
    --accent-cyan: #00bcd4;
    --accent-yellow: #ffc107;
    --text-dark: #333333;
    --text-light: #666666;
    --bg-light: #f5f5f5;
    --bg-white: #ffffff;
    --footer-blue: #0d47a1;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background: var(--bg-white);
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

/* Header */
.header {
    background: var(--primary-blue);
    padding: 20px 0;
    text-align: center;
}

.logo-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.logo-icon {
    width: 80px;
    height: auto;
}

.logo-text {
    color: white;
    font-size: 2.5rem;
    font-weight: bold;
    letter-spacing: 3px;
}

/* Navigation */
.nav {
    background: var(--nav-red);
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
}

.nav-menu {
    display: flex;
    gap: 0;
}

.nav-item {
    position: relative;
}

.nav-link {
    display: block;
    padding: 15px 30px;
    color: white;
    font-weight: 500;
    font-size: 1rem;
    transition: background 0.3s;
}

.nav-link:hover {
    background: rgba(0, 0, 0, 0.1);
}

.nav-link.active {
    background: rgba(0, 0, 0, 0.2);
}

/* Dropdown */
.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 200px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 1001;
}

.nav-item:hover .dropdown-menu {
    display: block;
}

.dropdown-link {
    display: block;
    padding: 12px 20px;
    color: var(--text-dark);
    border-bottom: 1px solid #eee;
    transition: background 0.3s;
}

.dropdown-link:hover {
    background: var(--bg-light);
    color: var(--nav-red);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    padding: 15px;
    cursor: pointer;
}

/* Hero Section */
.hero {
    position: relative;
    height: 70vh;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    background: linear-gradient(135deg, rgba(26, 54, 93, 0.9), rgba(45, 55, 72, 0.9)),
                url('../images/hero-bg.jpg') center/cover no-repeat;
    background-color: #1a365d;
}

.hero-content {
    max-width: 900px;
    padding: 0 20px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: bold;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 30px;
    opacity: 0.95;
}

.hero-btn {
    display: inline-block;
    background: var(--nav-red);
    color: white;
    padding: 15px 40px;
    font-size: 1.1rem;
    font-weight: 500;
    border-radius: 4px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.hero-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(229, 57, 53, 0.4);
}

/* Section Styles */
.section {
    padding: 80px 20px;
}

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

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

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

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-label {
    color: var(--nav-red);
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 10px;
}

.section-title {
    font-size: 2.2rem;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.section-divider {
    width: 80px;
    height: 3px;
    background: var(--accent-cyan);
    margin: 0 auto 20px;
}

.section-desc {
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.1rem;
}

/* Icon Cards (Education, Professional, Research, Management) */
.icon-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.icon-card {
    text-align: center;
    padding: 30px 20px;
}

.icon-card-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
}

.icon-card-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-dark);
}

/* Feature Cards (Research Areas) */
.feature-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.feature-card {
    display: flex;
    overflow: hidden;
    background: white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.feature-card.reverse {
    flex-direction: row-reverse;
}

.feature-card-image {
    width: 50%;
    min-height: 250px;
    object-fit: cover;
}

.feature-card-content {
    width: 50%;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.feature-card-content.cyan {
    background: var(--accent-cyan);
    color: white;
}

.feature-card-content.yellow {
    background: var(--accent-yellow);
    color: var(--text-dark);
}

.feature-card-title {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 15px;
}

.feature-card-desc {
    font-size: 1rem;
    line-height: 1.7;
}

/* ICOIS Review Section */
.review-section {
    display: flex;
    gap: 50px;
    align-items: center;
}

.review-content {
    flex: 1;
}

.review-icons {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.review-icons img {
    width: 50px;
    height: 50px;
    opacity: 0.6;
}

.review-box {
    display: inline-flex;
    align-items: stretch;
    margin-bottom: 30px;
}

.review-label {
    background: var(--accent-cyan);
    color: var(--nav-red);
    padding: 15px 25px;
    font-weight: bold;
    font-size: 1.1rem;
}

.review-title {
    background: var(--bg-light);
    padding: 15px 25px;
    font-weight: bold;
    font-size: 1.1rem;
}

.review-list {
    border-left: 4px solid var(--accent-yellow);
    padding-left: 20px;
}

.review-list li {
    margin-bottom: 10px;
    color: var(--text-light);
}

.review-image {
    flex: 1;
    position: relative;
}

.review-image img {
    width: 100%;
    max-width: 400px;
}

.review-image-overlay {
    position: absolute;
    top: 0;
    right: 0;
    width: 60%;
    height: 50%;
    background: var(--footer-blue);
}

/* About Section */
.about-section {
    display: flex;
    gap: 50px;
    align-items: center;
}

.about-content {
    flex: 1;
}

.about-image {
    flex: 1;
    position: relative;
}

.about-image img {
    width: 100%;
}

.about-image-accent {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 60%;
    height: 30%;
    background: var(--accent-yellow);
    z-index: -1;
}

/* Scholar Cards */
.scholars-filter {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 20px;
}

.alphabet-filter {
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
}

.alphabet-filter a {
    padding: 5px 10px;
    color: var(--text-light);
    font-size: 0.9rem;
    transition: color 0.3s;
}

.alphabet-filter a:hover,
.alphabet-filter a.active {
    color: var(--accent-cyan);
}

.category-filter select {
    padding: 10px 20px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    cursor: pointer;
}

.search-box {
    display: flex;
}

.search-box input {
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 4px 0 0 4px;
    font-size: 1rem;
    width: 200px;
}

.search-box button {
    padding: 10px 15px;
    background: var(--accent-cyan);
    border: none;
    border-radius: 0 4px 4px 0;
    color: white;
    cursor: pointer;
}

.scholars-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.scholar-card {
    background: white;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

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

.scholar-card-image {
    width: 100%;
    height: 280px;
    object-fit: cover;
}

.scholar-card-name {
    background: var(--accent-cyan);
    padding: 15px;
    text-align: center;
}

.scholar-card-name a {
    color: white;
    font-weight: bold;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.scholar-card-title {
    padding: 15px;
    text-align: center;
    color: var(--text-light);
    font-size: 0.95rem;
}

/* Conference Image */
.conference-image {
    width: 100%;
    max-height: 500px;
    object-fit: cover;
}

/* Footer */
.footer {
    background: var(--footer-blue);
    color: white;
    padding: 60px 20px 30px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.footer-logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-logo img {
    width: 100px;
    margin-bottom: 15px;
}

.footer-logo-text {
    font-size: 1.5rem;
    font-weight: bold;
}

.footer-section h4 {
    margin-bottom: 15px;
    font-size: 1rem;
}

.footer-section p,
.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    margin-bottom: 8px;
    display: block;
}

.footer-section a:hover {
    color: white;
}

.language-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.language-link {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.8);
}

.language-link img {
    width: 24px;
    height: 16px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.3s;
}

.social-links a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    margin-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-blue);
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--footer-blue);
}

/* Language Switcher */
.lang-switch {
    position: fixed;
    top: 100px;
    right: 20px;
    z-index: 998;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.lang-btn {
    padding: 8px 12px;
    background: white;
    border: 1px solid #ddd;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.85rem;
    transition: background 0.3s;
}

.lang-btn:hover,
.lang-btn.active {
    background: var(--primary-blue);
    color: white;
    border-color: var(--primary-blue);
}

/* Page Header */
.page-header {
    background: var(--primary-blue);
    padding: 60px 20px;
    text-align: center;
    color: white;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.page-header p {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Publications */
.publications-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.publication-item {
    background: white;
    padding: 25px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    border-left: 4px solid var(--accent-cyan);
}

.publication-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.publication-authors {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 8px;
}

.publication-meta {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Partners Grid */
.partners-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.partner-card {
    background: white;
    padding: 30px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s;
}

.partner-card:hover {
    transform: translateY(-5px);
}

.partner-logo {
    width: 150px;
    height: 80px;
    object-fit: contain;
    margin: 0 auto 15px;
}

.partner-name {
    font-weight: 600;
    color: var(--text-dark);
}

/* News */
.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.news-card {
    background: white;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s;
}

.news-card:hover {
    transform: translateY(-5px);
}

.news-card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

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

.news-card-date {
    color: var(--accent-cyan);
    font-size: 0.85rem;
    margin-bottom: 10px;
}

.news-card-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.news-card-excerpt {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* Contact Form */
.contact-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

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

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

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

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-weight: 500;
    color: var(--text-dark);
}

.form-group input,
.form-group textarea {
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    font-family: inherit;
}

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

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
}

.submit-btn {
    padding: 15px 30px;
    background: var(--nav-red);
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.3s;
}

.submit-btn:hover {
    background: #c62828;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .icon-cards {
        grid-template-columns: repeat(2, 1fr);
    }

    .feature-cards {
        grid-template-columns: 1fr;
    }

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

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

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

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }

    .nav-container {
        flex-direction: column;
    }

    .nav-menu {
        display: none;
        flex-direction: column;
        width: 100%;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-link {
        text-align: center;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .dropdown-menu {
        position: static;
        box-shadow: none;
        background: rgba(0, 0, 0, 0.1);
    }

    .dropdown-link {
        color: white;
        border-bottom-color: rgba(255, 255, 255, 0.1);
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

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

    .feature-card {
        flex-direction: column !important;
    }

    .feature-card-image,
    .feature-card-content {
        width: 100%;
    }

    .review-section,
    .about-section {
        flex-direction: column;
    }

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

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

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

    .contact-section {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-logo {
        align-items: center;
    }

    .lang-switch {
        top: auto;
        bottom: 90px;
        right: 10px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .icon-cards {
        grid-template-columns: 1fr;
    }

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

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

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

    .alphabet-filter {
        justify-content: center;
    }

    .search-box input {
        width: 150px;
    }
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.mt-20 {
    margin-top: 20px;
}

.mb-20 {
    margin-bottom: 20px;
}

.hidden {
    display: none !important;
}

/* Loading State */
.loading {
    text-align: center;
    padding: 50px;
    color: var(--text-light);
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 50px;
    color: var(--text-light);
}

.empty-state-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    opacity: 0.5;
}
