/* Hero Section */
.hero {
  background: linear-gradient(135deg, rgba(44, 62, 80, 0.85) 0%, rgba(52, 152, 219, 0.9) 100%), url('/images/1760540567_ecdcb8dad80dd0c0674b.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, transparent 0%, rgba(0, 0, 0, 0.2) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 100px 0;
}

.hero-title {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  animation: fadeInDown 1s ease;
}

.text-accent {
  color: var(--accent);
}

.hero-subtitle {
  font-size: 1.5rem;
  margin-bottom: 2rem;
  animation: fadeInUp 1s ease 0.3s both;
  max-width: 600px;
}

.hero-buttons {
  animation: fadeInUp 1s ease 0.6s both;
}

.hero-btn {
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  font-weight: 600;
  padding: 12px 25px;
}

.hero-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.btn-light:hover {
  background-color: #f8f9fa !important;
  color: var(--brand-1) !important;
}

.hero-stats {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.stat-card {
  text-align: center;
  padding: 20px;
  transition: all 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-5px);
}

.stat-number {
  font-size: 2.5rem;
  margin-bottom: 10px;
  background: linear-gradient(135deg, white 0%, #f8f9fa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 1rem;
}

/* Image Slider Background */
.slider-background {
  position: relative;
  height: 100vh;
  overflow: hidden;
}

.slider-background .carousel-item {
  height: 100vh;
}

.slider-bg-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Hero Overlay */
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: linear-gradient(135deg, rgba(44, 62, 80, 0.85) 0%, rgba(52, 152, 219, 0.7) 100%);
  z-index: 10;
  display: flex;
  align-items: center;
  overflow: hidden;
  animation: gradientShift 15s ease infinite;
  background-size: 200% 200%;
}

.hero-overlay::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, transparent 0%, rgba(0, 0, 0, 0.1) 100%);
  z-index: -1;
}

.hero-content {
  position: relative;
  z-index: 20;
  color: white;
  padding: 20px;
}

.hero-title {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  position: relative;
}

.hero-title::after {
  content: "";
  position: absolute;
  bottom: -15px;
  left: 0;
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--accent) 0%, #e67e22 100%);
  border-radius: 2px;
}

.text-accent {
  color: var(--accent);
}

.hero-subtitle {
  font-size: 1.5rem;
  margin-bottom: 2rem;
  max-width: 600px;
}

.hero-buttons .btn {
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  font-weight: 600;
  padding: 12px 25px;
  margin-bottom: 10px;
  position: relative;
  overflow: hidden;
}

.hero-buttons .btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: 0.5s;
}

.hero-buttons .btn:hover::before {
  left: 100%;
}

.hero-buttons .btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.btn-light:hover {
  background-color: #f8f9fa !important;
  color: var(--brand-1) !important;
}

.hero-stats {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.2);
  animation: float 6s ease-in-out infinite;
}

.stat-card {
  text-align: center;
  padding: 20px;
  transition: all 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-5px);
}

.stat-number {
  font-size: 2.5rem;
  margin-bottom: 10px;
  background: linear-gradient(135deg, white 0%, #f8f9fa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 1rem;
}

/* Particles for hero section */
.hero-particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 15;
  overflow: hidden;
}

.hero-particles::before {
  content: "";
  position: absolute;
  top: 10%;
  left: 10%;
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  animation: float 4s ease-in-out infinite;
  opacity: 0.7;
  box-shadow: 0 0 10px var(--accent);
}

.hero-particles::after {
  content: "";
  position: absolute;
  top: 20%;
  right: 15%;
  width: 6px;
  height: 6px;
  background: white;
  border-radius: 50%;
  animation: float 5s ease-in-out infinite 0.5s;
  opacity: 0.5;
}

.hero-particles .particle-1 {
  position: absolute;
  top: 30%;
  left: 20%;
  width: 4px;
  height: 4px;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  animation: float 6s ease-in-out infinite 1s;
}

.hero-particles .particle-2 {
  position: absolute;
  bottom: 20%;
  right: 25%;
  width: 5px;
  height: 5px;
  background: var(--accent);
  border-radius: 50%;
  animation: float 7s ease-in-out infinite 1.5s;
  box-shadow: 0 0 8px var(--accent);
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 25;
  text-align: center;
}

.scroll-link {
  display: inline-block;
  color: white;
  text-decoration: none;
  animation: bounce 2s infinite;
}

.scroll-text {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 10px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.scroll-arrow {
  font-size: 1.5rem;
  animation: pulse 2s infinite;
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateX(-50%) translateY(0);
  }
  40% {
    transform: translateX(-50%) translateY(-20px);
  }
  60% {
    transform: translateX(-50%) translateY(-10px);
  }
}

@keyframes float {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
  100% {
    transform: translateY(0px);
  }
}

@keyframes pulse {
  0% {
    opacity: 1;
    transform: translateY(0);
  }
  50% {
    opacity: 0.5;
    transform: translateY(5px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* Entry animations */
.animate-slide-in {
  animation: slideIn 1s ease-out;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.animate-fade-in {
  animation: fadeIn 1s ease-out;
}

.animate-fade-in-delay {
  animation: fadeIn 1s ease-out 0.3s both;
}

.animate-fade-in-delay-2 {
  animation: fadeIn 1s ease-out 0.6s both;
}

/* About PEC Section */
.about-pec {
  padding: 100px 0;
  background-color: white;
}

.about-pec .section-title {
  color: var(--brand-1);
  position: relative;
  padding-bottom: 15px;
  margin-bottom: 30px;
}

.about-pec .section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--accent) 0%, #e67e22 100%);
  border-radius: 2px;
}

.about-image {
  overflow: hidden;
}

.about-image img {
  transition: transform 0.5s ease;
}

.about-image:hover img {
  transform: scale(1.05);
}

/* Facilities Section */
.facilities {
  padding: 100px 0;
}

.facilities .section-title {
  color: var(--brand-1);
  position: relative;
  padding-bottom: 15px;
  margin-bottom: 30px;
}

.facilities .section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--accent) 0%, #e67e22 100%);
  border-radius: 2px;
}

.facility-card {
  border: none;
  transition: all 0.3s ease;
  border-radius: 15px;
  overflow: hidden;
}

.facility-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.facility-icon {
  color: var(--brand-2);
}

/* Products Slider */
.products-slider {
  padding: 100px 0;
  background-color: white;
}

.products-slider .section-title {
  color: var(--brand-1);
  position: relative;
  padding-bottom: 15px;
  margin-bottom: 30px;
}

.products-slider .section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--accent) 0%, #e67e22 100%);
  border-radius: 2px;
}

.products-carousel {
  display: flex;
  overflow-x: auto;
  gap: 20px;
  padding: 20px 0;
  scrollbar-width: thin;
}

.products-carousel::-webkit-scrollbar {
  height: 8px;
}

.products-carousel::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 10px;
}

.products-carousel::-webkit-scrollbar-thumb {
  background: var(--brand-2);
  border-radius: 10px;
}

.product-item {
  flex: 0 0 auto;
  width: 300px;
}

@media (max-width: 768px) {
  .product-item {
    width: 280px;
  }
}

@media (max-width: 576px) {
  .product-item {
    width: 250px;
  }
}

@media (max-width: 400px) {
  .product-item {
    width: 220px;
  }
}

.product-item .card {
  border: none;
  border-radius: 15px;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.product-item .card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.product-item .card-img-top {
  height: 200px;
  object-fit: cover;
}

/* Clients Slider */
.clients-slider {
  padding: 100px 0;
  overflow: hidden;
}

.clients-slider .section-title {
  color: var(--brand-1);
  position: relative;
  padding-bottom: 15px;
  margin-bottom: 30px;
}

.clients-slider .section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--accent) 0%, #e67e22 100%);
  border-radius: 2px;
}

.clients-carousel-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
  mask-image: linear-gradient(to right, rgba(0,0,0,0) 0%, rgba(0,0,0,1) 15%, rgba(0,0,0,1) 85%, rgba(0,0,0,0) 100%);
  -webkit-mask-image: linear-gradient(to right, rgba(0,0,0,0) 0%, rgba(0,0,0,1) 15%, rgba(0,0,0,1) 85%, rgba(0,0,0,0) 100%);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  -webkit-perspective: 1000;
  perspective: 1000;
}

.clients-carousel {
  display: flex;
  gap: 20px;
  padding: 15px 0;
  animation: clientsCarousel 30s linear infinite;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  will-change: transform;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
  -webkit-animation-play-state: running;
  animation-play-state: running;
}

@keyframes clientsCarousel {
  0% {
    transform: translateX(0);
    -webkit-transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
  }
}

.clients-carousel:hover {
  animation-play-state: paused;
  -webkit-animation-play-state: paused;
}

/* For touch devices, add a tap indicator */
.clients-carousel-wrapper::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10;
  pointer-events: none;
}

/* On touch devices, show a pause indicator */
@supports not (hover: hover) {
  .clients-carousel-wrapper::after {
    content: '❚❚';
    position: absolute;
    top: 5px;
    right: 5px;
    background: rgba(0,0,0,0.5);
    color: white;
    padding: 3px 8px;
    border-radius: 3px;
    font-size: 10px;
    z-index: 5;
    opacity: 0.7;
    transition: opacity 0.3s ease;
  }
  
  .clients-carousel-wrapper:active .clients-carousel {
    animation-play-state: paused;
    -webkit-animation-play-state: paused;
  }
  
  .clients-carousel-wrapper:hover::after {
    opacity: 1;
  }
  
  @media (max-width: 576px) {
    .clients-carousel-wrapper::after {
      top: 3px;
      right: 3px;
      padding: 2px 6px;
      font-size: 8px;
    }
  }
}

.client-item {
  flex: 0 0 auto;
  width: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 768px) {
  .client-item {
    width: 160px;
  }
  
  .client-logo {
    height: 100px;
    padding: 15px;
  }
  
  .client-logo img {
    max-height: 70px;
  }
}

@media (max-width: 576px) {
  .client-item {
    width: 130px;
  }
  
  .client-logo {
    height: 90px;
    padding: 12px;
  }
  
  .client-logo img {
    max-height: 60px;
  }
}

@media (max-width: 400px) {
  .client-item {
    width: 110px;
  }
  
  .client-logo {
    height: 80px;
    padding: 10px;
  }
  
  .client-logo img {
    max-height: 50px;
  }
}

.client-logo {
  background: white;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  width: 100%;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.client-logo:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.client-logo img {
  max-width: 100%;
  max-height: 80px;
  object-fit: contain;
}

/* Section Titles */
.section-title {
  font-size: 2.5rem;
  font-weight: 700;
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .hero-title {
    font-size: 2.8rem;
  }
  
  .hero-subtitle {
    font-size: 1.2rem;
  }
  
  .stat-number {
    font-size: 2rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .hero-title::after {
    left: 50%;
    transform: translateX(-50%);
  }
}

@media (max-width: 768px) {
  .hero-overlay {
    position: relative;
    height: auto;
    background: linear-gradient(135deg, rgba(44, 62, 80, 0.95) 0%, rgba(52, 152, 219, 0.95) 100%);
    padding: 60px 0;
  }
  
  .hero-content {
    padding: 40px 0;
    text-align: center;
  }
  
  .hero-title {
    font-size: 2.2rem;
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
  }
  
  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .hero-buttons .btn {
    width: 100%;
    margin-bottom: 15px;
    margin-right: 0 !important;
  }
  
  .hero-stats {
    margin-top: 40px;
    padding: 20px;
  }
  
  .about-pec, .facilities, .products-slider, .clients-slider {
    padding: 60px 0;
  }
  
  .product-item {
    width: 100%;
    max-width: 300px;
    margin: 0 auto 20px;
  }
  
  .client-item {
    width: 100%;
    max-width: 200px;
    margin: 0 auto 20px;
  }
  
  .scroll-indicator {
    display: none;
  }
  
  .carousel-item {
    height: 400px;
  }
  
  .slider-title {
    font-size: 1.8rem;
  }
  
  .slider-description {
    font-size: 1rem;
  }
  
  .slider-meta {
    flex-direction: column;
    gap: 10px;
  }
  
  .hero-btn {
    width: 100%;
    margin-right: 0 !important;
    margin-bottom: 15px;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .team-member-photo {
    height: 250px;
  }
  
  .team-member-placeholder {
    height: 250px;
  }
  
  /* Admin Dashboard Mobile Adjustments */
  .dashboard-cards .col-xl-3 {
    flex: 0 0 auto;
    width: 50%;
  }
  
  .dashboard-cards .card-title {
    font-size: 1.8rem;
  }
  
  .dashboard-cards .card-body {
    padding: 15px;
  }
}

@media (max-width: 576px) {
  .hero-overlay {
    padding: 60px 0;
  }
  
  .hero-title {
    font-size: 1.8rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
  }
  
  .stat-number {
    font-size: 1.8rem;
  }
  
  .section-title {
    font-size: 1.8rem;
  }
  
  .product-item {
    width: 100%;
    max-width: 280px;
    margin: 0 auto 15px;
  }
  
  .client-item {
    width: 100%;
    max-width: 150px;
    margin: 0 auto 15px;
  }
  
  .hero-title::after {
    width: 60px;
  }
  
  .carousel-item {
    height: 350px;
  }
  
  .slider-title {
    font-size: 1.5rem;
  }
  
  .team-member-photo {
    height: 200px;
  }
  
  .team-member-placeholder {
    height: 200px;
  }
  
  /* Admin Dashboard Mobile Adjustments */
  .dashboard-cards .col-xl-3 {
    width: 100%;
  }
  
  .dashboard-cards .card-title {
    font-size: 1.5rem;
  }
  
  .h2, h2 {
    font-size: 1.75rem;
  }
  
  .lead {
    font-size: 1rem;
  }
  
  .btn-toolbar {
    width: 100%;
    justify-content: center;
  }
}

/* Image Slider */
.slider {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  padding: 100px 0;
  position: relative;
}

.slider::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%233498db' fill-opacity='0.05' fill-rule='evenodd'/%3E%3C/svg%3E");
}

.section-title {
  position: relative;
  padding-bottom: 15px;
  margin-bottom: 30px;
  font-size: 2.5rem;
  color: var(--brand-1);
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--accent) 0%, #e67e22 100%);
  border-radius: 2px;
}

.title-icon {
  display: inline-block;
  margin-right: 15px;
  color: var(--accent);
}

.slider-indicators {
  margin-bottom: 20px;
}

.slider-indicators button {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.5);
  border: 2px solid white;
  transition: all 0.3s ease;
}

.slider-indicators button.active {
  background-color: var(--accent);
  border-color: var(--accent);
  transform: scale(1.2);
}

.carousel-item {
  height: 600px;
  position: relative;
  border-radius: 15px;
  overflow: hidden;
}

.slider-image-wrapper {
  position: relative;
  height: 100%;
  width: 100%;
}

.slider-image {
  height: 100%;
  object-fit: cover;
  width: 100%;
  transition: all 0.5s ease;
}

.carousel-item:hover .slider-image {
  transform: scale(1.05);
}

.slider-caption {
  background: linear-gradient(0deg, rgba(44, 62, 80, 0.9) 0%, rgba(44, 62, 80, 0.7) 100%);
  border-radius: 15px;
  padding: 30px;
  backdrop-filter: blur(10px);
  margin: 0 5%;
  animation: fadeIn 0.5s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.slider-title {
  font-size: 2.5rem;
  margin-bottom: 15px;
  color: white;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.slider-description {
  font-size: 1.1rem;
  margin-bottom: 20px;
  color: rgba(255, 255, 255, 0.9);
  max-width: 800px;
}

.slider-meta {
  display: flex;
  gap: 20px;
  margin-top: 20px;
}

.slider-meta span {
  background: rgba(255, 255, 255, 0.1);
  padding: 8px 15px;
  border-radius: 30px;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.slider-meta span:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.slider-control {
  width: 6%;
  opacity: 0;
  transition: all 0.3s ease;
}

.slider:hover .slider-control {
  opacity: 1;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-color: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  padding: 20px;
  width: 20px;
  height: 20px;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-1);
  font-size: 1.2rem;
}

.carousel-control-prev-icon:hover,
.carousel-control-next-icon:hover {
  background-color: white;
  transform: scale(1.1);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.slider-nav-btn {
  border-radius: 30px;
  padding: 10px 20px;
  font-weight: 600;
  transition: all 0.3s ease;
  border-width: 2px;
}

.slider-nav-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .hero-title {
    font-size: 2.8rem;
  }
  
  .carousel-item {
    height: 500px;
  }
  
  .slider-title {
    font-size: 2rem;
  }
}

@media (max-width: 768px) {
  .hero-overlay {
    position: relative;
    height: auto;
    background: linear-gradient(135deg, rgba(44, 62, 80, 0.95) 0%, rgba(52, 152, 219, 0.95) 100%);
    padding: 60px 0;
  }
  
  .hero-content {
    padding: 40px 0;
    text-align: center;
  }
  
  .hero-title {
    font-size: 2.2rem;
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
  }
  
  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .hero-buttons .btn {
    width: 100%;
    margin-bottom: 15px;
    margin-right: 0 !important;
  }
  
  .hero-stats {
    margin-top: 40px;
    padding: 20px;
  }
  
  .about-pec, .facilities, .products-slider, .clients-slider {
    padding: 60px 0;
  }
  
  .product-item {
    width: 100%;
    max-width: 300px;
    margin: 0 auto 20px;
  }
  
  .client-item {
    width: 100%;
    max-width: 200px;
    margin: 0 auto 20px;
  }
  
  .scroll-indicator {
    display: none;
  }
  
  .carousel-item {
    height: 400px;
  }
  
  .slider-title {
    font-size: 1.8rem;
  }
  
  .slider-description {
    font-size: 1rem;
  }
  
  .slider-meta {
    flex-direction: column;
    gap: 10px;
  }
  
  .hero-btn {
    width: 100%;
    margin-right: 0 !important;
    margin-bottom: 15px;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .team-member-photo {
    height: 250px;
  }
  
  .team-member-placeholder {
    height: 250px;
  }
}

@media (max-width: 576px) {
  .hero-overlay {
    padding: 60px 0;
  }
  
  .hero-title {
    font-size: 1.8rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
  }
  
  .stat-number {
    font-size: 1.8rem;
  }
  
  .section-title {
    font-size: 1.8rem;
  }
  
  .product-item {
    width: 100%;
    max-width: 280px;
    margin: 0 auto 15px;
  }
  
  .client-item {
    width: 100%;
    max-width: 150px;
    margin: 0 auto 15px;
  }
  
  .hero-title::after {
    width: 60px;
  }
  
  .carousel-item {
    height: 350px;
  }
  
  .slider-title {
    font-size: 1.5rem;
  }
  
  .team-member-photo {
    height: 200px;
  }
  
  .team-member-placeholder {
    height: 200px;
  }
}

/* About Us Section with Team Members */
.about-us {
  padding: 100px 0;
  background-color: #f8f9fa;
}

.about-us .section-title {
  color: var(--brand-1);
  position: relative;
  padding-bottom: 15px;
  margin-bottom: 30px;
}

.about-us .section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--accent) 0%, #e67e22 100%);
  border-radius: 2px;
}

.team-member {
  border: none;
  border-radius: 15px;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.team-member:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.team-member-photo {
  height: 300px;
  object-fit: cover;
}

.team-member-placeholder {
  height: 300px;
}

.team-member .card-title {
  color: var(--brand-1);
  margin-bottom: 5px;
}

.team-member .card-text {
  color: #6c757d;
}

/* Responsive adjustments for team members */
@media (max-width: 992px) {
  .about-us {
    padding: 60px 0;
  }
}

@media (max-width: 768px) {
  .team-member-photo {
    height: 250px;
  }
  
  .team-member-placeholder {
    height: 250px;
  }
}

@media (max-width: 576px) {
  .team-member-photo {
    height: 200px;
  }
  
  .team-member-placeholder {
    height: 200px;
  }
}

:root {
  --brand-1: #2c3e50;
  --brand-2: #3498db;
  --accent: #f39c12;
  --light: #ecf0f1;
  --dark: #2c3e50;
  --success: #27ae60;
  --warning: #f39c12;
  --danger: #e74c3c;
  --info: #3498db;
}

/* Admin Dashboard Styles */
.dashboard-cards .card {
  border: none;
  border-radius: 10px;
  transition: all 0.3s ease;
  overflow: hidden;
}

.dashboard-cards .card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15) !important;
}

.dashboard-cards .card-header {
  font-weight: 600;
  background-color: rgba(255, 255, 255, 0.1);
  border-bottom: none;
  padding: 15px 20px;
}

.dashboard-cards .card-title {
  font-weight: 700;
  margin-bottom: 10px;
}

.dashboard-cards .card-body {
  padding: 20px;
}

.dashboard-cards .card-text {
  opacity: 0.9;
  font-size: 0.95rem;
}

.recent-enquiries-table th {
  font-weight: 600;
  color: var(--dark);
}

.badge {
  font-weight: 500;
  padding: 6px 10px;
}

.btn-outline-primary {
  border-width: 2px;
  font-weight: 500;
}

.card.shadow-sm {
  border-radius: 10px;
  border: none;
}

.card.shadow-sm .card-header {
  background-color: white;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 10px 10px 0 0 !important;
  padding: 15px 20px;
}

.card-title {
  font-weight: 600;
}

html, body {
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Open Sans', sans-serif;
  color: #333;
  background-color: #fafafa;
  overflow-x: hidden;
}

/* Header/Navigation */
header {
  position: relative;
  z-index: 1000;
}

.navbar {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  padding: 15px 0;
  transition: all 0.3s ease;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.navbar.scrolled {
  padding: 10px 0;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Enhanced Header Styles */
.navbar-brand {
  font-weight: 800;
  color: var(--brand-1) !important;
  display: flex;
  align-items: center;
  font-size: 1.8rem;
  transition: all 0.3s ease;
  position: relative;
}

.navbar-brand::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--brand-2));
  transition: width 0.4s ease;
}

.navbar-brand:hover::after {
  width: 100%;
}

.brand-text {
  background: linear-gradient(135deg, var(--brand-1) 0%, var(--brand-2) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 800;
  letter-spacing: 0.5px;
}

.brand-highlight {
  color: var(--accent);
  font-weight: 700;
}

.navbar-brand img {
  max-height: 50px;
  width: auto;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.navbar-brand:hover img {
  transform: scale(1.08) rotate(3deg);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.navbar-nav .nav-link {
  font-weight: 600;
  position: relative;
  margin: 0 8px;
  transition: all 0.3s ease;
  color: var(--dark) !important;
  padding: 12px 22px;
  border-radius: 30px;
  font-size: 1.05rem;
  letter-spacing: 0.3px;
}

.navbar-nav .nav-link::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(52, 152, 219, 0.1) 0%, rgba(243, 156, 18, 0.1) 100%);
  border-radius: 30px;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
}

.navbar-nav .nav-link:hover::before {
  opacity: 1;
}

.navbar-nav .nav-link:hover {
  color: var(--brand-2) !important;
  transform: translateY(-3px);
}

.navbar-nav .nav-link.active {
  background: linear-gradient(135deg, var(--brand-2) 0%, #2980b9 100%);
  color: white !important;
  box-shadow: 0 5px 20px rgba(52, 152, 219, 0.4);
  position: relative;
  overflow: hidden;
}

.navbar-nav .nav-link.active::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -60%;
  width: 20px;
  height: 200%;
  background: rgba(255, 255, 255, 0.3);
  transform: rotate(30deg);
  transition: all 0.8s;
}

.navbar-nav .nav-link.active:hover::after {
  left: 120%;
}

.navbar-nav .nav-link i {
  transition: transform 0.3s ease;
}

.navbar-nav .nav-link:hover i {
  transform: scale(1.2);
}

/* Enhanced Contact Button */
.btn-contact {
  background: linear-gradient(135deg, var(--accent) 0%, #e67e22 100%);
  border: none;
  padding: 12px 30px;
  font-weight: 700;
  border-radius: 30px;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 5px 20px rgba(243, 156, 18, 0.4);
  font-size: 1.1rem;
  color: white;
  letter-spacing: 0.5px;
  position: relative;
  overflow: hidden;
}

.btn-contact::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: 0.6s;
}

.btn-contact:hover::before {
  left: 100%;
}

.btn-contact:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 8px 25px rgba(243, 156, 18, 0.5);
  background: linear-gradient(135deg, #e67e22 0%, var(--accent) 100%);
}

.btn-contact:active {
  transform: translateY(-2px) scale(1.02);
}

/* Navbar Toggler */
.navbar-toggler {
  border: none;
  padding: 8px;
  border-radius: 10px;
  background: rgba(52, 152, 219, 0.1);
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 0.25rem rgba(52, 152, 219, 0.25);
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2844, 62, 80, 0.8%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Responsive adjustments for navbar */
@media (max-width: 991.98px) {
  .navbar {
    padding: 15px 0;
  }
  
  .navbar-collapse {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    margin-top: 20px;
    animation: fadeInDown 0.4s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
  }
  
  .navbar-nav .nav-link {
    margin: 10px 0;
    border-radius: 12px;
    text-align: center;
    padding: 15px;
  }
  
  .btn-contact {
    width: 100%;
    margin-top: 20px;
  }
}

@media (max-width: 768px) {
  .navbar-brand {
    font-size: 1.6rem;
  }
  
  .navbar-brand img {
    max-height: 45px;
  }
  
  .brand-text {
    font-size: 1.4rem;
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Product Gallery Styles */
.product-gallery .thumbnail {
    border: 2px solid transparent;
    transition: all 0.3s ease;
    opacity: 0.7;
    height: 100px;
    object-fit: cover;
}

.product-gallery .thumbnail:hover {
    opacity: 1;
    transform: translateY(-2px);
}

.product-gallery .thumbnail.active {
    border-color: #3498db;
    opacity: 1;
    box-shadow: 0 0 0 2px #3498db;
}

.product-gallery .main-image-container {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
}

.product-gallery .main-image-container img {
    transition: transform 0.3s ease;
    width: 100%;
    height: auto;
}

.product-gallery .main-image-container:hover img {
    transform: scale(1.02);
}

/* Product Detail Page Styles */
.product-detail-page {
    background-color: #f8f9fa;
    padding: 40px 0;
}

.product-gallery .main-image-container {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    background-color: #fff;
    padding: 20px;
    margin-bottom: 20px;
}

.product-gallery .main-image-container img {
    transition: transform 0.3s ease;
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.product-gallery .main-image-container:hover img {
    transform: scale(1.02);
}

.product-gallery .thumbnail-container {
    background-color: #fff;
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.product-gallery .thumbnail {
    border: 3px solid transparent;
    transition: all 0.3s ease;
    opacity: 0.8;
    height: 120px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.product-gallery .thumbnail:hover {
    opacity: 1;
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.product-gallery .thumbnail.active {
    border-color: #3498db;
    opacity: 1;
    box-shadow: 0 0 0 3px #3498db, 0 8px 20px rgba(52, 152, 219, 0.3);
}

.product-info {
    background-color: #fff;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.product-info h1 {
    color: #2c3e50;
    margin-bottom: 20px;
    font-weight: 700;
}

.product-info .lead {
    color: #7f8c8d;
    font-size: 1.1rem;
    line-height: 1.6;
}

.specifications-section {
    background-color: #fff;
    border-radius: 15px;
    padding: 30px;
    margin-top: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.specifications-section h3 {
    color: #2c3e50;
    margin-bottom: 25px;
    font-weight: 700;
    position: relative;
    padding-bottom: 15px;
}

.specifications-section h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #3498db, #2c3e50);
    border-radius: 2px;
}

.specifications-table {
    border-collapse: separate;
    border-spacing: 0;
    width: 100%;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.specifications-table th,
.specifications-table td {
    padding: 15px 20px;
    border-bottom: 1px solid #eee;
}

.specifications-table th {
    background-color: #f8f9fa;
    font-weight: 600;
    color: #2c3e50;
}

.specifications-table tr:last-child td {
    border-bottom: none;
}

.specifications-table td:first-child {
    font-weight: 600;
    color: #34495e;
    width: 35%;
}

.specifications-table td:last-child {
    color: #7f8c8d;
}

.alert-info {
    border-radius: 10px;
    border: none;
    background-color: #e3f2fd;
    color: #1976d2;
    padding: 20px;
    font-size: 1rem;
}

.alert-info i {
    font-size: 1.2rem;
}

.btn-primary {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    border: none;
    padding: 12px 25px;
    font-weight: 600;
    border-radius: 30px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(52, 152, 219, 0.6);
}

.breadcrumb {
    background-color: transparent;
    padding: 0 0 20px 0;
}

.breadcrumb-item a {
    text-decoration: none;
    color: #3498db;
}

.breadcrumb-item.active {
    color: #7f8c8d;
}

.modal-content {
    border-radius: 15px;
    border: none;
    overflow: hidden;
}

.modal-header {
    border-radius: 15px 15px 0 0;
}

.modal-body {
    padding: 30px;
}

.form-control,
.form-select {
    border-radius: 10px;
    border: 1px solid #ddd;
    padding: 12px 15px;
    transition: all 0.3s ease;
}

.form-control:focus,
.form-select:focus {
    border-color: #3498db;
    box-shadow: 0 0 0 0.25rem rgba(52, 152, 219, 0.25);
}
