/* Global Styles */
:root {
    --primary-color: #FFBF34;
    --secondary-color: #365B59;
    --text-color: #333;
    --light-bg: #f8f9fa;
}

body {
    font-family: 'Noto Sans KR', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    word-break: keep-all;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* Text content areas */
p, h1, h2, h3, h4, h5, h6, .card-text, .lead, .display-4 {
    word-break: keep-all;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* Form elements */
input, textarea, select, button {
    word-break: keep-all;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* Navigation */
.navbar {
    padding: 0.5rem 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.navbar-brand img {
    max-height: 32px;
    transition: all 0.3s ease;
}

.nav-link {
    color: var(--text-color) !important;
    font-weight: 500;
    padding: 0.35rem 1rem !important;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-color) !important;
}

/* Hero Section */
#hero {
    padding-top: 120px;
    background: linear-gradient(135deg, #fff 0%, var(--light-bg) 100%);
}

.display-4 {
    color: var(--secondary-color);
    font-weight: 700;
    line-height: 1.2;
}

/* Services Section */
.card {
    border: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 10px;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.card-title {
    color: var(--secondary-color);
    font-weight: 600;
}

/* Pricing Section */
.pricing-card {
    border: 1px solid #e9ecef;
    border-radius: 12px;
    padding: 30px;
    transition: all 0.3s ease;
    background: white;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.pricing-card .card-title {
    color: #365B59;
    font-weight: 600;
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.pricing-card .card-price {
    font-size: 2.5rem;
    font-weight: 700;
    color: #FFBF34;
    margin-bottom: 30px;
}

.pricing-card .period {
    font-size: 1rem;
    color: #6c757d;
    font-weight: normal;
}

.pricing-card ul li {
    margin-bottom: 12px;
    color: #495057;
    position: relative;
    padding-left: 25px;
}

.pricing-card ul li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #FFBF34;
}

/* Reviews Section */
.review-carousel .card {
    margin: 20px;
}

.blockquote-footer {
    color: var(--secondary-color);
}

/* Contact Form */
.form-control {
    border: 2px solid #e9ecef;
    padding: 0.8rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: none;
}

/* Buttons */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--secondary-color);
    font-weight: 600;
    padding: 0.8rem 2rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    color: #fff;
    transform: translateY(-2px);
}

.btn-primary:focus,
.btn-primary:active,
.btn-primary:not(:disabled):not(.disabled):active {
    background-color: var(--secondary-color) !important;
    border-color: var(--secondary-color) !important;
    color: #fff !important;
    box-shadow: 0 0 0 0.2rem rgba(54, 91, 89, 0.25) !important;
}

/* Footer */
footer {
    background-color: var(--secondary-color);
}

/* Animations */
[data-aos] {
    pointer-events: none;
}

[data-aos].aos-animate {
    pointer-events: auto;
}

/* Responsive Design */
@media (max-width: 768px) {
    .display-4 {
        font-size: 2.5rem;
    }
    
    #hero {
        text-align: center;
        padding-top: 100px;
    }
    
    .pricing-card {
        margin-bottom: 30px;
    }
}

/* Custom Owl Carousel Styles */
.owl-carousel .owl-nav button.owl-next,
.owl-carousel .owl-nav button.owl-prev {
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.owl-carousel .owl-nav button.owl-prev {
    left: -50px;
}

.owl-carousel .owl-nav button.owl-next {
    right: -50px;
}

.owl-carousel .owl-dots .owl-dot span {
    background: #ddd;
}

.owl-carousel .owl-dots .owl-dot.active span {
    background: var(--primary-color);
}

/* Global Styles */
:root {
    --primary: #FFBF34;
    --primary-dark: #e6a820;
    --secondary: #365B59;
    --secondary-dark: #2a4644;
    --primary-light: rgba(255, 191, 52, 0.1);
    --secondary-light: rgba(54, 91, 89, 0.1);
    --success: #28a745;
    --warning: #ffc107;
    --danger: #dc3545;
    --light: #f8f9fa;
    --dark: #343a40;
}

body {
    font-family: 'Noto Sans KR', sans-serif;
    color: #333;
}

/* Navigation */
.navbar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.navbar-brand::after {
    content: '선한나무';
    font-size: 1.25rem;
    font-weight: 500;
    color: #333;
}

.navbar-brand img {
    max-height: 40px;
}

.nav-link {
    font-weight: 500;
    margin: 0 0.5rem;
}

/* Hero Section */
#hero {
    padding-top: 120px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.display-4 {
    font-weight: 700;
    line-height: 1.2;
}

/* Services Section */
.card {
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
}

.text-primary {
    color: var(--primary) !important;
}

/* Pricing Section */
.card-price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
}

.period {
    font-size: 1rem;
    color: #6c757d;
}

/* Reviews Section */
.blockquote-footer {
    color: #6c757d;
}

/* Application Form */
.form-control {
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.2rem var(--primary-light);
}

/* Footer */
.social-links a {
    transition: opacity 0.3s ease;
}

.social-links a:hover {
    opacity: 0.8;
}

/* Responsive Design */
@media (max-width: 768px) {
    #hero {
        padding-top: 100px;
        text-align: center;
    }
    
    .display-4 {
        font-size: 2.5rem;
    }
    
    .navbar {
        padding: 0.5rem 0;
    }
    
    .card {
        margin-bottom: 1.5rem;
    }
}

/* Custom Button Styles */
.btn-primary {
    background-color: var(--primary);
    border-color: var(--primary);
    color: var(--secondary);
    font-weight: 600;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    color: var(--secondary);
}

.btn-outline-primary {
    border-color: var(--primary);
    color: var(--primary);
}

.btn-outline-primary:hover,
.btn-outline-primary:focus,
.btn-outline-primary:active,
.btn-outline-primary:not(:disabled):not(.disabled):active {
    background-color: var(--primary);
    border-color: var(--primary);
    color: var(--secondary);
    box-shadow: 0 0 0 0.2rem rgba(255, 191, 52, 0.25);
}

.btn-outline-dark {
    border-color: var(--secondary);
    color: var(--secondary);
}

.btn-outline-dark:hover {
    background-color: var(--secondary);
    border-color: var(--secondary);
    color: white;
}

/* Section Spacing */
section {
    padding: 5rem 0;
}

/* Card Shadows */
.shadow-sm {
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075) !important;
}

/* Form Labels */
label {
    font-weight: 500;
    margin-bottom: 0.5rem;
}

/* Required Field Indicator */
label[for]:after {
    content: " *";
    color: #dc3545;
}

/* Custom Background Colors */
.bg-light {
    background-color: #f8f9fa !important;
}

/* Star Rating Color */
.mb-3 {
    color: #ffc107;
}

/* Text Colors */
.text-primary {
    color: var(--primary) !important;
}

/* Badge Colors */
.badge-primary {
    background-color: var(--primary-light);
    color: var(--primary);
}

/* Service Icons */
.service-icon {
    background: var(--primary-light);
    color: var(--primary);
}

.card:hover .service-icon {
    background: var(--primary);
    color: white;
}

/* Pricing Cards */
.pricing-card.popular {
    border: 2px solid var(--primary);
}

/* Navigation */
.nav-link.btn-primary {
    color: var(--secondary) !important;
}

.navbar-light .navbar-nav .nav-link {
    color: var(--secondary);
}

.navbar-light .navbar-nav .nav-link:hover {
    color: var(--primary);
}

/* Hero Section */
.hero-stats h3 {
    color: var(--primary);
}

/* Reviews Section */
.fa-star.text-warning {
    color: var(--primary) !important;
}

/* Footer */
.bg-dark {
    background-color: var(--secondary) !important;
}

/* Scroll Progress */
.scroll-progress {
    background-color: var(--primary);
}

/* Links */
a {
    color: var(--primary);
}

a:hover {
    color: var(--primary-dark);
}

/* Check Icons */
.fa-check {
    color: var(--primary) !important;
}

/* Owl Carousel Navigation */
.owl-nav button {
    background-color: var(--primary) !important;
    color: var(--secondary) !important;
}

.owl-dots .owl-dot.active span {
    background-color: var(--primary) !important;
}

/* Custom Scrollbar */
::-webkit-scrollbar-thumb {
    background: var(--primary);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

/* Language Selector */
.language-selector {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
    background: white;
    padding: 8px 15px;
    border-radius: 25px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.language-selector:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

.lang-link {
    display: flex;
    align-items: center;
    color: var(--text-color);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.lang-link:hover {
    color: var(--primary);
    text-decoration: none;
    opacity: 0.8;
}

.lang-link:focus,
.lang-link:active {
    color: var(--primary-color) !important;
    text-decoration: none;
    outline: none;
    box-shadow: 0 0 0 0.2rem rgba(255, 191, 52, 0.25);
}

.flag-icon {
    width: 24px;
    height: 16px;
    margin-right: 8px;
    border-radius: 2px;
    object-fit: cover;
    box-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

/* Navigation Links */
.nav-link:focus,
.nav-link:active {
    color: var(--primary-color) !important;
}

/* Form Controls */
.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(255, 191, 52, 0.25);
}

/* Company Page Styles */
.hero-slider .item {
    height: 600px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    display: flex;
    align-items: center;
}

.hero-slider .item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
}

.hero-content {
    position: relative;
    color: white;
    text-align: left;
    padding: 0 15px;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
}

/* Service Cards */
.service-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.service-card .icon-box {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: rgba(255, 191, 52, 0.1);
    transition: all 0.3s ease;
}

.service-card .icon-box i {
    font-size: 24px;
    color: #FFBF34;
}

/* Review Cards */
.review-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    margin: 1rem;
}

.reviewer {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid #eee;
}

.reviewer strong {
    display: block;
    color: var(--secondary-color);
}

.reviewer span {
    color: #666;
    font-size: 0.9rem;
}

/* FAQ Accordion */
.accordion .card {
    border: none;
    margin-bottom: 1rem;
}

.accordion .card-header {
    background: none;
    border: none;
    padding: 0;
}

.accordion .btn-link {
    color: var(--secondary-color);
    font-weight: 600;
    text-decoration: none;
    padding: 1rem 1.25rem;
    width: 100%;
    text-align: left;
}

.accordion .btn-link:hover,
.accordion .btn-link:focus {
    color: var(--primary-color);
    text-decoration: none;
}

.accordion .card-body {
    padding: 1.25rem;
    color: #666;
}

/* Contact Info */
.contact-info {
    display: flex;
    justify-content: center;
    gap: 3rem;
}

.contact-item {
    text-align: center;
}

.contact-item i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-slider .item {
        height: 400px;
    }
    
    .contact-info {
        flex-direction: column;
        gap: 2rem;
    }
}

/* Web Services Section Styles */
.web-service-card {
    background: #fff;
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid rgba(0,0,0,0.1);
}

.web-service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.web-service-card .icon-box {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #FFBF34;
    color: #fff;
}

.web-service-card .icon-box i {
    font-size: 32px;
}

.web-service-card h3 {
    color: #365B59;
    margin-bottom: 15px;
    font-weight: 600;
}

.web-service-card p {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
}

.web-service-card .btn-outline-primary {
    color: #365B59;
    border-color: #365B59;
    transition: all 0.3s ease;
}

.web-service-card .btn-outline-primary:hover {
    background-color: #365B59;
    color: #fff;
}

/* Hero Section Styles */
.hero-slider .item {
    height: 100vh;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
}

.hero-slider .overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to right, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.4) 100%);
}

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

.hero-title {
    font-size: 4.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    background: linear-gradient(45deg, #FFBF34, #FFF);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-buttons {
    margin-bottom: 3rem;
}

.hero-stats {
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.2);
}

.stat-item {
    text-align: center;
    padding: 1rem;
}

.stat-item h3 {
    font-size: 3rem;
    font-weight: 700;
    color: #FFBF34;
    margin-bottom: 0.5rem;
}

.stat-item p {
    font-size: 1.1rem;
    opacity: 0.8;
}

.hero-features {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.feature-item i {
    color: #FFBF34;
}

.education-partners {
    margin-top: 2rem;
}

.partner-logos {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.partner-logos img {
    height: 60px;
    filter: brightness(0) invert(1);
    opacity: 0.8;
    transition: all 0.3s ease;
}

.partner-logos img:hover {
    opacity: 1;
}

/* Premium Service Cards - Updated Colors */
.premium-card {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
}

.premium-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: rgba(255, 191, 52, 0.15);
    width: 100%;
    border-radius: 10px 10px 0 0;
}

.premium-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: #FFBF34;
    width: 0;
    transition: width 0.6s cubic-bezier(0.45, 0.05, 0.55, 0.95);
    will-change: width;
    border-radius: 10px 10px 0 0;
}

.premium-card:hover::after {
    width: 100%;
}

.premium-card .icon-box {
    background: #FFBF34;
    border-radius: 20px;
    width: 90px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    transition: all 0.5s cubic-bezier(0.45, 0.05, 0.55, 0.95);
    transform: scale(1) rotate(0deg);
    will-change: transform;
}

.premium-card:hover .icon-box {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 10px 20px rgba(255, 191, 52, 0.2);
}

.premium-card .icon-box i {
    font-size: 2.5rem;
    color: white;
}

.service-features .feature i {
    color: #FFBF34;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .hero-stats {
        display: none;
    }
    
    .premium-card {
        padding: 2rem 1.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

/* Owl Carousel Navigation Styles */
.hero-slider .owl-nav {
    position: absolute;
    width: 100%;
    height: 0;
    top: 50%;
    transform: translateY(-50%);
    margin: 0;
    padding: 0 30px;
    z-index: 2;
}

.hero-slider .owl-nav button.owl-prev,
.hero-slider .owl-nav button.owl-next {
    position: absolute;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2) !important;
    backdrop-filter: blur(5px);
    border-radius: 50% !important;
    transition: all 0.3s ease;
    margin: 0;
}

.hero-slider .owl-nav button.owl-prev {
    left: 30px;
}

.hero-slider .owl-nav button.owl-next {
    right: 30px;
}

.hero-slider .owl-nav button i {
    font-size: 20px;
    color: white;
    line-height: 50px;
}

.hero-slider .owl-nav button:hover {
    background: rgba(255, 191, 52, 0.9) !important;
    transform: scale(1.1);
}

.hero-slider .owl-dots {
    position: absolute;
    bottom: 30px;
    width: 100%;
    text-align: center;
}

.hero-slider .owl-dots .owl-dot span {
    width: 10px;
    height: 10px;
    margin: 5px;
    background: rgba(255, 255, 255, 0.5);
    transition: all 0.3s ease;
}

.hero-slider .owl-dots .owl-dot.active span {
    background: #FFBF34;
    transform: scale(1.5);
}

/* Update Hero Slider Container */
.hero-slider {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.hero-slider .item {
    width: 100%;
    height: 100vh;
    background-size: cover;
    background-position: center;
}

.contact-email {
    font-size: 1.25rem;
    margin-bottom: 0;
}

.contact-email i {
    color: #FFBF34;
}

.contact-email a {
    text-decoration: none;
}

.contact-email a:hover {
    text-decoration: underline;
}

/* Partner Logos */
.partner-logo {
    max-height: 60px;
    width: auto;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: all 0.3s ease;
    margin: 1rem;
}

.partner-logo:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .partner-logo {
        max-height: 45px;
        margin: 0.5rem;
    }
} 