﻿/* Tailwind base, components, utilities imports */
@tailwind base;
@tailwind components;
@tailwind utilities;

/* Override the existing colors with Tescorp colors */
body {
    background-color: #f0f0f0;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    color: #003366;
}

a {
    color: #FF6600;
    text-decoration: none;
}

a:hover {
    color: #003366;
}

button, .btn {
    background-color: #FF6600;
    color: #ffffff;
}

button:hover, .btn:hover {
    background-color: #003366;
}

p, span, li {
    color: #AAAAAA; /* Gray for regular text */
}

/* Specific elements or classes you want to override */
.specific-class {
    background-color: #339933; /* Example of green background */
    color: #ffffff; /* White text */
}

/* Example for SVG or icon coloring */
.icon, .svg-icon {
    fill: #003366; /* Fill color for icons */
    stroke: #FF6600; /* Stroke color for icons */
}

/* Additional styling for other elements as needed */
.landing h4 
{
    font-size: 2.25rem;
    line-height: 1.2;
    font-family: 'Montserrat', sans-serif;
    margin-top: 1rem;
    margin-bottom: 1rem;
}

/* Base notification style */
.notification {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 25%;
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
    font-family: 'Montserrat', sans-serif;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.notification.show {
    display: block;
}

    /* Info notification */
    .notification.bg-info {
        background-color: #007bff; /* Bright blue */
        color: #ffffff !important; /* White text with !important */
        border: 1px solid #007bff; /* Matching bright blue border */
    }

    /* Danger notification */
    .notification .bg-danger {
        background-color: #ffebee; /* Light pink */
        color: #c62828; /* Dark red */
        border: 1px solid #ffcdd2; /* Pink border */
    }

    /* Success notification */
    .notification .bg-success {
        background-color: #e8f5e9; /* Light green */
        color: #2e7d32; /* Dark green */
        border: 1px solid #c8e6c9; /* Green border */
    }

    /* Fail notification */
    .notification .bg-fail {
        background-color: #efebe9; /* Light brown */
        color: #4e342e; /* Dark brown */
        border: 1px solid #d7ccc8; /* Brown border */
    }

    /* Important notification */
    .notification .bg-important {
        background-color: #fff8e1; /* Light yellow */
        color: #ff6f00; /* Dark amber */
        border: 1px solid #ffecb3; /* Yellow border */
    }

    /* Ensuring that paragraphs, spans, and list items inside the notification also follow the white font color */
    .notification p,
    .notification span,
    .notification li {
        color: #ffffff !important; /* White text with !important */
    }


    /*Inquiries Block*/
.inquiry-block-container {
    background-color: #ffffff;
    padding: 20px;
}

.inquiry-block-header {
    background-color: #2cd384;
    color: #ffffff;
    padding: 16px;
    text-align: center;
}

.inquiry-block-header h2 {
    color: #ffffff;
    font-size: 1.5rem;
    font-weight: 600;
}

.inquiry-block-content {
    color: #333333;
    font-size: 1rem;
    font-weight: 300;
    line-height: 1.75;
    padding: 16px;
}

.inquiry-block-content p {
    margin-bottom: 1rem;
    color: #aaaaaa;
}

.off-block {
    background-color: #eaebec;
}

.off-block .border {
    background-color: #f9fbfd;
}

.off-block2 {
    background-color: #f9fbfd;
}

.off-block2 .border {
    background-color: #ffffff;
}

.clickable {
    cursor: pointer;
}


/*testimonial*/

.testimonial .custom-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 16px;
    padding: 20px;
    border-radius: 10px;
}

.testimonial .left {
    grid-column: span 1;
    border-radius: 15px;
}


.testimonial .right {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.testimonial .client-name {
    font-size: 1.5em;
    font-weight: bold;
    color: #333333;
}

.testimonial .client-quote {
    font-family: Arial, sans-serif;
    font-style: italic;
    font-size: 1.1em;
}

.testimonial .right div {
    border-radius: 15px;
}

.testimonial .right div:hover {
    background-color: #FFE4B5;
    transform: scale(1.05);
    border-radius: 15px;
    border: 5px;
}

.mr-2 {
    margin-right: 0.5rem;
}

.mr-3 {
    margin-right: 0.75rem;
}

.mr-4 {
    margin-right: 1rem;
}

.mr-5 {
    margin-right: 1.5rem;
}

.mr-6 {
    margin-right: 2rem;
}

.footer {
    background-color: #2C2C2C;
    margin-top: 40px;
}

.footer .text-lightgrey {
    color: #B0B0B0;
}

    .footer .hover\:text-white:hover {
        color: #FFFFFF; /* White color on hover */
    }

.fixed-height {
    height: 800px; /* Set a fixed height value as needed */
    overflow: hidden; /* This ensures content doesn't overflow out of the div */
}

.service-tray div:hover {
    background-color: #effafe; /* Light orange on hover */
}


.article {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}


.article  .article-image {
    flex: 1;
    max-width: 33%;
    overflow: hidden;
}


.article  .article-text {
    flex: 2;
    max-width: 67%;
    padding-left: 20px;
}

.article .image-container {
    flex: 1;
    max-width: 33%;
    overflow: hidden;
}

.article .image-container img {
    width: 100%;
    height: auto;
    object-fit: cover; /* Ensures the image fits nicely within its container */
}

.article h2 {
    margin: 0;
    font-size: 3rem;
    line-height: 1.2;
    font-family: 'Montserrat', sans-serif;
}

.article h3 {
    margin: 0;
    margin-top: 30px;
    font-size: 1.25rem;
    color: #888;
    font-family: 'Open Sans', sans-serif;
}

.solutions-content ul {
    list-style: disc; /* Override global rule */
    margin-left: 0px; /* Optional: Adjust margin */
    padding-left: 20px; /* Optional: Adjust padding */
}

@media (max-width: 768px) {
    .solutions-content, .testimonials-content, .testimonial .left {
        display: none;
    }

    .testimonial .custom-grid {
        display: flex;
        flex-direction: column; /* Stack elements vertically */
        width: 100%; /* Make the grid take up full width */
        margin: 0;
        padding: 0;
    }

    .testimonial .right {
        width: 100%;
        display: flex;
        flex-direction: column; /* Stack testimonials vertically */
        gap: 20px; /* Space between testimonials */
        flex-grow: 1; /* Allow the container to expand vertically */
    }

    .testimonial .clickable {
        width: 100%; /* Make each testimonial take up the full width */
        padding: 20px;
        box-sizing: border-box; /* Ensure padding is included in width calculation */
    }

    .testimonial .box {
        display: block;
        padding: 20px;
        border: 1px solid #ccc; /* Add border similar to the example */
        border-radius: 5px; /* Subtle rounding */
        background-color: #ffffff; /* White background */
        box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1); /* Subtle shadow */
        flex-grow: 1; /* Allow the box to grow to fit its content */
    }

    .testimonial .box .flex {
        display: flex;
        align-items: center;
        margin-bottom: 0.5rem; /* Reduce margin to give more space */
    }

    .testimonial .box img {
        border-radius: 50%;
        width: 40px; /* Adjust image width */
        height: 40px; /* Adjust image height */
        margin-right: 10px; /* Slightly reduce the margin-right */
        object-fit: cover; /* Ensure the image fits within the boundaries without distortion */
    }

    .testimonial .box .client-name {
        font-size: 1.25rem;
        font-weight: bold;
        margin-bottom: 0.25rem; /* Reduce margin between name and company */
        color: #333;
    }

    .testimonial .box .client-company {
        font-size: 1rem;
        color: #666;
        margin-bottom: 0.5rem; /* Adjust margin to improve spacing */
    }

    .testimonial .box .client-quote {
        font-family: 'Courier New', Courier, monospace;
        font-size: 1rem;
        margin-top: 0.5rem; /* Reduce margin to improve spacing */
        color: #333;
        line-height: 1.5;
    }
}

@media (max-width: 768px) {
    .form-container {
        width: 100%;
        padding: 0 15px; /* Add padding to avoid content touching the edges */
        box-sizing: border-box; /* Ensure padding is included in width calculation */
    }

    .g-recaptcha {
        transform: scale(0.77); /* Scale down the reCaptcha slightly */
        transform-origin: 0 0; /* Ensure scaling is anchored to the top-left */
        width: 100%; /* Make sure it fits within the container */
        max-width: 100%;
    }

    /* Adjust reCaptcha for full width */
    .form-container .g-recaptcha div {
        margin: 0 auto;
        width: 100% !important;
    }

    .form-container form {
        display: flex;
        flex-direction: column;
        align-items: stretch;
    }

    .form-container input,
    .form-container button {
        width: 100%;
        margin-bottom: 10px;
    }
}

@media (max-width: 768px) {
    .modal-dialog {
        width: 100%;
        max-width: 100%;
        margin: 10px;
        box-sizing: border-box;
    }

    .modal-content {
        width: 100%;
        padding: 20px;
        box-sizing: border-box;
    }

    .modal-body {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        max-height: calc(100vh - 40px);
        overflow-y: auto;
    }

    .modal-body form {
        width: 100%;
    }

    .modal-body form input,
    .modal-body form button,
    .modal-body form textarea {
        width: 100%;
        margin-bottom: 15px;
    }
}
