/* Custom CSS for GrowthPro Website */

:root {
    --primary-blue: #2563eb;
    --primary-purple: #7c3aed;
    --primary-teal: #0d9488;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --bg-light: #f9fafb;
    --bg-dark: #111827;
}

/* Dark mode variables */
.dark {
    --text-dark: #f9fafb;
    --text-light: #d1d5db;
    --bg-light: #111827;
    --bg-dark: #1f2937;
}

/* Global Styles */
* {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
}

/* Custom Animations */
@keyframes gradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

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

/* Button Styles */
.btn-primary {
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-purple));
    border: none;
    color: white;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.4);
    background: linear-gradient(135deg, #1d4ed8, #6d28d9);
}

.btn-secondary {
    background: transparent;
    border: 2px solid;
    border-color: #d1d5db;
    color: var(--text-dark);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.dark .btn-secondary {
    border-color: #4b5563;
    color: var(--text-dark);
}

.btn-secondary:hover {
    background: rgba(59, 130, 246, 0.1);
    border-color: var(--primary-blue);
    color: var(--primary-blue);
    transform: translateY(-2px);
}

/* Navigation Styles */
.nav-link {
    position: relative;
    font-weight: 500;
}

.nav-link:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 50%;
    background: linear-gradient(90deg, var(--primary-blue), var(--primary-purple));
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

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

/* Card Hover Effects */
.benefit-card:hover {
    transform: translateY(-5px);
}

.job-card {
    background: white;
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid rgba(229, 231, 235, 0.8);
    position: relative;
    overflow: hidden;
}

.dark .job-card {
    background: #374151;
    border-color: rgba(75, 85, 99, 0.8);
}

.job-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-blue), var(--primary-purple), var(--primary-teal));
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.job-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.dark .job-card:hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* Feedback Carousel */
.feedback-scroll-container {
    position: relative;
    height: 300px;
    margin: 0 -1.5rem;
}

.feedback-scroll {
    animation: scroll 30s linear infinite;
    width: calc(200% + 2rem);
}

.feedback-scroll:hover {
    animation-play-state: paused;
}

.feedback-card {
    background: white;
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    min-width: 350px;
    max-width: 350px;
    border: 1px solid rgba(229, 231, 235, 0.5);
    transition: all 0.3s ease;
}

.dark .feedback-card {
    background: #374151;
    border-color: rgba(75, 85, 99, 0.5);
}

.feedback-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

/* Rating Stars */
.rating {
    color: #fbbf24;
    font-size: 1rem;
}

/* Form Styles */
.form-input {
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 0.5rem;
    padding: 0.75rem 1rem;
    width: 100%;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.dark .form-input {
    background: #374151;
    border-color: #4b5563;
    color: white;
}

.form-input:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

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

/* Modal Styles */
.modal {
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(8px);
}

.modal-content {
    background: white;
    border-radius: 1rem;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
}

.dark .modal-content {
    background: #1f2937;
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Success/Error Messages */
.alert {
    padding: 1rem;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
    border: 1px solid transparent;
}

.alert-success {
    background-color: #d1fae5;
    border-color: #a7f3d0;
    color: #065f46;
}

.dark .alert-success {
    background-color: rgba(5, 95, 70, 0.2);
    border-color: rgba(5, 95, 70, 0.3);
    color: #6ee7b7;
}

.alert-error {
    background-color: #fee2e2;
    border-color: #fca5a5;
    color: #991b1b;
}

.dark .alert-error {
    background-color: rgba(153, 27, 27, 0.2);
    border-color: rgba(153, 27, 27, 0.3);
    color: #fca5a5;
}

/* Job Category Badges */
.category-badge {
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-purple));
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Experience Level Badges */
.experience-badge {
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: capitalize;
}

.experience-badge.entry {
    background: #dbeafe;
    color: #1e40af;
}

.experience-badge.mid {
    background: #fef3c7;
    color: #92400e;
}

.experience-badge.senior {
    background: #f3e8ff;
    color: #7c2d12;
}

.experience-badge.lead {
    background: #ecfdf5;
    color: #065f46;
}

.dark .experience-badge.entry {
    background: rgba(30, 64, 175, 0.2);
    color: #93c5fd;
}

.dark .experience-badge.mid {
    background: rgba(146, 64, 14, 0.2);
    color: #fbbf24;
}

.dark .experience-badge.senior {
    background: rgba(124, 45, 18, 0.2);
    color: #c4b5fd;
}

.dark .experience-badge.lead {
    background: rgba(6, 95, 70, 0.2);
    color: #6ee7b7;
}

/* Responsive Design */
@media (max-width: 768px) {
    .feedback-scroll {
        animation: scroll 20s linear infinite;
    }
    
    .feedback-card {
        min-width: 280px;
        max-width: 280px;
    }
    
    .hero-title {
        font-size: 2.5rem;
        line-height: 1.1;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Print Styles */
@media print {
    .no-print {
        display: none !important;
    }
    
    body {
        background: white !important;
        color: black !important;
    }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f5f9;
}

.dark ::-webkit-scrollbar-track {
    background: #1e293b;
}

::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}

.dark ::-webkit-scrollbar-thumb {
    background: #475569;
}

::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

.dark ::-webkit-scrollbar-thumb:hover {
    background: #64748b;
}