/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
    opacity: 0;
    transition: opacity 0.5s ease;
}

body.loaded {
    opacity: 1;
}

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

/* Header Styles */
.header {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h2 {
    color: #2563eb;
    font-size: 1.5rem;
    font-weight: 700;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: #6b7280;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: #2563eb;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #2563eb;
    transition: width 0.3s ease;
}

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

.user-profile {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: transform 0.2s ease;
}

.user-profile:hover {
    transform: translateY(-2px);
}

.avatar {
    width: 40px;
    height: 40px;
    background-color: #2563eb;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.875rem;
}

.username {
    font-weight: 500;
    color: #374151;
}

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%),
                url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 800"><rect fill="%23667eea" width="1200" height="800"/><path fill="%23764ba2" d="M0 400L50 383.3C100 366.7 200 333.3 300 316.7C400 300 500 300 600 325C700 350 800 400 900 416.7C1000 433.3 1100 416.7 1150 408.3L1200 400L1200 800L1150 800C1100 800 1000 800 900 800C800 800 700 800 600 800C500 800 400 800 300 800C200 800 100 800 50 800L0 800Z"/></svg>') center/cover;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 73px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
}

.hero-content {
    position: relative;
    text-align: center;
    color: white;
    z-index: 1;
}

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

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 300;
    opacity: 0.95;
}

/* Who We Are Section */
.who-we-are {
    padding: 5rem 0;
    background-color: #f9fafb;
}

.who-we-are h2 {
    font-size: 2.5rem;
    color: #1f2937;
    margin-bottom: 2rem;
    text-align: center;
}

.who-we-are p {
    font-size: 1.125rem;
    line-height: 1.8;
    color: #4b5563;
    max-width: 900px;
    margin: 0 auto 3rem;
    text-align: center;
}

.cta-button {
    display: block;
    margin: 0 auto;
    padding: 1rem 2.5rem;
    background-color: #2563eb;
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 1.125rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

.cta-button:hover {
    background-color: #1d4ed8;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
}

/* Featured Article Section */
.featured-article {
    padding: 5rem 0;
    background-color: #fff;
}

.article-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    background-color: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.article-image {
    height: 400px;
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    position: relative;
    overflow: hidden;
}

.article-image::after {
    content: '📚';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 5rem;
    opacity: 0.3;
}

.article-content {
    padding: 2rem 3rem 2rem 0;
}

.article-content h3 {
    font-size: 1.875rem;
    color: #1f2937;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.article-content p {
    color: #6b7280;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.read-more {
    color: #2563eb;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.125rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.read-more:hover {
    gap: 1rem;
}

/* Footer */
.footer {
    background-color: #1f2937;
    color: #e5e7eb;
    padding: 3rem 0 1.5rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    color: #fff;
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.75rem;
}

.footer-section a {
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #fff;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #374151;
    color: #9ca3af;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.25rem;
    }
    
    .article-card {
        grid-template-columns: 1fr;
    }
    
    .article-image {
        height: 250px;
    }
    
    .article-content {
        padding: 2rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

/* Animations */
section {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

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

/* Smooth transitions for all interactive elements */
button, a {
    transition: all 0.3s ease;
}

/* About Page Team Section */
.about-main {
    padding-top: 120px;
    padding-bottom: 60px;
}

.about-section {
    margin-bottom: 4rem;
    text-align: center;
}

.about-section h1 {
    font-size: 2.75rem;
    color: #1f2937;
    margin-bottom: 1.5rem;
}

.about-description {
    font-size: 1.2rem;
    color: #4b5563;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

.team-section {
    margin-top: 3rem;
}

.team-section h2 {
    text-align: center;
    font-size: 2rem;
    color: #2563eb;
    margin-bottom: 2.5rem;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2.5rem;
    max-width: 1000px;
    margin: 0 auto;
}

.team-member {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(37, 99, 235, 0.07);
    padding: 2rem 1.5rem 1.5rem 1.5rem;
    text-align: center;
    transition: transform 0.2s, box-shadow 0.2s;
}

.team-member:hover {
    transform: translateY(-6px) scale(1.03);
    box-shadow: 0 8px 32px rgba(37, 99, 235, 0.13);
}

.team-avatar {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-weight: 700;
    font-size: 2rem;
    color: white;
    position: relative;
    transition: transform 0.3s ease;
}

/* Different colors for each team member */
.team-member:nth-child(1) .team-avatar {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.team-member:nth-child(2) .team-avatar {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.team-member:nth-child(3) .team-avatar {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.team-member:nth-child(4) .team-avatar {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}

.team-member:nth-child(5) .team-avatar {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
}

.team-member:hover .team-avatar {
    transform: scale(1.05);
}

.team-member h3 {
    margin: 0.5rem 0 0.25rem 0;
    font-size: 1.25rem;
    color: #1f2937;
}

.team-position {
    color: #2563eb;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.team-bio {
    color: #4b5563;
    font-size: 1rem;
    margin-bottom: 0;
}

/* Toast Warning Styles */
.toast-warning {
    position: fixed;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%) scale(0.95);
    background: #fbbf24;
    color: #1f2937;
    padding: 1rem 2.5rem;
    border-radius: 32px;
    font-size: 1.1rem;
    font-weight: 600;
    box-shadow: 0 6px 24px rgba(251, 191, 36, 0.18);
    opacity: 0;
    pointer-events: none;
    z-index: 9999;
    transition: opacity 0.3s, transform 0.3s;
}
.toast-warning.show {
    opacity: 1;
    transform: translateX(-50%) scale(1);
    pointer-events: auto;
} 