/* Islamic Center of Hawaii — Taqwa Theme Clone */

:root {
  --theme-bg: #5D2B00;
  --theme-clr: #FF9822;
  --theme-clr-hover: #DAA86F;
  --text: #555;
  --text-dark: #222;
  --white: #fff;
  --container: 1140px;
  --font-heading: 'Merriweather', Georgia, serif;
  --font-body: 'Lato', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--text);
  line-height: 1.7;
  background: var(--white);
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }

a { color: inherit; text-decoration: none; transition: color 0.3s; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-dark);
  font-weight: 400;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 15px;
}

.float-left { float: left; }
.float-right { float: right; }

.clearfix::after { content: ''; display: table; clear: both; }

.theme-bg { background-color: var(--theme-bg) !important; }
.theme-clr { color: var(--theme-clr) !important; }
.brd-rd5 { border-radius: 5px; }
.brd-rd20 { border-radius: 20px; }
.brd-rd50 { border-radius: 50%; }
.text-center { text-align: center; }
.gap { padding: 70px 0; }

.row {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -15px;
}

.col-md-6, .col-lg-4 {
  padding: 0 15px;
  width: 100%;
}

@media (min-width: 768px) {
  .col-md-6 { width: 50%; }
}

@media (min-width: 992px) {
  .col-lg-4 { width: 33.333%; }
}

/* ---- Topbar ---- */
header.style2 .topbar {
  background-color: var(--theme-bg);
  padding: 8px 0;
  color: var(--white);
  font-size: 13px;
}

header.style2 .topbar .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; }

.tp-lnks {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

.tp-lnks li i { margin-right: 6px; }

.scl1 span { margin-right: 8px; color: var(--white); }

.scl1 a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 50%;
  font-size: 12px;
}

.scl1 a:hover { background: var(--theme-clr); border-color: var(--theme-clr); }

/* ---- Logo Section ---- */
.logo-inf-sec {
  padding: 20px 0;
  background: var(--white);
}

.logo-inf-sec .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 15px;
}

.logo img { max-height: 80px; width: auto; }

.cnt-inf-btn {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.inf-lst {
  list-style: none;
  font-size: 14px;
  font-family: var(--font-heading);
}

.inf-lst li {
  margin-bottom: 5px;
}

.inf-lst li i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: rgba(255, 152, 34, 0.12);
  margin-right: 8px;
  font-size: 14px;
}

.theme-btn {
  display: inline-block;
  padding: 12px 28px;
  font-family: var(--font-heading);
  font-size: 14px;
  color: var(--white);
  background: var(--theme-bg);
  border: none;
  cursor: pointer;
  transition: background 0.3s;
}

.theme-btn:hover { background: var(--theme-clr); color: var(--white); }

/* ---- Navigation ---- */
.menu-sec {
  position: relative;
}

.menu-sec nav > div > ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.menu-sec nav > div > ul > li {
  position: relative;
}

.menu-sec nav > div > ul > li > a {
  display: block;
  padding: 16px 18px;
  font-family: var(--font-heading);
  font-size: 15px;
  color: var(--white);
  transition: background 0.3s;
}

.menu-sec nav > div > ul > li > a:hover,
.menu-sec nav > div > ul > li.current > a {
  background: var(--theme-clr);
}

.menu-sec .sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: var(--white);
  list-style: none;
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.3s;
  z-index: 99;
}

.menu-sec .has-sub:hover .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.menu-sec .sub-menu a {
  display: block;
  padding: 10px 20px;
  color: var(--text-dark);
  font-family: var(--font-heading);
  font-size: 14px;
  border-bottom: 1px solid #eee;
}

.menu-sec .sub-menu a:hover {
  background: var(--theme-clr);
  color: var(--white);
}

.mnu-btm-shp {
  height: 6px;
  background: repeating-linear-gradient(90deg, var(--theme-clr) 0, var(--theme-clr) 8px, var(--theme-bg) 8px, var(--theme-bg) 16px);
}

/* ---- Mobile Header ---- */
.rspn-hdr { display: none; }

@media (max-width: 991px) {
  header.style2 { display: none; }
  .rspn-hdr { display: block; background: var(--white); box-shadow: 0 2px 10px rgba(0,0,0,0.08); position: sticky; top: 0; z-index: 200; }
  .lg-mn { display: flex; align-items: center; justify-content: space-between; padding: 10px 15px; }
  .lg-mn .logo img { max-height: 60px; }
  .rspn-cnt { display: none; }
  .rspn-mnu-btn {
    background: var(--theme-bg);
    color: var(--white);
    border: none;
    width: 42px;
    height: 42px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 18px;
  }
  .rsnp-mnu {
    position: fixed;
    top: 0;
    right: -300px;
    width: 280px;
    height: 100vh;
    background: var(--theme-bg);
    z-index: 300;
    transition: right 0.3s;
    overflow-y: auto;
    padding: 60px 0 30px;
  }
  .rsnp-mnu.open { right: 0; }
  .rsnp-mnu ul { list-style: none; }
  .rsnp-mnu a {
    display: block;
    padding: 12px 25px;
    color: var(--white);
    font-family: var(--font-heading);
    font-size: 15px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }
  .rsnp-mnu a:hover { background: var(--theme-clr); }
  .rspn-mnu-cls {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--theme-clr);
    color: var(--white);
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 16px;
  }
  .menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 250;
    display: none;
  }
  .menu-overlay.open { display: block; }
}

/* ---- Mobile Addresses ---- */
.mobile-addresses { display: none; padding: 15px 0; background: #f5f5f5; }
.mobile-addresses h3 { font-size: 14px; text-align: center; line-height: 1.6; font-weight: 400; }

@media (max-width: 991px) {
  .mobile-addresses { display: block; }
}

/* ---- Prayer Widget ---- */
.prayer-widget-sec { padding: 25px 0; text-align: center; }

.prayer-widget-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 16px;
  color: var(--theme-bg);
  padding: 12px 24px;
  border: 2px solid var(--theme-clr);
  border-radius: 5px;
  transition: all 0.3s;
}

.prayer-widget-link:hover {
  background: var(--theme-clr);
  color: var(--white);
}

/* ---- Prayer Cards ---- */
.prayer-cards-sec { padding: 30px 0 50px; }

.prayer-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.prayer-card {
  background: var(--white);
  text-align: center;
  padding: 25px 15px;
  border-radius: 7px;
  box-shadow: 0 0 10px rgba(0,0,0,0.15);
  transition: background 0.3s, transform 0.3s;
}

.prayer-card:hover {
  background: #F6A84F;
  transform: translateY(-3px);
}

.prayer-card h4 {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 10px;
  color: var(--text-dark);
}

.prayer-card h2 {
  font-size: 42px;
  color: var(--theme-clr);
  margin-bottom: 8px;
}

.prayer-card h2 sup { font-size: 18px; }

.prayer-card h5 {
  font-size: 13px;
  font-weight: 400;
  color: var(--text);
}

@media (max-width: 991px) {
  .prayer-cards { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .prayer-cards { grid-template-columns: 1fr; }
  .prayer-card h2 { font-size: 32px; }
}

/* ---- Hero Slider ---- */
.hero-slider {
  position: relative;
  height: 500px;
  overflow: hidden;
}

.slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s ease;
}

.slide::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}

.slide.active { opacity: 1; z-index: 1; }

.slide-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
  color: var(--white);
}

.slide-content h2 {
  color: var(--white);
  font-size: clamp(28px, 5vw, 52px);
  margin-bottom: 15px;
  line-height: 1.3;
}

.slide-content p {
  font-family: var(--font-heading);
  font-size: clamp(16px, 2.5vw, 22px);
  font-weight: 300;
  letter-spacing: 0.5px;
  margin-bottom: 20px;
  color: rgba(255,255,255,0.9);
}

.slide-divider { width: 128px; margin: 0 auto; }

.slider-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  gap: 8px;
}

.slider-dots button {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid var(--white);
  background: transparent;
  cursor: pointer;
  padding: 0;
}

.slider-dots button.active { background: var(--theme-clr); border-color: var(--theme-clr); }

@media (max-width: 768px) {
  .hero-slider { height: 380px; }
}

/* ---- Section Titles ---- */
.sec-tl { margin-bottom: 40px; }

.sec-tl span.theme-clr {
  display: block;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
  font-family: var(--font-heading);
}

.sec-tl h2 {
  font-size: clamp(28px, 4vw, 42px);
  margin-bottom: 12px;
}

.sec-tl img { margin: 0 auto; }

/* ---- Pillars ---- */
.pillars-sec .gap {
  position: relative;
  padding: 80px 0;
}

.black-layer.opc8::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  z-index: 1;
}

.fixed-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
}

.pillar_head { position: relative; z-index: 2; }

.pillars-sec .sec-tl span,
.pillars-sec .sec-tl h2 { color: var(--white); }

.plrs-wrp {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
}

.plr-bx {
  text-align: center;
  padding: 20px;
}

.pillar-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  font-size: 32px;
  font-style: normal;
  background: var(--theme-clr);
  color: var(--white);
  margin-bottom: 15px;
  position: relative;
}

.pillar-icon::after {
  content: '';
  position: absolute;
  inset: -4px;
  border: 2px solid var(--theme-clr);
  border-radius: 50%;
  opacity: 0.4;
}

.plr-bx h5 {
  color: var(--white);
  font-size: 18px;
  margin-bottom: 4px;
}

/* ---- Pillar Icons Row ---- */
.pillar-icons-row { padding: 40px 0; }

.pillar-icons {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.pillar-icons img { width: 100px; height: auto; }

/* ---- About ---- */
.about-sec .abt-vdo img {
  width: 100%;
  border-radius: 5px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.abt-desc { padding: 20px 0; }

.abt-desc p {
  font-family: var(--font-heading);
  font-size: 14px;
  margin-bottom: 15px;
  line-height: 1.8;
}

@media (max-width: 767px) {
  .abt-desc { padding-top: 30px; }
}

/* ---- Services ---- */
.services-sec { background: #fafbfe; }

.services-grid {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  padding-bottom: 50px;
}

.service-box {
  text-align: center;
  max-width: 320px;
  border-radius: 7px;
  overflow: hidden;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
  transition: background 0.3s;
  background: var(--white);
}

.service-box:hover { background: var(--theme-clr); }

.service-box:hover h3 { color: var(--white); }

.service-box figure { margin: 0; overflow: hidden; }

.service-box img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: opacity 0.3s;
}

.service-box:hover img { opacity: 0.85; }

.service-box h3 {
  font-size: 18px;
  padding: 15px;
  transition: color 0.3s;
}

/* ---- Team / Board ---- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
  padding-bottom: 60px;
}

.team-member { text-align: center; }

.team-member > img {
  width: 100%;
  max-width: 280px;
  margin: 0 auto 15px;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0,0,0,0.2);
}

.team-name-card {
  background: var(--white);
  border-radius: 7px;
  box-shadow: 0 0 10px rgba(0,0,0,0.15);
  padding: 10px 15px;
  margin: -30px auto 10px;
  max-width: 220px;
  position: relative;
  z-index: 2;
  transition: background 0.3s;
}

.team-member:hover .team-name-card { background: #F6A84F; }

.team-name-card p {
  font-family: var(--font-heading);
  font-size: 14px;
  color: var(--text-dark);
}

.team-name-card hr {
  border: none;
  border-top: 1px solid #472907;
  width: 53%;
  margin: 8px auto 0;
}

.team-role {
  font-family: var(--font-heading);
  font-size: 14px;
  color: var(--text);
}

@media (max-width: 991px) {
  .team-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .team-grid { grid-template-columns: 1fr; }
}

/* ---- Footer ---- */
footer {
  position: relative;
  margin-top: 80px;
}

.vector-bg-footer {
  position: absolute;
  top: -60px;
  left: 0;
  width: 100%;
  opacity: 0.15;
  pointer-events: none;
}

.footer-data {
  background: var(--white);
  box-shadow: 0 -5px 40px rgba(0,0,0,0.08);
  padding: 50px 30px;
  margin-top: -40px;
  position: relative;
  z-index: 2;
}

.widget-box h5 {
  font-size: 20px;
  margin-bottom: 20px;
  color: var(--text-dark);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 15px;
  margin-bottom: 12px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-family: var(--font-heading);
  font-size: 14px;
  color: var(--text);
}

.contact-form textarea { resize: vertical; }

#button1 {
  background-color: var(--theme-clr);
  color: var(--white);
  border: none;
  padding: 12px 30px;
  font-family: var(--font-heading);
  font-size: 14px;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.3s;
}

#button1:hover { background-color: var(--theme-clr-hover); }

.cnt-inf {
  list-style: none;
  margin-bottom: 20px;
}

.cnt-inf li {
  padding: 8px 0;
  font-family: var(--font-heading);
  font-size: 14px;
}

.cnt-inf li i {
  margin-right: 10px;
  width: 20px;
}

.cnt-inf a:hover { color: var(--theme-clr); }

.footer-legal {
  margin-top: 20px;
  padding: 15px;
  background: rgba(255, 152, 34, 0.08);
  border: 1px solid rgba(255, 152, 34, 0.2);
  border-radius: 5px;
  font-size: 13px;
  font-family: var(--font-heading);
}

.footer-legal p { margin-bottom: 4px; }

/* ---- Copyright ---- */
.copyright-sec { padding: 25px 0; }

.cpy-rgt p {
  font-family: var(--font-heading);
  font-size: 14px;
  color: var(--white);
  margin-bottom: 5px;
}

.cpy-rgt a { color: var(--theme-clr); }
.cpy-rgt a:hover { color: var(--theme-clr-hover); }

.cpy-sub { font-size: 12px !important; opacity: 0.85; }

@media (max-width: 991px) {
  .footer-data { padding: 30px 20px; }
  .footer-data .row { flex-direction: column; gap: 30px; }
}
