/* ========================================
   AGIRA Custom Style Overrides
   Version: 1.0
   Author: AGIRA Dev Team
   ======================================== */

/* === Global Colors (Based on AGIRA Logo) === */
:root {
  --agira-blue: #0057A4;        /* Biru tua - warna utama */
  --agira-light-blue: #00AEEF;  /* Biru muda - aksen */
  --agira-gold: #FFD700;        /* Kuning emas - highlight / CTA */
  --agira-dark: #0F172A;        /* Abu gelap untuk teks heading */
  --agira-gray: #f7f9fc;        /* Background lembut */
  --agira-white: #ffffff;
}

/* === Typography === */
body {
  font-family: "Poppins", "Segoe UI", sans-serif;
  color: var(--agira-dark);
  background-color: var(--agira-white);
}

/* === Header & Navigation === */
/*.header-style2.modify2 {
  background: var(--agira-blue);
} */

.rs-header .menu-area .nav-menu > li > a {
  color: var(--agira-white);
  font-weight: 500;
} 

.rs-header .menu-area .nav-menu > li > a:hover,
.rs-header .menu-area .nav-menu > li.current-menu-item > a {
  color: #00AEEF !important;
}

/* === Banner / Hero Section === */
/*.rs-banner.style3 {
  background: linear-gradient(135deg, var(--agira-blue), var(--agira-light-blue));
  color: var(--agira-white);
} */

.rs-banner .readon2.started {
  background: var(--agira-gold);
  color: var(--agira-dark);
  border: none;
}
.rs-banner .readon2.started:hover {
  background: var(--agira-white);
  color: var(--agira-blue);
}

/* === Section Titles === */
.sec-title2 .sub-title {
  color: var(--agira-light-blue);
  font-weight: 600;
  text-transform: uppercase;
}
.sec-title2 .title {
  color: var(--agira-dark);
}



/* === CTA Section === */
/* .rs-cta .content.part {
  background: linear-gradient(135deg, var(--agira-light-blue), var(--agira-blue));
  color: var(--agira-white);
} */
.rs-cta .readon2.started {
  background: var(--agira-gold);
  color: var(--agira-dark);
}
.rs-cta .readon2.started:hover {
  background: var(--agira-white);
  color: var(--agira-blue);
}

/* ============================================
   AGIRA: Flaticon & Footer Hover Color
   ============================================ */

/* === Semua ikon flaticon (umum di seluruh halaman) === */
[class^="flaticon-"],
[class*=" flaticon-"] {
  color: #FFD700 !important; /* AGIRA Gold */
}

/* Jika ada ikon flaticon yang memakai pseudo-element */
[class^="flaticon-"]::before,
[class*=" flaticon-"]::before {
  color: #FFD700 !important;
}

/* === Footer link hover dan icon hover === */
#rs-footer a:hover,
#rs-footer .footer-social li a:hover {
  color: #FFD700 !important;
}

/* === (Opsional) Untuk ikon flaticon di footer agar seragam === */
#rs-footer [class^="flaticon-"],
#rs-footer [class*=" flaticon-"] {
  color: #FFD700 !important;
}

/* === Forms === */
input.from-control, textarea.from-control {
  border: 1px solid var(--agira-light-blue);
}
input.from-control:focus, textarea.from-control:focus {
  border-color: var(--agira-gold);
  box-shadow: 0 0 4px var(--agira-gold);
}

/* === Buttons in Forms === */
.submit-btn, .submit-btn.new {
  background: var(--agira-gold);
  color: var(--agira-dark);
  border-radius: 6px;
}
.submit-btn:hover {
  background: var(--agira-light-blue);
  color: var(--agira-white);
}

/* === Minor Enhancements === */
.icon-area img.dance_hover:hover {
  transform: scale(1.08);
  transition: 0.3s ease;
}

.footer-social li a:hover {
  color: var(--agira-gold);
}

/* === Custom Subtitle Color (Solusi Adaptif) === */
.sec-title2 .sub-title,
.rs-banner.style3 .content-part .sub-title {
  color: #00AEEF !important;
}

/* === Fix: Banner Subtitle (Solusi Adaptif) === */
.rs-banner.style3 .banner-content .sub-title {
  color: #00AEEF !important;
}

/* === Search Icon === */
.expand-btn-inner,
.search-parent {
  display: block !important;
  visibility: visible !important;
}

/* === AGIRA: Override warna skillbar === */
.skillbar .skillbar-bar.orange-dark {
  background-color: #FFD700 !important;
  background: #FFD700 !important;
}

.skillbar .skillbar-bar{
  background-color: #00AEEF !important;
  background: #00AEEF !important;
}

/* =======================================
   AGIRA: Button Gradient (readon2.started)
   ======================================= */

.readon2.started {
  background-image: linear-gradient(135deg, #FFD700 0%, #FFB700 100%) !important;
  border: none !important;
  color: #0F172A !important; /* teks kontras, pakai warna dark AGIRA */
  font-weight: 600;
  transition: all 0.3s ease;
}

/* Hover effect: gradient reverse + shadow lembut */
.readon2.started:hover {
  background-image: linear-gradient(135deg, #FFB700 0%, #FFD700 100%) !important;
  box-shadow: 0 4px 12px rgba(255, 215, 0, 0.4);
  color: #0F172A !important;
}

/* Jika tombol ini ada di cover section atau CTA */
.rs-cta .readon2.started,
.rs-banner .readon2.started,
.rs-about .readon2.started {
  background-image: linear-gradient(135deg, #FFD700 0%, #FFB700 100%) !important;
  border: none !important;
  color: #0F172A !important;
}

/* =======================================
   AGIRA: Button Gradient (readon2.discover & submit)
   ======================================= */

.readon2.discover {
  font-weight: 600;
  color: #000000 !important; /* teks kontras gelap */
  background-image: linear-gradient(135deg, #FFD700 0%, #FFB700 100%) !important;
  border: none !important;
  padding: 16px 28px !important;
  border-radius: 6px !important;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
}

/* Hover effect */
.readon2.discover:hover {
  background-image: linear-gradient(135deg, #FFB700 0%, #FFD700 100%) !important;
  box-shadow: 0 4px 12px rgba(255, 215, 0, 0.4);
  color: #000000 !important;
  transform: translateY(-2px);
}

.readon2.submit-btn {
  background-image: linear-gradient(135deg, #FFD700 0%, #FFB700 100%) !important;
  border: none !important;
  color: #0F172A !important; /* teks kontras gelap */
  padding: 17px 32px !important;
  font-size: 14px;
  font-weight: 600;
  border-radius: 6px !important;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
}

/* Hover effect */
.readon2.submit-btn:hover {
  background-image: linear-gradient(135deg, #FFB700 0%, #FFD700 100%) !important;
  box-shadow: 0 4px 12px rgba(255, 215, 0, 0.4);
  transform: translateY(-2px);
  color: #0F172A !important;
}
/* =======================================
   AGIRA: Footer Social Icons Color
   ======================================= */

/* Warna dasar ikon media sosial */
.rs-footer.style2 .footer-bottom .footer-social li a {
  background: #FFD700 !important; /* AGIRA Gold */
  color: #0F172A !important;       /* ikon gelap agar kontras */
  border: none !important;
  transition: all 0.3s ease;
}

/* Efek hover (ubah menjadi versi gradasi atau sedikit lebih cerah) */
.rs-footer.style2 .footer-bottom .footer-social li a:hover {
  background: linear-gradient(135deg, #FFB700 0%, #FFD700 100%) !important;
  color: #0F172A !important;
  box-shadow: 0 4px 12px rgba(255, 215, 0, 0.4);
  transform: translateY(-2px);
}
/* =======================================
   AGIRA: Team Section Social Icons
   ======================================= */
.rs-team.style2 .team-item-wrap .team-content .team-social li a i {
  color: #00AEEF !important; /* AGIRA Blue */
  transition: all 0.3s ease;
}

/* Hover efek (opsional agar lebih hidup) */
.rs-team.style2 .team-item-wrap .team-content .team-social li a:hover i {
  color: #00AEEF !important; /* sedikit lebih terang saat hover */
  transform: translateY(-2px);
}

/* =======================================
   AGIRA: Specific Fix for Header Search Icon
   ======================================= */

/* Ganti warna ikon search di header saja */
.flaticon-search::before {
  color: #000000 !important; /* hitam solid */
}

/* =======================================
   AGIRA: Ultimate Fix - Discover Button Text Color
   ======================================= */

/* Semua keadaan tombol, paksa warna teks hitam */
.readon2.discover,
.readon2.discover:hover,
.readon2.discover:focus,
footer .readon2.discover,
footer .readon2.discover:hover,
footer .btn-part .readon2.discover,
footer .btn-part .readon2.discover:hover,
footer .btn-part .readon2.discover:focus {
  color: #000000 !important;
  -webkit-text-fill-color: #000000 !important; /* Safari */
}

/* Jika tombol punya span di dalamnya */
.readon2.discover span,
.readon2.discover:hover span,
footer .readon2.discover span,
footer .readon2.discover:hover span {
  color: #000000 !important;
  -webkit-text-fill-color: #000000 !important;
}

/* Matikan pseudo-element yang bisa menutupi teks */
.readon2.discover::before,
.readon2.discover::after,
footer .readon2.discover::before,
footer .readon2.discover::after {
  color: #000000 !important;
  background: none !important;
  opacity: 1 !important;
}

/* =======================================
   AGIRA: Accordion (About Us Section)
   ======================================= */
.agira-accordion .card {
  border: none;
  margin-bottom: 15px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.agira-accordion .card-header {
  background: #fff;
  border: none;
}

.agira-accordion .card-link {
  display: block;
  font-weight: 600;
  font-size: 16px;
  color: #0F172A;
  padding: 15px 20px;
  border-left: 4px solid #00AEEF;
  transition: all 0.3s ease;
}

.agira-accordion .card-link:hover,
.agira-accordion .card-link[aria-expanded="true"] {
  color: #00AEEF;
  background: #E6F8FF;
}

.agira-accordion .card-body {
  padding: 15px 25px;
  color: #4B5563;
  background: #fff;
  border-left: 4px solid #FFD700;
  border-radius: 0 0 8px 8px;
}

/* =======================================
   AGIRA: Project Section Link Color Fix
   ======================================= */

/* Ubah warna link "MahaData" di section project */
.project-content .category a {
  color: #00AEEF !important;
  font-weight: 600;
  transition: color 0.3s ease;
}

/* Efek hover agar tetap seragam */
.project-content .category a:hover {
  color: #007EA7 !important; /* sedikit lebih gelap saat hover */
  text-decoration: none;
}

/* =======================================
   AGIRA: CTA Section Sub-title Color
   ======================================= */

.rs-cta .sec-title2 .sub-title {
  color: #FB3A26 !important; /* Oranye khas AGIRA */
}


/* =======================================
   AGIRA: Teknologi Section
   ======================================= */

.rs-teknologi.style-agira {
  background: #ffffff;
  border: none !important; /* Hilangkan garis pembatas */
  text-align: center;
  position: relative;
  z-index: 1;
  padding-top: 80px; /* sedikit lebih rapat */
  padding-bottom: 60px;
  margin-bottom: 0; /* hilangkan jarak berlebih antar section */
}

.rs-teknologi.style-agira .sec-title2 .sub-title {
  color: #00AEEF; /* Biru khas AGIRA */
}

.rs-teknologi.style-agira .sec-title2 .title {
  color: #0F172A;
  font-weight: 700;
}

.rs-teknologi.style-agira .partner-item {
  display: flex;
  justify-content: center;
  align-items: center;
}

.rs-teknologi.style-agira .partner-item img {
  max-width: 150px;
  filter: grayscale(100%);
  opacity: 0.6;
  transition: all 0.3s ease;
}

.rs-teknologi.style-agira .partner-item img:hover {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.05);
}

/* Sesuaikan jarak antar Teknologi dan Testimonial */
.rs-testimonial {
  padding-top: 60px;  /* lebih rapat */
  padding-bottom: 100px;
}

/* Responsif */
@media (max-width: 991px) {
  .rs-teknologi.style-agira {
    padding-top: 60px;
    padding-bottom: 40px;
  }

  .rs-testimonial {
    padding-top: 50px;
    padding-bottom: 70px;
  }
}
/* =======================================
   AGIRA: Teknologi Section (Animated Loop)
   ======================================= */

.rs-teknologi.style-agira {
  background: #ffffff;
  text-align: center;
  padding-top: 80px;
  padding-bottom: 60px;
  position: relative;
  overflow: hidden;
}

.rs-teknologi.style-agira .sec-title2 .sub-title {
  color: #00AEEF;
}

.rs-teknologi.style-agira .sec-title2 .title {
  color: #0F172A;
  font-weight: 700;
}

/* ===============================
   Slider Track
   =============================== */
.teknologi-slider {
  overflow: hidden;
  position: relative;
  width: 100%;
}

.slider-track {
  display: flex;
  width: calc(200%); /* 2x karena duplikat */
  animation: slideLoop 15s linear infinite;
}

.partner-item {
  flex: 0 0 auto;
  width: auto;               /* biar ukuran menyesuaikan logo */
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 20px;            /* jarak antar logo, ubah ke 10px jika mau lebih rapat lagi */
  padding: 0;                /* hilangkan padding */
}

.partner-item img {
  max-width: 130px;          /* sedikit lebih kecil agar visual seimbang */
  filter: grayscale(100%) brightness(0.9);
  opacity: 0.7;
  transition: all 0.4s ease;
}

/* Hover: tampil warna penuh */
.partner-item img:hover {
  filter: grayscale(0%) brightness(1);
  opacity: 1;
  transform: scale(1.05);
}

.partner-item img {
  max-width: 150px;
  filter: grayscale(100%) brightness(0.9);
  opacity: 0.7;
  transition: all 0.4s ease;
}

/* Hover efek â€” tampil warna penuh */
.partner-item img:hover {
  filter: grayscale(0%) brightness(1);
  opacity: 1;
  transform: scale(1.05);
}

/* ===============================
   Animation Keyframes
   =============================== */
@keyframes slideLoop {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* ===============================
   Responsiveness
   =============================== */
@media (max-width: 991px) {
  .partner-item img {
    max-width: 120px;
  }
}
@media (max-width: 767px) {
  .partner-item {
    width: 33.33%;
  }
  .slider-track {
    animation-duration: 12s;
  }
}

/* =======================================
   AGIRA: Tagline Highlight (Revised for style10)
   ======================================= */

/* Pastikan tagline section tampil elegan dengan background peta */
.rs-testimonial.style10 {
  text-align: center;
  padding: 120px 0;
}


/* Logo */
.rs-testimonial.style10 .content-part .quote {
  width: 120px;
  height: auto;
  margin: 25px auto;
  opacity: 0.9;
  transition: transform 0.3s ease;
}

.rs-testimonial.style10 .content-part .quote:hover {
  transform: scale(1.1);
}

/* Tagline utama â€” inilah bagian penting */
.rs-testimonial.style10 .content-part p {
  font-size: 28px !important;
  font-weight: 600 !important;
  color: #0F172A !important;
  font-style: italic;
  line-height: 1.6;
  max-width: 900px;
  margin: 0 auto !important;
  letter-spacing: 0.3px;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* Efek tagline */
.rs-testimonial.style10 .content-part p {
  font-size: 28px !important;
  font-weight: 700 !important;
  color: #0F172A !important; /* tetap hitam */
  line-height: 1.6;
  max-width: 900px;
  margin: 0 auto !important;
  letter-spacing: 0.3px;
  text-shadow: none;
  transition: transform 0.4s ease, color 0.4s ease;
  display: inline-block; /* agar efek scale bekerja rapi */
}

/* Efek saat dihover */
.rs-testimonial.style10 .content-part p:hover {
  transform: scale(1.05);
  color: #00AEEF !important; /* sedikit highlight biru AGIRA saat hover */
}

/* Responsif */
@media (max-width: 991px) {
  .rs-testimonial.style10 .content-part p {
    font-size: 22px !important;
  }
}

/* Responsif untuk layar kecil */
@media (max-width: 991px) {
  .rs-testimonial.style10 .title {
    font-size: 30px !important;
  }
  .rs-testimonial.style10 .content-part p {
    font-size: 22px !important;
  }
}

/* =======================================
   AGIRA: Tombol "Selengkapnya" Gradasi Kuning
   ======================================= */

.readon2.small-btn {
  display: inline-block;
  margin-top: 10px;
  padding: 10px 22px;
  background-image: linear-gradient(135deg, #FFD700 0%, #FFB700 100%);
  color: #000000 !important; /* teks hitam agar kontras */
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  border-radius: 4px;
  border: none;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
}

/* Hover efek gradasi lembut */
.readon2.small-btn:hover {
  background-image: linear-gradient(135deg, #FFB700 0%, #FFD700 100%);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 215, 0, 0.4);
  color: #000000 !important;
  text-decoration: none;
}

/* Penyesuaian spacing agar rapi */
.project-content .title {
  margin-bottom: 10px;
}

.project-content .readon2.small-btn {
  margin-top: 8px;
}

/* smooth auto-scroll */
html {
  scroll-behavior: smooth;
}

/* =============================
   AGIRA: Contact Form Alerts
   ============================= */
#form-messages {
  display: none;
  text-align: center;
  margin-top: 20px;
  transition: all 0.4s ease;
}

.alert {
  padding: 15px 25px;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 500;
  display: inline-block;
  opacity: 0;
  transform: scale(0.9);
  animation: fadeGrow 0.4s forwards;
}

@keyframes fadeGrow {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.alert-success {
  background-color: #d4edda;
  color: #155724;
  box-shadow: 0 3px 10px rgba(21, 87, 36, 0.2);
}

.alert-danger {
  background-color: #f8d7da;
  color: #721c24;
  box-shadow: 0 3px 10px rgba(114, 28, 36, 0.2);
}

/* ==========================================
   AGIRA: Contact Submit Button Animation
   ========================================== */
/* Efek tombol saat loading */
.submit-btn {
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

/* ðŸ”§ diperbaiki â€” hilangkan teks tombol saat loading */
.submit-btn.loading {
  color: transparent !important; /* sembunyikan tulisan */
  cursor: not-allowed;
  background-image: linear-gradient(135deg, #ccc, #999); /* efek abu saat loading */
}

/* ðŸ”§ diperbaiki â€” spinner rapi di tengah tombol */
.submit-btn.loading::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;      /* ðŸ”§ disesuaikan */
  height: 20px;     /* ðŸ”§ disesuaikan */
  margin: -10px 0 0 -10px;

  border: 3px solid rgba(255, 255, 255, 0.6);
  border-top-color: #000000; /* Warna spinner */
  border-radius: 50%;
  animation: spin 0.75s linear infinite; /* ðŸ”§ lebih smooth */
}

/* Animasi spin tetap sama */
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Hover normal tetap aktif */
.submit-btn:not(.loading):hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(255, 215, 0, 0.4);
}

/* Pesan feedback */
#form-messages {
  display: none;
  margin-top: 20px;
  padding: 12px 18px;
  border-radius: 6px;
  font-weight: 500;
  text-align: center;
  transition: all 0.4s ease;
}

#form-messages.success {
  display: block;
  background-color: #DFFFD6;
  color: #0A4700;
}

#form-messages.error {
  display: block;
  background-color: #FFD6D6;
  color: #8B0000;
}

/* ==== CUSTOM FOOTER LOGO CONTROL (AGIRA) ==== */

/* Pastikan targetnya adalah logo di footer */
#rs-footer .about-widget .logo-part img {
    max-width: none !important;   /* Menghapus batasan bawaan template */
    width: 300px;                 /* Ubah sesuka hati (ukuran gambar) */
    height: auto;                 /* Biarkan proporsional */
    
    /* Posisi custom — bebas kamu ubah */
    margin-top: 0px;              /* Geser ke bawah/atas */
    margin-bottom: 20px;          /* Geser ke atas/bawah */
    margin-left: -45px;             /* Geser ke kanan/kiri */
    margin-right: 0px;            /* Geser ke kiri/kanan */

    display: block;               /* Supaya margin bisa bekerja */
}

/* Jika ingin mengatur container logonya juga */
#rs-footer .about-widget .logo-part {
    display: block;
    width: fit-content;           /* Biar ukurannya sesuai konten */
    
    /* Posisi container — ubah sesuka hati */
    margin-top: 0px;
    margin-left: 0px;
}
