@import url("https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&family=Montserrat:ital,wght@0,100..900;1,100..900&family=Noto+Sans:ital,wght@0,100..900;1,100..900&family=Open+Sans:ital,wght@0,300..800;1,300..800&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Raleway:ital,wght@0,100..900;1,100..900&family=Roboto+Slab:wght@100..900&family=Roboto:ital,wght@0,100..900;1,100..900&family=Source+Sans+3:ital,wght@0,200..900;1,200..900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Nunito:ital,wght@0,200..1000;1,200..1000&display=swap");
* {
  font-family: "Nunito", sans-serif;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  outline: none;
  border: none;
  text-decoration: none;
  text-transform: none;
  transition: all 0.2s ease-out;
}
/* :root{
    --violet:#6c5ce7;
    --pink: #fc427b;
    --gradient: linear-gradient(90deg, var(--violet), var(--pink));
} */

:root {
  --violet: #6c5ce7;
  --pink: #fc427b;
  --white: #fff;
  --lightgray: #ccc;
  --darkgray: #333;
  --gray: #666;
  --pastalblue: #eef3fc;
  --mediumgray: #888;
  --lightergray: #eee;
  --charcoalgray: #222;
  --whisper: #f5f5f5;
  --silver: #aaa;
  --gainsboro: #d9d9d9;
  --black: #000;
  --gradient: linear-gradient(90deg, var(--violet), var(--pink));
}

.dark-theme {
  --violet: #6c5ce7;
  --pink: #fc427b;
  --white: #222; /* Dark mode adjustment */
  --lightgray: #666; /* Dark mode adjustment */
  --darkgray: #919191; /* Dark mode adjustment */
  --gray: #d9d9d9; /* Dark mode adjustment */
  --pastalblue: #eef3fc;
  --mediumgray: #ccc; /* Dark mode adjustment */
  --lightergray: #888; /* Dark mode adjustment */
  --charcoalgray: #fff; /* Dark mode adjustment */
  --whisper: #333; /* Dark mode adjustment */
  --silver: #eee; /* Dark mode adjustment */
  --gainsboro: #aaa; /* Dark mode adjustment */
  --black: #fff;
  --gradient: linear-gradient(90deg, var(--violet), var(--pink));
}

#theme-switch {
  height: 50px;
  width: 50px;
  padding: 0;
  border-radius: 50%;
  background-color: var(--white);
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  /* top: 15px; */
  right: 25px;
  cursor: pointer;
}

#theme-switch svg {
  fill: var(--mediumgray);
}

#theme-switch svg:last-child {
  display: none;
}

.darkmode #theme-switch svg:first-child {
  display: none;
}

.darkmode #theme-switch svg:last-child {
  display: block;
}

html {
  font-size: 62.5%;
  overflow-x: hidden;
}

html::-webkit-scrollbar {
  width: 1rem;
}

html::-webkit-scrollbar-track {
  background: var(--darkgray);
}

html::-webkit-scrollbar-thumb {
  background: var(--white);
  border-radius: 5rem;
}

body {
  background: var(--gradient);
  padding: 2rem;
  padding-bottom: 2rem;
}

.dark-theme {
  --violet: #6c5ce7;
  --pink: #fc427b;
  --white: #222; /* Dark mode adjustment */
  --lightgray: #666; /* Dark mode adjustment */
  --darkgray: #f5f5f5; /* Dark mode adjustment */
  --gray: #d9d9d9; /* Dark mode adjustment */
  --mediumgray: #ccc; /* Dark mode adjustment */
  --lightergray: #888; /* Dark mode adjustment */
  --charcoalgray: #fff; /* Dark mode adjustment */
  --whisper: #333; /* Dark mode adjustment */
  --silver: #eee; /* Dark mode adjustment */
  --gainsboro: #aaa; /* Dark mode adjustment */
  --black: #fff;
  --gradient: linear-gradient(90deg, var(--violet), var(--pink));
}

.darkmode {
  --violet: #6c5ce7;
  --pink: #fc427b;
  --white: #222; /* Dark mode adjustment */
  --lightgray: #666; /* Dark mode adjustment */
  --darkgray: #f5f5f5; /* Dark mode adjustment */
  --gray: #d9d9d9; /* Dark mode adjustment */
  --mediumgray: #ccc; /* Dark mode adjustment */
  --lightergray: #888; /* Dark mode adjustment */
  --charcoalgray: #fff; /* Dark mode adjustment */
  --whisper: #333; /* Dark mode adjustment */
  --silver: #eee; /* Dark mode adjustment */
  --gainsboro: #aaa; /* Dark mode adjustment */
  --black: #fff;
  --gradient: linear-gradient(90deg, var(--violet), var(--pink));
}

#theme-switch {
  height: 50px;
  width: 50px;
  padding: 0;
  border-radius: 50%;
  background-color: var(--white);
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  /* top: 15px; */
  right: 18px;
  cursor: pointer;
  /* margin: auto; */
}

#theme-switch svg {
  fill: var(--mediumgray);
}

#theme-switch svg:last-child {
  display: none;
}

.darkmode #theme-switch svg:first-child {
  display: none;
}

.darkmode #theme-switch svg:last-child {
  display: block;
}

section {
  padding: 2rem 7%;
}
.container {
  background: var(--white);
  border-radius: 0.5rem;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.2);
}

.heading {
  color: transparent;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  padding: 0 1rem;
  padding-top: 2.5rem;
  text-align: center;
  font-size: 4rem;
  text-transform: uppercase;
}

.btn {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.8rem 3rem;
  border-radius: 0.5rem;
  background: var(--darkgray);
  color: var(--white);
  cursor: pointer;
  font-size: 1.7rem;
}

.btn:hover {
  background: var(--gradient);
}

header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 2rem 7%;
  border-bottom: 0.1rem solid rgba(0, 0, 0, 0.1);
  position: relative;
  z-index: 1000;
}

.logo-container {
  display: flex;
  align-items: center;
}

#logo {
  margin-right: 15px; /* Space between the logo and the text */
}

/* .navbar {
    display: flex;
}*/
/* gap: 15px; Adjust the gap between the links */

.navbar {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  text-align: right;
}

header .logo {
  font-size: 2.5rem;
  font-weight: bold;
  /* margin-right: 400px; */
  white-space: nowrap; /* Prevent text wrapping */
}

header .AcliMate {
  color: var(--violet);
}

header .academy {
  color: var(--pink);
}

header .navbar a {
  margin-left: 2rem;
  font-size: 2rem;
  color: var(--darkgray);
}

header .navbar a:hover {
  color: var(--pink);
}

a,
button {
  outline: none !important;
  /* box-shadow: none !important;
    background: none !important; */
  -webkit-tap-highlight-color: transparent !important;
}

* {
  -webkit-tap-highlight-color: transparent !important;
}

#menu {
  font-size: 2.5rem;
  padding: 0.5rem 1rem;
  border-radius: 0.3rem;
  border: 0.1rem solid rgba(0, 0, 0, 0.2);
  cursor: pointer;
  display: none;
}

.home {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  align-items: center;
}

.home .content {
  flex: 1 1 40rem;
}

.home .image {
  flex: 1 1 40rem;
}

.home .image img {
  width: 100%;
}

.home .content h3 {
  color: transparent;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  font-size: 4rem;
}

.home .content p {
  padding: 0.5rem 0;
  font-size: 1.7rem;
  color: var(--gray);
}

.course {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.course .box {
  flex: 1 1 30rem;
  border-radius: 0.5rem;
  border: 0.1rem solid rgba(0, 0, 0, 0.1);
  padding: 1rem;
  position: relative;
}

.course .box img {
  height: auto;
  width: 100%;
}

.course .box .amount {
  position: absolute;
  top: 1rem;
  left: 1rem;
  font-size: 2rem;
  padding: 0.5rem 1rem;
  background: var(--pink);
  color: var(--white);
  border-radius: 0.5rem;
}

.course .box .stars i {
  color: var(--violet);
  font-size: 1.5rem;
  padding: 1rem 0;
}

.course .box h3 {
  color: var(--pink);
  font-size: 2.5rem;
}

.course .box p {
  color: var(--gray);
  font-size: 2rem;
  padding: 0.5rem 0;
}

.course .icons {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 0.1rem solid rgba(0, 0, 0, 0.1);
  margin-top: 1rem;
  padding: 0.5rem;
  padding-top: 1rem;
}

.course .icons p {
  color: var(--gray);
  font-size: 1.3rem;
}

.course .icons p i {
  padding-right: 0.4rem;
  color: var(--pink);
}

.teacher {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.teacher .box {
  flex: 1 1 23rem;
  border: 0.1rem solid rgba(0, 0, 0, 0.1);
  border-radius: 5rem;
  padding: 1.5rem;
  text-align: center;
}

.teacher .box img {
  height: 10rem;
  width: 10rem;
  margin: 0.5rem 0;
  border-radius: 50%;
  object-fit: cover;
}

.teacher .box h3 {
  color: var(--violet);
  font-size: 2.5rem;
}

.teacher .box span {
  color: var(--pink);
  font-size: 2rem;
}

.teacher .box p {
  color: var(--gray);
  font-size: 1.5rem;
}

.teacher .box .share a {
  height: 4rem;
  width: 4rem;
  line-height: 4rem;
  font-size: 2rem;
  background: var(--pink);
  border-radius: 0.5rem;
  margin: 0.3rem;
  color: var(--white);
}

.teacher .box .share a:hover {
  background: var(--violet);
}

.price {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.price .box {
  flex: 1 1 30rem;
  text-align: center;
  border: 0.1rem solid rgba(0, 0, 0, 0.1);
  border-radius: 0.5rem;
}

.price .box h3 {
  font-size: 2.5rem;
  color: var(--darkgray);
  padding: 1.5rem 0;
}

.price .box .amount {
  font-size: 4.5rem;
  color: var(--white);
  padding: 1rem 0;
  background: var(--gradient);
  font-weight: bold;
}

.price .box .amount span {
  font-size: 2rem;
}

.price .box ul {
  border-bottom: 0.1rem solid rgba(0, 0, 0, 0.1);
  padding: 1rem 0;
  list-style: none;
}

.price .box ul li {
  padding: 0.7rem 0;
  font-size: 1.7rem;
  color: var(--gray);
}

.price .box .btn {
  margin: 2rem 0;
}

.review {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.review .box {
  border-radius: 0.5rem;
  border: 0.1rem solid rgba(0, 0, 0, 0.1);
  padding: 1rem;
  flex: 1 1 30rem;
}

.review .box .student {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.review .box .student .student-info {
  display: flex;
  align-items: center;
}

.review .box .student i {
  font-size: 6rem;
  color: var(--pink);
  opacity: 0.5;
}

.review .box .student .student-info img {
  border-radius: 50%;
  object-fit: cover;
  height: 7rem;
  width: 7rem;
  margin-left: 1.5rem;
}

.review .box .student .student-info h3 {
  font-size: 2rem;
  color: var(--darkgray);
}

.review .box .student .student-info span {
  font-size: 1.5rem;
  color: var(--pink);
}

.review .box .text {
  padding: 1rem 0;
  font-size: 1.7rem;
  color: var(--gray);
}

.contact {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.contact .image {
  flex: 1 1 35rem;
}

.contact .image img {
  width: 100%;
}

.contact form {
  flex: 1 1 50rem;
  border: 0.1rem solid rgba(0, 0, 0, 0.1);
  border-radius: 0.5rem;
  padding: 2rem;
}

.contact form .inputBox {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.contact form .inputBox input,
.contact form .box,
.contact form textarea {
  width: 100%;
  padding: 1rem;
  margin: 0.7rem 0;
  font-size: 1.7rem;
  border: 0.1rem solid rgba(0, 0, 0, 0.1);
  border-radius: 0.5rem;
  text-transform: none;
  color: var(--darkgray);
  background-color: var(--whisper);
}

.contact form .inputBox input:focus,
.contact form .box:focus,
.contact form textarea:focus {
  border-color: var(--pink);
}

.contact form .inputBox input {
  width: 49%;
}

.contact form textarea {
  height: 20rem;
  resize: none;
}

/* Main section styling */
main {
  padding: 20px;
  margin: 20px auto;
  max-width: 90%;
  height: auto;
  background-color: var(--pastalblue);
  border-radius: 8px;
  font-family: "Arial", sans-serif;
  color: var(--black);
  text-align: left;
  /* box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); */
}

/* Paragraph styling within main */
main p {
  line-height: 1.8;
  margin: 10px 0;
  font-size: 18px;
  font-weight: 400; /* Normal font weight */
  color: var(--gray);
}

/* Unordered list styling within main */
main ul {
  margin: 10px 0 20px 20px;
  list-style-type: none;
  /* list-style-type:disc; */
  /* list-style: none; */
}

/* List item styling within main */
main li {
  margin: 8px 0;
  font-size: 16px;
  font-weight: 400; /* Normal font weight */
  color: var(--gray);
}

/* Heading styling within main */
main h1 {
  font-size: 2.5em;
  font-weight: 700; /* Bold font weight */
  color: var(--violet);
  text-align: center; /* Center align headings */
  margin-bottom: 20px;
}

main h2 {
  font-size: 2em;
  font-weight: 600; /* Semi-bold font weight */
  color: var(--violet);
  margin-bottom: 15px;
}

main h3 {
  font-size: 1.2em;
  font-weight: 500; /* Medium font weight */
  color: var(--violet);
  margin-bottom: 10px;
}

/* Link styling within main */
/* main a {
    color: var(--violet);
    text-decoration: none;
}

main a:hover {
    text-decoration: underline;
} */

p a {
  color: rgb(94, 94, 175);
  text-decoration: underline;
}

p a {
  color: inherit;
  text-decoration: underline;
  font-weight: 500;
}
p a:hover {
  text-decoration: underline;
  color: var(--pink);
}

p i {
  margin-right: 10px; /* Add space between icon and text */
  color: var(--violet); /* Match icon color to theme */
  font-size: 20px; /* Make the icon slightly larger for emphasis */
}

.main ul li {
  margin: 10px 0;
  font-size: 18px;
  display: inline-block;
  align-items: center;
}

main ul li i {
  margin-right: 10px;
  color: var(--violet); /* Customize color to match your theme */
  font-size: 20px; /* Adjust icon size */
}

.footer .box-container {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer .box-container .box {
  flex: 1 1 20rem;
}

.footer .box-container .box h3 {
  font-size: 2.5rem;
  color: var(--violet);
  padding: 0.7rem 0;
}

.footer .box-container .box p {
  font-size: 1.5rem;
  color: var(--gray);
  padding: 0.7rem 0;
}

.footer .box-container .box a {
  display: block;
  font-size: 1.5rem;
  color: var(--gray);
  padding: 0.7rem 0;
}

.footer .box-container .box a:hover {
  color: var(--pink);
}

.footer .box-container .box p i {
  padding-right: 0.5rem;
  color: var(--pink);
}

.footer .credit {
  font-size: 2rem;
  margin-top: 1rem;
  padding: 1rem;
  padding-top: 2rem;
  text-align: center;
  border-top: 0.1rem solid rgba(0, 0, 0, 0.1);
  color: var(--gray);
}

.footer .credit span {
  color: var(--pink);
}

/* ***********************************REGISTRATION*********************************** */

/* Modern animated dropdown success message */
/* .dropdown-success {
  position:absolute;
  top: -80px;
  left: 50%;
  transform: translateX(-50%);
  min-width: 320px;
  padding: 18px 32px;
  background: linear-gradient(90deg, var(--white) 50%, var(--whisper) 100%);
  color: #3fdb0f;
  font-size: 1.5rem;
  font-weight: 500;
  border-radius: 32px;
  box-shadow: 0 8px 32px rgba(100, 100, 150, 0.15);
  display: flex;
  align-items: center;
  gap: 18px;
  opacity: 0;
  pointer-events: none;
  z-index: 9999;
  transition: top 0.6s cubic-bezier(.68,-0.55,.27,1.55), opacity 0.4s;
}

.dropdown-success.show {
  top: 36px;
  opacity: 1;
  pointer-events: auto;
}

.dropdown-success .icon {
  font-size: 2rem;
  background: rgba(51, 218, 9, 0.664);
  color: #fff;
  padding: 8px 12px;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(100, 100, 150, 0.12);
  animation: pop 0.6s cubic-bezier(.68,-0.55,.27,1.55);
}

@keyframes pop {
  0% { transform: scale(0.6); opacity: 0; }
  60% { transform: scale(1.15); opacity: 1; }
  100% { transform: scale(1); }
}





.dropdown-error {
  position: fixed;
  top: -80px;
  left: 50%;
  transform: translateX(-50%);
  min-width: 320px;
  padding: 18px 32px;
  background: linear-gradient(90deg, #f1f1f1 0%, #f7f7f7 100%);
  color: #000;
  font-size: 1.2rem;
  font-weight: 500;
  border-radius: 32px;
  box-shadow: 0 8px 32px rgba(200, 60, 60, 0.15);
  display: flex;
  align-items: center;
  gap: 18px;
  opacity: 0;
  pointer-events: none;
  z-index: 9999;
  transition: top 0.6s cubic-bezier(.68,-0.55,.27,1.55), opacity 0.4s;
}
.dropdown-error.show {
  top: 36px;
  opacity: 1;
  pointer-events: auto;
}
.dropdown-error .icon {
  font-size: 2rem;
  background: rgba(255,255,255,0.15);
  padding: 8px 12px;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(200, 60, 60, 0.12);
  animation: pop 0.6s cubic-bezier(.68,-0.55,.27,1.55);
}
@keyframes pop {
  0% { transform: scale(0.6); opacity: 0; }
  60% { transform: scale(1.15); opacity: 1; }
  100% { transform: scale(1); }
} */
/*  Moved to reg.css */

/* Responsive Success Dropdown */
.dropdown-success,
.dropdown-error {
  position: fixed;
  top: -80px;
  left: 50%;
  transform: translateX(-50%);
  width: 90vw;
  max-width: 300px;
  min-width: 100px;
  padding: 14px 18px;
  font-size: 1.5rem;
  border-radius: 24px;
  box-shadow: 0 8px 32px rgba(100, 100, 150, 0.15);
  display: flex;
  align-items: center;
  gap: 14px;
  opacity: 0;
  pointer-events: none;
  z-index: 99999; /* higher for overlays */
  transition: top 0.6s cubic-bezier(0.68, -0.55, 0.27, 1.55), opacity 0.4s;
  word-break: break-word;
}

/* Success dropdown specific colors */
.dropdown-success {
  background: #fff;
  color: #28a745;
}

/* Error dropdown specific colors */
.dropdown-error {
  background: linear-gradient(90deg, var(--white) 50%, var(--white) 50%);
  color: var(--darkgray);
  box-shadow: 0 8px 32px rgba(200, 60, 60, 0.15);
}

/* Show effect */
.dropdown-success.show,
.dropdown-error.show {
  top: 24px;
  opacity: 1;
  pointer-events: auto;
}

/* Icon styles (success & error) */
.dropdown-success .icon,
.dropdown-error .icon {
  font-size: 1.7rem;
  padding: 7px 10px;
  border-radius: 50%;
  flex-shrink: 0;
  animation: pop 0.6s cubic-bezier(0.68, -0.55, 0.27, 1.55);
}

.dropdown-success .icon {
  background: #28a745;
  color: var(--white);
  box-shadow: 0 2px 8px rgba(100, 100, 150, 0.12);
}

.dropdown-error .icon {
    color: #ff4d4f;
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 2px 8px rgba(200, 60, 60, 0.12);
}

@keyframes pop {
  0% {
    transform: scale(0.6);
    opacity: 0;
  }
  60% {
    transform: scale(1.15);
    opacity: 1;
  }
  100% {
    transform: scale(1);
  }
}

/* Mobile adjustments */
@media (max-width: 600px) {
  .dropdown-success,
  .dropdown-error {
    font-size: 1.5rem;
    width: auto;
    max-width: 95vw;
    padding: 10px 8px;
    border-radius: 16px;
    gap: 8px;
  }
  .dropdown-success.show,
  .dropdown-error.show {
    top: 10px;
  }
  .dropdown-success .icon,
  .dropdown-error .icon {
    font-size: 1.1rem;
    padding: 5px 7px;
    border-radius: 50%;
  }
}

/* Extra small devices */
@media (max-width: 350px) {
  .dropdown-success,
  .dropdown-error {
    font-size: 0.9rem;
    width: auto;
    max-width: 99vw;
    padding: 7px 2px;
    border-radius: 10px;
    gap: 5px;
  }
  .dropdown-success.show,
  .dropdown-error.show {
    top: 3px;
  }
}

@media (max-width: 200px) {
  .dropdown-success,
  .dropdown-error {
    font-size: 6px; /* Absolute tiny font */
    width: auto;
    /* max-width: 20vw;            Use the whole viewport */
    padding: 2px 1px; /* Minimal padding */
    border-radius: 5px;
    gap: 1px;
    white-space: normal; /* Allow text to wrap */
    word-break: break-word; /* Force text breaks */
  }
  .dropdown-success.show,
  .dropdown-error.show {
    top: 1px;
  }
}

@keyframes comeFromAbove {
  0% {
    transform: translateY(-100%);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

.academy {
  display: inline-block;
  animation: comeFromAbove 1s ease-out;
}

@keyframes rollIn {
  0% {
    transform: translateX(-100%) rotate(-360deg);
    opacity: 0;
  }
  100% {
    transform: translateX(0) rotate(0);
    opacity: 1;
  }
}

.AcliMate span {
  display: inline-block;
  opacity: 0;
}

/*media queries*/

@media (max-width: 991px) {
  html {
    font-size: 55%;
  }

  body {
    padding: 1.5rem;
  }

  header {
    padding: 2rem;
  }

  section {
    padding: 2rem;
  }
}

@media (max-width: 1080px) {
  html {
    font-size: 55%;
  }

  body {
    padding: 1.5rem;
  }

  header {
    padding: 2rem;
  }

  section {
    padding: 2rem;
  }
}

@media (max-width: 768px) {
  #menu {
    display: initial;
  }

  header .navbar {
    display: flex;
    position: fixed;
    /* Match the body's padding: */
    top: 10rem;
    right: 2rem;
    left: auto;
    height: auto;
    width: 250px;
    max-width: 80vw;
    background: var(--white);
    border-left: 0.1rem solid rgba(255, 255, 255, 0.8);
    border-top: none;
    border-bottom: none;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    padding: 1.5rem 0;
    transform: translateX(
      -10%
    ); /* Push it fully out, including the new margin */
    transition: transform 0.3s cubic-bezier(0.77, 0, 0.18, 1), opacity 0.2s,
      visibility 0.2s;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    box-shadow: -2px 0 8px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    background-clip: padding-box;
    border-radius: 2rem 2rem 2rem 2rem; /* Smooth corners */
  }

  header .navbar.active {
    transform: translateX(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  /* ...rest of your code... */

  header .navbar a {
    font-size: 2.5rem;
    display: block;
    margin: 2rem 0 2rem 2rem;
    text-align: left;
    /* width: 100%; */
  }

  .contact form .inputBox input {
    width: 100%;
  }

  .footer .box-container {
    flex-direction: column;
    align-items: center;
  }

  .footer .box {
    width: 100%;
    max-width: 300px;
  }
}

@media (max-width: 400px) {
  html {
    font-size: 45%;
  }
}

@media (max-width: 768px) {
  #theme-switch {
    display: block;
  }
}

/*larger screens*/

@media (min-width: 2000px) {
  body {
    font-size: 1.4em;
    padding: 30rem 0.5%;
  }
  .container {
    max-width: 1800px;
    margin: 0 auto;
  }
  header {
    padding: 3rem 10%;
  }
  .navbar a {
    font-size: 2.5rem;
    margin-left: 3rem;
  }
  .home .content h3 {
    font-size: 5rem;
  }
  .home .content p {
    font-size: 2rem;
  }
  .btn {
    font-size: 2rem;
    padding: 1rem 4rem;
  }
}

@media (max-width: 350px) {
  html {
    font-size: 25%; /* Adjust font size for very small screens */
  }

  .modal-content {
    width: 100%;
    padding: 5px;
  }

  .close-btn {
    top: -10px;
    right: 5px;
  }

  header .logo {
    font-size: 1.5rem;
  }

  #logo {
    width: 28px;
  }

  header .navbar a {
    font-size: 1rem;
    margin-left: 0.5rem;
  }

  .home .content h3 {
    font-size: 2rem;
  }

  .home .content p {
    font-size: 1rem;
  }

  .btn {
    padding: 0.4rem 1rem;
    font-size: 1rem;
  }

  section {
    padding: 1rem 2%;
  }
}

@media (max-width: 150px) {
  html {
    font-size: 15%; /* Adjust font size for very small screens */
  }

  .modal-content {
    width: 100%;
    padding: 5px;
  }

  .close-btn {
    top: -10px;
    right: 5px;
  }

  header .logo {
    font-size: 1.2rem;
  }

  #logo {
    width: 28px;
  }

  header .navbar a {
    font-size: 0.9rem;
    margin-left: 0.5rem;
  }

  .home .content h3 {
    font-size: 1rem;
  }

  .home .content p {
    font-size: 1rem;
  }

  .btn {
    padding: 0.4rem 1rem;
    font-size: 1rem;
  }

  section {
    padding: 1rem 2%;
  }
}

.footer .box p i {
  font-size: 12px;
}

@media (max-width: 100px) {
  html {
    font-size: 10%; /* Adjust font size for very small screens */
  }

  .modal-content {
    width: 100%;
    padding: 2px;
  }

  .close-btn {
    top: -10px;
    right: 5px;
  }

  header .logo {
    font-size: 1.5rem;
  }

  #logo {
    width: 20px;
  }

  header .navbar a {
    font-size: 1rem;
    margin-left: 0.5rem;
  }

  .home .content h3 {
    font-size: 2rem;
  }

  .home .content p {
    font-size: 1rem;
  }

  .btn {
    padding: 0.4rem 1rem;
    font-size: 1rem;
  }

  section {
    padding: 1rem 2%;
  }
}

@media (max-width: 80px) {
  html {
    font-size: 10%; /* Adjust font size for very small screens */
  }

  .modal-content {
    width: 100%;
    padding: 5px;
  }

  .close-btn {
    top: -10px;
    right: 5px;
  }

  header .logo {
    font-size: 0.6rem;
  }

  #logo {
    width: 20px;
  }

  header .navbar a {
    font-size: 1rem;
    margin-left: 0.5rem;
  }

  .home .content h3 {
    font-size: 2rem;
  }

  .home .content p {
    font-size: 1rem;
  }

  .btn {
    padding: 0.4rem 1rem;
    font-size: 1rem;
  }

  section {
    padding: 1rem 2%;
  }
}

@media (max-width: 60px) {
  html {
    font-size: 5%; /* Adjust font size for very small screens */
  }

  .modal-content {
    width: 100%;
    padding: 5px;
  }

  .close-btn {
    top: -10px;
    right: 5px;
  }

  header .logo {
    font-size: 0.6rem;
  }

  #logo {
    width: 20px;
  }

  header .navbar a {
    font-size: 1rem;
    margin-left: 0.5rem;
  }

  .home .content h3 {
    font-size: 2rem;
  }

  .home .content p {
    font-size: 1rem;
  }

  .btn {
    padding: 0.4rem 1rem;
    font-size: 1rem;
  }

  section {
    padding: 1rem 2%;
  }
}

@media (max-width: 30px) {
  html {
    font-size: 1%; /* Adjust font size for very small screens */
  }

  .modal-content {
    width: 100%;
    padding: 5px;
  }

  .close-btn {
    top: -10px;
    right: 5px;
  }

  header .logo {
    font-size: 0.1rem;
  }

  #logo {
    width: 5px;
  }

  header .navbar a {
    font-size: 0.5rem;
    margin-left: 0.2rem;
  }

  .home .content h3 {
    font-size: 2rem;
  }

  .home .content p {
    font-size: 1rem;
  }

  .btn {
    padding: 0.4rem 1rem;
    font-size: 1rem;
  }

  section {
    padding: 1rem 2%;
  }
}

/* Responsive Styles */
@media (max-width: 768px) {
  #menu {
    display: inline-block;
  }

  main h1 {
    font-size: 80px;
  }
}

@media (max-width: 480px) {
  main h1 {
    font-size: 20px;
  }
}

@media (max-width: 768px) {
  #menu {
    display: inline-block;
  }

  main h1 {
    font-size: 24px;
  }

  main h2 {
    font-size: 18px;
  }

  main p {
    font-size: 20px;
  }

  main ul {
    padding-right: 20px;
    /* padding-left: 20px; */
  }

  main li {
    font-size: 14px;
    text-align: left;
  }
}

@media (max-width: 480px) {
  main h1 {
    font-size: 20px;
  }

  main p {
    font-size: 12px;
  }

  main ul {
    padding-right: 20px;
    /* padding-left: 20px; */
  }

  main li {
    font-size: 12px;
    text-align: left;
  }
}

@media (max-width: 200px) {
  main h1 {
    font-size: 10px;
  }
  main p {
    font-size: 8px;
  }

  main ul {
    padding-right: 10px;
    /* padding-left: 20px; */
  }

  main h2 {
    font-size: 10px;
  }

  main li {
    font-size: 10px;
    text-align: left;
  }
}
