* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Nunito', sans-serif;
    color: #fff;
    background: #1a1a2e;
    line-height: 1.6;
}
h1{
    font-size: 48px;
}
.hero__content span{
font-size: 20px;
text-transform: uppercase;
font-weight: 700;
}
.primary__btn {
    display: inline-block;
    font-size: 15px;
    font-family: "Play", sans-serif;
    font-weight: 700;
    padding: 14px 32px 12px;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    z-index: 1;
  }
  .primary__btn:hover:before {
    height: 100%;
    width: 100%;
  }
  .primary__btn:hover:after {
    height: 100%;
    width: 100%;
  }
  .primary__btn:before {
    position: absolute;
    left: 0;
    top: 0;
    height: 30px;
    width: 30px;
    border-left: 2px solid #00bfe7;
    border-top: 2px solid #00bfe7;
    content: "";
    z-index: -1;
    -webkit-transition: all, 0.7s;
    -o-transition: all, 0.7s;
    transition: all, 0.7s;
  }
  .primary__btn:after {
    position: absolute;
    right: 0;
    bottom: 0;
    height: 30px;
    width: 30px;
    border-right: 2px solid #00bfe7;
    border-bottom: 2px solid #00bfe7;
    content: "";
    z-index: -1;
    -webkit-transition: all, 0.7s;
    -o-transition: all, 0.7s;
    transition: all, 0.7s;
  }
  
  .header {
    position: fixed;
    background: rgba(0, 0, 0, 0.8);
    padding: 10px 20px;
    /* position: relative; */
    width: 100%;
    z-index: 10;
}
.header .container{
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.container{
  max-width: 1170px;
  padding: 0 15px;
  margin: 0 auto;
}
.logo img {
    height: 40px;
    width: auto;
}
.logo {
    display: flex;
    align-items: center;
    text-transform: uppercase;
    gap: 10px;
    font-weight: 700;
    font-size: 20px;
color: #fff;
}
.social a{
    color: #ccc;
}
.nav-links {
    list-style: none;
    display: flex;
    align-items: center;
}

.nav-links li {
    margin-left: 20px;
}

.nav-links a {
    text-decoration: none;
    color: #fff;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 16px;
    transition: color 0.3s;
}
sub{
    text-align: start;
    display: block;
text-transform: uppercase;
font-weight: 700;
}
.hero__content{
    text-align: center;
    opacity: 0!important;
}
.services__item p{
    text-align: start;
    font-weight: 300;
    margin-bottom: 30px;
}
h2{
    margin: 0;
    font-size: 36px;
    font-weight: 700;
    width: fit-content;
    position: relative;
    text-transform: uppercase;
    padding-bottom: 36px;
}
h2:after {
    position: absolute;
    left: 0;
    bottom: 0;
    height: 5px;
    width: 70px;
    background: #00bfe7;
    content: "";
  }
.hero__content p {
    font-size: 18px;
    margin-bottom: 40px;
}
.hero__content.swiper-slide-active{
    opacity: 1!important;
}
.hero__wrap{
    margin: auto;
    display: block;
    padding: 80px 0 40px;
    max-width: 600px;
}
.nav-links a:hover {
    color: #00d4ff;
}

.hero {
    position: relative;
    height: 600px;
    overflow: hidden;
}

.hero-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
}

.hero-content {
    text-align: center;
    padding: 20px;
    background: rgba(0, 0, 0, 0.5);
}

.hero-content h1 {
    font-size: 48px;
    margin-bottom: 10px;
}

.hero-content p {
    font-size: 18px;
}

.services, .portfolio, .stats, .team, .blog, .call-to-action {
    padding: 80px 0px;
    text-align: center;
}

.services h2, .portfolio h2, .stats h2, .team h2, .blog h2, .call-to-action h2 {
    font-size: 32px;
    margin-bottom: 30px;
    color: #00d4ff;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.service__item {
   
    padding: 20px;
    border-radius: 10px;
}
.service__item i{
    position: relative;
    color: #fff;
    padding: 20px;
    margin-bottom: 40px;
    font-size: 42px;

}
.service__item i ~ p{
    text-align: center;
}
.service__item  i:after {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    border: 2px solid #00bfe7;
    content: "";
    -webkit-transition: all, 0.5s;
    -o-transition: all, 0.5s;
    transition: all, 0.5s;
  } 

.service__item img {
    width: 50px;
    height: auto;
    margin-bottom: 10px;
}

.service__item h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.btn-more {
 font-weight: 700;

    color: #a0a0a0;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    display: inline-block;
    margin-top: 20px;
}

.portfolio__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0px;
    
    margin: 0 auto;
}

.portfolio__grid img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 0px;
}

.stats {
    background: #16213e;
    padding: 40px 20px;
}

.stat__item {
    display: inline-block;
    margin: 0 20px;
    text-align: center;
}

.stat__item span {
    font-size: 14px;
    color: #ccc;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    max-width: 1200px;
    margin: 0 auto;
}

.team-grid img {
    width: 100%;
    height: auto;
    border-radius: 5px;
}

.blog__slider {
    max-width: 100%;
    margin: 20px auto;
}

.blog__item {
  
    padding: 20px;
    border-radius: 10px;
    text-align: center;
}

.blog__item h3 {
    font-size: 28px;
    margin-bottom: 10px;
}

.call-to-action {
    background: linear-gradient(to right, #16213e, #1a1a2e);
    padding: 60px 20px;
}

.call-to-action img {
    width: 200px;
    height: auto;
    margin: 20px 0;
}

footer {
    background: #0f0f1a;
    padding: 20px;
    text-align: center;
}

.footer__content {
    display: flex;
    justify-content: space-around;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.footer__section h3 {
    margin-bottom: 10px;
}

.footer__section ul {
    list-style: none;
}

.footer__section ul li {
    margin: 5px 0;
}

.footer__section a {
    color: #ccc;
    text-decoration: none;
}
.social{
    display: flex;
    gap: 10px;
    align-items: center;
    font-size: 18px;
    color: #fff;
}
a{
    text-decoration: none;
}
.footer__section.social a {
    color: #ccc;
    margin: 0 10px;
    font-size: 20px;
    
}

.footer__section form {
    display: flex;
    flex-direction: column;
}

.footer__section input {
    padding: 10px;
    margin-bottom: 10px;
    border: none;
    border-radius: 5px;
}

.footer__section button {
    background: #00d4ff;
    color: #fff;
    padding: 10px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.copyright {
    margin-top: 20px;
    font-size: 12px;
    color: #ccc;
}

.copyright a {
    color: #00d4ff;
}


.services__items{
    display: flex;
    gap: 50px;

}
.services__item{
    flex: 1;
}
.portfolio__grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-template-rows: repeat(2, 200px);
    gap: 0px;
 
    width: 100%;
  }
  /* Расположение как на скрине */
  .portfolio__grid a:nth-child(1) {
    grid-column: 1 / 3;
    grid-row: 1 / 2;
  }
  .portfolio__grid a:nth-child(2) {
    grid-column: 3 / 4;
    grid-row: 1 / 2;
  }
  .portfolio__grid a:nth-child(3) {
    grid-column: 4 / 5;
    grid-row: 1 / 2;
  }
  .portfolio__grid a:nth-child(4) {
    grid-column: 5 / 7;
    grid-row: 1 / 3;
  }
  .portfolio__grid a:nth-child(5) {
    grid-column: 1 / 2;
    grid-row: 2 / 3;
  }
  .portfolio__grid a:nth-child(6) {
    grid-column: 2 / 4;
    grid-row: 2 / 3;
  }
  .portfolio__grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: pointer;
    border-radius: 0px;
    box-shadow: 0 0 12px rgba(0,0,0,0.5);
    transition: transform 0.3s ease;
  }
  .portfolio__grid img:hover {
    transform: scale(1.05);
  }
  .stats{
    padding: 80px 0;
  }
  .stat__item{
    display: flex;
    flex: 1;
    max-width: 300px;
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }
  .stat__item i{
font-size: 48px;
  }
  .stat__item h3{
    font-size: 36px;
    font-weight: 700;
  }
  .stat__item span{
    display: block;
  }
  .stats .container{
    display: flex;
    justify-content: center;
  }
  .team__items{
    display: flex;
    gap: 50px;
  }
  .team__items{
    display: flex;
    gap: 50px;
  }
  .team__item{
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
  }
  .team__grid{
    display: grid;
    gap: 30px;
    grid-template-columns: repeat(2, 1fr);
  }
  .team__item h2 + p{
    margin-bottom: 40px;
  }
  .blog__items{
    display: flex;
    gap: 50px;
  }
  .blog__item {
width: 44%;
  }
 .call-to-action{
    object-fit: cover;
    position: relative;
 }
  .call-to-action img{
    width: 100%;
    top: 0;
    z-index: 0;
    left: 0;
    margin: 0;
    height: 100%;
    position: absolute;
    object-fit: cover;
  }
  .call-to-action h2,
  .call-to-action p{
    position: relative;
    z-index: 2;
  }
  .footer__top {
    display: flex;
    align-items: center;
    gap: 30px;
    justify-content: space-between;
  }
  .footer__content{
    display: flex;
 padding-top: 10px;
 border-top: 1px solid #fff;
 margin-top: 20px;
  }
  .footer__section{
    flex: 1;
  }
  footer {
    background: #0f0f1a;
    padding: 50px 0;
    text-align: center;
}
.services__item-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* 2 колонки */
  grid-auto-rows: 200px; /* высота ячеек, можно адаптировать */
  gap: 15px;
  max-width: 800px;
  margin: 0 auto;
}

.services__item-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 0px;
}


.services__item-grid img:first-child {
  grid-row: span 2;
}
.hero__wrap > h1 {
  font-size: 48px;
  position: relative;
  text-align: center;
  z-index: 1;
}
.portfolio__gallery{
  display: grid;
  gap: 0;
  grid-template-columns: repeat(3,1fr);
}
.portfolio__gallery img{
  height: 400px;
  width: 100%;
  display: block;
  object-fit: cover;
}
.services.serv .services-grid {
  display: grid
;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}
.services.serv .call-to-action{
  margin-top: 50px;
}
.services.serv .call-to-action h3{
  font-size: 48px;
  text-align: center;
  text-transform: uppercase;
}
.services.serv  .primary__btn{
background-color: #00bfe7;
}
.services.serv .call-to-action p{
  text-transform: uppercase;
  
}
.services.serv .service__item {
  display: flex
;
  padding: 20px;
  border-radius: 10px;
  flex-direction: column;
  align-items: flex-start;
}
.services.serv .service__item p{
  text-align: start;
}
.contact__form {
  max-width: 500px;
  margin: 0px auto;
  padding: 30px;

  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  font-family: 'Segoe UI', sans-serif;
}

.contact__form h2 {
  text-align: center;
  margin-bottom: 20px;
  color: #f7f7f7;
}

.contact__form input,
.contact__form textarea {
  width: 100%;
  background-color: transparent!important;
  padding: 12px 15px;
  margin-bottom: 15px;
  color: #f7f7f7;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 16px;
  transition: border-color 0.3s ease;
}

.contact__form input:focus,
.contact__form textarea:focus {
  outline: none;
  border-color: #2980b9;
}

.contact__form button {
  width: 100%;
  padding: 12px;
  background-color: #2980b9;
  color: white;
  font-size: 16px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.contact__form button:hover {
  background-color: #1a6a9b;
}
.contact__items{
  display: flex;
  gap: 30px;
  align-items: center;
  margin-bottom: 60px;
}
.contact__item{
  flex: 1;
  display: flex;
  align-items: center;
  gap: 15px;
}
.contact{
  padding: 80px 0;
}
.contact__item img {
  width: 100%;
  object-fit: cover;
  height: 600px;
  border-radius: 20px;
}
.contact__item i{
  font-size: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 90px;
  background-color: #ffffff54;
  min-width: 90px;
  height: 90px;
  border-radius: 100%;

}
.blog.blogs .blog__items{
display: grid;
grid-template-columns: repeat(3,1fr);
}
.blog.blogs .blog__item{
  padding: 20px;
  width: 100%;
  border: 0;
  flex: 1;
  border: 0.5px solid #0f0f1a;
}
.blog.blogs .blog__item h3{
font-size: 24px;
text-align: start;
}
.blog.blogs .blog__item p{
  text-align: start;
color: #adadad;
font-size: 16px;
font-weight: 300;
}
.blog.blogs .blog__item a{
  width: 100%;
  text-align: start;
}
.blog-item__section {
 
  color: #dcd3ec;
  font-family: 'Segoe UI', sans-serif;
  padding: 80px 15px;
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.6;
  font-size: 16px;
}

.blog-item__box {
  border: 1px solid #aaa;
  padding: 20px 20px 40px;
  margin: 30px 0 ;
  position: relative;
  background-color: transparent;
}

.blog-item__text {
  font-size: 18px;
  font-style: italic;
  color: #ccc;
  margin-bottom: 10px;
}

.blog-item__author {
  color: #fff;
  font-size: 14px;
  font-weight: bold;
}

.blog-item__icon {
  position: absolute;
  bottom: 10px;
  right: 0;
  line-height: 10%;
  font-size: 98px;
  color: #00e6ff;
}
.tags {
  margin-top: 30px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.tag-label {
  color: #fff;
  font-size: 14px;
}

.tag {
  background: #3b2e54;
  color: #fff;
  padding: 6px 14px;
  border-radius: 4px;
  font-size: 14px;
}
.hero.blog .hero__wrap > h1 {
  font-size: 35px;
  line-height: 111%;
  position: relative;
  text-align: center;
  z-index: 1;
}

.blog-item__section p{
  margin-bottom: 20px;
}
.blog-item__section img{
  width: 100%;
  height: 400px;
  object-fit: cover;
  margin: 20px 0;
}
.blog-item__section ol,
.blog-item__section ul{
  padding-left: 20px;
}
.blog-item__section ol li,
.blog-item__section ul li{
  margin-bottom: 10px;
  font-weight: 300;
  font-size: 15px;
}
.blog-item__section.terms h2{
  padding-bottom: 10px;
  margin-bottom: 20px;
}
@media screen and (max-width:768px) {
  .nav-links {
    list-style: none;
    display: flex
;
    align-items: center;
    flex-wrap: wrap;
}

.header .container {
  display: flex
;
padding: 0;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  flex-direction: column;
}
.header {
  position: fixed;
  background: rgba(0, 0, 0, 0.8);
  padding: 10px 0px;
  /* position: relative; */
  width: 100%;
  z-index: 10;
}
.services__items {
  display: flex
;
  gap: 50px;
  flex-direction: column;
}
.hero {
  position: relative;
  height: 100vh;
  padding: 80px 0 20px;
  overflow: hidden;
}
.portfolio__grid {
  display: grid
;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, 124px);
  gap: 0px;
  width: 100%;
}
.team__items {
  display: flex
;
  gap: 50px;
  flex-direction: column-reverse;
}
.stats .container {
  display: flex
;
row-gap: 30px;
  justify-content: center;
  flex-wrap: wrap;
}
.blog__items {
  display: flex
;
  gap: 50px;
  flex-direction: column;
}
.blog__item {
  width: 100%;
}
.team__grid {
  display: grid
;
  gap: 30px;
  grid-template-columns: repeat(1, 1fr);
}
.footer__top {
  display: flex
;
  align-items: center;
  gap: 30px;
  justify-content: space-between;
  flex-wrap: wrap;
}
.footer__content {
  display: flex
;
  padding-top: 10px;
  border-top: 1px solid #fff;
  margin-top: 20px;
  flex-wrap: wrap;
  justify-content: flex-start;
}
.footer__section {
  flex: 100%;
}
.nav-links a {
  text-decoration: none;
  color: #fff;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 14px;
  transition: color 0.3s;
}
.nav-links li {
  margin-left: 10px;
}
.portfolio__gallery {
  display: grid
;
  gap: 0;
  grid-template-columns: repeat(2, 1fr);
}
.portfolio__gallery img {
  height: 250px;
  width: 100%;
  display: block;
  object-fit: cover;
}
.services.serv .services-grid {
  display: grid
;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}
.contact__items {
  display: flex
;
  gap: 30px;
  align-items: center;
  margin-bottom: 60px;
  flex-wrap: wrap;
}
.contact__items {
  display: flex
;
  gap: 30px;
  align-items: center;
  margin-bottom: 60px;
  flex-wrap: wrap;
  flex-direction: column;
}
.contact__form {
  max-width: 500px;
  margin: 0px auto;
  padding: 0;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  font-family: 'Segoe UI', sans-serif;
}
.blog.blogs .blog__items {
  display: grid
;
  grid-template-columns: repeat(1, 1fr);
}
.blog-item__section {
  color: #dcd3ec;
  font-family: 'Segoe UI', sans-serif;
  padding: 147px 15px;
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.6;
  font-size: 16px;
}
}
.cook__banner {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  max-width: 600px;
  margin: auto;
  background: #2c3e50;
  color: #fff;
  padding: 15px 20px;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  z-index: 9999;
  font-family: 'Segoe UI', sans-serif;
}

.cook__banner p {
  margin: 0;
  font-size: 14px;
  flex: 1;
}

.cook__banner a {
  color: #00e6ff;
  text-decoration: underline;
}

.cook__banner button {
  background: #00e6ff;
  border: none;
  padding: 8px 16px;
  border-radius: 6px;
  color: #000;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s ease;
}

.cook__banner button:hover {
  background: #00c7dd;
}
.faq__item {
  border-bottom: 1px solid #444;
  padding: 15px 0;
}

.faq__question {
  background: none;
  border: none;
  color: #fff;
  font-size: 18px;
  font-weight: bold;
  width: 100%;
  text-align: left;
  cursor: pointer;
  position: relative;
  padding-right: 20px;
}

.faq__question::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 0;
  font-size: 22px;
  transition: transform 0.3s;
}

.faq__item.active .faq__question::after {
  content: '-';
}

.faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.faq__item.active .faq__answer {
  max-height: 500px;
  margin-top: 10px;
}
.faq{
  padding: 80px 0;
}
