/* ========================================
   CSS Variables & Reset
   ======================================== */
:root {
    --primary-color: #2563eb;
    --primary-dark: #1e40af;
    --secondary-color: #10b981;
    --accent-color: #f59e0b;
    --dark-color: #1f2937;
    --light-gray: #f3f4f6;
    --gray: #6b7280;
    --border-color: #e5e7eb;
    --white: #ffffff;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --radius: 0.75rem;
    --radius-lg: 1rem;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
    background-color: var(--white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ========================================
   Navigation
   ======================================== */
.navbar {
    background: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-color);
    text-decoration: none;
}

.logo i {
    font-size: 2rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-menu a {
    text-decoration: none;
    color: var(--dark-color);
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary-color);
}

.nav-menu a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary-color);
}

.admin-link {
    background: var(--primary-color);
    color: var(--white) !important;
    padding: 0.5rem 1rem;
    border-radius: var(--radius);
}

.admin-link:hover {
    background: var(--primary-dark);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--dark-color);
}

/* ========================================
   Animations
   ======================================== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.animate-fade-in {
    opacity: 1;
    animation: fadeIn 0.8s ease-out forwards;
}

.animate-fade-in-delay {
    opacity: 1;
    animation: fadeIn 0.8s ease-out 0.2s forwards;
}
.animate-slide-up {
    animation: slideUp 0.8s ease-out 0.3s both;
}

.animate-slide-in-right {
    animation: slideInRight 0.6s ease-out;
}

.smooth-scroll {
    scroll-behavior: smooth;
}

html {
    scroll-behavior: smooth;
}

/* ========================================
   Hero Section
   ======================================== */
   .hero {
    /* background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%); */
    background: none;
    padding: 6rem 0 8rem;
    position: relative;
    overflow: hidden;
    min-height: 90vh;
    display: flex;
    flex-direction: column;      /* <-- important */
    align-items: center;
    justify-content: center; /* add this */
}

/* Hero Background Image */
.hero-background-image {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/hero-bg.png') center/cover no-repeat;
    background-size: cover;
    opacity: 1; /* Make image fully visible */
    z-index: 0;
}

/* Enquiry Form */
.enquiry-form-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    max-width: 900px;
    margin: 0 auto;
    transition: all 0.3s ease;
}

.initial-booking-card {
    transition: all 0.4s ease;
}

/* Booking Action Buttons */
.booking-action-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.btn-booking-action {
    flex: 1;
    min-width: 200px;
    padding: 1.125rem 2rem;
    border: none;
    border-radius: var(--radius);
    font-size: 1.125rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn-instant {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: var(--white);
}

.btn-instant:hover,
.btn-instant.active {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
}

.btn-scheduled {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--white);
}

.btn-scheduled:hover,
.btn-scheduled.active {
    background: linear-gradient(135deg, var(--primary-dark) 0%, #1e3a8a 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
}

.btn-booking-action i {
    font-size: 1.25rem;
}

/* Booking Details Section */
.booking-details-section {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 2px solid var(--border-color);
    animation: slideUp 0.6s ease-out;
    opacity: 1;
}

.section-divider {
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
}

.section-divider::before,
.section-divider::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 40%;
    height: 1px;
    background: var(--border-color);
}

.section-divider::before {
    left: 0;
}

.section-divider::after {
    right: 0;
}

.section-divider span {
    background: var(--white);
    padding: 0 1.5rem;
    position: relative;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1.125rem;
}

.form-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 1.5rem;
    text-align: center;
}

.location-inputs {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    position: relative;
}

.location-inputs::before {
    content: '';
    position: absolute;
    left: 1.5rem;
    top: 3rem;
    bottom: 3rem;
    width: 3px;
    background: var(--border-color);
    z-index: 1;
}

.location-icon-container {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    padding-top: 0.5rem;
}

.location-icon {
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 0.375rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
}

.icon-source {
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary-color);
}

.icon-destination {
    background: rgba(245, 158, 11, 0.1);
    color: var(--accent-color);
}

.location-fields {
    flex: 1;
}

.location-field {
    position: relative;
}

.location-field:first-child {
    margin-bottom: 1rem;
}

.autocomplete-input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid var(--border-color);
    border-radius: var(--radius);
    font-size: 1rem;
    transition: all 0.3s;
}

.autocomplete-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.autocomplete-container {
    position: relative;
}

.autocomplete-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    max-height: 200px;
    overflow-y: auto;
    z-index: 1000;
    display: none;
}

.autocomplete-dropdown.show {
    display: block;
}

.autocomplete-item {
    padding: 0.75rem 1rem;
    cursor: pointer;
    transition: background 0.2s;
}

.autocomplete-item:hover {
    background: var(--light-gray);
}

.autocomplete-item i {
    margin-right: 0.5rem;
}

/* Leaflet map container (if needed in future) */
.leaflet-container {
    font-family: 'Inter', sans-serif;
}

.booking-type-toggle {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.toggle-btn {
    flex: 1;
    padding: 0.875rem;
    border: 2px solid var(--border-color);
    background: var(--white);
    border-radius: var(--radius);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.toggle-btn.active {
    background: var(--dark-color);
    color: var(--white);
    border-color: var(--dark-color);
}

.datetime-fields {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--dark-color);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid var(--border-color);
    border-radius: var(--radius);
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.material-options {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.material-tag {
    padding: 0.5rem 1rem;
    border: 2px solid var(--border-color);
    background: var(--white);
    border-radius: 2rem;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 500;
}

.material-tag.active {
    background: var(--dark-color);
    color: var(--white);
    border-color: var(--dark-color);
}

.truck-options {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.truck-option {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    border: 2px solid var(--border-color);
    border-radius: var(--radius);
    cursor: pointer;
    transition: all 0.3s;
}

.truck-option:hover {
    border-color: var(--primary-color);
}

.truck-option.active {
    border-color: var(--primary-color);
    background: rgba(37, 99, 235, 0.05);
}

.truck-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.truck-icon {
    width: 3rem;
    height: 3rem;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.truck-details h4 {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.truck-details p {
    color: var(--gray);
    font-size: 0.875rem;
}

.truck-price {
    font-weight: 700;
    color: var(--primary-color);
}

.btn {
    padding: 0.875rem 2rem;
    border: none;
    border-radius: var(--radius);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-primary {
    background: var(--dark-color);
    color: var(--white);
}

.btn-primary:hover {
    background: #111827;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-primary:disabled {
    background: var(--gray);
    cursor: not-allowed;
    transform: none;
}

.btn-secondary {
    background: var(--border-color);
    color: var(--dark-color);
}

.btn-secondary:hover {
    background: #d1d5db;
}

.btn-full {
    width: 100%;
}

/* ========================================
   Sections
   ======================================== */
.section {
    padding: 4rem 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.section-subtitle {
    text-align: center;
    color: var(--gray);
    font-size: 1.125rem;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    text-align: center;
    padding: 0;
    background: var(--white);
    border-radius: var(--radius-lg);
    transition: all 0.3s ease;
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

/* Feature Image Placeholder */
.feature-image-placeholder {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    position: relative;
    overflow: hidden;
}

.feature-image-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.feature-card:hover .feature-image-placeholder img {
    transform: scale(1.1);
}

.feature-image-placeholder img[style*="display: none"] + .feature-image-fallback {
    display: flex !important;
}

.feature-image-fallback {
    width: 100%;
    height: 100%;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: rgba(255, 255, 255, 0.3);
    position: absolute;
    top: 0;
    left: 0;
}

.feature-card-content {
    padding: 2rem;
}

.feature-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin: 1.5rem 0 1rem;
    transition: transform 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1);
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--dark-color);
}

.feature-card p {
    color: var(--gray);
    line-height: 1.6;
}

/* ========================================
   Contact Form
   ======================================== */
.contact-section {
    background: var(--light-gray);
}

.contact-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

/* ========================================
   Footer
   ======================================== */
.footer {
    background: var(--dark-color);
    color: var(--white);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: var(--white);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
}

.social-links a:hover {
    background: var(--primary-color);
}

.contact-info li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
}

/* ========================================
   Admin Styles
   ======================================== */
.admin-layout {
    display: flex;
    min-height: calc(100vh - 70px);
    background: #f5f5f5;
}

.admin-sidebar {
    width: 220px;
    background: #2c3e50;
    position: fixed;
    height: calc(100vh - 70px);
    overflow-y: auto;
    z-index: 100;
    box-shadow: 2px 0 5px rgba(0,0,0,0.1);
}

.sidebar-header {
    padding: 2rem 1.5rem;
    background: #1a252f;
}

.sidebar-header h3 {
    margin: 0;
    color: var(--white);
    font-size: 1.25rem;
    font-weight: 600;
}

.sidebar-nav {
    padding: 1rem 0;
}

.sidebar-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s;
    border-left: 3px solid transparent;
    position: relative;
    font-size: 0.95rem;
}

.sidebar-link:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
}

.sidebar-link.active {
    background: rgba(255, 255, 255, 0.15);
    color: var(--white);
    border-left-color: #3498db;
    font-weight: 500;
}

.sidebar-link i {
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
}

.sidebar-link .badge {
    margin-left: auto;
    background: #e74c3c;
    color: var(--white);
    padding: 0.2rem 0.5rem;
    border-radius: 10px;
    font-size: 0.7rem;
    font-weight: 600;
    min-width: 20px;
    text-align: center;
}

.sidebar-link.active .badge {
    background: #c0392b;
}

.admin-main {
    flex: 1;
    margin-left: 220px;
    padding: 0;
    max-width: calc(100% - 220px);
    background: #f5f5f5;
}

.login-container {
    max-width: 400px;
    margin: 5rem auto;
    padding: 2rem;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.login-title {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--dark-color);
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    background: var(--white);
    border-bottom: 1px solid #e0e0e0;
    margin-bottom: 0;
}

.dashboard-title {
    font-size: 1.5rem;
    color: var(--dark-color);
    font-weight: 600;
}

.logout-btn {
    background: #dc2626;
    color: var(--white);
}

.logout-btn:hover {
    background: #b91c1c;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    padding: 2rem;
    background: #f5f5f5;
}

.stat-card {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    border: 1px solid #e0e0e0;
}

.stat-card h3 {
    font-size: 0.875rem;
    color: var(--gray);
    margin-bottom: 0.5rem;
}

.stat-card p {
    font-size: 2rem;
    font-weight: 700;
    color: var(--dark-color);
}

.enquiries-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--white);
    border-radius: 0;
    overflow: hidden;
    box-shadow: none;
    border: 1px solid #e0e0e0;
}

.enquiries-table th,
.enquiries-table td {
    padding: 0.875rem 1rem;
    text-align: left;
    border-bottom: 1px solid #e0e0e0;
    font-size: 0.9rem;
}

.enquiries-table th {
    background: #f8f9fa;
    font-weight: 600;
    color: #333;
    border-bottom: 2px solid #e0e0e0;
}

.enquiries-table tbody tr:hover {
    background: #f8f9fa;
}

.enquiries-table tbody tr:last-child td {
    border-bottom: none;
}

.status-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.875rem;
    font-weight: 500;
}

.status-pending {
    background: #fef3c7;
    color: #92400e;
}

.status-approved {
    background: #d1fae5;
    color: #065f46;
}

.status-rejected {
    background: #fee2e2;
    color: #991b1b;
}

.status-unread {
    background: #fee2e2;
    color: #991b1b;
}

.status-read {
    background: #dbeafe;
    color: #1e40af;
}

.status-replied {
    background: #d1fae5;
    color: #065f46;
}

/* ========================================
   Messages & Alerts
   ======================================== */
.alert {
    padding: 1rem;
    border-radius: var(--radius);
    margin-bottom: 1rem;
}

.alert-success {
    background: #d1fae5;
    color: #065f46;
    border: 1px solid #10b981;
}

.alert-error {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #ef4444;
}

.alert-info {
    background: #dbeafe;
    color: #1e40af;
    border: 1px solid #2563eb;
}

/* ========================================
   Responsive Design
   ======================================== */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        background: var(--white);
        flex-direction: column;
        padding: 2rem;
        box-shadow: var(--shadow-lg);
        transition: left 0.3s;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hero {
        /* background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%); */
        background: none;
        padding: 6rem 0 8rem;
        position: relative;
        overflow: hidden;
        min-height: 90vh;
        display: flex;
        align-items: center;
    }
    
    .hero-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center; /* vertical center */
        position: relative;
        z-index: 2;
        width: 100%;
        height: auto;
    }
    
    .hero-content {
        position: relative;
        z-index: 1;
        text-align: center;
        color: var(--white);
        margin-bottom: 3rem;
    }
    
    .hero-title {
        font-size: 3.5rem;
        font-weight: 800;
        margin-bottom: 1rem;
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
        line-height: 1.2;
    }
    
    .hero-subtitle {
        font-size: 1.5rem;
        opacity: 0.95;
        font-weight: 400;
    }
    
    .location-inputs {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .location-inputs::before {
        display: none;
    }
    
    .location-icon-container {
        flex-direction: row;
        padding-top: 0;
    }
    
    .booking-action-buttons {
        flex-direction: column;
    }
    
    .btn-booking-action {
        width: 100%;
        min-width: auto;
    }
    
    .datetime-fields {
        flex-direction: column;
    }
    
    .enquiry-form-card {
        padding: 1.5rem;
    }
    
    .feature-image-placeholder {
        height: 150px;
    }
    
    .feature-icon {
        font-size: 2.5rem;
    }
    
    .admin-layout {
        flex-direction: column;
    }
    
    .admin-sidebar {
        width: 100%;
        position: relative;
        height: auto;
        border-right: none;
        border-bottom: 1px solid var(--border-color);
    }
    
    .admin-main {
        margin-left: 0;
        max-width: 100%;
        padding: 1rem;
    }
    
    .sidebar-link {
        padding: 0.75rem 1rem;
    }
    
    .dashboard-header {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }
    
    .enquiries-table {
        font-size: 0.875rem;
    }
    
    .enquiries-table th,
    .enquiries-table td {
        padding: 0.5rem;
    }
}


.how-it-works-section {
    background: #f8fafc;
    padding: 56px 0 40px 0;
    overflow: hidden;
}
.how-bg-image {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: url('../images/How-it-works-bg.png') center center/cover no-repeat;
    opacity: 0.18;
    z-index: 1;
    pointer-events: none;
}
.how-it-works-section .container {
    position: relative;
    z-index: 2;
}
.how-it-works-steps {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 32px;
    margin-top: 32px;
    position: relative;
}
.how-step {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.07);
    padding: 32px 24px;
    width: 260px;
    min-width: 220px;
    text-align: center;
    position: relative;
    transition: transform 0.4s cubic-bezier(.4,0,.2,1), box-shadow 0.4s;
    cursor: pointer;
}
.how-step:hover, .how-step.active {
    transform: translateY(-12px) scale(1.04);
    box-shadow: 0 8px 32px rgba(0,0,0,0.12);
    background: #e6f7ff;
}
.step-icon {
    font-size: 2.5rem;
    color: #007bff;
    margin-bottom: 18px;
    animation: bounceIn 0.8s;
}
@keyframes bounceIn {
    0% { transform: scale(0.7); opacity: 0; }
    60% { transform: scale(1.2); opacity: 1; }
    100% { transform: scale(1); }
}
.how-step h3 {
    font-size: 1.18rem;
    margin-bottom: 10px;
    color: #222;
}
.how-step p {
    font-size: 0.98rem;
    color: #555;
}
.how-it-works-progress {
    width: 100%;
    max-width: 900px;
    margin: 36px auto 0 auto;
    height: 8px;
    background: #e0e7ef;
    border-radius: 4px;
    position: relative;
    overflow: hidden;
}
.progress-bar {
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, #007bff 60%, #00c6ff 100%);
    border-radius: 4px;
    transition: width 0.7s cubic-bezier(.4,0,.2,1);
}
@media (max-width: 900px) {
    .how-it-works-steps {
        gap: 20px;
    }
    .how-step {
        width: 45vw;
        min-width: 180px;
        padding: 24px 12px;
    }
}
@media (max-width: 600px) {
    .how-it-works-steps {
        flex-direction: column;
        gap: 18px;
        align-items: center;
    }
    .how-step {
        width: 90vw;
        min-width: 140px;
        padding: 18px 8px;
    }
}
/* ========================================
   Beautiful Alert Styles
   ======================================== */
@keyframes alertSlideIn {
    from {
        opacity: 0;
        transform: translateY(-20px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes alertIconPop {
    0% { transform: scale(0) rotate(-180deg); }
    50% { transform: scale(1.3) rotate(10deg); }
    100% { transform: scale(1) rotate(0deg); }
}

@keyframes alertShimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

.alert {
    position: relative;
    padding: 1.25rem 1.5rem;
    padding-left: 4rem;
    margin: 1.5rem 0;
    border-radius: 16px;
    font-weight: 500;
    font-size: 1rem;
    line-height: 1.5;
    display: flex;
    align-items: center;
    gap: 12px;
    animation: alertSlideIn 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.alert::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 5px;
    border-radius: 16px 0 0 16px;
}

.alert::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    background-size: 200% 100%;
    animation: alertShimmer 2s ease-in-out;
    pointer-events: none;
}

.alert-icon {
    position: absolute;
    left: 1.25rem;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    animation: alertIconPop 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 0.2s both;
    z-index: 1;
}

/* Success Alert */
.alert-success {
    background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
    color: #065f46;
    border: 1px solid #6ee7b7;
}

.alert-success::before {
    background: linear-gradient(180deg, #10b981, #059669);
}

/* Error Alert */
.alert-error {
    background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
    color: #991b1b;
    border: 1px solid #fca5a5;
}

.alert-error::before {
    background: linear-gradient(180deg, #ef4444, #dc2626);
}

/* Warning Alert */
.alert-warning {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    color: #92400e;
    border: 1px solid #fcd34d;
}

.alert-warning::before {
    background: linear-gradient(180deg, #f59e0b, #d97706);
}

/* Info Alert */
.alert-info {
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    color: #1e40af;
    border: 1px solid #93c5fd;
}

.alert-info::before {
    background: linear-gradient(180deg, #3b82f6, #2563eb);
}

/* Alert Responsive */
@media (max-width: 768px) {
    .alert {
        padding: 1rem 1.25rem;
        padding-left: 3.5rem;
        font-size: 0.9rem;
        border-radius: 12px;
    }
    
    .alert-icon {
        width: 28px;
        height: 28px;
        left: 1rem;
        font-size: 0.875rem;
    }
}
