:root {
    --primary-color: #316d7e;
    --primary-light: #4a8a9d;
    --primary-dark: #1f4a56;
    --accent-color: #00b0c1;
    --text-dark: #1a3b4c;
    --text-gray: #555;
    --bg-light: #fafafa;
    --bg-white: #ffffff;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.12);
    --success-color: #28a745;
    --error-color: #dc3545;
    --warning-color: #ffc107;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #f5f9fa 0%, #ffffff 100%);
    min-height: 100vh;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

.top-header {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    padding: 1.5rem 7%;
    box-shadow: 0 4px 20px rgba(49, 109, 126, 0.15);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    transition: var(--transition);
}

.logo-link:hover {
    transform: translateX(-5px);
}

.logo {
    height: 50px;
    border-radius: 10px;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.1));
}

.brand-name {
    font-size: 1.6rem;
    font-weight: 700;
    color: white;
    letter-spacing: 1.5px;
}

.back-link {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.7rem 1.5rem;
    background: rgba(255, 255, 255, 0.15);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 500;
    transition: var(--transition);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.back-link:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateX(-5px);
}

.page-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 3rem 7%;
}

.intro-section {
    text-align: center;
    margin-bottom: 4rem;
    animation: fadeInDown 0.8s ease-out;
}

.intro-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 25px rgba(49, 109, 126, 0.3);
}

.intro-icon i {
    font-size: 2rem;
    color: white;
}

.page-title {
    font-size: 3rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.page-subtitle {
    font-size: 1.2rem;
    color: var(--text-gray);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.8;
}

.content-wrapper {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 3rem;
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    animation: fadeInLeft 0.8s ease-out;
}

.info-card {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.info-header {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--bg-light);
}

.info-header i {
    color: var(--primary-color);
    font-size: 1.3rem;
}

.info-header h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-dark);
}

.info-item {
    display: flex;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--bg-light);
}

.info-item:last-child {
    border-bottom: none;
}

.info-item i {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-top: 0.2rem;
    flex-shrink: 0;
}

.info-item strong {
    display: block;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.3rem;
}

.info-item p {
    color: var(--text-gray);
    font-size: 0.95rem;
}

.social-card p {
    color: var(--text-gray);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.social-btn {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.9rem 1.2rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    color: white;
}

.social-btn i {
    font-size: 1.3rem;
}

.social-btn.facebook {
    background: linear-gradient(135deg, #1877f2, #4267B2);
}

.social-btn.facebook:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 15px rgba(24, 119, 242, 0.4);
}

.social-btn.instagram {
    background: linear-gradient(135deg, #e1306c, #fd1d1d, #fcaf45);
}

.social-btn.instagram:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 15px rgba(225, 48, 108, 0.4);
}

.tips-list {
    list-style: none;
    padding: 0;
}

.tips-list li {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.8rem 0;
    color: var(--text-gray);
    font-size: 0.95rem;
}

.tips-list li i {
    color: var(--success-color);
    font-size: 0.9rem;
}

.form-container {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    animation: fadeInRight 0.8s ease-out;
}

.form-header {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid var(--bg-light);
}

.form-header h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.form-header p {
    color: var(--text-gray);
    font-size: 0.95rem;
}

.success-message,
.error-message {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    border-radius: 15px;
    margin-bottom: 2rem;
    animation: slideDown 0.5s ease-out;
    box-shadow: var(--shadow-sm);
}

.success-message {
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
    border-left: 4px solid var(--success-color);
}

.error-message {
    background: linear-gradient(135deg, #f8d7da 0%, #f5c6cb 100%);
    border-left: 4px solid var(--error-color);
}

.message-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.success-message .message-icon {
    color: var(--success-color);
}

.error-message .message-icon {
    color: var(--error-color);
}

.message-content strong {
    display: block;
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
}

.success-message .message-content strong {
    color: #155724;
}

.error-message .message-content strong {
    color: #721c24;
}

.success-message .message-content p {
    color: #155724;
}

.error-message .message-content p {
    color: #721c24;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    margin-bottom: 1.8rem;
    position: relative;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.7rem;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 0.95rem;
}

label i {
    color: var(--primary-color);
    font-size: 1rem;
}

.required {
    color: var(--error-color);
    font-weight: 700;
}

input,
textarea {
    width: 100%;
    padding: 1rem 1.2rem;
    padding-right: 3rem;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
    background: var(--bg-light);
    color: var(--text-dark);
}

input:focus,
textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background: var(--bg-white);
    box-shadow: 0 0 0 4px rgba(49, 109, 126, 0.1);
    transform: translateY(-2px);
}

input::placeholder,
textarea::placeholder {
    color: var(--text-gray);
    opacity: 0.6;
}

textarea {
    resize: vertical;
    min-height: 150px;
    line-height: 1.7;
}

.input-icon {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-gray);
    pointer-events: none;
    opacity: 0.5;
    transition: var(--transition);
}

.form-group:focus-within .input-icon {
    color: var(--primary-color);
    opacity: 1;
}

.char-counter {
    margin-top: 0.5rem;
    text-align: right;
    font-size: 0.85rem;
    color: var(--text-gray);
}

.form-actions {
    margin-top: 2rem;
}

.submit-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 1.2rem 2rem;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(49, 109, 126, 0.3);
    position: relative;
    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.3), transparent);
    transition: left 0.5s;
}

.submit-btn:hover::before {
    left: 100%;
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(49, 109, 126, 0.4);
}

.submit-btn:active {
    transform: translateY(-1px);
}

.submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.submit-btn i {
    transition: transform 0.3s ease;
}

.submit-btn:hover i {
    transform: translateX(5px);
}

.privacy-note {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    padding: 1.2rem;
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    border-left: 4px solid #2196f3;
    border-radius: 12px;
    font-size: 0.9rem;
    color: #0d47a1;
}

.privacy-note i {
    font-size: 1.3rem;
    color: #2196f3;
    flex-shrink: 0;
    margin-top: 0.2rem;
}

.contact-footer {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
    color: white;
    padding: 2rem 7%;
    text-align: center;
    margin-top: 4rem;
}

.contact-footer p {
    margin-bottom: 1rem;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.footer-links a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--accent-color);
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@media screen and (min-width: 1440px) {
    .page-container {
        max-width: 1600px;
    }

    .content-wrapper {
        gap: 3.5rem;
    }

    .contact-info {
        width: 380px;
    }
}

@media screen and (max-width: 1280px) {
    .page-container {
        padding: 2.8rem 6%;
    }

    .content-wrapper {
        grid-template-columns: 340px 1fr;
        gap: 2.5rem;
    }

    .intro-section {
        margin-bottom: 3.5rem;
    }

    .page-title {
        font-size: 2.8rem;
    }

    .page-subtitle {
        font-size: 1.15rem;
    }
}

@media screen and (max-width: 1024px) {
    .top-header {
        padding: 1.3rem 5%;
    }

    .logo {
        height: 48px;
    }

    .brand-name {
        font-size: 1.5rem;
        letter-spacing: 1.2px;
    }

    .back-link {
        padding: 0.65rem 1.3rem;
        font-size: 0.95rem;
    }

    .page-container {
        padding: 2.5rem 5%;
    }

    .intro-section {
        margin-bottom: 3rem;
    }

    .intro-icon {
        width: 75px;
        height: 75px;
        margin-bottom: 1.3rem;
    }

    .intro-icon i {
        font-size: 1.9rem;
    }

    .page-title {
        font-size: 2.6rem;
        margin-bottom: 0.9rem;
    }

    .page-subtitle {
        font-size: 1.15rem;
        max-width: 550px;
    }

    .content-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-info {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.5rem;
    }

    .form-container {
        padding: 2.3rem;
    }

    .form-header h2 {
        font-size: 1.7rem;
    }

    .submit-btn {
        font-size: 1.08rem;
        padding: 1.15rem 1.9rem;
    }

    .contact-footer {
        margin-top: 3.5rem;
        padding: 1.8rem 5%;
    }
}

@media screen and (max-width: 900px) {
    .page-container {
        padding: 2.3rem 5%;
    }

    .intro-section {
        margin-bottom: 2.8rem;
    }

    .page-title {
        font-size: 2.4rem;
    }

    .page-subtitle {
        font-size: 1.1rem;
    }

    .contact-info {
        grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
        gap: 1.3rem;
    }

    .form-container {
        padding: 2.1rem;
    }
}

@media screen and (max-width: 768px) {
    .top-header {
        padding: 1rem 5%;
    }

    .logo {
        height: 45px;
    }

    .brand-name {
        font-size: 1.4rem;
        letter-spacing: 1px;
    }

    .back-link {
        width: 42px;
        height: 42px;
        padding: 0;
        font-size: 0.9rem;
        gap: 0.5rem;
        justify-content: center;
        border-radius: 50%;
    }

    .back-link span {
        display: none;
    }

    .page-container {
        padding: 2rem 5%;
    }

    .intro-section {
        margin-bottom: 2.5rem;
    }

    .intro-icon {
        width: 70px;
        height: 70px;
        margin-bottom: 1.2rem;
    }

    .intro-icon i {
        font-size: 1.8rem;
    }

    .page-title {
        font-size: 2.2rem;
        margin-bottom: 0.8rem;
    }

    .page-subtitle {
        font-size: 1.1rem;
        max-width: 100%;
        line-height: 1.7;
    }

    .content-wrapper {
        gap: 1.8rem;
    }

    .contact-info {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }

    .info-card {
        padding: 1.8rem;
    }

    .info-header {
        margin-bottom: 1.3rem;
        padding-bottom: 0.9rem;
    }

    .info-header i {
        font-size: 1.2rem;
    }

    .info-header h3 {
        font-size: 1.15rem;
    }

    .info-item {
        padding: 0.9rem 0;
    }

    .info-item i {
        font-size: 1.1rem;
    }

    .info-item strong {
        font-size: 0.95rem;
    }

    .info-item p {
        font-size: 0.9rem;
    }

    .social-card p {
        font-size: 0.9rem;
        margin-bottom: 1.3rem;
    }

    .social-btn {
        padding: 0.85rem 1.1rem;
        font-size: 0.95rem;
    }

    .social-btn i {
        font-size: 1.2rem;
    }

    .tips-list li {
        padding: 0.7rem 0;
        font-size: 0.9rem;
    }

    .form-container {
        padding: 2rem;
    }

    .form-header {
        margin-bottom: 1.8rem;
        padding-bottom: 1.3rem;
    }

    .form-header h2 {
        font-size: 1.6rem;
        margin-bottom: 0.4rem;
    }

    .form-header p {
        font-size: 0.9rem;
    }

    .success-message,
    .error-message {
        padding: 1.3rem;
        margin-bottom: 1.8rem;
    }

    .message-icon {
        font-size: 1.8rem;
    }

    .message-content strong {
        font-size: 1.05rem;
    }

    .message-content p {
        font-size: 0.95rem;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .form-group {
        margin-bottom: 1.6rem;
    }

    label {
        margin-bottom: 0.6rem;
        font-size: 0.9rem;
    }

    label i {
        font-size: 0.95rem;
    }

    input,
    textarea {
        padding: 0.95rem 1.1rem;
        padding-right: 2.8rem;
        font-size: 0.95rem;
        border-radius: 11px;
    }

    textarea {
        min-height: 140px;
    }

    .input-icon {
        right: 0.9rem;
    }

    .char-counter {
        font-size: 0.82rem;
    }

    .submit-btn {
        padding: 1.1rem 1.8rem;
        font-size: 1.05rem;
        gap: 0.9rem;
    }

    .privacy-note {
        padding: 1.1rem;
        font-size: 0.88rem;
        margin-top: 1.8rem;
    }

    .privacy-note i {
        font-size: 1.2rem;
    }

    .contact-footer {
        padding: 1.8rem 5%;
        margin-top: 3rem;
    }

    .contact-footer p {
        margin-bottom: 0.9rem;
        font-size: 0.95rem;
    }

    .footer-links {
        flex-direction: column;
        gap: 0.9rem;
    }

    .footer-links a {
        font-size: 0.95rem;
    }
}

@media screen and (max-width: 600px) {
    .top-header {
        padding: 0.9rem 4%;
    }

    .logo {
        height: 42px;
    }

    .brand-name {
        font-size: 1.3rem;
    }

    .back-link {
        width: 40px;
        height: 40px;
    }

    .page-container {
        padding: 1.8rem 4%;
    }

    .intro-section {
        margin-bottom: 2.2rem;
    }

    .intro-icon {
        width: 65px;
        height: 65px;
        margin-bottom: 1.1rem;
    }

    .intro-icon i {
        font-size: 1.7rem;
    }

    .page-title {
        font-size: 2rem;
        margin-bottom: 0.7rem;
    }

    .page-subtitle {
        font-size: 1.05rem;
    }

    .content-wrapper {
        gap: 1.6rem;
    }

    .contact-info {
        gap: 1.1rem;
    }

    .info-card {
        padding: 1.6rem;
        border-radius: 18px;
    }

    .form-container {
        padding: 1.8rem;
        border-radius: 18px;
    }

    .form-header h2 {
        font-size: 1.5rem;
    }

    .submit-btn {
        font-size: 1rem;
    }

    .contact-footer {
        padding: 1.6rem 4%;
        margin-top: 2.5rem;
    }
}

@media screen and (max-width: 480px) {
    .top-header {
        padding: 0.8rem 4%;
    }

    .logo-link {
        gap: 0.8rem;
    }

    .logo {
        height: 40px;
        border-radius: 8px;
    }

    .brand-name {
        font-size: 1.2rem;
        letter-spacing: 0.8px;
    }

    .back-link {
        width: 38px;
        height: 38px;
    }

    .back-link i {
        font-size: 0.95rem;
    }

    .page-container {
        padding: 1.5rem 4%;
    }

    .intro-section {
        margin-bottom: 2rem;
    }

    .intro-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 1rem;
    }

    .intro-icon i {
        font-size: 1.5rem;
    }

    .page-title {
        font-size: 1.8rem;
        margin-bottom: 0.6rem;
    }

    .page-subtitle {
        font-size: 1rem;
        line-height: 1.65;
    }

    .content-wrapper {
        gap: 1.5rem;
    }

    .contact-info {
        gap: 1rem;
    }

    .info-card {
        padding: 1.5rem;
        border-radius: 16px;
    }

    .info-header {
        margin-bottom: 1.2rem;
        padding-bottom: 0.8rem;
        gap: 0.7rem;
    }

    .info-header i {
        font-size: 1.1rem;
    }

    .info-header h3 {
        font-size: 1.1rem;
    }

    .info-item {
        padding: 0.8rem 0;
        gap: 0.9rem;
    }

    .info-item i {
        font-size: 1.05rem;
    }

    .info-item strong {
        font-size: 0.9rem;
        margin-bottom: 0.25rem;
    }

    .info-item p {
        font-size: 0.88rem;
    }

    .social-card p {
        font-size: 0.88rem;
        margin-bottom: 1.2rem;
    }

    .social-btn {
        padding: 0.8rem 1rem;
        font-size: 0.9rem;
        gap: 0.7rem;
        border-radius: 11px;
    }

    .social-btn i {
        font-size: 1.15rem;
    }

    .tips-list li {
        padding: 0.65rem 0;
        font-size: 0.88rem;
        gap: 0.7rem;
    }

    .tips-list li i {
        font-size: 0.85rem;
    }

    .form-container {
        padding: 1.5rem;
        border-radius: 16px;
    }

    .form-header {
        margin-bottom: 1.6rem;
        padding-bottom: 1.2rem;
    }

    .form-header h2 {
        font-size: 1.4rem;
        margin-bottom: 0.4rem;
    }

    .form-header p {
        font-size: 0.88rem;
    }

    .success-message,
    .error-message {
        padding: 1.2rem;
        margin-bottom: 1.6rem;
        gap: 0.9rem;
        border-radius: 13px;
    }

    .message-icon {
        font-size: 1.6rem;
    }

    .message-content strong {
        font-size: 1rem;
        margin-bottom: 0.25rem;
    }

    .message-content p {
        font-size: 0.9rem;
    }

    .form-group {
        margin-bottom: 1.5rem;
    }

    label {
        margin-bottom: 0.55rem;
        font-size: 0.88rem;
        gap: 0.45rem;
    }

    label i {
        font-size: 0.9rem;
    }

    input,
    textarea {
        padding: 0.9rem 1rem;
        padding-right: 2.5rem;
        font-size: 0.95rem;
        border-radius: 10px;
    }

    textarea {
        min-height: 130px;
        line-height: 1.65;
    }

    .input-icon {
        right: 0.85rem;
    }

    .char-counter {
        margin-top: 0.45rem;
        font-size: 0.8rem;
    }

    .form-actions {
        margin-top: 1.8rem;
    }

    .submit-btn {
        padding: 1rem 1.5rem;
        font-size: 1rem;
        gap: 0.8rem;
        border-radius: 11px;
    }

    .submit-btn i {
        font-size: 1rem;
    }

    .privacy-note {
        padding: 1rem;
        margin-top: 1.6rem;
        gap: 0.9rem;
        border-radius: 11px;
        font-size: 0.85rem;
    }

    .privacy-note i {
        font-size: 1.15rem;
    }

    .contact-footer {
        padding: 1.5rem 4%;
        margin-top: 2.3rem;
    }

    .contact-footer p {
        margin-bottom: 0.8rem;
        font-size: 0.9rem;
    }

    .footer-links {
        gap: 0.8rem;
    }

    .footer-links a {
        font-size: 0.9rem;
    }
}

@media screen and (max-width: 375px) {
    .top-header {
        padding: 0.75rem 4%;
    }

    .logo {
        height: 36px;
    }

    .brand-name {
        font-size: 1.1rem;
    }

    .back-link {
        width: 36px;
        height: 36px;
    }

    .page-container {
        padding: 1.3rem 4%;
    }

    .intro-icon {
        width: 55px;
        height: 55px;
    }

    .intro-icon i {
        font-size: 1.4rem;
    }

    .page-title {
        font-size: 1.6rem;
    }

    .page-subtitle {
        font-size: 0.95rem;
    }

    .info-card {
        padding: 1.3rem;
    }

    .info-header h3 {
        font-size: 1.05rem;
    }

    .form-container {
        padding: 1.3rem;
    }

    .form-header h2 {
        font-size: 1.3rem;
    }

    .submit-btn {
        padding: 0.95rem 1.4rem;
        font-size: 0.95rem;
    }

    .contact-footer {
        padding: 1.3rem 4%;
    }
}

@media screen and (max-width: 320px) {
    .top-header {
        padding: 0.7rem 3%;
    }

    .logo-link {
        gap: 0.6rem;
    }

    .logo {
        height: 34px;
    }

    .brand-name {
        font-size: 1rem;
        letter-spacing: 0.5px;
    }

    .back-link {
        width: 34px;
        height: 34px;
    }

    .back-link i {
        font-size: 0.9rem;
    }

    .page-container {
        padding: 1.2rem 3%;
    }

    .intro-section {
        margin-bottom: 1.8rem;
    }

    .intro-icon {
        width: 52px;
        height: 52px;
        margin-bottom: 0.9rem;
    }

    .intro-icon i {
        font-size: 1.3rem;
    }

    .page-title {
        font-size: 1.5rem;
        margin-bottom: 0.5rem;
    }

    .page-subtitle {
        font-size: 0.9rem;
    }

    .content-wrapper {
        gap: 1.3rem;
    }

    .contact-info {
        gap: 0.9rem;
    }

    .info-card {
        padding: 1.2rem;
        border-radius: 14px;
    }

    .info-header {
        margin-bottom: 1rem;
        padding-bottom: 0.7rem;
    }

    .info-header i {
        font-size: 1rem;
    }

    .info-header h3 {
        font-size: 1rem;
    }

    .info-item {
        padding: 0.7rem 0;
    }

    .info-item i {
        font-size: 1rem;
    }

    .info-item strong {
        font-size: 0.85rem;
    }

    .info-item p {
        font-size: 0.85rem;
    }

    .social-card p {
        font-size: 0.85rem;
        margin-bottom: 1rem;
    }

    .social-btn {
        padding: 0.75rem 0.9rem;
        font-size: 0.85rem;
        border-radius: 10px;
    }

    .social-btn i {
        font-size: 1.1rem;
    }

    .tips-list li {
        padding: 0.6rem 0;
        font-size: 0.85rem;
    }

    .form-container {
        padding: 1.2rem;
        border-radius: 14px;
    }

    .form-header {
        margin-bottom: 1.4rem;
        padding-bottom: 1rem;
    }

    .form-header h2 {
        font-size: 1.25rem;
    }

    .form-header p {
        font-size: 0.85rem;
    }

    .success-message,
    .error-message {
        padding: 1.1rem;
        margin-bottom: 1.4rem;
        border-radius: 12px;
    }

    .message-icon {
        font-size: 1.5rem;
    }

    .message-content strong {
        font-size: 0.95rem;
    }

    .message-content p {
        font-size: 0.85rem;
    }

    .form-group {
        margin-bottom: 1.3rem;
    }

    label {
        margin-bottom: 0.5rem;
        font-size: 0.85rem;
    }

    input,
    textarea {
        padding: 0.85rem 0.9rem;
        padding-right: 2.3rem;
        font-size: 0.9rem;
        border-radius: 9px;
    }

    textarea {
        min-height: 120px;
    }

    .input-icon {
        right: 0.8rem;
        font-size: 0.9rem;
    }

    .char-counter {
        font-size: 0.78rem;
    }

    .form-actions {
        margin-top: 1.6rem;
    }

    .submit-btn {
        padding: 0.9rem 1.3rem;
        font-size: 0.9rem;
        gap: 0.7rem;
        border-radius: 10px;
    }

    .submit-btn i {
        font-size: 0.95rem;
    }

    .privacy-note {
        padding: 0.9rem;
        margin-top: 1.4rem;
        font-size: 0.82rem;
        border-radius: 10px;
    }

    .privacy-note i {
        font-size: 1.1rem;
    }

    .contact-footer {
        padding: 1.2rem 3%;
        margin-top: 2rem;
    }

    .contact-footer p {
        margin-bottom: 0.7rem;
        font-size: 0.85rem;
    }

    .footer-links {
        gap: 0.7rem;
    }

    .footer-links a {
        font-size: 0.85rem;
    }
}

@media screen and (max-height: 500px) and (orientation: landscape) {
    .page-container {
        padding: 1.5rem 5%;
    }

    .intro-section {
        margin-bottom: 1.5rem;
    }

    .intro-icon {
        width: 50px;
        height: 50px;
        margin-bottom: 0.8rem;
    }

    .intro-icon i {
        font-size: 1.3rem;
    }

    .page-title {
        font-size: 1.8rem;
        margin-bottom: 0.5rem;
    }

    .page-subtitle {
        font-size: 0.95rem;
    }

    .content-wrapper {
        gap: 1.5rem;
    }

    .form-container,
    .info-card {
        padding: 1.3rem;
    }

    .contact-footer {
        padding: 1.2rem 5%;
        margin-top: 1.5rem;
    }
}