:root {
    /* Keeping variables just for reference */
    --primary-color: #eb5924;
    --secondary-color: #ffffff;
    --heading-color: #333333;
    --paragraph-color: #555555;
}

body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    overflow-x: hidden;
    background-color: #f8f8f8;
}

.background-container {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/industrial_background.jpg');
    background-size: cover;
    background-position: center;
    z-index: -2;
    animation: backgroundZoom 20s infinite alternate ease-in-out;
}

.overlay {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.7);
    z-index: -1;
}

.container {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    color: #555555;
    overflow-y: auto;
    padding-bottom: 100px;
}

.logo {
    max-width: 250px;
    height: auto;
    display: block;
    margin: 0 auto 10px;
    padding-top: 0;
    opacity: 0;
    transform: scale(0.8);
    animation: scaleIn 1s ease-out forwards;
    animation-delay: 0.2s;
}

.hero-content {
    max-width: 880px;
    text-align: center;
    margin: auto;
    padding: 0 20px;
}

.hero-content h1 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 64px;
    color: #333333;
    margin-bottom: 15px;
    opacity: 0;
    animation: fadeIn 1s ease-out forwards;
    animation-delay: 0.5s;
}

.hero-content p {
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    font-size: 16px;
    color: #555555;
    margin-bottom: 30px;
    line-height: 1.6;
    opacity: 0;
    animation: fadeIn 1s ease-out forwards;
    animation-delay: 1s;
}

.subscription-box {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
    opacity: 0;
    animation: fadeIn 1s ease-out forwards;
    animation-delay: 1.5s;
    align-items: center;
}

.subscription-box input[type="email"] {
    padding: 12px 15px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    width: 100%;
    max-width: 300px;
    background-color: #f2f2f2;
    color: #333333;
}

.subscription-box button {
    background-color: #eb5924;
    color: #ffffff;
    padding: 12px 25px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    width: 100%;
    max-width: 300px;
}

.subscription-box button:hover {
    background-color: #d44a1c;
    transform: translateY(-2px);
}

.contact-info {
    font-size: 14px;
    color: #555555;
    margin-bottom: 20px;
    opacity: 0;
    animation: fadeIn 1s ease-out forwards;
    animation-delay: 2s;
}

.contact-info a {
    color: #eb5924;
    text-decoration: none;
}

.contact-info a:hover {
    text-decoration: underline;
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
    opacity: 0;
    animation: fadeIn 1s ease-out forwards;
    animation-delay: 2.5s;
    justify-content: center;
}

.social-icons a {
    color: #eb5924;
    font-size: 24px;
    transition: color 0.3s ease, transform 0.2s ease;
}

.social-icons a:hover {
    color: #d44a1c;
    transform: translateY(-3px) scale(1.1);
}

#subscriptionMessage {
    color: #eb5924;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes scaleIn {
    from { opacity: 0; transform: scale(0.8); }
    to { opacity: 1; transform: scale(1); }
}

@keyframes backgroundZoom {
    from { transform: scale(1); }
    to { transform: scale(1.05); }
}

/* Responsive Design */
@media (max-width: 768px) {
    html, body { overflow: hidden; }
    .container, header, main, footer, .hero-content, .subscription-box, .social-icons, .contact-info { box-sizing: border-box; }
    img { max-width: 100%; height: auto; }
    .hero-content { text-align: center; margin: 0 auto; max-width: 95%; width: 100%; }
    .hero-content h1 { font-size: 28px; margin-bottom: 10px; }
    .hero-content p { font-size: 14px; margin-bottom: 20px; }
    .subscription-box { width: 100%; }
    .subscription-box input[type="email"] { max-width: 100%; width: 100%; margin-bottom: 5px; }
    .subscription-box button { max-width: 100%; width: 50%; margin: 0 auto; }
    .social-icons { justify-content: center; }
    .logo { max-width: 160px; margin-bottom: 15px; margin-top: 30px; }
    main { margin: 0 auto; padding: 10px 15px; }
}

/* Base styles for full-page layout */
html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
    color: #333333;
    background-color: #f8f8f8;
    overflow: hidden;
}

body { display: flex; flex-direction: column; }

header { flex-shrink: 0; padding: 0; text-align: center; background-color: white; }
main { flex-grow: 1; display: flex; flex-direction: column; justify-content: center; align-items: center; padding: 10px 20px; text-align: center; background-color: white; }
main section { background-color: white; padding: 1rem 2rem; border-radius: 8px; max-width: 800px; width: 100%; }

@media (min-width: 768px) { header, footer { padding: 1.5rem; } main { padding: 2rem; } }
@media (min-width: 1024px) { header, footer { padding: 2rem; } main { padding: 3rem; } }

h1 { font-family: 'Montserrat', sans-serif; font-size: 2.8rem; font-weight: 700; color: #2c3e50; margin-bottom: 1.5rem; }
p { font-family: 'Roboto', sans-serif; font-size: 1.15rem; line-height: 1.7; margin-bottom: 2rem; }
input[type="email"] { padding: 1rem 1.2rem; border: 1px solid #ccc; border-radius: 8px; width: 100%; max-width: 350px; }
button { background-color: #eb5924; color: #ffffff; padding: 1rem 2rem; border: none; border-radius: 8px; cursor: pointer; font-size: 1.1rem; transition: background-color 0.3s ease; }
button:hover { background-color: #d44a1c; }
a { color: #eb5924; text-decoration: none; }
a:hover { text-decoration: underline; }

footer {
    background-color: #f2f2f2;
    color: #555555;
    padding: 20px 0;
    font-family: 'Poppins', sans-serif;
    text-align: center;
    box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.1);
    position: relative;
    width: 100%;
}
footer p { margin: 0; font-size: 0.9em; line-height: 1.5; }
.contact-info { margin-top: 20px; font-size: 1em; color: #555555; }
.contact-info a { color: #eb5924; text-decoration: none; font-weight: 600; }
.contact-info a:hover { text-decoration: underline; }
.footer-icons { display: flex; gap: 15px; justify-content: center; margin-top: 10px; }
.footer-icons a { color: #eb5924; font-size: 24px; transition: color 0.3s ease, transform 0.2s ease; }
.footer-icons a:hover { color: #d44a1c; transform: translateY(-2px) scale(1.1); }