@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;700&family=Lato:wght@300;400;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body, html {
    height: 100%;
    font-family: 'Lato', sans-serif;
    color: #333333;
    background-color: #ffffff;
}

.container {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%;
    background-color: #ffffff;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

.logo img {
    max-width: 150px;
    height: auto;
    margin-top: 5px;
}

.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 2px;
    margin: 5px auto;
    background-color: #333333;
    transition: all 0.3s ease-in-out;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 20px;
}

nav ul li a {
    font-family: 'Roboto', sans-serif;
    text-decoration: none;
    color: #333333;
    font-size: 14px;
    font-weight: 400;
    text-transform: uppercase;
    transition: color 0.3s ease;
    letter-spacing: 1px;
}

nav ul li a:hover {
    color: #666666;
}

.hero {
    flex: 1;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    padding: 5%;
    margin-top: 80px;
}

footer {
    text-align: center;
    padding: 20px;
    background-color: #f5f5f5;
    font-size: 14px;
}

.popup {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.7);
    justify-content: center;
    align-items: center;
}

.popup-content {
    background-color: #fefefe;
    padding: 30px;
    border: 1px solid #888;
    width: 75%;
    max-width: 800px;
    height: 80vh;
    display: flex;
    flex-direction: column;
    position: relative;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

#popup-title {
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #ddd;
    font-size: 24px;
    font-weight: 700;
}

#popup-content {
    flex-grow: 1;
    overflow-y: auto;
}

.close {
    position: absolute;
    right: 15px;
    top: 10px;
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover,
.close:focus {
    color: #333;
    text-decoration: none;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    text-align: center;
}

.service-item {
    padding: 10px;
    border: 1px solid #ddd;
    background-color: #f9f9f9;
}

.e-company-info {
  max-width: 750px;
  margin: 0 auto;
  padding: 0px;
}

.info-row {
  display: flex;
  flex-direction: column;
  margin-bottom: 15px;
}

.info-row strong {
  font-weight: 600;
  color: #555;
  margin-bottom: 5px;
}

.info-row span {
  color: #333;
}

@media (max-width: 768px) {
  .e-company-info h2 {
    font-size: 20px;
  }
  
  .info-row {
    margin-bottom: 10px;
  }
}

@media (max-width: 480px) {
  .e-company-info h2 {
    font-size: 18px;
  }
  
  .info-row strong,
  .info-row span {
    font-size: 14px;
  }
}

@media (max-width: 768px) {
    .hamburger {
        display: block;
    }

    nav {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100% - 70px);
        background-color: #ffffff;
        transition: 0.3s;
    }

    nav.active {
        left: 0;
    }

    nav ul {
        flex-direction: column;
        align-items: center;
        padding-top: 20px;
    }

    nav ul li {
        margin: 10px 0;
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .popup-content {
        width: 90%;
        height: 90vh;
        padding: 20px;
    }

    .service-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    nav ul li a {
        font-size: 14px;
    }

    .service-grid {
        grid-template-columns: 1fr;
    }
}