:root {
  /* Colors */

  /* backgroundColor */

  --bg-dark-purple: #003168;
  --bg-russian-violet: hsla(259, 61%, 14%, 1);
  --bg-vivid-violet: hsla(273, 100%, 55%, 1);
  --bg-sunglow: hsla(43, 100%, 61%, 1);
  --bg-blue-jeans: hsla(202, 100%, 50%, 1);
  --bg-white-alpha-10: hsla(0, 0%, 100%, 0.1);

  /* Text color */
  --text-white: hsla(0, 0%, 100%, 1);
  --text-black: hsla(0, 0%, 0%, 1);
  --text-sunglow: hsla(43, 100%, 61%, 1);
  --text-white-alpha-60: hsla(0, 0%, 100%, 0.6);

  /* border-color */
  --border-blue-jeans: hsla(202, 100%, 50%, 1);
  --border-white-alpha-10: hsla(0, 0%, 100%, 0.1);

  /* Typography: 
      1. Font Size*/
  --fontFamily-open-sans: "Open Sans", sans-serif;

  --fontSize-1: 4rem;
  --fontSize-2: 3.2rem;
  --fontSize-3: 2.4rem;
  --fontSize-4: 2rem;
  --fontSize-5: 1.8rem;
  --fontSize-6: 1.6rem;
  --fontSize-7: 1.4rem;

  /* Font Weight */
  --weight-regular: 400;
  --weight-medium: 500;
  --weight-semiBold: 600;
  --weight-bold: 700;

  /* Spacing */

  --section-spacing: 100px;

  /* box-shadow */

  --shadow-1: drop-shadow(0 20px 30px hsla(0, 0%, 0%, 0.1));
  --shadow-2: drop-shadow(0 20px 30px hsla(0, 0%, 0%, 0.2));

  /* border-radius */
  --radius-24: 24px;
  --radius-40: 40px;
  --radius-pill: 500px;

  /* transition */
  --transition-1: 250ms ease;
  --transition-2: 500ms ease;
  --cubic-out: cubic-bezier(0, 1, 0.5, 1);
}

/*-----------------------------------*\
    #RESET
  \*-----------------------------------*/

*,
::before,
::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}
img {
  height: auto;
}

body {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  line-height: 2.4rem;
  padding-top: 121px; /* Adjust this value according to your header height */
}

.container {
  padding-inline: 20px;
}

.section {
  padding-block-end: var(--section-spacing);
}
.title {
  color: var(--text-white);
  line-height: 1.1;
}
.h1 {
  font-size: var(--fontSize-1);
}
.h2 {
  font-size: var(--fontSize-2);
  font-weight: var(--weight-semiBold);
}
.h3 {
  font-size: var(--fontSize-3);
  font-weight: var(--weight-regular);
}
.btn-book {
  height: 62px;
  padding-inline: 50px;
  font-weight: var(--weight-semiBold);
  border-radius: var(--radius-pill);
  color: var(--text-black);
  display: grid;
  place-content: center;
  max-width: max-content;
  transition: var(--transition-1);

}
.btn-secondary {
  color: var(--text-white);
  height: 52px;
  border: 2px solid var(--border-blue-jeans);
  padding-inline: 40px;
  margin-right: 100px;
}
@media (max-width: 768px) {
  .btn-book {
    height: 42px;
    font-size: 12px;
    padding-inline: 20px;     /* MUHIM */
    white-space: nowrap;     /* MUHIM */
    line-height: 1;          /* text pastga tushmasligi uchun */
  }

  .btn-secondary {
    height: 42px;
    padding-inline: 20px;
    margin-right: 0;
  }
}


.header {
  background: var(--bg-dark-purple);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding-block: 15px 30px;
  z-index: 4;
}
.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-left: 80px;
}

.logo {
  width: 240px;
  height: auto;
  padding: 10px;
  margin: 0 auto;
  display: block;
  transition: transform 0.3s; /* Adds a smooth transition effect */
}

.logo:hover {
  transform: scale(1.1); /* Scales the image on hover */
}

.logo-text {
  margin-left: 10px; /* Adjust the margin as needed */
  font-size: 2.8rem; /* Adjust the font size as needed */
  color: var(--text-white); /* Use the appropriate color */
}
@media (max-width: 768px) {
   .logo{
   width: 150px;
   height: auto;
   }

}

/* Container for the plan section */
.container-plan {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  background-color: #f9f9f9;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

/* Heading style */
.container-plan h2 {
  text-align: center;
  font-size: 2.5em;
  color: #002855;
  margin-bottom: 40px;
}

/* Row for the price columns */
.price-row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

/* Individual price column */
.price-col {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  width: 100%;
  max-width: 350px;
  text-align: center;
  padding: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.price-col:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

/* Plan title */
.price-col p {
  font-size: 1.5em;
  color: #002855;
  margin: 15px 0;
  font-weight: bold;
}

/* Plan price */
.price-col h3 {
  font-size: 2em;
  color: #00cfff;
  margin: 15px 0;
}

/* Buy button */
.price-col button {
  display: inline-block;
  padding: 10px 20px;
  background-color: #00cfff;
  color: #ffffff;
  border: none;
  border-radius: 5px;
  text-decoration: none;
  font-size: 1em;
  transition: background-color 0.3s ease;
  cursor: pointer;
}

.price-col button:hover {
  background-color: #009fcc;
}

/* List of plan features */
.price-col ul {
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
  text-align: left;
}

.price-col ul li {
  font-size: 1em;
  color: #333333;
  padding: 5px 0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .price-row {
    flex-direction: column;
    align-items: center;
  }
}

/* Container for the universities section */
.container-university {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
  background-color: #f9f9f9;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

/* Heading style */
.uni-heading {
  text-align: center;
  font-size: 2.5em;
  color: #002855;
  margin-bottom: 35px;
}

/* Container for the university boxes */
.box-container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

/* Individual university box */
.box {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  width: 100%;
  max-width: 350px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.box:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

/* University image container */
.box img {
  width: 100%;
  height: 200px; /* Set a fixed height for images */
  object-fit: cover; /* Ensure images fill the container while maintaining aspect ratio */
  border-bottom: 1px solid #f0f0f0;
}

/* University title */
.box h3 {
  font-size: 1.5em;
  color: #002855;
  margin: 15px 0;
}

/* University description */
.box p {
  font-size: 1em;
  color: #333333;
  padding: 0 15px;
  margin-bottom: 20px;
  flex-grow: 1; /* Ensure paragraph takes up available space */
}

/* Read more button */
.box .btn {
  display: inline-block;
  padding: 10px 20px;
  margin-bottom: 20px;
  background-color: #00cfff;
  color: #ffffff;
  border: none;
  border-radius: 5px;
  text-decoration: none;
  font-size: 1em;
  transition: background-color 0.3s ease;
}

.box .btn:hover {
  background-color: #009fcc;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .box-container {
    flex-direction: column;
    align-items: center;
  }
}

/* Footer */
.footer {
  background-color: #002855;
  color: var(--text-white);
  justify-content: center;
}
.footer-top {
  padding-block-start: var(--section-spacing);
}
.footer-top .container {
  display: grid;
  gap: 50px;
}
.footer-text {
  margin-block: 15px;
}
.social-list {
  list-style-type: none;
  padding: 0;
  display: flex;
}

.social-list li {
  margin-right: 15px; /* Adjust this value to increase or decrease the space */
}

.social-link {
  text-decoration: none;
  color: inherit;
  font-size: 24px; /* Adjust the font size as needed */
}

.footer .btn-book {
  font-size: var(--fontSize-5);
  padding-inline: 60px;
  margin-top: 40px;
}

.btn-primary {
  background-color: var(--bg-sunglow);
}
.btn-primary:is(:hover, :focus-visible) {
  background-color: var(--bg-vivid-violet);
  color: var(--text-white);
}
.footer-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.footer-list li {
  list-style: none;
}

.footer-bottom {
  padding-block: 40px;
  border-block-start: 1px solid var(--border-white-alpha-10);
}

.footer-bottom .link {
  display: inline-block;
  color: var(--text-sunglow);
}

.footer-bottom-list {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-block-start: 20px;
}

@media (min-width: 992px) {
  /* .container {
    max-width: 960px;
    padding-inline: 40px;
  } */
  .footer-top .container {
    grid-template-columns: 0.5fr 1fr;
    margin-left: 200px;
  }

  .footer-bottom .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .footer-bottom-list {
    margin-block-start: 0;
    gap: 50px;
  }
}
