@font-face {
  font-family: "Times-Roman";
  src: url("../fonts/OPTITimes-Roman.otf") format("opentype");
}

@font-face {
  font-family: "Cooper-BT";
  src: url("../fonts/cooper-bt-light.otf") format("opentype");
}

@font-face {
  font-family: "Haas Grot Text 65";
  src:
    url("HaasGrotText-65Medium.woff2") format("woff2"),
    url("HaasGrotText-65Medium.woff") format("woff");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Haas Grot Text 55 Roman";
  src:
    url("HaasGrotText-75Bold.woff2") format("woff2"),
    url("HaasGrotText-75Bold.woff") format("woff");
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Haas Grot Text 55 Roman";
  src:
    url("HaasGrotText-55Roman.woff2") format("woff2"),
    url("HaasGrotText-55Roman.woff") format("woff");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

section.banner-section {
  background: url(../images/banner-main.png);
  background-position: center;
  background-size: 100% 100%;
  background-repeat: no-repeat;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100vh;
}

section.banner-section .container .col-md-12 {
  display: flex;
  align-items: center;
  justify-content: center;
}

section.banner-section .container .row {
}

section.banner-section .container .col-md-12 .content-div {
  background: url(../images/banner-border.png);
  background-position: center;
  background-size: 100% 100%;
  background-repeat: no-repeat;
  height: 600px;
  width: 430px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

section.banner-section .container .col-md-12 .content-div h3 {
  font-family: "Khand", sans-serif;
  font-weight: 500;
  font-style: normal;
  text-align: center;
  font-size: 37px;
  color: #181818;
}

section.banner-section .container .col-md-12 .content-div h2 {
  font-family: "Times-Roman";
  font-weight: 500;
  font-style: normal;
  text-align: center;
  font-size: 52px;
  line-height: 83px;
  color: #181818;
}

section.banner-section .container .col-md-12 .content-div p {
  font-family: "Times-Roman";
  font-weight: 500;
  font-style: normal;
  text-align: center;
  font-size: 20px;
  color: #000;
  margin-top: 10px;
}

header {
  padding: 20px 0;
  position: absolute;
  width: 100%;
  z-index: 99;
}

header .logo img {
  width: 70%;
}

header .menu ul {
  display: flex;
  list-style: none;
  gap: 15px;
  margin: 0;
  justify-content: end;
}

header .menu ul li a {
  text-decoration: none;
  color: #000;
  font-size: 18px;
  line-height: 28px;
  font-family: "Haas Grot Text 65";
}

.swiper-button-prev,
.swiper-button-next {
  background: hsla(0, 0%, 100%, 0.75);
  color: #000;
  padding: 25px;
  border-radius: 100px;
}

.swiper-button-prev:after,
.swiper-button-next:after {
  font-size: 20px;
}

section.book-slider .swiper-slide .book-card img {
  width: 80%;
  height: 420px;
  object-fit: contain;
  transition: transform 0.3s ease;
}

section.book-slider .swiper-slide .book-card img:hover {
  transform: translateY(-20px);
}

section.book-slider .swiper-slide .book-card {
  margin: 30px 0px;
}

section.book-slider .swiper-slide .book-card h6 {
  font-size: 22px;
  font-family: "Cooper-BT";
  line-height: 1.14;
  margin-top: 20px !important;
  text-align: center;
}

section.book-slider .swiper-slide .book-card h4 {
  font-size: 14px;
  font-family: "Open Sans";
  font-weight: 400;
  color: #000;
}

section.book-slider .swiper-slide .book-card span.badge {
  background: #e6f1dd;
  color: #000;
  font-size: 14px;
  font-weight: 400;
  padding: 7px 10px;
}

.section-categories {
  max-width: 1300px;
  margin: 0 auto;
  padding: 60px 20px;
  text-align: center;
}

.section-categories h2 {
  font-size: 50px;
  margin-bottom: 50px;
  font-family: "Cooper-BT";
  color: #000;
}

.section-categories .categories {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 30px;
}

.section-categories .category {
  flex: 1;
  min-width: 200px;
  display: flex;
  align-items: center;
  gap: 15px;
  text-align: left;
}

.section-categories .icon {
  width: 80px;
}

.section-categories .category h3 {
  margin: 0;
  font-size: 22px;
  font-family: "Cooper-BT";
  font-weight: 300;
}

.section-categories .category p {
  margin: 5px 0 0;
  font-size: 14px;
  color: #666;
}

.section-categories .btn {
  margin-top: 40px;
  padding: 12px 25px;
  background: #000;
  color: #fff;
  border: none;
  cursor: pointer;
  font-size: 13px;
  border-radius: 6px;
  font-family: "Open Sans";
  font-weight: bold;
}

section.book-slider .container-fluid h2 {
  font-size: 50px;
  margin-bottom: 40px;
  font-family: "Cooper-BT";
  color: #000;
  text-align: center;
  margin-top: 60px;
}

.section-communities {
  max-width: 1470px;
  margin: 0 auto;
  padding: 60px 20px;
}

.section-communities h2 {
  font-size: 50px;
  margin-bottom: 70px;
  font-family: "Cooper-BT";
  color: #000;
  text-align: center;
}

.section-communities .icon {
  width: 80px;
}

.section-communities .communities h3 {
  margin: 0;
  font-size: 22px;
  font-family: "Cooper-BT";
  font-weight: 300;
}

.section-communities .communities p {
  margin: 5px 0 0;
  font-size: 14px;
  color: #666;
}

/* Ã¢â€â‚¬Ã¢â€â‚¬ FOOTER Ã¢â€â‚¬Ã¢â€â‚¬ */
.mac-footer {
  border-top: 1px solid #e0e0e0;
  background: #fff;
  padding: 90px 0 0;
}

.mac-footer .footer-inner {
  margin: 0 auto;
  padding: 0px 50px 50px;
  width: 80%;
}

/* Ã¢â€â‚¬Ã¢â€â‚¬ TOP SECTION: links + newsletter Ã¢â€â‚¬Ã¢â€â‚¬ */
.footer-top {
  display: flex;
  gap: 0 0px;
  padding-bottom: 92px;
  justify-content: space-between;
}

/* Column headings */
.footer-col h4 {
  font-size: 25px;
  color: #1a1a1a;
  margin-bottom: 20px;
  letter-spacing: 0;
  font-family: "Cooper-BT";
}

/* Links */
.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col ul li a {
  font-size: 0.82rem;
  color: #000;
  text-decoration: none;
  line-height: 1.4;
  transition: color 0.15s;
  font-family: "Open Sans";
  font-weight: 600;
}

.footer-col ul li a:hover {
  color: #ce0e2d;
}

/* Ã¢â€â‚¬Ã¢â€â‚¬ NEWSLETTER COLUMN Ã¢â€â‚¬Ã¢â€â‚¬ */
.footer-newsletter {
  display: flex;
  flex-direction: column;
  width: 40%;
}

.newsletter-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}

.newsletter-top h4 {
  font-size: 1rem;
  color: #1a1a1a;
  white-space: nowrap;
  font-family: "Cooper-BT";
}

/* Social icons row */
.social-icons {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.social-icons a {
  color: #1a1a1a;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.15s;
  text-decoration: none;
}

.social-icons a:hover {
  color: #ce0e2d;
}
.social-icons svg {
  width: 17px;
  height: 17px;
}

/* Country select */
.newsletter-select {
  width: 100%;
  border: 1.5px solid #c8c8c8;
  border-radius: 3px;
  padding: 10px 36px 10px 14px;
  font-size: 15px;
  color: #000000;
  background: #fff;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23555' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  outline: none;
  cursor: pointer;
  margin-bottom: 10px;
  font-family: "Open Sans";
}

/* Email + button row */
.newsletter-email-row {
  display: flex;
  gap: 0;
  border-radius: 3px;
  overflow: hidden;
}

.newsletter-email-row input {
  flex: 1;
  border: 1.5px solid #c8c8c8;
  border-right: none;
  padding: 10px 14px;
  font-size: 0.83rem;
  color: #000000;
  outline: none;
  font-family: "Open Sans";
  border-radius: 3px 0 0 3px;
}

.newsletter-email-row input::placeholder {
  color: #aaa;
}

.btn-view-newsletters {
  background: #1a1a1a;
  color: #fff;
  border: none;
  padding: 10px 22px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  white-space: nowrap;
  font-family: "Open Sans";
  border-radius: 0 3px 3px 0;
  transition: background 0.18s;
}

.btn-view-newsletters:hover {
  background: #333;
}

/* Ã¢â€â‚¬Ã¢â€â‚¬ BOTTOM BAR Ã¢â€â‚¬Ã¢â€â‚¬ */
.footer-bottom {
  border-top: 1px solid #e0e0e0;
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom-links {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}

.footer-bottom-links a {
  font-size: 0.78rem;
  color: #1a1a1a;
  text-decoration: none;
  transition: color 0.15s;
}

.footer-bottom-links a:hover {
  color: #ce0e2d;
}

.footer-bottom-right {
  text-align: right;
  font-size: 0.75rem;
  color: #555;
  line-height: 1.5;
}

.footer-bottom-right a {
  color: #555;
  text-decoration: underline;
  transition: color 0.15s;
}

.footer-bottom-right a:hover {
  color: #ce0e2d;
}

.section-events {
  padding: 60px 40px 70px;
  font-family: "Open Sans";
}

/* Section title */
.section-events .se-title {
  text-align: center;
  font-family: "Cooper-BT";
  font-size: 50px;
  font-weight: 400;
  color: #1a1a1a;
  margin-bottom: 40px;
  letter-spacing: -0.01em;
}

/* Cards grid */
.section-events .se-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  max-width: 1440px;
  margin: 0 auto 40px;
}

/* Single card */
.section-events .se-card {
  background: #fff;
  border: 1px solid #e2e2e2;
  border-radius: 4px;
  padding: 22px 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* Date row: "12 Mar - 17 May" */
.section-events .se-date-row {
  display: flex;
  align-items: baseline;
  gap: 6px;
  flex-wrap: wrap;
}

.section-events .se-date-block {
  display: flex;
  gap: 5px;
  align-items: center;
}

.section-events .se-day {
  font-family: "Cooper-BT";
  font-size: 50px;
  color: #000;
}

.section-events .se-month-year {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.section-events .se-month {
  font-size: 14px;
  font-weight: 600;
  color: #000;
  font-family: "Open Sans";
}

.section-events .se-year {
  font-size: 14px;
  color: #777;
  font-family: "Open Sans";
}

.section-events .se-dash {
  font-size: 1.1rem;
  color: #888;
  margin: 0 2px;
  align-self: center;
}

/* Event name */
.section-events .se-event-name {
  font-family: "Cooper-BT";
  font-size: 22px;
  font-weight: 400;
  color: #000;
  line-height: 1.35;
  margin: 0;
}

/* Description */
.section-events .se-desc {
  font-size: 14px;
  color: #333;
  margin: 0;
  flex: 1;
  font-family: "Open Sans";
}

.section-events .se-desc em {
  font-style: italic;
}

/* Bottom row: book cover + locations + learn more */
.section-events .se-bottom {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  margin-top: 20px;
}

.section-events .se-cover {
  width: 68px;
  height: 96px;
  object-fit: cover;
  border-radius: 2px;
  flex-shrink: 0;
  box-shadow: 2px 3px 8px rgba(0, 0, 0, 0.15);
}

.section-events .se-meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
  min-width: 0;
}

.section-events .se-locations {
  font-size: 14px;
  color: #555;
  line-height: 21px;
  font-family: "Open Sans";
}

.section-events .se-learn {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  color: #1a1a1a;
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
  transition: color 0.15s;
  font-family: "Open Sans";
}

.section-events .se-learn:hover {
  color: #cc1f2d;
}

/* View All Events button */
.section-events .se-view-all-wrap {
  display: flex;
  justify-content: center;
  margin-top: 8px;
}

.section-events .se-btn-all {
  background: #000;
  color: #fff;
  border: none;
  padding: 14px 40px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  font-family: "Open Sans";
  cursor: pointer;
  border-radius: 2px;
  transition: background 0.18s;
}

.section-events .se-card:hover {
  background: #e6f1dd;
}

.section-events .se-btn-all:hover {
  background: #333;
}

.section-communities .row.communities .col-md-3 {
  display: flex;
  align-items: center;
  gap: 20px;
}

/* Ã¢â€â‚¬Ã¢â€â‚¬ RESPONSIVE Ã¢â€â‚¬Ã¢â€â‚¬ */
@media (max-width: 1600px) {
  .mac-footer .footer-inner {
    width: 94%;
  }

  section.banner-section .container .col-md-12 .content-div h2 {
    font-size: 41px;
    line-height: 58px;
  }

  section.banner-section .container .col-md-12 .content-div {
    height: 490px;
    width: 340px;
  }

  section.banner-section .container .col-md-12 .content-div h3 {
    font-size: 32px;
  }

  section.banner-section .container .col-md-12 .content-div p {
    font-size: 18px;
  }

  section.book-slider .swiper-slide .book-card h6 {
    font-size: 20px;
    line-height: 29px;
  }
}

@media (max-width: 1440px) {
  .mac-footer .footer-inner {
    width: 100%;
  }

  section.book-slider .swiper-slide .book-card img {
    height: 380px;
  }

  section.banner-section {
    height: 740px;
  }

  .section-communities .communities h3 {
    font-size: 19px;
  }
}

@media (max-width: 1100px) {
  .section-events .se-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 32px 40px;
  }
  .footer-newsletter {
    grid-column: 1 / -1;
  }
  .newsletter-top {
    flex-wrap: wrap;
  }
  .section-categories h2 {
    font-size: 40px;
  }
  section.book-slider .container-fluid h2 {
    font-size: 40px;
    margin-top: 40px;
    margin-bottom: 30px;
  }

  section.book-slider .swiper-slide .book-card img {
    height: 310px;
  }

  .section-events .se-title {
    font-size: 40px;
  }

  .section-communities h2 {
    font-size: 40px;
    margin-bottom: 50px;
  }

  .section-communities {
    padding: 40px 20px;
  }

  .section-communities .icon {
    width: 60px;
  }

  header .logo img {
    width: 95%;
  }

  header .menu ul li a {
    font-size: 13px;
  }

  header .menu ul {
    gap: 13px;
  }

  section.banner-section .container .col-md-12 .content-div {
    height: 450px;
    width: 310px;
  }

  section.banner-section .container .col-md-12 .content-div h3 {
    font-size: 28px;
  }

  section.banner-section .container .col-md-12 .content-div h2 {
    font-size: 35px;
    line-height: 51px;
  }

  section.banner-section .container .col-md-12 .content-div p {
    font-size: 16px;
  }

  section.banner-section {
    height: 700px;
  }

  section.book-slider .swiper-slide .book-card h6 {
    font-size: 16px;
    line-height: 19px;
  }

  .section-categories .categories {
    gap: 70px;
  }

  .btn-view-newsletters {
    font-size: 11px;
    padding: 10px 8px;
  }

  .mac-footer .footer-inner {
    padding: 20px 20px;
  }

  .section-communities .row.communities {
    gap: 50px;
    align-items: center;
    justify-content: center;
  }

  .section-communities .row.communities .col-md-3 {
    width: 45%;
  }
}

@media (max-width: 640px) {
  .section-events {
    padding: 40px 16px 50px;
  }
  .section-events .se-title {
    font-size: 30px;
  }
  .section-events .se-grid {
    grid-template-columns: 1fr;
  }
  .mac-footer .footer-inner {
    padding: 0 20px;
  }
  .footer-top {
    display: flex;
    flex-direction: column;
  }
  .footer-newsletter {
    width: 100%;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
  .footer-bottom-right {
    text-align: left;
  }
  .footer-bottom-links {
    gap: 16px;
  }

  /* Mobile Styles */
  .menu-toggle {
    font-size: 26px;
    background: none;
    border: none;
    cursor: pointer;
  }
  .menu {
    display: none;
    width: 100%;
    background: #fff;
    position: absolute;
    top: 70px;
    left: 0;
    padding: 20px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
  }

  .menu ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }

  .menu.active {
    display: block;
  }

  section.banner-section {
    height: 570px;
    background-size: auto;
    padding-top: 130px;
  }

  .section-categories h2 {
    font-size: 27px;
  }

.section-categories .categories {
        gap: 10px;
                display: flex;
        flex-direction: column;
    }

  section.book-slider .container-fluid h2 {
    font-size: 29px;
    margin-top: 0px;
    margin-bottom: 10px;
  }

  .section-events .se-title {
    font-size: 30px;
  }

  .section-communities .row.communities {
    align-items: center;
    justify-content: center;
    display: flex;
    flex-direction: column;
    gap: 28px;
  }

  .section-communities .row.communities .col-md-3 {
    width: 100%;
  }

  .section-communities h2 {
    font-size: 30px;
    margin-bottom: 50px;
  }

  header .menu ul {
    gap: 16px;
    padding: 0;
  }

  header .menu ul li a {
    font-size: 18px;
  }

  .section-categories .category h3 {
    font-size: 17px;
  }
}
