/* CSS CONTENTS */
/* 
1. Nav bar
2. About 
3. Pop-Up message box / chat box.
4. Features
5. Footer
*/


/* nav bar CSS */
#navbar{
  font-family: cursive;
}


/* about CSS */

#about {
padding: 25px 40px 10px 40px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
font-size: 20px;
font-weight: 600;
background-color: #f9f9f9;
border-radius: 10px;
margin: 20px;
}
#card-body {
background-color:white;
display: flex;
align-items: center;
max-width: 100%;
text-align: left;
padding: 30px 0 0 0;
margin: 32px 0;
}   
.card-text{
color:rgb(0, 0, 0);
background-color:none;
font-size: 18px;
font-weight: 500;
}
.text-content {
flex: 1;
background: rgb(46, 120, 230);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
font-size: 18px;
line-height: 1.6;
}
.image-content {
flex: 0 0 auto;
margin-left: 20px;
}
.image-content img {
max-width: 100%;
height: auto;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
border-radius: 5px;
}

/* about Pop-up box */
.open-button {
  background-color: #433aca;
  color: white;
  padding: 0%;
  border: none;
  opacity: 70%;
  cursor: pointer;
  position: fixed;
  bottom: 50px;
  right: 50px;
  height: 50px;
  width: 70px;
  z-index: 1;
  border-radius: 100px;
  box-shadow: 0px 5px 5px #2f1111, 0px -5px 5px #210c0c, 5px 0px 5px #210c0c, -5px 0px 5px #210c0c;
}

.chat-popup {
  display: none;
  position: fixed;
  bottom: 0;
  right: 15px;
  border: 3px solid #f1f1f1;
  z-index: 9;
}

.form-container {
  max-width: 300px;
  padding: 10px;
  background-color: white;
}

.form-container textarea {
  width: 100%;
  padding: 15px;
  margin: 5px 0 22px 0;
  border: none;
  background: #f1f1f1;
  resize: none;
  min-height: 200px;
}

.form-container textarea:focus {
  background-color: #ddd;
  outline: none;
}

.form-container .btn {
  background-color: #04AA6D;
  color: white;
  padding: 16px 20px;
  border: none;
  cursor: pointer;
  width: 100%;
  margin-bottom:10px;
  opacity: 0.8;
}

.form-container .cancel {
  background-color: red;
}

.form-container .btn:hover, .open-button:hover {
  opacity: 1;
}

/* features css--------------*/
/* only here comments are added evey part to custumize bcz i was confusing very much */
#about-head {
  color: white;
  background-color: rgb(46, 120, 230);
  padding: 10px;
  font-size: 28px; /*  font size */
  font-weight: bold;
  font-family: "Noto Color Emoji";
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

#about {
  padding: 20px 30px 10px 30px; /*  padding */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  font-size: 24px; /*  font size */
  font-weight: 600;
  background-color: #f9f9f9;
  border-radius: 8px; /*  border radius */
  margin: 20px;
}

.ag-format-container {
  width: 100%; /*  width */
  max-width: 10000px; /* Constrain width */
  margin: 0 auto;
}

.ag-courses_box {
  display: flex;
  flex-wrap: wrap;
  gap: 40px; /*  gap between cards */
  padding-right: 20px; /* padding */
  padding-top: 20px;
}

.ag-courses_item {
  flex-basis: calc(25% - 10px); /* Adjusted to fit items that is boxes per row */
  margin: 0 30px 0px; /*  margins */
  border-radius: 16px; /* border radius */
  overflow: hidden;
}

.ag-courses-item_link {
  display: block;
  padding: 20px 10px; /* padding */
  background-color: #121212;
  overflow: hidden;
  position: relative;
}

.ag-courses-item_link:hover,
.ag-courses-item_link:hover .ag-courses-item_date {
  text-decoration: none;
  color: #FFF;
}

.ag-courses-item_link:hover .ag-courses-item_bg {
  transform: scale(6); /* scale on hover */
}

.ag-courses-item_title {
  min-height: 60px; /*  minimum height */
  margin: 0 0 15px; /*margin */
  overflow: hidden;
  font-weight: bold;
  font-size: 20px; /* font size */
  color: #FFF;
  z-index: 2;
  position: relative;
}

.ag-courses-item_date-box {
  font-size: 16px; /*  font size */
  color: #FFF;
  z-index: 2;
  position: relative;
}

.ag-courses-item_date {
  font-weight: bold;
  color: #f9b234;
  transition: color .5s ease;
}

.ag-courses-item_bg {  
  /* this is for upper hover */
  height: 100px; /* height */
  width: 200px; /*  width */
  background-color: #f9b234;
  z-index: 1;
  position: absolute;
  top: -50px; /* position */
  right: -50px; /* position */
  border-radius: 50%;
  transition: all .5s ease;
}

.ag-courses_item:nth-child(2n) .ag-courses-item_bg {
  background-color: #3ecd5e;
}

.ag-courses_item:nth-child(3n) .ag-courses-item_bg {
  background-color: #e44002;
}

.ag-courses_item:nth-child(4n) .ag-courses-item_bg {
  background-color: #952aff;
}

.ag-courses_item:nth-child(5n) .ag-courses-item_bg {
  background-color: #cd3e94;
}

.ag-courses_item:nth-child(6n) .ag-courses-item_bg {
  background-color: #4c49ea;
}

@media only screen and (max-width: 979px) {
  .ag-courses_item {
    flex-basis: calc(50% - 10px); /* Two items per row */
  }
  .ag-courses-item_title {
    font-size: 18px; /* Smaller font size */
  }
}

@media only screen and (max-width: 767px) {
  .ag-format-container {
    width: 96%;
  }
}

@media only screen and (max-width: 639px) {
  .ag-courses_item {
    flex-basis: 100%; /* Full width on small screens */
  }
  .ag-courses-item_title {
    min-height: 60px;
    line-height: 1;
    font-size: 18px; /* Smaller font size */
  }
  .ag-courses-item_link {
    padding: 15px 20px; /* Reduced padding */
  }
  .ag-courses-item_date-box {
    font-size: 14px; /* Smaller font size */
  }
}

/* Footer CSS---------- */

.new_footer_area {
  background: #fbfbfd;
}
.new_footer_top {
  padding: 120px 0px 270px;
  position: relative;
    overflow-x: hidden;
}
.new_footer_area .footer_bottom {
  padding-top: 5px;
  padding-bottom: 0px;
}
.footer_bottom {
  font-size: 20px;
  font-weight: 300;
  line-height: 20px;
  color: #0000;
  padding: 27px 0px;
}
.new_footer_top .company_widget p {
  font-size: 16px;
  font-weight: 300;
  line-height: 28px;
  color: #6a7695;
  margin-bottom: 20px;
}
.new_footer_top .company_widget .f_subscribe_two .btn_get {
  border-width: 1px;
  margin-top: 20px;
}
.btn_get_two:hover {
  background: transparent;
  color: #5e2ced;
}
.btn_get:hover {
  color: #fff;
  background: #6754e2;
  border-color: #6754e2;
  -webkit-box-shadow: none;
  box-shadow: none;
}
a:hover, a:focus, .btn:hover, .btn:focus, button:hover, button:focus {
  text-decoration: none;
  outline: none;
}
.new_footer_top .f_widget.about-widget .f_list li a:hover {
  color: #5e2ced;
}
.new_footer_top .f_widget.about-widget .f_list li {
  margin-bottom: 11px;
}
.f_widget.about-widget .f_list li:last-child {
  margin-bottom: 0px;
}
.f_widget.about-widget .f_list li {
  margin-bottom: 15px;
}
.f_widget.about-widget .f_list {
  margin-bottom: 0px;
}
.new_footer_top .f_social_icon a {
  width: 44px;
  height: 44px;
  line-height: 43px;
  background: transparent;
  border: 1px solid #e2e2eb;
  font-size: 24px;
}
.f_social_icon a {
  width: 50px;
  height: 50px;
  border-radius: 30%;
  font-size: 14px;
  line-height: 45px;
  color: #858da8;
  display: inline-block;
  background: #ebeef5;
  text-align: center;
  -webkit-transition: all 0.2s linear;
  -o-transition: all 0.2s linear;
  transition: all 0.2s linear;
}
.ti-facebook:before {
  content: "\e741";
}
.ti-twitter-alt:before {
  content: "\e74b";
}
.ti-vimeo-alt:before {
  content: "\e74a";
}
.ti-pinterest:before {
  content: "\e731";
}

.btn_get_two {
  -webkit-box-shadow: none;
  box-shadow: none;
  background: #5e2ced;
  border-color: #5e2ced;
  color: #fff;
}

.btn_get_two:hover {
  background: transparent;
  color: #5e2ced;
}

.new_footer_top .f_social_icon a:hover {
  background: #5e2ced;
  border-color: #5e2ced;
  color:white;
}
.new_footer_top .f_social_icon a + a {
  margin-left: 4px;
}
.new_footer_top .f-title {
  margin-bottom: 30px;
  color: #263b5e;
}
.f_600 {
  font-weight: 600;
}
.f_size_18 {
  font-size: 18px;
}
h1, h2, h3, h4, h5, h6 {
  color: #4b505e;
}
.new_footer_top .f_widget.about-widget .f_list li a {
  color: #6a7695;
}
.new_footer_top .footer_bg {
  position: absolute;
  bottom: 0;
  background: url("https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEigB8iI5tb8WSVBuVUGc9UjjB8O0708X7Fdic_4O1LT4CmLHoiwhanLXiRhe82yw0R7LgACQ2IhZaTY0hhmGi0gYp_Ynb49CVzfmXtYHUVKgXXpWvJ_oYT8cB4vzsnJLe3iCwuzj-w6PeYq_JaHmy_CoGoa6nw0FBo-2xLdOPvsLTh_fmYH2xhkaZ-OGQ/s16000/footer_bg.png") no-repeat scroll center 0;
  width: 100%;
  height: 266px;
}

.new_footer_top .footer_bg .footer_bg_one {
  background: url("https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEia0PYPxwT5ifToyP3SNZeQWfJEWrUENYA5IXM6sN5vLwAKvaJS1pQVu8mOFFUa_ET4JuHNTFAxKURFerJYHDUWXLXl1vDofYXuij45JZelYOjEFoCOn7E6Vxu0fwV7ACPzArcno1rYuVxGB7JY6G7__e4_KZW4lTYIaHSLVaVLzklZBLZnQw047oq5-Q/s16000/volks.gif") no-repeat center center;
  width: 330px;
  height: 105px;
background-size:100%;
  position: absolute;
  bottom: 0;
  left: 30%;
  -webkit-animation: myfirst 22s linear infinite;
  animation: myfirst 22s linear infinite;
}

.new_footer_top .footer_bg .footer_bg_two {
  background: url("https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhyLGwEUVwPK6Vi8xXMymsc-ZXVwLWyXhogZxbcXQYSY55REw_0D4VTQnsVzCrL7nsyjd0P7RVOI5NKJbQ75koZIalD8mqbMquP20fL3DxsWngKkOLOzoOf9sMuxlbyfkIBTsDw5WFUj-YJiI50yzgVjF8cZPHhEjkOP_PRTQXDHEq8AyWpBiJdN9SfQA/s16000/cyclist.gif") no-repeat center center;
  width: 88px;
  height: 100px;
background-size:100%;
  bottom: 0;
  left: 38%;
  position: absolute;
  -webkit-animation: myfirst 30s linear infinite;
  animation: myfirst 30s linear infinite;
}
@-moz-keyframes myfirst {
0% {
  left: -25%;
}
100% {
  left: 100%;
}
}
@-webkit-keyframes myfirst {
0% {
  left: -25%;
}
100% {
  left: 100%;
}
}
@keyframes myfirst {
0% {
  left: -25%;
}
100% {
  left: 100%;
}
}

/* ************CSS End**************** */
 
