/* Variables */
:root {
  --primary: #233876;
  --primary-dark: #1a2a5e;
  --primary-light: #e1effe;
  --secondary: #1C64F2;
  --white: #ffffff;
  --light: #f8f9fa;
  --dark: #212529;
  --gray: #6c757d;
  --gray-light: #f8f9fa;
  --gray-dark: #343a40;
  --success: #28a745;
  --info: #17a2b8;
  --warning: #ffc107;
  --danger: #dc3545;
}

/* General Styles */
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--dark);
  padding-top: 76px;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
}

.text-primary {
  color: var(--primary) !important;
}

.text-primary-dark {
  color: var(--primary-dark) !important;
}

.text-primary-light {
  color: var(--primary-light) !important;
}

.bg-primary {
  background-color: var(--primary) !important;
}

.bg-primary-light {
  background-color: var(--primary-light) !important;
}

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

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

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

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

.py-md-7 {
  padding-top: 5rem !important;
  padding-bottom: 5rem !important;
}

/* Header */
#main-header {
  transition: all 0.3s ease;
  background-color: var(--white);
}

#main-header.scrolled {
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}


.navbar-nav .nav-link.active {
  color: var(--secondary);
  font-weight: 700;
}

/* Hero Section */
.hero-section {
  background: linear-gradient(to right, #233876, #1a56db);
  padding: 8rem 0;
  position: relative;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('https://via.placeholder.com/1920x1080');
  background-size: cover;
  background-position: center;
  opacity: 0.2;
}

/* Cards */
.card {
  transition: all 0.3s ease;
  overflow: hidden;
}

.hover-shadow:hover {
  transform: translateY(-5px);
  box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.175) !important;
}

/* Icon Box */
.icon-box {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.icon-box i {
  font-size: 2rem;
}

/* Value Cards */
.value-card {
  position: relative;
  overflow: hidden;
}

.value-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 4px;
  background-color: var(--primary);
  transform: translateX(-100%);
  transition: transform 0.3s ease;
}

.value-card:hover::before {
  transform: translateX(0);
}

/* Team Cards */
.team-image-wrapper {
  position: relative;
  overflow: hidden;
  height: 300px;
}

.team-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.team-card:hover .team-image-wrapper img {
  transform: scale(1.05);
}

.team-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
  display: flex;
  align-items: flex-end;
  padding: 1.5rem;
}

.team-card:hover .team-overlay {
  opacity: 1;
}

.team-social {
  display: flex;
  gap: 0.5rem;
}

.btn-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(255, 255, 255, 0.2);
  color: var(--white);
  transition: all 0.3s ease;
}

.btn-icon:hover {
  background-color: rgba(255, 255, 255, 0.3);
  color: var(--white);
}

/* Region List */
.region-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.region-item {
  padding: 1rem;
  border-radius: 0.5rem;
  background-color: var(--white);
  cursor: pointer;
  transition: all 0.3s ease;
}

.region-item:hover {
  background-color: var(--primary-light);
}

.region-item.active {
  background-color: var(--primary);
  color: var(--white);
}

.region-item.active p.small {
  color: rgba(255, 255, 255, 0.7) !important;
}

/* Testimonial Carousel */
.testimonial-carousel .carousel-control-prev,
.testimonial-carousel .carousel-control-next {
  width: 40px;
  height: 40px;
  top: 50%;
  transform: translateY(-50%);
  background-color: var(--primary);
  border-radius: 50%;
  opacity: 1;
}

.testimonial-carousel .carousel-control-prev {
  left: -20px;
}

.testimonial-carousel .carousel-control-next {
  right: -20px;
}

.testimonial-indicators {
  position: static;
  margin-top: 2rem;
  margin-bottom: 0;
}

.testimonial-indicators button {
  width: 12px !important;
  height: 12px !important;
  border-radius: 50%;
  background-color: var(--gray-light) !important;
  border: none !important;
  margin: 0 5px !important;
}

.testimonial-indicators button.active {
  background-color: var(--primary) !important;
}

/* Counter Section */
.counter {
  font-weight: 700;
}

/* Footer */
.hover-white:hover {
  color: var(--white) !important;
}

/* Responsive Adjustments */
@media (max-width: 991.98px) {
  .testimonial-carousel .carousel-control-prev,
  .testimonial-carousel .carousel-control-next {
    display: none;
  }

  .py-md-7 {
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
  }
}

@media (max-width: 767.98px) {
  .hero-section {
    padding: 6rem 0;
  }
}
