/* ============================================
   Ovidia Website Styles
   Color Scheme: #B851CD (Primary Purple) with shades
   ============================================ */

/* CSS Variables for Color Scheme */
:root {
    --primary: #B851CD;
    --primary-dark: #9340AB;
    --primary-light: #D174E8;
    --primary-pale: #F3E5F7;
    --accent: #8E24AA;
    --dark: #2d2d2d;
    --gray: #5a5a5a;
    --light-gray: #999;
    --bg-light: #fafafa;
    --white: #ffffff;
    --border: rgba(184, 81, 205, 0.1);
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.7;
    color: var(--dark);
    background: var(--white);
    overflow-x: hidden;
    padding-top: 80px;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 3rem;
}

/* Navigation */
nav {
    background: rgba(255, 255, 255, 0.98);
    padding: 1.5rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    transition: box-shadow 0.3s;
}

nav.scrolled {
    box-shadow: 0 2px 20px rgba(184, 81, 205, 0.08);
}

nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 0;
    padding-bottom: 0;
}

.logo {
    color: var(--primary);
    font-size: 1.8rem;
    font-weight: 700;
    text-decoration: none;
    letter-spacing: -0.5px;
    transition: opacity 0.3s;
}

.logo:hover {
    opacity: 0.8;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 3rem;
}

nav a {
    color: var(--dark);
    text-decoration: none;
    transition: color 0.3s;
    font-weight: 500;
    font-size: 0.95rem;
}

nav ul a:hover,
nav ul a.active {
    color: var(--primary);
}

/* Hero Section */
.hero {
    padding: 6rem 0;
    min-height: 70vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--primary-pale) 0%, var(--white) 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(184, 81, 205, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.hero-content {
    max-width: 900px;
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 2rem;
    font-weight: 700;
    letter-spacing: -2px;
    color: var(--dark);
}

.hero h1 .highlight {
    color: var(--primary);
}

.hero p {
    font-size: 1.3rem;
    line-height: 1.6;
    color: var(--gray);
    margin-bottom: 3rem;
    max-width: 700px;
}

/* Citrix Health Check Banner */
.health-check-banner {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    padding: 4rem 0;
    margin-top: -2rem;
    position: relative;
    overflow: hidden;
}

.health-check-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="40" fill="rgba(255,255,255,0.03)"/></svg>');
    opacity: 0.5;
}

.health-check-content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: center;
}

.health-check-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.health-check-content p {
    font-size: 1.2rem;
    line-height: 1.7;
    opacity: 0.95;
    margin-bottom: 1rem;
}

.health-check-features {
    list-style: none;
    margin-top: 2rem;
}

.health-check-features li {
    padding: 0.5rem 0;
    padding-left: 2rem;
    position: relative;
    font-size: 1.05rem;
}

.health-check-features li:before {
    content: "✓";
    position: absolute;
    left: 0;
    font-weight: bold;
    font-size: 1.3rem;
}

/* Buttons */
.cta-primary {
    background: var(--white);
    color: var(--primary);
    padding: 1.2rem 2.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    transition: all 0.3s;
    font-size: 1rem;
    border: none;
    cursor: pointer;
}

.cta-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.3);
}

.cta-secondary {
    background: transparent;
    color: var(--white);
    padding: 1.2rem 2.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    transition: all 0.3s;
    font-size: 1rem;
    border: 2px solid var(--white);
}

.cta-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
}

.cta-dark {
    background: var(--primary);
    color: var(--white);
    padding: 1.2rem 2.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    transition: all 0.3s;
    font-size: 1rem;
    border: none;
    cursor: pointer;
}

.cta-dark:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(184, 81, 205, 0.3);
}

/* Section Styles */
.section {
    padding: 6rem 0;
}

.section-label {
    font-size: 0.85rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 2rem;
    font-weight: 600;
}

.large-title {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 3rem;
    font-weight: 700;
    letter-spacing: -1.5px;
    color: var(--dark);
    max-width: 900px;
}

.narrative-text {
    font-size: 1.3rem;
    line-height: 1.8;
    color: var(--gray);
    max-width: 800px;
    margin-bottom: 2rem;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}

.service-item {
    background: var(--white);
    padding: 3rem;
    border-radius: 12px;
    border: 1px solid var(--border);
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.service-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background: var(--primary);
    transition: height 0.3s;
}

.service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(184, 81, 205, 0.15);
    border-color: var(--primary-light);
}

.service-item:hover::before {
    height: 100%;
}

.service-item h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--dark);
    font-weight: 700;
}

.service-item p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--gray);
}

/* Solution Blocks */
.solution-block {
    margin-bottom: 6rem;
    padding-bottom: 6rem;
    border-bottom: 1px solid var(--border);
}

.solution-block:last-child {
    border-bottom: none;
}

.solution-block h2 {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
    color: var(--primary);
    font-weight: 700;
    letter-spacing: -1px;
}

.solution-block p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--gray);
    margin-bottom: 2rem;
    max-width: 900px;
}

.solution-block h4 {
    font-size: 0.9rem;
    margin: 2.5rem 0 1.5rem 0;
    color: var(--dark);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.solution-block ul {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1rem;
}

.solution-block li {
    padding: 1.2rem 0;
    color: var(--gray);
    font-size: 1.05rem;
    line-height: 1.6;
    padding-left: 2rem;
    position: relative;
}

.solution-block li:before {
    content: "—";
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
}

.ideal-for {
    background: var(--primary-pale);
    padding: 2rem;
    border-radius: 8px;
    margin-top: 2rem;
    max-width: 900px;
    border-left: 4px solid var(--primary);
}

.ideal-for strong {
    color: var(--primary-dark);
    font-size: 1.1rem;
}

/* About Grid */
.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 5rem;
    margin-top: 4rem;
}

.about-block {
    padding: 2rem 0;
}

.about-block h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--primary);
    font-weight: 700;
}

.about-block p {
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--gray);
    margin-bottom: 1.5rem;
}

/* Contact Form */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    margin-top: 4rem;
}

.contact-form-wrapper {
    background: var(--bg-light);
    padding: 3rem;
    border-radius: 12px;
    border: 1px solid var(--border);
}

.form-group {
    margin-bottom: 2rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.75rem;
    color: var(--dark);
    font-weight: 600;
    font-size: 0.95rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 1rem;
    border: 2px solid rgba(184, 81, 205, 0.2);
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s;
    background: var(--white);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(184, 81, 205, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 180px;
}

.submit-btn {
    background: var(--primary);
    color: var(--white);
    padding: 1.2rem 2.5rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    width: 100%;
}

.submit-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(184, 81, 205, 0.3);
}

.contact-info-wrapper {
    padding: 2rem 0;
}

.contact-info-block {
    margin-bottom: 3rem;
}

.contact-info-block h4 {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--primary);
    margin-bottom: 1rem;
    font-weight: 600;
}

.contact-info-block p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--dark);
}

.contact-info-block a {
    color: var(--dark);
    text-decoration: none;
    transition: color 0.3s;
}

.contact-info-block a:hover {
    color: var(--primary);
}

/* Footer */
footer {
    background: var(--dark);
    color: var(--white);
    padding: 4rem 0 2rem 0;
    margin-top: 8rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-brand h3 {
    color: var(--primary-light);
    font-size: 1.8rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(184, 81, 205, 0.2);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s;
    font-size: 1.2rem;
}

.social-links a:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

.footer-links h4 {
    color: var(--white);
    margin-bottom: 1.5rem;
    font-size: 1rem;
    font-weight: 600;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s;
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--primary-light);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-bottom a:hover {
    color: var(--primary-light);
}

/* Scroll to Top Button */
.scroll-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.5rem;
    transition: all 0.3s;
    z-index: 999;
    box-shadow: 0 4px 15px rgba(184, 81, 205, 0.3);
}

.scroll-top:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
}

.scroll-top.visible {
    display: flex;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.6s ease-out;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero h1 {
        font-size: 3rem;
    }

    .large-title {
        font-size: 2.5rem;
    }

    .health-check-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-layout {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    body {
        padding-top: 70px;
    }

    .container {
        padding: 0 1.5rem;
    }

    nav ul {
        gap: 1.5rem;
        font-size: 0.85rem;
    }

    .hero {
        padding: 4rem 0;
        min-height: 50vh;
    }

    .hero h1 {
        font-size: 2.2rem;
        letter-spacing: -1px;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .large-title {
        font-size: 2rem;
    }

    .narrative-text {
        font-size: 1.1rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .solution-block h2 {
        font-size: 2rem;
    }

    .solution-block ul {
        grid-template-columns: 1fr;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .health-check-banner {
        padding: 3rem 0;
    }

    .health-check-content h2 {
        font-size: 2rem;
    }
}
