/* Enhanced Mobile Styles for el-140 
   Premium design with 3D effects, advanced animations and modern styling
*/

/* Base Mobile Styles */
@media (max-width: 992px) {
  :root {
    --section-padding: 4rem 1.5rem;
    --card-border-radius: 12px;
    --transition-speed: 0.3s;
    --shadow-color: rgba(0, 0, 0, 0.05);
    --shadow-color-hover: rgba(0, 0, 0, 0.1);
    --glass-bg: rgba(255, 255, 255, 0.8);
    --glass-border: rgba(255, 255, 255, 0.2);
    --primary-rgb: 200, 168, 125; /* Rich beige in RGB */
    --accent-rgb: 214, 142, 60; /* Warm orange in RGB */
  }
  
  body {
    font-size: 15px;
    overflow-x: hidden;
    perspective: 1000px;
  }
  
  .container {
    padding: 0 1.5rem;
    max-width: 100%;
  }
  
  h1, h2, h3, h4, h5, h6 {
    line-height: 1.3;
  }
  
  /* Smooth Scrolling */
  html {
    scroll-behavior: smooth;
  }
  
  /* 3D Button Effect */
  .btn {
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    transform-style: preserve-3d;
    box-shadow: 0 4px 6px var(--shadow-color), 
                0 1px 3px var(--shadow-color);
  }
  
  .btn:hover {
    transform: translateY(-5px) translateZ(10px);
    box-shadow: 0 8px 15px var(--shadow-color-hover), 
                0 2px 5px var(--shadow-color);
  }
  
  .btn:active {
    transform: translateY(-2px) translateZ(5px);
  }
  
  .btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0));
    border-radius: inherit;
    z-index: -1;
    transition: opacity 0.3s ease;
    opacity: 0;
  }
  
  .btn:hover::after {
    opacity: 1;
  }
  
  /* Enhanced Navigation */
  .navbar {
    padding: 1rem 1.5rem;
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  .navbar.scrolled {
    padding: 0.7rem 1.5rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    background: var(--glass-bg);
  }
  
  .nav-links {
    display: flex;
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    flex-direction: column;
    padding: 0;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    z-index: 100;
    border-radius: 0 0 20px 20px;
    transform: translateY(-10px);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.27, 1.55);
    height: auto;
    max-height: 0;
    overflow: hidden;
    visibility: hidden;
  }
  
  .nav-links.active {
    transform: translateY(0);
    opacity: 1;
    max-height: 500px;
    padding: 1.5rem 0;
    visibility: visible;
  }
  
  .nav-links li {
    margin: 0.7rem 0;
    transform: translateX(-10px);
    opacity: 0;
    transition: all 0.3s ease;
    transition-delay: calc(var(--i, 0) * 0.1s);
    list-style: none;
  }
  
  .nav-links.active li {
    transform: translateX(0);
    opacity: 1;
  }
  
  .nav-links a {
    font-size: 1.1rem;
    padding: 0.5rem 2rem;
    display: block;
    position: relative;
    transition: all 0.3s ease;
    color: var(--text-dark);
    text-decoration: none;
  }
  
  .nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 2rem;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
  }
  
  .nav-links a:hover::after,
  .nav-links a.active::after {
    width: calc(100% - 4rem);
  }
  
  .mobile-menu-btn {
    display: block;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary);
    cursor: pointer;
    transition: transform 0.3s ease;
    z-index: 1001;
  }
  
  .mobile-menu-btn:hover {
    transform: scale(1.1) rotate(5deg);
  }
  
  /* Enhanced Hero Section */
  .welcome-container {
    flex-direction: column;
    padding: 3rem 1.5rem 4rem;
    text-align: center;
    position: relative;
    overflow: hidden;
  }
  
  .welcome-text {
    width: 100%;
    padding-right: 0;
    margin-bottom: 3rem;
    position: relative;
    z-index: 2;
  }
  
  .welcome-text h1 {
    font-size: 2.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: fadeInUp 1s ease;
    text-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  }
  
  .welcome-text p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    color: var(--text);
    animation: fadeInUp 1s ease 0.2s both;
  }
  
  .welcome-text .btn {
    animation: fadeInUp 1s ease 0.4s both;
    margin: 0.5rem;
    padding: 0.8rem 2rem;
    font-weight: 600;
    border-radius: 50px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
  }
  
  .welcome-text .btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  }
  
  .welcome-image {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    animation: float 6s ease-in-out infinite;
    filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.15));
    transform-style: preserve-3d;
    transition: transform 0.5s ease;
  }
  
  @keyframes float {
    0% {
      transform: translateY(0px) rotate(0deg);
    }
    50% {
      transform: translateY(-15px) rotate(2deg);
    }
    100% {
      transform: translateY(0px) rotate(0deg);
    }
  }
  
  .blob-animation {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
    opacity: 0.5;
    animation: rotateSlow 30s linear infinite;
  }
  
  @keyframes rotateSlow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
  }
  
  /* Enhanced Features Section */
  .features-section {
    padding: var(--section-padding);
    position: relative;
    overflow: hidden;
  }
  
  .section-title {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
  }
  
  .section-title h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
  }
  
  .section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: var(--primary);
    border-radius: 3px;
  }
  
  .section-title p {
    max-width: 600px;
    margin: 0 auto;
    color: var(--text-light);
  }
  
  .features-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .feature-card {
    padding: 2rem;
    border-radius: var(--card-border-radius);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(0, 0, 0, 0.05);
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
  }
  
  .feature-card:hover {
    transform: translateY(-10px) rotateX(5deg) rotateY(5deg);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  }
  
  .feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: var(--primary);
    border-radius: 5px 0 0 5px;
  }
  
  .feature-card i {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
    display: inline-block;
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.27, 1.55);
  }
  
  .feature-card:hover i {
    transform: scale(1.2) rotate(15deg) translateZ(20px);
    text-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  }
  
  .feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
    transition: transform 0.3s ease;
  }
  
  .feature-card:hover h3 {
    transform: translateZ(15px);
  }
  
  .feature-card p {
    color: var(--text);
    line-height: 1.6;
    transition: transform 0.3s ease;
  }
  
  .feature-card:hover p {
    transform: translateZ(10px);
  }
  
  /* Enhanced Stats Section */
  .stats-section {
    padding: var(--section-padding);
    background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.05) 0%, rgba(var(--accent-rgb), 0.05) 100%);
    position: relative;
  }
  
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .stat-card {
    padding: 2rem;
    text-align: center;
    border-radius: var(--card-border-radius);
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform-style: preserve-3d;
    position: relative;
    overflow: hidden;
  }
  
  .stat-card:hover {
    transform: translateY(-5px) scale(1.03);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  }
  
  .stat-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
      rgba(255, 255, 255, 0.1),
      rgba(255, 255, 255, 0.05)
    );
    transform: rotate(30deg);
    transition: transform 0.5s ease;
    z-index: 1;
    pointer-events: none;
  }
  
  .stat-card:hover::after {
    transform: rotate(30deg) translate(10%, 10%);
  }
  
  .stat-card i {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
  }
  
  .stat-card:hover i {
    transform: scale(1.2) translateZ(20px);
  }
  
  .stat-card h3 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
  }
  
  .stat-card:hover h3 {
    transform: translateZ(15px);
  }
  
  .stat-card p {
    color: var(--text);
    font-size: 1.1rem;
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
  }
  
  .stat-card:hover p {
    transform: translateZ(10px);
  }
  
  /* Product Cards with 3D Effect */
  .product-card {
    border-radius: var(--card-border-radius);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    background: #fff;
    position: relative;
    transform-style: preserve-3d;
    perspective: 1000px;
  }
  
  .product-card:hover {
    transform: translateY(-10px) rotateX(5deg);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  }
  
  .product-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: all 0.5s ease;
    transform-origin: center;
  }
  
  .product-card:hover img {
    transform: scale(1.05) translateZ(10px);
  }
  
  .product-info {
    padding: 1.5rem;
    position: relative;
    z-index: 2;
    transition: transform 0.3s ease;
    transform-style: preserve-3d;
  }
  
  .product-card:hover .product-info {
    transform: translateZ(20px);
  }
  
  .product-info h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    transition: all 0.3s ease;
  }
  
  .product-card:hover .product-info h3 {
    transform: translateZ(10px);
  }
  
  .product-info .price {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1rem;
    transition: all 0.3s ease;
  }
  
  .product-card:hover .product-info .price {
    transform: translateZ(15px);
  }
  
  /* Enhanced Form Elements */
  .form-group {
    margin-bottom: 1.5rem;
    position: relative;
    perspective: 1000px;
  }
  
  .form-group label {
    display: block;
    margin-bottom: 0.8rem;
    font-weight: 500;
    color: var(--text-dark);
    transition: all 0.3s ease;
    transform-origin: left;
  }
  
  .form-group:focus-within label {
    transform: scale(1.05);
    color: var(--primary);
  }
  
  .form-group input,
  .form-group textarea,
  .form-group select {
    width: 100%;
    padding: 1rem 1.2rem;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #f9f9f9;
    transform-style: preserve-3d;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.03);
  }
  
  .form-group input:focus,
  .form-group textarea:focus,
  .form-group select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.15);
    outline: none;
    background: #fff;
    transform: translateY(-2px);
  }
  
  /* Advanced Animations */
  @keyframes fadeInUp {
    from {
      opacity: 0;
      transform: translateY(20px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  @keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
  }
  
  @keyframes scaleIn {
    from { transform: scale(0); }
    to { transform: scale(1); }
  }
  
  @keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
  }
  
  /* Parallax Scrolling Effect */
  .parallax-section {
    position: relative;
    overflow: hidden;
  }
  
  .parallax-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 120%;
    z-index: -1;
    transform: translateY(0);
    transition: transform 0.5s ease-out;
  }
  
  /* Micro-interactions */
  .interactive-element {
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.27, 1.55);
  }
  
  .interactive-element:hover {
    transform: scale(1.05);
  }
  
  .interactive-element:active {
    transform: scale(0.95);
  }
  
  /* Product Detail Page */
  .product-detail-container {
    flex-direction: column;
    padding: 2rem 1.5rem;
  }
  
  .product-detail-left {
    width: 100%;
    margin-bottom: 2rem;
    border-radius: var(--card-border-radius);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transform-style: preserve-3d;
  }
  
  .product-detail-left img {
    width: 100%;
    height: auto;
    max-height: 350px;
    object-fit: contain;
    transition: transform 0.5s ease;
    transform-style: preserve-3d;
    animation: float 8s ease-in-out infinite;
  }
  
  .product-detail-right {
    width: 100%;
    padding: 0;
  }
  
  .product-detail-right h1 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
  }
  
  .product-detail-right .price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1.5rem;
  }
  
  .product-detail-right p {
    margin-bottom: 1.5rem;
    line-height: 1.6;
  }
  
  /* Modal Styling for Mobile */
  .modal-content {
    width: 95%;
    max-width: 450px;
    margin: 10% auto;
    padding: 1.5rem;
    border-radius: var(--card-border-radius);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    transform-style: preserve-3d;
    perspective: 1000px;
  }
  
  .modal-content h2 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
    text-align: center;
  }
  
  .close-modal {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 1.5rem;
    color: var(--text-light);
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
  }
  
  .close-modal:hover {
    color: var(--text-dark);
    transform: rotate(90deg);
  }
  
  .btn-order {
    width: 100%;
    padding: 1rem;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1.5rem;
    transform-style: preserve-3d;
  }
  
  .btn-order:hover {
    transform: translateY(-5px) translateZ(10px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    background: var(--primary-dark);
  }
  
  /* Success Message Styling */
  .success-message {
    text-align: center;
    padding: 2rem 1rem;
  }
  
  .success-icon {
    color: #28a745;
    font-size: 4rem;
    margin-bottom: 1.5rem;
    animation: scaleIn 0.5s ease, pulse 2s ease infinite;
    display: inline-block;
  }
  
  .success-message h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
  }
  
  .success-message p {
    color: var(--text);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
  }
  
  .btn-home {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background: var(--primary);
    color: white;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    margin-top: 1.5rem;
    transition: all 0.3s ease;
    transform-style: preserve-3d;
  }
  
  .btn-home:hover {
    transform: translateY(-5px) translateZ(10px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    background: var(--primary-dark);
  }
  
  /* Footer Styling */
  footer {
    padding: 3rem 1.5rem;
    text-align: center;
  }
  
  footer .logo {
    margin-bottom: 1rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
  }
  
  footer p {
    color: var(--text-light);
    margin-bottom: 1rem;
  }
  
  footer a {
    color: var(--primary);
    text-decoration: none;
    transition: all 0.3s ease;
    margin: 0 0.5rem;
  }
  
  footer a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
  }
  
  /* Products Scroll for Mobile */
  .products-scroll {
    display: flex;
    overflow-x: auto;
    padding: 1rem 0 2rem;
    scroll-snap-type: x mandatory;
    gap: 1.5rem;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
  }
  
  .products-scroll::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
  }
  
  .products-scroll .product-card {
    flex: 0 0 80%;
    min-width: 250px;
    scroll-snap-align: center;
  }
  
  /* Thank You Page */
  .thank-you-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 70vh;
    padding: 2rem;
  }
  
  .thank-you-container .success-icon {
    font-size: 5rem;
    color: #28a745;
    margin-bottom: 2rem;
    animation: scaleIn 0.5s ease, pulse 2s ease infinite;
  }
  
  .thank-you-container h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
  }
  
  .thank-you-container p {
    font-size: 1.1rem;
    color: var(--text);
    margin-bottom: 2rem;
    max-width: 600px;
  }
}

/* Extra Small Devices */
@media (max-width: 480px) {
  .welcome-text h1 {
    font-size: 2rem;
  }
  
  .section-title h2 {
    font-size: 1.8rem;
  }
  
  .feature-card, 
  .stat-card {
    padding: 1.5rem;
  }
  
  .stat-card h3 {
    font-size: 2rem;
  }
  
  .product-card img {
    height: 200px;
  }
  
  .product-detail-left img {
    max-height: 300px;
  }
  
  .cta-text h2 {
    font-size: 1.8rem;
  }
  
  .btn {
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
  }
  
  .thank-you-container h1 {
    font-size: 2rem;
  }
  
  .success-icon {
    font-size: 4rem;
  }
  
  .modal-content {
    margin: 15% auto 5%;
    padding: 1.2rem;
  }
  
  .form-group {
    margin-bottom: 1.2rem;
  }
  
  .form-group label {
    margin-bottom: 0.5rem;
  }
  
  .form-group input,
  .form-group textarea,
  .form-group select {
    padding: 0.8rem 1rem;
  }
}

/* Form Improvements */
@media (max-width: 992px) {
  /* Form Modal Improvements */
  .modal-content {
    padding: 2rem;
    border-radius: 16px;
    max-width: 500px;
    width: 90%;
    margin: 5% auto;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(var(--primary-rgb), 0.1);
  }
  
  .modal-content h2 {
    position: relative;
    padding-bottom: 0.8rem;
    margin-bottom: 1.8rem;
    text-align: center;
    font-size: 1.6rem;
    color: var(--text-dark);
  }
  
  .modal-content h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--primary-dark));
    border-radius: 3px;
  }
  
  .product-summary {
    background: linear-gradient(145deg, #f8fafc, #f1f5f9);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.8rem;
    border-left: 4px solid var(--primary);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
  }
  
  .product-summary h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
  }
  
  .product-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.8rem;
  }
  
  .product-info-label {
    font-weight: 600;
    color: var(--text-light);
    font-size: 0.9rem;
  }
  
  .product-info-value {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.95rem;
  }
  
  /* Form Row and Groups */
  .form-row {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 0;
  }
  
  .form-group {
    margin-bottom: 1.2rem;
  }
  
  .form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-dark);
    transition: all 0.3s ease;
  }
  
  .form-group input {
    width: 100%;
    padding: 0.9rem 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background-color: #f8fafc;
    color: var(--text-dark);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.03) inset;
  }
  
  .form-group input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(var(--primary-rgb), 0.15);
    outline: none;
    background-color: var(--white);
  }
  
  .form-group input:hover {
    border-color: #cbd5e1;
  }
  
  /* Submit Button */
  .btn-order {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1.5rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(var(--primary-rgb), 0.3);
  }
  
  .btn-order:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: all 0.5s ease;
  }
  
  .btn-order:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(var(--primary-rgb), 0.4);
  }
  
  .btn-order:hover:before {
    left: 100%;
  }
  
  .btn-order:active {
    transform: translateY(-2px);
  }
  
  /* Success Message */
  .success-message {
    text-align: center;
    padding: 1.5rem;
  }
  
  .success-icon {
    color: #10b981;
    font-size: 4rem;
    margin-bottom: 1.5rem;
    display: inline-block;
    animation: scaleIn 0.5s ease, pulse 2s ease infinite;
  }
  
  @keyframes scaleIn {
    from { transform: scale(0); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
  }
  
  @keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
  }
  
  .success-message h3 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
  }
  
  .success-message p {
    color: var(--text-light);
    margin-bottom: 0.5rem;
    font-size: 1rem;
    line-height: 1.5;
  }
  
  .btn-home {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    margin-top: 1.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(var(--primary-rgb), 0.3);
  }
  
  .btn-home:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(var(--primary-rgb), 0.4);
  }
}

/* Enhanced Mobile Form Layout */
@media (max-width: 768px) {
  /* Full-screen modal for better mobile experience */
  .modal {
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
  }
  
  .modal-content {
    width: 100%;
    height: auto;
    max-height: 90vh;
    max-width: none;
    margin: 5vh auto;
    padding: 1.2rem;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    animation: slideUp 0.4s ease;
  }
  
  @keyframes slideUp {
    from { transform: translateY(50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
  }
  
  .close-modal {
    position: absolute;
    top: 0.8rem;
    right: 0.8rem;
    background-color: rgba(255, 255, 255, 0.9);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 10;
    font-size: 1.2rem;
  }
  
  .modal-content h2 {
    font-size: 1.3rem;
    margin-top: 0.3rem;
    margin-bottom: 1rem;
  }
  
  /* Improved form layout */
  #form-container {
    display: flex;
    flex-direction: column;
  }
  
  .form-fields-container {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
  }
  
  .product-summary {
    padding: 0.8rem;
    margin-bottom: 1rem;
    border-radius: 8px;
    font-size: 0.9rem;
  }
  
  .product-summary h3 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
  }
  
  .product-info {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.5rem 0.8rem;
    font-size: 0.85rem;
  }
  
  .product-info-label {
    font-size: 0.8rem;
  }
  
  .product-info-value {
    font-size: 0.85rem;
  }
  
  .form-row {
    margin-bottom: 0.3rem;
  }
  
  .form-group {
    margin-bottom: 0.7rem;
  }
  
  .form-group label {
    display: flex;
    align-items: center;
    font-size: 0.85rem;
    margin-bottom: 0.3rem;
  }
  
  .form-group label i {
    width: 16px;
    margin-right: 0.4rem;
    color: var(--primary);
    font-size: 0.9rem;
  }
  
  .form-group input {
    padding: 0.6rem 0.8rem;
    font-size: 0.9rem;
    border-width: 1px;
    border-radius: 8px;
    background-color: rgba(255, 255, 255, 0.8);
  }
  
  .form-group input:focus {
    background-color: white;
    transform: translateY(-1px);
  }
  
  /* Fixed button at bottom */
  .btn-order {
    margin-top: 0.8rem;
    padding: 0.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(var(--primary-rgb), 0.3);
    z-index: 5;
    font-size: 0.95rem;
  }
  
  /* Success message improvements */
  .success-message {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1.5rem 1rem;
  }
  
  .success-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
  }
  
  .success-message h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
  }
  
  .success-message p {
    font-size: 0.85rem;
    margin-bottom: 0.3rem;
  }
  
  .btn-home {
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
    margin-top: 1rem;
    border-radius: 8px;
  }
}

/* Extra Small Devices - Additional Form Improvements */
@media (max-width: 480px) {
  .modal-content {
    padding: 1.2rem;
  }
  
  .modal-content h2 {
    font-size: 1.3rem;
    margin-bottom: 1.2rem;
  }
  
  .product-summary {
    padding: 1rem;
    margin-bottom: 1.2rem;
  }
  
  .product-summary h3 {
    font-size: 1rem;
  }
  
  .product-info {
    gap: 0.5rem;
    font-size: 0.9rem;
  }
  
  .product-info-label, 
  .product-info-value {
    font-size: 0.85rem;
  }
  
  .form-group {
    margin-bottom: 0.8rem;
  }
  
  .form-group label {
    font-size: 0.85rem;
    margin-bottom: 0.3rem;
  }
  
  .form-group input {
    padding: 0.7rem 0.9rem;
    font-size: 0.9rem;
    border-radius: 8px;
  }
  
  .btn-order {
    padding: 0.8rem;
    font-size: 0.95rem;
    margin-top: 1rem;
    border-radius: 10px;
  }
  
  .success-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
  }
  
  .success-message h3 {
    font-size: 1.3rem;
  }
  
  .success-message p {
    font-size: 0.9rem;
  }
  
  .btn-home {
    padding: 0.7rem 1.2rem;
    font-size: 0.9rem;
    margin-top: 1rem;
  }
}
