/* General body styling */
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    
    /* CSS Variables for theming */
    --bg-color: #ffffff;
    --text-color: #000000;
    --h1-color: #000000;
    --slogan-color: #000000;
    --button-bg: #000000;
    --button-hover-bg: #333333; /* Dark grey for hover */
    --button-shadow: rgba(0, 0, 0, 0.1);
    --button-hover-shadow: rgba(0, 0, 0, 0.15);
    --toggle-button-border: #000000;
    --toggle-button-text: #000000;
    --toggle-button-hover-bg: #000000;
    --toggle-button-hover-text: #ffffff;

    background-color: var(--bg-color);
    color: var(--text-color);
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    text-align: center;
    transition: background-color 0.3s ease, color 0.3s ease; /* Smooth transition for theme change */
}

/* Dark mode styles */
body.dark-mode {
    --bg-color: #000000;
    --text-color: #ffffff;
    --h1-color: #ffffff;
    --slogan-color: #ffffff;
    --button-bg: #ffffff;
    --button-hover-bg: #dddddd; /* Light grey for hover */
    --button-shadow: rgba(255, 255, 255, 0.1);
    --button-hover-shadow: rgba(255, 255, 255, 0.15);
    --toggle-button-border: #ffffff;
    --toggle-button-text: #ffffff;
    --toggle-button-hover-bg: #ffffff;
    --toggle-button-hover-text: #000000;
}

/* Main container for the content */
.container {
    padding: 2rem;
}

/* Company name styling */
h1 {
    font-size: 4.5rem;
    font-weight: 700;
    color: var(--h1-color);
    margin-bottom: 1rem;
    letter-spacing: 2px;
}

/* Slogan styling */
.slogan {
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--slogan-color);
    margin-top: 0;
    margin-bottom: 1rem; /* Adjusted margin */
}

/* Learn more link styling */
.learn-more-link {
    display: block;
    margin-bottom: 3rem;
    color: var(--text-color);
    text-decoration: underline;
    font-size: 1rem;
    font-weight: 400;
    transition: color 0.3s ease;
}

/* Contact button styling */
.contact-button {
    display: inline-block;
    background-color: var(--button-bg);
    color: var(--bg-color); /* Invert color for contrast */
    padding: 15px 30px;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
    border-radius: 50px; /* Pill shape */
    transition: background-color 0.3s ease, transform 0.3s ease;
    box-shadow: 0 4px 15px var(--button-shadow);
}

/* Contact button hover effect */
.contact-button:hover {
    background-color: var(--button-hover-bg);
    transform: translateY(-2px);
    color: var(--text-color); /* Invert color on hover */
    box-shadow: 0 6px 20px var(--button-hover-shadow);
}

/* Header styling to position the button */
header {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

/* Theme toggle button styling */
.theme-toggle-button {
    position: fixed; /* Changed from absolute to fixed */
    top: 1rem;
    right: 1rem;
    background: none;
    border: 1px solid var(--toggle-button-border);
    color: var(--toggle-button-text);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.theme-toggle-button:hover {
    background-color: var(--toggle-button-hover-bg);
    color: var(--toggle-button-hover-text);
}