/* ================================
   1. 기본 타이포그래피 및 유틸
   ================================ */
body,
html {
  font-family: "Open Sans", sans-serif;
  text-rendering: optimizeLegibility !important;
  -webkit-font-smoothing: antialiased !important;
  color: #777;
  font-weight: 400;
  width: 100% !important;
  height: 100% !important;
  overflow-x: hidden;
}

h2, h3, h4 {
  font-family: "Raleway", sans-serif;
}

h2 {
  text-transform: uppercase;
  margin: 0 0 20px;
  font-weight: 800;
  font-size: clamp(22px, 4vw, 36px);
  color: #333;
}

h3 {
  font-size: clamp(18px, 3vw, 20px);
  font-weight: 600;
  color: #ffffff;
}

h4 {
  font-size: clamp(16px, 2.8vw, 18px);
  color: #333;
  font-weight: 600;
}

h5 {
  text-transform: uppercase;
  font-weight: 700;
  line-height: 20px;
}

p {
  font-size: clamp(14px, 2.4vw, 15px);
  line-height: 1.6;
}

p.intro {
  margin: 12px 0 0;
  line-height: 24px;
}

a {
  color: #608dfd;
  font-weight: 400;
}
a:hover, a:focus {
  text-decoration: none;
  color: #608dfd;
}

ul, ol {
  list-style: none;
  padding: 0;
  margin: 0;
}

hr {
  height: 2px;
  width: 70px;
  text-align: center;
  position: relative;
  background: #1e7a46;
  margin-bottom: 20px;
  border: 0;
}

/* ================================
   2. Navigation
   ================================ */
#menu {
  padding: 8px;
  transition: all 0.8s;
}

#menu.navbar-default {
  background-color: #fff;
  border-color: transparent;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
}

#menu a.navbar-brand {
  font-family: "Raleway", sans-serif;
  font-size: clamp(20px, 3vw, 24px);
  font-weight: 700;
  color: #01101b;
}

#menu.navbar-default .navbar-nav > li > a {
  font-family: "Lato", sans-serif;
  text-transform: uppercase;
  color: #555;
  font-size: clamp(13px, 2.8vw, 15px);
  font-weight: 400;
  padding: 8px 2px;
  margin: 9px 20px 0;
  position: relative;
}

#menu.navbar-default .navbar-nav > li > a:after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 0;
  height: 2px;
  background: linear-gradient(to right, #6372ff 0%, #5ca9fb 100%);
  transition: width 0.2s;
}

#menu.navbar-default .navbar-nav > li > a:hover:after {
  width: 100%;
}

.navbar-toggle {
  border-radius: 0;
}

.navbar-default .navbar-toggle:hover,
.navbar-default .navbar-toggle:focus {
  background-color: #fff;
  border-color: #608dfd;
}
.navbar-default .navbar-toggle:hover > .icon-bar {
  background-color: #608dfd;
}

/* ================================
   3. Header Section (기본 Hero)
   ================================ */
.intro {
  display: table;
  width: 100%;
  padding: 0;
  background: url(../img/intro-bg.jpg) center center / cover no-repeat;
  background-color: #e5e5e5;
}

.intro .overlay {
  background: rgba(0, 0, 0, 0.2);
}

.intro h1 {
  font-family: "Raleway", sans-serif;
  color: #fff;
  font-size: clamp(30px, 10vw, 82px);
  font-weight: 700;
  text-transform: uppercase;
  margin: 0 0 20px;
}

.intro h1 span {
  font-weight: 800;
  color: #5ca9fb;
}

.intro p {
  color: #fff;
  font-size: clamp(16px, 4vw, 22px);
  font-weight: 300;
  line-height: 1.5;
  margin: 0 auto 60px;
  max-width: 700px;
  text-align: center;
}

header .intro-text {
  padding-top: clamp(120px, 25vh, 350px);
  padding-bottom: clamp(80px, 20vh, 200px);
  text-align: center;
}

/* ================================
   4. Features
   ================================ */
#features {
  background: #f6f6f6;
  padding: clamp(60px, 10vw, 100px) 0;
}

#features i.fa {
  font-size: clamp(26px, 6vw, 38px);
  margin-bottom: 20px;
  color: #fff;
  width: clamp(70px, 15vw, 100px);
  height: clamp(70px, 15vw, 100px);
  padding: clamp(18px, 4vw, 30px) 0;
  border-radius: 50%;
  background: linear-gradient(to right, #6372ff 0%, #5ca9fb 100%);
  box-shadow: 10px 10px 10px rgba(0, 0, 0, 0.05);
}

/* ================================
   5. About
   ================================ */
#about {
  padding: clamp(60px, 10vw, 100px) 0;
}

#about h3 {
  font-size: clamp(18px, 3vw, 22px);
  margin: 0 0 20px;
}

#about .about-text li {
  margin-bottom: 6px;
  list-style: none;
}
#about .about-text li:before {
  content: "\f00c";
  font-family: "FontAwesome";
  color: #5ca9fb;
  font-size: 11px;
  padding-right: 8px;
}
#about img {
  width: 100%;
  max-width: 520px;
  margin: 30px auto 0;
  display: block;
  background: #fff;
  box-shadow: 0 0 50px rgba(0, 0, 0, 0.06);
}

/* ================================
   6. Services
   ================================ */
#services {
  padding: clamp(60px, 10vw, 100px) 0;
  background: linear-gradient(to right, #6372ff 0%, #5ca9fb 100%);
  color: #fff;
}
#services h2 {
  color: #fff;
}
#services i.fa {
  font-size: clamp(28px, 5vw, 42px);
  width: clamp(80px, 14vw, 120px);
  height: clamp(80px, 14vw, 120px);
  padding: clamp(20px, 4vw, 40px) 0;
  border-radius: 50%;
  background: linear-gradient(to right, #6372ff 0%, #5ca9fb 100%);
}

/* ================================
   7. Portfolio
   ================================ */
#portfolio {
  padding: clamp(60px, 10vw, 100px) 0;
}

/* ================================
   8. Testimonials
   ================================ */
#testimonials {
  padding: clamp(60px, 10vw, 100px) 0;
  background: #f6f6f6;
}

.testimonial-content p {
  font-size: clamp(13px, 2.8vw, 14px);
  line-height: 1.5;
}

/* ================================
   9. Team
   ================================ */
#team {
  padding: clamp(60px, 10vw, 100px) 0;
}

#team .team-img {
  width: clamp(160px, 40vw, 240px);
  margin-inline: auto;
}

/* ================================
   10. Contact
   ================================ */
#contact {
  padding: clamp(60px, 10vw, 100px) 0 clamp(40px, 8vw, 60px);
  background: linear-gradient(to right, #6372ff 0%, #5ca9fb 100%);
  color: rgba(255, 255, 255, 0.85);
}

#contact h2, #contact h3 {
  color: #fff;
  text-align: center;
}

#contact form {
  padding-top: 20px;
}

#contact .form-control {
  font-size: 16px;
  padding: 10px 12px;
  border-radius: 6px;
  border: 1px solid #ddd;
}

/* ================================
   11. Footer
   ================================ */
#footer {
  background: #f6f6f6;
  padding: clamp(20px, 5vw, 30px) 0;
  text-align: center;
}

#footer p {
  color: #0e4c7a;
  font-size: clamp(12px, 2.6vw, 14px);
}
#footer a {
  color: #608dfd;
}
#footer a:hover {
  border-bottom: 2px solid #608dfd;
}

/* ================================
   12. Buttons
   ================================ */
.btn-custom {
  font-family: "Raleway", sans-serif;
  text-transform: uppercase;
  color: #fff;
  background: linear-gradient(to right, #5ca9fb 0%, #6372ff 100%);
  padding: clamp(10px, 2vw, 14px) clamp(22px, 4vw, 34px);
  letter-spacing: 1px;
  font-size: clamp(13px, 2.6vw, 15px);
  border-radius: 25px;
  border: 0;
  transition: all 0.3s ease;
}
.btn-custom:hover {
  background: #6372ff;
  color: #fff;
}

/* ================================
   13. Responsive Fine-tune
   ================================ */
@media (max-width: 992px) {
  .navbar-nav { text-align: center; }
  #menu.navbar-default .navbar-nav > li > a { margin: 10px 8px; }
}
@media (max-width: 768px) {
  header .intro-text { padding-top: 160px; padding-bottom: 120px; }
  .btn-custom { font-size: 14px; padding: 10px 20px; }
}
@media (max-width: 480px) {
  .intro h1 { font-size: clamp(26px, 8vw, 44px); }
  .intro p { font-size: clamp(16px, 4vw, 20px); margin-bottom: 40px; }
  #features, #about, #services, #portfolio, #testimonials, #team, #contact {
    padding: 60px 0;
  }
}
