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

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8fafc;
}

/* Welcome Section with Unique Background */
.welcome-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    background-attachment: fixed;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.welcome-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(120, 119, 198, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(120, 119, 198, 0.2) 0%, transparent 50%);
    animation: float 20s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

.welcome-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 2rem;
}

.welcome-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.welcome-content .subtitle {
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 1rem;
    opacity: 0.95;
}

.welcome-content .description {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    opacity: 0.85;
}

.welcome-content .tagline {
    font-size: 1.2rem;
    font-weight: 600;
    opacity: 0.95;
}

.scroll-arrow {
  margin-top: 270px;
  font-size: 20px;
  color: #f0f0f0;
  display: inline-block;
  animation: bounce 1.5s infinite linear;
}

@keyframes bounce {
  0%   { transform: translateY(0); }
  25%  { transform: translateY(-8px); }  /* up */
  50%  { transform: translateY(0); }     /* through neutral */
  75%  { transform: translateY(8px); }   /* down */
  100% { transform: translateY(0); }     /* back */
}




/* Container and Cards */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    padding: 2rem;
    margin-bottom: 2rem;
    border: 1px solid #e2e8f0;
}

.card h2 {
    color: #2563eb;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid #e2e8f0;
    padding-bottom: 0.5rem;
} 





/* Form Styles */
.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

label {
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: #374151;
}

input, textarea, select {
    padding: 0.75rem;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.2s, box-shadow 0.2s;
    background: white;
}

input:focus, textarea:focus, select:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

/* Table Styles */
.table-container {
    overflow-x: auto;
    margin-bottom: 1rem;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1rem;
}

th, td {
    padding: 0.75rem;
    text-align: left;
    border-bottom: 1px solid #e5e7eb;
}

th {
    font-weight: 600;
    color: #374151;
    background-color: #f9fafb;
}

.item-total {
    font-weight: 600;
    color: #2563eb;
}

/* Button Styles */
.btn-primary {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 4px 6px rgba(37, 99, 235, 0.25);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(37, 99, 235, 0.35);
}

.btn-secondary {
    background: #f3f4f6;
    color: #374151;
    border: 2px solid #e5e7eb;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-secondary:hover {
    background: #e5e7eb;
    border-color: #d1d5db;
}

.btn-remove {
    background: #ef4444;
    color: white;
    border: none;
    padding: 0.5rem;
    border-radius: 6px;
    font-size: 1.2rem;
    cursor: pointer;
    transition: background 0.2s;
    width: 35px;
    height: 35px;
}

.btn-remove:hover {
    background: #dc2626;
}


.pay-button {
    background-color: #635bff;
    color: white;
    border: none;
    padding: 14px 28px;
    font-size: 18px;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}
.pay-button:hover {
    background-color: #5046e5;
}
/* Invoice Section *

/* Totals Section */
.totals-section {
    margin-top: 2rem;
    background: #f8fafc;
    border-radius: 8px;
    padding: 1.5rem;
}

.totals-container {
    max-width: 300px;
    margin-left: auto;
}

.total-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.75rem;
    font-weight: 500;
}

.final-total {
    border-top: 2px solid #e5e7eb;
    padding-top: 0.75rem;
    font-size: 1.2rem;
    font-weight: 700;
    color: #2563eb;
}

/* Export Card */
.export-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
}

.export-card h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.export-card p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.export-card .btn-primary {
    background: white;
    color: #2563eb;
    font-size: 1.2rem;
    padding: 1.2rem 2.5rem;
}

.export-card .btn-primary:hover {
    background: #f8fafc;
}

/* Responsive Design */
@media (max-width: 768px) {
    .welcome-content h1 {
        font-size: 2.5rem;
    }
    
    .welcome-content .subtitle {
        font-size: 1.2rem;
    }
    
    .welcome-content .description,
    .welcome-content .tagline {
        font-size: 1rem;
    }
    
    .container {
        padding: 1rem;
    }
    
    .card {
        padding: 1.5rem;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
    }
    
    .table-container {
        font-size: 0.9rem;
    }
    
    th, td {
        padding: 0.5rem;
    }
}