/* Reset and base styles */
* {
    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: #333;
    background-color: #fff;
}

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

/* Header and Banner */
.header {
    background: linear-gradient(135deg, #2c3e50 0%, #3498db 100%);
    color: white;
    padding: 0.5rem 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.banner {
    text-align: center;
    margin-bottom: 0.5rem;
}

.site-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.2rem;
}

.site-title a {
    color: white;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.site-title a:hover {
    opacity: 0.9;
}

.site-description {
    font-size: 0.9rem;
    font-weight: 300;
    opacity: 0.9;
    margin-bottom: 0.3rem;
}

/* Collaboration section */
.collaboration {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 0.2rem;
}

.collaboration-text {
    font-size: 0.8rem;
    opacity: 0.9;
    margin: 0;
}

.collaboration-logo {
    height: 16px;
    width: auto;
    filter: brightness(0) invert(1);
}

/* Logo link styles */
.collaboration a {
    display: inline-block;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.collaboration a:hover {
    opacity: 0.8;
    transform: scale(1.05);
}

/* Navigation */
.navigation {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 0.5rem;
}

.nav-list {
    list-style: none;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.nav-link {
    color: white;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.3rem 0.8rem;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    background-color: rgba(255, 255, 255, 0.2);
    color: #222 !important;
    transform: translateY(-2px);
}

/* Main content */
.main {
    min-height: calc(100vh - 400px);
    padding: 3rem 0;
}

.content,
.home-content {
    max-width: 800px;
    margin: 0 auto;
}

/* Typography */
.page-title,
.hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 1.5rem;
    text-align: center;
}

.hero-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 3rem 2rem;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}

.page-content,
.hero-content {
    font-size: 1.1rem;
    line-height: 1.8;
}

h2 {
    font-size: 1.8rem;
    font-weight: 600;
    color: #2c3e50;
    margin: 2rem 0 1rem 0;
    border-bottom: 2px solid #3498db;
    padding-bottom: 0.5rem;
}

h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: #34495e;
    margin: 1.5rem 0 0.75rem 0;
}

p {
    margin-bottom: 1rem;
}

ul, ol {
    margin: 1rem 0;
    padding-left: 2rem;
}

li {
    margin-bottom: 0.5rem;
}

a {
    color: #3498db;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #2980b9;
    text-decoration: underline;
}

/* Footer */
.footer {
    background-color: #2c3e50;
    color: white;
    padding: 3rem 0 2rem 0;
    margin-top: 4rem;
}

.sponsors {
    text-align: center;
    margin-bottom: 2rem;
}

.sponsors h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: white;
    border-bottom: none;
}

.sponsor-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 2rem;
}

.sponsor-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background-color: white;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.sponsor-logo:hover {
    transform: scale(1.05);
}

.sponsor-logo a {
    display: inline-block;
    transition: opacity 0.3s ease;
}

.sponsor-logo a:hover {
    opacity: 0.9;
}

.sponsor-img {
    height: 40px;
    width: auto;
}

.footer-info {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    opacity: 0.8;
}

/* Team member photos */
.team-photo {
    width: 150px !important;
    height: 150px !important;
    border-radius: 50% !important;
    object-fit: cover !important;
    display: block !important;
    box-sizing: border-box;
}

/* Team member grid container */
.team-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
}

/* Individual team member cards */
.team-member {
    flex: 1 1 200px;
    text-align: left;
    max-width: 250px;
}

/* Keynote Speakers */
.keynote-speakers {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    margin: 2rem 0;
}

.keynote-speaker {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.keynote-photo {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 12px;
    flex-shrink: 0;
}

.keynote-info {
    flex: 1;
}

.keynote-info h3 {
    margin: 0 0 0.5rem 0;
    font-size: 1.5rem;
    color: #2c3e50;
}

.keynote-info h3 a {
    color: #2c3e50;
    text-decoration: none;
    transition: color 0.3s ease;
}

.keynote-info h3 a:hover {
    color: #3498db;
}

.keynote-affiliation {
    color: #666;
    font-style: italic;
    margin: 0 0 1rem 0;
}

.keynote-title {
    color: #2c3e50;
    font-weight: 600;
    font-size: 1.1rem;
    margin: 1rem 0;
    padding: 0.5rem 0;
    border-left: 4px solid #3498db;
    padding-left: 1rem;
    background: rgba(52, 152, 219, 0.05);
    border-radius: 0 8px 8px 0;
}

.keynote-bio {
    color: #555;
    line-height: 1.6;
}

/* Form Styles */
.form-container {
    max-width: 100%;
    margin: 2rem 0;
    padding: 0;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
}

.conference-form h3 {
    color: #2c3e50;
    margin-bottom: 1.5rem;
    text-align: center;
    border-bottom: 2px solid #3498db;
    padding-bottom: 0.5rem;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #2c3e50;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    font-family: inherit;
}

.form-group input[type="text"]:focus,
.form-group input[type="email"]:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.form-group input[type="checkbox"] {
    margin-right: 0.5rem;
    transform: scale(1.2);
}

.form-group label input[type="checkbox"] {
    display: inline;
    width: auto;
    margin-bottom: 0;
}

.form-group small {
    color: #666;
    font-size: 0.85rem;
}

.submit-btn {
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    padding: 0.75rem 2rem;
    border: none;
    border-radius: 4px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    margin-top: 1rem;
}

.submit-btn:hover {
    background: linear-gradient(135deg, #2980b9, #2471a3);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.success-message {
    background: #d4edda;
    color: #155724;
    padding: 1.5rem;
    border-radius: 4px;
    border: 1px solid #c3e6cb;
    margin-top: 1rem;
}

.success-message h3 {
    color: #155724;
    margin-bottom: 0.5rem;
}

/* Google Forms Styles */
.google-form {
    width: 100%;
    border-radius: 4px;
    background: white;
    border: 1px solid #ddd;
}

/* Google Forms responsive design */
@media (max-width: 768px) {
    .google-form {
        height: 700px !important;
    }
}

@media (max-width: 480px) {
    .google-form {
        height: 600px !important;
    }
}

/* Responsive design */
@media (max-width: 768px) {
    .header {
        padding: 0.3rem 0;
    }
    
    .site-title {
        font-size: 1.4rem;
    }
    
    .site-description {
        font-size: 0.8rem;
    }
    
    .collaboration {
        flex-direction: column;
        gap: 0.2rem;
        margin-top: 0.1rem;
    }
    
    .collaboration-text {
        font-size: 0.7rem;
    }
    
    .collaboration-logo {
        height: 12px;
    }
    
    .navigation {
        padding-top: 0.3rem;
    }
    
    .nav-list {
        gap: 0.8rem;
    }
    
    .nav-link {
        font-size: 0.85rem;
        padding: 0.25rem 0.6rem;
    }
    
    .nav-list {
        gap: 1rem;
    }
    
    .nav-link {
        font-size: 1rem;
        padding: 0.4rem 0.8rem;
    }
    
    .page-title,
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-section {
        padding: 2rem 1rem;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .form-container {
        margin: 1rem 0;
        padding: 0;
    }
    
    .conference-form h3 {
        font-size: 1.3rem;
    }
    
    .form-group input[type="text"],
    .form-group input[type="email"],
    .form-group select,
    .form-group textarea {
        padding: 0.6rem;
        font-size: 0.9rem;
    }
    
    .submit-btn {
        padding: 0.6rem 1.5rem;
        font-size: 1rem;
    }
    
    /* Keynote responsive styles */
    .keynote-speaker {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
        padding: 1.5rem;
    }
    
    .keynote-photo {
        width: 150px;
        height: 150px;
        align-self: center;
    }
}

@media (max-width: 480px) {
    .header {
        padding: 0.2rem 0;
    }
    
    .site-title {
        font-size: 1.2rem;
    }
    
    .collaboration-text {
        font-size: 0.65rem;
    }
    
    .collaboration-logo {
        height: 10px;
    }
    
    .nav-list {
        flex-direction: column;
        gap: 0.3rem;
    }
    
    .nav-item {
        text-align: center;
    }
    
    .sponsor-logos {
        flex-direction: column;
        gap: 1rem;
    }
    
    .form-container {
        margin: 0.5rem 0;
        padding: 0;
    }
}
