/* Custom CSS for Top Rated Surveys */

:root {
    --primary-color: #007bff;
    --secondary-color: #6c757d;
    --success-color: #28a745;
    --danger-color: #dc3545;
    --warning-color: #ffc107;
    --info-color: #17a2b8;
    --light-color: #f8f9fa;
    --dark-color: #343a40;
}

/* General Styles */
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    color: #333;
}

.font-weight-bold {
    font-weight: 600 !important;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Header */
.navbar-brand {
    font-size: 1.5rem;
}

.navbar {
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background-color: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
}

/* Hero Section */
.hero {
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.hero h1 {
    line-height: 1.2;
}

.hero .btn-primary {
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
    transition: all 0.3s ease;
}

.hero .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 123, 255, 0.4);
}

/* How It Works Section */
.step-icon .rounded-circle {
    transition: all 0.3s ease;
}

.step-icon .rounded-circle:hover {
    transform: scale(1.1);
    box-shadow: 0 10px 30px rgba(0, 123, 255, 0.3);
}

/* Stats Section */
.bg-primary .display-4 {
    margin-bottom: 0.5rem;
}

/* Testimonials */
.testimonials-carousel .card {
    transition: all 0.3s ease;
    margin: 0 15px;
}

.testimonials-carousel .card:hover {
    transform: translateY(-5px);
}

.owl-carousel .owl-nav {
    text-align: center;
    margin-top: 30px;
}

.owl-carousel .owl-nav button {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary-color) !important;
    color: white !important;
    border: none;
    margin: 0 10px;
    font-size: 18px;
    transition: all 0.3s ease;
}

.owl-carousel .owl-nav button:hover {
    background: var(--dark-color) !important;
    transform: scale(1.1);
}

.owl-carousel .owl-dots {
    text-align: center;
    margin-top: 20px;
}

.owl-carousel .owl-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ddd;
    margin: 0 5px;
    transition: all 0.3s ease;
}

.owl-carousel .owl-dot.active {
    background: var(--primary-color);
}

/* Brand Partners */
.grayscale-hover {
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
    max-height: 60px;
}

.grayscale-hover:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.05);
}

/* Get Started Section */
.bg-primary .btn-light {
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.bg-primary .btn-light:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.4);
}

/* Footer */
footer {
    background: linear-gradient(135deg, #2c3e50 0%, #3498db 100%);
}

footer a {
    transition: color 0.3s ease;
}

footer a:hover {
    color: var(--warning-color) !important;
    text-decoration: none;
}

/* Form Styles */
.input-group .form-control {
    border-right: none;
}

.input-group .btn {
    border-left: none;
}

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

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero {
        min-height: 70vh;
        text-align: center;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .display-4 {
        font-size: 2rem;
    }
    
    .lead {
        font-size: 1rem;
    }
    
    .navbar-brand {
        font-size: 1.25rem;
    }
    
    .testimonials-carousel .card {
        margin: 0 5px;
    }
}

@media (max-width: 576px) {
    .hero .btn-lg {
        padding: 12px 24px;
        font-size: 1rem;
    }
    
    .stats .display-4 {
        font-size: 2.5rem;
    }
    
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }
}

/* Additional utility classes */
.text-shadow {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.box-shadow {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.border-radius-lg {
    border-radius: 15px;
}

/* Loading animation for images */
img {
    transition: opacity 0.3s ease;
}

img[data-src] {
    opacity: 0;
}

img[data-loaded="true"] {
    opacity: 1;
}

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

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

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--dark-color);
}