/* DANTE 

GENERAL -------------------------- */
* {
    box-sizing: border-box;
    /*border: 0.07vw solid red !important; /* Converted assuming 1px ≈ 0.07vw for a 1440px wide viewport */ 
}

html, body {
    background-color: purple;
    background: url(../background/bg.webp);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    background-attachment: fixed;
    margin: 0;
    padding: 0;
    min-height: 100vh;
    font-family: "Roboto Bold", sans-serif;
    font-weight: 400;
    font-style: normal;
    -webkit-font-smoothing: antialiased;
    overscroll-behavior: none;
}

/*////////////GALLERY///////////*/

.gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    justify-content: center;
    align-items: center;
    max-width: 90vw;
    margin-top: 20vh;
    margin-left: 10vh;
    margin-bottom: 20vh; 
}

/* Individual gallery item */

.gallery-item {
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    border-radius: 10px;
}

/* Image styles - max height and width, responsive */

.gallery-img {
    width: auto;
    margin-top: 100px;
    height: 400px; /* Ensures images fit viewport height */
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease, filter 0.3s ease;
    border-radius: 10px;

}
/* Full-Screen Modal */

.fullscreen-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

/* Full-Screen Image */

.fullscreen-img {
    max-width: 90vw;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0px 0px 20px rgba(255, 255, 255, 0.2);
}

/* Close Button */

.close-btn {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 40px;
    color: white;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.close-btn:hover {
    opacity: 0.7;
}

/* Hover effect - brightness increase and zoom */

.gallery-img:hover {
    transform: scale(1.05);
    filter: brightness(1.2);
    border-radius: 0px;
}

/* Sticky footer ------------- */

body {
    display: grid;
    grid-template-rows: 1fr auto;
    min-height: 100vh;
    margin: 0;
}

.site {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.site-content {
    flex: 1 0 auto;
}

header {
    position: fixed;
    width: 100%;
    -webkit-font-smoothing: antialiased;
    background-color: rgba(0, 0, 0, 0.3);
    transition: background-color 0.5s ease;
    z-index: 1200;
}

header::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    z-index: -1;
}

/* HEADER ---------------- */

.title {
    display: flex;
    justify-content: space-between;
    flex-direction: row;
    right: 6.94vw;
    padding-left: 1.39vw;
    padding-top: 1.39vh;
    opacity: 1;
}

.title > div:nth-child(2) {
    margin-left: auto;
}

.title > div:nth-child(6) {
    padding-right: 3.47vw;
}

/* LOGO FRQNCY SOLUTIONS ---------------*/ 

.logo {
    width: 400px; /* Fixed size on desktop */
    height: auto;
    max-width: 400px; /* Prevents excessive growth */
}

/* Language Buttons - Styled as Individual Menu Items */

.language-item {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px 0;
    width: 100%;
}

.menu-separator {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px; /* Adds spacing around the separator */
    font-size: 40px; /* Matches menu font size */
    padding-right: -20px;
    padding-top: 12px;
    color: white; /* Matches menu text color */
    font-family: "Roboto Bold", sans-serif; /* Matches menu font */
}

/* Match Navbar Menu Link Styles */

.language-item .menu-link {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 15px;
    font-size: 25px;
    font-weight: bolder;
    color: white;
    text-decoration: none;
    transition: color 0.3s ease, transform 0.3s ease-in-out;
}

/* Positioning the Language Items Under Navbar */

.language-item {
    margin-top: -5px; /* Adds space under the main navbar */
    margin-left: -20px;
}

/* Hover Effect - Same as Menu Items */

.language-item .menu-link:hover {
    color: #00BFFF;
    transform: scale(1.1);
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.3));
}

/* Active State - Same as Menu Items */
.language-item .menu-link.active {
    color: #00BFFF;
    transform: scale(1.1);
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.3));
}

/* NAVBAR -----------------------*/

.menu, .menu-link {
    display: flex;
    justify-content: space-around;
    padding: 20px 0.9vw;
    color: white;
    font-size: 25px;
    transition: color 0.3s ease, transform 0.3s ease-in-out;
    text-decoration: none;
    white-space: nowrap;
}
/* Match Desktop Navbar Menu Style */

.lang-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 22px; /* Matches menu font size */
    font-weight: bold;
    text-decoration: none;
    color: white; /* Matches navbar text color */
    background: none; /* Removes background */
    border: none; /* No border */
    padding: 0; /* No extra padding */
    transition: color 0.3s ease, transform 0.3s ease-in-out;
}

/* Hover & Active Effects - Same as Desktop */

.lang-btn:hover,
.lang-btn.active {
    color: #00BFFF; /* ✅ Matches menu hover effect */
    transform: scale(1.1);
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.3));
}

.menu-item:hover > .menu-link, .dropdown-menu li a:hover {
    color: #00BFFF;
    transform: scale(1.1);
}

.menu-item.services:hover > .menu-link {
    animation: slide-down 0.3s ease-in-out 0.3s forwards;
}

.menu {
    list-style-type: none;
}

.menu-item > .menu-link[href*="services.html"] {
    pointer-events: none !important; /* Completely blocks clicking */
    cursor: default !important; /* Prevents the pointer from indicating a link */
}

.menu-link.active {
    color: #00BFFF;
    transform: scale(1.1);
}

.menu-toggle {
    opacity: 0;
    display: none; /* Hide toggle button by default on all screens */
}

.mobile-menu{
    display: none;
}

/* Menu Hover Effect - White Glow */

.menu-item:hover > .menu-link, .dropdown-menu li a:hover {
    color: #00BFFF;
    transform: scale(1.1);
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.3)); /* Adds a white glow effect */
}

/* Active Menu Link Effect */

.menu-link.active {
    color: #00BFFF;
    transform: scale(1.1);
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.3)); /* Keeps glow on active link */
}

/* DROPDOWN -------------------*/

.menu-item {
    position: relative;
    display: inline-block;
    z-index: 1200;
}

/* Hidden dropdown menu by default */

.dropdown-menu {
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px); /* Starts slightly above */
    position: absolute;
    list-style-type: none;
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 15px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 0;
    z-index: 1200;
    transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out, visibility 0.3s ease-in-out;
    top: 100%;
    left: 0;
}

/* When hovering, dropdown smoothly appears */

.menu-item:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0); /* Moves to normal position */
}

/* Dropdown item styling */

.dropdown-menu li {
    min-width: 15vw;
    z-index: 200;
    position: relative;
}

/* Smooth hover effect for dropdown items */

.dropdown-menu li a {
    display: block;
    position: relative;
    padding: 1.2vh 1.2vw;
    text-decoration: none;
    color: white;
    text-align: left;
    z-index: 200;
    transition: color 0.3s ease, transform 0.3s ease-in-out;
}

/* Hover effect on dropdown items */

.dropdown-menu li a:hover {
    color: #00BFFF;
    transform: scale(1.05);
}

/* FOOTER ------------------ */

.footer-home, .footer {
    margin-top: auto;
    width: 100%;
    bottom: 0;
    color: whitesmoke;
    font-family: sans-serif;
    font-size: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    background-color: rgba(0, 0, 0, 0.3); /* Matches header background */
    -webkit-background-color: rgba(0, 0, 0.3);
    position: fixed; /* Keeps it always at the bottom */
    left: 0;
    z-index: 1200;
}

/* Apply Blur Effect to Footer */

.footer::before, .footer-home::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    backdrop-filter: blur(15px); /* Matches header blur effect */
    -webkit-backdrop-filter: blur(15px);
    z-index: -1;
}

/* Footer Text Styling */

.footer-home p, .footer p {
    margin: 0;
    opacity: 0.5;
    margin-bottom: 0.5vh;
}

/* SOCIALS ------------------*/    

.socials-home {
    list-style-type: none;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding-top: 5px;
    padding-bottom: 1vh;
    padding-left: 15vw;
    margin-left: auto;
    margin-right: auto;
    margin-top: -4vh;
}

.socials-home li {
    margin: 0 20px;
}

.socials-home .icons, .icons {
    width: 1.3vw;
    height: auto;
    opacity: 1;
    transition: color 0.3s ease, transform 0.3s ease-in-out;
}

.socials-home .icons:hover, .icons:hover {
    color: #00BFFF; /* Same as menu hover */
    transform: scale(1.1); /* Slightly enlarges on hover */
}

.socials {
    list-style-type: none;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding-top: 5vh;
    padding-bottom: 1vh;
    padding-left: 15vw;
    margin-left: auto;
    margin-right: auto;
    margin-top: -4vh;
}

.socials li {
    margin: 0 20px;
}

/* Match Effect for All Social Icons */

.icons {
    width: 35px;
    height: auto;
    opacity: 1;
    transition: color 0.3s ease, transform 0.3s ease-in-out;
}

/* Same Hover Effect for All Icons */

.icons:hover {
    color: #00BFFF;
    transform: scale(1.1);
}

/* Hover Effect - White Glow */

.socials-home .icons:hover, .icons:hover {
    color: #00BFFF; /* Same as menu hover */
    transform: scale(1.1); /* Slightly enlarges on hover */
    filter: drop-shadow(0 0 10px white); /* Adds a white glow effect */
}

/* ****** ------------- PAGES --------------------*/

/* Products ------------------*/

.products {
    margin-top: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15vw; /* Adjust the gap to set equal distance between the thumbnails */
    row-gap: 10vh;
    padding: 0;
    flex-wrap: wrap;
    
}

.product_title {
    color: whitesmoke;
    z-index: 1;
    align-self: center;
}

.thumbnails img {
    width: 600px !important; /* Forces width to override other styles */
    height: auto; /* Maintains aspect ratio */
    max-width: none; /* Prevents restrictions */
    margin-top: -50px;
    display: block;
    filter: brightness(1) contrast(1);
    transition: transform 0.3s, filter 0.3s;
    z-index: 1;
    position: relative;
}

.thumbnails img:hover {
    transform: scale(1.05);
    filter: brightness(1.5);
    z-index: 1;
}

.caption {
    margin-top: 5vh;
    font-size: 1.5vw;
    color: whitesmoke;
    text-align: center;
    font-family: "Roboto", sans-serif;
    font-weight: bold;
    margin-bottom: 100px;
}

figcaption{
    color: transparent;
}

/* Other styles */

.cybox {
    display: flex;
    align-items: center;
    justify-content: center;
}

.cybox img {
    display: block;
    width: 20%;
    height: auto;
    margin-top: 400px;
    margin-left: 0vw;
    padding-top: 50px;
}

.cybox p {
    color: whitesmoke;
    font-family: 'Roboto Bold', sans-serif;
    font-size: 1.5vw;
    font-weight: 300;
    text-align: left;
    margin-top: 450px;
    margin-left: 2vw;
    margin-right: 3vw;
    width: 40%;
    hyphens: none;
    -webkit-hyphens: none;
    -moz-hyphens: none;
    -ms-hyphens: none;
    text-align: justify;
    -webkit-text-justify: inter-word;
    white-space: pre-wrap;
    word-break: keep-all;
}

img.proled {
    margin-top: 25vh;
}

img.services {
    margin-top: 0vh;
}

.contactForPrice {
    align-self: center;
    margin-top: 10vh;
}

/* BUTTON ANIMATION  */

.priceButton {
    width: 15vw;
    height: 2vw;
    outline: none;
    color: #fff;
    background: transparent;
    cursor: pointer;
    position: relative;
    z-index: 0;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    font-size: 1.2vw;
}

.priceButton:before {
    content: '';
    background: linear-gradient(45deg, whitesmoke, #00BFFF, #00CFFF , #00AFFF, #00BFFF, #00B2FF , #00E0FF, #00B3FF , #008FBF);
    position: absolute;
    top: -2px;
    left:-2px;
    background-size: 400%;
    z-index: -1;
    filter: blur(5px);
    width: calc(100% + 5px);
    height: calc(100% + 5px);
    animation: glowing 20s linear infinite;
    opacity: 0;
    transition: opacity .3s ease-in-out;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.priceButton:active {
    color: white;
}

.priceButton:active:after {
    background: transparent;
}

.priceButton:hover:before {
    opacity: 1;
}

.priceButton:after {
    z-index: -1;
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: transparent;
    left: 0;
    top: 0;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.5);
}

@keyframes glowing {
    0% { background-position: 0 0; }
    50% { background-position: 400% 0; }
    100% { background-position: 0 0; }
}

/* TABLE */

tabletitle {
    width: 50%;
    border-collapse: collapse;
    padding-top: 5vh;
    padding-bottom: 5vh;
    color: whitesmoke;
    margin: auto;
    font-family: 'Roboto Bold', sans-serif;
    font-weight: bold;
    font-size: 2vw;
    background-color: transparent; /* Ensure no blur on the whole table */
    position: relative;
    text-align: center;
}

table {
    width: 50%;
    border-collapse: collapse;
    margin-bottom: 5vh;
    color: whitesmoke;
    margin: auto;
    font-family: 'Roboto', sans-serif;
    font-size: 1vw;
    background-color: transparent; /* Ensure no blur on the whole table */
    position: relative;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
}

/* Caption - No Blur */
table caption {
    margin-top: 50px;
    margin-bottom: 3vh;
    font-size: 2vw;
    font-weight: bold;
    color: white;
    background: transparent;
    position: relative;
    z-index: 2; /* Ensure it stays above the blur */
    padding: 10px 0;
}

/* Apply Blur ONLY Inside Table Cells */
th, td {
    padding: 12px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background-color: rgba(0, 0, 0, 0.3); /* Light transparent background */
    position: relative;
    z-index: 1; /* Keeps content above blur */
}

/* Table Headers */
th {
    background-color: rgba(0, 0, 0, 0.4);
    color: #fff;
}

/* First Column Bold */
table th:first-child,
table td:first-child {
    font-weight: bold;
}


caption {
    margin-bottom: 10px;
    font-weight: bold;
    font-size: 1.5em;
}

.certifications {
    padding-top: 7vh;
    width: 40vw;
    align-self: center;
    margin-top: -6vh;
    padding-bottom: 15vh;
    
}

/* MODAL ------- */

.priceModal {
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 1000; /* Sit on top */
    left: 50%; /* Centers horizontally */
    top: 50%; /* Centers vertically */
    transform: translate(-50%, -50%); /* ✅ Ensures exact centering */
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    background-color: rgba(0,0,0,0.3); /* Black w/ opacity */
    backdrop-filter: blur(15px); /* ✅ Adds blur effect */
    -webkit-backdrop-filter: blur(15px); /* ✅ Ensures compatibility for Safari */
    color: whitesmoke;
}

.modal-content h2 {
    text-align: center;
    font-size: 30px;
    font-weight: bolder;
    margin-left: 20px;
}

.modal-content {
    background-color: rgba(0, 0, 0, 0.3);
    position: fixed; /* ✅ Keeps it centered at all times */
    top: 50%; /* ✅ Centers vertically */
    left: 50%; /* ✅ Centers horizontally */
    transform: translate(-50%, -50%); /* ✅ Ensures perfect centering */
    padding: 20px;
    border-radius: 10px;
    border: 1px solid #888;
    width: 600px; /* Fixed width */
    max-width: 90vw; /* Prevents it from getting too large on small screens */
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
}

/* SEND BUTTON ---------- */

.priceForm button {
    font-size: 1.2vw;
    background-color: #008FBF;
    border-radius: 20px;
    border: 0px;
    padding: 10px 30px;
    margin-top: 30px;
    color: white;
    transition: color 0.4s ease-in-out;
    font-weight: 400;
}

.priceForm button:hover {
    color: black;
}

.priceForm label {
    font-size: 1.2vw;
    font-weight: bold;
}

.priceForm input,
.priceForm input[type='email'] {
    font-size: 1.2vw;
    width: 20vw;
    height: 2vw;
    border-radius: 20px;
    border: 0px;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color:#00E0FF;
    text-decoration: none;
    cursor: pointer;
}

.priceForm {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}


/* THANK YOU MODAL */ 

.thankYouModal {
    display: none; /* Hidden by default */
    flex-direction: column;
    position: fixed;
    z-index: 1; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
    color: whitesmoke;
    overflow: hidden;

}

.thankYouModalContent {
    background-color: rgba(0, 0, 0, 0.9);
    margin: 15% auto; /* 15% from the top and centered */
    padding: 20px;
    border: 1px solid #888;
    width: 30%; /* Could be more or less, depending on screen size */
    height: 15%;
}

.thankYouModalContent h1 {
    position: inherit;
    text-align: center;
    margin-bottom: auto;
    font-size: 2vw;
}

/* SERVICES ----------------*/

.ServiceList{
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    font-family: "Roboto Bold", sans-serif;
    color: whitesmoke;

}

.ServiceList h2{
    font-size: 250px;
    padding-top: 13vh;

}

.ServiceList h4{
    font-weight: bold;
    margin: 10px;
}
.ServiceList a{
    text-decoration: none;
    color: whitesmoke;
    font-weight: 300;
    font-size: 2vw;
    transition: transform 0.3s ease, color 0.3s ease;
}

.ServiceList a:hover{
    color: #00BFFF;
    transform: scale(1.1);
    animation: slide-down 0.3s ease forwards;

}

/* Company Description -----------------*/

.companydescription {
    color: #f7f7f7;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-left: 20vw;
    padding-top: 23vh;
    padding-bottom: 10vh;
    width: 60vw;
    font-size: 40px;
    font-family: "Roboto Bold", sans-serif;
    text-align: center;
}

.companydescription img {
    display: flex;
    width: 200px;
    height: auto;
    margin-left: 0vw;
    padding-top: 50px;
}

.companydescription h4 {
    font-family: "Roboto Bold", sans-serif;
    display: flex;
    font-weight: 300;
    font-size: 30px;
    hyphens: none;
    -webkit-hyphens: none;
    -moz-hyphens: none;
    -ms-hyphens: none;
    text-align: justify;
    -webkit-text-justify: inter-word;
    white-space: pre-wrap;
    word-break: keep-all;
}

.companydescriptiontitle h3{
    color: #f7f7f7;
    display: flex;
    margin-top: -70px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-size: 40px;
    font-family: "Roboto Bold", sans-serif;
}

.companydescriptiontitle img {
    display: flex;
    width: 1000px;
    height: auto;
    margin: 0 auto;
    padding-bottom: 200px;
}

.logo_partners_wrapper {
    margin-top: -100px;
    font-size: 40px;
    color: whitesmoke;
    text-align: center;
    margin-bottom: 150px;
    margin-left: 10px;
}

.logo_partners_container {
    display: flex;
    gap: 20px;
    justify-content: center;   
    align-items: center;
    flex-wrap: wrap;
    /* background-color: rgb(116, 34, 122, 0.7);  */

}

.partner_logo img {
    height: auto; /* Maintains aspect ratio */
    max-width: none; /* Prevents restrictions */
    display: block;
    filter: brightness(1.1) contrast(1);
    transition: transform 0.3s, filter 0.3s;
    z-index: 1;
    position: relative;
}

.partner_logo img:hover {
    transform: scale(1.05);
    filter: brightness(1.15);
    z-index: 1;
}

/* News Home Page */

.news {
    color: #f7f7f7;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-left: 20vw;
    padding-top: 18vh;
    padding-bottom: 10vh;
    width: 60vw;
    font-size: 40px;
    font-family: "Roboto Bold", sans-serif;
    text-align: center;
}

/* Title Styling */
.news h2 {
    text-shadow: 0 0 25px rgba(255, 255, 255, 0.5);
}

/* Image */

.news img {
    display: flex;
    width: 100%; /* Makes image responsive */
    max-width: 500px;
    height: auto;
}

/* Headline */

.news h4 {
    color: #f7f7f7;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-size: 40px;
    font-family: "Roboto Bold", sans-serif;
    margin-top: 2vh;
}

/* Subheadline */
.news h5 {
    color: #f7f7f7;
    display: flex;
    margin-top: -2vh;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-size: 30px;
    font-family: "Roboto Bold", sans-serif;
}

/* CONTACT PAGE -----------------*/

.form {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 90vh;
    color: whitesmoke;
    margin-top: 5.65vh;
    padding-top: 7vh;
}

input[type="submit"] {
    background-color: #00BFFF;
    color: white;
    padding: 12px 18px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-family: "Roboto Bold", sans-serif;
}

label {
    display: block;
    margin-bottom: 1px;
    font-size: 1.2vw;
}

.form input:not([type='submit']) {
    font-size: 20px;
    font-family: "Roboto Bold";
    width: 30vw;
    height: 2vh;
    padding: 1vw 1vh;
    margin-bottom: 0.1vh;
    border: transparent;
    border-radius: 10px;
}

textarea {
    font-size: 20px;
    font-family: "Roboto Bold";
    height: 20vh;
    resize: none;
    width: 20vw;
    border-radius: 10px;
}

input[type="submit"] {
    background-color: #00BFFF;
    font-size: 20px;
    font-weight: bold;
    color: white;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    margin-top: 1vh;
}

.mobile-language-buttons {
    display: none; /* ✅ Hides buttons on desktop */
}

/* MOBILE VERSION ----------------------------------------------------------------------------------------------------*/

@media screen and (min-width: 768px) and (max-width: 1507px) {
  .logo-container {
    width: 200px;   /* set an appropriate width */
    height: 100px;  /* set an appropriate height */
    background: url('../logo/logo_cy_white_mobile.png') center/contain no-repeat;
  }
  
  .logo-container img {
    display: none;
  }
  .logo-container a {
    display: block;
    width: 100%;
    height: 100%;
  }
}

@media (max-width: 1507px) {


    .logo_partners_wrapper {
        color: whitesmoke;
        font-size: 25px;
        margin-bottom: 100px;
    }

    .logo_partners_container {
        gap: 1px;
    }


    .partner_logo img {
        height: auto; /* Maintains aspect ratio */
        max-width: 30vw; /* Prevents restrictions */
        display: block;
        filter: brightness(1) contrast(1);
        transition: transform 0.3s, filter 0.3s;
        z-index: 1;
        position: relative;
    }


.news img{
    width: 250px;
}

.mobile-language-buttons {
    display: flex;
    flex-direction: row;
    gap: 30px;
    position: relative;
    margin-left: auto; /* Pushes it away from the logo */
    padding-right: 10px;
}


/* MENU TOGGLE BUTTON*/

.menu-toggle {
    opacity: 1;
    display: block;
    position: relative; /* Changed from absolute to relative */
    padding-right: 25px; /* Matches the spacing */
    top: -3px;
    z-index: 1100;
    font-size: 35px;
    color: white;
    cursor: pointer;
    background: none;
    border: none;
    transition: opacity 0.5s ease, visibility 0.5s ease;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.6), 
                 0 0 20px rgba(255, 255, 255, 0.4);
}

.gallery {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    margin-left: 3vh;
    margin-right: 30px;
    margin-top: 150px;
    margin-bottom: 150px;
}

/* NAV BAR FOR MOBILE*/

/* Mobile Menu - Hidden by Default */

.menu {
    display: none;
}

/* MOBILE DROPDOWN MENU BOX */

.mobile-menu {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 200px;
    max-height: 0;              /* Hide content via height */
    overflow: hidden;           /* Prevent content spillover */
    z-index: 2000;
    opacity: 0;
    transition: max-height 1.5s ease;
    flex-direction: column;
    border-radius: 10px;
    margin-top: 10px;
}

.mobile-menu.active {
    max-height: 500px;          /* Set to a value that fits your menu */
    opacity: 1;
}

/* Background Blur via ::before */
.mobile-menu::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    border-radius: inherit;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(0px);
    -webkit-backdrop-filter: blur(0px);
    opacity: 0;
    z-index: -1;
}

.mobile-menu.active::before {
    animation: blurFade 0.5s forwards ease;
}

@keyframes blurFade {
    to {
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        opacity: 1;
    }
}

/* Mobile Menu List */
.mobile-menu-list {
    list-style: none;
    padding: 0;
    text-align: center;
}

/* Mobile Menu Items */
.mobile-item {
    margin: 10px 0;
}

/* Mobile Menu Links */
.mobile-link {
    text-decoration: none;
    color: white;
    transition: color 0.3s ease, text-shadow 0.3s ease, transform 0.3s ease;
}

/* Hover Effect: Scale + Change Color */
.mobile-link:hover {
    color: #00BFFF;
    transform: scale(1.1);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.4),
                 0 0 20px rgba(255, 255, 255, 0.2);
}

/* Active Link Effect */
.mobile-link.active {
    color: #00BFFF;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.4),
                 0 0 20px rgba(255, 255, 255, 0.2);
}



.thumbnails img {
    width: 300px !important; /* ✅ Forces the width to apply */
    height: auto; /* ✅ Maintains aspect ratio */
    max-width: none; /* ✅ Prevents restrictions from parent containers */
    z-index: 1;
    margin-top: -50px;
    
}

/* Footer */

.footer, .footer-home {
    flex-direction: column; /* Stack items vertically */
    align-items: center;
    justify-content: center;
    padding: 15px 10px; /* Adjust padding for mobile */
    font-size: 3vw; /* Adjust text size for mobile */
    text-align: center;
    position: fixed;
    height: 70px;
}

/* Socials container */

.socials, .socials-home {
    align-items: center;
    justify-content: center;
    padding-left: 0; /* Remove extra left padding */
    gap: 5px; /* Space between icons */
    margin-bottom: 20px;
}

/* Individual Social Icons */

.socials .icons, .socials-home .icons {
    width: 20px; /* Smaller icon size for mobile */
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.8)); /* Add glow effect */

}

.footer-home p, .footer p {
    text-align: center;
    font-size: 12px; /* Adjust font size for readability */
    opacity: 0.7; /* Slight transparency for styling */
    position: absolute;
    margin-bottom: 20px;
    bottom: -12px;
}

/* PRODUCTS PAGE ---------------- */

.cybox{
    margin: 0 0;
    display: flex;
    flex-direction: column;
    justify-items: center;
    align-items: center;
    margin-top: 100px;
    position: relative;
}

.cybox img{
    margin-top: 250px;
    margin-left: 0;
    width: 300px;
}

.cybox p{
    margin-top: 20px;
    position: relative;
    font-size: 20px;
    text-align: justify;
    -webkit-text-justify: inter-word;
    white-space: pre-wrap;
    word-break: keep-all;
    padding-bottom: 120px;
    z-index: 1;
}

.certifications {
    position: relative;
    bottom: 200px; /* Move the image up (adjust value as needed) */
    margin-bottom: -200px;
    width: 350px;
    max-width: none;
    height: auto;
}

table {
    display: none !important;
}


tabletitle {
        display: none !important;
    }

.priceButton {
position: relative; /* Ensures it stays in the flow */
bottom: 200px; /* Moves it higher */
left: 50%; /* Centers the button */
transform: translateX(-50%); /* Ensures proper centering */
width: 180px; /* Adjust button size for mobile */
height: 40px; /* Increases button size for better usability */
font-size: 15px; /* Adjusts text size */
z-index: 10; /* Keeps button above other elements */
cursor: pointer; /* Ensures it's clickable */
    }
}

.companydescription img {
display: flex;
width: 150px;
height: auto;
margin-left: 0;
margin-top: -50px;
}

.ServiceList{
    height: 80vh
}

.ServiceList h2{
    font-size: 27px;
}

.ServiceList h4{
    font-size: 20px;
}

.ServiceList a{
    font-size: 20px;
}

.form {
    margin-top: 1.65vh;
    padding-top: 15vh;

}

/* Style Labels */

.form label {
    display: block;
    margin-bottom: 1px;
    font-size: 25px;
}

/* Ensure ALL Input Fields & Textarea Are Styled */

.form input[type="text"],
.form input[type="email"], /* Ensures Email Field Is Styled */
.form input[type="subject"], /* If You Have Subject Field */

.form textarea {
    width: 40vh;
    height: 3vh;
    padding: 1vw 1vh;
    margin-bottom: 0.1vh;
    border: 1px solid #ccc; /* Fixed Incorrect Border Syntax */
}

/* Textarea Specific Styles */

.form textarea {
    height: 25vh;
    resize: none;
    width: 40vh;
}

.form input[type="submit"] {
    font-size: 15px;
    width: 100px;
    transition: background 0.3s ease, transform 0.2s ease;
}

/* ANIMATION --------------- */

.animation1 {
    display: block;
    margin: 0 auto;
    padding-top: 10vh;
    width: 90vw;
    height: 90vh;
    z-index: 1;
    -webkit-font-smoothing: antialiased;
}

.promotion h2 {
    z-index: 2;
}

/* PRODUCTS ---------- */

.caption {
    font-size: 27px;
    padding-bottom: 50px;
}

@media (max-width: 768px) {


.form {
margin-top: 1.65vh;
padding-top: 15vh;
}

/* Style Labels */

.form label {
display: block;
margin-bottom: 1px;
font-size: 15px;
}
    
/* Ensure ALL Input Fields & Textarea Are Styled */

.form input[type="text"],
.form input[type="email"], /* ✅ Ensures Email Field Is Styled */
.form input[type="subject"], /* ✅ If You Have Subject Field */

.form textarea {
width: 250px;
height: 30px;
padding: 1vw 1vh;
margin-bottom: 0.1vh;
border: 1px solid #ccc; /* Fixed Incorrect Border Syntax */
}
    
/* Textarea Specific Styles */

.form textarea {
height: 200px;
resize: none;
width: 250px;
}

.form input[type="submit"] {
font-size: 15px;
width: 100px;
transition: background 0.3s ease, transform 0.2s ease;
}

.news{
padding-top: 15vh;
font-size: 30px;
}

.news h4{
font-size: 30px;
}

.news h5{
font-size: 20px;
}

.mobile-menu {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 180px;
    max-height: 0;              /* Hide content via height */
    overflow: hidden;           /* Prevent content spillover */
    z-index: 2000;
    opacity: 0;
    transition: max-height 1.5s ease;
    flex-direction: column;
    border-radius: 10px;
    margin-top: 10px;
}

.mobile-menu.active {
    max-height: 500px;          /* Set to a value that fits your menu */
    opacity: 1;
}

.mobile-menu::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    border-radius: inherit;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(0px);
    -webkit-backdrop-filter: blur(0px);
    opacity: 0;
    z-index: -1;
}

.mobile-menu.active::before {
    animation: blurFade 0.5s forwards ease;
}

@keyframes blurFade {
    to {
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        opacity: 1;
    }
}


/* Mobile Menu List */
.mobile-menu-list {
    list-style: none;
    padding: 0;
    text-align: center;
}

/* Mobile Menu Items */
.mobile-item {
    margin: 10px 0;
}

/* Mobile Menu Links */
.mobile-link {
    text-decoration: none;
    color: white;
    transition: color 0.3s ease, text-shadow 0.3s ease, transform 0.3s ease;
}

/* Hover Effect: Scale + Change Color */
.mobile-link:hover {
    color: #00BFFF;
    transform: scale(1.1);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.4),
                 0 0 20px rgba(255, 255, 255, 0.2);
}

/* Active Link Effect */
.mobile-link.active {
    color: #00BFFF;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.4),
                 0 0 20px rgba(255, 255, 255, 0.2);
}

/* Active Link Effect */

.mobile-link.active {
    color: #00BFFF;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.4), 
                 0 0 20px rgba(255, 255, 255, 0.2);
}

    .companydescription h4 {
        font-family: "Roboto Bold", sans-serif;
        font-weight: 300;
        font-size: 20px;
        width: 40vh;
    }

    .companydescriptiontitle img {
        width: 50vh;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        margin-bottom: -50px;
        
    }
    .companydescriptiontitle h3{
        color: #f7f7f7;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        font-size: 30px;
        font-family: "Roboto Bold", sans-serif;
    }

/* Footer */

.footer, .footer-home {
    flex-direction: column; /* Stack items vertically */
    align-items: center;
    justify-content: center;
    padding: 15px 10px; /* Adjust padding for mobile */
    font-size: 3vw; /* Adjust text size for mobile */
    text-align: center;
    height: 55px;
    position: fixed;
}

/* Socials container */

.socials, .socials-home {
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
}

/* Individual Social Icons */

.socials .icons, .socials-home .icons {
    width: 15px; /* Smaller icon size for mobile */
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.8)); /* Add glow effect */

}

.footer-home p, .footer p {
    text-align: center;
    font-size: 12px; /* Adjust font size for readability */
    opacity: 0.7; /* Slight transparency for styling */
    margin-bottom: 15px;
}

.form{
    padding-bottom: 20%;
    padding-top: 25%;
}

    .gallery-img {
        margin-top: 10px;
    }

    .cybox{
        margin: 0 0;
        display: flex;
        flex-direction: column;
        justify-items: center;
        align-items: center;
        margin-top: -100px;
        position: relative;
    }
    
    .gallery {
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        margin-left: 3vh;
        margin-right: 30px;
        margin-top: 150px;
        margin-bottom: 150px;
    }
    
    .logo {
        width: 90%; /* Increase logo size for smaller screens */
    }

    .menu-link {
        font-size: 5vw; /* Increase menu link font size for better readability */
    }

    .caption,
    .companydescription {
        font-size: 6vw; /* Adjust text size for smaller displays */

    }

    table{
        margin-top: -125px;
        font-size: 2vw;
    }

    table caption {
        font-size: 4vw;
    }

    .products {
        margin-top: 200px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 0vw; /* Adjust the gap to set equal distance between the thumbnails */
    }

    .proled {
        width: 30vw;
    }

    .caption {
        margin-bottom: 75px;
    }

    table {
        width: 10svw;
        font-size: 3px;
    }

    /* HOME SCREEN */
    
    .promotion h3 {
        font-size: 7vw;
        margin-bottom: 25px;
        margin-left: 50vw;
        width: 400px;
        margin-top: -100px;
        -webkit-user-drag: none; /* For Chrome/Safari */
        user-drag: none; /* For Firefox */
        
    }

    .promotion a {
        font-size: 4vw;
        margin-left: 78vw;
        width: 20vw;
        margin-top:-20px;
        width: 50vw;
        position: static;
        -webkit-user-drag: none; /* For Chrome/Safari */
        user-drag: none; /* For Firefox */
    }

    .promotion img {
        width: 300px;
        height: 300px;
        margin-left: 50vw;
        margin-top: 1vh;
        -webkit-user-drag: none; /* For Chrome/Safari */
        user-drag: none; /* For Firefox */
    }

    .promotion {
        display: flex;
        margin-top: 70px;
        margin-bottom: -11.5vh;
        margin-right: 50vw;
        -webkit-user-drag: none; /* For Chrome/Safari */
        user-drag: none; /* For Firefox */
        height: 100svh;

    }

    figcaption#caption {
        font-size: 3vw;
        margin-left: 83vw;
        font-family: 'Roboto', sans-serif;
        width: 50vw;
        -webkit-user-drag: none; /* For Chrome/Safari */
        user-drag: none; /* For Firefox */
    }

    /* .pictureFrame {
        width: 300px;
        height: 300px;
    }

    .mainPhoto {
        width: 300px;
        height: 300px;
    } */

    .buttons {
        gap: 1px;
        position: absolute;
    }

    button {
        font-size: 1px;
    }
    .cybox p{
    font-size: 20px; /* Adjust text size for smaller displays */
    width: 300px;
    }

    /* CONTACT US BUTTON --------- */
    
    .priceButton {
        width: auto;
        height: auto;
    }

    /* MODAL ---------- */ 

/* Prevent input fields from resizing */
.priceModal .priceForm input[type='email'],
.priceModal .priceForm input {
    height: 30px; /* Fixed height */
    width: 220px; /* Fixed width */
    font-size: 16px; /* Ensures text inside input is always readable */
    margin-top: -2px;
}

/* Keep label size consistent */

.priceForm label {
    font-size: clamp(18px, 1.8vw, 22px); /* Keeps labels readable on all screens */
    margin-bottom: 10px;
}

/* Ensure the modal remains at a fixed size */

.modal-content {
    width: 90vw; /* Dynamic width for smaller screens */
    max-width: 380px; /* Prevents excessive width on iPad */
    height: auto; /* Keeps content proportional */
    padding: 25px;
}

/* Keep modal title always centered */

.priceModal h2 {
    font-size: clamp(22px, 2.5vw, 28px); /* Ensures title is large on all devices */
    margin-bottom: 20px;
    text-align: center;
    width: 100%;
    margin-left: 0;
}

/* Close button remains on the right */

.priceModal .close {
    float: right;
    font-size: clamp(24px, 2.2vw, 28px); /* Keeps the close button proportional */
}

/* Fix request button size */

.priceModal button {
    font-size: clamp(18px, 2vw, 22px); /* Ensures button text is readable */
    padding: 12px 25px;
    width: 220px; /* Fixed width */
    height: 45px; /* Fixed height */
}
}