body {
    background-color: #202124;
    color: #e8eaed;
    margin: 0;
    min-height: 100%; /* 페이지 전체 높이를 차지하도록 설정 */
    padding-bottom: 60px;
}

/* 기본 설정: PC 화면에서는 버튼 가로 정렬 유지 */
.button-group {
    display: flex;
    justify-content: center;
}

/* 두 영역을 가로로 배치 */
.form-section {
    display: flex;
    justify-content: space-between; /* 두 영역을 가로로 배치 */
    align-items: center; /* 세로 중앙 정렬 */
    height: 80vh; /* 부모 높이에 맞춰서 크기 조정 */
    margin-top: 10px; /* 공간을 좀 더 추가 */
    margin-bottom: 150px;
    gap: 50px;
}

.form-section .col-md-6 {
    padding: 40px; /* 좌우 패딩 추가 */
    flex: 1; /*입력폼 영역의 크기를 늘려줍니다 */
}

.image-section {
    flex: 1; /* 이미지 영역이 부모 크기에 맞춰서 크기 조정 */
    overflow: hidden; /* 여분의 이미지가 영역을 넘어가지 않도록 */
    position: relative;
    display: flex;
    align-items: center; /* 세로 중앙 정렬 */
    justify-content: center; /* 가로 중앙 정렬 */
    border-radius: 25px; /* 모서리 둥글게 처리 */
}

.image-section .banner-image {
    width: 100%; /* 부모의 너비에 맞춤 */
    height: 100%; /* 부모의 높이에 맞춤 */
    object-fit: cover; /* 비율을 유지하면서 영역에 맞춤 */
    object-position: center; /* 이미지가 중앙에 위치하도록 설정 */
    border-radius: 25px; /* 이미지의 모서리도 둥글게 처리 */
}


.image-section-1 {
    background-image: url('../images/top_banner02.png');
    width: 100%;
    height: 600px; /* 원하는 높이로 설정 */
    background-size: contain; /* 이미지가 영역에 맞게 비율을 유지하며 리사이징 */
    background-position: center center; /* 이미지가 영역 중앙에 오도록 설정 */
    background-repeat: no-repeat; /* 이미지 반복 방지 */
    background-color: #00002c; /* 배경 색상 설정 */
}

.image-section-2 {
    background-image: url('../images/contact_banner04.png');
    width: 100%;
    height: 600px; /* 원하는 높이로 설정 */
    background-size: contain; /* 이미지가 영역에 맞게 비율을 유지하며 리사이징 */
    background-position: center center; /* 이미지가 영역 중앙에 오도록 설정 */
    background-repeat: no-repeat; /* 이미지 반복 방지 */
    background-color: #00002c; /* 배경 색상 설정 deeeff*/
    border-radius: 25px;
}

.image-section-3 {
    background-image: url('../images/mid_banner02.png');
    width: 100%;
    height: 600px; /* 원하는 높이로 설정 */
    background-size: contain; /* 이미지가 영역에 맞게 비율을 유지하며 리사이징 */
    background-position: center center; /* 이미지가 영역 중앙에 오도록 설정 */
    background-repeat: no-repeat; /* 이미지 반복 방지 */
    background-color: #00002c; /* 배경 색상 설정 */

    border-radius: 25px;
}

.image-section-4 {
    background-image: url('../images/bottom_banner03.png');
    width: 100%;
    height: 600px; /* 원하는 높이로 설정 */
    background-size: contain; /* 이미지가 영역에 맞게 비율을 유지하며 리사이징 */
    background-position: center center; /* 이미지가 영역 중앙에 오도록 설정 */
    background-repeat: no-repeat; /* 이미지 반복 방지 */
    background-color: #00002c; /* 배경 색상 설정 */

    border-radius: 25px;
}


h1.gradient-text {
    font-size: 28px;
    font-weight: bold;
}

.event-title {
    font-size: 20px;
}

.input-field {
    height: 50px;
}

.btn-custom-primary {
    background-color: #00ff88;
    color: white;
    border: none;
}

.btn-custom-success {
    background-color: #28a745;
    color: white;
    border: none;
}

button {
    font-size: 16px;
}

.footer-section {
    background-color: #343a40;
    color: white;
    padding: 30px;
    text-align: center;
}

.form-title {
    font-size: 24px; /* 기본 폰트 크기 */
    line-height: 1.6;
    color: #333; /* 기본 글자 색상 */
    font-family: Arial, sans-serif;
}

.form-title-text {
    font-size: 20px;
    color: #00ff88; /* 혜택 강조 색상 */
    font-weight: 500;
    animation: blinkHighlight 1.5s infinite !important; /* 깜빡이는 애니메이션 */
}

.event-benefit + .event-benefit {
    margin-top: 10px; /* 각 혜택 문구 간격 */
    animation: blinkHighlight 1.5s infinite !important; /* 깜빡이는 애니메이션 */
}

.event-title span {
    display: inline-block;
    margin-bottom: 8px;
}

.input-field {
    height: 45px; /* 입력창 높이 증가 */
    font-size: 16px; /* 글자 크기 조정 */
}

.form-check-label {
    font-size: 16px; /* 라벨 글자 크기 */
}

.form-check-input {
    margin-top: 3px;
}

.call-section {
    display: flex;
    justify-content: center; /* 가로 중앙 정렬 */
    align-items: center; /* 세로 중앙 정렬 (필요한 경우) */
    text-align: center; /* 텍스트 자체도 중앙 정렬 */
    margin-top: 20px;
}

.call-text {
    font-size: 30px;
    font-weight: bold;
}


/* 기본 버튼 스타일 */
.btn {
    padding: 12px 30px;
    font-size: 16px;
    border-radius: 25px; /* 모서리 둥글게 설정 */
    border: none;
    transition: all 0.3s ease;
}

/* 신청서 제출 버튼 (파란색) */
.btn-custom-primary {
    background-color: #00ff88; /* 파란색 배경 */
    color: black;
    font-weight: bold;
    width: 80%;
}

.btn-custom-primary:hover {
    background-color: #00cc6e; /* hover 시 진한 파란색 */
    color: black;
}


/* 버튼에 호버 효과 추가 */
.btn:hover {
    transform: translateY(-2px); /* 마우스 hover 시 버튼이 위로 살짝 올라가는 효과 */
}


.fw-bold {
    font-weight: bold;
}

.gradient-text {
    font-size: 38px;
    font-weight: bold;
    text-align: center;
    background: linear-gradient(90deg, #00ff88, #0055ff); /* 그라데이션 색상 */
    -webkit-background-clip: text; /* 텍스트에만 배경 적용 */
    -webkit-text-fill-color: transparent; /* 텍스트를 투명하게 설정 */
    background-clip: text; /* 표준 속성 */
    color: transparent; /* 텍스트 컬러 투명 */
}

.sale-image {
    width: 100%; /* 부모 너비에 맞춤 */
    max-width: 100%; /* 최대 너비 설정 */
    height: auto; /* 고정 높이 설정 */
    object-fit: cover; /* 비율 유지하며 채우기 */
    border-radius: 10px; /* 모서리 둥글게 */
}


.review-slider-section {
    padding-left: 100px;
    padding-right: 100px;
    text-align: center;
    margin-top: 80px;
}

.card-img-top {
    width: 100%; /* 부모 요소 너비에 맞게 */
    height: 300px; /* 원하는 높이로 설정 */
    object-fit: cover; /* 이미지가 비율을 유지하면서 꽉 차도록 */
    border-radius: 10px; /* 둥근 모서리 추가 (선택 사항) */
}

.review-slider-container {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.review-slider-wrapper {
    width: 80%; /* 3개의 카드가 한 번에 보이도록 조정 */
    overflow: hidden;
}

.review-slider {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.review-card {
    min-width: 400px; /* 카드 너비를 줄여서 한 줄에 3개 배치 */
    height: auto;
    margin: 0 10px;
}

.review-sub-text {
    font-size: 17px;
    color: #00ff88; /* 혜택 강조 색상 */
    font-weight: bold;
}

.highlight-pen-green {
    background: linear-gradient(to bottom, transparent 67%, #4caf50 45%); /* 형광펜 효과 */
    color: inherit; /* 텍스트 색상 유지 */
    position: relative;
    display: inline-block;
}

.review-slider-button {
    background: #ffffff;
    border: none;
    font-size: 24px;
    cursor: pointer;
    padding: 10px;
    position: absolute;
    z-index: 10;
}

.review-prev-button {
    left: 0;
}

.review-next-button {
    right: 0;
}

/* 기본 스타일 */
.title-text {
    flex-shrink: 0;
    font-size: 2.5rem;
}

.icon-group {
    display: flex;
    gap: 20px;
}

.icon-img {
    width: 50px;
    height: 50px;
}


/* 동그라미 스타일 */
.circle-icon {
    display: inline-block;
    width: 100px;
    height: 100px;
    background-color: #ffffff; /* 동그라미 배경 색 */
    color: white; /* 아이콘 색 */
    border-radius: 50%; /* 둥근 형태 */
    font-size: 40px; /* 아이콘 크기 */
    line-height: 100px; /* 아이콘을 세로로 중앙 정렬 */
    transition: background-color 0.3s ease; /* 배경색 변화 효과 */
}

.circle-icon:hover {
    background-color: #00cc66; /* 호버 시 배경색 */
}

.circle-icon i {
    vertical-align: middle; /* 아이콘 세로 정렬 */
}

.fixed-bottom-buttons {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    display: flex;
    justify-content: center; /* 버튼을 중앙 정렬 */
    gap: 35px; /* 버튼 간격 */
    padding: 10px 0;
    z-index: 1000;
    margin: 0; /* 부모 요소의 여백을 제거 */
}

/* 기본 버튼 스타일 (PC) */
.fixed-button {
    width: 180px; /* PC에서 적당한 너비 유지 */
    height: 50px;
    font-size: 16px;
    border: none;
    border-radius: 10px; /* 둥근 모서리 */
    text-align: center;
    cursor: pointer;
}

/* 상담 전화 버튼 */
.call-button {
    background-color: #FFA500; /* 주황색 */
    color: white; /* 글씨는 흰색 */
}

.call-button:hover {
    background-color: #FF8C00; /* 어두운 주황색 */
}

/* 견적 문의 버튼 */
.quote-button {
    background-color: white; /* 흰색 배경 */
    color: #FFA500; /* 주황색 글씨 */
}

.quote-button:hover {
    background-color: #FFA500; /* 주황색 배경 */
    color: white; /* 흰색 글씨 */
}

/* 깜빡이는 애니메이션 */
@keyframes blinkHighlight {
    0%, 100% {
        opacity: 1; /* 초기 상태 */
    }
    50% {
        opacity: 0; /* 깜빡이는 상태 */
    }
}

/* 모바일 최적화 */
@media (max-width: 768px) {
    .form-section {
        flex-direction: column; /* 모바일에서는 세로 배치 */
        height: auto;
        gap: 30px;
        margin-bottom: 50px !important;
    }

    .form-section .col-md-6 {
        padding: 20px;
        width: 90%; /* 입력폼 영역 가득 채우기 */
    }

    .image-section {
        width: 90%;
        height: auto;
        margin-top: 40px;
    }

    .image-section .banner-image {
        max-width: 100%;
        height: auto;
    }


    .image-section-1 {
        width: 100%;
        height: 300px; /* 원하는 높이로 설정 */
        background-image: url('../images/top_banner01_m.png'); /* 모바일 화면에서 보일 이미지 */
        background-size: contain; /* 이미지가 영역에 맞게 비율을 유지하며 리사이징 */
        background-position: center center; /* 이미지가 영역 중앙에 오도록 설정 */
        background-repeat: no-repeat; /* 이미지 반복 방지 */
        background-color: #00002c; /* 배경 색상 설정 */
    }

    .image-section-2 {
        width: 100%;
        height: 300px; /* 원하는 높이로 설정 */
        background-size: contain; /* 이미지가 영역에 맞게 비율을 유지하며 리사이징 */
        background-position: center center; /* 이미지가 영역 중앙에 오도록 설정 */
        background-repeat: no-repeat; /* 이미지 반복 방지 */
        background-color: #00002c; /* 배경 색상 설정 deeeff*/
        border-radius: 25px;
    }

    .image-section-3 {
        width: 100%;
        height: 300px; /* 원하는 높이로 설정 */
        background-size: contain; /* 이미지가 영역에 맞게 비율을 유지하며 리사이징 */
        background-position: center center; /* 이미지가 영역 중앙에 오도록 설정 */
        background-repeat: no-repeat; /* 이미지 반복 방지 */
        background-color: #00002c; /* 배경 색상 설정 */
        background-image: url('../images/mid_banner01_m.png'); /* 모바일 화면에서 보일 이미지 */
        border-radius: 25px;
    }

    .image-section-4 {
        background-image: url('../images/bottom_banner01_m.png');
        width: 100%;
        height: 300px; /* 원하는 높이로 설정 */
        background-size: contain; /* 이미지가 영역에 맞게 비율을 유지하며 리사이징 */
        background-position: center center; /* 이미지가 영역 중앙에 오도록 설정 */
        background-repeat: no-repeat; /* 이미지 반복 방지 */
        background-color: #00002c; /* 배경 색상 설정 */

        border-radius: 25px;
    }

    .call-section {
        display: flex;
        justify-content: center; /* 가로 중앙 정렬 */
        align-items: center; /* 세로 중앙 정렬 (필요한 경우) */
        text-align: center; /* 텍스트 자체도 중앙 정렬 */
        margin-top: 15px !important;
    }

    .button-group {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .btn {
        width: 100%; /* 버튼 너비 100% */
    }

    .review-slider-section {
        width: 100% !important;
        text-align: center;
        margin-top: 80px;
        padding: 10px;
    }

    .review-slider-container {
        width: 100% !important;
    }

    .review-slider-wrapper {
        width: 100%; /* 전체 너비 사용 */
        overflow: hidden;
    }

    .review-card {
        width: 100%; /* 카드 너비를 늘림 */
        min-height: 700px;
        height: 700px; /* 높이는 내용에 따라 자동 조정 */
        margin: 0 auto; /* 가운데 정렬 */
    }

    .card-img-top {
        height: 260px; /* 이미지 높이를 160px로 증가 */
    }

    .review-content {
        font-size: 1rem; /* 텍스트 크기 유지 */
        word-wrap: break-word; /* 긴 단어 자동 줄바꿈 */
        text-align: start;
    }

    .review-sub-text {
        font-size: 0.9rem; /* 서브 텍스트 크기 조정 */
        word-wrap: break-word;
    }

    /* 모바일에서는 슬라이드 버튼 제거 */
    .review-slider-button {
        display: none;
    }

    .call-text {
        font-size: 24px;
    }

    .gradient-text {
        font-size: 22px !important;
    }

    .icon-section {
        flex-direction: column;
        gap: 20px;
    }

    .title-text {
        font-size: 2rem; /* 모바일에서 크기 조정 */
    }

    .icon-group {
        flex-direction: row; /* 아이콘을 가로 정렬 */
        justify-content: center;
        gap: 15px;
    }

    .icon-img {
        width: 40px;
        height: 40px; /* 모바일에서 아이콘 크기 줄임 */
    }
    .fixed-bottom-buttons {
        gap: 0; /* 버튼 간격 제거 */
        padding-bottom: 0; /* 하단 여백 제거 */
    }

    .fixed-button {
        width: 50%; /* 화면의 절반씩 차지 */
        border-radius: 0; /* 네모 모양 */
        height: 60px;
    }
}
