/* Custom styles are now in index.html <style> tag. */

/* Custom Colors */
:root {
    --primary: #4F46E5;
    --primary-dark: #4338CA;
    --secondary: #10B981;
    --secondary-dark: #059669;
}

/* Custom Classes */
.text-primary {
    color: var(--primary);
}

.bg-primary {
    background-color: var(--primary);
}

.hover\:bg-primary:hover {
    background-color: var(--primary);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
                url('assets/hero-bg.jpg') center/cover;
    min-height: 80vh;
    display: flex;
    align-items: center;
}

/* Buttons */
.btn-primary {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background-color: var(--primary);
    color: white;
    border-radius: 0.375rem;
    font-weight: 500;
    transition: background-color 0.2s;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
}

.btn-secondary {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background-color: transparent;
    color: white;
    border: 2px solid white;
    border-radius: 0.375rem;
    font-weight: 500;
    transition: all 0.2s;
}

.btn-secondary:hover {
    background-color: white;
    color: var(--primary);
}

/* Mobile Menu */
#mobile-menu {
    transition: all 0.3s ease-in-out;
}

/* Custom Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fadeIn 0.5s ease-out forwards;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        min-height: 60vh;
    }
    
    .hero-section h1 {
        font-size: 2.5rem;
    }
}

/* Form Styles */
.form-input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #E5E7EB;
    border-radius: 0.375rem;
    transition: border-color 0.2s;
}

.form-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

/* Card Styles */
.card {
    background: white;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s, box-shadow 0.2s;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: #9CA3AF;
}

:where([class^="ri-"])::before { content: "\f3c2"; }

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

.hero-bg {
    background-size: cover;
    background-position: center;
    position: relative;
}

.hero-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0.95) 40%, rgba(255,255,255,0) 100%);
    z-index: 1;
}

.hero-bg > * {
    position: relative;
    z-index: 2;
}

input[type="checkbox"], input[type="radio"] {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

.custom-checkbox {
    position: relative;
    display: inline-block;
    width: 20px;
    height: 20px;
    background-color: white;
    border: 2px solid #e2e8f0;
    border-radius: 4px;
}

.custom-checkbox::after {
    content: "";
    position: absolute;
    display: none;
    left: 6px;
    top: 2px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

input[type="checkbox"]:checked + .custom-checkbox {
    background-color: #4361ee;
    border-color: #4361ee;
}

input[type="checkbox"]:checked + .custom-checkbox::after {
    display: block;
}

.custom-radio {
    position: relative;
    display: inline-block;
    width: 20px;
    height: 20px;
    background-color: white;
    border: 2px solid #e2e8f0;
    border-radius: 50%;
}

.custom-radio::after {
    content: "";
    position: absolute;
    display: none;
    left: 4px;
    top: 4px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: white;
}

input[type="radio"]:checked + .custom-radio {
    background-color: #4361ee;
    border-color: #4361ee;
}

input[type="radio"]:checked + .custom-radio::after {
    display: block;
}

.custom-switch {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
}

.custom-switch-input {
    opacity: 0;
    width: 0;
    height: 0;
}

.custom-switch-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #e2e8f0;
    transition: .4s;
    border-radius: 34px;
}

.custom-switch-slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

.custom-switch-input:checked + .custom-switch-slider {
    background-color: #4361ee;
}

.custom-switch-input:checked + .custom-switch-slider:before {
    transform: translateX(20px);
}

.module-card:hover .module-details {
    opacity: 1;
    transform: translateY(0);
}

.testimonial-slider {
    overflow-x: hidden;
    position: relative;
}

.testimonial-slides {
    display: flex;
    transition: transform 0.5s ease;
}

.testimonial-slide {
    min-width: 100%;
}

/* Demo Request Page Styles */
.demo-request-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.demo-request-hero {
    text-align: center;
    margin-bottom: 4rem;
}

.demo-request-hero h1 {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.demo-request-hero p {
    font-size: 1.25rem;
    color: #4B5563;
    max-width: 600px;
    margin: 0 auto;
}

.demo-request-form {
    max-width: 600px;
    margin: 0 auto;
    background: white;
    padding: 2rem;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #374151;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #E5E7EB;
    border-radius: 0.375rem;
    font-size: 1rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.submit-button {
    width: 100%;
    padding: 0.75rem 1.5rem;
    background-color: var(--primary);
    color: white;
    border: none;
    border-radius: 0.375rem;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s;
}

.submit-button:hover {
    background-color: var(--primary-dark);
}

@media (max-width: 768px) {
    .demo-request-container {
        padding: 2rem 1rem;
    }

    .demo-request-hero h1 {
        font-size: 2.5rem;
    }

    .demo-request-hero p {
        font-size: 1.125rem;
    }

    .demo-request-form {
        padding: 1.5rem;
    }
} 