:root {
  --primary-color: #6a0dad;
  --secondary-color: #f3e5ff;
  --accent-color: #9c27b0;
  --dark-color: #4a148c;
  --light-color: #faf5ff;
  --primary-color: #1a4b8c;
  --secondary-color: #f8f9fa;
  --accent-color: #ffc107;
}

html,
body {
  overflow-x: hidden;
}

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

body {
  font-family: 'Poppins', sans-serif;
  color: #333;
  background-color: var(--light-color);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  color: var(--dark-color);
}

::selection {
  background-color: var(--accent-color);
  color: white;
}

::-moz-selection {
  background-color: var(--accent-color);
  color: white;
}

.hero-section {
  background: linear-gradient(135deg, var(--dark-color) 0%, var(--primary-color) 100%);
  color: white;
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg,
      var(--primary-color) 25%,
      transparent 25%,
      transparent 50%,
      var(--primary-color) 50%,
      var(--primary-color) 75%,
      transparent 75%,
      transparent);
  background-size: 20px 20px;
  opacity: 0.1;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.principal-section {
  background-color: white;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

.principal-image {
  height: 100%;
  min-height: 350px;
  background-size: cover;
  background-position: center;
  border-radius: 12px 0 0 12px;
}

.principal-message {
  padding: 30px;
  position: relative;
}

.principal-message::before {
  content: '"';
  position: absolute;
  top: 20px;
  left: 20px;
  font-size: 80px;
  font-family: 'Playfair Display', serif;
  color: rgba(106, 13, 173, 0.1);
  line-height: 0;
}

.principal-name {
  color: var(--primary-color);
  font-weight: 600;
}

.counter-section {
  background: linear-gradient(135deg, var(--dark-color) 0%, var(--primary-color) 100%);
  color: white;
  padding: 60px 0;
  position: relative;
}

.counter-item {
  text-align: center;
  padding: 20px;
}

.counter-number {
  font-size: 48px;
  font-weight: 700;
  color: white;
  margin-bottom: 10px;
  font-family: 'Playfair Display', serif;
}

.counter-label {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.9);
}

.gallery-section {
  padding: 60px 0;
  background-color: var(--secondary-color);
}

.gallery-title {
  color: var(--primary-color);
  position: relative;
  display: inline-block;
}

.gallery-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 50%;
  height: 3px;
  background-color: var(--accent-color);
}

.gallery-card {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  margin-bottom: 25px;
  border: none;
}

.gallery-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.gallery-card img {
  height: 220px;
  object-fit: cover;
  transition: transform 0.5s ease;
  max-width: 100%;
  display: block;
}

.gallery-card:hover img {
  transform: scale(1.1);
}

.notice-box,
.tender-box {
  background: white;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  height: 100%;
  border-left: 4px solid var(--primary-color);
}

.barber-pole-slider {
  width: 100%;
  max-width: 500px;
  height: 500px !important;
}

.marquee-container {
  height: 400px;
  overflow: hidden;
  position: relative;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.8);
}

.carousel-inner,
.carousel-item {
  aspect-ratio: 16 / 9;
  width: 100%;
  overflow: hidden;
}

.carousel-item img {
  width: 100%;
  max-width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
  transition: transform 5s ease;
  display: block;
}

.carousel-item.active img {
  transform: scale(1.1);
}

.carousel-indicators {
  bottom: 20px;
}

.carousel-indicators [data-bs-target] {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.5);
  border: 2px solid transparent;
  transition: all 0.3s ease;
}

.carousel-indicators .active {
  background-color: white;
  border-color: var(--accent-color);
}

@media (max-width: 992px) {

  .marquee-container,
  .barber-pole-slider,
  .carousel-inner,
  .carousel-item,
  .carousel-item img {
    height: 300px !important;
  }

  .barber-pole-slider {
    width: 100% !important;
  }

  .col-lg-4 {
    margin-bottom: 20px;
  }
}

@media (max-width: 768px) {

  .marquee-container,
  .barber-pole-slider,
  .carousel-inner,
  .carousel-item,
  .carousel-item img {
    height: 250px !important;
  }
}

.marquee-container .text-center {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.lightbox-img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 8px;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.6);
}

.lightbox-close {
  position: absolute;
  top: 30px;
  right: 30px;
  color: white;
  font-size: 30px;
  cursor: pointer;
  background: rgba(0, 0, 0, 0.5);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.lightbox-close:hover {
  background: var(--primary-color);
  transform: rotate(90deg);
}

.btn-primary {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

.btn-primary:hover {
  background-color: var(--dark-color);
  border-color: var(--dark-color);
}

.btn-outline-primary {
  color: var(--primary-color);
  border-color: var(--primary-color);
}

.btn-outline-primary:hover {
  background-color: var(--primary-color);
  color: white;
}

.section-divider {
  width: 100px;
  height: 3px;
  background-color: var(--accent-color);
  margin: 20px auto;
}

footer {
  background-color: var(--dark-color);
  color: white;
  padding: 50px 0 20px;
}

.footer-logo img {
  height: 60px;
  margin-bottom: 20px;
}

.footer-links h5 {
  color: var(--accent-color);
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-links h5::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 2px;
  background-color: var(--primary-color);
}

.footer-links ul {
  list-style: none;
  padding-left: 0;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer-links a:hover {
  color: white;
  padding-left: 5px;
}

.social-icons a {
  display: inline-block;
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  color: white;
  border-radius: 50%;
  text-align: center;
  line-height: 40px;
  margin-right: 10px;
  transition: all 0.3s ease;
}

.social-icons a:hover {
  background-color: var(--primary-color);
  transform: translateY(-5px);
}

.copyright {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  margin-top: 30px;
}