:root {
    /* Brand Colors */
    --bg-primary: #2c344f;
    --cta-color: #cb1c34;
    --cta-hover: #e5233e;
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.7);
    --dark-accent: #262626;

    /* Glassmorphism Variables */
    --glass-bg: rgba(255, 255, 255, 0.04);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);

    /* Form Variables */
    --input-bg: rgba(0, 0, 0, 0.15);
    --input-focus: rgba(255, 255, 255, 0.1);
    
    /* Transitions */
    --transition-fast: 0.2s ease-out;
    --transition-default: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    /* Subtle radial gradient to make the background feel premium */
    background-image: radial-gradient(circle at top right, rgba(44, 52, 79, 1) 0%, rgba(20, 24, 38, 1) 100%);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    line-height: 1.6;
    overflow-x: hidden;
}

.page-wrapper {
    width: 100%;
    max-width: 1200px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Typography */
h1 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
    text-align: center;
}

h2 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

p {
    color: var(--text-secondary);
}

a {
    color: var(--text-primary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--cta-color);
}

/* Header / Hero */
.hero-section {
    text-align: center;
    margin-bottom: 3rem;
    max-width: 600px;
}

.logo-container {
    margin-bottom: 2rem;
}

.logo {
    max-width: 180px;
    height: auto;
    filter: drop-shadow(0 4px 6px rgba(0,0,0,0.3));
}

.intro-text p {
    font-size: 1.1rem;
    margin-top: 0.5rem;
}

/* Layout for Main Content */
.main-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    width: 100%;
    max-width: 1000px;
}

@media (min-width: 768px) {
    .main-content {
        grid-template-columns: 1.5fr 1fr;
        align-items: flex-start;
    }
}

/* Glass Panels */
.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: var(--glass-shadow);
    transition: transform var(--transition-default), box-shadow var(--transition-default);
}

.glass-panel:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.3);
}

/* Contact Info Section */
.info-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.classic-item {
    border-bottom: 1px solid var(--glass-border);
    padding-bottom: 1rem;
}
.classic-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.info-content h3 {
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 0.4rem;
    color: var(--text-primary);
    opacity: 0.9;
}

.info-content p {
    font-size: 1.1rem;
    margin: 0;
    font-weight: 300;
}

.info-actions {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--glass-border);
    text-align: center;
}

.info-actions p {
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

/* Form Styles */
.form-subtitle {
    margin-bottom: 2rem;
    font-size: 0.95rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

label {
    font-size: 0.9rem;
    font-weight: 500;
    margin-left: 0.2rem;
}

.required {
    color: var(--cta-color);
}

input, textarea {
    width: 100%;
    background: var(--input-bg);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 1rem 1.2rem;
    color: var(--text-primary);
    font-family: inherit;
    font-size: 1rem;
    transition: all var(--transition-fast);
}

input:focus, textarea:focus {
    outline: none;
    background: var(--input-focus);
    border-color: var(--cta-color);
    box-shadow: 0 0 0 4px rgba(203, 28, 52, 0.1);
}

input::placeholder, textarea::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

textarea {
    resize: vertical;
    min-height: 120px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all var(--transition-default);
    text-align: center;
    border: none;
    width: 100%;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(203, 28, 52, 0);
    z-index: -1;
    transition: background var(--transition-default);
}

.btn-primary {
    background: var(--cta-color);
    color: white;
    box-shadow: 0 4px 15px rgba(203, 28, 52, 0.4);
}

.btn-primary:hover:not(:disabled) {
    background: var(--cta-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(203, 28, 52, 0.6);
}

.btn-primary:active:not(:disabled) {
    transform: translateY(1px);
}

.btn-primary:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.btn-secondary {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--text-primary);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    border-color: var(--cta-color);
}

.btn-overlay-red:hover::before {
    background: rgba(203, 28, 52, 0.7); /* Red overlay */
}

/* Also give the primary button an overlay effect */
.btn-primary:hover::before {
    background: rgba(255, 255, 255, 0.15);
}

.btn-secondary .arrow {
    margin-left: 0.5rem;
    transition: transform var(--transition-fast);
}

.btn-secondary:hover .arrow {
    transform: translateX(4px);
}

/* Feedback Messages */
.form-feedback {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 8px;
    font-size: 0.95rem;
    text-align: center;
    animation: fadeIn 0.3s ease;
}

.form-feedback.hidden {
    display: none;
}

.form-feedback.success {
    background: rgba(46, 213, 115, 0.1);
    border: 1px solid rgba(46, 213, 115, 0.3);
    color: #2ed573;
}

.form-feedback.error {
    background: rgba(255, 71, 87, 0.1);
    border: 1px solid rgba(255, 71, 87, 0.3);
    color: #ff4757;
}

/* Loading State */
.loading .btn-text {
    opacity: 0.8;
}

/* Footer */
footer {
    margin-top: 4rem;
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-5px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Responsive constraints */
@media (max-width: 480px) {
    .page-wrapper {
        padding: 1.5rem 1rem;
    }
    
    h1 {
        font-size: 1.8rem;
    }
    
    .glass-panel {
        padding: 1.8rem;
    }
}
