body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    
}


.header-image {
    width: 100%;
    height: 100vh;
    background: var(--image-url);
    position: relative;
    animation: headerThrow 2.5s 1s ease-in-out 1; 
}


@keyframes indicatorFloat {
    0% { transform: translate(-50%, 0); }    
    50% { transform: translate(-50%, -80px); } 
    100% { transform: translate(-50%, 0); }
}


@keyframes headerThrow {
    0% { transform: translateY(0); }
    50% { transform: translateY(-40px); } 
    100% { transform: translateY(0); }    
}

.header-title {
    position: absolute;
    top: 25vh;
    left: 50%;
    transform: translateX(-50%);
    color: rgb(234, 234, 234);
    font-family: 'Faustina', serif;
    font-size: 20vh;
    letter-spacing: 0.1em; 
    text-align: center;
    text-shadow: 4px 4px 6px rgba(9, 255, 0, 0.597);
    z-index: 1;
    width: 100%;
}


.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 50px;
    border: 2px solid white;
    border-radius: 25px;
    animation: 
        indicatorFloat 2.5s 1s ease-in-out 1, 
        pulsate 2s 3.5s infinite;            
}

.scroll-indicator::after {
    content: '';
    position: absolute;
    top: 10px;
    left: 50%;
    width: 6px;
    height: 6px;
    background: white;
    border-radius: 50%;
    transform: translateX(-50%);
}

@keyframes pulsate {
    0% { opacity: 1; }
    50% { opacity: 0.5; }
    100% { opacity: 1; }
}


header {
    position: fixed; 
    top: 20px; 
    left: 50%; 
    transform: translateX(-50%);
    width: 90%; 
    max-width: 1200px; 
    background-color: black; 
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px; 
    height: 5vh; 
    border-radius: 15px; 
    box-shadow: 0px 4px 10px rgba(255, 255, 255, 0.3); 
    z-index: 1000; 
}

header .logo {
    font-size: 130%;
    font-weight: bold;
}

header nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
}

header nav ul li {
    cursor: pointer;
    font-size: 100%; 
    position: relative;
}

header .header-buttons {
    display: flex;
    gap: 10px;
}

header .header-buttons button {
    padding: 5px 10px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 100%; 
}

header .header-buttons button:hover {
    opacity: 0.8;
}


.button-link {
    text-decoration: none; 
    display: inline-block; 
}

.header-buttons .button-link button {
    padding: 5px 10px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 100%;
    background-color: #ffffff; 
    color: rgb(0, 0, 0);
}

.header-buttons .button-link button:hover {
    opacity: 0.8;
}

.nav-link {
    text-decoration: none; 
    color: inherit; 
    cursor: pointer; 
}

.nav-link:hover {
    color: #c3c3c3; 
}
  
  
  .dropdown-menu {
    display: none;
    position: absolute;
    top: 100%; 
    left: 0;
    background-color: white; 
    border: 1px solid #ddd; 
    border-radius: 5px; 
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); 
    padding: 10px 0;
    z-index: 10;
    min-width: 200px; 
  }
  
  .dropdown-menu li {
    padding: 10px 20px;
  }
  
  .dropdown-menu li a {
    text-decoration: none;
    color: black;
    font-size: 16px;
    display: block;
  }
  
  .dropdown-menu li a:hover {
    background-color: #f0f0f0; 
  }
  
  
  .dropdown:hover .dropdown-menu {
    display: block;
  }

  
.lang-dropdown {
    position: relative;
    display: inline-block;
  }
  
  .lang-btn {
    padding: 8px 20px;
    background: #4CAF50;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s;
  }
  
  .lang-menu {
    display: none;
    position: absolute;
    right: 0;
    background: white;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 0;
    margin-top: 5px;
    min-width: 80px;
    z-index: 1000;
    list-style: none; 
  }
  
  .lang-menu.show {
    display: block;
  }
  
  .lang-menu li {
    padding: 10px;
    color: #333;
    cursor: pointer;
    transition: background 0.2s;
    text-align: center;
  }
  
  .lang-menu li:hover {
    background: #f5f5f5;
  }

.content-background {
    background: var(--image-url);     
    background-size: cover;  
    background-position: top center; 
    background-repeat: no-repeat;
    padding-top: 0; 
    position: relative; 
    z-index: 0;
}

.content-background::before {
    content: ''; 
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.122); 
    z-index: 1; 
}

.container {
    margin: 0 0 0 2vw;
    width: 90%; 
    position: relative; 
    z-index: 1; 
}


.section {
    display: flex;
}

.text {
    flex: 1;
    background: rgba(255, 255, 255, 0.563);
    border-radius: 20px;
    padding: 10px 50px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.488);
    margin: 0 0 20px 5vw; 
    color: #000000dc;
    margin-top: 8vh; 
}


.image_for_text {
    flex: 0 0 auto;
    display: flex;
    align-items: center; 
}

.image_for_text img {
    width: 30vw; 
    height: auto; 
    object-fit: contain;
}

.text h2 {
    margin-bottom: 10px;
    font-size: 4vh;
}

.text p {
    font-size: 2vh
}


.line {
    width: 50vw;
    height: 4px;
    background-color: black;
    margin: 20px 0 10vh 5vw; 
}



.calculator-section {
    padding: 10vh 0;
    position: relative;
    width: 100%; 
    z-index: 1;
}

.calculator-container {
    max-width: 1440px;
    margin: 0 auto;
    margin: 0 auto; 
    display: flex;
    align-items: center;
}

.calculator-content {
    display: flex;
    justify-content: center; 
    align-items: center;
    gap: 15vw; 
    margin: 0 auto; 
    flex-wrap: wrap; 
}


.calculator-heading {
    text-align: center;
    margin: 8vh 0 4vh;
    position: relative;
    z-index: 2;
}

.calculator-heading h2 {
    font-size: 4.5vh;
    color: #333;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.input-column {
    background: rgba(255, 255, 255, 0.7);
    border-radius: 20px;
    padding: 2vw 5vh;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.234);
    flex: 0 1 auto; 
}

.input-group {
    margin-bottom: 25px;
}

.input-group label {
    display: block;
    margin-bottom: 10px;
    font-size: 2.2vh;
    color: #000000;
}

.input-group input {
    padding: 12px 20px;
    border: 2px solid #ddd;
    border-radius: 25px;
    font-size: 1.8vh;
    transition: all 0.3s;
}

.input-group input:focus {
    border-color: #4CAF50;
    outline: none;
}

.calculate-btn {
    width: 100%;
    padding: 5%;
    background: #41a344;
    color: white;
    border: none;
    border-radius: 25px;
    font-size: 2vh;
    cursor: pointer;
    transition: all 0.3s;
}

.calculate-btn:hover {
    background: #45a049;
    transform: translateY(-2px);
}


.result-column {
    display: flex;
    justify-content: center;
    flex: 0 1 auto; 
}

.result-ring {
    position: relative;
    width: 40vh;
    height: 40vh;

}

.result-ring svg {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.result-ring circle {
    fill: none;
    stroke-width: 8;
    stroke-linecap: round;
}

.ring-bg {
    stroke: rgba(0, 0, 0, 0.1);
}

.ring-progress {
    stroke: #28b331;
    stroke-dasharray: 283;
    stroke-dashoffset: 283;
    transition: stroke-dashoffset 3s ease-out;
}

.result-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 5vh;
    font-weight: bold;
    color: #000000;
    text-align: center;
    width: 100%;
}

.save-label {
    position: absolute;
    top: -15%; 
    left: 50%;
    transform: translateX(-50%);
    font-size: 3vh;
    color: #000000;
    font-weight: 500;
    white-space: nowrap;
    width: 100%;
    text-align: center;
}

.amount {
    font-size: 5vh;
    font-weight: bold;
    line-height: 1;
}


.period {
    position: absolute;
    top: 60%; 
    left: 50%;
    transform: translateX(-50%);
    font-size: 2.5vh;
    color: #000000;
    width: 100%;
    text-align: center;
}


footer {
    background-color: #222;
    color: white;
    padding: 40px 20px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;

}
footer .footer-section {
    flex: 1;
    margin: 10px;
}
footer h3 {
    margin-bottom: 20px;
}
footer ul {
    list-style: none;
    padding: 0;
}
footer ul li {
    margin: 10px 0;
}
footer ul li a {
    color: white;
    text-decoration: none;
}
footer p, footer ul li {
    color: white;
}
.footer-content {
    display: flex;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    gap: 200px;
}

.footer-column {
    flex: 1;
    min-width: 250px;
}