/* Fotsa Balance - Modern Minimalist Theme (Navy & Emerald) */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=Outfit:wght@300;400;500;600&display=swap');

:root {
    --bg-main: #020617;
    /* Deep Navy */
    --bg-overlay: rgba(2, 6, 23, 0.85);
    --bg-card: #0f172a;
    /* Slate Navy */

    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;

    --accent-color: #10b981;
    /* Emerald Green */
    --accent-glow: rgba(16, 185, 129, 0.2);
    --border-color: rgba(16, 185, 129, 0.3);

    --font-display: 'Playfair Display', serif;
    --font-body: 'Outfit', sans-serif;

    --spacing-xs: 0.5rem;
    --spacing-md: 1.5rem;
    --spacing-xl: 4rem;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-main);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-weight: 300;
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
}

/* --- Decorative Background --- */
.temple-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    background:
        radial-gradient(circle at 15% 50%, rgba(15, 23, 42, 1) 0%, transparent 50%),
        radial-gradient(circle at 85% 30%, rgba(2, 6, 23, 1) 0%, transparent 50%);
    background-color: var(--bg-main);
}

.temple-texture {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.03;
    background-image: linear-gradient(0deg, transparent 24%, rgba(255, 255, 255, .05) 25%, rgba(255, 255, 255, .05) 26%, transparent 27%, transparent 74%, rgba(255, 255, 255, .05) 75%, rgba(255, 255, 255, .05) 76%, transparent 77%, transparent), linear-gradient(90deg, transparent 24%, rgba(255, 255, 255, .05) 25%, rgba(255, 255, 255, .05) 26%, transparent 27%, transparent 74%, rgba(255, 255, 255, .05) 75%, rgba(255, 255, 255, .05) 76%, transparent 77%, transparent);
    background-size: 50px 50px;
    pointer-events: none;
}

/* --- Typography Utilities --- */
h1,
h2,
h3 {
    font-family: var(--font-display);
    font-weight: 400;
    color: var(--text-primary);
    letter-spacing: 0.01em;
}

.display-title {
    font-size: clamp(3rem, 10vw, 5.5rem);
    line-height: 1.1;
    margin-bottom: var(--spacing-md);
    letter-spacing: -0.02em;
    background: linear-gradient(to bottom right, #ffffff, #94a3b8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.subtitle {
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 0.4em;
    margin-bottom: var(--spacing-xl);
    display: inline-block;
    font-weight: 500;
}

.text-lead {
    font-size: 1.15rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto var(--spacing-xl);
    letter-spacing: 0.01em;
}

/* --- Layouts --- */
.main-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    position: relative;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
}

/* --- Index Page Specifics --- */
.border-frame {
    position: fixed;
    top: 30px;
    left: 30px;
    right: 30px;
    bottom: 30px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    pointer-events: none;
    z-index: 100;
}

.border-frame::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 10%;
    width: 20px;
    height: 1px;
    background: var(--accent-color);
}

.border-frame::after {
    content: '';
    position: absolute;
    bottom: -1px;
    right: 10%;
    width: 20px;
    height: 1px;
    background: var(--accent-color);
}

.brand-mark {
    width: 50px;
    height: 50px;
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-md);
    font-size: 1.25rem;
    color: var(--accent-color);
    position: relative;
    transform: rotate(45deg);
}

.brand-mark i {
    transform: rotate(-45deg);
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 1.2rem 3.5rem;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 0.8rem;
    font-weight: 500;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    backdrop-filter: blur(10px);
}

.btn-outline:hover {
    border-color: var(--accent-color);
    letter-spacing: 0.25em;
    background: rgba(16, 185, 129, 0.05);
}

/* --- Ask Us Page Specifics --- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    width: 100%;
    max-width: 1000px;
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.4);
    border-radius: 4px;
    overflow: hidden;
}

.contact-info-panel,
.contact-form-panel {
    padding: 5rem 4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-info-panel {
    background: #0b1120;
    border-right: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
}

.info-item {
    margin-top: 3rem;
}

.info-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.info-value {
    font-size: 1.4rem;
    font-family: var(--font-display);
    color: var(--text-primary);
}

.form-group {
    margin-bottom: 2.5rem;
}

.form-label {
    display: block;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--text-secondary);
    margin-bottom: 0.8rem;
    font-weight: 500;
}

.form-input {
    width: 100%;
    background: rgba(255, 255, 255, 0.02);
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1rem 0;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: all 0.3s ease;
    border-radius: 0;
}

.form-input:focus {
    outline: none;
    border-color: var(--accent-color);
    background: transparent;
}

textarea.form-input {
    min-height: 120px;
    resize: none;
}

.submit-btn {
    width: 100%;
    padding: 1.4rem;
    background: var(--accent-color);
    color: #020617;
    border: none;
    font-family: var(--font-body);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.submit-btn:hover {
    background: #34d399;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(16, 185, 129, 0.2);
}

@media (max-width: 900px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .contact-info-panel,
    .contact-form-panel {
        padding: 4rem 2rem;
    }

    .contact-info-panel {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }
}

@media (max-width: 600px) {
    .display-title {
        font-size: 2.8rem;
    }

    .border-frame {
        top: 15px;
        left: 15px;
        right: 15px;
        bottom: 15px;
    }
}