/* Define Inter Font */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@100..900&display=swap');

:root {
    --color-primary: #ffffff; /* White background */
    --color-accent: #ea580c; /* Orange 600 / Warm Orange */
    --color-text: #1f2937; /* Gray 800 / Dark Text */
    --color-muted: #6b7280; /* Gray 500 / Muted Text */
    --color-secondary: #fed7aa; /* Orange 200 / Light Orange */
    --color-dark: #9a3412; /* Orange 800 / Dark Orange */
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--color-primary);
    color: var(--color-text);
    scroll-behavior: smooth;
}

/* Custom utility for the background image style on the hero section */
.hero-bg {
    background-image: url('data:image/jpeg;base64,{BASE64_SyntrixWebsiteBackground}');
    /* Placeholder: Replace the above with the actual Base64 data of SyntrixWebsiteBackground.jpg */
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
}

.hero-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.9); /* Light overlay */
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

/* Styling for the module cards */
.module-card {
    transition: transform 0.3s, box-shadow 0.3s;
}

.module-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(234, 88, 12, 0.2);
}

/* Additional custom styles for enhanced functionality */
.nav-link {
    position: relative;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 50%;
    background-color: var(--color-accent);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

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

/* Form input focus styles */
.form-input:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(234, 88, 12, 0.1);
}

/* Button hover effects */
.btn-primary {
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-primary::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: left 0.5s;
}

.btn-primary:hover::before {
    left: 100%;
}

/* Pricing card highlight effect */
.pricing-card-featured {
    position: relative;
    transform: scale(1.05);
}

.pricing-card-featured::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, var(--color-accent), #f97316, var(--color-accent));
    border-radius: 12px;
    z-index: -1;
    animation: borderGlow 3s ease-in-out infinite;
}

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

/* Scroll animations - disabled for home section */
.fade-in {
    opacity: 1;
    transform: translateY(0);
    transition: none;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Keep home section static */
#home {
    position: relative;
}

#home * {
    animation: none !important;
    transition: none !important;
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
    .hero-bg {
        background-attachment: scroll;
    }
    
    .pricing-card-featured {
        transform: none;
    }
    
    .module-card:hover {
        transform: none;
    }
}

/* Loading animation for icons */
.icon-loading {
    animation: pulse 2s infinite;
}

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

/* Contact form validation styles */
.form-error {
    border-color: #ef4444 !important;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1) !important;
}

.form-success {
    border-color: #10b981 !important;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1) !important;
}

/* Smooth transitions for all interactive elements */
* {
    transition: color 0.3s ease, background-color 0.3s ease, border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}
