
html, body {
    height: 100%;
}

body {
    display: flex;
    flex-direction: column;
    font-family: 'TildaSans', sans-serif;
}

#bodydiv {
    flex: 1;
}
html {
    scroll-behavior: smooth;
}
    

@font-face {
    font-family: 'TildaSans';
    src: url('fonts/TildaSans-Light.woff2') format('woff2');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'TildaSans';
    src: url('fonts/TildaSans-Regular.woff2') format('woff2');
    font-weight: 400; 
    font-style: normal;
}

@font-face {
    font-family: 'TildaSans';
    src: url('fonts/TildaSans-Bold.woff2') format('woff2');
    font-weight: 700; 
    font-style: normal;
}

@font-face {
    font-family: 'TildaSans';
    src: url('fonts/TildaSans-ExtraBold.woff2') format('woff2');
    font-weight: 800;
    font-style: normal;
}

body {
    margin: 0;
    padding: 0;
}

#mainpic {
    display: block;
    width: 360px;
    max-width: 100%;
    height: 360px;
    margin: 0px 0 30px 0;
    margin-left: 40%;
    margin-right: 50%;
}

#secondpic {
    display: block;
    border-radius: 30px;
    width: 960px;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    margin-top: 30px;
}

#bodydiv {
    background-color: #f0f0f0;
    padding: 30px 0 0 0;

}
.mainheader {
    background: #f0f0f0;
    text-align: center;
    line-height: 1.5;
    font-family: 'TildaSans', sans-serif;
    font-weight: 700;
    margin: 0 40%;
}

.secondheader {
    background: #f0f0f0;
    line-height: 1.5;
    font-family: 'TildaSans', sans-serif;
    font-weight: 300;
    color: #000;
    text-align: center;
    margin: 0 40%;
    font-size: 30px;
    margin-top: 10px;
    margin-bottom: 0px;
}

#firstinfobox {
    background: #161f30;
    padding-top: 1px;
    width: 100%;
    text-align: center;
    margin: 0;
    padding-left: 0;
    padding-right: 0;
    padding-bottom: 1px;
}

#firstinfobox h2 {
    color: #ffffff;
    text-transform: uppercase;
    font-size: 13px;
    line-height: 23px;
    font-family: 'TildaSans', sans-serif;
    font-weight: 600;
    text-align: center;
    margin: 0 70px;
    position: absolute;
    left: 75%;
    top: 900px;
}

.buttonbox {
    text-align: center;
    margin: 80px 0;
}

.glow-button {
    display: inline-block;
    padding: 25px 80px;
    font-family: 'TildaSans', sans-serif;
    font-weight: 700;
    font-size: 26px;
    color: #4e7cfb;
    text-decoration: none;
    border: 3px solid #4e7cfb;
    border-radius: 30px;
    position: relative;
    transition: all 0.3s ease;
    box-shadow: 0 0 10px #4e7cfb, 0 0 2px #4e7cfb, 0 0 0.5px #4e7cfb;
    background-color: transparent;
}

.mainheader {
    background: #f0f0f0;
    text-align: center;
    line-height: 1.5;
    font-family: 'TildaSans', sans-serif;
    font-weight: 700;
    margin: 0 40%;
}


#seconddivheader {
    background: #f0f0f0;
    line-height: 1.5;
    font-family: 'TildaSans', sans-serif;
    font-weight: 300;
    color: #000;
    text-align: center;
    font-size: 30px; 
    margin-left: 20%;
    margin-right: 20%;

}

#maindivheader {
    background: #f0f0f0;
    text-align: center;
    line-height: 1.5;
    font-family: 'TildaSans', sans-serif;
    font-weight: 700;
    font-size: 30px;
    margin: 0 40%;
    margin-top: 50px;
}

.three-columns {
    display: flex;
    justify-content: space-between; 
    align-items: flex-start; 
    gap: 80px; 
    padding: 50px 20px;
    max-width: 1200px;
    margin: 70px auto 0 auto;
    font-size: 30px;
    font-weight: 300;
}

.column {
    flex: 1; 
    min-width: 250px; 
}

.column h2 {
    font-family: 'TildaSans', sans-serif;
    font-weight: 800;
    font-size: 20px;
    margin-bottom: 15px;
}

.column p {
    font-family: 'TildaSans', sans-serif;
    font-weight: 500;
    font-size: 18px;
    line-height: 1.6;
}

.column img {
    width: 150px;
    height: 150px;
    object-fit: cover; 
    margin-bottom: 15px; 
    border-radius: 10px; 
}

#temp {
    margin-bottom: 30px;
}


@media (max-width: 1024px) {

.mainheader, .secondheader, #maindivheader, #seconddivheader {
        margin: 30px 10%;
}

    .mainheader, .secondheader, #maindivheader, #seconddivheader {
        margin: 20px 5%;
        font-size: 30px;
    }

    .secondheader, #seconddivheader {
        font-size: 35px;
        margin-left: 150px;
        margin-right: 150px;
        margin-top: 15px;
        margin-bottom: 10px;
    }

    .glow-button {
        font-size: 32px;
        padding: 40px 120px;
    }

    #maindivheader {
        margin-top: 40px;
    }

    #seconddivheader {
        line-height: 1.6;
    }

    .three-columns {
        flex-direction: column;
        align-items: center;
        gap: 25px;
        padding: 20px 10px;
        text-align: center; 
    }

    .column h2 {
        font-size: 18px;
        margin-bottom: 10px;
    }

    .column p {
        font-size: 16px;
        line-height: 1.5;
        margin: 0 10px 15px 10px;
    }

    #mainpic {
        width: 70%;
        height: auto;
        margin-left: auto;
        margin-right: auto;
    }

    #secondpic {
        width: 90%;
        height: auto;
        margin-top: 15px;
    }

    .glow-button {
        padding: 12px 30px;
        font-size: 18px;
        box-shadow: 0 0 6px #4e7cfb, 0 0 2px #4e7cfb, 0 0 0.5px #4e7cfb;
    }

    #firstinfobox h2 {
        position: static;
        margin: 10px 10px;
        font-size: 8px;
        line-height: 1.4;
        text-align: center;
        font-weight: 600;
    }

    #firstinfobox h2 {
        font-size: 40px;
        line-height: 1.3;
        margin: 90px;
        font-weight: 600;
    }

    #secondpic { 
        margin-top: 50px;
    }

    .glow-button {
        padding: 30px 120px;
        font-size: 38px;
        border: 3px solid #4e7cfb;
        border-radius: 30px;
    
    }

    #maindivheader {
        margin-top: 30px;
        margin-bottom: 10px;
    }

    #seconddivheader {
        margin-bottom: 20px;
    }

    .three-columns {
        padding: 15px 12px; 
        gap: 20px;
        text-align: center;
    }

    .column {
        padding: 10px 10px;
    }

    .column img {
        width: 200px;
        height: 200px;
        margin-bottom: 10px;
    }

    .column h2 {
        font-size: 40px;
        margin-bottom: 8px;
    }

    #thatone {
        font-size: 36px;
    }

    .column p {
        font-size: 30px;
        line-height: 1.5;
        margin: 0 8px 12px 8px; /* поля по краям */
    }


    .email-link,
    .whatsapp-link,
    .telegram-link {
        padding: 24px !important;
        font-size: 1.2rem !important;
    }

    .email-icon,
    .whatsapp-icon,
    .telegram-icon {
        width: 50px !important;
        height: 50px !important;
        font-size: 2rem !important;
    }

    .email-text h4,
    .whatsapp-text h4,
    .telegram-text h4 {
        font-size: 2rem !important;
    }

    .email-text p,
    .whatsapp-text p,
    .telegram-text p {
        font-size: 1.6rem !important;
    }
    
    

}

.contact-section {
  padding: 5rem 0;
  background-color: #2d2d31;
}

.contact-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.contact-header {
  text-align: center;
  margin-bottom: 4rem;
}

.contact-title {
  font-size: 2rem;
  font-weight: bold;
  color: #fde68a; /* amber-900 */
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .contact-title {
    font-size: 2.5rem;
  }
}

.contact-subtext {
  font-size: 1.25rem;
  color: #fef3c7; /* amber-800 */
  max-width: 640px;
  margin: 0 auto;
}

.contact-divider {
  width: 5rem;
  height: 4px;
  background-color: #92400e; /* amber-700 */
  margin: 2.50rem auto 0;
}

.contact-content {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

@media (min-width: 1024px) {
  .contact-content {
    flex-direction: row;
  }
}

@media (max-width: 1024px) {
    .contact-info-box {
        font-size: 1.7rem;
    }

    .navbar-spacer {
    min-width: auto;
    }


    .contact-info-title {
        font-size: 2.2rem; /* Увеличиваем размер шрифта */
    }
}

.contact-section {
  padding: 5rem 0;
  background-color: #f0f0f0;
}

.contact-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.contact-header {
  text-align: center;
  margin-bottom: 4rem;
}

.contact-title {
  font-size: 2rem;
  font-weight: bold;
  color: #000;
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .contact-title {
    font-size: 2.5rem;
  }
}

.contact-subtext {
  font-size: 1.25rem;
  color: #000;
  max-width: 640px;
  margin: 0 auto;
}

.contact-content {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

@media (min-width: 1024px) {
  .contact-content {
    flex-direction: row;
  }
}

.contact-form-wrapper,
.contact-info {
  flex: 1;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}


.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .form-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Right Info Box */

.contact-info-box {
  background-color: #7b9cf8;
  padding: 2rem;
  border-radius: 0.5rem;
  height: 100%;
}

.contact-info-title {
  font-size: 1.5rem;
  font-weight: bold;
  color: #161f30;
  margin-bottom: 1.5rem;
}

.info-icon {
  margin-top: 0.25rem;
  margin-right: 1rem;
  font-size: 1.25rem;
  color: #161f30;
}

.social-icons {
  display: flex;
  gap: 1rem;
}

.social-icon {
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #161f30;
  color: white;
  border-radius: 50%;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.3s ease;
  font-size: 1rem;
}

.social-icon:hover {
  background-color: #3b527c;
  transform: scale(1.05);
}

.info-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}

.info-label {
  font-weight: bold;
  color: #161f30;
  margin: 0;
}

.info-text {
  color: #374151;
  margin: 0.25rem 0 0 0;
  font-size: 1rem;
}

.social-section {
  margin-top: 2rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.5rem 1rem;
  border: 1px solid #7b9cf8; /* amber-300 */
  border-radius: 0.375rem;
  font-size: 1rem;
  outline: none;
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: #577fec; /* amber-500 */
  box-shadow: 0 0 0 3px rgba(123, 156, 248, 0.4); /* ring-amber-500 */
}



.form-group {
    display: flex;
    flex-direction: column;
}


.form-group label {
    font-weight: 500;
    color: #000;
    margin-bottom: 0.5rem;
}

.social-title {
  font-weight: bold;
  color: #161f30;
  margin-bottom: 1rem;
  font-size: 1.125rem;
}

.form-group button {
  padding: 0.75rem 1.5rem;
  background-color: #161f30;
  color: white;
  font-weight: 600;
  border: none;
  border-radius: 0.375rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.form-group button:hover {
  background-color: #3b527c; /* amber-800 */
}

/* Иконки */
.email-icon,
.telegram-icon {
    transition: transform 0.3s ease;
    color: white;
    padding: 8px;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
}

.email-icon {
    background-color: #ef4444;
}

.telegram-icon {
    background-color: #3b82f6;
}

/* Текст */
.email-text h4,
.telegram-text h4 {
    margin: 0;
    font-weight: 500;
    color: #1f2937;
}

.email-text p,
.telegram-text p {
    margin: 0;
    font-size: 0.875rem;
    color: #4b5563;
}

/* WhatsApp styles */
.whatsapp-link {
    display: flex;
    align-items: center;
    padding: 16px;
    border-radius: 10px;
    background: linear-gradient(to bottom right, #f0fdf4, #dcfce7);
    cursor: pointer;
    text-decoration: none;
    gap: 12px;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.whatsapp-link:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
    transform: translateY(-5px);
}

.whatsapp-link:hover .whatsapp-icon {
    transform: scale(1.1);
}

.whatsapp-icon {
    background-color: #22c55e;
    color: white;
    padding: 8px;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.whatsapp-text h4 {
    margin: 0;
    font-weight: 500;
    color: #1f2937;
}

.whatsapp-text p {
    margin: 0;
    font-size: 0.875rem;
    color: #4b5563;
}

.credential-bar {
    bottom: 0;
    left: 0;
    right: 0;
    background-color: white;
    padding: 16px 24px;
    border-top: 1px solid #e5e7eb; /* border-gray-200 */
    z-index: 50;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}
