/* ----------------------------------------------
:: Template Name: Yummy Blog - Food Blog Template
:: Template Author: Colorlib
:: Template Author URI: https://colorlib.com
:: Version: v1.0.0
:: Last Updated: 11-13-2017
---------------------------------------------- */

/* -------- [Master Stylesheet] --------
:: 1.0 Base CSS
:: 2.0 Top Header Area CSS
:: 3.0 Menu Area CSS
:: 4.0 Wellcome Area CSS 
:: 5.0 Top Feature Area CSS 
:: 6.0 Blog Area CSS 
:: 7.0 Instagram Area CSS 
:: 8.0 Footer Social Area CSS 
:: 9.0 Goole Map Area CSS
:: 10.0 Sidebar Area CSS
:: 11.0 Breadcumb Area CSS
:: 12.0 Paginatio Area CSS
:: 13.0 Contact Area CSS
:: 14.0 Single Blog CSS
----------------------------------- */

/* ***** Fonts ***** */

@import url("https://fonts.googleapis.com/css?family=Poppins:100,200,300,400,500,600,700|Quicksand:300,400,500,700|Shadows+Into+Light+Two");

/* ***** Import CSS ***** */

@import "css/bootstrap/bootstrap.min.css";
@import "css/others/animate.css";
@import "css/others/magnific-popup.css";
@import "css/others/meanmenu.min.css";
@import "css/others/owl.carousel.min.css";
@import "css/others/font-awesome.min.css";
@import "css/others/pe-icon-7-stroke.css";
@import "css/others/bauhaus.css";

/* --------------------
:: 1.0 Base CSS
-------------------- */

* {
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Questrial", sans-serif;
  font-weight: 400;
  position: relative;
  z-index: auto;
  font-size: 1rem;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Questrial", sans-serif;
  font-weight: 500;
  color: #232d37;
  line-height: 1.25;
}

h1{
  font-size: 32px;
}

h2{
  font-size: 24px;
}

h3{
  font-size: 18.72px
}

h4{
  font-size: 16px;
}

h5{
  font-size: 13.28px;
}

h6{
  font-size: 10.72px;
}

/* .ballet {
  font-family: "Ballet", cursive;
  font-optical-sizing: auto;
  font-weight: 700;
  font-style: normal;
} */

.text-justify {
  text-align: justify;
}

p {
  font-weight: 500;
}

.section_padding_100 {
  padding-top: 100px;
  padding-bottom: 100px;
}

.section_padding_100_70 {
  padding-top: 100px;
  padding-bottom: 70px;
}

.section_padding_50 {
  padding-top: 50px;
  padding-bottom: 50px;
}

.section_padding_50_20 {
  padding-top: 50px;
  padding-bottom: 20px;
}

.section_padding_150 {
  padding-top: 150px;
  padding-bottom: 150px;
}

.section_padding_200 {
  padding-top: 200px;
  padding-bottom: 200px;
}

.section_padding_80 {
  margin-top: 80px;
  margin-bottom: 80px;
}

.section_padding_80_50 {
  padding-top: 80px;
  padding-bottom: 50px;
}

.section_padding_30_80 {
  padding-top: 30px;
  padding-bottom: 80px;
}

.section_padding_80_0 {
  padding-top: 80px;
  padding-bottom: 0;
}

.section_padding_0_80 {
  padding-top: 0;
  padding-bottom: 80px;
}

img {
  max-width: 100%;
}

.mt-15 {
  margin-top: 15px;
}

.mt-30 {
  margin-top: 30px;
}

.mt-40 {
  margin-top: 40px;
}

.mt-50 {
  margin-top: 50px;
}

.mt-100 {
  margin-top: 100px;
}

.mt-150 {
  margin-top: 150px;
}

.mr-15 {
  margin-right: 15px;
}

.mr-30 {
  margin-right: 30px;
}

.mr-50 {
  margin-right: 50px;
}

.mr-100 {
  margin-right: 100px;
}

.mb-15 {
  margin-bottom: 15px;
}

.mb-30 {
  margin-bottom: 30px;
}

.mb-50 {
  margin-bottom: 50px;
}

.mb-100 {
  margin-bottom: 100px;
}

.ml-15 {
  margin-left: 15px;
}

.ml-30 {
  margin-left: 30px;
}

.ml-50 {
  margin-left: 50px;
}

.ml-100 {
  margin-left: 100px;
}

ul,
ol {
  margin: 0;
  padding: 0;
}

a,
a:hover,
a:focus,
a:active {
  text-decoration: none;
  -webkit-transition-duration: 500ms;
  transition-duration: 500ms;
  font-weight: 500;
  outline: none;
}

li {
  list-style: none;
}

.heading_text>p {
  font-size: 16px;
}

.heading_text>h2 {
  font-weight: 500;
  color: #333;
}

.heading_text>h3 {
  color: #b4b4b4;
  font-size: 90px;
  font-weight: 100;
  margin: 0;
}

.font-shadow-into-light {
  font-family: "Shadows Into Light Two", cursive !important;
}


#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #fff;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.3s ease;
}

.yummy-load {
  width: 50px;
  height: 50px;
  border: 3px solid #f3f3f3;
  border-top: 3px solid #fc6c3f;
  border-radius: 50%;
  animation: yummy-load 1s linear infinite;
}

@-webkit-keyframes yummy-load {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }

  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

@keyframes yummy-load {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }

  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

.fw-bold {
  font-weight: 700;
}

.text-orange {
  color: #fc6c3f;
}

.text-green {
  color: #235e58;
}

.navbar.navbar-expand-lg {
  padding: 0;
}

.navbar.navbar-expand-lg .navbar-nav .nav-link {
  padding: 25px 30px;
  color: #232d37;
  text-transform: uppercase;
  font-size: 14px;
}

.navbar.navbar-expand-lg .navbar-nav .nav-link:hover,
.navbar.navbar-expand-lg .navbar-nav .active .nav-link {
  color: #fc6c3f;
}

.dropdown-item {
  font-weight: 500;
  color: #232d37;
  font-size: 14px;
  text-transform: uppercase;
}

.dropdown-item:focus,
.dropdown-item:hover {
  color: #fc6c3f;
  text-decoration: none;
  background-color: #f8f9fa;
}

/* === Desktop Navbar Styles === */
.navbar-desktop {
  background: rgba(255, 255, 255, 0.95) !important;
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.navbar-desktop .navbar-collapse {
  justify-content: center;
}

.navbar-desktop .navbar-nav {
  margin: auto;
  display: flex;
  align-items: center;
  gap: 40px;
  padding: 0 60px;
}

.navbar-desktop .nav-link {
  padding: 30px 35px !important;
  color: #333 !important;
  font-weight: 500;
  text-transform: uppercase;
  font-size: 14px;
  letter-spacing: 0.5px;
  border-bottom: 3px solid transparent;
  transition: all 0.3s ease;
  position: relative;
  margin: 0 10px;
}

.navbar-desktop .nav-link:hover,
.navbar-desktop .nav-link.active {
  color: #fc6c3f !important;
  border-bottom-color: #fc6c3f;
  transform: translateY(-2px);
}

.navbar-desktop .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: #fc6c3f;
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.navbar-desktop .nav-link:hover::after,
.navbar-desktop .nav-link.active::after {
  width: 100%;
}

/* Responsive navbar */
@media (max-width: 991.98px) {
  .navbar-desktop {
    display: none !important;
  }
}

@media (min-width: 992px) {
  .navbar-desktop {
    display: block !important;
  }
}

/* === Drawer & Mobile Navigation === */
/* Floating hamburger button */
#openDrawerBtn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1045;
  background: linear-gradient(135deg, #fc6c3f, #e55a2b);
  border: none;
  color: white;
  font-size: 24px;
  border-radius: 50%;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(252, 108, 63, 0.4);
  transition: all 0.3s ease;
  cursor: pointer;
}

#openDrawerBtn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 25px rgba(252, 108, 63, 0.6);
}

/* Drawer with background image */
.drawer {
  position: fixed;
  top: 0;
  right: -280px;
  width: 280px;
  height: 100%;
  background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.25)), url('img/album/THA_1623.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  backdrop-filter: blur(15px);
  box-shadow: -5px 0 25px rgba(0, 0, 0, 0.15);
  transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1050;
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  border-left: 1px solid rgba(0, 0, 0, 0.1);
  /* iOS compatibility */
  -webkit-background-size: cover;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

/* Additional overlay for better text readability */
.drawer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.2);
  z-index: -1;
}

.drawer.open {
  right: 0;
}

.drawer-close {
  text-align: right;
  margin-bottom: 2rem;
  font-size: 28px;
  cursor: pointer;
  color: rgba(255, 255, 255, 0.9);
  transition: color 0.3s ease;
  align-self: flex-end;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.drawer-close:hover {
  color: #fc6c3f;
  text-shadow: 0 0 10px rgba(252, 108, 63, 0.5);
}

.drawer a {
  display: block;
  padding: 15px 0;
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
  position: relative;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.drawer a:hover {
  color: #fc6c3f;
  padding-left: 10px;
  background: rgba(252, 108, 63, 0.2);
  text-shadow: 0 0 8px rgba(252, 108, 63, 0.4);
}

.drawer a.active {
  color: #fc6c3f;
  padding-left: 10px;
  background: rgba(252, 108, 63, 0.25);
  font-weight: 600;
  text-shadow: 0 0 10px rgba(252, 108, 63, 0.5);
}

.drawer a.active::before {
  width: 4px;
}

.drawer a::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 0;
  background: #fc6c3f;
  transition: width 0.3s ease;
}

.drawer a:hover::before,
.drawer a.active::before {
  width: 4px;
}

.drawer-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1049;
  backdrop-filter: blur(3px);
  transition: opacity 0.3s ease;
}

.drawer-backdrop.active {
  display: block;
}

/* iOS specific optimizations for drawer */
@supports (-webkit-touch-callout: none) {
  .drawer {
    /* Fixed background for iOS */
    background-attachment: scroll;
    -webkit-overflow-scrolling: touch;
  }
}

/* Additional mobile optimizations */
@media (max-width: 767.98px) {
  .drawer {
    width: 50vw;
    right: -50vw;
    background-size: cover;
    background-position: center center;
  }
  
  .drawer.open {
    right: 0;
  }
  
  .drawer a {
    padding: 18px 0;
    font-size: 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  }
}

/* Very small screens - slightly larger drawer */
@media (max-width: 480px) {
  .drawer {
    width: 60vw;
    right: -60vw;
  }
}

/* Extra small screens - larger drawer for usability */
@media (max-width: 360px) {
  .drawer {
    width: 70vw;
    right: -70vw;
  }
}

/* Hide elements depending on screen */
@media (min-width: 992px) {
  .drawer,
  .drawer-backdrop,
  #openDrawerBtn {
    display: none !important;
  }
}

@media (max-width: 991.98px) {
  .navbar-desktop {
    display: none !important;
  }
  
  #openDrawerBtn {
    display: flex !important;
  }
}

/* --------------------
:: 4.0 Wellcome Area CSS 
-------------------- */

/* 
.banner{
    width: 100%;
    height: 400px;
    background-image: url(img/bg-img/bg-1.png);
    background-size: 100% auto;
    background-repeat: no-repeat;
    background-position: bottom center;
    transform: scaleY(-1);
} */

.owl-carousel .owl-stage {
  display: flex !important;
}

.owl-carousel .owl-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.welcome-post-sliders {
  position: relative;
  z-index: 3;
}

.welcome-post-sliders .owl-prev {
  position: absolute;
  width: 10%;
  background-color: transparent;
  height: 100%;
  top: 0;
  left: 0;
  cursor: url(img/core-img/back.png), auto !important;
  z-index: 9;
}

.welcome-post-sliders .owl-next {
  position: absolute;
  width: 10%;
  background-color: transparent;
  height: 100%;
  top: 0;
  right: 0;
  cursor: url(img/core-img/next.png), auto !important;
  z-index: 9;
}

/* --------------------
:: 5.0 Top Feature Area CSS 
-------------------- */

.categories_area {
  padding: 10px 0 10px 0;
}

.single_catagory {
  position: relative;
  z-index: 1;
  margin-bottom: 30px;
}

.single_catagory img {
  border-radius: 20px;
}

.catagory-title {
  width: 200px;
  height: 50px;
  background-color: #fff;
  position: absolute;
  top: 50%;
  text-align: center;
  border-radius: 30px;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  -webkit-transition-duration: 500ms;
  transition-duration: 500ms;
}

.single_catagory:hover .catagory-title {
  background-color: #fc6c3f;
}

.catagory-title a>h5 {
  margin-bottom: 0;
  line-height: 50px;
  -webkit-transition-duration: 500ms;
  transition-duration: 500ms;
}

.single_catagory:hover .catagory-title a>h5 {
  color: #fff;
}

/* --------------------
:: 6.0 Blog Area CSS 
-------------------- */

.post-thumb img {
  border-radius: 30px;
  margin-bottom: 30px;
}

.post-meta {
  -webkit-box-align: center;
  -ms-flex-align: center;
  -ms-grid-row-align: center;
  align-items: center;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
}

.post-author a,
.post-date a,
.post-favourite a,
.post-comments a,
.post-share a {
  color: #b5aec4;
  font-size: 14px;
}

.post-author a:hover,
.post-date a:hover,
.post-favourite a:hover,
.post-comments a:hover,
.post-share a:hover {
  color: #000;
}

.post-favourite a,
.post-comments a {
  margin-right: 15px;
}

.post-author a {
  margin-right: 30px;
  position: relative;
  z-index: 1;
}

.post-author a:after {
  width: 2px;
  height: 60%;
  content: "";
  position: absolute;
  top: 20%;
  right: -14px;
  z-index: 2;
  background-color: #b5aec4;
}

.single-post {
  margin-bottom: 30px;
}

.single-post h2,
.single-post h4 {
  margin: 10px 0;
  color: #232d37;
  -webkit-transition-duration: 500ms;
  transition-duration: 500ms;
  text-transform: capitalize;
}

.single-post h2:hover,
.single-post h4:hover {
  color: #fc6c3f;
}

.single-post p {
  color: #51545f;
}

.single-post .read-more {
  font-size: 12px;
  color: #b5aeba;
  display: inline-block;
  border: 1px solid #ebebeb;
  border-radius: 30px;
  height: 40px;
  min-width: 170px;
  line-height: 40px;
  text-align: center;
}

.single-post .read-more:hover {
  color: #000;
  border: 1px solid #000;
}

/* List Blog Area CSS */

.list-blog.single-post .post-thumb,
.list-blog.single-post .post-content {
  -ms-flex-preferred-size: 50%;
  flex-basis: 50%;
  margin-right: 15px;
}

.list-blog.single-post .post-content {
  margin-right: 0;
  margin-left: 15px;
  margin-bottom: 30px;
}

.list-blog.single-post {
  margin-bottom: 30px;
  border-bottom: 1px solid #ebebeb;
}

.blog_area .col-12:last-of-type .list-blog.single-post {
  margin-bottom: 0;
  border-bottom: none;
}

.blog_area .col-12:last-of-type .list-blog.single-post .post-thumb img {
  margin-bottom: 0;
}

/* --------------------
:: 7.0 Instagram Area CSS 
-------------------- */

.instagram_gallery_item {
  position: relative;
  z-index: 1;
}

.instagram_gallery_item img {
  -webkit-transition-duration: 500ms;
  transition-duration: 500ms;
  width: 100%;
}

.instagram_gallery_item .hover_overlay {
  background: rgba(252, 108, 63, 0.7);
  height: 100%;
  left: 0;
  opacity: 0;
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
  position: absolute;
  top: 0;
  -webkit-transition-duration: 500ms;
  transition-duration: 500ms;
  width: 100%;
  z-index: 5;
}

.instagram_gallery_item:hover .hover_overlay {
  opacity: 1;
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
}

.instagram_gallery_item .follow-me a {
  font-size: 16px;
  color: #fff;
  font-weight: 400;
}

.instargram_area {
  position: relative;
  z-index: 1;
}

.instargram_area .owl-prev {
  position: absolute;
  width: 10%;
  background-color: transparent;
  height: 100%;
  top: 0;
  left: 0;
  cursor: url(img/core-img/back.png), auto !important;
  z-index: 9;
}

.instargram_area .owl-next {
  position: absolute;
  width: 10%;
  background-color: transparent;
  height: 100%;
  top: 0;
  right: 0;
  cursor: url(img/core-img/next.png), auto !important;
}

/* --------------------
:: 8.0 Footer Social Area CSS 
-------------------- */

.footer-social-area {
  border-bottom: 1px solid #eeeeee;
  padding: 50px 0;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
}

.single-icon>a {
  color: #51545f;
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
}

.single-icon>a:hover {
  color: #fc6c3f;
}

.single-icon>a>i {
  font-size: 16px;
  padding-right: 12px;
}

.footer-content {
  padding: 50px 0 65px 0;
  border-bottom: 1px solid #eeeeee;
}

.footer-logo-area .yummy-logo {
  font-family: "Shadows Into Light Two", cursive;
  font-size: 60px;
  margin-bottom: 0;
  padding: 0 0 20px 0;
  display: inline-block;
  color: #232d37;
}

.copy_right_text {
  width: 100%;
  height: 70px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}

.copy_right_text>p {
  font-size: 14px;
  color: #b5aec4;
  margin-bottom: 0;
}

.footer_area .navbar.navbar-expand-lg .navbar-nav .nav-link {
  padding-bottom: 0;
}

/* --------------------
:: 9.0 Goole Map Area CSS
-------------------- */

#googleMap {
  height: 620px;
  width: 100%;
}

/* --------------------
:: 10.0 Sidebar Area CSS
-------------------- */

/* About me */

.single-widget-area {
  margin-bottom: 50px;
}

.widget-title>h6 {
  background: #fee2d9;
  height: 40px;
  width: 100%;
  line-height: 40px;
  border-radius: 2px;
  margin-bottom: 30px;
}

.about-me-widget-thumb img {
  height: 200px;
  width: 200px;
  margin: auto;
  border-radius: 50%;
}

.about-me-widget h4 {
  margin: 15px 0;
  font-weight: 400;
}

.about-me-widget p {
  color: #51545f;
  margin-bottom: 0;
}

/* subscribe_follow_area */

.subscribe-link>a {
  font-size: 14px;
  color: #51545f;
  padding: 0 15px;
}

.subscribe-link>a:hover {
  color: #fc6c3f;
}

.subscribe-link {
  padding-top: 20px;
}

/* popular post */

.popular-post-widget .single-populer-post img {
  margin-right: 10px;
  border-radius: 20px;
  margin-bottom: 30px;
  -ms-flex-item-align: center;
  align-self: center;
}

.popular-post-widget .single-populer-post:last-of-type img {
  margin-bottom: 0;
}

.popular-post-widget .single-populer-post img {
  width: calc(50% - 10px);
}

.popular-post-widget .single-populer-post img,
.popular-post-widget .single-populer-post .post-content {
  -ms-flex-preferred-size: 50%;
  flex-basis: 50%;
}

.popular-post-widget .single-populer-post .post-content {
  margin-left: 10px;
}

.popular-post-widget .single-populer-post .post-content>p {
  font-size: 14px;
  color: #b5aec4;
  font-weight: 400;
  margin-bottom: 0;
}

/* Add Widget */

.add-widget .add-widget-area {
  position: relative;
  z-index: 1;
}

.add-widget .add-widget-area img {
  border-radius: 30px;
}

.add-widget .add-widget-area:before {
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  content: "";
  background-color: rgba(30, 29, 29, 0.8);
  z-index: 1;
  border-radius: 30px;
}

.add-widget .add-text {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 5;
}

.add-widget .add-text h2,
.add-widget .add-text p {
  color: #fff;
}

.add-widget .add-text p {
  font-size: 14px;
}

.add-widget .add-text a {
  min-width: 130px;
  height: 40px;
  border: 1px solid #fc6c3f;
  color: #fc6c3f;
  font-size: 12px;
  display: inline-block;
  text-transform: uppercase;
  border-radius: 30px;
  line-height: 40px;
}

.add-widget .add-text a:hover {
  border: 1px solid #fc6c3f;
  color: #fff;
  background-color: #fc6c3f;
}

/* Newsletter Widget CSS */

.newsletter-widget p {
  font-size: 14px;
}

.newsletter-form {
  position: relative;
  z-index: 1;
}

.newsletter-form input {
  width: 100%;
  height: 40px;
  background-color: #f5f5f8;
  border: 1px solid #e1e1e1;
  border-radius: 30px;
  padding: 0 20px;
  font-size: 14px;
  color: #b5aec4;
}

.newsletter-form button {
  width: 40px;
  height: 40px;
  background-color: #fc6c3f;
  border: none;
  color: #fff;
  border-radius: 30px;
  position: absolute;
  right: 0;
  top: 0;
  z-index: 9;
  cursor: pointer;
}

/* --------------------
:: 11.0 Breadcumb Area CSS
-------------------- */

.breadcumb-area {
  width: 100%;
  height: 200px;
  background-position: center center;
  background-size: cover;
  position: relative;
  z-index: 1;
}

.breadcumb-area:after {
  width: 100%;
  height: 100%;
  position: absolute;
  content: "";
  top: 0;
  left: 0;
  background-color: rgba(35, 45, 55, 0.7);
  z-index: -1;
}

.breadcumb-area .bradcumb-title h2 {
  font-size: 48px;
  color: #fff;
}

.breadcumb-nav .breadcrumb {
  padding: 0;
  margin-bottom: 0;
  list-style: none;
  background-color: transparent;
  border-radius: 0.25rem;
  margin-top: 30px;
}

.breadcumb-nav .breadcrumb .breadcrumb-item a {
  color: #232d37;
  font-size: 16px;
}

.breadcrumb-item+.breadcrumb-item:before {
  content: "\f105";
  font-family: "FontAwesome";
}

/* --------------------
:: 12.0 Paginatio Area CSS
-------------------- */

.pagination-area {
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -webkit-box-align: center;
  -ms-flex-align: center;
  -ms-grid-row-align: center;
  align-items: center;
}

.pagination-area .pagination .page-link {
  color: #51545f;
  margin: 0 2.5px;
}

.pagination-area .pagination .page-item.active .page-link,
.pagination-area .pagination .page-link:focus,
.pagination-area .pagination .page-link:hover {
  color: #fff;
  background-color: #fc6c3f;
  border-color: transparent;
}

.pagination-area .page-status p,
.contact-info-area .single-contact-info p {
  margin-bottom: 0;
}

/* --------------------
:: 13.0 Contact Area CSS
-------------------- */

.contact-form .form-control,
.comment-form .form-control {
  border: 1px solid #ebebeb;
  height: 50px;
}

.contact-form .form-control:focus,
.comment-form .form-control:focus {
  border: 1px solid #000;
}

.contact-form textarea.form-control,
.comment-form textarea.form-control {
  height: 130px;
}

.contact-btn {
  margin-top: 50px;
  width: 160px;
  height: 40px;
  font-size: 12px;
  text-transform: uppercase;
  font-weight: 500;
  color: #fff;
  background-color: #fc6c3f;
  border-radius: 30px;
}

.contact-btn:hover {
  color: #fff;
  background-color: #d43f10;
}

.contact-form-sidebar {
  background-size: cover;
  background-position: center center;
}

/* -------------------- 
:: 14.0 Single Blog CSS
-------------------- */

.single-post-share-info a {
  width: 30px;
  display: block;
  height: 30px;
  background-color: #ddd;
  border-radius: 50%;
  text-align: center;
  color: #fff;
  font-size: 14px;
  margin-bottom: 20px;
}

.single-post-share-info a i {
  line-height: 30px;
}

.single-post-share-info a.facebook {
  background-color: #4c65a8;
}

.single-post-share-info a.facebook:hover {
  background-color: #3555ac;
}

.single-post-share-info a.twitter {
  background-color: #41a1f6;
}

.single-post-share-info a.twitter:hover {
  background-color: #087ee6;
}

.single-post-share-info a.googleplus {
  background-color: #f43535;
}

.single-post-share-info a.googleplus:hover {
  background-color: #e20707;
}

.single-post-share-info a.instagram {
  background-color: #8f6247;
}

.single-post-share-info a.instagram:hover {
  background-color: #6d4025;
}

.single-post-share-info a.pinterest {
  background-color: #f0c605;
}

.single-post-share-info a.pinterest:hover {
  background-color: #a88c0a;
}

.yummy-blockquote {
  padding-left: 30px;
  border-left: 2px solid #fc6c3f;
}

.yummy-blockquote h5 {
  font-size: 18px;
}

.yummy-blockquote h6 {
  font-size: 14px;
  text-transform: uppercase;
}

.br-30 {
  border-radius: 30px !important;
}

.single_blog_area ul li {
  position: relative;
  z-index: 1;
  color: #51545f;
  margin-bottom: 15px;
  padding-left: 30px;
}

.single_blog_area ul li:before {
  position: absolute;
  content: "\f111";
  left: 0;
  top: 5px;
  font-family: "FontAwesome";
  font-size: 8px;
  color: #fc6c3f;
}

.tags-area {
  border-bottom: 1px solid #ebebeb;
  padding-bottom: 30px;
}

.tags-area a {
  color: #292f3b;
  padding: 5px 20px;
  text-transform: uppercase;
  font-size: 12px;
  background-color: #ebebeb;
  display: inline-block;
  margin-bottom: 3px;
}

.tags-area a:hover {
  color: #fff;
  background-color: #fc6c3f;
}

.related-post-area {
  border-bottom: 1px solid #ebebeb;
}

.related-post-area .single-post {
  margin-bottom: 0;
}

.related-post-slider .post-content h6 {
  line-height: 1.5;
  margin-bottom: 0;
}

.related-post-slider .post-thumb img {
  margin-bottom: 10px;
}

.related-post-slider .owl-prev,
.related-post-slider .owl-next {
  position: absolute;
  top: -60px;
  border: 1px solid #ebebeb;
  width: 30px;
  height: 30px;
  line-height: 30px;
  text-align: center;
  right: 30px;
  background-color: #fff;
}

.related-post-slider .owl-next {
  right: 0;
}

.comment_area {
  border-bottom: 1px solid #ebebeb;
}

.single_comment_area {
  position: relative;
  z-index: 1;
}

.single_comment_area:after {
  position: absolute;
  width: 1px;
  height: 90%;
  background-color: #ebebeb;
  left: 100px;
  top: 0;
  z-index: 2;
  content: "";
}

.single_comment_area ol li.single_comment_area {
  margin-left: 130px;
}

.single_comment_area ol li.single_comment_area:after {
  display: none;
}

.comment-wrapper {
  margin-bottom: 30px;
}

.comment-wrapper .comment-author {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  margin-right: 60px;
}

.single_comment_area ol li.single_comment_area .comment-wrapper .comment-author {
  margin-right: 30px;
}

.comment-wrapper .comment-author img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
}

.comment-wrapper .comment-content {
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
}

.comment-wrapper .comment-date {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.comment-wrapper .comment-content h5 {
  font-size: 18px;
  margin: 5px 0;
}

.comment-wrapper .comment-content a {
  min-width: 80px;
  height: 30px;
  border: 1px solid #ebebeb;
  line-height: 30px;
  font-size: 12px;
  text-align: center;
  color: #232d37;
  display: inline-block;
}

.comment-wrapper .comment-content a.active {
  color: #fff;
  background-color: #fc6c3f;
}

/* Audio */
#music-toggle {
  cursor: pointer;
  position: fixed;
  bottom: 20px;
  left: 20px;
  z-index: 1045;
  background-color: #fc6c3f;
  border: none;
  color: white;
  font-size: 24px;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  -webkit-transition-duration: 500ms;
  transition-duration: 500ms;
}

#music-toggle div {
  position: absolute;
  width: 100%;
  height: 100%;
  background: inherit;
  border-radius: inherit;
}

#music-toggle span {
  position: relative;
  z-index: 3;
  color: #fff;
}

.pulsing div {
  opacity: .8;
  animation: pulseAnimate 4s ease-in-out infinite;
  animation-delay: calc(1s * var(--i));
}

@keyframes pulseAnimate {
  100% {
    opacity: 0;
    transform: scale(2);
  }
}

/* Background Image Solution - Works on all devices including iOS */
.background-image-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  overflow: hidden;
}

.background-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  /* Smooth scaling for better performance */
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
}

/* Bg Pattern - Now uses overlay instead of background */
.bg-pattern {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  width: 100%;
  /* Remove background-image, use overlay instead */
}

.bg-pattern:after {
  position: fixed;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  content: "";
  background-color: rgba(255, 255, 255, 0.55);
  z-index: -1;
  pointer-events: none;
}

/* Mobile optimization */
@media (max-width: 768px) {
  .background-image-container {
    position: fixed; /* Keep fixed for consistent experience */
  }
  
  .background-image {
    object-position: center top;
  }
}

/* iOS specific optimizations */
@supports (-webkit-touch-callout: none) {
  .background-image-container {
    position: fixed;
    /* iOS handles fixed positioning better with img elements */
  }
  
  .background-image {
    /* Ensure proper scaling on iOS */
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
  }
}

#pattern-switcher {
  width: 120px;
  background-color: #fc6c3f;
  position: fixed;
  top: 15%;
  z-index: 9999;
  cursor: pointer;
  height: 50px;
  right: 0;
  color: #fff;
  font-size: 12px;
  line-height: 50px;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 1px;
  -webkit-transition-duration: 500ms;
  transition-duration: 500ms;
}

#pattern-switcher.pattern-remove {
  right: -200px;
}

#pattern-switcher:hover {
  background-color: #e3410e;
}

#patter-close>i {
  position: fixed;
  width: 20px;
  height: 20px;
  background-color: #111;
  font-size: 11px;
  line-height: 20px;
  border-radius: 50%;
  right: 110px;
  top: calc(15% - 10px);
  text-align: center;
  z-index: 99999;
  color: #fff;
  cursor: pointer;
}

.album-gallery-container {
  position: relative;
}

.gallery-item {
  width: 200px;
  padding: 5px;
}

.btn-dynamic {
  color: #333;
  background-color: white;
  padding: 5px 10px;
  position: absolute;
  bottom: 15px;
  right: 15px;
  font-size: 14px;
  z-index: 9999;
}

.photo-grid {
  padding: 20px;
  background-color: #f8f9fa;
}

.photo-item {
  cursor: pointer;
  position: relative;
  overflow: hidden;
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.photo-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.photo-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.photo-item:hover img {
  transform: scale(1.05);
}

/* Height classes - medium and small should add up to large */
.large-item {
  height: 400px;
}

.medium-item {
  height: 195px;
  /* (400px - 15px gap) / 2 */
}

.small-item {
  height: 195px;
  /* Same as medium to maintain consistency */
}

/* Love text overlay */
.love-text {
  position: absolute;
  bottom: 20px;
  left: 20px;
  color: white;
  font-size: 4rem;
  font-weight: 300;
  font-family: 'Dancing Script', cursive;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  z-index: 2;
}

/* Gradient overlay for better text readability */
.photo-item::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 50%;
  /* background: linear-gradient(transparent, rgba(0, 0, 0, 0.4)); */
  z-index: 1;
}

/* Remove margin from last item in column to align perfectly */
.photo-column .photo-item:first-child {
  margin-bottom: 10px;
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .large-item {
    height: 400px;
  }

  .medium-item,
  .small-item {
    height: 142px;
    /* (300px - 15px) / 2 */
  }
}

@media (max-width: 768px) {
  .large-item {
    height: 300px;
  }

  .medium-item,
  .small-item {
    height: 145px;
  }

  .love-text {
    font-size: 2.5rem;
    bottom: 15px;
    left: 15px;
  }
}

@media (max-width: 576px) {
  .photo-grid {
    padding: 10px;
  }

  .photo-item {
    /* margin-bottom: 10px; */
  }

  .large-item {
    height: 300px;
  }

  .medium-item,
  .small-item {
    height: 145px;
    /* (300px - 15px) / 2 */
  }

  /* .large-item,
  .medium-item,
  .small-item {
      height: 200px;
  } */
}

#gallery-btn {
  display: block;
  position: relative;
  padding: 0.75em 2em;
  appearance: none;
  border: 0;
  background: transparent;
  color: #fc6c3f;
  text-transform: uppercase;
  /* letter-spacing: 0.25em; */
  outline: none;
  cursor: pointer;
  font-weight: bold;
  border-radius: 0;
  box-shadow: inset 0 0 0 2px currentcolor;
  transition: background 0.8s ease;
  --offset: 10px;
  --border-size: 2px;
}

/* .button:hover {
  background: rgba(100, 0, 0, 0.03);
} */

.button__horizontal,
.button__vertical {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  transition: transform 0.8s ease;
  will-change: transform;
  outline: none;
}

.button__horizontal::before,
.button__vertical::before {
  content: '';
  position: absolute;
  border: inherit;
}

/* Horizontal Borders */
.button__horizontal {
  --vertical-offset: calc(var(--offset) * -1);
  top: 0;
  bottom: 0;
  left: var(--vertical-offset);
  right: var(--vertical-offset);
  border-top: 2px solid currentcolor;
  border-bottom: 2px solid currentcolor;
}

.button__horizontal::before {
  top: calc(var(--vertical-offset) - 2px);
  bottom: calc(var(--vertical-offset) - 2px);
  left: calc(var(--vertical-offset) * -1);
  right: calc(var(--vertical-offset) * -1);
}

.button:hover .button__horizontal {
  transform: scaleX(0);
}

/* Vertical Borders */
.button__vertical {
  --horizontal-offset: calc(var(--offset) * -1);
  top: var(--horizontal-offset);
  bottom: var(--horizontal-offset);
  left: 0;
  right: 0;
  border-left: 2px solid currentcolor;
  border-right: 2px solid currentcolor;
}

.button__vertical::before {
  top: calc(var(--horizontal-offset) * -1);
  bottom: calc(var(--horizontal-offset) * -1);
  left: calc(var(--horizontal-offset) - 2px);
  right: calc(var(--horizontal-offset) - 2px);
}

.button:hover .button__vertical {
  transform: scaleY(0);
}

.border-shadow {
  border-radius: 15px;
  box-shadow:
    8px 8px 15px rgba(0, 0, 0, 0.25),
    -8px -8px 15px rgba(255, 255, 255, 0.8);
}

.event-item {
  border-radius: 15px;
  /* box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4); */
  box-shadow:
    8px 8px 15px rgba(0, 0, 0, 0.25),
    -8px -8px 15px rgba(255, 255, 255, 0.8);
}

.timeline {
  position: relative;
  margin: 40px auto;
  padding: 0 20px;
  /* max-width: 900px; */
}

.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 4px;
  background-color: #fc6c3f;
  transform: translateX(-50%);
  z-index: 1;
}

.stage {
  position: relative;
  margin-bottom: 60px;
}

.stage::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  background-color: white;
  border: 4px solid #fc6c3f;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
}

.stage .img-wrapper {
  height: 325px;
  overflow: hidden;
}

.stage .img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Áp dụng font Ballet */
.heading,
.subheading {
  font-family: 'Ballet', cursive;
  /* text-align: center; */
}

/* Heading chính */
.heading {
  font-weight: 400;
  line-height: 1.1;
  margin-bottom: 0.5em;
}

/* Subheading phụ */
.subheading {
  font-weight: 300;
  line-height: 1.4;
}

.welcome-section,
.us-section,
.story-section,
.album-section,
.event-section,
.qr-section {
  padding-top: 130px;
  padding-bottom: 80px;
}

/* Tablet and smaller desktop */
@media (max-width: 1199.98px) {
  .welcome-section,
  .us-section,
  .story-section,
  .album-section,
  .event-section,
  .qr-section {
    padding-top: 120px;
    padding-bottom: 70px;
  }
}

/* Tablet */
@media (max-width: 991.98px) {
  .welcome-section,
  .us-section,
  .story-section,
  .album-section,
  .event-section,
  .qr-section {
    padding-top: 100px;
    padding-bottom: 60px;
  }

  .footer-section {
    padding-top: 60px;
    padding-left: 15px;
    padding-right: 15px;
  }
}

/* Mobile landscape */
@media (max-width: 767.98px) {
  .welcome-section,
  .us-section,
  .story-section,
  .album-section,
  .event-section,
  .qr-section {
    padding-top: 80px;
    padding-bottom: 50px;
  }

  
}

/* Mobile portrait */
@media (max-width: 575.98px) {
  .welcome-section,
  .us-section,
  .story-section,
  .album-section,
  .event-section,
  .qr-section {
    padding-top: 60px;
    padding-bottom: 40px;
  }
}

/* Small mobile */
@media (max-width: 480px) {
  .welcome-section,
  .us-section,
  .story-section,
  .album-section,
  .event-section,
  .qr-section {
    padding-top: 50px;
    padding-bottom: 30px;
  }

  .footer-section {
    padding-top: 110px;
    padding-left: 15px;
    padding-right: 15px;
  }
}

/* Extra small mobile */
@media (max-width: 360px) {
  .welcome-section,
  .us-section,
  .story-section,
  .album-section,
  .event-section,
  .qr-section {
    padding-top: 40px;
    padding-bottom: 25px;
  }

  .footer-section {
    padding-left: 0px;
    padding-right: 0px;
  }
}

.countdown-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .5rem;
}

.frame-box {
  position: relative;
  width: 150px;
  aspect-ratio: 1 / 1;
}

.frame-box img {
  width: 100%;
  height: auto;
  display: block;
}

.countdown-content {
  position: absolute;
  top: 50%;
  left: 49%;
  transform: translate(-50%, -50%);
  text-align: center;
  width: 70%;
  aspect-ratio: 1 / 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-radius: 10px;
}

.countdown-value {
  font-size: 2.5rem;
  font-weight: 900;
  color: #ffffff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  margin-bottom: 8px;
  font-family: 'Orbitron', monospace;
  display: block;
  line-height: 1;
  position: relative;
  z-index: 2;
  letter-spacing: 2px;
}

.countdown-label {
  font-size: 0.9rem;
  /* color: #444; */
}

/* Responsive kích thước */
@media (min-width: 1200px) {
  .heading {
    font-size: 90px;
  }

  .subheading {
    font-size: 52px;
  }
}

@media (min-width: 992px) and (max-width: 1199.98px) {
  .heading {
    font-size: 76px;
  }

  .subheading {
    font-size: 48px;
  }

  .frame-box {
    width: 30%;
  }
}

@media (min-width: 768px) and (max-width: 991.98px) {
  .heading {
    font-size: 68px;
  }

  .subheading {
    font-size: 40px;
  }

  .frame-box {
    width: 30%;
  }

  .bg-pattern {
    background-position: center right;
    background-size: auto 100%;
  }
}

@media (max-width: 767.98px) {
  .heading {
    font-size: 60px;
  }

  .subheading {
    font-size: 36px;
  }

  .stage .img-wrapper {
    height: 225px;
  }

  .frame-box {
    width: 30%;
  }
}

/* === Simple & Bright Sparkle Effects === */
.sparkle-dot,
.sparkle-star,
.sparkle-tiny {
  position: absolute;
  background: radial-gradient(circle, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0.8) 30%, rgba(255, 255, 255, 0.4) 60%, transparent 80%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 3;
  animation: sparkleFloat ease-in-out infinite, sparkleBlink 3s cubic-bezier(0.4, 0, 0.6, 1) infinite;
  box-shadow: 0 0 15px 4px rgba(255, 255, 255, 0.8), 0 0 25px 8px rgba(255, 255, 255, 0.4);
  will-change: transform, opacity;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  /* Prevent sparkles from causing overflow */
  max-width: 12px;
  max-height: 12px;
  contain: layout style paint;
}

/* Smooth random movement sparkleFloat animation */
@keyframes sparkleFloat {
  0% {
    transform: translate(0, 0) rotate(0deg) scale(0.9);
  }
  20% {
    transform: translate(var(--random-x1), var(--random-y1)) rotate(calc(var(--random-rotation) * 0.2)) scale(1.1);
  }
  40% {
    transform: translate(var(--random-x2), var(--random-y2)) rotate(calc(var(--random-rotation) * 0.4)) scale(1.0);
  }
  60% {
    transform: translate(var(--random-x3), var(--random-y3)) rotate(calc(var(--random-rotation) * 0.6)) scale(1.05);
  }
  80% {
    transform: translate(calc(var(--random-x1) * 0.5), calc(var(--random-y1) * 0.5)) rotate(calc(var(--random-rotation) * 0.8)) scale(0.95);
  }
  100% {
    transform: translate(0, 0) rotate(var(--random-rotation)) scale(0.9);
  }
}

/* Ultra smooth sparkle blinking animation */
@keyframes sparkleBlink {
  0% {
    opacity: 0.7;
    box-shadow: 0 0 15px 4px rgba(255, 255, 255, 0.5), 0 0 25px 8px rgba(255, 255, 255, 0.25);
  }
  15% {
    opacity: 0.6;
    box-shadow: 0 0 12px 3px rgba(255, 255, 255, 0.4), 0 0 20px 6px rgba(255, 255, 255, 0.2);
  }
  30% {
    opacity: 0.55;
    box-shadow: 0 0 10px 3px rgba(255, 255, 255, 0.35), 0 0 18px 5px rgba(255, 255, 255, 0.18);
  }
  50% {
    opacity: 0.9;
    box-shadow: 0 0 18px 5px rgba(255, 255, 255, 0.8), 0 0 30px 10px rgba(255, 255, 255, 0.4);
  }
  70% {
    opacity: 0.65;
    box-shadow: 0 0 13px 4px rgba(255, 255, 255, 0.45), 0 0 22px 7px rgba(255, 255, 255, 0.22);
  }
  85% {
    opacity: 0.6;
    box-shadow: 0 0 11px 3px rgba(255, 255, 255, 0.4), 0 0 19px 6px rgba(255, 255, 255, 0.2);
  }
  100% {
    opacity: 0.7;
    box-shadow: 0 0 15px 4px rgba(255, 255, 255, 0.5), 0 0 25px 8px rgba(255, 255, 255, 0.25);
  }
}

/* Mobile optimizations */
@media (max-width: 768px) {
  .sparkle-dot,
  .sparkle-star,
  .sparkle-tiny {
    animation-duration: 6s !important;
    box-shadow: 0 0 12px 3px rgba(255, 255, 255, 0.7), 0 0 20px 6px rgba(255, 255, 255, 0.4);
    /* Reduce size on mobile for better performance */
    width: 6px !important;
    height: 6px !important;
    max-width: 6px;
    max-height: 6px;
  }
}

@media (max-width: 480px) {
  .sparkle-dot,
  .sparkle-star,
  .sparkle-tiny {
    /* Keep sparkles visible but smaller on very small devices */
    width: 4px !important;
    height: 4px !important;
    max-width: 4px;
    max-height: 4px;
    animation-duration: 8s !important;
    box-shadow: 0 0 8px 2px rgba(255, 255, 255, 0.6), 0 0 15px 4px rgba(255, 255, 255, 0.3);
  }
}

.card {
  /* background: linear-gradient(to top, rgba(146, 97, 97, 0.1) 0%, #ffffff 100%); */
  /* border-radius: 15px;
  border: 0px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); */
  padding: 5px;
  max-width: 300px;
  margin: auto;
}

.qr-image {
  width: 100%;
  max-width: 350px;
  height: auto;
  border-radius: 12px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.qr-image:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* === QR Section - Modern Redesign === */
.qr-section {
  position: relative;
  margin: 0 15px;
}

.qr-section-header {
  margin-bottom: 50px;
}

.qr-subtitle {
  font-size: 1.1rem;
  color: #6b7280;
  font-family: 'Questrial', sans-serif;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

.qr-cards-container {
  max-width: 1000px;
  margin: 0 auto;
}

.qr-card {
  background: rgba(255,255,255,0.95);
  border-radius: 20px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.08);
  padding: 30px;
  height: 100%;
  transition: all 0.4s cubic-bezier(0.4,0,0.2,1);
  border: 1px solid rgba(0,0,0,0.03);
  position: relative;
  overflow: hidden;
}

.qr-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  border-radius: 20px 20px 0 0;
}

.groom-card::before {
  background: #235e58;
}

.bride-card::before {
  background: #fc6c3f;
}

.qr-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 60px rgba(0,0,0,0.15);
}

.qr-card-header {
  text-align: center;
  margin-bottom: 25px;
  position: relative;
}

.qr-card-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #f3f4f6, #e5e7eb);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 15px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.groom-card .qr-card-icon {
  background: linear-gradient(135deg, #e6f3f1, #d1e8e4);
  color: #235e58;
}

.bride-card .qr-card-icon {
  background: linear-gradient(135deg, #fef2f0, #fde8e4);
  color: #fc6c3f;
}

.qr-card-icon i {
  font-size: 24px;
}

.qr-card-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 8px;
  font-family: 'Questrial', sans-serif;
}

.qr-card-subtitle {
  font-size: 1rem;
  color: #6b7280;
  font-family: 'Questrial', sans-serif;
  margin: 0;
}

.qr-card-body {
  text-align: center;
}

.qr-image-wrapper {
  background: #f8fafc;
  border-radius: 15px;
  padding: 20px;
  margin-bottom: 20px;
  border: 2px dashed #e2e8f0;
  transition: all 0.3s ease;
}

.qr-card:hover .qr-image-wrapper {
  border-color: #22c55e;
  background: #f0fdf4;
  transform: scale(1.02);
}

.qr-info {
  margin-top: 15px;
}

.bank-info {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.9rem;
  color: #6b7280;
  font-family: 'Questrial', sans-serif;
  margin: 0;
}

.bank-info i {
  color: #22c55e;
  font-size: 1rem;
}

.qr-footer {
  margin-top: 40px;
}

.qr-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 0.95rem;
  color: #6b7280;
  font-family: 'Questrial', sans-serif;
  background: rgba(255,255,255,0.8);
  padding: 15px 25px;
  border-radius: 25px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
  max-width: 500px;
  margin: 0 auto;
}

.qr-note i {
  color: #22c55e;
  font-size: 1.1rem;
}

/* Responsive QR Section */
@media (max-width: 1199.98px) {
  .qr-cards-container {
    max-width: 900px;
  }
}

@media (max-width: 991.98px) {
  .qr-cards-container {
    max-width: 800px;
  }
  
  .qr-card {
    padding: 25px;
  }
  
  .qr-card-title {
    font-size: 1.3rem;
  }
  
  .qr-image {
    max-width: 180px;
  }
}

@media (max-width: 767.98px) {
  .qr-section {
    margin: 0 10px;
  }
  
  .qr-section-header {
    margin-bottom: 40px;
  }
  
  .qr-subtitle {
    font-size: 1rem;
  }
  
  .qr-cards-container {
    max-width: 100%;
  }
  
  .qr-card {
    padding: 20px;
    margin-bottom: 20px;
  }
  
  .qr-card-icon {
    width: 50px;
    height: 50px;
  }
  
  .qr-card-icon i {
    font-size: 20px;
  }
  
  .qr-card-title {
    font-size: 1.2rem;
  }
  
  .qr-image {
    max-width: 160px;
  }
  
  .qr-image-wrapper {
    padding: 15px;
  }
  
  .qr-note {
    font-size: 0.9rem;
    padding: 12px 20px;
  }
}

@media (max-width: 575.98px) {
  .qr-section {
    margin: 0 5px;
  }
  
  .qr-card {
    padding: 15px;
    margin-bottom: 30px;
  }
  
  .qr-card-title {
    font-size: 1.1rem;
  }
  
  .qr-image {
    max-width: 180px;
  }
  
  .qr-image-wrapper {
    padding: 12px;
  }
  
  .bank-info {
    font-size: 0.8rem;
  }
  
  .qr-note {
    font-size: 0.85rem;
    padding: 10px 15px;
    flex-direction: column;
    gap: 5px;
  }
}

@media (max-width: 480px) {
  .qr-card {
    padding: 12px;
    margin-bottom: 25px;
  }
  
  .qr-card-title {
    font-size: 1rem;
  }
  
  .qr-image {
    max-width: 160px;
  }
  
  .qr-image-wrapper {
    padding: 10px;
  }
}

/* === Countdown Section - Restored === */
.countdown-section {
  padding: 40px 0;
  background: linear-gradient(135deg, rgba(34,197,94,0.7) 0%, rgba(22,163,74,0.7) 50%, rgba(21,128,61,0.85) 100%);
  position: relative;
  overflow: hidden;
  min-height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.18);
  margin-top: 100px;
}

.countdown-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="50" cy="10" r="0.5" fill="rgba(255,255,255,0.05)"/><circle cx="10" cy="60" r="0.5" fill="rgba(255,255,255,0.05)"/><circle cx="90" cy="40" r="0.5" fill="rgba(255,255,255,0.05)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
  pointer-events: none;
  z-index: 1;
}

.countdown-wrapper {
  text-align: center;
  position: relative;
  z-index: 2;
  width: 100%;
}

.countdown-title {
  margin-bottom: 40px;
}
.countdown-title h2 {
  color: #fff;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 10px;
  text-shadow: 0 4px 20px rgba(0,0,0,0.3);
  font-family: 'Questrial', sans-serif;
  animation: fadeInUp 1s ease-out;
}
.countdown-title p {
  color: rgba(255,255,255,0.9);
  font-size: 1.1rem;
  margin: 0;
  font-family: 'Questrial', sans-serif;
  animation: fadeInUp 1s ease-out 0.2s both;
}

.countdown-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  flex-wrap: nowrap;
  margin-top: 30px;
  width: 100%;
}

.countdown-item {
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 18px;
  padding: 20px 15px;
  text-align: center;
  flex: 1;
  max-width: 120px;
  min-width: 80px;
  position: relative;
  overflow: hidden;
  animation: fadeInUp 0.8s ease-out both;
  transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
  box-shadow: 0 4px 16px 0 rgba(0,0,0,0.08);
}
.countdown-item:nth-child(1) { animation-delay: 0.4s; }
.countdown-item:nth-child(2) { animation-delay: 0.6s; }
.countdown-item:nth-child(3) { animation-delay: 0.8s; }
.countdown-item:nth-child(4) { animation-delay: 1.0s; }
.countdown-item::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(135deg,rgba(255,255,255,0.1) 0%,rgba(255,255,255,0.05) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.countdown-item:hover::before { opacity: 1; }
.countdown-item:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 15px 30px rgba(0,0,0,0.2);
  border-color: rgba(255,255,255,0.4);
}

/* Reflection effect */
.countdown-item::after {
  content: '';
  position: absolute;
  top: -100%; left: -100%;
  width: 300%; height: 300%;
  background: linear-gradient(45deg,transparent 0%,transparent 40%,rgba(255,255,255,0.8) 45%,rgba(255,255,255,0.9) 50%,rgba(255,255,255,0.8) 55%,transparent 60%,transparent 100%);
  transform: translateX(-100%) translateY(-100%);
  opacity: 0;
  transition: all 0.6s ease;
  pointer-events: none;
}
.countdown-item.reflection::after {
  transform: translateX(100%) translateY(100%);
  opacity: 1;
}
 
.countdown-value {
  font-size: 2.5rem;
  font-weight: 900;
  color: #fff;
  text-shadow: 0 2px 10px rgba(0,0,0,0.3);
  margin-bottom: 8px;
  font-family: 'Orbitron', monospace;
  display: block;
  line-height: 1;
  position: relative;
  z-index: 2;
  letter-spacing: 2px;
  text-shadow: 0 4px 16px rgba(0,0,0,0.18);
}
.countdown-label {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.9);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-family: 'Questrial', sans-serif;
  position: relative;
  z-index: 2;
}

/* Floating particles (hearts or dots) */
.floating-particles {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 1;
}
.particle {
  position: absolute;
  width: 3px; height: 3px;
  background: rgba(255,255,255,0.6);
  border-radius: 50%;
  animation: floatParticle 8s linear infinite;
}
@keyframes floatParticle {
  0% { transform: translateY(100vh) translateX(0) rotate(0deg); opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { transform: translateY(-100px) translateX(100px) rotate(360deg); opacity: 0; }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
.pulse { animation: pulse 1s ease-in-out; }
@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.1); }
  100% { transform: scale(1); }
}

/* Responsive adjustments for countdown */
@media (max-width: 768px) {
  .countdown-section { padding: 30px 0; }
  .countdown-container { gap: 10px; }
  .countdown-item { padding: 15px 10px; max-width: 100px; min-width: 70px; }
  .countdown-value { font-size: 2rem; }
  .countdown-label { font-size: 0.8rem; letter-spacing: 0.5px; }
  .countdown-title h2 { font-size: 2rem; }
  .countdown-title p { font-size: 1rem; }
}
@media (max-width: 480px) {
  .countdown-section { padding: 25px 0; }
  .countdown-container { gap: 8px; }
  .countdown-item { padding: 12px 8px; max-width: 80px; min-width: 60px; }
  .countdown-value { font-size: 1.5rem; }
  .countdown-label { font-size: 0.7rem; letter-spacing: 0.5px; }
  .countdown-title h2 { font-size: 1.8rem; }
  .countdown-title p { font-size: 0.9rem; }
}
@media (max-width: 360px) {
  .countdown-container { gap: 5px; }
  .countdown-item { padding: 10px 5px; max-width: 70px; min-width: 50px; }
  .countdown-value { font-size: 1.3rem; }
  .countdown-label { font-size: 0.6rem; }
}

/* === Footer Section === */
.footer-section {
  position: relative;
  background-image: url(img/album/THA_0728.jpg);
  background-size: cover;
  background-position: center center;
  height: 500px;
  max-height: 500px;
  border-top-right-radius: 80px 80px;
  border-top-left-radius: 80px 80px;
  padding-left: 15px;
  padding-right: 15px;
  padding-top: 100px;
}

.footer-section::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(transparent, rgba(0, 0, 0, 1));
  z-index: 1;
}

/* === Additional QR Section Fixes === */
.qr-image {
  max-width: 350px !important;
}

@media (max-width: 767.98px) {
  .qr-card {
    margin-bottom: 30px !important;
  }
  
  .qr-image {
    max-width: 220px !important;
  }
}

@media (max-width: 575.98px) {
  .qr-card {
    margin-bottom: 25px !important;
  }
  
  .qr-image {
    max-width: 200px !important;
  }
}

@media (max-width: 480px) {
  .qr-card {
    margin-bottom: 20px !important;
  }
  
  .qr-image {
    max-width: 180px !important;
  }
}

/* === Common Subtitle Class === */
.section-subtitle {
  font-size: 1.1rem;
  font-family: 'Questrial', sans-serif;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 700;
}

/* Responsive subtitle */
@media (max-width: 767.98px) {
  .section-subtitle {
    font-size: 1rem;
    max-width: 100%;
    padding: 0 15px;
  }
}

@media (max-width: 575.98px) {
  .section-subtitle {
    font-size: 0.9rem;
    letter-spacing: 0.3px;
  }
}

/* Mobile Image Loading Optimizations */
@media (max-width: 768px) {
  /* Ensure images load properly on mobile */
  .welcome-post-sliders img {
    width: 100%;
    height: auto;
    max-width: 100%;
    object-fit: cover;
    display: block;
  }
  
  /* Force hardware acceleration for smoother loading */
  .welcome-post-sliders {
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
  }
  
  /* Prevent layout shift during image loading */
  .welcome-post-sliders .owl-item {
    min-height: 200px;
    background-color: #f5f5f5;
  }
}

/* iOS Safari specific fixes */
@supports (-webkit-touch-callout: none) {
  .welcome-post-sliders img {
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
  }
}

/* Android Chrome specific fixes */
@media screen and (-webkit-min-device-pixel-ratio: 0) {
  .welcome-post-sliders img {
    image-rendering: -webkit-optimize-contrast;
  }
}