* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
  overflow-x: hidden;
}
body {
  font-family: "Montserrat", sans-serif;
  font-weight: 400;
  overflow-x: hidden;
}
h1, h2, h3, h4, h5, h6 {
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
}
#abc{
  text-align: start;
  font-size: 26px;
  color: #041C32;
  margin-bottom: 40px;
}
br {
  content: "";
  display: block;
  margin-bottom: 20px;
}
hr {
    width: 100%;
    max-width: 1440px;
    height: 1px;
    margin: 24px auto;
    background-color: #041C32;
}
.navbar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 40px;
  background-color: #08172E;
  top: 0;
  position: sticky;
  z-index: 1000;
  height: 85px;
  width: 100%;
}
.logo{
    justify-self: start;
}
.logo-img {
  height: 85px;
  width: auto;
}

.nav-links {
  display: flex;
  justify-self: center;
  margin: 0 auto;
  gap: 30px;
}

.nav-links a {
  color: #ffffff;
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.6px;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: #A9B4C0;
}

.nav-item {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  min-width: 300px;
  background-color: #0a2b4a;
  border-radius: 0;
  padding: 10px 0;
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.3);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
  z-index: 1001;
}

.nav-item:hover .dropdown-menu,
.nav-item:focus-within .dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.dropdown-menu a {
  display: block;
  font-size: 16px;
  padding: 10px 24px;
  white-space: nowrap;
  color: #ffffff;
}

.dropdown-menu a:hover {
  color: #A9B4C0;
  background-color: rgba(169, 180, 192, 0.12);
}

.lang-switch {
  justify-self: end;
  display: flex;
  align-items: center;
}

.lang-link {
  color: #ffffff;
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.5px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 6px;
  padding: 6px 14px;
  transition: color 0.3s, background-color 0.3s, border-color 0.3s;
}

.lang-link:hover {
  color: #041C32;
  background-color: #ffffff;
  border-color: #ffffff;
}

.nav-lang-mobile {
  display: none;
}

.nav-mobile-contact {
  display: none;
}

.toggle-btn {
  display: none;
  background: none;
  border: none;
  color: #ffffff;
  font-size: 24px;
  cursor: pointer;
  justify-self: end;
  position: relative;
  z-index: 1001;
}

.toggle-btn.active {
  color: #ffffff;
}

@media (max-width: 768px) {
  .navbar {
    grid-template-columns: 1fr auto;
  }

  .toggle-btn {
    display: block;
  }

  .nav-links {
    display: flex;
    flex-direction: column;
    gap: 15px;
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: 280px;
    max-width: 80%;
    background-color: #041C32;
    padding: 100px 30px 30px;
    text-align: left;
    box-shadow: -10px 0 25px rgba(0, 0, 0, 0.4);
    transform: translateX(100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
    z-index: 999;
  }

  .nav-links.active {
    transform: translateX(0);
  }

  .nav-links a {
    font-size: 17px;
    color: #ffffff;
  }

  .nav-links a:hover {
    color: #A9B4C0;
  }

  .dropdown-menu {
    display: none;
  }

  .lang-switch {
    display: none;
  }

  .nav-lang-mobile {
    display: block;
  }

  .nav-lang-mobile .lang-link {
    display: inline-block;
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.5);
  }

  .nav-lang-mobile .lang-link:hover {
    color: #041C32;
  }

  .nav-mobile-contact {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
  }

  .nav-mobile-contact a {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #cccccc;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
  }

  .nav-mobile-contact a:hover {
    color: #A9B4C0;
  }

  .nav-mobile-contact img {
    width: 22px;
    height: 22px;
    object-fit: contain;
    filter: brightness(0) invert(1);
    flex-shrink: 0;
  }
}
.banner {
  display: flex;
  width: 100%;
  margin: 0;
  padding: 0;
  height: calc(100vh - 85px);
  min-height: 420px;
  overflow: hidden;
}

.banner-img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
.abc{
    margin-bottom: 20px;
}
.about-me{
    margin: 100px;
}
.contact{
    margin: 100px;
}
.about-me-content {
  display: grid;
  grid-template-columns: 0.5fr 1fr;
  gap: 40px;
  align-items: start;
  margin-top: 50px;
}

.aboutme-text-container {
  display: grid;
  grid-template-columns: 1fr;
  row-gap: 20px;
  font-size: 19px;
  text-align: justify;
}

.profile-img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 8px;
}

@media (max-width: 992px) {
  .about-me-content {
    grid-template-columns: 1fr;
  }

  .about-me {
    margin: 60px 30px;
  }

  .contact {
    margin: 60px 30px;
  }
}

@media (max-width: 640px) {
  .about-me {
    margin: 40px 16px;
  }

  .aboutme-text-container {
    font-size: 16px;
    text-align: left;
  }

  .contact {
    margin: 40px 16px;
  }

  .contact-heading {
    margin-bottom: 40px;
  }

  .box {
    min-height: auto;
  }

  .fields-container {
    padding: 40px 16px;
  }
}

.fields-container {
  padding: 60px 40px;
}

.fields-title {
  text-align: center;
  font-size: 26px;
  color: #041C32;
  margin-bottom: 40px;
}

.fields-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.field-card {
  background-color: #f8f9fa;
  border: 1px solid #e0e0e0;
  border-radius: 0;
  padding: 36px 28px;
  aspect-ratio: 4 / 3;

  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;

  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.field-icon {
  display: flex;
  justify-content: center;
  margin-bottom: 16px;
}

.field-icon img {
  width: 48px;
  height: 48px;
}

.field-card h3 {
  color: #041C32;
  font-size: 22px;
  margin-bottom: 16px;
  font-weight: 600;
  text-align: center;
}

.field-card p {
  color: #555555;
  font-size: 15px;
  line-height: 1.6;
  margin: 0;
}

.field-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
  border-color: #041C32;
}

@media (max-width: 1024px) {
  .fields-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .fields-grid {
    grid-template-columns: 1fr;
  }

  .field-card {
    aspect-ratio: auto;
  }
}

.field-card .field-detail {
  display: none;
}

.field-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background-color: rgba(4, 28, 50, 0.65);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.field-modal-overlay.active {
  display: flex;
  opacity: 1;
}

.field-modal {
  background-color: #ffffff;
  border-radius: 16px;
  max-width: 640px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  padding: 48px 40px 40px;
  position: relative;
  transform: translateY(16px);
  transition: transform 0.25s ease;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

.field-modal-overlay.active .field-modal {
  transform: translateY(0);
}

.field-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 50%;
  background-color: #f8f9fa;
  color: #041C32;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.field-modal-close:hover {
  background-color: #041C32;
  color: #ffffff;
}

.field-modal-icon {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}

.field-modal-icon img {
  width: 56px;
  height: 56px;
}

.field-modal h3 {
  text-align: center;
  color: #041C32;
  font-size: 24px;
  margin-bottom: 20px;
}

.field-modal-body {
  color: #444444;
  font-size: 16px;
  line-height: 1.8;
}

.field-modal-body p {
  margin-bottom: 16px;
}

.field-modal-body p:last-child {
  margin-bottom: 0;
}

.field-modal-cta {
  display: block;
  text-align: center;
  margin-top: 28px;
  padding: 14px 24px;
  background-color: #041C32;
  color: #ffffff;
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  border-radius: 8px;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.field-modal-cta:hover {
  background-color: #0a2b4a;
  color: #ffffff;
}

@media (max-width: 640px) {
  .field-modal {
    padding: 40px 24px 28px;
  }
}

.contact-heading{
    text-align: center;
    font-size: 26px;
    color: #041C32;
    margin-bottom: 100px;
}
.contact-container{
    text-align: center;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 32px;
}
.box{
    background-color: #f8f9fa;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 36px 28px;
    min-height: 327.5px;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: inherit;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.box:hover{
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
    transform: translateY(-2px);
}
.box p{
    font-size: 1.1rem;
    margin-top: 10px;
    max-width: 100%;
    min-width: 0;
    overflow-wrap: anywhere;
}
.adress{
    justify-content: center;
}
.contact-form-container{
    margin-top: 80px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}
.form-heading{
    text-align: center;
    font-size: 23px;
    color: #041C32;
    margin-bottom: 12px;
}
.form-subtext{
    text-align: center;
    color: #555555;
    font-size: 16px;
    margin-bottom: 40px;
}
.contact-form{
    display: flex;
    flex-direction: column;
    gap: 24px;
    background-color: #f8f9fa;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 40px;
}
.form-row{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}
.form-group{
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.form-group label{
    font-size: 15px;
    font-weight: 600;
    color: #041C32;
}
.form-group input,
.form-group select,
.form-group textarea{
    width: 100%;
    min-width: 0;
    font-family: "Montserrat", sans-serif;
    font-size: 16px;
    padding: 12px 14px;
    border: 1px solid #d0d0d0;
    border-radius: 8px;
    background-color: #ffffff;
    color: #041C32;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.phone-input-group{
    display: flex;
    gap: 8px;
}
.phone-input-group select{
    flex: 0 0 110px;
    min-width: 0;
    cursor: pointer;
}
.phone-input-group input{
    flex: 1;
    min-width: 0;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus{
    outline: none;
    border-color: #041C32;
    box-shadow: 0 0 0 3px rgba(4, 28, 50, 0.15);
}
.form-group textarea{
    resize: vertical;
}
.form-submit-btn{
    justify-self: start;
    font-family: "Montserrat", sans-serif;
    font-size: 17px;
    font-weight: 600;
    color: #ffffff;
    background-color: #041C32;
    border: none;
    border-radius: 8px;
    padding: 14px 36px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}
.form-submit-btn:hover{
    background-color: #0a2b4a;
    color: #ffffff;
}
.form-status{
    font-size: 15px;
    color: #041C32;
    min-height: 20px;
}
.form-status.is-success{
    color: #1a7f37;
}
.form-status.is-error{
    color: #b00020;
}
.form-submit-btn:disabled{
    opacity: 0.6;
    cursor: not-allowed;
}
.form-group--hp{
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

@media (max-width: 640px) {
  .contact-form-container{
    margin-top: 50px;
  }
  .contact-form{
    padding: 24px;
  }
  .form-row{
    grid-template-columns: 1fr;
  }
  .phone-input-group{
    flex-direction: column;
  }
  .phone-input-group select{
    flex: 1 1 auto;
    width: 100%;
  }
}

.blog-empty {
  min-height: 50vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 100px 20px;
}
.blog-empty-title {
  font-size: 32px;
  color: #041C32;
  margin-bottom: 16px;
}
.blog-empty-text {
  font-size: 17px;
  color: #555555;
  max-width: 500px;
}

.footer{
    color: white;
    background-color: #1a1a1a;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    padding: 40px;
}
.footer-part{
    text-align: center;
}
.footer-part h2{
    font-size: 22px;
    font-weight: 600;
    letter-spacing: 1px;
    color: #ffffff;
    margin-bottom: 20px;
}
.footer-part .footertext{
    display: block;
    font-size: 17px;
    font-weight: normal;
    color: #cccccc;
    text-decoration: none;
    margin-bottom: 10px;
    transition: color 0.3s;
}
a.footertext:hover{
    color: #ffffff;
}
.footer > hr{
    grid-column: 1 / -1;
    width: 100%;
    border-color: #444;
    margin: 20px 0;
}
.footer > h2:last-child{
    grid-column: 1 / -1;
    text-align: center;
    font-size: 16px;
    font-weight: normal;
}

@media (max-width: 640px) {
  .footer{
    grid-template-columns: 1fr;
  }
}
