:root {
    --primary-color: #01AFFE;
    --secondary-color: #0188C2;
    --background-color: #F5F5F5;
    --text-color: #222222;
}

/* Prevent horizontal scrolling and ensure full width on mobile */
html {
    overflow-x: hidden;
    width: 100%;
    height: 100%;
}

body {
    font-family: 'Montserrat', Arial, sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
    margin: 0;
    padding: 0;
    padding-top: 0; /* Remove the padding-top that causes white space */
    overflow-x: hidden;
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Main content wrapper to push footer to bottom */
.main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    margin-top: 0;
    padding-top: 0; /* Ensure no extra padding */
}

/* Ensure footer placeholder also uses flexbox */
#footer-placeholder {
    margin-top: auto;
}

/* Ensure all main containers don't exceed viewport width */
*, *::before, *::after {
    box-sizing: border-box;
}

header {
    background: linear-gradient(135deg, var(--primary-color) 0%, #0088d1 100%);
    color: white;
    padding: 10px 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    width: 100%;
    position: fixed;
    top: 0;
    z-index: 1000;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.7rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
    position: relative;
}

.logo {
    display: flex;
    align-items: center;
}

#logo_img {
    height: 70px;
    width: auto;
    margin: -20px 0 -10px 0;
    transition: transform 0.3s ease;
}

#logo_img:hover {
    transform: scale(1.05);
}

nav ul {
    list-style-type: none;
    text-align: center;
    padding: 0;
}

nav ul li {
    display: inline;
    margin: 0 25px;
}

nav ul li a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: var(--background-color);
}

.hero {
    background: url('/images/Assets/home.webp') no-repeat center center/cover;
    color: var(--background-color);
    text-align: center;
    padding: 160px 20px 100px; /* Increased top padding to account for menubar */
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 80px; /* Add margin to prevent overlap with fixed header */
}

.hero::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(21, 175, 254, 0.3);
    z-index: 1;
}

.hero * {
    position: relative;
    z-index: 2;
}

.hero-text-wrapper {
    background: rgba(0, 0, 0, 0.5);
    padding-top: 20px;
    padding-bottom: 30px;
    padding-left: 50px;
    padding-right: 50px;
    border-radius: 10px;
    color: white;
    width: fit-content;
    text-align: center;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.primary-btn, .secondary-btn {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    min-width: 150px;
}

.primary-btn {
    background-color: var(--primary-color);
    color: white;
}

.primary-btn:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(1, 175, 254, 0.3);
}

.secondary-btn {
    background-color: transparent;
    color: white;
    border: 2px solid white;
}

.secondary-btn:hover {
    background-color: white;
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.3);
}

#learn-more-btn {
    margin: 0;
}

h1 {
    font-size: 3em;
    margin-bottom: 20px;
}

button {
    padding: 10px 20px;
    background-color: var(--secondary-color);
    color: var(--background-color);
    border: none;
    cursor: pointer;
    font-size: 16px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: var(--primary-color);
}

section {
    padding: 50px 20px;
    text-align: center;
    background-color: var(--background-color);
}

h2 {
    font-size: 2.5em;
    color: var(--text-color);
    margin-bottom: 20px;
}

.service-list {
    display: flex;
    justify-content: space-around;
    margin-top: 20px;
}

.service, .step {
    background-size: cover;
    background-position: center;
    padding: 20px;
    border: 1px solid var(--secondary-color);
    width: 30%;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    position: relative;
}

.services{
    background-color: var(--secondary-color);
}
.service::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    filter: blur(8px);
    z-index: 1;
}

.service h3, .service p {
    position: relative;
    z-index: 2;
}

#order {
    background-color: var(--background-color);
    padding: 50px 20px;
    text-align: center;
    margin-top: 0;
}

.steps {
    display: flex;
    justify-content: space-around;
    text-align: center;
    margin: 30px 0;
}

.step {
    width: 30%;
    padding: 20px;
}

.step img {
    width: 100px;
    height: 100px;
    margin-bottom: 10px;
}

.step h3 {
    font-size: 1.5em;
    color: var(--text-color);
}

/* ===== MODERN ORDER FORM STYLING ===== */
#order {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    min-height: 100vh;
    padding: 5rem 0;
}

.order-notice {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border: 1px solid #dee2e6;
    border-radius: 12px;
    padding: 1.5rem;
    margin: 2rem auto;
    max-width: 800px;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.order-notice .notice-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.order-notice .notice-content {
    flex: 1;
}

.order-notice .notice-content h3 {
    margin: 0 0 0.5rem 0;
    color: var(--primary-color);
    font-size: 1.2rem;
}

.order-notice .notice-content p {
    margin: 0;
    color: var(--text-color);
    font-size: 0.95rem;
}

@media (max-width: 768px) {
    .order-notice {
        margin: 1rem;
        padding: 1rem;
        flex-direction: column;
        text-align: center;
    }
    
    .order-notice .notice-content h3 {
        font-size: 1.1rem;
    }
}

.order-form-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.modern-form {
    background: white;
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    position: relative;
    overflow: hidden;
}

.modern-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.form-group {
    position: relative;
    margin-bottom: 1.5rem; /* Add space for error messages */
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--secondary-color);
    font-size: 1.25rem;
    z-index: 2;
    transition: color 0.3s ease;
}

.input-wrapper input,
.input-wrapper select,
.input-wrapper textarea {
    width: 100%;
    padding: 1rem 1rem 1rem 3rem;
    border: 2px solid #e1e8ed;
    border-radius: 12px;
    font-size: 1rem;
    font-family: 'Montserrat', sans-serif;
    background: #fafbfc;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.input-wrapper textarea {
    resize: vertical;
    min-height: 120px;
    padding-top: 1rem;
}

.input-wrapper label {
    position: absolute;
    left: 3rem;
    top: 50%;
    transform: translateY(-50%);
    background: white;
    padding: 0 8px;
    color: #666;
    font-size: 1rem;
    font-weight: 500;
    pointer-events: none;
    transition: all 0.3s ease;
    z-index: 1;
}

.input-wrapper textarea + label {
    top: 2rem;
    transform: translateY(-50%);
}

/* Floating label animation */
.input-wrapper input:focus + label,
.input-wrapper input:not(:placeholder-shown) + label,
.input-wrapper select:focus + label,
.input-wrapper select:valid + label,
.input-wrapper textarea:focus + label,
.input-wrapper textarea:not(:placeholder-shown) + label {
    top: 0;
    transform: translateY(-50%);
    font-size: 0.85rem;
    color: var(--primary-color);
    font-weight: 600;
}

/* Focus states */
.input-wrapper input:focus,
.input-wrapper select:focus,
.input-wrapper textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background: white;
    box-shadow: 0 0 0 3px rgba(1, 175, 254, 0.1);
}

.input-wrapper input:focus ~ .input-icon,
.input-wrapper select:focus ~ .input-icon,
.input-wrapper textarea:focus ~ .input-icon {
    color: var(--primary-color);
}

/* Select styling */
.input-wrapper select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 16px;
    padding-right: 3rem;
}

/* File upload styling */
.file-upload-wrapper {
    margin-top: 1rem;
}

.file-upload-area {
    border: 2px dashed #d1d9e0;
    border-radius: 12px;
    padding: 3rem 2rem;
    text-align: center;
    background: #fafbfc;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.file-upload-area:hover {
    border-color: var(--primary-color);
    background: #f0f8ff;
}

.file-upload-area.drag-over {
    border-color: var(--primary-color);
    background: #f0f8ff;
    transform: scale(1.02);
}

.upload-icon {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
    display: block;
}

.file-upload-area h3 {
    margin: 0 0 0.5rem;
    color: var(--text-color);
    font-size: 1.25rem;
}

.file-upload-area p {
    margin: 0.5rem 0;
    color: #666;
}

.file-info {
    font-size: 0.85rem;
    color: #999;
}

.file-preview {
    margin-top: 1rem;
    padding: 1rem;
    background: white;
    border-radius: 12px;
    border: 2px solid #e1e8ed;
}

.file-info-display {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.file-icon {
    color: var(--primary-color);
    font-size: 2rem;
}

.file-details {
    flex: 1;
    text-align: left;
}

.file-name {
    display: block;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 0.25rem;
}

.file-size {
    display: block;
    color: #666;
    font-size: 0.85rem;
}

/* File list for multiple selections */
.file-list {
    margin: 0.25rem 0 0 0;
    padding-left: 1rem;
    color: #444;
}
.file-list li {
    margin: 2px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}
.file-list .file-remove {
    border: none;
    background: transparent;
    color: #999;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 6px;
    cursor: pointer;
}
.file-list .file-remove:hover {
    background: #ffeaea;
    color: #d11a2a;
}
.file-list .file-remove .material-icons { font-size: 18px; }

/* Preview actions */
.file-actions {
    display: flex;
    gap: 0.5rem;
    margin-left: auto;
}
.btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: none;
    border-radius: 8px;
    padding: 8px 12px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.2s ease;
}
.btn .material-icons { font-size: 18px; }
.btn-primary { background: var(--primary-color); color: #fff; }
.btn-primary:hover { filter: brightness(1.05); box-shadow: 0 2px 8px rgba(1,175,254,0.25); transform: translateY(-1px); }
.btn-danger { background: #ff4757; color: #fff; border-radius: 10px; }
.btn-danger:hover { background: #ff3838; transform: translateY(-1px); box-shadow: 0 2px 8px rgba(255,56,56,0.25); }

/* Legacy remove-file circular button styles replaced by .btn-danger above */

/* Submit button */
.submit-btn {
    width: 100%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border: none;
    border-radius: 12px;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    margin-top: 2rem;
}

.submit-btn::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: left 0.5s ease;
}

.submit-btn:hover::before {
    left: 100%;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(1, 175, 254, 0.3);
}

.submit-btn:active {
    transform: translateY(0);
}

.submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.submit-btn .material-icons {
    font-size: 1.25rem;
}

.loading-spinner {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255,255,255,0.3);
    border-top: 2px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-left: 0.5rem;
}

/* Ensure button spinners are hidden by default until JS shows them */
.submit-btn .loading-spinner {
    display: none;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Form validation error styles */
.input-wrapper.error input,
.input-wrapper.error select,
.input-wrapper.error textarea {
    border-color: #ff4757;
    background: #fff5f5;
}

.input-wrapper.error .input-icon {
    color: #ff4757;
}

.input-wrapper.error label {
    color: #ff4757;
}

.error-message {
    position: absolute;
    bottom: -20px;
    left: 0;
    color: #ff4757;
    font-size: 0.8rem;
    font-weight: 500;
}

/* Additional form enhancements */
.input-wrapper select option {
    padding: 10px;
    background: white;
    color: var(--text-color);
}

.input-wrapper select option:checked {
    background: var(--primary-color);
    color: white;
}

@media (max-width: 768px) {
    .modern-form {
        padding: 2rem 1.5rem;
        margin: 0 10px;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .order-notice {
        margin: 0 10px 3rem;
        padding: 1.5rem;
        flex-direction: column;
        text-align: center;
    }
    
    .file-upload-area {
        padding: 2rem 1rem;
    }
}

/* Ensure mobile menu covers full screen height */
@media screen and (max-width: 768px) {
    .nav-menu.active {
        height: 100vh !important;
        min-height: 100vh !important;
        max-height: 100vh !important;
    }
}

/* Ensure mobile menu closing animation works properly */
@media screen and (max-width: 768px) {
    .nav-menu {
        transition: right 0.3s ease-in-out, transform 0.3s ease-in-out !important;
    }
    
    .nav-menu.active {
        transition: right 0.3s ease-in-out, transform 0.3s ease-in-out !important;
    }
}

@media (max-width: 480px) {
    .modern-form {
        padding: 1.5rem 1rem;
    }
    
    .input-wrapper input,
    .input-wrapper select,
    .input-wrapper textarea {
        font-size: 16px; /* Prevent zoom on iOS */
    }
}

#file-upload {
    border: 2px dashed var(--secondary-color);
    padding: 20px;
    text-align: center;
    cursor: pointer;
}

footer {
    background-color: var(--text-color);
    color: var(--background-color);
    text-align: center;
    padding: 20px;
}

footer p {
    font-size: 1em;
    margin: 0;
}

/* ===== FOOTER STYLES ===== */
.main-footer {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #015a8a 100%);
    color: white;
    margin-top: 0;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 2rem 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 3rem;
    align-items: stretch; /* Changed from start to stretch */
    min-height: auto; /* Changed from 0 to auto */
}

.footer-section {
    text-align: left;
}

.footer-section h3 {
    color: white;
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Navigation Section */
.footer-nav-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-nav-links li {
    margin-bottom: 0.8rem;
}

.footer-nav-links a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    display: block;
}

.footer-nav-links a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

/* Navigation and Information Combined Section */
.navigation-info-section {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.navigation-subsection,
.information-subsection {
    flex: 1;
}

.navigation-subsection h3,
.information-subsection h3 {
    color: white;
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Contact Section */
.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contact-item {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    align-items: flex-start;
}

.contact-label {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.3rem;
    text-align: left;
    align-self: flex-start;
}

.contact-value {
    color: rgba(255, 255, 255, 0.95);
    font-size: 0.9rem;
    line-height: 1.4;
    text-align: left;
    align-self: flex-start;
}

/* Social Media Section */
.social-section {
    min-width: 0;
    overflow: visible;
    width: 100%;
    height: auto; /* Added explicit height */
    display: flex;
    flex-direction: column;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
}

.social-section .social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-top: 0;
    margin-bottom: 2rem;
    justify-content: flex-start;
    width: 100%;
    max-width: none;
    position: relative;
    z-index: 1;
    overflow: visible;
    align-content: flex-start; /* Added to ensure proper wrapping */
}

/* Social Media Links - Keep your beloved styles! */
.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    flex-shrink: 0;
    opacity: 1 !important;
    visibility: visible !important;
}

.social-link:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(1, 175, 254, 0.4);
}

.social-link.email:hover { background: #ea4335; }
.social-link.github:hover { background: #333; }
.social-link.facebook:hover { background: #1877f2; }
.social-link.instagram:hover { background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); }
.social-link.linkedin:hover { background: #0077b5; }
.social-link.tiktok:hover { background: #000; }

/* Ensure social section has proper width and overflow handling */
.social-section h3 {
    margin-bottom: 1.5rem;
}

/* Additional fixes for social media button visibility */
.social-section {
    margin-bottom: 2rem;
    padding-bottom: 1rem;
}

.social-links {
    position: relative;
    z-index: 1;
}

.footer-section:last-child {
    min-height: auto;
}

/* Ensure all social links are visible on all screen sizes */
@media (min-width: 769px) {
    .social-section .social-links {
        max-width: none;
        flex-wrap: wrap;
        justify-content: flex-start;
        align-items: flex-start;
    }
}

/* Tablet Responsiveness */
@media (max-width: 1024px) and (min-width: 769px) {
    .footer-content {
        grid-template-columns: 1fr 1fr 1fr;
        gap: 2rem;
    }
    
    .navigation-info-section {
        gap: 1.5rem;
    }
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-section {
        text-align: center;
    }
    
    .footer-nav-links {
        text-align: center;
    }
    
    .footer-nav-links a:hover {
        padding-left: 0;
    }
    
    .contact-item {
        align-items: center;
        text-align: center;
    }
    
    .contact-label,
    .contact-value {
        text-align: center;
        align-self: center;
    }
    
    .contact-buttons {
        justify-content: center;
    }
    
    .contact-details {
        text-align: center;
    }
    
    .social-section .social-links {
        justify-content: center;
    }
    
    .footer-logo {
        text-align: center;
    }
    
    .company-description {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .footer-content {
        padding: 2rem 1rem 1.5rem;
    }
    
    .social-section .social-links {
        gap: 0.8rem;
    }
    
    .social-link {
        width: 40px;
        height: 40px;
    }
}

/* Contact item links styling */
.contact-item svg {
    flex-shrink: 0;
    color: var(--primary-color);
}

.contact-item a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: var(--primary-color);
}

.business-info {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.business-info p {
    margin: 0;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
}

/* Map Section */
.map-container {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Footer Bottom */
.footer-bottom {
    background: rgba(0, 0, 0, 0.2);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-color);
}

/* Navigation menu styles */
.nav-menu {
    display: flex;
    align-items: center;
}

.nav-menu ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 2rem;
}

.nav-item {
    margin: 0;
}

.nav-link {
    color: white;
    text-decoration: none;
    font-weight: bold;
    padding: 0.5rem 0;
    position: relative;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--background-color);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: white;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link.active::after {
    width: 100%;
}

/* Remove underline for dropdown toggles */
.nav-link.dropdown-toggle::after {
    display: none;
}

/* Dropdown menu styles */
.dropdown {
    position: relative;
}

.dropdown-toggle {
    position: relative;
    padding-right: 1.2rem;
}

/* Use ::before for dropdown arrow to avoid conflict with nav-link::after underline */
.dropdown-toggle::before {
    content: '';
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 5px solid white;
    position: absolute;
    right: 0;
    top: 50%;
    margin-top: -2.5px; /* Half of border-top height for perfect centering */
    transition: transform 0.3s ease;
}

.dropdown-toggle:hover::before,
.dropdown.open .dropdown-toggle::before {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1000;
    display: none;
    min-width: 200px;
    padding: 0.5rem 0;
    margin: 0.5rem 0 0;
    background-color: var(--primary-color);
    border-radius: 4px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    opacity: 0;
    transition: opacity 0.3s ease;
    list-style: none;
}

/* Show dropdown on hover for desktop */
@media (min-width: 769px) {
    .dropdown:hover .dropdown-menu {
        display: block;
        opacity: 1;
    }
}

/* For touch devices and mobile menu */
.dropdown.open .dropdown-menu {
    display: block;
    opacity: 1;
}

.dropdown-menu li {
    display: block;
    margin: 0;
    padding: 0;
}

.dropdown-menu a {
    color: white;
    padding: 0.7rem 1.2rem;
    display: block;
    text-align: left;
    font-weight: 500;
    border-left: 3px solid transparent;
    transition: background-color 0.3s ease, border-left 0.3s ease;
    text-decoration: none;
}

.dropdown-menu a:hover {
    background-color: var(--secondary-color);
    border-left: 3px solid white;
}

/* Highlight button style for order button */
.nav-link.highlight-btn {
    background: white;
    color: var(--primary-color);
    padding: 12px 24px;
    border-radius: 50px;
    transition: all 0.3s ease;
    font-weight: 600;
    box-shadow: 0 8px 30px rgba(255, 255, 255, 0.3);
}

.nav-link.highlight-btn:hover {
    background: rgba(255, 255, 255, 0.9);
    color: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(255, 255, 255, 0.4);
}

/* Remove underline animation for highlight button */
.nav-link.highlight-btn::after {
    display: none;
}

/* Christmas Navigation Button - Webshop */
.christmas-nav .christmas-btn {
    background: linear-gradient(135deg, #c41e3a 0%, #165b33 100%);
    background-size: 200% 200%;
    color: white !important;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 8px 30px rgba(196, 30, 58, 0.3);
    animation: gradientShift 4s ease infinite, textGlow 2s ease-in-out infinite;
    position: relative;
    overflow: visible;
    display: flex;
    align-items: center;
    justify-content: center;
    height: auto;
    line-height: 1.5;
}

.christmas-nav .christmas-btn::after {
    display: none;
}

.christmas-nav .christmas-btn:hover {
    background: linear-gradient(135deg, #c41e3a 0%, #165b33 100%);
    background-size: 200% 200%;
    color: white !important;
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(196, 30, 58, 0.4);
    animation: gradientShift 4s ease infinite, textGlow 2s ease-in-out infinite;
}

/* Animated gradient keyframes for webshop button */
@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Text glow animation for webshop button */
@keyframes textGlow {
    0%, 100% {
        text-shadow: 0 0 5px rgba(255, 255, 255, 0.3);
    }
    50% {
        text-shadow: 0 0 15px rgba(255, 255, 255, 0.8), 
                     0 0 25px rgba(255, 255, 255, 0.5);
    }
}

/* Mobile menu dropdown adjustments */
@media (max-width: 768px) {
    .dropdown-toggle {
        position: relative;
        padding-right: 2rem;
    }
    
    .dropdown-toggle::before {
        content: '';
        width: 0;
        height: 0;
        border-left: 5px solid transparent;
        border-right: 5px solid transparent;
        border-top: 5px solid white;
        position: absolute;
        right: 0.5rem;
        top: 25% !important;
        margin-top: -2.5px; /* Half of border-top height for perfect centering */
        transition: transform 0.3s ease;
    }
    
    .dropdown.open .dropdown-toggle::before {
        transform: none;
    }
    
    .dropdown-menu {
        position: static;
        background-color: rgba(0, 28, 48, 0.9);
        box-shadow: none;
        width: 100%;
        min-width: auto;
        border-radius: 0;
        padding: 0;
        margin: 0;
        margin-top: 0.5rem;
        z-index: 1001;
        border-left: 3px solid var(--secondary-color);
    }
    
    .dropdown-menu a {
        padding: 0.8rem 1.5rem;
        text-align: right;
        font-size: 0.9rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .dropdown-menu a:last-child {
        border-bottom: none;
    }
    
    .nav-link.highlight-btn {
        margin: 1rem 0;
        padding: 12px 24px;
        border-radius: 50px;
        background: white;
        color: var(--primary-color);
        text-align: center;
        max-width: none;
        width: auto;
        display: inline-block;
        font-weight: 600;
        box-shadow: 0 8px 30px rgba(255, 255, 255, 0.3);
        transition: all 0.3s ease;
    }
    
    .nav-link.highlight-btn:hover {
        background: rgba(255, 255, 255, 0.9);
        color: var(--secondary-color);
        transform: translateY(-3px);
        box-shadow: 0 12px 40px rgba(255, 255, 255, 0.4);
    }
    
    /* Christmas button mobile styling */
    .christmas-nav .christmas-btn {
        margin: 1rem 0;
        padding: 12px 24px;
        border-radius: 50px;
        text-align: center;
        max-width: none;
        width: auto;
        display: inline-block;
        font-weight: 600;
    }
}

/* Media Queries voor Responsiviteit */
@media screen and (max-width: 1024px) {
    .hero-text-wrapper {
        padding-left: 30px;
        padding-right: 30px;
    }

    .service-list {
        flex-direction: column;
        align-items: center;
    }

    .service {
        width: 80%;
        margin-bottom: 20px;
    }

    .steps {
        flex-direction: column;
        align-items: center;
    }

    .step {
        width: 80%;
        margin-bottom: 20px;
    }

    form {
        width: 100%;
        padding: 10px;
    }
}

@media screen and (max-width: 768px) {
    .hero {
        padding: 50px 20px;
    }

    h1 {
        font-size: 2.5em;
    }

    button {
        font-size: 14px;
    }    .hero-text-wrapper {
        width: 100%;
        padding: 20px;
        text-align: center;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
        justify-content: center;
    }
    
    .primary-btn, .secondary-btn {
        width: 100%;
        max-width: 280px;
        margin: 0 auto;
    }

    .service {
        width: 100%;
        margin-bottom: 20px;
    }

    .steps {
        flex-direction: column;
        align-items: center;
    }

    .step {
        width: 90%;
        margin-bottom: 20px;
    }

    footer p {
        font-size: 0.9em;
    }
}

@media screen and (max-width: 480px) {
    .hero {
        padding: 35px 15px;
    }

    h1 {
        font-size: 2em;
    }

    button {
        font-size: 14px;
        padding: 8px 15px;
    }    .hero-text-wrapper {
        padding: 15px;
        width: 100%;
        text-align: center;
    }
    
    .hero-buttons {
        gap: 0.8rem;
        margin-top: 1.5rem;
        align-items: center;
        justify-content: center;
    }
    
    .primary-btn, .secondary-btn {
        padding: 14px 20px;
        font-size: 15px;
        min-width: 140px;
    }

    .service-list {
        flex-direction: column;
        align-items: center;
    }

    .service {
        width: 90%;
    }

    .steps {
        flex-direction: column;
        align-items: center;
    }

    .step {
        width: 90%;
    }

    footer p {
        font-size: 0.8em;
    }
}

/* Modern Responsive Navbar Styles */
header {
    width: 100%;
    position: fixed;
    top: 0;
    z-index: 1000;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.7rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
}

.logo {
    display: flex;
    align-items: center;
}

#logo_img {
    height: 70px;
    width: auto;
    margin: -20px 0 -10px 0;
    transition: transform 0.3s ease;
}

#logo_img:hover {
    transform: scale(1.05);
}

.nav-menu {
    display: flex;
    align-items: center;
}

.nav-menu ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 2rem;
}

.nav-item {
    margin: 0;
}

.nav-link {
    color: white;
    text-decoration: none;
    font-weight: bold;
    padding: 0.5rem 0;
    position: relative;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--background-color);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: white;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link.active::after {
    width: 100%;
}

/* Remove underline for dropdown toggles */
.nav-link.dropdown-toggle::after {
    display: none;
}

.hamburger {
    display: none;
    cursor: pointer;
    z-index: 1000;
    padding: 15px;
    margin-right: 10px;
    position: relative;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    transition: all 0.3s ease-in-out;
    background-color: white;
}

/* Language selector enhancements */
.language-selector {
    margin: 0 0 0 1rem;
    position: relative;
}

.custom-select {
    position: relative;
    min-width: 140px;
    z-index: 100;
    cursor: pointer;
}

.selected-option {
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    padding: 8px 12px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 6px;
    color: white;
}

.selected-option:hover {
    background-color: rgba(255, 255, 255, 0.3);
}

.options-container {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
    margin-top: 5px;
    overflow: hidden;
    display: none; /* Hide by default */
    z-index: 101;
}

.custom-select.active .options-container {
    display: block;
}

.option {
    padding: 10px 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--text-color);
    transition: background-color 0.2s ease;
}

.option:hover {
    background-color: #f0f0f0;
}

.option img, .selected-option img {
    width: 16px;
    height: 12px;
}

/* Media Queries for Responsive Design */
@media screen and (max-width: 992px) {
    .navbar {
        padding: 0.5rem 1rem;
    }
    
    .nav-menu ul {
        gap: 1rem;
    }
    
    .nav-link {
        font-size: 0.9rem;
    }
}

@media screen and (max-width: 768px) {    
    .hamburger {
        display: block;
        z-index: 1001;
        position: relative;
        right: 0;
        top: 0;
        cursor: pointer;
        padding: 10px;
    }
    
    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        flex-direction: column;
        background: linear-gradient(135deg, var(--primary-color) 0%, #0088d1 100%);
        width: 100%;
        height: 100vh;
        text-align: right;
        transition: right 0.3s ease-in-out, transform 0.3s ease-in-out;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.2);
        padding-top: 100px;
        z-index: 1000;
        overflow-y: auto;
        transform: translateX(100%);
    }
    
    .nav-menu.active {
        right: 0;
        transform: translateX(0);
        height: 100vh !important;
        min-height: 100vh !important;
        max-height: 100vh !important;
    }
    
    .nav-menu ul {
        flex-direction: column;
        width: 100%;
        gap: 0;
        padding: 2rem 2rem 1rem 2rem;
        margin: 0;
        list-style: none;
        align-items: flex-end;
        flex: 1;
        justify-content: center;
    }
      .nav-item {
        margin: 0;
        width: auto;
        position: relative;
        text-align: right;
    }
    
    .nav-link {
        display: block;
        padding: 1rem;
        font-size: 1rem;
        border-bottom: none;
        text-align: right;
        white-space: nowrap;
        width: 100%;
    }
    
    /* Remove underline animation on mobile for all nav links */
    .nav-link::after {
        display: none;
    }
    
    .nav-link:hover {
        background-color: rgba(255, 255, 255, 0.1);
    }
    
    .language-selector {
        display: none;
    }
}

@media screen and (max-width: 480px) {
    #logo_img {
        height: 65px;
        width: auto;
    }
    
    .nav-menu {
        width: 100%;
    }
    
    .language-selector {
        right: 70px;
    }
}

/* Add this to fix content being hidden under the menubar */
section:first-of-type {
    margin-top: 100px; /* Adjust based on your menubar height */
}

/* For the home page hero section - keep its existing styling */
section.hero {
    margin-top: -80px; /* Negative value of body padding-top */
    padding-top: 80px;
}

/* Mobile language selector styles */
.mobile-language-selector {
    display: none;
}

@media screen and (max-width: 768px) {
    .mobile-language-selector {
        display: block;
        margin: 2rem 2rem 1rem 2rem;
        width: auto;
    }
    
    .mobile-language-selector .custom-select {
        position: relative;
        background-color: rgba(255, 255, 255, 0.1);
        border: 1px solid rgba(255, 255, 255, 0.3);
        border-radius: 50px;
        width: 100%;
    }
    
    .mobile-language-selector .selected-option {
        color: white;
        justify-content: center;
        padding: 12px;
        background-color: transparent;
        border-radius: 50px;
    }
    
    .mobile-language-selector .selected-option:hover {
        background-color: rgba(255, 255, 255, 0.2);
    }
    
    .mobile-language-selector .options-container {
        position: absolute !important;
        bottom: 100% !important;
        top: auto !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        background-color: white !important;
        margin-bottom: 5px !important;
        margin-top: 0 !important;
        border-radius: 8px !important;
        box-shadow: 0 -5px 15px rgba(0,0,0,0.15) !important;
        z-index: 1003 !important;
        overflow: hidden !important;
    }
    
    .mobile-language-selector .option {
        color: var(--text-color);
        justify-content: center;
        padding: 12px;
    }
    
    .language-selector {
        display: none;
    }
}

/* Mobile optimization - prevent horizontal scroll and zoom issues */
@media screen and (max-width: 768px) {
    /* Ensure all sections stay within viewport */
    section {
        width: 100%;
        max-width: 100vw;
        overflow-x: hidden;
    }
      /* Prevent any containers from exceeding viewport width */
    .container, .section-title-container, .features-container, 
    .service-card, .contact-container, .about-container, .services-container {
        width: 100%;
        max-width: 100vw;
        overflow-x: hidden;
        box-sizing: border-box;
    }
    
    /* Service features mobile adjustments */
    .service-features {
        padding: 0 1rem;
        margin: 1rem 0;
    }
    
    .service-features li {
        padding: 0.4rem 0 0.4rem 1.8rem;
        font-size: 0.9rem;
    }
    
    .service-features li::before {
        font-size: 1rem;
        width: 1.3rem;
        height: 1.3rem;
        top: 0.4rem;
    }
    
    .service-content {
        padding: 1.5rem;
    }
    
    .service-content h3 {
        font-size: 1.5rem;
    }
    
    /* Ensure images don't exceed container width */
    img {
        max-width: 100%;
        height: auto;
    }
    
    /* Fix any potential text overflow */
    p, h1, h2, h3, h4, h5, h6 {
        word-wrap: break-word;
        overflow-wrap: break-word;
        max-width: 100%;
    }
    
    /* Ensure forms don't exceed viewport */
    form, .form-group, input, textarea, select {
        max-width: 100%;
        box-sizing: border-box;
    }
}

/* Additional mobile touch improvements */
@media screen and (max-width: 768px) {
    /* Improve touch targets */
    button, .btn, a {
        min-height: 44px;
        min-width: 44px;
    }
    
    /* Prevent zoom on input focus */
    input, select, textarea {
        font-size: 16px; /* Prevents zoom on iOS */
    }
    
    /* Ensure proper spacing on mobile */
    body {
        padding-top: 70px; /* Adjust for mobile navbar */
    }
}

/* Mission and Founder Mobile Responsive */
@media screen and (max-width: 768px) {
    .mission-founder-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .mission-card, .founder-content {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
        height: auto;
    }
    
    .mission-icon, .founder-image {
        flex: none;
    }
    
    .mission-text, .founder-bio {
        text-align: center;
        width: 100%;
    }
    
    .mission-section {
        margin-bottom: 2rem;
    }
}

/* Service Features List Styling */
.service-features {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
    text-align: left;
}

.service-features li {
    position: relative;
    padding: 0.5rem 0 0.5rem 2rem;
    margin: 0.8rem 0;
    color: var(--text-color);
    font-size: 0.95rem;
    line-height: 1.4;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0.5rem;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.2rem;
    width: 1.5rem;
    height: 1.5rem;
    background-color: rgba(1, 175, 254, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

/* Alternative checkmark style using CSS icon */
.service-features.modern li::before {
    content: '';
    width: 1.2rem;
    height: 1.2rem;
    background-color: var(--primary-color);
    border-radius: 50%;
    position: relative;
}

.service-features.modern li::after {
    content: '';
    position: absolute;
    left: 0.25rem;
    top: 0.8rem;
    width: 0.4rem;
    height: 0.7rem;
    border: 2px solid white;
    border-top: none;
    border-left: none;
    transform: rotate(45deg);
}

/* Service card content styling improvements */
.service-content {
    padding: 2rem;
}

.service-content h3 {
    color: var(--text-color);
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.service-content p {
    color: var(--text-color);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.service-btn {
    background-color: var(--primary-color);
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.service-btn:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(1, 175, 254, 0.3);
}

/* Prototyping disclaimer styling */
.prototyping-disclaimer {
    font-size: 0.85rem;
    color: #666;
    font-style: italic;
    margin-top: 1rem;
    padding: 0.8rem;
    background-color: rgba(1, 175, 254, 0.05);
    border-left: 3px solid var(--primary-color);
    border-radius: 4px;
}

/* Highlight text styling */
.highlight-text {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1.1rem;
    margin: 1rem 0;
}

/* Content divider styling */
.content-divider {
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 1rem 0 1.5rem 0;
    border-radius: 2px;
}

/* Order CTA Button Styling */
.order-cta-container {
    text-align: center;
    margin: 3rem 0;
    padding: 2rem;
}

.order-cta-text {
    font-size: 1.2rem;
    color: var(--text-color);
    margin-bottom: 2rem;
    font-weight: 500;
}

.cta-button {
    background-color: var(--primary-color);
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    min-width: 200px;
    box-shadow: 0 2px 8px rgba(1, 175, 254, 0.2);
}

.cta-button:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(1, 175, 254, 0.3);
    color: white;
}

/* Mobile responsive for CTA button */
@media screen and (max-width: 768px) {
    .order-cta-container {
        padding: 1.5rem;
        margin: 2rem 0;
    }
    
    .order-cta-text {
        font-size: 1.1rem;
        margin-bottom: 1.5rem;
    }
    
    .cta-button {
        width: 100%;
        max-width: 300px;
        padding: 16px 24px;
        font-size: 16px;
    }
}

@media screen and (max-width: 480px) {
    .cta-button {
        padding: 14px 20px;
        font-size: 15px;
        min-width: 180px;
    }
}

/* Section Link Containers */
.section-link-container {
    text-align: center;
    padding: 2rem 1rem;
    margin: 3rem 0;
    position: relative;
}

.section-link-text {
    font-size: 1.2rem;
    color: var(--text-color);
    margin-bottom: 2rem;
    font-weight: 500;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.section-link-button {
    background-color: var(--primary-color);
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    min-width: 200px;
    box-shadow: 0 2px 8px rgba(1, 175, 254, 0.2);
}

.section-link-button:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(1, 175, 254, 0.3);
}

/* Media queries for section link containers */
@media (max-width: 768px) {
    .section-link-container {
        padding: 2rem 1rem;
        margin: 2rem 0;
    }
    
    .section-link-text {
        font-size: 1.1rem;
        margin-bottom: 1.5rem;
    }
    
    .section-link-button {
        padding: 12px 24px;
        font-size: 16px;
        min-width: 180px;
    }
}

/* Founder Section Styles */
#founder {
    background-color: white;
    padding: 60px 20px;
}

.founder-container {
    display: flex;
    max-width: 1200px;
    margin: 0 auto;
    align-items: center;
    gap: 40px;
    padding: 30px 20px;
    border-radius: 12px;
    background-color: var(--background-color);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.founder-image {
    flex: 0 0 35%;
}

.founder-photo {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.founder-details {
    flex: 1;
    text-align: left;
    padding: 20px;
}

.founder-name {
    font-size: 2em;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.founder-title {
    font-size: 1.2em;
    color: var(--secondary-color);
    margin-bottom: 20px;
    font-weight: 500;
}

.founder-description {
    font-size: 1.1em;
    line-height: 1.6;
    margin-bottom: 25px;
}

.founder-contact {
    margin-top: 20px;
}

.founder-email {
    display: flex;
    align-items: center;
    font-size: 1.1em;
    margin-bottom: 15px;
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.founder-email:hover {
    color: var(--primary-color);
}

.founder-contact .material-icons {
    margin-right: 10px;
    color: var(--primary-color);
}

.founder-social {
    display: flex;
    gap: 15px;
    margin-top: 20px;
    flex-wrap: wrap;
    align-items: center;
}

/* Social link style similar to footer */
.founder-social .social-link {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.founder-social .social-link:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
}

.founder-social .social-link svg {
    width: 20px;
    height: 20px;
}

/* Button for "More about me" */
.social-btn {
    display: flex;
    align-items: center;
    padding: 10px 20px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

/* LinkedIn specific styles */
.founder-social .linkedin {
    background-color: #0077B5;
}

.about-btn {
    background-color: var(--primary-color);
    color: white;
}

.about-btn:hover {
    background-color: var(--secondary-color);
}

.social-btn .material-icons {
    margin-right: 8px;
}

/* Media queries for founder section responsiveness */
@media (max-width: 900px) {
    .founder-container {
        flex-direction: column;
        padding: 20px;
    }
    
    .founder-image {
        flex: 0 0 100%;
        max-width: 400px;
        margin-bottom: 20px;
    }
    
    .founder-details {
        text-align: center;
    }
    
    .founder-contact p {
        justify-content: center;
    }
    
    .founder-social {
        justify-content: center;
    }
}

/* Modern notification system */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10000;
    min-width: 320px;
    max-width: 500px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    transform: translateX(100%);
    transition: transform 0.3s ease;
    border-left: 5px solid;
}

.notification.success {
    border-left-color: #2ed573;
}

.notification.error {
    border-left-color: #ff4757;
}

.notification.show {
    transform: translateX(0);
}

.notification-content {
    display: flex;
    align-items: center;
    padding: 1rem 1.5rem;
    gap: 0.75rem;
}

.notification-icon {
    flex-shrink: 0;
    font-size: 1.5rem;
}

.notification.success .notification-icon {
    color: #2ed573;
}

.notification.error .notification-icon {
    color: #ff4757;
}

.notification-message {
    flex: 1;
    color: var(--text-color);
    font-weight: 500;
}

.notification-close {
    flex-shrink: 0;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.25rem;
    border-radius: 50%;
    transition: background-color 0.2s ease;
}

.notification-close:hover {
    background: #f0f0f0;
}

.notification-close .material-icons {
    font-size: 1.25rem;
    color: #666;
}

@media (max-width: 480px) {
    .notification {
        right: 10px;
        left: 10px;
        min-width: auto;
        max-width: none;
    }
}

/* ===== CONTACT FORM STYLING ===== */
#contact {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    min-height: 100vh;
    padding: 5rem 0;
}

/* Section title styling for contact */
#contact .section-title-container {
    text-align: center;
    margin-bottom: 3rem;
}

#contact .section-title {
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 1rem;
}

#contact .section-subtitle {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 2rem;
}

#contact .section-divider {
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    margin: 1rem auto;
    border-radius: 2px;
}

/* Company Logo Section */
.navigation-section .footer-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    margin-top: 2rem;
}

.footer-logo-img {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

.footer-logo h3 {
    margin: 0 0 -1px 3px;
    font-size: 1.5rem;
    text-transform: none;
    letter-spacing: normal;
}

/* Footer logo responsive styling */
.footer-logo {
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

/* Desktop styling - left align */
@media (min-width: 769px) {
    .footer-logo {
        justify-content: flex-start;
    }
}

.company-description {
    line-height: 1.6;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
}

.footer-section h4 {
    color: white;
    font-size: 1rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Contact Buttons */
.contact-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.contact-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.contact-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.contact-btn.email-btn:hover {
    background: #ea4335;
}

.contact-btn.phone-btn:hover {
    background: #34a853;
}

/* Google Maps Section */
.map-section {
    margin-top: 1.5rem;
}

.map-section .map-container {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    margin-top: 1rem;
}

.map-section .map-container iframe {
    width: 100%;
    height: 150px;
    border: 0;
    border-radius: 8px;
}

/* Updated Mobile Responsiveness */
@media (max-width: 768px) {
    .navigation-section .footer-logo {
        justify-content: center;
    }
    
    .contact-buttons {
        justify-content: center;
    }
    
    .contact-details {
        text-align: center;
    }
    
    .contact-item {
        align-items: center;
        text-align: center;
    }
    
    .contact-value {
        text-align: center;
        align-self: center;
    }
}

@media (max-width: 480px) {
    .map-section .map-container iframe {
        height: 120px;
    }
    
    .social-section .social-links {
        gap: 0.8rem;
        max-width: 100%;
    }
    
    .social-link {
        width: 40px;
        height: 40px;
    }
}

/* ===== FAQ PAGE STYLING ===== */
#faq {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    min-height: 100vh;
    padding: 5rem 0;
}

.faq-section .section-title-container {
    text-align: center;
    margin-bottom: 4rem;
    padding: 0 2rem;
}

.faq-section .section-title {
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 1rem;
}

.faq-section .section-subtitle {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.faq-section .section-divider {
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    margin: 1rem auto;
    border-radius: 2px;
}

.faq-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    margin-bottom: 4rem;
    width: 100%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    align-items: stretch;
}

.faq-category {
    background: white;
    border-radius: 15px;
    padding: 2.5rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.faq-category:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.category-title {
    color: var(--primary-color);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #f0f0f0;
    text-align: left;
}

.faq-item {
    border-bottom: 1px solid #f0f0f0;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
}

.faq-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    padding: 1rem 0;
    font-weight: 600;
    color: var(--text-color);
    font-size: 1.1rem;
    transition: color 0.3s ease;
    text-align: left;
}

.faq-question span:first-child {
    flex: 1;
    margin-right: 1rem;
    line-height: 1.4;
}

.faq-question:hover {
    color: var(--primary-color);
}

.faq-toggle {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
    transition: transform 0.3s ease;
    flex-shrink: 0;
    margin-left: 1rem;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(1, 175, 254, 0.1);
    border-radius: 50%;
}

.faq-item.active .faq-toggle {
    background: var(--primary-color);
    color: white;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding: 0 0;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 1rem 0 0 0;
}

.faq-answer p {
    color: #666;
    line-height: 1.6;
    margin: 0;
    font-size: 0.95rem;
    text-align: left;
}

/* FAQ Call-to-Action */
.faq-cta {
    background: white;
    border-radius: 20px;
    padding: 3rem;
    text-align: center;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    margin-top: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.faq-cta h3 {
    color: var(--text-color);
    font-size: 2rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.faq-cta p {
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.faq-cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    align-items: center;
}

.faq-cta-buttons .primary-btn,
.faq-cta-buttons .secondary-btn {
    padding: 15px 30px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 180px;
    text-align: center;
    border: none;
    line-height: 1.4;
}

.faq-cta-buttons .primary-btn {
    background-color: var(--primary-color);
    color: white;
    border: none;
}

.faq-cta-buttons .primary-btn:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(1, 175, 254, 0.3);
}

.faq-cta-buttons .secondary-btn {
    background-color: transparent;
    color: white;
    border: 2px solid white;
}

.faq-cta-buttons .secondary-btn:hover {
    background-color: white;
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(1, 175, 254, 0.3);
}

/* Medium screens */
@media (max-width: 1024px) {
    .faq-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        max-width: 700px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .faq-container {
        padding: 0 1.5rem;
    }
}

/* Mobile Responsiveness for FAQ */
@media (max-width: 768px) {
    .faq-section .section-title {
        font-size: 2.5rem;
    }
    
    .faq-container {
        padding: 0 1rem;
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        max-width: 600px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .faq-category {
        padding: 2rem 1.5rem;
        max-width: 100%;
        width: 100%;
    }
    
    .category-title {
        font-size: 1.3rem;
    }
    
    .faq-question {
        font-size: 1rem;
        padding: 0.8rem 0;
    }
    
    .faq-question span:first-child {
        padding-right: 1rem;
    }
    
    .faq-toggle {
        font-size: 1.3rem;
        width: 28px;
        height: 28px;
    }
    
    .faq-cta {
        padding: 2rem 1.5rem;
        margin: 2rem 1rem 0 1rem;
        max-width: 100%;
    }
    
    .faq-cta h3 {
        font-size: 1.5rem;
    }
    
    .faq-cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .faq-cta-buttons .primary-btn,
    .faq-cta-buttons .secondary-btn {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .faq-section {
        padding: 3rem 0;
    }
    
    .faq-section .section-title {
        font-size: 2rem;
    }
    
    .faq-container {
        padding: 0 1rem;
    }
    
    .faq-category {
        padding: 1.5rem 1rem;
    }
    
    .category-title {
        font-size: 1.2rem;
        margin-bottom: 1.5rem;
    }
    
    .faq-question {
        font-size: 0.95rem;
    }
    
    .faq-cta {
        padding: 2rem 1rem;
    }
    
    .faq-cta h3 {
        font-size: 1.3rem;
    }
}

/* Universal blue gradient page header */
.page-header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 4rem 2rem;
    text-align: center;
    margin-bottom: 0;
    margin-top: 0;
    /* Padding-top is handled by universal rule */
}

.page-header .section-title-container {
    margin-top: 0;
    padding-top: 0;
}

.page-header .section-title {
    color: white;
    font-size: 3rem;
    margin-bottom: 1rem;
}

.page-header .section-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
}

.page-header .section-divider {
    width: 80px;
    height: 4px;
    background: rgba(255, 255, 255, 0.8);
    margin: 1rem auto;
    border-radius: 2px;
}

/* Desktop-specific centering (769px and above) */
@media (min-width: 769px) {
    .page-header {
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .page-header .section-title-container {
        max-width: 1200px;
        width: 100%;
        text-align: center;
        margin: 0 auto;
    }
}

/* Mobile Responsiveness for Universal Page Header */
@media (max-width: 768px) {
    .page-header {
        padding: 3rem 1rem;
        margin-bottom: 0;
    }
    
    .page-header .section-title {
        font-size: 2.5rem;
    }
    
    .page-header .section-subtitle {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .page-header {
        padding: 2rem 1rem;
        margin-bottom: 0;
    }
    
    .page-header .section-title {
        font-size: 2rem;
    }
    
    .page-header .section-subtitle {
        font-size: 1rem;
    }
}

/* ============================================
   LEGACY PAGE-SPECIFIC HEADERS (for backward compatibility)
   ============================================ */

/* Order page header */
#order-header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 4rem 2rem;
    text-align: center;
    margin-bottom: 0;
    margin-top: 0;
    /* Padding-top is handled by universal rule */
}

#order-header .section-title-container {
    margin-top: 0;
    padding-top: 0;
}

#order-header .section-title {
    color: white;
    font-size: 3rem;
    margin-bottom: 1rem;
}

#order-header .section-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
}

#order-header .section-divider {
    width: 80px;
    height: 4px;
    background: rgba(255, 255, 255, 0.8);
    margin: 1rem auto;
    border-radius: 2px;
}

/* Desktop-specific centering for order header (769px and above) */
@media (min-width: 769px) {
    #order-header {
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    #order-header .section-title-container {
        max-width: 1200px;
        width: 100%;
        text-align: center;
        margin: 0 auto;
    }
}

/* Mobile Responsiveness for Order Header */
@media (max-width: 768px) {
    #order-header {
        padding: 3rem 1rem;
        margin-bottom: 0;
    }
    
    #order-header .section-title {
        font-size: 2.5rem;
    }
    
    #order-header .section-subtitle {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    #order-header {
        padding: 2rem 1rem;
        margin-bottom: 0;
    }
    
    #order-header .section-title {
        font-size: 2rem;
    }
    
    #order-header .section-subtitle {
        font-size: 1rem;
    }
}

/* ============================================
   UNIVERSAL WHITE SPACE FIXES
   ============================================ */

/* Universal fix for page headers to start immediately after navbar */
section:first-child,
.main-content > section:first-child,
.main-content > *:first-child {
    margin-top: 0;
    padding-top: 4rem; /* Keep internal padding but remove margin */
}

/* Specific fixes for common page header patterns */
#services-header,
#about-header,
#contact-header,
#order-header,
#faq-header,
#privacy-header,
#terms-header,
#achievements-header,
#error-header,
.page-header,
.hero-section {
    margin-top: 0;
    padding-top: 4rem; /* Consistent top padding for all page headers */
}

/* Fix for any remaining spacing issues */
.main-content > .order-notice,
.main-content > .notice,
.main-content > .alert {
    margin-top: 2rem; /* Controlled spacing for notices */
}

/* Ensure proper spacing for alternate sections */
.alternate-section {
    margin-top: 0;
}

/* ============================================
   MATERIALS & COLORS SECTION STYLES
   ============================================ */

/* Materials Grid Layout */
.materials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Compact Materials Grid */
.materials-grid.compact {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

/* Material Card Styles */
.material-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-left: 4px solid var(--primary-color);
}

/* Compact Material Cards */
.materials-grid.compact .material-card {
    padding: 1.5rem;
    border-left: 3px solid var(--primary-color);
}

.material-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.material-card h3 {
    color: var(--text-color);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

/* Compact Material Card Titles */
.materials-grid.compact .material-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
}

/* Material Description for Compact Cards */
.material-desc {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}

/* Material Specs Tags */
.material-specs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 0.75rem;
    margin-top: 1rem;
    align-items: start;
    min-height: 5rem;
}

/* Ensure purple (temp) and green (good) tags are on first row */
.material-specs .temp-tag {
    grid-column: 1;
    grid-row: 1;
}

.material-specs .good-tag {
    grid-column: 2;
    grid-row: 1;
}

/* Ensure blue (price) and red (bad) tags are on second row */
.material-specs .price-tag {
    grid-column: 1;
    grid-row: 2;
}

.material-specs .bad-tag {
    grid-column: 2;
    grid-row: 2;
}

.spec-tag {
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    min-height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.temp-tag {
    background: linear-gradient(135deg, #a55eea, #8b5cf6);
    color: white;
}

.price-tag {
    background: linear-gradient(135deg, #45aaf2, #3742fa);
    color: white;
}

.good-tag {
    background: linear-gradient(135deg, #2ed573, #20bf6b);
    color: white;
}

.bad-tag {
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
    color: white;
}

.flex-tag {
    background: linear-gradient(135deg, #a55eea, #8b5cf6);
    color: white;
}

.strong-tag {
    background: linear-gradient(135deg, #45aaf2, #3742fa);
    color: white;
}

.material-properties {
    color: #555;
    line-height: 1.6;
}

.material-properties p {
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.material-features h4 {
    color: var(--text-color);
    font-size: 1.1rem;
    margin: 1.5rem 0 0.8rem 0;
    font-weight: 600;
}

.material-features h4.downsides {
    color: #e74c3c;
}

.benefits-list,
.downsides-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1rem 0;
}

.benefits-list li,
.downsides-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    color: #555;
    font-size: 0.95rem;
}

.benefits-list li::before {
    content: "✓";
    color: #27ae60;
    position: absolute;
    left: 0;
    font-weight: bold;
}

.downsides-list li::before {
    content: "✗";
    color: #e74c3c;
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* Color Palette Section */
.color-palette {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    margin: 3rem auto 0;
    max-width: 1200px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.color-palette h3 {
    color: var(--text-color);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    text-align: center;
    font-weight: 600;
}

/* Color Grid Layout */
.color-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
    gap: 1rem;
    max-width: 800px;
    margin: 0 auto 1.5rem;
    padding: 0 20px;
}

/* Color Sample Styles */
.color-sample {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 3px solid #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    justify-self: center;
}

.color-sample:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

/* Special handling for white color sample */
.color-sample[style*="background-color: #ffffff"] {
    border: 3px solid #ddd;
}

/* Filament Inventory Styles */
.inventory-subtitle {
    text-align: center;
    color: #666;
    font-size: 1rem;
    margin-bottom: 2rem;
    margin-top: 0.5rem;
}

/* Updated Color Grid for Filament Cards */
.color-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto 1.5rem;
    padding: 0 20px;
}

/* Filament Card Styles */
.filament-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.filament-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.filament-image {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1; /* Maintain 1:1 aspect ratio for all filament images */
    overflow: hidden;
}

.filament-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.filament-card:hover .filament-image img {
    transform: scale(1.05);
}

.filament-status {
    position: absolute;
    top: 12px;
    right: 12px;
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    z-index: 2;
}

/* Brand Logo in Top-Left Corner */
.brand-logo {
    position: absolute;
    top: 12px;
    left: 12px;
    width: 70px;
    height: 70px;
    background: white;
    border-radius: 8px;
    padding: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
}

.brand-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.filament-info {
    padding: 1.5rem;
}

.filament-name {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-color);
    margin: 0 0 1rem 0;
}

.filament-brand {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.9rem;
}

.filament-brand-name {
    text-align: center;
    margin-bottom: 0.5rem;
}

.filament-weight {
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 400;
}

.filament-weight {
    background: #f5f5f5;
    color: #666;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 500;
}

.filament-stock {
    margin-top: 1rem;
}

.stock-bar {
    background: #e0e0e0;
    height: 8px;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.stock-fill {
    height: 100%;
    background: linear-gradient(90deg, #4CAF50 0%, #8BC34A 50%, #CDDC39 100%);
    border-radius: 4px;
    transition: width 0.3s ease;
}

.stock-percentage {
    font-size: 0.9rem;
    color: #666;
    font-weight: 500;
}

/* Loading States */
.loading-spinner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem;
    color: #666;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 1rem;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.filament-error {
    text-align: center;
    padding: 2rem;
    color: #666;
    background: #f9f9f9;
    border-radius: 8px;
    border: 2px dashed #ddd;
}

/* Filament Controls Styles */
.filament-controls {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 2rem;
    border-radius: 16px;
    margin-bottom: 2rem;
    border: 1px solid #dee2e6;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

/* Compact Filament Controls */
.filament-controls.compact {
    padding: 1.5rem;
    border-radius: 12px;
}

.controls-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.controls-header h4 {
    margin: 0;
    color: #495057;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.controls-header h4 .material-icons {
    color: #007bff;
}

.results-count {
    background: #007bff;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    min-width: 120px;
    text-align: center;
}

.section-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
    color: #495057;
    font-size: 1rem;
}

.section-label .material-icons {
    color: #6c757d;
}

.sort-section, .filter-section {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    margin-bottom: 1rem;
    border: 1px solid #e9ecef;
}

.sort-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.sort-field-group {
    flex: 1;
    min-width: 200px;
}

.sort-dropdown {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid #ced4da;
    border-radius: 8px;
    background: white;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.2s ease;
    font-weight: 500;
}

.sort-dropdown:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
    transform: translateY(-1px);
}

.sort-order-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
}

.sort-order-btn {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 0.75rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.2s ease;
    min-width: 120px;
    font-weight: 500;
    box-shadow: 0 2px 4px rgba(0, 123, 255, 0.2);
}

.sort-order-btn:hover {
    background: linear-gradient(135deg, #0056b3 0%, #004085 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 123, 255, 0.3);
}

.sort-order-text {
    font-size: 0.85rem;
    font-weight: 600;
}

.filter-controls {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 1rem;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.filter-group label {
    font-weight: 500;
    color: #495057;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.filter-group label .material-icons {
    font-size: 18px;
    color: #6c757d;
}

.filter-dropdown {
    padding: 0.75rem 1rem;
    border: 2px solid #ced4da;
    border-radius: 8px;
    background: white;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.filter-dropdown:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
    transform: translateY(-1px);
}

.quick-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #e9ecef;
}

.reset-btn, .quick-filter-btn {
    background: #6c757d;
    color: white;
    border: none;
    border-radius: 8px;
    padding: 0.75rem 1.25rem;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 2px 4px rgba(108, 117, 125, 0.2);
}

.reset-btn:hover {
    background: #545b62;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(108, 117, 125, 0.3);
}

.quick-filter-btn {
    background: #28a745;
}

/* Compact Controls Styles */
.controls-header-compact {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.controls-header-compact h4 {
    margin: 0;
    color: #495057;
    font-weight: 600;
    font-size: 1.1rem;
}

.compact-controls {
    background: white;
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.filter-row {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
}

.compact-filter {
    padding: 0.6rem 0.8rem;
    border: 1px solid #ced4da;
    border-radius: 6px;
    background: white;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s ease;
    min-width: 140px;
}

.compact-filter:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.1);
}

.compact-action-btn {
    background: #6c757d;
    color: white;
    border: none;
    border-radius: 6px;
    padding: 0.6rem;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
}

.compact-action-btn:hover {
    background: #545b62;
    transform: translateY(-1px);
}

.compact-action-btn .material-icons {
    font-size: 20px;
}

/* Responsive adjustments for compact layout */
@media (max-width: 768px) {
    .filter-row {
        flex-direction: column;
        align-items: stretch;
    }
    
    .compact-filter {
        min-width: unset;
        width: 100%;
    }
    
    .materials-grid.compact {
        grid-template-columns: 1fr;
    }
}

.quick-filter-btn:hover {
    background: #1e7e34;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(40, 167, 69, 0.3);
}

.quick-filter-btn.active {
    background: #dc3545;
}

.quick-filter-btn.active:hover {
    background: #c82333;
}

/* Finish Badge Styles (now inline tags under title) */
.filament-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.75rem;
    justify-content: center;
}

.filament-tag {
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    display: inline-block;
    text-transform: capitalize;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    flex: 0 0 auto;
    min-width: 90px;
    text-align: center;
}

.filament-tag.color-tag {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
}

.filament-tag.finish-tag {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Legacy badge styles - kept for backwards compatibility but repositioned */
.finish-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 0.25rem 0.5rem;
    border-radius: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Legacy Color Tag Styles - kept for backwards compatibility but updated */
.color-tag {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    display: inline-block;
    margin: 0.5rem 0;
    text-transform: capitalize;
    box-shadow: 0 2px 4px rgba(40, 167, 69, 0.2);
}

/* Responsive Design for Controls */
@media (max-width: 768px) {
    .filament-controls {
        padding: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .controls-header {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
        gap: 1rem;
    }
    
    .results-count {
        align-self: center;
    }
    
    .sort-section, .filter-section {
        padding: 1rem;
    }
    
    .sort-controls {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }
    
    .sort-field-group {
        min-width: auto;
    }
    
    .sort-order-group {
        align-self: center;
    }
    
    .filter-controls {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .quick-actions {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .reset-btn, .quick-filter-btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .filament-controls {
        padding: 1rem;
        border-radius: 12px;
    }
    
    .controls-header h4 {
        font-size: 1rem;
    }
    
    .sort-dropdown, .filter-dropdown {
        padding: 0.6rem 0.8rem;
        font-size: 0.85rem;
    }
    
    .sort-order-btn {
        padding: 0.6rem;
        min-width: 100px;
    }
    
    .reset-btn, .quick-filter-btn {
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
    }
}

/* Services Shortcuts Section */
.services-shortcuts {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: 3rem 0;
    margin: 0;
    position: relative;
    overflow: hidden;
}

.services-shortcuts::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(1, 175, 254, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(1, 136, 194, 0.1) 0%, transparent 50%);
    z-index: 0;
}

.shortcuts-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 1;
}

.shortcuts-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 2.5rem;
    position: relative;
}

.shortcuts-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

.shortcuts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* For 6 buttons, create a 3x2 grid on larger screens */
@media (min-width: 992px) {
    .shortcuts-grid {
        grid-template-columns: repeat(3, 1fr);
        max-width: 1000px;
    }
}

@media (min-width: 1200px) {
    .shortcuts-grid {
        grid-template-columns: repeat(3, 1fr);
        max-width: 1100px;
    }
}

.shortcut-btn {
    background: white;
    border: none;
    border-radius: 16px;
    padding: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    gap: 1rem;
    text-align: left;
    position: relative;
    overflow: hidden;
    text-decoration: none;
}

.shortcut-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    transition: all 0.4s ease;
    z-index: -1;
}

.shortcut-btn:hover::before {
    left: 0;
}

.shortcut-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(1, 175, 254, 0.2);
    color: white;
}

.shortcut-btn:hover .shortcut-icon {
    color: white;
    transform: scale(1.1);
}

.shortcut-btn:hover .shortcut-content h4,
.shortcut-btn:hover .shortcut-content p {
    color: white;
}

.shortcut-btn:hover .shortcut-arrow {
    color: white;
    transform: translateX(5px);
}

.shortcut-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 12px;
    color: white;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.shortcut-icon .material-icons {
    font-size: 24px;
}

.shortcut-content {
    flex: 1;
    min-width: 0;
}

.shortcut-content h4 {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-color);
    margin: 0 0 0.3rem 0;
    transition: all 0.3s ease;
}

.shortcut-content p {
    font-size: 0.9rem;
    color: #666;
    margin: 0;
    transition: all 0.3s ease;
}

.shortcut-arrow {
    display: flex;
    align-items: center;
    color: var(--primary-color);
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.shortcut-arrow .material-icons {
    font-size: 20px;
}

/* Responsive adjustments for shortcuts */
@media (max-width: 768px) {
    .services-shortcuts {
        padding: 2rem 0;
    }
    
    .shortcuts-container {
        padding: 0 1rem;
    }
    
    .shortcuts-title {
        font-size: 2rem;
        margin-bottom: 2rem;
    }
    
    .shortcuts-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .shortcut-btn {
        padding: 1.2rem;
        gap: 0.8rem;
    }
    
    .shortcut-icon {
        width: 45px;
        height: 45px;
    }
    
    .shortcut-icon .material-icons {
        font-size: 22px;
    }
    
    .shortcut-content h4 {
        font-size: 1rem;
    }
    
    .shortcut-content p {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .shortcuts-title {
        font-size: 1.8rem;
    }
    
    .shortcut-btn {
        padding: 1rem;
    }
    
    .shortcut-icon {
        width: 40px;
        height: 40px;
    }
    
    .shortcut-icon .material-icons {
        font-size: 20px;
    }
}