.logo {
    position: relative;
    transition: all 0.3s ease;
}

.logo img {
    height: 85px;
    transition: all 0.3s ease;
    filter: brightness(0) invert(1);
}

/* Fire Effect for 'a' icon */
.logo::before {
    content: '';
    position: absolute;
    top: 25%;
    left: 18%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    background: radial-gradient(circle at center, 
        rgba(255, 255, 0, 0.9) 0%,
        rgba(255, 165, 0, 0.7) 30%,
        rgba(255, 69, 0, 0.5) 60%,
        transparent 100%);
    filter: blur(4px);
    animation: fireGlow 2s ease-in-out infinite;
    z-index: -1;
}

/* Smoke Effect */
.logo::after {
    content: '';
    position: absolute;
    top: 21%;
    left: 21%;
    transform: translateX(-50%);
    width: 20px;
    height: 20px;
    background: radial-gradient(circle at center,
        rgba(255, 255, 255, 0.8) 0%,
        rgba(200, 200, 200, 0.6) 30%,
        rgba(150, 150, 150, 0.4) 60%,
        transparent 100%);
    filter: blur(3px);
    animation: smokeRise 3s ease-in-out infinite;
    z-index: -1;
}

@keyframes fireGlow {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.9;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 0.7;
    }
}

@keyframes smokeRise {
    0% {
        transform: translateX(-50%) translateY(0) scale(1);
        opacity: 0.8;
    }
    100% {
        transform: translateX(-50%) translateY(-20px) scale(1.5);
        opacity: 0;
    }
}

/* Multiple Smoke Particles */
.logo .smoke-particle {
    position: absolute;
    top: 30%;
    left: 50%;
    width: 10px;
    height: 10px;
    background: radial-gradient(circle at center,
        rgba(255, 255, 255, 0.8) 0%,
        rgba(200, 200, 200, 0.6) 30%,
        rgba(150, 150, 150, 0.4) 60%,
        transparent 100%);
    filter: blur(2px);
    animation: smokeRise 3s ease-in-out infinite;
}

.logo .smoke-particle:nth-child(1) {
    left: 15%;
    animation-delay: 0.5s;
}

.logo .smoke-particle:nth-child(2) {
    left: 16%;
    animation-delay: 1s;
}

.logo .smoke-particle:nth-child(3) {
    left: 17%;
    animation-delay: 1.5s;
}

.logo.animate img {
    animation: none;
}

.navbar.sticky .logo img {
    animation: none;
}

.logo:hover img {
    transform: none;
    filter: brightness(0) invert(1);
}

/* Vendors Hero Section */
.vendors-hero {
    position: relative;
    height: 60vh;
    background: linear-gradient(rgba(26, 35, 126, 0.8), rgba(26, 35, 126, 0.9)), url('img/oil-gallons.jpeg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-top: 0;
    padding: 2rem;
}

.vendors-hero .hero-content {
    max-width: 800px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 3rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    animation: fadeInUp 1s ease;
}

.vendors-hero h1 {
    font-size: 3.5rem;
    color: #fff;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.vendors-hero p {
    font-size: 1.5rem;
    color: #fff;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

/* Vendor Benefits Section */
.vendor-benefits {
    padding: 5rem 2rem;
    background: #f8f9fa;
}

.vendor-benefits h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #1a237e;
    margin-bottom: 3rem;
    position: relative;
}

.vendor-benefits h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: #00cec9;
    border-radius: 2px;
}

.benefits-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.benefit-card {
    background: #fff;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.benefit-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border-color: #00cec9;
}

.benefit-card i {
    font-size: 2.5rem;
    color: #00cec9;
    margin-bottom: 1.5rem;
}

.benefit-card h3 {
    color: #1a237e;
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.benefit-card p {
    color: #666;
    line-height: 1.6;
}

/* Vendor Requirements Section */
.vendor-requirements {
    padding: 5rem 2rem;
    background: linear-gradient(135deg, #1a237e 0%, #3949ab 100%);
    color: #fff;
}

.vendor-requirements h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    position: relative;
}

.vendor-requirements h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: #00cec9;
    border-radius: 2px;
}

.requirements-container {
    max-width: 1200px;
    margin: 0 auto;
}

.requirements-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.requirement-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.requirement-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.requirement-item i {
    font-size: 2rem;
    color: #00cec9;
    margin-bottom: 1.5rem;
}

.requirement-item h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #fff;
}

.requirement-item ul {
    list-style: none;
    padding: 0;
}

.requirement-item li {
    margin: 0.8rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: rgba(255, 255, 255, 0.9);
}

.requirement-item li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: #00cec9;
}

/* Vendor Registration Form */
.vendor-registration {
    padding: 5rem 2rem;
    background: #f8f9fa;
}

.vendor-registration h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #1a237e;
    margin-bottom: 3rem;
    position: relative;
}

.vendor-registration h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: #00cec9;
    border-radius: 2px;
}

.form-container {
    max-width: 800px;
    margin: 0 auto;
    background: #fff;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem 1.5rem;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #fff;
    color: #333;
}

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Cpath fill='%231a237e' d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
}

.form-group textarea {
    height: 150px;
    resize: vertical;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #00cec9;
    box-shadow: 0 0 15px rgba(0, 206, 201, 0.2);
    outline: none;
}

/* Submit Button Styles */
.vendor-registration .btn,
.vendor-registration button[type="submit"] {
    width: 100%;
    padding: 1rem 2rem;
    background: #1a237e;
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 1rem;
    position: relative;
    overflow: hidden;
}

.vendor-registration .btn:hover,
.vendor-registration button[type="submit"]:hover {
    background: #00cec9;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 206, 201, 0.3);
}

.vendor-registration .btn:active,
.vendor-registration button[type="submit"]:active {
    transform: translateY(0);
}

.vendor-registration button[type="submit"]:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.vendor-registration button[type="submit"].loading {
    color: transparent;
}

.vendor-registration button[type="submit"].loading::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 24px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 3px solid #fff;
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 0.8s linear infinite;
}

/* File Upload Button Styles */
.file-upload label {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.2rem 1.5rem;
    background: #f8f9fa;
    border: 2px dashed #dee2e6;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 0.5rem;
}

.file-upload label:hover {
    border-color: #00cec9;
    background: rgba(0, 206, 201, 0.05);
}

.file-upload input[type="file"] {
    display: none;
}

.file-upload i {
    font-size: 1.5rem;
    color: #1a237e;
    transition: all 0.3s ease;
}

.file-upload label:hover i {
    color: #00cec9;
    transform: translateY(-2px);
}

.file-upload span {
    color: #666;
    font-size: 0.95rem;
    flex: 1;
}

/* Form Message Styles */
.form-message {
    padding: 1rem;
    margin-bottom: 1.5rem;
    border-radius: 8px;
    text-align: center;
    font-weight: 500;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    display: none;
}

.form-message.success,
.form-message.error {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.form-message.success {
    background-color: rgba(40, 167, 69, 0.1);
    color: #28a745;
    border: 1px solid #28a745;
}

.form-message.error {
    background-color: rgba(220, 53, 69, 0.1);
    color: #dc3545;
    border: 1px solid #dc3545;
}

/* Loading State Styles */
button[type="submit"] {
    position: relative;
    transition: all 0.3s ease;
}

button[type="submit"]:disabled {
    background: #ccc;
    cursor: not-allowed;
}

button[type="submit"].loading {
    color: transparent;
}

button[type="submit"].loading::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 2px solid #fff;
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Success Message */
.success-message {
    background: #28a745;
    color: #fff;
    padding: 1rem;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    text-align: center;
    animation: fadeIn 0.3s ease;
}

/* Mobile Responsiveness */
@media (max-width: 1024px) {
    .vendors-hero {
        height: 50vh;
    }

    .vendors-hero h1 {
        font-size: 3rem;
    }

    .benefits-container,
    .requirements-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .vendors-hero {
        height: 40vh;
        padding: 1rem;
    }

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

    .vendors-hero p {
        font-size: 1.2rem;
    }

    .benefits-container,
    .requirements-content {
        grid-template-columns: 1fr;
    }

    .form-container {
        padding: 2rem;
    }

    .vendor-benefits,
    .vendor-requirements,
    .vendor-registration {
        padding: 3rem 1rem;
    }

    .file-upload label {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
    }

    .file-upload i {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .vendors-hero h1 {
        font-size: 2rem;
    }

    .vendors-hero p {
        font-size: 1rem;
    }

    .form-container {
        padding: 1.5rem;
    }

    .benefit-card,
    .requirement-item {
        padding: 1.5rem;
    }
}

/* Touch Device Optimizations */
@media (hover: none) {
    .benefit-card:hover,
    .requirement-item:hover {
        transform: none;
    }

    .btn:hover {
        transform: none;
    }
}

/* Print Styles */
@media print {
    .vendors-hero {
        height: auto;
        padding: 2rem;
        background: none;
    }

    .vendors-hero h1 {
        color: #000;
    }

    .vendors-hero p {
        color: #333;
    }

    .vendor-requirements {
        background: none;
        color: #000;
    }

    .requirement-item {
        border: 1px solid #000;
        background: none;
    }

    .requirement-item li {
        color: #333;
    }

    .btn {
        display: none;
    }
}

.form-feedback {
    margin-top: 5px;
    font-size: 14px;
    min-height: 20px;
}

.file-upload label span {
    display: inline-block;
    max-width: 200px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
} 