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

body {
    font-family: "Amazon Ember", Arial, sans-serif; /* AWS font style */
    line-height: 1.6;
    background-color: #f7fafd; /* Light background color similar to AWS */
    color: #161D26; /* Neutral dark gray for text */
    font-size: 16px;
}

/* Header */
header {
    background-color: #161D26; /* AWS-style dark menu bar */
    color: #fff;
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo {
    font-size: 1.8em;
    font-weight: bold;
    color: #EC7211; /* AWS orange logo color */
}

nav a {
    color: #fff;
    margin: 0 15px;
    text-decoration: none;
    font-size: 1em;
    font-weight: 500;
    transition: color 0.3s ease;
}

nav a:hover {
    color: #EC7211; /* Highlight links in orange on hover */
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 60px 20px;
    background-color: #161D26; /* Dark background for hero */
    color: #fff;
}

.hero h1 {
    font-size: 2.8em;
    margin-bottom: 20px;
}

.hero .words-wrapper .words span {
    font-weight: 600;
    color: #EC7211; /* Orange accent color */
}


.hero p {
    font-size: 1.2em;
    margin-top: 10px;
    color: #f4f4f4;
}

/* Button Styling */
button {
    background-color: #EC7211; /* AWS orange */
    color: #000; /* Black text */
    border: none;
    padding: 10px 20px;
    font-size: 1em;
    font-weight: bold;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

button:hover {
    background-color: #ff8b31; /* Slightly lighter orange on hover */
    transform: translateY(-2px);
}

/* Whitelist Section */
.whitelist {
    padding: 60px 20px;
    text-align: center;
}

.join-card {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    max-width: 500px;
    margin: 0 auto;
    padding: 40px 20px;
    text-align: center;
}

.join-card h2 {
    font-size: 1.8em;
    color: #161D26;
    margin-bottom: 20px;
}

.join-card p {
    font-size: 1em;
    color: #555;
    margin-bottom: 20px;
}

.join-card input {
    width: calc(100% - 40px);
    padding: 12px;
    margin-bottom: 15px;
    border: 2px solid #EC7211;
    border-radius: 5px;
    font-size: 1em;
}

.join-card input::placeholder {
    color: #aaa;
}

/* Services Section */
.services {
    background-color: #161D26; /* Light background for services */
    padding: 60px 20px;
    text-align: center;
}

.services h2 {
    font-size: 2em;
    color: #fff;
    margin-bottom: 30px;
}

.service-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.card {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: left;
}

.card:hover, .join-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.card h3 {
    font-size: 1.4em;
    color: #161D26;
    margin-bottom: 10px;
}

.card p {
    color: #555;
    font-size: 1em;
    line-height: 1.5;
}

/* About Section */
.about {
    padding: 60px 20px;
    background-color: #f7fafd;
    text-align: center;
}

.about h2 {
    font-size: 2em;
    color: #161D26;
    margin-bottom: 20px;
}

.about p {
    max-width: 800px;
    margin: 0 auto 40px;
    color: #555;
}

.about-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Spinner (Hidden Class) */
.spinner {
    border: 4px solid rgba(0, 0, 0, 0.1);
    border-top: 4px solid #EC7211; /* Spinner matches button color */
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 20px auto;
}

.hidden {
    display: none;
}

@keyframes spin {
    0% {
        transform: rotate(0);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* Footer */
footer {
    background-color: #161D26;
    color: #fff;
    padding: 20px 0;
    text-align: center;
    font-size: 0.9em;
}


