/* --- Global Styles --- */
:root {
    --primary-color: #00589e;
	--primary-color2: #7dc023;
    --accent-color: #8cc63f; 
    --secondary-color: #f8f9fa;
    --text-dark: #2d3436;
    --text-light: #636e72;
    --white: #ffffff;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Noto Sans KR', sans-serif;
    line-height: 1.7;
    color: var(--text-dark);
    background-color: var(--white);
 
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
a { text-decoration: none; color: inherit; }


/* --- Hero Section --- */
.hero {
    position: relative;
    height: 80vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    background: url('/images/avif/main.avif') center/cover no-repeat;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.4);
}

.hero-content { position: relative; z-index: 1; max-width: 800px; }
.hero h1 { font-size: 3.5rem; line-height: 1.2; font-weight: 700; }
.hero p { font-size: 1.2rem; margin-top: 15px; opacity: 0.9; }

.hero-btns { margin-top: 30px; }
.btn-primary {
    display: inline-block;
    padding: 15px 35px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 5px;
    margin-right: 15px;
    font-weight: 600;
}

.btn-secondary {
    display: inline-block;
    padding: 15px 35px;
    background: rgba(255,255,255,0.2);
    border: 1px solid var(--white);
    color: var(--white);
    border-radius: 5px;
    backdrop-filter: blur(5px);
}

/* 나머지 섹션 스타일(Card 등)은 기존과 동일하므로 유지하시면 됩니다 */
/* --- Section Styling --- */
.section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.underline {
    width: 50px;
    height: 3px;
    background: var(--primary-color);
    margin: 0 auto 20px;
}

/* --- Grid & Cards --- */
.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.card {
    background: var(--white);
    padding: 50px 30px;
    border-radius: 15px;
    text-align: center;
    border: 1px solid #f0f0f0;
    transition: var(--transition);
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
    border-color: var(--primary-color);
}

.card-icon {
    font-size: 1.5rem;
    font-weight: 800;
    color: #e0e0e0;
    margin-bottom: 20px;
}

.card h3 {
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.card p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* --- CTA Section --- */
.cta-section {
    background: var(--secondary-color);
    padding: 80px 0;
    text-align: center;
}

.phone-num {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-top: 20px;
}

/* --- Footer --- */
footer {
    background: #222;
    color: #999;
    padding: 60px 0 30px;
    font-size: 0.9rem;
}

.footer-info {
    margin-bottom: 40px;
    text-align: center;
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 20px;
    text-align: center;
}

/* --- Responsive Adjustments --- */
@media (max-width: 991px) {
    .hero h1 { font-size: 2.8rem; }
}

@media (max-width: 768px) {
    .hero { height: 70vh; }
    .hero h1 { font-size: 2.2rem; }
    .hero-btns { display: flex; flex-direction: column; gap: 10px; align-items: center; }
    .hero-btns .btn-primary, .hero-btns .btn-secondary { margin-right: 0; width: 90%; }
    
    .section { padding: 60px 0; }
    .section-header h2 { font-size: 2rem; }
}