*{
  margin:0;
  padding:0;
  box-sizing:border-box;
}

body{
  font-family:'Inter',sans-serif;
  background:#efefef;
  color:#111;
  overflow:hidden;
}

a{
  text-decoration:none;
  color:inherit;
}

/* =========================
   MAIN
========================= */
/* HERO IMAGE */
img{
  max-width:100%;
  height:auto;
  display:block;
}

.main-content{
  width:100%;
  height:100dvh;
  overflow-y:auto;
  overflow-x:hidden;
}

/* =========================
   HERO
========================= */

.innovation-hero{

  position:relative;

  padding:100px 80px 40px;

  background:#efefef;
}

.hero-wrapper{
  max-width:1300px;
  margin:auto;
}

/* =========================
   VERTICAL TITLE
========================= */

.vertical-title{

  position:absolute;

  left:18px;
  top:180px;

  writing-mode:vertical-rl;

  transform:rotate(180deg);

  font-size:22px;
  font-weight:500;

  color:#111;
}

/* =========================
   BREADCRUMB
========================= */

.breadcrumb{

  font-size:14px;

  color:#666;

  margin-bottom:28px;
}

.breadcrumb span{
  color:#c40018;
}

/* =========================
   HERO GRID
========================= */

.hero-grid{

  display:grid;

  grid-template-columns:1.2fr .9fr;

  gap:70px;

  align-items:start;
}

/* =========================
   HERO TITLE
========================= */

.blue-line{
  width:150px;
  height:3px;
  background:#0f89ff;
  margin-bottom:35px;
}

.hero-title{

  font-size:30px;

  line-height:1.15;

  font-weight:400;

  letter-spacing:-2px;

  margin-bottom:40px;

  max-width:900px;
}

.hero-title span{
  border-bottom:3px solid #c40018;
}

/* =========================
   HERO TEXT
========================= */

.hero-text{

  font-size:16px;

  line-height:1.9;

  color:#222;

  max-width:700px;
}

.hero-text p{
  margin-bottom:15px;
}

/* =========================
   HERO IMAGE
========================= */

.hero-image{
  margin-top:10px;
}

.hero-image img{
  width:100%;
  height:320px;
  margin-top: 20px;
  object-fit:cover;
  display:block;
}

.intro-video-section{
    padding:70px 0;
    background:#fff;
}

.intro-grid{
    display:grid;
    grid-template-columns:1.2fr 1fr;
    gap:60px;
    align-items:center;
}

.intro-content h1{
    font-size:25px;
    line-height:1.2;
    letter-spacing:-1px;
    margin-bottom:20px;
}

.intro-content p{
    font-size:16px;
    line-height:1.8;
    margin-bottom:18px;
}

.intro-video video{
    width:100%;
    display:block;
}

.intro-links{
    margin-top:30px;
}

.intro-links a{
    display:block;
    margin-bottom:12px;
    color:#0056A6;
    text-decoration:none;
    font-size:15px;
}

.intro-links a::before{
    content:"• ";
    color:#0056A6;
    margin-right:6px;
}

.intro-links a:hover{
    text-decoration:underline;
}

@media (max-width:992px){

    .intro-grid{
        grid-template-columns:1fr;
    }

    .intro-content h1{
        font-size:36px;
    }

    .intro-content p{
        font-size:18px;
    }

}

/* =========================
   SECTION
========================= */

.content-section{
  padding:20px 80px;
}

.content-wrapper{
  max-width:1300px;
  margin:auto;
}

/* =========================
   SECTION GRID
========================= */

.section-grid{

  display:grid;

  grid-template-columns:1.2fr .9fr;

  gap:70px;

  align-items:start;
}

/* =========================
   SECTION TITLE
========================= */

.section-title{

  font-size:30px;

  font-weight:400;

  margin-bottom:5px;

  position:relative;
}


/* =========================
   SECTION TEXT
========================= */

.section-text{

  font-size:16px;

  line-height:1.9;

  color:#222;
}

.section-text p{
  margin-bottom:18px;
}

/* =========================
   RESOURCE BOX
========================= */

.resource-box h3{

  font-size:20px;

  margin-bottom:25px;
}

.innovation-image-box img{

  width:100%;
  height:320px;

  object-fit:cover;

  display:block;
}

.principal-photo{
    text-align:center;
}

.principal-photo img{
    width:100%;
    max-width:300px;
    height:380px;      /* Atur tinggi sesuai kebutuhan */
    object-fit:contain;
    display:block;
    margin:0 auto;
}

.principal-caption{
    margin-top:18px;
}

.principal-caption h3{
    font-size:18px;
    margin-bottom:6px;
    color:#0b4ea2;
}

.principal-caption p{
    font-size:18px;
    color:#555;
    margin:0;
}


.teacher-section{
    padding:70px 0;
}

.teacher-wrapper{
    width:min(1200px,92%);
    margin:auto;
}

.section-heading{
    text-align:center;
    margin-bottom:50px;
}

.section-heading p{
    margin-top:10px;
}

.teacher-grid{
    display:grid;
    grid-template-columns:repeat(5, 1fr);
    gap:30px;
}

.teacher-card{
    padding:15px 10px;
    text-align:center;
}

.teacher-photo{
    width:150px;
    height:190px;
    margin:0 auto 18px;
    display:flex;
    align-items:center;
    justify-content:center;
}

.teacher-photo img{
    max-width:100%;
    max-height:100%;
    object-fit:contain;
}

.teacher-card h3{
    margin:0 0 8px;
    font-size:16px;
}

.teacher-card p{
    margin:0;
    color:#666;
    font-size:14px;
}

@media (max-width:1200px){
    .teacher-grid{
        grid-template-columns:repeat(4,1fr);
    }
}

@media (max-width:992px){
    .teacher-grid{
        grid-template-columns:repeat(3,1fr);
    }
}

@media (min-width: 993px){
    .hero-image img,
    .innovation-image-box img{
        height:320px;
    }
}

@media (max-width:768px){
    .teacher-grid{
        grid-template-columns:repeat(2,1fr);
    }
}

@media (max-width:576px){

    .teacher-grid{
        grid-template-columns:repeat(2,1fr);
        gap:20px 12px;
    }

    .teacher-card{
        padding:10px 6px;
    }

    .teacher-photo{
        width:110px;
        height:140px;
        margin:0 auto 12px;
    }

    .teacher-photo img{
        max-width:100%;
        max-height:100%;
        object-fit:contain;
    }

    .teacher-card h3{
        font-size:12px;
        margin-bottom:4px;
    }

    .teacher-card p{
        font-size:11px;
        line-height:1.4;
    }

}

/* =========================
   DESKTOP FOOTER
========================= */

.desktop-footer{
  background:#efefef;
  padding:50px 50px;
  border-top:1px solid #ddd;
}

.footer-wrapper{
  max-width:1400px;
  margin:auto;
  display:grid;
  grid-template-columns:1.4fr 1fr;
  gap:70px;
}

/* =========================
   LEFT
========================= */

.footer-brand{
  display:flex;
  align-items:flex-start;
  gap:18px;
}

.footer-brand img{
  width:70px;
  height:70px;
  object-fit:contain;
  flex-shrink:0;
}

/* CONTENT RIGHT OF LOGO */

.footer-brand-content{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:6px;
  width:100%;
}

/* TITLE */

.footer-brand-content h3{
  font-size:18px;
  line-height:1.2;
  margin:0;
}

/* ADDRESS */

.footer-brand-content p{
  font-size:14px;
  line-height:1.5;
  color:#444;
  max-width:520px;
  margin:0;
}

/* =========================
   INLINE LINKS
========================= */

.footer-links-inline{
  display:flex;
  flex-direction:row;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
  margin-top:2px;
}

.footer-links-inline a{
  font-size:14px;
  color:#111;
  transition:0.3s;
}

.footer-links-inline a:hover{
  color:#004180;
}

/* =========================
   SOCIAL
========================= */

.footer-social-desktop{
  display:flex;
  flex-direction:row;
  align-items:center;
  gap:30px;
  margin-top:4px;
}

.footer-social-desktop a{
  font-size:18px;
  transition:0.3s;
}

/* FACEBOOK */
.footer-social-desktop a:nth-child(1){
  color:#1877f2;
}

/* YOUTUBE */
.footer-social-desktop a:nth-child(2){
  color:#ff0000;
}

/* INSTAGRAM */
.footer-social-desktop a:nth-child(3){
  color:#e4405f;
}

/* X / TWITTER */
.footer-social-desktop a:nth-child(4){
  color:#111;
}

.footer-social-desktop a:hover{
  transform:translateY(-2px) scale(1.08);
  opacity:.85;
}

/* =========================
   RIGHT
========================= */

.footer-right{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:30px;
}

.footer-column{
  display:flex;
  flex-direction:column;
  gap:8px;
}

.footer-column a{
  font-size:15px;
  line-height:1.4;
  color:#111;
  transition:0.3s;
}

.footer-column a:hover{
  color:#004180;
}

.hero-image img,
.innovation-image-box img{
  aspect-ratio:16/10;
}

/* =========================
   MOBILE
========================= */

@media(max-width:992px){

   .hero-grid,
  .section-grid{
    grid-template-columns:1fr;
  }

  .hero-image{
    margin-top:-10px;
  }

  .innovation-cards{
    grid-template-columns:1fr;
  }

  .hero-image img,
  .innovation-image-box img{
    aspect-ratio:16/9;
  }
}

@media(max-width:768px){

  body{
    overflow-x:hidden;
    overflow-y:auto;
  }

  .main-content{
    height:auto;
    min-height:100dvh;
    overflow:visible;
  }

  .breadcrumb{
    font-size:14px;
    color:#666;
    margin-top:15px;
    margin-bottom:30px;
  }

  .innovation-hero,
  .content-section{
    padding:20px 16px;
  }

  .vertical-title{
    display:none;
  }

  .hero-wrapper,
  .content-wrapper{
    width:100%;
    max-width:100%;
  }

  .hero-grid,
  .section-grid{
    grid-template-columns:1fr;
    gap:24px;
  }

  .hero-title{
    font-size:25px;
    line-height:1.2;
    letter-spacing:-1px;
    margin-bottom:20px;
  }

  .section-title{
    font-size:25px;
    line-height:1.2;
  }

  .hero-text,
  .section-text{
    font-size:16px;
    line-height:1.8;
  }

  /* HAPUS margin negatif */
  .hero-image,
  .innovation-image-box{
    margin-top:0;
    width:100%;
  }

  .hero-image img,
  .innovation-image-box img{
    width:100%;
    height:auto;
    display:block;
    object-fit:cover;
    border-radius:4px;
  }

  .desktop-footer{
    display:none;
  }

  .intro-content h1{
    font-size:25px;
 }
 .intro-content p{
    font-size:16px;
 }
}

/* =========================
   PAGE LOAD ZOOM IN
========================= */

.hero-wrapper,
.content-wrapper{
  opacity:0;
  transform:translateY(30px);
  animation:fadeUp 1.4s ease-out forwards;
}

.content-wrapper{
  animation-delay:.2s;
}

@keyframes fadeUp{
  from{
    opacity:0;
    transform:translateY(30px);
  }
  to{
    opacity:1;
    transform:translateY(0);
  }
}


.extracurricular-section{
    padding:70px 0;
}

.section-intro{
    margin:15px 0 35px;
    color:#666;
    max-width:700px;
    line-height:1.8;
}

.extracurricular-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:30px;
}

.extracurricular-card{
    background:#fff;
    border-radius:18px;
    overflow:hidden;
    box-shadow:0 8px 24px rgba(0,0,0,.08);
    transition:.3s;
}

.extracurricular-card:hover{
    transform:translateY(-6px);
    box-shadow:0 16px 35px rgba(0,0,0,.12);
}

.extracurricular-card img{
    width:100%;
    height:220px;
    object-fit:cover;
}

.extracurricular-content{
    padding:25px;
}

.extracurricular-content h3{
    margin:0 0 12px;
    font-size:1.3rem;
    color:#333333;
}

.extracurricular-content p{
    margin:0;
    color:#666;
    line-height:1.8;
}

@media (max-width:992px){

    .extracurricular-grid{
        grid-template-columns:repeat(2,1fr);
    }

}

@media (max-width:768px){

    .extracurricular-grid{
        grid-template-columns:1fr;
    }

}

.language-dropdown .lang-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.language-dropdown .current-flag {
    width: 22px;
    height: 15px;
    object-fit: cover;
    display: block;
}

.language-dropdown .lang-menu a {
    display: flex;
    align-items: center;
    gap: 8px;
}

.language-dropdown .lang-menu .flag-icon {
    width: 22px;
    height: 15px;
    object-fit: cover;
    display: block;
}