:root {
    --primary-blue: #1428A0;
    --secondary-green: #aacd6b;
    --text-dark: #444444;
    --light-green: #f0f6e5;
}

body {
    font-family: "Open Sans", sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: "Montserrat", sans-serif;
}

.gradient-bg {
    background: linear-gradient(135deg, var(--primary-blue) 0%, #2563eb 100%);
}

.hero-pattern {
    background-image:
        url("../img/hero.webp"),
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    background-position:
        top center,
        0 0,
        0 0,
        0 0;
    background-repeat: no-repeat;
    background-size: cover;
}

.card-hover {
    transition: all 0.3s ease;
}

.card-hover:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.stagger-1 { animation-delay: 0.1s; }
.stagger-2 { animation-delay: 0.2s; }
.stagger-3 { animation-delay: 0.3s; }
.stagger-4 { animation-delay: 0.4s; }
.stagger-5 { animation-delay: 0.5s; }
.stagger-6 { animation-delay: 0.6s; }

.text-primary {
    color: var(--primary-blue);
}

.text-secondary {
    color: var(--secondary-green);
}

.bg-primary {
    background-color: var(--primary-blue);
}

.bg-secondary {
    background-color: var(--secondary-green);
}

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

.nav-scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.mobile-menu {
    transform: translateX(100%);
    transition: transform 0.3s ease;
}

.mobile-menu.active {
    transform: translateX(0);
}

/* Mobile dropdown styling */
#mobile-about-dropdown {
    transition: all 0.3s ease;
    max-height: 0;
    overflow: hidden;
}

#mobile-about-dropdown:not(.hidden) {
    max-height: 200px;
}

#mobile-about-dropdown a {
    border-left: 2px solid transparent;
    transition: all 0.3s ease;
}

#mobile-about-dropdown a:hover {
    border-left-color: var(--primary-blue);
    background-color: rgba(20, 40, 160, 0.05);
}

/* Desktop dropdown styling */
.group:hover .group-hover\:opacity-100 {
    opacity: 1;
}

.group:hover .group-hover\:visible {
    visibility: visible;
}

/* Ensure dropdown is above other elements */
.group .absolute {
    z-index: 1000;
}

.icon-color-1 { color: #ff689b; }
.icon-color-2 { color: #e9bf06; }
.icon-color-3 { color: #3fcdc7; }
.icon-color-4 { color: #41cf2e; }
.icon-color-5 { color: #d6ff22; }
.icon-color-6 { color: #4680ff; }

/* Page-specific styles */
.page-header {
    background: linear-gradient(135deg, var(--primary-blue) 0%, #2563eb 100%);
    padding: 120px 0 80px;
    color: white;
    text-align: center;
}

.page-header h1 {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.page-header p {
    font-size: 1.25rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

.content-section {
    padding: 80px 0;
}

.content-section:nth-child(even) {
    background-color: #f8fafc;
}

.content-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    margin-bottom: 2rem;
}

.content-card h3 {
    color: var(--primary-blue);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

/* Form styles */
.contact-form {
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    padding: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-dark);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(20, 40, 160, 0.1);
}

.btn-primary {
    background-color: var(--primary-blue);
    color: white;
    padding: 0.75rem 2rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--secondary-green);
    transform: translateY(-2px);
}

/* Table styles */
.data-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.data-table th {
    background-color: var(--primary-blue);
    color: white;
    padding: 1rem;
    text-align: left;
    font-weight: 600;
}

.data-table td {
    padding: 1rem;
    border-bottom: 1px solid #e2e8f0;
}

.data-table tr:hover {
    background-color: #f8fafc;
}

/* Archive and proceedings styles */
.archive-item,
.proceedings-item {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.archive-item:hover,
.proceedings-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.archive-item h4,
.proceedings-item h4 {
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
}

.archive-item .meta,
.proceedings-item .meta {
    color: #6b7280;
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

/* Conference styles */
.conference-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

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

.conference-card h3 {
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.conference-card .date {
    color: var(--secondary-green);
    font-weight: 600;
    margin-bottom: 1rem;
}

/* Announcement styles */
.announcement-item {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border-left: 4px solid var(--primary-blue);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.announcement-item h4 {
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
}

.announcement-item .date {
    color: #6b7280;
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .page-header h1 {
        font-size: 2rem;
    }
    
    .page-header p {
        font-size: 1rem;
    }
    
    .content-section {
        padding: 40px 0;
    }
    
    .content-card {
        padding: 1.5rem;
    }
}
