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

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-image: url('building-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-color: #f8f9fa;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Truck n' Fleet Header Styles */
.trucknfleet-header {
    width: 100%;
    position: relative;
    z-index: 1000;
}

/* Header Top Bar */
.header-top-bar {
    background-color: #000000;
    color: white;
    padding: 8px 0;
    font-size: 13px;
}

.header-top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-left {
    display: flex;
    gap: 25px;
}

.top-bar-left span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.top-bar-left i {
    font-size: 12px;
    opacity: 0.8;
}

.top-bar-right .social-links {
    display: flex;
    gap: 10px;
}

.social-link {
    width: 28px;
    height: 28px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 12px;
}

.social-link:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* Main Header */
.main-header {
    background-color: #000000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    padding: 15px 0;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-logo .logo-image {
    height: 60px;
    width: auto;
}

/* Navigation */
.main-navigation {
    display: flex;
    align-items: center;
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 35px;
}

.nav-menu li a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    padding: 10px 0;
    transition: color 0.3s ease;
    position: relative;
}

.nav-menu li a:hover {
    color: #cccccc;
}

.nav-menu li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #ffffff;
    transition: width 0.3s ease;
}

.nav-menu li a:hover::after {
    width: 100%;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: #ffffff;
    margin: 3px 0;
    transition: 0.3s;
}

/* Game Section (formerly Header) */
.game-section {
    background: linear-gradient(135deg, rgba(255,255,255,0.9) 0%, rgba(240,244,248,0.9) 100%);
    padding: 60px 0;
    text-align: center;
    border-bottom: 1px solid #e1e8ed;
}

.header-title {
    font-size: 48px;
    font-weight: bold;
    color: #1a365d;
    margin-bottom: 15px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.header-subtitle {
    font-size: 36px;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 30px;
}

.header-description {
    font-size: 18px;
    color: #4a5568;
    max-width: 800px;
    margin: 0 auto 30px auto;
    line-height: 1.8;
}

.header-description .call-to-play {
    font-size: 32px !important;
    font-weight: bold !important;
    color: #ff6b35 !important;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3) !important;
    display: inline-block;
}

.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, #ff6b35 0%, #ff8c00 100%);
    color: white;
    padding: 15px 35px;
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
    background: linear-gradient(135deg, #ff8c00 0%, #ff6b35 100%);
}

/* Promotional Banner Section */
.promo-banner {
    background: rgba(255,255,255,0.9), url('building-bg.jpg');
    background-size: cover;
    background-position: center;
    padding: 40px 0;
    text-align: center;
}

.promo-image {
    display: inline-block;
    max-width: 100%;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
}

.promo-image img {
    width: 100%;
    height: auto;
    display: block;
    max-width: 900px;
}

/* Registration Section */
.registration {
    background: rgba(240,242,245,0.9), url('building-bg.jpg');
    background-size: cover;
    background-position: center;
    padding: 60px 0;
}

.section-title {
    font-size: 32px;
    font-weight: bold;
    color: #2d3748;
    text-align: center;
    margin-bottom: 20px;
}

.privacy-text {
    font-size: 14px;
    color: #4a5568;
    text-align: left;
    margin-bottom: 30px;
    line-height: 1.6;
    padding: 0 20px;
}

/* Registration Form */
.registration-form {
    background-color: rgba(255,255,255,0.95);
    padding: 40px 40px 40px 40px;
    border-radius: 12px;
    max-width: 1000px;
    margin: 0 auto;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.form-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 30px;
}

.form-column {
    background: rgba(59, 130, 246, 0.1);
    padding: 25px;
    border-radius: 8px;
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.column-title {
    font-size: 16px;
    font-weight: bold;
    color: #1e3a8a;
    margin-bottom: 20px;
    text-align: left;
    padding: 0;
    background: none;
    border-radius: 0;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    font-weight: normal;
    color: #374151;
    margin-bottom: 5px;
    font-size: 14px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #d1d5db;
    border-radius: 4px;
    font-size: 14px;
    transition: all 0.3s ease;
    background-color: rgba(255, 255, 255, 0.8);
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #3b82f6;
    background-color: #ffffff;
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 80px;
}

.form-group select {
    cursor: pointer;
}

/* Notes Section */
.notes-section {
    background: rgba(59, 130, 246, 0.1);
    padding: 20px;
    border-radius: 8px;
    border: 1px solid rgba(59, 130, 246, 0.2);
    margin-bottom: 30px;
}

.section-subtitle {
    font-size: 16px;
    font-weight: bold;
    color: #1e3a8a;
    margin-bottom: 15px;
    text-align: left;
    padding: 0;
    background: none;
    border-radius: 0;
}

/* Consent Section */
.consent-section {
    border-top: 2px solid #e2e8f0;
    padding-top: 30px;
    margin-bottom: 30px;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 15px;
}

.checkbox-group input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-top: 2px;
    flex-shrink: 0;
}

.checkbox-group label {
    font-size: 14px;
    color: #4a5568;
    line-height: 1.6;
    cursor: default;
}

.additional-info {
    font-size: 13px;
    color: #718096;
    font-style: italic;
    margin-left: 32px;
}

/* Submit Button */
.submit-button {
    background: #ff6b35;
    color: white;
    font-size: 16px;
    font-weight: bold;
    padding: 12px 30px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: block;
    margin: 20px auto 0 auto;
    min-width: 200px;
    text-transform: none;
    letter-spacing: 0.5px;
}

.submit-button:hover {
    background: linear-gradient(135deg, #dd6b20 0%, #c05621 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(237, 137, 54, 0.3);
}

.submit-button:active {
    transform: translateY(0);
}

/* Truck n' Fleet Footer */
.trucknfleet-footer {
    background-color: #000000;
    color: #a0aec0;
    margin-top: 80px;
}

/* Footer Main */
.footer-main {
    padding: 60px 0 40px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.footer-section h4.footer-title {
    color: white;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links li a {
    color: #a0aec0;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-links li a:hover {
    color: #1553FF;
}

/* Contact Info */
.contact-info {
    margin-bottom: 25px;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    font-size: 14px;
}

.contact-item i {
    width: 18px;
    margin-right: 10px;
    color: #1553FF;
    font-size: 12px;
}

/* Footer Social */
.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social .social-link {
    width: 35px;
    height: 35px;
    background-color: #374151;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #a0aec0;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 14px;
}

.footer-social .social-link:hover {
    background-color: #1553FF;
    color: white;
    transform: translateY(-2px);
}

/* Newsletter */
.newsletter-text {
    font-size: 14px;
    margin-bottom: 20px;
    line-height: 1.6;
}

.newsletter-input-group {
    display: flex;
    border-radius: 6px;
    overflow: hidden;
    background-color: white;
}

.newsletter-input {
    flex: 1;
    padding: 12px 15px;
    border: none;
    outline: none;
    font-size: 14px;
}

.newsletter-button {
    background-color: #1553FF;
    color: white;
    border: none;
    padding: 12px 20px;
    cursor: pointer;
    font-weight: 600;
    transition: background-color 0.3s ease;
    font-size: 14px;
}

.newsletter-button:hover {
    background-color: #0f3fcc;
}

/* Footer Bottom */
.footer-bottom {
    background-color: #1a202c;
    padding: 25px 0;
    border-top: 1px solid #374151;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.copyright p {
    margin: 0;
    color: #9ca3af;
    font-size: 14px;
}

.footer-brand .brand-logo {
    height: 30px;
    width: auto;
}

.legal-links {
    display: flex;
    gap: 20px;
}

.legal-links a {
    color: #9ca3af;
    text-decoration: none;
    font-size: 13px;
    transition: color 0.3s ease;
}

.legal-links a:hover {
    color: #1553FF;
}

/* Responsive Design */
@media (max-width: 968px) {
    /* Header Responsive */
    .nav-menu {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    /* Footer Responsive */
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .legal-links {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    /* Header Top Bar Responsive */
    .header-top-bar .container {
        flex-direction: column;
        gap: 10px;
    }
    
    .top-bar-left {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
    
    /* Game Section Responsive */
    .header-title {
        font-size: 36px;
    }
    
    .header-subtitle {
        font-size: 28px;
    }
    
    .header-description {
        font-size: 16px;
    }
    
    /* Form Responsive */
    .form-columns {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .registration-form {
        padding: 30px 20px;
    }
    
    .section-title {
        font-size: 32px;
    }
    
    /* Footer Responsive */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 25px;
        text-align: center;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .container {
        padding: 0 15px;
    }
}

@media (max-width: 480px) {
    /* Header Mobile */
    .header-top-bar {
        padding: 12px 0;
    }
    
    .site-logo .logo-image {
        height: 45px;
    }
    
    /* Game Section Mobile */
    .game-section {
        padding: 40px 0;
    }
    
    .header-title {
        font-size: 28px;
    }
    
    .header-subtitle {
        font-size: 22px;
    }
    
    /* Form Mobile */
    .registration {
        padding: 50px 0;
    }
    
    .form-column {
        padding: 20px;
    }
    
    .submit-button {
        font-size: 16px;
        padding: 14px 30px;
        min-width: 200px;
    }
    
    /* Footer Mobile */
    .footer-main {
        padding: 40px 0 30px;
    }
    
    .newsletter-input-group {
        flex-direction: column;
    }
    
    .newsletter-button {
        margin-top: 8px;
        border-radius: 6px;
    }
}

/* Updated Footer Styles to Match Exact Layout */
.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 60px;
    padding-bottom: 40px;
}

.footer-left-section {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
}

.footer-iveco-logo {
    height: 50px;
    width: auto;
    margin-bottom: 10px;
}

.footer-tagline {
    color: #ffffff;
    font-size: 16px;
    margin: 0;
    font-weight: 400;
    line-height: 1.4;
}

.footer-social-icons {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}

.footer-social-icons .social-link {
    width: 35px;
    height: 35px;
    background-color: transparent;
    border: 1px solid #ffffff;
    border-radius: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 16px;
}

.footer-social-icons .social-link:hover {
    background-color: #ffffff;
    color: #000000;
}

.footer-bottom-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding-top: 20px;
    border-top: 1px solid #4a5568;
    margin-top: 20px;
}

.footer-left-bottom {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.language-flags {
    display: flex;
    gap: 8px;
    align-items: center;
}

.flag-icon {
    width: 24px;
    height: 16px;
    border: 1px solid #555;
}

.copyright {
    color: #9ca3af;
    font-size: 14px;
    margin: 0;
}

.legal-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
    text-align: right;
}

.legal-links a {
    color: #9ca3af;
    text-decoration: none;
    font-size: 12px;
    transition: color 0.3s ease;
}

.legal-links a:hover {
    color: #ffffff;
}

/* Thank You Page Styles */
.thank-you-section {
    background-image: url('building-bg.jpg') !important;
    background-size: cover !important;
    background-position: center !important;
    background-attachment: fixed !important;
    background-repeat: no-repeat !important;
    padding: 50px 0;
    min-height: 100vh;
}

.thank-you-content {
    max-width: 800px;
    margin: 50px auto;
    padding: 40px;
    background: rgba(255,255,255,0.9);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    text-align: center;
}

.thank-you-container {
    max-width: 800px;
    margin: 50px auto;
    padding: 40px;
    background: rgba(255,255,255,0.9);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    text-align: center;
}

.thank-you-icon {
    margin-bottom: 30px;
}

.thank-you-icon i {
    font-size: 80px;
    color: #28a745;
}

.thank-you-container h1 {
    color: #2d3748;
    font-size: 32px;
    margin-bottom: 15px;
    font-weight: 700;
}

.thank-you-container h2 {
    color: #4a5568;
    font-size: 20px;
    margin-bottom: 30px;
    font-weight: 400;
}

.thank-you-details p {
    color: #718096;
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 30px;
}

.next-steps {
    text-align: left;
    margin: 30px 0;
    padding: 25px;
    background: rgba(247,250,252,0.5);
    border-radius: 8px;
}

.next-steps h3 {
    color: #2d3748;
    font-size: 20px;
    margin-bottom: 20px;
    text-align: center;
}

.next-steps ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.next-steps li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
    padding: 10px;
    background: rgba(255,255,255,0.5);
    border-radius: 6px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    word-wrap: break-word;
    word-break: break-word;
    white-space: normal;
}

.next-steps li i {
    color: #1553FF;
    font-size: 18px;
    margin-right: 12px;
    margin-top: 2px;
    flex-shrink: 0;
}

.next-steps li strong {
    color: #2d3748;
    font-weight: 600;
    white-space: nowrap;
}

.contact-info-box {
    background: rgba(237,242,247,0.5);
    padding: 25px;
    border-radius: 8px;
    margin-top: 30px;
}

.contact-info-box h3 {
    color: #2d3748;
    margin-bottom: 15px;
}

.contact-info-box p {
    color: #4a5568;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.email-confirmation {
    background: rgba(240,248,255,0.5);
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0;
    border-left: 4px solid #3182ce;
}

.email-tips {
    background: rgba(255,248,220,0.5);
    padding: 15px;
    border-radius: 6px;
    margin-top: 15px;
    border-left: 3px solid #ed8936;
}

.back-button {
    display: inline-block;
    background: #1553FF;
    color: white;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 6px;
    margin-top: 30px;
    font-weight: 600;
    transition: background 0.3s ease;
}

.back-button:hover {
    background: #0f3fcc;
    color: white;
}
