/* General Body Styling */
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: linear-gradient(to bottom, #2f3640, #1a232e); /* Darker gradient */
  color: #ecf0f1; /* Lighter text color for readability */
  line-height: 1.6;
  margin: 0;
  padding: 0;
}

/* Navbar */
.navbar {
  background-color: #273c75; /* Darker blue */
  color: #fff;
  padding: 15px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Darker shadow for contrast */
}

.navbar .logo {
  font-size: 24px;
  font-weight: bold;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 20px;
}

.nav-links li a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
}

.nav-links li a.active,
.nav-links li a:hover {
  text-decoration: underline;
}

/* Hero Section */
.hero-section {
  background: url('images/hero-bg.jpg') center center/cover no-repeat;
  color: white;
  min-height: 100vh;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  position: relative;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background: rgba(0, 0, 0, 0.7); /* Dark overlay for better contrast */
  z-index: 0;
}

.hero-section h1,
.hero-section p {
  position: relative;
  z-index: 1;
}

.hero-section h1 {
  font-size: 4rem;
  font-weight: 900;
  margin-bottom: 20px;
  line-height: 1.2;
}

.hero-section p {
  font-size: 1.6rem;
  font-weight: 500;
  max-width: 900px;
}

/* Solutions Page Hero Section */
.solutions-page .hero-section {
  background: url('images/solutions-bg.jpg') center center/cover no-repeat;
}

/* Core Offerings Section */
.service-section {
  padding: 80px 20px;
  background-color: #34495e; /* Darker section background */
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.service-section h2 {
  font-size: 2.5rem;
  margin-bottom: 40px;
  color: #ecf0f1;
}

/* Service Cards */
.service-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.service-cards .card {
  background-color: #2c3e50; /* Darker background for cards */
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  padding: 30px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
  width: 100%;
}

.service-cards .card:hover {
  transform: translateY(-10px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
}

.card h3 {
  font-size: 1.8rem;
  color: #ecf0f1;
  margin-bottom: 15px;
}

.card p {
  font-size: 1rem;
  color: #bdc3c7; /* Lightened text for better readability */
  line-height: 1.6;
}

/* Stats & Trust Indicators */
.solution-block ul li span {
  font-weight: 800;
  color: #27ae60; /* Green tone for standout effect */
  font-size: 1.6rem;
  background-color: #ecf9f1;
  padding: 4px 10px;
  border-radius: 8px;
}


.solution-block h2 {
  font-size: 2.5rem;
  margin-bottom: 40px;
  color: #ecf0f1;
}

.solution-block ul {
  list-style: none;
  padding: 0;
  font-size: 1.2rem;
  color: #bdc3c7;
  line-height: 2;
}

.solution-block ul li {
  display: inline-block;
  margin: 0 30px;
}

.solution-block ul li span {
  font-weight: bold;
  color: #273c75;
}

/* Footer */
footer {
  text-align: center;
  padding: 30px;
  background-color: #273c75;
  color: white;
  margin-top: 50px;
  box-shadow: 0 -4px 8px rgba(0, 0, 0, 0.2);
}

/* Scroll to Top Button */
.scroll-to-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  padding: 10px;
  border: none;
  border-radius: 50%;
  background-color: #273c75;
  color: white;
  font-size: 20px;
  cursor: pointer;
  display: none;
}

/* Animations for content reveal */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease-in-out;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Counter Section */
.counter {
  font-size: 2rem;
  font-weight: bold;
  color: #ecf0f1;
}

.counter span {
  font-size: 3rem;
  color: #27ae60;
  margin-left: 10px;
}

/* Centering text in Core Offerings and Stats */
.center-text {
  text-align: center;
  display: block;
  margin: 0 auto;
}

/* Contact Section */
.contact-section {
  padding: 80px 20px;
  background-color: #34495e; /* Darker background */
  text-align: center;
}

.contact-section h2 {
  font-size: 2.5rem;
  margin-bottom: 10px;
  color: #ecf0f1;
}

.contact-section p {
  font-size: 1.1rem;
  margin-bottom: 40px;
  color: #bdc3c7;
}

.contact-form {
  max-width: 600px;
  margin: 0 auto;
  text-align: left;
  background-color: #2c3e50;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  color: #ecf0f1;
  font-weight: 600;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #7f8c8d;
  border-radius: 8px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #273c75;
}

.contact-btn {
  background-color: #273c75;
  color: white;
  padding: 14px 28px;
  font-size: 1rem;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  width: 100%;
}

.contact-btn:hover {
  background-color: #2c3e50;
}

@media (max-width: 600px) {
  .contact-form {
    padding: 30px 20px;
  }
}

.solutions-wrapper {
  padding: 80px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.solution-card {
  background-color: #34495e; /* Darker background for solution cards */
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  padding: 40px 30px;
  margin-bottom: 40px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  font-size: 1.25rem;
  line-height: 1.8;
}

.solution-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.solution-card h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: #ecf0f1;
}

.solution-card p {
  font-size: 1.2rem;
  font-weight: 500;
  color: #bdc3c7;
}

/* About Us Page Styling */
.about-hero {
  background: linear-gradient(to right, #273c75, #2c3e50);
  color: white;
  padding: 100px 20px;
  text-align: center;
}

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

.about-hero p {
  font-size: 1.4rem;
  max-width: 800px;
  margin: 0 auto;
  font-weight: 500;
}

/* About Content Sections */
.about-section {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  padding: 80px 20px;
  gap: 50px;
  background-color: #1c2833;
  color: #ecf0f1;
  border-bottom: 1px solid #34495e;
}

.about-section:nth-child(even) {
  background-color: #212f3d;
}

.about-section .text {
  flex: 1 1 500px;
  max-width: 600px;
}

.about-section .text h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: #00a8ff;
}

.about-section .text p {
  font-size: 1.1rem;
  color: #dcdde1;
  line-height: 1.7;
  margin-bottom: 15px;
}

.about-section .image {
  flex: 1 1 400px;
  text-align: center;
}

.about-section .image img {
  width: 100%;
  max-width: 600px;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
}

/* Responsive Layout for Mobile */
@media (max-width: 900px) {
  .about-section {
    flex-direction: column;
    text-align: center;
  }

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

  .about-section .text h2 {
    font-size: 2rem;
  }
}


/* Modern Contact Section Layout */
.contact-section {
  padding: 80px 20px;
  background: linear-gradient(to right, #f7fafd, #eef3f8);
}

.contact-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  max-width: 1200px;
  margin: 0 auto;
  gap: 40px;
}

.contact-form-wrapper {
  flex: 1;
  min-width: 320px;
  max-width: 600px;
}

.contact-form-wrapper h2 {
  font-size: 2.5rem;
  color: #273c75;
  margin-bottom: 10px;
}

.contact-form-wrapper p {
  color: #555;
  margin-bottom: 30px;
  font-size: 1.1rem;
}

.contact-form {
  background: #fff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  font-weight: 600;
  margin-bottom: 6px;
  display: block;
  color: #2f3640;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #dcdde1;
  border-radius: 8px;
  font-size: 1rem;
  background-color: #f9f9fb;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: #273c75;
  outline: none;
}

.contact-btn {
  background-color: #273c75;
  color: white;
  padding: 14px 28px;
  font-size: 1rem;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  width: 100%;
  transition: background-color 0.3s ease;
}

.contact-btn:hover {
  background-color: #2c3e50;
}

.contact-image {
  flex: 1;
  max-width: 500px;
  min-width: 320px;
  text-align: center;
}

.contact-image img {
  max-width: 100%;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

/* Contact Page Split Layout */
.contact-page-split {
  display: flex;
  min-height: 100vh;
  background-color: #1c2833; /* Dark background similar to the About Us page */
}

.contact-image-side {
  flex: 1;
  overflow: hidden;
}

.contact-image-side img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.contact-form-side {
  flex: 1;
  padding: 60px;
  background-color: #2c3e50; /* Darker background similar to other sections */
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-form-side h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: #ecf0f1; /* Lighter text for contrast */
}

.contact-form-side p {
  font-size: 1.1rem;
  color: #bdc3c7; /* Lighter text */
  margin-bottom: 20px;
}

.contact-form {
  max-width: 500px;
}

/* Contact Form Labels and Checkbox Text */
.contact-form .form-group label {
  display: block;
  margin-bottom: 8px;
  color: #000; /* Set label color to black */
  font-weight: bold; /* Make label text bold */
}

.contact-form .form-group input,
.contact-form .form-group textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #7f8c8d;
  border-radius: 8px;
  font-size: 1rem;
}

.contact-form .form-group input:focus,
.contact-form .form-group textarea:focus {
  outline: none;
  border-color: #273c75;
}

/* Checkbox text */
.contact-form .form-group input[type="checkbox"] {
  margin-right: 10px;
}

.contact-form .form-group .checkbox-label {
  font-weight: bold;
  color: #000; /* Set checkbox label to black */
}

