/*
Theme Name: OpstarPage
*/
.pt-0 {
  padding-top: 0 !important;
}

:root {
  /* Colors */
  --color-primary: #2563eb;
  --color-primary-dark: #1e40af;
  --color-secondary: #64748b;
  --color-accent: #3b82f6;
  --color-success: #10b981;
  --color-warning: #f59e0b;
  --color-error: #ef4444;

  /* Background Colors */
  --color-bg-primary: #f5f5f5;
  --color-bg-secondary: #f8fafc;
  --color-bg-tertiary: #f1f5f9;
  --color-bg-card: rgba(255, 255, 255, 0.9);
  --color-bg-overlay: rgba(15, 23, 42, 0.5);

  /* Text Colors */
  --color-text-primary: #0f172a;
  --color-text-secondary: #475569;
  --color-text-muted: #94a3b8;
  --color-text-inverse: #ffffff;

  /* Border Colors */
  --color-border: #e2e8f0;
  --color-border-light: #cbd5e1;

  /* Gradients */
  --gradient-primary: linear-gradient(135deg, #2563eb 0%, #3b82f6 50%, #0ea5e9 100%);
  --gradient-secondary: linear-gradient(135deg, #f8fafc 0%, #eff6ff 100%);
  --gradient-hero: linear-gradient(135deg, #ffffff 0%, #f0f7ff 50%, #eff6ff 100%);

  /* Spacing */
  --spacing-xs: 0.25rem;
  /* 4px */
  --spacing-sm: 0.5rem;
  /* 8px */
  --spacing-md: 1rem;
  /* 16px */
  --spacing-lg: 1.5rem;
  /* 24px */
  --spacing-xl: 2rem;
  /* 32px */
  --spacing-2xl: 3rem;
  /* 48px */
  --spacing-3xl: 4rem;
  /* 64px */
  --spacing-4xl: 6rem;
  /* 96px */

  /* Typography */
  --font-family-primary: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  --font-family-mono: 'SF Mono', Monaco, 'Cascadia Code', 'Roboto Mono', Consolas, 'Courier New', monospace;

  --font-size-xs: 0.75rem;
  /* 12px */
  --font-size-sm: 0.875rem;
  /* 14px */
  --font-size-base: 1rem;
  /* 16px */
  --font-size-lg: 1.125rem;
  /* 18px */
  --font-size-xl: 1.25rem;
  /* 20px */
  --font-size-2xl: 1.5rem;
  /* 24px */
  --font-size-3xl: 1.875rem;
  /* 30px */
  --font-size-4xl: 2.25rem;
  /* 36px */
  --font-size-5xl: 3rem;
  /* 48px */
  --font-size-6xl: 3.75rem;
  /* 60px */

  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;
  --font-weight-extrabold: 800;

  --line-height-tight: 1.25;
  --line-height-normal: 1.5;
  --line-height-relaxed: 1.75;

  /* Borders & Radius */
  --border-radius-sm: 0.375rem;
  /* 6px */
  --border-radius-md: 0.5rem;
  /* 8px */
  --border-radius-lg: 0.75rem;
  /* 12px */
  --border-radius-xl: 1rem;
  /* 16px */
  --border-radius-2xl: 1.5rem;
  /* 24px */
  --border-radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);

  /* Transitions */
  --transition-fast: 150ms ease-in-out;
  --transition-normal: 250ms ease-in-out;
  --transition-slow: 350ms ease-in-out;

  /* Z-Index */
  --z-dropdown: 1000;
  --z-sticky: 1020;
  --z-fixed: 1030;
  --z-modal-backdrop: 1040;
  --z-modal: 1050;
  --z-popover: 1060;
  --z-tooltip: 1070;

  /* Container Widths */
  --container-sm: 640px;
  --container-md: 768px;
  --container-lg: 1024px;
  --container-xl: 1280px;
  --container-2xl: 1536px;
}

/* ==========================================================================
   CSS Variables & Reset
   ========================================================================== */
/* CSS Reset */
*,
*::before,
*::after {
  box-sizing: border-box;
}

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@300;400;500;600;700&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Malgun Gothic', 'Apple SD Gothic Neo', 'Noto Sans KR', sans-serif;
  color: #333;
  line-height: 1.8;
  background: #fafafa;
}

a {
  text-decoration: none;
  color: inherit;
}


/* Hero Section */
.hero {
  background: linear-gradient(135deg, #b71c1c 0%, #d32f2f 40%, #e57373 100%);
  color: #fff;
  text-align: center;
  padding: 80px 24px;
  margin-top: 80px;
}

.hero h1 {
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.hero p {
  font-size: 16px;
  opacity: 0.9;
  margin-bottom: 28px;
}

.hero .btn-primary {
  display: inline-block;
  background: #fff;
  color: #d32f2f;
  padding: 14px 40px;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 700;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.hero .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(0, 0, 0, 0.25);
}

/* Content Wrapper */
.content-wrapper {
  max-width: 1150px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Content Wrapper */
.index{
  padding: 60px 24px !important;
}
/* Section Title */
.section-title {
  font-size: 14px;
  color: #d32f2f;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.content-wrapper h2 {
  font-size: 26px;
  font-weight: 800;
  color: #1a1a1a;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 2px solid #f0f0f0;
}

.content-wrapper h3 {
  font-size: 20px;
  font-weight: 700;
  color: #222;
  margin-top: 40px;
  margin-bottom: 12px;
  padding-left: 14px;
  border-left: 4px solid #d32f2f;
}

.content-wrapper p {
  font-size: 15px;
  color: #555;
  margin-bottom: 16px;
  line-height: 1.9;
}

/* Feature Cards */
.features-section {
  background: #fff;
  padding: 60px 24px;
}

.features-section .inner {
  max-width: 1100px;
  margin: 0 auto;
}

.features-section h2 {
  text-align: center;
  font-size: 28px;
  font-weight: 800;
  color: #1a1a1a;
  margin-bottom: 40px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: #fafafa;
  border: 1px solid #eee;
  border-radius: 16px;
  padding: 32px 24px;
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}

.feature-card .icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, #d32f2f, #e57373);
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: #fff;
  font-size: 24px;
}

.feature-card h4 {
  font-size: 17px;
  font-weight: 700;
  color: #222;
  margin-bottom: 8px;
}

.feature-card p {
  font-size: 13px;
  color: #777;
  line-height: 1.7;
}

/* Image Banner Section */
.banner-section {
  background: #f5f5f5;
  padding: 60px 24px;
}

.banner-section .inner {
  max-width: 1100px;
  margin: 0 auto;
}

.banner-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.banner-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  align-items: center;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  transition: transform 0.2s;
}

.banner-card:hover {
  transform: translateY(-3px);
}

.banner-card .banner-img {
  width: 180px;
  height: 180px;
  background: linear-gradient(135deg, #ddd, #bbb);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #999;
  font-size: 13px;
}

.banner-card .banner-info {
  padding: 24px;
}

.banner-card .banner-info .logo-tag {
  font-size: 18px;
  font-weight: 800;
  color: #d32f2f;
  margin-bottom: 6px;
}

.banner-card .banner-info p {
  font-size: 13px;
  color: #777;
}

/* FAQ Section */
.faq-section {
  background: #fff;
  padding: 60px 24px;
}

.faq-section .inner {
  max-width: 1150px;
  margin: 0 auto;
}

.faq-section h2 {
  text-align: center;
  font-size: 28px;
  font-weight: 800;
  color: #1a1a1a;
  margin-bottom: 12px;
}

.faq-section .subtitle {
  text-align: center;
  font-size: 14px;
  color: #888;
  margin-bottom: 40px;
}

.faq-item {
  border: 1px solid #eee;
  border-radius: 12px;
  margin-bottom: 12px;
  overflow: hidden;
  transition: box-shadow 0.2s;
}

.faq-item:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
}

.faq-question {
  background: #fafafa;
  padding: 18px 24px;
  font-size: 15px;
  font-weight: 700;
  color: #333;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
}

.faq-question .q-label {
  background: #d32f2f;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 20px;
  flex-shrink: 0;
}

.faq-answer {
  padding: 16px 24px;
  font-size: 14px;
  color: #666;
  line-height: 1.8;
  border-top: 1px solid #f0f0f0;
  display: flex;
  gap: 10px;
}

.faq-answer .a-label {
  background: #f5f5f5;
  color: #999;
  font-size: 12px;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 20px;
  flex-shrink: 0;
  height: fit-content;
}

/* Blog Cards Section */
.blog-section {
  background: #fafafa;
  padding: 60px 24px;
}

.blog-section .inner {
  max-width: 1150px;
  margin: 0 auto;
}

.blog-section h2 {
  text-align: center;
  font-size: 28px;
  font-weight: 800;
  color: #1a1a1a;
  margin-bottom: 40px;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.blog-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s, box-shadow 0.2s;
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
}

.blog-card .card-img {
  width: 100%;
  height: 200px;
  background: linear-gradient(135deg, #e0e0e0, #c0c0c0);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #999;
  font-size: 13px;
}

.blog-card .card-body {
  padding: 20px;
}

.blog-card .card-body h4 {
  font-size: 15px;
  font-weight: 700;
  color: #222;
  margin-bottom: 8px;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-card .card-body p {
  font-size: 13px;
  color: #888;
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 12px;
}

.blog-card .card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  border-top: 1px solid #f5f5f5;
  font-size: 12px;
  color: #aaa;
}

.blog-card .card-footer .views {
  display: flex;
  align-items: center;
  gap: 4px;
}

.blog-card .card-footer .like-btn {
  display: flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  transition: color 0.2s;
}

.blog-card .card-footer .like-btn:hover {
  color: #d32f2f;
}

/* CTA Banner */
.cta-banner {
  background: linear-gradient(135deg, #b71c1c 0%, #d32f2f 50%, #e57373 100%);
  padding: 60px 24px;
  text-align: center;
  color: #fff;
}

.cta-banner .inner {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 40px;
  justify-content: center;
}

.cta-banner .cta-img {
  width: 200px;
  height: 200px;
  /* background: rgba(255, 255, 255, 0.15); */
  border-radius: 20px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
}
.cta-banner .cta-img img {
  border-radius: 20px;
}

.cta-banner .cta-text h3 {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 8px;
}

.cta-banner .cta-text p {
  font-size: 14px;
  opacity: 0.85;
  line-height: 1.7;
}

.image-banner {
    position: relative;
    width: 100%;
    max-height: 500px;
    overflow: hidden;
    margin: 40px 0;
}

.image-banner .banner-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.image-banner .banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.45);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
    box-sizing: border-box;
}

.image-banner .banner-overlay h2 {
    color: #ffffff;
    font-size: 2rem;
    margin-bottom: 10px;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.6);
}

.image-banner .banner-overlay p {
    color: #f0f0f0;
    font-size: 1.1rem;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}
/* Contact Section */
.contact-section {
    background-color: #f8f9fa;
    padding: 80px 20px;
}

.contact-wrapper {
    max-width: 1100px;
    margin: 0 auto;
    margin-top: 50px;
}

.contact-header {
    text-align: center;
    margin-bottom: 50px;
}

.contact-header .section-title {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #888;
    margin-bottom: 10px;
}

.contact-header h2 {
    font-size: 32px;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 16px;
}

.contact-subtitle {
    font-size: 16px;
    color: #666;
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.7;
}

.contact-container {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

/* Info Cards */
.contact-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.info-card {
    background: #fff;
    border-radius: 12px;
    padding: 28px 24px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.info-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.info-icon {
    font-size: 28px;
    margin-bottom: 12px;
}

.info-card h3 {
    font-size: 18px;
    font-weight: 600;
    color: #1a1a2e;
    margin-bottom: 8px;
}

.info-card p {
    font-size: 16px;
    font-weight: 600;
    color: #2d6cdf;
    margin-bottom: 6px;
}

.info-detail {
    font-size: 13px;
    color: #999;
    line-height: 1.5;
}

/* Contact Form */
.contact-form-wrapper {
    flex: 1.4;
    background: #fff;
    border-radius: 12px;
    padding: 36px 32px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.contact-form .form-row {
    display: flex;
    gap: 16px;
}

.contact-form .form-row .form-group {
    flex: 1;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.form-group .required {
    color: #e74c3c;
}

.form-group input[type="text"],
.form-group input[type="tel"],
.form-group input[type="email"],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    font-size: 14px;
    color: #333;
    background: #f8f9fa;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    outline: none;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    box-sizing: border-box;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #2d6cdf;
    box-shadow: 0 0 0 3px rgba(45, 108, 223, 0.12);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-group select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23666' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    cursor: pointer;
}

.form-checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
}

.form-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #2d6cdf;
    cursor: pointer;
    flex-shrink: 0;
}

.form-checkbox label {
    display: inline;
    font-size: 13px;
    font-weight: 400;
    color: #666;
    margin-bottom: 0;
    cursor: pointer;
}

.submit-btn {
    display: block;
    width: 100%;
    padding: 14px;
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(135deg, #2d6cdf, #1a4fa0);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
    margin-top: 8px;
}

.submit-btn:hover {
    background: linear-gradient(135deg, #1a4fa0, #14397a);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(45, 108, 223, 0.3);
}

.submit-btn:active {
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 768px) {
    .contact-container {
        flex-direction: column;
    }

    .contact-info {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .info-card {
        flex: 1;
        min-width: 240px;
    }

    .contact-form-wrapper {
        padding: 28px 20px;
        width: 100%;
    }

    .contact-form .form-row {
        flex-direction: column;
        gap: 0;
    }

    .contact-header h2 {
        font-size: 26px;
    }
}

@media (max-width: 480px) {
    .contact-section {
        padding: 50px 16px;
    }

    .info-card {
        min-width: 100%;
    }

    .contact-header h2 {
        font-size: 22px;
    }
}
@media (max-width: 768px) {
    .image-banner .banner-overlay h2 {
        font-size: 1.4rem;
    }

    .image-banner .banner-overlay p {
        font-size: 0.95rem;
    }
}
/* Responsive */
@media (max-width: 768px) {
  nav ul {
    gap: 16px;
  }

  nav ul li a {
    font-size: 12px;
  }

  .hero h1 {
    font-size: 26px;
  }

  .features-grid,
  .blog-grid {
    grid-template-columns: 1fr;
  }

  .banner-grid {
    grid-template-columns: 1fr;
  }

  .banner-card .banner-img {
    width: 140px;
    height: 140px;
  }

  .cta-banner .inner {
    flex-direction: column;
  }

  .footer-links {
    flex-direction: column;
    gap: 8px;
  }
}

@media (max-width: 480px) {
  .nav-container {
    flex-direction: column;
    height: auto;
    padding: 12px;
    gap: 8px;
  }

  nav ul {
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
  }
}