/* General Styles */
body {
    font-family:Arial, Helvetica, sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;   
    text-align: justify;
}
.header {
    padding: 15px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: space-between;
    
}
.logo a {
    font-size: 30px;
    font-weight: bold;
    color: rgb(10, 83, 59);
    text-decoration: none;
    margin-left: 20px;
    transition: color 0.3s ease;
}

.logo sup {
    font-size: 10px;
    vertical-align: super;
    color: rgb(10, 83, 59);
}
.nav-menu {
    margin: 0;
    padding: 0;
    list-style-type: none;
    display: flex;
    gap: 20px;
}

.nav-menu li {
    position: relative;
}

.nav-menu a {
    color: rgb(0, 0, 0);
    text-decoration: none;
    font-weight: bold;
    font-size: 15px;
    padding: 5px 10px;
    display: inline-block;
    transition: color 0.3s ease, background-color 0.3s ease;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 0;
    height: 2px;
    background-color: rgb(0, 0, 0);
    transition: width 0.3s ease;
}

.nav-menu a:hover::after {
    width: 100%;
}

.nav-menu a:hover {
    color: #29992c;
    background-color: rgba(10, 83, 59, 0.1);
    border-radius: 4px;
}

/* Dropdown Menu Styles */
.submenu .dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: rgba(255, 255, 255, 0.2); /* Semi-transparent background */
    backdrop-filter: blur(10px); /* Frosted glass effect */
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
    list-style-type: none;
    padding: 10px 0;
    margin: 0;
    min-width: 200px;
    border-radius: 4px;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.submenu .dropdown li {
    padding: 0;
}

.submenu .dropdown li a {
    font-size: 18px;
    padding: 8px 15px;
    display: block;
    color: rgb(10, 83, 59);
    font-weight: normal;
    white-space: nowrap;
}

.submenu .dropdown li a:hover {
    background-color: rgba(10, 83, 59, 0.1);
    color: #000000;
}

.submenu:hover .dropdown {
    display: block;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Adjust spacing between dropdown items */
.submenu .dropdown li + li {
    margin-top: 5px;
}

/* Navbar Button for Mobile */
.navbar-button {
    display: none;
    position: absolute;
    top: 10px;
    right: 20px;
    background-color: transparent;
    border: none;
    font-size: 30px;
    cursor: pointer;
    color: #000; /* Change color as needed */
}

.navbar-button:focus {
    outline: none;
}

/* Mobile View */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
        flex-direction: column;
        gap: 10px;
        width: 100%;
        text-align: center;
    }

    /* Show the navbar button */
    .navbar-button {
        display: block;
    }

    .nav-menu.active {
        display: flex;
    }
}


/*background*/
.bg.wrapper {
    height: 100vh;
    /*This part is important for centering*/
    display: grid;
    place-items: center;
  }
  
  .typing-demo {
    width: 34ch;
    animation: typing 2s steps(22), blink .5s step-end infinite alternate;
    white-space: nowrap;
    overflow: hidden;
    border-right: 3px solid;
    font-family: monospace;
    font-size: 2.5em;
  }
  
  @keyframes typing {
    from {
      width: 0
    }
  }
      
  @keyframes blink {
    50% {
      border-color: transparent
    }
  }

/* What We Do Section */
.what-we-do {
    padding: 5rem 7%;
    
}

.main-we-do {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.inner-we-do {
    flex: 1 1 45rem;
}

.inner-we-do img {
    width: 40%;
}

.we-do-image {
    text-align: center;
    
}

.inner-we-do h1 {
    color: rgb(0, 0, 0);
    font-size: 50px;
}

.inner-we-do p {
    color: rgb(24, 10, 10);
    font-size: 20px;
    padding: 1rem 0;
    margin-bottom: 2.5rem;
}

.inner-we-do a {
    padding: 20px;
    background: rgb(177, 63, 78);
    color: rgb(10, 83, 59);
    font-size: 20px;
    border-radius: 15px;
    display: inline-block;
    text-decoration: none; /* Remove underline from link */
    transition: background 0.3s, color 0.3s; /* Smooth transition */
   
}

.inner-we-do a:hover {
    background: rgb(10, 83, 59); /* Change background color on hover */
    color: rgb(177, 63, 78); /* Change text color on hover */
}


/* Our Services Section */
.our-services {
    padding: 3rem 7%;
}

.our-services h1 {
    color: black; /* Set heading color to black */
    text-align: center;
    font-size: 4rem;
    margin-bottom: 2.5rem;
}

.main-services {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.inner-services {
    flex: 1 1 300px;
    padding: 2rem 2.5rem;
    text-align: center;
    box-shadow: rgba(0, 0, 0, 0.2) 0px 4px 6px;
    transition: box-shadow 0.3s ease;
    background-color: white; /* Set background color to white */
    border-radius: 8px;
}

.inner-services:hover {
    box-shadow: rgba(0, 0, 0, 0.4) 0px 8px 20px;
    cursor: pointer;
}

.inner-services .service-icons {
    width: 6rem;
    height: 6rem;
    background: black; /* Set icon background to black */
    line-height: 6rem;
    text-align: center;
    border-radius: 50%;
    margin: 0 auto;
    margin-bottom: 1.5rem;
}

.inner-services .service-icons i {
    color: white; /* Set icon color to white */
    font-size: 2.5rem;
}

.inner-services p {
    padding: 0 1.5rem;
    font-size: 1.5rem;
    color: black; /* Set text color to black */
}

/* Gallery Section */
.gallery {
    padding: 3rem 7%;
}

.gallery h1 {
    font-size: 4rem;
    text-align: center;
    color: rgb(0, 0, 0);
    margin-bottom: 2.5rem;
}

.main-gallery {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.inner-gallery {
    flex: 1 1 300px;
}

.inner-gallery img {
    width: 100%;
    transition: transform 0.3s;
}

.inner-gallery img:hover {
    transform: scale(1.1);
}


/* Get In Touch Section */
.get-in-touch {
    padding: 4rem 7%;
    background: var(--black);
}

.get-in-touch h1 {
    color: white;
    font-size: 4rem;
    text-align: center;
    margin-bottom: 1.5rem;
}

.get-in-touch p {
    color: white;
    text-align: center;
    font-size: 1.6rem;
    margin-top: 1rem;
}

.touch-icons {
    text-align: center;
    margin-top: 2rem;
}

.touch-icons a {
    color: white;
    font-size: 2rem;
    margin-right: 2rem;
    transition: color 0.3s;
}

.touch-icons a:hover {
    color: var(--orange);
}



/* Keyframes for fade-in and slide-up animations */
@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

@keyframes slideUp {
    0% {
        transform: translateY(50px);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Animations for sections */
.our-services, .inner-services, .our-services h1, .inner-services p, .service-icons {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.3s ease-out; /* Shortened transition time */
}

.our-services.animate, .inner-services.animate {
    animation: fadeIn 0.5s forwards, slideUp 0.5s forwards; /* Reduced animation duration */
}

.our-services h1.animate {
    animation: fadeIn 0.4s 0.1s forwards, slideUp 0.4s 0.1s forwards; /* Faster animation */
}

.inner-services.animate {
    animation: fadeIn 0.5s 0.2s forwards, slideUp 0.5s 0.2s forwards;
}

.service-icons.animate {
    animation: fadeIn 0.5s 0.3s forwards, slideUp 0.5s 0.3s forwards;
}

.inner-services p.animate {
    animation: fadeIn 0.5s 0.4s forwards, slideUp 0.5s 0.4s forwards;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from { transform: translateY(50px); }
    to { transform: translateY(0); }
}




/* Footer Styling */
.footer1 {
    background-color: rgb(10, 83, 59);
    
    padding: 40px 0;
    position: relative;
    z-index: 1;
    color: #fff;
}

.footer1 h4 {
    font-size: 18px;
    margin-bottom: 20px;
    text-transform: uppercase;
    color: #ffffff;
}

.footer1 a {
    color: #ecf0f1;
    text-decoration: none;
}

.footer1 a:hover {
    color: rgb(177, 63, 78);
    text-decoration: underline;
}

.footer-section {
    width: 30%;
    float: left;
    padding: 0 20px;
}

.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-section ul li {
    margin-bottom: 10px;
    line-height: 1.8;
}

.footer-section ul li a i {
    margin-right: 8px;
}

/* Social Icons */
.social-icons {
    text-align: center;
    margin-top: 20px;
}

.social-icons a {
    margin: 0 10px;
    display: inline-block;
    font-size: 18px;
    color: #ecf0f1;
    transition: transform 0.3s ease, color 0.3s ease;
}

.social-icons a:hover {
    color: rgb(177, 63, 78);
    transform: scale(1.1);
}

/* Copyright Info */
/* Copyright Info */
.copyright_info {
    text-align: center;
    padding: 20px 0;
    margin-top: 40px;
    background-color: #1a252f;
    color: #7f8c8d;
    font-size: 14px;
    clear: both; /* Ensure no floating elements interfere */
    width: 100%; /* Ensure it takes the full width */
    box-sizing: border-box; /* Include padding in the element's total width */
}


/* Footer Animation */
.footer1::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 181, 204, 0.5), rgba(0, 136, 169, 0.5));
    z-index: -1;
    opacity: 0.9;
    animation: animateGradient 6s ease infinite;
}

@keyframes animateGradient {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Footer Responsive Design */
@media only screen and (max-width: 768px) {
    .footer-section {
        width: 100%;
        margin-bottom: 20px;
        text-align: center;
    }
}
/* Visibility transition */
.footer1.visible {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
}

.footer1 {
    opacity: 0; /* Initially hidden */
    transform: translateY(100px); /* Move footer out of view initially */
}

/* Add 'animate' class to elements when they enter the viewport */
.animate {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
}

.our-services, .inner-services, .our-services h1, .inner-services p, .service-icons {
    opacity: 0;
    transform: translateY(20px); /* Initial state */
}






.contact-us {
    background-color: #fff;
    padding: 40px 20px;
    margin: 20px auto;
    max-width: 1200px;
}

.contact-us-container {
    max-width: 800px;
    margin: 0 auto;
}

h1 {
    font-size: 24px;
    color:  rgb(0, 0, 0);
    text-align: center;
    margin-bottom: 20px;
}


.contact-details, .office-details, .information-technology {
    margin-bottom: 40px;
}

h2 {
    font-size: 20px;
    color:  rgb(0, 0, 0);
    margin-bottom: 10px;
}


address {
    font-style: normal;
    line-height: 1.5;
}

.contact-form {
    background-color: #f9f9f9;
    padding: 30px;
    border-radius: 8px;
}

.contact-form h2 {
    font-size: 18px;
    color:  rgb(10, 83, 59);
    margin-bottom: 20px;
}

.contact-form label {
    display: block;
    font-weight: bold;
    margin-bottom: 5px;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.contact-form button {
    background-color: rgb(10, 83, 59); /* Adjust as needed */
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1em;
}

.contact-form button:hover {
    background-color:rgba(177, 63, 78, 1); /* Adjust as needed */
}

/* Terms & Conditions Styles */
.terms-conditions {
    padding: 4rem 7%;
    background: rgba(255, 255, 255, 0.9); /* Glass effect with transparency */
    border-radius: 8px; /* Rounded corners */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Soft shadow for depth */
}

.terms-conditions h1 {
    color: #000;
    font-size: 24px;
    text-align: center;
    margin-bottom: 2rem;
}


.terms-conditions p {
    color: #333; /* Darker text for readability */
    font-size: 20px;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.terms-conditions ol {
    margin-left: 2rem;
}

.terms-conditions li {
    margin-bottom: 1rem;
    font-size: 18px;
    line-height: 1.6;
}

/* Responsive design adjustments */
@media (max-width: 768px) {
    .terms-conditions {
        padding: 2rem 5%;
    }

    .terms-conditions h1 {
        font-size: 2.5rem;
    }

    .terms-conditions h2 {
        font-size: 1.5rem;
    }

    .terms-conditions p, .terms-conditions li {
        font-size: 1.4rem;
    }
}


/* Cancellation & Refund Policy Styles */
.cancellation-refund-policy {
    padding: 4rem 7%;
    background: rgba(255, 255, 255, 0.9); /* Glass effect with transparency */
    border-radius: 8px; /* Rounded corners */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Soft shadow for depth */
}

.cancellation-refund-policy h1 {
    color: rgb(0, 0, 0);
    font-size: 24px;
    text-align: center;
    margin-bottom: 2rem;
}
.cancellation-refund-policy h1 span {
    color: rgb(0, 0, 0);
    
}

.cancellation-refund-policy p {
    color: #333; /* Darker text for readability */
    font-size: 20px;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.cancellation-refund-policy ul {
    list-style-type: disc;
    margin-left: 2rem;
    font-size: 18px;
}

.cancellation-refund-policy ul li {
    margin-bottom: 1rem;
}

/* Responsive design adjustments */
@media (max-width: 768px) {
    .cancellation-refund-policy {
        padding: 2rem 5%;
    }

    .cancellation-refund-policy h1 {
        font-size: 2.5rem;
    }

    .cancellation-refund-policy p, .cancellation-refund-policy ul li {
        font-size: 1.4rem;
    }
}


/* About Us Styles */
.about-us {
    padding: 4rem 7%;
    background: rgba(255, 255, 255, 0.9); /* Glass effect with transparency */
    border-radius: 8px; /* Rounded corners */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Soft shadow for depth */
}

.about-us h1 {
    color: rgb(0, 0, 0);
    font-size: 24px;
    text-align: center;
    margin-bottom: 2rem;
}


.about-us h2 {
    color:  rgb(0, 0, 0);
    
    font-size: 20px;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.about-us p {
    color: #333; /* Darker text for readability */
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

/* Responsive design adjustments */
@media (max-width: 768px) {
    .about-us {
        padding: 2rem 5%;
    }

    .about-us h1 {
        font-size: 26px;
    }

    .about-us h2 {
        font-size:24px;
    }

    .about-us p {
        font-size: 20px;
    }
}



/* Services Page Styles */
.services {
    padding: 4rem 7%;
    background: rgba(255, 255, 255, 0.9); /* Glass effect with transparency */
    border-radius: 8px; /* Rounded corners */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Soft shadow for depth */
}

.services h1 {
    color: rgb(0, 0, 0);
    font-size:26px;
    text-align: center;
    margin-bottom: 2rem;
}

.services h2 {
    color: rgb(0, 0, 0);
    font-size: 24px;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.services h3 {
    color:  rgb(48, 47, 48);
    font-size: 20px;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}

.services p {
    color: #333;
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.services ul {
    list-style-type: disc;
    margin-left: 2rem;
}

.services ul li {
    font-size: 16px;
    margin-bottom: 0.5rem;
}



.payments {
    background-color: #fff;
    padding: 40px 20px;
    margin: 20px auto;
    max-width: 800px;
}

.payments-container {
    max-width: 600px;
    margin: 0 auto;
}

.qr-code {
    display: block;
    margin: 0 auto;
    max-width: 100%;
}

.paypal-button {
    display: inline-block;
    background-color:rgba(177, 63, 78, 1); /* Adjust as needed */
    color: #fff;
    padding: 10px 20px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 1em;
    text-align: center;
}

.paypal-button:hover {
    background-color: rgb(10, 83, 59); /* Adjust as needed */
}

address {
    font-style: normal;
    line-height: 1.5;
}

 



/* Slider Container */
.slider {
    position: relative;
    width: 100%;
    height: 100vh; /* Full viewport height */
    overflow: hidden;
}

/* Slides Wrapper */
.slides {
    display: flex;
    width: 100%; /* 12 slides, so width is 100% * 12 */
    height: 100%;
    animation: slide 60s infinite; /* Adjust duration for smoother/slower slide */
}

/* Individual Slide */
/* Individual Slide */
.slide {
    width: 100%; /* Each slide takes up full width */
    height: 100%;
    flex-shrink: 0;
    background-size: cover; /* Ensure the image covers the entire slide */
    background-position: center; /* Center the image */
    background-repeat: no-repeat; /* Prevent image repetition */
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
    border: 3px solid white; /* Add a border around the entire slide */
    box-sizing: border-box; /* Ensure padding and border are included in width/height */
}

.slider h1 {
    color: #4a90e2;
    font-weight: bold;
    font-size: 28px;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7); /* Adds a dark shadow to the text */
}


/* Content inside each slide */
/* Content inside each slide */
.content {
    background: rgba(77, 76, 76, 0.5); /* Semi-transparent background for readability */
    padding: 20px;
    border-radius: 10px;
    border: 3px solid white; /* Add a border to the content box */
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7); /* Adds a dark shadow to the text */
}


/* Keyframes for sliding effect */
@keyframes slide {
    0% { transform: translateX(0); }
    9.09% { transform: translateX(0); }
    18.18% { transform: translateX(-100%); }
    27.27% { transform: translateX(-100%); }
    36.36% { transform: translateX(-200%); }
    45.45% { transform: translateX(-200%); }
    54.54% { transform: translateX(-300%); }
    63.63% { transform: translateX(-300%); }
    72.72% { transform: translateX(-400%); }
    81.81% { transform: translateX(-400%); }
    90.90% { transform: translateX(-500%); }
    100% { transform: translateX(-600%); }
}

.bg {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

#bgVideo {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: -1;
    transform: translate(-50%, -50%);
    object-fit: cover;
}




.our-prices {
    background: linear-gradient(135deg, #f0f4f8, #d9e2ec);
    padding: 50px 0;
    text-align: center;
    font-family: 'Arial', sans-serif;
}

.our-prices h1 {
    font-size: 4rem;
    margin-bottom: 30px;
    color: #2a2a2a;
    font-weight: bold;
}

.main-prices {
    display: flex;
    justify-content: space-around;
    align-items: stretch;
    gap: 20px;
}

.inner-prices {
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    padding: 30px;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    flex: 1;
    max-width: 300px;
}

.inner-prices:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.price-heading h2 {
    font-size: 28px;
    margin-bottom: 10px;
    color: #4a90e2;
    font-weight: bold;
}

.price-heading p {
    font-size: 16px;
    margin-bottom: 20px;
    color: #757575;
}

.price-text p {
    font-size: 14px;
    margin-bottom: 30px;
    color: #5a5a5a;
}

.inner-price-heading h2 {
    font-size: 32px;
    color: #e74c3c;
    margin-bottom: 20px;
    font-weight: bold;
}

a1 {
    display: inline-block;
    padding: 10px 20px;
    color: #fff;
    background: #4a90e2;
    text-transform: uppercase;
    font-weight: bold;
    border-radius: 5px;
    text-decoration: none;
    transition: background 0.3s ease-in-out;
}

a1:hover {
    background: #357ab7;
}





/* Styles for item-hints */
.item-hints {
    --purple: #000000;
    cursor: pointer;
    display: flex;
    justify-content: flex-start;
    padding-right: 170px;
    position: absolute; /* Positioning it on top of the background */
    top: 50%; /* Adjust as needed */
    left: 45%; /* Adjust as needed */
    transform: translate(-50%, -50%); /* Centering adjustments */
    z-index: 2; /* Ensures item-hints stay above the background */
}

.item-hints1 {
    --purple: #000000;
    cursor: pointer;
    display: flex;
    justify-content: flex-start;
    padding-right: 170px;
    position: absolute; /* Positioning it on top of the background */
    top: 50%; /* Adjust as needed */
    left: 80%; /* Adjust as needed */
    transform: translate(-50%, -50%); /* Centering adjustments */
    z-index: 2; /* Ensures item-hints1 stay above the background */
}

/* Styles for hint elements */
.item-hints .hint, .item-hints1 .hint1 {
    margin: 150px auto;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.item-hints .hint-dot, .item-hints1 .hint-dot1 {
    z-index: 3;
    border: 1px solid #ffffff;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    transform: translate(-0%, -0%) scale(0.95);
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgb(255, 255, 255);
}

.item-hints .hint-radius, .item-hints1 .hint-radius1 {
    background-color: rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    margin: -125px 0 0 -125px;
    opacity: 0;
    visibility: hidden;
    transform: scale(0);
}

/* Styles for hint content */
.item-hints .hint-content, .item-hints1 .hint-content1 {
    width: 300px;
    position: absolute;
    z-index: 5;
    padding: 35px 0;
    opacity: 0;
    transition: opacity 0.7s ease, visibility 0.7s ease;
    color: #000000;
    visibility: hidden;
    pointer-events: none;
}

.item-hints .hint:hover .hint-content, .item-hints1 .hint1:hover .hint-content1 {
    opacity: 1;
    visibility: visible;
    pointer-events: none;
}

.item-hints .hint-content::before, .item-hints1 .hint-content1::before {
    width: 0px;
    bottom: 29px;
    left: 0;
    content: "";
    background-color: #000000;
    height: 1px;
    position: absolute;
    transition: width 0.4s;
}

.item-hints .hint:hover .hint-content::before, .item-hints1 .hint1:hover .hint-content1::before {
    width: 180px;
    transition: width 0.4s;
}

.item-hints .hint-content::after, .item-hints1 .hint-content1::after {
    transform-origin: 0 50%;
    transform: rotate(-225deg);
    bottom: 29px;
    left: 0;
    width: 80px;
    content: "";
    background-color: #000000;
    height: 1px;
    position: absolute;
    opacity: 1;
    transition: opacity 0.5s ease;
}

.item-hints .hint:hover .hint-content::after, .item-hints1 .hint1:hover .hint-content1::after {
    opacity: 1;
    visibility: visible;
}

/* Adjustments for specific data positions */
.item-hints .hint[data-position="4"] .hint-content, 
.item-hints1 .hint1[data-position="4"] .hint-content1 {
    bottom: 85px;
    left: 50%;
    margin-left: 56px;
} 
