@import url('https://fonts.googleapis.com/css2?family=Baloo+Bhai+2:wght@400..800&family=Borel&family=Josefin+Sans:ital,wght@0,100..700;1,100..700&family=Oswald:wght@200..700&family=Playwrite+HR:wght@100..400&family=Playwrite+IN:wght@100..400&family=Playwrite+VN:wght@100..400&family=Roboto:ital,wght@0,100..900;1,100..900&family=Varta:wght@300..700&display=swap');

* { 
    margin: 0; 
    padding: 0;
    box-sizing: border-box; }
    
  body {
    margin: 0;
    font-family: "Poppins", sans-serif;
    font-size: 13px;
    background-image: url('img/background.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    min-height: 100vh;
    color: #fff;
  }
  .teacher-day-header {
    width: 100%;
    height: 800px; 
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
  }
  .teacher-day-header::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.55) 100%);
    pointer-events: none;
  }

  .center-text {
    position: relative;              
    z-index: 2;
    text-align: center;
    padding: 28px 24px;
    max-width: 1100px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
  }
  .center-text .greeting {
    font-family: "Playwrite VN", cursive;
    font-size: clamp(40px, 6.5vw, 80px);
    line-height: 0.95;
    margin: 0;
    letter-spacing: 0.5px;
   background: linear-gradient(90deg, #fff9e6 0%, #ffd166 45%, #ffb703 100%);
    -webkit-background-clip: text;
    background-clip:text;
    text-shadow: 0 2px 8px rgba(0,0,0,0.55);
  }
  .center-text .subtitle {
    font-weight: 700;
    font-size: clamp(26px, 3.2vw, 50px);
    text-transform: uppercase;
    color: rgba(255,255,255,0.95);
    letter-spacing: 2px;
    padding-top: 60px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.55);

  }
  .center-text .tagline {
    font-size: clamp(20px, 2.8vw, 33px); 
    font-weight: 700;
    line-height: 1.15;
    margin: 14px 0 0;
    padding-top: 20px;
    background: linear-gradient(90deg, #fff9e6 0%, #ffd166 45%, #ffb703 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent; 
    text-shadow: 0 6px 20px rgba(0,0,0,0.6);
    max-width: 960px;
    text-align: center;
  }
  .teacher-day-header::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.35); /* nền đen mờ */
    backdrop-filter: blur(10px);     /* làm mờ giống main content */
    pointer-events: none;
}

  .right-logos {
    position: absolute;
    top: 20px; 
    right: 20px;
    display: flex;
    gap: 20px;
    z-index: 3;
  }
/* 
  .picture {
    justify-content:center;
    display: flex;
    gap: 10px;
  }

  .picture img {
    width: 500px;
    height: auto;
  } */

  .right-logos img {
    height: 80px;
    width: auto;
    object-fit: contain;
    border-radius: 50%;
    box-shadow: 0 6px 14px rgba(0,0,0,0.35);
    background: rgba(255,255,255,0.02);
  }

  .content {
    padding: 40px 20px 80px;
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.75;
    font-size: 18px;
    color: #fff;
    backdrop-filter: blur(6px);
  }



  @media (max-width: 720px) {
    .teacher-day-header {
      height: 520px;
      background-size: 110% auto; 
      background-position: center;
      background-attachment: scroll;
    }
    .center-text { transform: translateY(18px); }
    .center-text .tagline {
      font-size: clamp(18px, 4.2vw, 26px); 
      padding: 6px 10px;
      margin-top: 10px;
    }
    .right-logos img { height: 56px; }
    .content { font-size: 16px; padding: 24px; }
  }


/* Nội dung chính */
.teacher-message {
    padding: 30px 24px;
    background: rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(10px);
    line-height: 1.8;
    font-size: 20px;
    font-family: "Merriweather", serif;
    box-shadow: 0 8px 26px rgba(0, 0, 0, 0.35);
}

.section-title {
    font-family: "Playwrite IN", cursive;
    font-size: 33px;
    text-align: center;
    color: #f8c21e;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.35);
    margin-bottom: 12px;
}

.section-p1,
.section-p2 {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    padding: 30px 0;
}

.section-p2 {
    flex-direction: row-reverse;
}

.section-p1 p,
.section-p2 p,
.section-p3 p {
    margin: 6px 0 16px;
    text-align: justify;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.35);
}

.section-p3 h3 {
    text-align: center;
    font-family: "Playwrite IN", cursive;
    font-size: 26px;
    margin-top: 48px;
    margin-bottom: 12px;
    color: #f8c21e;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.35);

}

.section-p1 img,
.section-p2 img {
    width: 100%;
    max-width: 49%;
    border-radius: 12px;
    object-fit: cover;

    box-shadow: 0 6px 22px rgba(0, 0, 0, 0.45);
}

/* Footer */
.contact-bar {
    background: #020b3f;
    background: blur(8px);      

    color: #fff;
    padding: 20px;
    text-align: center;
}

.contact-bar h3 {
    margin-bottom: 18px;
}

.buttons {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.btn {
    text-decoration: none;
    padding: 12px 26px;
    border-radius: 40px;

    display: inline-flex;
    align-items: center;
    gap: 10px;

    font-weight: 600;
    color: #fff;

    transition: 0.25s ease;
}

.btn:hover {
    transform: translateY(-4px);
    opacity: 0.9;
}

.btn-fb {
    background: #1877f2;
}

.btn-email {
    background: #e74c3c;
}


/* Responsive cho điện thoại */
@media (max-width: 720px) {
    .teacher-day-header {
        height: 540px;
        background-attachment: scroll;
        background-size: 130% auto;
    }

    .right-logos img {
        height: 62px;
    }

    /* 2 cột → 1 cột */
    .section-p1,
    .section-p2 {
        flex-direction: column;
        text-align: center;
    }

    .section-p2 {
        flex-direction: column-reverse;
    }

    .section-p1 img,
    .section-p2 img {
        max-width: 100%;
    }

    .teacher-message {
        font-size: 16px;
        padding: 26px 22px;
    }
}