
.nav-item{
  margin-left:4px;
}
.nav-item a{
  color: white;
  font-size: 1.2rem;
}
.nav-item a:hover{
  background-color: grey;
  border-radius: 5px;
}
.btn1 {
  border-radius: 30px;
  background-color: white;
  color: black;
  padding: 0.6em 1.5em;
  margin: 0 1%;
  font-size: 1rem;
  border: 1px solid black;
  cursor: pointer;
  display: inline-block;
  text-align: center;
}
/* logo */
@media (max-width: 900px) {
  .container-fluid>img{
      width:20%;
  }
}
@media (max-width: 700px) {
  .container-fluid>img{
      width:25%;
  }
}
@media (max-width: 500px) {
  .container-fluid>img{
      width:40%;
  }
}
/* Tablet (≤768px) */
@media (max-width: 768px) {
  .btn1 {
    font-size: 0.95rem;
    padding: 0.5em 1.2em;
    border-radius: 10px;
  }
}

/* Mobile (≤480px) */
@media (max-width: 480px) {
  .btn1 {
    font-size: 0.9rem;
    padding: 0.4em 1em;
    width: 90%;
    border-radius: 8px;
    margin: 2% auto;
  }
}


.container-fluid img {
  padding-bottom: 10px;
}

.carousel-container {
  position: relative;
  width: 100%;
}

.carousel-item {
  position: relative;
}

.carousel-item img {
  height: 85vh;
  width: 100%;
  object-fit: cover;
}

.faded-image {
  filter: brightness(60%);
}

/* Overlay Text Styling */
.carousel-overlay-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  padding: 1rem;
  width: 90%;
  max-width: 900px;
  text-align: center;
  color: white;
  text-shadow: 1px 1px 10px rgba(0, 0, 0, 0.7);
  border-radius: 10px;
}

/* Base text styles */
.carousel-overlay-text h1 {
  font-size: 1.5rem;
  line-height: 1.4;
  margin-bottom: 1rem;
  font-weight: bold;
  font-style: italic;
}

.carousel-overlay-text p {
  font-size: 1rem;
  margin-bottom: 0;
}

/* Tablet */
@media (min-width: 768px) {
  .carousel-overlay-text h1 {
    font-size: 2.2rem;
  }

  .carousel-overlay-text p {
    font-size: 1.25rem;
  }
}

/* Desktop */
@media (min-width: 1024px) {
  .carousel-overlay-text h1 {
    font-size: 2.8rem;
  }

  .carousel-overlay-text p {
    font-size: 1.5rem;
  }
}


.ab-pannu {
  background-color: #f0f0f0;
  min-height: 75vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 20px;
  text-align: center;
}

.ab-title p {
  font-size: 1.5rem;
  margin-bottom: 20px;
  color: #333;
}

.ab-desc {
  max-width: 600px;
  margin-bottom: 15px;
}

.ab-desc p {
  font-size: 2rem;
  line-height: 1.5;
  font-style: italic;
  color: #222;
}

.ab-ava p {
  font-size: 1rem;
  color: black;
  max-width: 600px;
  margin: 0 auto;
}


/* tds start here */
.tds-container {
  margin: 5% auto;
  max-width: 1800px;
}

.tds-container h1 {
  margin-left: 5%;
  font-size: 2rem;
  margin-bottom: 20px;
}

.tds {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  padding: 20px;
}

/* Entry animation */
@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.figure {
  flex: 1 1 30%;
  max-width: 30%;
  text-align: center;
  box-sizing: border-box;
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 1s ease, transform 1s ease;
}

.figure.visible {
  opacity: 1;
  transform: translateY(0);
}


.figure-img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.figure-img:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.figure-caption {
  margin-top: 8px;
  font-size: 1rem;
  color: #555;
  text-align: left;
}

.figure-caption h3 {
  font-style: italic;
  margin-bottom: 5px;
}

@media (max-width: 992px) {
  .figure {
    flex: 1 1 45%;
    max-width: 45%;
  }
}

@media (max-width: 600px) {
  .figure {
    flex: 1 1 100%;
    max-width: 100%;
  }
}

/* tds end here */

/* gateways starts */

/* General container */
.gateway-container {
  background-color: #000;
  padding: 40px 20px;
}

/* Flex wrapper */
.gateway {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

/* Text styles */
.gateway-text {
  color: #fff;
  margin-bottom: 30px;
}

.gateway-text h1 {
  font-family:cursive;
  font-size: 2rem;
  margin-bottom: 20px;
  padding: 20px;
  border-radius: 10px;
}

.gateway-text p {
  font-size: 1rem;
  line-height: 1.6;
  max-width: 800px;
  margin: 0 auto;
}

/* Logo styles */
.gateway-logo img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
}

/* Responsive styles */
@media (max-width: 768px) {
  .gateway-text h1 {
    font-size: 1.6rem;
    padding: 15px;
  }

  .gateway-text p {
    font-size: 0.95rem;
  }
}

@media (max-width: 480px) {
  .gateway-text h1 {
    font-size: 1.4rem;
    padding: 12px;
  }

  .gateway-text p {
    font-size: 0.9rem;
  }
}

/* gateways end */

/* Responsive Design */
@media (max-width: 768px) {
  .ab-desc p {
    font-size: 1.5rem;
  }

  .ab-ava p {
    font-size: 0.95rem;
  }
}

@media (max-width: 480px) {
  .ab-desc p {
    font-size: 1.2rem;
  }

  .ab-title p {
    font-size: 1.3rem;
  }

  .ab-ava p {
    font-size: 0.9rem;
  }
}
/* form section */
.mr-top{
  margin:5% 0;

}
.bg-dark {
  background-color: #141414;
  color: #ffffff;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.form-container {
  background-color: #1e1e1e;
  border-radius: 10px;
}

.form-control,
.form-select,
textarea {
  background-color: #2a2a2a;
  color: #fff;
  border: 1px solid #444;
}

.form-control:focus,
.form-select:focus,
textarea:focus {
  border-color: #0d6efd;
  box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
  background-color: #2a2a2a;
  color: #fff;
}
/* footer */
.footer {
  background-color: #1e1e1e;
  color: #aaa;
  font-size: 14px;
  border-top: 1px solid #333;
  padding: 20px 0;
}

.footer .container {
  max-width: 1000px;
  margin: 0 auto;
}
/* footer end */

