
/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  background: var(--gradient-bg);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.floating-shapes {
  position: absolute;
  width: 100%;
  height: 100%;
}

.shape {
  position: absolute;
  border-radius: 50%;
  background: var(--gradient-primary);
  opacity: 0.1;
  animation: float 6s ease-in-out infinite;
}

.shape-1 {
  width: 80px;
  height: 80px;
  top: 20%;
  left: 10%;
  animation-delay: 0s;
}

.shape-2 {
  width: 120px;
  height: 120px;
  top: 60%;
  right: 15%;
  animation-delay: 1s;
}

.shape-3 {
  width: 60px;
  height: 60px;
  bottom: 30%;
  left: 20%;
  animation-delay: 2s;
}

.shape-4 {
  width: 100px;
  height: 100px;
  top: 10%;
  right: 30%;
  animation-delay: 3s;
}

.shape-5 {
  width: 140px;
  height: 140px;
  bottom: 10%;
  right: 10%;
  animation-delay: 4s;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-20px) rotate(180deg);
  }
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 2;
}











.hero-title {
  font-size: 4rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 30px;
}

@media (max-width: 1024px) {
  .hero-container {
    gap: 40px;
  }

  .hero-title {
    font-size: 3.5rem;
  }
}



.title-line {
  display: block;
  animation: slideInUp 1s ease both;
}

@media screen and (max-width: 1100px) {
  .hero-title {
    font-size: 3rem;
    margin-bottom: 15px;
  }
}

@media screen and (max-width: 799px) {
  .hero-title {
    font-size: 2.3rem;
    margin-bottom: 15px;
  }
  
}
.title-line:nth-child(1) {
  animation-delay: 0.4s;
}

.title-line:nth-child(2) {
  animation-delay: 0.6s;
}

.gradient-text {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-bottom: 40px;
  line-height: 1.6;
  animation: slideInUp 1s ease 0.8s both;
}

/* Extra large screens (>=1500px) */
@media (min-width: 1500px) {
  .hero-subtitle {
    font-size: 1.6rem;
    margin-bottom: 50px;
  }
}

/* Large screens (1200px - 1499px) */
@media (max-width: 1499px) and (min-width: 1200px) {
  .hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 45px;
  }
}

/* Medium screens (992px - 1199px) */
@media (max-width: 1199px) and (min-width: 992px) {
  .hero-subtitle {
    font-size: 1.4rem;
    margin-bottom: 40px;
  }
}


@media (max-width: 991px) and (min-width: 799px) {
  .hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 35px;
  }
}

/* Extra small screens (576px - 767px) */
@media (max-width: 799px) {
  .hero-subtitle {
    font-size: 1.1rem;
    margin-bottom: 30px;
  }
}

/* Mobile screens (280px - 575px) */
@media (max-width: 575px) {
  .hero-subtitle {
    font-size: 1rem;
    margin-bottom: 25px;
    line-height: 1.4;
  }
}


@media (max-width: 499px) {
 

  .nav-container {
    padding: 0 15px;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }

  

  .btn-primary,
  .btn-secondary {
    padding: 14px 28px;
    font-size: 14px;
  }

  .service-card {
    padding: 30px 20px;
  }

   
  
}





.hero-stats {
  display: flex;
  gap: 40px;
  margin-bottom: 50px;
  animation: slideInUp 1s ease 1s both;
  justify-content: center;

}
@media  screen and (max-width: 499px) {
  .hero-stats {
    flex-direction: column;
    gap: 20px;
  }
}


/* Animations */
@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}





.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary-color);
  margin-bottom: 5px;
}
/* ≥1500px */
@media (min-width: 1500px) {
  .stat-number {
    font-size: 2.8rem;
  }
}

/* 1200px – 1499px */
@media (max-width: 1499px) {
  .stat-number {
    font-size: 2.3rem;
  }
}

/* 992px – 1199px */
@media (max-width: 1199px) {
  .stat-number {
    font-size: 2.1rem;
  }
}


@media (max-width: 991px) {
  .stat-number {
    font-size: 2rem;
  }
}

/* 576px – 767px */
@media (max-width: 799px) {
  .stat-number {
    font-size: 1.35rem;
  }
}

/* 280px – 575px */
@media (max-width: 575px) {
  .stat-number {
    font-size: 1.4rem;
    margin-bottom: 3px;
  }
}




.stat-label {
  font-size: 14px;
  color: var(--text-secondary);
  font-weight: 700;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  margin-bottom: 50px;
  animation: slideInUp 1s ease 1.2s both;
}

.btn-primary,
.btn-secondary {
  padding: 16px 32px;
  border-radius: 30px;
  font-size: 16px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 10px;
  position: relative;
  overflow: hidden;
}

.glow-btn {
  background: var(--gradient-primary);
  color: white;
  box-shadow: 0 10px 30px rgba(0, 122, 255, 0.3);
}

@media screen and (max-width: 1199px) {
  .glow-btn {
    padding: 18px 40px;
    font-size: 14px;
  }
  
}

@media screen and (max-width: 799px) {
  .glow-btn {
    padding: 14px 28px;
    font-size: 14px;
  }
  
}

.glow-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(0, 122, 255, 0.4);
}



.hero-features {
  display: flex;
  gap: 30px;
  animation: slideInUp 1s ease 1.4s both;
  margin-bottom: 5%;
}
@media screen and (max-width: 799px) {
  .hero-features {
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
  }
  
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: var(--text-secondary);
}


.feature-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--gradient-primary);
  color: white;
  border-radius: 20px;
  font-size: 17px;
  flex-shrink: 0;
}

/* Device Showcase */
.hero-visual {
  position: relative;
  animation: slideInRight 1s ease 0.6s both;
}



.device-card {
  position: absolute;
  transition: all 0.3s ease;
  animation: deviceFloat 4s ease-in-out infinite;
}

/* apple maxsulotlari va 3d  */
.mac-studio {
animation-delay: 0s;
top: -260px;
left: -90px;
}
@media (max-width: 1199px) {
  .mac-studio {
top: -350px;
left: -120px;
  }
}

@media (max-width: 999px) {
  .mac-studio {
top: -330px;
left: -10px;
  }
}
@media (max-width: 799px) {
  .mac-studio {
display: none;
  }
}
/* 280px – 575px */
@media (max-width: 699px) {
   .mac-studio {
display: none;
  }
}
@media (max-width: 499px) {
  .mac-studio {
display: inline-block;
top: -300px;
left: 225px;

  }
}
@media (max-width: 460px) {
  .mac-studio {
display: inline-block;
top: -300px;
left: 200px;

  }
}
@media (max-width: 439px) {
  .mac-studio {
display: inline-block;
top: -300px;
left: 180px;

  }
}
@media (max-width: 410px) {
  .mac-studio {
display: inline-block;
top: -300px;
left: 170px;

  }
}

@media (max-width: 399px) {
  .mac-studio {
display: inline-block;
top: -300px;
left: 150px;

  }
}


@media (max-width: 370px) {
  .mac-studio {
display: inline-block;
top: -300px;
left: 130px;

  }
}

@media (max-width: 360px) {
  .mac-studio {
display: none;


  }
}

@media (max-width: 325px) {
  .mac-studio {
display: none;
  }
}
.device-card__mac-studio-img{
height: 250px;
}
@media (max-width: 1199px) {
   .device-card__mac-studio-img{
height: 240px;
  }
}
@media (max-width: 999px) {
   .device-card__mac-studio-img{
height: 200px;
  }
}
@media (max-width: 799px) {
   .device-card__mac-studio-img{
height: 170px;
  }
}
/* 280px – 575px */
@media (max-width: 699px) {
   .device-card__mac-studio-img{
display: none;
  }
}

@media (max-width: 499px) {
   .device-card__mac-studio-img{
display: inline-block;
height: 145px;
  }
}

@media (max-width: 399px) {
   .device-card__mac-studio-img{
display: inline-block;
height: 130px;
  }
}

.iphone {
  position: absolute;
  animation-delay: 0s;
  top: -18%;      /* pixel emas, foiz bilan */
  left: 28%;      /* pixel emas, foiz bilan */
  transition: all 0.3s ease;
}

/* ≥1500px */
@media (min-width: 1500px) {
  .iphone {
    top: -280px;
    left: 400px;
  }
}

/* 1400px – 1499px */
@media (max-width: 1499px) {
  .iphone {
    top: -260px;
    left: 350px;
  }
}

/* 1200px – 1399px */
@media (max-width: 1399px) {
  .iphone {
    top: -280px;
    left: 320px;
  }
}

/* 1000px – 1199px */
@media (max-width: 1199px) {
  .iphone {
    top: -340px;
    left: 280px;
  }
}

/* 800px – 999px */
@media (max-width: 999px) {
  .iphone {
   display: none;
  }
}

/* 700px – 799px */
@media (max-width: 799px) {
  .iphone {
    top: -180px;
    left: 200px;
  }
}

/* 600px – 699px */
@media (max-width: 699px) {
  .iphone {
    top: -150px;
    left: 160px;
  }
}

/* 500px – 599px */
@media (max-width: 599px) {
  .iphone {
    top: -130px;
    left: 120px;
  }
}

/* 400px – 499px */
@media (max-width: 499px) {
  .iphone {
    top: -450px;
    left: 200px;
  }
}

/* 320px – 399px */
@media (max-width: 399px) {
  .iphone {
    top: -90px;
    left: 50px;
  }
}

/* 280px – 319px */
@media (max-width: 319px) {
  .iphone {
    top: -70px;
    left: 30px;
  }
}
.device-card__iphone-img {
  height: 300px; /* default desktop */
}

/* ≥1500px */
@media (min-width: 1500px) {
  .device-card__iphone-img { height: 320px; }
}

/* 1400px – 1499px */
@media (max-width: 1499px) {
  .device-card__iphone-img { height: 300px; }
}

/* 1200px – 1399px */
@media (max-width: 1399px) {
  .device-card__iphone-img { height: 280px; }
}

/* 1000px – 1199px */
@media (max-width: 1199px) {
  .device-card__iphone-img { height: 250px; }
}

/* 800px – 999px */
@media (max-width: 999px) {
  .device-card__iphone-img { height: 250px; }
}

/* 700px – 799px */
@media (max-width: 799px) {
  .device-card__iphone-img { display: none;}
}

/* 600px – 699px */
@media (max-width: 699px) {
  .device-card__iphone-img { height: 220px; }
}

/* 500px – 599px */
@media (max-width: 599px) {
  .device-card__iphone-img { height: 210px; }
}

/* 400px – 499px */
@media (max-width: 499px) {
  .device-card__iphone-img { height: 200px; }
}

/* 320px – 399px */
@media (max-width: 399px) {
  .device-card__iphone-img { height: 170px; }
}

/* 280px – 319px */
@media (max-width: 319px) {
  .device-card__iphone-img { height: 150px; }
}


.macbook {
  position: absolute;
  animation-delay: 0s;
  top: 2%;      /* default foiz */
  left: 25%;    /* default foiz */
  transition: all 0.3s ease;
}

/* ≥1500px */
@media (min-width: 1500px) {
  .macbook { top: 30px; left: 370px; }
}

/* 1400px – 1499px */
@media (max-width: 1499px) {
  .macbook { top: 28px; left: 340px; }
}

/* 1200px – 1399px */
@media (max-width: 1399px) {
  .macbook { top: 25px; left: 310px; }
}

/* 1000px – 1199px */
@media (max-width: 1199px) {
  .macbook { top: 10px; left: 230px; }
}

/* 800px – 999px */
@media (max-width: 999px) {
  .macbook { display: none;}
}

/* 700px – 799px */
@media (max-width: 799px) {
  .macbook { top: 18px; left: 200px; }
}

/* 600px – 699px */
@media (max-width: 699px) {
  .macbook { top: 15px; left: 160px; }
}

/* 500px – 599px */
@media (max-width: 599px) {
  .macbook { top: 12px; left: 120px; }
}

/* 400px – 499px */
@media (max-width: 499px) {
  .macbook { top: -415px; left: -80px; }
}

/* 320px – 399px */
@media (max-width: 399px) {
  .macbook { top: 8px; left: 50px; }
}

/* 280px – 319px */
@media (max-width: 319px) {
  .macbook { top: 6px; left: 30px; }
}


.device-card__macbook-img {
  height: 440px; /* default desktop */
}
/* ≥1500px */
@media (min-width: 1500px) {
  .device-card__macbook-img { height: 460px; }
}

/* 1400px – 1499px */
@media (max-width: 1499px) {
  .device-card__macbook-img { height: 440px; }
}

/* 1200px – 1399px */
@media (max-width: 1399px) {
  .device-card__macbook-img { height: 420px; }
}

/* 1000px – 1199px */
@media (max-width: 1199px) {
  .device-card__macbook-img { height: 400px; }
}

/* 800px – 999px */
@media (max-width: 999px) {
  .device-card__macbook-img { display: none; }
}

/* 700px – 799px */
@media (max-width: 799px) {
  .device-card__macbook-img { height: 340px; }
}

/* 600px – 699px */
@media (max-width: 699px) {
  .device-card__macbook-img { height: 295px; }
}

/* 500px – 599px */
@media (max-width: 599px) {
  .device-card__macbook-img { height: 280px; }
}

/* 400px – 499px */
@media (max-width: 499px) {
  .device-card__macbook-img { height: 210px; }
}

/* 320px – 399px */
@media (max-width: 399px) {
  .device-card__macbook-img { height: 260px; }
}

/* 280px – 319px */
@media (max-width: 319px) {
  .device-card__macbook-img { height: 240px; }
}



.ipad {
animation-delay: 0s;
top: 80px;
left: -100px;
}.device-card__ipad-img{
height: 270px;
}

@media screen and (max-width: 1199px) {
  .ipad{
    top: 90px;
    left: -140px;
  }
.device-card__ipad-img{
    height: 250px;
  }
}
 

@media screen and (max-width: 999px) {
  .ipad{
    top: 80px;
    left: 10px;
  }

}
@media screen and (max-width: 799px) {
  .ipad{
    top: 100px;
    left: 10px;
  }

}

@media screen and (max-width: 499px) {
  .ipad{
    display: none;
  }

 .device-card__ipad-img{
   display: none;
 }
}






.airpods {
animation-delay: 0s;
top: -80px;
left: 140px;
}
.device-card__airpods-img{
height: 270px;
}
@media screen and (max-width: 1199px) {
  .airpods {
    top: -130px;
    left: 90px;
  }
   .device-card__airpods-img{
height: 250px;
}
}
@media screen and (max-width: 999px) {
  .airpods {
    top: -150px;
    left: 10px;
  }
  .device-card__airpods-img{
height: 240px;
}
}
@media screen and (max-width: 799px) {
  .airpods {
   display:none;
  }
  .device-card__airpods-img{
display:none;
}
}
@media screen and (max-width: 699px) {
  .airpods {
    display: none;
  }
  .device-card__airpods-img{
display: none;
}
}

@media screen and (max-width: 499px) {
  .airpods {
    display: inline-block;
    top: -310px;
    left: -80px;
  }
 .device-card__airpods-img {
   display: inline-block;
    height: 150px;
    }
 }


@media screen and (max-width: 400px) {
   .airpods {
    display: inline-block;
    top: -310px;
    left: -100px;
  }
 .device-card__airpods-img {
   display: inline-block;
    height: 130px;
    }
}


@media screen and (max-width: 360px) {
   .airpods {
    display: none;
  }
 .device-card__airpods-img {
   display: none;
    }
}
.device-screen {
  width: 90%;
  height: 70%;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 10px;
  margin: 5% auto;
}

.device-button {
  width: 30px;
  height: 30px;
  background: var(--text-secondary);
  border-radius: 50%;
  margin: 0 auto;
}

.device-keyboard {
  width: 90%;
  height: 20%;
  background: var(--text-secondary);
  border-radius: 5px;
  margin: 0 auto;
}

.device-crown {
  width: 10px;
  height: 20px;
  background: var(--text-secondary);
  border-radius: 5px;
  position: absolute;
  right: -5px;
  top: 20px;
}

@keyframes deviceFloat {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}




/* Section Styles */
.section-header {
  text-align: center;
  margin-top: 5%;
}

.section-badge {
  display: inline-block;
  padding: 10px 20px;
  background: var(--bg-glass);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-color);
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 20px;
}

/* ≥1500px */
@media (min-width: 1500px) {
  .section-badge {
    font-size: 17px;
    padding: 14px 30px;
    margin-bottom: 26px;
  }
}

/* 1400px */
@media (max-width: 1399px) {
  .section-badge {
    font-size: 16px;
    padding: 13px 28px;
  }
}

/* 1200px */
@media (max-width: 1199px) {
  .section-badge {
    font-size: 15.5px;
    padding: 12px 26px;
  }
}

/* 1000px */
@media (max-width: 999px) {
  .section-badge {
    font-size: 15px;
    padding: 11px 24px;
  }
}

/* 800px */
@media (max-width: 799px) {
  .section-badge {
    font-size: 14.5px;
    padding: 10px 22px;
  }
}

/* 600px */
@media (max-width: 599px) {
  .section-badge {
    font-size: 14px;
    padding: 10px 20px;
  }
}

/* 500px */
@media (max-width: 499px) {
  .section-badge {
    font-size: 13.5px;
    padding: 9px 18px;
    margin-bottom: 18px;
  }
}

/* 400px */
@media (max-width: 399px) {
  .section-badge {
    font-size: 13px;
    padding: 8px 16px;
  }
}

/* 320px */
@media (max-width: 320px) {
  .section-badge {
    font-size: 12.5px;
    padding: 7px 14px;
  }
}

/* 280px */
@media (max-width: 280px) {
  .section-badge {
    font-size: 12px;
    padding: 6px 12px;
  }
}
.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--text-primary);
  line-height: 1.2;
}

/* ≥1500px */
@media (min-width: 1500px) {
  .section-title {
    font-size: 2.5rem;
    margin-bottom: 28px;
  }
}

/* 1400px */
@media (max-width: 1399px) {
  .section-title {
    font-size: 2.5rem;
  }
}

/* 1200px */
@media (max-width: 1199px) {
  .section-title {
    font-size: 2.5rem;
  }
}

/* 1000px */
@media (max-width: 999px) {
  .section-title {
    font-size: 2.4rem;
    margin-bottom: 20px;
  }
}

/* 800px */
@media (max-width: 799px) {
  .section-title {
    font-size: 2.3rem;
  }
}

/* 700px */
@media (max-width: 699px) {
  .section-title {
    font-size: 2.0rem;
  }
}

/* 600px */
@media (max-width: 599px) {
  .section-title {
    font-size: 1.9rem;
    line-height: 1.25;
  }
}

/* 500px */
@media (max-width: 499px) {
  .section-title {
    font-size: 1.7rem;
    margin-bottom: 18px;
  }
}

/* 400px */
@media (max-width: 399px) {
  .section-title {
    font-size: 1.4rem;
  }
}

/* 320px */
@media (max-width: 320px) {
  .section-title {
    font-size: 1.3rem;
  }
}

/* 280px */
@media (max-width: 280px) {
  .section-title {
    font-size: 1.4rem;
    line-height: 1.3;
  }
}


/* Services Section */
.services {
  padding: 120px 0;
  background: var(--bg-primary);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
  gap: 30px;
}


/* Responsive Design */
@media (max-width: 1024px) {

  .services-grid {
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  }
}


.service-card {
  background: var(--bg-tertiary);
  border-radius: 25px;
  padding: 40px 30px;
  box-shadow: 0 10px 30px var(--shadow-light);
  transition: all 0.4s ease;
  border: 1px solid var(--border-color);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--gradient-primary);
  opacity: 0.05;
  transition: left 0.4s ease;
}

.service-card:hover::before {
  left: 0;
}

.service-card:hover {
  transform: translateY(-15px);
  box-shadow: 0 25px 50px var(--shadow-medium);
}

.service-icon {
  position: relative;
  width: 80px;
  height: 80px;
  margin-bottom: 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: var(--primary-color);
}

.icon-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient-primary);
  opacity: 0.1;
  border-radius: 20px;
  transition: all 0.3s ease;
}

.service-card:hover .icon-bg {
  opacity: 0.2;
  transform: scale(1.1);
}

.service-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--text-primary);
}

.service-card p {
  color: var(--text-secondary);
  margin-bottom: 25px;
  line-height: 1.6;
}

.service-features {
  margin-bottom: 25px;
}

.feature {
  padding: 8px 0;
  color: var(--text-secondary);
  position: relative;
  padding-left: 20px;
  font-size: 14px;
}

.feature::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--success-color);
  font-weight: bold;
}

.service-price {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
  padding: 15px 20px;
  background: var(--bg-secondary);
  border-radius: 15px;
}

.price {
  font-weight: 700;
  color: var(--primary-color);
  font-size: 1.1rem;
}

.service-btn {
  width: 100%;
  padding: 15px 25px;
  background: var(--gradient-primary);
  color: white;
  border: none;
  border-radius: 15px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.service-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 122, 255, 0.3);
}








  
.feature-video {
  width: 100%;
  height: auto;
  display: block;
}





:root {
  --glass: rgba(255, 255, 255, 0.1);
  --glass-border: rgba(255, 255, 255, 0.2);
  --blur: blur(20px);
  --shift-x: 420px;
}

/* ================= CONTAINER ================= */

.carousel-container {
  width: 100%;
  min-height: 100svh;
  padding: clamp(16px, 4vw, 60px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: black;
  color: white;
  perspective: 2000px;
  overflow: hidden;
}

/* ================= STAGE ================= */

.carousel-stage {
  position: relative;
  width: 100%;
  height: clamp(420px, 70vh, 620px);
  display: flex;
  align-items: center;
  justify-content: center;
  transform-style: preserve-3d;
}

/* ================= CARD ================= */

.carousel-card {
  position: absolute;
  width: min(86vw, 380px);
  height: min(76vh, 520px);
  background: var(--glass);
  backdrop-filter: var(--blur);
  -webkit-backdrop-filter: var(--blur);
  border: 1px solid var(--glass-border);
  border-radius: 32px;
  overflow: hidden;
  transition: all 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
  cursor: pointer;
}

/* ================= STATES ================= */

.carousel-card.active {
  transform: translate3d(0, 0, 260px);
  z-index: 10;
  opacity: 1;
  box-shadow: 0 40px 80px rgba(0,0,0,.8);
}

.carousel-card.left {
  transform: translate3d(calc(var(--shift-x) * -1),0,-180px)
    rotateY(35deg) scale(.85);
  opacity: .5;
  z-index: 5;
}

.carousel-card.right {
  transform: translate3d(var(--shift-x),0,-180px)
    rotateY(-35deg) scale(.85);
  opacity: .5;
  z-index: 5;
}

.carousel-card.far-left {
  transform: translate3d(calc(var(--shift-x) * -1.8),0,-520px)
    rotateY(45deg) scale(.6);
  opacity: .2;
}

.carousel-card.far-right {
  transform: translate3d(calc(var(--shift-x) * 1.8),0,-520px)
    rotateY(-45deg) scale(.6);
  opacity: .2;
}

.carousel-card.hidden {
  transform: translate3d(0,0,-1000px) scale(.1);
  opacity: 0;
}

/* ================= CARD CONTENT ================= */

.card-image {
  height: 70%;
  background-size: cover;
  background-position: center;
  border-radius: 28px 28px 0 0;
}

.card-content {
  padding: 18px;

}

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

.card-header h3 {
  font-size: 16px;
  margin: 0;
}

.card-content p {
  font-size: 12px;
  font-style: italic;
  margin: 4px 0;
}

.card-footer {
  font-size: 12px;
}

.tag-pill {
  padding: 4px 12px;
  font-size: 11px;
  background: rgba(255,255,255,.1);
  border-radius: 6px;
}

/* ================= CONTROLS ================= */

.carousel-controls {
  position: sticky;
  bottom: 16px;
  margin-top: 28px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 8px 16px;
  border-radius: 100px;
  background: var(--glass);
  backdrop-filter: var(--blur);
  border: 1px solid var(--glass-border);
  z-index: 20;
}

.nav-btn {
  font-size: 2rem;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
}

/* ================= DOTS ================= */

.pagination-indicators {
  display: flex;
  gap: 8px;
}

.dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,.3);
  transition: .3s;
}

.dot.active {
  width: 18px;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 0 10px rgba(255,255,255,.5);
}


/* ================= RESPONSIVE TEXT & CARD ================= */

/* ---------------- 1500px ---------------- */
@media (max-width: 1500px) {
  :root { --shift-x: 380px; }
  .carousel-card { width: min(80vw, 360px); height: min(72vh, 500px); }
  .card-header h3 { font-size: 18px; }
  .card-content p { font-size: 13px; }
  .card-footer { font-size: 13px; }
  .tag-pill { font-size: 12px; padding: 5px 14px; }
  .nav-btn { font-size: 2rem; }
  .carousel-controls {
    margin-top: 24px;
  }
}

/* ---------------- 1300px ---------------- */
@media (max-width: 1300px) {
  :root { --shift-x: 340px; }
  .carousel-card { width: min(78vw, 340px); height: min(70vh, 480px); }
  .card-header h3 { font-size: 17px; }
  .card-content p { font-size: 12px; }
  .card-footer { font-size: 12px; }
  .tag-pill { font-size: 11px; padding: 4px 12px; }
  .carousel-controls {
    margin-top: 22px;
  }
}

/* ---------------- 1100px ---------------- */
@media (max-width: 1100px) {
  :root { --shift-x: 300px; }
  .carousel-card { width: min(76vw, 320px); height: min(68vh, 460px); }
  .card-header h3 { font-size: 16px; }
  .card-content p { font-size: 12px; }
  .card-footer { font-size: 12px; }
  .carousel-controls {
    margin-top: 20px;
  }
}

/* ---------------- 900px ---------------- */
@media (max-width: 900px) {
  :root { --shift-x: 260px; }
  .carousel-card { width: min(74vw, 300px); height: min(65vh, 440px); }
  .card-header h3 { font-size: 15px; }
  .card-content p { font-size: 11px; }
  .card-footer { font-size: 11px; }
  .tag-pill { font-size: 10px; padding: 3px 10px; }
  .nav-btn { font-size: 1.8rem; }
  .carousel-controls {
    margin-top: 18px;
  }
}

/* ---------------- 800px ---------------- */
@media (max-width: 800px) {
  :root { --shift-x: 220px; }
  .carousel-card { width: min(72vw, 280px); height: min(62vh, 420px); }
  .card-header h3 { font-size: 14px; }
  .card-content p { font-size: 11px; }
  .card-footer { font-size: 11px; }
  .carousel-controls {
    margin-top: 16px;
  }
}

/* ---------------- 700px ---------------- */
@media (max-width: 700px) {
  :root { --shift-x: 180px; }
  .carousel-card { width: min(70vw, 260px); height: min(60vh, 400px); }
  .card-header h3 { font-size: 14px; }
  .card-content p { font-size: 10px; }
  .card-footer { font-size: 10px; }
  .tag-pill { font-size: 9px; padding: 3px 8px; }
  .carousel-controls {
    margin-top: 6px;
  }
}

/* ---------------- 600px ---------------- */
@media (max-width: 600px) {
  :root { --shift-x: 150px; }
  .carousel-card { width: min(68vw, 240px); height: min(58vh, 380px); }
  .card-header h3 { font-size: 13px; }
  .card-content p { font-size: 10px; }
  .card-footer { font-size: 10px; }
  .nav-btn { font-size: 1.9rem; }
  .carousel-controls {
    margin-top: -20px;
  }
}

/* ---------------- 500px ---------------- */
@media (max-width: 500px) {
  :root { --shift-x: 120px; }
  .carousel-card { width: min(66vw, 220px); height: min(55vh, 360px); }
  .card-header h3 { font-size: 12px; }
  .card-content p { font-size: 9px; }
  .card-footer { font-size: 9px; }
  .tag-pill { font-size: 8px; padding: 2px 6px; }
  .nav-btn { font-size: 1.8rem; }
  .carousel-controls {
    margin-top: -25px;
  }
}

/* ---------------- 400px ---------------- */
@media (max-width: 400px) {
  :root { --shift-x: 90px; }
  .carousel-card { width: min(64vw, 200px); height: min(50vh, 340px); }
  .card-header h3 { font-size: 11px; }
  .card-content p { font-size: 9px; }
  .card-footer { font-size: 9px; }
  .nav-btn { font-size: 1.7rem; }
  .carousel-controls {
    margin-top: -40px;
  }
}

/* ---------------- 350px ---------------- */
@media (max-width: 350px) {
  :root { --shift-x: 70px; }
  .carousel-card { width: min(60vw, 180px); height: min(48vh, 320px); }
  .card-header h3 { font-size: 10px; }
  .card-content p { font-size: 8px; }
  .card-footer { font-size: 8px; }
  .tag-pill { font-size: 7px; padding: 2px 5px; }
  .nav-btn { font-size: 1.3rem; }
  .carousel-controls {
    margin-top: -48px;
  }
}

/* ---------------- 280px ---------------- */
@media (max-width: 280px) {
  :root { --shift-x: 50px; }
  .carousel-card { width: min(56vw, 160px); height: min(45vh, 300px); }
  .card-header h3 { font-size: 9px; }
  .card-content p { font-size: 7px; }
  .card-footer { font-size: 7px; }
  .tag-pill { font-size: 6px; padding: 1px 4px; }
  .nav-btn { font-size: 1.2rem; }
  .carousel-controls {
    margin-top: -50px;
  }
}








/* About Section */
.about {
  padding: 120px 0;
  background: var(--bg-secondary);
}

/* ≥1500px */
@media (min-width: 1500px) {
  .about {
    padding: 120px 0;
  }
}

/* 1400px */
@media (max-width: 1399px) {
  .about {
    padding: 120px 0;
  }
}

/* 1200px */
@media (max-width: 1199px) {
  .about {
    padding: 100px 0;
  }
}

/* 1000px */
@media (max-width: 999px) {
  .about {
    padding: 90px 0;
  }
}

/* 800px */
@media (max-width: 799px) {
  .about {
    padding: 80px 0;
  }
}

/* 700px */
@media (max-width: 699px) {
  .about {
    padding: 70px 0;
  }
}

/* 600px */
@media (max-width: 599px) {
  .about {
    padding: 60px 0;
  }
}

/* 500px */
@media (max-width: 499px) {
  .about {
    padding: 40px 0;
  }
}

/* 400px */
@media (max-width: 399px) {
  .about {
    padding: 30px 0;
  }
}

/* 320px */
@media (max-width: 320px) {
  .about {
    padding: 25px 0;
  }
}

/* 280px */
@media (max-width: 280px) {
  .about {
    padding: 40px 0;
  }
}


.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-description {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 40px;
  line-height: 1.7;
}

/* ≥1500px */
@media (min-width: 1500px) {
  .about-description {
    font-size: 1.35rem;
    margin-bottom: 52px;
    line-height: 1.75;
  }
}

/* 1400px */
@media (max-width: 1399px) {
  .about-description {
    font-size: 1.28rem;
  }
}

/* 1200px */
@media (max-width: 1199px) {
  .about-description {
    font-size: 1.22rem;
    margin-bottom: 46px;
  }
}

/* 1000px */
@media (max-width: 999px) {
  .about-description {
    font-size: 1.15rem;
    margin-bottom: 40px;
  }
}

/* 800px */
@media (max-width: 799px) {
  .about-description {
    font-size: 1.08rem;
    margin-bottom: 36px;
  }
}

/* 700px */
@media (max-width: 699px) {
  .about-description {
    font-size: 1.02rem;
  }
}

/* 600px */
@media (max-width: 599px) {
  .about-description {
    font-size: 0.98rem;
    margin-bottom: 32px;
    line-height: 1.65;
  }
}

/* 500px */
@media (max-width: 499px) {
  .about-description {
    font-size: 0.95rem;
    margin-bottom: 28px;
  }
}

/* 400px */
@media (max-width: 399px) {
  .about-description {
    font-size: 0.92rem;
  }
}

/* 320px */
@media (max-width: 320px) {
  .about-description {
    font-size: 0.9rem;
    line-height: 1.6;
  }
}

/* 280px */
@media (max-width: 280px) {
  .about-description {
    font-size: 0.88rem;
    margin-bottom: 24px;
  }
}


.about-feature {

display: flex;
  gap: 20px;

  padding: 25px;
  background: var(--bg-tertiary);
  border-radius: 22px;
  transition: all 0.3s ease;
}

/* ≥1500px */
@media (min-width: 1500px) {
  .about-feature {
    gap: 28px;
    padding: 35px;
  

  }
}

/* 1400px */
@media (max-width: 1399px) {
  .about-feature {
    gap: 26px;
    padding: 32px;

  }
}

/* 1200px */
@media (max-width: 1199px) {
  .about-feature {
    gap: 24px;
    padding: 30px;

  }
}

/* 1000px */
@media (max-width: 999px) {
  .about-feature {
    gap: 22px;
    padding: 28px;

  }
}


@media (max-width: 799px) {
  .about-feature {
    gap: 20px;
    padding: 25px;

    
  }
  .about-features {
  display: flex;
  justify-content: space-evenly;
  flex-wrap: wrap;
}
}

/* 700px */
@media (max-width: 699px) {
  .about-feature {
    gap: 15px;
    padding: 20px;


    width: 100%;
  }
}

/* 600px */
@media (max-width: 599px) {
  .about-feature {
    gap: 16px;
    padding: 20px;


  }
}

/* 500px */
@media (max-width: 499px) {
  .about-feature {


    padding: 18px;
 

  }

 
}

/* 400px */
@media (max-width: 399px) {
  .about-feature {
    gap: 12px;
    padding: 16px;
 
  
  }
}

/* 320px */
@media (max-width: 320px) {
  .about-feature {
    gap: 10px;
    padding: 14px;
 

  }
}

/* 280px */
@media (max-width: 280px) {
  .about-feature {
    gap: 8px;
    padding: 12px;


  }
}

.about-feature:hover {
  transform: translateX(10px);
  box-shadow: 0 10px 30px var(--shadow-light);
}


.about-feature .feature-icon {
width: 60px;
height: 60px;
background: var(--gradient-primary);
color: white;
border-radius: 20px ;
display: flex;
align-items: center;
justify-content: center;
font-size: 1.5rem;
flex-shrink: 0;
}
@media screen and (max-width: 899px) {
  .about-feature .feature-icon {
    width: 55px;
    height: 55px;
    font-size: 1.35rem;
  }
}

/* Удалён некорректный breakpoint (max-width: 5).
   Добавлены реальные мобильные breakpoint'ы */
@media screen and (max-width: 599px) {
  .about-feature .feature-icon {
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
    border-radius: 18px;
  }
}
@media screen and (max-width: 399px) {
  .about-feature .feature-icon {
    width: 44px;
    height: 44px;
    font-size: 1.05rem;

  }
}


.feature-content h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-primary);
}
@media (max-width: 499px) {
  .feature-content h4 {
    font-size: 1rem;
    margin-bottom: 5px;
  }
  
}

.feature-content p {
  color: var(--text-secondary);
  font-size: 14px;
}
@media (max-width: 499px) {
  .feature-content p {
    font-size: 13px;
  }
  
}
.certifications h4 {
  font-size: 1.3rem;
  margin-bottom: 20px;
  color: var(--text-primary);
  font-weight: 600;
}

.cert-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.cert-item {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 15px 20px;
  background: var(--bg-tertiary);
  border-radius: 15px;
  transition: all 0.3s ease;
}

.cert-item:hover {
  transform: translateX(5px);
}

.cert-item i {
  color: var(--success-color);
  font-size: 1.2rem;
}

/* Stats Container */
.stats-container {
  display: grid;

  gap: 25px;
}

/* ≥1500px */
@media (min-width: 1500px) {
  .stats-container {
  
    gap: 35px;
  }
}

/* 1400px – 1499px */
@media (max-width: 1499px) {
  .stats-container {
   
    gap: 32px;
  }
}

/* 1200px – 1399px */
@media (max-width: 1399px) {
  .stats-container {
    
    gap: 28px;
  }
}

/* 1000px – 1199px */
@media (max-width: 1199px) {
  .stats-container {
  
    gap: 25px;
  }
}

/* 800px – 999px */
@media (max-width: 999px) {
  .stats-container {
    gap: 20px;
  }
}

/* 700px – 799px */
@media (max-width: 799px) {
  .stats-container {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    justify-content: center;
  }
}

/* 600px – 699px */
@media (max-width: 699px) {
  .stats-container {
    gap: 16px;
  }
}

/* 500px – 599px */
@media (max-width: 599px) {
  .stats-container {
    gap: 14px;
  }
}

/* 400px – 499px */
@media (max-width: 499px) {
  .stats-container {
    gap: 12px;
  }
}

/* 320px – 399px */
@media (max-width: 399px) {
  .stats-container {
    gap: 10px;
  }
}

/* 280px – 319px */
@media (max-width: 319px) {
  .stats-container {

    gap: 8px;
  }
}
.stat-card {
  background: var(--bg-tertiary);
  padding: 30px 25px;
  border-radius: 20px;
  text-align: center;
  box-shadow: 0 10px 30px var(--shadow-light);
  transition: all 0.3s ease;
  border: 1px solid var(--border-color);

}

/* ≥1500px */
@media (min-width: 1500px) {
  .stat-card {
    padding: 44px 38px;
  border-radius: 20px;
    box-shadow: 0 18px 45px var(--shadow-light);
  }
}

/* 1400px */
@media (max-width: 1399px) {
  .stat-card {
    padding: 40px 34px;
  border-radius: 20px;
  }
}

/* 1200px */
@media (max-width: 1199px) {
  .stat-card {
    padding: 36px 32px;
  
  }
}

/* 1000px */
@media (max-width: 999px) {
  .stat-card {
    padding: 32px 28px;
   
  }
}

/* 800px */
@media (max-width: 799px) {
  .stat-card {
    padding: 28px 24px;
     width: 35%;
  }
}

/* 700px */
@media (max-width: 699px) {
  .stat-card {
    padding: 26px 22px;

  }
}

/* 600px */
@media (max-width: 599px) {
  .stat-card {
    padding: 24px 20px;

  }
}

/* 500px */
@media (max-width: 499px) {
  .stat-card {
    padding: 22px 18px;

  }
}

/* 400px */
@media (max-width: 399px) {
  .stat-card {
    padding: 20px 16px;

  }
}

/* 320px */
@media (max-width: 320px) {
  .stat-card {
    padding: 18px 14px;

  }
}

/* 280px */
@media (max-width: 280px) {
  .stat-card {
    padding: 16px 12px;


  }
}

.stat-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px var(--shadow-medium);
}

.stat-card .stat-icon {
  width: 60px;
  height: 60px;
  background: var(--gradient-primary);
  color: white;
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin: 0 auto 20px;
}



.stat-card .stat-label {
  font-size: 14px;
  color: var(--text-secondary);
  font-weight: 500;
}







/* ===============================
   iSupport IFRAME – BASE
   =============================== */

.section-iframe {
  width: 100%;
  background: #000;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 33px;
  overflow: hidden;
}

.section-iframe iframe {
  width: 100%;
  height: 1200px;
  border: none;
  border-radius: 33px;
padding: 50px;
}








/* ===============================
   992px – 1199px
   =============================== */
@media screen and (max-width: 1091px) {
  .section-iframe iframe {
    height: 1350px;
  }
}





/* ===============================
   480px – 599px
   =============================== */
@media screen and (max-width: 867px) {
  .section-iframe iframe {
    height: 1320px;
padding: 40px;
  }
}
@media screen and (max-width: 847px) {
  .section-iframe iframe {
    height: 950px;
padding: 40px;
  }
}
/* ===============================
   360px – 479px
   =============================== */
@media screen and (max-width: 676px) {
  .section-iframe iframe {
    height: 950px;
padding: 35px;
  }
}
@media screen and (max-width: 579px) {
  .section-iframe iframe {
    height: 960px;
padding: 30px;
  }
}

@media screen and (max-width: 540px) {
  .section-iframe iframe {
    height: 970px;
padding: 20px;
  }
}
@media screen and (max-width: 519px) {
  .section-iframe iframe {
    height: 1050px;
padding: 20px;
  }
}

@media screen and (max-width: 475px) {
  .section-iframe iframe {
    height: 1050px;
padding: 20px;
  }
}

@media screen and (max-width: 368px) {
  .section-iframe iframe {
    height: 1080px;
    padding: 10px;
  }
}
@media screen and (max-width: 327px) {
  .section-iframe iframe {
    height: 1080px;
    
  }
}
@media screen and (max-width: 317px) {
  .section-iframe iframe {
    height: 1080px;
    
  }
}
@media screen and (max-width: 293px) {
  .section-iframe iframe {
    height: 1085px;
    
  }
}

@media screen {
  
}



/* Gallery Section */
.gallery {
  padding: 120px 0;
  background: var(--bg-primary);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  margin-bottom: 60px;
  
}

.gallery-item {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px var(--shadow-light);
  transition: all 0.4s ease;
  cursor: pointer;
background: var(--bg-glass);
}
@media (max-width: 799px) {
  .gallery-item{
    height: 260px;
    width: 45%;
  }

  .gallery-grid {
    display: flex;
    justify-content: space-evenly;
  }

  .gallery {
  padding: 20px 0;
 
}


}
@media (max-width: 499px) {
  .gallery-item{
    height: 200px;
    width: 45%;
  }
 }
.gallery-item:hover {
  box-shadow: 0 25px 50px var(--shadow-medium);
}


.gallery-item .imgimgimg {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: transform 0.4s ease;
}




.imgimgimg{
 transform: scale(1);
 margin-top: 7px;
}
.imgimgimg:hover{
      transform: scale(0.8)
}

.gallery-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  color: white;
  padding: 30px 25px 25px;
  transform: translateY(100%);
  transition: transform 0.4s ease;
}

.gallery-item:hover .gallery-overlay {
  transform: translateY(0);
}

.gallery-overlay h4 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.gallery-overlay p {
  font-size: 14px;
  opacity: 0.9;
}

@media (max-width: 799px) {
 .gallery-overlay h4 {
  font-size: 1rem;
  font-weight: 600;

}

.gallery-overlay p {
  font-size: 13px;
  opacity: 0.9;
}
}

@media screen and (max-width: 499px) {
.gallery-overlay h4 {
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 8px;
 }
 .gallery-overlay p {
  font-size: 11px;
  opacity: 0.9;
}
}
.gallery-filters {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 12px 24px;
  border: 2px solid var(--border-color);
  background: transparent;
  color: var(--text-secondary);
  border-radius: 25px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 500;
}

.filter-btn.active,
.filter-btn:hover {
  background: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
  transform: translateY(-2px);
}




.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
}

  @media screen and (max-width: 799px) {
  .contact-content {
   grid-template-columns: 1fr;
    gap: 40px;
    display: flex;
    flex-direction: column;
    padding-block: 20px;
   

  }
   
}


.contact-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
}

@media screen and (max-width: 867px) {
  .contact-info {
    gap: 15px;
  }
}
@media screen and (max-width: 799px) {
  .contact-info {
    
    flex-wrap: wrap;
    justify-content: space-evenly;
    flex-wrap: wrap;
  }
  
}


.contact-card {
  display: flex;
  gap: 40px;
  padding: 30px 0px 30px 30px;
  background: var(--bg-tertiary);
  border-radius: 23px;
  box-shadow: 0 10px 30px var(--shadow-light);
  transition: all 0.3s ease;
  border: 1px solid var(--border-color);
  width: 95%;
}
@media screen and (max-width:1199px) {
 .contact-card {
  gap: 20px;
  width: 100%;
 }

}
@media screen and (max-width:1091px) {
  .contact-card {
    gap: 15px;
    width: 100%;
  }
  
}

@media screen and (max-width:599px) {
  .contact-card {

 padding: 20px 0px 20px 10px; 
  }
  
}

.contact-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px var(--shadow-medium);
}

.contact-icon {
  width: 60px;
  height: 60px;
  background: var(--gradient-primary);
  color: white;
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}
@media screen and (max-width: 899px) {
  .contact-icon {
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
  }
  
}

@media screen and (max-width: 599px) {
  .contact-icon {
    width: 40px;
    height: 40px;
    font-size: 1.1rem;
  }
  
}
.contact-details {
 width: 50%;
 
}
  @media screen and (max-width: 999px) {
 
  .contact-details {
 width: 70%;
}
  
} 
@media screen and (max-width:799px) {
  .contact-details {
 
    width: 40%;
  }
  
}
@media screen and (max-width:599px) {
  .contact-details {
 
    width: 60%;
  }
  
}
@media screen and (max-width:399px) {
  .contact-details {
 
    width: 75%;
  }
  
}
.contact-details h4 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--text-primary);
}


.contact-details span {
  color: var(--text-secondary);
  margin-bottom: 5px;
  line-height: 1.5;
}


 .span-evenly{
    display: flex;
    justify-content: space-between;
    
  }

  .span-evenly_time{
    margin-left: 15%;
  }
  
  @media screen and (max-width: 1091px) {
    .span-evenly_time{
      margin: 0%;
    }
    
  }


@media screen and (max-width: 799px) {
 
  .contact-details h4 {
    font-size: 1rem;
    margin-bottom: 8px;
  } 
  
}
@media screen and (max-width: 599px) {
 
  .contact-details h4 {
    font-size: 0.9rem;
    margin-bottom: 8px;
  } 
  
}
.contact-map {
  background: var(--bg-tertiary);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px var(--shadow-light);

}

.map-container {
  height: 400px;
  position: relative;
}

.map-placeholder {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}
@media screen and (max-width: 799px) {
  .map-container {

    height: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;

  }
  
  .map-placeholder {
    height: 50%;
  
  }
  .contact-map {
    height: 50%;
  }
}


.map-placeholder i {
  font-size: 3rem;
  margin-bottom: 20px;
  color: var(--primary-color);
}

.map-placeholder h4 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.social-links {
  text-align: center;
}

.social-links h4 {
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 30px;
  color: var(--text-primary);
}
@media screen and (max-width:799px) {
  .social-links h4 {
    font-size: 1.7rem;
    margin-bottom: 20px;
  }
  
}
@media screen and (max-width:599px)   {
  .social-links h4 {
    font-size: 1.5rem;
    margin-bottom: 15px;
  }
  
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.social-icon {
  width: 60px;
  height: 60px;
  background: var(--bg-tertiary);
  color: var(--text-secondary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px var(--shadow-light);
   margin-bottom: 8%;
}


@media  (max-width: 499px) {
  .social-icon {
    width: 45px;
    height: 45px;
    font-size: 1.5rem;
  }
  
}

.social-icon:hover {
  background: var(--primary-color);
  color: white;
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 122, 255, 0.3);
}



@media (max-width: 799px) {


  .nav-menu {
    position: fixed;
    left: -100%;
    top: 80px;
    flex-direction: column;
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    width: 100%;
    text-align: center;
    transition: 0.3s;
    box-shadow: 0 10px 27px var(--shadow-light);
    padding: 30px 0;
    gap: 20px;
  }

  .nav-menu.active {
    left: 0;
  }

  .nav-controls {
    gap: 15px;
  }

  .hero-container {
    grid-template-columns: 1fr;
    gap: 20px;
    text-align: center;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  

  .hero-buttons {
    justify-content: center;
    flex-wrap: wrap;
  }}

  @media (max-width: 999px) {

  .services-grid {
    grid-template-columns: 1fr;
  }

  .about-content {
    grid-template-columns: 1fr;
    gap: 50px;
  }

 

 

 
  

  

 

  .section-subtitle {
    font-size: 1.1rem;
  }
}








































/* Services Section Premium Styles */
.services {
    padding: 100px 0;
    background: var(--bg-primary);
    position: relative;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.service-card-premium {
    position: relative;
    border-radius: 24px;
    padding: 10px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--border-color);
    background: var(--bg-secondary);
}

.service-card-premium:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px var(--shadow-medium);
    border-color: var(--primary-color);
}

.card-glass {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.05) 100%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 1;
}

.service-card-premium .card-content {
    position: relative;
    z-index: 2;
}

.service-icon-wrapper {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 25px;
    color: white;
    box-shadow: 0 10px 20px rgba(0, 122, 255, 0.2);
}

.service-card-premium h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
}

.service-card-premium p {
    color: var(--text-secondary);
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 25px;
}

.service-learn-more {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: var(--primary-color);
    font-size: 15px;
}

.service-learn-more i {
    transition: transform 0.3s ease;
}

.service-card-premium:hover .service-learn-more i {
    transform: translateX(5px);
}

/* Service Modal Styles */
.service-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 200;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.service-modal.active {
    display: flex;
}

.modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.modal-content-wrapper {
    position: relative;
    width: 100%;
    max-width: 600px;
    background: var(--bg-primary);
    border-radius: 32px;
    padding: 50px;
    z-index: 2;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-color);
    animation: modalAppear 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes modalAppear {
    from { opacity: 0; transform: scale(0.9) translateY(20px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}

.modal-close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-secondary);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.modal-close-btn:hover {
    background: var(--accent-color);
    color: white;
    transform: rotate(90deg);
}

.modal-step {
    display: none;
}

.modal-step.active {
    display: block;
    animation: stepFade 0.4s ease;
}

@keyframes stepFade {
    from { opacity: 0; transform: translateX(10px); }
    to { opacity: 1; transform: translateX(0); }
}

.modal-step h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 35px;
    text-align: center;
}

.modal-options-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.modal-option-item {
    background: var(--bg-secondary);
    padding: 30px 20px;
    border-radius: 24px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.modal-option-item:hover {
    background: var(--bg-primary);
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px var(--shadow-light);
}

.option-icon-box {
    width: 60px;
    height: 60px;
    background: var(--bg-primary);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 24px;
    color: var(--primary-color);
    box-shadow: 0 5px 15px var(--shadow-light);
}

.modal-option-item h4 {
    font-size: 18px;
    margin-bottom: 10px;
}

.modal-option-item p {
    font-size: 14px;
    color: var(--text-secondary);
}

/* Master Profile Styles */
.master-profile {
    text-align: center;
}

.master-avatar-circle {
    width: 100px;
    height: 100px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 45px;
    color: white;
    box-shadow: 0 15px 30px rgba(0, 122, 255, 0.3);
}

.master-info-text h3 {
    font-size: 26px;
    margin-bottom: 8px;
}

.service-tag {
    display: inline-block;
    padding: 6px 16px;
    background: var(--primary-color);
    color: white;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
}

.master-bio {
    color: var(--text-secondary);
    font-size: 16px;
    margin-bottom: 35px;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.master-contact-actions {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 30px;
}

.master-action-btn {
    padding: 16px;
    border-radius: 16px;
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: all 0.3s ease;
}

.phone-btn {
    background: var(--primary-color);
    color: white;
}

.telegram-btn {
    background: #0088cc;
    color: white;
}

.master-action-btn:hover {
    transform: scale(1.02);
    filter: brightness(1.1);
}

.modal-back-btn {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
  
    transition: color 0.3s ease;
}

.modal-back-btn:hover {
    color: var(--primary-color);
}

/* Master Navigation Styles */
.master-navigation {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
}

.master-nav-btn {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    padding: 10px 16px;
    border-radius: 12px;
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
}

.master-nav-btn:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

.master-counter {
    font-weight: 600;
    color: var(--text-secondary);
    min-width: 50px;
    text-align: center;
}

@media (max-width: 600px) {
    .modal-content-wrapper {
        padding: 40px 25px;
    }
    .modal-options-grid {
        grid-template-columns: 1fr;
    }
    .modal-step h2 {
        font-size: 22px;
    }
}
