body {
    background-color: white;
    margin: 0;
    padding: 0;
}

.slider-container {
    overflow: hidden;
    position: relative;
}

.piece-transition .carousel-item-next:not(.carousel-item-start),
.piece-transition .active.carousel-item-end {
    transform-origin: right center;
    transform: scale(0.3);
    opacity: 0;
    z-index: 1;
}

.piece-transition .carousel-item-prev:not(.carousel-item-end),
.piece-transition .active.carousel-item-start {
    transform-origin: left center;
    transform: scale(0.3);
    opacity: 0;
    z-index: 1;
}

.roll-transition .carousel-item-next:not(.carousel-item-start),
.roll-transition .active.carousel-item-end {
    transform: translateX(100%) rotate(8deg);
    opacity: 0;
}

.roll-transition .carousel-item-prev:not(.carousel-item-end),
.roll-transition .active.carousel-item-start {
    transform: translateX(-100%) rotate(-8deg);
    opacity: 0;
}

.cube-transition .carousel-item-next:not(.carousel-item-start) {
    transform-origin: center right;
    transform: rotateY(-90deg);
}

.cube-transition .active.carousel-item-end {
    transform-origin: center right;
    transform: rotateY(90deg);
}

.cube-transition .carousel-item-prev:not(.carousel-item-end) {
    transform-origin: center left;
    transform: rotateY(90deg);
}

.cube-transition .active.carousel-item-start {
    transform-origin: center left;
    transform: rotateY(-90deg);
}

.blinds-transition .carousel-item {
    overflow: hidden;
}

.blinds-transition .carousel-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0) 50%, #023b1c 50%, #027435 100%);
    background-size: 20% 100%;
    z-index: 2;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.blinds-transition .carousel-item-next:not(.carousel-item-start)::before,
.blinds-transition .active.carousel-item-end::before {
    opacity: 1;
}

.carousel-item {
    transition: transform 0.8s ease, opacity 0.8s ease;
    perspective: 1000px;
}

.carousel-indicators {
    bottom: 20px;
}

.carousel-indicators [data-bs-target] {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    border: 2px solid #333;
    margin: 0 5px;
}

.carousel-indicators .active {
    background-color: #023b1c;
}

.carousel-control-prev,
.carousel-control-next {
    width: 10%;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.slider-container:hover .carousel-control-prev,
.slider-container:hover .carousel-control-next {
    opacity: 0.8;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: #023b1c;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    background-size: 20px;
    background-position: center;
}

/* <!-- Why Choose us Section *************************************************************** --> */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: Arial, sans-serif;
    padding: 20px;
    background-color: #f9f9f9;
}

.container-unique {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.text-section-unique {
    flex: 1 1 100%;
    max-width: 45%;
    padding: 20px;
}

.card-container-unique {
    flex: 1 1 100%;
    max-width: 50%;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.card-unique {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #ddd;
    position: relative;
    animation: fadeIn 1.5s ease-in-out;
}

.card-unique::before {
    content: "";
    position: absolute;
    top: -10px;
    left: -10px;
    width: 30px;
    height: 30px;
    border-top: 5px solid #ffb400;
    border-left: 5px solid #ffb400;
}

.card-unique::after {
    content: "";
    position: absolute;
    bottom: -10px;
    right: -10px;
    width: 30px;
    height: 30px;
    border-bottom: 5px solid #ffb400;
    border-right: 5px solid #ffb400;
}



h4 {
    color: #094c31;
    margin-bottom: 10px;
}

p {
    margin-bottom: 15px;
    color: #555;
}

.highlight-unique {
    color: #ffb400;
    font-size: 2rem;
    font-weight: bold;
}

.btn-unique {
    padding: 10px 20px;
    background-color: #094c31;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    display: inline-block;
    transition: background 0.3s ease;
}

.btn-unique:hover {
    background: #ffb300;
    color: #333;
}

@keyframes fadeIn {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {

    .text-section-unique,
    .card-container-unique {
        max-width: 100%;
    }

    .container-unique {
        flex-direction: column;
    }

    #why-choose {
        white-space: nowrap;
        overflow: hidden;
        font-size: 14px;
        font-weight: bold;
        text-overflow: ellipsis;
    }
}

/* *****************************************GITHUB CSS******************************************************** */
 /* Certifications */

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

.certifications-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    background-color: white;
    position: relative;
}

.certifications-header {
    color: #005a2b;
    font-family: Arial, sans-serif;
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 15px;
    text-align: left;
}

.certifications-text {
    color: #333;
    font-family: Arial, sans-serif;
    font-size: 0.9rem;
    margin-bottom: 20px;
    line-height: 1.5;
    max-width: calc(100% - 200px);
 }

.eu-mdr-logo {
    position: absolute;
    top: 20px;
    right: 20px;
    max-width: 150px;
    height: auto;
}

.certifications-logos {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 10px;
    margin-top: 15px;
}

.logo-wrapper {
    background-color: #005a2b;
    display: flex;
    justify-content: center;
    align-items: center;
    aspect-ratio: 1/1;
    padding: 10px;
}

.logo-wrapper.large {
    grid-column: span 1;
    grid-row: span 1;
}

.logo-wrapper img {
    max-width: 80%;
    max-height: 80%;
    object-fit: contain;
}

/* TC Instruments Section - NEW */
.tc-instruments-section {
    margin-top: 40px;
}

.tc-content {
    width: 100%;
}

.tc-header {
    color: #005a2b;
    font-family: Arial, sans-serif;
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 15px;
    text-align: left;
    white-space: nowrap;
    overflow: hidden;
}
.tc-header:hover{
color: #ffb300;
}
.tc-content hr {
    border: none;
    height: 1px;
    background-color: #333;
    margin-bottom: 20px;
}

.tc-text {
    color: #333;
    font-family: Arial, sans-serif;
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 25px;
    text-align: justify;
    word-spacing: normal;
    text-justify: inter-word;
    hyphens: auto;
}

.tc-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.tc-button {
    background-color: #005a2b;
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 5px;
    font-family: Arial, sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: background-color 0.3s ease;
    cursor: pointer;
}

.tc-button:hover {
    background-color: #ffb300;
}

.tc-image {
    flex: 0 0 300px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.tc-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

@media screen and (max-width: 768px) {
    .certifications-container {
        padding: 10px;
    }

    .certi {
        flex-direction: column !important;
        align-items: center !important;
    }

    .certifications-header {
        font-size: 1.5rem;
        text-align: center;
    }

    .certifications-text {
        font-size: 0.8rem;
        max-width: 100%;
        text-align: center;
    }

    .eu-mdr-logo {
        position: static !important;
        max-width: 100px;
        margin-bottom: 15px;
        order: -1;
    }

    .certifications-logos {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }

    .logo-wrapper.large {
        grid-column: span 1;
        grid-row: span 1;
    }

    /* TC Section Mobile */
    .tc-instruments-section {
        margin-top: 30px;
    }

    .tc-header {
        font-size: 1.5rem;
        text-align: left;
        white-space: nowrap;
        overflow: hidden;
    }

    .tc-text {
        font-size: 0.8rem;
        text-align: justify;
        word-spacing: normal;
        text-justify: inter-word;
        hyphens: auto;
    }

    .tc-buttons {
        justify-content: center;
    }

    .tc-button {
        width: 100%;
        max-width: 200px;
        text-align: center;
    }
}

@media screen and (max-width: 480px) {
    .certifications-logos {
        grid-template-columns: repeat(2, 1fr);
        gap: 5px;
    }

    .certifications-header {
        font-size: 1.2rem;
    }

    .certifications-text {
        font-size: 0.75rem;
    }

    /* TC Section Mobile Small */
    .tc-header {
        font-size: 1.2rem;
        white-space: nowrap;
        overflow: hidden;
    }

    .tc-text {
        font-size: 0.75rem;
        text-align: justify;
        word-spacing: normal;
        text-justify: inter-word;
        hyphens: auto;
    }

    .tc-button {
        font-size: 0.8rem;
        padding: 10px 15px;
        width: 100%;
        max-width: 180px;
    }

    .tc-buttons {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
}
/* *********************************************************** */
/* General Styling */
.box {
    padding: 20px;
    font-family: Arial, sans-serif;
    background-color: #f5f5f5;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin: 20px;
    animation: fadeIn 1s ease-in-out;
}

h2 {
    animation: slideIn 1s ease-in-out;
}

hr {

    animation: fadeIn 1s ease-in-out;
}

.contact-info {
    font-size: 16px;
    line-height: 1.5;
    color: black;
}

.contact-info p {
    margin-bottom: 15px;
}


/* Animation Keyframes */
@keyframes fadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes slideIn {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(0);
    }
}

/* Media Queries for Responsiveness */
@media only screen and (max-width: 768px) {
    .box {
        padding: 15px;
    }

    .contact-info {
        font-size: 14px;

    }
}

@media only screen and (max-width: 480px) {
    .box {
        padding: 10px;
    }

    .contact-info p {
        font-size: 12px;
        color: black;
    }

    .contact-info {
        font-size: 12px;
        color: black;
    }

}

@media only screen and (max-width: 280px) {
    .box {
        padding: 7px;
    }

    .contact-info p {
        font-size: 9px;
        color: black;
    }

    .contact-info {
        font-size: 9px;
        color: black;
    }

}

/* Main Container */
#main {
    display: flex;
    flex-wrap: wrap;
    margin: 20px;
    gap: 20px;
}


.box h2 {
    margin-top: 0;
    color: #333;
}

/* SUBSCRIPTION************************************************************** */
/* General Styles */


/* Main Container */
.main-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin: 20px;
}

/* Subscription Section */
.subscription-section {
    background-color: white;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
    border-radius: 10px;
    flex: 1 1 calc(33% - 20px);
    margin: 10px;
    box-sizing: border-box;
}

.subscription-section form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.subscription-section input[type="email"] {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
}

.subscription-section button {
    padding: 10px;
    background-color: red;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
}

.subscription-section button:hover {
    background-color: darkred;
}

.subscription-section p {
    margin-top: 10px;
    font-size: 16px;
}

/* Social Icons */
.social-icons {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;

    text-decoration: none;
    font-size: 20px;
    transition: background-color 0.3s;
}


/* News & Updates Section */
.news-updates-section {
    background-color: white;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
    border-radius: 10px;
    flex: 1 1 calc(33% - 20px);
    margin: 10px;
    box-sizing: border-box;
}

.news-update {
    display: flex;
    flex-direction: column;
}

.news-update h3 {
    margin: 0;
}

.news-update p {
    margin: 5px 0;
}

/* Tags Section */
.tags-section {
    background-color: white;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
    border-radius: 10px;
    flex: 1 1 calc(33% - 20px);
    margin: 10px;
    box-sizing: border-box;
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tags a {
    display: block;
    padding: 10px;
    border: 1px solid red;
    color: black;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.tags a:hover {
    background-color: white;
    color: red;
    border-radius: 8px;

}

/* Responsive Design */
@media (max-width: 768px) {
    .main-container {
        flex-direction: column;
    }

    .subscription-section,
    .news-updates-section,
    .tags-section {
        flex: 1 1 100%;
    }
}

/* Social Icons Styling */
.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;

    color: #f00;
    font-size: 24px;
    transition: transform 0.3s ease, background-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Hover Animation */
.social-icon:hover {
    transform: scale(1.1);
    background-color: #f00;
    color: #fff;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);

}

@keyframes iconEntrance {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.social-icon {
    animation: iconEntrance 1s ease-out;
}

/* *****************************************GITHUB CSS******************************************************** */
/* CONTACT US ********************************************************* */
/* Main Container */
#main {
    display: flex;
    flex-wrap: wrap;
    margin: 20px;
    gap: 20px;
}

/* Feedback Form */
form {
    display: flex;
    flex-direction: column;
}

form input,
form select,
form textarea {
    margin-bottom: 10px;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
}

form button {
    padding: 10px;
    background-color: black;
    color: white;
    border: none;
    cursor: pointer;
}

form button:hover {
    background-color: red;
}

/* Responsive Design */
@media (max-width: 768px) {
    #main {
        flex-direction: column;
    }
}

/* Map Container Styling */
#map-container {
    position: relative;
    width: 100%;
    height: 600px;
    margin: 5 auto;
    justify-content: space-around;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* Zoom Controls Styling */
#zoom-controls {
    position: absolute;
    top: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

#zoom-controls button {
    width: 40px;
    height: 40px;
    background-color: black;
    color: white;
    border: none;
    cursor: pointer;
}

#zoom-controls button:hover {
    background-color: #444;
}

@media (max-width: 768px) {
    #map-container {
        height: 400px;
        margin: 5px auto;
    }

    #zoom-controls button {
        display: none;
    }

}

@media (max-width: 440px) {
    #map-container {
        width: 100%;
        height: 300px;
        box-shadow: none;
    }

    #zoom-controls button {
        display: none;
    }

}

@media (max-width: 280px) {
    #map-container {
        width: 100%;
        height: 200px;
        box-shadow: none;
    }

    #zoom-controls button {
        display: none;
    }

}

/* Animations */
.box {
    animation: slideUp 1s ease-in-out;
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Fade-in Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* *************************Factory View****************************************************************** */
.factory-container {
    max-width: 1200px;
    margin: auto;
    padding: 20px;
    text-align: center;
}

.factory-header h1 {
    font-size: 2.5rem;
    color: #ff6600;
    margin-bottom: 10px;
    animation: fadeInDown 1s ease-in-out;
}

.factory-header p {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 30px;
}

.factory-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 15px;
}

.gallery-item img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease-in-out;
}

.gallery-item img:hover {
    transform: scale(1.05);
}

.factory-details {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 10px;
    margin-top: 30px;
}

.factory-details h2 {
    font-size: 2rem;
    color: #333;
}

.factory-details ul {
    list-style: none;
    padding: 0;
}

.factory-details li {
    font-size: 1.2rem;
    margin: 10px 0;
    color: #333;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .factory-header h1 {
        font-size: 2rem;
    }

    .factory-header p {
        font-size: 1rem;
    }
}

.main-factory {
    width: 100vw;
    height: 90vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.main-factory img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);

}

@media (max-width: 768px) {
    .main-factory {
        height: 60vh;
    }
}
