*, html, body {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}
body, html{
    width: 100%;
    min-height: 100vh;
    background-color: #f0f0f0;
}

header li {
    display: inline;
    margin-right: 20px;
    text-decoration: none;
}

header a {
    display: inline-block;
    font-size: 24px;
    text-decoration: none;
    color: #fafafa;
    font-weight: bold;
}

header a:hover {
    color: #FFC500;
}

header {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px 20px;
    background-color: #000000;
    z-index: 10000000;
}


.logo:hover {
    cursor: pointer;
}
.logo{
    width: 256px;
    height: auto;
}
@media screen and (min-width: 768px) {
    .logo{
        z-index: 10000000;
        width: 200px;
        height: auto;
    }
}

footer {
    /*width: calc(100% - 250px);*/
    /*margin-left: 250px;*/
    background-color: #000000;
    color: #fafafa;
    position: relative;
    width: calc(100% - 250px);
    margin-left: 250px;
    bottom: 0;
    padding: 20px 20px 30px 20px;
}
.copyright{
    text-align: center;
    margin-bottom: 10px;
    font-size: 14px;
}

.header_bar {
    position: absolute;
    z-index: 9999999;
}


.side_bar {
    top: 80px;
    position: absolute;
    color: #fafafa;
    width: 250px;
    background-color: #000000;
    padding: 20px;
    padding-top: 200px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    z-index: 100;
}

.side_bar_item {
    position: relative;
    cursor: pointer;
}

.main_item {
    font-size: x-large;
    font-weight: bold;
    padding: 10px;
    transition: background-color 0.3s ease;
}

.main_item:hover {
    background-color: #FFC500;
    color: black;
}

.secondary_sidebar {
    z-index: 150;
    position: absolute;
    left: 210px;
    top: 0;
    width: 250px;
    background-color: #000000;
    padding: 10px;
    display: none;
    flex-direction: column;
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.5);
    max-height: fit-content;
}

.side_bar_item:hover .secondary_sidebar {
    display: flex;
}

.category_item {
    position: relative;
    cursor: pointer;
}

.category_title {
    padding: 8px 12px;
    color: #fafafa;
    font-weight: bold;
    transition: background-color 0.2s ease;
    border-bottom: 1px solid #333;
    margin: 0;
}

.category_title:hover {
    background-color: #FFC500;
    color: black;
}

.tertiary_sidebar {
    z-index: 200;
    position: absolute;
    left: 230px;
    top: 0;
    width: 250px;
    background-color: #000000;
    padding: 10px;
    display: none;
    flex-direction: column;
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.5);
    max-height: 400px;
    overflow-y: auto;
}

.category_item:hover .tertiary_sidebar {
    display: flex;
}

.product_item {
    z-index: 200;
    text-align: center;
    padding: 6px 10px;
    color: #fafafa;
    transition: background-color 0.2s ease;
    border-bottom: 1px solid #444;
    text-decoration: none;
    font-size: 14px;
}

.product_item:hover {
    background-color: #FFC500;
    color: black;
}

.sub_item {
    z-index: 150;
    text-align: center;
    padding: 8px 12px;
    color: #fafafa;
    transition: background-color 0.2s ease;
    border-bottom: 1px solid #333;
}

.sub_item:hover {
    background-color: #FFC500;
}

.sub_item {
    z-index: 15;
    color: #fafafa;
    text-decoration: none;
}

main {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 0;
    padding-bottom: 20px;
    width: calc(100% - 250px);
    min-height: calc(100vh - 40px);
    margin-left: 250px;
    background-color: #f0f0f0;
}
@media screen and (max-width: 768px) {
    main {
        width: 100%;
        margin-left: 0;
    }
    .side_bar{
        display: none;
    }
    footer{
        display: none;
    }
    iframe{
        width: 75%;
    }
    
}
/*.text-section{
    color: #000000;
    display: flex;
    flex-direction: column;
    font-size: x-large;
    text-align: center;
    margin: 20px 0;
    align-items: center;
    justify-content: center;
}*/
.representant_logos{
    display: flex;
    flex-direction: row;
    gap: 40px;
    margin-top: 20px;
}
@media screen and (max-width: 768px) {
    .representant_logos{
        flex-direction: column;
        gap: 20px;
    }
    .citem-title{
        text-align: center;
    }

}
.citem{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.citem-title{
    color: #FFC500;
    font-size: 60px;
    text-shadow: -1px 0 black, 0 1px black, 1px 0 black, 0 -1px black;
    font-weight: bold;
    margin-bottom: 5px;
}
.citem-desc{
    font-size: 16px;
    color: #FFC500;
    text-shadow: -1px 0 black, 0 1px black, 1px 0 black, 0 -1px black;
    text-align: center;
}
.citem button{
    margin-top: 10px;
    padding: 10px 20px;
    border-radius: 5px;
    background-color: #FFC500;
    color: #000000;
    border: none;
    cursor: pointer;
    font-size: 16px;
    transition: 0.3s ease;
}

.mobile-catalog{
    margin-top: 10px;
    padding: 10px 20px;
    border-radius: 5px;
    background-color: #FFC500;
    color: #000000;
    border: none;
    cursor: pointer;
    font-size: 16px;
    transition: 0.3s ease;
}
.mobile-catalog:hover{
    background-color: #ffd036;
    color: #000000;
    transform: translateY(-5px);
    transition: 0.3s ease;
}
.citem button:hover{
    background-color: #ffd036;
    color: #000000;
    transform: translateY(-5px);
    transition: 0.3s ease;
}
.about-us, .text-section{
    color: #000000;
    display: flex;
    flex-direction: column;
    text-align: center;
    font-size: x-large;
    margin: 20px 50px;
    align-items: center;
    justify-content: center;
}
.floating-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 15px;
}

.floating-button-main {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #FFC500;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    border: none;
    font-size: 28px;
    color: #000000;
    font-weight: bold;
}

.floating-button-main:hover {
    transform: scale(1.1);
    background-color: #ffd036;
}

.floating-button.open .floating-button-main {
    transform: rotate(45deg);
}

.floating-options {
    display: none;
    flex-direction: column;
    gap: 10px;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.floating-options.show {
    opacity: 1;
    transform: translateY(0);
}

.floating-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    background-color: #ffffff;
    border-radius: 25px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    color: #000000;
    font-weight: 500;
    white-space: nowrap;
}

.floating-option:hover {
    background-color: #FFC500;
    transform: translateX(-5px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.floating-option-icon {
    width: 24px;
    height: 24px;
    font-size: 24px;
}

.sedes{
    margin-top: 100px;
    font-size: x-large;
    text-align: center;
}
.sedes iframe{
    border: 2px solid #000000;
    border-radius: 10px;
}

.sidebar-header{
    text-decoration: none;
    color: #fafafa;
}

.footer-main{
    display: flex;
    flex-direction: column;
}
.footer-div{
    text-align: left;
    margin: 10px 0;
}
.footer-columns{
    display: flex;
    justify-content: space-around;
    flex-direction: row;
}
footer h3{
    color: #fafafa;
    font-weight: bold;
    margin-bottom: 15px;
}
footer svg{
    fill: #fafafa;
    width: 24px;
    height: 24px;
    margin-right: 10px;
}
footer a{
    text-align: left;
    text-decoration: none;
    color: #fafafa;
}
footer li, footer ul{
    text-align: left;
    list-style: none;
}
footer li a{
    justify-items: center;
    align-items: center;
    display: flex;
    padding: 8px;
}

.sedes {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content:start;
    padding-top: 0;
    width: calc(100% - 250px);
    height: 100%;
    margin-left: 250px;
    margin-bottom: 250px;
    background-color: #f0f0f0;
}
/* New Home Page Content Sections */
.content-section {
    width: 100%;
    padding: 60px 20px;
    margin: 0 auto;
}

.content-section h2 {
    text-align: center;
    font-size: 2.5em;
    color: #333;
    margin-bottom: 40px;
}

/* Why Choose Us Section */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-item {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-10px);
}

.feature-item h3 {
    color: #FFC500;
    margin: 20px 0 15px;
    font-size: 1.4em;
}

.feature-item p {
    color: #666;
    line-height: 1.6;
}

/* Our Services Section */
.our-services {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.services-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    background: white;
    padding: 40px 25px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    text-align: center;
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.service-card h3 {
    color: #333;
    margin: 15px 0;
    font-size: 1.3em;
}

.service-card p {
    color: #666;
    line-height: 1.6;
}

/* Equipment Showcase Section */
.equipment-showcase {
    background: white;
}

.equipment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.equipment-item {
    background: #f9f9f9;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.equipment-item:hover {
    transform: scale(1.03);
}

.equipment-info {
    padding: 25px;
    text-align: center;
}

.equipment-info h3 {
    color: #333;
    font-size: 1.5em;
    margin-bottom: 15px;
}

.equipment-info p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

/* Industry Sectors Section */
.industry-sectors {
    background: #f8f9fa;
}

.sectors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.sector-card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.sector-card:hover {
    transform: translateY(-10px);
}

.sector-card h3 {
    color: #333;
    font-size: 1.3em;
    margin-bottom: 10px;
}

.sector-card p {
    color: #666;
    line-height: 1.6;
}

/* Call to Action Section */
.cta-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
}

.cta-section h2 {
    color: white;
}

.cta-content p {
    font-size: 1.2em;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Responsive adjustments for new sections */
@media screen and (max-width: 768px) {
    .content-section {
        padding: 40px 15px;
    }
    
    .content-section h2 {
        font-size: 2em;
    }
    
    .features-grid,
    .services-container,
    .equipment-grid,
    .sectors-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-buttons a {
        width: 100%;
        max-width: 300px;
    }
}
