/* General Layout */
body {
    font-family: 'Roboto', sans-serif;
    background-color: #f8f9fa;
    margin: 0;
    padding: 0;
}
/* Main Image */
.main-image-container img {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.main-image-container img:hover {
    transform: scale(1.05);
    box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.3);
}

/* Thumbnails */
.thumbnail-item img {
    transition: transform 0.3s ease, border-color 0.3s ease;
    border: 2px solid transparent;
}
.thumbnail-item img:hover {
    transform: scale(1.1);
    border-color: #007bff;
}
.thumbnail-item p {
    margin-top: 5px;
    font-size: 0.85rem;
    color: #6c757d;
}

/* Product Info */
.product-info {
    padding-top: 20px;
}
.product-info h2 {
    font-size: 2rem;
    line-height: 1.5;
}
.product-info p {
    font-size: 1rem;
    line-height: 1.8;
}




.contact-us-section {
    background-color: #eaf7ec; /* Light Green Background */
    padding-top: 80px;
    padding-bottom: 80px;
}

/* Contact Title */
.contact-us-section h1 {
    font-size: 3.5rem;
    font-weight: 700;
    color: #4CAF50;
}

.contact-us-section h2 {
    font-size: 2rem;
    color: #4CAF50;
}

/* Info Card Section (for Phone, Email, Address) */
.info-card {
    background: #ffffff;
    border: 2px solid #ddd;
    padding: 25px;
    text-align: center;
    border-radius: 10px;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.info-card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transform: translateY(-8px);
}

.info-card i {
    color: #388E3C; /* Dark Green */
}

.info-card h4 {
    color: #424242;
    font-size: 1.5rem;
    font-weight: bold;
    margin-top: 10px;
}

.info-card p {
    color: #555;
    font-size: 1.05rem;
}

/* Contact Form Styling */
.form-group label {
    font-weight: bold;
    font-size: 1.1rem;
}

.form-group input, .form-group textarea {
    font-size: 1rem;
    border-radius: 8px;
}

.form-group textarea {
    resize: vertical;
}

/* Form Button */
.btn-success {
    background-color: #4CAF50;
    border-color: #4CAF50;
    padding: 12px 30px;
    font-size: 18px;
    border-radius: 8px;
    transition: background-color 0.3s ease;
}

.btn-success:hover {
    background-color: #388E3C; /* Dark Green */
}

/* Responsive Styling */
@media (max-width: 767px) {
    .contact-us-section h1 {
        font-size: 2.5rem;
    }

    .info-card {
        margin-bottom: 15px;
    }

    .btn-success {
        font-size: 16px;
    }

    .form-group input, .form-group textarea {
        width: 100%;
    }
}


.about-us-section {
    background-color: #eaf7ec; /* Light Green Background */
    padding-top: 80px;
    padding-bottom: 80px;
}

.about-us-section h1, .about-us-section h2 {
    color: #4CAF50; /* Green */
}

.about-us-section h1 {
    font-size: 3.5rem;
    font-weight: 700;
}

.about-us-section .lead {
    font-size: 1.25rem;
    color: #6c757d;
    line-height: 1.6;
}

/* Feature Cards Section */
.feature-card {
    background: #ffffff;
    border: 2px solid #ddd;
    padding: 20px;
    transition: box-shadow 0.3s ease-in-out, transform 0.3s ease;
    border-radius: 8px;
}

.feature-card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transform: translateY(-8px);
}

.feature-card i {
    color: #388E3C; /* Dark Green */
}

.feature-card h4 {
    color: #424242;
    font-size: 1.6rem;
    font-weight: bold;
}

.feature-card p {
    color: #555;
    font-size: 1.05rem;
}

.feature-card:hover i {
    color: #4CAF50; /* Green on Hover */
}

/* Call-to-Action Button */
.btn-green {
    background-color: #4CAF50; /* Green */
    border-color: #4CAF50;
    font-size: 18px;
    padding: 12px 30px;
    border-radius: 8px;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.btn-green:hover {
    background-color: #388E3C; /* Dark Green */
    transform: translateY(-4px);
}

/* Responsive Styling */
@media (max-width: 767px) {
    .about-us-section h1 {
        font-size: 2.5rem;
    }

    .about-us-section h2 {
        font-size: 2rem;
    }

    .feature-card {
        margin-bottom: 15px;
    }

    .btn-green {
        font-size: 16px;
    }
}


/* Thank You Page Styling */
.thank-you-section {
    background-color: #f7f7f7;
    padding-top: 50px;
    padding-bottom: 50px;
    color: #333;
}

.thank-you-section h1 {
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 20px;
}

.thank-you-section p {
    font-size: 18px;
    margin-bottom: 20px;
    line-height: 1.6;
}

.thank-you-section .thank-you-icon {
    margin: 20px 0;
}

.thank-you-section .thank-you-icon i {
    font-size: 80px;
}

.thank-you-section .btn {
    font-size: 16px;
    padding: 12px 30px;
    text-transform: uppercase;
}

.feature-card {
    background: #fff;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
}

.feature-card i {
    color: #4CAF50;
    margin-bottom: 15px;
}

.feature-card h5 {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 15px;
}

.feature-card p {
    font-size: 16px;
    color: #777;
}


.product-category {
    display: inline-block;
    background-color: #f8f8f8;
    padding: 5px 10px;
    font-size: 14px;
    font-weight: bold;
    color: #333;
    border-radius: 30px;
    border: 1px solid #ddd;
    text-transform: uppercase;
    margin-top: 5px;
    letter-spacing: 1px;
}

.product-category:hover {
    background-color: #e2e2e2;
    border-color: #ccc;
    cursor: pointer;
}

.product-category:focus {
    outline: none;
}

/* Style for the Add Button */
.add-to-cart-btn {
    display: inline-block;
    padding: 10px 20px;
    margin-top: 15px;
    background-color: #4CAF50;
    color: white;
    font-weight: bold;
    border: none;
    border-radius: 50px;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.add-to-cart-btn:hover {
    background-color: #45a049;
    transform: scale(1.05);
}

.add-to-cart-btn:focus {
    outline: none;
}

/* Sticky Alert - Positioned in the left bottom corner */
#alertMessage {
  position: fixed;
  bottom: 20px;
  left: 20px;
  z-index: 1050; /* Ensure it appears above other content */
  width: auto;
  padding: 10px 20px;
  border-radius: 5px;
  font-size: 14px;
  max-width: 300px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

#alertMessage .btn-close {
  padding: 5px 10px;
  font-size: 16px;
}

/* Floating Icon Styling */
.floating-icon {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #28a745;
    color: white;
    border-radius: 50%;
    padding: 15px;
    font-size: 24px;
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: transform 0.3s ease;
}

.floating-icon:hover {
    transform: scale(1.1);
}

/* Arrow Animation Styling - Professional Fade and Move */
.arrow-animation {
    position: fixed;
    bottom: 70px;
    right: 35px;
    font-size: 32px;
    opacity: 0;
    pointer-events: none;
    animation: arrowAnimation 10s forwards;
    color: #007bff; /* Soft blue for a professional look */
    transform: translateY(0);
}

/* Arrow animation (Sleek & Smooth) */
@keyframes arrowAnimation {
    0% {
        opacity: 0;
        transform: translateY(20px);  /* Start slightly below */
    }
    20% {
        opacity: 1; /* Fade in */
        transform: translateY(-10px); /* Gently move up */
    }
    50% {
        opacity: 1;
        transform: translateY(0); /* Center the arrow */
    }
    80% {
        opacity: 0.5; /* Dim the arrow for subtlety */
        transform: translateY(10px); /* Slight move down */
    }
    100% {
        opacity: 0; /* Fade out */
        transform: translateY(20px); /* End slightly below */
    }
}

.modal-content {
    border-radius: 8px;
    padding: 20px;
}

/* Header Style */
.modal-header {
    background-color: #007bff;
    color: #fff;
    border-bottom: 2px solid #f1f1f1;
    padding: 15px;
}

/* Customer Information Section */
.customer-details {
    padding: 10px;
    border: 1px solid #f1f1f1;
    border-radius: 8px;
    background-color: #f9f9f9;
}

.customer-details .row {
    margin: 0;
    font-size: 14px;
}

.customer-details .col-md-6 {
    padding: 10px;
}

.customer-details .col-md-6 strong {
    font-weight: bold;
}

/* Table for Products */
.table-responsive {
    max-height: 300px;
    overflow-y: auto;
    margin-top: 20px;
}

.table th,
.table td {
    vertical-align: middle;
    text-align: center;
}

.table th {
    background-color: #f8f9fa;
    color: #333;
    font-weight: bold;
}

.table td {
    padding: 10px;
}

.quantity-input {
    width: 80px;
}

/* Delete Button */
.delete-btn {
    background-color: #dc3545;
    color: #fff;
    border: none;
    border-radius: 5px;
}

/* Finalize Button */
.finalize-btn {
    background-color: #28a745;
    color: #fff;
    padding: 10px 20px;
    font-size: 16px;
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s ease-in-out;
}

.finalize-btn:hover {
    background-color: #218838;
}

/* Responsive Styles */
@media (max-width: 767px) {
    .modal-dialog {
        max-width: 95%;
    }

    .customer-details {
        font-size: 12px;
    }

    .table th, .table td {
        font-size: 12px;
    }

    .finalize-btn {
        width: 100%;
        font-size: 14px;
    }
}

@media (max-width: 576px) {
    .finalize-btn {
        font-size: 12px;
        padding: 8px 16px;
    }

    .modal-header h5 {
        font-size: 18px;
    }
}



/* General Form Styles */
.create-quotation-section {
    background-color: #f4f9fb;
    padding: 50px 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.section-heading {
    font-weight: bold;
    color: #333;
    font-size: 36px;
}

.quotation-form {
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

/* Updated CSS for smoother validation appearance */

/* Initially hide feedback, show only when user exits a field (blur event) */
.quotation-form input.is-invalid,
.quotation-form select.is-invalid,
.quotation-form textarea.is-invalid {
    border-color: #dc3545;
}

.quotation-form input.is-valid,
.quotation-form select.is-valid,
.quotation-form textarea.is-valid {
    border-color: #28a745;
}

/* Error message styling */
.quotation-form .invalid-feedback {
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.quotation-form .is-invalid ~ .invalid-feedback {
    visibility: visible;
    opacity: 1;
}

/* Validation feedback transition */
.quotation-form input:focus.is-invalid,
.quotation-form select:focus.is-invalid,
.quotation-form textarea:focus.is-invalid {
    border-color: #dc3545;
    box-shadow: 0 0 10px rgba(220, 53, 69, 0.3);
}

.quotation-form input.is-valid ~ .invalid-feedback,
.quotation-form select.is-valid ~ .invalid-feedback,
.quotation-form textarea.is-valid ~ .invalid-feedback {
    visibility: hidden;
    opacity: 0;
}


/* Button Styling */
.btn {
    border-radius: 8px;
    font-size: 16px;
    padding: 12px;
    transition: 0.3s;
}

.btn-success {
    background-color: #28a745;
    border-color: #28a745;
    color: #fff;
}

.btn-success:hover {
    background-color: #218838;
    border-color: #218838;
}

/* Input Validation Styling */
input.is-invalid,
select.is-invalid,
textarea.is-invalid {
    border-color: #dc3545;
}

input.is-valid,
select.is-valid,
textarea.is-valid {
    border-color: #28a745;
}

/* Responsive Styling */
@media (max-width: 768px) {
    .quotation-form {
        padding: 20px;
    }

    .section-heading {
        font-size: 28px;
    }

    .quotation-form .form-group input,
    .quotation-form .form-group select,
    .quotation-form .form-group textarea {
        font-size: 15px;
    }
}
