/* GANTRY5 DEVELOPMENT MODE ENABLED.
 *
 * WARNING: This file is automatically generated by Gantry5. Any modifications to this file will be lost!
 *
 * For more information on modifying CSS, please read:
 *
 * http://docs.gantry.org/gantry5/configure/styles
 * http://docs.gantry.org/gantry5/tutorials/adding-a-custom-style-sheet
 */

@charset "UTF-8";
@import url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/css/all.min.css");
/* ==========================================================================
   SEMBUNYIKAN SEKSYEN MAIN KOSONG KHUSUS UNTUK OUTLINE-26 (HOME DEFAULT)
   ========================================================================== */
.g-outline-26 #g-container-main.g-wrapper, body.outline-26 #g-container-main.g-wrapper {
  display: none !important;
}
/* ==========================================================================
   GANTRY NAVIGATION - BUTANG ONLINE APPLICATION (OUTLINE + FA ICON)
   ========================================================================== */
/* Mengaktifkan flexbox penuh pada struktur menu Gantry */
.g-main-nav .g-toplevel {
  display: flex !important;
  width: 100% !important;
  align-items: center !important;
}
/* Memaksa butang ONLINE APPLICATION bergerak ke kanan (Pull Right) melepasi menu lain */
.g-main-nav .g-toplevel > li.menu-btn-apply {
  margin-left: auto !important;
}
/* Menghias menu APPLY NOW menjadi butang OUTLINE */
.g-main-nav .g-toplevel > li.menu-btn-apply > a {
  background-color: transparent !important;
  /* Latar belakang lutsinar */
  color: #ffffff !important;
  /* Warna teks biru gelap */
  border: 2px solid #ffffff !important;
  /* Garisan luar biru gelap */
  padding: 6px 18px !important;
  /* Jarak dalam (dilaraskan untuk border) */
  border-radius: 4px !important;
  /* Sudut melengkung */
  font-weight: bold !important;
  transition: all 0.3s ease;
  display: inline-block !important;
  position: relative;
}
/* SUNTIKAN IKON: Memaksa ikon Font Awesome muncul di depan teks */
.g-main-nav .g-toplevel > li.menu-btn-apply > a::before {
  display: inline-block !important;
  font-family: "Font Awesome 5 Free" !important;
  /* Memaksa font family bertindak */
  font-weight: 900 !important;
  content: "" !important;
  /* Kod unicode untuk ikon fa-paper-plane */
  margin-right: 8px !important;
  /* Jarak antara ikon dan tulisan */
  transition: color 0.3s ease;
}
/* Kesan Hover: Bertukar menjadi biru penuh dengan teks putih apabila disentuh tetikus */
.g-main-nav .g-toplevel > li.menu-btn-apply > a:hover {
  background-color: #0d3b66 !important;
  /* Penuh warna biru gelap */
  color: #ffffff !important;
  /* Teks tukar putih */
  text-decoration: none !important;
}
/* Memastikan ikon turut bertukar warna putih semasa hover */
.g-main-nav .g-toplevel > li.menu-btn-apply > a:hover::before {
  color: #ffffff !important;
}
/* Mematikan garisan kesan hover/aktif default Helium (Menggunakan :after supaya tak kacau ikon ::before) */
.g-main-nav .g-toplevel > li.menu-btn-apply.active > a::after, .g-main-nav .g-toplevel > li.menu-btn-apply > a::after {
  display: none !important;
  content: none !important;
}
/* ==========================================================================
   PORTAL & PAUTAN (VERSI BLOK BANNER PREMIUM - GRAY OVERLAY)
   ========================================================================== */
/* Seksyen Utama dengan Gambar bgstaff.webp dan Overlay Kelabu Gelap */
.portal-section-staff {
  padding: 100px 20px;
  /* Menggunakan overlay kelabu gelap dengan ketelusan 85% */
  background: linear-gradient(rgba(47, 54, 64, 0.85), rgba(47, 54, 64, 0.85)), url('https://www.sidma.edu.my/images/banners/bgstaff.webp') no-repeat center center;
  background-size: cover;
  background-attachment: fixed;
  /* Kesan parallax */
  position: relative;
  text-align: center;
  /* Trik memaksa elemen pecah keluar dari kontainer Boxed */
  width: 100vw !important;
  left: 50% !important;
  right: 50% !important;
  margin-left: -50vw !important;
  margin-right: -50vw !important;
}
.portal-section-student {
  padding: 100px 20px;
  /* Menggunakan overlay kelabu gelap dengan ketelusan 85% */
  background: linear-gradient(rgba(220, 220, 220, 0.85), rgba(220, 220, 220, 0.85)), url('https://www.sidma.edu.my/images/banners/bgstudent.webp') no-repeat center center;
  background-size: cover;
  background-attachment: fixed;
  /* Kesan parallax */
  position: relative;
  text-align: center;
  /* Trik memaksa elemen pecah keluar dari kontainer Boxed */
  width: 100vw !important;
  left: 50% !important;
  right: 50% !important;
  margin-left: -50vw !important;
  margin-right: -50vw !important;
}
.portal-section-unirazak {
  padding: 100px 20px;
  /* Menggunakan overlay kelabu gelap dengan ketelusan 85% */
  background: linear-gradient(rgba(47, 54, 64, 0.85), rgba(47, 54, 64, 0.85)), url('https://www.sidma.edu.my/images/banners/unirazakbg.webp') no-repeat center center;
  background-size: cover;
  background-attachment: fixed;
  /* Kesan parallax */
  position: relative;
  text-align: center;
  /* Trik memaksa elemen pecah keluar dari kontainer Boxed */
  width: 100vw !important;
  left: 50% !important;
  right: 50% !important;
  margin-left: -50vw !important;
  margin-right: -50vw !important;
}
.portal-section-general {
  padding: 100px 20px;
  position: relative;
  text-align: center;
  /* Trik memaksa elemen pecah keluar dari kontainer Boxed */
  width: 100vw !important;
  left: 50% !important;
  right: 50% !important;
  margin-left: -50vw !important;
  margin-right: -50vw !important;
}
/* Tajuk Utama di Tengah Halaman */
.portal-header {
  text-align: center;
  margin-bottom: 60px;
}
.portal-title {
  color: #ffffff !important;
  font-size: 2.8rem;
  font-weight: 800;
  margin: 0 0 15px 0;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}
.portal-subtitle-line {
  width: 80px;
  height: 4px;
  background-color: #e63946;
  margin: 0 auto;
  border-radius: 2px;
}
/* Grid Layout Kekal 4 Lajur Semasa Desktop */
.portal-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 1100px;
  margin: 0 auto;
}
/* Kad Portal Gaya Blok Menegak */
.portal-card {
  border-radius: 10px;
  padding: 40px 25px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  text-align: center;
  text-decoration: none !important;
  min-height: 80px;
  /* Dikembalikan kepada saiz ideal kad menegak supaya butang tolak ke bawah */
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}
/* Variasi Warna Blok Setiap Kad */
.card-orange {
  background-color: #f27a35 !important;
}
.card-navy {
  background-color: #03205b !important;
}
.card-red {
  background-color: #830c2c !important;
}
.card-purple {
  background-color: #6a3b8b !important;
}
/* Struktur Teks Kandungan Kad */
.portal-content {
  width: 100%;
}
.portal-content h3 {
  color: #ffffff !important;
  font-size: 1.3rem;
  font-weight: 700;
  margin: 0 0 10px 0 !important;
}
.portal-content p {
  color: rgba(255, 255, 255, 0.9) !important;
  font-size: 1rem;
  margin: 0 0 10px 0 !important;
  line-height: 1.5;
}
/* Butang Explore di Bahagian Bawah Kad */
.portal-btn-explore {
  background-color: #ffffff;
  padding: 10px 30px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  display: inline-block;
}
/* Padankan warna perkataan "Explore" mengikut kad masing-masing */
.card-orange .portal-btn-explore {
  color: #f27a35;
}
.card-navy .portal-btn-explore {
  color: #03205b;
}
.card-red .portal-btn-explore {
  color: #830c2c;
}
.card-purple .portal-btn-explore {
  color: #6a3b8b;
}
/* Kesan Hover Kad */
.portal-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 38px rgba(0, 0, 0, 0.4);
}
/* Kesan Hover pada Butang Explore */
.portal-card:hover .portal-btn-explore {
  transform: scale(1.05);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}
/* Responsif untuk Tablet (2 Lajur) */
@media (max-width: 1024px) {
  .portal-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }
}
/* Responsif untuk Telefon Pintar (1 Lajur) */
@media (max-width: 640px) {
  .portal-grid {
    grid-template-columns: 1fr;
  }
  .portal-title {
    font-size: 2rem;
  }
}
/* ==========================================================================
   LOGO CENTER
   ========================================================================== */
.logo-center {
  text-align: center;
}
.logo-center img {
  display: inline-block;
}
/* ==========================================================================
   GANTRY 5 - PROMO OVERLAY GRID (4 BLOCKS)
   ========================================================================== */
.promo-section {
  width: 100%;
  margin: 0;
  padding: 0;
}
.promo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  /* Tetapan 4 lajur sebaris */
  width: 100%;
}
.promo-block {
  background-size: cover;
  background-position: center;
  position: relative;
  min-height: 400px;
  /* Ketinggian kotak blok */
  display: flex;
}
/* Lapisan Warna Telus (Overlay) */
.promo-overlay {
  width: 100%;
  padding: 40px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
/* Pilihan Warna Tinting Overlay */
.block-dark .promo-overlay {
  background-color: rgba(0, 0, 0, 0.75);
  /* Hitam Malap */
}
.block-blue .promo-overlay {
  background-color: rgba(13, 59, 102, 0.85);
  /* Biru SIDMA */
}
.block-blue-dark .promo-overlay {
  background-color: rgba(8, 38, 66, 0.93);
  /* Biru SIDMA Pekat */
}
/* Kandungan Teks & Ikon */
.promo-content {
  color: #ffffff;
  width: 100%;
}
.promo-icon {
  font-size: 2.8rem;
  margin-bottom: 15px;
  color: #ffffff;
}
.promo-content h3 {
  font-size: 1.35rem;
  font-weight: bold;
  color: #ffffff !important;
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.promo-content p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #e5e5e5 !important;
  margin-bottom: 0;
}
/* Butang Border Outline (Blok Portal) */
.promo-buttons {
  margin-top: 25px;
  display: flex;
  gap: 12px;
  justify-content: center;
}
.btn-outline {
  border: 1.5px solid #ffffff;
  color: #ffffff !important;
  padding: 8px 22px;
  font-size: 0.85rem;
  font-weight: bold;
  text-decoration: none !important;
  transition: all 0.3s ease;
  background: transparent;
}
.btn-outline:hover {
  background-color: #ffffff;
  color: #0d3b66 !important;
  /* Warna bertukar biru tulisan apabila hover */
}
/* ==========================================================================
   MEDIA QUERIES (RESPONSIF KEPADA SKRIN)
   ========================================================================== */
/* Skrin Tablet: Bertukar kepada 2 Lajur */
@media (max-width: 992px) {
  .promo-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
/* Skrin Telefon Pintar: Bertukar kepada 1 Lajur Menegak */
@media (max-width: 576px) {
  .promo-grid {
    grid-template-columns: 1fr;
  }
  .promo-block {
    min-height: 340px;
  }
}
/* ==========================================================================
   PAGE HEADING BACKGROUND STYLE (FULL WIDTH VERSION + RAPAT KE ATAS)
   ========================================================================== */
.custom-page-header .page-header {
  background: linear-gradient(135deg, #0d3b66 0%, #082642 100%);
  /* Biru Gelap SIDMA */
  padding: 10px 0;
  margin-bottom: 40px;
  box-shadow: 0 4px 15px rgba(13, 59, 102, 0.1);
  /* Paling Penting: Memotong jarak kosong di antara menu utama dengan tajuk */
  margin-top: -80px !important;
  /* Teknik memaksa element menjadi Full Width dari hujung ke hujung skrin */
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
}
/* Memastikan teks tajuk kekal tersusun di dalam kawasan grid asal website */
.custom-page-header .page-header h1, .custom-page-header .page-header h2 {
  color: #ffffff !important;
  margin: 0 auto !important;
  font-size: 2.4rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  max-width: 1200px;
  /* Ikut lebar maksimum container website anda */
  padding: 0 40px;
  /* Jarak dari tepi kiri skrin untuk teks */
  box-sizing: border-box;
  border-left: 6px solid #e63946;
  /* Garisan merah SIDMA kini sejajar dengan teks */
}
/* Memastikan kandungan artikel di bawah tidak rapat sangat dengan header */
.custom-page-header .com-content-article {
  margin-top: 30px;
}
/* ==========================================================================
   MENU MENEGAK KHAS (HANYA UNTUK FOOTER / SIDEBAR)
   ========================================================================== */
/* 1. Susun item secara menegak */
.sidma-vertical-menu ul, .sidma-vertical-menu .g-main-nav, .sidma-vertical-menu .g-sublevel {
  display: flex !important;
  flex-direction: column !important;
  padding: 0 !important;
  margin: 0 !important;
  list-style: none !important;
}
/* 2. Format setiap baris senarai */
.sidma-vertical-menu li, .sidma-vertical-menu .g-menu-item {
  display: block !important;
  width: 100% !important;
  float: none !important;
  clear: both !important;
  margin: 0 !important;
}
.sidma-vertical-menu li:last-child {
  border-bottom: none !important;
}
/* 3. Gaya teks pautan dan ikon anak panah */
.sidma-vertical-menu a, .sidma-vertical-menu .g-menu-item-container {
  display: flex !important;
  align-items: center !important;
  padding: 5px 5px !important;
  color: #ffffff !important;
  font-size: 12px !important;
  text-decoration: none !important;
  transition: all 0.2s ease !important;
}
/* Tambah ikon anak panah (›) */
.sidma-vertical-menu a::before, .sidma-vertical-menu .g-menu-item-container::before {
  content: "›" !important;
  font-size: 18px !important;
  font-weight: bold !important;
  margin-right: 10px !important;
  color: #ffffff !important;
  line-height: 1 !important;
}
/* 4. Kesan Hover */
.sidma-vertical-menu li:hover {
  background-color: rgba(255, 255, 255, 0.1) !important;
  border-radius: 4px;
}
.custom-news-card .jt-item, .custom-news-card .item, .custom-news-card .card, .jt-infinite-content .jt-item, .jt-infinite-content .item, .jt-infinite-content .card, .mod-jt-infinite-content .jt-item, .mod-jt-infinite-content .item, .mod-jt-infinite-content .card {
  background: #ffffff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #eef2f5;
  margin-bottom: 10px;
}
.custom-news-card .jt-item:hover, .custom-news-card .item:hover, .custom-news-card .card:hover, .jt-infinite-content .jt-item:hover, .jt-infinite-content .item:hover, .jt-infinite-content .card:hover, .mod-jt-infinite-content .jt-item:hover, .mod-jt-infinite-content .item:hover, .mod-jt-infinite-content .card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}
.custom-news-card .jt-item:hover .jt-image img, .custom-news-card .jt-item:hover img, .custom-news-card .item:hover .jt-image img, .custom-news-card .item:hover img, .custom-news-card .card:hover .jt-image img, .custom-news-card .card:hover img, .jt-infinite-content .jt-item:hover .jt-image img, .jt-infinite-content .jt-item:hover img, .jt-infinite-content .item:hover .jt-image img, .jt-infinite-content .item:hover img, .jt-infinite-content .card:hover .jt-image img, .jt-infinite-content .card:hover img, .mod-jt-infinite-content .jt-item:hover .jt-image img, .mod-jt-infinite-content .jt-item:hover img, .mod-jt-infinite-content .item:hover .jt-image img, .mod-jt-infinite-content .item:hover img, .mod-jt-infinite-content .card:hover .jt-image img, .mod-jt-infinite-content .card:hover img {
  transform: scale(1.05);
}
.custom-news-card .jt-image img, .custom-news-card img, .jt-infinite-content .jt-image img, .jt-infinite-content img, .mod-jt-infinite-content .jt-image img, .mod-jt-infinite-content img {
  width: 100%;
  height: 200px !important;
  object-fit: cover !important;
  border-radius: 10px 10px 0 0;
  transition: transform 0.5s ease;
}
.custom-news-card .jt-content, .custom-news-card .card-body, .jt-infinite-content .jt-content, .jt-infinite-content .card-body, .mod-jt-infinite-content .jt-content, .mod-jt-infinite-content .card-body {
  padding: 10px;
}
.custom-news-card .jt-title, .custom-news-card h3, .custom-news-card h4, .jt-infinite-content .jt-title, .jt-infinite-content h3, .jt-infinite-content h4, .mod-jt-infinite-content .jt-title, .mod-jt-infinite-content h3, .mod-jt-infinite-content h4 {
  font-size: 17px !important;
  font-weight: 700 !important;
  line-height: 1.4 !important;
  margin-bottom: 10px !important;
}
.custom-news-card .jt-title a, .custom-news-card h3 a, .custom-news-card h4 a, .jt-infinite-content .jt-title a, .jt-infinite-content h3 a, .jt-infinite-content h4 a, .mod-jt-infinite-content .jt-title a, .mod-jt-infinite-content h3 a, .mod-jt-infinite-content h4 a {
  color: #0d3b66 !important;
  text-decoration: none !important;
  transition: color 0.2s ease;
}
.custom-news-card .jt-title a:hover, .custom-news-card h3 a:hover, .custom-news-card h4 a:hover, .jt-infinite-content .jt-title a:hover, .jt-infinite-content h3 a:hover, .jt-infinite-content h4 a:hover, .mod-jt-infinite-content .jt-title a:hover, .mod-jt-infinite-content h3 a:hover, .mod-jt-infinite-content h4 a:hover {
  color: #e07a5f !important;
}
.custom-news-card .jt-introtext, .custom-news-card p, .jt-infinite-content .jt-introtext, .jt-infinite-content p, .mod-jt-infinite-content .jt-introtext, .mod-jt-infinite-content p {
  color: #6c757d !important;
  font-size: 13px !important;
  line-height: 1.6 !important;
  margin-bottom: 10px !important;
}
.custom-news-card .jt-readmore a, .custom-news-card .readmore a, .custom-news-card a.btn, .jt-infinite-content .jt-readmore a, .jt-infinite-content .readmore a, .jt-infinite-content a.btn, .mod-jt-infinite-content .jt-readmore a, .mod-jt-infinite-content .readmore a, .mod-jt-infinite-content a.btn {
  display: inline-block;
  padding: 8px 18px !important;
  background-color: #0d3b66 !important;
  color: #ffffff !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  border-radius: 6px !important;
  text-decoration: none !important;
  transition: all 0.2s ease !important;
}
.custom-news-card .jt-readmore a:hover, .custom-news-card .readmore a:hover, .custom-news-card a.btn:hover, .jt-infinite-content .jt-readmore a:hover, .jt-infinite-content .readmore a:hover, .jt-infinite-content a.btn:hover, .mod-jt-infinite-content .jt-readmore a:hover, .mod-jt-infinite-content .readmore a:hover, .mod-jt-infinite-content a.btn:hover {
  background-color: #e07a5f !important;
  transform: translateX(3px);
}
/* ==========================================================================
   GAYA GANTRY FEATURES (CLEAN / MINIMALIST)
   ========================================================================== */
.gantry-features-clean {
  /* 1. Buang kotak border dan latar belakang */
  /* 2. Format Ikon (Bulatan Latar Kelabu Soft) */
  /* 3. Gaya Tajuk */
  /* 4. Teks Penerangan */
}
.gantry-features-clean .g-block, .gantry-features-clean .g-content, .gantry-features-clean .card, .gantry-features-clean div[class*="content"] {
  border: none !important;
  box-shadow: none !important;
  background: transparent !important;
  padding: 10px !important;
}
.gantry-features-clean i, .gantry-features-clean .fa, .gantry-features-clean .icon, .gantry-features-clean img {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 80px !important;
  height: 80px !important;
  font-size: 36px !important;
  color: #2b3e50 !important;
  background-color: #f4f6f8 !important;
  /* Bulatan kelabu lembut */
  border-radius: 50% !important;
  /* Buat bentuk bulat */
  margin-bottom: 20px !important;
  box-shadow: 0 0 0 8px #fcfdfe !important;
  /* Garisan bulatan luar */
}
.gantry-features-clean h2, .gantry-features-clean h3, .gantry-features-clean h4, .gantry-features-clean .title {
  font-size: 22px !important;
  font-weight: 600 !important;
  color: #2b3e50 !important;
  margin-bottom: 15px !important;
}
.gantry-features-clean p, .gantry-features-clean .desc {
  font-size: 14px !important;
  line-height: 1.6 !important;
  color: #6c757d !important;
}
/* Merapikan kedudukan GTranslate dalam menu */
.gtranslate-block {
  display: flex;
  align-items: center;
  /* Menyeimbangkan bendera secara menegak (vertical center) */
  justify-content: flex-end;
  /* Memastikan bendera rapat ke kanan */
  height: 100%;
}
/* Menyesuaikan saiz bendera & jarak */
.gtranslate-block img, .gtranslate-block .gtranslate_wrapper a {
  margin: 0 3px !important;
  /* Jarak halus antara bendera */
  border-radius: 3px;
  /* Sudut bendera yang sedikit melengkung (nampak moden) */
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
  /* Bayang lembut di belakang bendera */
  transition: transform 0.2s ease;
}
/* Saiz bendera supaya selari dengan teks menu */
.gt_float_switcher img, .glink img {
  height: 16px !important;
  /* Mengecilkan bendera supaya sepadan dengan teks menu */
  width: auto !important;
}
/* Kesan Hover apabila tetikus lalu di atas bendera */
.gtranslate-block img:hover {
  transform: scale(1.15);
  /* Bendera membesar sedikit apabila di-hover */
}
/*# sourceMappingURL=custom_30.css.map */