/* Custom CSS for DriveReviews */

/* Typography */
body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.2;
    font-size: 1rem;
}

p {
    font-size: 0.85rem;
}

.lead {
  font-size: 1.05rem;
}

/* Color Scheme */
:root {
    --primary: #00ADEF;
    --primary-dark: #0088CC;
    --primary-light: #33BDEF;
    --primary-lighter: #66CDEF;
    --secondary: #FF6B35;
    --success: #28A745;
    --warning: #FFC107;
    --danger: #DC3545;
    --info: #17A2B8;
    --light: #F8F9FA;
    --dark: #343A40;
    --muted: #6C757D;
}

.text-primary {
    color: var(--primary) !important;
}

.bg-primary {
    background-color: var(--primary) !important;
}
.btn {
    font-size: 1rem !important;
}
.btn-primary {
    background-color: var(--primary);
    border-color: var(--primary);
    color: white;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 173, 239, 0.3);
}

.btn-outline-primary {
    color: var(--primary);
    border-color: var(--primary);
}

.btn-outline-primary:hover {
    background-color: var(--primary);
    border-color: var(--primary);
    color: white;
    transform: translateY(-2px);
}

/* Navigation */
.navbar-brand {
    font-size: 1rem;
    font-weight: 600;
}

.navbar {
    padding: 1rem 0;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/hero-bg.jpg') center/cover;
    /*opacity: 0.1;*/
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 173, 239, 0.6) 0%, rgba(0, 136, 204, 0.6) 100%);
    z-index: 2;
}

.hero-section .container {
    position: relative;
    z-index: 3;
}

.hero-title {
    animation: fadeInUp 0.8s ease-out;
}

.hero-subtitle {
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-buttons {
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

/* Steps Section */
.step-number {
    position: relative;
}

.step-number .badge {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: bold;
}

/* Forms */
.form-floating > label {
    color: var(--muted);
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.2rem rgba(0, 173, 239, 0.25);
}

.form-control {
    border-radius: 10px;
    border: 2px solid #E9ECEF;
    transition: all 0.3s ease;
}

/* Card Enhancements */
.card {
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.glass-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Star Rating */
.star-rating {
    display: inline-flex;
    gap: 2px;
}

.star {
    color: #ddd;
    cursor: pointer;
    font-size: 1.5rem;
    transition: all 0.2s ease;
}

.star.active,
.star:hover {
    color: #ffd700;
    transform: scale(1.1);
}

.star.readonly {
    cursor: default;
}

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

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .display-3 {
        font-size: 2.5rem;
    }
    
    .hero-section {
        padding: 2rem 0;
    }
    
    .feature-icon i {
        font-size: 2.5rem;
    }
    
    .step-number .badge {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
}

/* Utility Classes */
.transition-all {
    transition: all 0.3s ease;
}

.shadow-custom {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.gradient-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Driver-specific styling */
.driver-section {
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
    color: white;
}

.driver-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
}

.driver-card .card-title {
    color: white;
}

.driver-card .text-muted {
    color: rgba(255, 255, 255, 0.7) !important;
}

.fw-bold {
  font-weight: 700 !important;
}

@media (min-width: 1200px) {
  .display-5 {
    font-size: 2rem;
  }
  .h4, h4 {
    font-size: 1.15rem;
  }
}

footer {
    font-size: 0.9rem;
}

.progress-container {
        max-width: 500px;
        margin: 0 auto;
    }
    
    .step-indicator {
        display: flex;
        flex-direction: column;
        align-items: center;
        position: relative;
        z-index: 2;
    }
    
    .step-circle {
        width: 40px;
        height: 40px;
        border-radius: 50%;
        background: #e9ecef;
        color: #6c757d;
        display: flex;
        align-items: center;
        justify-content: center;
        font-weight: bold;
        transition: all 0.3s ease;
    }
    
    .step-indicator.active .step-circle {
        background: var(--primary);
        color: white;
    }
    
    .step-indicator.completed .step-circle {
        background: var(--success);
        color: white;
    }
    
    .step-label {
        margin-top: 8px;
        font-weight: 500;
        color: #6c757d;
    }
    
    .step-indicator.active .step-label {
        color: var(--primary);
        font-weight: 600;
    }
    
    .step-line {
        height: 2px;
        background: #e9ecef;
        flex: 1;
        margin: 0 10px;
        position: relative;
        top: 20px;
    }
    
    .step-content {
        display: none;
    }
    
    .step-content.active {
        display: block;
        animation: fadeIn 0.3s ease-in;
    }
    
    @keyframes fadeIn {
        from { opacity: 0; transform: translateY(10px); }
        to { opacity: 1; transform: translateY(0); }
    }

    .whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 32px; /* Slightly larger for FontAwesome */
    box-shadow: 2px 2px 10px rgba(0,0,0,0.2);
    z-index: 1050; /* Higher than Bootstrap modals if needed */
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    animation: whatsapp-pulse 2s infinite;
}

.whatsapp-float:hover {
    background-color: #128c7e;
    color: #FFF;
    transform: scale(1.1);
    animation: none; /* Stop pulsing on hover */
}

@keyframes whatsapp-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* Mobile Adjustments */
@media screen and (max-width: 767px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
        font-size: 28px;
    }
}