@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');
*{
  margin:0;
  padding:0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}
:root{
  --white-color:#ffffff;
  --dark-color:#000000;
  --gray-color:#636567;
  --primary-color:#017efa;


  --font-size-s: 0.9rem;
  --font-size-n: 1rem; 
  --font-size-m: 1.12rem;
  --font-size-l: 1.5rem;
  --font-size-xl: 2rem;
  --font-size-xxl: 3rem;

  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;

  --border-radius-s: 8px;
  --border-radius-m: 30px; 
  --border-radius-circle: 50%;

  --site-max-width: 1300px;
}

a{
  text-decoration: none;
}

button{
  cursor: pointer;
  border: none;
  background: none;
}
img{
  max-width: 100%;
}

header{
  max-width: 100%;
}

.section-content{
  background: var(--white-color);
  max-width: var(--site-max-width);
  margin: 0 auto;
  padding: 20px 20px;
}

.login-btn{
  padding: 10px 18px;
  border-radius: var(--border-radius-m);
  font-size: var(--font-size-m);  
  color: var(--white-color);
  background: var(--primary-color);
  transition: 0.2s ease;
}

.login-btn:hover{
  background: var(--dark-color);
}

.hero-section{
  margin-top: -25px;
  min-height: 100vh;
  background:#ffffff
}

.hero-section .section-content {
  display: flex;
  align-items: center;
  min-height: 100vh;
  color: var(--dark-color);
  justify-content: space-between;
}

.hero-section .hero-details .title{
  font-size: 75px;
  color: var(--dark-color);
  font-weight: var(--font-weight-semibold);
}

.hero-section .hero-details .subtitle{
  max-width: 70%;
  color: var(--gray-color);
  font-size: 45px;
  font-weight: var(--font-weight-medium);
}
.hero-section .hero-details .description{
  max-width: 70%;
  margin: 10px 0 30px;
  color: var(--gray-color);
  font-size: var(--font-size-m);
}

.hero-section .hero-image-wrapper{
  max-width: 100%;}


/* ===== FEATURES ===== */
.section-title  {
  text-align: center;
  font-size: 26px;
  font-weight: var(--font-weight-semibold);
  color: var(--dark-color);
  margin-bottom: 20px;
}

.section-subtitle {
  text-align: center;
  color: var(--gray-color);
  font-size: var(--font-size-l);
  margin-bottom: 20px;
}

.features-list {
  list-style: disc;
  text-align: left;
  max-width: 1200px;
  margin: 0 auto 40px;
  padding-left: 20px;
}

.features-list li {
  font-size: var(--font-size-l);
  color: var(--dark-color);
  margin: 10px 0;
}

.btn-group {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-top: 20px;
}


/* ===== COURSES ===== */
.courses-section .btn-group {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  justify-items: center;
  margin-top: 40px;
}

.btn-secondary {
  display: inline-block;
  width: 100%;
  max-width: 280px;
  padding: 14px 20px;
  background-color: var(--primary-color);
  color: #fff;
  font-size: var(--font-size-m);
  font-weight: var(--font-weight-medium);
  border-radius: var(--border-radius-m);
  transition: 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  text-align: center;
}

.btn-secondary:hover {
  background-color: #0063cc;
  transform: translateY(-3px);
}
@media screen and (max-width: 900px) { 
	:root{ 
		--font-size-m: 1rem; 
		--font-size-l: 1.3rem; 
		--font-size-xl: 1.5rem; 
		--font-size-xxl: 1.8rem; 
	} 
	.hero-section .section-content { 
		gap: 5px; 
		flex-direction: column-reverse; 
		padding: 10px 10px 0px ; 
		justify-content: center; 
		text-align: center; 
	} 
	.hero-section .hero-details :is(.subtitle, .description, .buttons ){
		max-width: 100%; } 
	.hero-section .hero-details .buttons{ 
		justify-content: center; 
	} 
	.hero-section .hero-image-wrapper{ 
		max-width: 300px; margin-right: 0; 
	} 
	.courses-section .btn-group { 
		grid-template-columns: repeat(2, 1fr); 
	} 
} 
@media (max-width: 768px) { 
	.hero-section .hero-details .title {
		font-size: 40px; 
	} 
	.hero-section .hero-details .subtitle { 
		font-size: 25px; 
	} 
} 
/* Өте кіші экрандар: 1 баған */ 
@media (max-width: 500px) { 
	.courses-section .btn-group { 
		grid-template-columns: 1fr; 
	} 
	.courses-section .btn-secondary { 
		max-width: 100%; 
	} 
}

.fade-in {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.show {
  opacity: 1;
  transform: translateY(0);
}
