* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.5;
  background-color: #F7F9FC;
  color: #333;
}

.content-wrapper {
  background: #ffffff;       
  max-width: 1200px;         
  margin: 0 auto;            
  padding: 0;                
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
}

a {
  text-decoration: none;
  color: inherit;
}

/* ---------- HEADER ---------- */

header {
  border-bottom: 4px solid #330099;
}

.top-bar {
  max-width: 1200px;
  margin: 0 auto;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-area {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: inherit;
}

.logo-area img {
  width: 50px;
  height: auto;
  margin-right: 12px;
}

.logo-box {
  width: 42px;
  height: 42px;
  background: #330099;
  color: #fff;
  border-radius: 6px;
  font-weight: bold;
  display: flex;
  justify-content: center;
  align-items: center;
}

.school-text {
  line-height: 1.2;
}
.school-name {
    font-size: 21px;
    font-weight: 700;
    color: #330099;
}

.school-tagline {
    font-size: 13px;
    color: #666;
    margin-top: 4px;
}



nav ul {
  display: flex;
  gap: 20px;
  list-style: none;
}

nav a {
  color: #330099;
  font-weight: bold;
}

nav a:hover {
  text-decoration: underline;
}


/* ------ DROPDOWN MENU ----- */

nav ul li {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  display: none;
  background: white;
  padding: 10px 0;
  list-style: none;
  min-width: 160px;
  border: 1px solid #ddd;
  border-radius: 5px;
  z-index: 100;
}

.dropdown-menu li a {
  display: block;
  padding: 8px 15px;
  color: #4b0082;
  font-size: 14px;
  white-space: nowrap;
}

.dropdown-menu li a:hover {
  background: #f3f0ff;
}


.dropdown:hover .dropdown-menu {
  display: block;
}


.dropdown > a {
  display: flex;
  align-items: center;
  gap: 4px;
}


.container {
  max-width: 1200px;
  margin: 0 auto;
}


.hero {
  width: 100%;
  overflow: hidden;
}

.hero img {
  width: 100%;
  height: 100%;
  display: block;
}


.contact {
  width: 100%;
  overflow: hidden;
}

.contact img {
  width: 100%;
  height: 100%;
  display: block;
}




.features {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;   
  padding: 20px 0;
}

.feature-box {
  width: 30%;
  padding: 30px;
  border-radius: 12px;
  color: #fff;
  display: inline-block;
  vertical-align: top;
  margin: 10px 10px;
}

.purple { background-color: #330099; }
.pink { background-color: #D83375; }
.orange { background-color: #F5A623; }

.feature-content {
  display: flex;
  align-items: flex-start;
}

.feature-icon {
  width: 42px;
  height: auto;
  margin-right: 12px;
}

.feature-text h3 {
  font-size: 1.1rem;
  margin: 0 0 6px 0;
  font-weight: 600;
}

.feature-text p {
  margin: 0;
  font-size: 0.9rem;
}


/* WHY SECTION */
.why {
  text-align: center;
  padding: 40px 20px;
  max-width: 1000px;
  margin: 0 auto;
}

.why h1 {
  font-size: 30px;
  color: #330099;
  font-weight: bold;
}

.slogan {
  font-size: 1.2rem;
  font-weight: bold;
  margin-bottom: 20px; 
}

.why-text {
  margin-top: 10px;
  line-height: 1.7;
  font-size: 1.05rem;
  color: #333;
}

/* PROGRAM SPLIT SECTION */
.programs-section {
    display: flex;
    background-color: #fef5c0;  
    width: 100%
}

.programs-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.programs-text {
    padding: 40px;
    width: 50%;
}

.programs-text h2 {
    font-size: 28px;
    color: #cc8a00;
    margin-bottom: 20px;
    font-weight: bold;
}

.programs-text ul {
    list-style-type: disc;
    margin-left: 20px;
    line-height: 1.8;
    font-size: 20px;
    color: #805200;
}

.programs-text ul li strong {
    color: #805200;
}

.program-info {
    margin-top: 20px;
}

.program-title-link {
    text-decoration: none;
    color: inherit; 
}

.program-title-link:hover {
    text-decoration: underline;
    text-decoration-color: #805200;
    opacity: 0.85;
}

.semester-btn {
    display: inline-block;
    margin-top: 30px;
    padding: 12px 28px;
    background-color: #cc8a00; 
    color: white;
    font-weight: 600;
    border-radius: 28px;
    text-decoration: none;
    transition: background 0.3s ease;
}

.semester-btn:hover {
    background-color: #805200;
}


/* BUTTONS */
.button-row {
  margin: 30px 0 40px;
  display: flex;
  justify-content: center;
  gap: 20px;
}

.btn {
  padding: 10px 30px;
  border-radius: 25px;
  font-size: 14px;
  font-weight: bold;
  color: white;
}

.btn-register {
  background: #ff5b5b;
}

.btn-contact {
  background: #330099;
}

.btn:hover {
  opacity: 0.9;
}

/* FOOTER */
.footer {
  background-color: #0c134f; /* Navy */
  padding: 40px 0;
  color: white;
  font-size: 15px;
}

.footer-container {
  width: 90%;
  max-width: 1200px;
  margin: auto;

  /* 정렬 핵심! */
  display: flex;
  justify-content: space-between;
  align-items: flex-start; 
  gap: 50px;
}

.footer-left, .footer-center, .footer-right {
  flex: 1;
}


.footer-center {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 10px;
}

.footer-center a {
  color: white;
  text-decoration: none;
  font-weight: 500;
}

.footer-right {
  text-align: right;
  font-size: 13px;
}

.footer-logo {
  width: 350px;
  margin-bottom: 10px;
}


.footer-bottom {
  margin:20px 0 0 0;
  padding: 6px;
  text-align: center;
  font-size: 11px;
}

/* RESPONSIVE */
/* ============================
   TABLET & MOBILE (≤ 900px)
   ============================ */
@media (max-width: 900px) {

  
  .top-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  nav ul {
    flex-wrap: wrap;
    gap: 10px 16px;
  }

  nav ul li {
    margin-right: 0;
  }


  .features {
    flex-direction: column;
    align-items: stretch;
    padding: 20px 16px;
  }

  .feature-box {
    width: 100%;
    margin: 0 0 16px 0;
  }


  .programs-section {
    flex-direction: column;
  }

  .programs-image {
    width: 100%;
  }

  .programs-image img {
    width: 100%;
    height: auto;
  }

  .programs-text {
    width: 100%;
    padding: 20px;
  }


  .why {
    padding: 30px 16px;
    max-width: 100%;
  }


  .footer-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 24px;
  }

  .footer-right {
    text-align: center;
  }

  .footer-logo {
    width: 220px;
  }
}

/* ============================
   SMALL MOBILE (≤ 600px)
   ============================ */
@media (max-width: 600px) {

 
  .button-row {
    flex-direction: column;
    padding: 0 20px 30px;
  }

  .btn {
    width: 100%;
    text-align: center;
  }

 
  .school-name {
    font-size: 18px;
  }

  .why h1 {
    font-size: 24px;
  }

  nav a {
    font-size: 14px;
  }
}


