/* Video Section Modern Design */
.video-modern {
    padding: 120px 0;
    background: linear-gradient(135deg, #0c1222 0%, #16213e 100%);
    position: relative;
    overflow: hidden;
}
#flash-container {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10000;
    width: 90%;
    max-width: 400px;
}

.flash-message {
    padding: 15px 25px;
    border-radius: 10px;
    color: white;
    font-weight: 600;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    margin-bottom: 10px;
    animation: slideDown 0.5s ease-out forwards;
}

/* Muvaffaqiyatli yuborilganda yashil fon */
.success {
    background: linear-gradient(45deg, #2ecc71, #27ae60);
}

/* Xatolik bo'lganda qizil fon */
.danger {
    background: linear-gradient(45deg, #e74c3c, #c0392b);
}

@keyframes slideDown {
    from { transform: translate(-50%, -100px); opacity: 0; }
    to { transform: translate(-50%, 0); opacity: 1; }
}
.video-text-content p {
    color: #fff;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.video-text-content h4 {
    color: #fff;
    font-size: 32px;
    font-weight: 800;
    line-height: 1.3;
}

.accent-line {
    width: 60px;
    height: 4px;
    background: #f5a425;
    margin: 20px 0;
}

/* Video Card Styling */
.video-card-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.4);
    transition: all 0.5s ease;
}

.video-container {
    position: relative;
    height: 350px;
    background: #000;
    cursor: pointer;
}

.preview-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.6;
    transition: 0.5s;
}

.video-over {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.2);
    transition: 0.5s;
}

.play-btn {
    width: 60px;
    height: 60px;
    background: #f5a425;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 20px;
    margin-bottom: 15px;
    box-shadow: 0 0 20px rgba(245, 164, 37, 0.5);
    transition: 0.4s;
}

.video-overlay h5 {
    color: #fff;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Hover Animations */
.video-card-wrapper:hover {
    transform: translateY(-15px) scale(1.03);
    box-shadow: 0 25px 50px rgba(245, 164, 37, 0.15);
}

.video-card-wrapper:hover .preview-video {
    opacity: 1;
}

.video-card-wrapper:hover .video-overlay {
    background: transparent;
}

.video-card-wrapper:hover .play-btn {
    transform: scale(1.2);
    background: #fff;
    color: #f5a425;
}
html.lb-disable-scrolling {
  overflow: hidden;
  /* Position fixed required for iOS. Just putting overflow: hidden; on the body is not enough. */
  position: fixed;
  height: 100vh;
  width: 100vw;
}

.lightboxOverlay {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 9999;
  background-color: black;
  filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=95);
  opacity: 0.95;
  display: none;
}

.lightbox {
  position: absolute;
  left: 0;
  width: 100%;
  z-index: 10000;
  text-align: center;
  line-height: 0;
  font-weight: normal;
}

.lightbox .lb-image {
  display: block;
  height: auto;
  max-width: inherit;
  max-height: none;
  border-radius: 5px;
}

.lightbox a img {
  border: none;
}

.lb-outerContainer {
  position: relative;
  zoom: 1;
  width: 250px;
  height: 250px;
  margin: 0 auto;
  border-radius: 4px;
  background-color: white;
}

.lb-outerContainer:after {
  content: "";
  display: table;
  clear: both;
}

.lb-loader {
  position: absolute;
  top: 43%;
  left: 0;
  height: 25%;
  width: 100%;
  text-align: center;
  line-height: 0;
}

.lb-cancel {
  display: block;
  width: 32px;
  height: 32px;
  margin: 0 auto;
  background: url(../images/loading.gif) no-repeat;
}

.lb-nav {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  z-index: 10;
}

.lb-container > .nav {
  left: 0;
}

.lb-nav a {
  outline: none;
  background-image: url('data:image/gif;base64,R0lGODlhAQABAPAAAP///wAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw==');
}

.lb-prev, .lb-next {
  height: 100%;
  cursor: pointer;
  display: block;
}

.lb-nav a.lb-prev {
  width: 34%;
  left: 0;
  float: left;
  background: url(../images/prev.png) left 48% no-repeat;
  filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=0);
  opacity: 0;
  -webkit-transition: opacity 0.6s;
  -moz-transition: opacity 0.6s;
  -o-transition: opacity 0.6s;
  transition: opacity 0.6s;
}

.lb-nav a.lb-prev:hover {
  filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=100);
  opacity: 1;
}

.lb-nav a.lb-next {
  width: 64%;
  right: 0;
  float: right;
  background: url(../images/next.png) right 48% no-repeat;
  filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=0);
  opacity: 0;
  -webkit-transition: opacity 0.6s;
  -moz-transition: opacity 0.6s;
  -o-transition: opacity 0.6s;
  transition: opacity 0.6s;
}

.lb-nav a.lb-next:hover {
  filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=100);
  opacity: 1;
}

.lb-dataContainer {
  margin: 0 auto;
  padding-top: 5px;
  zoom: 1;
  width: 100%;
  border-bottom-left-radius: 4px;
  border-bottom-right-radius: 4px;
}

.lb-dataContainer:after {
  content: "";
  display: table;
  clear: both;
}

.lb-data {
  padding: 0 4px;
  color: #ccc;
}

.lb-data .lb-details {
  margin-top: 10px;
  width: 85%;
  float: left;
  text-align: left;
  line-height: 1.1em;
}

.lb-data .lb-caption {
  font-size: 13px;
  font-weight: bold;
  line-height: 1em;
}

.lb-data .lb-caption a {
  color: #4ae;
}

.lb-data .lb-number {
  display: block;
  clear: left;
  padding-bottom: 1em;
  font-size: 12px;
  color: #999999;
}

.lb-data .lb-close {
  display: block;
  float: right;
  width: 30px;
  height: 30px;
  margin-top: 15px;
  background: url(../images/close.png) top right no-repeat;
  text-align: right;
  outline: none;
  filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=70);
  opacity: 0.7;
  -webkit-transition: opacity 0.2s;
  -moz-transition: opacity 0.2s;
  -o-transition: opacity 0.2s;
  transition: opacity 0.2s;
}

.lb-data .lb-close:hover {
  cursor: pointer;
  filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=100);
  opacity: 1;
}
/* Asosiy fon va konteyner */
.contact-section {
    background-color: #0b111e; /* To'q ko'k fon */
    padding: 60px 20px;
    display: flex;
    justify-content: center;
}

.contact-container {
    display: flex; /* Yonma-yon qilish uchun */
    gap: 30px;    /* Forma va xarita orasidagi masofa */
    max-width: 1100px;
    width: 100%;
}

.form-box, .map-box {
    flex: 1; /* Ikkala tomonga teng joy berish */
    min-width: 300px;
}

/* Forma elementlari stili */
.input-row {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.input-row input, .input-row select {
    flex: 1;
    background: rgba(255, 255, 255, 0.08); /* Shaffofroq rang */
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 15px;
    color: #e5940e;
    outline: none;
    font-size: 14px;
}

.full-width input {
    width: 100%;
}

#send-btn {
    background-color: #fca311;
    color: white;
    border: none;
    padding: 15px 35px;
    font-weight: bold;
    cursor: pointer;
    text-transform: uppercase;
    transition: 0.3s;
}

#send-btn:hover {
    background-color: #e5940e;
}

/* Telefon uchun moslashuvchanlik (Responsive) */
@media (max-width: 850px) {
    .contact-container {
        flex-direction: column; /* Ekran kichiklashsa ustma-ust tushadi */
    }
}
/* Sarlavha dizayni */
.modern-title {
    font-size: 36px;
    font-weight: 800;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.line-dec {
    width: 60px;
    height: 5px;
    background: linear-gradient(45deg, #f5a425, #ff5722);
    margin: 20px auto;
    border-radius: 5px;
}

/* Karta dizayni */
.course-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    margin: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.course-card:hover {
    transform: translateY(-10px) scale(1.02);
    border: 1px solid #f5a425;
    box-shadow: 0 15px 40px rgba(245, 164, 37, 0.2);
}

/* Rasm qismi */
.image-wrapper {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.course-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.6s;
}

.course-card:hover .image-wrapper img {
    transform: scale(1.1);
}

.overlay-gradient {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
}

/* Matn qismi */
.course-info {
    padding: 25px;
    text-align: left;
}

.category {
    background: #f5a425;
    color: #fff;
    font-size: 11px;
    padding: 3px 12px;
    border-radius: 20px;
    text-transform: uppercase;
    font-weight: 700;
}

.course-info h4 {
    margin: 15px 0 10px;
    font-weight: 700;
    color: #fff;
    font-size: 20px;
}

.course-info p {
    color: #bbb;
    font-size: 14px;
    line-height: 1.5;
}

/* Pastki qism (Author & Button) */
.course-footer {
    margin-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 15px;
}

.author-img {
    width: 40px !important;
    height: 40px !important;
    border-radius: 50%;
    border: 2px solid #f5a425;
}

.btn-enroll {
    background: transparent;
    border: 2px solid #f5a425;
    color: #f5a425;
    padding: 6px 18px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: 0.3s;
}

.btn-enroll:hover {
    background: #f5a425;
    color: #fff;
    box-shadow: 0 5px 15px rgba(245, 164, 37, 0.4);
}
/* Nima uchun bizni tanlashadi - Yangi Dizayn */
.why-us-modern {
    padding: 100px 0;
    background: #0c1222; /* Qorong'u fon */
}

.modern-heading {
    color: #fff;
    font-weight: 800;
    text-transform: uppercase;
}

.heading-line {
    width: 80px;
    height: 4px;
    background: #f5a425;
    margin: 15px auto;
}

/* Karta uslubi */
.benefit-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 40px 30px;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    height: 100%;
    transition: all 0.4s ease;
    z-index: 1;
}

.benefit-card:hover {
    background: rgba(255, 255, 255, 0.07);
    transform: translateY(-10px);
    border-color: #f5a425;
}

.benefit-card.active {
    border-color: #f5a425;
    background: rgba(245, 164, 37, 0.05);
}

/* Ikonka dizayni */
.benefit-icon {
    width: 70px;
    height: 70px;
    background: #f5a425;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    font-size: 30px;
    color: #fff;
    box-shadow: 0 10px 20px rgba(245, 164, 37, 0.3);
}

.benefit-card h3 {
    color: #fff;
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 15px;
}

.benefit-card p {
    color: #adb5bd;
    font-size: 15px;
    line-height: 1.6;
}

/* Orqa fondagi katta ikonka (Dekoratsiya uchun) */
.card-bg-icon {
    position: absolute;
    bottom: -20px;
    right: -10px;
    font-size: 100px;
    color: rgba(255, 255, 255, 0.02);
    z-index: -1;
    transform: rotate(-15deg);
    transition: 0.4s;
}

.benefit-card:hover .card-bg-icon {
    color: rgba(245, 164, 37, 0.1);
    transform: rotate(0deg) scale(1.1);
}