/* --- Responsive and Modern Enhancements for Netwet Study --- */

/* General resets and base styles */
body {
  font-family: 'Segoe UI', 'Roboto', Arial, sans-serif;
  background: #f8f9fa;
  color: #222;
  margin: 0;
  padding: 0;
  padding-bottom: 90px; /* Adjust if footer height changes */
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Segoe UI', Arial, sans-serif;
  font-weight: 700;
}

.section-title {
  color: #4b87f8;
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

/* --- Header and Navbar Modernization (Best Desktop View) --- */
.navbar-custom, .jay1 .navbar-custom {
  background: linear-gradient(90deg, #4b87f8 60%, #1e3c72 100%);
  box-shadow: 0 2px 8px rgba(0,0,0,0.07);
  padding-top: 0.7rem;
  padding-bottom: 0.7rem;
  min-height: 70px;
}
.navbar-brand, .logo {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}
.logo-img, .headerlogo {
  height: 54px;
  width: auto;
  max-width: 160px;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(75,135,248,0.10);
  background: #fff;
  padding: 3px 12px;
}
.brand-title, .netwetstudy {
  font-size: 2rem;
  font-weight: 900;
  letter-spacing: 1.2px;
  color: #fff;
  text-shadow: 0 2px 8px rgba(30,60,114,0.10);
  margin-bottom: 0;
  margin-top: 0;
  line-height: 1.1;
}

.navbar-nav, .navbar-collapse {
  align-items: center !important;
}
.navbar-nav .nav-link, .second .nav-link {
  color: #fff !important;
  font-weight: 700;
  font-size: 1.1rem;
  padding: 0.7rem 1.2rem;
  border-radius: 10px;
  margin: 0 0.3rem;
  transition: background 0.18s, color 0.18s;
}
.navbar-nav .nav-link:hover, .second .nav-link:hover {
  background: rgba(255,255,255,0.13);
  color: #ffd700 !important;
}

.btn-outline-light, .btn-dark, .btn-all-exams {
  border-radius: 10px;
  font-weight: 700;
  font-size: 1.08rem;
  padding: 0.5rem 1.3rem;
  margin-left: 0.2rem;
  margin-right: 0.2rem;
  box-shadow: 0 1px 4px rgba(75,135,248,0.07);
}
.btn-outline-light:hover, .btn-dark:hover, .btn-all-exams:hover {
  background: #ffd700;
  color: #1e3c72 !important;
  border-color: #ffd700;
}

.search-form, .search input[type="search"], .form-control#form {
  border-radius: 10px;
  border: 1px solid #e0e6ed;
  font-size: 1.08rem;
  padding: 0.5rem 1.2rem;
  min-width: 220px;
  max-width: 340px;
  box-shadow: 0 1px 4px rgba(75,135,248,0.04);
  margin-left: 1.2rem;
}

@media (max-width: 1199.98px) {
  .brand-title, .netwetstudy { font-size: 1.5rem !important; }
  .logo-img, .headerlogo { height: 40px; max-width: 110px; }
  .navbar-nav .nav-link, .second .nav-link { font-size: 1rem; padding: 0.5rem 0.8rem; }
  .search-form, .search input[type="search"], .form-control#form { min-width: 120px; max-width: 200px; font-size: 0.98rem; margin-left: 0.5rem; }
}
@media (max-width: 991.98px) {
  .brand-title, .netwetstudy { font-size: 1.1rem !important; }
  .logo-img, .headerlogo { height: 28px; max-width: 60px; }
  .navbar-nav .nav-link, .second .nav-link { font-size: 0.95rem; padding: 0.3rem 0.5rem; }
  .search-form, .search input[type="search"], .form-control#form { min-width: 80px; max-width: 100%; font-size: 0.9rem; padding: 0.2rem 0.5rem; margin-left: 0; }
}
@media (max-width: 575.98px) {
  .brand-title, .netwetstudy { font-size: 0.9rem !important; }
  .logo-img, .headerlogo { height: 22px; max-width: 40px; }
}

.netwetstudy {
  margin-bottom: 0 !important;
  margin-top: 0 !important;
}
/* --- End Header and Navbar Modernization --- */

/* Navbar & Logo */
.navbar-custom, .jay1 .navbar-custom {
  background: linear-gradient(90deg, #4b87f8 60%, #1e3c72 100%);
  box-shadow: 0 2px 8px rgba(0,0,0,0.07);
}
.logo-img, .headerlogo {
  height: 48px;
  width: auto;
  max-width: 160px;
}
.brand-title, .netwetstudy {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: 1px;
  color: #fff;
}
@media (max-width: 991.98px) {
  .brand-title, .netwetstudy { font-size: 1.2rem !important; }
  .logo-img, .headerlogo { height: 38px; max-width: 120px; }
}
@media (max-width: 575.98px) {
  .logo-img, .headerlogo { height: 32px; max-width: 90px; }
  .brand-title, .netwetstudy { font-size: 1rem !important; }
}

/* Navbar links and icons */
.navbar-nav .nav-link, .second .nav-link {
  color: #fff !important;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.4em;
  transition: color 0.2s;
}
.navbar-nav .nav-link.active, .navbar-nav .nav-link:focus, .navbar-nav .nav-link:hover,
.second .nav-link.active, .second .nav-link:focus, .second .nav-link:hover {
  color: #ffd700 !important;
}
.btn i, .nav-link i { margin-right: 0.3em; }

/* Carousel */
.carousel-inner img {
  border-radius: 18px;
  box-shadow: 0 4px 24px rgba(75,135,248,0.08);
  object-fit: cover;
  min-height: 220px;
  max-height: 420px;
}
.carousel-caption {
  background: rgba(75,135,248,0.7);
  border-radius: 12px;
  padding: 1rem 2rem;
}
@media (max-width: 767.98px) {
  .carousel-caption { padding: 0.5rem 1rem; font-size: 0.95rem; }
  .carousel-inner img { min-height: 120px; max-height: 220px; }
}

/* Cards (Courses, Study Material, Team, etc.) */
.card, .course-card, .course-card1, .study-card, .team-card, .video-card {
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(75,135,248,0.07);
  border: none;
  transition: transform 0.18s, box-shadow 0.18s;
}
.card:hover, .course-card:hover, .course-card1:hover, .study-card:hover, .team-card:hover, .video-card:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 6px 24px rgba(75,135,248,0.13);
}
.card-img-top, .study-card img, .team-card img, .video-card img {
  border-radius: 16px 16px 0 0;
  object-fit: cover;
  min-height: 120px;
  max-height: 180px;
}

/* Responsive grid tweaks */
.row-cols-1 > .col, .row-cols-md-2 > .col, .row-cols-lg-3 > .col, .row-cols-lg-4 > .col {
  margin-bottom: 1.5rem;
}

/* Study Material */
.study-card {
  background: #fff;
  padding: 0.7rem 0.3rem 0.9rem 0.3rem;
  text-align: center;
  border-radius: 12px;
  min-height: 180px;
}
.study-card-title {
  font-size: 1rem;
  font-weight: 600;
  color: #4b87f8;
  margin-top: 0.5rem;
}

/* Team Section */
.team-card {
  background: #fff;
  padding: 1rem 0.5rem 0.5rem 0.5rem;
  text-align: center;
  border-radius: 16px;
}
.team-info h5 { color: #4b87f8; font-weight: 700; }
.team-info p { color: #555; font-size: 0.98rem; }
.social-icons a {
  color: #4b87f8;
  margin: 0 0.3em;
  font-size: 1.2rem;
  transition: color 0.2s;
}
.social-icons a:hover { color: #ffd700; }

/* Video Section */
.video-card iframe, .video-card img {
  border-radius: 12px 12px 0 0;
  width: 100%;
  min-height: 140px;
  max-height: 180px;
}
.video-name { font-size: 1rem; font-weight: 600; }

/* Branches */
.branch-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(75,135,248,0.07);
  padding: 0.7rem 1rem;
  margin-bottom: 1.2rem;
}
.branch-img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 8px;
  margin-right: 1rem;
}
.branch-title a {
  color: #4b87f8;
  font-weight: 700;
  text-decoration: none;
}
.branch-title a:hover { text-decoration: underline; color: #1e3c72; }

/* Pagination */
.pagination .page-link {
  color: #4b87f8;
  border-radius: 8px;
  margin: 0 0.2rem;
  border: none;
  font-weight: 600;
}
.pagination .page-item.active .page-link {
  background: #4b87f8;
  color: #fff;
  border: none;
}

/* Success Stories */
.success-section .card {
  background: #f4f8ff;
  border-radius: 16px;
}

/* Test Series */
.card-custom {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(75,135,248,0.07);
  border: none;
}

/* Footer */
footer, .footer {
  background: #1e3c72;
  color: #fff;
  padding: 2rem 0 1rem 0;
  text-align: center;
  font-size: 1rem;
  width: 100%;
  position: fixed;
  left: 0;
  bottom: 0;
  z-index: 100;
}

/* Utility classes */
.mt-0 { margin-top: 0 !important; }
.p-2 { padding: 1rem !important; }

/* Mobile menu styles */
#mobileMenu {
  background: #4b87f8;
  padding: 0.5rem 1rem;
  border-radius: 0 0 10px 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
#toggleMobileMenu button {
  font-size: 1.5rem;
  padding: 0.2rem 0.7rem;
}

/* Notification and offcanvas tweaks */
.notification-body img {
  max-width: 120px;
  margin-bottom: 20px;
}
@media (max-width: 575.98px) {
  .notification-body { padding: 20px 5px; }
}

/* Hide duplicate navbars on mobile */
@media (max-width: 991.98px) {
  .jay1 .navbar-custom.fixed-top { display: none; }
}
@media (min-width: 992px) {
  .jay1 .navbar-custom.fixed-top { display: flex; }
  .second { display: none !important; }
}

/* Remove inline styles and fix accessibility */
.search.ms-5 { margin-left: 0 !important; }
.d-none.d-md-flex.align-items-center { padding-right: 0 !important; }

/* end */


