:root {
    /* Light Mode Colors */
    --base-color: #ffffff;
    --text-color: #313030;
    --secondary-text: #6a6969;
    --primary-color: #f9f9f9; /* Softer background color */
    --accent-color: #a1c9d7; /* Soft teal accent */
    --button-color: #4ca1af; /* Muted teal */
    --button-hover: #61b5c4; /* Lighter teal for hover */
    --input-bg: #ffffff;
    --input-text: #313030;
    --border-radius: 10px;  /* Slightly rounder corners for a softer look */
    --box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);  /* Softer and wider shadow */
}

/* Dark mode overrides */
.darkmode {
    --base-color: #1e1e1e;
    --text-color: #f0f0f0;
    --secondary-text: #b0b0b0;
    --primary-color: #2a2a2a;
    --accent-color: #7aa9ad;
    --button-color: #65a160;
    --button-hover: #7bb475;
    --input-bg: #333333;
    --input-text: #f0f0f0;
}

/* Body setup */
body {
    font-family: 'Roboto', sans-serif; /* Modern font */
    background-color: var(--base-color);
    color: var(--text-color);
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* Contact form container */
.contact-container {
    background-color: var(--primary-color);
    padding: 30px;
    border-radius: var(--border-radius);
    width: 90%;
    max-width: 500px;
    box-shadow: var(--box-shadow);
    transition: background-color 0.3s ease;
    text-align: center;
    border: 1px solid var(--accent-color); /* Add border to give it definition */
}

/* Header styling */
h1 {
    font-size: 30px;
    margin-bottom: 20px;
    color: var(--text-color);
    font-weight: 700; /* Heavier font weight for more emphasis */
}

/* Paragraph styling */
p {
    text-align: center;
    color: var(--secondary-text);
    margin-bottom: 20px;
}

/* Form styling */
form {
    display: flex;
    flex-direction: column;
}

/* Label styling */
label {
    margin-bottom: 0.4rem;
    font-weight: 600;
    color: var(--text-color);
}

/* Input and textarea styling */
input, textarea {
    padding: 14px;
    margin-bottom: 18px;
    border: 1px solid #ddd; /* Lighter border */
    border-radius: var(--border-radius);
    font-size: 16px;
    text-align: center;
    background-color: var(--input-bg);
    color: var(--input-text);
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* Input and textarea focus styling */
input:focus, textarea:focus {
    border-color: var(--accent-color);
    outline: none;
}

/* Button styling */
button {
    background-color: var(--button-color);
    color: white;
    border: none;
    padding: 14px 20px;
    font-size: 16px;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

button:hover {
    background-color: var(--button-hover);
    transform: scale(1.05);  /* Subtle scaling effect */
}

/* Social buttons container */
.social-buttons-container {
    text-align: center;
    margin-top: 40px;
}

/* Social media buttons layout */
.social-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
}

/* Styling for individual social media buttons */
.social-button {
    padding: 12px 22px;
    border-radius: 5px;
    text-decoration: none;
    color: white;
    font-weight: bold;
    text-align: center;
    transition: background-color 0.3s ease;
}

/* Instagram button style */
.instagram {
    background-color: #E4405F; /* Instagram color */
}

.instagram:hover {
    background-color: #C13584; /* Darker Instagram color on hover */
}

/* TikTok button style */
.tiktok {
    background-color: #69C9D0; /* TikTok color */
}

.tiktok:hover {
    background-color: #25A9B7; /* Darker TikTok color on hover */
}

/* Mobile adjustments */
@media (max-width: 600px) {
    /* Adjust the contact form container width */
    .contact-container {
        max-width: 400px;
    }

    /* Adjust the button size */
    button {
        padding: 12px 16px;
    }

    /* Stack the social media buttons vertically on small screens */
    .social-buttons {
        flex-direction: column;
    }
}
