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

/* Body Styles */
body {
    font-family: 'Courier New', Courier, monospace;
    color: #333;
    background-color: #e1e1e1;
    line-height: 1.6;
 }

/* Container Class */
.container {
    width: 100%;
    max-width: 1200px;
    margin: auto;
    overflow: hidden;
}

.container_top_info{    
    width:100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.container_header_sticky{
    position: inline-flex;
    width:100%;
    top: 0;
}
.logo_header {
    height: 30px;
    float: left;
}

.nav-menu {
    height:100%;
    float: right;
}

nav {
    clear:both;
    float: right;
}
/*
.nav-links {
    list-style: none;
}

.nav-links li {
    display: flex;
    margin-left: 20px;
    justify-content: center;
    align-items: center;
}

.nav-links li a {
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    color: #000;
    font-weight: bold;
    transition: color 0.3s ease;
}
*/

.nav-links {
    list-style: none;
    display: flex; /* Align items inline */
    align-items: center; /* Center vertically */
    justify-content: center; /* Center horizontally (optional) */
    padding: 0;
    margin: 0;
}

.nav-links li {
    margin: 0 15px; /* Adjust spacing between links */
}

.nav-links li a {
    text-decoration: none;
    color: #000;
    font-weight: bold;
    transition: color 0.3s ease;
    display: flex; /* Ensures text is centered inside */
    align-items: center;
}



.nav-links li a:hover,
.nav-links li a.active {
    color: #555;
}

.burger-menu {
    float:right;
    font-size: 1.5em;
    cursor: pointer;
    display: none;
}

/* Header Styles */
header {
    background: linear-gradient(to bottom, #FFCDB2, #e1e1e1);
    padding: 10px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    clear:both;
}




#header_mail {

    float: left;
    font-weight: bold;
    font-size: 14px;
    color: #000;
    margin: 10px;
    margin-top: 20px;
}

#date-time {
    float: left;
    font-weight: bold;
    font-size: 14px;
    color: #000;
    margin: 10px;
    margin-top: 20px;
    
}


/* Hero Section Styles */
.hero {
    background-color: #e1e1e1; /* White background */
    color: #000; /* Black text */
    padding: 20px;
    text-align: center;
}

.hero h2 {
    font-size: 48px;
    margin-bottom: 20px;
    font-weight: bold;
}

.hero p {
    font-size: 20px;
    margin-bottom: 30px;
}

.image-button1 {
    width: 45%; /* Adjust the width as needed */
    aspect-ratio: 1 / 1;
    position: relative; /* Ensure the container is positioned relative */
    display: inline-block; /* Ensure the anchor is an inline block element */
    text-decoration: none; /* Remove underline from link text */
    color: white; /* Set the text color */
    overflow: hidden; /* Hide any overflowed content */
    border-radius: 15px; /* Rounded corners */

  }

  .image-button1 img {
    display: block; /* Ensure the image doesn't create extra space below */
    width: 100%; /* Make the image take the full width of the container */
    object-fit: cover; /* Crop the image to fill the container */
    object-position: center; /* Center the cropped image */
    aspect-ratio: 1 / 1;
    border-radius: 15px;
  }

  .image-button1 span {
    font-weight: bold;
    font-size: 24px; /* Set the text size */
    position: absolute; /* Position the text absolutely */
    top: 50%; /* Center the text vertically */
    left: 50%; /* Center the text horizontally */
    transform: translate(-50%, -50%);  /*Adjust positioning to be centered */
    background-color: rgba(0, 0, 0, 0.5); /* Optional: Add a background color to the text */
    padding: 10px; /* Optional: Add padding to the text */
    border-radius: 5px; /* Optional: Add rounded corners to the text background */
  }


  .image-button2 {
    width: 91%; /* Adjust the width as needed */
    aspect-ratio: 3 / 1;
    position: relative; /* Ensure the container is positioned relative */
    display: inline-block; /* Ensure the anchor is an inline block element */
    text-decoration: none; /* Remove underline from link text */
    color: white; /* Set the text color */
    overflow: hidden; /* Hide any overflowed content */
    border-radius: 15px; /* Rounded corners */

  }

  .image-button2 img {
    display: block; /* Ensure the image doesn't create extra space below */
    width: 100%; /* Make the image take the full width of the container */
    object-fit: cover; /* Crop the image to fill the container */
    object-position: center; /* Center the cropped image */
    aspect-ratio: 1 / 1;
    border-radius: 15px;
  }

  .image-button2 span {
    font-weight: bold;
    font-size: 24px; /* Set the text size */
    position: absolute; /* Position the text absolutely */
    top: 50%; /* Center the text vertically */
    left: 50%; /* Center the text horizontally */
    transform: translate(-50%, -50%); /* Adjust positioning to be centered */
    background-color: rgba(0, 0, 0, 0.5); /* Optional: Add a background color to the text */
    padding: 10px; /* Optional: Add padding to the text */
    border-radius: 5px; /* Optional: Add rounded corners to the text background */
  }


/* Newsletter Signup Styles */
.newsletter {
    background-color: #f0f0f0; /* Light grey background */
    padding: 50px 0;
    text-align: center;
}

.newsletter h3 {
    font-size: 32px;
    margin-bottom: 20px;
}

.newsletter form {
    display: inline-block;
}

.newsletter input[type="email"] {
    padding: 10px;
    width: 250px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 5px 0 0 5px;
    outline: none;
}

.newsletter button {
    padding: 11px 20px;
    font-size: 16px;
    border: none;
    background-color: #000;
    color: #fff;
    border-radius: 0 5px 5px 0;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.newsletter button:hover {
    background-color: #555;
}

/* Footer Styles */
footer {
    background-color: #222; /* Dark grey background */
    color: #aaa;
    text-align: center;
    padding: 20px 0;
    margin-top: 40px;
    clear: both;
}

footer .social-media {
    margin-bottom: 10px;
    float: center;
}

footer .social-media a {
    color: #aaa;
    text-decoration: none;
    margin: 0 10px;
    transition: color 0.3s ease;
}

footer .social-media a:hover {
    color: #fff;
}

footer .useful-links {
    float: center;
}

footer .useful-links ul {
    list-style: none;
    padding: 0;
}

footer .useful-links ul li {
    display: inline;
    margin: 0 10px;
}

footer .useful-links ul li a {
    color: #aaa;
    text-decoration: none;
    transition: color 0.3s ease;
}

footer .useful-links ul li a:hover {
    color: #fff;
}

/* Clearing both floats for the copyright text */
footer p {
    clear: both;
}


/* Projects Section Styles */
.projects {
    padding: 50px 0;
}

.projects h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 40px;
}

.project-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.project-item {
    background-color: #f0f0f0;
    padding: 20px;
    width: calc(33.333% - 40px);
    box-sizing: border-box;
    text-align: center;
}

.project-item img {
    max-width: 100%;
    height: auto;
    margin-bottom: 15px;
}

.project-item h3 {
    font-size: 24px;
    margin-bottom: 10px;
}

.project-item p {
    font-size: 16px;
    color: #555;
}



/* Services Section Styles */
.presentation_box{
    border:2px solid;
    border-radius: 8px;
    padding: 3px;
    float: left;
    width:33%;
    height:max-content;
}

@media (max-width: 768px) {
    .presentation_box{
        width:100%;
    }
}
.presentation_image{
    background-color: #000;
    width:100%;
    aspect-ratio: 2 / 1;
    border-radius: 8px;
}
.presentation_image img{
    display: block;
    width: 100%;
    object-fit: cover;
    object-position: center;
    aspect-ratio: 2 / 1;
    border-radius: 8px;
}
.presentation_text{
    padding: 10px;
    text-align: center;
    font-size: 16px;
    color: #555;
}
.sendy_button{
    display: flex;
    justify-content: center;
    padding: 10px;
    text-align: center;
    text-decoration: none;
    font-size: 20px;
    color: #000;
    border:1px solid;
    border-radius: 5px;
    cursor: pointer;
    
}
.sendy_button:hover{
    box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

/* servicii_it Styles */
.service_presentation{
   
    padding: 3px;
    float: left;
    width:66%;
    height:max-content;
}
@media (max-width: 768px) {
    .service_presentation{
        width:100%;
    }
}

.contact_us_box{
    position: sticky;
    top: 0;
    z-index: 10;
    border:2px solid;
    border-radius: 8px;
    padding: 3px;
    float: right;
    width:33%;
    height:max-content;
}
@media (max-width: 768px) {
    .contact_us_box{
        width:100%;
    }
}

.contact_us_box_funds{
    position: sticky;
    top: 0;
    z-index: 10;
    border:2px solid;
    border-radius: 8px;
    padding: 3px;
    float: right;
    width:33%;
    height:max-content;
}
@media (max-width: 768px) {
    .contact_us_box_funds{
        width:100%;
    }
}


#m_1pe3 {
    border:1px solid;
    width: 33%;
    height: 300px;
    background-color: #000;
    float: left;
}

#m_2pe3 {
    border:1px solid;
    width: 66%;
    height: 300px;
    background-color: #000;
    float: left;
}



/* Contact Section Styles */
.contact {
    padding: 50px 0;
}

.contact h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 20px;
}

.contact p {
    text-align: center;
    font-size: 18px;
    margin-bottom: 40px;
}

.contact-form {
    max-width: 600px;
    margin: auto;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 15px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-family: inherit;
    font-size: 16px;
}

.contact-form textarea {
    height: 150px;
    resize: vertical;
}

.contact-form button {
    width: 100%;
    padding: 15px;
    background-color: #000;
    color: #fff;
    border: none;
    font-size: 18px;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.contact-form button:hover {
    background-color: #555;
}

.contact-info {
    max-width: 600px;
    margin: 40px auto 0;
    text-align: center;
}

.contact-info h3 {
    font-size: 24px;
    margin-bottom: 20px;
}

.contact-info p {
    font-size: 16px;
    margin-bottom: 10px;
}

.contact-info a {
    color: #000;
    text-decoration: none;
}

.contact-info a:hover {
    text-decoration: underline;
}




/* Scroll to Top Button Styles */
#scrollToTopBtn {
    display: none; /* Hidden by default */
    position: fixed; /* Fixed position on the screen */
    bottom: 30px; /* 30px from the bottom */
    right: 30px; /* 30px from the right */
    z-index: 100; /* Ensures the button is above other elements */
    background-color: #000; /* Button background color */
    color: #fff; /* Button text color */
    font-size: 24px; /* Increase size for better visibility */
    padding: 10px 15px; /* Some padding for a larger click area */
    border: none; /* Removes default button borders */
    border-radius: 5px; /* Rounded corners */
    cursor: pointer; /* Changes cursor on hover */
    transition: opacity 0.3s ease; /* Smooth transition for the fade effect */
    opacity: 0; /* Initial opacity set to 0 for fade-in effect */
}

/* Display the button when it has the 'show' class */
#scrollToTopBtn.show {
    display: block;
    opacity: 1; /* Fade in */
}

/* Hover Effect */
#scrollToTopBtn:hover {
    background-color: #555; /* Slightly lighter on hover */
}

/* Consolidated Responsive Styles */

@media (max-width: 768px) {
    .logo {
        float: center;
        text-align: left;
    }
    #date-time {
        float: left;
        font-weight: bold;
        font-size: 14px;
        color: #000;
    }

    /* Stack navigation links */
    .nav-links {
        float: right;
        display: none;
        flex-direction: column;
    }

    .nav-links.show {
        display: flex;
    }

    .nav-links li {
        display: block;
        margin: 10px 0;
    }

    /* Adjust hero section text sizes */
    .hero h2 {
        font-size: 36px;
    }

    .hero p {
        font-size: 18px;
    }

    /* Adjust project and service item widths */
    .project-item,
    .service-item {
        width: calc(50% - 40px);
    }

    /* Burger menu adjustments */
    .burger-menu {
        display: block;

    }
    .image-button1 span {
        font-weight: bold;
        font-size: 4vw; /* Set the text size */
        position: absolute; /* Position the text absolutely */
        top: 50%; /* Center the text vertically */
        left: 50%; /* Center the text horizontally */
        transform: translate(-50%, -50%); /* Adjust positioning to be centered */
        background-color: rgba(0, 0, 0, 0.5); /* Optional: Add a background color to the text */
        padding: 10px; /* Optional: Add padding to the text */
        border-radius: 5px; /* Optional: Add rounded corners to the text background */
      }
    .image-button2 span {
        font-weight: bold;
        font-size: 4vw; /* Set the text size */
        position: absolute; /* Position the text absolutely */
        top: 50%; /* Center the text vertically */
        left: 50%; /* Center the text horizontally */
        transform: translate(-50%, -50%); /* Adjust positioning to be centered */
        background-color: rgba(0, 0, 0, 0.5); /* Optional: Add a background color to the text */
        padding: 10px; /* Optional: Add padding to the text */
        border-radius: 5px; /* Optional: Add rounded corners to the text background */
    }
    #m_1pe3 {
        clear:both;
        width: 33%;
    }
    
    #m_2pe3 {
        clear:both;
        width: 100vw;
    }
}

/* cookie consent */
#cookieConsentBanner {
    position: fixed;
    bottom: 0;
    width: 100%;
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 10px;
    z-index: 9999;
    display: none;
}

#cookieConsentBanner p {
    margin: 0;
    display: inline;
}

#cookieConsentBanner a {
    color: #00f;
    text-decoration: underline;
}

#cookieConsentBanner button {
    background-color: #008CBA;
    color: white;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    margin-left: 10px;
}


/* w3 Styles */

.w3-col,
.w3-half,
.w3-third,
.w3-twothird,
.w3-threequarter,
.w3-quarter {
    float: left;
    width: 100%
}

.w3-centered tr th,
.w3-centered tr td {
    text-align: center
}
.w3-padding-64 {
    padding-top: 64px !important;
    padding-bottom: 64px !important
}
.w3-animate-bottom {
    position: relative;
    animation: animatebottom 0.4s
}
.w3-margin-bottom {
    margin-bottom: 16px !important
}

