.elementor-47933 .elementor-element.elementor-element-7e17f730{--display:flex;--margin-top:0px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}/* Start custom CSS for html, class: .elementor-element-a02c3e7 */@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+Thai:wght@300;400;500;600;700;900&display=swap");
:root {
    --purple:       #6D28D9;
    --purple-mid:   #7C3AED;
    --purple-light: #A78BFA;
    --purple-pale:  #EDE9FE;
    --purple-soft:  #F5F3FF;
    --white:        #FFFFFF;
    --text-dark:    #1E1035;
    --text-mid:     #4C1D95;
    --text-body:    #374151;
    --border:       rgba(109,40,217,0.18);
  }

  * { margin: 0; padding: 0; box-sizing: border-box; }

  body {
    font-family: 'Noto Sans Thai', sans-serif;
    background: var(--white);
    color: var(--text-body);
    overflow-x: hidden;
  }

  .hero {
    position: relative;
    height: 100vh;
    min-height: 650px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: url(https://www.iccs.ac.th/wp-content/uploads/2026/04/Gemini_Generated_Image_8jr9au8jr9au8jr9.png) center/cover no-repeat;
    overflow: hidden;
  }

  .hero-pattern { position: absolute; inset: 0; background: rgba(0,0,0,0.3); }

  .hero-pattern svg { display: none; }

  .hero-glow {
    position: absolute;
    width: 600px; height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(167,139,250,0.2) 0%, transparent 70%);
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
  }

  .hero-ornament { width: 280px; margin-bottom: 2rem; opacity: 0; animation: fadeDown 1s ease 0.3s forwards; }

  .hero-subtitle-top {
    font-family: 'Noto Sans Thai', sans-serif;
    font-size: 0.85rem;
    letter-spacing: 0.3em;
    color: #C4B5FD;
    text-transform: uppercase;
    margin-bottom: 1.2rem;
    opacity: 0;
    animation: fadeUp 0.8s ease 0.5s forwards;
  }

  .hero-title {
    font-family: 'Noto Sans Thai', sans-serif;
    font-size: clamp(2.8rem, 7vw, 5.5rem);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: #FFFFFF !important;
    text-shadow: 0 0 60px rgba(167,139,250,0.5), 0 2px 40px rgba(0,0,0,0.4);
    opacity: 0;
    animation: fadeUp 1s ease 0.7s forwards;
    padding: 0 1rem;
  }

  .hero-divider { display: flex; align-items: center; gap: 1rem; margin: 1.5rem auto; width: fit-content; opacity: 0; animation: fadeUp 0.8s ease 0.9s forwards; }
  .hero-divider-line { height: 1px; width: 80px; background: linear-gradient(90deg, transparent, #A78BFA, transparent); }
  .hero-divider-diamond { width: 8px; height: 8px; background: #A78BFA; transform: rotate(45deg); }

  .hero-college {
    font-family: 'Noto Sans Thai', sans-serif;
    font-size: 1.3rem;
    font-weight: 600;
    color: #DDD6FE;
    letter-spacing: 0.05em;
    opacity: 0;
    animation: fadeUp 0.8s ease 1.1s forwards;
  }

  .hero-year { margin-top: 0.5rem; font-size: 0.8rem; color: rgba(196,181,253,0.7); letter-spacing: 0.2em; opacity: 0; animation: fadeUp 0.8s ease 1.2s forwards; }

  .hero-scroll { position: absolute; bottom: 2.5rem; left: 0; right: 0; margin: 0 auto; width: fit-content; display: flex; flex-direction: column; align-items: center; gap: 0.5rem; opacity: 0; animation: fadeUp 0.8s ease 1.5s forwards; cursor: pointer; }
  .hero-scroll span { font-size: 0.7rem; letter-spacing: 0.2em; color: #C4B5FD; text-transform: uppercase; }
  .scroll-line { width: 1px; height: 50px; background: linear-gradient(to bottom, #A78BFA, transparent); animation: scrollPulse 2s ease-in-out infinite; }

  .intro-band {
    background: var(--purple-soft);
    border-top: 3px solid var(--purple-mid);
    border-bottom: 1px solid var(--border);
    padding: 4rem 2rem;
    text-align: center;
  }
  .intro-band p { font-family: 'Noto Sans Thai', sans-serif; font-size: clamp(1.2rem, 2.5vw, 1.6rem); font-weight: 300; line-height: 2.1; color: var(--text-mid); max-width: 800px; margin: 0 auto; }
  .intro-band strong { color: var(--purple); font-weight: 700; }

  .container { max-width: 1100px; margin: 0 auto; padding: 0 2rem; }
  .section { padding: 6rem 2rem; background: var(--white); }
  .section-alt { background: var(--purple-soft); }

  .section-header { display: flex; align-items: center; gap: 1.5rem; margin-bottom: 3rem; }
  .section-number { font-family: 'Noto Sans Thai', sans-serif; font-size: 4rem; font-weight: 600; color: rgba(109,40,217,0.1); line-height: 1; min-width: 60px; }
  .section-title-wrap h2 { font-family: 'Noto Sans Thai', sans-serif; font-size: clamp(1.8rem, 3vw, 2.6rem); font-weight: 600; letter-spacing: -0.01em; color: var(--purple); line-height: 1.3; margin-bottom: 0.4rem; }
  .section-title-wrap .underline { height: 2px; width: 60px; background: var(--purple-mid); }

  .body-text { font-family: 'Noto Sans Thai', sans-serif; font-size: 1.15rem; line-height: 2.3; color: var(--text-body); max-width: 720px; }
  .body-text + .body-text { margin-top: 1.2rem; }
  .body-text strong { color: var(--purple); font-weight: 600; }

  .quote-block { margin: 3rem 0; padding: 2.5rem 3rem; border-left: 3px solid var(--purple-mid); background: var(--purple-pale); position: relative; }
  .quote-block::before { content: '"'; font-family: 'Noto Sans Thai', sans-serif; font-size: 6rem; color: var(--purple-mid); opacity: 0.2; position: absolute; top: -1rem; left: 1.5rem; line-height: 1; }
  .quote-block p { font-family: 'Noto Sans Thai', sans-serif; font-size: 1.25rem; font-weight: 400; line-height: 2.1; color: var(--text-mid); font-style: italic; }

  .cards-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.5rem; margin-top: 3rem; }
  .card { background: var(--white); border: 1px solid var(--border); padding: 2rem; position: relative; transition: border-color 0.3s, box-shadow 0.3s; box-shadow: 0 1px 4px rgba(109,40,217,0.06); }
  .card:hover { border-color: var(--purple-mid); box-shadow: 0 4px 20px rgba(109,40,217,0.12); }
  .card-icon { font-size: 2.2rem; margin-bottom: 1rem; }
  .card h3 { font-family: 'Noto Sans Thai', sans-serif; font-size: 1.2rem; font-weight: 700; color: var(--purple); margin-bottom: 0.8rem; }
  .card p { font-size: 1.05rem; line-height: 2; color: #6B7280; }
  .card-badge { position: absolute; top: 1rem; right: 1rem; font-size: 0.65rem; letter-spacing: 0.15em; padding: 0.25rem 0.7rem; border: 1px solid var(--border); color: var(--purple-mid); text-transform: uppercase; background: var(--purple-soft); }

  .timeline { position: relative; padding-left: 2.5rem; margin-top: 2rem; }
  .timeline::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 2px; background: linear-gradient(to bottom, var(--purple-mid), var(--purple-pale)); }
  .timeline-item { position: relative; margin-bottom: 2.5rem; padding-bottom: 2.5rem; border-bottom: 1px solid var(--border); }
  .timeline-item:last-child { border-bottom: none; }
  .timeline-dot { position: absolute; left: -2.8rem; top: 0.3rem; width: 10px; height: 10px; background: var(--purple-mid); transform: rotate(45deg); }
  .timeline-item h3 { font-family: 'Noto Sans Thai', sans-serif; font-size: 1.15rem; font-weight: 700; color: var(--purple); margin-bottom: 0.6rem; }
  .timeline-item p { font-size: 1.05rem; line-height: 2.1; color: #4B5563; }

  .stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 1.5px solid var(--border); margin: 4rem 0; background: var(--white); box-shadow: 0 2px 12px rgba(109,40,217,0.07); }
  .stat-item { padding: 2.5rem 1.5rem; text-align: center; border-right: 1px solid var(--border); }
  .stat-item:last-child { border-right: none; }
  .stat-number { font-family: 'Noto Sans Thai', sans-serif; font-size: 2.8rem; font-weight: 600; color: var(--purple-mid); line-height: 1; display: block; margin-bottom: 0.5rem; }
  .stat-label { font-size: 1rem; color: #6B7280; line-height: 1.6; }

  .patterns-row { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2rem; }
  .pattern-tag { padding: 0.5rem 1.2rem; border: 1px solid var(--border); font-size: 1rem; color: var(--text-mid); background: var(--purple-soft); position: relative; transition: all 0.3s; }
  .pattern-tag::before { content: '◆'; font-size: 0.5rem; color: var(--purple-mid); margin-right: 0.5rem; vertical-align: middle; }
  .pattern-tag:hover { background: var(--purple-pale); border-color: var(--purple-mid); color: var(--purple); }

  .cta-section { padding: 6rem 2rem; background: linear-gradient(145deg, #1E1035 0%, #3B0F8C 60%, #5B21B6 100%); text-align: center; position: relative; overflow: hidden; }
  .cta-section::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at center, rgba(167,139,250,0.12) 0%, transparent 70%); }
  .cta-section h2 { font-family: 'Noto Sans Thai', sans-serif; font-size: clamp(1.8rem, 4vw, 3rem); font-weight: 700; color: #FFFFFF; margin-bottom: 1rem; position: relative; }
  .cta-section p { font-size: 1rem; color: #C4B5FD; max-width: 500px; margin: 0 auto 3rem; line-height: 1.9; position: relative; }
  .cta-btn { display: inline-block; padding: 1rem 3rem; background: transparent; border: 1.5px solid #A78BFA; color: #FFFFFF; font-family: 'Noto Sans Thai', sans-serif; font-size: 1rem; font-weight: 600; cursor: pointer; text-decoration: none; transition: all 0.3s; letter-spacing: 0.05em; }
  .cta-btn:hover { background: #A78BFA; color: #1E1035; }

  .footer { background: #1E1035; border-top: 3px solid var(--purple-mid); padding: 3rem 2rem; text-align: center; }
  .footer-logo { font-family: 'Noto Sans Thai', sans-serif; font-size: 1.1rem; font-weight: 700; color: #DDD6FE; margin-bottom: 0.5rem; }
  .footer-sub { font-size: 0.8rem; color: rgba(196,181,253,0.5); letter-spacing: 0.15em; text-transform: uppercase; }
  .footer-divider { height: 1px; width: 120px; background: linear-gradient(90deg, transparent, #7C3AED, transparent); margin: 1.5rem auto; }
  .footer-copy { font-size: 0.78rem; color: rgba(196,181,253,0.35); }

  .ornament-center { display: flex; align-items: center; justify-content: center; gap: 0.8rem; margin: 2.5rem 0; }
  .ornament-center .line { height: 1px; width: 100px; background: linear-gradient(90deg, transparent, rgba(109,40,217,0.3), transparent); }
  .ornament-center .diamond { width: 6px; height: 6px; background: var(--purple-mid); transform: rotate(45deg); }

  .lamp-feature { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; margin-top: 2rem; }

  @media (max-width: 768px) {
    .lamp-feature { grid-template-columns: 1fr; gap: 2rem; }
    .stat-row { grid-template-columns: 1fr; }
    .stat-item { border-right: none; border-bottom: 1px solid var(--border); }
    .stat-item:last-child { border-bottom: none; }
    .section-header { flex-direction: column; align-items: flex-start; gap: 0.5rem; }
    .section-number { font-size: 2.5rem; }
    .quote-block { padding: 1.5rem; }
  }

  .lamp-illustration { display: flex; justify-content: center; align-items: center; }
  .lamp-illustration svg { filter: drop-shadow(0 0 25px rgba(109,40,217,0.2)); animation: lampGlow 3s ease-in-out infinite alternate; }

  @keyframes lampGlow {
    from { filter: drop-shadow(0 0 15px rgba(109,40,217,0.15)); }
    to   { filter: drop-shadow(0 0 40px rgba(124,58,237,0.35)); }
  }

  @keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
  @keyframes fadeDown { from { opacity: 0; transform: translateY(-15px); } to { opacity: 1; transform: translateY(0); } }
  @keyframes scrollPulse { 0%, 100% { opacity: 0.5; } 50% { opacity: 1; } }

  .reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.8s ease, transform 0.8s ease; }
  .reveal.visible { opacity: 1; transform: translateY(0); }
/* ─── แก้ปัญหา Elementor Editor ไม่เห็นข้อความ ─── */
.elementor-editor-active .reveal,
.elementor-editor-active .hero-title,
.elementor-editor-active .hero-college,
.elementor-editor-active .hero-subtitle-top,
.elementor-editor-active .hero-year,
.elementor-editor-active .hero-ornament,
.elementor-editor-active .hero-divider,
.elementor-editor-active .hero-scroll {
  opacity: 1 !important;
  transform: none !important;
  animation: none !important;
}


/* ─── Section 03 New Layout ─── */
.lamp-feature-new { width: 100%; }

.lamp-text {
  max-width: 680px;
  margin-bottom: 2.5rem;
}

.lamp-shapes {
  margin-top: 1.2rem;
  font-size: 0.95rem;
  color: #7C3AED;
  line-height: 1.8;
}

.lamp-photos-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  grid-template-rows: 360px;
  gap: 1rem;
}

.lamp-photo-wrap {
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(109,40,217,0.1);
}

.lamp-photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.lamp-photo-wrap:hover img {
  transform: scale(1.05);
}

.lamp-photo-large { grid-column: 1; }

@media (max-width: 768px) {
  .lamp-photos-grid {
    grid-template-columns: 1fr;
    grid-template-rows: 260px 220px 220px;
  }
}/* End custom CSS */