* {
    margin: 0;
    padding: 0;
    list-style: none;
    box-sizing: border-box;
    text-decoration: none;
    outline: none;
}

body {
    font-family: "Noto Sans KR", sans-serif;
    line-height: 1.6;
    color: #333;
}

.wrap {
    max-width: 1200px;
    padding: 0 50px;
    margin: auto;
}

/* Header */
header {
    background: linear-gradient(135deg, #11a7a4, #0d8f8c);
    height: 80px;
    display: flex;
    align-items: center;
    padding: 0 50px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 100;
}

.top-header .wrap {
    max-width: 1400px;
    width: 100%;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

header a {
    color: white;
    transition: color 0.3s ease;
}

header li {
    white-space: nowrap;
}

header a:hover {
    color: #e0f7fa;
}

header .logo {
    color: white;
    font-size: 24px;
    font-weight: 700;
    margin-right: 20px;
}

header ul {
    display: flex;
    gap: 20px;
}

header ul li a {
    padding: 10px 15px;
    border-radius: 5px;
    transition: all 0.3s ease;
}

header ul li a:hover,
header ul li a.active {
    background-color: rgba(255, 255, 255, 0.1);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #079092, #066e70);
    height: 400px;
    color: white;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="20" cy="20" r="1" fill="rgba(255,255,255,0.05)"/><circle cx="80" cy="40" r="1" fill="rgba(255,255,255,0.03)"/><circle cx="40" cy="80" r="1" fill="rgba(255,255,255,0.04)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    margin: auto;
    width: 100%;
    max-width: 1400px;
    padding: 0 50px;
    position: relative;
    z-index: 1;
}

.hero-section h1 {
    font-size: 48px;
    margin-bottom: 30px;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 0.8s ease-out;
}

.hero-buttons {
    padding-bottom: 30px;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-section button {
    border: 2px solid white;
    outline: none;
    padding: 15px 30px;
    margin-right: 20px;
    background-color: transparent;
    border-radius: 10px;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 16px;
    font-weight: 500;
}

.hero-section button:hover {
    background-color: white;
    color: #079092;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Service Category Section */
.service-category-section {
    margin: auto;
    max-width: 1400px;
    width: 90%;
    display: flex;
    gap: 50px;
    align-items: center;
    border-radius: 20px;
    transform: translateY(-70px);
    background: white;
    padding: 50px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    animation: slideUp 0.8s ease-out 0.4s both;
}

.service-category-section h2 {
    font-size: 28px;
    font-weight: 700;
    color: #333;
    line-height: 1.4;
}

.category-grid {
    width: 80%;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 30px;
}

.category-item {
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 10px;
    border-radius: 10px;
}

.category-item:hover {
    transform: translateY(-5px);
    background-color: #f8f9fa;
}

.category-item img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, #11a7a4, #0d8f8c);
    display: block;
    margin: 0 auto 15px;
    padding: 15px;
    transition: all 0.3s ease;
}

.category-item:hover img {
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(17, 167, 164, 0.3);
}

.category-item span {
    font-weight: 500;
    color: #333;
}

/* Banner Section */
.banner-section {
    background: linear-gradient(135deg, #079092, #066e70);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 600;
    height: 80px;
    margin-top: -20px;
}

/* Our Services Section */
.our-services-section {
    padding: 120px 100px;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
}

.our-services-section > div {
    display: flex;
    margin: auto;
    width: 100%;
    max-width: 1400px;
    gap: 60px;
}

.our-services-left {
    width: 45%;
    padding: 60px;
    text-align: center;
    position: relative;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.our-services-left h3 {
    font-size: 36px;
    padding-bottom: 40px;
    color: #079092;
    font-weight: 700;
}

.our-services-left p {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 15px;
    color: #555;
}

.our-services-left h4 {
    padding-top: 40px;
    font-size: 24px;
    color: #333;
    font-weight: 600;
    line-height: 1.4;
}

.our-services-right {
    width: 55%;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.service-card {
    padding: 30px 20px;
    border-radius: 15px;
    border: none;
    text-align: center;
    background: white;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #11a7a4, #0d8f8c);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.service-card .card-title {
    font-size: 18px;
    font-weight: 600;
    color: #079092;
    margin-bottom: 20px;
}

.service-card img {
    border-radius: 50%;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #11a7a4, #0d8f8c);
    margin-bottom: 15px;
}

.rating {
    margin: 15px 0;
    color: #ffd700;
}

.rating span {
    font-size: 16px;
}

.service-card p {
    margin: 10px 0;
    color: #666;
}

.service-card button {
    border: none;
    padding: 10px 25px;
    margin-top: 20px;
    background: linear-gradient(135deg, #11a7a4, #0d8f8c);
    color: white;
    cursor: pointer;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.service-card button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(17, 167, 164, 0.3);
}

/* Carousel Section */
.carousel-section {
    padding: 100px 0;
    background: white;
}

.carousel-content {
    max-width: 1400px;
    width: 100%;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    padding: 0 50px;
}

.carousel-item {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 200px;
    border: 2px solid #e9ecef;
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
    background: white;
}

.carousel-item:hover {
    border-color: #11a7a4;
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.carousel-item p {
    font-size: 16px;
    line-height: 1.6;
    color: #555;
}

/* Info Section */
.info-section {
    padding: 100px 0;
    background: #f8f9fa;
}

.info-section > div {
    max-width: 1400px;
    width: 100%;
    margin: auto;
    display: flex;
    gap: 60px;
    padding: 0 50px;
}

.info-left {
    width: 40%;
    background: white;
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.info-item {
    width: 100%;
    border-bottom: 1px solid #e9ecef;
    height: 60px;
    display: flex;
    align-items: center;
    font-size: 16px;
    transition: all 0.3s ease;
}

.info-item:hover {
    background-color: #f8f9fa;
    padding-left: 10px;
}

.info-left a {
    width: 100%;
    text-align: right;
    justify-content: end;
    height: 50px;
    display: flex;
    align-items: center;
    color: #079092;
    font-weight: 500;
    margin-top: 20px;
}

.info-right {
    width: 60%;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.points-card {
    height: auto;
    border: 2px solid #e9ecef;
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    transition: all 0.3s ease;
}

.points-card:hover {
    border-color: #11a7a4;
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.points-card p {
    font-size: 16px;
    font-weight: 500;
    color: #333;
    line-height: 1.4;
}

/* Floating Button */
.floating-btn {
    position: fixed;
    right: 30px;
    top: 50%;
    height: 250px;
    background: white;
    color: #079092;
    display: flex;
    width: 60px;
    flex-direction: column;
    transform: translateY(-50%);
    padding: 10px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    z-index: 1000;
}

.floating-btn span {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid #e9ecef;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 8px;
    margin: 2px 0;
}

.floating-btn span:hover {
    background-color: #079092;
    color: white;
    transform: scale(1.1);
}
.container {
    min-height: 100dvh;
}

.floating-btn span:last-child {
    /* border: none; */
}

/* Footer */
footer {
    height: 200px;
    width: 100%;
    background: linear-gradient(135deg, #2c3e50, #34495e);
    color: #bdc3c7;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(-70px);
    }
}

/* Responsive Design */
@media (max-width: 1200px) {
    .category-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    .our-services-section > div {
        flex-direction: column;
    }
    .our-services-left,
    .our-services-right {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .container {
        min-height: 100dvh;
    }
    .community-page-container {
        min-height: calc(100dvh - 280px);
    }
    .hero-section h1 {
        font-size: 33px;
    }
    .category-grid {
        grid-template-columns: repeat(2, 1fr);
        width: 100%;
    }
    .carousel-content {
        grid-template-columns: 1fr;
    }
    .info-section > div {
        flex-direction: column;
    }
    .info-left,
    .info-right {
        width: 100%;
    }
    .info-right {
        grid-template-columns: 1fr;
    }

    header ul {
        display: none;
    }
    .top-header .wrap {
        justify-content: center;
    }
    .hero-section button {
        padding: 7px 14px;
    }
    .hero-buttons {
        white-space: nowrap;
    }
    .service-category-section {
        flex-wrap: wrap;
        padding: 30px;
    }
    .our-services-section {
        padding: 50px 5%;
    }
    .our-services-left {
        padding: 30px;
    }
    .our-services-left p {
        font-size: 12px;
    }
    .our-services-left h4 {
        font-size: 20px;
    }
    .our-services-right {
        grid-template-columns: repeat(1, 1fr);
    }
    .carousel-content,
    .info-section > div {
        padding: 0 5%;
    }
    header .logo {
        margin-right: 0;
    }
    .floating-btn {
        right: 5%;
        top: unset;
        bottom: 0;
    }
}
