:root {
  --bg: #000000;
  --text-color: #ffffff;
  --light-color: color-mix(in srgb, var(--text-color) 5%, transparent);
  --hover-bg: #007bff;
  --shadow-color: rgba(0, 0, 0, 0.2);
  --call_to_action :rgba(0, 123, 255, 0.7);
  --call_to_action_active:rgb(0, 80, 160);
  --grey:#777777;
}

h1 {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 2.5rem;
}

.tool-card h2 {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 1.5rem;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: var(--text-color);
  background-color: var(--bg);
  background-size: 20px 20px;
  transition: background-color 0.3s ease, color 0.3s ease;
}

nav {
  border-radius: 20px;
  width: 98%;
  background-color: var(--bg);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 20px;
  box-shadow: 0 4px 8px var(--shadow-color);
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

nav ul {
    margin: 0;
    padding: 0;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

nav li {
  margin: 0 15px;
}

nav h2 {
  margin: 0;
  color: var(--text-color);
  font-size: 1.8rem;
  font-weight: 600;
  transition: color 0.3s ease;
    
}

nav a {
  text-decoration: none;
  color: var(--text-color);
  font-weight: 500;
  padding: 12px 20px;
  border-radius: 25px;
  background-color: transparent;
  transition: background-color 0.3s ease, color 0.3s ease;
}

nav ul a:hover {
  background-color: var(--hover-bg);
  color: black;
}


.mode_switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}
.switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 34px;
}
.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--bg);
  -webkit-transition: .4s;
  transition: .4s;
  border-radius: 34px;
  border: 2px solid var(--text-color);

}
#sun{
margin: 3px;
display: none;
margin-left: 30px;
margin-right: 3px;
}
#moon{
margin-top: 3px;
margin-right: 25px;
margin-left: 3px;
}
.slider:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  background-color: var(--text-color);
  -webkit-transition: .4s;
  transition: .4s;
  border-radius: 50%;
}
input:checked + .slider {
  
  background-color: var(--hover-bg);
}
input:focus + .slider {
  box-shadow: 0 0 1px var(--shadow-color);
}
input:checked + .slider:before {
  -webkit-transform: translateX(26px);
  -ms-transform: translateX(26px);
  transform: translateX(26px);
}
/* Rounded sliders */
.slider.round {
  border-radius: 34px;
}
.slider.round:before {
  top:2px;
  left: 2px;
  border-radius: 50%;
}


.content{
  display: flex;
  justify-content: center;
}
.footer {
    border: 3px solid var(--hover-bg);
    background-color: var(--bg);
    color: var(--text-color);
    padding: 20px 0;
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.2);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    width: 100%;
    border-radius: 20px;
    box-sizing: border-box;
    transition: background-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}
.footer a{
    color: var(--text-color);
  text-decoration: none;
      transition: color 0.3s ease;
}
.footer a:hover{
  color: var(--hover-bg);
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-section {
    border: 3px solid var(--hover-bg);
    width: 20%;
    margin: 2%;
    padding: 3%;
    border-radius: 20px;
    margin-bottom: 20px;
    flex: 1 1 200px;
    transition: border-color 0.3s ease;
}

.footer-logo h2 {
    font-size: 1.5em;
    margin-bottom: 10px;
    transition: color 0.3s ease;
}

.footer-section h3 {
    font-size: 1.2em;
    margin-bottom: 10px;
    border-bottom: 1px solid var(--hover-bg);
    padding-bottom: 5px;
    transition: border-color 0.3s ease;
}

.footer-section p {
    font-size: 0.9em;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.footer-link {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s ease;
    display: inline-block;
    margin-top: 5px;
}

.footer-link:hover {
    color: var(--hover-bg);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid var(--hover-bg);
    font-size: 0.8em;
    margin-top: 20px;
    transition: border-color 0.3s ease;
}

#footer{
  margin-top: 40px;
  margin-bottom: 40px;
}
/* Responsive adjustments */
@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        align-items: center;
    }

    .footer-section {
        text-align: center;
        flex: 1 1 auto;
    }
}
.subtopic_head{
    display: flex;
    align-items: center;
    justify-content: center;

}
.tool{

    border: 3px solid var(--hover-bg);
    border-radius: 20px;
    padding: 20px;
    margin: 20px;
    margin-top: 30px;
    margin-bottom: 30px;
    transition: border-color 0.3s ease;

}

.file-drop-zone {
    width: 79%;
    padding: 10%;
    border: 3px dashed var(--hover-bg);
    background-color: rgba(0, 123, 255, 0.1);
    border-radius: 12px;
    text-align: center;
    cursor: pointer;
    transition: background-color 0.3s ease, border-color 0.3s ease;
    position: relative;
}

.file-drop-zone.drag-over {
    background-color: rgba(0, 0, 0, 0.1);
    border-color: var(--text-color);
}

.file_input_label {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 80px;
    font-size: 16px;
    font-weight: bold;
    border-radius: 8px;
    background-color: var(--hover-bg);
    color: black;
    cursor: pointer;
    transition: transform 0.3s ease, background-color 0.3s ease, color 0.3s ease;
}

.file_input_label:hover {
    transform: scale(1.05);
    background-color: rgba(0, 123, 255, 0.8);
}

input[type="file"] {
    display: none;
}

#preview {
    margin-top: 15px;
}

#preview img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#preview img:hover {
    transform: scale(1.03);
}

.input-group{
  display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
margin: 30px;
margin-bottom: 20px;
}

.input_slider {
  width: 100%;
  max-width: 400px;
  accent-color: var(--hover-bg);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 15px 0;
  margin: 0 auto;
  box-sizing: border-box;
}

.input_slider_text {
  display: flex;
  width: 100%;
  justify-content: center;
  align-items: center;
   font-size: 1.1em;
  color: var(--text-color);
    transition: color 0.3s ease;
}

.main_content {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  gap:50px;
  padding: 0 20px;
  box-sizing: border-box;
}

.call_to_action {
  background-color: var(--call_to_action);
  padding: 12px 20px;
  width: 40%;
  margin-left: 30%;
  margin-right: 30%;
  color: var(--text-color);
  font-size: large;
  font-weight: bolder;
  border: none;
  border-radius: 10px;
  transition: background-color 0.3s ease, box-shadow 0.3s ease, color 0.3s ease;
  margin-top: 30px;
  cursor: pointer;
  text-align: center;
  display: block;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Note: The hover and active states should ideally target the button itself, not its children.
   Assuming these are meant to apply to the '.call_to_action' element on hover/active. */
.call_to_action:hover {
  background-color: var(--hover-bg);
  box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
  color: black;

}

.call_to_action:active {
  background-color: var(--call_to_action_active);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  transform: translateY(0);
    transition: background-color 0.1s ease;
}


.supprize_box{
  background-color: #9e9e9e23;
  backdrop-filter: blur(2px);
  position: absolute;
  display: flex;
  border: 3px solid var(--hover-bg);
  border-radius: 20px;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  left: 30%;
  right: 30%;
  width: 40%;
  height: 250px;
  top: 100%;
  transition: top 1.5s cubic-bezier(0.25, 0.46, 0.45, 0.94), border-color 0.3s ease;
}

.mascot-supprize_box{
  background-color: #9e9e9e23;
  backdrop-filter: blur(2px);
  position: absolute;
  display: flex;
  border: 3px solid var(--hover-bg);
  border-radius: 20px;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  left: 30%;
  right: 30%;
  width: 40%;
  height: 250px;
  top: 100%;
  transition: top 1.5s cubic-bezier(0.25, 0.46, 0.45, 0.94), border-color 0.3s ease;
  font-size: smaller;
  margin-top: 100px;
}
.mascot-supprize_box img{
  width: 90%;
}
.max_width_div_50p_800px{
width: 50%;
max-width: 800px;
}
.max_width_div_60p_800px{
width: 60%;
max-width: 1000px;
}


.checkbox{
  padding: 10px;
  border-radius: 20px;
  width: 20%;
}
.text_input_field{
  width: 92.5%;
  padding: 10px;
  border-radius: 10px;
  border: none;
  outline: none;
    color: var(--bg);
}
.dropdown_select{
  width: 100%;
  padding:10px;
  padding-left: 20px;
  padding-right: 20;
  border: none;
  border-radius: 10px;
    color: var(--bg);
}







.card{
  background: var(--light-color);
  width: 250px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border: 3px solid var(--hover-bg);
  border-radius: 20px;
  height: 400px;
  padding: 30px;
  margin: 12.5px;
  box-shadow: 0 0 10px var(--hover-bg),
               0 0 20px var(--hover-bg),
               0 0 30px var(--hover-bg),
               0 0 40px var(--hover-bg);
    transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
  animation: glow 5s linear infinite;
}
.card_link{
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  text-decoration: none;
  color: var(--text-color);
      transition: color 0.3s ease;
}
.card_title{
  margin-top: 0;
  height: 80px;
  font-size: 25px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;

}
.card_image{
  border-radius: 10px;
  width: 200px;
      transition: transform 0.3s ease;
}
.card_info{
  height: 120px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
    transition: color 0.3s ease;
}
.card_link :hover,.card_image:hover,.card_title:hover,.card_info:hover{
display: flex;
justify-content: center;
align-items: center;
}
.card:hover {
    transform: translateY(-10px); /* Slight lift on hover */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* More pronounced shadow */
}
.card_holder {
display: grid;
  grid-template-columns: repeat(auto-fit, minmax(325px, 1fr));
  grid-gap: 10px;
  justify-content: center;
  align-items: center;
  grid-auto-rows: minmax(430px, auto); /* Ensure sufficient height for single cards */
}
.horizontal_card_holder{
  width: 100%;
  display: flex;
  justify-content: flex-start; /* Changed to flex-start */
  align-items: center;
  overflow-x: auto;
  padding: 10px; /* Added padding to prevent elements from sticking to edges */
  scrollbar-width: thin; /* For Firefox */
  scrollbar-color: var(--hover-bg) var(--bg); /* For Firefox */
}

.horizontal_card_holder::-webkit-scrollbar {
  height: 8px;
}

.horizontal_card_holder::-webkit-scrollbar-thumb {
  background-color: var(--hover-bg);
  border-radius: 4px;
}

.horizontal_card_holder::-webkit-scrollbar-track {
  background-color: var(--bg);
  border-radius: 4px;
}

.card_holder > .card { /* Target direct children of .card_holder */
  justify-self: center; /* Center single cards if less than two columns are used*/
}



@keyframes glow {
  0% {
    box-shadow: 0 0 5px var(--hover-bg);
  }
  50% {
    box-shadow: 0 0 20px var(--hover-bg);
  }
  100% {
    box-shadow: 0 0 5px var(--hover-bg);
  }
}


.horizontl_allign_group{
  display: flex;
  align-items: center;
  justify-content: center;
}
.hori_desktop__verti_mobile{
  display: flex;
  justify-content: center;
  align-items: center;

}

.our_moto {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    align-items: center;
    padding: 30px;
    border-radius: 10px;
    margin: 40px;
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: transform 0.3s ease;
}

.our_moto::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, var(--hover-bg), var(--grey));
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: -1;
}

.our_moto:hover::before {
    opacity: 0.7;
}

.our_moto h2 {
    font-size: 2em;
    margin-bottom: 10px;
    color: var(--text-color);
    transition: color 0.3s ease;
}

.our_moto:hover h2 {
    color: black;
}

.our_moto p {
    font-size: 1.1em;
    line-height: 1.6;
    margin-bottom: 5px;
    color: var(--text-color);
    transition: color 0.3s ease;
}

.our_moto:hover p {
    color: #eee;
}

.our_moto:hover {
  transform: scale(1.03);
}
.comb_quick{
  width: 90vw;
  display: flex;
  justify-content: space-around;
  align-items: center;
}
.comb_quick a{
  width: 20%;
  max-width: 100px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 20px;
  background-color: var(--hover-bg);
  border: 2px solid var(--hover-bg);
}
.comb_quick a:hover{
  
  background-color: var(--bg);
}
.main_content_100w{
padding: 20px;
gap: 50px;
}