/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  line-height: normal;
  color: #333;
  padding-top: 150px;
}

main {
  position: relative;
  z-index: 1;
}

/* Cinematic Image Section */
.cinematic-image {
  position: relative;
  height: calc(80vh - 80px);
  width: 100%;
  overflow: hidden;
  margin-top: -80px;
  z-index: 1;
}

.cinematic-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.7);
}

.image-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #fff;
  width: 90%;
  max-width: 800px;
  z-index: 2;
}

.image-overlay h2 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-top: 10%;
  animation: fadeInUp 1s ease;
}

@media (max-width: 768px) {
  .image-overlay h2 {
    font-size: 2.1rem; /* Decreased by 40% */
  }
}

.image-overlay p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  animation: fadeInUp 1s ease 0.2s;
  opacity: 0;
  animation-fill-mode: forwards;
}

.image-overlay .btn {
  animation: fadeInUp 1s ease 0.4s;
  opacity: 0;
  animation-fill-mode: forwards;
}

/* Update header z-index in main.css to be higher */
.header {
  z-index: 1000 !important;
}

/* About Company Section */
.about-company {
  padding: 6rem 0;
  background: #f8fafc;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  gap: 4rem;
  padding: 6rem 2rem;
  position: relative;
  z-index: 3;
}

.about-text {
  flex: 1;
}

.about-text h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  color: #1f2937;
}

.about-text p {
  font-size: 1.1rem;
  color: #4b5563;
  margin-bottom: 2rem;
}

.about-image {
  flex: 1;
  position: relative;
}

.about-image img {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.about-image:hover img {
  transform: translateY(-10px);
}

/* Services Sections */
.bpo-services,
.technology-services {
  padding: 6rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.bpo-services {
  background: #fff;
}

.technology-services {
  background: #f8fafc;
}

.bpo-services h2,
.technology-services h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
  color: #1f2937;
}

.service-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.service-item {
  background: #fff;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  cursor: pointer;
}

.service-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.service-item i {
  font-size: 2.5rem;
  color: #2563eb;
  margin-bottom: 1.5rem;
}

.service-item h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #1f2937;
}

.service-item p {
  color: #6b7280;
}

/* Testimonial Slider */
.testimonial-slider {
  padding: 6rem 2rem;
  background: #fff;
  text-align: center;
}

.testimonial-slider h2 {
  font-size: 2.5rem;
  margin-bottom: 3rem;
  color: #1f2937;
}

.slider {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

.slide {
  padding: 2rem;
  display: none;
}

.slide.active {
  display: block;
  animation: fadeIn 0.5s ease;
}

.slide p {
  font-size: 1.2rem;
  color: #4b5563;
  font-style: italic;
  margin-bottom: 1.5rem;
}

.slide span {
  color: #2563eb;
  font-weight: 600;
}

/* Resources Section */
.resources {
  padding: 6rem 2rem;
  background: #f8fafc;
}

.resources h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
  color: #1f2937;
}

.resources-slider {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.resource-card {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  cursor: pointer;
}

.resource-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.resource-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.resource-card h3 {
  padding: 1.5rem;
  font-size: 1.2rem;
  color: #1f2937;
  margin: 0;
}

.resource-card p {
  padding: 0 1.5rem 1.5rem;
  color: #6b7280;
}

/* Cover Image Section */
.cover-image {
  height: 400px;
  position: relative;
  overflow: hidden;
}

.cover-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.7);
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .image-overlay h2 {
    font-size: 2.5rem;
  }

  .about-company {
    flex-direction: column;
    padding: 4rem 1.5rem;
  }

  .about-text,
  .about-image {
    width: 100%;
  }

  .service-list {
    grid-template-columns: 1fr;
  }

  .resources-slider {
    grid-template-columns: 1fr;
  }

  .cover-image {
    height: 300px;
  }
}

/* Utility Classes */
.btn {
  display: inline-block;
  padding: 1rem 2rem;
  background: #2563eb;
  color: #fff;
  text-decoration: none;
  border-radius: 5px;
  transition: all 0.3s ease;
}

.btn:hover {
  background: #1d4ed8;
  transform: translateY(-2px);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}