@charset "UTF-8";

/* === Styles reset === */
*,
::before,
::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
:root {
    --primary-color: #082340;
    --secondary-color: #f3f3f3;
    --catch-color: #6f63ad;
    scroll-behavior: smooth;
}

/* === Navbar === */
#header {
}
#header ul.navbar-nav li.nav-item a.nav-link {
}

/* === Home === */
#home {
}

/* === About === */
#about {
}

/* === Services === */
#services {
}

/* === Portfolio === */
#portfolio {
}

/* === gallery === */

/* === Contact === */
#contact {
}

/* === Footer === */
#footer {
}

/* Global image styles */
img {
    max-width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* Mobile screens */
@media (max-width: 768px) {
    img {
        width: 100%;
        height: auto;
    }
}

/* Tablet screens */
@media (min-width: 769px) and (max-width: 1200px) {
    img {
        width: 80%;
        height: auto;
    }
}

/* Desktop screens - Making the images horizontal */
@media (min-width: 1201px) {
    img {
        width: 100%;
        max-height: 400px;
        object-fit: cover;
    }
}

/* Styling for full-page PDF */
.pdf-fullpage {
    background-color: black;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-top: 20px;
    width: 100%;
    height: 800px;
    border: none;
}

/* Mobile navbar styling */
@media (max-width: 991px) {
    .navbar-collapse {
        position: fixed;
        top: 50px;
        right: 0px;
        background: #6c757d; /* Changed to dark blue background for visibility */
        width: 150px;
        padding: 15px;
    }

    /* Change color of the navigation links */
    .navbar-collapse .nav-link {
        color: #f3f3f3; /* White text for nav links */
        font-weight: bold;
    }

    /* Optional: Add hover effect for the links */
    .navbar-collapse .nav-link:hover {
        color: #6f63ad; /* Purple color on hover */
    }

    .tm-container-content {
        max-width: 870px;
    }
    .tm-contact-form, .tm-address-col, .mapouter {
        max-width: 100%;
    }
    .tm-people-row {
        max-width: 900px;
    }
}

@media (max-width: 767px) {
    .tm-paging-col {
        flex-direction: column;
    }
    .tm-paging {
        flex-wrap: wrap;
    }
    .tm-about-img-text {
        max-width: 640px;
    }
    .tm-about-2-col, .tm-about-3-col {
        margin-bottom: 50px;
    }
}

@media (max-width: 575px) {
    .tm-container-content {
        max-width: 420px;
    }

    .tm-search-form {
        padding-left: 15px;
        padding-right: 15px;
        width: 100%;
        justify-content: center;
    }

    .tm-search-input {
        width: 100%;
        max-width: 360px;
    }

    .tm-people-row {
        max-width: 420px;
    }
}

@media (max-width: 400px) {
    .tm-btn-big {
        padding: 12px 50px 14px;
    }
}

@media (max-width: 334px) {
    .tm-social-links {
        flex-wrap: wrap;
        justify-content: start !important;
    }

    .tm-social-links li {
        margin-right: 3px;
    }
}

/*catalog pictures */
.row.tm-mb-90 .col-xl-3,
.row.tm-mb-90 .col-lg-4,
.row.tm-mb-90 .col-md-6,
.row.tm-mb-90 .col-sm-6,
.row.tm-mb-90 .col-12 {
    padding: 15px;
}

.effect-ming {
    position: relative;
    overflow: hidden;
    border-radius: 15px; /* Add curves */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease-in-out;
}

.effect-ming:hover {
    transform: scale(1.05); /* Zoom in on hover */
}

.effect-ming img {
    width: 100%;
    height: auto;
    border-radius: 15px; /* Curves for image */
}

.effect-ming figcaption {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.6);
    color: #fff;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    border-radius: 15px; /* Curves for overlay */
}

.effect-ming:hover figcaption {
    opacity: 1; /* Show figcaption on hover */
}

.effect-ming h2 {
    font-size: 24px;
    margin: 0 0 10px 0;
    text-align: center;
    color: white;
}

.effect-ming a {
    padding: 10px 20px;
    background-color: #3f78e0; /* Button color */
    color: white;
    text-transform: uppercase;
    font-weight: bold;
    text-decoration: none;
    border-radius: 5px; /* Rounded corners for button */
    transition: background-color 0.3s ease-in-out;
}

.effect-ming a:hover {
    background-color: #3f78e0; /* Darken button on hover */
}

.tm-text-gray {
    font-size: 14px;
    color: #6c757d;
    margin-top: 10px;
}

/* Container for the content */
.content-container {
    text-align: center;
    max-width: 600px;
    padding: 20px;
    background-color: #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

/* Video Gallery Container */
#videoContainer {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); /* Adjusts for responsive fit */
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    background-color: var(--secondary-color);
}

/* Video Item Styling */
.video-item {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Video title styling */
.video-title {
    font-size: 1.2em;
    color: var(--primary-color);
    margin-top: 8px;
    font-weight: bold;
}

/* Video description styling */
.video-description {
    font-size: 1em;
    color: #333;
    margin-top: 5px;
    line-height: 1.4;
}

/* Video iframe styling */
.video-item iframe {
    width: 100%;
    height: 180px;
    border: none;
    background-color: #000;
}

/* Responsive Adjustments */
@media (min-width: 1200px) {
    #videoContainer {
        grid-template-columns: repeat(4, 1fr); /* Five videos per row on large screens */
    }

    .video-item iframe {
        height: 200px;
    }
}

@media (min-width: 768px) and (max-width: 1199px) {
    #videoContainer {
        grid-template-columns: repeat(3, 1fr); /* Three videos per row on tablets */
    }

    .video-item iframe {
        height: 180px;
    }
}

@media (max-width: 767px) {
    #videoContainer {
        grid-template-columns: repeat(2, 1fr); /* Two videos per row on mobile */
    }

    .video-item iframe {
        height: 160px;
    }

    .video-title {
        font-size: 1em;
    }

    .video-description {
        font-size: 0.9em;
    }
}
.back-button {
    display: inline-block;
    margin: 20px auto; /* Centering */
    padding: 10px 20px;
    background-color: var(--primary-color); /* Primary color */
    color: white;
    font-weight: bold;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease-in-out;
}

.back-button:hover {
    background-color: var(--catch-color); /* Change to catch color on hover */
}

/* Additional spacing before the footer */
#footer {
    margin-top: 20px; /* Add spacing above the footer if needed */
}

  /* styles.css */

#service-videos {
    display: flex;
    flex-wrap: wrap;
    gap: 15px; /* Space between videos */
    justify-content: center; /* Center the videos */
  }
  
  .service-video {
    width: 450px; /* Adjust width to your desired image-like size */
    height: 240px; /* Adjust height to your desired image-like size */
    object-fit: cover;
    border-radius: 8px; /* Optional: rounded corners */
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1); /* Optional: shadow for effect */
  }
  

  .learn-more-content {
    display: flex;
    justify-content: flex-end; /* This shifts everything to the right */
    gap: 20px; /* Add space between video and description */
  }
  
  .video-section, .description-section {
    margin-left: 20px; /* Shift elements to the right by 20px */
  }
  
  .video-section video {
    width: 100%; /* Make video responsive */
    max-width: 500px; /* Set a max width if needed */
  }
  