/* Enhanced CSS with Mobile Menu and Icon Support */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
}

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

/* Header Styles with Mobile Menu */
header {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: white;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    position: relative;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
    position: relative;
}

/* Screen reader only text */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.hamburger-line {
    width: 25px;
    height: 3px;
    background: white;
    margin: 3px 0;
    transition: all 0.3s ease;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* Navigation Container */
.nav-container {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Order page specific styles */
body.order-page header {
    justify-content: center;
}

body.order-page .nav-menu {
    display: none !important;
}

body.order-page .place-order-btn {
    display: none !important;
}

body.order-page .order-nav {
    display: flex !important;
    gap: 20px;
}

.logo {
    font-size: 28px;
    font-weight: bold;
    color: #fff;
    cursor: pointer;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-menu a:hover {
    color: #ffd700;
}

/* Button Styles */
.place-order-btn {
    background: linear-gradient(45deg, #ff6b35, #f7931e);
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 30px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.place-order-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 107, 53, 0.4);
}

.home-btn {
    background: linear-gradient(45deg, #00c851, #00a841);
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 30px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.login-btn {
    background: linear-gradient(45deg, #1e3c72, #2a5298);
    border: 2px solid #ffd700;
    color: white;
    padding: 12px 24px;
    border-radius: 30px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.home-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 200, 81, 0.4);
}

.login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(30, 60, 114, 0.4);
}

/* Order navigation styles */
.order-nav {
    display: none;
    align-items: center;
    gap: 15px;
}

/* Human Written Badge */
.human-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: linear-gradient(45deg, #00c851, #00a841);
    color: white;
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: bold;
    font-size: 14px;
    box-shadow: 0 4px 15px rgba(0, 200, 81, 0.3);
    animation: pulse 2s infinite;
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 999;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, rgba(30, 60, 114, 0.9), rgba(42, 82, 152, 0.9)), url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><polygon fill="%23ffffff" fill-opacity="0.05" points="0,0 1000,300 1000,1000 0,700"/><polygon fill="%23ffffff" fill-opacity="0.02" points="0,300 1000,0 1000,400 0,1000"/></svg>');
    color: white;
    padding: 150px 0 100px;
    position: relative;
    overflow: hidden;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.hero-text {
    flex: 1;
    max-width: 600px;
}

.hero-animation {
    flex: 0 0 auto;
    margin-left: auto;
    padding-left: 40px;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.2;
}

.hero p {
    font-size: 20px;
    margin-bottom: 30px;
    opacity: 0.9;
}

.hero-cta {
    font-size: 18px;
    padding: 15px 30px;
}

/* Book Animation Styles */
.book-container {
    perspective: 1000px;
    position: relative;
}

.book {
    width: 250px;
    height: 350px;
    position: relative;
    transform-style: preserve-3d;
}

.book-spine {
    position: absolute;
    width: 15px;
    height: 350px;
    background: linear-gradient(to bottom, #8B4513, #654321);
    left: -7px;
    transform: rotateY(-90deg);
    transform-origin: right;
    border-radius: 5px 0 0 5px;
}

.book-cover {
    position: absolute;
    width: 250px;
    height: 350px;
    background: linear-gradient(145deg, #8B4513, #654321);
    border: 3px solid #444;
    border-radius: 8px;
    transform-origin: left;
    transition: transform 1.5s ease-in-out;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #FFD700;
    text-align: center;
    padding: 20px;
    box-sizing: border-box;
    transform: rotateY(0deg);
}

.book-cover h1 {
    font-size: 20px;
    margin: 0 0 15px 0;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    line-height: 1.3;
}

.book-cover .subtitle {
    font-size: 12px;
    font-style: italic;
    opacity: 0.8;
}

.book-pages {
    position: absolute;
    width: 240px;
    height: 340px;
    background: #F8F8F8;
    left: 5px;
    top: 5px;
    border-radius: 5px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 30px;
    box-sizing: border-box;
    text-align: center;
    opacity: 0;
    transform: scale(0.9);
    transition: all 1.5s ease-in-out;
}

.content-text {
    font-size: 22px;
    font-weight: bold;
    color: #2c3e50;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
    line-height: 1.4;
    margin-bottom: 15px;
}

.guarantee-badge {
    background: linear-gradient(45deg, #27ae60, #2ecc71);
    color: white;
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: bold;
    box-shadow: 0 5px 15px rgba(39, 174, 96, 0.3);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.decorative-elements {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.sparkle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: #FFD700;
    border-radius: 50%;
    animation: sparkle 2s infinite ease-in-out;
}

.sparkle:nth-child(1) { top: 20%; left: 15%; animation-delay: 0s; }
.sparkle:nth-child(2) { top: 30%; right: 20%; animation-delay: 0.5s; }
.sparkle:nth-child(3) { bottom: 25%; left: 25%; animation-delay: 1s; }
.sparkle:nth-child(4) { bottom: 35%; right: 15%; animation-delay: 1.5s; }

@keyframes sparkle {
    0%, 100% {
        opacity: 0;
        transform: scale(0);
    }
    50% {
        opacity: 1;
        transform: scale(1);
    }
}

/* Book open/close state */
.book.open .book-cover {
    transform: rotateY(-140deg);
}

.book.open .book-pages {
    opacity: 1;
    transform: scale(1);
}

/* Why Choose Us Section */
.why-choose {
    padding: 80px 0;
    background: #f8f9fa;
}

.section-title {
    text-align: center;
    font-size: 36px;
    margin-bottom: 50px;
    color: #1e3c72;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.feature-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 20px;
    color: #1e3c72;
}

.feature-icon i {
    font-size: 48px;
}

/* Ratings Section */
.ratings {
    padding: 60px 0;
    background: white;
}

.ratings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.rating-item {
    text-align: center;
    padding: 20px;
}

.rating-circle {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: bold;
    color: white;
    position: relative;
}

.rating-98 { background: linear-gradient(135deg, #00c851, #00a841); }
.rating-97 { background: linear-gradient(135deg, #ff6b35, #f7931e); }
.rating-2 { background: linear-gradient(135deg, #1e3c72, #2a5298); }

/* Steps Section */
.steps {
    padding: 80px 0;
    background: #f8f9fa;
}

.steps-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.step-item {
    text-align: center;
    padding: 20px;
    position: relative;
}

.step-number {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(45deg, #1e3c72, #2a5298);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: bold;
    margin: 0 auto 20px;
}

/* Tutors Section */
.tutors {
    padding: 80px 0;
    background: white;
}

.tutors-carousel {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    padding: 20px 0;
    scroll-behavior: smooth;
}

.tutor-card {
    min-width: 300px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: transform 0.3s ease;
}

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

.tutor-image {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 48px;
}

.tutor-info {
    padding: 20px;
}

.tutor-name {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 10px;
}

.tutor-rating {
    color: #ffd700;
    margin-bottom: 10px;
}

/* Reviews Section */
.reviews {
    padding: 80px 0;
    background: #f8f9fa;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.review-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.review-stars {
    color: #ffd700;
    font-size: 18px;
    margin-bottom: 15px;
}

.review-text {
    margin-bottom: 20px;
    font-style: italic;
    line-height: 1.6;
}

.reviewer-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.reviewer-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea, #764ba2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
}

/* FAQ Section */
.faq {
    padding: 80px 0;
    background: white;
}

.faq-item {
    margin-bottom: 20px;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    overflow: hidden;
}

.faq-question {
    background: #f8f9fa;
    padding: 20px;
    cursor: pointer;
    font-weight: bold;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background: #e9ecef;
}

.faq-answer {
    padding: 20px;
    display: none;
    border-top: 1px solid #e0e0e0;
    line-height: 1.6;
}

.faq-answer.active {
    display: block;
}

/* About Us Section */
.about {
    padding: 80px 0;
    background: #f8f9fa;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-content p {
    font-size: 16px;
    margin-bottom: 20px;
    line-height: 1.8;
}

/* Floating Buttons */
.floating-buttons {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 1000;
}

.float-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: white;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    transition: transform 0.3s ease;
}

.float-btn:hover {
    transform: scale(1.1);
}

.chat-btn {
    background: linear-gradient(45deg, #1e3c72, #2a5298);
}

.whatsapp-btn {
    background: #25d366;
}

/* Footer */
footer {
    background: #1e3c72;
    color: white;
    padding: 50px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 30px;
}

.footer-section h3 {
    margin-bottom: 20px;
    color: #ffd700;
}

.footer-section a {
    color: #ccc;
    text-decoration: none;
    display: block;
    margin-bottom: 10px;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: white;
}

.footer-section p {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    color: #ccc;
}

.footer-section i {
    width: 20px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #2a5298;
    color: #ccc;
}

/* Order Page Styles */
.order-page {
    padding: 120px 0 50px;
    min-height: 100vh;
    background: #f8f9fa;
}

.order-container {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    overflow: hidden;
}

.order-header {
    background: linear-gradient(135deg, #1e3c72, #2a5298);
    color: white;
    padding: 30px;
    text-align: center;
}

.order-header h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.order-header p {
    font-size: 1.1rem;
    opacity: 0.9;
}

.order-form {
    padding: 40px;
}

.form-section {
    background: white;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 25px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    border: 1px solid #f1f5f9;
}

.form-section h3 {
    color: #1e3c72;
    font-size: 18px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f1f5f9;
    display: flex;
    align-items: center;
    gap: 10px;
}

.form-group {
    margin-bottom: 25px;
}

/* Required field labels with asterisks */
.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}

.form-group label.required::after {
    content: " *";
    color: #ef4444;
    font-weight: bold;
}

/* Clean default input styles - NO red borders by default */
.form-group input, 
.form-group select, 
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 14px;
    transition: border-color 0.3s ease;
    background: white;
}

/* Focus states - friendly blue focus */
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #ff6b35;
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

/* Error states - only show red when form has validation errors */
.form-validation-attempted .form-group input:invalid,
.form-validation-attempted .form-group select:invalid {
    border-color: #ef4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

/* Success states - subtle green when valid after submission attempt */
.form-validation-attempted .form-group input:valid,
.form-validation-attempted .form-group select:valid {
    border-color: #10b981;
}

/* File upload improvements */
.file-upload {
    border: 2px dashed #cbd5e0;
    border-radius: 8px;
    padding: 40px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #f8fafc;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.file-upload:hover {
    border-color: #ff6b35;
    background: #fff5f0;
}

.file-upload.dragover {
    border-color: #ff6b35;
    background: #fff5f0;
    transform: scale(1.02);
}

.file-upload i {
    font-size: 2.5rem;
    color: #6b7280;
    margin-bottom: 10px;
}

/* File list styling */
#fileList {
    margin-top: 15px;
    padding: 15px;
    background: #f8fafc;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

#fileList h4 {
    color: #374151;
    margin-bottom: 10px;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

#fileList h4::before {
    content: "📄";
}

#fileList p {
    color: #6b7280;
    margin: 5px 0;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 8px;
}

#fileList p::before {
    content: "📄";
}

/* Enhanced price display */
.price-display {
    background: linear-gradient(135deg, #1e3c72, #2a5298);
    color: white;
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    margin: 30px 0;
    box-shadow: 0 8px 25px rgba(30, 60, 114, 0.3);
}

.price-amount {
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 10px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.price-breakdown {
    opacity: 0.9;
    font-size: 14px;
}

/* Payment Amount Options */
.payment-amount-options {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin: 20px 0;
}

.payment-option {
    flex: 1;
    max-width: 250px;
    position: relative;
}

.payment-option input[type="radio"] {
    display: none;
}

.payment-option label {
    display: block;
    padding: 20px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    background: white;
    position: relative;
    overflow: hidden;
}

.payment-option label i {
    font-size: 24px;
    margin-bottom: 10px;
    color: #1e3c72;
}

.payment-option input[type="radio"]:checked + label {
    border-color: #1e3c72;
    background: #e8f4fd;
    box-shadow: 0 4px 12px rgba(30, 60, 114, 0.2);
    transform: translateY(-2px);
}

.payment-option label:hover {
    border-color: #1e3c72;
    background: #f8f9fa;
}

.payment-option label::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.5s;
}

.payment-option input[type="radio"]:checked + label::before {
    left: 100%;
}

.amount-display {
    display: block;
    font-size: 18px;
    font-weight: bold;
    color: #1e3c72;
    margin-top: 8px;
}

/* Payment breakdown styling */
.payment-breakdown {
    line-height: 1.6;
}

.payment-breakdown strong {
    color: #1e3c72;
}

/* Submit button styles */
.complete-order-btn {
    width: 100% !important;
    padding: 18px !important;
    font-size: 18px !important;
    background: linear-gradient(45deg, #ff6b35, #f7931e) !important;
    color: white !important;
    border: none !important;
    border-radius: 12px !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    margin-top: 20px !important;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.complete-order-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.3);
}

.complete-order-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none !important;
}

.complete-order-btn.loading {
    position: relative;
    color: transparent;
}

.complete-order-btn.loading::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    top: 50%;
    left: 50%;
    margin-left: -10px;
    margin-top: -10px;
    border: 2px solid transparent;
    border-top: 2px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Security badge */
.security-badge {
    background: linear-gradient(135deg, #e6fffa, #f0fdf4);
    border: 1px solid #10b981;
    color: #065f46;
    padding: 15px;
    border-radius: 8px;
    text-align: center;
    margin: 20px 0;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

/* Error message styling */
.error-message {
    background: #fef2f2;
    border: 1px solid #ef4444;
    color: #991b1b;
    padding: 12px 16px;
    border-radius: 8px;
    margin: 15px 0;
    font-size: 14px;
    display: none;
    animation: slideIn 0.3s ease;
}

.error-message.show {
    display: block;
}

/* Success message styling */
.success-message {
    background: #f0fdf4;
    border: 1px solid #10b981;
    color: #065f46;
    padding: 12px 16px;
    border-radius: 8px;
    margin: 15px 0;
    font-size: 14px;
    display: none;
    animation: slideIn 0.3s ease;
}

.success-message.show {
    display: block;
}

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

/* Form field styling improvements */
.form-group small {
    color: #6b7280;
    font-size: 12px;
    margin-top: 5px;
    display: block;
}

/* Remove browser default validation styling */
input:invalid,
select:invalid,
textarea:invalid {
    box-shadow: none;
}

/* Utility class */
.hidden {
    display: none;
}

/* Chat Modal Responsive */
@media (max-width: 480px) {
    .chat-modal {
        width: calc(100vw - 20px) !important;
        height: 400px !important;
        bottom: 10px !important;
        right: 10px !important;
        left: 10px !important;
    }
}

/* Mobile Responsive Adjustments for Desktop Elements */
@media (max-width: 992px) {
    .header-content {
        position: relative;
        justify-content: space-between;
        align-items: center;
    }

    .mobile-menu-toggle {
        display: flex;
        order: 2;
    }

    .nav-container {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        z-index: 1000;
        box-shadow: 0 4px 20px rgba(0,0,0,0.1);
        flex-direction: column;
        gap: 0;
    }

    .nav-container.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-menu {
        flex-direction: column;
        padding: 20px 0;
        gap: 0;
        width: 100%;
    }

    .nav-menu li {
        border-bottom: 1px solid rgba(255,255,255,0.1);
        width: 100%;
    }

    .nav-menu li:last-child {
        border-bottom: none;
    }

    .nav-menu a {
        display: flex;
        padding: 15px 20px;
        transition: background 0.3s ease;
        width: 100%;
        justify-content: flex-start;
    }

    .nav-menu a:hover {
        background: rgba(255,255,255,0.1);
        color: #ffd700;
    }

    .header-actions {
        display: flex;
        flex-direction: column;
        gap: 15px;
        padding: 20px;
        border-top: 1px solid rgba(255,255,255,0.1);
        width: 100%;
    }

    .order-nav {
        display: flex !important;
        width: 100%;
    }

    .login-btn, .place-order-btn {
        text-align: center;
        justify-content: center;
        width: 100%;
    }

    /* Order page specific mobile adjustments */
    body.order-page .nav-menu {
        display: none !important;
    }
    
    body.order-page .header-actions {
        flex-direction: row;
        border-top: none;
        padding: 10px 20px;
    }
    
    body.order-page .login-btn {
        width: auto;
        flex: 1;
    }
    
    body.order-page .mobile-menu-toggle {
        display: none;
    }
}