/* Общие стили */
@font-face{
	font-family: Manrope-VariableFont_wght;
	src: url(./fonts/Manrope-VariableFont_wght.ttf);
}
body {
  margin: 0;
  font-family: Manrope-VariableFont_wght, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #ffffff;
  color: #1a1a1a;
  line-height: 1.6;
}
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}
h1, h2 {
  color: #000;
  text-align:center;
  font-weight: 900;
  font-size: 2rem;
}
ul {
  padding-left: 20px;
}
/* Кнопка CTA */
.cta-button-div{
	text-align:center;
}
.cta-button {
  display: inline-block;
  background: linear-gradient(45deg, #f39c12, #e67e22);
  color: white;
  padding: 15px 30px;
  text-decoration: none;
  border-radius: 50px;
  font-size: 1.2rem;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}
.cta-button:hover {
  background-color: #2b716f;
}

/* Секции */
section {
  /*padding: 40px 0;*/
  background-color:#eee;
  border-bottom: 1px solid #eee;
}
.hero {
  background-image: url('./images/backround_sol.png');
  background-color: #355749;
  color: #fff;
  text-align: left;
  padding: 50px 0;
  background-position: 100% 100%;
  background-repeat: no-repeat;
  background-size: contain;
  border-bottom: 3px solid #D4AF37;
}
.hero h1, .hero h2{
  color:#fff;
}
.hero h1{
  display:flex;
  flex-wrap: wrap;
  /*margin: 0 0 40px;*/
  font-size: 3rem;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
  animation: fadeInUp 1s ease-out;
}
.hero h1 span{
	background-color:#487d67;
	padding:10px;
	border-radius: 8px;
}
.hero h1 span:nth-child(2) {
  margin-left: -10px;
}
.features .cards,
.process .steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 20px;
}
.features h2 span{
	color:#355749;
}
.knowledge-section {
  background: #f9fbff;
  padding: 60px 20px;
  font-family: 'Segoe UI', sans-serif;
}

.container-knowledge {
  display: flex;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: auto;
  gap: 40px;
  font-size: large;
}

.left {
  flex: 1 1 55%;
}

.left h2 {
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 20px;
}

.left p {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 16px;
}

.left ul {
  padding-left: 20px;
  list-style: disc;
}

.left ul li {
  margin-bottom: 8px;
}

.right {
  flex: 1 1 40%;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
}

.info-card {
  border: 1px solid #d0dcf0;
  border-radius: 8px;
  padding: 20px;
  background: #fff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
}

.info-card h3 {
  font-size: 18px;
  margin-bottom: 10px;
}

.info-card p {
  font-size: 15px;
  line-height: 1.5;
}

.info-card.blue {
  background: #355749;
  color: #fff;
  border: none;
}
.teachers-section {
  background-color: #355749;
  color: white;
  font-family: Manrope-VariableFont_wght;
}
.teachers-section h2{
  font-family:Manrope-VariableFont_wght;
  text-align: center;
  font-size: 2.5rem;
  font-weight:900;
  margin-bottom: 50px;
  color: #fff;
}

.teacher {
  display: flex;
  flex-wrap: wrap;
  background: linear-gradient(90deg, #355749 50%, #1e3a8a00 100%);
  padding: 30px 0;
  /*border-bottom: 1px solid rgba(255, 255, 255, 0.1);*/
  align-items: flex-start;
}

.teacher-photo {
  flex: 0 0 180px;
  margin-right: 30px;
}

.teacher-photo img {
  width: 180px;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
}

.teacher-info {
  flex: 1;
  min-width: 240px;
}

.teacher-info h3 {
  font-size: 20px;
  margin-bottom: 8px;
  color: white;
}

.lecturer-name {
  font-weight: 800;
  color: #aa9108;
  margin-bottom: 12px;
}

.teacher-info ul {
  list-style: disc;
  padding-left: 20px;
}

.teacher-info ul li {
  margin-bottom: 6px;
  font-size: 15px;
}
/* Program Section */
        .program {
            background: #f8f9fa;
            padding: 80px 0;
        }

        .program h2 {
            text-align: center;
            font-size: 2.5rem;
            margin-bottom: 50px;
            color: #2c3e50;
        }

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

        .module {
            background: white;
            padding: 30px;
            border-radius: 15px;
            box-shadow: 0 5px 15px rgba(0,0,0,0.1);
            transition: all 0.3s ease;
            border-left: 5px solid #aa9108;
        }

        .module:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 25px rgba(0,0,0,0.15);
        }

        .module h3 {
            color: #2c3e50;
            margin-bottom: 15px;
            font-size: 1.3rem;
        }

        .module ul {
            list-style: none;
            padding-left: 0;
        }

        .module li {
            padding: 5px 0;
            position: relative;
            padding-left: 20px;
        }

        .module li::before {
            content: '✓';
            position: absolute;
            left: 0;
            color: #27ae60;
            font-weight: bold;
        }
.card, .step {
  background: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0px 2px 5px #999;
}
.komu_podhod h2 span{
	color: #355749;
}
.education li{
	font-size: xx-large;
	font-weight: bold;
}
.education li span{
	color:#355749;
}
.education li::marker{
	color:#355749;
}
.education p{
	font-size: x-large;
	font-weight: bold;
}
.komu-list{
  counter-reset: step;
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  list-style: none;
  margin: -9px -17.5px;
  padding: 0;
}
.komu-list-block{
  display: flex;
  background-color: #355749;
  border-radius: 10px;
  text-align: center;
  margin: auto;
  color: #fff;
  box-shadow: 0 2px 5px #999;
  flex: 0 1 calc(27.3333% - 35px);
  justify-content: space-between;
  margin: 9px 17.5px;
  padding: 10px 25px;
  font-size: larger;
}
.komu-list-block img{
	max-width: 78px;
}
.circle-grid {
  counter-reset: step;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.circle-grid li {
  counter-increment: step;
  background: #f7f9fc;
  border: 1px solid #d0dbe8;
  border-radius: 12px;
  padding: 20px 20px 20px 60px;
  position: relative;
  font-size: 1rem;
  min-height: 80px;
  display: flex;
  align-items: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.circle-grid li::before {
  content: counter(step);
  position: absolute;
  left: 10px;
  top: 17px;
  width: 42px;
  height: 42px;
 /* background-color: #2a74d6;*/
  /*border: 2px solid #1a5bb8;*/
  color: #355749;
  border-radius: 50%;
  text-align: center;
  line-height: 28px;
  font-weight: bold;
  font-size: 1.9rem;
}

.faq details {
  margin-bottom: 10px;
}
.faq summary {
  cursor: pointer;
  font-weight: bold;
  padding: 10px;
  background: #355749;
  border: 1px solid #355749;
  border-radius: 4px;
  color:#fff;
  font-size:1.2em;
}

.faq p {
  padding: 10px 15px;
  background: #fff;
  border: 1px solid #355749;
  border-top: none;
  margin-top: auto;
  font-size:1.2em;
}
.faq strong{
	color:#355749;
}
.consult-form-block{
	
}
.consult-form-div{
  /*border: 2px solid #D4AF37;*/
  border-radius: 10px;
  max-width: 50%;
  margin: 0 auto;
  background-color: #355749;
  padding: 20px;
  box-shadow: 0 2px 5px #6c6c6c;
}
#consultation h2{
	color:#fff;
}
#consultation {
  color: #eee;
  background-color: #eee;
  padding: 10px;
}
form input, form button {
  width: 100%;
  padding: 10px;
  box-sizing: border-box;
  /*margin-bottom: 15px;*/
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 1rem;
}
form button {
  background-color: #D4AF37;
  color: #000;
  cursor: pointer;
  width: 50%;
  border-radius: 50px;
  border: none;
}
form button:hover {
  /*background-color: #14304f;*/
}
.sub-button{
	text-align: center;
}
.success-message {
  display: none;
  margin-top: 20px;
  padding: 10px;
  background-color: #e0ffe0;
  border: 1px solid #70c470;
  color: #317b31;
}
.td-red-text{
	color: #ae2b2b;
	font-size:1.2rem !important;
}
.td-green-text{
	color:#077507;
	font-size:1.2rem !important;
}
.resp-tab {
    border-radius: 5px;
    font-weight: bold;
    border: none;
    border-collapse: collapse;
    width: 100%;
    max-width: 100%;
    white-space: nowrap;
    background-color: white;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.2 );   
}
.resp-tab td, .resp-tab th {
    text-align: center;
    padding: 8px;
    font-size: 15px;
    border: none;
    font-family: Verdana, sans-serif;
}
.resp-tab td {
    font-size: 13px;
    border-right: 1px solid #E6E4E4;
}
.resp-tab th {
    color: #ffffff;
    background: #487d67;
}
.resp-tab th:nth-child(odd) {
    background: #355749;
}
.resp-tab tr:nth-child(even) {
    background: #F8F8F8;
}

.footer {
  text-align: center;
  font-size: 0.9rem;
  padding: 20px 0;
  background-color: #355749;
  color:#fff;
}
.footer a {
  color: #fff;
  text-decoration: none;
  margin: 0 10px;
}
.footer a:hover {
  text-decoration: underline;
}
@media (max-width: 810px){
	.hero h1 {
    font-size: 2.5rem}
	.komu-list-block{
		flex: 1 1 calc(27.3333% - 35px);
	}
	.resp-tab{
		white-space: wrap;
	}
}
@media (max-width: 768px) {
	.teacher {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .teacher-photo {
    margin: 0 0 20px 0;
  }

  .teacher-info {
    text-align: left;
  }
	.container-knowledge {
    flex-direction: column;
    gap: 30px;
  }

  .left, .right {
    flex: 1 1 100%;
  }

  .left h2 {
    font-size: 28px;
  }

  .left p,
  .left ul li {
    font-size: 15px;
  }

  .right {
    grid-template-columns: 1fr;
  }
  .hero {
    padding: 60px 20px;
  }
  .hero h1 {
    font-size: 2.5rem}
  .hero h1 span:nth-child(2) {
  margin-left: 0;
  margin-top: 5px;
  }
  .container {
    padding: 2px 15px;
  }
  .consult-form-div{
  border: none;
  max-width:none;
  margin:0;
  box-shadow:none;
  }
  #consultation {
  color: #fff;
  background-color: #355749;
  padding: 10px;
  }
  .komu-list-block{
	padding: 16px 16px 16px 24px;
	flex: 100%;
    margin: 0 5px;
	box-shadow: none;
  }
  .resp-tab {
    display: block;
    width: 100%;
	white-space: nowrap;
  }
  .td-red-text{
	font-size:13px !important;
}
.td-green-text{
	font-size:13px !important;
}
  .resp-tab thead,
  .resp-tab tbody,
  .resp-tab thead th {
    display: block;
  }
  .resp-tab thead {
    float: left;
  }
  .resp-tab tbody {
    width: auto;
    position: relative;
    overflow-x: auto;
  }
  .resp-tab td, .resp-tab th {
    padding: 10px 2px;
    box-sizing: border-box;
    overflow-x: hidden;
    overflow-y: auto;
    width: 160px;
    font-size: 13px;
    text-overflow: ellipsis;
  }
  .resp-tab thead th {
    text-align: center;
  }
  .resp-tab tbody tr {
    display: table-cell;
  }
  .resp-tab tbody tr:nth-child(odd) {
    background: none;
  }
  .resp-tab tr:nth-child(even) {
    background: transparent;
  }
  .resp-tab tr td:nth-child(odd) {
    background: #F8F8F8;
    border-right: 1px solid #E6E4E4;
  }
  .resp-tab tr td:nth-child(even) {
    border-right: 1px solid #E6E4E4;
  }
  .resp-tab td {
    display: block;
    text-align: center;
  }
}