:root {
    --deep-blue: #0A2540;
    --turquoise: #1FB6AA;
    --sky: #9AD0EC;
    --bg: #eef4f7;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body{
    font-family: 'Playfair', serif;
    background: var(--bg);
    color: #111;
    line-height: 1.8;
}
.navbar {
    position: sticky;
    top: 0;
    z-index: 10;
    background: rgba(10,37,64,0.95);
    color: white;
    padding: 15px 10%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.navbar ul {
    list-style: none;
    display: flex;
    gap: 25px;
}
.navbar a {
    color: white;
    text-decoration: none;
    position: relative;
}
.navbar a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 0;
    height: 2px;
    background: var(--turquoise);
    transition: 0.5s ease;
}
.navbar a:hover::after {
    width: 100%;
}
.hero {
    padding: 100px 10%;
    background: linear-gradient(135deg, var(--deep-blue));
    color: white;
    animation: fadeDown 1.5s ease;
}
.hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
}
section {
    padding: 90px 10%;
}
h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    margin-bottom: 50px;
}
.city-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 35px;
}
.city-card {
    position: relative;
    height: 360px;
    border-radius: 22px;
    overflow: hidden;
    animation: fadeUp 1.2s ease;
}
.city-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    box-sizing: width 200p;
}
.city-card:hover .overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(10,37,64,0.85),
        rgba(10,37,64,0.2)
    );
    color: white;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end; 
}
.herat {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    background: linear-gradient(135deg, #e6f7f5, #ffffff);
    border-radius: 40px;
    animation: fadeUp 1.5s ease;
}
.herat h3 {
    font-family: 'Playfair Display', serif;
    font-size: 2.6rem;
    color: #3FA9F5;
    margin: 20px 0;
}
.herat-img {
    position: relative;
    width: 100%;
    height: 420px;
    border-radius: 36px;
    overflow: hidden;
    background: #0A2540;
  }
  .herat-img img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transform: scale(1.06);
    animation-duration: 10s;
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
  }
  .herat-img img:first-child {
    animation-name: heratFadeOne;
  }
  .herat-img img:last-child {
    animation-name: heratFadeTwo;
  }
  @keyframes heratFadeOne {
    0%   { opacity: 1; transform: scale(1); }
    40%  { opacity: 1; transform: scale(1.02); }
    55%  { opacity: 0; transform: scale(1.06); }
    100% { opacity: 0; }
  }
  
  @keyframes heratFadeTwo {
    0%   { opacity: 0; transform: scale(1.06); }
    40%  { opacity: 0; }
    55%  { opacity: 1; transform: scale(1); }
    100% { opacity: 1; }
  }
  .herat-img::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
      to top,
      rgba(10,37,64,0.45),
      rgba(10,37,64,0.08)
    );
    pointer-events: none;
  }
  .herat-img:hover img {
    animation-play-state: paused;
  }
.submit form {
max-width: 550px;
display: flex;
flex-direction: column;
gap: 20px;
justify-content: center;
align-items: center;
}
input, textarea {
    padding: 16px;
    border-radius: 12px;
    border: 1.5px solid #ccc;
}
button {
    padding: 15px;
    border-radius: 30px;
    border: none;
    background: var(--deep-blue);
    color: white;
    cursor: pointer;
    transition: 0.4s;
}
button:hover {
    background: var(--turquoise);
}
footer {
    text-align: center;
    padding: 40px;
    color: #555;
}


@keyframes fadeUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
  }
  
  @keyframes fadeDown {
    from { opacity: 0; transform: translateY(-40px); }
    to { opacity: 1; transform: translateY(0); }
  }
  
  /* RESPONSIVE */
  @media (max-width: 900px) {
    .herat {
      grid-template-columns: 1fr;
    }
  }