/* General Reset */

html {
  scroll-behavior: smooth;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #fff;
  color: #330000;
}

/* Header */
.main-header {
  position: sticky;
  top: 0;
  z-index: 999;
  background-color: #fff;
  border-bottom: 1px solid #f0f0f0;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.03);
  padding: 10px 0;
}

/* Brand name styling */
.main-header h5,
.main-header .navbar-brand {
  font-size: 1.2rem;
  font-weight: bold;
  color: #5e0000;
  font-style: italic;
  margin: 0;
  display: flex;
  align-items: center;
}

/* Navigation links */
.main-header .nav-link {
  font-size: 1rem;
  color: #5e0000 !important;
  transition: color 0.3s ease;
  padding: 8px 12px;
}
.main-header .nav-link:hover {
  color: #9a1a1a;
  text-decoration: underline;
}

/* Hamburger button */
.navbar-toggler {
  padding: 4px 8px;
  border: none;
}

.navbar {
  margin-bottom: 0 !important;
}

.navbar-brand {
  font-size: 1.2rem; /* default for desktop */
  white-space: normal; /* allow wrapping */
  line-height: 1.2;
  max-width: 70%; /* keeps space for hamburger */
}

@media (max-width: 768px) {
  .navbar-brand {
    font-size: 0.9rem; /* smaller text on mobiles */
    max-width: 65%;
  }
}
/* Mobile and tablet */
@media (max-width: 991.98px) {
  .main-header .navbar-collapse {
    background: #fff;
    padding: 10px 0;
  }
  .main-header .nav {
    flex-direction: column;
    width: 100%;
  }
  .main-header .nav-item {
    width: 100%;
  }
  .main-header .nav-link {
    display: block;
    width: 100%;
    padding: 10px 0;
  }
}

/* Desktop only */
@media (min-width: 992px) {
  .navbar-toggler {
    display: none !important;
  }
}




/* footer */

.site-footer {
  background-color: #ffeee0;
  color: #330000;
  padding: 40px 0 20px;
  font-size: 15px;
}

.footer-top .footer-logo {
  width: 100px;
}

.footer-links a {
  color: #330000;
  display: block;
  margin-bottom: 8px;
  transition: color 0.3s;
  text-decoration: none;
}

.footer-links a:hover {
  color: #9a1a1a;
  text-decoration: underline;
}

.footer-contact i {
  color: #9a1a1a;
}

.footer-contact li {
  margin-bottom: 10px;
}

.social-icons a {
  display: inline-block;
  margin-right: 10px;
}

.social-icons img {
  width: 30px;
  height: 30px;
  transition: transform 0.3s;
}

.social-icons img:hover {
  transform: scale(1.1);
}

.footer-bottom hr {
  border-top: 1px solid #e5c56f;
  width: 90%;
  margin: 0 auto 15px;
}


.footer-top .social-icons a {
    display: inline-block;
    margin-right: 10px;
    color: #6c757d; /* same muted gray as footer text */
    font-size: 18px;
    transition: color 0.3s ease;
}

.footer-top .social-icons a:hover {
    color: #007bff; /* optional: highlight color on hover */
}

.highlight {
  color: #d9531e;
  font-weight: bold;
}

/* home */
.bg-cream {
  background-color: #fef1e5; /* matches the design color */
}

.font-italic {
  font-style: italic;
}

.text-danger {
  color: #5e0000;
}


/* product cate */
.category-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 16px;
    padding: 10px;
}

.cat-card {
    position: relative;
    border-radius: 12px;
    border: 3px solid white;
    color: white;
    padding: 14px;
    min-height: 120px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-shadow: 0px 4px 8px rgba(0,0,0,0.15);
}

.cat-title-hi {
    font-size: 1.05rem;
    font-weight: bold;
}

.cat-title-en {
    font-size: 0.85rem;
    margin-top: 4px;
    line-height: 1.1;
}

.cat-logo-circle {
    position: absolute;
    bottom: 8px;
    right: 8px;
    width: 34px;
    height: 34px;
    border-radius: 50%;        /* keeps the logo round */
    overflow: hidden;          /* crops image into a circle */
    background: none !important; /* remove bg color */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;                /* no extra padding */
    box-shadow: none;          /* no shadow */
}

.cat-logo-circle img {
    width: 100%;               /* fill the circle */
    height: 100%;
    object-fit: cover;          /* make it fit properly */
}


/* Slider Container */
.hero-slider {
  width: 100%;
  height: 55vh;   /* default desktop */
  overflow: hidden;
  position: relative;
  margin-top: -20px;
}

.hero-slider .swiper {
  width: 100%;
  height: 100%;
}

.hero-slider .swiper-slide {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000; /* fallback background */
}

.hero-slider .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center; 
  image-rendering: auto;
}

/* Navigation Arrows */
.swiper-button-next,
.swiper-button-prev {
  color: white;
  text-shadow: 0px 0px 5px rgba(0,0,0,0.7);
  font-size: 30px;   /* default */
}

/* Pagination Dots */
.swiper-pagination-bullet {
  background: white;
  opacity: 0.7;
}
.swiper-pagination-bullet-active {
  background: #007bff;
}

/* 📱 Responsive Breakpoints */
@media (max-width: 1400px) {
  .hero-slider { height: 55vh; }
}

@media (max-width: 1200px) {
  .hero-slider { height: 50vh; }
}

@media (max-width: 992px) {
  .hero-slider { height: 45vh; }
  .swiper-button-next,
  .swiper-button-prev { font-size: 24px; }
}

@media (max-width: 768px) {
  .hero-slider { height: 40vh; }
  .hero-slider .swiper-slide img {
    object-fit: fill;}
  .swiper-button-next,
  .swiper-button-prev { font-size: 20px; }
}

@media (max-width: 576px) {
  .hero-slider { height: 30vh; }
  .hero-slider .swiper-slide img {
    object-fit: fill;}
  .swiper-button-next,
  .swiper-button-prev { font-size: 15px; }
}

@media (max-width: 400px) {
 .hero-slider { height: 22vh; }
  .hero-slider .swiper-slide img {
    object-fit: fill;}
  .swiper-button-next,
  .swiper-button-prev { font-size: 10px; }
}

/* end */

.features-section {
  background-color: #ffffff;
  padding: 10px 0;
  margin-top: 10px;
}

.features-container {
  text-align: center;
}

.features-heading-wrapper {
  width: 100vw; /* Full viewport width */
  background-color: #fdf1d6; /* Same as before */
  padding: 15px 0; /* Vertical padding */
  display: flex;
  justify-content: center; /* Center the heading inside */
  box-sizing: border-box;
  margin-bottom: 40px;
}

/* Remove background & padding from original heading */
.features-heading {
  background-color: transparent;
  padding: 0 35px; /* Only horizontal padding for pill shape */
  margin: 0;
  color: #4a0000;
  font-weight: 800;
  font-size: 25px;
  border-radius: 999px;
  display: inline-block;
  letter-spacing: 0.5px;
}

.features-row {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.feature-box {
  width: 280px;
  height: 220px; /* Fixed height */
  border: 1px dashed #d9a441;
  border-radius: 8px;
  background-color: #fff;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 0;
  
  /* Hover & transition */
  cursor: pointer;
  perspective: 1000px;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s ease, border-color 0.4s ease;
}

.feature-box:hover {
  transform: scale(1.05) rotateX(5deg) rotateY(5deg);
  box-shadow: 0 12px 30px rgba(217, 164, 65, 0.7), 0 0 15px rgba(255, 199, 39, 0.9);
  border-color: #d9a441;
  animation: hoverBounce 0.4s forwards;
}

/* Bounce back animation on hover out */
.feature-box:not(:hover) {
  animation: bounceBack 0.3s forwards;
}

/* Title Block (Top - White) */
.feature-title {
  background-color: #ffffff;
  color: #4a0000;
  font-weight: 700;
  font-size: 16px;
  padding: 20px 14px;
  text-align: center;
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  transition: color 0.4s ease;
}

.feature-box:hover .feature-title {
  color: #752d00;
}

/* Animated underline */
.feature-title::after {
  content: "";
  position: absolute;
  bottom: 10px;
  left: 50%;
  width: 0;
  height: 3px;
  background-color: #d9a441;
  border-radius: 3px;
  transition: width 0.4s ease, left 0.4s ease;
}

.feature-box:hover .feature-title::after {
  width: 60%;
  left: 20%;
}

/* Description Block (Bottom - Yellow) */
.feature-description {
  background: linear-gradient(90deg, #ffc727, #f4b600);
  padding: 16px 14px;
  font-size: 13.5px;
  line-height: 1.6;
  color: #333;
  text-align: center;
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
  min-height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-grow: 1;
  box-sizing: border-box;
  transition: background 0.4s ease, color 0.4s ease;
}

.feature-box:hover .feature-description {
  background: linear-gradient(90deg, #ffd94a, #ffb500);
  color: #222;
}

/* Keyframes for bounce effect */
@keyframes hoverBounce {
  0% {
    transform: scale(1.05) rotateX(5deg) rotateY(5deg);
  }
  50% {
    transform: scale(1.07) rotateX(6deg) rotateY(6deg);
  }
  100% {
    transform: scale(1.05) rotateX(5deg) rotateY(5deg);
  }
}

@keyframes bounceBack {
  0% {
    transform: scale(1.05) rotateX(5deg) rotateY(5deg);
  }
  100% {
    transform: scale(1) rotateX(0deg) rotateY(0deg);
  }
}



  .section-heading-wrapper {
    background-color: #feefdd;
    padding: 30px 15px;
    font-weight: bold;
    color: #4b1e00;
    font-size: 20px;
}

.category-box {
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 20px;
    background: #fff;
    margin: 10px 0;
}

.category-box img {
    width: 40px;
    margin: 5px;
}

.cta-section {
    background-color: #feefdd;
    padding: 20px 10px;
    margin: 0 auto 10px;
    font-weight: bold;
}

.cta-text {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #4b1e00;
    font-size: 16px;
}


.about-3pm-section {
    background-color: #feefdd;
    background-image: url('../images/network-bg.png'); /* <- Replace with your background pattern */
    background-size: cover;
    background-position: center;
    color: #4b1e00;
    font-family: 'Arial', sans-serif;
}

.about-3pm-section ul {
    padding-left: 20px;
    margin-top: 10px;
    margin-bottom: 20px;
}

.about-3pm-section ul li {
    margin-bottom: 10px;
    font-size: 15px;
}


.join-steps li {
    color: #2b7a0b; /* Green like in screenshot */
    font-weight: bold;
    margin-bottom: 5px;
}

.offer-table th,
.offer-table td {
    vertical-align: middle;
    font-size: 14px;
}

.offer-table td del {
    color: #b30000;
}

.offer-table td strong {
    color: #000;
}

.offer-table .btn-warning {
    background-color: #f0ad4e;
    border: none;
    padding: 6px 12px;
    font-size: 14px;
}

.offer-table .btn-warning:hover {
    background-color: #ec971f;
}

.offer-table {
    border: 1px solid #f0ad4e;
}

.offer-table th {
    border: 1px solid #f0ad4e;
}

.offer-table td {
    border: 1px solid #f0ad4e;
}
/* from */


/* Section Styling */
.role-title {
  font-weight: 700;
  font-size: 2rem;
}
.role-title span {
  color: #f4b600;
}
.role-subtitle {
  font-size: 1.1rem;
  margin-bottom: 15px;
}
.role-note {
  font-size: 0.95rem;
  margin-bottom: 30px;
  color: #555;
}

/* Role Card */
/* Role Card Styling */
.role-card {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  cursor: pointer;
  background: #fff;
  height: 180px;          /* fixed small height */
  width: 100%;
  max-width: 200px;       /* fixed small width */
  margin: 0 auto;
  text-align: center;
  padding: 10px;
  transition: transform 0.4s ease, box-shadow 0.4s ease, border 0.3s ease;
  border: 2px solid transparent;
}

/* Image inside card */
.role-card img {
  width: 100%;
  height: 100px;
  object-fit: cover;
  border-radius: 8px;
  transition: transform 0.5s ease, filter 0.4s ease;
}

/* Role Name */
.role-name {
  margin-top: 8px;
  font-size: 14px;
  font-weight: 600;
  transition: color 0.3s ease, letter-spacing 0.3s ease;
}

/* Hover Effects */
.role-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(244,182,0,0.25), rgba(255,255,255,0));
  opacity: 0;
  transform: scale(1.5) rotate(15deg);
  transition: opacity 0.5s ease, transform 0.5s ease;
  pointer-events: none;
}

/* On Hover */
.role-card:hover {
  transform: translateY(-6px) scale(1.05);
  box-shadow: 0 10px 25px rgba(0,0,0,0.25);
  border: 2px solid #f4b600;   /* gold border highlight */
}

.role-card:hover::before {
  opacity: 1;
  transform: scale(1) rotate(0deg);
}

.role-card:hover img {
  transform: scale(1.1);
  filter: brightness(1.1) contrast(1.05);
}

/* .role-card:hover .role-name {
  color: #f4b600;
  letter-spacing: 1px;
} */


.role-selection .role-name {
    font-size: 18px;
    font-weight: 600;
    margin-top: 10px;
    color: #333;
}

/* Ensure link text color stays same */
.role-selection a {
    text-decoration: none !important;
    color: inherit !important;
    display: block;
    height: 100%;
}