/* ===================================
   Arc Ridge Consulting - Landing Page
   Based on Solvior Color Scheme
   =================================== */

:root {
    /* Solvior Color Scheme */
    --color-primary: #00458F;
    --color-dark: #051229;
    --color-heading: #051229;
    --color-text: #364052;
    --color-text-light: #7e8590;
    --color-text-quote: #454545;
    --color-white: #f7f7f7;
    --color-bg: #e1e8f0;
    --color-bg-light: #dfecfd;
    --color-border: #ced7e0;

    /* Typography */
    --font-body: 'Lato', sans-serif;
    --font-heading: 'Libre Franklin', serif;
}

/* ===================================
   Reset & Base Styles
   =================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Visually hidden but accessible to screen readers */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Skip Navigation Link */
.skip-link {
    position: fixed;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-dark);
    color: white;
    padding: 16px 32px;
    text-decoration: none;
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    border-radius: 0 0 12px 12px;
    box-shadow: 0 4px 20px rgba(5, 18, 41, 0.4);
    z-index: 9999;
    transition: top 0.3s ease;
}

.skip-link:focus {
    top: 0;
    outline: 4px solid var(--color-primary);
    outline-offset: 4px;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-text);
    background: linear-gradient(135deg, #FFFFFF 0%, #e1e8f0 50%, #dfecfd 100%);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
}

/* ===================================
   Header
   =================================== */

header {
    position: relative;
    z-index: 2;
    padding: 40px 20px 20px;
    text-align: center;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
}

.header-logo {
    max-width: 347px;
    height: auto;
    filter: drop-shadow(0 4px 12px rgba(0, 117, 255, 0.15));
}

@media (max-width: 768px) {

    header {
        padding: 30px 20px 10px;
    }
}

/* ===================================
   Main Content
   =================================== */

main {
    position: relative;
    z-index: 2;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
}

/* ===================================
   Animated Background
   =================================== */

.background-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(100px, -50px) scale(1.1);
    }
    66% {
        transform: translate(-50px, 100px) scale(0.9);
    }
}


/* ===================================
   Content
   =================================== */

.content {
    width: 100%;
    max-width: 900px;
    text-align: center;
    animation: fadeInUp 0.5s ease-out 0.2s backwards;
}

.title-logo {
    margin: 40px 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.title-logo img {
    max-width: 247px;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 8px 24px rgba(0, 117, 255, 0.2));
}

@media (max-width: 992px) {
    .title-logo img {
        max-width: 247px;
    }
}

@media (max-width: 768px) {
    .title-logo img {
        max-width: 247px;
    }
}

@media (max-width: 576px) {
    .title-logo img {
        max-width: 300px;
    }
}

.tagline {
    margin-bottom: 30px;
}

.main-tagline {
    font-size: 20px;
    line-height: 1.7;
    color: var(--color-text);
    margin-bottom: 20px;
    font-weight: 400;
}

.sub-tagline {
    font-size: 18px;
    line-height: 1.6;
    color: var(--color-text-quote);
    font-weight: 400;
    font-style: italic;
}

@media (max-width: 768px) {
    .main-tagline {
        font-size: 18px;
    }

    .sub-tagline {
        font-size: 16px;
    }
}

/* ===================================
   Contact Section
   =================================== */

.contact-section {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 24px;
    padding: 40px 60px;
    box-shadow: 0 20px 60px rgba(5, 18, 41, 0.1);
    border: 1px solid rgba(206, 215, 224, 0.5);
    margin-bottom: 60px;
}

@media (max-width: 768px) {
    .contact-section {
        padding: 40px 30px;
    }
}

@media (max-width: 576px) {
    .contact-section {
        padding: 30px 20px;
    }
}

.section-title {
    font-family: var(--font-heading);
    font-size: 36px;
    font-weight: 700;
    color: var(--color-heading);
    margin-bottom: 10px;
}

.section-subtitle {
    font-size: 18px;
    color: var(--color-text-light);
    margin-bottom: 40px;
}

@media (max-width: 768px) {
    .section-title {
        font-size: 28px;
    }

    .section-subtitle {
        font-size: 16px;
    }
}

/* ===================================
   Contact Form
   =================================== */

.contact-form {
    text-align: left;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 16px 20px;
    font-family: var(--font-body);
    font-size: 16px;
    color: var(--color-text);
    background: #ffffff;
    border: 2px solid var(--color-border);
    border-radius: 12px;
    transition: all 0.3s ease;
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 4px rgba(0, 117, 255, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--color-text-light);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* ===================================
   Submit Button
   =================================== */

.submit-btn {
    width: 100%;
    padding: 18px 40px;
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 600;
    color: #ffffff;
    background: var(--color-primary);
    border: none;
    border-radius: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 117, 255, 0.3);
}

.submit-btn:hover {
    background: #0c57ac;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 117, 255, 0.4);
}

.submit-btn:active {
    transform: translateY(0);
}

.btn-icon {
    display: flex;
    align-items: center;
    transition: transform 0.3s ease;
}

.submit-btn:hover .btn-icon {
    transform: translateX(3px);
}

/* ===================================
   Form Message
   =================================== */

.form-message {
    margin: 20px 0;
    padding: 16px 20px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 500;
    text-align: center;
    display: none;
}

.form-message.success {
    display: block;
    background: rgba(134, 255, 179, 0.1);
    color: #0c7332;
    border: 1px solid rgba(9, 121, 50, 0.31);
}

.form-message.error {
    display: block;
    background: rgba(239, 68, 68, 0.1);
    color: #dc2626;
    border: 2px solid rgba(239, 68, 68, 0.3);
}

/* ===================================
   Footer
   =================================== */

.footer {
    position: relative;
    z-index: 2;
    margin-top: auto;
    padding: 30px 20px;
    text-align: center;
}

.footer p {
    font-size: 14px;
    color: var(--color-text-light);
}

/* ===================================
   Focus Styles for Accessibility
   =================================== */

*:focus-visible {
    outline: 3px solid var(--color-primary);
    outline-offset: 2px;
}

button:focus-visible,
a:focus-visible {
    outline: 3px solid var(--color-primary);
    outline-offset: 2px;
}

input:focus-visible,
textarea:focus-visible {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 4px rgba(0, 117, 255, 0.1);
}

/* ===================================
   Animations
   =================================== */

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}
