/* Modern CSS Reset and Variables */
:root {
    --primary-color: #0a192f;
    --secondary-color: #112240;
    --accent-color: #64ffda;
    --bg-light: #0a192f;
    --bg-medium: #0a192f;
    --bg-dark: #0a192f;
    --bg-darker: #010a16;
    --text-light: #e6f1ff;
    --text-dark: #ccd6f6;
    --text-darker: #8892b0;
    --text-muted: #8892b0;

    --font-primary: 'Poppins', sans-serif;
    --font-secondary: 'Roboto', sans-serif;

    /* Animation Variables */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(2, 12, 27, 0.2);
    --shadow-md: 0 4px 16px rgba(2, 12, 27, 0.3);
    --shadow-lg: 0 8px 32px rgba(2, 12, 27, 0.4);
    
    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --radius-full: 9999px;

    /* Enhanced Gradients */
    --gradient-primary: linear-gradient(135deg, var(--primary-color) 0%, var(--bg-darker) 100%);
    --gradient-text: linear-gradient(135deg, var(--accent-color) 0%, #4dffd1 100%);
    --gradient-overlay: linear-gradient(180deg, rgba(10, 25, 47, 0.9) 0%, rgba(1, 10, 22, 0.95) 100%);
}

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

body {
    font-family: var(--font-secondary);
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-light);
    font-size: 16px;
    overflow-x: hidden;
}

/* Typography Enhancements */
h1, h2, h3 {
    font-family: var(--font-primary);
    font-weight: 600;
    line-height: 1.3;
    color: var(--text-light);
    margin-bottom: 1rem;
}

h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    letter-spacing: -0.02em;
}

h2 {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    margin-bottom: 1.5rem;
}

h3 {
    font-size: clamp(1.1rem, 3vw, 1.5rem);
    color: var(--text-light);
}

p {
    margin-bottom: 1rem;
    color: var(--text-dark);
    font-size: clamp(1rem, 2vw, 1.1rem);
}

/* Enhanced Container */
.container {
    width: min(90%, 1200px);
    margin: 0 auto;
    padding: 0 clamp(1rem, 3vw, 2rem);
}

/* Modern Header & Navigation */
.site-header {
    background: var(--bg-medium);
    border-bottom: 1px solid rgba(100, 255, 218, 0.1);
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
}

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

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 55px;
    width: auto;
}

.logo a {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--text-light);
    text-decoration: none;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 3rem;
    margin: 0;
    padding: 0;
    list-style-type: none;
}

.nav-links li {
    margin: 0;
    padding: 0;
}

.nav-links a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    padding: 0.5rem 0;
    position: relative;
    transition: color var(--transition-normal);
    display: inline-block;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: width var(--transition-normal);
}

.nav-links a:hover {
    color: var(--accent-color);
}

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

.nav-links .cta-button {
    background: var(--accent-color);
    color: var(--bg-dark);
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-full);
    font-weight: 600;
    border: none;
    transition: all var(--transition-normal);
}

.nav-links .cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(100, 255, 218, 0.2);
    color: var(--bg-dark);
}

.nav-links .cta-button::after {
    display: none;
}

/* Enhanced Hero Section */
.hero-section {
    position: relative;
    min-height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    color: var(--text-light);
    text-align: center;
    padding: 120px 0 80px;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(100, 255, 218, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(77, 255, 209, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.hero-content h1 {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.2;
    font-size: clamp(2.8rem, 7vw, 4.5rem);
    font-weight: 800;
    letter-spacing: -0.02em;
}

.hero-content h1 .text-gradient {
    font-size: clamp(2.2rem, 6vw, 3.8rem);
    background: var(--gradient-text);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
    padding: 0.5rem 0;
    position: relative;
    text-shadow: none;
}

.hero-content .subtitle {
    font-size: clamp(1.2rem, 2.5vw, 1.5rem);
    color: var(--text-dark);
    max-width: 800px;
    margin: 0 auto 3rem;
    line-height: 1.6;
    font-weight: 400;
}

/* Enhanced Buttons */
.hero-cta {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2.5rem;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-family: var(--font-primary);
    font-size: 1.1rem;
    letter-spacing: 0.5px;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
    z-index: 1;
    min-width: 200px;
    text-align: center;
    border: none;
    cursor: pointer;
    background: var(--accent-color);
    color: var(--bg-dark);
    box-shadow: 0 2px 8px rgba(100, 255, 218, 0.2);
}

.cta-button::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(255, 255, 255, 0.2) 50%, 
        transparent 100%);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.cta-button:hover::after {
    transform: translateX(100%);
}

.cta-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 3px 10px rgba(100, 255, 218, 0.15);
    background-color: white;
    color: var(--bg-dark);
}

.cta-button.secondary {
    background: transparent;
    color: var(--accent-color);
    border: 2px solid var(--accent-color);
    box-shadow: none;
}

.cta-button.secondary:hover {
    background: rgba(100, 255, 218, 0.05);
    border-color: var(--accent-color);
    color: var(--accent-color);
    box-shadow: 0 2px 8px rgba(100, 255, 218, 0.1);
}

/* Enhanced Method Cards */
.methods-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    perspective: 1000px;
}

.method-card {
    background: var(--secondary-color);
    padding: 3rem 2.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
    transform-style: preserve-3d;
    position: relative;
    opacity: 0;
    transform: translateY(20px);
    border: 1px solid rgba(100, 255, 218, 0.1);
    color: var(--text-dark);
}

.method-card.visible {
    animation: fadeInUp 0.6s var(--transition-normal) forwards;
}

.method-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-color);
    box-shadow: var(--shadow-lg);
}

.method-card .icon {
    font-size: 3.5rem;
    margin-bottom: 2rem;
    color: var(--accent-color);
    transition: all var(--transition-normal);
    display: inline-block;
    position: relative;
    z-index: 2;
}

.method-card:hover .icon {
    transform: scale(1.1) rotate(5deg);
    color: var(--text-light);
}

.method-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, var(--accent-color) 0%, transparent 100%);
    opacity: 0;
    transition: opacity var(--transition-normal);
    z-index: 1;
}

.method-card:hover::before {
    opacity: 0.1;
}

.method-card h3 {
    color: var(--text-light);
}

.method-card p {
    color: var(--text-dark);
}

/* Mission Section Enhancement */
.mission-section {
    position: relative;
    background: var(--bg-dark);
    color: var(--text-light);
    text-align: center;
    padding: 6rem 0;
    overflow: hidden;
}

.mission-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(27, 154, 170, 0.1) 100%);
}

.mission-section p {
    color: var(--text-light);
}

/* Contact Section Enhancement */
.contact-section {
    padding: 8rem 0;
    background: var(--secondary-color);
    position: relative;
}

.cta-group {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin: 2rem 0;
}

.cta-group .cta-button {
    min-width: 180px;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 3rem;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3.5rem;
    height: 3.5rem;
    border-radius: var(--radius-full);
    background: var(--bg-dark);
    color: var(--accent-color);
    transition: all var(--transition-normal);
    border: 1px solid rgba(100, 255, 218, 0.1);
    position: relative;
    overflow: hidden;
}

.social-links a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-text);
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.social-links a:hover {
    transform: translateY(-5px);
    border-color: var(--accent-color);
}

.social-links a:hover::before {
    opacity: 1;
}

.social-links a i {
    position: relative;
    z-index: 1;
    transition: color var(--transition-normal);
}

.social-links a:hover i {
    color: var(--bg-dark);
}

/* Footer Enhancement */
.site-footer {
    background: var(--bg-dark);
    color: var(--text-muted);
    text-align: center;
    padding: 3rem 0;
    position: relative;
    overflow: hidden;
    border-top: 1px solid rgba(100, 255, 218, 0.1);
}

.footer-content p {
    color: var(--text-muted);
}

.footer-links a {
    color: var(--text-muted);
}

.footer-links a:hover {
    color: var(--accent-color);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Responsive Design Enhancement */
@media (max-width: 992px) {
    .nav-links { gap: 1.5rem; }
}

@media (max-width: 768px) {
    .site-header {
        height: 90px;
    }

    .hero-section {
        padding: 140px 0 60px;
        min-height: 100vh;
        height: auto;
    }

    .hero-content {
        padding: 0 1.5rem;
    }

    .hero-content h1 {
        font-size: clamp(2.8rem, 8vw, 4rem);
        line-height: 1.3;
        margin-top: 2rem;
    }

    .hero-content h1 .text-gradient {
        font-size: clamp(2.2rem, 7vw, 3.2rem);
    }

    .hero-content .subtitle {
        font-size: 1.1rem;
        margin-bottom: 2.5rem;
        padding: 0 1rem;
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .cta-button {
        width: 100%;
        max-width: 280px;
    }

    .nav-links {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: var(--bg-dark);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        padding: 2rem;
        margin: 0;
    }

    .nav-links li {
        margin: 0;
        padding: 0;
        width: auto;
    }

    .nav-links.active {
        display: flex;
    }

    .menu-toggle {
        display: block;
        z-index: 1001;
    }

    .methods-grid {
        grid-template-columns: 1fr;
    }

    .social-links a {
        width: 3rem;
        height: 3rem;
    }

    .logo a {
        font-size: 1.2rem;
        gap: 0.5rem;
    }

    .logo img {
        height: 40px;
    }

    .header-container {
        padding: 0 1rem;
    }
}

@media (max-width: 576px) {
    .cta-button {
        width: 100%;
        max-width: 300px;
    }
    
    .method-card {
        padding: 2rem;
    }
}

@media (max-width: 480px) {
    .hero-section {
        padding: 120px 0 50px;
    }

    .hero-content {
        padding: 0 1rem;
    }

    .hero-content h1 {
        font-size: clamp(3rem, 10vw, 4.2rem);
        line-height: 1.3;
        margin-top: 3rem;
    }

    .hero-content h1 .text-gradient {
        font-size: clamp(2.4rem, 8vw, 3rem);
        padding: 0.3rem 0;
    }

    .hero-content .subtitle {
        font-size: 1.2rem;
        margin-bottom: 2rem;
        padding: 0;
    }

    .cta-group {
        flex-direction: column;
        align-items: center;
    }

    .cta-group .cta-button {
        width: 100%;
        max-width: 300px;
    }

    .slider {
        height: 450px;
    }

    .logo a {
        font-size: 1rem;
    }

    .logo img {
        height: 35px;
    }

    .cta-button {
        padding: 0.9rem 2rem;
        font-size: 1rem;
        min-width: 180px;
    }
}

/* Fix for very tall screens */
@media (min-height: 1000px) {
    .hero-section {
        height: 100vh;
        padding: 160px 0 80px;
    }
}

/* Fix for very short screens */
@media (max-height: 600px) {
    .hero-section {
        height: auto;
        min-height: 100vh;
        padding: 120px 0 60px;
    }
}

/* Utility Classes */
.text-gradient {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: all var(--transition-normal);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Smooth Scrollbar for Modern Browsers */
@media (hover: hover) {
    .smooth-scroll {
        scroll-behavior: smooth;
    }
}

/* About Section Enhancement */
.about-section {
    padding: 8rem 0;
    background: var(--bg-light);
    position: relative;
    overflow: hidden;
}

.about-wrapper {
    position: relative;
    z-index: 2;
    max-width: 1000px;
    margin: 0 auto;
}

.about-content-main {
    background: var(--bg-dark);
    padding: 3rem;
    border-radius: var(--radius-lg);
    margin-bottom: 3rem;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transform: translateY(0);
    transition: transform 0.3s ease;
}

.about-content-main:hover {
    transform: translateY(-5px);
}

.about-content-main::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--gradient-text);
    animation: pulseGlow 2s infinite;
}

.about-content-secondary {
    padding: 2rem;
    background: rgba(17, 34, 64, 0.5);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-lg);
    margin-bottom: 3rem;
    border: 1px solid rgba(100, 255, 218, 0.1);
}

.about-highlights {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.highlight-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 2rem;
    background: var(--bg-dark);
    border-radius: var(--radius-lg);
    min-width: 200px;
    transform: translateY(0);
    transition: all 0.3s ease;
}

.highlight-item:hover {
    transform: translateY(-10px);
    background: var(--secondary-color);
}

.highlight-icon {
    font-size: 2.5rem;
    animation: float 3s ease-in-out infinite;
}

.highlight-text {
    color: var(--text-light);
    font-size: 1.1rem;
    font-weight: 500;
    text-align: center;
}

.about-bg-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.bg-circle {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
}

.circle-1 {
    width: 400px;
    height: 400px;
    background: var(--accent-color);
    top: -100px;
    right: -100px;
    animation: rotateSlow 20s linear infinite;
}

.circle-2 {
    width: 300px;
    height: 300px;
    background: var(--accent-color);
    bottom: -50px;
    left: -50px;
    animation: rotateSlow 15s linear infinite reverse;
}

.bg-line {
    position: absolute;
    background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
    height: 1px;
    width: 100%;
    opacity: 0.1;
}

.line-1 {
    top: 30%;
    animation: slideRight 15s linear infinite;
}

.line-2 {
    bottom: 40%;
    animation: slideLeft 20s linear infinite;
}

@keyframes pulseGlow {
    0% { opacity: 0.5; }
    50% { opacity: 1; }
    100% { opacity: 0.5; }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes rotateSlow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes slideRight {
    from { transform: translateX(-100%); }
    to { transform: translateX(100%); }
}

@keyframes slideLeft {
    from { transform: translateX(100%); }
    to { transform: translateX(-100%); }
}

@media (max-width: 768px) {
    .about-content-main,
    .about-content-secondary {
        padding: 2rem;
        margin-bottom: 2rem;
    }

    .highlight-item {
        min-width: 160px;
        padding: 1.5rem;
    }

    .about-highlights {
        gap: 1rem;
    }
}

/* Base Styles */
a {
    text-decoration: none;
    color: var(--text-light);
    transition: color var(--transition-normal);
}

a:hover {
    color: var(--accent-color);
}

/* AOS Animations */
[data-aos] {
    opacity: 0;
    transition-property: transform, opacity;
}

[data-aos].aos-animate {
    opacity: 1;
}

[data-aos="fade-up"] {
    transform: translateY(30px);
    opacity: 0;
    transition: transform 0.6s ease-out, opacity 0.6s ease-out;
}

[data-aos="fade-up"].aos-animate {
    transform: translateY(0);
    opacity: 1;
}

[data-aos="fade-down"] {
    transform: translateY(-30px);
}

[data-aos="fade-down"].aos-animate {
    transform: translateY(0);
}

[data-aos="zoom-in"] {
    transform: scale(0.9);
}

[data-aos="zoom-in"].aos-animate {
    transform: scale(1);
}

/* Mobile Menu */
.menu-toggle {
    display: none; /* Hide by default on desktop */
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 24px;
    position: relative;
    z-index: 1001;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    outline: none;
}

/* Reset for menu toggle to prevent browser-specific styling */
.menu-toggle, 
.menu-toggle span,
.menu-toggle span:before,
.menu-toggle span:after {
    border-radius: 0 !important;
    -webkit-border-radius: 0 !important;
    -moz-border-radius: 0 !important;
    box-shadow: none !important;
    background-clip: padding-box;
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--text-light);
    position: absolute;
    left: 0;
    transition: all 0.3s ease;
}

.menu-toggle span:first-child {
    top: 0;
}

.menu-toggle span:nth-child(2) {
    top: 50%;
    transform: translateY(-50%);
}

.menu-toggle span:last-child {
    bottom: 0;
}

/* Active state for menu toggle */
.menu-toggle.active span:first-child {
    transform: rotate(45deg);
    top: 50%;
    margin-top: 0;
    border-radius: 0 !important;
    -webkit-border-radius: 0 !important;
    -moz-border-radius: 0 !important;
    outline: none;
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
    border-radius: 0 !important;
    -webkit-border-radius: 0 !important;
    -moz-border-radius: 0 !important;
    outline: none;
}

.menu-toggle.active span:last-child {
    transform: rotate(-45deg);
    bottom: 50%;
    margin-bottom: 0;
    border-radius: 0 !important;
    -webkit-border-radius: 0 !important;
    -moz-border-radius: 0 !important;
    outline: none;
}

/* Mobile Menu Styles */
@media (max-width: 768px) {
    .menu-toggle {
        display: block; /* Show only on mobile */
    }

    .nav-links {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: var(--bg-dark);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 1rem;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        margin: 0;
        padding: 0;
        width: auto;
    }
}

/* Methods Section Enhancement */
.methods-section {
    padding: 8rem 0;
    background: var(--bg-medium);
    position: relative;
}

.methods-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    perspective: 1000px;
}

.method-card {
    background: var(--secondary-color);
    padding: 3rem 2.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
    transition: all var(--transition-normal);
    border: 1px solid rgba(100, 255, 218, 0.1);
}

.method-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent 30%, rgba(100, 255, 218, 0.05) 100%);
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.method-card:hover {
    transform: translateY(-10px) rotateX(5deg);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent-color);
}

.method-card:hover::before {
    opacity: 1;
}

.method-card .icon {
    font-size: 3.5rem;
    margin-bottom: 2rem;
    color: var(--accent-color);
    transition: all var(--transition-normal);
    display: inline-block;
}

.method-card:hover .icon {
    transform: scale(1.1) rotate(5deg);
}

/* Mission Section Enhancement */
.mission-section {
    padding: 8rem 0;
    background: var(--bg-dark);
    position: relative;
    overflow: hidden;
}

.mission-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(100, 255, 218, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(77, 255, 209, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.mission-section .container {
    position: relative;
    z-index: 1;
}

/* Section Headings Enhancement */
section h2 {
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 3rem;
    position: relative;
    display: inline-block;
}

section h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--gradient-text);
    border-radius: var(--radius-full);
}

/* Responsive Enhancements */
@media (max-width: 768px) {
    .about-content,
    .method-card {
        padding: 2rem;
    }

    .methods-grid {
        grid-template-columns: 1fr;
    }

    .social-links a {
        width: 3rem;
        height: 3rem;
    }
}

/* Illustrations Section */
.illustrations-section {
    padding: 8rem 0;
    background: var(--bg-light);
    position: relative;
    overflow: hidden;
}

.illustrations-section h2 {
    text-align: center;
    margin-bottom: 4rem;
}

.illustrations-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.illustration-card {
    background: var(--bg-dark);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    aspect-ratio: 1312/1600;
    position: relative;
}

.illustration-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg), 0 10px 30px rgba(100, 255, 218, 0.1);
}

.illustration-image {
    width: 100%;
    height: 100%;
    position: relative;
}

.illustration-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.illustration-card:hover .illustration-image img {
    transform: scale(1.05);
}

.illustration-content {
    padding: 2rem;
    background: linear-gradient(to top, var(--bg-dark), rgba(10, 25, 47, 0.9));
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.illustration-card:hover .illustration-content {
    transform: translateY(0);
}

.illustration-content h3 {
    color: var(--text-light);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.illustration-content p {
    color: var(--text-light);
    font-size: 1rem;
    opacity: 0.9;
}

@media (max-width: 1200px) {
    .illustrations-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .illustrations-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        padding: 0 1rem;
    }

    .illustration-content {
        padding: 1.5rem;
    }

    .illustration-content h3 {
        font-size: 1.3rem;
    }

    .illustration-content p {
        font-size: 0.9rem;
    }
}

/* Blog Styles */
.blog-hero-section {
    position: relative;
    background: var(--gradient-primary);
    padding: 160px 0 80px;
    text-align: center;
    overflow: hidden;
}

.blog-hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(100, 255, 218, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(77, 255, 209, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.blog-hero-section h1 {
    color: var(--text-light);
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.blog-hero-section .subtitle {
    color: var(--text-dark);
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.blog-content-section {
    padding: 4rem 0;
    background: var(--bg-light);
}

.blog-filters {
    margin-bottom: 3rem;
}

.search-box {
    position: relative;
    max-width: 500px;
    margin: 0 auto 2rem;
}

.search-box input {
    width: 100%;
    padding: 1rem 3rem 1rem 1.5rem;
    border: 1px solid rgba(100, 255, 218, 0.2);
    border-radius: var(--radius-full);
    background: var(--bg-dark);
    color: var(--text-light);
    font-size: 1rem;
    transition: all var(--transition-normal);
}

.search-box input:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 2px rgba(100,255,218,0.1);
}

.search-box i {
    position: absolute;
    right: 1.2rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
}

.tag-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.tag-filter {
    padding: 0.5rem 1.5rem;
    border: 1px solid rgba(100, 255, 218, 0.2);
    border-radius: var(--radius-full);
    background: var(--bg-dark);
    color: var(--text-light);
    cursor: pointer;
    transition: all var(--transition-normal);
    font-size: 0.9rem;
}

.tag-filter:hover,
.tag-filter.active {
    background: var(--accent-color);
    color: var(--bg-dark);
    border-color: var(--accent-color);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.blog-post {
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    margin-bottom: 20px;
}

.blog-post:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.blog-post h2 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    color: var(--text-light);
}

.blog-post h3 {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
    font-weight: 400;
}

.post-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.post-date {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.post-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.tag {
    padding: 0.2rem 0.8rem;
    background: rgba(100, 255, 218, 0.1);
    border-radius: var(--radius-full);
    color: var(--accent-color);
    font-size: 0.8rem;
}

.post-content {
    color: var(--text-dark);
    line-height: 1.6;
}

.post-content p {
    margin-bottom: 1.5rem;
}

.blog-image {
    width: 100%;
    height: auto;
    border-radius: var(--radius-md);
    margin: 1.5rem 0;
}

.loading-spinner {
    text-align: center;
    padding: 3rem;
    color: var(--text-muted);
}

.loading-spinner i {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.error-message {
    color: #ff6b6b;
    text-align: center;
    padding: 2rem;
}

.blog-pagination {
    text-align: center;
    margin-top: 3rem;
}

/* Blog Responsive Styles */
@media (max-width: 768px) {
    .blog-hero-section {
        padding: 140px 0 60px;
    }

    .blog-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }

    .blog-post {
        padding: 1.5rem;
    }

    .blog-post h2 {
        font-size: 1.5rem;
    }

    .blog-post h3 {
        font-size: 1.1rem;
    }

    .tag-filters {
        gap: 0.5rem;
    }

    .tag-filter {
        padding: 0.4rem 1rem;
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .blog-hero-section {
        padding: 120px 0 50px;
    }

    .post-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .blog-post {
        padding: 1.2rem;
    }
}

/* Modal styles */
.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    overflow-y: auto;
}

.modal-content {
    background-color: #1a1a1a;
    margin: 5% auto;
    padding: 30px;
    border: 1px solid #333;
    width: 90%;
    max-width: 800px;
    border-radius: 8px;
    position: relative;
    color: #fff;
}

.close-modal {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    position: absolute;
    right: 20px;
    top: 10px;
}

.close-modal:hover {
    color: #fff;
}

/* Full post content styles */
.full-post-content {
    padding: 20px 0;
}

.full-post-content h2 {
    color: #7fffd4;
    margin-bottom: 10px;
    font-size: 2em;
}

.full-post-content h3 {
    color: #ccc;
    margin-bottom: 20px;
    font-size: 1.2em;
}

.full-post-content .post-meta {
    margin-bottom: 20px;
    color: #888;
}

.full-post-content .post-content {
    line-height: 1.8;
}

.full-post-content .tag {
    display: inline-block;
    padding: 4px 8px;
    margin: 0 4px 4px 0;
    background: rgba(127, 255, 212, 0.1);
    border-radius: 4px;
    color: #7fffd4;
    font-size: 0.9em;
}

/* Add some animation to modal */
@keyframes modalFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal {
    animation: modalFadeIn 0.3s ease-in-out;
}

/* Make sure modal content is scrollable on mobile */
@media (max-width: 768px) {
    .modal-content {
        margin: 0;
        min-height: 100vh;
        width: 100%;
        border-radius: 0;
    }
}

/* --- TYPEFORM OVERRIDES FOR JOIN US PAGE --- */
/* Container and Form Layout */
.form-container {
    background-color: var(--bg-medium);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    width: 100%;
    max-width: 800px;
    min-height: 600px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    margin: 2rem auto;
    position: relative;
    transform: translateZ(0);
    backface-visibility: hidden;
    -webkit-font-smoothing: antialiased;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.form-header {
    padding: 2rem;
    border-bottom: 1px solid var(--accent-color);
    background: var(--bg-medium);
    position: sticky;
    top: 0;
    z-index: 10;
}

.form-header .logo {
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.progress-container {
    width: 100%;
    height: 4px;
    background-color: var(--bg-dark);
    border-radius: 2px;
    overflow: hidden;
    position: relative;
}

.progress-bar {
    height: 100%;
    width: 0;
    background-color: var(--accent-color);
    transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.progress-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, 
        rgba(255,255,255,0) 0%,
        rgba(255,255,255,0.2) 50%,
        rgba(255,255,255,0) 100%);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.form-content {
    flex: 1;
    padding: 1rem;
    overflow-y: auto;
    position: relative;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
}

.question-screen, .intro-screen, .thank-you-screen {
    opacity: 0;
    visibility: hidden;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    background: var(--bg-medium);
    transform: translateY(20px);
    will-change: transform, opacity;
    padding-top: 1.5rem;
}

.question-screen.active, .intro-screen.active, .thank-you-screen.active {
    opacity: 1;
    visibility: visible;
    position: relative;
    transform: translateY(0);
}

.form-group {
    margin-bottom: 2rem;
    opacity: 0;
    transform: translateY(10px);
    animation: fadeInUp 0.5s forwards;
    animation-delay: calc(var(--group-index, 0) * 0.1s);
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

label {
    display: block;
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 0.75rem;
    color: var(--text-light);
    transition: color 0.3s ease;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
textarea,
select {
    width: 100%;
    padding: 1rem 1.25rem;
    border: 2px solid var(--accent-color);
    border-radius: var(--radius-md);
    font-size: 1rem;
    background-color: var(--bg-dark);
    color: var(--text-light);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    -webkit-appearance: none;
    appearance: none;
    box-shadow: 0 0 10px rgba(100,255,218,0.2);
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
input[type="number"]:focus,
textarea:focus,
select:focus {
    border-color: var(--accent-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(100,255,218,0.15);
    transform: translateY(-1px);
}

.radio-group, .checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.radio-option, .checkbox-option {
    display: flex;
    align-items: center;
    padding: 1.25rem;
    border: 2px solid var(--accent-color);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: var(--bg-dark);
    color: var(--text-light);
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 10px rgba(100,255,218,0.2);
}

.radio-option:hover, .checkbox-option:hover {
    border-color: rgba(100,255,218,0.5);
    transform: translateY(-1px);
}

.radio-option.selected, .checkbox-option.selected {
    border-color: var(--accent-color);
    background: var(--bg-darker);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(100,255,218,0.1);
}

.radio-option input[type="radio"], 
.checkbox-option input[type="checkbox"] {
    margin-right: 1rem;
    width: 20px;
    height: 20px;
    accent-color: var(--accent-color);
}

.error-message {
    color: var(--accent-color);
    font-size: 0.95rem;
    margin-top: 0.5rem;
    animation: shake 0.5s cubic-bezier(0.36, 0.07, 0.19, 0.97) both;
}

@keyframes shake {
    10%, 90% { transform: translateX(-1px); }
    20%, 80% { transform: translateX(2px); }
    30%, 50%, 70% { transform: translateX(-4px); }
    40%, 60% { transform: translateX(4px); }
}

/* Buttons */
.btn, .cta-button, button {
    border-radius: var(--radius-full);
    border: none;
    padding: 0.875rem 1.75rem;
    font-size: 1rem;
    font-weight: 600;
    font-family: inherit;
    background-color: var(--accent-color);
    color: var(--bg-dark);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    margin: 0.5rem 0.25rem;
    position: relative;
    overflow: hidden;
    transform: translateZ(0);
    -webkit-font-smoothing: antialiased;
}

.btn::after, .cta-button::after, button::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(255, 255, 255, 0.2) 50%, 
        transparent 100%);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.btn:hover::after, .cta-button:hover::after, button:hover::after {
    transform: translateX(100%);
}

.btn-primary, .cta-button {
    background-color: var(--accent-color);
    color: var(--bg-dark);
    transition: all var(--transition-normal);
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(100, 255, 218, 0.15);
}

.btn-primary:hover, .cta-button:hover {
    background-color: white;
    color: var(--bg-dark);
    transform: translateY(-1px);
    box-shadow: 0 3px 10px rgba(100, 255, 218, 0.15);
}

.btn-secondary {
    background: var(--bg-dark);
    color: var(--accent-color);
    border: 1px solid var(--accent-color);
}

.btn-secondary:hover {
    background: var(--accent-color);
    color: var(--bg-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(100, 255, 218, 0.2);
}

/* Checkmark animation for thank you screen */
.check-animation {
    margin: 2rem auto;
    width: 100px;
    height: 100px;
    transform: scale(0.8);
    opacity: 0;
    animation: scaleIn 0.5s forwards 0.5s;
}

@keyframes scaleIn {
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.checkmark__circle {
    stroke-dasharray: 166;
    stroke-dashoffset: 166;
    stroke-width: 2;
    stroke-miterlimit: 10;
    stroke: var(--accent-color);
    fill: none;
    animation: stroke 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}

.checkmark {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: block;
    stroke-width: 2;
    stroke: var(--accent-color);
    stroke-miterlimit: 10;
    box-shadow: inset 0px 0px 0px var(--accent-color);
    animation: fill .4s ease-in-out .4s forwards, scale .3s ease-in-out .9s both;
}

.checkmark__check {
    transform-origin: 50% 50%;
    stroke-dasharray: 48;
    stroke-dashoffset: 48;
    animation: stroke 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.8s forwards;
}

/* Responsive Design */
@media (max-width: 768px) {
    .form-container {
        margin: 1rem auto;
        min-height: 500px;
        border-radius: var(--radius-md);
    }

    .form-header {
        padding: 1.5rem;
    }

    .form-header .logo {
        font-size: 1.5rem;
    }

    .form-content {
        padding: 1.5rem;
    }

    .question-screen, .intro-screen, .thank-you-screen {
        padding: 1.5rem;
    }

    h1 {
        font-size: 1.75rem;
        margin-bottom: 1rem;
    }

    .form-group {
        margin-bottom: 1.5rem;
    }

    label {
        font-size: 1rem;
    }

    input[type="text"],
    input[type="email"],
    input[type="tel"],
    input[type="number"],
    textarea,
    select {
        padding: 0.875rem 1rem;
        font-size: 0.95rem;
    }

    .radio-option, .checkbox-option {
        padding: 1rem;
    }

    .btn, .cta-button {
        padding: 0.75rem 1.5rem;
        font-size: 0.95rem;
    }

    .check-animation {
        width: 80px;
        height: 80px;
    }
}

@media (max-width: 480px) {
    .form-container {
        margin: 0.5rem auto;
        min-height: 450px;
        border-radius: var(--radius-sm);
    }

    .form-header {
        padding: 1rem;
    }

    .form-header .logo {
        font-size: 1.25rem;
        margin-bottom: 0.75rem;
    }

    .form-content {
        padding: 1rem;
    }

    .question-screen, .intro-screen, .thank-you-screen {
        padding: 1rem;
    }

    h1 {
        font-size: 1.5rem;
    }

    .form-group {
        margin-bottom: 1.25rem;
    }

    label {
        font-size: 0.95rem;
        margin-bottom: 0.5rem;
    }

    input[type="text"],
    input[type="email"],
    input[type="tel"],
    input[type="number"],
    textarea,
    select {
        padding: 0.75rem;
        font-size: 0.9rem;
    }

    .radio-option, .checkbox-option {
        padding: 0.875rem;
    }

    .btn, .cta-button {
        padding: 0.625rem 1.25rem;
        font-size: 0.9rem;
        margin: 0.25rem;
    }

    .check-animation {
        width: 60px;
        height: 60px;
    }
}

/* Fix for iOS input zoom */
@media screen and (-webkit-min-device-pixel-ratio:0) {
    select,
    textarea,
    input[type="text"],
    input[type="email"],
    input[type="tel"],
    input[type="number"] {
        font-size: 16px;
    }
}

/* Prevent content shift on mobile */
html {
    overflow-x: hidden;
    width: 100%;
}

/* Smooth scrolling for the entire page */
html {
    scroll-behavior: smooth;
}

/* Prevent pull-to-refresh on mobile */
body {
    overscroll-behavior-y: none;
}

/* --- FULL PAGE FORM LAYOUT FOR JOIN US --- */
body.join-us-page, .join-us-fullpage {
    min-height: 100vh;
    min-width: 100vw;
    height: 100vh;
    width: 100vw;
    display: block;
    background: var(--bg-medium);
    overflow-x: hidden;
}

.form-container {
    position: absolute;
    top: 100px;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    width: 100%;
    max-width: 600px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--bg-medium);
    box-shadow: none;
    border-radius: 0;
    padding: 0 2rem;
    z-index: 100;
    overflow: visible;
}

.form-content {
    width: 100%;
    margin: 0;
    padding: 2rem 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: transparent;
    overflow-y: visible;
    max-height: none;
}

.form-footer {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem 0 1.5rem 0;
    background: transparent;
    margin-bottom: 1rem;
    position: relative;
}

.navigation-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    align-items: center;
    width: 100%;
}

@media (max-width: 768px) {
    .form-container {
        margin: 80px auto 0;
        min-height: calc(100vh - 80px);
        padding: 0;
        max-width: 100%;
    }
    
    .form-content {
        padding: 1rem;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: var(--bg-dark);
        display: none;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 1rem;
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .intro-screen h1 {
        font-size: 2.2rem;
    }
    
    .intro-screen p {
        font-size: 1rem;
    }
    
    .menu-toggle {
        z-index: 1001;
    }
}

/* Remove .container rules for join-us page */
body.join-us-page .main-container { display: none !important; }

/* Additional fixes for join-us page */
.join-us-page .site-header {
    background: var(--bg-dark);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid rgba(100, 255, 218, 0.2);
}

.contact-section .join-us {
    background-color: var(--accent-color); 
    color: var(--bg-dark);
}

.contact-section .join-us:hover {
    background-color: white;
    color: var(--accent-color);
}

.join-us-page .logo a span {
    color: var(--text-light);
    transition: color var(--transition-normal);
}

.join-us-page .logo a:hover span {
    color: var(--accent-color);
}

/* Fix form container positioning */
.join-us-page .form-container {
    margin-top: 120px;
    min-height: calc(100vh - 120px);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    padding-bottom: 2rem;
}

/* Remove scrollbar from main container */
.join-us-page {
    overflow-y: auto;
    height: auto;
    min-height: 100vh;
}

/* Mobile menu toggle styles for join-us page */
.join-us-page .menu-toggle {
    display: none;
}

@media (max-width: 768px) {
    .join-us-page .menu-toggle {
        display: block;
        background: none;
        border: none;
        cursor: pointer;
        padding: 0;
        width: 30px;
        height: 24px;
        position: absolute;
        right: 1.5rem;
        top: 1.8rem;
        z-index: 1001;
        border-radius: 0;
    }

    .join-us-page .menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--text-light);
    position: absolute;
    left: 0;
    transition: all 0.3s ease;
}

    .join-us-page .menu-toggle span:first-child {
        top: 0;
    }

    .join-us-page .menu-toggle span:nth-child(2) {
        top: 10px;
    }

    .join-us-page .menu-toggle span:last-child {
        top: 20px;
    }

    /* Fix navbar positioning in mobile */
    .join-us-page .nav-links {
        padding-top: 80px;
        z-index: 1000;
        background: rgba(10, 25, 47, 0.98);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
    }
    
    .join-us-page .nav-links li {
        margin: 0.8rem 0;
    }
    
    .join-us-page .nav-links a {
        font-size: 1.2rem;
        padding: 0.8rem;
        display: block;
        width: 100%;
        text-align: center;
        color: var(--text-light);
    }
    
    .join-us-page .nav-links a:hover {
        color: var(--accent-color);
    }
    
    .join-us-page .nav-links .cta-button {
        background: var(--accent-color);
        color: var(--bg-dark);
        padding: 0.75rem 1.5rem;
        border-radius: var(--radius-full);
        margin-top: 1rem;
    }
    
    /* Fix animation for menu toggle */
    .join-us-page .menu-toggle.active span:first-child {
        transform: rotate(45deg);
        top: 10px;
        background: var(--accent-color);
    }
    
    .join-us-page .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .join-us-page .menu-toggle.active span:last-child {
        transform: rotate(-45deg);
        top: 10px;
        background: var(--accent-color);
    }
}

@media (max-width: 768px) {
    .join-us-page .form-container {
        margin-top: 100px;
        min-height: calc(100vh - 100px);
        max-width: 100%;
        width: 95%;
    }
}

/* Fix button styling for consistent hover effects */
.join-us-page .btn, 
.join-us-page .cta-button {
    background-color: var(--accent-color);
    color: var(--bg-dark);
    padding: 0.875rem 1.75rem;
    border-radius: var(--radius-full);
    font-weight: 600;
    transition: all var(--transition-normal);
    box-shadow: 0 2px 8px rgba(100, 255, 218, 0.15);
    position: relative;
    overflow: hidden;
}

.join-us-page .btn:hover, 
.join-us-page .cta-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 3px 10px rgba(100, 255, 218, 0.15);
    background: white;
    color: var(--bg-dark);
}

.join-us-page .btn.btn-secondary {
    background: transparent;
    color: var(--accent-color);
    border: 2px solid var(--accent-color);
}

.join-us-page .btn.btn-secondary:hover {
    background: rgba(100, 255, 218, 0.05);
    color: var(--accent-color);
    box-shadow: 0 2px 8px rgba(100, 255, 218, 0.1);
}

.join-us-page .radio-option.selected,
.join-us-page .checkbox-option.selected {
    border-color: var(--accent-color);
    background: rgba(10, 25, 47, 0.8);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(100, 255, 218, 0.1);
}

/* Adjust heights to reduce scrolling */
.join-us-page .form-container {
    margin-top: 90px;
    min-height: auto;
    height: auto;
    max-height: calc(100vh - 100px);
    overflow-y: auto;
    padding-top: 10px;
}

.join-us-page .question-screen {
    min-height: auto;
    padding: 2rem 0;
}

/* Fix navigation buttons position */
.join-us-page .form-footer {
    position: relative;
    padding: 1rem 0 2rem;
}

/* Fix radio button selection styles */
.join-us-page .radio-option input[type="radio"],
.join-us-page .checkbox-option input[type="checkbox"] {
    accent-color: var(--accent-color);
}

/* Fix Let's Begin button hover effect */
.intro-screen .btn-primary,
.intro-screen .cta-button {
    background-color: var(--accent-color);
    color: var(--bg-dark);
    transition: all var(--transition-normal);
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(100, 255, 218, 0.15);
}

.intro-screen .btn-primary:hover,
.intro-screen .cta-button:hover {
    background-color: white;
    color: var(--bg-dark);
    transform: translateY(-1px);
    box-shadow: 0 3px 10px rgba(100, 255, 218, 0.15);
}

/* Prevent scrollbar for dropdown questions */
.join-us-page .question-screen {
    overflow: visible;
    height: auto;
    max-height: none;
}

/* Specifically style the dropdown question */
.question-screen[data-question-id="role"] {
    min-height: 40vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding-top: 20px;
}

.question-screen[data-question-id="role"] select {
    margin-bottom: 1rem;
}

/* Make help text more visible */
.help-text {
    margin-top: 0.8rem;
    color: var(--text-light);
    opacity: 0.8;
}

.help-text .link {
    color: var(--accent-color);
    text-decoration: underline;
    cursor: pointer;
}

/* Adjust form container to prevent scrolling */
.join-us-page .form-container {
    overflow: visible;
    max-height: none;
}

/* Fix hover effects for all homepage buttons */
.hero-cta .cta-button {
    background-color: var(--accent-color);
    color: var(--bg-dark);
    transition: all var(--transition-normal);
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(100, 255, 218, 0.15);
    position: relative;
    overflow: hidden;
}

.hero-cta .cta-button:hover {
    background-color: white;
    color: var(--bg-dark);
    transform: translateY(-1px);
    box-shadow: 0 3px 10px rgba(100, 255, 218, 0.15);
}

.hero-cta .cta-button.secondary {
    background: transparent;
    color: var(--accent-color);
    border: 2px solid var(--accent-color);
    box-shadow: none;
}

.hero-cta .cta-button.secondary:hover {
    background: rgba(100, 255, 218, 0.05);
    border-color: var(--accent-color);
    color: var(--accent-color);
    box-shadow: 0 2px 8px rgba(100, 255, 218, 0.1);
}

/* Add pulsing highlight for hover state */
@keyframes pulse-highlight {
    0% { box-shadow: 0 0 0 0 rgba(100, 255, 218, 0.3); }
    70% { box-shadow: 0 0 0 6px rgba(100, 255, 218, 0); }
    100% { box-shadow: 0 0 0 0 rgba(100, 255, 218, 0); }
}

/* Ensure consistent menu toggle styling for join-us page */
.join-us-page .menu-toggle,
.join-us-page .menu-toggle span {
    border-radius: 0 !important;
    -webkit-border-radius: 0 !important;
    -moz-border-radius: 0 !important;
    box-shadow: none !important;
    background-clip: padding-box;
}
