/* -----------------utility class-------------------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* =============chat-now----- */

.chat a {
  position: fixed;
  z-index: 500;
  width: 7.5rem;
  display: flex;
  justify-content: center;
  height: 2.7rem;
  bottom: 2rem;
  right: 1rem;
  background-color: white;
  border-radius: var(--border-radius-10px);
  border: 1px solid green;
  box-shadow: 0px 0px 10px 0px rgb(37, 104, 37, 0.3);
}

a .w-chat {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  align-items: center;
}

a .w-chat i {
  color: white;
  font-size: 1.9rem;
  padding: 0.1rem 0.2rem;
  border-radius: 5px;
  background-color: #25d366;
}

a .w-chat p {
  font-size: 0.9rem;
  line-height: 1.2rem;
  align-items: center;
  font-weight: 800;
}

@media (max-width: 530px) {
  .chat a {
    width: 8rem;
    height: 2.7rem;
    bottom: 1rem;
    right: 0.5rem;
  }

  a .w-chat i {
    font-size: 2rem;
  }
}

:root {
  --primary-color: #63e5ff;
  --secondary-color: #b1f1ff;
  --section-margin: 1rem;
  --section-pading: 1rem;
  --nav-padding: 1vw 3vw;
  --botton-border-radius: 5px;
  --border-radius-10px: 6px;
  --container-border: 1px solid #cccccc;
  --container-background-color: white;

}

:root body.dark {
  --primary-color: #63e5ff;
  --secondary-color: #b1f1ff;
  --section-margin: 1rem;
  --section-pading: 1rem;
  --nav-padding: 1vw 3vw;
  --botton-border-radius: 5px;
  --border-radius-10px: 6px;
  --container-border: 1px solid #cccccc;
  --container-background-color: black;
}

h1 {
  --heading-size: 2.5rem;
  --font-weight: 900;
}

p {
  font-size: 1.2rem;
  font-weight: 400;
  text-align: justify;
  line-height: 2rem;
  color: black;
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
  font-size: 1rem;
  color: black;
}

/* ---------------------------navigation-start--------------------------- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: var(--primary-color);
  box-shadow: 0 0 10px inset var(--secondary-color);
  z-index: 100;
}

.nav-left {
  max-width: 24rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  width: 4.3rem;
}

.logo-text {
  flex-direction: column;
}

.can {
  font-family: 'Fredoka', sans-serif;
  text-align: start;
  padding-top: 5px;
  font-weight: 700;
  font-size: 1.6rem;
  color: rgb(0, 0, 0);
  text-shadow: 1px 1px 1px #ff0404;
}

.nav-data {
  height: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-toggle {
  position: relative;
  width: 40px;
  height: 40px;
}

.bar,
.close {
  position: absolute;
  width: max-content;
  height: max-content;
  inset: 0;
  margin: auto;
  font-size: 2rem;
  cursor: pointer;
  transition: opacity .1s, transform .2s;
}

.nav-toggle i {
  font-size: 1.3rem;
}

.close {
  opacity: 0;
}

@media screen and (max-width:769px) {

  .nav-left {
    max-width: 30rem;
  }

  .logo {
    width: 3rem;
  }

  .logo-text {
    align-items: start;
  }

  .can {
    font-size: 1rem;
    padding-top: 1px;
  }

  .nav-link {
    padding-inline: 1rem;
  }
}

@media screen and (max-width:769px) {
  .nav-left {
    max-width: 30rem;
  }

  .logo {
    width: 3.8rem;
  }

  .logo-text {
    align-items: start;
  }

  .can {
    padding-top: 5px;
    font-weight: 700;
    font-size: 1.4rem;
    text-shadow: 1px 0.5px 1px #ff0404;
  }

  .nav-menu {
    position: absolute;
    left: 0;
    top: 4.4rem;
    width: 100%;
    height: calc(100vh - 3.5rem);
    overflow: auto;
    pointer-events: none;
    opacity: 0;
    transition: top .4s, opacity .3s;
  }

  .nav-menu::-webkit-scrollbar {
    width: 0;
  }

  .nav {
    padding: 0.8rem 0.5rem;
  }
}

.nav-link {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: black;
  font-weight: 600;
  font-size: 1rem;
  padding: 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color .3s;
  background-color: var(--primary-color);
}

.nav-link:hover {
  background-color: var(--secondary-color);
  color: red;
  border-radius: var(--botton-border-radius);
}

/* Show menu */
.show-menu {
  opacity: 1;
  pointer-events: initial;
}

.show-icon .bar {
  opacity: 0;
  transform: rotate(90deg);
}

.show-icon .close {
  opacity: 1;
  transform: rotate(90deg);
}

@media screen and (min-width: 769px) {
  .nav {
    padding: var(--nav-padding);
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .nav-toggle {
    display: none;
  }

  .nav-list {
    height: 100%;
    display: flex;
  }

  .nav-link {
    background-color: var(--primary-color);
    height: 100%;
    padding: 1vw;
    justify-content: initial;
    column-gap: .5rem;
  }

  .nav-link:hover {
    background-color: var(--secondary-color);
  }
}
  /* -----------form-section--------------------------------------------- */
.form-section{
  background-color:#fbfaf0;
  border-radius: var(--border-radius-10px);
  padding: var(--section-pading);
  margin: 6rem 1rem 1rem;
  border: var(--container-border);
}

.form-heading h1{
  font-weight: 900;
  font-size: 1.7rem;
  text-align: center;
  margin-bottom: 3rem;
}
.form-para{
  font-size: 1.4rem;
  font-weight: bold;
  margin-block:1rem 2rem;
}
.form-feed{
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 1.5rem;
}
.input-name span{
  color: red;
}
.input-name{
  margin-bottom: 0.5rem;
  display: flex;
  align-items:start;
}
.input-name label{
  min-width: 10rem;
  text-transform: capitalize;
  color:var(--text-color);
  font-size: 1.3rem;
  font-family:'Times New Roman', Times, serif;

}
.input-name input {
  width: 100%;
  outline: none;
  border: 1px solid var(--primary-color);
  font-size: 1rem;
  padding: 7px 10px;
  border-radius:5px;
  transition: all 0.5s ease;
}
.input-name .selectbox{
    width: 100%;
}
.input-name .selectbox select{
  width: 100%;
  padding: 7px 10px;
  text-transform: capitalize;
  border: 1px solid var(--primary-color);
  border-radius: var(--border-radius-10px);
  outline: none;
  font-size: 1rem;
}
.input-name textarea {
  width: 100%;
  outline: none;
  border: 1px solid var(--primary-color);
  font-size: 1rem;
  padding: 7px 10px;
  border-radius:5px;
  height: 4rem;
  transition: all 0.5s ease;
  resize: none;
}

.heading {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-block: 1rem 1.5rem;
}

.heading h1 {
  font-family: monospace;
  font-weight: 600;
  font-size: 1.8rem;
  letter-spacing: 2px;
  text-shadow: 1px 0.5px 1px #ff0404;
}
.input-name input:focus ,.input-name textarea:focus{
  border: 1px solid var(--text-color);
}

.input-name select:focus {
  border: 1px solid var(--text-color);
}
.submit{
  text-align:center;
  margin-top: 1rem;
 }
 .submit input{
  font-size: 1rem;
  padding: 0.8rem 1rem;
  border: none;
  font-weight: 700;
  background-color:#24a0ed;
  color: white;
  display: inline-block;
  text-align: center;
  border-radius: var(--botton-border-radius);
  cursor: pointer;
  width: 8rem;
  transition: transform 0.2s ease-in;
 }
 .submit input:active{
  transform: scale(0.98);
 }
.phone-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.phone-input-wrapper input {
    width: 100%;
    box-sizing: border-box;
}
.otp{
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
}
.otp-verify{
  width: 13rem;
  display: flex;
  justify-content: center;
  align-items: center;}
.otp-button {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    background-color: #4CAF50;
    color: white;
    font-size: 14px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: 0.3s ease;
}

.otp-button:hover {
    background-color: #45a049;
}.phone-input-wrapper {
    position: relative;
    width: 100%;
}

.phone-input-wrapper input {
    width: 100%;
    padding-right: 120px; /* ensures space for the button */
    box-sizing: border-box;
    padding: 10px;
    font-size: 16px;
    border-radius: 5px;
    border: 1px solid #ccc;
}

.otp-button {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    background-color: #4CAF50;
    color: white;
    padding: 8px 12px;
    font-size: 14px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.otp-button:hover {
    background-color: #45a049;
}

.success-msg {
  margin-block: 1rem;
    padding-block: 1rem;
    font-size: 1.15rem;
    color: #2a7a2a;
    background-color: #d4edda;
    border: 1px solid #c3e6cb;
    padding: 12px 16px;
    border-radius: 6px;
    max-width: 400px;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

/* Error message style */
.error-msg {
    padding-block: 1rem;
    font-size: 1.15rem;
    color: #842029;
    background-color: #f8d7da;
    border: 1px solid #f5c2c7;
    padding: 12px 16px;
    border-radius: 6px;
    max-width: 400px;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 770px) {
  .form-section{
      margin: 5rem 1rem 1rem;
  }
  .form-feed{
      grid-template-columns: repeat(1,1fr);
  }
  .form-para{
      font-size: 1.3rem;
  }
  .heading h1 {
    font-size: 1.5rem;
  }
  .form-feed{
      gap: 1rem;
  }
    .input-name label{
      min-width: 10rem;
      font-size: 1.2rem;      
    }
}
@media (max-width: 530px){
  .form-section{
      padding:0.5rem;
      margin: 5.5rem 0.5rem 0.5rem;
  }
  
  .form-heading h1{
      font-size: 1.2rem;
      margin-bottom: 1.5rem;
  }
  .heading {
    margin-block: 1rem 1rem;
  }

  .heading h1 {
    font-weight: 500;
    letter-spacing: 1px;
    font-size: 1.2rem;
  }
  .form-para{
      font-size: 1.2rem;
      margin-bottom: 1.5rem;
  }
  .form-feed{
      grid-template-columns: repeat(1,1fr);
      gap: 1rem;
  }
  .input-name{
      margin-bottom: 0.5rem;
     flex-direction: column;
    }
    .input-name label{
      min-width:100%;
      font-size: 1.1rem;
      margin-bottom: 0.5rem;
    }
    .input-name input{
      font-size: 1rem;
      padding: 6px 8px;
      border-radius:3px;
    }
    .input-name .selectbox select{
      padding: 6px 8px;
    }
    .submit{
      text-align:center;
      margin-block: 1.5rem 0.5rem;
     }
     .submit input{
      font-size: 0.9rem;
      padding: 0.8rem 1rem;
      font-weight: 500;
      width: 6rem;
     }
     .submit input:active{
      transform: scale(0.97);
     }
     
}
  
 /* <!-- ----------------------------------footer-start--------------------------------- --> */
.footer-section {
  background-color: #393999;
  padding: 1rem;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.footer-heading h1 {
  color: white;
  text-align: center;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.c-n {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-direction: column;
}

.c-n h1 {
  font-family: monospace;
  font-weight: 600;
  font-size: 1.5rem;
  color: rgb(201, 198, 201);
  letter-spacing: 0px;
  text-shadow: 1px 0.5px 1px #ff0404;

}

.c-n img {
  height: 5rem;
  width: 6rem;
  background-color: white;
}

.contract-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  margin-top: 0.5rem;
}

.contract-list a {
  text-decoration: none;
  font-size: 1.1rem;
  color: white;
  font-weight: 500;
  transition: 0.2s ease-in-out;
}

.contract-list a:hover {
  text-decoration: underline;
  color: white;
  padding-left: 0.5rem;
}

.link {
  font-weight: bold;
  padding: 10px 20px;
  justify-content: center;
  align-items: center;
  line-height: 3rem;
  gap: 0.5rem;
  display: flex;
}

.link a {
  display: inline-block;
  height: 44px;
  width: 44px;
  background-color: white;
  margin: 0 8px 8px 0;
  text-align: center;
  border-radius: 50px;
  transition: 0.4s;
  font-size: 1.5rem;
  font-weight: bold;
  cursor: pointer;
}

#face {
  color: #3b5998;
}

#face:hover {
  background-color: #316ff6;
  color: white;
}

#inst {
  color: #fe44a1;
}

#inst:hover {
  background-color: rgba(224, 78, 103, 0.776);
  color: white;
}

#twit {
  color: #da0808;
}

#twit:hover {
  background-color: #d73e3e;
  color: white;
}

#linkin {
  color: #0077b5;
}

#linkin:hover {
  color: white;
  background-color: #0077b5;
}

#you-tube {
  color: rgb(63, 157, 63);
}

#you-tube:hover {
  color: white;
  background-color: rgb(93, 247, 93);
}

@media (max-width: 768px) {
  .footer-container {
    grid-template-columns: repeat(1, 1fr);
    gap: 1rem;
    padding-bottom: 2.5rem;
  }

  .footer-heading h1 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
  }

  .c-n {
    gap: 1.5rem;
  }

  .c-n h1 {
    font-size: 1.2rem;

  }

  .c-n img {
    height: 6rem;
    width: 6rem;
  }

  .contract-list {
    gap: 1rem;
  }

  .contract-list a {
    font-size: 1rem;
  }

  .link {
    gap: 1rem;
  }

  .link a {
    font-size: 1.3rem;
  }
}

@media (max-width: 530px) {
  .footer-container {
    grid-template-columns: repeat(1, 1fr);
  }

  .footer-heading h1 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
  }

  .c-n {
    gap: 0.5rem;
  }

  .c-n h1 {
    font-size: 1.1rem;

  }

  .c-n span {
    color: var(--secondary-color);
  }

  .c-n img {
    height: 6rem;
    width: 6rem;
    background-color: white;
  }

  .contract-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    margin-top: 0.5rem;
  }

  .contract-list a {
    text-decoration: none;
    font-size: 1.1rem;
    color: white;
    font-weight: 500;
    transition: 0.2s ease-in-out;
  }

  .contract-list a:hover {
    text-decoration: underline;
    color: white;
    padding-left: 0.5rem;
  }

  .link {
    font-weight: bold;
    padding: 10px 20px;
    justify-content: center;
    align-items: center;
    line-height: 3rem;
    gap: 1rem;
    display: flex;
  }

  .link a {
    display: inline-block;
    height: 44px;
    width: 44px;
    background-color: white;
    margin: 0 8px 8px 0;
    text-align: center;
    border-radius: 50px;
    transition: 0.4s;
    font-size: 1.5rem;
    font-weight: bold;
    cursor: pointer;
  }
}