*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    transition: 0.2s linear;
}
.right-menu li
{
    display: inline-block;
    margin-top: 30px !important;
}
.right-menu li .fa
{
    font-size: 18px;
    margin-right: 10px;
    cursor: pointer;
}
.navbar-brand img
{
    width: 160px;
}
.navbar-brand
{
    left: 10%;
    top: 25px;
    transform: translateX(-50%);
    position: absolute;
}
.header
{
    background: #ffffff;
    box-shadow: -1px 8px 32px 0px rgba(0,0,0,0.08);
    margin-bottom: 80px;
}

.navbar-brand
{
    left: 10%;
    top: 25px;
    transform: translateX(-50%);
    position: absolute;
}
.header
{
    background: #ffffff;
    box-shadow: -1px 8px 32px 0px rgba(0,0,0,0.08);
    margin-bottom: 80px;
}

.navbar
{
    padding: 0 300px !important;
}
.navbar-toggler
{
    border: none !important;
    background: transparent;
    outline: none !important;
    padding: 10px !important;
    margin-top: 30px;
    position: relative;
    z-index: 1001;
}

.navbar-toggler span {
  display: block;
  width: 25px;
  height: 3px;
  margin: 5px auto;
  background-color: #000000;
  transition: 0.4s;
  border-radius: 2px;
}

/* Aktív állapot - X-re változás */
.navbar-toggler.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.navbar-toggler.active span:nth-child(2) {
  opacity: 0;
}

.navbar-toggler.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/*---*/

/* Navbar styles for mobile */
@media (max-width: 768px) {
    .header {
        margin-bottom: 10%;
        min-height: 90px;
    }

    .navbar-brand
    {
        left: 75%;
        top: 25px;
        transform: translateX(-50%);
        position: absolute;
    }

    .navbar
    {
    padding: 0 40px !important;
    }

    .navbar-nav {
        text-align: left;
        margin-top: 10px;
    }

    .right-menu {
        text-align: left;
        margin-top: 15px;
    }

    .right-menu .input-group {
        justify-content: left;
    }
}

/*----Contact------*/
body {
    width: 100%;
    min-height: 100vh;
    background-color: #424E59;
    color: white;
}

.container {
    width: 100%;
    min-height: 80vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 15px 8%;
}

.container .row {
    display: flex;
    justify-content: space-between;
    width: 100%;
    max-width: 1100px;
}

.row section.col {
    display: flex;
    flex-direction: column;
}

.row section.left {
    flex-basis: 35%;
    min-width: 320px;
    margin-right: 60px;
}

.row section.right {
    flex-basis: 60%;
    background-color: #424E59;
}

section.left .contactTitle h2 {
    position: relative;
    font-size: 1.75rem; /* 28px */
    color: #2e2e2e;
    display: inline-block;
    margin-bottom: 1.5rem; /* 25px */
}
/* Keyframes for animation */
@keyframes beforeLineGrow {
    0% {
        width: 0;
        opacity: 0;
    }
    100% {
        width: 50%;
        opacity: 1;
    }
}

@keyframes afterLineGrow {
    0% {
        width: 0;
        opacity: 0;
    }
    100% {
        width: 25%;
        opacity: 1;
    }
}

/* Animate lines */
section.left .contactTitle h2::before {
    content: "";
    position: absolute;
    width: 50%;
    height: 1px;
    background-color: #888;
    top: 120%;
    left: 0;
    opacity: 0;
    animation: beforeLineGrow 1s ease forwards;
    animation-delay: 0.5s;
}

section.left .contactTitle h2::after {
    content: "";
    position: absolute;
    width: 25%;
    height: 3px;
    background-color: #834e42;
    top: calc(120% - 1px);
    left: 0;
    opacity: 0;
    animation: afterLineGrow 1s ease forwards;
    animation-delay: 1s;
}

/* Optional hover animation */
section.left .contactTitle h2:hover::before {
    animation: beforeLineGrow 0.7s ease forwards;
    animation-delay: 0s;
}

section.left .contactTitle h2:hover::after {
    animation: afterLineGrow 0.7s ease forwards;
    animation-delay: 0.2s;
}

section.left .contactTitle p {
    font-size: 17px;
    color: #888888;
    line-height: 1.2;
    padding-bottom: 22px;
}
section.left .contactInfo {
    margin-bottom: 16px;
}
.contactInfo .iconGroup {
    display: flex;
    align-items: center;
    margin: 25px 0px;
}
.iconGroup .icon {
    width: 45px;
    height: 45px;
    border: 2px solid #834e42;
    border-radius: 50%;
    margin-right: 20px;
    position: relative;
    opacity: 0;
    transform: scale(0.5);
    transition: transform 0.7s ease, opacity 0.7s ease;
    animation: circleGrow 1s ease forwards;
    animation-delay: 0.3s;
}
.iconGroup .icon i {
    font-size: 20px;
    color: #000000;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    animation: iconFadeIn 1s ease forwards;
    animation-delay: 1s;
}

/* Keyframes for Circle and Icon */
@keyframes circleGrow {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes iconFadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

/* Hover effect for icons (Optional) */
.iconGroup .icon:hover {
    transform: scale(1.2);
    transition: transform 0.5s ease;
}

.iconGroup .details span {
    display: block;
    color: #888888;
    font-size: 18px;
}
.iconGroup .details span:nth-child(1) {
    text-transform: uppercase;
    color: #000000;
}

.map-container {
    border-radius: 15px;
    overflow: hidden;
    width: 100%;
    max-width: 100%; /* Make sure it doesn't exceed the width of its container */
    height: 0; /* Set initial height to 0 for responsiveness */
    padding-bottom: 56.25%; /* This creates a responsive aspect ratio (16:9) */
    position: relative; /* Positioning for the iframe */
}

.map-container iframe {
    position: absolute; /* Positioning to fill the parent */
    top: 0;
    left: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    border: 0; /* No border */
}

/*----End credit----*/
.end.end {
    text-align: center;
    background-color: #ffffff;
    padding: 20px;
    font-size: 0.875rem; /* 14px */
    color: #555;
}

.end.end a {
    color: #ac7269;
    text-decoration: none;
    font-weight: bold;
}

.end.end a:hover {
    text-decoration: underline;
}

/*-----footer------*/
.footer {
    background-color: #424E59;
    color: #fff;
    padding: 5px;
    text-align: center;
    position: fixed;
    bottom: 0;
    width: 100%;
    box-shadow: 0 4px 5px 0 rgba(0, 0, 50, 0.5);
}

.footer a {
    color: #fff;
    text-decoration: none;
}

/* Media Queries for Responsiveness */
@media (max-width: 768px) {
    .row section.left {
        margin-right: 30px; /* Adjust margin for smaller screens */
    }

    section.left .contactTitle h2 {
        font-size: 1.5rem; /* Smaller font size for smaller screens */
    }

    section.left .contactTitle p {
        font-size: 0.875rem; /* Smaller font size for smaller screens */
    }

    .contactInfo .iconGroup {
        margin: 1rem 0; /* Reduce margin for smaller screens */
    }

    .iconGroup .details span {
        font-size: 1rem; /* Smaller font size for smaller screens */
    }

    .footer {
        padding: 10px; /* Adjust footer padding for smaller screens */
    }
}

@media (max-width: 480px) {
    .container {
        padding: 10px 5%; /* Reduce padding for very small screens */
    }

    .row section.left {
        margin-right: 15px; /* Further adjust margin */
    }

    section.left .contactTitle h2 {
        font-size: 1.25rem; /* Even smaller font size */
    }

    section.left .contactTitle p {
        font-size: 0.75rem; /* Even smaller font size */
    }
}
