* {
  box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
  }

body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
}

header {
  background-color: #111;
  opacity: 0.7;
  color: white;
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 999;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.navbar {
  display: flex;
  align-items: center;
  gap: 20px;
  justify-content: center;
  flex: 1;
  transition: all 0.3s ease;
}

.navbar a {
  color: white;
  text-decoration: none;
  font-size: 1rem;
  transition: color 0.3s ease;
  transition: all 0.2s ease;
}

.navbar a:hover {
  color: #00ffff;
}

.navbar a.active {
  color: #00ffff;
  font-weight: bold;
  border-bottom: 2px solid #00ffff;
}

.logo {
  font-size: 1.4rem;
  font-weight: bold;
  color: #00ffff;
  margin: 0 15px;
}

.login-btn {
  color: white;
  background-color: #00ffff;
  padding: 8px 16px;
  text-decoration: none;
  border-radius: 4px;
  font-weight: bold;
  display: flex;
  align-items: center;
  gap: 8px;
  animation: heartbeat 1.5s infinite;
  animation-timing-function: ease-in-out;
}

.hamburger {
  display: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: white;
}

.hide-logo {
  display: none !important;
}

/*start of home section below */

#home {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 80px 20px;
  background-color: white;
}

.card1 {
  width: 100%;
  max-width: 700px;
  background-color: #ffffff;
  color: #333;
  border-radius: 20px;
  padding: 50px 30px;
  text-align: center;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.card1 h1 {
  font-size: 38px;
  margin-bottom: 20px;
  color: #0056b3;
}

.card1 p {
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 35px;
  color: #555;
}

.card1 a {
  display: inline-block;
  text-decoration: none;
  color: white;
  background-color: #0056b3;
  padding: 12px 30px;
  border-radius: 25px;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.card1 a:hover {
  background-color: #003f80;
}

/*start of section2*/

#about {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 80px 20px;
  background-color: #ffffff;
}

.card2 {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  gap: 30px;
  width: 100%;
  max-width: 1100px;
  background-color: white;
  border-radius: 20px;
  padding: 50px 40px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.05);
}

.card2a {
  flex: 1;
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.card2a .section-tag {
  font-weight: bold;
  color: #0056b3;
  margin-bottom: 10px;
}

.card2a h1 {
  font-size: 36px;
  color: #111;
  margin-bottom: 20px;
}

.card2a .p {
  font-size: 18px;
  color: #444;
  margin-bottom: 35px;
  line-height: 1.6;
}

.card2a a {
  text-decoration: none;
  color: white;
  background-color: #0056b3;
  padding: 12px 30px;
  border-radius: 25px;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.card2a a:hover {
  background-color: #003f80;
}

.card2b {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card2b img {
  width: 100%;
  border-radius: 20px;
  object-fit: cover;
  max-height: 350px;
}

.card2b img {
  transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.card2b img:hover {
  transform: rotateZ(-1deg) scale(1.02);
  box-shadow: 0 15px 40px rgba(0, 86, 179, 0.2);
}

/*start of services section*/

#services {
  padding: 60px 20px;
  background-color: #f9f9f9;
  text-align: center;
}

.card3 .section-tag {
  font-weight: bold;
  color: #0056b3;
  margin-bottom: 10px;
}

.card3 h1 {
  font-size: 38px;
  color: #111;
  margin-bottom: 20px;
}

.card3 .p {
  font-size: 18px;
  color: #555;
  line-height: 1.6;
}

/* Card Group */
.card4 {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  gap: 30px;
  padding: 40px 20px;
  max-width: 1100px;
  margin: auto;
  flex-wrap: wrap;
}

.card4a, .card4b {
  flex: 1 1 45%;
  background-color: #ffffff;
  padding: 40px 30px;
  border-radius: 20px;
  text-align: left;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card4a {
  background-color: #fef5e6;
}

.card4a:hover, .card4b:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 30px rgba(0, 0, 0, 0.1);
}

.card4a h1, .card4b h1 {
  font-size: 28px;
  margin-bottom: 15px;
  color: #222;
}

.card4a p, .card4b p {
  font-size: 16px;
  color: #444;
  line-height: 1.5;
  margin-bottom: 25px;
}

.card4a a, .card4b a {
  display: inline-block;
  text-decoration: none;
  color: white;
  background-color: #0056b3;
  padding: 10px 25px;
  border-radius: 25px;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.card4a a:hover, .card4b a:hover {
  background-color: #003f80;
}

#projects {
  padding: 80px 20px;
  background-color: #f9f9f9;
  display: flex;
  justify-content: center;
}

.section-project {
  background-color: #ffffff;
  border-radius: 20px;
  width: 100%;
  max-width: 1000px;
  padding: 50px 40px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.05);
  text-align: left;
}

.section-project h1 {
  font-size: 36px;
  color: #111;
  margin-bottom: 20px;
}

.section-project p {
  font-size: 18px;
  color: #444;
  line-height: 1.6;
  margin-bottom: 20px;
}

.section-project a {
  display: inline-block;
  text-decoration: none;
  color: white;
  background-color: #0056b3;
  padding: 12px 30px;
  border-radius: 25px;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.section-project a:hover {
  background-color: #003f80;
  transform: scale(1.03);
}

.card6 {
  width: 90%;
  margin-top: 50px;
  border-radius: 20px;
  padding: 20px;
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}

.card6a {
  width: 40%;
  text-align: left;
  min-width: 280px;
}

.section-tag {
  font-weight: bold;
  color: #0056b3;
  margin-bottom: 10px;
}

.arrows {
  font-size: 24px;
  display: flex;
  gap: 20px;
  margin-top: 20px;
  cursor: pointer;
  color: #0056b3;
}

.arrows i:hover {
  color: #003f80;
}

.card6b {
  width: 55%;
  min-width: 320px;
  position: relative;
  overflow: hidden;
  min-height: 180px;
}

.test {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  transition: opacity 0.5s ease;
  border-radius: 20px;
  padding: 20px;
  box-sizing: border-box;
  color: #222;
  height: auto;
}

.test:nth-child(odd) {
  background-color: blanchedalmond;
  color: #222;
}

.test:nth-child(even) {
  background-color: #222;
  color: white;
}

.test.active {
  opacity: 1;
  position: relative;
}

.test p:first-child {
  font-size: 18px;
  line-height: 1.5;
  margin-bottom: 15px;
}

.test p:last-child {
  font-weight: bold;
  font-size: 16px;
  text-align: right;
}

.dots {
  margin-top: 20px;
  text-align: center;
}

.dots span {
  display: inline-block;
  width: 12px;
  height: 12px;
  margin: 0 7px;
  background-color: #ccc;
  border-radius: 50%;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.dots span.active {
  background-color: #0056b3;
}

.card7 {
  width: 90%;
  background-color: white;
  padding: 20px;
  border-radius: 20px;
  margin-top: 30px;
  text-align: center;
}

.card7 p {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 20px;
}

.partners-wrapper {
  position: relative;
  overflow: hidden;
  width: 100%;
}

.partners-slider {
  overflow: hidden;
  width: 100%;
}

.partners-track {
  display: flex;
  gap: 40px;
  animation: scroll 30s linear infinite;
}

.partners-track img {
  height: 60px;
  width: auto;
  filter: grayscale(100%);
  transition: transform 0.3s ease, filter 0.3s ease;
}

.partners-track img:hover {
  transform: scale(1.1);
  filter: grayscale(0%);
}

.fade-left, .fade-right {
  position: absolute;
  top: 0;
  width: 60px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.fade-left {
  left: 0;
  background: linear-gradient(to right, white 0%, transparent 100%);
}

.fade-right {
  right: 0;
  background: linear-gradient(to left, white 0%, transparent 100%);
}


#resources {
  width: 100%;
  display: flex;
  justify-content: center;
  padding: 80px 20px 40px;
  box-sizing: border-box;
}

.resources-card {
  width: 100%;
  max-width: 900px;
  background-color: #f9f9f9;
  border-radius: 20px;
  padding: 40px 20px;
  text-align: center;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease-in-out;
}

.resources-card .tagline {
  font-size: 14px;
  font-weight: 600;
  color: #666;
  margin-bottom: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.resources-card h1 {
  font-size: 28px;
  color: #222;
  margin-bottom: 18px;
  line-height: 1.4;
}

.resources-card .description {
  font-size: 16px;
  color: #444;
  line-height: 1.6;
}

.card9 {
  display: flex;
  justify-content: space-evenly;
  flex-wrap: wrap;
  gap: 20px;
  width: 90%;
  margin: 40px auto;
}

.card9 div {
  background-color: white;
  padding: 20px;
  border-radius: 20px;
  width: 30%;
  min-width: 280px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  text-align: left;
}

.card9 h1 {
  font-size: 24px;
}

.card9 p {
  font-size: 16px;
  margin-top: -10px;
}

.card9 a {
  display: inline-block;
  margin-top: 10px;
  padding: 10px 20px;
  border-radius: 20px;
  color: white;
  text-decoration: none;
}

.card9a a {
  background-color: orange;
}

.card9b a {
  background-color: green;
}

.card9c a {
  background-color: palevioletred;
}

.card10-wrapper {
  display: flex;
  justify-content: center;
  width: 100%;
}

.card10 {
  text-align: left;
  width: 90%;
  max-width: 900px;
  background-color: white;
  padding: 30px;
  border-radius: 20px;
  margin-top: 40px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.card10 a {
  background-color: black;
  color: white;
  text-decoration: none;
  display: inline-block;
  margin-top: 20px;
  padding: 10px 25px;
  border-radius: 20px;
}

.card10 .section-label {
  font-weight: bold;
  color: #555;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 10px;
}

.card11 {
  margin-top: 80px;
  width: 90%;
  text-align: left;
  padding: 20px;
  background-color: white;
  border-radius: 20px;
}

.card11a p {
  color: #f97316;
  font-weight: bold;
  margin-bottom: 10px;
}

.card11a h1 {
  font-size: 2rem;
  margin-bottom: 20px;
}

.card11b {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.card11b1 {
  width: 100%;
}

.card11b1 p {
  font-size: 1rem;
  margin-bottom: 10px;
}

.card11b1 img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
}

.faq-container {
  width: 100%;
  max-width: 600px;
}

details {
  background: #f8fafc;
  border-radius: 10px;
  margin-bottom: 10px;
  padding: 1rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  cursor: pointer;
  transition: all 0.3s ease;
}

summary {
  font-size: 1rem;
  font-weight: bold;
  list-style: none;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: '+';
  float: right;
  font-size: 1.2rem;
}

details[open] summary::after {
  content: '-';
}

.faq-content {
  margin-top: 10px;
  font-size: 0.95rem;
  color: #333;
}

#contact-us {
  width: 90%;
  margin: 50px auto;
  font-family: Arial, sans-serif;
}

.innovex-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  background-color: #fff;
  padding: 30px;
  border-radius: 20px;
  box-shadow: 0 0 15px rgba(0,0,0,0.1);
}

.contact-info, .contact-form {
  flex: 1 1 400px;
  min-width: 300px;
  color: #222;
}

.contact-info p:first-child {
  font-weight: bold;
  color: #f97316; /* orange accent */
  letter-spacing: 2px;
  margin-bottom: 10px;
}

.contact-info h1 {
  font-size: 2.5rem;
  margin-bottom: 15px;
  line-height: 1.2;
}

.contact-info p {
  font-size: 1rem;
  margin-bottom: 20px;
  line-height: 1.4;
}

.contact-details h2 {
  margin-bottom: 15px;
  font-size: 1.5rem;
  border-bottom: 2px solid #f97316;
  padding-bottom: 5px;
  color: #f97316;
}

.contact-details p {
  margin-bottom: 10px;
  font-size: 1rem;
}

.social-icons i {
  font-size: 1.4rem;
  margin-right: 15px;
  color: #555;
  cursor: pointer;
  transition: color 0.3s ease;
}

.social-icons i:hover {
  color: #f97316;
}

.contact-form h2 {
  font-size: 1.8rem;
  margin-bottom: 20px;
  color: #f97316;
}

form {
  display: flex;
  flex-direction: column;
}

form label {
  margin-bottom: 6px;
  font-weight: 600;
}

form input,
form textarea {
  padding: 10px;
  border: 2px solid #ddd;
  border-radius: 12px;
  font-size: 1rem;
  margin-bottom: 20px;
  resize: vertical;
}

form textarea {
  min-height: 120px;
}

form input:focus,
form textarea:focus {
  border-color: #f97316;
  outline: none;
}

form button {
  background-color: #f97316;
  color: white;
  border: none;
  padding: 12px;
  font-size: 1.1rem;
  border-radius: 20px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

form button:hover {
  background-color: #c75b0c;
}


#footer {
  background-color: #f9f9f9;
  padding: 40px 20px;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #333;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.footer-cta {
  width: 100%;
  max-width: 1200px;
  background: #222;
  color: white;
  padding: 30px;
  border-radius: 15px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-shadow: 0 0 15px rgba(0,0,0,0.1);
}

.footer-cta h2 {
  font-size: 1.8rem;
  margin-bottom: 15px;
}

.footer-cta p {
  line-height: 1.5;
  margin-bottom: 25px;
  font-size: 1rem;
  color: #ccc;
}

.btn-primary {
  align-self: start;
  background-color: #ff6600;
  color: white;
  text-decoration: none;
  padding: 12px 28px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 1rem;
  transition: background-color 0.3s ease;
}

.btn-primary:hover,
.btn-primary:focus {
  background-color: #e65c00;
}


.footer {
  margin-top: 20px;
  display: flex;
  justify-content: space-between;
  text-align: left;
  width: 90%;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-left {
  background-color: white;
  border-radius: 20px;
  padding: 30px;
  width: 48%;
  box-sizing: border-box;
}

.footer-links {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  margin-top: 15px;
  gap: 20px;
}

.footer-links div p {
  margin: 8px 0;
  cursor: pointer;
}

.footer-copy {
  margin-top: 30px;
  font-size: 0.9rem;
  color: #555;
}

.footer-right {
  background-color: black;
  color: white;
  border-radius: 20px;
  padding: 30px;
  width: 48%;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.footer-right h1 {
  margin-bottom: 25px;
  font-weight: 600;
  line-height: 1.3;
}

.btn-footer {
  text-decoration: none;
  color: white;
  background-color: #ff6600;
  padding: 12px 25px;
  border-radius: 25px;
  font-weight: 600;
  text-align: center;
  width: fit-content;
  transition: background-color 0.3s ease;
}

.btn-footer:hover {
  background-color: #e65c00;
}

/* Responsive */
@media (max-width: 768px) {
  .footer {
    flex-direction: column-reverse;
    width: 100%;
  }

  .footer-left,
  .footer-right {
    width: 100%;
    margin-bottom: 20px;
  }

  .footer-links {
    flex-direction: row;
    gap: 15px;
  }
}