

body, html {
    height: 100%;
    margin: 0;
    padding: 0;                 
    font-family: manrope, sans-serif; 
    background: #f7f7f7;      
    color: #0b3f56;
}

h1, h2, h3 {
    color: #0b3f56;
    margin-bottom: 15px; 
    margin-top: 40px;
}

main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 50px;
}

.top-bar {
    height: 80px;
    background: #0b3f56; 
    display: flex; 
    justify-content: space-between; 
    align-items: center;
    padding: 0 30px;
}

.logo {
    font-family: "Poiret One", sans-serif;
    font-size: 30px;
    font-weight: 800;
    color: #f7f5f5;
}

.logo .accent {
    color: #00B7B5;
}

.main-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 15px; 
}

.main-nav a { 
    padding: 6px 14px;
    text-decoration: none;
    font-weight: 500;
    border: 1px solid #BDB5B5;    
    color: #BDB5B5;               
    border-radius: 10px;
    display: block; 
    transition: background-color 0.3s, color 0.3s, border-color 0.3s;
}

.main-nav a.active {
    color: #FFFCFC;              
    border-color: #FFFCFC; 
    background-color: #5d7a91;
    font-weight: 600;
}

.main-nav a:hover:not(.active) {
    color: #fff; 
    background-color: #0b3f56;
    border-color: #007c89;
}

.hero-image {
  background-image: url("images/globe.png"); 
  height: 60vh; 
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative; 
  display: flex;
}

.hero-content h1{
    font-size: clamp(36px, 5vw, 80px);
    line-height: 1.1;
    color: #0b3f56;
}

.hero-content {
    max-width: 1200px; 
    width: 100%;
    padding: 50px 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.cta-box {
    display: flex;
    gap: 12px;
    margin-top: 20px;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    max-width: 600px;
}

.cta-box input {
    padding: 10px;
    font-size: 1rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    margin-right: 10px;
}

.cta-box button {
    padding: 10px 20px;
    background-color: #ff6600;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.cta-box button:hover {
    background-color: #e65c00;
}


.page-title {
    padding: 30px 50px; 
    text-align: center; 
}
.page-title h1 {
    font-family: neuton-regular;
    font-size: 50px; 
    color: #0b3f56;  
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 2px solid #206e95; 
    display: inline-block; 
}
.development-steps {
    padding: 40px 0;
    text-align: center;
}
.card-container {
    display: flex;
    justify-content: center; 
    gap: 20px; 
    margin-top: 20px;
    max-width: 950px; 
    margin: 20px auto 0;
}
.card {
    flex-basis: calc(25% - 15px); 
    padding: 20px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08); 
    text-align: center;
    transition: transform 0.3s;
}

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

.card-icon {
    width: 60px; 
    height: 60px;
    margin-bottom: 15px;
    background: #00B7B5; 
    border-radius: 50%;
    padding: 10px;
}

.text-content {
    column-count: 2; 
    column-gap: 40px; 
    column-rule: 1px solid #ccc;
    margin-bottom: 20px;
    flex: 2; 
}

.text-content h2 {
    column-span: all; 
    margin-bottom: 25px; 
    margin-top: 40px;
}

.text-and-image {
    display: flex;
    gap: 30px;
    align-items: flex-start;
    margin-top: 40px;
}

.image-gallery {
    flex: 1; 
    display: flex;
    flex-direction: column;
    gap: 15px;
}

img {
    width: 100%;
    height: auto;
    border-radius: 5px;
    object-fit: cover;
}

.table-container {
    margin-top: 40px; 
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    padding: 20px;
}

table {
    width: 100%;
    border-collapse: collapse; 
    margin-top: 15px;
}

th, td {
    border: 1px solid #ddd; 
    padding: 12px;
    text-align: left;
}

th {
    background-color: #0b3f56; 
    color: white;
    text-transform: uppercase;
    font-weight: bold;
}

tbody tr:nth-child(even) {
    background-color: #f9f9f9; 
}

tbody tr:hover {
    background-color: #f0f0f0;
}

@media (max-width: 992px) {
    .card-container {
       justify-content: center; 
       flex-wrap: wrap; /* Ļauj kartēm pāriet uz nākamo rindu */
       max-width: 100%; 
       padding: 0 10px; 
       margin: 20px auto;
    }
    
    .card {
        flex-basis: calc(50% - 30px); 
        margin-bottom: 20px;
    }
    
    .text-content {
        column-count: 1; 
    }

    .text-and-image {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .top-bar {
        flex-direction: column;
        height: auto;
        padding: 15px 10px;
    }

    .main-nav ul {
        flex-wrap: wrap;
        justify-content: center;
        margin-top: 10px;
    }
    
    .hero-image {
        height: 40vh;
    }
}