/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Anuphan", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  color: #1a1a1a;
  background-color: #ffffff;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.text-danger {
  color: red;
}
.text-secondary {
  color: #bfbfbf;
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid #e5e5e5;
}

.nav-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.logo {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.5px;
  color: #1a1a1a;
}

.menu-btn {
  padding: 8px 24px;
  font-size: 14px;
  font-weight: 500;
  color: #1a1a1a;
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.3s ease;
}

.menu-btn:hover {
  color: #d4a574;
}

/* Hero Section */
.hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0;
  margin: 0 auto;
}
.image-1 {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero {
  position: relative;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 80px;
  overflow: hidden;
}

.hero-image {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.2),
    rgba(255, 255, 255, 0.4),
    rgba(255, 255, 255, 1)
  );
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  padding: 0 24px;
  max-width: 1000px;
  margin: 0 auto;
}

.hero-title {
  font-size: 96px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 24px;
  letter-spacing: -2px;
  line-height: 0.95;
}

.hero-subtitle {
  font-size: 24px;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 48px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.5;
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
}

/* Buttons */
.btn {
  padding: 16px 32px;
  font-size: 16px;
  font-weight: 500;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-primary {
  background-color: #d4a574;
  color: #ffffff;
}

.btn-primary:hover {
  background-color: #c89560;
  transform: scale(1.05);
}

.btn-secondary {
  background-color: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
}

.btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

.btn-accent {
  background-color: #d4a574;
  color: #ffffff;
}

.btn-accent:hover {
  background-color: #c89560;
  transform: scale(1.05);
}

/* About Section */
.about {
  padding: 96px 0;
  background-color: #f8f8f8;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 64px;
  align-items: center;
}

.section-title {
  font-size: 56px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 24px;
  line-height: 1.1;
}

.section-title.center {
  text-align: center;
}

.about-paragraph {
  font-size: 18px;
  color: #666666;
  line-height: 1.6;
  margin-bottom: 24px;
}

.about-image {
  height: 500px;
  border-radius: 16px;
  overflow: hidden;
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Services Section */
.services {
  padding: 96px 0;
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  margin-top: 64px;
}

.service-card {
  padding: 32px;
  background-color: #ffffff;
  border: 1px solid #e5e5e5;
  border-radius: 12px;
  transition: all 0.3s ease;
}

.service-card:hover {
  border-color: #d4a574;
}

.service-title {
  font-size: 24px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 16px;
  transition: color 0.3s ease;
}

.service-card:hover .service-title {
  color: #d4a574;
}

.service-description {
  font-size: 16px;
  color: #666666;
  line-height: 1.6;
}

/* CTA Section */
.cta {
  padding: 96px 0;
  background-color: #d4a574;
  color: #ffffff;
}

.cta-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.cta-title {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 24px;
}

.cta-subtitle {
  font-size: 20px;
  margin-bottom: 48px;
  opacity: 0.9;
  line-height: 1.5;
}

.cta-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
}

.email-input {
  padding: 16px 24px;
  border-radius: 8px;
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  font-size: 16px;
  width: 100%;
  max-width: 400px;
}

.email-input::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.email-input:focus {
  outline: none;
  border-color: rgba(255, 255, 255, 0.4);
}

/* Footer */
.footer {
  padding: 64px 0;
  background-color: #f8f8f8;
  border-top: 1px solid #e5e5e5;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-logo {
  font-size: 28px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 16px;
}

.footer-description {
  font-size: 16px;
  color: #666666;
  line-height: 1.6;
}

.footer-heading {
  font-size: 16px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 16px;
}

.footer-list {
  list-style: none;
}

.footer-list li {
  margin-bottom: 8px;
}

.footer-list a {
  color: #666666;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-list a:hover {
  color: #d4a574;
}

.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid #e5e5e5;
  text-align: center;
  color: #666666;
  font-size: 14px;
}

/* Contact Form Section */
.contact-form-section {
  padding: 96px 0;
  background: linear-gradient(135deg, #050749 0%, #0a28d7 100%);
  position: relative;
  overflow: hidden;
}

.contact-form-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url(https://teamdot-model.com/assets/images/1teamdot-model.jpg);
  background-size: cover;
  background-position: 0 0, 50px 50px;
  opacity: 0.3;
  pointer-events: none;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  position: relative;
  z-index: 1;
}

/* Contact Info Card */
.contact-info-card {
  background: rgba(26, 26, 26, 0.85);
  backdrop-filter: blur(10px);
  border-radius: 24px;
  padding: 0;
  color: #ffffff;
}

.contact-info-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 24px;
}

.contact-heading {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.2;
}

.contact-subtext {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 32px;
  opacity: 0.9;
}

.contact-person {
  display: flex;
  gap: 20px;
  margin-bottom: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-avatar {
  flex-shrink: 0;
}

.contact-avatar img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #d4a574;
}

.contact-details {
  flex: 1;
}

.contact-name {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
  font-size: 15px;
}

.contact-icon {
  width: 20px;
  height: 20px;
  color: #d4a574;
  flex-shrink: 0;
}

.training-info {
  margin-top: 32px;
}

.training-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 16px;
}

.training-description {
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 16px;
  opacity: 0.9;
}

.training-contact {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  font-size: 15px;
}

.btn-outline {
  padding: 12px 24px;
  font-size: 15px;
  font-weight: 500;
  color: #ffffff;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
}

/* Form Card */
.form-card {
  background: #ffffff;
  border-radius: 24px;
  padding: 48px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.form-heading {
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 2px solid #0a28d7;
}
.form-heading p {
  margin-top: 10px;
}

.form-card form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.form-group {
  width: 100%;
}

.form-group label {
  display: block;
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 8px;
}

.form-input {
  width: 100%;
  padding: 16px 20px;
  font-size: 16px;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  transition: all 0.3s ease;
  font-family: "Anuphan", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
}

.form-input:focus {
  outline: none;
  border-color: #d4a574;
  box-shadow: 0 0 0 3px rgba(212, 165, 116, 0.1);
}

.form-input::placeholder {
  color: #999999;
}

.consent-section {
  margin-top: 8px;
}

.consent-text {
  font-size: 14px;
  line-height: 1.6;
  color: #666666;
  margin-bottom: 16px;
}

.radio-group {
  display: flex;
  gap: 32px;
  margin-bottom: 16px;
}

.radio-label {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-size: 15px;
  color: #1a1a1a;
}

.radio-label input[type="radio"] {
  width: 18px;
  height: 18px;
  cursor: pointer;
  accent-color: #d4a574;
}

.privacy-text {
  font-size: 13px;
  line-height: 1.6;
  color: #666666;
  margin-bottom: 8px;
}

.privacy-link {
  font-size: 13px;
  color: #d4a574;
  text-decoration: underline;
  transition: color 0.3s ease;
}

.privacy-link:hover {
  color: #c89560;
}

.btn-submit {
  width: 100%;
  padding: 18px 32px;
  font-size: 18px;
  font-weight: 600;
  color: #ffffff;
  background: linear-gradient(135deg, #050749 0%, #0a28d7 100%);
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 12px;
  font-family: "Anuphan", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
}

.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(10, 40, 215, 0.3);
}

.sticky-cta {
  position: fixed;
  z-index: 10;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  background: #111;
  color: #fff;
  padding: 10px 16px;
  border-radius: 999px;
}
.sticky-cta a {
  color: #fff;
  text-decoration: none;
}

/* Responsive Design */
@media (min-width: 640px) {
  .hero-buttons {
    flex-direction: row;
    justify-content: center;
  }

  .cta-form {
    flex-direction: row;
    justify-content: center;
  }
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 128px;
  }

  .about-grid {
    grid-template-columns: 1fr 1fr;
  }

  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1024px) {
  .grid-2 {
    grid-template-columns: 1fr 1fr;
  }
  .hero-title {
    font-size: 144px;
  }

  .container {
    padding: 0 32px;
  }
}
