/* About Us Page Styles */

/* --- Variables --- */
:root {
  --primary-color: #0d6efd;
  --secondary-color: #6c757d;
  --dark-bg: #212529;
  --light-bg: #f8f9fa;
  --card-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  --transition-speed: 0.3s;
}

/* --- Hero Section --- */
.about-hero {
  background:
    linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
    url("../images/banner_image.jpg");
  background-size: cover;
  background-position: center;
  color: white;
  padding: 150px 0;
  text-align: center;
}

.about-hero h1 {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 20px;
}

/* --- About Me Section --- */
.about-me-section {
  padding: 80px 0;
}

.about-img {
  border-radius: 20px;
  box-shadow: var(--card-shadow);
  overflow: hidden;
}

.about-img img {
  width: 100%;
  transition: transform var(--transition-speed);
}

.about-img:hover img {
  transform: scale(1.05);
}

/* --- Services --- */
.services-section {
  background: var(--light-bg);
  padding: 80px 0;
}

.service-card {
  background: white;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  text-align: center;
  transition: var(--transition-speed);
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--card-shadow);
}

/* --- Skills --- */
.skills-section {
  padding: 80px 0;
}

.skill-item {
  background: white;
  padding: 30px 20px;
  border-radius: 15px;
  border: 1px solid #eee;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: var(--transition-speed);
}

.skill-item:hover {
  border-color: var(--primary-color);
  box-shadow: 0 15px 30px rgba(13, 110, 253, 0.15);
  transform: translateY(-5px);
}

.skill-item i {
  font-size: 4rem;
  margin-bottom: 15px;
}

.skill-item span {
  font-weight: 700;
  font-size: 1.1rem;
}

/* --- Projects Slider --- */
.slider-section {
  padding: 80px 0;
  background: var(--light-bg);
}

/* Project Card */
.project-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--card-shadow);
  display: flex;
  flex-direction: column;
  margin: 20px;
}

@media (min-width: 992px) {
  .project-card {
    flex-direction: row;
  }
}

.project-img {
  width: 100%;
  height: 300px;
  background-size: cover;
  background-position: center;
}

@media (min-width: 992px) {
  .project-img {
    width: 45% !important;
    min-height: 400px;
  }
}

.project-content {
  padding: 40px;
  flex: 1;
}

.project-content h4 {
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 20px;
}

.project-content p {
  color: var(--secondary-color);
  line-height: 1.7;
}

/* --- Owl Navigation --- */
.owl-nav {
  position: absolute;
  top: 50%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
  pointer-events: none;
  z-index: 10;
}

.owl-nav button {
  background: var(--primary-color) !important;
  color: white !important;
  width: 50px !important;
  height: 50px !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 24px !important;
  pointer-events: auto;
  transition: var(--transition-speed) !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  margin: 0 -25px !important;
}

.owl-nav button:hover {
  background: #0b5ed7 !important;
  transform: scale(1.1);
}

.owl-nav button.owl-prev {
  left: 0;
}

.owl-nav button.owl-next {
  right: 0;
}

/* Hide navigation on smaller mobile screens if needed, otherwise keep it */
@media (max-width: 768px) {
  .owl-nav button {
    width: 40px !important;
    height: 40px !important;
    margin: 0 !important;
  }
}

/* Owl Dots */
.owl-dots {
  text-align: center;
  margin-top: 30px;
}

.owl-dots .owl-dot span {
  background: #ccc !important;
  width: 12px !important;
  height: 12px !important;
  margin: 5px 7px !important;
  display: block;
  border-radius: 30px;
  transition: var(--transition-speed);
}

.owl-dots .owl-dot.active span {
  background: var(--primary-color) !important;
  width: 30px !important;
}

/* --- CTA --- */
.cta-section {
  background: var(--dark-bg);
  color: white;
  padding: 80px 0;
  text-align: center;
}

.btn-cta {
  background: var(--primary-color);
  color: white;
  padding: 15px 40px;
  border-radius: 50px;
  font-size: 1.2rem;
  text-decoration: none;
}

.btn-cta:hover {
  background: #0b5ed7;
}

.owl-nav span {
  padding-bottom: 6px;
}
