* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Lora', Georgia, serif;
}

/* Featured Story Hero — afsn-style layout, AFSN palette */
.feature-hero {
    position: relative;
    min-height: 100vh;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    overflow: hidden;
    color: #fff;
    margin: 0;
}

.feature-hero-bg {
    position: absolute;
    inset: 0;
    top: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    filter: grayscale(15%);
}

.feature-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(7,17,39,0.92) 0%, rgba(7,17,39,0.55) 45%, rgba(7,17,39,0.15) 75%);
}

/* Content block */
.feature-hero-content {
    position: relative;
    z-index: 2;
    max-width: 680px;
    padding: 0 40px 60px;
}

.feature-hero-badge {
    display: inline-block; 
    background: #b63806;
    color: #ffffff;
    font-size: 0.82rem;
    font-weight: 700;
    padding: 6px 14px;
    margin-bottom: 22px;
}

.feature-hero-content h1 {
    font-family: 'Lora', Georgia, serif;
    font-weight: 600;
    font-size: clamp(1.9rem, 4vw, 3rem);
    line-height: 1.2;
    margin: 0 0 20px;
}

.feature-hero-content p {
    font-size: 1.05rem;
    line-height: 1.6;
    color: rgba(255,255,255,0.88);
    margin: 0 0 30px;
    max-width: 560px;
}

.fh-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #0a1a3f; 
    color: #ffffff;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    padding: 14px 26px; 
}

.fh-cta:hover {
    background: #b63806;
    color: #fff;
}

/* Bottom toggle bar */
.feature-hero-toggle {
    position: relative;
    z-index: 2;
    background: var(--afsn-navy,   #0a1a3f);   
    display: flex;
    justify-content: center;
    gap: 50px;
    padding: 22px 20px;
}

.fh-toggle {
    background: none;
    border: none;
    color: rgba(255,255,255,0.6);
    font-size: 0.95rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.fh-toggle.active {
    color: #fff;
}

.fh-radio {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.5);
    position: relative;
}

.fh-toggle.active .fh-radio {
    border-color: #0a1a3f;  
}

.fh-toggle.active .fh-radio::after {
    content: '';
    position: absolute;
    inset: 3px;
    border-radius: 50%;
    background: #b63806;
}

.fh-mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 4000;
    background: #0a1a3f;  
    display: none;
    flex-direction: column;
    padding: 24px;
    overflow-y: auto;
}

.fh-mobile-menu.open {
    display: flex;
}

.fh-mobile-close {
    align-self: flex-end;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.4rem;
    cursor: pointer;
    margin-bottom: 30px;
}

.fh-mobile-links {
    display: flex;
    flex-direction: column;
}

.fh-mobile-links a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #fff;
    text-decoration: none;
    font-size: 1.4rem;
    font-weight: 500;
    padding: 18px 4px;
    border-bottom: 1px solid rgba(255,255,255,0.12);
}

.fh-mobile-links a i {
    font-size: 1rem;
    color: rgba(255,255,255,0.5);
}

.fh-mobile-cta {
    margin-top: auto;
    padding-top: 30px;
}

.fh-mobile-cta p {
    color: rgba(255,255,255,0.7);
    margin-bottom: 14px;
    font-size: 0.95rem;
}

.fh-mobile-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #0a1a3f;  
    color: #ffffff;
    text-decoration: none;
    font-weight: 700;
    padding: 14px 24px;
}

/* Responsive */
@media (max-width: 900px) {
    .feature-hero-content {
        padding: 0 20px 45px;
    }
    .feature-hero-toggle {
        gap: 30px;
        padding: 18px 16px;
        flex-wrap: wrap;
    }
}

@media (max-width: 480px) {
    .feature-hero {
        min-height: 78vh;
    }
    .feature-hero-content h1 {
        font-size: 1.7rem;
    }
    .feature-hero-content p {
        font-size: 0.95rem;
    }
}



/* Use more specific selectors to avoid conflicts */
#registration-page .register-container {
    min-height: auto;
    background: #f6f4ef;
    padding: 70px 20px 90px;
    position: relative;
    z-index: 1;
}
#registration-page .register-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    background: #fff;
    border-radius: 4px;
    padding: 50px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.06);
    border: 1px solid #eee;
    position: relative;
    z-index: 2;
}

#registration-page .register-info {
    color: var(--afsn-navy, #0a1a3f);  
    padding: 20px;
}

#registration-page .register-info h1 {
    color: var(--afsn-navy, #0a1a3f);  
    text-shadow: none;
}

#registration-page .register-info h1::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--chocolate);
    border-radius: 2px;
}
#registration-page .benefits-list {
    list-style: none;
    padding: 0;
    margin: 30px 0;
}
#registration-page .benefits-list li {
    margin: 15px 0;
    padding-left: 30px;
    position: relative;
    opacity: 1;
    transform: translateX(0);
    color: #333;
}
#registration-page .benefits-list li::before {
    content: '✦';
    position: absolute;
    left: 0;
    color: var(--chocolate);
}
#registration-page .register-form {
    background: rgba(255, 255, 255, 0.95);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}
#registration-page .form-group {
    margin-bottom: 25px;
    position: relative;
    opacity: 1;
    transform: translateY(0);
}
#registration-page .form-group label {
    display: block;
    margin-bottom: 12px;
    color: #333;
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    z-index: 1;
}
#registration-page .form-group input,
#registration-page .form-group select,
#registration-page .form-group textarea {
    width: 100%;
    padding: 12px 40px 12px 15px;
    border: 2px solid #e1e1e1;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s ease;
    background-color: #ffffff;
    position: relative;
    z-index: 1;
}
#registration-page .form-group input:focus,
#registration-page .form-group select:focus,
#registration-page .form-group textarea:focus {
    border-color: var(--dark-blue);
    box-shadow: 0 0 0 3px rgba(0, 0, 139, 0.1);
    outline: none;
}
#registration-page .form-group .icon {
    position: absolute;
    right: 15px;
    top: 42px;
    color: #666;
    pointer-events: none;
    z-index: 2;
}
#registration-page .submit-btn {
    background: linear-gradient(45deg, var(--dark-blue), var(--chocolate));
    color: #ffffff !important;
    border: none;
    padding: 15px 30px;
    border-radius: 30px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
    transition: all 0.3s ease;
    margin-top: 20px;
    position: relative;
    z-index: 1;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    overflow: hidden;
}
#registration-page .submit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: 0.5s;
}
#registration-page .submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 139, 0.3);
    color: #ffffff !important;
    text-decoration: none;
}
#registration-page .submit-btn:hover::before {
    left: 100%;
}
#registration-page .success-message {
    display: none;
    text-align: center;
    color: #28a745;
    padding: 20px;
    border-radius: 8px;
    background: rgba(40, 167, 69, 0.1);
    margin-top: 20px;
}
#registration-page .success-message i {
    font-size: 48px;
    color: #28a745;
    margin-bottom: 15px;
}
@media (max-width: 768px) {
    #registration-page .register-content {
        grid-template-columns: 1fr;
        padding: 20px;
    }
    #registration-page .register-info {
        text-align: center;
        padding: 20px 10px;
    }
    #registration-page .register-info h1::after {
        left: 50%;
        transform: translateX(-50%);
    }
    #registration-page .benefits-list li {
        text-align: left;
    }
    #registration-page .form-group input,
    #registration-page .form-group select,
    #registration-page .form-group textarea {
        padding: 12px 35px 12px 12px;
    }
}
#registration-page .floating-shapes {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}
#registration-page .shape {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    pointer-events: none;
}
/* Hero Section */
.hero-section {
    min-height: 100vh;
    background: url('images/reality.png') center/cover no-repeat;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background: linear-gradient(135deg, rgba(26, 54, 93, 0.35) 0%, rgba(210, 105, 30, 0.35) 100%); 
}
.hero-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(255, 107, 53, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(26, 54, 93, 0.15) 0%, transparent 50%);
    z-index: 1;
}
.dots-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 10;
    will-change: transform;
    transform: translate3d(0, 0, 0);
}
.dot {
    position: absolute;
    width: 3px;
    height: 3px;
    background: #28a745;
    border-radius: 50%;
    box-shadow: 0 0 2px rgba(40, 167, 69, 0.3);
    will-change: transform;
}
.hero-content {
    position: relative;
    z-index: 20;
    text-align: center;
    color: white;
}
.hero-content h1 {
    font-size: 5rem;
    font-weight: 900;
    margin-bottom: 1rem;
    color: #ffffff;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}
.hero-content p {
    font-size: 1.5rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.95);
    opacity: 0.95;
}
/* Theme toggle styling */
#registration-page .theme-toggle {
    background: none;
    border: none;
    color: var(--text-color);
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-size: 1.2rem;
}
#registration-page .theme-toggle:hover {
    background: rgba(0, 0, 0, 0.1);
    transform: scale(1.1);
}
/* Mobile menu styles */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
    position: relative;
}
.menu-icon {
    width: 30px;
    height: 20px;
    position: relative;
}
.menu-icon .bar {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--dark-blue);
    position: absolute;
    left: 0;
    transition: all 0.3s ease;
}
.menu-icon .bar:first-child { top: 0; }
.menu-icon .bar:nth-child(2) { top: 50%; transform: translateY(-50%); }
.menu-icon .bar:last-child { bottom: 0; }
@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }
    .word {
        font-size: 2rem;
    }
    
    .hero-content h1 {
        font-size: 3.5rem;
    }
    .hero-content p {
        font-size: 1.3rem;
    }
    .hero-section {
        min-height: 80vh;
    }
    #registration-page .register-container {
        padding: 60px 15px;
    }
    #registration-page .register-info h1 {
        font-size: 2.2rem;
    }
    #registration-page .register-info p {
        font-size: 1rem;
    }
  }
@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2.5rem;
        margin-bottom: 0.8rem;
    }
    .hero-content p {
        font-size: 1.1rem;
        padding: 0 15px;
    }
    .hero-section {
        min-height: 70vh;
    }
    #registration-page .register-container {
        padding: 50px 10px;
    }
    #registration-page .register-content {
        padding: 30px 15px;
        gap: 30px;
    }
    #registration-page .register-info {
        padding: 15px;
    }
    #registration-page .register-info h1 {
        font-size: 2rem;
        margin-bottom: 20px;
    }
    #registration-page .register-info p {
        font-size: 0.95rem;
    }
    #registration-page .benefits-list {
        margin: 20px 0;
    }
    #registration-page .benefits-list li {
        margin: 12px 0;
        font-size: 0.9rem;
        padding-left: 25px;
    }
    #registration-page .register-form {
        padding: 30px 20px;
    }
    #registration-page .form-group input,
    #registration-page .form-group select,
    #registration-page .form-group textarea {
        padding: 10px 32px 10px 10px;
        font-size: 0.95rem;
    }
    #registration-page .form-group label {
        font-size: 0.9rem;
    }
    #registration-page .submit-button {
        padding: 12px 30px;
        font-size: 1rem;
    }
}
@media (max-width: 375px) {
    .hero-content h1 {
        font-size: 2rem;
        margin-bottom: 0.6rem;
    }
    .hero-content p {
        font-size: 1rem;
        padding: 0 10px;
    }
    .hero-section {
        min-height: 65vh;
    }
    #registration-page .register-container {
        padding: 40px 8px;
    }
    #registration-page .register-content {
        padding: 25px 12px;
        gap: 25px;
        border-radius: 20px;
    }
    #registration-page .register-info {
        padding: 12px;
    }
    #registration-page .register-info h1 {
        font-size: 1.8rem;
        margin-bottom: 18px;
    }
    #registration-page .register-info h1::after {
        width: 50px;
        height: 3px;
    }
    #registration-page .register-info p {
        font-size: 0.9rem;
        line-height: 1.5;
    }
    #registration-page .benefits-list {
        margin: 18px 0;
    }
    #registration-page .benefits-list li {
        margin: 10px 0;
        font-size: 0.85rem;
        padding-left: 22px;
    }
    #registration-page .register-form {
        padding: 25px 15px;
        border-radius: 20px;
    }
    #registration-page .form-group {
        margin-bottom: 18px;
    }
    #registration-page .form-group input,
    #registration-page .form-group select,
    #registration-page .form-group textarea {
        padding: 10px 30px 10px 10px;
        font-size: 0.9rem;
    }
    #registration-page .form-group label {
        font-size: 0.85rem;
        margin-bottom: 6px;
    }
    #registration-page .submit-button {
        padding: 10px 25px;
        font-size: 0.95rem;
    }
}
@media (max-width: 320px) {
    .hero-content h1 {
        font-size: 1.8rem;
        margin-bottom: 0.5rem;
    }
    .hero-content p {
        font-size: 0.95rem;
        padding: 0 8px;
    }
    .hero-section {
        min-height: 60vh;
    }
    #registration-page .register-container {
        padding: 35px 5px;
    }
    #registration-page .register-content {
        padding: 20px 10px;
        gap: 20px;
        border-radius: 18px;
    }
    #registration-page .register-info {
        padding: 10px;
    }
    #registration-page .register-info h1 {
        font-size: 1.6rem;
        margin-bottom: 15px;
    }
    #registration-page .register-info h1::after {
        width: 45px;
        height: 2.5px;
    }
    #registration-page .register-info p {
        font-size: 0.85rem;
        line-height: 1.4;
    }
    #registration-page .benefits-list {
        margin: 15px 0;
    }
    #registration-page .benefits-list li {
        margin: 8px 0;
        font-size: 0.8rem;
        padding-left: 20px;
    }
    #registration-page .register-form {
        padding: 20px 12px;
        border-radius: 18px;
    }
    #registration-page .form-group {
        margin-bottom: 15px;
    }
    #registration-page .form-group input,
    #registration-page .form-group select,
    #registration-page .form-group textarea {
        padding: 8px 28px 8px 8px;
        font-size: 0.85rem;
    }
    #registration-page .form-group label {
        font-size: 0.8rem;
        margin-bottom: 5px;
    }
    #registration-page .form-group .icon {
        font-size: 0.9rem;
        right: 8px;
    }
    #registration-page .submit-button {
        padding: 9px 20px;
        font-size: 0.9rem;
    }
}
#registration-page .track-fields,
#registration-page .benefits-list {
    transition: opacity 0.2s ease;
}