
:root {
    --bg-color: #f0f2f5;
    --bg-image: url('data:image/svg+xml,%3Csvg width="100" height="100" viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"%3E%3Cpath d="M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-4c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm58-33c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm-79 2c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zM12 8c2.21 0 4-1.79 4-4s-1.79-4-4-4S8 1.79 8 4s1.79 4 4 4zm81 2c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm-22-3c-3.314 0-6-2.686-6-6s2.686-6 6-6 6 2.686 6 6-2.686 6-6 6zM32 33c-3.314 0-6-2.686-6-6s2.686-6 6-6 6 2.686 6 6-2.686 6-6 6zm55 40c-3.314 0-6-2.686-6-6s2.686-6 6-6 6 2.686 6 6-2.686 6-6 6zM3 41c-3.314 0-6-2.686-6-6s2.686-6 6-6 6 2.686 6 6-2.686 6-6 6z" id="path" fill="%23e0e0e0" fill-opacity="0.4" fill-rule="evenodd"%3E%3C/path%3E%3C/svg%3E');
    --container-bg: #ffffff;
    --text-color: #333;
    --button-bg: #4CAF50;
    --button-text: #fff;
    --shadow-color: rgba(0,0,0,0.1);
    --shadow-color-light: rgba(0,0,0,0.15);
}

[data-theme="dark"] {
    --bg-color: #1a1a1a;
    --bg-image: url('data:image/svg+xml,%3Csvg width="100" height="100" viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"%3E%3Cpath d="M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-4c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm58-33c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm-79 2c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zM12 8c2.21 0 4-1.79 4-4s-1.79-4-4-4S8 1.79 8 4s1.79 4 4 4zm81 2c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm-22-3c-3.314 0-6-2.686-6-6s2.686-6 6-6 6 2.686 6 6-2.686 6-6 6zM32 33c-3.314 0-6-2.686-6-6s2.686-6 6-6 6 2.686 6 6-2.686 6-6 6zm55 40c-3.314 0-6-2.686-6-6s2.686-6 6-6 6 2.686 6 6-2.686 6-6 6zM3 41c-3.314 0-6-2.686-6-6s2.686-6 6-6 6 2.686 6 6-2.686 6-6 6z" id="path" fill="%23333" fill-opacity="0.4" fill-rule="evenodd"%3E%3C/path%3E%3C/svg%3E');
    --container-bg: #2c2c2c;
    --text-color: #f0f2f5;
    --button-bg: #5cb85c;
    --button-text: #fff;
    --shadow-color: rgba(0,0,0,0.4);
    --shadow-color-light: rgba(0,0,0,0.5);
}

body {
    font-family: 'Roboto', sans-serif;
    background-color: var(--bg-color);
    background-image: var(--bg-image);
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
    transition: background-color 0.3s ease;
}

.theme-switcher {
    position: absolute;
    top: 20px;
    right: 20px;
    display: flex;
    align-items: center;
}

.theme-switcher label {
    color: var(--text-color);
    margin-left: 8px;
}

#theme-toggle {
    -webkit-appearance: none;
    appearance: none;
    width: 40px;
    height: 20px;
    background: #ccc;
    border-radius: 20px;
    position: relative;
    cursor: pointer;
    outline: none;
    transition: background-color 0.3s;
}

#theme-toggle::before {
    content: '';
    width: 16px;
    height: 16px;
    background: white;
    border-radius: 50%;
    position: absolute;
    top: 2px;
    left: 2px;
    transition: transform 0.3s ease;
}

#theme-toggle:checked {
    background: var(--button-bg);
}

#theme-toggle:checked::before {
    transform: translateX(20px);
}

.container {
    background: var(--container-bg);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 20px var(--shadow-color), 0 6px 6px var(--shadow-color-light);
    text-align: center;
    transition: background-color 0.3s ease;
}

h1 {
    font-family: 'Black Han Sans', sans-serif;
    font-size: 3rem;
    color: var(--text-color);
    margin-bottom: 30px;
    transition: color 0.3s ease;
}

.numbers {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 10px;
}

.number {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 28px;
    font-weight: 700;
    color: #fff;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    animation: fadeInScale 0.5s ease-out forwards;
    transform: scale(0);
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.5);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}


/* Color classes for numbers */
.color-1 { background-color: #fbc400; } /* 1-10 */
.color-2 { background-color: #69c8f2; } /* 11-20 */
.color-3 { background-color: #ff7272; } /* 21-30 */
.color-4 { background-color: #aaa; } /* 31-40 */
.color-5 { background-color: #b0d840; } /* 41-45 */


button {
    padding: 15px 30px;
    font-size: 18px;
    font-weight: 700;
    color: var(--button-text);
    background-color: var(--button-bg);
    border: none;
    border-radius: 10px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.4);
    transition: all 0.3s ease;
}

button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(76, 175, 80, 0.6);
}


button:active {
    transform: translateY(0);
    box-shadow: 0 3px 10px rgba(76, 175, 80, 0.4);
}

.contact-link {
    margin-top: 20px;
    font-size: 1.1rem;
}

.contact-link a {
    color: var(--button-bg);
    text-decoration: none;
    font-weight: 700;
    transition: color 0.3s ease;
}

.contact-link a:hover {
    text-decoration: underline;
}

/* Contact Form Styles */
.contact-container {
    max-width: 600px;
    width: 90%;
    padding: 30px;
}

.contact-container h1 {
    font-size: 2.5rem;
    margin-bottom: 25px;
}

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

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

.form-group input[type="text"],
.form-group input[type="email"],
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 16px;
    background-color: var(--bg-color);
    color: var(--text-color);
    box-sizing: border-box; /* Include padding and border in the element's total width and height */
    transition: border-color 0.3s ease, background-color 0.3s ease, color 0.3s ease;
}

.form-group input[type="text"]:focus,
.form-group input[type="email"]:focus,
.form-group textarea:focus {
    border-color: var(--button-bg);
    outline: none;
    box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.2);
}

.contact-container button[type="submit"] {
    width: 100%;
    padding: 15px;
    font-size: 1.1rem;
    margin-top: 15px;
}
