/* Hero Section */
.hero-section {
    position: relative;
    height: auto;
    min-height: 700px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--text-light);
    overflow: visible;
    padding-top: 40px;
    padding-bottom: 60px;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgb(21 16 79 / 55%);
    z-index: 1;
}

/* Twinkling Stars Effect */
.twinkling-stars {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    overflow: hidden;
    pointer-events: none;
}

.star {
    position: absolute;
    background-color: white;
    border-radius: 50%;
    opacity: 0;
    z-index: 2;
    box-shadow: 0 0 8px 2px rgba(255, 255, 255, 0.8);
    animation: twinkle 4s infinite;
}

@keyframes twinkle {
    0% {
        opacity: 0;
        transform: scale(0.3);
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
    }
    50% {
        opacity: 0.8;
        transform: scale(1);
        box-shadow: 0 0 10px 4px rgba(255, 255, 255, 0.9), 0 0 20px 8px rgba(179, 136, 255, 0.4);
    }
    100% {
        opacity: 0;
        transform: scale(0.3);
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
    }
}

/* Generate stars with different sizes and positions */
.star:nth-child(1) { top: 10%; left: 10%; width: 2px; height: 2px; animation-delay: 0s; }
.star:nth-child(2) { top: 20%; left: 20%; width: 3px; height: 3px; animation-delay: 0.5s; }
.star:nth-child(3) { top: 15%; left: 30%; width: 2px; height: 2px; animation-delay: 1s; }
.star:nth-child(4) { top: 25%; left: 40%; width: 1px; height: 1px; animation-delay: 1.5s; }
.star:nth-child(5) { top: 30%; left: 50%; width: 2px; height: 2px; animation-delay: 2s; }
.star:nth-child(6) { top: 35%; left: 60%; width: 3px; height: 3px; animation-delay: 2.5s; }
.star:nth-child(7) { top: 40%; left: 70%; width: 2px; height: 2px; animation-delay: 3s; }
.star:nth-child(8) { top: 45%; left: 80%; width: 1px; height: 1px; animation-delay: 3.5s; }
.star:nth-child(9) { top: 50%; left: 90%; width: 2px; height: 2px; animation-delay: 4s; }
.star:nth-child(10) { top: 55%; left: 15%; width: 3px; height: 3px; animation-delay: 4.5s; }
.star:nth-child(11) { top: 60%; left: 25%; width: 2px; height: 2px; animation-delay: 5s; }
.star:nth-child(12) { top: 65%; left: 35%; width: 1px; height: 1px; animation-delay: 5.5s; }
.star:nth-child(13) { top: 70%; left: 45%; width: 2px; height: 2px; animation-delay: 6s; }
.star:nth-child(14) { top: 75%; left: 55%; width: 3px; height: 3px; animation-delay: 6.5s; }
.star:nth-child(15) { top: 80%; left: 65%; width: 2px; height: 2px; animation-delay: 7s; }
.star:nth-child(16) { top: 85%; left: 75%; width: 1px; height: 1px; animation-delay: 7.5s; }
.star:nth-child(17) { top: 90%; left: 85%; width: 2px; height: 2px; animation-delay: 8s; }
.star:nth-child(18) { top: 95%; left: 95%; width: 3px; height: 3px; animation-delay: 8.5s; }
.star:nth-child(19) { top: 5%; left: 92%; width: 2px; height: 2px; animation-delay: 9s; }
.star:nth-child(20) { top: 8%; left: 85%; width: 1px; height: 1px; animation-delay: 9.5s; }
.star:nth-child(21) { top: 12%; left: 70%; width: 4px; height: 4px; animation-delay: 0.2s; }
.star:nth-child(22) { top: 18%; left: 60%; width: 3px; height: 3px; animation-delay: 0.7s; }
.star:nth-child(23) { top: 22%; left: 50%; width: 2px; height: 2px; animation-delay: 1.2s; }
.star:nth-child(24) { top: 28%; left: 40%; width: 3px; height: 3px; animation-delay: 1.7s; }
.star:nth-child(25) { top: 32%; left: 30%; width: 2px; height: 2px; animation-delay: 2.2s; }
.star:nth-child(26) { top: 38%; left: 20%; width: 3px; height: 3px; animation-delay: 2.7s; }
.star:nth-child(27) { top: 42%; left: 10%; width: 4px; height: 4px; animation-delay: 3.2s; }
.star:nth-child(28) { top: 48%; left: 5%; width: 2px; height: 2px; animation-delay: 3.7s; }
.star:nth-child(29) { top: 52%; left: 12%; width: 3px; height: 3px; animation-delay: 4.2s; }
.star:nth-child(30) { top: 58%; left: 22%; width: 2px; height: 2px; animation-delay: 4.7s; }
.star:nth-child(31) { top: 62%; left: 32%; width: 1px; height: 1px; animation-delay: 5.2s; }
.star:nth-child(32) { top: 68%; left: 42%; width: 3px; height: 3px; animation-delay: 5.7s; }
.star:nth-child(33) { top: 72%; left: 52%; width: 2px; height: 2px; animation-delay: 6.2s; }
.star:nth-child(34) { top: 78%; left: 62%; width: 3px; height: 3px; animation-delay: 6.7s; }
.star:nth-child(35) { top: 82%; left: 72%; width: 2px; height: 2px; animation-delay: 7.2s; }
.star:nth-child(36) { top: 88%; left: 82%; width: 4px; height: 4px; animation-delay: 7.7s; }
.star:nth-child(37) { top: 92%; left: 92%; width: 3px; height: 3px; animation-delay: 8.2s; }
.star:nth-child(38) { top: 3%; left: 28%; width: 2px; height: 2px; animation-delay: 8.7s; }
.star:nth-child(39) { top: 7%; left: 38%; width: 3px; height: 3px; animation-delay: 9.2s; }
.star:nth-child(40) { top: 15%; left: 48%; width: 2px; height: 2px; animation-delay: 9.7s; }

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 1200px;
    width: 90%;
    padding: 0 20px;
    padding-bottom: 50px;
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Title animation effects */
.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 10px;
    margin-top: 20px;
    letter-spacing: 2px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    color: white;
    display: inline-block;
    position: relative;
    padding: 5px 0;
}

.hero-content .subtitle {
    font-size: 1.5rem;
    margin-bottom: 20px;
    margin-top: 20px;
    font-family: 'Playfair Display', serif;
    letter-spacing: 1px;
    line-height: 1.5;
}

/* Add specific styles for the Chinese characters subtitle */
.hero-content .chinese-subtitle {
    font-size: 1.8rem;
    margin: 15px 0;
    font-family: 'Playfair Display', serif;
    letter-spacing: 2px;
    color: var(--accent-color);
    text-shadow: 5px 1px 19px rgb(200 60 255);
}

.hero-content .description {
    font-size: 1.2rem;
    margin-bottom: 30px;
    font-weight: 300;
}

/* Floating Numbers Animation */
.floating-numbers {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.number {
    position: absolute;
    display: block;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    color: var(--accent-color);
    text-shadow: 0 0 10px rgba(179, 136, 255, 0.7);
    opacity: 0.8;
    z-index: 1;
    animation: float 15s infinite linear;
}

.number:nth-child(1) {
    font-size: 80px;
    top: 10%;
    left: 15%;
    animation-duration: 25s;
    animation-delay: 0s;
}

.number:nth-child(2) {
    font-size: 100px;
    top: 20%;
    left: 70%;
    animation-duration: 20s;
    animation-delay: 2s;
}

.number:nth-child(3) {
    font-size: 120px;
    top: 60%;
    left: 10%;
    animation-duration: 22s;
    animation-delay: 5s;
}

.number:nth-child(4) {
    font-size: 90px;
    top: 70%;
    left: 80%;
    animation-duration: 18s;
    animation-delay: 1s;
}

.number:nth-child(5) {
    font-size: 110px;
    top: 40%;
    left: 30%;
    animation-duration: 24s;
    animation-delay: 3s;
}

.number:nth-child(6) {
    font-size: 75px;
    top: 35%;
    left: 85%;
    animation-duration: 21s;
    animation-delay: 7s;
}

.number:nth-child(7) {
    font-size: 95px;
    top: 80%;
    left: 40%;
    animation-duration: 19s;
    animation-delay: 4s;
}

.number:nth-child(8) {
    font-size: 85px;
    top: 30%;
    left: 30%;
    animation-duration: 23s;
    animation-delay: 6s;
}

.number:nth-child(9) {
    font-size: 105px;
    top: 55%;
    left: 65%;
    animation-duration: 17s;
    animation-delay: 8s;
}

@keyframes float {
    0% {
        transform: translateY(0) rotate(0deg) scale(1);
        opacity: 0;
    }
    10% {
        opacity: 0.8;
    }
    90% {
        opacity: 0.8;
    }
    100% {
        transform: translateY(-100vh) rotate(360deg) scale(0.5);
        opacity: 0;
    }
}

/* Rotating Icon in Hero Section */
.rotating-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background-image: url('image/icon-background.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    z-index: 1;
    opacity: 0.6;
    animation: rotate 60s linear infinite, pulse-glow 5s ease-in-out infinite;
}

@keyframes rotate {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

/* Add a pulse effect to the rotating icon */
@keyframes pulse-glow {
    0% {
        filter: drop-shadow(0 0 5px rgba(179, 136, 255, 0.2));
        opacity: 0.5;
    }
    50% {
        filter: drop-shadow(0 0 20px rgba(179, 136, 255, 0.7));
        opacity: 0.7;
    }
    100% {
        filter: drop-shadow(0 0 5px rgba(179, 136, 255, 0.2));
        opacity: 0.5;
    }
}

/* Form Container */
.form-container {
    background-color: rgb(15 10 39 / 86%);
    padding: 30px 25px;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
    max-width: 1000px;
    width: 100%;
    margin: 0 auto;
    text-align: left;
    margin-bottom: 30px;
    max-height: none;
    overflow-y: visible;
    overflow-x: hidden;
}

.form-container h2 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    text-align: center;
}

.form-container p {
    margin-bottom: 20px;
    font-size: 0.9rem;
    opacity: 0.8;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-size: 1rem;
    color: var(--text-light);
    font-weight: 400;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 14px 16px;
    background-color: #fff;
    border: none;
    border-radius: 5px;
    color: #333;
    font-size: 1rem;
}

.form-group input::placeholder {
    color: rgba(0, 0, 0, 0.5);
    font-style: italic;
}

.date-inputs {
    display: flex;
    gap: 15px;
}

.date-inputs select {
    flex: 1;
}

.submit-btn {
    display: flex;
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, #9c27b0, #6a11cb);
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.4s ease;
    margin-top: 20px;
    margin-bottom: 10px;
    position: relative;
    z-index: 5;
    box-shadow: 0 4px 15px rgba(106, 17, 203, 0.4);
    justify-content: center;
    align-items: center;
    gap: 10px;
    overflow: hidden;
}

.submit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: all 0.6s ease;
    z-index: -1;
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 7px 20px rgba(106, 17, 203, 0.6);
    background: linear-gradient(135deg, #8e24aa, #5d18a8);
}

.submit-btn:hover::before {
    left: 100%;
    animation: shine 1.5s infinite;
}

.submit-btn:active {
    transform: translateY(1px);
    box-shadow: 0 3px 10px rgba(106, 17, 203, 0.4);
}

.submit-btn i {
    font-size: 1.1rem;
    animation: pulse 1.5s infinite;
}

@keyframes shine {
    0% {
        left: -100%;
    }
    20% {
        left: 100%;
    }
    100% {
        left: 100%;
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

/* Extra container for form to ensure proper spacing */
.form-group:last-of-type {
    margin-bottom: 20px;
}

/* About Section */
.about-section {
    padding: 100px 0;
    background-color: var(--background-light);
}

.about-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: space-between;
    align-items: center;
}

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

.about-text p {
    margin-bottom: 15px;
    font-size: 1.1rem;
    color: #000;
}

.about-text ul {
    margin-top: 20px;
}

.about-text li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    font-size: 16px;
}

.about-text li i {
    color: var(--secondary-color);
    margin-right: 10px;
}

.number-cards {
    flex: 1;
    min-width: 300px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.number-card {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    color: var(--text-light);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.number-card:hover {
    transform: translateY(-5px);
}

.card-number {
    display: block;
    font-size: 3rem;
    font-weight: bold;
    color: var(--accent-color);
    margin-bottom: 10px;
}

.number-card h3 {
    margin-bottom: 5px;
    font-size: 1.3rem;
}

.number-card p {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Services Section */
.services-section {
    padding: 100px 0;
    background: linear-gradient(to bottom, var(--background-dark), #0e001e);
    color: var(--text-light);
    position: relative;
    overflow: hidden;
}

.services-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('image/background-hero.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0.15;
    z-index: 0;
}

.services-section .section-title {
    color: var(--accent-color);
    margin-bottom: 60px;
    position: relative;
    z-index: 1;
    text-shadow: 0 0 15px rgba(179, 136, 255, 0.5);
}

.title-highlight {
    color: #ffffff;
    position: relative;
    padding-right: 15px;
}

.title-highlight::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(to right, var(--accent-color), transparent);
}

.services-section .container {
    position: relative;
    z-index: 1;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-card {
    background: rgba(30, 10, 60, 0.8);
    border: 1px solid rgba(179, 136, 255, 0.3);
    border-radius: 15px;
    padding: 35px 25px;
    text-align: center;
    transition: all 0.4s ease;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 1;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(to right, #9c27b0, #6a11cb);
    z-index: 1;
}

.service-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(to top, rgba(106, 17, 203, 0.2), transparent);
    z-index: -1;
    opacity: 0;
    transition: all 0.4s ease;
}

.service-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 15px 40px rgba(106, 17, 203, 0.4);
    border-color: rgba(179, 136, 255, 0.6);
}

.service-card:hover::after {
    opacity: 1;
}

.service-icon {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--accent-color);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 25px;
    font-size: 2.2rem;
    box-shadow: 0 0 20px rgba(179, 136, 255, 0.5);
    transition: all 0.4s ease;
    position: relative;
    z-index: 2;
}

.service-icon::after {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border-radius: 50%;
    border: 2px solid rgba(179, 136, 255, 0.3);
    animation: pulse-border 2s infinite;
}

@keyframes pulse-border {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(1.3);
        opacity: 0;
    }
}

.service-card:hover .service-icon {
    transform: rotateY(180deg);
    background: linear-gradient(135deg, #8e24aa, #5d18a8);
}

.service-card h3 {
    margin-bottom: 20px;
    font-size: 1.3rem;
    color: var(--accent-color);
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
}

.service-card h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: width 0.3s ease;
}

.service-card:hover h3::after {
    width: 70%;
}

.service-card p {
    margin-bottom: 25px;
    opacity: 0.9;
    font-size: 1.05rem;
    line-height: 1.6;
    color: #e0d2ff;
}

.service-btn {
    display: inline-block;
    padding: 10px 25px;
    background: linear-gradient(135deg, var(--accent-color), #8e24aa);
    color: white;
    border-radius: 30px;
    font-weight: 500;
    transition: all 0.4s ease;
    box-shadow: 0 5px 15px rgba(106, 17, 203, 0.3);
    position: relative;
    overflow: hidden;
    z-index: 2;
    margin-top: auto;
}

.service-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: all 0.4s ease;
    z-index: -1;
}

.service-btn:hover {
    background: linear-gradient(135deg, #9c27b0, #6a11cb);
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(106, 17, 203, 0.5);
}

.service-btn:hover::before {
    left: 100%;
}

/* FAQ Section */
.faq-section {
    padding: 100px 0;
    background-color: var(--background-light);
    position: relative;
}

.faq-section .section-title {
    margin-bottom: 60px;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background-color: white;
    border-radius: 10px;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(122, 31, 162, 0.1);
    overflow: hidden;
    transition: var(--transition);
}

.faq-item:hover {
    box-shadow: 0 8px 25px rgba(122, 31, 162, 0.2);
    transform: translateY(-3px);
}

.faq-question {
    padding: 20px 25px;
    background-color: white;
    color: var(--primary-color);
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    border-bottom: 1px solid transparent;
    transition: var(--transition);
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    font-weight: 300;
    transition: var(--transition);
}

.faq-item.active .faq-question {
    border-bottom-color: rgba(122, 31, 162, 0.1);
}

.faq-item.active .faq-question::after {
    content: '−';
    transform: rotate(180deg);
}

.faq-answer {
    background-color: white;
    padding: 0 25px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 20px 25px;
    max-height: 500px;
}

.faq-answer p {
    color: var(--text-color);
    font-size: 1rem;
    line-height: 1.6;
    opacity: 0.9;
}

/* Footer */
.footer {
    background-color: var(--background-dark);
    color: var(--text-light);
    padding: 70px 0 0;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 50px;
}

.footer-logo {
    flex: 1;
    min-width: 200px;
    max-width: 300px;
}

.footer-logo h2 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    color: var(--accent-color);
}

.footer-logo p {
    opacity: 0.8;
}

.footer-links,
.footer-contact,
.footer-social {
    flex: 1;
    min-width: 200px;
}

.footer h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--accent-color);
}
.footer-links ul{
  padding-left: 0;
}
.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    opacity: 0.8;
    transition: var(--transition);
    color: white;
}

.footer-links ul li a:hover {
    opacity: 1;
    color: var(--accent-color);
    padding-left: 5px;
}

.footer-contact p {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.footer-contact i {
    margin-right: 10px;
    color: var(--accent-color);
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: var(--transition);
}

.social-icons a:hover {
    background-color: var(--accent-color);
    color: var(--background-dark);
    transform: translateY(-5px);
}

.footer-bottom {
    text-align: center;
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    opacity: 0.6;
    font-size: 0.9rem;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(74, 0, 128, 0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.4s ease;
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top i {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.back-to-top:hover {
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    box-shadow: 0 6px 20px rgba(123, 31, 162, 0.7);
}

.back-to-top:hover i {
    transform: translateY(-3px);
}

/* Responsive Styles */
@media (max-width: 992px) {
    .hero-content h1 {
        font-size: 3rem;
    }
    
    .form-container {
        width: 100%;
        max-height: none;
    }
    
    .nav-links li {
        margin: 0 10px;
    }
    
    .rotating-icon {
        width: 250px;
        height: 250px;
    }
}

@media (max-width: 768px) {
    .header {
        height: 70px; /* Smaller header on mobile */
    }
    
    .hero-section {
        height: auto;
        padding: 60px 0;
    }
    
    .hero-content {
        margin-top: 30px;
        width: 100%;
    }
    
    .hero-content h1 {
        font-size: 2.3rem;
    }
    
    .hero-content .subtitle {
        font-size: 1.2rem;
    }
    
    .hero-content .description {
        font-size: 1rem;
    }
    
    .rotating-icon {
        width: 200px;
        height: 200px;
        opacity: 0.5; /* More transparent on mobile */
    }
    
    .form-container {
        padding: 20px 15px;
    }
    
    .form-group label {
        font-size: 0.95rem;
    }
    
    .form-group input,
    .form-group select {
        padding: 12px 14px;
    }
    
    .date-inputs {
        flex-direction: column;
        gap: 15px;
    }
    
    .about-content,
    .footer-content {
        flex-direction: column;
        gap: 30px;
    }
    
    .number-cards {
        margin-top: 30px;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .logo h1 {
        font-size: 1.5rem;
    }
    
    .login-btn {
        padding: 8px 15px;
        font-size: 0.9rem;
    }
    
    .hero-content h1 {
        font-size: 1.6rem;
    }
    
    .form-row {
        flex-direction: column;
        gap: 15px;
    }
    
    .date-inputs,
    .time-inputs {
        flex-wrap: wrap;
    }
    
    .number-cards {
        grid-template-columns: 1fr;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .submit-btn {
        padding: 12px;
        font-size: 1rem;
    }
    
    .rotating-icon {
        width: 150px;
        height: 150px;
    }
} 