@charset "utf-8";

:root {
            --primary-color: #2c5aa0;
            --secondary-color: #f8f9fa;
            --accent-color: #dc3545;
        }
        
        /* Dropdown hover styles */
        .dropdown:hover .dropdown-menu {
            display: block;
            margin-top: 0;
        }
        
        .dropdown-menu {
            border: none;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
            min-width: 250px;
        }
        
        .dropdown-item {
            padding: 8px 20px;
            color: #333;
            transition: all 0.3s ease;
        }
        
        .dropdown-item:hover {
            background-color: #f8f9fa;
            color: var(--primary-color);
            padding-left: 25px;
        }
        
        .nav-link.dropdown-toggle::after {
            display: inline-block;
            margin-left: 5px;
            vertical-align: middle;
            transition: transform 0.3s ease;
        }
        
        .dropdown:hover .nav-link.dropdown-toggle::after {
            transform: rotate(180deg);
        }
        
        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        }
        
        .navbar-brand {
            font-weight: 700;
            font-size: 1.5rem;
            color: var(--primary-color) !important;
        }
        
        .hero-section {
            background: linear-gradient(135deg, var(--primary-color), #4a7bc8);
            color: white;
            padding: 100px 0;
        }
        
        .hero-title {
            font-size: 3rem;
            font-weight: 700;
            margin-bottom: 1rem;
        }
        
        .hero-subtitle {
            font-size: 1.2rem;
            opacity: 0.9;
        }
        
        .card {
            border: none;
            box-shadow: 0 4px 6px rgba(0,0,0,0.1);
            transition: transform 0.3s ease;
        }
        
        .card:hover {
            transform: translateY(-5px);
        }
        
        .support-card {
            background: linear-gradient(135deg, #fff, #f8f9fa);
        }
        
        .support-badge {
            background: var(--accent-color);
            color: white;
            padding: 0.3rem 0.8rem;
            border-radius: 20px;
            font-size: 0.8rem;
            font-weight: 600;
        }
        
        .amount-highlight {
            color: var(--accent-color);
            font-weight: 700;
            font-size: 1.1rem;
        }
        
        .footer {
            background-color: #2c3e50;
            color: white;
            padding: 40px 0 20px 0;
        }
        
        .contact-info {
            background: var(--secondary-color);
            padding: 20px;
            border-radius: 10px;
            margin-bottom: 20px;
        }
        
        .btn-primary {
            background-color: var(--primary-color);
            border-color: var(--primary-color);
        }
        
        .carousel-control-prev,
        .carousel-control-next {
            background-color: rgba(0,0,0,0.1);
            border-radius: 50%;
            width: 40px;
            height: 40px;
        }
        
        .carousel-indicators button {
            background-color: var(--primary-color);
        }
        
        .recent-posts {
            background-color: var(--secondary-color);
        }
        
        .post-item {
            border-bottom: 1px solid #dee2e6;
            padding: 10px 0;
        }
        
        .post-item:last-child {
            border-bottom: none;
        }
        
        .post-date {
            font-size: 0.85rem;
            color: #6c757d;
        }
        
        .post-title {
            font-size: 0.95rem;
            color: #495057;
            text-decoration: none;
        }
        
        .post-title:hover {
            color: var(--primary-color);
        }
        
        .post-category {
            font-size: 0.8rem;
            color: white;
            background-color: var(--primary-color);
            padding: 2px 8px;
            border-radius: 12px;
        }

        #supportCarousel .carousel-item {
            height: 370px;
            background-color: #ffffff;
        }
        
        #supportCarousel .carousel-control-prev {
            position: absolute;
            top: 50%;
            left: 15px;
            transform: translateY(-50%);
            z-index: 10;
        }
        
        #supportCarousel .carousel-control-next {
            position: absolute;
            top: 50%;
            right: 15px;
            transform: translateY(-50%);
            z-index: 10;
        }
        
        /* 이미지 컨테이너를 flexbox로 중앙 정렬 */
        #supportCarousel .carousel-item .col-md-4 {
            display: flex;
            align-items: center;
            justify-content: center;
            background-color: #ffffff;
        }
        
        /* 이미지 래퍼 스타일 */
        #supportCarousel .image-wrapper {
            width: 100%;
            height: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
            overflow: hidden;
        }
        
        /* 이미지 스타일 */
        #supportCarousel .image-wrapper img {
            width: 100%;
            height: auto;
            max-height: 300px;
            object-fit: contain;
            object-position: center;
        }
		
		#supportCarousel .ss-btn{bottom:30px; right:50px;}
		
		@media (max-width: 768px) {
			#supportCarousel .image-wrapper img {
				width: 50%;
				height: auto;
				max-height: 150px;
				object-fit: contain;
				object-position: center;
			}
			
			#supportCarousel .ss-btn{bottom:0; right:20px;}
		}
        
        /* 콘텐츠 영역 스타일 */
        .carousel-item .col-md-8 {
            display: flex;
            flex-direction: column;
            justify-content: center;
            padding: 2rem;
        }
		
		
        
        #supportCarousel .slide-content {
            margin-top: 1rem;
            line-height: 1.6;
        }

        /* Product Grid Styles */
        .product-item {
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            height: 100%;
            padding: 5px;
        }
        
        .product-item:hover {
            transform: translateY(-5px);
        }
        
        .product-item a {
            display: block;
            height: 100%;
            width: 100%;
        }
        
        #product .product-image {
            height: 0;
            padding-bottom: 100%;
            position: relative;
            border-radius: 8px;
            overflow: hidden;
            transition: all 0.3s ease;
        }
        
        #product .product-image img {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            object-fit: contain;
            padding: 10px;
            transition: transform 0.3s ease;
        }
        
        #product .product-item:hover .product-image img {
            transform: scale(1.05);
        }
        
        /* Custom column for 8 items in a row on extra large screens */
        @media (min-width: 1400px) {
            #product .col-xl-1-5 {
                flex: 0 0 auto;
                width: 12.5%;
                padding: 0 5px;
            }
        }
        
        /* For large screens (1200px - 1399.98px) - 6 items per row */
        @media (min-width: 1200px) and (max-width: 1399.98px) {
            #product .col-lg-3 {
                flex: 0 0 auto;
                width: 16.66666667%;
            }
        }
        
        /* For medium screens (992px - 1199.98px) - 4 items per row */
        @media (min-width: 992px) and (max-width: 1199.98px) {
            #product .col-md-4 {
                flex: 0 0 auto;
                width: 25%;
            }
        }
        
        /* For small screens (576px - 991.98px) - 4 items per row */
        @media (min-width: 576px) and (max-width: 991.98px) {
            #product .col-sm-6 {
                flex: 0 0 auto;
                width: 25%;
            }
        }
        
        /* For extra small screens (up to 575.98px) - 4 items per row */
        @media (max-width: 575.98px) {
            #product .col-3 {
                flex: 0 0 auto;
                width: 25%;
                padding: 0 3px;
            }
            
            #product .product-image {
                padding-bottom: 100%;
            }
        }
		
		
		