:root {
  --primary: #1176bc;
  --primary-dark: #2A324B;
  --white: #ffffff;
  --gray-1: #fff;
  --gray-4: #d9d9d9;
  --dark-3: #8c8c8c;
  --yellow: #C4A64E;
  --text-color: #333;
  --button-color: #1176bc;

  --overlay-color: rgba(0, 0, 0, 0.5);
}


* {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Nunito Sans", serif;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.8;
  color: var(--white-color);
  /*background-color : var(--dark-color);*/
}

h2 {
  font-size: 2.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

/*Navbar*/
.navbar {
  padding: 1rem;
}

navbar-toggler-icon {
  color: var(--primary);
}

.navbar-nav .nav-link {
  color: var(--black);
  font-weight: 600;
  margin-top: 0.3rem;
  margin-left: 2rem;
  font-size: 1.25rem;
  padding: 0.5rem 0.5rem !important;
  transition: color 0.3s ease;
}


.navbar-nav .nav-link:hover {
  color: var(--primary);
}

.try-it-btn {
  background-color: var(--primary);
  color: var(--white);
  padding: 8px 24px;
  border-radius: 4px;
  text-decoration: none;
  font-size: 1.2rem;
  font-weight: 700;
  margin-right: 1rem;
  transition: all 0.3s ease;
}

.try-it-btn:hover {
  background-color: var(--primary-dark);
  color: var(--white);
}

.vid{
  border-radius: 0.5rem;
}

/* Mobile Responsive Styles */
@media (max-width: 991px) {
  .navbar-collapse {
    background-color: var(--white);
    padding: 1rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    margin-top: 1rem;
  }

  .navbar-nav {
    margin-bottom: 1rem;
  }

  .navbar-nav .nav-link {
    padding: 0.75rem 1rem !important;
    border-radius: 4px;
  }

  .navbar-nav .nav-link:hover {
    background-color: var(--primary-dark);
  }

  .d-flex.align-items-center {
    flex-direction: column;
    align-items: stretch !important;
    gap: 1rem;
  }

  .try-it-btn {
    margin-right: 0;
    text-align: center;
    display: block;
  }

  .linkedin-icon {
    margin: 0;
  }

  .social-links {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 0.5rem;
  }
}

/* Animation for mobile menu */
@media (max-width: 991px) {
  dot-pattern {
    opacity: 0;
  }

  .navbar-collapse {
    transform-origin: top;
    transition: all 0.3s ease-out;
  }

  .navbar-collapse.collapsing {
    transform: scaleY(0);
  }

  .navbar-collapse.show {
    transform: scaleY(1);
  }
}

/*===== HEADER ONE =====*/
.header-one {
  position: relative;
}

.header-one .header-content-area {
  margin-bottom: 2rem;
  position: relative;
  padding: 50px 0;
}

.header-one .header-content-area .bg-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  pointer-events: none;
}

.header-one .header-content-area::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.1));
  z-index: 0;
}

@media only screen and (min-width: 768px) and (max-width: 991px) {
  .header-one .header-content-area {
    height: auto;
    padding: 100px 0;
  }
}

@media (max-width: 767px) {
  .header-one .header-content-area {
    height: auto;
    padding: 60px 0;
  }
}

@media only screen and (min-width: 1400px) {
  .header-one .header-content-area {
    height: auto;
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

@media (max-width: 767px) {
  .header-one .header-content-area {
    height: auto;
  }
}

.header-one .header-content-area .primary-btn-outline {
  border-color: var(--white);
  background-color: var(--white);
  color: var(--primary);
}

.header-one .header-content-area .primary-btn-outline:hover {
  background-color: transparent;
  border-color: var(--white);
  color: var(--white);
}

.header-one .header-wrapper {
  position: relative;
}

.header-one .header-content {
  max-width: 540px;
  position: relative;
  z-index: 5;
}

.header-one .header-title {
  color: var(--white);
  font-weight: 600;
}

.header-one .header-text {
  color: var(--white);
  font-weight: 300;
  margin-top: 16px;
}

.header-one .text-lg {
  color: var(--white);
  font-weight: 300;
  margin-top: 16px;
}

.header-one .header-btn {
  margin-top: 40px;
}

.header-one .header-image {
  text-align: center;
}

.header-one .header-image .image {
  margin-left: 5rem;
  max-width: 1000px;
  scale: 1.3;
}

@media only screen and (min-width: 1200px) and (max-width: 1399px) {
  .header-one .header-image .image {
    max-width: 600px;
  }
}

@media only screen and (min-width: 992px) and (max-width: 1199px) {
  .header-one .header-image .image {
    max-width: 550px;
  }
}

.header-one .header-image .image img {
  scale: 80%;
  border-radius: 15px;
}

.header-one .header-shape {
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  width: 100%;
}

.header-one .header-shape img {
  width: 100%;
}

/* Fade-in animation */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.fade-in-text {
  opacity: 0;
  animation: fadeIn 3.5s ease-out forwards;
  animation-delay: 0.5s;
}

/*What we do Section*/
.service-card {
  background: var(--gray-1);
  border-radius: 0.5rem;
  padding: 10px;
  border: 1px solid var(--primary);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  height: 95%;
  margin-bottom: 1rem;
}

.service-card:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.service-card a:hover {
  text-decoration: none;
}

.service-icon {
  width: 60px;
  height: 60px;
  font-size: 30px;
  background-color: var(--primary);
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  margin: 0 auto 15px;
}

.service-card.featured {
  background-color: var(--primary);
  color: var(--white);
}

.service-card.featured .service-icon {
  background-color: var(--white);
  color: var(--primary);
}

.learn-more-btn {
  background-color: transparent;
  border: 1px solid var(--primary);
  color: var(--primary);
}

.featured .learn-more-btn {
  background-color: var(--white);
  color: var(--primary);
}

/*About Us*/
.custom-card {
  border-radius: 0.5rem;
  padding: 0.25rem;
  background-color: #fff;
}

.about-image {
  width: 100%;
  aspect-ratio: 1;
  background-color: var(--primary-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.5rem;
  overflow: hidden;
}

.about-head {
  color: var(--primary);
  font-weight: 600;
}

.about-text {
  text-align: justify;
  font-weight: 400;
}

.about-highlight {
  color: var(--primary);
  font-weight: 500;
}

ul {
  list-style: none;
}

.about-icon {
  color: var(--primary);
  font-weight: 900;
}



/*Annotation Cards*/
.community-card {
  padding: 1rem;
  border-radius: 0.5rem;
  width: 100%;
  height: 400px;
  background-color: var(--primary);
  margin-bottom: 2rem;
  transition: transform 0.3s ease;
}

.image-classification-card {
  padding: 1rem;
  border-radius: 0.5rem;
  width: 100%;
  height: 400px;
  background-image: url("/static/images/1.jpeg");
  background-size: cover;
  background-position: center;
  background-color: var(--primary);
  margin-bottom: 2rem;
  transition: transform 0.3s ease;
}

.object-detection-card {
  padding: 1rem;
  border-radius: 0.5rem;
  width: 100%;
  height: 400px;
  background-image: url("/static/images/2.jpeg");
  background-size: cover;
  background-position: center;
  background-color: var(--primary);
  margin-bottom: 2rem;
  transition: transform 0.3s ease;
}

.semantic-segmantation-card {
  padding: 1rem;
  border-radius: 0.5rem;
  width: 100%;
  height: 400px;
  background-image: url("/static/images/4.jpeg");
  background-size: cover;
  background-position: center;
  background-color: var(--primary);
  margin-bottom: 2rem;
  transition: transform 0.3s ease;
}

.d-cuboids-card {
  padding: 1rem;
  border-radius: 0.5rem;
  width: 100%;
  height: 400px;
  background-image: url("/static/images/3.jpeg");
  background-size: cover;
  background-position: center;
  background-color: var(--primary);
  margin-bottom: 2rem;
  transition: transform 0.3s ease;
}

.image-classification-card-small {
  padding: 1rem;
  border-radius: 0.5rem;
  width: 100%;
  height: 200px;
  background-image: url("/static/images/1.jpeg");
  background-size: cover;
  background-position: center;
  background-color: var(--primary);
  margin-bottom: 2rem;
  transition: transform 0.3s ease;
}

.object-detection-card-small {
  padding: 1rem;
  border-radius: 0.5rem;
  width: 100%;
  height: 200px;
  background-image: url("/static/images/2.jpeg");
  background-size: cover;
  background-position: center;
  background-color: var(--primary);
  margin-bottom: 2rem;
  transition: transform 0.3s ease;
}


.semantic-segmantation-card-small {
  padding: 1rem;
  border-radius: 0.5rem;
  width: 100%;
  height: 200px;
  background-image: url("/static/images/4.jpeg");
  background-size: cover;
  background-position: center;
  background-color: var(--primary);
  margin-bottom: 2rem;
  transition: transform 0.3s ease;
}

.d-cuboids-card-small {
  padding: 1rem;
  border-radius: 0.5rem;
  width: 100%;
  height: 200px;
  background-image: url("/static/images/3.jpeg");
  background-size: cover;
  background-position: center;
  background-color: var(--primary);
  margin-bottom: 2rem;
  transition: transform 0.3s ease;
}



.annotation-badge {
  background: var(--gray-1);
  color: var(--primary);
  padding: 5px 15px;
  border-radius: 5px;
  font-size: 1.2rem;
  font-weight: 500;
}

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

.discord-card {
  background-color: #e5e5e5;
}

.contribute-card {
  background: linear-gradient(180deg, #1a1a2e 0%, #2d1f3d 100%);
  color: white;
}

.card-title {
  font-size: 2rem;
  font-weight: bold;
  margin: 1.5rem 0;
}

.card-text {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

/*Industry Tabs*/
.industry-tabs {
  background-color: var(--gray-1);
  padding: 1rem;
  border-radius: 0.5rem;
}

.tab-list {
  list-style: none;
  padding: 0;
  margin: 2rem 0;
}

.tab-item {
  margin: 1rem 0;
  padding: 1rem;
  border-radius: 0.5rem;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  cursor: pointer;
}

.tab-number {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  margin-right: 2rem;
  min-width: 40px;
}

.tab-text {
  font-size: 1.25rem;
  color: var(--primary);
}

.tab-item:hover,
.tab-item.active {
  background-color: var(--primary);
}

.tab-item:hover .tab-number,
.tab-item.active .tab-number {
  color: var(--gray-1);
}

.tab-item:hover .tab-text,
.tab-item.active .tab-text {
  color: var(--gray-1);
}

.section-subtitle {
  color: #6c757d;
  font-size: 1.1rem;
  max-width: 600px;
}

/*Social Impact Section*/
.social-section {
  background-color: var(--primary);
  color: var(--white);
  min-height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
}

.hero-title {
  font-weight: 700;
}

.hero-subtitle {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.hero-text {
  font-size: 1.25rem;
  max-width: 600px;
  margin: 0 auto 2rem auto;
}

.social-icon {
  width: 40px;
  height: 40px;
  font-size: 20px;
  background-color: var(--primary);
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  margin: 0 auto 15px;
}

.cta-button {
  margin-top: 2rem;
  background-color: var(--white);
  color: var(--primary);
  font-weight: 600;
  padding: 0.75rem 2rem;
  border-radius: 0.50rem;
  text-transform: uppercase;
  font-size: 1rem;
  letter-spacing: 0.5px;
  border: none;
  transition: all 0.3s ease;
}

.cta-button:hover {
  background-color: #f8f9fa;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/*Why Choose us*/
ai-advantages {
  background: linear-gradient(45deg, #f8fafc 0%, #ffffff 100%);
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.ai-feature-card {
  background: var(--gray-1);
  border-radius: 0.5rem;
  padding: 10px;
  border: 1px solid var(--primary);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  height: 95%;
  margin-bottom: 1rem;
}

.ai-feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(3, 3, 3, 0.1);
}

.annotation-icon {
  width: 60px;
  height: 60px;
  font-size: 30px;
  background-color: var(--primary);
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  margin: 0 auto 15px;
}


/*Founder Section*/
a {
  color: var(--black);
  text-decoration: none;
}

.founder-card {
  transition: transform 0.3s ease;
}

.founder-card:hover {
  transform: translateY(-10px);
}

.founder-image {
  width: 200px;
  height: 200px;
  object-fit: cover;
}



/* Footer */
.footer-section {
  background-color: var(--primary);
  color: white;
  padding: 2rem 0;
  font-family: Arial, sans-serif;
}
.footer-logo {
  display: flex;
  justify-content: flex-start;
  width: 176px;
  margin-bottom: 1rem;
}

.footer-tagline {
  font-size: 0.85rem;
  opacity: 0.9;
  max-width: 300px;
  margin-bottom: 1.5rem;
}

  .social-icons {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
  }

.social-icons a {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
}

.footer-title {
  font-size: 1rem;
  font-weight: bold;
  margin-bottom: 1rem;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: white;
}

.footer-bottom {
  font-size: 0.75rem;
  padding-top: 1.5rem;
  margin-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
}

.footer-bottom a:hover {
  color: white;
}

.cookie-popup {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background-color: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 20px;
  border-radius: 5px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  z-index: 1000;
  display: none;
}