*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Colors */
    --primary-color: #4f46e5;
    --primary-dark: #4338ca;
    --primary-light: #818cf8;
    --secondary-color: #64748b;
    --accent-color: #06b6d4;
    --background-light: #f8fafc;
    --text-primary: #1e293b;
    --text-secondary: #475569;
    
    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.12);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 15px rgba(0,0,0,0.1);
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #4f46e5 0%, #06b6d4 100%);
    --gradient-hover: linear-gradient(135deg, #4338ca 0%, #0891b2 100%);
    --gradient-background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    
    /* Border Radius */
    --border-radius-sm: 0.375rem;
    --border-radius-md: 0.5rem;
    --border-radius-lg: 1rem;
    --border-radius-xl: 1.5rem;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

body {
    font-family: 'Times New Roman', Times, serif;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--gradient-background);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

/* Header Styles */
.site-header {
    background: white;
    padding: 2rem 1rem;
    text-align: center;
    box-shadow: var(--shadow-md);
    position: relative;
    z-index: 10;
}

.header-content {
    max-width: 800px;
    margin: 0 auto;
}

.support-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--gradient-primary);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius-md);
    margin-bottom: 1rem;
    font-weight: 500;
}

.support-badge i {
    font-size: 1.2rem;
}

.header-title {
    font-size: 2.5rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.header-subtitle {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

/* Floating Shapes Animation */
.floating-shapes {
    position: fixed;
    width: 100vw;
    height: 100vh;
    top: 0;
    left: 0;
    z-index: 0;
    pointer-events: none;
}

.shape {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(45deg, var(--primary-light), var(--accent-color));
    opacity: 0.1;
    animation: float 20s infinite;
}

.shape-1 {
    width: 300px;
    height: 300px;
    top: -150px;
    left: -150px;
    animation-delay: -5s;
}

.shape-2 {
    width: 200px;
    height: 200px;
    top: 50%;
    right: -100px;
    animation-delay: -10s;
}

.shape-3 {
    width: 150px;
    height: 150px;
    bottom: -75px;
    left: 50%;
    animation-delay: -15s;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    25% {
        transform: translate(50px, 50px) rotate(90deg);
    }
    50% {
        transform: translate(0, 100px) rotate(180deg);
    }
    75% {
        transform: translate(-50px, 50px) rotate(270deg);
    }
}

/* Page Container */
.page-container {
    flex: 1;
    width: 100%;
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1rem;
    position: relative;
    z-index: 1;
}

.contact-container {
    display: flex;
    background: white;
    border-radius: var(--border-radius-xl);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    position: relative;
    animation: containerFadeIn 0.8s var(--transition-normal);
    max-width: 1000px;
    margin: 0 auto;
}

/* Left Section Styles */
.left-section {
    flex: 1;
    background: var(--gradient-primary);
    color: white;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}

.brand-section {
    position: relative;
    z-index: 2;
    text-align: center;
    margin-bottom: 2rem;
}

.logo-wrapper {
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    animation: logoFloat 3s ease-in-out infinite;
}

.logo-wrapper i {
    font-size: 2rem;
}

@keyframes logoFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.main-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    animation: slideInLeft 0.6s var(--transition-normal);
}

.tagline {
    font-size: 1rem;
    opacity: 0.9;
    margin-bottom: 2rem;
    animation: slideInLeft 0.6s var(--transition-normal) 0.2s backwards;
}

/* Contact Methods Cards */
.contact-methods {
    display: grid;
    gap: 1.25rem;
    margin: 1.5rem 0;
}

.contact-card {
    position: relative;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    transition: transform var(--transition-normal);
    animation: slideInUp 0.6s var(--transition-normal) backwards;
}

.contact-card:nth-child(1) { animation-delay: 0.3s; }
.contact-card:nth-child(2) { animation-delay: 0.4s; }
.contact-card:nth-child(3) { animation-delay: 0.5s; }

.card-content {
    position: relative;
    z-index: 2;
    padding: 1.25rem;
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.card-hover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(255,255,255,0.1), rgba(255,255,255,0.2));
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.contact-card:hover {
    transform: translateX(10px);
}

.contact-card:hover .card-hover {
    opacity: 1;
}

.icon-wrapper {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform var(--transition-normal);
}

.contact-card:hover .icon-wrapper {
    transform: rotate(15deg);
}

.icon-wrapper i {
    font-size: 1.25rem;
}

.contact-details h3 {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.contact-details p {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-bottom: 0.5rem;
}

.contact-link {
    color: white;
    text-decoration: none;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.contact-link i {
    transition: transform var(--transition-normal);
}

.contact-link:hover i {
    transform: translateX(5px);
}

/* Social Section */
.social-section {
    text-align: center;
    animation: slideInUp 0.6s var(--transition-normal) 0.6s backwards;
    margin-top: 2rem;
}

.social-title {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.social-links {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.social-icon {
    width: 35px;
    height: 35px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all var(--transition-normal);
}

.social-icon:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.2);
}

/* Right Section Styles */
.right-section {
    flex: 1.2;
    background: white;
    padding: 2.5rem;
    animation: slideInRight 0.6s var(--transition-normal);
}

.form-container {
    max-width: 500px;
    margin: 0 auto;
}

.form-header {
    text-align: center;
    margin-bottom: 2rem;
}

.form-header h2 {
    color: var(--text-primary);
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
}

.form-subtitle {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Form Styles */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.input-group {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
}

.form-field {
    position: relative;
}

.form-field label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    font-weight: 500;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.form-field label i {
    color: var(--primary-color);
    font-size: 0.9rem;
}

.form-field input,
.form-field select,
.form-field textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #e2e8f0;
    border-radius: var(--border-radius-sm);
    font-size: 0.95rem;
    transition: all var(--transition-normal);
    background: white;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.field-focus {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width var(--transition-normal);
}

.form-field input:focus ~ .field-focus,
.form-field select:focus ~ .field-focus,
.form-field textarea:focus ~ .field-focus {
    width: 100%;
}

/* Submit Button */
.submit-button {
    position: relative;
    margin-top: 1rem;
    padding: 0.875rem;
    border: none;
    border-radius: var(--border-radius-md);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    overflow: hidden;
    background: none;
}

.button-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: white;
}

.button-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    transition: transform var(--transition-normal);
}

.submit-button:hover .button-background {
    transform: scale(1.05);
}

.submit-button:hover i {
    transform: translateX(5px);
}

/* Footer Styles */
.site-footer {
    background: white;
    padding: 1.5rem;
    box-shadow: var(--shadow-md);
    margin-top: 2rem;
    position: relative;
    z-index: 10;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer-info {
    text-align: center;
}

.footer-info p {
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

.footer-links a {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color var(--transition-normal);
}

.footer-links a:hover {
    color: var(--primary-dark);
}

/* Animations */
@keyframes containerFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 1200px) {
    .page-container {
        margin: 1.5rem auto;
    }
}

@media (max-width: 1024px) {
    .contact-container {
        flex-direction: column;
        margin: 1rem;
        max-width: 600px;
    }

    .left-section,
    .right-section {
        padding: 2rem;
    }

    .contact-methods {
        margin: 1.5rem 0;
    }

    .social-section {
        margin-top: 1.5rem;
    }

    .header-title {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .site-header {
        padding: 1.5rem 1rem;
    }

    .header-title {
        font-size: 1.75rem;
    }

    .support-badge {
        font-size: 0.9rem;
    }

    .page-container {
        padding: 0.5rem;
        margin: 1rem auto;
    }

    .contact-container {
        margin: 0.5rem;
    }

    .input-group {
        grid-template-columns: 1fr;
    }

    .main-title {
        font-size: 1.75rem;
    }

    .contact-card {
        padding: 1rem;
    }

    .icon-wrapper {
        width: 40px;
        height: 40px;
    }

    .form-container h2 {
        font-size: 1.5rem;
    }

    .footer-links {
        flex-direction: column;
        gap: 0.75rem;
    }
}

@media (max-width: 480px) {
    .site-header {
        padding: 1rem;
    }

    .header-title {
        font-size: 1.5rem;
    }

    .header-subtitle {
        font-size: 0.9rem;
    }

    .left-section,
    .right-section {
        padding: 1.5rem;
    }

    .card-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .contact-link {
        justify-content: center;
    }

    .social-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.75rem;
    }

    .form-field label {
        font-size: 0.9rem;
    }

    .form-field input,
    .form-field textarea {
        font-size: 0.9rem;
        padding: 0.625rem;
    }

    .submit-button {
        padding: 0.75rem;
    }
}
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

.screen-reader-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}