/* CSS Reset */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    border: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
}

article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
    display: block;
}

ol, ul {
    list-style: none;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

a {
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
}

/* Font Classes - Preserves exact font display */
.audiowide-font {
    font-family: 'Audiowide', sans-serif;
}

.orbitron-font {
    font-family: 'Orbitron', sans-serif;
}

.oleo-font {
    font-family: 'Oleo Script', cursive;
}

/* Base Styles */
body {
    text-align: center;
    font-family: 'Oleo Script', cursive;
    color: #e0e0e0;
    line-height: 1.6;
}

/* Layout */
.center-container {
    padding: 2em;
    background: rgba(0, 0, 0, 0.6);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Header */
.header-w3l {
    padding-top: 2em;
}

.header-w3l h1 {
    font-size: clamp(2em, 5vw, 3.5em);
    color: #ffffff;
    letter-spacing: 6px;
    font-weight: 500;
    text-transform: uppercase;
    margin-bottom: 0.25em;
}

/* DEVELOPER NOTE: To adjust spacing between "Digital Transformating" header and main content below, modify the margin values in .main-content-agile */
.main-content-agile {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 1.5em 0; /* ADJUST TOP/BOTTOM SPACING HERE - decrease first value to bring header closer to content */
}

.sub-main-w3 {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    padding: 2em;
}

/* DEVELOPER NOTES: 
   - To adjust the main tagline font size (Transformating definition), modify the font-size in .wthree-pro h2 below
   - To adjust "Access your Project Console:" font size, modify the font-size for the second h2 using .wthree-pro h2:nth-child(2) 
*/

.wthree-pro h2 {
    font-size: clamp(1.2em, 3vw, 1.6em); /* ADJUST MAIN TAGLINE SIZE HERE - increase/decrease the values */
    color: #fff;
    letter-spacing: 1px;
    margin-bottom: 1.5em;
    font-weight: 400;
    line-height: 1.4;
}

/* DEVELOPER NOTE: Uncomment and adjust the rule below to give "Access your Project Console:" a different font size */
/* 
.wthree-pro h2:nth-child(2) {
    font-size: clamp(1.0em, 2.5vw, 1.3em);
}
*/

/* Form Styles */
form {
    margin: 2em 0;
}

.input-container {
    position: relative;
    margin-bottom: 1.2em;
}

.input-icon {
    position: absolute;
    left: 1.2em;
    top: 50%;
    transform: translateY(-50%);
    color: #ccc;
    font-size: 1.1em;
    z-index: 1;
    pointer-events: none;
}

.sub-main-w3 input[type="email"],
.sub-main-w3 input[type="password"] {
    width: 100%;
    padding: 1em 1.5em 1em 3.5em; /* Added left padding for icon */
    margin-bottom: 1.2em;
    border: 1px solid #444;
    background: rgba(0, 0, 0, 0.4);
    color: #fff;
    font-size: 1em;
    font-family: 'Oleo Script', cursive;
    letter-spacing: 1px;
    border-radius: 4px;
    transition: all 0.3s ease;
    outline: none;
}

.sub-main-w3 input[type="email"]:focus,
.sub-main-w3 input[type="password"]:focus {
    border-color: #2baf2b;
    box-shadow: 0 0 8px rgba(43, 175, 43, 0.3);
}

.sub-main-w3 input[type="email"]::placeholder,
.sub-main-w3 input[type="password"]::placeholder {
    color: #aaa;
    opacity: 1;
}

.right-w3l {
    margin-top: 1.5em;
}

.sub-main-w3 input[type="submit"] {
    width: 60%;
    padding: 12px 0;
    background: #2baf2b;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 1.2em;
    font-family: 'Orbitron', sans-serif;
    letter-spacing: 2px;
    font-weight: 400;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    outline: none;
}

.sub-main-w3 input[type="submit"]:hover {
    background: #3ac73a;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
    transform: translateY(-2px);
}

.sub-main-w3 input[type="submit"]:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Contact Link - Now larger text size */
.sub-w3l {
    margin-top: 2em;
}

.sub-w3l h6 a {
    font-size: 1.1em; /* Increased from 1em - swapped with footer size */
    color: #ccc; /* Keep current color */
    letter-spacing: 1px;
    display: block;
    transition: color 0.3s ease;
}

.sub-w3l h6 a:hover {
    color: #2baf2b;
}

.sub-w3l h6 a i {
    margin-right: 0.5em;
    color: #2baf2b;
}

/* Footer - Now smaller text size */
.footer {
    padding: 2em 0 1em;
    margin-top: auto;
}

.footer p {
    font-size: 0.8em; /* Decreased from 0.9em - swapped with contact size */
    color: #888; /* Keep current color */
    letter-spacing: 1px;
}

.footer p a {
    color: #2baf2b;
    transition: color 0.3s ease;
}

.footer p a:hover {
    color: #3ac73a;
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    .center-container {
        padding: 1em;
    }
    
    .header-w3l {
        padding-top: 1em;
    }
    
    .header-w3l h1 {
        letter-spacing: 4px;
    }
    
    .sub-main-w3 {
        padding: 1em;
        max-width: 320px;
    }
    
    .sub-main-w3 input[type="submit"] {
        width: 80%;
    }
}

@media (max-width: 480px) {
    .header-w3l h1 {
        letter-spacing: 2px;
    }
    
    .sub-main-w3 input[type="submit"] {
        width: 100%;
        font-size: 1.1em;
    }
}

/* Accessibility Improvements */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}