/* Custom CSS for Altneko Immigration & Consulting Landing Page */

:root {
    /* Color Variables */
    --primary-900: #152349;
    --primary-700: #1D2B64;
    --secondary: #FFB400;
    --accent: #00B5FF;
    --neutral-50: #FFFFFF;
    --neutral-100: #F7F9FC;
    --neutral-200: #EEF1F6;
    --neutral-300: #D0D5DD;
    --neutral-500: #667085;
    --neutral-700: #4D5875;
    --neutral-900: #333333;
    --success: #2ECC71;
    --danger: #E74C3C;
    
    /* Gradients */
    --grad-hero: linear-gradient(135deg, #1D2B64 0%, #283E8C 35%, #00B5FF 100%);
    --grad-card: linear-gradient(180deg, #FFFFFF 0%, #F7F9FC 100%);
}

/* General Styles */
body {
    font-family: 'Manrope', sans-serif;
    color: var(--neutral-900);
    line-height: 1.6;
}

/* Animation for benefit cards */
.benefit-card {
    opacity: 0;
    transform: translateX(-20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.benefit-card.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Progress bar animation for process steps */
.process-step {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.process-step.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Animation for case studies */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* FAQ accordion styles */
.faq-item {
    border-bottom: 1px solid var(--neutral-200);
}

.faq-question {
    cursor: pointer;
    position: relative;
}

.faq-question::after {
    content: '+';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question::after {
    transform: translateY(-50%) rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

/* Form styles */
.form-input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--neutral-300);
    border-radius: 12px;
    font-family: 'Manrope', sans-serif;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 2px rgba(0, 181, 255, 0.5);
}

/* Button styles */
.btn-primary {
    background-color: var(--secondary);
    color: var(--primary-900);
    font-weight: bold;
    padding: 12px 24px;
    border-radius: 16px;
    border: none;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-primary:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

/* Calculator styles */
.country-btn.active, .program-btn.active {
    border-color: var(--accent);
    background-color: rgba(0, 181, 255, 0.1);
}

/* Custom range input styling */
input[type="range"] {
    -webkit-appearance: none;
    height: 8px;
    background: var(--neutral-200);
    border-radius: 4px;
    outline: none;
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    background: var(--accent);
    border-radius: 50%;
    cursor: pointer;
}

input[type="range"]::-moz-range-thumb {
    width: 20px;
    height: 20px;
    background: var(--accent);
    border-radius: 50%;
    cursor: pointer;
    border: none;
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    :root {
        --primary-900: #E6ECFF;
        --neutral-50: #0B1126;
        --neutral-100: #162044;
        --neutral-200: #1D2B64;
        --neutral-300: #283E8C;
        --neutral-700: #B8C7E0;
        --neutral-900: #E6ECFF;
    }
    
    body {
        background-color: var(--neutral-50);
        color: var(--neutral-50);
    }
    
    .form-input {
        background-color: var(--neutral-100);
        color: var(--neutral-50);
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .container {
        padding-left: 16px;
        padding-right: 16px;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    .py-16 {
        padding-top: 48px;
        padding-bottom: 48px;
    }
}
