html,
body {
    margin: 0;
    padding: 0;
   
    height: 100%;
    font-family: Arial, sans-serif;
}
.footer {
    color: #b0b9ae;
    background-color: #02245b !important; 
}
div.footer.bg-dark {
  background-color: #02245b !important;
}

.bg-dark {
    background-color: #02245b !important;
}
.py-5 {
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
}
.mt-5 {
    margin-top: 3rem !important;
}
.container, .container-fluid, .container-sm, .container-md, .container-lg, .container-xl, .container-xxl {
    width: 100%;
    padding-right: var(--bs-gutter-x, 0.75rem);
    padding-left: var(--bs-gutter-x, 0.75rem);
    margin-right: auto;
    margin-left: auto;
}
.large-header {
    position: relative;
    width: 100%;
    min-height: 100vh;
    background: #ffffff;
    overflow: hidden;
    top: 0;
    left: 0;
    z-index: -1;
}

canvas {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.main-title {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #ffffff;
    font-size: 3em;
    text-align: center;
    z-index: 1;
}

.main-title .thin {
    font-weight: 300;
    color: #006093;
}
body {
  margin: 0;
  font-family: Arial, sans-serif;
}

/* Hero Section */
.hero-section {
  position: relative;
  height: 50vh;
  background: linear-gradient(to right, rgba(0,0,50,0.7), rgba(0,0,50,0.3)), url('maktab.jpg') no-repeat center center/cover;
  color: white;
  display: flex;
  align-items: center;
}

.hero-content {
  padding-left: 60px;
}

.hero-content h1 {
  font-size: 48px;
  margin-bottom: 10px;
}

.hero-content p {
  font-size: 18px;
}

/* Content Section */
.content-section {
  padding: 50px;
}

.container {
  display: flex;
  gap: 40px;
  align-items: center;
}

.image-side img {
  width: 100%;
  max-width: 500px;
  min-width: 350px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.85);
  border-radius: 16px;
  padding: 10px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(5px);
  display: inline-block;
}

.text-side h2 {
  font-size: 32px;
  color: #002F6C;
  margin-bottom: 20px;
}

.text-side p {
  font-size: 16px;
  margin-bottom: 15px;
  line-height: 1.6;
}


.content-box {
  background: rgba(255, 255, 255, 0.85); /* полупрозрачный белый */
  border-radius: 16px;
  padding: 30px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(5px); /* для мягкости */
  position: relative;
  z-index: 2;
}

/* Контейнер секции */
.contact-section {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 80px 20px;
  background: rgba(255, 255, 255, 0.15); /* Transparent white */
  backdrop-filter: blur(2px); /* Blur effect */
  border-radius: 20px;
  box-shadow: 0 8px 32px rgba(2, 12, 125, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.3);
  z-index: 2; /* Put it above canvas */
  margin: 40px 20px; /* Optional spacing */
}
/* Стиль формы с glassmorphism */
.glass-form {
  backdrop-filter: blur(12px);
  background: rgba(255, 255, 255, 0.489);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 8px 32px rgba(2, 12, 125, 0.2);
  padding: 40px 30px;
  max-width: 450px;
  width: 100%;
  text-align: center;
  position: relative;
  z-index: 2;
}

/* Заголовок */
.glass-form h2 {
  color: #020c7d;
  margin-bottom: 20px;
}

/* Поля ввода */
.glass-form input {
  width: 100%;
  padding: 12px 15px;
  margin: 10px 0;
  border-radius: 10px;
  border: 1px solid rgba(2, 12, 125, 0.2);
  background: rgba(255, 255, 255, 0.5);
  color: #020c7d;
  font-size: 16px;
}

/* Кнопка */
.glass-form button {
  width: 100%;
  padding: 12px;
  margin-top: 15px;
  background-color: #020c7d;
  color: white;
  border: none;
  border-radius: 10px;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.glass-form button:hover {
  background-color: #03126e;
}
.social-btn {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 16px;
  }
  .footer-link {
    color: #ddd;
    text-decoration: none;
  }
  .footer-link:hover {
    color: #fff;
    text-decoration: underline;
  }
/* Ensure content sections have proper positioning */
.hero-section,
.content-section {
    position: relative;
    z-index: 2;
}
@media (max-width: 768px) {
  .container {
    flex-direction: column;
    gap: 20px;
    padding: 20px; /* optional: less padding on small screens */
  }

  .image-side img {
    max-width: 100%;
    min-width: auto;
    width: 100%;
  }
.btn{
  background-color: #002F6C;
}
  .text-side {
    width: 100%;
  }

  /* For the contact section, make sure it fits smaller screens */
  .contact-section {
    padding: 40px 15px;
  }

  .glass-form {
    max-width: 100%;
    padding: 30px 20px;
  }
}