    #contact {
            min-height: 150vh;
            background:
                radial-gradient(ellipse at 20% 10%, rgba(156, 10, 10, 0.15) 0%, transparent 40%),
                radial-gradient(ellipse at 80% 90%, rgba(201, 164, 103, 0.1) 0%, transparent 40%),
                linear-gradient(to bottom, #0f0805 0%, var(--sacred-black) 100%);
            display: flex;
            align-items: center;
            justify-content: center;
            position: relative;
            overflow: hidden;
            padding: 2em;
        }


             .contact-content {
            max-width: 1100px;
            width: 100%;
            text-align: center;
            z-index: 10;
            position: relative;
            padding: 4em 2em;
        }



        .contact-grid {
            display: grid;
            grid-template-columns: 1fr 1.2fr;
            gap: 0.5em;
            align-items: start;
        }

        .contact-info {
            position: relative;
            overflow: hidden;
        }

        .contact-info::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 4px;
            background: linear-gradient(90deg, var(--deep-red), var(--temple-gold));
        }

        .contact-form-container {
            position: relative;
            padding-left: 2.5em;
            padding-right: 2.5em;
            overflow: hidden;
        }

        .contact-form-container::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 4px;
            background: linear-gradient(90deg, var(--temple-gold), var(--deep-red));
        }

        .form-title {
            font-size: 1.8rem;
            color: var(--temple-gold);
            margin-bottom: 1.5em;
            text-align: center;
            position: relative;
            font-weight: 500;
        }

        .form-title::after {
            content: '';
            position: absolute;
            bottom: -8px;
            left: 50%;
            transform: translateX(-50%);
            width: 80px;
            height: 2px;
            background: var(--deep-red);
        }

        .contact-form {
            display: flex;
            flex-direction: column;
            gap: 1.8em;
        }

        .form-group {
            position: relative;
        }

        .form-input {
            width: 100%;
            padding: 15px 20px;
            background: rgba(245, 238, 215, 0.05);
            border: 1px solid rgba(200, 168, 107, 0.3);
            border-radius: 4px;
            color: var(--aged-paper);
            font-size: 1rem;
            transition: all 0.4s ease;
        }

        .form-input:focus {
            outline: none;
            border-color: var(--temple-gold);
            box-shadow: 0 0 12px rgba(200, 168, 107, 0.4);
            background: rgba(245, 238, 215, 0.08);
        }

        .form-label {
            position: absolute;
            top: 15px;
            left: 20px;
            color: rgba(245, 238, 215, 0.7);
            font-size: 1rem;
            pointer-events: none;
            transition: all 0.4s ease;
        }

        .form-input:focus + .form-label,
        .form-input:not(:placeholder-shown) + .form-label {
            top: -12px;
            left: 10px;
            font-size: 0.8rem;
            color: var(--temple-gold);
            background: var(--sacred-black);
            padding: 0 8px;
            font-weight: 500;
        }

        textarea.form-input {
            min-height: 150px;
            resize: vertical;
        }

        .submit-btn {
            padding: 15px 40px;
            background: transparent;
            border: 2px solid var(--temple-gold);
            color: var(--temple-gold);
            font-size: 1.1rem;
            cursor: pointer;
            transition: all 0.4s ease;
            position: relative;
            overflow: hidden;
            margin-top: 1em;
            letter-spacing: 1px;
            font-weight: 500;
            text-transform: uppercase;
        }

        .submit-btn::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(200, 168, 107, 0.3), transparent);
            transition: left 0.6s;
        }

        .submit-btn:hover::before {
            left: 100%;
        }

        .submit-btn:hover {
            background: rgba(200, 168, 107, 0.1);
            box-shadow: 0 0 20px rgba(200, 168, 107, 0.4);
            letter-spacing: 2px;
        }

        .contact-info-title {
            font-size: 1.8rem;
            color: var(--temple-gold);
            margin-bottom: 1.5em;
            text-align: center;
            position: relative;
            font-weight: 500;
        }

        .contact-info-title::after {
            content: '';
            position: absolute;
            bottom: -8px;
            left: 50%;
            transform: translateX(-50%);
            width: 80px;
            height: 2px;
            background: var(--deep-red);
        }

        .contact-details {
            list-style: none;
            margin-bottom: 2.5em;
        }

        .contact-details li {
            margin-bottom: 1.5em;
            display: flex;
            align-items: center;
            color: var(--aged-paper);
            padding: 10px 0;
            border-bottom: 1px solid rgba(200, 168, 107, 0.1);
        }

        .contact-icon {
            margin-right: 15px;
            color: var(--temple-gold);
            font-size: 1.3rem;
            width: 30px;
            text-align: center;
        }

        .contact-text {
            flex: 1;
        }

        .contact-text h4 {
            color: var(--temple-gold);
            margin-bottom: 5px;
            font-weight: 500;
        }

        .contact-text p {
            color: var(--aged-paper);
            font-size: 0.95rem;
        }

.contact-icon-compact i {
  font-size: 1.5em;
  color: currentColor;
}

.contact-method-compact {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.contact-icon-compact {
  min-width: 24px;
}

        .form-decoration {
            position: absolute;
            width: 120px;
            height: 120px;
            opacity: 0.05;
            pointer-events: none;
            z-index: -1;
        }

        .decoration-1 {
            top: 5%;
            left: 5%;
            background: radial-gradient(circle, var(--temple-gold) 0%, transparent 70%);
        }

        .decoration-2 {
            bottom: 5%;
            right: 5%;
            background: radial-gradient(circle, var(--deep-red) 0%, transparent 70%);
        }

        .kungfu-symbol {
            position: absolute;
            font-size: 8rem;
            opacity: 0.03;
            z-index: -1;
            color: var(--temple-gold);
        }

        .symbol-1 {
            top: 10%;
            right: 5%;
            transform: rotate(15deg);
        }

        .symbol-2 {
            bottom: 10%;
            left: 5%;
            transform: rotate(-15deg);
        }

        /* Animation for form elements */
        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(20px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .form-group {
            animation: fadeInUp 0.6s ease forwards;
            opacity: 0;
        }

        .form-group:nth-child(1) { animation-delay: 0.1s; }
        .form-group:nth-child(2) { animation-delay: 0.2s; }
        .form-group:nth-child(3) { animation-delay: 0.3s; }
        .form-group:nth-child(4) { animation-delay: 0.4s; }
        .submit-btn { animation: fadeInUp 0.6s ease 0.5s forwards; opacity: 0; }

        /* Responsive Design */
        @media (max-width: 1024px) {
            .contact-grid {
                grid-template-columns: 1fr;
                gap: 3em;
            }

            .chinese-title {
                font-size: 2.5rem;
            }

            .english-title {
                font-size: 1.8rem;
            }            .english-title-middle {
                font-size: 1.8rem;
            }
        }

        @media (max-width: 768px) {
            #contact {
                padding: 0;
            }

            .contact-content {
                padding: 2em 1em;
            }

            .chinese-title {
                font-size: 2rem;
            }

            .english-title {
                font-size: 1.5rem;
            }            .english-title-middle {
                font-size: 1.5rem;
            }

            .contact-info, .contact-form-container {
                padding: 1.5em;
            }
        }

        @media (max-width: 480px) {
            .chinese-title {
                font-size: 1.8rem;
            }

            .english-title {
                font-size: 1.5rem;
            }            .english-title-middle {
                font-size: 1.5rem;
            }

            .form-title, .contact-info-title {
                font-size: 1.5rem;
            }
        }

        /* Dragon animation */
        .dragon-path {
            position: absolute;
            width: 100%;
            height: 100%;
            top: 0;
            left: 0;
            pointer-events: none;
            z-index: -1;
            opacity: 0.1;
        }

        .dragon {
            position: absolute;
            width: 80px;
            height: 80px;
            background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><path fill="%23C8A86B" d="M50,10 C70,30 80,50 70,70 C60,90 40,90 30,70 C20,50 30,30 50,10 Z"/></svg>') no-repeat center;
            animation: dragonMove 20s linear infinite;
        }

        @keyframes dragonMove {
            0% { transform: translateX(-100px) translateY(100px) rotate(0deg); }
            25% { transform: translateX(calc(100vw - 200px)) translateY(50px) rotate(90deg); }
            50% { transform: translateX(calc(100vw - 200px)) translateY(calc(100vh - 200px)) rotate(180deg); }
            75% { transform: translateX(-100px) translateY(calc(100vh - 200px)) rotate(270deg); }
            100% { transform: translateX(-100px) translateY(100px) rotate(360deg); }
        }
        /* Chi energy particles */
        .chi-energy {
            position: absolute;
            width: 100%;
            height: 100%;
            top: 0;
            left: 0;
            pointer-events: none;
            z-index: -1;
        }

        .chi-particle {
            position: absolute;
            width: 4px;
            height: 4px;
            background: var(--chi-energy);
            border-radius: 50%;
            opacity: 0;
            animation: chiFlow 8s linear infinite;
        }

        @keyframes chiFlow {
            0% {
                transform: translateY(100vh) translateX(0);
                opacity: 0;
            }
            10% {
                opacity: 0.7;
            }
            90% {
                opacity: 0.7;
            }
            100% {
                transform: translateY(-100px) translateX(20px);
                opacity: 0;
            }
        }
.contact-intro {
  color: var(--aged-paper);
  font-size: 1rem;
  line-height: 1.5;
  text-align: center;
  max-width: 500px;
  margin: 0 auto 1.5em auto;
}



.follow-us {
  text-align: center;
  margin-top: 2em;
}
.contact-details {
  margin-top: 2rem;
}

.contact-details .contact-item {
  display: flex;
  align-items: center;
  margin-bottom: 0.75rem;
  font-size: 1rem;
}

.contact-details i {
  margin-right: 10px;
  color: #a00; /* adjust color for your palette */
  min-width: 20px;
}

.contact-details a {
  color: inherit;
  text-decoration: none;
}

.contact-details a:hover {
  text-decoration: underline;
}
.contact-methods-compact {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem 3rem;
    margin-top: 2.5rem;
}

.contact-method-compact {
    display: flex;
    flex-direction: column; /* stack icon, title, and description vertically */
    align-items: center;    /* center horizontally */
    text-align: center;     /* center text */
    gap: 0.5rem;            /* spacing between icon, title, and text */
    transition: transform 0.3s ease, color 0.3s ease;
}

.contact-method-compact:hover {
    transform: translateY(-5px); /* subtle upward hover effect */
}

.contact-icon-compact {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #c8a951;
    font-size: 1.3rem;
    flex-shrink: 0;
    position: relative;
    margin-bottom: 0.5rem;
}

.contact-icon-compact img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.contact-icon-compact::after {
    content: "";
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 14px;
    height: 2px;
    background: #c8a951;
    opacity: 0;
    transition: opacity 0.3s ease, width 0.3s ease;
}

.contact-method-compact:hover .contact-icon-compact::after {
    opacity: 1;
    width: 24px;
}

.contact-details-compact h4 {
    font-family: 'Cinzel', serif;
    font-size: 1rem;
    color: #c8a951;
    margin-bottom: 0.3rem;
}

.contact-details-compact p,
.contact-details-compact a {
    color: #d6cfb6;
    text-decoration: none;
    font-size: 0.9rem;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.contact-details-compact a:hover {
    color: #c8a951;
}

/* Responsive */
@media (max-width: 768px) {
    .contact-methods-compact {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}
