/* 기본 스타일 리셋 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: #fff; /* 비디오 로딩 전 배경색 */
    color: #ffffff;
}

/* 전체 헤더 섹션 */
.hero-section {
    position: relative;
    height: auto;
    width: 100%;  margin:0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden; /* 비디오가 컨테이너를 벗어나지 않도록 함 */
}

/* 배경 비디오 스타일 */
.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.f_o {color:#FF7D27; font-weight:600;}

.video-background video {
    width: 100%;
    height: 100%;
    object-fit: cover; /* 비디오가 비율을 유지하며 꽉 채우도록 함 */
}

/* 비디오 위 어두운 오버레이 */
.hero-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.1); /* 어둡게 처리하여 텍스트 가독성 확보 */
    z-index: 2;
}

/* 텍스트와 로고를 포함하는 콘텐츠 영역 */
.hero-content {
    position: relative;
    z-index: 3;
    width: 100%;
    height: 100%;
    
    padding: 0 2rem; /* 좌우 패딩만 유지 */
    padding-top: 6rem; /* top-nav의 높이만큼 여백 확보 (대략적인 값, 필요시 조정) */
    display: flex;
    flex-direction: column;
}

/* 상단 내비게이션 (로고 영역) */
.top-nav {
    
    width: 100%;
    padding: 2rem 2rem; /* 상하 패딩 추가 */
    position: absolute; /* hero-content가 아닌 hero-section 기준으로 상단에 고정 */
    top: 0;
    left: 0;
    z-index: 4; /* 비디오, 오버레이보다 위에 */

    /* 블러 및 반투명 배경 효과 (⭐ 새로 추가/수정될 부분) */
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0)); /* 상단에서 아래로 갈수록 투명해지는 그라데이션 */
    backdrop-filter: blur(10px); /* 배경 블러 효과 */
    -webkit-backdrop-filter: blur(10px); /* Safari 지원 */
}

.top-nav-con {width:1400px; display: flex; margin: 0 auto;
    justify-content: space-between;
    align-items: center;}

.logo-daou img {
    height: 25px; /* 로고 높이 조절 */
}

.logo-autodesk img {
    height: 40px; /* 로고 높이 조절 */
}

/* 메인 텍스트 영역 */
.hero-main {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
	width: 1400px;
    margin: 100px auto 140px;
}

.hero-main h1 {
    font-size: 3rem; /* 헤드라인 폰트 크기 */
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.hero-main p {
    font-size: 1.5rem;
    line-height: 1.6;
  
}

.main-container-con {width:100%; background: url('../images/bak_main.png');     background-repeat: round;}

.main-container {
    display: flex;
    max-width: 1400px;
    margin: 0 auto;
    padding: 4rem 0;
  
    color: #333;
}

/* 왼쪽 콘텐츠 컬럼 */
.content-column {
   
    padding-right: 3rem; width: 65%;
}

.content-section {
    margin-bottom: 5rem;
}

.content-section h2 {
    font-size: 2rem;
    font-weight: 400;
    margin-bottom: 30px;
    line-height: 1.3;
}

.accent-line {
    border: 0;
    height: 4px;
    width: 90px;
    background-color: #FF7D27; 
    margin-bottom: 1rem;
}

.feature-grid {
    display: grid;
        grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.feature-box {
    border: 1px solid #e0e0e0;
    border-radius: 20px;
    padding: 1.5rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    background-color: #fff;
}

.feature-icon {
    height: 40px;
    margin-bottom: 4px;
}

.feature-box h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;  color:#FFAA3B;
}

.feature-grid-alt {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
.feature-box-alt, .gift-box {
     border: 1px solid #e0e0e0;
	 background-color: #fff;
     border-radius: 8px;
     padding: 1.5rem;
	 box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}
.feature-box-alt h3, .gift-box h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem; color:#FFAA3B;
}

.gift-box {
    margin-bottom: 10px;
}



.feature-grid-type-B {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2열 그리드 */
    gap: 10px; /* 박스 사이 간격 */
}

.feature-box-type-B {
    position: relative; /* 오른쪽 위 아이콘을 위한 기준점 */
    background-color: #fff; /* 흰색 배경 */
    border: 1px solid #e9e9e9;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.feature-box-type-B .feature-icon-corner {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    height: 32px;
    opacity: 0.5;
}

.feature-box-type-B .underline-heading {
    display: inline-block; /* 밑줄이 텍스트 길이에 맞게 적용되도록 */
    font-size: 1.25rem;
    color: #f39c12; /* 주황색 글씨 */
    padding-bottom: 0;
    margin-bottom: 10px;
  /*   border-bottom: 2px solid #f39c12; */ /* 주황색 밑줄 */
}

.feature-box-type-B p {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.7;
	border-top: 2px solid #ededed;
    padding-top: 10px;
}

.feature-box p {border-top: 2px solid #ededed;     padding-top: 10px;}
  



.form-column {
   position: relative;
    top: -200px;
    height: fit-content;
    z-index: 100; width:35%;
}

.form-wrapper {
       background-color: rgb(247 159 36 / 97%);
    padding: 2.5rem;
    border-radius: 20px; /* 더 둥글게 */
    color: #fff;
}

.form-wrapper .form-group {
    margin-bottom: 1.5rem;
}

/* 회사명/부서 한 줄 배치를 위한 스타일 */
.form-row {
    display: flex; /* 자식 요소들을 가로로 배치합니다. */
    gap: 1.5rem;   /* 두 입력란 사이의 간격을 줍니다. */
}

/* form-row 안의 form-group이 공간을 균등하게 차지하도록 합니다. */
.form-row .form-group {
    flex: 1; /* 가로 공간을 1:1 비율로 나눠가집니다. */
}

.form-wrapper label {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    display: block;
}

/* 텍스트, 이메일 입력창 스타일 */
.form-wrapper input[type="text"],
.form-wrapper input[type="email"] {
    width: 100%;
    background-color: transparent;
    border: none; /* 모든 테두리 제거 */
    border-bottom: 1px solid rgba(255, 255, 255, 0.7); 
    padding: 0.5rem 0.2rem;
    font-size: 1rem;
    color: #fff;
    border-radius: 0; /* 밑줄만 보이게 */
}

/* 입력창 placeholder 스타일 */
.form-wrapper input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}
.form-wrapper input:focus {
    outline: none;
    border-bottom-color: #fff;
}

/* 지역 선택 select 스타일 */
.form-wrapper .select-wrapper {
    position: relative;
}

.form-wrapper select {
    width: 100%;
    background-color: transparent;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.7);
    padding: 0.5rem 0.2rem;
    font-size: 1rem;
    color: #fff;
    border-radius: 0;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: none; /* 기존 화살표 아이콘 제거 */
    padding-left: 30px; /* ⭐ 아이콘을 위한 왼쪽 여백 확보 */
    cursor: pointer;
}

/* ⭐⭐⭐ 추가된 부분 시작 ⭐⭐⭐ */
/* 커스텀 아이콘 스타일 */
.form-wrapper .select-wrapper::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    background-color: white;
    border-radius: 20%;
      background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23f79f24'%3E%3Cpath d='M7 10l5 5 5-5H7z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 30px;
    pointer-events: none;
}
/* ⭐⭐⭐ 추가된 부분 끝 ⭐⭐⭐ */

/* 플레이스홀더(첫 번째 옵션) 스타일 */
.form-wrapper select:required:invalid {
  color: rgba(255, 255, 255, 0.7);
}
.form-wrapper select option {
  color: #333; /* 드롭다운 목록의 글자색 */
  background-color: #f79f24; /* 드롭다운 목록의 배경색 */
}

/* 설문조사 흰색 박스 스타일 */
.form-survey {
    background-color: #fff;
    color: #333;
    border-radius: 12px;
    padding: 1.5rem;
    margin: 2rem 0;
}

.form-survey .survey-item {
    margin-bottom: 1.5rem;
}
.form-survey .survey-item:last-child {
    margin-bottom: 0;
}
.form-survey p {
    font-size: 0.95rem;
    margin-bottom: 0.75rem;
    font-weight: 500;
}
.form-survey label {
    color: #555;
    font-size: 0.9rem;
    display: inline-block;
    margin-right: 1.5rem;
    cursor: pointer;
	
}

/* 동의하기 영역 스타일 */
.form-agree {
    margin-top: 1.5rem;
    text-align: center;
	background: #ec932d;
	padding:10px 0px;
	border-radius:20px;
}

/* 기본 체크박스 숨기기 */
.form-agree input[type="checkbox"] {
    display: none;
}

.form-agree label {
    color: #333;
    font-size: 0.9rem;
    display: inline-flex; /* 수직 정렬을 위해 flex 사용 */
    align-items: center;
    cursor: pointer;
    margin: 0 0.5rem;
}

/* 커스텀 원 모양 만들기 */
.form-agree label::before {
    content: '';
    display: inline-block;
    width: 18px;
    height: 18px;
    border: 1px solid #333;
    border-radius: 50%;
    margin-right: 0.5em;
    background-color: #fff;
}

/* 체크됐을 때 원 안에 채우기 */
.form-agree input[type="checkbox"]:checked + label::before {
       background-color: #000000;
    border-color: #fff;
    background-clip: content-box; /* 패딩 영역을 제외하고 채움 */
    padding: 0px;
}

.form-notice {
    font-size: 0.8rem;
    color: #eee;
    text-align: center;
    margin-top: 1rem;
}

/* 신청하기 버튼 스타일 */
.submit-button {
    width: 100%;
      background: none;
    border: none;
    cursor: pointer;
    margin-top: 1rem;
  
}



.container {
    max-width: 1400px;
    margin: 0 auto; text-align:left;
   
}

/* 안내사항 섹션 */
.notice-section {
    background: url('../images/bak_bottom.png'); 
    color: #555;
   padding: 4rem 2rem;
}

.notice-section h2 {
    font-size: 2rem;
    color: #333;
    margin-bottom: 2rem;font-weight: 500;
}

.notice-section ul {
    list-style: none; /* 기본 불릿 제거 */
    padding-left: 10px;
}

.notice-section li {
    position: relative;
    margin-bottom: 0.8rem;
        line-height: 1.1;
    font-size: 1.2em;
}

/* 커스텀 불릿(점) 만들기 */
.notice-section li::before {
  content: '·';
    position: absolute;
    left: -10px;
    font-size: 1.5rem;
    line-height: 17px;
    color: #f39c12;
}

/* CTA(Call To Action) 섹션 */
.cta-section {
    position: relative;
    padding: 0; 
    color: #fff;
    overflow: hidden; /* 비디오가 테두리를 벗어나지 않도록 추가 */
}
/* CTA 섹션 어두운 오버레이 */
.cta-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* 오버레이 밝기 조절 */
}

/* CTA 섹션 상단 텍스트 영역 */
.cta-text-area {
    padding: 4rem 0; /* 상하 여백 */
   
}

.cta-section h1 {
    font-size: 2.2rem;
    font-weight: 600;
    line-height: 1.5;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5); /* 텍스트 그림자 효과 */
}

.cta-section h2 {
    font-size: 1.6rem;
    font-weight: 600;
    line-height: 1.5;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5); /* 텍스트 그림자 효과 */
}

/* CTA 버튼 영역 (하단 갈색 바) */
.cta-button-area {
    background: linear-gradient(to right, 
                rgba(181, 122, 41, 0.4), /* 이미지 왼쪽 주황빛 연한색 (40% 투명) */
                rgba(80, 50, 20, 0.1));  /* 이미지 오른쪽 진한 갈색/붉은색 (60% 투명) */
    padding: 1.5rem 0;
    text-align: center;
}

.cta-button {
    display: inline-block;
    color: #fff;
    text-decoration: none;
    font-size: 1.8rem;
    font-weight: 500;
    transition: transform 0.2s ease-in-out;
}

.cta-button:hover {
    transform: translateX(5px); /* 마우스 올리면 화살표와 함께 살짝 이동 */
}

/* 푸터 섹션 */
.main-footer {
    background-color: #2c2c2c;
    color: #a0a0a0;
    padding-top: 3rem;
    font-size: 0.9rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 2rem;
    flex-wrap: wrap; /* 화면 작아지면 줄바꿈 */
}

.footer-logo img {
    height: 25px;
    opacity: 0.7;
}

.footer-info {
    text-align: left;
}
.footer-info p {
    margin-bottom: 0.5rem;
}

.footer-copyright {
    border-top: 1px solid #444;
    padding: 1.5rem 0;
    text-align: center;
    font-size: 0.8rem;
    color: #777;
}


.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    display: none; /* 평소에는 숨김 */
    justify-content: center;
    align-items: center;
    z-index: 1000;
    padding: 20px;
}

.modal-content {
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    width: 100%;
    max-width: 600px; /* 팝업창 최대 너비 */
    max-height: 80vh; /* 팝업창 최대 높이 */
    overflow-y: auto; /* 내용이 길어지면 스크롤 */
    position: relative;
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
    color: #333;
}

.close-button {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    font-weight: bold;
    color: #888;
    cursor: pointer;
}

.close-button:hover {
    color: #000;
}

.modal-content h2 {
    margin-top: 0;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #a9a9a9;
    font-size: 1.5rem;
        color: rgb(247 159 36 / 97%);
}

.policy-content dl {
    line-height: 1.7;
}

.policy-content dt {
        font-weight: 600;
    font-size: 1.1rem;
    color: #222;
    margin-top: 20px;
    margin-bottom: 8px;
    border-top: 1px dashed #a9a9a9;
    padding-top: 20px;
}
.policy-content dt:first-child {
    margin-top: 0;
}

.policy-content dd {
    margin-left: 0;
    font-size: 1rem;
    color: #555;
    word-break: keep-all;
}



.form-agree {
   
    display: flex;
    justify-content: space-around; /* 좌우 정렬 */
}

.form-agree > div {
    display: flex;
    align-items: center; align-items: flex-start;
}

.form-agree label {
    display: inline-block; /* 체크박스 디자인을 위해 label은 빈 상태로 유지 */
    margin: 0;
}

.form-agree .modal-trigger {
    color: #fff; /* 글자색 흰색으로 변경 */
  
    cursor: pointer;
    font-size: 0.9rem;
}



/* 모바일 화면 대응 */
@media (max-width: 768px) {
    .hero-main h1 {
        font-size: 2.5rem;
    }
    .hero-main p {
        font-size: 1rem;
    }
    .logo-daou img {
        height: 20px;
    }
    .logo-autodesk img {
        height: 30px;
    }
	.footer-content {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }
    .footer-logo {
        margin-bottom: 1.5rem;
    }
    .footer-info {
        text-align: left;
    }
}


/*
=================================
    모바일 반응형 스타일
=================================
*/

/* 테블릿 & 모바일 공통 (가로 992px 이하) */
@media (max-width: 992px) {


.submit-img {width:90%;}

.cta-button {
    font-size: 1.5rem;
}


.cta-button-area {
    background: linear-gradient(to right, rgba(181, 122, 41, 0.4), /* 이미지 왼쪽 주황빛 연한색 (40% 투명) */ rgba(80, 50, 20, 0.6));
    padding: 1.5rem 2rem;
    text-align: center;
}

.cta-text-area {
    padding: 4rem 2rem;
}

.main-footer {
    background-color: #2c2c2c;
    color: #a0a0a0;
    font-size: 0.9rem;
	padding: 3rem 2rem 0;
}

    /* 메인 콘텐츠 영역: 2단 컬럼을 1단으로 변경 */
    .main-container {
        flex-direction: column; /* 세로로 쌓이도록 변경 */
        padding: 4rem 2rem; /* 좌우 여백 추가 */
    }

    /* 왼쪽 콘텐츠 컬럼 */
    .content-column {
        width: 100%; /* 너비 전체 사용 */
        padding-right: 0; /* 오른쪽 여백 제거 */
    }

    /* 오른쪽 폼 컬럼 */
    .form-column {
        width: 100%;
        position: static; /* sticky 고정 효과 해제 */
        top: 0;
        margin-top: 3rem; /* 콘텐츠와의 간격 확보 */
    }

    /* "왜 필요할까요?" 섹션: 4열 -> 2열 */
    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* "무엇이 특별할까요?" 섹션: 2열 유지 */
    .feature-grid-type-B {
        grid-template-columns: repeat(2, 1fr);
    }
}


/* 모바일 (가로 768px 이하) */
@media (max-width: 768px) {

.form-row {
    flex-direction: column; /* 가로(row) 배치를 세로(column) 배치로 변경 */
    gap: 0; /* 세로로 쌓일 때 사이 간격 제거 */
}

.form-agree {
    margin-top: 1.5rem;
    text-align: left;
    background: #ec932d;
    padding: 10px 10px;
    border-radius: 20px;
}

    /* 헤더 텍스트 및 로고 크기 조정 */
    .hero-main {
                margin: 30px auto 60px; width: 100%;
    }
    .hero-main h1 {
        font-size: 2.5rem;
    }
    .hero-main p {
        font-size: 1.2rem;
    }
    .logo-daou img {
        height: 20px;
    }
    .logo-autodesk img {
        height: 30px;
    }
    .top-nav {
        padding: 1.5rem 1rem;
    }

    /* 본문 섹션 제목 크기 조정 */
    .content-section h2 {
        font-size: 1.8rem;
    }

    /* "왜 필요할까요?" 섹션: 2열 -> 1열 */
    .feature-grid {
        grid-template-columns: 1fr;
    }
    /* "무엇이 특별할까요?" 섹션: 2열 -> 1열 */
    .feature-grid-type-B {
        grid-template-columns: 1fr;
    }

    /* 안내사항 섹션 */
    .notice-section li {
        font-size: 1rem;
    }

    /* CTA 섹션 텍스트 크기 조정 */
    .cta-section h1, .cta-section h2 {
        font-size: 1.5rem;
    }

    /* 푸터: 로고와 정보가 세로로 쌓이도록 */
    .footer-content {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }
    .footer-logo {
        margin-bottom: 1.5rem;
    }
    .footer-info {
        text-align: left;
    }
}