:root {
  --primary-color: #4e54c8;
  --secondary-color: #8f94fb;
  --accent-color: #ff7e5f;
  --light-color: #f8f9fa;
  --dark-color: #343a40;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  overflow-x: hidden;
}

.navbar {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
  font-weight: 700;
  font-size: 1.8rem;
  color: white !important;
}

.nav-link {
  color: rgba(255, 255, 255, 0.9) !important;
  font-weight: 500;
  margin: 0 8px;
  transition: all 0.3s;
}

.nav-link:hover, .nav-link.active {
  color: white !important;
  transform: translateY(-2px);
}

.hero-section {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiPjxkZWZzPjxwYXR0ZXJuIGlkPSJwYXR0ZXJuIiB3aWR0aD0iNDAiIGhlaWdodD0iNDAiIHBhdHRlcm5Vbml0cz0idXNlclNwYWNlT25Vc2UiIHBhdHRlcm5UcmFuc2Zvcm09InJvdGF0ZSg0NSkiPjxyZWN0IHdpZHRoPSIyMCIgaGVpZ2h0PSIyMCIgZmlsbD0icmdiYSgyNTUsMjU1LDI1NSwwLjA1KSIvPjwvcGF0dGVybj48L2RlZnM+PHJlY3Qgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgZmlsbD0idXJsKCNwYXR0ZXJuKSIvPjwvc3ZnPg==');
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 20px;
}

.hero-subtitle {
  font-size: 1.5rem;
  margin-bottom: 30px;
  opacity: 0.9;
}

.download-btn {
  background-color: var(--accent-color);
  border: none;
  padding: 12px 30px;
  font-size: 1.2rem;
  font-weight: 600;
  border-radius: 50px;
  color: white;
  transition: all 0.3s;
  box-shadow: 0 4px 15px rgba(255, 126, 95, 0.4);
}

.download-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(255, 126, 95, 0.5);
  background-color: #ff6a4b;
  color: white;
}

.app-screenshot {
  max-width: 100%;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
  transform: perspective(1000px) rotateY(-10deg);
  transition: all 0.5s;
}

.app-screenshot:hover {
  transform: perspective(1000px) rotateY(0deg);
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 50px;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 60px;
  height: 4px;
  background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
  border-radius: 2px;
}

.feature-card {
  background-color: white;
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: all 0.3s;
  height: 100%;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.feature-icon {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.about-section {
  background-color: var(--light-color);
  padding: 100px 0;
}

.portfolio-section {
  padding: 100px 0;
  background-color: white;
}

.portfolio-slider {
  margin: 40px 0;
}

.portfolio-slide {
  padding: 0 15px;
  outline: none;
}

.portfolio-slide img {
  width: 100%;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s;
}

.portfolio-slide img:hover {
  transform: scale(1.03);
}

.contact-section {
  background-color: var(--light-color);
  padding: 100px 0;
}

.contact-info {
  background-color: white;
  padding: 40px;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  height: 100%;
}

.contact-icon {
  font-size: 1.5rem;
  color: var(--primary-color);
  margin-right: 15px;
}

.contact-form {
  background-color: white;
  padding: 40px;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.form-control {
  height: 50px;
  border-radius: 10px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  margin-bottom: 20px;
}

textarea.form-control {
  height: auto;
}

.submit-btn {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border: none;
  padding: 12px 30px;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 10px;
  color: white;
  transition: all 0.3s;
  width: 100%;
}

.submit-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(78, 84, 200, 0.3);
  color: white;
}

footer {
  background-color: var(--dark-color);
  color: white;
  padding: 50px 0 20px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: all 0.3s;
  display: block;
  margin-bottom: 10px;
}

.footer-links a:hover {
  color: white;
  transform: translateX(5px);
}

.social-icons a {
  display: inline-block;
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  color: white;
  border-radius: 50%;
  text-align: center;
  line-height: 40px;
  margin-right: 10px;
  transition: all 0.3s;
}

.social-icons a:hover {
  background-color: var(--accent-color);
  transform: translateY(-5px);
}

.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: 0 5px 20px rgba(78, 84, 200, 0.3);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
  z-index: 999;
}

.back-to-top.active {
  opacity: 1;
  visibility: visible;
}

@media (max-width: 992px) {
  .hero-title {
      font-size: 2.8rem;
  }
  
  .hero-subtitle {
      font-size: 1.2rem;
  }
}

@media (max-width: 768px) {
  .hero-title {
      font-size: 2.2rem;
  }
  
  .section-title {
      font-size: 2rem;
  }
  
  .hero-section, .about-section, .portfolio-section, .contact-section {
      padding: 70px 0;
  }
  
  .navbar-nav {height: 100vh; overflow-y: auto;}
}

@media (max-width: 576px) {
  .hero-title {
      font-size: 1.8rem;
  }
  
  .hero-subtitle {
      font-size: 1rem;
  }
  
  .download-btn {
      padding: 10px 25px;
      font-size: 1rem;
  }
}

/* Custom hover effects with #110af4 color */
.navbar-dark .navbar-nav .nav-item:hover .nav-link,
.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link:focus {
color: #110af4 !important;
background-color: rgba(255, 255, 255, 0.1);
}

.navbar-dark .dropdown-item:hover,
.navbar-dark .dropdown-item:focus {
color: #ffffff !important;
background-color: #110af4 !important;
}

/* Add this hover effect CSS without changing anything else */
.navbar-dark .navbar-nav .nav-item:hover .nav-link:not(.dropdown-toggle),
.navbar-dark .navbar-nav .nav-link:not(.dropdown-toggle):hover,
.navbar-dark .navbar-nav .nav-link:not(.dropdown-toggle):focus {
color: #4d6bfe !important;
}

.navbar-dark .dropdown-item:hover,
.navbar-dark .dropdown-item:focus {
color: #ffffff !important;
background-color: #4d6bfe !important;
}

.navbar-dark .dropdown-toggle:hover {
color: #4d6bfe !important;
}
/* Add this hover effect CSS without changing anything else */
.navbar-dark .navbar-nav .nav-item:hover .nav-link:not(.dropdown-toggle),
.navbar-dark .navbar-nav .nav-link:not(.dropdown-toggle):hover,
.navbar-dark .navbar-nav .nav-link:not(.dropdown-toggle):focus {
color: #4d6bfe !important;
}

.navbar-dark .dropdown-item:hover,
.navbar-dark .dropdown-item:focus {
color: #ffffff !important;
background-color: #4d6bfe !important;
}

.navbar-dark .dropdown-toggle:hover {
color: #4d6bfe !important;
}


/* Idioms Specific Styles */
.idiom-card {
  background: white;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  overflow: hidden;
  margin-bottom: 30px;
  height: calc(100% - 30px);
  transition: all 0.3s;
}

.idiom-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.idiom-image {
  height: 400px;
  object-fit: cover;
  width: 100%;
  object-position: bottom;
}

.idiom-body {
  padding: 20px;
}

.idiom-title {
  color: var(--primary-color);
  font-weight: 700;
  margin-bottom: 15px;
}

.language-tabs .nav-link {
  color: var(--dark-color) !important;
  font-weight: 600;
  border: none;
  padding: 10px 20px;
}

.language-tabs .nav-link.active {
  color: white !important;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border-radius: 50px;
}

.tab-content {
  padding: 20px 0;
}

/* Video Gallery */
.video-gallery {
  margin: 40px 0;
}

.video-item {
  padding: 0 15px;
  outline: none;
}

.video-thumbnail {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  margin-bottom: 15px;
}

.video-thumbnail img {
  width: 100%;
  transition: all 0.3s;
}

.video-thumbnail:hover img {
  transform: scale(1.05);
}

.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  background-color: rgba(255,255,255,0.8);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  font-size: 24px;
  transition: all 0.3s;
}

.video-thumbnail:hover .play-button {
  background-color: var(--accent-color);
  color: white;
}

/* Practice Section */
.practice-section {
  background-color: var(--light-color);
  padding: 60px 0;
  border-radius: 15px;
  margin: 40px 0;
}

.quiz-card {
  background: white;
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  margin-bottom: 20px;
}

.quiz-question {
  font-weight: 600;
  margin-bottom: 20px;
}

.quiz-option {
  padding: 10px 15px;
  margin-bottom: 10px;
  border-radius: 8px;
  background-color: rgba(0,0,0,0.03);
  cursor: pointer;
  transition: all 0.3s;
}

.quiz-option:hover {
  background-color: rgba(78, 84, 200, 0.1);
}

.quiz-option.correct {
  background-color: #d4edda;
  color: #155724;
}

.quiz-option.incorrect {
  background-color: #f8d7da;
  color: #721c24;
}




/*/Modal/*/
.new_modal {position: fixed; height: 100vh; width: 100%; left: 0; top: 0; overflow: hidden; display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-align: center; -ms-flex-align: center; align-items: center; -webkit-box-pack: center; -ms-flex-pack: center; justify-content: center; background-color: #0000005c; z-index: 9999; visibility: hidden;}
.new_modal .modal_content {max-height: 100vh; overflow: hidden; overflow-x: hidden; background-color: #fff; border-radius: 3px; -webkit-transform: scale(0.2); -ms-transform: scale(0.2); transform: scale(0.2); opacity: 0; -webkit-transition: all 0.5s; -o-transition: all 0.5s; transition: all 0.5s;}
.modal_open {visibility: visible;}
.modal_open .modal_content {-webkit-transform: scale(1.0);-ms-transform: scale(1.0);transform: scale(1.0); opacity: 1;}

.new_modal .mw_auto {width: auto;}
.new_modal .mw_320 {min-width: 320px; max-width: 320px;}
.new_modal .mw_400 {min-width: 320px; max-width: 400px;}
.new_modal .mw_500 {min-width: 320px; max-width: 500px;}
.new_modal .mw_600 {min-width: 320px; max-width: 600px;}
.new_modal .mw_700 {min-width: 320px; max-width: 700px;}
.new_modal .mw_1000 {min-width: 320px; max-width: 1000px;}
.new_modal .w_320 {min-width: 320px; width: 320px;}
.new_modal .w_400 {min-width: 320px; width: 400px;}
.new_modal .w_500 {min-width: 320px; width: 500px;}
.new_modal .w_600 {min-width: 320px; width: 600px;}
.new_modal .w_700 {min-width: 320px; width: 700px;}
.new_modal .w_800 {min-width: 320px; width: 800px;}
.new_modal .w_900 {min-width: 320px; width: 900px;}
.new_modal .w_1000 {min-width: 320px; width: 1000px;}
.new_modal .w_fit {min-width: 320px; width: 100%;}
.new_modal .mh_auto {min-height: 100px; height: auto;}
.new_modal .mh_fit {height: 100vh;}

.new_modal .modal_head {display: -webkit-box;display: -ms-flexbox;display: flex; -webkit-box-align: center; -ms-flex-align: center; align-items: center; -webkit-box-pack: justify; -ms-flex-pack: justify; justify-content: space-between; height: 59px; background-color: #fff; border-bottom: 1px solid #ddd;}
.new_modal .modal_head h6, .new_modal .modal_head i {padding: 15px; color: #39363a; font-weight: bold;}
.new_modal .modal_head i {cursor: pointer;}
.new_modal .modal_body {max-height: calc(100vh - 120px); min-height: 100px; padding: 20px 15px 25px; overflow-y: auto;}
.new_modal .mh_fit .modal_body {height: 100vh !important;}
.new_modal .modal_footer {padding: 5px 15px; height: 60px; background-color: #eee; display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-align: center; -ms-flex-align: center; align-items: center; -webkit-box-pack: end; -ms-flex-pack: end; justify-content: end; grid-gap: 5px;}

.new_modal .input_flex {border: 1px solid #aaa;}
.new_modal .input_flex span {padding: 0 4px 0 10px;}
.new_modal .input_flex input {color: #111; width: 100%; border: none; padding: 21px 12px 4px; font-size: 15px; background-color: #f9f9f9c7;}
.new_modal .input_flex textarea {color: #111; width: 100%; border: none; padding: 21px 12px 4px; font-size: 15px; background-color: #f9f9f9c7;}
.new_modal .input_flex select {color: #111; width: 100%; border: none; padding: 21px 8px 6px; font-size: 15px; background-color: #f9f9f9c7;}
.new_modal .modal_footer button {padding: 13px 25px;}

@media only screen and (max-width:768px) {
	.new_modal {background-color: #fff; align-items: inherit;}
	.new_modal .modal_content {height: 100vh;}

  .section-title::after {left: calc(50% - 30px); bottom: -25px;}
  .section-title + h4 {text-align: center;}
}
/*/Modla Ends/*/












