@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');
*{
  margin:0;
  padding:0;
  }

body {
  font-family: Inter;
}

header {
  background-color: white;
  padding: 20px 40px;
}

#header {
  transition: top 0.4s ease;
}

#headerInner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 40px;
  align-items: center;
}

nav ul li a {
  text-decoration: none;
  color: black;
  font-weight: 500;
  font-size: 14px;
  transition: color 0.3s;
}

nav ul li a:hover {
  color: #780000;
}

nav ul li .button {
  background-color: #780000;
  color: white;
  padding: 10px 20px;
  border-radius: 5px;
  transition: background-color 0.3s;
}

nav ul li .button:hover {
  background-color: #ffffff;
}


body {
  line-height: 1.6;
  margin: 0;
  padding: 0;
  color: #333;
  background-color: #fff;
}

main {
  max-width: 960px;
  margin: auto;
}

#intro h1 {
  font-size: 36px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
  margin-top: 40px;
}

#intro p {
  font-size: 16px;
  color: #555;
  margin-bottom: 20px;
}

#intro img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  display: block;
}

#news {
  max-width: 960px;
  padding-top: 50px;
  font-family: Inter;
  color: #333;
  margin-top: 50px;
  position: relative;
}

.news-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.news-header h2 {
  font-size: 30px;
  font-weight: 700;
}

.news-header .all-news {
  font-size: 14px;
  font-weight: bold;
  color: #990000;
  text-decoration: none;
}

.news-header .all-news:hover {
  color: #c64646; 
}

.news-slider {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
  white-space: nowrap;
  padding-bottom: 20px;
  min-width: 960px;
}

.news-list {
  list-style: none;
  display: inline-flex;
  gap: 30px;
  padding: 0;
  margin: 0;
}

.news-list li {
  width: 300px;
  vertical-align: top;
}

.news-list li img {
  width: 100%;
  border-radius: 10px;
}

.news-list h3 {
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 10px;
  margin-top: 15px;
  max-width: 300px;
}

.news-list p {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
  margin-top: 10px;
  max-width: 300px;
}

.news-slider::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

.news-slider::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 4px;
}

.news-slider::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 4px;
}

.news-slider::-webkit-scrollbar-thumb:hover {
  background: #555;
}

#study {
  padding: 50px 0px;
  background-color: #fff;
  color: #000;
  margin-top: 60px;
}

.study-content {
  display: flex;
  justify-content: space-between;
  max-width: 1100px;
  margin: 0 auto;
  gap: 40px;
}

.study-text {
  flex: 1 1 40%;
  padding-bottom: 20px;
}

.study-text h2 {
  font-size: 30px;
  font-weight: 700;
  margin-bottom: 30px;
}

.study-text ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.study-text ul li {
  margin-bottom: 30px;
  border-bottom: 2px solid #780000;
  padding-bottom: 20px;
}

.study-text ul li a {
  text-decoration: none;
  color: #000;
  font-size: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.study-text ul li a:hover {
  color: #780000;
}

.study-image {
  flex: 1 1 50%;
  padding-top: 30px;
}

.study-image img {
  width: 100%;
  border-radius: 10px;
  display: block;
}

#events {
  max-width: 960px;
  padding-top: 50px;
  font-family: sans-serif;
  color: #333;
  margin-top: 30px;
  position: relative;
}

.events-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.events-header h2 {
  font-size: 30px;
  font-weight: 700;
}

.events-header .all-events {
  font-size: 14px;
  font-weight: bold;
  color: #990000;
  text-decoration: none;
}

.evnts-header .all-events:hover {
  color: #c64646;
}

.events-slider {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
  white-space: nowrap;
  padding-bottom: 20px;
  min-width: 960px;
}

.events-list {
  list-style: none;
  display: inline-flex;
  gap: 30px;
  padding: 0;
  margin: 0;
}

.events-list li {
  width: 465px;
  vertical-align: top;
}

.events-list li img {
  width: 100%;
  border-radius: 10px;
}

.events-list h3 {
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 10px;
  margin-top: 15px;
  max-width: 465px;
}

.events-list p {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
  margin-top: 10px;
  max-width: 465px;
}

.events-slider::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

.events-slider::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 4px;
}

.events-slider::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 4px;
}

.events-slider::-webkit-scrollbar-thumb:hover {
  background: #555;
}

#fact {
  padding: 60px 20px;
  text-align: center;
  margin-top: 60px;
}

#fact h2 {
  font-size: 28px;
  margin-bottom: 20px;
  font-weight: bold;
}

.fact-list {
  display: flex;
  justify-content: space-between;
  gap: 80px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.fact-list li {
  text-align: center;
}

.fact-list h3 {
  font-size: 64px;
  color: #780000;
  margin: 0;
  font-weight: bold;
}

.fact-list p {
  font-size: 14px;
  color: #780000;
  margin-top: 10px;
  line-height: 1.4;
}

footer {
  background-color: #fff;
  padding: 40px 0;
  font-family: sans-serif;
  margin-top: 40px;
}

#subscription-background {
  background-color: #f7f7f7;
  width: 100%;
  height: 180px;
  display: flex;
  justify-content: center;
  align-items: center;
}

#subscription {
  max-width: 960px;
  width: 100%;
  padding: 0 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: sans-serif;
}

#subscription h2 {
  font-size: 28px;
  font-weight: bold;
  margin: 0;
}

#subscription .button {
  background-color: black;
  color: white;
  padding: 14px 32px;
  border-radius: 6px;
  text-decoration: none;
  font-size: 16px;
  transition: background-color 0.3s ease;
}

#subscription .button:hover {
  background-color: #333;
}

#footerInner {
  max-width: 1200px;
  display: flex;
  justify-content: space-between;
  gap: 40px;
  margin-top: 30px;
  margin-left: 150px;
}

#footerLeft {
  flex: 1 1 300px;
}

#footerLogo img {
  max-width: 300px;
}

.social-block {
  margin-top: 20px;
  margin-left: 20px;
}

.social-block p {
  color: #999;
  margin-bottom: 10px;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.social-icons {
  display: flex;
  gap: 16px;
}

.buttons-icon {
  font-size: 22px;
  transition: color 0.3s;
}

.facebook i { color: #999; }
.linkedin i { color: #999; }
.youtube i { color: #999; }
.instagram i { color: #999; }

.buttons-icon:hover i {
  filter: brightness(0.8);
  cursor: pointer;
}

#footerRight {
  display: flex;
  flex: 2 1 600px;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.footer-column {
  min-width: 150px;
}

.footer-column h2 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 12px;
}

.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-column li {
  margin-bottom: 10px;
}

.footer-column a {
  text-decoration: none;
  color: #444;
  font-size: 14px;
}

.footer-column a:hover {
  color: #000;
}

#footerCopyright {
  text-align: right;
  padding: 10px 20px;
  margin-right: 150px;
}

#footerCopyright p {
  display: inline-block;
  background-color: #d9d9d9;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 13px;
}