/* ================================
   CHENANI SECURITY SERVICES LTD
   Brand Styled CSS (Logo Accurate)
================================ */

/* ===== Brand Variables ===== */
.btn-outline-primary {
  color: #b49f44;
  border-color: #b49f44;
}

.btn-outline-primary:hover {
  background-color: #b49f44;
  border-color: #b49f44;
  color: #fff;
}

:root {
  --chenani-green: #1f4d1c;
  --chenani-dark: #223b1b;
  --chenani-gold: #B59F4A;
  --chenani-light-gold: #cbb564;
  --chenani-soft-bg: #f6f1de;
}

/* ===== Global ===== */
html, body {
  overflow-x: hidden;
  max-width: 100%;
}

body {
  font-family: 'Poppins', sans-serif;
  background: linear-gradient(
    to bottom,
    #ffffff 0%,
    #faf7ec 40%,
    #f3ecd6 100%
  );
}

/* ===== Navbar ===== */
.chenani-navbar {
  background: var(--chenani-dark);
  border-bottom: 3px solid var(--chenani-gold);
}

.brand-main {
  color: var(--chenani-gold);
}

.brand-sub {
  color: #ffffff;
}

/* ===== Hero ===== */
.hero-modern {
  min-height: 100vh;
  background:
    linear-gradient(#223b1b, #223b1b),
    url('../images/hero-bg.jpg') center/cover no-repeat;
}

.hero-title {
  font-size: 3rem;
  font-weight: 700;
  color: #ffffff;
}

.hero-badge {
  background: var(--chenani-gold);
  color: #000;
  padding: 6px 14px;
  font-size: 0.85rem;
  border-radius: 20px;
  display: inline-block;
  margin-bottom: 15px;
}

/* ===== Sections ===== */
.section-padding {
  padding: 90px 0;
}

.section-title {
  font-weight: 600;
  margin-bottom: 20px;
}

/* ===== Mission & Vision ===== */
.mv-section {
  background: var(--chenani-soft-bg);
}

.mv-card {
  background: #ffffff;
  padding: 40px 30px;
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 10px 30px#223b1b;
  transition: transform .4s ease, box-shadow .4s ease;
  position: relative;
  overflow: hidden;
}

.mv-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, var(--chenani-gold), transparent);
  opacity: 0;
  transition: opacity .4s ease;
}

.mv-card:hover::before {
  opacity: .08;
}

.mv-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 45px #223b1b;
}

/* Icon */
.mv-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: var(--chenani-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .4s ease, background .4s ease;
}

.mv-icon i {
  font-size: 36px;
  color: var(--chenani-gold);
}

.mv-card:hover .mv-icon {
  transform: rotate(6deg) scale(1.08);
  background: var(--chenani-gold);
}

.mv-card:hover .mv-icon i {
  color: #223b1b;
}

/* Text */
.mv-card h3 {
  font-weight: 700;
  margin-bottom: 12px;
}

.mv-card p {
  color: #555;
  line-height: 1.7;
}

/* ===== Managing Director Quote ===== */
.md-quote {
  background: var(--chenani-dark);
  color: #ffffff;
  padding: 40px;
  border-radius: 16px;
  text-align: center;
  position: relative;
}

.md-quote::before {
  content: "“";
  font-size: 80px;
  position: absolute;
  top: -20px;
  left: 20px;
  color: rgba(181,159,74,.35);
}

.md-quote p {
  font-size: 1.1rem;
  line-height: 1.8;
}

.md-quote h6 {
  margin-top: 20px;
  font-weight: 700;
  color: var(--chenani-gold);
}

.md-quote span {
  font-size: .9rem;
  opacity: .85;
}

/* ===== Gallery ===== */
.gallery-section {
  background: #ffffff;
}

.gallery-swiper {
  padding-bottom: 50px;
  width: 100%;
  overflow: hidden;
}

.swiper-slide {
  height: auto;
}

.gallery-card {
  background: #ffffff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.gallery-img {
  height: 220px;
  overflow: hidden;
}

.gallery-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.gallery-caption {
  padding: 15px 16px;
  background: var(--chenani-dark);
  color: #ffffff;
}

.gallery-caption h6 {
  font-weight: 600;
  margin-bottom: 4px;
}

.gallery-caption p {
  font-size: 0.85rem;
  margin: 0;
  color: rgba(255, 255, 255, 0.85);
}

.gallery-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.2);
}

.gallery-card:hover img {
  transform: scale(1.08);
}

/* Swiper Controls */
.gallery-swiper .swiper-button-next,
.gallery-swiper .swiper-button-prev {
  color: var(--chenani-gold);
}

.gallery-swiper .swiper-pagination-bullet {
  background: var(--chenani-dark);
  opacity: 0.3;
}

.gallery-swiper .swiper-pagination-bullet-active {
  background: var(--chenani-gold);
  opacity: 1;
}

/* ===== Services ===== */
.services-section {
  background: var(--chenani-soft-bg);
}

.service-card {
  background: #ffffff;
  padding: 36px 26px;
  border-radius: 20px;
  text-align: center;
  height: 100%;
  cursor: pointer;
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.12);
  transition: all 0.4s ease;
}

.service-icon {
  width: 110px;
  height: 110px;
  margin: 0 auto 22px;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--chenani-dark), #10263d);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 14px 35px rgba(11, 28, 45, 0.35);
  transition: all 0.4s ease;
}

.service-icon i {
  font-size: 3.2rem;
  color: var(--chenani-gold);
  transition: transform 0.4s ease;
}

.service-card h5 {
  font-weight: 600;
  margin-bottom: 8px;
}

.service-card p {
  font-size: 0.95rem;
  color: #555;
}

.service-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.2);
}

.service-card:hover .service-icon {
  background: linear-gradient(145deg, var(--chenani-gold), var(--chenani-light-gold));
}

.service-card:hover .service-icon i {
  color: #000;
  transform: scale(1.15) rotate(6deg);
}


/* ===== Footer ===== */
.footer {
  background: var(--chenani-green);
  color: #ffffff;
  position: relative;
  padding: 28px 0;
  text-align: center;
  font-size: 0.95rem;
  letter-spacing: 0.3px;
}

/* Gold top divider */
.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 3px;
  background: var(--chenani-gold);
  border-radius: 3px;
}

/* Subtle glow edge */
.footer::after {
  content: "";
  position: absolute;
  inset: 0;
  box-shadow: inset 0 12px 25px rgba(0,0,0,.25);
  pointer-events: none;
}

/* Footer text */
.footer p {
  margin: 0;
  opacity: 0.95;
}

/* Optional tagline highlight */
.footer strong {
  color: var(--chenani-gold);
  font-weight: 600;
}

