:root {
    --primary-color: #DE6869; /* Sword Health primary blue */
    --secondary-color: #FF8283; /* Sword Health dark blue */
    --accent-color: #E2D5DD; /* Sword Health light blue accent */
    --text-color: #3E424C;
    --light-bg: #FBF9F7; /* Light blue background */
    --button-color: #5993EA;
    --button-pressed-color: #365D95;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    color: var(--text-color);
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

/* Header & Navigation */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 1000;
}

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

.gradient-text {
    background: -webkit-linear-gradient(left, #FF8283 , #5993EA);
    background: -o-linear-gradient(right, #FF8283, #5993EA);
    background: -moz-linear-gradient(right, #FF8283, #5993EA);
    background: linear-gradient(to right, #FF8283 , #5993EA);
   -webkit-background-clip: text;
   -webkit-text-fill-color: transparent;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo h2 {
    margin: 0;
    color: var(--primary-color);
    font-weight: 700;
}

@media (max-width: 768px) {
    .logo {
        margin: 0 auto;
    }
}

.nav-links a {
    margin-left: 25px;
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-color);
}

/* Banner Section */
.banner {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 160px 0 100px;
    text-align: center;
    margin-top: 70px;
}

.banner h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.2;
}

.banner p {
    font-size: 1.5rem;
    max-width: 800px;
    margin: 0 auto 30px;
    opacity: 0.9;
}

/* Buttons */
.btn {
    display: inline-block;
    background: var(--button-color);
    color: white;
    padding: 14px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn:hover {
    background: var(--button-pressed-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(46, 204, 113, 0.3);
}

.btn-outline {
    background: transparent;
    border: 2px solid white;
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Section Styling */
.section {
    padding: 100px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--text-color);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title h2:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: var(--accent-color);
}

.section-title p {
    font-size: 1.2rem;
    color: var(--text-color);
    max-width: 700px;
    margin: 0 auto;
}

/* Event Cards */
.grid1Element {
    display: grid;
    grid-template-columns: repeat(1, 300px);
    justify-content: center;
}

.grid {
    display: grid;
    /*grid-template-columns: repeat(auto-fill, minmax(350px, 1fr)); */
    grid-template-columns: repeat(2, 300px);
    gap: 30px;
    justify-content: center;
}

.grid-photos {
    display: grid;
    /*grid-template-columns: repeat(auto-fill, minmax(350px, 1fr)); */
    /*grid-template-columns: repeat(2, 300px);*/
    gap: 30px;
    justify-content: center;
}

.event-card {
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: all 0.3s ease;
}

.event-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.event-card-img {
    height: 200px;
    background-size: cover;
    background-position: center;
}

.event-card-content {
    padding: 25px;
}

.event-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    color: var(--text-color);
    font-size: 0.9rem;
}

.event-card h3 {
    font-size: 1.5rem;
    margin-top: 0;
    margin-bottom: 10px;
    color: var(--text-color);
}

.event-card p {
    margin-bottom: 20px;
    color: var(--text-color);
}

/* Speaker Cards */
.speaker-card {
    text-align: center;
    background: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.speaker-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.speaker-img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin: 0 auto 20px;
    overflow: hidden;
    border: 5px solid var(--light-bg);
}

.speaker-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.speaker-card h3 {
    margin-top: 0;
    color: var(--text-color);
    font-size: 1.3rem;
}

.speaker-card p {
    color: var(--text-color);
    margin-bottom: 15px;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.social-links a {
    color: var(--text-color);
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--text-color);
}

/* Agenda */
.agenda-list {
    max-width: 900px;
    margin: 0 auto;
}

.agenda-item {
    display: flex;
    margin-bottom: 30px;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.agenda-time {
    background: var(--primary-color);
    color: white;
    padding: 20px;
    min-width: 150px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

.agenda-time strong {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.agenda-content {
    padding: 25px;
    flex-grow: 1;
}

.agenda-content h3 {
    margin-top: 0;
    color: var(--text-color);
    font-size: 1.3rem;
}

.agenda-content p {
    margin-bottom: 10px;
}

/* FAQ Section */
.faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 20px;
    background: white;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.faq-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.faq-item h3 {
    margin-top: 0;
    color: var(--text-color);
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.faq-item p {
    margin-bottom: 0;
}

/* Sponsors */
.sponsor-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 30px;
    align-items: center;
}

.sponsor-logo {
    background: white;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    padding: 20px;
    transition: all 0.3s ease;
}

.sponsor-logo:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.sponsor-logo img {
    max-width: 100%;
    max-height: 80px;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.sponsor-logo:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

/* Registration Form */
.register-form {
    max-width: 600px;
    margin: 0 auto;
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.form-group {
    margin-bottom: 20px;
}

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: border 0.3s ease;
}

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

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

.submit-btn {
    background: var(--button-color);
    color: white;
    border: none;
    padding: 15px 30px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: block;
    width: 100%;
}

.submit-btn:hover {
    background: var(--button-pressed-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Footer */
footer {
    background: var(--secondary-color);
    color: white;
    padding: 60px 0 30px;
    text-align: center;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column h3 {
    color: white;
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.footer-column p {
    margin-bottom: 20px;
    opacity: 0.8;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: white;
    opacity: 0.8;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.footer-links a:hover {
    opacity: 1;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    margin: 0;
    opacity: 0.7;
    font-size: 0.9rem;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .banner h1 {
        font-size: 3rem;
    }

    .section {
        padding: 80px 0;
    }
}

@media (max-width: 768px) {
    .banner {
        padding: 140px 0 80px;
    }

    .banner h1 {
        font-size: 2.5rem;
    }

    .banner p {
        font-size: 1.2rem;
    }

    .section-title h2 {
        font-size: 2rem;
    }

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

    .agenda-item {
        flex-direction: column;
    }

    .agenda-time {
        min-width: auto;
        padding: 15px;
    }

    .mobile-menu-btn {
        display: block;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        padding: 20px;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
        flex-direction: column;
    }

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

    .nav-links a {
        margin: 10px 0;
        display: block;
    }
}

@media (max-width: 576px) {
    .banner h1 {
        font-size: 2rem;
    }

    .banner p {
        font-size: 1rem;
    }

    .section {
        padding: 60px 0;
    }

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

    .register-form {
        padding: 25px;
    }
}