/* Base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  background-color: #f9f9f9;
  color: #082036;
}

.header-class {
  width: 100%;
  padding: 2px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-class a {
  color: #fff;
  text-decoration: none;
}

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: #474e9d;
  color: #fff;
  border: #cecdcd 1px solid;
  z-index: 1000;
}

.header-buttons {
  display: flex;
  gap: 10px;
}

.premium-button {
  background-color: #fff;
  color: #474e9d;
  padding: 10px 20px;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  text-decoration: none;
}

.premium-button:hover {
  background-color: #e0efff;
}

.profile-button {
  background-color: #fff;
  color: #474e9d;
  padding: 5px 12px;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  text-decoration: none;
}

.profile-button:hover {
  background-color: #e0efff;
}

main {
  background-color: #f9f9f9;
}

.main-layout {
  display: flex;
  margin-top: 60px;
  margin-left: 80px;
  height: calc(100vh - 60px);
}

.sidebar {
  position: fixed;
  top: 60px;
  left: 0;
  width: 95px;
  height: calc(100vh - 60px);
  background-color: #fff;
  border-right: 1px solid #ddd;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 20px;
}

.sidebar ul {
  list-style: none;
  padding: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding-top: 20px;
}

.sidebar li {
  margin-bottom: 15px;
}

.sidebar a {
  text-decoration: none;
  color: #0b2c4d;
  font-weight: 500;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  text-align: center;
  word-wrap: break-word;
}

.sidebar i {
  padding: 8px;
  border-radius: 50%;
}

.container {
  flex: 1;
  overflow-y: auto;
  height: 100%;
}

.sub-container {
  display: flex;
  justify-content: space-between;
  height: 100%;
  padding: 0 20px;
}

.content {
  padding-top: 150px;
  padding-left: 70px;
  line-height: 1;
  padding-right: 50px;
}

.content h1 {
  font-size: 70px;
  margin-bottom: 25px;
}

.content p {
  font-size: 20px;
  margin-bottom: 25px;
  font-weight: 500;
}

.extension-button {
  background: linear-gradient(to right, #fd7d02, #ef5d1c, #df3d33);
  color: #fff;
  padding: 15px 20px;
  border: none;
  border-radius: 30px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
}

.image-box {
  border: #0b2c4d 1px solid;
  height: 250px;
  width: 400px;
}

.sub-container2 {
  display: flex;
  justify-content: space-between;
  padding: 50px 20px;
  background: linear-gradient(to right, #464e9d, #4cc4ec);
  color: #fff;
}

.sub-container2 h3 {
  display: flex;
  justify-content: left;
  font-size: 30px;
  margin-bottom: 10px;
  padding-left: 60px;
}

.sub-container3 h3,
.sub-container4 h3,
.sub-container5 h3 {
  display: flex;
  justify-content: center;
  font-size: 30px;
  margin-bottom: 20px;
}

.sub-container2 p {
  display: flex;
  justify-content: left;
  padding-left: 60px;
  font-size: 20px;
  margin-bottom: 20px;
  font-weight: 500;
}

.sub-container2 button {
  background: linear-gradient(to right, #fd7d02, #ef5d1c, #df3d33);
  color: #fff;
  padding: 15px 20px;
  font-size: 16px;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  text-decoration: none;
  font-weight: 500;
}

.sub-container4 button,
.sub-container6 button {
  display: flex;
  justify-content: center;
  background: linear-gradient(to right, #fd7d02, #ef5d1c, #df3d33);
  color: #fff;
  padding: 15px 20px;
  font-size: 16px;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  text-decoration: none;
  font-weight: 500;
}

.signin-button {
  display: flex;
  justify-content: center;
}

.container2-signin-button {
  padding: 20px;
  margin-top: 20px;
}

.sub-container3 {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 100px;
  padding-left: 100px;
  padding-right: 100px;
}

.tools {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  padding-top: 20px;
}

.tool {
  flex: 1 1 calc(25% - 20px);
  max-width: calc(25% - 20px);
  background-color: #fff;
  border: 1px solid #cecdcd;
  border-radius: 20px;
  padding: 30px;
  height: 160px;
  text-align: left;
}

.tool a {
    text-decoration: none;
    color: inherit;
}

.tool:hover {
  border: #464e9d 1px solid;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.tool > i {
  font-size: 22px;

  border-radius: 50%;
  margin-bottom: 10px;
  padding: 10px;
}

.blue {
  background-color: #e3e5f2;
  color: #464e9d;
}

.teal {
  background-color: #e3f2f8;
  color: #4cc4ec;
}

.orange {
  background-color: #fef3e2;
  color: #ef5d1c;
}

.red {
  background-color: #fef3f2;
  color: #df3d33;
}

.arrow-icon {
  font-size: 16px;
  margin-left: 6px;
  color: #000;
}

.sub-container4 {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 100px;
  padding-left: 60px;
  padding-right: 60px;
}

.achievements-container {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px;
  background-color: #fff;
  border-radius: 10px;
  border: #cecdcd 1px solid;
  margin-top: 20px;
}

.achievements-box {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  padding-bottom: 20px;
}

.achievement {
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: left;
}

.achievement h4 {
  font-size: 20px;
  color: #0b2c4d;
  line-height: 1.4;
}

.achievement-txt {
  font-size: 40px;
}

.blue-txt {
  color: #464e9d;
}

.teal-txt {
  color: #4cc4ec;
}

.orange-txt {
  color: #ef5d1c;
}

.red-txt {
  color: #df3d33;
}

.sub-container5 {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 115px 0px 140px;
  background-color: #f9f9f9;
}

.carousel-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.user-testimonials {
  display: flex;
  gap: 25px;
  overflow-x: hidden;
  scroll-behavior: smooth;
  padding: 20px 0;
}

.carousel-btn {
  background-color: #0b2c4d;
  color: #fff;
  border: none;
  padding: 10px 14px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 1;
  font-size: 16px;
  transition: background-color 0.3s ease;
}

.carousel-btn:hover {
  background-color: #082036;
}

.carousel-btn.left {
  margin-right: 10px;
}

.carousel-btn.right {
  margin-left: 10px;
}

.testimonial {
  background-color: #ffffff;
  border: 1px solid #cecdcd;
  border-radius: 10px;
  padding: 20px;
  max-width: 320px;
  min-width: 290px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.04);
  transition: transform 0.3s ease;
}

.testimonial:hover {
  transform: translateY(-5px);
}

.testimonial p {
  font-style: italic;
  font-size: 16px;
  color: #a09d9d;
  margin-bottom: 15px;
  line-height: 1.6;
}

.testimonial h4 {
  text-align: right;
  font-size: 14px;
  color: #0b2c4d;
  font-weight: 600;
}

.sub-container6 {
  margin-top: 100px;
  margin-bottom: 100px;
  margin-left: 190px;
  margin-right: 180px;
  padding: 20px;
  background-color: #fff;
  border-radius: 10px;
  border: #cecdcd 1px solid;
  display: flex;
  justify-content: space-between;
  gap: 40px;
}


.subcontainer {
  display: flex;
  flex-direction: column;
  justify-content: left;
  flex: 3;
}

.subcontainer h3 {
  font-size: 26px;
  margin-bottom: 20px;
}

.signup-button {
  display: flex;
  justify-content: left;
}

.divider {
  width: 1px;
  background-color: #ccc;
  height: 120px;
}

.right-text {
  flex: 1;
  text-align: left;
}

.right-text p {
  font-size: 20px;
  font-weight: 600;
}

footer {
  background-color: #474e9d;
  color: #fff;
  margin-top: 40px;
  padding-top: 30px;
  font-family: Arial, sans-serif;
}

.footer-container {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  padding: 0 20px 30px 80px;
}

.footer-section {
  flex: 1;
  min-width: 250px;
  margin: 15px;
}

.footer-section h4 {
  font-size: 18px;
  margin-bottom: 15px;
  color: #fff;
}

.footer-section p,
.footer-section ul {
  font-size: 14px;
  line-height: 1.6;
}

.footer-section ul {
  list-style: none;
  padding: 0;
}

.links {
  padding-left: 80px;
}

.footer-section ul li a {
  color: #fff;
  text-decoration: none;
}

.footer-section ul li a:hover {
  color: #ccc;
}

.footer-bottom {
  background-color: #474e9d;
  text-align: center;
  padding: 15px 0;
  border-top: 1px solid #2c3e50;
  font-size: 14px;
}

.gradient-text {
  background: linear-gradient(to right, #464e9d, #4cc4ec);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  font-style: italic;
  padding-right: 10px;
}

.gradient-orange-text {
  background: linear-gradient(to right, #fd7d02, #ef5d1c, #df3d33);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  font-style: italic;
  padding-right: 10px;
  padding-left: 10px;
}

/* Paragraph Tool Styles */

.paragraph-tool {
  padding: 40px 20px;
  max-width: 1200px;
  margin: auto;
}

.paragraph-tool h2 {
  text-align: center;
  color: #082036;
  font-size: 30px;
}

.paragraph-tool p {
  text-align: center;
  font-size: 16px;
  color: #333;
}

.tool-boxes {
  display: flex;
  gap: 30px;
  justify-content: center;
  flex-wrap: wrap;
}

.box {
  flex: 1;
  min-width: 300px;
  background: white;
  border: 1px solid #ccc;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
}

textarea {
  width: 100%;
  height: 250px;
  border: none;
  resize: none;
  font-size: 16px;
  outline: none;
}

.controls {
  text-align: right;
}

.controls button {
  background: linear-gradient(to right, #fd7d02, #ef5d1c, #df3d33);
  color: #fff;
  border: none;
  padding: 10px 25px;
  font-size: 14px;
  border-radius: 20px;
  cursor: pointer;
}

@media (max-width: 768px) {
  .tool-boxes {
    flex-direction: column;
  }
}

.language-bar {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  padding: 10px 0;
}

.lang-btn {
  background-color: transparent;
  border: none;
  padding: 8px 14px;
  font-size: 14px;
  cursor: pointer;
  border-radius: 6px;
  transition: background 0.3s ease;
}

.lang-btn:hover,
.lang-btn.active {
  color: #fff;
  background: linear-gradient(to right, #fd7d02, #ef5d1c, #df3d33);
}

.upload-container {
  align-items: center;
  margin-top: 10px;
}

.upload-btn {
  display: inline-block;
  padding: 8px 14px;
  color: #082036;
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
  font-weight: bold;
}

/* Plagiarism page */
.plagiarism-tool .paragraph-tool h2 {
  font-size: 34px;
  margin-bottom: 10px;
}

.plagiarism-tool .paragraph-tool p {
  font-size: 16px;
  color: #555;
}
