/* Custom CSS for MOM N ECO Honey Website */

/* Import Google Fonts - Nanum Gothic for Korean and Sofia Pro for English */
@import url('https://fonts.googleapis.com/css2?family=Nanum+Gothic:wght@400;700;800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Sofia+Pro:wght@400;500;600;700&display=swap');

/* Color Variables */
:root {
    --primary: #f39c12;     /* Honey orange/yellow */
    --warning: #f39c12;     /* Same as primary for consistency */
    --secondary: #8B4513;   /* Brown for earthy feel */
    --success: #27ae60;     /* Green for natural/eco theme */
    --info: #3498db;
    --light: #f8f9fa;
    --dark: #212529;
    --check: #ffebcd;
}

/* Universal Mobile Text Optimization */
@media (max-width: 767px) {
    * {
        word-break: keep-all !important;
        overflow-wrap: break-word !important;
    }
    
    html {
        font-size: 14px;
    }
    
    body {
        font-size: 1rem;
        line-height: 1.6;
    }
    
    .text-white {
        word-break: keep-all !important;
        overflow-wrap: break-word !important;
    }
}

/* Global Styles */
* {
    box-sizing: border-box;
}

body {
    font-family: 'Sofia Pro', 'Nanum Gothic', sans-serif;
    font-weight: 400;
    line-height: 1.6;
    word-break: keep-all;
    overflow-wrap: break-word;
    color: #212529;
}

/* Mobile text optimization */
@media (max-width: 767px) {
    body {
        word-break: break-word;
        line-height: 1.5;
    }
    
    p, span, div {
        word-break: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
    }
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Sofia Pro', 'Nanum Gothic', sans-serif;
    font-weight: 600;
}

/* Korean text specific styling */
:lang(ko), .korean {
    font-family: 'Nanum Gothic', sans-serif !important;
}

/* English text specific styling */
:lang(en), .english {
    font-family: 'Sofia Pro', sans-serif !important;
}

/* Mixed content - Korean takes precedence for Korean characters */
body, p, span, div, a, button, input, textarea, select, label {
    font-family: 'Sofia Pro', 'Nanum Gothic', sans-serif;
}

/* Icon font fixes to prevent font-family override */
.fa, .fas, .far, .fal, .fab, .bi, [class*="fa-"], [class*="bi-"] {
    font-family: "Font Awesome 6 Free", "Font Awesome 6 Brands", "bootstrap-icons" !important;
}

/* Ensure icons don't inherit custom fonts */
i.fa, i.fas, i.far, i.fal, i.fab, i.bi, i[class*="fa-"], i[class*="bi-"] {
    font-family: "Font Awesome 6 Free", "Font Awesome 6 Brands", "bootstrap-icons" !important;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
}

/* Logo styling */
.navbar-brand-logo {
    height: 2.5rem;
    width: auto;
    margin-right: 0.5rem;
    /* No filter needed as logo is already in brand orange color */
}

.navbar-brand {
    display: flex;
    align-items: center;
}

/* Override Bootstrap primary color */
.text-primary {
    color: var(--primary) !important;
}

.text-warning {
    color: var(--warning) !important;
}

.bg-primary {
    background-color: var(--primary) !important;
}

.bg-warning {
    background-color: var(--warning) !important;
}

.btn-primary {
    background-color: var(--primary);
    border-color: var(--primary);
}

.btn-warning {
    background-color: var(--warning);
    border-color: var(--warning);
    color: #fff;
}

.btn-primary:hover, .btn-warning:hover {
    background-color: #e67e22;
    border-color: #e67e22;
}

/* Spinner */
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}

/* Topbar */
.top-bar {
    height: 45px;
    border-bottom: 1px solid rgba(255, 255, 255, .07);
}

/* Navbar */
.navbar {
    background: linear-gradient(rgba(0, 0, 0, .8), rgba(0, 0, 0, .8));
    transition: .5s;
}

.navbar.sticky-top {
    background: linear-gradient(rgba(0, 0, 0, .9), rgba(0, 0, 0, .9));
}

.navbar .navbar-nav .nav-link {
    margin-right: 35px;
    padding: 20px 0;
    color: var(--light);
    font-size: 18px;
    font-weight: 500;
    outline: none;
    transition: .5s;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--warning);
}

@media (max-width: 991.98px) {
    .navbar .navbar-nav .nav-link  {
        margin-right: 0;
        padding: 10px 0;
    }
}

/* Header Carousel */
.carousel-section {
    margin-bottom: 3rem;
    position: relative;
}

.carousel-img {
    height: 80vh;
    object-fit: cover;
    object-position: center center;
    width: 100%;
    display: block;
    margin: 0 auto;
}

/* Desktop Carousel */
@media (min-width: 768px) {
  .carousel-img {
    height: 85vh;
    max-height: 800px;
  }
}

/* Large Screen Carousel */
@media (min-width: 1200px) {
  .carousel-img {
    height: 90vh;
    max-height: 900px;
  }
}

/* Fixed Text Overlay for Carousel */
.carousel-text-overlay {
    z-index: 5 !important;
    pointer-events: none;
}

.carousel-text-overlay .btn {
    pointer-events: auto;
}

.carousel-text-container {
    z-index: 6;
}

/* Carousel Controls */
.carousel-control-prev,
.carousel-control-next {
    width: 8%;
    z-index: 15 !important;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    opacity: 1;
    background: rgba(243, 156, 18, 0.1);
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
    background-color: transparent;
    border-radius: 0;
    padding: 0.5rem;
    transition: all 0.3s ease;
}

.carousel-control-prev-icon:hover,
.carousel-control-next-icon:hover {
    background-color: rgba(243, 156, 18, 0.3);
    transform: scale(1.1);
}

.carousel-fade .carousel-item {
    opacity: 0;
    transition-property: opacity;
    transition-duration: 0.6s;
    transform: none;
}

.carousel-fade .carousel-item.active,
.carousel-fade .carousel-item-next.carousel-item-left,
.carousel-fade .carousel-item-prev.carousel-item-right {
    opacity: 1;
}

.carousel-fade .carousel-item-left.active,
.carousel-fade .carousel-item-right.active {
    opacity: 0;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
    background-size: 100%, 100%;
}

/* Text Overlay */
.carousel-text-overlay {
    align-items: flex-start !important;
    padding-top: 0 !important;
}

.carousel-text-container {
    padding-top: 150px;
    margin-top: 70px;
}

/* Responsive spacing */
@media (max-width: 768px) {
    .carousel-text-container {
        padding-top: 80px;
    }
    .carousel-control-prev,
    .carousel-control-next {
        width: 12%;
    }
    .carousel-control-prev-icon,
    .carousel-control-next-icon {
        width: 2rem;
        height: 2rem;
        background-color: transparent;
    }
}

@media (min-width: 992px) {
    .carousel-text-container {
        padding-top: 180px;
    }
}

/* Page Header */
.page-header {
    background: linear-gradient(rgba(0, 0, 0, .5), rgba(0, 0, 0, .5)), url('/assets/images/honey_background.jpg');
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    padding-top: 12rem;
    min-height: 400px;
    margin-bottom: 0;
    position: relative;
    z-index: 1;
}

.page-header h1 {
    font-weight: 600;
}

/* About page specific header adjustments */
.page-header + .about-section-new {
    margin-top: 0;
    position: relative;
    z-index: 2;
}

.custom-paragraph {
    max-width: 400rem; /* Adjust this value as needed */
    margin: 0 auto; /* Centers the paragraph */
}

/* Buttons */
.btn {
    margin-top: 1.5rem;
    font-weight: 500;
    transition: .5s;
}

/* Contact form button override */
.contact-form-section button.btn {
    margin-top: 0 !important;
}

/* Override button margin for contact form */
.contact-form-section .btn {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-lg-square {
    width: 58px;
    height: 58px;
}

.btn-xl-square {
    width: 78px;
    height: 78px;
}

.btn-square,
.btn-lg-square,
.btn-xl-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}

/* Back to Top */
.back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 30px;
    z-index: 99;
    border: none;
    background: var(--warning);
}

.back-to-top:hover {
    background: #e67e22;
}

/* Facts */
.fact-item {
    transition: .5s;
}

.fact-item:hover {
    background: var(--warning) !important;
    color: #fff !important;
}

.fact-item:hover * {
    color: #fff !important;
}

/* FIXED ABOUT SECTION - ?��?��?�� ?��로운 ?��????�� */
.about-section-fixed {
    padding: 80px 0;
    background: #ffffff;
    position: relative;
    overflow: hidden;
}

.about-container-fixed {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.about-row-fixed {
    display: flex;
    align-items: center;
    gap: 60px;
    flex-wrap: wrap;
}

.about-text-col {
    flex: 1;
    min-width: 300px;
    text-align: center; /* ?��?��?�� �??��?�� ?��?�� 추�?? */
}

.about-image-col {
    flex: 1;
    min-width: 300px;
}

.about-subtitle {
    color: #f39c12;
    text-transform: uppercase;
    font-weight: 500;
    letter-spacing: 1px;
    margin-bottom: 20px;
    font-size: 14px;
    text-align: center; /* �??��?�� ?��?�� 추�?? */
}

.about-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 600;
    color: #212529;
    margin-bottom: 30px;
    line-height: 1.3;
    text-align: center; /* �??��?�� ?��?�� 추�?? */
}

.about-description {
    margin-top: 60px !important;
    margin-bottom: 80px !important;
    font-size: 1.3rem !important;
    line-height: 1.8 !important;
    color: #6c757d !important;
    padding: 0 20px !important;
    width: 100% !important;
    text-align: center !important;
    font-family: 'Roboto', sans-serif !important;
    max-width: 1200px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    word-break: keep-all;
    overflow-wrap: break-word;
}

/* ?��?��?��?��?��?�� about-description ?�� ?��?�� */
@media (min-width: 992px) {
    .about-description {
        max-width: 1000px !important;
        padding: 0 40px !important;
    }
}

@media (min-width: 1200px) {
    .about-description {
        max-width: 1400px !important;
        padding: 0 40px !important;
    }
}

/* ?�� ?�� ?��면에?�� 최�?? ?�� ?��?�� */
@media (min-width: 1400px) {
    .about-description {
        max-width: 1600px !important;
        padding: 0 60px !important;
    }
}

.about-features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.about-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 50px;
}

.about-feature-icon {
    width: 70px;
    height: 70px;
    background: #f39c12;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.about-feature-icon i {
    font-size: 1.5rem;
    color: white;
}

.about-feature-content h5 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: #212529;
    margin-bottom: 8px;
    line-height: 1.4;
}

.about-feature-content span {
    font-size: 1.2rem;
    line-height: 1.6;
    color: #6c757d;
}

.about-images-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    height: 400px;
}

.about-image-item {
    border-radius: 8px;
    overflow: hidden;
    position: relative;
}

.about-image-item:first-child {
    grid-row: 1 / 2;
}

.about-image-item:last-child {
    grid-row: 1 / 2;
    align-self: end;
}

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

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

/* Mobile responsive for About section */
@media (max-width: 768px) {
    .about-row-fixed {
        flex-direction: column;
        gap: 40px;
    }

    .about-title {
        font-size: 1.8rem;
        line-height: 1.4;
        word-break: keep-all;
        overflow-wrap: break-word;
        padding: 0 1rem;
    }
    
    .about-description {
        font-size: 1.1rem !important;
        line-height: 1.7 !important;
        padding: 0 1.5rem !important;
        margin-top: 40px !important;
        margin-bottom: 60px !important;
        word-break: keep-all;
        text-align: center;
    }
    
    .about-subtitle {
        font-size: 0.9rem;
        margin-bottom: 15px;
    }

    .about-features-grid {
        grid-template-columns: 1fr;
        gap: 25px;
        padding: 0 1rem;
    }
    
    .about-feature-item {
        gap: 20px;
        text-align: left;
    }
    
    .about-feature-content h5 {
        font-size: 1.2rem;
        line-height: 1.4;
        word-break: keep-all;
    }
    
    .about-feature-content span {
        font-size: 1rem;
        line-height: 1.6;
        word-break: keep-all;
    }

    .about-images-container {
        height: 300px;
    }
}

/* 기존 About Section ?��????�� ?���? - img-twice ?��?�� ?��?�� */
.img-twice {
    position: relative;
    height: 400px; /* 20px?��?�� 400px�? �?�? */
}

.img-twice::before {
    position: absolute;
    content: "";
    top: 0;
    left: 50%;
    right: 0;
    bottom: 50%;
    background: var(--warning);
    transform: skew(20deg);
    z-index: -1;
}

/* Product Items */
.product-item {
    transition: .5s;
    border: 1px solid rgba(0, 0, 0, .1) !important;
}

.product-item:hover {
    box-shadow: 0 0 45px rgba(0, 0, 0, .2);
    transform: translateY(-5px);
}

.product-item .product-overlay {
    position: absolute;
    top: 20px;
    right: 20px;
    opacity: 0;
    transition: .5s;
}

.product-item:hover .product-overlay {
    opacity: 1;
}

/* Feature Items */
.feature-item {
    transition: .5s;
}

.feature-item:hover {
    background: var(--warning) !important;
    color: #fff !important;
}

.feature-item:hover * {
    color: #fff !important;
}

/* Footer */
.footer {
    margin-top: 6rem;
    position: relative;
    z-index: 10;
}

/* About page footer - process 섹션 뒤 */
.container-xxl.bg-light.my-6.py-6 + .footer {
    margin-top: 0 !important;
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 10px;
    padding: 0;
    text-align: left;
    color: rgba(255, 255, 255, .5);
    font-weight: normal;
    text-decoration: none;
    transition: .3s;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: rgba(255, 255, 255, .5);
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    color: var(--warning);
    letter-spacing: 1px;
    box-shadow: none;
}

.footer .btn.btn-link:hover::before {
    color: var(--warning);
}

/* Disabled old footer copyright styles
.footer .copyright {
    padding: 25px 0;
    font-size: 15px;
    border-top: 1px solid rgba(256, 256, 256, .1);
}
*/

.footer .copyright a {
    color: var(--warning);
}

.footer .copyright a:hover {
    color: #fff;
}

/* Form Controls */
.form-control:focus {
    border-color: var(--warning);
    box-shadow: 0 0 0 0.2rem rgba(243, 156, 18, 0.25);
}

/* Animations */
@keyframes slideInDown {
    from {
        transform: translate3d(0, -100%, 0);
        visibility: visible;
    }
    to {
        transform: translate3d(0, 0, 0);
    }
}

@keyframes slideInLeft {
    from {
        transform: translate3d(-100%, 0, 0);
        visibility: visible;
    }
    to {
        transform: translate3d(0, 0, 0);
    }
}

@keyframes slideInRight {
    from {
        transform: translate3d(100%, 0, 0);
        visibility: visible;
    }
    to {
        transform: translate3d(0, 0, 0);
    }
}

.animated {
    animation-duration: 1s;
    animation-fill-mode: both;
}

.slideInDown {
    animation-name: slideInDown;
}

.slideInLeft {
    animation-name: slideInLeft;
}

.slideInRight {
    animation-name: slideInRight;
}

/* Responsive Design */
@media (max-width: 768px) {
    .page-header {
        padding-top: 8rem;
    }

    .display-1 {
        font-size: 1.5rem;
    }

    .display-4 {
        font-size: 2rem;
    }

    .img-twice::before {
        display: none;
    }
}

/* Contact Map */
iframe {
    border: none;
    width: 100%;
    height: 450px;
    margin-top: 30px;
}

/* Breadcrumb */
.breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, .5);
}

.breadcrumb-item.active {
    color: var(--warning);
}

/* Hover Effects */
.product-item img {
    transition: transform 0.3s ease;
}

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

.product-item .position-relative {
    overflow: hidden !important;
    position: relative !important;
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

.product-item .position-relative img {
    width: 100% !important;
    height: auto !important;
    display: block !important;
    transition: transform 0.3s ease !important;
    min-height: 200px !important;
    object-fit: cover !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--warning);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #e67e22;
}

/* Loading Animation */
.spinner-grow {
    color: var(--warning) !important;
}

/* Social Icons */
.btn-outline-light:hover {
    background-color: var(--warning);
    border-color: var(--warning);
}

/* Testimonial Carousel (if needed later) */
.testimonial-carousel .owl-nav {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    margin: 0 5px;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: var(--warning);
    border-radius: 45px;
    font-size: 18px;
    transition: .5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    background: #e67e22;
}

/* Custom shadows */
.shadow-lg {
    box-shadow: 0 1rem 3rem rgba(243, 156, 18, .175) !important;
}

/* Certification Card Styling */
.certification-card {
    transition: all 0.3s ease;
    border: 1px solid rgba(243, 156, 18, 0.1);
    height: 100%;
}

.certification-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(243, 156, 18, 0.2);
    border-color: rgba(243, 156, 18, 0.3);
}

.certification-card img {
    transition: transform 0.3s ease;
    cursor: pointer;
}

.certification-card:hover img {
    transform: scale(1.05);
}

/* Carbon Isotope Test Section */
.carbon-test-content {
    padding: 20px 0;
}

/* Mobile Carbon Test Section */
@media (max-width: 767px) {
    .carbon-test-content {
        padding: 15px 1rem;
    }
    
    .carbon-test-content h2 {
        font-size: 1.5rem !important;
        line-height: 1.4 !important;
        word-break: keep-all;
        padding: 0 0.5rem;
        margin-bottom: 2rem !important;
    }
    
    .carbon-test-content p {
        font-size: 1rem;
        line-height: 1.6;
        word-break: keep-all;
        padding: 0 0.5rem;
    }
    
    .carbon-test-highlight h3 {
        font-size: 1.3rem !important;
        margin-bottom: 1rem !important;
        word-break: keep-all;
    }
    
    .carbon-percentage .display-2 {
        font-size: 2.5rem !important;
    }
    
    .test-result-card h6 {
        font-size: 0.9rem;
        word-break: keep-all;
    }
    
    .test-result-card span {
        font-size: 0.85rem;
    }
}

.carbon-test-highlight {
    background: linear-gradient(135deg, #f39c12 0%, #e67e22 100%) !important;
    border: none;
    position: relative;
    overflow: hidden;
}

.carbon-test-highlight::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

.carbon-percentage {
    margin: 15px 0;
}

.test-result-card {
    transition: all 0.3s ease;
    border: 1px solid rgba(243, 156, 18, 0.2);
}

.test-result-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(243, 156, 18, 0.2);
}

.carbon-test-image img {
    transition: transform 0.3s ease;
    max-height: 400px;
    object-fit: contain;
}

.carbon-test-image:hover img {
    transform: scale(1.02);
}

/* Product Section Optimization */
.product-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.product-item {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid rgba(243, 156, 18, 0.1);
    margin-bottom: 35px;
    background: #ffffff;
    border-radius: 12px;
}

.product-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border-color: rgba(243, 156, 18, 0.3);
}

.product-item .text-center {
    padding: 30px 25px !important;
    min-height: 280px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.product-item h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 15px;
}

.product-item span {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #6c757d;
    text-align: left;
}

.product-item .d-inline-block {
    font-size: 0.85rem;
    font-weight: 500;
    padding: 6px 16px !important;
    border: 2px solid var(--warning) !important;
    background: rgba(243, 156, 18, 0.1);
    color: var(--warning);
    transition: all 0.3s ease;
}

.product-item:hover .d-inline-block {
    background: var(--warning);
    color: #fff;
}

.product-overlay {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: rgba(243, 156, 18, 0.85) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    opacity: 0 !important;
    transition: all 0.3s ease !important;
    z-index: 10 !important;
    border-radius: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

.product-item:hover .product-overlay {
    opacity: 1 !important;
}

.product-overlay .btn {
    transform: scale(0.8);
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid #fff;
}

.product-item:hover .product-overlay .btn {
    transform: scale(1);
    background: #fff;
}

.product-overlay .btn:hover {
    background: var(--warning) !important;
    border-color: var(--warning) !important;
}

.product-overlay .btn:hover i {
    color: #fff !important;
}

/* Product grid improvements */
.product-row-1 {
    margin-bottom: 50px;
}

.product-row-2 {
    margin-top: 20px;
}

/* Product page optimizations */
.bg-warning h1.display-4 {
    font-size: 2rem;
}

/* Responsive product layout */
@media (min-width: 992px) and (max-width: 1199px) {
    .product-row-1 {
        margin-bottom: 45px;
    }

    .product-row-2 {
        margin-top: 25px;
    }
}

/* Desktop product layout - same as other pages */
@media (min-width: 1200px) {
    /* Remove custom product styling to match about.html and index.html */
}

/* Tablet layout - use default Bootstrap behavior */
@media (min-width: 768px) and (max-width: 1199px) {
    /* Use default Bootstrap grid behavior */
}

@media (max-width: 767px) {
    .product-row-1, .product-row-2 {
        display: block !important;
        margin: 0 !important;
    }
    
    .product-row-1 .col-lg-4, 
    .product-row-2 .col-lg-4 {
        flex: none !important;
        max-width: 100% !important;
        margin-bottom: 2rem;
        padding: 0 15px;
    }

    .product-item .text-center {
        min-height: 200px;
        padding: 20px 15px !important;
    }

    .product-item h3 {
        font-size: 1.2rem;
        word-break: keep-all;
        line-height: 1.4;
    }

    .product-item span {
        font-size: 0.9rem;
        line-height: 1.5;
        word-break: keep-all;
        text-align: left;
    }
    
    .text-center.mx-auto.mb-5 {
        margin-bottom: 3rem !important;
        padding: 0 1rem;
    }
    
    .text-center.mx-auto.mb-5 h1 {
        font-size: 1.8rem !important;
        word-break: keep-all;
        line-height: 1.4;
    }
    
    .text-center.mx-auto.mb-5 p {
        font-size: 1rem !important;
        word-break: keep-all;
        line-height: 1.6;
        padding: 0 0.5rem;
    }
}

/* Utility classes */
.text-honey,
.text-warning {
    color: var(--warning) !important;
}

.bg-honey,
.bg-warning {
    background-color: var(--warning) !important;
}

.border-honey {
    border-color: var(--warning) !important;
}

/* Honey bottle image optimizations */
img[src*="mneco.jpg"] {
    height: 400px;
    width: auto;
    object-fit: cover;
    object-position: center;
}

@media (max-width: 768px) {
    img[src*="mneco.jpg"] {
        height: 300px;
    }
}

@media (min-width: 992px) {
    img[src*="mneco.jpg"] {
        height: 250px;
    }
}

/* Display title responsive design */
.display-1 {
    font-size: 3rem;
    font-weight: 600;
    line-height: 1.2;
    width: 100%;
    margin-left: 0;
    white-space: nowrap;
}

@media (min-width: 768px) {
    .display-1 {
        font-size: 2.2rem;
    }
}

@media (min-width: 992px) {
    .display-1 {
        font-size: 2.8rem;
    }
}

@media (min-width: 1200px) {
    .display-1 {
        font-size: 3.2rem;
    }
}

@media (max-width: 767px) {
    .display-1 {
        white-space: normal;
        font-size: 1.6rem;
        line-height: 1.3;
        word-break: keep-all;
        overflow-wrap: break-word;
        padding: 0 1rem;
        text-align: center;
    }
    
    .fs-4 {
        font-size: 1.1rem !important;
        line-height: 1.6 !important;
        word-break: keep-all;
        overflow-wrap: break-word;
        padding: 0 0.5rem;
    }
    
    .custom-paragraph {
        font-size: 1rem !important;
        line-height: 1.7 !important;
        padding: 0 1rem !important;
        margin-bottom: 2rem !important;
        word-break: keep-all;
        text-align: center;
    }
    
    .custom-paragraph br {
        display: none;
    }

    .carousel-img {
        height: 70vh;
        max-height: 500px;
    }

    .carousel-section {
        margin-bottom: 2rem;
    }

    .carousel-control-prev-icon,
    .carousel-control-next-icon {
        width: 2rem;
        height: 2rem;
    }

    .container-xxl.py-6 {
        padding-top: 2rem !important;
        padding-bottom: 3rem !important;
    }
    
    /* Mobile text content optimization */
    .carousel-text-container {
        padding-top: 60px !important;
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .carousel-text-overlay .container {
        padding: 0 !important;
    }
    
    .col-lg-10 {
        padding: 0 0.5rem;
    }
}

/* About section styling */
.about-section-new {
    padding: 100px 0 80px 0;
    background: #f8f9fa;
    margin-top: 0;
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.about-text-section {
    text-align: center;
    max-width: 1400px;
    margin: 0 auto;
}

.about-subtitle {
    color: var(--warning);
    font-weight: 500;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.about-title {
    font-size: 2.5rem;
    color: #212529;
    margin-bottom: 2rem;
    font-family: 'Playfair Display', serif;
}

.about-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #6c757d;
    margin-bottom: 0;
}

/* Honey Benefits Section Styling */
.honey-benefits-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%) !important;
    border: 1px solid rgba(243, 156, 18, 0.1);
}

.honey-benefit-card {
    transition: all 0.3s ease;
    border: 1px solid rgba(243, 156, 18, 0.1);
    position: relative;
    overflow: hidden;
}

.honey-benefit-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(243, 156, 18, 0.15);
    border-color: rgba(243, 156, 18, 0.3);
}

.honey-benefit-card:hover .benefit-icon i {
    transform: scale(1.1);
    color: #e67e22 !important;
}

.benefit-icon i {
    transition: all 0.3s ease;
}

.honey-benefit-card h4 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    color: #2c3e50;
}

.honey-benefit-card p {
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Desktop honey benefits - use default Bootstrap behavior */
@media (min-width: 1200px) {
    /* Remove custom honey benefits styling to match Bootstrap defaults */
}

/* Medium screens honey benefits */
@media (min-width: 768px) and (max-width: 1199px) {
    .honey-benefits-section .row {
        justify-content: center !important;
    }
    
    .honey-benefits-section .col-lg-4 {
        flex: 0 0 calc(50% - 1rem) !important;
        max-width: calc(50% - 1rem) !important;
    }
}

/* Modern Footer Styles - Override existing styles */
.footer {
    margin-top: 6rem !important;
    margin-bottom: 0 !important;
}

.footer a:hover {
    color: #f39c12 !important;
    transition: color 0.3s ease;
}

/* Override existing footer copyright styles */
.footer .copyright {
    padding: 0 !important;
    font-size: 14px !important;
    border-top: none !important;
    background: transparent !important;
}

/* Ensure footer content visibility */
.footer .container {
    position: relative !important;
    z-index: 10 !important;
}

.footer hr {
    border-color: rgba(255, 255, 255, 0.2) !important;
    margin: 1rem 0 !important;
}

/* Footer bottom section visibility fix */
.footer .row {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.footer .text-muted {
    color: #6c757d !important;
    font-size: 14px !important;
}

/* Contact Section Equal Height */
.contact-info-section,
.contact-form-section {
    min-height: 480px;
}

.contact-info-section {
    display: flex;
    flex-direction: column;
}

.contact-form-section {
    display: flex;
    flex-direction: column;
}

.contact-form-section form {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.contact-details {
    flex-grow: 1;
}

.contact-spacer {
    height: 40px;
    flex-shrink: 0;
}

/* Form field spacing adjustments */
.form-fields .form-floating {
    margin-bottom: 0.75rem;
}

.form-fields .row {
    margin-bottom: 0 !important;
    margin-top: 0 !important;
}

/* Contact form layout - precise control */
.contact-form-container {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.form-fields {
    margin-bottom: 0;
}

.button-container {
    text-align: center;
    margin-top: 0.5rem !important;
    margin-bottom: 0;
    padding: 0;
    border: none !important;
}

.button-container .btn {
    margin: 0 !important;
    margin-top: 0 !important;
}

/* Mobile footer responsiveness */
@media (max-width: 768px) {
    .footer .col-md-3,
    .footer .col-md-6 {
        text-align: center !important;
        margin-bottom: 1rem;
    }
    
    .footer .col-md-3:last-child {
        text-align: center !important;
    }
    
    .footer .d-flex {
        flex-direction: column !important;
        gap: 0.5rem;
    }
    
    .footer .me-4 {
        margin-right: 0 !important;
    }
    
    /* Contact section mobile adjustments */
    .contact-info-section,
    .contact-form-section {
        min-height: auto;
    }
    
    .contact-spacer {
        display: none;
    }
    
    .col-lg-6 {
        margin-bottom: 2rem;
    }
    
    .button-container {
        margin-top: 0.5rem !important;
    }
    
    /* General mobile text optimization */
    h1, h2, h3, h4, h5, h6 {
        word-break: keep-all;
        overflow-wrap: break-word;
        line-height: 1.4;
    }
    
    p, span, div:not(.btn):not(.navbar):not(.carousel) {
        word-break: keep-all;
        overflow-wrap: break-word;
        line-height: 1.6;
    }
    
    /* Mobile container padding */
    .container, .container-fluid {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .container-xxl {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    /* Mobile navbar text */
    .navbar-brand h1 {
        font-size: 1.5rem !important;
    }
    
    .navbar-nav .nav-link {
        font-size: 1rem !important;
        word-break: keep-all;
    }
}

/* Mobile honey benefits */
@media (max-width: 767px) {
    .honey-benefits-section {
        padding: 3rem 1rem !important;
    }
    
    .honey-benefit-card {
        margin-bottom: 2rem;
        padding: 2rem 1.5rem !important;
    }
    
    .benefit-icon i {
        font-size: 2.5rem !important;
    }
    
    .honey-benefit-card h4 {
        font-size: 1.25rem;
    }
}

/* Quality Commitment Section - Test Results Mobile Optimization */
@media (max-width: 767px) {
    /* 모바일에서 2개씩 정렬 및 스타일 최적화 */
    .bg-warning .row .col-6 {
        padding: 0 0.5rem !important;
        margin-bottom: 2rem !important;
    }
    
    .bg-warning .col-6 .d-flex {
        padding: 1rem 0.5rem;
        text-align: center;
    }
    
    .bg-warning .col-6 i {
        font-size: 2rem !important;
        margin-bottom: 1rem !important;
    }
    
    .bg-warning .col-6 h5 {
        font-size: 0.85rem !important;
        margin-bottom: 0.5rem !important;
        line-height: 1.3 !important;
        word-break: keep-all;
    }
    
    .bg-warning .col-6 p {
        font-size: 0.8rem !important;
        margin-bottom: 0 !important;
    }
}

/* Quality Commitment Section - General Mobile Optimizations */
@media (max-width: 767px) {
    .bg-warning {
        padding: 2rem 1rem !important;
    }
    
    .bg-warning .display-6 {
        font-size: 1.5rem !important;
        line-height: 1.4 !important;
        word-break: keep-all;
        margin-bottom: 1.5rem !important;
    }
    
    .bg-warning .fs-5 {
        font-size: 1rem !important;
        line-height: 1.6 !important;
        word-break: keep-all;
        padding: 0 0.5rem;
    }
    
    .bg-warning .fs-5 br {
        display: none;
    }
    
    .certification-card {
        padding: 1.5rem 1rem !important;
    }
    
    .certification-card img {
        max-height: 200px !important;
    }
    
    .certification-card h5 {
        font-size: 1rem !important;
        word-break: keep-all;
    }
}

/* Process Section Styling */
.container-xxl.bg-light.my-6.py-6 {
    margin-top: 80px !important;
    margin-bottom: 100px !important;
    padding-top: 80px !important;
    padding-bottom: 100px !important;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%) !important;
    overflow: visible !important;
    position: relative;
}

/* Process feature items - override default feature-item styles */
.container-xxl.bg-light .feature-item {
    transition: all 0.3s ease;
    border: 1px solid rgba(243, 156, 18, 0.1);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 300px;
    background: #fff !important;
    color: #212529 !important;
}

.container-xxl.bg-light .feature-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(243, 156, 18, 0.15);
    border-color: rgba(243, 156, 18, 0.3);
    background: #fff !important;
}

.container-xxl.bg-light .feature-item:hover * {
    color: #212529 !important;
}

.container-xxl.bg-light .feature-item h5 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    color: var(--warning) !important;
    margin-bottom: 1rem;
}

.container-xxl.bg-light .feature-item:hover h5 {
    color: var(--warning) !important;
}

.container-xxl.bg-light .feature-item p {
    font-size: 1rem;
    line-height: 1.6;
    color: #6c757d !important;
    margin-bottom: 0;
    flex-grow: 1;
}

.container-xxl.bg-light .feature-item:hover p {
    color: #6c757d !important;
}

/* Process section title */
.container-xxl.bg-light .about-title {
    font-size: 2.2rem;
    color: #212529;
    margin-bottom: 3rem;
    font-family: 'Playfair Display', serif;
    font-weight: 600;
}

/* Desktop process adjustments */
@media (min-width: 1200px) {
    .container-xxl.bg-light.my-6.py-6 {
        padding-top: 120px !important;
        padding-bottom: 120px !important;
        margin-bottom: 120px !important;
    }
    
    .container-xxl.bg-light .feature-item {
        min-height: 320px;
    }
    
    .container-xxl.bg-light .feature-item p {
        font-size: 1.1rem;
    }
}

/* Medium screen adjustments */
@media (min-width: 768px) and (max-width: 1199px) {
    .container-xxl.bg-light.my-6.py-6 {
        padding-top: 60px !important;
        padding-bottom: 60px !important;
    }
    
    .container-xxl.bg-light .feature-item {
        min-height: 280px;
    }
}

/* Mobile process adjustments */
@media (max-width: 767px) {
    .container-xxl.bg-light.my-6.py-6 {
        margin-top: 40px !important;
        margin-bottom: 40px !important;
        padding-top: 40px !important;
        padding-bottom: 40px !important;
    }
    
    .container-xxl.bg-light .about-title {
        font-size: 1.6rem;
        margin-bottom: 2rem;
        word-break: keep-all;
        line-height: 1.4;
    }
    
    .container-xxl.bg-light .feature-item {
        min-height: auto;
        margin-bottom: 2rem;
    }
    
    .container-xxl.bg-light .feature-item h5 {
        font-size: 1.2rem;
        word-break: keep-all;
    }
    
    .container-xxl.bg-light .feature-item p {
        font-size: 0.95rem;
        word-break: keep-all;
    }
}