.m-logo {
  display: none;
  align-items: center;
  padding: 20px;
}

.menu-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  border-radius: 5px;
  color: #fff;
  cursor: pointer;
  width: 40px;
  height: 40px;
}

.displaynone {
  display: flex !important;
  animation: fade ease 0.3s;
}

@keyframes fade {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

@media screen and (min-width: 1200px) {
  .overlay {
    display: none !important;
  }
}

@media screen and (max-width: 1200px) {
  .m-logo {
    display: flex;
    align-items: center;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
  }

  .nav-container {
    position: fixed;
    justify-content: start;
    flex-direction: column;
    background: #0c2845;
    height: 100vh;
    width: 300px;
    top: 0;
    left: -150%;
    z-index: 9999;
    padding: 5px;
    transition: 0.3s ease all;
  }

  .nav-links-sec {
    display: flex;
    align-items: start;
    justify-content: start;
    width: 100%;
    padding: 5px;
    flex-direction: column;
  }

  .icon-row,
  .nav-links {
    display: flex;
    align-items: center;
    justify-content: start;
    flex-direction: column;
    width: 100%;
  }

  .active {
    border-bottom: 0px solid #000 !important;
  }

  .icon-row,
  .nav-links a {
    display: flex;
    align-items: center;
    justify-content: start;
    margin: 0;
    flex-direction: row;
    padding: 10px;
    width: 100%;
  }

  .nav-links a:hover {
    background: #00000050;
    border-bottom: 0px solid #000 !important;
  }

  .icon-link {
    display: flex !important;
  }

  .home-header {
    font-size: 48px;
  }
}

@media screen and (max-width: 1130px) {
  .box-slash {
    display: flex;
    align-items: center;
    width: 50%;
    flex-direction: column;
  }

  .box-settings {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 150px;
    width: 50%;
  }

  .trailer-content-box {
    top: 60px;
  }

  .section-t {
    top: 0 !important;
    margin: 10px !important;
  }

  .home-header {
    font-size: 42px;
  }

  .home-alt {
    font-size: 22px;
  }

  .swiper-slide {
    background-position: center;
    background-size: cover;
    width: 300px !important;
    height: 200px;
    box-shadow: 0 0 15px #00000020;
    margin: 32px 0;
    border-radius: 30px;
    overflow: hidden;
  }

  .swiper-slide img {
    display: block;
    width: 100%;
  }

  .card {
    position: relative;
  }

  .card-img img {
    width: 300px;
    height: 400px;
    background: #153f66;
  }

  .card-img2 img {
    width: 300px;
    height: 360px;
    background: #153f66;
  }
}

@media screen and (max-width: 1000px) {
  .contact-section {
    flex-direction: column-reverse;
  }

  .accordion-menu {
    padding: 10px;
  }
}

@media screen and (max-width: 950px) {
  .home-alt {
    font-size: 26px;
    width: 100%;
  }

  .faq-header {
    font-size: 14px;
    padding: 15px;
    padding-right: 50px;
  }

  .moment {
    display: none;
  }

  .home-header {
    font-size: 48px;
  }

  .home-alt {
    font-size: 24px;
  }

  .home-btn {
    position: absolute;
    bottom: 100px;
    left: 50%;
    transform: translate(-50%);
    padding: 30px 50px;
    font-size: 22px;
  }

  .home-section {
    height: 900px;
    overflow: hidden;
  }

  /* .home-section::after {
    background-size: 850px;
    background-position: bottom right;
  } */

  .footer-flex {
    display: flex;
    align-items: start;
    padding: 50px;
    flex-direction: column !important;
  }

  .footer-flex .logo {
    width: 200px;
    margin: auto;
    margin-bottom: 50px;
  }

  .footer-flex .logo img {
    width: 200px;
  }

  .flex-item {
    width: 500px;
    margin: auto;
  }

  .flex-item-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .fa-circle-chevron-down {
    display: block !important;
  }
}

@media screen and (max-width: 850px) {
  .trailer-content-box {
    top: 10px !important;
  }
}

@media screen and (max-width: 751px) {
  .trailer-content-box {
    top: 0px !important;
  }

  .mail-modal {
    width: 96%;
  }

  .header {
    font-size: 32px !important;
  }

  .box {
    width: 100%;
    margin: 10px;
  }

  .slashed-box-content {
    position: relative;
    color: #fff;
    padding: 20px 0;
    height: 200px;
    font-size: 18px;
    width: 200px;
  }

  .box-slash-img {
    height: 200px;
    width: 200px;
  }

  .box-slash-img img {
    width: 200px;
  }

  .trailer-content-box {
    top: -15px !important;
  }

  .section-t {
    width: 200px;
    padding: 9px 8px;
    text-align: center;
    height: 55px;
    font-size: 14px !important;
    margin: 15px !important;
  }

  .flex-item {
    width: 96%;
    margin: auto;
  }

  /* project sayfasi */
  .projects-title {
    font-size: 30px;
  }
}

@media screen and (max-width: 540px) {
  .trailer-content-box {
    top: 0px !important;
  }

  .mail-modal {
    width: 96%;
  }

  .header {
    font-size: 32px !important;
  }

  .box {
    width: 100%;
    margin: 10px;
  }

  .slashed-box-content {
    position: relative;
    color: #fff;
    padding: 20px 0;
    height: 200px;
    font-size: 18px;
    width: 200px;
  }

  .box-slash-img {
    display: flex;
    justify-content: space-around;
    left: 0px;
    height: 200px;
    width: 100%;
  }

  .box-slash-img img {
    width: 70%;
  }

  .slashed-box {
    display: flex;
    align-items: end;
    background: linear-gradient(to bottom, #143c62, transparent 62%);
    width: 90%;
    height: 200px;
    border-radius: 10px;
  }

  .mail-modal {
    padding: 20px;
  }

  .trailer-img-container {
    overflow: hidden;
  }

  .trailer-img-container img {
    width: 600px;
  }

  .mail-header {
    font-size: 24px;
  }

  .map iframe {
    width: 100%;
    height: 450px;
    border-radius: 15px;
    box-shadow: 0 0 15px #00000022;
  }

  .slashed-box-content {
    font-size: 16px;
  }

  .trailer-content-box {
    top: -15px !important;
  }

  .box-slash-img span {
    font-size: 42px;
    color: #fff;
    font-family: "Forum", cursive;
  }

  .section-t {
    word-wrap: break-word;
    width: 160px;
    padding: 9px !important;
    text-align: center;
    height: 55px;
    font-size: 12px !important;
    margin: 15px !important;
  }

  .space-between-section-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
  }

  .home-btn {
    padding: 18px 25px;
    font-size: 12px;
  }

  .home-header {
    font-size: 22px;
  }

  .home-section {
    height: 730px;
    overflow: hidden;
  }
}

@media screen and (max-width: 440px) {
  .trailer-content-box {
    top: 0px !important;
  }

  .mail-modal {
    width: 96%;
  }

  .header {
    font-size: 32px !important;
  }

  .box {
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
    margin: 10px;
  }

  .slashed-box-content {
    position: relative;
    color: #fff;
    padding: 20px 0;
    height: 200px;
    font-size: 14px !important;
    width: 90%;
  }

  .header {
    font-size: 20px !important;
  }

  .box-settings {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 70px;
  }

  .box-slash-img {
    display: flex;
    justify-content: space-around;
    left: 0px;
    height: 200px;
    width: 100%;
  }

  .box-content {
    font-size: 12px;
  }

  .box-title {
    font-size: 14px;
  }

  .box-icon {
    margin: auto;
  }

  .box-slash-img img {
    width: 70%;
  }

  .slashed-box {
    display: flex;
    align-items: end;
    background: linear-gradient(to bottom, #143c62, transparent 62%);
    width: 90%;
    height: 150px;
    border-radius: 10px;
  }

  .mail-modal {
    padding: 20px;
  }

  .trailer-img-container {
    overflow: hidden;
  }

  .trailer-img-container img {
    position: relative;
    left: -30%;
    width: 600px;
    object-position: left;
  }

  .mail-header {
    font-size: 24px;
  }

  .map iframe {
    width: 100%;
    height: 450px;
    border-radius: 15px;
    box-shadow: 0 0 15px #00000022;
  }

  .slashed-box-content {
    font-size: 16px;
  }

  .trailer-content-box {
    top: 10px !important;
  }

  .box-slash-img span {
    font-size: 42px;
    color: #fff;
    font-family: "Forum", cursive;
  }

  .section-t {
    word-wrap: break-word;
    width: 160px;
    padding: 9px !important;
    text-align: center;
    height: 55px;
    font-size: 12px !important;
    margin: 5px !important;
  }

  .space-between-section-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
  }
}

@media (max-width: 480px) {
  .hero-title h1 {
    font-size: 2rem;
  }

  .hero-text h2 {
    font-size: 1.5rem;
  }

  .hero-text p {
    font-size: 0.9rem;
  }

  .features-grid ul li {
    font-size: 0.9rem;
    text-align: left;
  }

  .checkmark {
    width: 20px;
    height: 20px;
    font-size: 0.8rem;
    line-height: 20px;
    color: #ffff;
  }

  .project-details .swiper {
    width: 100%;
    height: auto;
    border-radius: 30px;
    max-width: 400px;
  }

  .dynamic-page {
    padding: 10px;
    margin: 5px auto;
  }

  .dynamic-page-title {
    font-size: 1.8rem;
    margin-bottom: 20px;
  }

  .page-banner img {
    height: 250px;
    border-radius: 10px;
  }

  .dynamic-page-content p {
    font-size: 0.9rem;
    line-height: 1.5;
  }

  .dynamic-page-content h2 {
    font-size: 1.5rem;
    margin-bottom: 20px;
  }

  .dynamic-page-content img {
    margin: 10px auto;
    border-radius: 3px;
  }

  .dynamic-page-content a {
    font-size: 0.9rem;
  }

  /* project details page */

  .project-details .swiper {
    max-width: 100%;
    padding: 5px;
  }

  .swiper-slide {
    max-width: 100%;
  }

  .project-details {
    max-width: 100%;
  }

  .project-hero {
    padding: 5px;
    max-width: 100%;
    margin: 0 auto;
  }

  .hero-body {
    padding: 0px 20px;
  }

  .hero-body p {
    padding: 0px;
  }

  .hero-text {
    padding: 10px;
  }

  .hero-text ul{
    padding: 14px;
    text-align: left;
  }

}

@media (max-width: 768px) {
  .defaults-section .header{
    margin-top: 70px;
  }
  .hero-image img {
    max-width: 100%;
  }

  .hero-text {
    text-align: center;
  }

  .features-grid {
    flex-direction: column;
    gap: 10px;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .housing-grid {
    flex-direction: column;
    align-items: center;
  }

  .housing-card {
    width: 100%;
    max-width: 400px;
  }

  .hero-title h1 {
    margin-bottom: 23px;
    margin-top: 30px;
    font-size: 20px;
    padding: 10px;
  }

  .dynamic-page {
    padding: 15px;
    margin: 10px auto;
  }

  .dynamic-page-title {
    font-size: 2rem;
    margin-bottom: 30px;
  }

  .page-banner img {
    border-radius: 15px;
  }

  .dynamic-page-content p {
    font-size: 1rem;
    line-height: 1.6;
  }

  .dynamic-page-content h2 {
    font-size: 2rem;
    margin-bottom: 30px;
  }

  /* news */

  .news-card-list {
    grid-template-columns: 1fr;
  }

  .news-list-container .news-card {
    width: 100%;
    height: 240px;
  }

  .news-image-container {
    width: 100%;
    height: 300px;
    overflow: hidden;
  }

  .news-card h3 {
    font-size: 16px;
  }

  .news-main-image img {
    height: auto;
    object-fit: contain;
  }
  .news-content h2 {
    font-size: 20px;
  }
  .news-section {
    padding: 0 20px;
  }
  .news-main-image {
    height: auto;
    margin-bottom: 10px;
    border-radius: 7px;
    margin-top: 8px;
  }
  .news-content h2 {
    font-size: 15px;
  }
  .news-content p {
    font-size: 16px;
  }
  .news-articles {
    grid-template-columns: 1fr;
    padding: 0 20px;
    justify-content: center;
  }
  .article-item {
    width: 100%;
  }
  .article-item h3 {
    color: #222222;
    margin: 15px 15px 15px;
  }
  .news-content {
    padding: 12px;
  }

  .project-details {
    max-width: 100%;
  }

  .project-hero {
    padding: 5px;
    max-width: 100%;
    margin: 0 auto;
  }

  .hero-body {
    padding: 0px 20px;
  }

  .hero-body p {
    padding: 0px;
  }

  .hero-text {
    padding: 10px;
  }
}
