﻿/* ============================================
   湲濡쒕쾶SQ?곌뎄???몄쿇媛?앹꽱????Design System
   ============================================ */

:root {
    /* Color Palette ??Teal / Deep Blue */
    --color-primary: #0d3b5c;
    --color-primary-light: #1a6b8a;
    --color-accent: #00b4c8;
    --color-accent-light: #7de0ec;
    --color-accent-glow: rgba(0, 180, 200, 0.25);
    --color-teal: #009faf;
    --color-white: #ffffff;
    --color-offwhite: #f4fbfc;
    --color-light: #e8f6f8;
    --color-gray-100: #d8edf0;
    --color-gray-300: #a0c4cc;
    --color-gray-500: #5d8d97;
    --color-gray-700: #2d5a65;
    --color-dark: #071e2e;
    --color-text: #1a3a4a;
    --color-text-light: #4a7080;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #0d3b5c 0%, #1a6b8a 50%, #0d3b5c 100%);
    --gradient-accent: linear-gradient(135deg, #00b4c8 0%, #7de0ec 100%);
    --gradient-dark: linear-gradient(180deg, #071e2e 0%, #0d3040 100%);
    --gradient-hero-overlay: linear-gradient(180deg,
            rgba(7, 30, 46, 0.65) 0%,
            rgba(13, 59, 92, 0.82) 50%,
            rgba(7, 30, 46, 0.95) 100%);

    /* Typography */
    --font-primary: 'Noto Sans KR', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display: 'Playfair Display', Georgia, serif;
    --font-accent: 'Inter', 'Noto Sans KR', sans-serif;

    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2.5rem;
    --space-xl: 4rem;
    --space-2xl: 6rem;
    --space-3xl: 8rem;

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 32px;
    --radius-full: 50%;

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 100, 140, 0.06);
    --shadow-md: 0 4px 16px rgba(0, 100, 140, 0.1);
    --shadow-lg: 0 8px 32px rgba(0, 100, 140, 0.14);
    --shadow-xl: 0 16px 48px rgba(0, 100, 140, 0.18);
    --shadow-glow: 0 0 40px rgba(0, 180, 200, 0.2);

    /* Transitions */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-spring: 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ============================================
   Reset & Base
   ============================================ */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    scroll-padding-top: 70px;
}

body {
    font-family: var(--font-primary);
    color: var(--color-text);
    background-color: var(--color-offwhite);
    line-height: 1.7;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

/* ============================================
   Container
   ============================================ */
.container {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

/* ============================================
   Navbar
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: var(--space-sm) 0;
    transition: all var(--transition-base);
    background: transparent;
}

.navbar.scrolled {
    background: rgba(7, 30, 46, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 0.6rem 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-md);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: var(--color-white);
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: -0.02em;
}

.logo-sq-icon {
    background: var(--gradient-accent);
    color: var(--color-primary);
    font-weight: 900;
    font-size: 0.9rem;
    padding: 0.25rem 0.55rem;
    border-radius: var(--radius-sm);
    letter-spacing: 0.05em;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: var(--space-xs);
    align-items: center;
}

.nav-link {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.88rem;
    font-weight: 500;
    padding: 0.5rem 0.75rem;
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--color-accent);
    transition: width var(--transition-base);
    border-radius: 2px;
}

.nav-link:hover {
    color: var(--color-white);
}

.nav-link:hover::after {
    width: 60%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    z-index: 1001;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-white);
    border-radius: 2px;
    transition: all var(--transition-base);
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: url('images/hero-background.png') center/cover no-repeat;
    transform: scale(1.05);
    animation: heroZoom 20s ease-in-out infinite alternate;
}

@keyframes heroZoom {
    0% { transform: scale(1.05); }
    100% { transform: scale(1.15); }
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: var(--gradient-hero-overlay);
}

.hero-particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(0, 180, 200, 0.5);
    border-radius: 50%;
    animation: float linear infinite;
}

@keyframes float {
    0% { transform: translateY(100vh) scale(0); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translateY(-20vh) scale(1); opacity: 0; }
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 0 var(--space-md);
    animation: fadeInUp 1.2s ease-out;
}

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

.hero-badge {
    display: inline-block;
    background: rgba(0, 180, 200, 0.2);
    border: 1px solid rgba(0, 180, 200, 0.4);
    color: var(--color-accent-light);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    padding: 0.4rem 1.2rem;
    border-radius: var(--radius-xl);
    margin-bottom: var(--space-md);
    text-transform: uppercase;
}

.hero-title {
    margin-bottom: var(--space-sm);
}

.hero-title-en {
    display: block;
    font-family: var(--font-display);
    font-size: clamp(3.5rem, 10vw, 7rem);
    font-weight: 700;
    color: var(--color-accent);
    letter-spacing: 0.1em;
    line-height: 1;
    text-shadow: 0 0 60px rgba(0, 180, 200, 0.4);
}

.hero-title-kr {
    display: block;
    font-size: clamp(1.4rem, 4vw, 2.2rem);
    font-weight: 700;
    color: var(--color-white);
    letter-spacing: -0.02em;
    line-height: 1.4;
    margin-top: 0.5rem;
}

.hero-subtitle {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.65);
    font-weight: 400;
    letter-spacing: 0.25em;
    margin-bottom: var(--space-md);
}

.hero-verse {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 2;
    font-style: italic;
    max-width: 560px;
    margin: 0 auto var(--space-xl);
    font-weight: 300;
}

.hero-cta {
    display: flex;
    gap: var(--space-sm);
    justify-content: center;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 2rem;
    font-family: var(--font-primary);
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: var(--radius-xl);
    cursor: pointer;
    transition: all var(--transition-base);
    border: none;
    letter-spacing: -0.01em;
}

.btn-primary {
    background: var(--gradient-accent);
    color: var(--color-primary);
    box-shadow: 0 4px 20px rgba(0, 180, 200, 0.35);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 180, 200, 0.5);
}

.btn-outline {
    background: transparent;
    color: var(--color-white);
    border: 1.5px solid rgba(255, 255, 255, 0.35);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.55);
    transform: translateY(-2px);
}

.btn-outline-dark {
    background: transparent;
    color: var(--color-primary);
    border: 1.5px solid var(--color-gray-300);
}

.btn-outline-dark:hover {
    background: var(--color-primary);
    color: var(--color-white);
    border-color: var(--color-primary);
    transform: translateY(-2px);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s ease-in-out infinite;
}

.scroll-arrow {
    width: 24px;
    height: 24px;
    border-right: 2px solid rgba(0, 180, 200, 0.5);
    border-bottom: 2px solid rgba(0, 180, 200, 0.5);
    transform: rotate(45deg);
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(10px); }
}

/* ============================================
   Section Common
   ============================================ */
.section {
    padding: var(--space-3xl) 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-xl);
}

.section-tag {
    display: inline-block;
    font-family: var(--font-accent);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.25em;
    color: var(--color-accent);
    text-transform: uppercase;
    margin-bottom: var(--space-xs);
}

.section-header.light .section-tag {
    color: var(--color-accent-light);
}

.section-title {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--color-text);
    line-height: 1.3;
}

.section-header.light .section-title {
    color: var(--color-white);
}

.section-divider {
    width: 50px;
    height: 3px;
    background: var(--gradient-accent);
    margin: var(--space-sm) auto;
    border-radius: 3px;
}

.section-desc {
    font-size: 1rem;
    color: var(--color-text-light);
    margin-top: var(--space-xs);
    font-weight: 400;
}

.section-desc.light {
    color: rgba(255, 255, 255, 0.7);
}

/* ============================================
   Glass Card
   ============================================ */
.glass-card {
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.55);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
}

.glass-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

/* ============================================
   About Section
   ============================================ */
.about {
    background: var(--color-offwhite);
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
    margin-bottom: var(--space-xl);
}

.about-card {
    padding: var(--space-lg);
    text-align: center;
}

.about-icon {
    font-size: 2.8rem;
    margin-bottom: var(--space-sm);
}

.about-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: var(--space-sm);
    color: var(--color-primary);
}

.about-card p {
    font-size: 0.92rem;
    color: var(--color-text-light);
    line-height: 1.8;
}

/* SQ Intelligence Wheel */
.sq-wheel-section {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    box-shadow: var(--shadow-md);
    text-align: center;
}

.sq-wheel-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: var(--space-lg);
}

.sq-wheel-container {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-lg);
}

.sq-center-badge {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    color: var(--color-white);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    font-weight: 900;
    font-family: var(--font-accent);
    box-shadow: 0 0 30px rgba(0, 180, 200, 0.3);
    letter-spacing: 0.05em;
    flex-shrink: 0;
}

.sq-intelligence-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-sm);
    width: 100%;
}

.sq-intel-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    padding: var(--space-sm);
    background: var(--color-light);
    border-radius: var(--radius-md);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--color-primary);
    line-height: 1.4;
    text-align: center;
    transition: all var(--transition-base);
    border: 1px solid transparent;
}

.sq-intel-item:hover {
    background: var(--gradient-accent);
    color: var(--color-primary);
    border-color: var(--color-accent);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.sq-intel-icon {
    font-size: 1.5rem;
}

/* ============================================
   Vision (SQ Effects) Section
   ============================================ */
.vision {
    background: var(--gradient-primary);
    color: var(--color-white);
    overflow: hidden;
}

.vision-bg-pattern {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 20% 50%, rgba(0, 180, 200, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(0, 180, 200, 0.05) 0%, transparent 50%);
}

.vision-content {
    position: relative;
}

.vision-quote {
    text-align: center;
    margin-bottom: var(--space-xl);
    padding: var(--space-xl) var(--space-md);
}

.quote-mark {
    font-family: var(--font-display);
    font-size: 5rem;
    line-height: 1;
    color: var(--color-accent);
    opacity: 0.5;
    margin-bottom: -1.5rem;
}

.quote-text-kr {
    font-size: clamp(1.05rem, 2.5vw, 1.3rem);
    line-height: 2;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: var(--space-md);
}

.quote-text-en {
    font-family: var(--font-display);
    font-style: italic;
    font-size: 1.05rem;
    color: var(--color-accent);
    line-height: 1.8;
}

.vision-pillars {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
}

.pillar {
    padding: var(--space-lg);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    transition: all var(--transition-base);
}

.pillar:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.2);
    border-color: rgba(0, 180, 200, 0.3);
}

.pillar-number {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-accent);
    opacity: 0.4;
    margin-bottom: var(--space-xs);
}

.pillar h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: var(--space-sm);
}

.pillar p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.8;
}

/* ============================================
   Gospel (SQ Programs) Section
   ============================================ */
.gospel {
    background: var(--color-white);
}

.gospel-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto var(--space-xl);
    font-size: 1.1rem;
    color: var(--color-primary);
    font-weight: 500;
}

.gospel-qna {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
    margin-bottom: var(--space-xl);
}

.qna-item {
    background: var(--color-offwhite);
    padding: var(--space-lg);
    flex-direction: column;
}

.q-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: var(--space-sm);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.q-mark {
    color: var(--color-accent);
    font-size: 1.3rem;
}

.a-text {
    font-size: 0.93rem;
    color: var(--color-text);
    margin-bottom: var(--space-sm);
    line-height: 1.8;
}

.a-verse {
    font-size: 0.85rem;
    color: var(--color-gray-700);
    font-weight: 600;
    padding: 0.6rem 1rem;
    border-left: 3px solid var(--color-accent);
    background: var(--color-light);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.gospel-conclusion {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: var(--space-lg);
    background: rgba(0, 180, 200, 0.08);
    border-radius: var(--radius-lg);
}

.gospel-conclusion p {
    font-size: 1rem;
    color: var(--color-text);
    margin-bottom: var(--space-sm);
}

.gospel-highlight {
    font-size: 1.15rem !important;
    font-weight: 700;
    color: var(--color-primary) !important;
    margin-bottom: 0 !important;
}

/* ============================================
   Ministry (Counseling) Section
   ============================================ */
.ministry {
    background: var(--color-light);
}

.ministry-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--space-xl);
    margin-bottom: var(--space-xl);
}

.ministry-card {
    padding: var(--space-xl);
}

.ministry-icon {
    font-size: 3rem;
    margin-bottom: var(--space-sm);
}

.ministry-card h3 {
    font-size: 1.35rem;
    color: var(--color-primary);
    margin-bottom: var(--space-sm);
    line-height: 1.4;
}

.ministry-card h3 span {
    font-size: 1rem;
    color: var(--color-gray-500);
    font-weight: 500;
}

.ministry-card-intro {
    font-size: 0.95rem;
    color: var(--color-text);
    margin-bottom: var(--space-lg);
    font-style: italic;
}

.ministry-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.list-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.6);
    padding: var(--space-md);
    border-radius: var(--radius-md);
}

.list-vector-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 5px;
}

.list-item>div {
    width: 100%;
}

.list-item strong {
    color: var(--color-primary);
    display: block;
    margin-bottom: 0.5rem;
    text-align: left;
}

.list-item p {
    font-size: 0.85rem;
    margin: 0;
    color: var(--color-text-light);
    text-align: left;
    line-height: 1.7;
}

/* Counseling CTA Card */
.counseling-cta {
    margin-top: var(--space-xl);
}

.cta-card {
    padding: var(--space-xl);
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.cta-card h3 {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--color-primary);
    margin-bottom: var(--space-sm);
}

.cta-card p {
    color: var(--color-text-light);
    margin-bottom: var(--space-lg);
    line-height: 1.8;
}

.cta-buttons {
    display: flex;
    gap: var(--space-sm);
    justify-content: center;
    flex-wrap: wrap;
}

/* ============================================
   Sermon (Director) Section
   ============================================ */
.sermon {
    background: var(--color-offwhite);
}

.director-content {
    margin-bottom: var(--space-xl);
}

.director-card {
    padding: var(--space-xl);
    max-width: 800px;
    margin: 0 auto;
}

.director-profile {
    display: flex;
    align-items: center;
    gap: var(--space-xl);
    margin-bottom: var(--space-lg);
    padding-bottom: var(--space-lg);
    border-bottom: 1px solid var(--color-gray-100);
}

.director-photo-wrap {
    width: 130px;
    height: 130px;
    border-radius: var(--radius-full);
    overflow: hidden;
    flex-shrink: 0;
    border: 4px solid var(--color-accent);
    box-shadow: 0 0 0 4px rgba(0, 180, 200, 0.15), 0 8px 30px rgba(0, 100, 140, 0.2);
}

.director-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.director-credentials {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-sm);
    margin-bottom: var(--space-lg);
    padding: var(--space-md);
    background: var(--color-offwhite);
    border-radius: var(--radius-md);
}

.cred-item {
    display: flex;
    gap: 0.8rem;
    align-items: flex-start;
}

.cred-icon {
    font-size: 1.4rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.cred-item strong {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 0.3rem;
}

.cred-item p {
    font-size: 0.82rem;
    color: var(--color-text-light);
    line-height: 1.7;
    margin: 0 !important;
}

.chip-process {
    background: rgba(0, 180, 200, 0.1);
    border: 1px dashed var(--color-accent);
    color: var(--color-primary-light);
    font-style: italic;
}

.director-info h3 {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--color-primary);
    margin-bottom: 0.3rem;
}

.director-title {
    color: var(--color-accent);
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: var(--space-sm);
}

.director-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.director-bio p {
    color: var(--color-text-light);
    line-height: 1.9;
    margin-bottom: var(--space-sm);
    font-size: 0.95rem;
}

.director-bio strong {
    color: var(--color-primary);
}

/* Institute Grid */
.institute-section {
    text-align: center;
}

.inst-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: var(--space-lg);
}

.institute-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
}

.inst-card {
    background: var(--color-white);
    border-radius: var(--radius-md);
    padding: var(--space-lg);
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
    border: 1px solid var(--color-gray-100);
}

.inst-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--color-accent);
}

.inst-icon {
    font-size: 2rem;
    margin-bottom: 0.8rem;
}

.inst-card h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 0.4rem;
}

.inst-card p {
    font-size: 0.82rem;
    color: var(--color-text-light);
    line-height: 1.6;
}

/* ============================================
   Community Section
   ============================================ */
.community {
    background: var(--gradient-primary);
    color: var(--color-white);
}

.community-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-md);
}

.community-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-md);
    padding: var(--space-xl) var(--space-md);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
    cursor: pointer;
    text-align: center;
}

.community-card:hover {
    background: rgba(255, 255, 255, 0.13);
    border-color: rgba(0, 180, 200, 0.35);
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.25);
}

.community-card-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    overflow: hidden;
    flex-shrink: 0;
}

.community-card-info h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 2px;
    color: var(--color-white);
}

.community-card-info p {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.5);
}

.community-arrow {
    display: none;
}

/* ============================================
   Contact Section
   ============================================ */
.contact {
    background: var(--color-offwhite);
}

.contact-info {
    max-width: 600px;
    margin: 0 auto;
    padding: var(--space-xl);
}

.contact-item {
    display: flex;
    gap: var(--space-md);
    align-items: flex-start;
    margin-bottom: var(--space-lg);
}

.contact-item:last-child {
    margin-bottom: 0;
}

.contact-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-light);
    border-radius: var(--radius-md);
}

.contact-item h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 4px;
}

.contact-item p {
    font-size: 0.9rem;
    color: var(--color-text-light);
    line-height: 1.7;
}

/* ============================================
   Footer
   ============================================ */
.footer {
    background: var(--color-dark);
    color: rgba(255, 255, 255, 0.6);
    padding: var(--space-xl) 0 var(--space-lg);
}

.footer-content {
    text-align: center;
}

.footer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: var(--space-md);
}

.footer-copy {
    font-size: 0.8rem;
    margin-bottom: 0.3rem;
}

.footer-denomination {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.35);
}

/* ============================================
   Chip / Tags
   ============================================ */
.chip {
    display: inline-block;
    padding: 0.4rem 0.9rem;
    background: var(--color-light);
    border-radius: var(--radius-xl);
    font-size: 0.82rem;
    color: var(--color-primary);
    font-weight: 600;
    transition: all var(--transition-fast);
    border: 1px solid var(--color-gray-100);
}

.chip:hover {
    background: var(--gradient-accent);
    border-color: var(--color-accent);
}

/* ============================================
   Reveal Animations
   ============================================ */
.reveal-up,
.reveal-left,
.reveal-right {
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-up {
    transform: translateY(50px);
}

.reveal-left {
    transform: translateX(-50px);
}

.reveal-right {
    transform: translateX(50px);
}

.reveal-up.revealed,
.reveal-left.revealed,
.reveal-right.revealed {
    opacity: 1;
    transform: translate(0, 0);
}

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 992px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: var(--space-sm);
    }

    .vision-pillars {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-sm);
    }

    .sq-intelligence-grid {
        grid-template-columns: repeat(4, 1fr);
    }

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

    .director-profile {
        flex-direction: column;
        text-align: center;
    }

    .director-tags {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 15px;
    }

    .section {
        padding: var(--space-2xl) 0;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 75%;
        max-width: 320px;
        height: 100vh;
        background: rgba(7, 30, 46, 0.97);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        padding: var(--space-xl);
        gap: var(--space-sm);
        transition: right var(--transition-base);
        box-shadow: -8px 0 30px rgba(0, 0, 0, 0.3);
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-link {
        font-size: 1.15rem;
        padding: 0.8rem;
    }

    .gospel-qna {
        grid-template-columns: 1fr;
    }

    .vision-pillars {
        grid-template-columns: 1fr;
    }

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

    .community-card {
        flex-direction: row;
        text-align: left;
        padding: var(--space-md) var(--space-lg);
        justify-content: flex-start;
    }

    .community-arrow {
        display: block;
        margin-left: auto;
    }

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

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

    .hero-cta {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }

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

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .cta-buttons .btn {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    :root {
        --space-3xl: 5rem;
    }

    html {
        font-size: 14px;
    }

    .hero-verse {
        font-size: 0.9rem;
    }

    .contact-info {
        padding: var(--space-md);
    }

    .contact-item {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .contact-item>div {
        text-align: center !important;
    }
}
/* ============================================
   Custom Sections
   ============================================ */
.center-grid {
    max-width: 900px;
    margin: 0 auto;
}

.test-section {
    display: grid;
    gap: var(--space-lg);
}

.test-group {
    padding: var(--space-xl);
    border: 1px solid rgba(13, 59, 92, 0.08);
}

.test-group-head {
    margin-bottom: var(--space-lg);
    text-align: center;
}

.test-group-head p {
    color: var(--color-text-light);
}

.test-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.8rem;
    padding: 0.5rem 1rem;
    border-radius: 999px;
    background: rgba(13, 59, 92, 0.08);
    color: var(--color-primary);
    font-size: 0.9rem;
    font-weight: 700;
}

.test-pill-accent {
    background: rgba(0, 180, 200, 0.14);
    color: var(--color-teal);
}

.test-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-md);
}

.test-grid-single {
    grid-template-columns: minmax(0, 1fr);
    max-width: 520px;
    margin: 0 auto;
}

.test-card {
    padding: var(--space-md);
    border-radius: var(--radius-lg);
    background: linear-gradient(180deg, rgba(255,255,255,0.92), rgba(232,246,248,0.92));
    border: 1px solid rgba(13, 59, 92, 0.08);
    box-shadow: var(--shadow-sm);
    text-align: left;
}

.test-card h3 {
    margin-bottom: 0.55rem;
    color: var(--color-primary);
    font-size: 1.05rem;
}

.test-card p {
    color: var(--color-text-light);
}

.program-flow {
    margin-top: var(--space-xl);
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--space-md);
}

.program-step {
    padding: var(--space-lg);
    text-align: center;
}

.program-step strong {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--color-primary);
    font-size: 1.05rem;
}

.credibility-summary {
    padding: var(--space-xl);
    margin-bottom: var(--space-lg);
    text-align: center;
}

.credibility-grid .about-icon {
    font-size: 0.95rem;
    font-weight: 800;
}

.community-sq-icon {
    background: linear-gradient(135deg, #0f5c8a, #1a9db0);
    color: white;
    font-weight: 900;
}

.community-maum-icon {
    background: linear-gradient(135deg, #00b4c8, #007a8a);
    color: white;
    font-weight: 800;
    line-height: 1.15;
    font-size: 0.8rem;
}

.community-blog-icon {
    background: #03c75a;
    color: white;
    font-weight: 900;
}

.contact-link {
    color: var(--color-primary);
    font-weight: 700;
}

.contact-link:hover {
    color: var(--color-accent);
}

@media (max-width: 992px) {
    .test-grid,
    .program-flow {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .section-header,
    .section-desc,
    .about-card,
    .pillar,
    .test-card,
    .test-group,
    .program-step,
    .credibility-summary,
    .inst-card,
    .director-card,
    .community-card,
    .community-card-info,
    .contact-info,
    .footer-content {
        text-align: center;
    }

    .test-group,
    .credibility-summary,
    .program-step {
        padding: var(--space-lg);
    }

    .community-card {
        justify-content: center;
        flex-direction: column;
        gap: 1rem;
    }

    .community-arrow {
        margin-left: 0;
    }

    .contact-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .contact-item > div {
        text-align: center !important;
    }

    .director-top,
    .director-tags,
    .hero-content,
    .sq-wheel-title {
        text-align: center;
    }

    .director-tags {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-title-kr {
        font-size: clamp(2rem, 9vw, 2.8rem);
    }

    .hero-subtitle,
    .hero-verse,
    .section-desc,
    .test-card p,
    .pillar p,
    .about-card p,
    .contact-item p {
        word-break: keep-all;
    }
}

/* ============================================
   Global Center Align Override
   ============================================ */
body,
.section-header,
.section-desc,
.hero-content,
.about-card,
.pillar,
.test-group,
.test-group-head,
.test-card,
.program-step,
.credibility-summary,
.director-card,
.director-name-block,
.director-bio,
.inst-card,
.community-card,
.community-card-info,
.contact-info,
.contact-item,
.footer-content {
    text-align: center;
}

.hero-content,
.section-header,
.test-group-head,
.director-content,
.contact-content,
.footer-content {
    align-items: center;
}

.about-card,
.pillar,
.test-card,
.program-step,
.inst-card,
.community-card,
.contact-item {
    justify-content: center;
}

.hero-cta,
.cta-buttons,
.director-tags,
.footer-logo {
    justify-content: center;
}

.contact-item,
.community-card {
    flex-direction: column;
}

.community-arrow {
    margin-left: 0;
}

.contact-item > div,
.community-card-info {
    text-align: center !important;
}

/* ============================================
   Director Photo Override
   ============================================ */
.director-photo-wrap {
    width: min(100%, 320px);
    max-width: 320px;
    aspect-ratio: 4 / 5;
    border-radius: 28px;
    overflow: hidden;
    margin: 0 auto 1.5rem;
    box-shadow: 0 18px 40px rgba(7, 30, 46, 0.18);
    background: linear-gradient(180deg, rgba(255,255,255,0.9), rgba(232,246,248,0.9));
}

.director-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
}

@media (max-width: 768px) {
    .director-photo-wrap {
        width: min(100%, 280px);
        max-width: 280px;
        border-radius: 24px;
    }
}

/* ============================================
   Director Photo Square Fix
   ============================================ */
.director-photo-wrap {
    width: min(100%, 320px);
    max-width: 320px;
    aspect-ratio: 1 / 1;
    border-radius: 28px;
    overflow: hidden;
    margin: 0 auto 1.5rem;
    box-shadow: 0 18px 40px rgba(7, 30, 46, 0.18);
    background: linear-gradient(180deg, rgba(255,255,255,0.96), rgba(232,246,248,0.96));
    display: flex;
    align-items: center;
    justify-content: center;
}

.director-photo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    border-radius: 0;
}

@media (max-width: 768px) {
    .director-photo-wrap {
        width: min(100%, 280px);
        max-width: 280px;
        aspect-ratio: 1 / 1;
        border-radius: 24px;
    }
}

/* ============================================
   Director Photo Final Size Fix
   ============================================ */
.director-photo-wrap {
    width: 320px;
    height: 320px;
    max-width: min(320px, 100%);
    aspect-ratio: auto;
    border-radius: 28px;
    overflow: hidden;
    margin: 0 auto 1.5rem;
    padding: 14px;
    box-shadow: 0 18px 40px rgba(7, 30, 46, 0.18);
    background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(244,251,252,0.98));
    display: flex;
    align-items: center;
    justify-content: center;
}

.director-photo {
    width: auto;
    max-width: 100%;
    height: 100%;
    max-height: 100%;
    object-fit: contain;
    object-position: center;
    border-radius: 0;
}

@media (max-width: 768px) {
    .director-photo-wrap {
        width: 280px;
        height: 280px;
        max-width: min(280px, 100%);
        border-radius: 24px;
        padding: 12px;
    }
}

/* ============================================
   Final Layout Refresh
   ============================================ */
.nav-link.active {
    color: var(--color-white);
}

.needs-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.needs-grid .sq-intel-item {
    min-height: 138px;
    justify-content: center;
}

.credibility-grid-secondary {
    margin-top: 1.5rem;
}

.institute-grid-four {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.institute-grid-four .inst-card {
    min-height: 290px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.director-card {
    max-width: 920px;
}

.director-photo-wrap {
    width: 280px;
    height: auto;
    aspect-ratio: 1124 / 1406;
    max-width: 100%;
    padding: 10px;
    border: 4px solid #1ab7cf;
    border-radius: 36px;
    background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(244,251,252,0.98));
    box-shadow: 0 18px 38px rgba(26, 183, 207, 0.16);
}

.director-photo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.director-career {
    margin-top: 1.8rem;
    padding: 1.5rem;
    background: linear-gradient(180deg, rgba(244,251,252,0.95), rgba(232,246,248,0.92));
    border: 1px solid rgba(13, 59, 92, 0.08);
}

.director-career h4 {
    color: var(--color-primary);
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.director-career-list {
    list-style: none;
    display: grid;
    gap: 0.8rem;
    padding: 0;
    margin: 0;
}

.director-career-list li {
    padding: 0.95rem 1rem;
    border-radius: 18px;
    background: rgba(255,255,255,0.9);
    color: var(--color-text);
    line-height: 1.7;
    border: 1px solid rgba(13, 59, 92, 0.06);
}

.contact-info {
    max-width: 920px;
}

.contact-action-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.contact-action-btn {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0.45rem;
    min-height: 180px;
    padding: 1.5rem;
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(232,246,248,0.95));
    border: 1px solid rgba(13, 59, 92, 0.08);
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
}

.contact-action-btn strong {
    font-size: 1.1rem;
    color: var(--color-primary);
}

.contact-action-btn em {
    font-style: normal;
    color: var(--color-text-light);
    font-size: 0.9rem;
}

.contact-action-label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 92px;
    padding: 0.45rem 0.9rem;
    border-radius: 999px;
    background: rgba(13, 59, 92, 0.08);
    color: var(--color-primary);
    font-weight: 700;
    font-size: 0.82rem;
}

.contact-action-btn:hover {
    border-color: rgba(0, 180, 200, 0.4);
    box-shadow: var(--shadow-lg);
}

.contact-action-kakao {
    background: linear-gradient(180deg, #fff8bf, #ffe95c);
    border-color: rgba(60, 50, 0, 0.12);
}

.contact-action-kakao .contact-action-label,
.contact-action-kakao strong,
.contact-action-kakao em {
    color: #2c2400;
}

.contact-action-kakao .contact-action-label {
    background: rgba(44, 36, 0, 0.1);
}

.contact-notice {
    margin-top: 1.25rem;
    padding: 1.25rem 1.4rem;
    border-radius: 22px;
    background: rgba(0, 180, 200, 0.08);
    color: var(--color-primary);
}

.contact-notice p {
    margin: 0;
    line-height: 1.8;
}

.contact-notice p + p {
    margin-top: 0.45rem;
}

.footer-denomination,
#community {
    display: none !important;
}

.hover-lift {
    transform-style: preserve-3d;
    will-change: transform, box-shadow;
}

.floating-card {
    animation: softFloat 4.8s ease-in-out infinite;
    animation-delay: var(--float-delay, 0s);
}

@keyframes softFloat {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-8px);
    }
}

@media (max-width: 992px) {
    .needs-grid,
    .institute-grid-four,
    .contact-action-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .institute-grid-four .inst-card {
        min-height: 240px;
    }
}

@media (max-width: 768px) {
    .needs-grid,
    .institute-grid-four,
    .contact-action-grid {
        grid-template-columns: 1fr;
    }

    .director-photo-wrap {
        width: 220px;
        border-radius: 30px;
    }

    .contact-action-btn {
        min-height: 150px;
    }

    .floating-card {
        animation-duration: 5.6s;
    }
}

/* ============================================
   Profile And Contact Refinement
   ============================================ */
.director-photo-wrap {
    width: 300px;
    max-width: 100%;
    aspect-ratio: auto;
    height: auto;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    display: block;
}

.director-photo {
    width: 100%;
    height: auto;
    max-height: none;
    object-fit: contain;
    object-position: center;
    display: block;
}

.contact-action-btn {
    position: relative;
    min-height: 190px;
    border-radius: 28px;
    background:
        radial-gradient(circle at top left, rgba(0, 180, 200, 0.12), transparent 42%),
        linear-gradient(180deg, rgba(255,255,255,0.98), rgba(241,250,252,0.98));
    border: 1px solid rgba(13, 59, 92, 0.08);
    box-shadow: 0 18px 35px rgba(7, 30, 46, 0.08);
    overflow: hidden;
}

.contact-action-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.26), transparent 55%);
    pointer-events: none;
}

.contact-action-btn strong {
    font-size: 1.18rem;
    letter-spacing: -0.02em;
}

.contact-action-btn em {
    font-size: 0.92rem;
}

.contact-action-label {
    background: rgba(13, 59, 92, 0.07);
    color: var(--color-primary);
    box-shadow: inset 0 0 0 1px rgba(13, 59, 92, 0.04);
}

.contact-action-btn:hover {
    border-color: rgba(0, 180, 200, 0.34);
    box-shadow: 0 24px 44px rgba(7, 30, 46, 0.14);
}

.contact-action-kakao,
.contact-action-kakao .contact-action-label,
.contact-action-kakao strong,
.contact-action-kakao em {
    background: unset;
    color: unset;
}

.contact-notice {
    background: rgba(13, 59, 92, 0.04);
}

@media (max-width: 768px) {
    .director-photo-wrap {
        width: 230px;
    }

    .contact-action-btn {
        min-height: 165px;
        border-radius: 24px;
    }
}

/* ============================================
   Media Features And Button Refresh
   ============================================ */
.media-feature {
    display: flex;
    margin-bottom: 2.5rem;
}

.media-feature.media-left {
    justify-content: flex-start;
}

.media-feature.media-right {
    justify-content: flex-end;
}

.media-feature-frame {
    width: min(100%, 760px);
    padding: 1rem;
    border-radius: 30px;
    background: linear-gradient(180deg, rgba(255,255,255,0.92), rgba(245,251,252,0.96));
}

.media-feature-video {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 22px;
    background: #dfeef2;
}

.media-feature-video iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.media-feature-caption {
    margin-top: 0.85rem;
    padding: 0 0.35rem;
    font-size: 0.9rem;
    line-height: 1.7;
    color: var(--color-text-light);
}

.btn {
    position: relative;
    padding: 0.95rem 1.55rem;
    border-radius: 999px;
    font-size: 0.94rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base), background-color var(--transition-base), color var(--transition-base);
}

.btn-primary {
    background: #ecfbfd;
    color: var(--color-primary);
    border: 1px solid rgba(0, 180, 200, 0.26);
    box-shadow: 0 14px 30px rgba(0, 180, 200, 0.12);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 34px rgba(0, 180, 200, 0.16);
    background: #f7feff;
}

.btn-outline {
    background: rgba(255, 255, 255, 0.08);
    color: var(--color-white);
    border: 1px solid rgba(255, 255, 255, 0.24);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.16);
    border-color: rgba(255, 255, 255, 0.38);
    transform: translateY(-3px);
}

.contact-action-grid {
    gap: 1.2rem;
}

.contact-action-btn {
    min-height: 176px;
    padding: 1.65rem;
    border-radius: 30px;
    background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(244,250,252,0.98));
    border: 1px solid rgba(13, 59, 92, 0.07);
    box-shadow: 0 20px 40px rgba(7, 30, 46, 0.08);
}

.contact-action-btn::before {
    background: radial-gradient(circle at top left, rgba(0, 180, 200, 0.1), transparent 42%);
}

.contact-action-btn strong {
    font-size: 1.12rem;
    color: var(--color-primary);
}

.contact-action-btn em {
    color: #6f8d98;
}

.contact-action-btn:hover {
    transform: translateY(-6px);
    border-color: rgba(0, 180, 200, 0.2);
    box-shadow: 0 24px 48px rgba(7, 30, 46, 0.12);
}

@media (max-width: 768px) {
    .media-feature {
        justify-content: center;
        margin-bottom: 2rem;
    }

    .media-feature-frame {
        padding: 0.8rem;
        border-radius: 24px;
    }

    .media-feature-video {
        border-radius: 18px;
    }

    .media-feature-caption {
        font-size: 0.84rem;
    }
}

/* ============================================
   Embedded Video Center Align Fix
   ============================================ */
.media-feature,
.media-feature.media-left,
.media-feature.media-right {
    justify-content: center;
}

.media-feature-frame {
    margin-left: auto;
    margin-right: auto;
}

/* ============================================
   Logo And Button Polish
   ============================================ */
.nav-logo {
    gap: 0.75rem;
}

.nav-logo-mark {
    width: 42px;
    height: 42px;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 6px 14px rgba(0, 180, 200, 0.12));
}

.logo-text {
    font-size: 1.02rem;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.btn {
    padding: 0.82rem 1.3rem;
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    box-shadow: none;
}

.btn-primary {
    background: rgba(255, 255, 255, 0.92);
    color: var(--color-primary);
    border: 1px solid rgba(0, 180, 200, 0.18);
    box-shadow: 0 10px 24px rgba(7, 30, 46, 0.08);
}

.btn-primary:hover {
    background: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(7, 30, 46, 0.1);
}

.btn-outline {
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 10px 24px rgba(7, 30, 46, 0.08);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.28);
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(7, 30, 46, 0.1);
}

.contact-action-btn {
    min-height: 164px;
    padding: 1.4rem 1.25rem;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(13, 59, 92, 0.06);
    box-shadow: 0 14px 28px rgba(7, 30, 46, 0.07);
}

.contact-action-btn::before {
    background: linear-gradient(180deg, rgba(0, 180, 200, 0.04), transparent 55%);
}

.contact-action-btn strong {
    font-size: 1rem;
    font-weight: 800;
}

.contact-action-btn em {
    font-size: 0.86rem;
    color: #758f99;
}

.contact-action-label {
    min-width: auto;
    padding: 0.35rem 0.8rem;
    background: rgba(13, 59, 92, 0.05);
    font-size: 0.76rem;
    letter-spacing: -0.01em;
}

.contact-action-btn:hover {
    transform: translateY(-4px);
    border-color: rgba(0, 180, 200, 0.16);
    box-shadow: 0 18px 32px rgba(7, 30, 46, 0.1);
}

@media (max-width: 768px) {
    .nav-logo-mark {
        width: 36px;
        height: 36px;
    }

    .logo-text {
        font-size: 0.96rem;
    }

    .btn {
        width: 100%;
        max-width: 240px;
    }
}

/* ============================================
   Logo Visibility And Test CTA
   ============================================ */
.nav-logo-mark {
    width: 48px;
    height: 48px;
    padding: 0.45rem;
    background: rgba(255, 255, 255, 0.96);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    box-shadow: 0 10px 24px rgba(7, 30, 46, 0.14);
}

.test-actions {
    margin-top: 1.35rem;
    display: flex;
    justify-content: center;
}

.btn-soft {
    background: rgba(236, 251, 253, 0.96);
    color: var(--color-primary);
    border: 1px solid rgba(0, 180, 200, 0.14);
}

.btn-soft:hover {
    background: #ffffff;
}

@media (max-width: 768px) {
    .nav-logo-mark {
        width: 42px;
        height: 42px;
        padding: 0.38rem;
    }
}

/* ============================================
   Mobile Grid Adjustment
   ============================================ */
@media (max-width: 768px) {
    .needs-grid,
    .test-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.85rem;
    }

    .needs-grid .sq-intel-item,
    .test-card {
        min-height: 132px;
    }

    .test-grid-single {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        max-width: none;
    }
}

@media (max-width: 420px) {
    .needs-grid,
    .test-grid,
    .test-grid-single {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* ============================================
   Sample-Inspired Button And Video Styles
   ============================================ */
.video-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    border-radius: 22px;
    overflow: hidden;
    background: #dfeef2;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.media-feature-video {
    background: transparent;
    aspect-ratio: auto;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-height: 46px;
    padding: 0.85rem 1.45rem;
    border-radius: 999px;
    font-size: 0.93rem;
    font-weight: 700;
    line-height: 1;
    box-shadow: 0 10px 24px rgba(7, 30, 46, 0.08);
}

.btn-primary,
.btn-soft {
    background: linear-gradient(180deg, #f4fdfe 0%, #e4f8fb 100%);
    color: var(--color-primary);
    border: 1px solid rgba(0, 180, 200, 0.18);
}

.btn-primary:hover,
.btn-soft:hover {
    background: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(7, 30, 46, 0.11);
}

.btn-outline {
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.22);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.34);
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(7, 30, 46, 0.11);
}

.btn-youtube {
    background: #ff0000;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.btn-youtube:hover {
    background: #e50000;
    transform: translateY(-2px);
}

.contact-action-btn {
    min-height: 160px;
    border-radius: 22px;
}

@media (max-width: 768px) {
    .video-wrapper {
        border-radius: 18px;
    }
}


/* ============================================
   Contact Notice Fine Tuning
   ============================================ */
.contact-notice p {
    font-size: 70%;
    opacity: 0.6;
}
