* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', sans-serif;
}

header {
 display: flex;
  justify-content: space-between;
  align-items: center;
  background: #0c1f3f;
  color: white;
  padding: 10px 30px;
  position: relative;
}

/* Logo image */
.logo {
  height: 70px;
  width: auto;
  margin-right: 10px;
}
@media (max-width: 768px) {
  .logo {
    height: 45px;
  }
}
nav ul {
  display: flex;
  list-style: none;
  gap: 25px;
}


nav ul li {
  position: relative;
}

nav ul li a {
  text-decoration: none;
  color: white;
  font-weight: 500;
  position: relative;
  padding-bottom: 5px;
}

nav ul li a::after {
  content: '';
  position: absolute;
  width: 0%;
  height: 2px;
  background: #007BFF;
  left: 50%;
  bottom: 0;
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

nav ul li a:hover::after {
  width: 100%;
}

.dropdown-menu {
  position: absolute;
  top: 40px;
  left: 0;
  background: #fff;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  display: none;
  flex-direction: column;
  min-width: 160px;
  z-index: 100;
}



.dropdown-menu li a {
  padding: 10px 15px;
  display: block;
  white-space: nowrap;
}

.menu-toggle {
  display: none;
  font-size: 28px;
  cursor: pointer;
}

/* Hero section */
.hero-section {
  height: 80vh;
  overflow: hidden;
}

.responsive-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Mobile view */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  nav {
    position: absolute;
    top: 70px;
    right: -100%;
    background:  #0c1f3f;
    width: 70%;
    transition: right 0.3s ease-in-out;
    box-shadow: -2px 0 10px rgba(0,0,0,0.1);
    z-index: 999;
  }

  nav.active {
    right: 0;
  }

  nav ul {
    flex-direction: column;
    gap: 0;
  }

  nav ul li {
    padding: 12px 20px;
  }

  .dropdown-menu {
    position: relative;
    top: 0;
    left: 0;
    box-shadow: none;
    background: #f9f9f9;
    display: none;
  }

  .dropdown:hover .dropdown-menu {
    display: flex;
  }

  .hero-section {
    height: 30vh;
  }
}

/* Dropdown container - hover to show */
.dropdown:hover .dropdown-content {
  display: block;
}

/* Dropdown menu styles */
.dropdown-content {
  display: none;
  position: absolute;
  background-color: #0c1f3f;
  min-width: 180px;
  box-shadow: 0 8px 16px rgba(0,0,0,0.2);
  z-index: 999;
  top: 100%;
  left: 0;
}

/* Each dropdown item */
.dropdown-content a {
  color: white;
  padding: 10px 16px;
  text-decoration: none;
  display: block;
  transition: background-color 0.3s ease;
}






/* About Section */
.about {
  background: white;
  padding: 60px 20px;
  text-align: left;
}

.about h2 {
  font-size: 32px;
  margin-bottom: 20px;
  color: #003366;
  text-align: center;
}

/* Technologies Section */
.technologies {
  padding: 60px 20px;
  background-color: #eef7ff;
  text-align: center;
} 


.technologies h2 {
  font-size: 32px;
  margin-bottom: 30px;
  color: #003366;
}

.tech-grid {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
}

.tech-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  width: 250px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tech-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 16px rgba(0,0,0,0.15);
}

.tech-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.tech-card h3 {
  padding: 15px;
  background-color: #fff;
  color: #007BFF;
}

 /* Animations */ 
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive */ 
@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 32px;
  }

  .tech-grid {
    flex-direction: column;
    align-items: center;
  }
}


.footer {
  background-color: #0c1f3f;
  color: #fff;
  padding: 30px 15px 10px;
  font-family: 'Segoe UI', sans-serif;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px; /* Reduced gap */
}

.footer-section {
  flex: 1 1 280px;
  margin-bottom: 10px; /* Reduced space */
}

.footer-section h2,
.footer-section h3 {
  margin-bottom: 10px;
  color: #00bfff;
  font-size: 18px;
}

.footer-section p,
.footer-section li {
  font-size: 14px;
  line-height: 1.5;
  margin: 3px 0;
}

.footer-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-section ul li a {
  text-decoration: none;
  color: #ccc;
  transition: color 0.3s ease;
}

.footer-section ul li a:hover {
  color: #00bfff;
}

.footer-bottom {
  text-align: center;
  border-top: 1px solid #444;
  margin-top: 15px;
  padding-top: 10px;
  font-size: 13px;
  color: #bbb;
}

@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    gap: 10px; /* Tighter spacing between sections */
  }

  .footer-section {
    flex: 1 1 100%;
    margin-bottom: 8px;
  }

  .footer-section h2,
  .footer-section h3 {
    font-size: 16px;
  }

  .footer-section p,
  .footer-section li {
    font-size: 13px;
  }
}



.game-content {
  padding: 40px 20px;
  background: #f9f9f9;
}

.game-content h2 {
  color: #004d99;
  margin-top: 30px;
  animation: fadeInUp 0.8s ease;
}

.job-card {
  background: white;
  border-left: 4px solid #004d99;
  padding: 20px;
  margin: 20px 0;
  border-radius: 10px;
  transition: transform 0.3s ease;
}

.job-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.resume-form form {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.resume-form input,
.resume-form button {
  padding: 10px;
  font-size: 1rem;
  border-radius: 5px;
}

.resume-form button {
  background-color: #004d99;
  color: white;
  border: none;
  cursor: pointer;
  transition: background 0.3s;
}

.resume-form button:hover {
  background-color: #0066cc;
}

/* Animations */
@keyframes fadeInDown {
  0% {opacity: 0; transform: translateY(-30px);}
  100% {opacity: 1; transform: translateY(0);}
}

@keyframes fadeInUp {
  0% {opacity: 0; transform: translateY(30px);}
  100% {opacity: 1; transform: translateY(0);}
}

/* Content Sections */
.content {
  padding: 40px 20px;
  max-width: 1000px;
  margin: auto;
}

.section {
  margin-bottom: 40px;
}

.section h2 {
  font-size: 1.8rem;
  color: #003366;
  margin-bottom: 10px;
}

.section p {
  font-size: 1rem;
  line-height: 1.7;
}

.job-card {
  border: 1px solid #ccc;
  padding: 20px;
  margin: 20px auto;
  max-width: 600px;
  border-radius: 10px;
  background-color: #f9f9f9;
  box-shadow: 0 5px 10px rgba(0,0,0,0.05);
}
.job-card button {
  padding: 10px 20px;
  background-color: #007bff;
  color: #fff;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}
.job-card button:hover {
  background-color: #0056b3;
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  z-index: 999;
  left: 0; top: 0;
  width: 100%; height: 100%;
  background-color: rgba(0,0,0,0.5);
}
.modal-content {
  background: #fff;
  margin: 10% auto;
  padding: 30px;
  width: 90%;
  max-width: 500px;
  border-radius: 8px;
  position: relative;
  text-align: center;
}
.modal-content input,
.modal-content textarea {
  width: 100%;
  padding: 10px;
  margin-bottom: 15px;
}
.modal-content button {
  background: #28a745;
  color: white;
  padding: 10px;
  border: none;
  width: 100%;
  border-radius: 5px;
  cursor: pointer;
}
.modal-content button:hover {
  background: #218838;
}
.close {
  position: absolute;
  right: 15px;
  top: 10px;
  font-size: 24px;
  cursor: pointer;
}

.contact-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  padding: 40px 20px;
  background: white;
}
.contact-info {
  flex: 1;
  min-width: 300px;
  max-width: 400px;
  padding: 20px;
}
.contact-info h2 {
  margin-bottom: 15px;
}
.contact-form {
  flex: 1;
  min-width: 300px;
  max-width: 500px;
  padding: 20px;
  background: #f9f9f9;
  border-radius: 10px;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 6px;
}
.contact-form button {
  background-color: #001f3f;
  color: white;
  padding: 12px;
  width: 100%;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}
.contact-form button:hover {
  background-color: #004080;
}

.contact-section{
  background-image: url('images/facial-recognition-collage-concept.jpg'); /* Replace with your image path */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: 85vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
  
/* Mobile Responsive */
@media (max-width: 768px) {
  .contact-section {
    height: 30vh;
    background-position: center;
  }

}


.service-section{
  background-image: url('images/about.jpg'); /* Replace with your image path */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: 85vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
  
/* Mobile Responsive */
@media (max-width: 768px) {
  .service-section {
    height: 26vh;
    background-position: center;
  }

}


#scroll-buttons {
  position: fixed;
  bottom: 30px;
  right: 20px;
  z-index: 999;
}

#scroll-buttons button {
  display: none;
  width: 50px;           /* Equal width */
  height: 50px;          /* Equal height */
  padding: 0;            /* Remove padding for symmetry */
  font-size: 20px;
  border: none;
  border-radius: 50%;    /* Make it a circle */
  background-color: #007bff;
  color: white;
  cursor: pointer;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
  transition: background 0.3s;
  text-align: center;
  line-height: 50px;     /* Vertically center the text */
}



#scroll-buttons button:hover {
  background-color: #0056b3;
}




/* Dropdown container */
.dropdown-content {
  display: none;
  position: absolute;
  background-color: white;
  min-width: 200px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  z-index: 1000;
}

.dropdown:hover .dropdown-content {
  display: block;
}

/* Each dropdown link */
.dropdown-content a {
  position: relative;
  display: block;
  color: #000;
  padding: 12px 16px;
  text-decoration: none;
  overflow: hidden;
  transition: color 0.3s ease;
}

/* Create pseudo element for hover effect */
.dropdown-content a::before {
  content: '';
  position: absolute;
  top: 0;
  height: 100%;
  width: 0;
  background-color: #007BFF;
  z-index: -1;
  transition: width 0.4s ease;
}

/* Alternate directions using nth-child */
.dropdown-content a:nth-child(odd)::before {
  left: 0;
  right: auto;
}

.dropdown-content a:nth-child(even)::before {
  right: 0;
  left: auto;
}

.dropdown-content a:hover::before {
  width: 100%;
}

.dropdown-content a:hover {
  color: white;
}

#liquidCanvas {
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  pointer-events: none; /* Only if you don't want it to block touch/scroll */
  z-index: 0;
}
.current-h2{
  color: black;
  margin-bottom: 20px;
  text-align: center;
  font-size: 2rem;
  font-weight: bold;
}
.apply-h2{
  color: black;
  margin-bottom: 20px;
  text-align: center;
  font-size: 2rem;
  font-weight: bold;
}


/* changes i done*/

@media (max-width: 768px) {
  html, body {
    overflow-x: hidden;
    margin: 0;
    padding: 0;
    max-width: 100vw;
  }

  body {
    overflow-y: auto;
  }

  .contact-section {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
  }

  footer {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
  }
  
}






