/* Fractional Velocity Brand System */
/* Colors: #0DAEFF (Clarity), #0D3C50 (Depth), #F5F7FA (Background), #111827 (Text) */

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

:root {
    --color-primary: #0DAEFF;
    --color-primary-glow: rgba(13, 174, 255, 0.3);
    --color-anchor: #0D3C50;
    --color-anchor-light: #0f4a63;
    --color-background: #F5F7FA;
    --color-text: #111827;
    --color-white: #ffffff;
    --color-gray-100: #f3f4f6;
    --color-gray-200: #e5e7eb;
    --color-gray-600: #4b5563;
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-text);
    background-color: var(--color-white);
    overflow-x: hidden;
}

body.nav-open {
    overflow: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(13, 60, 80, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(13, 174, 255, 0.15);
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 72px;
    position: relative;
}

.logo {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-white);
    text-decoration: none;
    letter-spacing: -0.02em;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 32px;
    align-items: center;
}

.nav-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

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

.nav-cta {
    background: var(--color-primary);
    color: var(--color-anchor) !important;
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 600 !important;
    transition: all 0.3s ease !important;
}

.nav-cta:hover {
    background: var(--color-white);
    color: var(--color-anchor) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 20px var(--color-primary-glow);
}

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: transparent;
    color: var(--color-white);
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.3s ease, border-color 0.3s ease;
}

.nav-toggle:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--color-primary);
}

.nav-toggle-line {
    width: 20px;
    height: 2px;
    background: var(--color-white);
    position: relative;
    display: inline-block;
    transition: background 0.3s ease;
}

.nav-toggle-line::before,
.nav-toggle-line::after {
    content: '';
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--color-white);
    transition: transform 0.3s ease, top 0.3s ease, opacity 0.3s ease;
}

.nav-toggle-line::before {
    top: -6px;
}

.nav-toggle-line::after {
    top: 6px;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-line {
    background: transparent;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-line::before {
    top: 0;
    transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-line::after {
    top: 0;
    transform: rotate(-45deg);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 24px 80px;
    background: linear-gradient(135deg, var(--color-anchor) 0%, #061a24 100%);
    position: relative;
    overflow: hidden;
}

/* Animated Grid Background */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(rgba(13, 174, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(13, 174, 255, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(60px, 60px); }
}

/* Glowing orbs */
.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse 600px 600px at 20% 80%, var(--color-primary-glow) 0%, transparent 50%),
        radial-gradient(ellipse 400px 400px at 85% 20%, rgba(13, 174, 255, 0.2) 0%, transparent 50%),
        radial-gradient(ellipse 300px 300px at 60% 60%, rgba(13, 174, 255, 0.1) 0%, transparent 50%);
    animation: pulse 8s ease-in-out infinite alternate;
}

@keyframes pulse {
    0% { opacity: 0.6; transform: scale(1); }
    100% { opacity: 1; transform: scale(1.05); }
}

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

.hero-tagline {
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    color: var(--color-primary);
    margin-bottom: 24px;
    animation: fadeInUp 0.8s ease-out;
}

.hero h1 {
    font-size: clamp(3.5rem, 10vw, 7rem);
    font-weight: 700;
    line-height: 1;
    color: var(--color-white);
    margin-bottom: 32px;
    letter-spacing: -0.04em;
    animation: fadeInUp 0.8s ease-out 0.1s backwards;
}

.hero-sub {
    font-size: clamp(1.125rem, 2.5vw, 1.5rem);
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 48px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 0.8s ease-out 0.2s backwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 18px 40px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    animation: fadeInUp 0.8s ease-out 0.3s backwards;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--color-primary);
    color: var(--color-anchor);
    box-shadow: 0 4px 30px var(--color-primary-glow);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s ease;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    background: var(--color-white);
    transform: translateY(-3px);
    box-shadow: 0 8px 40px var(--color-primary-glow);
}

.btn-large {
    padding: 22px 52px;
    font-size: 1.125rem;
}

/* Sections */
.section {
    padding: 70px 0;
    position: relative;
}

.section h2 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 700;
    color: var(--color-anchor);
    margin-bottom: 20px;
    letter-spacing: -0.03em;
}

.section-intro {
    font-size: 1.25rem;
    color: var(--color-gray-600);
    max-width: 700px;
    margin-bottom: 80px;
    line-height: 1.7;
}

/* About Section - Asymmetric */
.about {
    background: var(--color-white);
    position: relative;
}

.about-header {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 8px;
}

.about::before {
    content: '';
    position: absolute;
    top: -100px;
    right: 0;
    width: 50%;
    height: 400px;
    background: var(--color-background);
    transform: skewY(-6deg);
    z-index: 0;
}

.about .container {
    position: relative;
    z-index: 1;
}

.about-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 120px;
    margin-top: 56px;
    align-items: start;
}

.about-text .lead {
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-anchor);
    margin-bottom: 32px;
    line-height: 1.3;
    letter-spacing: -0.02em;
}

.about-text p {
    margin-bottom: 24px;
    color: var(--color-gray-600);
    font-size: 1.15rem;
    line-height: 1.9;
}

.about-traits {
    display: flex;
    flex-direction: column;
    gap: 0;
    position: relative;
    padding-top: 40px;
}

.trait {
    padding: 28px 0 28px 32px;
    border-left: 2px solid var(--color-gray-200);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.trait::before {
    content: '';
    position: absolute;
    left: -6px;
    top: 50%;
    transform: translateY(-50%);
    width: 10px;
    height: 10px;
    background: var(--color-white);
    border: 2px solid var(--color-gray-200);
    border-radius: 50%;
    transition: all 0.4s ease;
}

.trait:hover {
    border-left-color: var(--color-primary);
    padding-left: 40px;
    background: linear-gradient(90deg, rgba(13, 174, 255, 0.05), transparent);
}

.trait:hover::before {
    background: var(--color-primary);
    border-color: var(--color-primary);
    box-shadow: 0 0 20px var(--color-primary-glow);
}

.trait h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 6px;
}

.trait p {
    color: var(--color-gray-600);
    font-size: 1rem;
    line-height: 1.5;
}

/* Background Section */
.background {
    background: var(--color-background);
    position: relative;
}

.background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: 1px;
    height: 100%;
    background: linear-gradient(to bottom, transparent, var(--color-gray-200), transparent);
}

.background-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 80px;
    align-items: start;
}


.background-intro .lead {
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-anchor);
    margin-bottom: 24px;
    line-height: 1.3;
    letter-spacing: -0.02em;
}

.background-intro p {
    color: var(--color-gray-600);
    font-size: 1.15rem;
    line-height: 1.8;
}

.background-highlights {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.highlight {
    background: var(--color-white);
    padding: 28px 32px;
    border-radius: 12px;
    border: 1px solid var(--color-gray-200);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.highlight::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: var(--color-primary);
    transform: scaleY(0);
    transform-origin: bottom;
    transition: transform 0.4s ease;
}

.highlight:hover {
    transform: translateX(8px);
    box-shadow: 0 10px 30px rgba(13, 60, 80, 0.1);
    border-color: var(--color-primary);
}

.highlight:hover::before {
    transform: scaleY(1);
}

.highlight-stat {
    display: block;
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--color-anchor);
    margin-bottom: 6px;
}

.highlight-context {
    display: block;
    font-size: 0.95rem;
    color: var(--color-gray-600);
    line-height: 1.5;
}

.highlight-link {
    text-decoration: none;
    cursor: pointer;
}

.highlight-link .highlight-stat::after {
    content: ' →';
    opacity: 0;
    transition: opacity 0.3s ease;
}

.highlight-link:hover .highlight-stat::after {
    opacity: 1;
}

/* Quote Section */
.quote-section {
    padding: 60px 24px;
    background: var(--color-anchor);
    text-align: center;
    position: relative;
    overflow: hidden;
    clip-path: polygon(0 8%, 100% 0, 100% 92%, 0 100%);
    margin: 0;
}

.quote-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(rgba(13, 174, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(13, 174, 255, 0.05) 1px, transparent 1px);
    background-size: 40px 40px;
}

.quote-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, rgba(13, 174, 255, 0.15) 0%, transparent 60%);
}

.quote-section.alt {
    background: var(--color-background);
    clip-path: polygon(0 0, 100% 8%, 100% 100%, 0 92%);
}

.quote-section.alt::before,
.quote-section.alt::after {
    display: none;
}

.quote-section blockquote {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    color: var(--color-white);
    max-width: 1000px;
    margin: 0 auto;
    line-height: 1.2;
    letter-spacing: -0.03em;
    position: relative;
    z-index: 1;
}

.quote-section.alt blockquote {
    color: var(--color-anchor);
}

/* Services Section */
.services {
    background: var(--color-white);
    padding-top: 80px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.service-card {
    background: var(--color-background);
    padding: 48px;
    border-radius: 16px;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    border: 1px solid transparent;
}

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

.service-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--color-anchor) 0%, var(--color-anchor-light) 100%);
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 0;
}

.service-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 30px 60px rgba(13, 60, 80, 0.2);
    border-color: var(--color-primary);
}

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

.service-card:hover::after {
    opacity: 1;
}

.service-card h3,
.service-card p {
    position: relative;
    z-index: 1;
    transition: color 0.5s ease;
}

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-anchor);
    margin-bottom: 16px;
    letter-spacing: -0.01em;
}

.service-card p {
    color: var(--color-gray-600);
    line-height: 1.8;
    font-size: 1.05rem;
}

.service-card:hover h3 {
    color: var(--color-primary);
}

.service-card:hover p {
    color: rgba(255, 255, 255, 0.85);
}

/* Principles Section - Offset Grid */
.principles {
    background: linear-gradient(180deg, var(--color-white) 0%, var(--color-background) 100%);
    position: relative;
}

.principles::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 300px;
    background: var(--color-anchor);
    clip-path: polygon(0 60%, 100% 0, 100% 100%, 0 100%);
}

.principles .container {
    position: relative;
    z-index: 1;
}

.principles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.principle {
    background: var(--color-white);
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.06);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--color-gray-200);
    position: relative;
    overflow: hidden;
}

.principle::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-anchor));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.principle:nth-child(2),
.principle:nth-child(5) {
    transform: translateY(30px);
}

.principle:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(13, 60, 80, 0.15);
    border-color: var(--color-primary);
}

.principle:nth-child(2):hover,
.principle:nth-child(5):hover {
    transform: translateY(22px);
}

.principle:hover::before {
    transform: scaleX(1);
}

.principle h3 {
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--color-anchor);
    margin-bottom: 12px;
}

.principle p {
    color: var(--color-gray-600);
    font-size: 1rem;
    line-height: 1.6;
}

/* Testimonials Section */
.testimonials {
    background: var(--color-anchor);
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}

.testimonials::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(rgba(13, 174, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(13, 174, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridMove 25s linear infinite reverse;
}

.testimonials::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse 800px 800px at 10% 90%, var(--color-primary-glow) 0%, transparent 50%),
        radial-gradient(ellipse 600px 600px at 90% 20%, rgba(13, 174, 255, 0.15) 0%, transparent 50%);
}

.testimonials h2 {
    color: var(--color-white);
    position: relative;
    z-index: 1;
}

.testimonials .section-intro {
    color: var(--color-white);
    opacity: 0.85;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    position: relative;
    z-index: 1;
}

.testimonial {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 44px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.testimonial::before {
    content: '"';
    position: absolute;
    top: 20px;
    left: 30px;
    font-size: 8rem;
    font-weight: 700;
    color: rgba(13, 174, 255, 0.1);
    line-height: 1;
    pointer-events: none;
}

.testimonial:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: var(--color-primary);
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.testimonial:nth-child(2),
.testimonial:nth-child(4) {
    transform: translateY(40px);
}

.testimonial:nth-child(2):hover,
.testimonial:nth-child(4):hover {
    transform: translateY(32px);
}

.testimonial-text {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    line-height: 1.9;
    margin-bottom: 28px;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    color: var(--color-primary);
    font-weight: 700;
    font-size: 1rem;
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 12px;
}

.testimonial-author::before {
    content: '';
    width: 24px;
    height: 2px;
    background: var(--color-primary);
}

/* Contact Section */
.contact {
    background: var(--color-white);
    position: relative;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 40%;
    height: 100%;
    background: var(--color-background);
    clip-path: polygon(0 0, 100% 0, 80% 100%, 0 100%);
}

.contact .container {
    position: relative;
    z-index: 1;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: start;
}

.contact-header {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 20px;
    margin-bottom: 16px;
}

.contact-avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--color-primary);
    box-shadow: 0 4px 20px rgba(13, 174, 255, 0.2);
}

.contact-info p {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-anchor);
    margin-bottom: 8px;
}

.contact-info ul {
    list-style: none;
    margin-top: 24px;
}


.contact-info li {
    padding: 20px 0;
    border-bottom: 1px solid var(--color-gray-200);
    color: var(--color-gray-600);
    font-size: 1.1rem;
    transition: all 0.3s ease;
    position: relative;
}

.contact-info li::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 1px;
    background: var(--color-primary);
    transition: width 0.3s ease;
}

.contact-info li:hover {
    color: var(--color-anchor);
    padding-left: 16px;
}

.contact-info li:hover::before {
    width: 100%;
}

.contact-info li:last-child {
    border-bottom: none;
}

.contact-cta {
    text-align: center;
    padding: 72px;
    background: linear-gradient(135deg, var(--color-anchor) 0%, var(--color-anchor-light) 100%);
    border-radius: 24px;
    position: relative;
    overflow: hidden;
}

.contact-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(rgba(13, 174, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(13, 174, 255, 0.05) 1px, transparent 1px);
    background-size: 30px 30px;
}

.contact-form {
    width: 100%;
    position: relative;
    z-index: 1;
}

.form-group {
    margin-bottom: 20px;
    text-align: left;
}

.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 16px 20px;
    font-size: 1rem;
    font-family: var(--font-family);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: var(--color-white);
    transition: all 0.3s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 0 3px rgba(13, 174, 255, 0.2);
}

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

.contact-form .btn {
    width: 100%;
    margin-top: 8px;
}

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

.form-success {
    padding: 40px 20px;
    text-align: center;
}

.success-message {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-primary);
}

.contact-cta .btn {
    animation: none;
    position: relative;
    z-index: 1;
}

.contact-note {
    margin-top: 24px;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.6);
    position: relative;
    z-index: 1;
}


/* Footer */
.footer {
    background: linear-gradient(135deg, #061a24 0%, #030d12 100%);
    color: var(--color-white);
    padding: 100px 0 48px;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-primary), transparent);
}

.footer-content {
    text-align: center;
    margin-bottom: 48px;
}

.footer-logo {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: -0.03em;
}

.footer-tagline {
    color: var(--color-primary);
    font-size: 1.125rem;
    font-weight: 500;
    margin-bottom: 16px;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-bottom: 16px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--color-primary);
    text-decoration: underline;
}

.footer-copy {
    text-align: center;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.3);
    padding-top: 48px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    .nav-links {
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: flex-start;
        background: rgba(6, 26, 36, 0.98);
        padding: 24px;
        gap: 12px;
        border-bottom: 1px solid rgba(13, 174, 255, 0.2);
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        pointer-events: none;
        transition: max-height 0.3s ease, opacity 0.3s ease;
    }

    .nav-links.open {
        max-height: 500px;
        opacity: 1;
        pointer-events: auto;
    }

    .nav-links li {
        width: 100%;
    }

    .nav-links a {
        width: 100%;
        display: block;
        padding: 10px 0 10px 12px;
        font-size: 1.05rem;
    }

    .nav {
        background: rgba(13, 60, 80, 0.98);
    }
}

/* Responsive */
@media (max-width: 968px) {
    .about::before {
        display: none;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 56px;
    }

    .background::before {
        display: none;
    }

    .background-content {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .background-highlights {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .principles::before {
        display: none;
    }

    .principles-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .principle:nth-child(2),
    .principle:nth-child(5) {
        transform: none;
    }

    .principle:nth-child(2):hover,
    .principle:nth-child(5):hover {
        transform: translateY(-8px);
    }

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

    .testimonial:nth-child(2),
    .testimonial:nth-child(4) {
        transform: none;
    }

    .testimonial:nth-child(2):hover,
    .testimonial:nth-child(4):hover {
        transform: translateY(-8px);
    }

    .contact::before {
        display: none;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .quote-section {
        clip-path: none;
        margin: 0;
    }

    .quote-section.alt {
        clip-path: none;
    }
}

@media (max-width: 640px) {
    .section {
        padding: 100px 0;
    }

    .section h2 {
        font-size: 2.25rem;
    }

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

    .hero {
        padding: 120px 24px 80px;
    }

    .quote-section {
        padding: 100px 24px;
    }

    .service-card {
        padding: 36px;
    }

    .principle {
        padding: 32px;
    }

    .testimonial {
        padding: 32px;
    }

    .contact-cta {
        padding: 48px 32px;
    }

    .services {
        padding-top: 120px;
    }

    .testimonials {
        padding-top: 120px;
    }

    .background-highlights {
        grid-template-columns: 1fr;
    }

    .highlight {
        padding: 24px;
    }
}
