:root {
    /* Colors extracted from Figma Tech Talks design */
    --primary-color: #6B4CE6; /* Deep Purple */
    --secondary-color: #8B7AE8; /* Light Purple */
    --accent-color: #5B8EF4; /* Blue accent */
    --text-color: #1A1A2E; /* Dark navy text */
    --light-bg: #FBF9F7; /* Warm cream background */
    --button-color: #6B4CE6; /* Purple button */
    --button-pressed-color: #5436C4; /* Darker purple */
    --gradient-start: #6B4CE6; /* Deep purple for gradients */
    --gradient-end: #8B7AE8; /* Light purple for gradients */
    --banner-bg: #2D1B69; /* Deep navy purple for banner */
    --circle-gradient-1: #5B8EF4; /* Blue circle */
    --circle-gradient-2: #6B4CE6; /* Purple circle */
}

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;
    background-color: var(--light-bg);
}

/* 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;
    height: 80px;
}

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

.gradient-text {
    background: -webkit-linear-gradient(left, var(--gradient-start), var(--gradient-end));
    background: -o-linear-gradient(right, var(--gradient-start), var(--gradient-end));
    background: -moz-linear-gradient(right, var(--gradient-start), var(--gradient-end));
    background: linear-gradient(to right, var(--gradient-start), var(--gradient-end));
   -webkit-background-clip: text;
   -webkit-text-fill-color: transparent;
}

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

.logo {
    display: flex;
    align-items: center;
}

.header-logo {
    height: 50px;
    width: auto;
    display: block;
}

@media (max-width: 768px) {
    header {
        height: 70px;
    }

    .logo {
        margin: 0 auto;
    }

    .header-logo {
        height: 40px;
    }
}

.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(180deg, #000000 0%, #1F222C 100%);
    color: white;
    padding: 120px 0 100px;
    text-align: left;
    margin-top: 80px;
    position: relative;
    overflow: hidden;
}

.banner::before {
    content: '';
    position: absolute;
    width: 1688px;
    height: 1688px;
    border-radius: 50%;
    top: -148px;
    left: 300px;
    opacity: 0.15;
    background: radial-gradient(circle, rgba(89, 147, 234, 0.3) 0%, transparent 70%);
    pointer-events: none;
}

.banner .container {
    position: relative;
    z-index: 1;
}

.banner-logo {
    margin-bottom: 40px;
}

.banner-logo img {
    height: 80px;
    width: auto;
    opacity: 0.95;
}

.banner h1 {
    font-size: 2.5rem;
    margin-bottom: 0;
    font-weight: 600;
    line-height: 1.3;
    max-width: 650px;
}

.highlight-gradient {
    background: linear-gradient(91.26deg, #5993EA 0.63%, #FF8283 98.97%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.banner p {
    font-size: 1.3rem;
    max-width: 600px;
    margin: 0 0 30px;
    opacity: 0.95;
    line-height: 1.5;
}

/* Buttons */
.btn {
    display: inline-block;
    background: #4A89E8;
    color: white;
    padding: 14px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    box-shadow: 0 4px 15px rgba(74, 137, 232, 0.3);
    width: 200px;
    text-align: center;
}

.btn:hover {
    background: #3A79D8;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(74, 137, 232, 0.4);
}

.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: linear-gradient(91.26deg, #5993EA 0.63%, #FF8283 98.97%);
}

.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(2, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.grid-photos img {
    width: 100%;
    max-width: 600px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.grid-photos img:nth-child(3) {
    grid-column: 1 / 3;
    max-width: 100%;
    justify-self: center;
}

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

/* Mixed photo layout (2 horizontal on left, 1 vertical on right) */
.grid-photos-mixed {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.photos-left {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.photos-left img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.photos-right img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.photos-left img:hover,
.photos-right img:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.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: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.agenda-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.agenda-time {
    background: linear-gradient(180deg, #000000 0%, #1F222C 100%);
    color: white;
    padding: 20px;
    width: 180px;
    flex-shrink: 0;
    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: #4A89E8;
    color: white;
    border: none;
    padding: 15px 30px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: block;
    width: 100%;
    text-align: center;
    box-shadow: 0 4px 15px rgba(74, 137, 232, 0.3);
}

.submit-btn:hover {
    background: #3A79D8;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(74, 137, 232, 0.4);
}

/* Footer */
footer {
    background: linear-gradient(180deg, #000000 0%, #1F222C 100%);
    color: white;
    padding: 60px 0 30px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    width: 1200px;
    height: 1200px;
    border-radius: 50%;
    bottom: -400px;
    right: -200px;
    opacity: 0.15;
    background: radial-gradient(circle, rgba(89, 147, 234, 0.3) 0%, transparent 70%);
    pointer-events: none;
}

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

.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);
    position: relative;
    z-index: 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;
        text-align: center;
        margin-top: 70px;
    }

    .banner h1 {
        font-size: 2rem;
        max-width: 100%;
    }

    .banner p {
        font-size: 1.1rem;
        max-width: 100%;
    }

    .banner-logo {
        text-align: center;
    }

    .banner::before {
        width: 800px;
        height: 800px;
        top: -100px;
        left: 50%;
        transform: translateX(-50%);
        opacity: 0.1;
        background: radial-gradient(circle, rgba(89, 147, 234, 0.4) 0%, transparent 70%);
    }

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

    footer::before {
        width: 800px;
        height: 800px;
        bottom: -300px;
        right: 50%;
        transform: translateX(50%);
        opacity: 0.1;
        background: radial-gradient(circle, rgba(89, 147, 234, 0.4) 0%, transparent 70%);
    }

    .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: 1.6rem;
    }

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

    .banner-logo img {
        height: 60px;
    }

    .banner::before {
        width: 600px;
        height: 600px;
        top: -50px;
        left: 50%;
        transform: translateX(-50%);
        opacity: 0.08;
        background: radial-gradient(circle, rgba(89, 147, 234, 0.5) 0%, transparent 70%);
    }

    footer::before {
        width: 600px;
        height: 600px;
        bottom: -200px;
        right: 50%;
        transform: translateX(50%);
        opacity: 0.08;
        background: radial-gradient(circle, rgba(89, 147, 234, 0.5) 0%, transparent 70%);
    }

    .section {
        padding: 60px 0;
    }

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

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