/**
 * Theme Name: Marufuku Fisheries
 * Theme URI: https://marufuku-fisheries.com
 * Author: Marufuku Holdings Co., Ltd.
 * Author URI: https://marufuku-fisheries.com
 * Description: A premium WordPress theme for Marufuku Fisheries - Hokkaido's finest seafood delivered fresh from the ocean. Features a modern, responsive design showcasing premium seafood products with elegant animations.
 * Version: 1.0.0
 * Requires at least: 5.0
 * Tested up to: 6.4
 * Requires PHP: 7.4
 * License: GNU General Public License v2 or later
 * License URI: http://www.gnu.org/licenses/gpl-2.0.html
 * Text Domain: marufuku
 * Tags: one-column, custom-menu, featured-images, translation-ready, custom-logo, food-and-drink, portfolio
 * 
 * Marufuku Fisheries Theme, Copyright 2024 Marufuku Holdings Co., Ltd.
 * Marufuku Fisheries Theme is distributed under the terms of the GNU GPL
 *
 * @format
 */

/* ==========================================================================
   1. Theme Default CSS
   ========================================================================== */
@import url("https://fonts.googleapis.com/css2?family=Alexandria:wght@100..900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Space+Mono:ital,wght@0,400;0,700;1,400;1,700&display=swap");
@font-face {
  font-family: "A-OTF-Gothic-MB101-Pr5";
  font-display: swap;
  src:
    local("fonts/A-OTF-Gothic-MB101-Pr5"),
    url("fonts/A-OTF Gothic MB101 Pr5.woff") format("woff");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "A-OTF-Gothic-MB101-Pr5";
  font-display: swap;
  src:
    local("fonts/A-OTF-Gothic-MB101-Pr5-Bold"),
    url("fonts/A-OTF Gothic MB101 Pr5 B.otf") format("opentype");
  font-weight: bold;
  font-style: normal;
}

@font-face {
  font-family: "FontAwesome";
  src: url("fonts/fontawesome-webfont.eot?v=4.2.0");
  src:
    url("fonts/fontawesome-webfont.eot?#iefix&v=4.2.0")
      format("embedded-opentype"),
    url("fonts/fontawesome-webfont.woff?v=4.2.0") format("woff"),
    url("fonts/fontawesome-webfont.ttf?v=4.2.0") format("truetype"),
    url("fonts/fontawesome-webfont.svg?v=4.2.0#fontawesomeregular")
      format("svg");
  font-weight: normal;
  font-style: normal;
}

.fa {
  display: inline-block;
  font: normal normal normal 14px/1 FontAwesome;
  font-size: inherit;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: "A-OTF-Gothic-MB101-Pr5";
  background-image: url("img/body-bg.png");
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-position: center;
}

.img {
  width: 100%;
  height: auto;
  transition: all 0.3s ease-out 0s;
}

.f-left {
  float: left;
}

.f-right {
  float: right;
}

.alignleft {
  float: left;
  margin-right: 20px;
}

.alignright {
  float: right;
  margin-left: 20px;
}

.aligncenter {
  clear: both;
  float: none;
  display: block;
  text-align: center;
  margin: 0 auto;
}

.clear {
  clear: both;
}

.nopadding {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.img-responsive,
.thumbnail > img,
.thumbnail a > img,
.carousel-inner > .item > img,
.carousel-inner > .item > a > img {
  display: block;
  max-width: 100%;
  height: auto;
}

.fix {
  overflow: hidden;
}

a,
.button,
button {
  -webkit-transition: all 0.3s ease-out 0s;
  -moz-transition: all 0.3s ease-out 0s;
  -ms-transition: all 0.3s ease-out 0s;
  -o-transition: all 0.3s ease-out 0s;
  transition: all 0.3s ease-out 0s;
}

a:focus,
.button:focus {
  text-decoration: none;
  outline: none;
}

button {
  cursor: pointer;
}

a:focus,
a:hover,
.portfolio-cat a:hover,
.footer -menu li a:hover {
  color: #2f6080;
  text-decoration: none;
}

a,
button {
  color: #2f6080;
  outline: medium none;
}

input:focus,
textarea:focus,
:focus {
  outline: 0;
}

button:focus {
  outline: 0 none;
}

.uppercase {
  text-transform: uppercase;
}

.capitalize {
  text-transform: capitalize;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "A-OTF-Gothic-MB101-Pr5";
  font-weight: normal;
  color: #2F6080;
  margin-top: 0px;
  font-style: normal;
  font-weight: 400;
  text-transform: capitalize;
}

h1 a,
h2 a,
h3 a,
h4 a,
h5 a,
h6 a {
  color: inherit;
}

h1 {
  font-size: 40px;
  font-weight: 500;
}

h2 {
  font-size: 35px;
}

h3 {
  font-size: 28px;
}

h4 {
  font-size: 22px;
}

h5 {
  font-size: 18px;
}

h6 {
  font-size: 16px;
}

ul {
  margin: 0px;
  padding: 0px;
}

li {
  list-style: none;
}

p {
  font-family: "A-OTF-Gothic-MB101-Pr5";
  font-size: 17px;
  font-weight: normal;
  line-height: 30px;
  color: #2F6080;
  margin-bottom: 15px;
}

hr {
  border-bottom: 1px solid #eceff8;
  border-top: 0 none;
  margin: 30px 0;
  padding: 0;
}

label {
  color: #7e7e7e;
  cursor: pointer;
  font-size: 14px;
  font-weight: 400;
}

*::-moz-selection {
  background: #d6b161;
  color: #fff;
  text-shadow: none;
}

::-moz-selection {
  background: #444;
  color: #fff;
  text-shadow: none;
}

::selection {
  background: #444;
  color: #fff;
  text-shadow: none;
}

*::-moz-placeholder {
  color: #555555;
  font-size: 14px;
  opacity: 1;
}

*::placeholder {
  color: #555555;
  font-size: 14px;
  opacity: 1;
}

.btn {
  -moz-user-select: none;
  background: #C50C05 none repeat scroll 0 0;
  border: 1px solid transparent;
  border-radius: 0;
  color: #fff;
  display: block;
  font-family: "A-OTF-Gothic-MB101-Pr5";
  font-weight: 600;
  font-size: 44px;
  width: 100%;
  line-height: 160%;
  letter-spacing: 8%;
  padding: 5px 45px;
  text-align: center;
  text-transform: uppercase;
  transition: all 0.3s ease 0s;
  border-radius: 16px;
  white-space: nowrap;
  position: relative;
  max-width: 636px;
}

.btn:hover {
  color: #C50C05;
  border-color: #C50C05;
  background-color: transparent;
}

.btn::after {
  content: "";
  clip-path: polygon(0 0, 0% 100%, 100% 50%);
  width: 17px;
  height: 32px;
  background-color: #fff;
  display: inline-block;
  position: absolute;
  right: 50px;
  top: 25px;
}

.btn:hover:after {
  background-color: #C50C05;
}

.btn.brand-btn {
  background: #fbba42;
  color: #222;
}

.btn.brand-btn:hover {
  background: #2f3440;
  color: #fbba42;
}

.btn.btn-2 {
  background: rgba(0, 0, 0, 0) none repeat scroll 0 0;
  border: 1px solid #fbba42;
  line-height: 1;
  padding: 17px 35px;
}

.btn.btn-2:hover {
  border-color: #2f3440;
}

.btn i {
  margin-right: 10px;
}

/* ==========================================================================
   2. ScrollUp
   ========================================================================== */
#scrollUp {
  background: #000;
  height: 35px;
  width: 35px;
  right: 50px;
  bottom: 77px;
  color: #fff;
  font-weight: 600;
  text-align: center;
  font-size: 0;
  line-height: 34px;
}

#scrollUp::before {
  font-size: 16px;
  content: "\f077";
  font-family: "Font Awesome 5 Free";
}

#scrollUp:hover {
  background: #444;
}

/* ==========================================================================
   3. Header
   ========================================================================== */
.scroll-header {
  animation: 300ms ease-in-out 0s normal none 1 running fadeInDown;
  width: 100%;
  z-index: 99999;
}

.header-menu {
  left: 0;
  top: 0;
  position: relative;
  right: 0;
  z-index: 99;
}

.logo {
  width: 140px;
}

.home .header-menu .logo {
  display: none !important;
}

.sidebar-logo img {
  max-width: 233px;
}

.sidebar-header-top {
  padding-top: 30px;
}

.head-menu {
  position: absolute;
  left: 0;
  top: 12%;
}

.toggler-navbar {
  position: fixed;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 9999;
  background-color: #2F6080;
  padding: 10px;
  border-radius: 100%;
}

.sidebar-header-bottom {
  max-width: 302px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  height: 100%;
  position: relative;
  top: -40px;
}

.sidebar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(39, 41, 38, 1);
  text-align: left;
  font-size: 20px;
  transform: rotate3d(0, 1, 0, 90deg);
  transform-origin: left center;
  transition: 0.5s;
  z-index: 1001;
}

.sidebar-container {
  top: 0;
  position: absolute;
  max-width: 573px;
  height: 100%;
  background: #2f6080;
  text-align: left;
  transition: 0.5s;
  bottom: 0;
  left: 0;
  z-index: 1001;
  width: 100%;
}

.sidebar.open {
  transform: rotate3d(0, 0, 1, 0deg);
}

.sidebar ul {
  list-style: none;
}

.sidebar li a {
  color: white;
  text-decoration: none;
}

.sidebar-header-bottom ul li {
  padding-bottom: 40px;
}

.sidebar-header-bottom ul li:last-child {
  padding-bottom: 0;
}

.sidebar li a h4 {
  margin-bottom: 0;
  font-family: Gotham, "Helvetica Neue", Helvetica, Arial, "sans-serif";
  font-weight: 700;
  font-size: 32px;
  line-height: 100%;
  letter-spacing: 0%;
  text-align: justify;
  color: #fff;
}

.sidebar li a p {
  margin-bottom: 0;
  font-weight: 700;
  font-size: 13px;
  line-height: 100%;
  letter-spacing: 20%;
  color: #fff;
}

.hamburger-menu {
  position: relative;
  -webkit-transform: rotate(0deg);
  -moz-transform: rotate(0deg);
  -o-transform: rotate(0deg);
  transform: rotate(0deg);
  -webkit-transition: 0.5s ease-in-out;
  -moz-transition: 0.5s ease-in-out;
  -o-transition: 0.5s ease-in-out;
  transition: 0.5s ease-in-out;
  cursor: pointer;
  width: 25px;
  height: 20px;
  text-align: center;
  line-height: 20px;
  color: #2F6080;
  border-radius: 50%;
  z-index: 999;
}

.hamburger-menu span {
  display: block;
  position: absolute;
  height: 1px;
  width: 20.5px;
  background: #ffffff;
  border-radius: 0;
  opacity: 1;
  left: 0;
  -webkit-transform: rotate(0deg);
  -moz-transform: rotate(0deg);
  -o-transform: rotate(0deg);
  transform: rotate(0deg);
  -webkit-transition: 0.25s ease-in-out;
  -moz-transition: 0.25s ease-in-out;
  -o-transition: 0.25s ease-in-out;
  transition: 0.25s ease-in-out;
  right: 0;
  margin: 0 auto;
}

.head-top-right {
  float: right;
}

.hamburger-menu span:nth-child(1) {
  top: 3.5px;
}

.hamburger-menu span:nth-child(2) {
  top: 10.1px;
}

.hamburger-menu span:nth-child(3) {
  top: 16.15px;
}

.hamburger-menu.open span:nth-child(1) {
  top: 10px;
  -webkit-transform: rotate(135deg);
  -moz-transform: rotate(135deg);
  -o-transform: rotate(135deg);
  transform: rotate(135deg);
}

.hamburger-menu.open span:nth-child(2) {
  opacity: 0;
  left: -60px;
}

.hamburger-menu.open span:nth-child(3) {
  top: 10px;
  -webkit-transform: rotate(-135deg);
  -moz-transform: rotate(-135deg);
  -o-transform: rotate(-135deg);
  transform: rotate(-135deg);
}

.hamburger-menu.open span {
  background: #fff;
}

.main-menu-area {
  padding-top: 30px;
}

.header-menu img {
  max-width: 100%;
  height: auto;
}

.header-menu span {
  font-family: "A-OTF-Gothic-MB101-Pr5";
  font-weight: 600;
  display: block;
  font-size: 20px;
  color: #000;
  line-height: 160%;
  letter-spacing: 15px;
  text-align: center;
  padding-top: 25px;
  margin: 0 auto;
  position: relative;
  left: 10px;
}
.header-right a {
  display: block;
  text-align: center;
  color: #fff;
}
.map iframe {
  width: 100%;
}
.contact .inner-text {
  width: 100%;
}
.header-right {
  max-width: 82.8px;
  float: right;
  position: fixed;
  right: 15px;
  z-index: 9;
}

/* ==========================================================================
   4. Hero Section
   ========================================================================== */
.hero-area {
  height: 100vh;
  position: relative;
  overflow: hidden;
  padding: 0;
}

.hero-kv,
.kv-image {
  width: 100%;
  height: 100vh;
  object-fit: cover;
  display: block;
}

.hero-sec {
  position: relative;
  padding-bottom: 120px;
}

.hero-bottom-img {
  position: absolute;
  bottom: 0;
}

.hero-boeder {
  position: absolute;
  left: -78px;
  bottom: 0;
}

/* ==========================================================================
   5. About Section
   ========================================================================== */
.about-me-content h1 {
  font-weight: 600;
  font-size: 38px;
  line-height: 110.00000000000001%;
  letter-spacing: 0%;
  margin-bottom: 0;
  padding-bottom: 100px;
}

.about-me-content p {
  font-weight: 400;
  font-size: 24px;
  margin-bottom: 0;
  line-height: 240%;
  letter-spacing: 0%;
  text-align: center;
}

.sec-title img {
  max-width: 98px;
  height: auto;
}

.inner-text {
  padding-left: 70px;
}

/* ==========================================================================
   6. Slider
   ========================================================================== */
.slider-title p {
  font-family: "Alexandria", sans-serif;
  font-weight: 500;
  color: #2F6080;
  font-size: 28px;
  line-height: 160%;
  letter-spacing: 0%;
  text-align: center;
  margin-bottom: 0;
  padding: 0 70px;
}

.inner-text h3 {
  font-weight: 700;
  font-size: 60px;
  line-height: 100%;
  letter-spacing: 20%;
  margin-bottom: 0;
}

.inner-text h4 {
  font-weight: 700;
  font-size: 34px;
  line-height: 200%;
  letter-spacing: 0%;
  margin-bottom: 0;
}

.inner-text p {
  font-weight: 500;
  font-size: 20px;

  letter-spacing: 0%;
  margin-bottom: 0;
}

.features-box h4 {
  font-weight: 700;
  font-size: 34px;
  line-height: 200%;
  letter-spacing: 0%;
  margin-bottom: 0;
}

@media only screen and (min-width: 1200px) {
  .inner-text p {
    font-size: 17px;
  }
}

.about-me-wrapper {
  position: relative;
}

.about-right {
  position: absolute;
  right: -15px;
  top: 0px;
  max-width: 34%;
}

.about-right .boeder-top {
  position: absolute;
  z-index: -1;
  top: 120px;
  left: -170px;
}

/* ==========================================================================
   7. Features Section
   ========================================================================== */
.features-box {
  max-width: 940.47px;
  margin: 0 auto;
  padding-left: 75px;
}

.features {
  background: url("img/bg-1.png") no-repeat center top -155px;
  background-size: cover;
  padding-top: 110px;
}
.about-me-area {
  padding-bottom: 175px;
}
#features-r1 {
  padding-top: 65px;
}

/* ==========================================================================
   8. Latest Work / Marquee Section
   ========================================================================== */
.latest-work-wrapper img {
  margin: 0 auto;
  display: block;
  max-width: 800px;
}

.latest-work-content {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
}

/* Infinite Marquee */
.infinite-marquee {
  width: 100%;
  overflow: hidden;
}

.marquee-track {
  display: flex;
  gap: 2rem;
  animation: marquee-scroll 20s linear infinite;
  width: max-content;
}

.marquee-text {
  font-family: Gotham, "Helvetica Neue", Helvetica, Arial, "sans-serif";
  font-weight: 500;
  font-size: 66.33px;
  color: rgba(255, 255, 255, 1);
  line-height: 100%;
  white-space: nowrap;
  padding: 0 1rem;
}

@keyframes marquee-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* ==========================================================================
   9. Services / Products Section
   ========================================================================== */
.services-section .inner-text p {
  font-size: 26px;
  font-weight: 500;
  text-align: justify;
  padding-left: 60px;
  line-height: 200%;
}

@media only screen and (min-width: 1200px) {
  .services-section .inner-text p {
    font-size: 24px;
  }
}

.services-block {
  background: url("img/bg-2.png") no-repeat center top;
  background-size: 100% 100%;
  padding: 35px 30px 30px;
  min-height: 330px;
  margin-top: -15px;
}

.services-text-content img {
  max-height: 180px;
  margin: 0 auto;
  display: block;
}

.services-text-content {
  width: 100%;
}

.services-text-content p {
  padding-top: 30px;
  font-weight: 600;
  font-size: 20.07px;
  margin-bottom: 0;
  line-height: 100%;
  letter-spacing: 10%;
  position: absolute;
  left: 0;
  right: 0;
  margin: 0 auto;
  bottom: 30px;
}

.services-section-bottom {
  margin: 0 auto;
  max-width: 93%;
}

/* ==========================================================================
   10. Fact / CTA Section
   ========================================================================== */
.fact-title p,
.fact-box-right p {
  font-weight: 600;
  font-size: 40px;
  line-height: 120%;
  letter-spacing: 13%;
  padding-left: 25%;
  margin-bottom: 50px;
}
.fact-subtitle p {
  font-family: "A-OTF Gothic MB101 Pr5";
  font-style: normal;
  font-weight: 600;
  font-size: 40px;
  line-height: 120%;
  text-align: center;
  letter-spacing: 0.13em;
  color: #2F6080;
  padding-left: 30%;
}

.fact-box {
  position: relative;
  top: -50px;
}

.fact-box-container {
  position: relative;
}

.fact-box-container span {
  max-width: 115.28px;
  display: block;
  position: absolute;
  left: 0;
  bottom: 125px;
}

.fact-box-right p {
  margin-bottom: 0;
  position: absolute;
  top: -200%;
}

/* ==========================================================================
   11. Contact Section
   ========================================================================== */
.contact-content ul li {
  padding-bottom: 65px;
}

.contact-content ul li:last-child {
  padding-bottom: 0;
}

.contact-content ul li h4 {
  /* font-family: "Space Mono", monospace; */
  font-weight: 700;
  margin-bottom: 0;
  font-size: 32px;
  line-height: 100%;
  letter-spacing: 7%;
}

.contact-content ul li p {
  font-weight: 400;
  font-size: 28px;
  line-height: 140%;
  letter-spacing: 7%;
  margin-bottom: 0;
}

@media only screen and (min-width: 1200px) {
  .contact-content ul li p {
    font-size: 25px;
  }
}

.contact-area {
  padding-bottom: 180px;
}

/* ==========================================================================
   12. Footer
   ========================================================================== */
footer {
  background-color: rgba(148, 38, 42, 1);
}

.footer-logo img {
  display: block;
  margin: 0 auto;
}

.footer-text p {
  font-weight: 400;
  font-size: 24px;
  line-height: 180%;
  letter-spacing: 10%;
  text-align: center;
  margin-bottom: 40px;
  color: #fff;
}

.social-icon {
  position: relative;
  text-align: center;
}

.social-icon > a {
  color: rgba(148, 38, 42, 1);
  line-height: 80px;
  width: 87px;
  height: 87px;
  background-color: #fff;
  display: block;
  border-radius: 50%;
  margin: 0 auto;
  font-size: 49.47px;
  border: 1px solid #fff;
}

.social-icon > a:hover {
  color: #fff;
  background-color: transparent;
}

.copyright p {
  font-family: Gotham, "Helvetica Neue", Helvetica, Arial, "sans-serif";
  font-weight: 200;
  font-size: 24px;
  line-height: 100%;
  letter-spacing: 7%;
  text-align: justify;
  color: rgba(252, 247, 236, 1);
  margin-bottom: 0;
}

.footer_bottom {
  padding-left: 30px;
  padding-right: 30px;
}

.footer-menu ul li a {
  font-weight: 300;
  font-size: 20px;
  line-height: 100%;
  letter-spacing: 0%;
  color: rgba(255, 185, 185, 1);
}

/* ==========================================================================
   13. WordPress Core Styles
   ========================================================================== */
.wp-caption {
  max-width: 100%;
}

.wp-caption-text {
  font-size: 14px;
  text-align: center;
  color: #666;
}

.alignnone {
  margin: 5px 20px 20px 0;
}

.aligncenter,
div.aligncenter {
  display: block;
  margin: 5px auto 5px auto;
}

.alignright {
  float: right;
  margin: 5px 0 20px 20px;
}

.alignleft {
  float: left;
  margin: 5px 20px 20px 0;
}

a img.alignright {
  float: right;
  margin: 5px 0 20px 20px;
}

a img.alignnone {
  margin: 5px 20px 20px 0;
}

a img.alignleft {
  float: left;
  margin: 5px 20px 20px 0;
}

a img.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute !important;
  width: 1px;
  word-wrap: normal !important;
}

.screen-reader-text:focus {
  background-color: #eee;
  clip: auto !important;
  clip-path: none;
  color: #444;
  display: block;
  font-size: 1em;
  height: auto;
  left: 5px;
  line-height: normal;
  padding: 15px 23px 14px;
  text-decoration: none;
  top: 5px;
  width: auto;
  z-index: 100000;
}

/* Skip link styles */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: #000;
  color: #fff;
  padding: 8px;
  z-index: 100;
}

.skip-link:focus {
  top: 0;
}
.sidebar-header-top .row {
  margin: 0 auto;
}
.sidebar-logo img {
  max-width: 109px;
  position: relative;
  z-index: 99;
}

.sidebar-header-bottom {
  padding-left: 60px;
}
.contact-content a {
  color: #2F6080;
}

/* Wobble Entrance Animation - icon enters viewport with wobble effect */
@keyframes wobbleIn {
  0% {
    opacity: 0;
    transform: translateX(100px);
  }
  20% {
    opacity: 1;
    transform: translateX(-15px) rotate(-5deg);
  }
  40% {
    opacity: 1;
    transform: translateX(10px) rotate(3deg);
  }
  60% {
    opacity: 1;
    transform: translateX(-8px) rotate(-3deg);
  }
  80% {
    opacity: 1;
    transform: translateX(5px) rotate(2deg);
  }
  100% {
    opacity: 1;
    transform: translateX(0) rotate(0);
  }
}

/* Initially hide the icons before animation */
.header-right-dextop:not(.wobble-in),
.header-right-mob:not(.wobble-in) {
  opacity: 0;
  transform: translateX(100px);
}

/* Trigger wobble entrance animation and keep visible after */
.header-right-dextop.wobble-in,
.header-right-mob.wobble-in {
  animation: wobbleIn 1.2s ease-out forwards;
}

/* ==========================================================================
   14. Fact Box Image Wobble Animation
   ========================================================================== */
@keyframes wobble {
  0% {
    transform: translateX(0) rotate(0);
  }
  15% {
    transform: translateX(-25px) rotate(-5deg);
  }
  30% {
    transform: translateX(20px) rotate(3deg);
  }
  45% {
    transform: translateX(-15px) rotate(-3deg);
  }
  60% {
    transform: translateX(10px) rotate(2deg);
  }
  75% {
    transform: translateX(-5px) rotate(-1deg);
  }
  100% {
    transform: translateX(0) rotate(0);
  }
}

/* Initially hide before animation triggers */
.fact-box-img > img {
  opacity: 0;
  transform: translateX(-50px);
  transition:
    opacity 0.3s ease,
    transform 0.3s ease;
}

/* Trigger wobble animation when in viewport */
.fact-box-img.wobble-active > img {
  opacity: 1;
  transform: translateX(0);
  animation: wobble 1s ease-in-out;
}
.contact .inner-text {
  width: 100%;
}

.header p {
  font-size: 17px;
  line-height: 1.9;
  margin-bottom: 15px;
}

.article {
  margin-bottom: 40px;
}

.article-title {
  font-size: 17px;

  margin-bottom: 12px;
  letter-spacing: 0.02em;
}

.article-content {
  padding-left: 0;
}

.article-content p {
  margin-bottom: 12px;
  text-align: justify;
  text-justify: inter-ideograph;
}

.numbered-list {
  list-style: none;
  counter-reset: item;
  padding-left: 0;
  margin: 10px 0;
}

.numbered-list > li {
  position: relative;
  padding-left: 25px;
  margin-bottom: 8px;
  color: #2F6080;
  font-size: 17px;
}

.numbered-list > li::before {
  content: counter(item) ".";
  counter-increment: item;
  position: absolute;
  left: 0;
  font-weight: 500;
}

.sub-list {
  list-style: none;
  counter-reset: sub-item;
  padding-left: 25px;
  margin-top: 8px;
}

.sub-list > li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 6px;
  font-size: 17px;
}

.sub-list > li::before {
  content: counter(sub-item, lower-alpha) ".";
  counter-increment: sub-item;
  position: absolute;
  left: 0;
}

.roman-list {
  list-style: none;
  counter-reset: roman-item;
  padding-left: 30px;
  margin-top: 6px;
}

.roman-list > li {
  position: relative;
  padding-left: 35px;
  margin-bottom: 5px;
  font-size: 17px;
}

.roman-list > li::before {
  content: counter(roman-item, lower-roman) ".";
  counter-increment: roman-item;
  position: absolute;
  left: 0;
}

.contact-section .article-title {
  margin-bottom: 20px;
}

.contact-info {
  font-size: 17px;
  line-height: 2;
}

.contact-info p {
  margin-bottom: 4px;
}

.back-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 60px;
  padding: 15px 30px;
  background-color: #e63946;
  color: white;
  text-decoration: none;
  border-radius: 30px;
  font-size: 17px;
  font-weight: 600;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.back-button:hover {
  background-color: #d62839;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(230, 57, 70, 0.4);
}

.footer {
  text-align: center;
  margin-top: 40px;
}
.back-button svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}
