:root {
  --bg: #000000;
  --text-color: #ffffff;
  --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;
}
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: var(--bg);
  color: var(--text-color);
  font-size: larger;
  margin: 0px;
  padding: 0px;
}
nav{
  background-color: var(--bg);
border-radius: 25px;
}
nav ul li a {
  display: inline-block;
  padding: 10px 20px;
  text-decoration: none;
  color: var(--text-color);
  border: 1px solid transparent;
  border-radius: 5px;
  transition: all 0.3s ease;
  color: var(--text-color);
  box-shadow: 2px 2px var(--shadow-color);
}
nav a{
  text-decoration: none;
  color: var(--text-color);
}
nav ul li a:hover {
  background-color: var(--hover-bg);
  border-color: #ccc;
}

.Logo {
  text-align: center;
  color: var(--text-color);
}

.ham_hold {
  text-align: center;
}

nav ul {
    border-radius: 20px;
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: center;
  background-color: var(--bg);
  padding: 10px 0;
}

nav ul li {
  margin: 0 10px;
}
.mode_switch {
  position: absolute;
  display: inline-block;
  width: 60px;
  height: 34px;
  top: 10px;
  right: 10px;
}
.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;
}
footer{
  margin-top: 100px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.footer {
  width: 85%;
  padding: 5%;
  margin: 5%;
  border-radius: 5%;
  border: 3px solid var(--hover-bg);
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  bottom: 0;
}
.footer-section{
  padding: 20px;
  border-bottom: 2px solid var(--hover-bg);
}
.ads_long_sidebars{
    display: none;;
}
.subtopic_head{
    display: flex;
    align-items: center;
    justify-content: center;
}
.tool{
    border: 3px solid var(--shadow-color);
    border-radius: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}





.file-drop-zone {
    width: 79%;
    padding: 10%;
    border: 3px dashed var(--text-color);
    background-color: rgba(255, 255, 255, 0.2); /* Subtle transparency */
    border-radius: 12px;
    text-align: center;
    cursor: pointer;
    transition: background-color 0.3s ease-in-out, border-color 0.3s ease-in-out;
    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(--text-color);
    color: var(--bg);
    cursor: pointer;
    transition: transform 0.2s ease-in-out, background-color 0.3s ease-in-out;
}

.file_input_label:hover {
    transform: scale(1.05);
    background-color: rgba(var(--text-color), 0.8);
}


.non_hidden[type="file"] {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    display: block; /* Ensure it takes up space */
}
input[type="file"]:not(.non_hidden) {
    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-in-out;
}

#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(--text-color); /* Keep text color as defined elsewhere */
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 15px 0; /* Add some vertical padding */
  margin: 0 auto; /* Center the block itself if it's within a wider container */
  box-sizing: border-box; /* Include padding in element's total width */
}

.input_slider_text {
  display: flex;
  width: 100%;
  justify-content: center;
  align-items: center; /* Vertically center the text if it has height */
   font-size: 1.1em; /* Slightly increase text size for better readability */
  color: var(--text-color); /* Ensure text color is applied */
}

.main_content {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  box-sizing: border-box; /* Include padding in total width */
}

.call_to_action {
  background-color: rgba(187, 122, 3, 0.541);
  padding: 12px 20px; /* Increase padding for a more substantial button feel */
  width: 100%;
  color: var(--text-color);
  font-size: large;
  font-weight: bolder;
  border: none; /* Use 'none' instead of '0px solid black' for clarity */
  border-radius: 10px;
  transition: all 0.3s ease-in-out; /* Refine transition for smoother effect */
  margin-top: 30px;
  cursor: pointer; /* Indicate it's clickable */
  text-align: center; /* Center the text inside the button */
  display: block; /* Ensure it takes the full width */
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Add a subtle shadow for depth */
}

/* 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: rgb(187, 123, 3);
  box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15); /* Slightly larger shadow on hover */
  
}

.call_to_action:active {
  background-color: rgb(187, 3, 3);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2); /* Smaller shadow on click */
  transform: translateY(0); /* Return to original position */
  transition: all 0.1s ease-in-out; /* Faster transition for active state */
}

.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 3s cubic-bezier(1,-2, 0, 1.5);
  font-size: smaller;
  margin-top: 100px;
}


.checkbox{
  padding: 10px;
  border-radius: 20px;
  width: 20%;
}
.text_input_field{
  width: 92.5%;
  padding: 10px;
  border-radius: 10px;
  border: none;
  outline: none;
}
.dropdown_select{
  width: 100%;
  padding:10px;
  padding-left: 20px;
  padding-right: 20;
  border: none;
  border-radius: 10px;
}



.card{
  width: 100%;
  max-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: 10px;
  margin: 12.5px;
}
.card a{
  text-decoration: none;
  color: var(--text-color);
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}
.card h3,.card h2,.card h1{
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;

}
.card img{
  width: 100%;
  max-width: 200px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.card p{
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}
.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 */
}

.card_holder > .card { /* Target direct children of .card_holder */
  justify-self: center; /* Center single cards if less than two columns are used*/
}
.hori_desktop__verti_mobile{
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}
.our_moto {
    text-align: center;
    padding: 20px;
    border-radius: 10px;
    margin: 20px auto;
    max-width: 800px;
    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: white;
}

.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);
}
.horizontal_card_holder{
  display: flex;
  justify-content:center;
  flex-direction: column;
  align-items: center;
  padding: 10px; /* Added padding to prevent elements from sticking to edges */
}
footer a{
  color: var(--text-color);
  text-decoration: none;
}
footer{
  border-radius: 20px;
}