:root {
    --primary-color: #4a90e2;
    --secondary-color: #f39c12;
    --accent-color: #e74c3c;
    --background-color: #f4f4f4;
    --text-color: #333;
    --light-text-color: #666;
    --pink-color: #ff69b4;
    --orange-color: #ffa500;
    --teal-color: #008080;
}


[data-theme="pink"] {
    --primary-color: var(--pink-color);
    --secondary-color: #ff1493;
    --accent-color: #ff69b4;
}


[data-theme="orange"] {
    --primary-color: var(--orange-color);
    --secondary-color: #ff8c00;
    --accent-color: #ffa500;
}


[data-theme="teal"] {
    --primary-color: var(--teal-color);
    --secondary-color: #20b2aa;
    --accent-color: #008080;
}

.theme-btn[data-color="pink"] {
    background-color: #ff69b4;
}

.theme-btn[data-color="orange"] {
    background-color: #ffa500;
}

.theme-btn[data-color="teal"] {
    background-color: #008080;
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.logo-container {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--primary-color);
    font-size: 1.5rem;
    font-weight: 600;
}

.logo {
    width: 50px;
    height: auto;
}

.logo-text {
    font-family: 'Poppins', sans-serif;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-color);
}

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

/* Navbar Css */

.navbar {
    background-color: rgba(255, 255, 255, 0.9);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: background-color 0.3s ease;
}

.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.nav-links {
    display: flex;
    list-style: none;
    margin-right: 1rem;
}

.nav-links li {
    margin-left: 2rem;
}

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

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

/* Theme Switcher Css */

.theme-switcher {
    position: relative;
    display: flex;
    align-items: center;
    z-index: 1001;
    margin-left: 5%;
}

#theme-toggle {
    background-color: var(--primary-color);
    border: none;
    cursor: pointer;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

#theme-toggle:hover {
    background-color: var(--secondary-color);
}

#theme-toggle svg {
    width: 24px;
    height: 24px;
    color: #fff;
}

.theme-options {
    position: absolute;
    top: 120%;
    right: 0;
    background-color: #fff;
    border-radius: 20px;
    padding: 10px;
    display: flex;
    gap: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
}

.theme-options.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.theme-btn {
    width: 24px;
    height: 24px;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.theme-btn:hover {
    transform: scale(1.2);
}

.theme-btn[data-color="red"] {
    background-color: #e74c3c;
}

.theme-btn[data-color="blue"] {
    background-color: #3498db;
}

.theme-btn[data-color="yellow"] {
    background-color: #f1c40f;
}

.theme-btn[data-color="green"] {
    background-color: #2ecc71;
}

.theme-btn[data-color="purple"] {
    background-color: #9b59b6;
}

/* Theme-specific colors */

[data-theme="red"] {
    --primary-color: #e74c3c;
    --secondary-color: #c0392b;
    --accent-color: #d35400;
}

[data-theme="blue"] {
    --primary-color: #3498db;
    --secondary-color: #2980b9;
    --accent-color: #2c3e50;
}

[data-theme="yellow"] {
    --primary-color: #f1c40f;
    --secondary-color: #f39c12;
    --accent-color: #d35400;
}

[data-theme="green"] {
    --primary-color: #2ecc71;
    --secondary-color: #27ae60;
    --accent-color: #16a085;
}

[data-theme="purple"] {
    --primary-color: #9b59b6;
    --secondary-color: #8e44ad;
    --accent-color: #2c3e50;
}

/* Hero Section Css */

.hero {
    background-image: linear-gradient(135deg, rgba(74, 144, 226, 0.8), rgba(231, 76, 60, 0.8)), url('https://images.ctfassets.net/e5382hct74si/5SaFBHqd4zCxkxDNr0xLWl/e9437e7c0a8c6b8a7fc810d72b131370/tech-summit.jpg');
    background-size: cover;
    background-position: center;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    position: relative;
    padding-top: 30px;
}

.hero-content {
    max-width: 800px;
    padding: 2rem;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 10px;
    backdrop-filter: blur(10px);
}

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

.hero p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 2rem;
}

.explore-button {
    display: inline-block;
    background-color: var(--secondary-color);
    color: #fff;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.explore-button:hover {
    background-color: #e67e22;
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Events Section Css */

.events {
    padding: 6rem 0;
    background-color: #fff;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--primary-color);
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background-color: var(--accent-color);
    margin: 1rem auto 0;
}

.event-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.event-card {
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

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

.event-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.event-details {
    padding: 1.5rem;
}

.event-title {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.event-date,
.event-location {
    font-size: 0.9rem;
    color: var(--light-text-color);
    margin-bottom: 0.5rem;
}

.event-time,
.past-event-time {
    font-size: 0.9rem;
    color: #555;
    margin: 0.5rem 0;
}

.event-description {
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.register-button {
    display: inline-block;
    background-color: var(--accent-color);
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.register-button:hover {
    background-color: #c0392b;
    transform: translateY(-2px);
}

/* Footer Css */

.footer {
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 2rem 0;
}

/* Responsiveness */

@media (max-width: 768px) {
    .navbar-container {
        flex-direction: column;
        align-items: center;
    }

    .nav-items {
        flex-direction: column;
        align-items: center;
        margin-top: 1rem;
    }

    .nav-links {
        flex-direction: column;
        align-items: center;
        margin-right: 0;
        margin-bottom: 1rem;
    }

    .nav-links li {
        margin: 0.5rem 0;
    }

    .theme-switcher {
        margin-top: 1rem;
    }

    .theme-options {
        right: 50%;
        transform: translateX(50%) translateY(-10px);
    }

    .theme-options.active {
        transform: translateX(50%) translateY(0);
    }

    .hero-content {
        padding: 0 1rem;
        margin-top: 35%;
    }

    .hero {
        padding-top: 120px;
    }

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

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

    .explore-button {
        padding: 0.8rem 2rem;
    }
}

/* Additional Responsive Styles for smaller screen width - apllied for mobile screens too*/

/* For screens up to 600px */
@media (max-width: 600px) {
    .navbar-container {
        flex-direction: column;
        align-items: center;
    }

    .nav-items {
        flex-direction: column;
        align-items: center;
        margin-top: 1rem;
    }

    .nav-links {
        flex-direction: column;
        align-items: center;
        margin-right: 0;
        margin-bottom: 1rem;
    }

    .nav-links li {
        margin: 0.5rem 0;
    }

    .theme-switcher {
        margin-top: 1rem;
    }

    .theme-options {
        right: 50%;
        transform: translateX(50%) translateY(-10px);
    }

    .theme-options.active {
        transform: translateX(50%) translateY(0);
    }

    .hero {
        padding-top: 140px;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 0.9rem;
    }

    .explore-button {
        padding: 0.7rem 1.5rem;
    }

    .hero-content {
        padding: 0 1rem;
        margin-top: 40%;
    }
}

/* For screens up to 480px */
@media (max-width: 480px) {
    .navbar-container {
        flex-direction: column;
        align-items: center;
    }

    .nav-items {
        flex-direction: column;
        align-items: center;
        margin-top: 1rem;
    }

    .nav-links {
        flex-direction: column;
        align-items: center;
        margin-right: 0;
        margin-bottom: 1rem;
    }

    .nav-links li {
        margin: 0.5rem 0;
    }

    .theme-switcher {
        margin-top: 1rem;
    }

    .theme-options {
        right: 50%;
        transform: translateX(50%) translateY(-10px);
    }

    .theme-options.active {
        transform: translateX(50%) translateY(0);
    }

    .hero {
        padding-top: 160px;
    }

    .hero h1 {
        font-size: 1.8rem;
    }

    .hero p {
        font-size: 0.8rem;
    }

    .explore-button {
        padding: 0.6rem 1.2rem;
    }

    .hero-content {
        padding: 0 1rem;
        margin-top: 45%;
    }
}

/* For screens up to 360px */
@media (max-width: 360px) {
    .navbar-container {
        flex-direction: column;
        align-items: center;
    }

    .nav-items {
        flex-direction: column;
        align-items: center;
        margin-top: 1rem;
    }

    .nav-links {
        flex-direction: column;
        align-items: center;
        margin-right: 0;
        margin-bottom: 1rem;
    }

    .nav-links li {
        margin: 0.5rem 0;
    }

    .theme-switcher {
        margin-top: 1rem;
    }

    .theme-options {
        right: 50%;
        transform: translateX(50%) translateY(-10px);
    }

    .theme-options.active {
        transform: translateX(50%) translateY(0);
    }

    .hero {
        padding-top: 180px;
    }

    .hero h1 {
        font-size: 1.5rem;
    }

    .hero p {
        font-size: 0.7rem;
    }

    .explore-button {
        padding: 0.5rem 1rem;
    }

    .hero-content {
        padding: 0 1rem;
        margin-top: 50%;
    }
}