* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  color: #1f1f1f;
  background: #f8f8f4;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  width: 100%;
  display: block;
}

.navbar {
  height: 86px;
  padding: 0 110px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: white;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
  position: sticky;
  top: 0;
  z-index: 10;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}
.logo img {
  width: 250px;
  height: 250px;
  object-fit: contain;
}

nav {
  display: flex;
  gap: 38px;
  font-size: 14px;
}

nav a {
  padding: 0 0 10px;
  transition: 0.3s;
}

nav a.active {
  color: #6f8f6d;
  border-bottom: 3px solid #6f8f6d;
  padding-bottom: 10px;
}

.btn {
  padding: 15px 28px;
  border-radius: 8px;
  border: 1px solid #6f8f6d;
  font-weight: 600;
}

.green {
  background: #6f8f6d;
  color: white;
}

.outline {
  background: white;
  color: #333;
}

.hero {
  min-height: calc(100vh - 86px);
  display: grid;
  grid-template-columns: 720px 1fr;
  align-items: center;
  padding: 0 0 0 110px;
  background: #f8f8f7;
  overflow: hidden;
}

.hero h1 {
  font-family: Georgia, serif;
  font-size: 68px;
  line-height: 1.05;
  font-weight: 400;
  width: 720px;
}

.hero-image {
  height: calc(100vh - 86px);
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  overflow: visible;
}

.hero-image img {
  width: 1000px;
  max-width: none;
  height: auto;
  object-fit: contain;
  transform: translateX(-160px) translateY(-35px);
}

.badge {
  display: inline-block;
  background: #e8eee5;
  color: #6f8f6d;
  padding: 12px 20px;
  border-radius: 30px;
  font-weight: 600;
  margin-bottom: 25px;
}

.hero h1 {
  font-family: Georgia, serif;
  font-size: 72px;
  line-height: 1.1;
  font-weight: 400;
}

.hero h1 strong {
  color: #789575;
  font-weight: 400;
}

.hero p {
  max-width: 520px;
  font-size: 18px;
  line-height: 1.7;
  margin: 25px 0 35px;
  color: #444;
}

.hero-buttons {
  display: flex;
  gap: 18px;
}

.hero-image img {
  max-height: 620px;
  object-fit: contain;
}

.section {
  padding: 80px 110px;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin-bottom: 40px;
}

.section span,
.process span,
.gallery span,
.news span,
.why span,
.apply-section span {
  color: #6f8f6d;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 1px;
}

.section h2,
.why h2,
.process h2,
.gallery h2 {
  font-family: Georgia, serif;
  font-size: 42px;
  font-weight: 400;
  margin-top: 12px;
}

.small-btn {
  border: 1px solid #bfc8bc;
  padding: 13px 22px;
  border-radius: 8px;
  background: white;
}

.course-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 22px;
}

.course-card,
.news-card,
.why-card {
  background: white;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 12px 35px rgba(0,0,0,0.08);
}

.course-card img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  object-position: center top;
}

.course-card {
  min-height: 390px;
}

.course-card h3,
.course-card p,
.course-card a {
  margin-left: 22px;
}

.course-card h3 {
  margin-top: 22px;
  font-size: 19px;
}

.course-card p {
  margin-top: 8px;
  color: #777;
}

.course-card a {
  display: block;
  margin-top: 26px;
  margin-bottom: 22px;
  color: #6f8f6d;
  font-weight: 600;
}

.why {
  padding: 70px 110px;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 45px;
  background: #eef2e9;
}

.why h2 strong {
  color: #789575;
  font-weight: 400;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.why-card {
  padding: 35px 25px;
  font-size: 34px;
}

.why-card h3 {
  font-size: 18px;
  margin: 20px 0 12px;
}

.why-card p {
  font-size: 14px;
  color: #555;
  line-height: 1.5;
}

.process {
  text-align: center;
  background: white;
}

.steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 35px;
  margin-top: 55px;
}

.steps b {
  background: #6f8f6d;
  color: white;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin: 0 auto 25px;
}

.steps h3 {
  margin-bottom: 10px;
}

.steps p {
  color: #666;
}

.gallery {
  display: grid;
  grid-template-columns: 0.8fr 1.8fr;
  gap: 45px;
  align-items: center;
}

.gallery-text p {
  margin: 20px 0 35px;
  color: #555;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
}

.gallery-grid img {
  height: 180px;
  object-fit: cover;
  border-radius: 12px;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.news-card img {
  height: 190px;
  object-fit: cover;
}

.news-card {
  padding-bottom: 25px;
}

.news-card p,
.news-card h3,
.news-card a {
  margin-left: 22px;
  margin-right: 22px;
}

.news-card p {
  color: #777;
  margin-top: 18px;
  font-size: 14px;
}

.news-card h3 {
  margin-top: 10px;
  font-size: 20px;
  line-height: 1.4;
}

.news-card a {
  display: block;
  margin-top: 25px;
  color: #6f8f6d;
  font-weight: 600;
}

.apply-section {
  margin: 70px 110px 0;
  min-height: 210px;
  padding: 34px 48px;
  border-radius: 18px;
  background: linear-gradient(135deg, #7f9d79, #6f8f6d);
  color: white;
  display: grid;
  grid-template-columns: 1fr 220px 1.4fr;
  align-items: center;
  gap: 25px;
  overflow: hidden;
}

.apply-left span {
  color: white;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
}

.apply-left h2 {
  font-family: Georgia, serif;
  font-size: 38px;
  line-height: 1.08;
  font-weight: 400;
  margin: 14px 0;
}

.apply-left p {
  font-size: 14px;
  line-height: 1.6;
  opacity: 0.9;
}

.apply-icon {
  opacity: 0.18;
}

.apply-icon img {
  width: 190px;
}

.apply-form h4 {
  font-size: 15px;
  margin-bottom: 18px;
  font-weight: 600;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 12px;
}

.apply-form input,
.apply-form select,
.apply-form button {
  width: 100%;
  height: 48px;
  border: none;
  border-radius: 7px;
  padding: 0 16px;
  font-size: 14px;
}

.apply-form button {
  background: #191919;
  color: white;
  cursor: pointer;
  font-weight: 600;
}

footer {
  padding: 55px 110px;
  background: #151917;
  color: white;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.4fr;
  gap: 40px;
}

footer h4 {
  margin-bottom: 18px;
}

footer a,
footer p {
  display: block;
  color: #cfcfcf;
  margin-bottom: 10px;
  font-size: 14px;
}
.navbar .btn {
  transition: 0.3s;
}

.navbar .btn:hover {
  background: #6f8f6d;
  color: white;
  border-color: #6f8f6d;
}
@media (max-width: 900px) {
  .navbar {
    padding: 20px;
  }

  nav {
    display: none;
  }

  .hero,
  .why,
  .gallery,
  footer {
    grid-template-columns: 1fr;
    padding-left: 20px;
    padding-right: 20px;
  }

  .section {
    padding: 60px 20px;
  }

  .hero h1 {
    font-size: 46px;
  }

  .course-grid,
  .why-grid,
  .steps,
  .news-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .apply-section {
    margin: 40px 20px 0;
    padding: 30px 22px;
    grid-template-columns: 1fr;
  }

  .apply-icon {
    display: none;
  }

  .form-row {
    grid-template-columns: 1fr;
  }
}
.courses-hero {
  padding: 70px 110px 0;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  align-items: center;
  background: #f5f4f4;
}

.courses-hero-text h1 {
  font-family: Georgia, serif;
  font-size: 70px;
  font-weight: 400;
  margin: 25px 0;
}

.courses-hero-text h1 span {
  color: #789575;
}

.courses-hero-text > p {
  color: #6f8f6d;
}

.hero-desc {
  color: #333 !important;
  max-width: 520px;
  line-height: 1.8;
}

.course-features {
  display: flex;
  gap: 35px;
  margin-top: 45px;
}

.course-features div {
  display: grid;
  gap: 6px;
  font-size: 14px;
}

.course-features small {
  color: #777;
}

.courses-hero-img img {
  max-height: 430px;
  object-fit: contain;
}

.courses-page {
  padding: 60px 110px;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 45px;
}

.filter-box {
  background: white;
  border-radius: 14px;
  box-shadow: 0 12px 35px rgba(0,0,0,0.07);
  overflow: hidden;
  margin-bottom: 30px;
}

.filter-box h3 {
  background: #789575;
  color: white;
  padding: 22px;
  font-size: 18px;
}

.filter-box a {
  display: flex;
  justify-content: space-between;
  padding: 16px 22px;
  border-bottom: 1px solid #eee;
  font-size: 15px;
}

.filter-box span {
  background: #eef2e9;
  color: #6f8f6d;
  padding: 3px 8px;
  border-radius: 8px;
}

.filter-box.light {
  padding: 25px;
}

.filter-box.light h3 {
  background: none;
  color: #222;
  padding: 0;
  margin-bottom: 25px;
}

.filter-box.light p {
  font-weight: 700;
  margin: 20px 0 12px;
}

.filter-box.light label {
  display: block;
  margin-bottom: 12px;
  color: #666;
}

.filter-box.light button {
  width: 100%;
  height: 48px;
  margin-top: 20px;
  border: none;
  border-radius: 8px;
  background: #789575;
  color: white;
  font-weight: 700;
}

.courses-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 35px;
}

.courses-top button {
  background: white;
  border: 1px solid #ddd;
  padding: 14px 22px;
  border-radius: 8px;
}

.courses-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.big-course-card {
  background: white;
  border-radius: 14px;
  box-shadow: 0 12px 35px rgba(0,0,0,0.08);
  overflow: hidden;
  padding-bottom: 18px;
}

.big-course-card img {
  height: 210px;
  object-fit: cover;
}

.big-course-card h3 {
  font-family: Georgia, serif;
  font-size: 27px;
  margin: 22px 22px 10px;
}

.big-course-card p {
  margin: 0 22px 15px;
  color: #555;
  line-height: 1.5;
}

.big-course-card small {
  margin: 0 22px;
  display: block;
  color: #777;
}

.big-course-card div {
  margin: 22px 22px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.big-course-card a {
  color: #2f4f32;
  font-weight: 700;
}

.big-course-card button {
  background: #789575;
  color: white;
  border: none;
  border-radius: 7px;
  padding: 12px 20px;
  cursor: pointer;
}

.course-cta {
  margin: 0 110px 0;
  padding: 30px 45px;
  border-radius: 14px 14px 0 0;
  background: #789575;
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.course-cta a {
  background: white;
  color: #222;
  padding: 15px 28px;
  border-radius: 8px;
  font-weight: 700;
}

@media (max-width: 900px) {
  .courses-hero,
  .courses-page {
    grid-template-columns: 1fr;
    padding: 40px 20px;
  }

  .courses-hero-text h1 {
    font-size: 46px;
  }

  .course-features,
  .course-cta {
    flex-direction: column;
    align-items: flex-start;
  }

  .courses-cards {
    grid-template-columns: 1fr;
  }

  .course-cta {
    margin: 0 20px;
  }
}
.about-hero {
  padding: 80px 110px 50px;
  display: grid;
  grid-template-columns: 0.9fr 1.2fr;
  gap: 70px;
  align-items: center;
}

.breadcrumb {
  color: #6f8f6d;
  margin-bottom: 28px;
}

.about-text h1 {
  font-family: Georgia, serif;
  font-size: 70px;
  font-weight: 400;
  margin-bottom: 25px;
}

.about-text h1 span {
  color: #789575;
}

.about-text p {
  font-size: 17px;
  line-height: 1.8;
  color: #444;
  margin-bottom: 18px;
}

.about-text .btn {
  display: inline-block;
  margin-top: 15px;
}

.about-image img {
  height: 430px;
  object-fit: cover;
  border-radius: 18px;
}

.mission-box {
  margin: 20px 110px 70px;
  padding: 55px 70px;
  background: white;
  border-radius: 18px;
  box-shadow: 0 15px 45px rgba(0,0,0,0.06);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
}

.mission-item {
  display: flex;
  gap: 30px;
  align-items: center;
}

.circle-icon {
  min-width: 100px;
  height: 100px;
  background: #789575;
  color: white;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 42px;
}

.mission-item h3 {
  font-family: Georgia, serif;
  font-size: 25px;
  margin-bottom: 15px;
}

.mission-item p {
  color: #555;
  line-height: 1.8;
}

.about-why {
  padding: 0 110px 80px;
  text-align: center;
}

.about-why h2 {
  font-family: Georgia, serif;
  font-size: 36px;
  font-weight: 400;
  margin-bottom: 45px;
}

.about-why-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
}

.about-why-card {
  background: white;
  border: 1px solid #eee;
  border-radius: 14px;
  padding: 32px 20px;
  text-align: left;
  font-size: 32px;
}

.about-why-card h3 {
  font-size: 16px;
  margin: 22px 0 14px;
}

.about-why-card p {
  font-size: 14px;
  color: #555;
  line-height: 1.7;
}

.teaching {
  padding: 0 110px 80px;
  display: grid;
  grid-template-columns: 0.8fr 1.7fr;
  gap: 55px;
  align-items: center;
}

.teaching-text span {
  color: #6f8f6d;
  font-weight: 700;
  font-size: 13px;
}

.teaching-text h2 {
  font-family: Georgia, serif;
  font-size: 42px;
  font-weight: 400;
  margin: 15px 0 20px;
}

.teaching-text p {
  color: #555;
  line-height: 1.8;
}

.teaching-text ul {
  margin-top: 20px;
  list-style: none;
}

.teaching-text li {
  margin-bottom: 12px;
  color: #444;
}

.teaching-text li::before {
  content: "✓";
  color: #6f8f6d;
  margin-right: 10px;
  font-weight: bold;
}

.teaching-gallery {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr;
  gap: 16px;
}

.teaching-gallery img {
  height: 170px;
  object-fit: cover;
  border-radius: 14px;
}

.teaching-gallery .large {
  grid-row: span 2;
  height: 356px;
}

.about-apply {
  margin: 0 110px 25px;
  padding: 45px 55px;
  border-radius: 18px;
  background: #789575;
  color: white;
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 50px;
  align-items: center;
}

.about-apply h2 {
  font-family: Georgia, serif;
  font-size: 36px;
  font-weight: 400;
  margin-bottom: 15px;
}

.about-apply p {
  line-height: 1.7;
  opacity: 0.9;
}

@media (max-width: 900px) {
  .about-hero,
  .mission-box,
  .teaching,
  .about-apply {
    grid-template-columns: 1fr;
    margin-left: 20px;
    margin-right: 20px;
    padding-left: 20px;
    padding-right: 20px;
  }

  .about-hero {
    padding-top: 50px;
  }

  .about-text h1 {
    font-size: 48px;
  }

  .about-why {
    padding: 0 20px 60px;
  }

  .about-why-grid,
  .teaching-gallery {
    grid-template-columns: 1fr;
  }

  .teaching-gallery .large {
    height: 220px;
  }

  .teaching-gallery img {
    height: 220px;
  }
}
.about-hero {
  padding: 80px 110px 50px;
  display: grid;
  grid-template-columns: 0.9fr 1.2fr;
  gap: 70px;
  align-items: center;
}

.breadcrumb {
  color: #6f8f6d;
  margin-bottom: 28px;
}

.about-text h1 {
  font-family: Georgia, serif;
  font-size: 70px;
  font-weight: 400;
  margin-bottom: 25px;
}

.about-text h1 span {
  color: #789575;
}

.about-text p {
  font-size: 17px;
  line-height: 1.8;
  color: #444;
  margin-bottom: 18px;
}

.about-text .btn {
  display: inline-block;
  margin-top: 15px;
}

.about-image img {
  height: 430px;
  object-fit: cover;
  border-radius: 18px;
}

.mission-box {
  margin: 20px 110px 70px;
  padding: 55px 70px;
  background: white;
  border-radius: 18px;
  box-shadow: 0 15px 45px rgba(0,0,0,0.06);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
}

.mission-item {
  display: flex;
  gap: 30px;
  align-items: center;
}

.circle-icon {
  min-width: 100px;
  height: 100px;
  background: #789575;
  color: white;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 42px;
}

.mission-item h3 {
  font-family: Georgia, serif;
  font-size: 25px;
  margin-bottom: 15px;
}

.mission-item p {
  color: #555;
  line-height: 1.8;
}

.about-why {
  padding: 0 110px 80px;
  text-align: center;
}

.about-why h2 {
  font-family: Georgia, serif;
  font-size: 36px;
  font-weight: 400;
  margin-bottom: 45px;
}

.about-why-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
}

.about-why-card {
  background: white;
  border: 1px solid #eee;
  border-radius: 14px;
  padding: 32px 20px;
  text-align: left;
  font-size: 32px;
}

.about-why-card h3 {
  font-size: 16px;
  margin: 22px 0 14px;
}

.about-why-card p {
  font-size: 14px;
  color: #555;
  line-height: 1.7;
}

.teaching {
  padding: 0 110px 80px;
  display: grid;
  grid-template-columns: 0.8fr 1.7fr;
  gap: 55px;
  align-items: center;
}

.teaching-text span {
  color: #6f8f6d;
  font-weight: 700;
  font-size: 13px;
}

.teaching-text h2 {
  font-family: Georgia, serif;
  font-size: 42px;
  font-weight: 400;
  margin: 15px 0 20px;
}

.teaching-text p {
  color: #555;
  line-height: 1.8;
}

.teaching-text ul {
  margin-top: 20px;
  list-style: none;
}

.teaching-text li {
  margin-bottom: 12px;
  color: #444;
}

.teaching-text li::before {
  content: "✓";
  color: #6f8f6d;
  margin-right: 10px;
  font-weight: bold;
}

.teaching-gallery {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr;
  gap: 16px;
}

.teaching-gallery img {
  height: 170px;
  object-fit: cover;
  border-radius: 14px;
}

.teaching-gallery .large {
  grid-row: span 2;
  height: 356px;
}

.about-apply {
  margin: 0 110px 25px;
  padding: 45px 55px;
  border-radius: 18px;
  background: #789575;
  color: white;
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 50px;
  align-items: center;
}

.about-apply h2 {
  font-family: Georgia, serif;
  font-size: 36px;
  font-weight: 400;
  margin-bottom: 15px;
}

.about-apply p {
  line-height: 1.7;
  opacity: 0.9;
}

@media (max-width: 900px) {
  .about-hero,
  .mission-box,
  .teaching,
  .about-apply {
    grid-template-columns: 1fr;
    margin-left: 20px;
    margin-right: 20px;
    padding-left: 20px;
    padding-right: 20px;
  }

  .about-hero {
    padding-top: 50px;
  }

  .about-text h1 {
    font-size: 48px;
  }

  .about-why {
    padding: 0 20px 60px;
  }

  .about-why-grid,
  .teaching-gallery {
    grid-template-columns: 1fr;
  }

  .teaching-gallery .large {
    height: 220px;
  }

  .teaching-gallery img {
    height: 220px;
  }
}
.gallery-hero {
  min-height: 310px;
  padding: 75px 110px;
  background:
    linear-gradient(to right, #f8f8f4 0%, #f8f8f4 38%, rgba(248,248,244,0.65) 58%, rgba(248,248,244,0.1) 100%),
    url("images/gallery-hero.jpg") center right / cover no-repeat;
  display: flex;
  align-items: center;
}

.gallery-hero h1 {
  font-family: Georgia, serif;
  font-size: 72px;
  font-weight: 400;
  margin: 25px 0 20px;
}

.gallery-hero h1 span {
  color: #789575;
}

.gallery-hero p:last-child {
  max-width: 520px;
  font-size: 18px;
  line-height: 1.8;
  color: #444;
}

.gallery-page {
  padding: 45px 110px 70px;
}

.gallery-tabs {
  display: flex;
  gap: 16px;
  margin-bottom: 35px;
  flex-wrap: wrap;
}

.gallery-tabs button {
  padding: 15px 28px;
  border-radius: 8px;
  border: 1px solid #ddd;
  background: white;
  cursor: pointer;
  font-weight: 600;
}

.gallery-tabs button.active {
  background: #789575;
  color: white;
  border-color: #789575;
}

.gallery-masonry {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.gallery-masonry img {
  height: 270px;
  object-fit: cover;
  border-radius: 14px;
}

.gallery-masonry img:nth-child(4),
.gallery-masonry img:nth-child(9) {
  grid-column: span 1;
}

.gallery-masonry img:nth-child(5),
.gallery-masonry img:nth-child(6) {
  height: 245px;
}

.pagination {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 35px;
}

.pagination button {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  border: 1px solid #ddd;
  background: white;
  cursor: pointer;
}

.pagination button.active {
  background: #789575;
  color: white;
  border-color: #789575;
}

@media (max-width: 900px) {
  .gallery-hero,
  .gallery-page {
    padding-left: 20px;
    padding-right: 20px;
  }

  .gallery-hero h1 {
    font-size: 48px;
  }

  .gallery-masonry {
    grid-template-columns: 1fr;
  }

  .gallery-masonry img {
    height: 230px;
  }
}
.blog-hero {
  min-height: 310px;
  padding: 75px 110px;
  background:
    linear-gradient(to right, #f8f8f4 0%, #f8f8f4 42%, rgba(248,248,244,0.65) 62%, rgba(248,248,244,0.05) 100%),
    url("images/blog-hero.jpg") center right / cover no-repeat;
  display: flex;
  align-items: center;
}

.blog-hero h1 {
  font-family: Georgia, serif;
  font-size: 66px;
  font-weight: 400;
  margin-bottom: 25px;
}

.blog-hero h1 span {
  color: #789575;
}

.blog-hero p {
  max-width: 560px;
  font-size: 17px;
  line-height: 1.8;
  color: #444;
}

.blog-page {
  padding: 45px 110px 70px;
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 35px;
}

.blog-tabs {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 35px;
}

.blog-tabs button {
  padding: 14px 24px;
  border-radius: 8px;
  border: 1px solid #ddd;
  background: white;
  cursor: pointer;
}

.blog-tabs button.active {
  background: #789575;
  color: white;
  border-color: #789575;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.blog-card {
  background: white;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 12px 35px rgba(0,0,0,0.07);
  padding-bottom: 22px;
  position: relative;
}

.blog-card img {
  height: 190px;
  object-fit: cover;
}

.blog-card span {
  position: absolute;
  top: 155px;
  left: 18px;
  background: #789575;
  color: white;
  padding: 7px 12px;
  border-radius: 6px;
  font-size: 12px;
}

.blog-card p,
.blog-card h3,
.blog-card a {
  margin-left: 20px;
  margin-right: 20px;
}

.blog-card p {
  color: #666;
  line-height: 1.6;
  margin-top: 18px;
  font-size: 14px;
}

.blog-card h3 {
  font-size: 21px;
  margin-top: 10px;
  line-height: 1.35;
}

.blog-card a {
  display: block;
  margin-top: 20px;
  color: #4f744f;
  font-weight: 700;
}

.blog-sidebar {
  padding-top: 0;
}

.search-box {
  display: flex;
  margin-bottom: 28px;
}

.search-box input {
  flex: 1;
  height: 52px;
  border: 1px solid #ddd;
  border-radius: 8px 0 0 8px;
  padding: 0 18px;
}

.search-box button {
  width: 58px;
  border: none;
  background: #789575;
  color: white;
  border-radius: 0 8px 8px 0;
}

.side-card,
.subscribe-card,
.popular-card {
  background: white;
  border-radius: 14px;
  box-shadow: 0 12px 35px rgba(0,0,0,0.06);
  padding: 25px;
  margin-bottom: 25px;
}

.side-card h3,
.subscribe-card h3,
.popular-card h3 {
  font-family: Georgia, serif;
  font-size: 24px;
  margin-bottom: 22px;
}

.side-card a {
  display: flex;
  justify-content: space-between;
  padding: 13px 0;
  color: #333;
}

.side-card span {
  background: #eef2e9;
  color: #6f8f6d;
  padding: 3px 8px;
  border-radius: 8px;
}

.subscribe-card {
  background: #789575;
  color: white;
}

.subscribe-card p {
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 18px;
}

.subscribe-card input,
.subscribe-card button {
  width: 100%;
  height: 48px;
  border: none;
  border-radius: 8px;
  padding: 0 16px;
  margin-bottom: 12px;
}

.subscribe-card button {
  background: #191919;
  color: white;
}

.popular-item {
  display: flex;
  gap: 14px;
  margin-bottom: 18px;
}

.popular-item img {
  width: 70px;
  height: 70px;
  border-radius: 8px;
  object-fit: cover;
}

.popular-item h4 {
  font-size: 14px;
  line-height: 1.35;
}

.popular-item p {
  font-size: 12px;
  color: #777;
  margin-top: 7px;
}

@media (max-width: 900px) {
  .blog-hero,
  .blog-page {
    padding-left: 20px;
    padding-right: 20px;
  }

  .blog-page {
    grid-template-columns: 1fr;
  }

  .blog-grid {
    grid-template-columns: 1fr;
  }

  .blog-hero h1 {
    font-size: 46px;
  }
}
.contact-hero {
  min-height: 420px;
  padding: 80px 110px;
  background:
    linear-gradient(to right, #f8f8f4 0%, #f8f8f4 38%, rgba(248,248,244,0.7) 58%, rgba(248,248,244,0.1) 100%),
    url("images/contact-hero.jpg") center right / cover no-repeat;
  display: flex;
  align-items: center;
}

.contact-hero h1 {
  font-family: Georgia, serif;
  font-size: 66px;
  font-weight: 400;
  line-height: 1.1;
  margin: 25px 0;
}

.contact-hero h1 span {
  color: #789575;
}

.contact-desc {
  max-width: 520px;
  border-left: 3px solid #789575;
  padding-left: 25px;
  font-size: 17px;
  line-height: 1.8;
  color: #444;
}

.contact-info {
  padding: 0 110px;
  margin-top: -35px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  position: relative;
  z-index: 2;
}

.info-card {
  background: white;
  padding: 30px;
  border-radius: 14px;
  box-shadow: 0 12px 35px rgba(0,0,0,0.08);
}

.info-card h3 {
  margin: 14px 0 10px;
  font-size: 20px;
}

.info-card p {
  color: #444;
  line-height: 1.7;
}

.contact-main {
  padding: 65px 110px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 35px;
}

.write-box,
.center-box {
  background: white;
  border-radius: 18px;
  box-shadow: 0 12px 35px rgba(0,0,0,0.07);
  padding: 45px;
}

.write-box h2,
.center-box h2 {
  font-family: Georgia, serif;
  font-size: 34px;
  font-weight: 400;
  margin-bottom: 15px;
}

.write-box > p,
.center-box > p {
  color: #555;
  line-height: 1.7;
  margin-bottom: 28px;
}

.write-box form {
  display: grid;
  gap: 16px;
}

.write-box input,
.write-box select,
.write-box textarea {
  width: 100%;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 0 18px;
  font-size: 15px;
}

.write-box input,
.write-box select {
  height: 55px;
}

.write-box textarea {
  height: 160px;
  padding-top: 18px;
  resize: none;
}

.write-box button {
  height: 55px;
  border: none;
  border-radius: 8px;
  background: #789575;
  color: white;
  font-weight: 700;
  cursor: pointer;
}

.write-box small {
  color: #8a9b8a;
}

.map-side img {
  height: 370px;
  object-fit: cover;
  border-radius: 18px;
  margin-bottom: 22px;
}

.transport {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  margin-top: 25px;
}

.transport h4 {
  margin: 10px 0;
}

.transport p {
  font-size: 13px;
  color: #555;
  line-height: 1.6;
}

@media (max-width: 900px) {
  .contact-hero,
  .contact-main,
  .contact-info {
    padding-left: 20px;
    padding-right: 20px;
  }

  .contact-info,
  .contact-main,
  .transport {
    grid-template-columns: 1fr;
  }

  .contact-hero h1 {
    font-size: 46px;
  }
}
/* Ana sayfadaki 4 kurs kartı */
.course-grid.four-courses {
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  width: 100%;
}

.course-grid.four-courses .course-card {
  width: 100%;
  min-height: 420px;
}

.course-grid.four-courses .course-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  object-position: center;
}
.course-grid.four-courses .course-card.design-card img {
  object-position: center 25% !important;
}
.courses-cards.four-course-list .big-course-card.design-card img {
  height: 260px;
  object-fit: cover;
  object-position: center 30%;
}