 .custom-text{
     font-size: 18px !important;
 }

 .custom-btn:hover {
    background-color: red !important; /* 🔥 hover 時背景變紅色 */
    color: white !important; /* 🔥 文字變白色 */
    font-size: 1.2rem !important; /* 🔥 hover 時字體變大 */
    transition: 1.3s;
}

.submit-button:disabled {
    background-color: gray !important;
    cursor: not-allowed;
}

#rexido-slide {
    text-align: left !important;
    margin-left: 0 !important;
    padding-left: 0 !important;
}

.owl-carousel .owl-stage-outer {
    text-align: left !important;
}

/* ========================================
   FANCY HEADER STYLES
   ======================================== */

/* Header Container */
.fancy-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    padding: 20px 0;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.fancy-header.scrolled {
    padding: 12px 0;
    background: rgba(20, 20, 20, 0.95);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.fancy-header.scrolled .logo-img {
    transform: scale(0.9);
    transition: transform 0.4s ease;
}

.fancy-header.scrolled .nav-link-fancy {
    transform: scale(0.95);
    transition: all 0.3s ease;
}

.fancy-header.scrolled .bg-shape {
    opacity: 0.15;
    transition: opacity 0.5s ease;
}

/* Animated Background Shapes */
.header-bg-animation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
}

.bg-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.3;
    animation: float 20s infinite ease-in-out;
}

.bg-shape.shape-1 {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    top: -150px;
    left: -100px;
    animation-delay: 0s;
}

.bg-shape.shape-2 {
    width: 250px;
    height: 250px;
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    top: -100px;
    right: 10%;
    animation-delay: 7s;
}

.bg-shape.shape-3 {
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    top: -80px;
    right: 30%;
    animation-delay: 14s;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(30px, -30px) scale(1.1);
    }
    66% {
        transform: translate(-20px, 20px) scale(0.9);
    }
}

/* Logo Styles */
.fancy-logo {
    position: relative;
}

.logo-container {
    position: relative;
    display: inline-block;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.logo-container:hover {
    transform: scale(1.05) rotate(2deg);
}

.logo-img {
    position: relative;
    z-index: 2;
    max-height: 60px;
    width: auto;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.3));
    transition: filter 0.3s ease;
}

.logo-container:hover .logo-img {
    filter: drop-shadow(0 8px 24px rgba(102, 126, 234, 0.6));
}

.logo-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.4) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
}

.logo-container:hover .logo-glow {
    opacity: 1;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.6;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 0.3;
    }
}

/* Navigation Styles */
.fancy-nav {
    position: relative;
}

.modern-nav {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 10px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-item-fancy {
    position: relative;
    list-style: none;
}

.nav-link-fancy {
    position: relative;
    display: inline-block;
    padding: 12px 24px;
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    overflow: hidden;
    transition: all 0.3s ease;
    border-radius: 50px;
}

.nav-text {
    position: relative;
    z-index: 2;
    transition: color 0.3s ease;
}

.nav-hover-effect {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #8b60b7 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
    border-radius: 50px;
}

.nav-link-fancy:hover .nav-hover-effect,
.nav-item-fancy.aktip .nav-link-fancy .nav-hover-effect {
    transform: scaleX(1);
}

.nav-link-fancy:hover {
    color: #ffffff;
    transform: translateY(-2px);
}

.nav-link-fancy::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    transition: width 0.3s ease;
}

.nav-link-fancy:hover::before {
    width: 80%;
}

/* Active Navigation Item */
.nav-item-fancy.aktip .nav-link-fancy {
    color: #ffffff;
    background: rgba(102, 126, 234, 0.2);
}

/* Scroll Progress Bar */
.scroll-progress-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    width: 0%;
    transition: width 0.1s ease;
    box-shadow: 0 0 10px rgba(102, 126, 234, 0.5);
}

/* Mobile Menu Button */
.fancy-burger {
    display: none;
}

.modern-burger {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 10px;
    position: relative;
    z-index: 10001;
    width: 40px;
    height: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
    transition: transform 0.3s ease;
}

.modern-burger:hover {
    transform: scale(1.1);
}

.burger-line {
    width: 30px;
    height: 3px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    border-radius: 3px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
}

.modern-burger.active .burger-line:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.modern-burger.active .burger-line:nth-child(2) {
    opacity: 0;
}

.modern-burger.active .burger-line:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
}

/* Fancy Mobile Menu */
.fancy-mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 320px;
    height: 100vh;
    background: rgba(20, 20, 20, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 80px 40px 40px;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 10000;
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.5);
    overflow-y: auto;
}

.fancy-mobile-menu.active {
    right: 0;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 2px solid rgba(102, 126, 234, 0.3);
}

.menu-title {
    font-size: 28px;
    font-weight: 700;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0;
}

/* Close Button inside mobile menu */
.mobile-close-btn {
    background: transparent;
    border: 2px solid rgba(124, 131, 161, 0.5);
    color: #ffffff;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

 

/* Fix mobile menu top padding to clear navbar height */
 

 

.fancy-mobile-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-nav-item {
    margin-bottom: 8px;
    opacity: 0;
    transform: translateX(30px);
    animation: slideInRight 0.5s forwards;
}

.mobile-nav-item:nth-child(1) { animation-delay: 0.1s; }
.mobile-nav-item:nth-child(2) { animation-delay: 0.2s; }
.mobile-nav-item:nth-child(3) { animation-delay: 0.3s; }
.mobile-nav-item:nth-child(4) { animation-delay: 0.4s; }

@keyframes slideInRight {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.mobile-nav-item a {
    display: block;
    padding: 16px 20px;
    color: #ffffff;
    text-decoration: none;
    font-size: 18px;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.mobile-nav-item a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    transition: left 0.4s ease;
    z-index: -1;
}

.mobile-nav-item a:hover::before {
    left: 0;
}

.mobile-nav-item a:hover {
    transform: translateX(10px);
    color: #ffffff;
}

/* Force hide hamburger on desktop - overrides themes.css 999px breakpoint */
@media (min-width: 992px) {
    .menumobile {
        display: none !important;
    }
    .fancy-burger {
        display: none !important;
    }
}

/* Responsive Styles */
@media (max-width: 991px) {
    .fancy-burger {
        display: block;
    }
    
    .wrap-navigation {
        display: none;
    }
    
    .fancy-header {
        padding: 15px 0;
    }
    
    .logo-img {
        max-height: 45px;
    }
}

@media (max-width: 576px) {
    .fancy-mobile-menu {
        width: 280px;
    }
    
    .bg-shape {
        display: none;
    }
    
    .fancy-header {
        padding: 12px 0;
    }
}