@import url("../img/style.css");

.services .icon-box {
  padding: 50px 30px;
  position: relative;
  overflow: visible; /* Allow content to breathe */
  background: #fff;
  box-shadow: 0 0 29px 0 rgba(68, 88, 144, 0.12);
  transition: all 0.3s ease-in-out;
  border-radius: 8px;
  z-index: 1;
  height: 100%;
}

.services .icon-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 35px rgba(0,0,0,0.15);
}

.services .icon {
  margin-bottom: 20px;
  padding-top: 10px;
  display: inline-block;
  transition: all 0.3s ease-in-out;
  font-size: 36px;
  line-height: 1;
  color: #ff7b00;
}

.services .title {
  font-weight: 700;
  margin-bottom: 15px;
  font-size: 18px;
}

.services .description {
  font-size: 15px;
  line-height: 28px;
  margin-bottom: 0;
}

.single-blog {
  background: #fff;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  margin-bottom: 30px;
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.single-blog:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.2);
}

.single-blog .post-img {
  overflow: hidden;
  height: 200px; /* Fixed height for consistency */
}

.single-blog .post-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.single-blog:hover .post-img img {
  transform: scale(1.1);
}

.single-blog .single_blog {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.single-blog .post-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 15px;
  color: #2c3e50;
  line-height: 1.4;
}

.single-blog .post-title:hover {
  color: #ff7b00;
  text-decoration: none;
}

.single-blog .icon-area {
  margin-bottom: 15px;
  color: #777;
  font-size: 0.9rem;
}

.single-blog .icon-area i {
  color: #ff7b00;
  margin-right: 5px;
}

.single-blog .blog-text {
  color: #555;
  margin-bottom: 20px;
  flex-grow: 1;
}

.single-blog .btn-area {
  margin-top: auto;
}

.single-blog .btn-area .btn {
  background: #ff7b00;
  color: #fff;
  padding: 8px 25px;
  border-radius: 30px;
  transition: 0.3s;
}

.single-blog .btn-area .btn:hover {
  background: #e66a00;
}

/* --- PARTNERS Carousel --- */
.clients {
  padding: 60px 0;
  background: #f3f9fd;
}

.clients .section-title h2 {
  color: #ff7b00;
}

.clients .client-item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: #fff;
  border-radius: 10px;
  height: 120px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  transition: 0.3s;
}

.clients .client-item:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.clients .client-item img {
  max-width: 80%;
  max-height: 80px;
  filter: grayscale(100%);
  transition: 0.3s;
  opacity: 0.6;
}

.clients .client-item:hover img {
  filter: grayscale(0);
  opacity: 1;
}

html, body {
  height: auto;
  min-height: 100%;
}

/* --- Custom Styles for User Request --- */

/* Slider (Hero) Redesign */
#hero {
  width: 100%;
  height: 85vh; /* Slightly taller */
  overflow: hidden;
  position: relative;
}

#hero .carousel-item {
  height: 85vh;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
}

#hero .carousel-item::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: rgba(0, 0, 0, 0.4); /* Dark overlay for text readability */
}

#hero .carousel-container {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  position: absolute;
  bottom: 0;
  top: 0;
  left: 0;
  right: 0;
  text-align: center !important;
}

#hero .container {
  text-align: center !important;
  position: relative;
  z-index: 2;
  width: 100%;
}

#hero .carousel-container > .container {
  width: 100% !important;
  height: 100% !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
}

#hero h2 {
  color: #fff;
  margin-bottom: 20px;
  font-size: 56px; /* Larger font */
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-align: center !important;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
  width: 100%;
}

#hero p {
  width: 80%;
  margin: 0 auto 30px auto;
  color: #fff;
  font-size: 22px;
  font-weight: 400;
  text-align: center !important;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

#hero .btn-get-started {
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 1px;
  display: inline-block;
  padding: 12px 35px;
  border-radius: 50px;
  transition: 0.3s;
  margin: 10px;
  color: #fff;
  background: #ff7b00;
  border: 2px solid #ff7b00;
  text-decoration: none;
  box-shadow: 0 5px 15px rgba(255, 123, 0, 0.4);
}

#hero .btn-get-started:hover {
  background: transparent;
  color: #ff7b00;
  transform: translateY(-3px);
}

#hero .carousel-indicators li {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.5);
  margin: 0 5px;
  border: none;
}

#hero .carousel-indicators li.active {
  background-color: #ff7b00;
  width: 15px;
  height: 15px;
}

/* Footer fixed social icons near back-to-top */
.footer-fixed-social {
  position: fixed;
  right: 70px;
  bottom: 20px;
  z-index: 999;
  display: flex;
  gap: 12px;
}
.footer-fixed-social a {
  color: #ff7b00 !important;
  font-size: 22px;
}

/* Tracking Section Redesign */
.tracking-section {
  padding: 60px 0;
  /* Background is preserved */
}

.tracking-box {
  background: rgba(255, 255, 255, 0.98);
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.08);
  border-left: 5px solid #ff7b00;
}

.tracking-box h3 {
  color: #003366; /* EMS Dark Blue */
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 26px;
  text-transform: uppercase;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
}

.tracking-box h3 i {
  color: #ff7b00;
  font-size: 32px;
}

.tracking-box p {
  font-family: 'Open Sans', sans-serif;
  color: #6c757d;
  font-size: 15px;
}

.tracking-form {
  position: relative;
}

.tracking-form input.form-control {
  border-radius: 50px 0 0 50px;
  border: 2px solid #e9ecef;
  padding: 10px 30px;
  height: 55px;
  font-size: 16px;
  font-family: 'Poppins', sans-serif;
  background: #f8f9fa;
}

.tracking-form input.form-control:focus {
  box-shadow: none;
  border-color: #ff7b00;
  background: #fff;
}

.tracking-form button.btn {
  border-radius: 0 50px 50px 0;
  background: linear-gradient(45deg, #003366, #004080);
  color: #fff;
  padding: 0 40px;
  font-weight: 600;
  letter-spacing: 1px;
  transition: all 0.3s;
  height: 55px;
  font-family: 'Poppins', sans-serif;
  border: none;
}

.tracking-form button.btn:hover {
  background: linear-gradient(45deg, #ff7b00, #ff9900);
  box-shadow: 0 5px 15px rgba(255, 123, 0, 0.3);
}

/* About Section Image Fix */
.about-img {
  min-height: 450px;
  background-size: cover;
  background-position: center;
  border-radius: 15px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.1);
  position: relative;
  overflow: hidden;
}

.about-img::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom right, rgba(0,51,102,0.1), rgba(255,123,0,0.1));
}
