
.carousel-item img {
  /* object-fit: cover; */
  background-position: bottom center;
}
.carousel-item {
  height: 90vh;              /* ekranyň 90% */
  min-height: 500px;         /* gaty gysga bolmasyn */
  background-size: cover;    /* surat doly doldursyn */
  background-position: center center; /* MERKEZ + AŞAK hem görünýär */
  background-repeat: no-repeat;
  position: relative;
}
@media (max-width: 768px) {
  .carousel-item {
    height: 70vh;
    background-position: center bottom;
  }

  .carousel-caption h1 {
    font-size: 1.6rem;
  }
}


.carousel-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 1;
}

.carousel-caption {
  position: relative;
  z-index: 2;
}


.carousel-image-1 {
  background: url('../img/image1.jpg');
  background-size: cover;
}

.carousel-image-2 {
  background: url('../img/image2.jpg');
  background-size: cover;
}
.carousel-image-3 {
  background: url('../img/image3.jpg');
  background-size: cover;
}
.glass-box {
    background: rgba(255, 255, 255, 0.25); /* aýna */
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    border-radius: 16px;
    padding: 40px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #0f172a;
}
.card-body{
    height: 180px !important;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

#bg-img-math{
    background-image: url('../img/math-dark.jpg');
    background-size: cover;
    background-position: center;
}

#bg-img-physics{
    background-image: url('../img/physics-dark.jpg');
    background-size: cover;
    background-position: center;
}
#bg-img-inf{
    background-image: url('../img/inf-dark.jpg');
    background-size: cover;
    background-position: center;
}
#bg-img-bio{
    background-image: url('../img/biology-dark.jpg');
    background-size: cover;
    background-position: center;
}
#bg-img-chemistry{
    background-image: url('../img/chemistry-dark.jpg');
    background-size: cover;
    background-position: center;
}
#bg-img-geography{
    background-image: url('../img/geog-dark.jpg');
    background-size: cover;
    background-position: center;
}
#bg-img-turkmen{
    background-image: url('../img/turkmen.png');
    background-size: cover;
    background-position: center;
}
#bg-img-russian{
    background-image: url('../img/russian.png');
    background-size: cover;
    background-position: center;
}
#bg-img-english{
    background-image: url('../img/english.jpg');
    background-size: cover;
    background-position: center;
}
#bg-img-dtaryh{
    background-image: url('../img/dunya-taryhy.jpg');
    background-size: cover;
    background-position: center;
}
#bg-img-Ttaryh{
    background-image: url('../img/turkmen-taryhy.jpg');
    background-size: cover;
    background-position: center;
}
#bg-img-edebiyat{
    background-image: url('../img/edebiyat.jpg');
    background-size: cover;
    background-position: center;
}
.bg-overlay::before{
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.55);
    border-radius: 0.375rem;
}
.bg-overlay *{
    position: relative;
    z-index: 2;
}
.subject-level{
    color: #e5e7eb;
    font-size: 0.9rem;
}
/* ABOUT SECTION */

.section-title {
    font-size: 36px;
    font-weight: bold;
    color: #38bdf8;
}

.section-title span {
    color: #ffffff;
}

.section-subtitle {
    color: #94a3b8;
    font-size: 16px;
}

/* Video */
.about-video {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.6);
}

.about-video video {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

/* List */
.about-list {
    list-style: none;
    padding: 0;
}

.about-list li {
    font-size: 18px;
    color: #e5e7eb;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.about-list i {
    color: #22c55e;
    margin-right: 12px;
    font-size: 20px;
}
#navLinks,
#logo {
  transition: 0.3s ease;
}
.highlight {
  background-color: yellow;
  color: black;
  padding: 2px 4px;
  border-radius: 4px;
}
.position-absolute{
    top:50%;
    width: 100%;
    transform: translateY(-50%);
    /* font-size: 25px!important; */
    padding:10px 12px;
    text-align: center;
    mix-blend-mode: lighten;
    color:#f2f2f2;
}
.video{
    object-fit: cover;
    box-shadow: 3px 3px 3px rgba(0,0,0,.5);
}
.footer {
  padding: 40px 20px 20px 20px;
  font-family: Arial, sans-serif;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-section {
  flex: 1 1 250px;
  margin: 10px;
}

.footer-section h3 {
  margin-bottom: 10px;
  font-size: 18px;
  border-bottom: 1px solid rgba(255,255,255,0.3);
  padding-bottom: 5px;
}

.footer-section p, 
.footer-section a {
  color: white;
  text-decoration: none;
  font-size: 14px;
}


.footer-bottom {
  text-align: center;
  margin-top: 20px;
  font-size: 13px;
  opacity: 0.8;
}

/* Responsive */
@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    align-items: center;
  }

  .footer-section {
    text-align: center;
  }
}
.footer-section h3 {
  margin-bottom: 15px;
  font-size: 18px;
  border-bottom: 1px solid rgba(255,255,255,0.3);
  padding-bottom: 5px;
}

.social-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 10px;
}
.social-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: white;
  text-decoration: none;
  font-size: 16px;
  transition: all 0.3s ease;
}
.social-item i {
  font-size: 22px;
  width: 30px;
  text-align: center;
}
#tiktok:hover {
  background-color: #69C9D0; /* TikTok gök fony */
  color: #000;
  transform: scale(1.1);
  border-radius: 5px;
  padding:5px;

}

/* Instagram hover */
#insta:hover {
  background: radial-gradient(circle at 30% 30%, #fdf497, #fd5949, #d6249f, #285AEB);
  color: #000;
  transform: scale(1.1);
  border-radius: 5px;
  padding:5px;
}

/* YouTube hover (soňra isleseňiz) */
#youtube:hover {
  background-color: #FF0000;
  color: #000;
  transform: scale(1.1);
  border-radius: 5px;
  padding:5px;
}