/* Root Variables for Colors */
:root {
  --primary-color: #0f4c8f;
  --accent-color: #d92f3d;
  --sub-text-color: #252525;
  --muted-text-color: #b6b6b6;
  --border-color: #012f62;
  --hr-color: #003471;
  --text-color-white: white;
  --background-color-red: #d64545;
  --background-color-light-gray: #efefef;
  --success-color: #1eac87;
  --table-head: #dbe4ee;
  --list-disc: #d72437;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

/* Container to set max-width */
.container {
  max-width: 1200px;
  margin: 0 auto;
}

/* --------------------- All Common Styles --------------------- */

/* For card's  Select */
.common-select-blue {
  color: var(--primary-color);
}

/* For card's dropdpwn color blue */
.common-dropdown-blue {
  border: 1px solid var(--primary-color);
  color: var(--primary-color);
}

/* For card's dropdpwn color while */
.common-dropdown-white {
  border: 1px solid var(--text-color-white);
  color: var(--text-color-white);
}

/* Dropdown styling */
.common-dropdown {
  font-weight: 500;
  padding: 10px 0;
  font-size: 24px;
  border-radius: 6px;
  background: transparent;
  cursor: pointer;
}

/* Dropdown option color fix */
.common-dropdown option {
  color: black;
}

/* for spacing in card vertical */
.common-part2 {
  flex-grow: 1;
}

/* All table's and card's Head styles */
.common-header {
  display: flex;
  justify-content: center;
  background-color: var(--background-color-red);
  color: var(--text-color-white);
  text-align: center;
  width: 60%;
  padding: 10px;
  margin: 70px auto 0 auto;
}

/* commen classes */
.common-container {
  margin: 20px 0;
  overflow-x: auto;
  border: 1px solid #000000;
  border-radius: 12px;
  box-shadow: 8px 12px 15px 0px rgba(0, 0, 0, 0.2);
}

/* Common Button styling */
.common-btn {
  background-color: var(--primary-color);
  color: white;
  padding: 10px 0px;
  min-width: 190px;
  margin: 15px 10px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  box-shadow: 0 4 4 0 rgba(0, 0, 0, 0.1);
}

/*------------- All Table's styles------------ */
table {
  width: 100%;
  border-collapse: collapse;
}

td {
  font-size: 24px;
  padding: 12px 0px;
  text-align: center;
  border: 1px solid var(--muted-text-color);
}

th {
  background-color: var(--primary-color);
  color: var(--text-color-white);
  text-align: center;
  border: 1px solid var(--muted-text-color);
}

/* Remove border */
th:last-child {
  border-right: none;
}

th {
  border-top: none;
}

table th,
td:first-child {
  border-left: none;
}

table td:last-child {
  border-right: none;
}

table tr:last-child td {
  border-bottom: none;
}

/* remove default styling */
p {
  margin: 0;
}

a {
  text-decoration: none;
}

button {
  cursor: pointer;
}

/*--------- Navigation Links ----------------------- */

.navbar-nav .nav-link {
  color: var(--border-color);
  font-size: 22px;
}

.navbar-nav .nav-link:hover {
  color: var(--accent-color);
}

.navbar-nav .contact-link {
  margin: 0 30px;
}

/* Dropdown Menu Styling */
.dropdown-menu {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.dropdown:hover .dropdown-menu {
  display: block;
}

.dropdown-item {
  color: var(--primary-color) !important;
  font-size: 18px;
}

.dropdown-item:hover {
  color: var(--accent-color) !important;
  background-color: var(--background-color-light-blue);
}

/* Login Button Styling */
.login-btn {
  padding: 10px 50px;
  background-color: var(--border-color) !important;
  color: var(--text-color-white) !important;
  font-size: 16px;
  transition: background-color 0.3s ease;
}

.login-btn:hover {
  background-color: var(--primary-color) !important;
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 0.1rem var(--border-color);
}


/*-----------------Banner Styling ------------------ */

h1 {
  text-align: center;
  font-weight: bold;
  padding: 15px 0;
  background-color: var(--border-color);
  color: var(--text-color-white);
  font-size: clamp(23px, 3vw, 40px);
}

.banner {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.banner-p1 {
  font-weight: 600;
  color: var(--accent-color);
  font-size: clamp(15px, 3vw, 40px);
}

.banner-p2 {
  font-weight: 500;
  padding: 5px 100px;
  background: var(--background-color-white);
  border: 1.5px solid var(--border-color);
  color: var(--primary-color);
  font-size: clamp(12px, 2vw, 24px);
}


/*--------------- Couses navbar Styling---------------- */
.course-nav .nav-link {
  color: var(--muted-text-color);
  border-bottom: 3px solid var(--muted-text-color);
  font-size: 22px;
  margin: 0 15px;
}

.course-nav-ul {
  justify-content: center;
  flex-wrap: wrap;
}

.course-nav .nav-item.active .nav-link {
  color: var(--primary-color);
  border-bottom: 3px solid var(--primary-color);
}

/* ------------------ section1 styling---------------- */
.section1-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

/* Plan's styling */
.plan {
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  background: var(--background-color-white);
  box-shadow: 8px 12px 15px 0px rgba(0, 0, 0, 0.2);
}

/* Last plan card bg-color  */
.section1-container .plan:last-child {
  background-color: var(--background-color-light-gray);
}

/* Styling for the plan card */
.plan-card {
  background-color: var(--primary-color);
  color: var(--text-color-white);
  text-align: center;
  border: 1px solid var(--primary-color);
  border-radius: 11px 11px 0 0;
  font-weight: bold;
}

.plan-card label {
  font-size: 48px;
}

.plan-select {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
}

.plan-price {
  font-size: 52px;
  font-weight: bold;
  margin: 0;
}

/* Separators for list's in plan */
hr {
  background-color: var(--secondary-color);
  margin: 5px 55px;
}

/* Feature list styling */
.features {
  list-style: none;
  padding: 10px 0;
  background: var(--background-color-white);
}

/* Feature list items */
.features li {
  padding: 8px 8px;
  font-size: 24px;
  font-weight: bold;
  display: flex;
  justify-content: center;
  text-align: center;
  align-items: center;
  color: var(--sub-text-color);
}

/* Additional feature text */
.features .features-p {
  font-size: 15px;
  font-weight: normal;
  margin: 0;
  line-height: 2;
}

/* List icons styling */
.list-item {
  gap: 5px;
}

/* Icon styling Size */
ul li .icon {
  width: 30px;
  height: 30px;
}

/* Styling for the "Free" text inside .list-item-li6 */
.features .list-item-li6 {
  display: flex;
  flex-direction: column;
}

.features .list-item-li6 .free-text {
  color: #1eac87;
  font-weight: bold;
}

.features .list-item .list-item-l1 {
  font-size: 32px;
}

/* plan sub text  */
ul .sub-text {
  display: flex;
  justify-content: center;
}

/*  plan a and p tag spacing */
.sub-text a,
p {
  margin: 10px;
}

ul .sub-text .sub-text-a {
  text-decoration: none;
  color: var(--sub-text-color);
}

/* Sub text icons */
.sub-text .inner-icons {
  width: 20px;
  height: 20px;
  margin: 10px 0;
}

/* Sub text font size */
.list-24 {
  font-size: 24px;
}

/* Sign-up button styling */
.signup {
  background: var(--primary-color);
  color: var(--text-color-white);
  padding: 5px 80px;
  margin: 20px 0;
  border: none;
  font-size: 24px;
  border-radius: 8px;
}

/* Hover effect for sign-up button */
.signup:hover {
  background: var(--hr-color);
}

/*------------- notice-container styling ------------ */
.notice-container {
  margin: 25px 0;
  line-height: 2;
  text-align: center;
  font-size: 16px;
  font-weight: 500;
}

.red-text {
  color: var(--background-color-red);
}

.normal-text {
  color: var(--sub-text-color);
}

.blue-text {
  color: var(--border-color);
  font-weight: bold;
  text-decoration: none;
}

.blue-text-p {
  color: var(--primary-color);
}

.blue-text:hover {
  text-decoration: underline;
}

.highlight {
  color: var(--accent-color);
}

/*-------------- Mock Test wrting styling ------------- */

.mock-header-footer label {
  font-size: 48px;
}

.mock-price {
  font-size: 50px;
}

/* mock table first column styling */
.first-col td:first-child {
  text-align: left;
  padding-left: 20px;
}

#Mock-Tests table td {
  font-weight: 500;
}

/* mock table last column styling */
.first-col td:last-child {
  background-color: var(--background-color-light-gray);
}

.book-btn:hover {
  background-color: var(--hr-color);
}

/*-------------- writing table styling ------------ */
.Writing-head-label {
  font-size: 30px;
}

.Writing-head-label2_price {
  font-size: 24px;
}

.Writing-table td {
  font-size: 20px;
}

/*--------------- Listening stylig ------------- */
.Listening-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-top: 20px;
  gap: 20px;
}

.Listening-card {
  min-width: 350px;
  flex: 1;
  display: flex;
  flex-direction: column;
  text-align: center;
  border-radius: 12px;
  border: 1px solid var(--sub-text-color);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.Listening-container .Listening-card:last-child {
  background-color: var(--background-color-light-gray);
}

.Listening-head {
  background: var(--primary-color);
  color: var(--text-color-white);
  border-radius: 11px 11px 0 0;
  font-size: 48px;
}

.Listening-head-p1 {
  font-size: 31px;
  padding: 25px 0 0 0;
}

.Listening-head-p {
  line-height: 2;
  font-size: 20px;
}

.Listening-head-p-icon {
  width: 13px;
  height: 16px;
}

/* Separator line between features */
.Listening-card hr {
  height: 1px;
  margin: 5px 70px;
  background-color: var(--muted-text-color);
}

.last-hr {
  opacity: 0.5;
}

.Listening-btn {
  background: var(--primary-color);
  color: white;
  border: none;
  padding: 8px 0;
  border-radius: 8px;
  cursor: pointer;
  width: 70%;
  font-size: 24px;
  margin: 15px 0;
}

.Listening-btn:hover {
  background: var(--border-color);
}

/*----------------- Speaking table styling ------------- */
.speaking-table th {
  font-size: 40px;
  padding: 12px 20px;
}

.speaking-table td:first-child {
  text-align: left;
  font-size: 20px;
  padding: 0 10px 0 20px;
  font-weight: normal;
}

.speaking-table td:nth-child(2) {
  color: var(--background-color-red);
  font-size: 32px;
  font-weight: normal;
}

.speaking-table td:nth-child(3) {
  font-size: 22px;
  font-weight: normal;
}

/*-------- Bulk IELTS Writing Correction Packages-------- */
.Bulk-IELTS-table td,
tr {
  font-size: 22px;
  font-weight: normal;
}

.group-color-tr {
  background-color: var(--background-color-light-gray);
}

.Bulk-IELTS-table th {
  background-color: var(--table-head);
  color: #333333;
  padding: 10px;
}

.Bulk-IELTS-h1 {
  background-color: var(--background-color-red);
  color: var(--text-color-white);
  padding: 10px;
}

.Bulk-IELTS-h2 {
  background-color: var(--primary-color);
  color: var(--text-color-white);
}

.Bulk-IELTS-table button {
  margin: 5px 10px;
  font-size: 16px;
  color: var(--text-color-white);
  border: none;
  border-radius: 8px;
  width: 128px;
  height: 40px;
  background-color: var(--primary-color);
}

/*--------------------- Terms Section --------------------- */
.terms-container {
  margin: 40px 0;
}

.terms-title {
  font-size: 24px;
  font-weight: bold;
  color: var(--primary-color);
}

.terms-list li::marker {
  color: var(--list-disc);
  font-size: 30px;
}

/*------------------- Media Queries for Responsive Design ------------ */

@media (min-width: 769px) {
  .plan,
  .Listening-card
  {
    width: calc(50% - 20px);
    margin: 30px 10px;
  }

  .section1-container {
    justify-content: center;
    gap: 4;
  }
}

/* Larger Screens: Show three in a row */
@media (min-width: 1192px) {
  .plan,
  .Listening-card
   {
    width: calc(33.33% - 20px);
  }
}

@media screen and (max-width: 1024px) {
  /*  Navigation styling */
  .login-btn {
    padding: 10px 30px;
    font-size: 14px;
  }

  .navbar-nav .nav-link {
    font-size: 18px;
  }

  /* table first col styling */
  table td:first-child {
    padding: 15px;
  }

  td {
    font-size: 22px;
  }

  /* mock table styling */
  .mock-header-footer label {
    font-size: 28px;
  }

  .mock-price {
    font-size: 30px;
    padding: 5px;
  }

  /* Writing table styling */
  .Writing-head-label {
    font-size: 25px;
  }

  .Writing-head-label2_price {
    font-size: 20px;
  }

  /* Listening table styling */
  .Listening-head p {
    font-size: 35px;
  }

  .Listening-head-p1 {
    font-size: 30px;
  }

  .Listening-head-p {
    line-height: 2;
    font-size: 15px;
  }

  .Listening-btn {
    font-size: 15px;
  }

  /* spwaking table styling */
  .speaking-table th {
    font-size: 30px;
  }
}

@media screen and (max-width: 900px) {
  /*  Navigation styling */
  .login-btn {
    width: 100px;
    height: 35px;
    font-size: 12px;
  }

  .navbar-nav .nav-link {
    font-size: 16px;
  }

  .navbar-nav .contact-link {
    margin: 0 0px;
  }

  /* Section1 styling */
  .plan {
    margin-bottom: 30px;
  }

  /* Nitice container styling */
  .notice-container {
    font-size: 14px;
  }
}

@media screen and (max-width: 767px) {
  /*  Navigation styling */
  .navbar-nav .nav-item {
    margin: 5px 0;
  }

  .navbar-nav .nav-link {
    border-bottom: 2px solid var(--muted-text-color);
  }

  .dropdown-menu {
    border: none;
    box-shadow: none;
    padding-left: 20px;
    text-align: left;
  }

  /* login btn styling */
  .login-btn {
    margin-top: 10px;
  }

  /* banner styling */
  .banner-p2 {
    padding: 5px 20px;
  }

  /* Courses styling */
  .course-nav .nav-link {
    font-size: 16px;
  }

  /* section1 styling */
  .section1-container,.Listening-container {
    justify-content: center;
    flex-direction: column;
  }

  .plan-card {
    padding: 10px;
  }

  /* Notice styling */
  .notice-container {
    font-size: 12px;
  }

  /* Common Header styling */
  .common-header {
    font-size: 20px;
  }
}

@media screen and (max-width: 425px) {
  /* courses styling */
  .course-nav .nav-link {
    font-size: 13px;
    margin: 5px 5px;
  }

  /* Commpn dropdown */
  .common-dropdown {
    font-size: 18px;
    padding: 5px;
  }

  /*section1 styling */
  .section1 {
    margin: 10px 5px;
  }

  .plan-card label {
    font-size: 30px;
  }

  .plan-price {
    font-size: 34px;
  }

  .features .list-item .list-item-l1 {
    font-size: 22px;
  }

  .features .features-p {
    font-size: 12px;
    line-height: 2;
  }

  .features li {
    font-size: 18px;
    padding: 0;
  }

  .sub-text {
    margin: 0 !important;
  }

  .sub-text a,
  p {
    margin: 5px 0;
  }

  .sub-text .inner-icons {
    margin: 5px;
  }

  .signup {
    font-size: 20px;
    padding: 5px 60px;
  }

  /* table styling */
  table td:first-child {
    padding: 5px;
  }

  td {
    font-size: 16px;
    padding: 0;
  }

  /* commmon btn styling */
  .common-btn {
    min-width: 100px;
    font-size: 15px;
  }

  /* table styling */
  .mock-header-footer label {
    font-size: 20px;
  }

  .mock-cross {
    width: 25px;
    height: auto;
  }

  .mock-price {
    font-size: 20px;
    padding: 5px;
  }

  .mock-header-footer {
    margin: 10px 0;
  }

  /* Writing styling  */
  .Writing-head-label {
    font-size: 22px;
  }

  .Writing-head-label2_price {
    font-size: 13px;
  }

  .Writing-table td {
    font-size: 15px;
  }

  .Writing-table .writing-btn {
    margin: 20px 10px;
  }

  .first-col td:first-child {
    font-size: 14px;
  }

  /* Listening & Reading styling */
  .Listening-container {
    flex-direction: column;
    align-items: center;
  }

  .Listening-card {
    width: 100%;    
    min-width: 0px;
  }

  .Listening-head p {
    font-size: 30px;
  }

  .Listening-head-p1 {
    font-size: 25px;
    padding: 15px 0 0 0;
  }

  .Listening-head-p {
    line-height: 2;
    font-size: 15px;
  }

  .Listening-btn {
    font-size: 15px;
  }

  /* speaking table styling */
  .speaking-table th {
    font-size: 25px;
  }

  .speaking-table td:nth-child(2) {
    font-size: 20px;
  }

  /* IELTS table styling */
  .Bulk-IELTS-table th {
    font-size: 15px;
  }

  .Bulk-IELTS-table td {
    font-size: 15px;
  }
}
