/* ------------------------------
   GENERAL RESET & TYPOGRAPHY
------------------------------ */
html, body {
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
  color: #fff;
  background-color: #111;
  height: 100%;
  display: flex;
  flex-direction: column;
}

a {
  text-decoration: none;
  color: inherit;
}

a:visited {
  color: inherit;
}

.centered {
  text-align: center;
}

/* ------------------------------
   HEADER STYLES
------------------------------ */
header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  position: fixed;
  top: 0;
  width: 100%;
  min-height: 100px;
  padding: 0 30px;
  z-index: 1000;
  box-sizing: border-box;
}

.header-logo {
  flex-shrink: 0;
}

.header-logo img {
  height: 80px;
  object-fit: contain;
  display: block;
}

nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 600;
  max-width: 100%;
}

nav a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 4px;
  transition: background-color 0.3s ease;
  white-space: nowrap;
}

nav a:hover {
  background-color: #f47c20;
  color: white;
}

nav a.cta-button {
  color: #fff !important;
}

/* ------------------------------
   HERO SECTION
------------------------------ */
.hero-image {
  background-image: url("Background image.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  padding-top: 100px;
}

.hero-overlay {
  padding: 4rem 2rem 2rem 2rem;
  background-color: rgba(0, 0, 0, 0.2);
  text-align: center;
}

main h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

main p {
  font-size: 1.2rem;
}

/* ------------------------------
   WHITE SECTION
------------------------------ */
.white-section {
  position: relative;
  background:
    linear-gradient(to bottom, rgba(255, 255, 255, 0.85) 60%, #f5f5f5 90%),
    linear-gradient(to bottom, rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0)),
    url("Background image 2.png") no-repeat center center;
  background-size: cover;
  background-attachment: fixed;
  color: #111;
  padding: 4rem 2rem 4rem;
  text-align: left;
  z-index: 0;
}

.white-section h2 {
  font-size: 2.2rem;
  margin-bottom: 1rem;
}

.white-section p {
  font-size: 1.125rem;
  line-height: 1.7;
  max-width: 900px;
  margin: 0 auto;
}

/* ------------------------------
   CTA BUTTON
------------------------------ */
.cta-button {
  background-color: #f37021;
  color: #fff !important;
  padding: 12px 24px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.cta-button:hover {
  background-color: #cc5a1a;
}

/* ------------------------------
   FEATURES & SERVICES
------------------------------ */
.feature-list {
  list-style: none;
  padding: 0;
  margin: 2rem auto;
  max-width: 600px;
  font-size: 1.1rem;
}

.feature-list li {
  margin-bottom: 0.8rem;
  position: relative;
  padding-left: 1.5em;
}


.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1.5rem;
  max-width: 800px;
  margin: 2rem auto;
  padding: 0 1rem;
}

.service-card {
  background: #ffffffdd;
  border-radius: 12px;
  padding: 1.2rem;
  text-align: center;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  font-weight: bold;
  font-size: 1.1rem;
  transition: transform 0.2s;
}

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

.service-card p {
  font-weight: normal;
  margin-top: 1rem;
}

.heading {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 1.5rem;
  font-family: 'Rajdhani', sans-serif;
  color: #111;
}

.middle {
  text-align: center;
}

/* ------------------------------
   CONTACT FORM
------------------------------ */
.contact-form {
  background: rgba(255, 255, 255, 0.9);
  padding: 2rem;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
  max-width: 600px;
  margin: 3rem auto 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  animation: fadeInUp 1s ease-out;
}

.cta-button.small {
  margin-top: 1rem;
  padding: 8px 16px;
  font-size: 0.9rem;
}


.contact-form label {
  font-weight: bold;
  color: #333;
}

.contact-form input,
.contact-form textarea {
  padding: 12px;
  font-size: 1rem;
  border-radius: 8px;
  border: 1px solid #ccc;
  transition: border-color 0.3s, box-shadow 0.3s;
  max-width: 100%;
  box-sizing: border-box;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #f47c20;
  box-shadow: 0 0 6px #f47c20aa;
  outline: none;
}

.checkbox-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
}

.checkbox-wrapper input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: #f47c20;
}

.contact-form label > input {
  width: 100%;
  margin-top: 15px;
  font-family: Arial, sans-serif;
}

.contact-form label > textarea {
  width: 100%;
  margin-top: 15px;
  font-family: Arial, sans-serif;
}

.contact-form label.checkbox-input > input {
  width: auto;
}

/* ------------------------------
   ACCORDION STYLES
------------------------------ */

.accordion-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 40px 20px;
}

.accordion-card {
  background-color: #fefefe;
  border: 1px solid #ddd;
  border-radius: 10px;
  margin-bottom: 20px;
  overflow: hidden;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.accordion-toggle {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  background-color: #fefefe;
  border: none;
  padding: 1.2rem 2rem;
  font-size: 1.2rem;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.accordion-toggle:hover {
  background-color: #f4f4f4;
}

.accordion-title {
  flex: 1;
  text-align: center;
}

.arrow {
  margin-left: auto;
}

/* Collapsed and expanded states */
.accordion-content {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 0 2rem;
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: all 0.4s ease;
}

.accordion-card.active .accordion-content {
  opacity: 1;
  max-height: 1000px;
  padding: 1.5rem 2rem 2rem;
}

.accordion-text {
  flex: 1;
}

.accordion-image {
  flex-shrink: 0;
  width: 250px;
  height: auto;
  border-radius: 8px;
}

/* ------------------------------
   FOOTER
------------------------------ */
footer {
  background-color: #1a1a1a;
  color: white;
  padding: 2rem 5%;
  text-align: center;
  margin-top: auto;
}

.certifications {
  margin-bottom: 1rem;
}

.certifications span {
  margin: 0 1rem;
  display: inline-block;
  font-size: 0.9rem;
}

/* ------------------------------
   HERO IMAGE FADE (optional)
------------------------------ */
.hero-image::after {
  content: none;
}

/* ------------------------------
   MOBILE OPTIMIZATIONS
------------------------------ */
@media (max-width: 600px) {
  header {
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem;
  }

  nav {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    margin-top: 0.5rem;
  }

  .cta-button {
    margin-top: 0.5rem;
  }

  .header-logo img {
    height: 60px;
  }

  main, .hero-overlay, .hero-text {
    padding: 1rem;
  }

  footer {
    text-align: left;
    padding: 2rem 1rem;
  }

  .certifications {
    flex-direction: column;
    gap: 0.5rem;
    align-items: flex-start;
  }
}

.accordion-text p {
  margin-bottom: 1.2rem;
}

/* ------------------------------
   CONSULTING CAROUSEL
------------------------------ */
.carousel-container {
  position: relative;
  max-width: 1300px;
  margin: 0 auto;
  overflow: hidden;
  height: 400px;
}

.carousel {
  display: flex;
  gap: 30px;
  scroll-behavior: smooth;
  overflow-x: auto;
  padding: 20px 0;
  scroll-snap-type: x mandatory;
  height: 100%;
}

.carousel img {
  scroll-snap-align: center;
  flex: 0 0 auto;
  width: 350px;
  height: 100%;
  object-fit: contain;
  /*background-color: #fff; /* Optional fallback background */
  border-radius: 12px;
  opacity: 0.5;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Highlighted (centered) image */
.carousel img.active {
  opacity: 1;
  transform: scale(1.05);
}





.carousel-button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.6);  /* transparent white */
  color: #111;
  border: none;
  padding: 12px;
  cursor: pointer;
  border-radius: 50%;
  z-index: 10;
  font-size: 1.5rem;
  transition: background-color 0.3s ease, opacity 0.3s ease;
}

.carousel-button:hover {
  background-color: rgba(255, 255, 255, 0.9);
}

.carousel-button.prev {
  left: 10px;
}

.carousel-button.next {
  right: 10px;
}
.carousel img:hover {
  opacity: 1;
  transform: scale(1.05);
}
/* Optional soft border fade for carousel images */
.carousel img {
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
}

.carousel img {
  opacity: 0.4;
  transform: scale(1);
  transition: transform 0.4s ease, opacity 0.4s ease;
  border: none;
  box-shadow: none;
}

.carousel img.active {
  opacity: 1;
  transform: scale(1.05);
  border: none;
  box-shadow: none;
}

.content-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  text-align: left;
}

.white-section.clean {
  background: #ffffff;
  color: #111;
}

.white-section.grey {
  background: #f5f5f5;
  color: #111;
}

.white-section.clean h2,
.white-section.grey h2,
.white-section.clean p,
.white-section.grey p {
  color: #111;
}

