/* Modern CodeHawke Styles - based on Squarespace inspiration */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  --base-color: #1a1a1a;
  --accent-color: #ff5a3c;
  --text-color: #333333;
  --light-text: #707070;
  --white: #ffffff;
  --light-gray: #f5f5f5;
  --gray: #b0b0b0;
  --border-radius: 8px;
  --box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
}

/* Base styles */
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--white);
  font-size: 16px;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 1rem;
  color: var(--base-color);
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.75rem;
}

h4 {
  font-size: 1.5rem;
}

h5 {
  font-size: 1.25rem;
}

h6 {
  font-size: 1rem;
}

p {
  margin-bottom: 1.5rem;
  color: var(--light-text);
}

a {
  color: var(--accent-color);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: #e64929;
}

/* Modern Navigation */
#mainNav {
  padding: 1.25rem 2rem;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: background 0.3s ease, padding 0.3s ease;
  background-color: var(--base-color);
}

#mainNav .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
}

#mainNav .navbar-brand {
  color: var(--white);
  font-weight: 600;
  font-size: 1.5rem;
  padding: 0;
  margin-right: 1rem;
  white-space: nowrap;
  text-decoration: none;
  transition: var(--transition);
  display: flex;
  align-items: center;
}

#mainNav .navbar-toggler {
  font-size: 1rem;
  padding: 0.5rem 0.7rem;
  color: var(--white);
  border: 1px solid var(--white);
  background-color: transparent;
  transition: var(--transition);
}

#mainNav .navbar-toggler:hover, 
#mainNav .navbar-toggler:focus {
  color: var(--accent-color);
  border-color: var(--accent-color);
  outline: none;
}

#mainNav .navbar-toggler .fas {
  font-size: 1.2rem;
}

#mainNav .navbar-nav {
  display: flex;
  flex-direction: row;
  padding-left: 0;
  margin-bottom: 0;
  list-style: none;
}

#mainNav .navbar-nav .nav-item {
  margin: 0 0.5rem;
  position: relative;
}

#mainNav .nav-link {
  color: var(--white);
  font-weight: 500;
  padding: 0.5rem 0.75rem;
  position: relative;
  transition: var(--transition);
  display: block;
  text-decoration: none;
}

.navbar-collapse {
  flex-basis: 100%;
  flex-grow: 1;
  align-items: center;
}

/* Fix dropdown arrow */
.dropdown-toggle::after {
  display: inline-block;
  width: 0;
  height: 0;
  margin-left: 0.255em;
  vertical-align: 0.255em;
  content: "";
  border-top: 0.3em solid;
  border-right: 0.3em solid transparent;
  border-bottom: 0;
  border-left: 0.3em solid transparent;
}

/* Override any previous after elements */
.nav-link:after {
  display: none !important;
}

/* Specifically style dropdown toggles */
.nav-item.dropdown .nav-link:after {
  display: inline-block !important;
  width: 0;
  height: 0;
  margin-left: 0.255em;
  vertical-align: 0.255em;
  content: "";
  border-top: 0.3em solid;
  border-right: 0.3em solid transparent;
  border-bottom: 0;
  border-left: 0.3em solid transparent;
}

/* Override unwanted Font Awesome icons */
.nav-link i:not(.fa):not(.fab):not(.fas):not(.far),
.dropdown-item i:not(.fa):not(.fab):not(.fas):not(.far) {
  display: none;
}

#mainNav.navbar-shrink {
  padding: 1rem 2rem;
  background: rgba(26, 26, 26, 0.95);
  backdrop-filter: blur(10px);
}

/* Navigation dropdown fixes */
.dropdown-toggle::after {
  display: inline-block;
  margin-left: 0.255em;
  vertical-align: 0.255em;
  content: "";
  border-top: 0.3em solid;
  border-right: 0.3em solid transparent;
  border-bottom: 0;
  border-left: 0.3em solid transparent;
}

.dropdown-menu {
  background-color: var(--base-color);
  border: none;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  padding: 0.75rem 0;
  min-width: 10rem;
  margin-top: 0.125rem;
  display: none;
}

.dropdown-item {
  color: var(--white);
  font-weight: 400;
  padding: 0.5rem 1.25rem;
  transition: var(--transition);
  font-size: 0.95rem;
  display: block;
  width: 100%;
  text-align: left;
  background-color: transparent;
  border: 0;
  clear: both;
  white-space: nowrap;
}

.dropdown-item:hover, 
.dropdown-item:focus {
  background-color: rgba(255, 255, 255, 0.05);
  color: var(--accent-color);
  text-decoration: none;
}

/* Override to ensure dropdown items only have orange text on hover, not orange background */
.dropdown-menu .dropdown-item:hover,
.dropdown-menu .dropdown-item:focus,
.MuiMenu-paper .MuiMenuItem-root:hover,
.MuiMenu-paper .MuiMenuItem-root:focus {
  background-color: rgba(255, 255, 255, 0.05) !important;
  color: var(--accent-color) !important;
}

/* Override active state to match our hover state */
.dropdown-menu .dropdown-item.active,
.dropdown-menu .dropdown-item:active,
.MuiMenu-paper .MuiMenuItem-root.Mui-selected,
.MuiMenu-paper .MuiMenuItem-root:active {
  color: var(--accent-color) !important;
  background-color: rgba(255, 255, 255, 0.05) !important;
  text-decoration: none;
}

.dropdown-divider {
  height: 0;
  margin: 0.5rem 0;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Fix for unexpected icons in navigation */
.navbar-nav .dropdown-toggle::after {
  border-top: 0.3em solid;
  border-right: 0.3em solid transparent;
  border-left: 0.3em solid transparent;
  vertical-align: middle;
  margin-left: 0.5em;
}

/* Fix for the icon font issue */
i.fas, i.far, i.fal, i.fad {
  font-family: "Font Awesome 5 Free", "FontAwesome";
  font-style: normal;
}

i.fab {
  font-family: "Font Awesome 5 Brands";
  font-style: normal;
  font-weight: 400;
}

i.fas {
  font-weight: 900;
}

.nav-link, .navbar-brand {
  text-decoration: none;
}

/* Ensure no unwanted icons appear */
.nav-link:before, 
.nav-link:after,
.navbar-brand:before,
.navbar-brand:after {
  display: none !important;
}

.dropdown-toggle:not(.nav-link):after {
  display: none;
}

/* Modern Hero Section */
.masthead {
  position: relative;
  width: 100%;
  height: 80vh;
  min-height: 600px;
  padding: 10rem 0;
  display: flex;
  align-items: center;
  background: linear-gradient(
      to bottom,
      rgba(26, 26, 26, 0.8) 0%,
      rgba(26, 26, 26, 0.7) 75%,
      rgba(26, 26, 26, 0.9) 100%
    ),
    url('../img/main.webp');
  background-position: center;
  background-size: cover;
  background-attachment: fixed;
  color: var(--white);
}

.masthead h1 {
  font-size: 4rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--white);
  text-transform: none;
  margin-bottom: 1.5rem;
}

.masthead h2 {
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--white);
  opacity: 0.9;
  max-width: 650px;
  margin: 0 auto 2rem;
}

/* Buttons */
.btn {
  display: inline-block;
  font-size: 0.95rem;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  padding: 0.85rem 1.75rem;
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: var(--transition);
  border: none;
  outline: none;
  line-height: 1.4;
  letter-spacing: 0.5px;
}

.btn-primary {
  background-color: var(--accent-color);
  color: var(--white);
}

.btn-primary:hover {
  background-color: #e64929;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn-secondary {
  background-color: transparent;
  color: var(--accent-color);
  border: 1px solid var(--accent-color);
}

.btn-secondary:hover {
  background-color: rgba(255, 90, 60, 0.06);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* Cards */
.card {
  background-color: var(--white);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
  border: none;
  margin-bottom: 2rem;
}

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

.card-img-top {
  width: 100%;
  height: 240px;
  object-fit: cover;
}

.card-body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.card-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--base-color);
}

.card-text {
  font-size: 1rem;
  color: var(--light-text);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex: 1;
}

/* Section styling */
.section {
  padding: 5rem 0;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.section-title p {
  font-size: 1.2rem;
  opacity: 0.85;
  max-width: 700px;
  margin: 0 auto;
}

/* Footer */
.footer {
  background-color: var(--base-color);
  color: var(--white);
  padding: 5rem 0 2rem;
  margin-top: 3rem;
  border-top: none;
}

.footer__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.footer__addr {
  flex: 0 0 30%;
  margin-right: 2rem;
}

.footer__logo {
  font-weight: 600;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  display: inline-flex;
  align-items: center;
  color: var(--white);
  text-decoration: none;
  white-space: nowrap;
}

.footer__logo .navbar-brand-logo {
  height: 30px;
  width: 30px;
  min-width: 30px;
  margin-right: 10px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  background-image: url('../img/logo/white_transparent_med.png');
  transition: var(--transition);
  display: inline-block;
  vertical-align: middle;
}

.footer__logo:hover {
  color: var(--accent-color);
}

.footer__logo:hover .navbar-brand-logo {
  background-image: url('../img/logo/tomato_transparent_med.png');
}

.footer__addr h2 {
  color: var(--white);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.footer address {
  font-style: normal;
  color: var(--gray);
  margin-bottom: 1.5rem;
  line-height: 1.6;
  font-size: 0.95rem;
}

.footer__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  margin-top: 20px;
  background-color: var(--accent-color);
  border-radius: var(--border-radius);
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  transition: var(--transition);
}

.footer__btn:hover {
  background-color: #e64929;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  color: var(--white);
  text-decoration: none;
}

.footer__nav {
  flex: 0 0 60%;
  display: flex;
  justify-content: space-between;
}

.nav__item {
  flex: 0 0 45%;
}

.nav__title {
  color: var(--white);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.nav__ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.nav__ul li {
  margin-bottom: 0.75rem;
}

.nav__ul a {
  color: var(--gray);
  text-decoration: none;
  font-size: 0.95rem;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
}

.nav__ul a i {
  margin-right: 0.75rem;
  font-size: 1.1rem;
  color: var(--accent-color);
  width: 20px;
  text-align: center;
}

/* Add support for Font Awesome 6 classes */
.nav__ul a .fa-brands {
  margin-right: 0.75rem;
  font-size: 1.1rem;
  color: var(--accent-color);
  width: 20px;
  text-align: center;
}

.nav__ul a:hover {
  color: var(--white);
}

.nav__ul--extra {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

.legal {
  flex-basis: 100%;
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  color: var(--gray);
  font-size: 0.9rem;
}

.legal p {
  margin: 0;
  color: var(--gray);
}

.legal__links {
  margin-top: 1rem;
  display: flex;
  justify-content: center;
  gap: 1.5rem;
}

.legal__links a {
  color: var(--gray);
  text-decoration: none;
}

.legal__links a:hover {
  color: var(--white);
}

/* Course styles */
.course-content {
  margin-top: 2rem;
  margin-bottom: 3rem;
  width: 100%;
  max-width: 100%;
}

/* Full width navigation for course page */
body.course .container,
body.course .container-fluid {
  max-width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  width: 100% !important;
}

body.course nav.navbar > .container,
body.course nav.navbar > .container-fluid {
  max-width: 100% !important;
  width: 100% !important;
  padding-left: 2rem !important;
  padding-right: 2rem !important;
}

/* Fix for course page layout */
body.course {
  background-color: #ffffff;
  color: var(--white) !important;
}

body.course #root,
body.course #debug-container {
  background-color: #ffffff;
  margin-bottom: 0;
  padding-bottom: 0;
}

body.course footer {
  margin-top: 0 !important;
}

/* React Course Page Specific Styling */
.main-container {
  display: flex;
  width: 100%;
  max-width: 100%;
  margin-top: 50px; /* Account for navbar height */
  min-height: calc(100vh - 72px);
  background-color: var(--base-color);
}

.main-video {
  display: flex;
  flex: 1;
  width: 100%;
  background-color: #202020;
}

.right-menu {
  flex: 0 0 350px;
  background-color: var(--base-color);
  color: var(--white);
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  overflow-y: auto;
  max-height: calc(100vh - 72px);
}

.right-menu .title {
  padding: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.right-menu .title h1 {
  font-size: 1.2rem;
  text-align: center;
  color: var(--white);
  margin: 0;
}

.right-menu .tabs {
  padding: 0;
}

/* Override MUI Tabs */
.MuiTabs-root {
  background-color: var(--base-color) !important;
  color: var(--white) !important;
}

.MuiTab-root {
  color: var(--white) !important;
}

.MuiTab-root.Mui-selected {
  color: var(--accent-color) !important;
}

.MuiTab-textColorPrimary.Mui-selected {
  color: var(--accent-color) !important;
}

.MuiTabs-indicator {
  background-color: var(--accent-color) !important;
}

.MuiAccordion-root {
  background-color: transparent !important;
  color: var(--white) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.MuiAccordionSummary-root {
  padding: 0 16px !important;
}

.MuiAccordionSummary-content {
  color: var(--white) !important;
}

.MuiAccordionDetails-root {
  padding: 0 !important;
}

/* Additional MUI styles for course page */
.MuiListItem-root {
  color: var(--white) !important;
  padding: 0.5rem 1rem !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
}

.MuiListItem-root:hover {
  background-color: rgba(255, 255, 255, 0.05) !important;
}

.MuiListItem-root.active,
.MuiListItem-root.Mui-selected {
  background-color: rgba(255, 255, 255, 0.08) !important;
}

.MuiListItemText-root {
  margin: 0 !important;
}

.MuiListItemText-primary,
.MuiListItemText-secondary {
  color: var(--white) !important;
}

.MuiAccordion-root.Mui-expanded {
  margin: 0 !important;
}

.MuiAccordionSummary-root.Mui-expanded {
  min-height: 48px !important;
}

.MuiAccordionSummary-content.Mui-expanded {
  margin: 12px 0 !important;
}

.hidden {
  display: none !important;
}

/* Support for video player in course */
.video-js {
  width: 100% !important;
  height: auto !important;
  background-color: #202020 !important;
}

.video-js .vjs-big-play-button {
  background-color: rgba(255, 90, 60, 0.8) !important;
  border-color: var(--accent-color) !important;
}

.video-js .vjs-slider-bar,
.video-js .vjs-volume-level,
.video-js .vjs-play-progress {
  background-color: var(--accent-color) !important;
}

/* Remove white space under video */
body.course video,
body.course .video-player {
  margin-bottom: 0 !important;
  background-color: #202020 !important;
}

/* Fix for course page layout */
body.course {
  background-color: #ffffff;
  color: var(--white) !important;
}

body.course #root,
body.course #debug-container {
  background-color: #ffffff;
  margin-bottom: 0;
  padding-bottom: 0;
}

body.course footer {
  margin-top: 0 !important;
}

.course-title {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

.course-page-content {
  max-width: 100%;
  margin-bottom: 2rem;
}

.price {
  font-size: 2rem;
  color: var(--accent-color);
  margin-bottom: 1.5rem;
}

.sale {
  text-decoration: line-through;
  font-size: 1.5rem;
  color: var(--light-text);
  opacity: 0.7;
}

.sale-price {
  font-size: 1rem;
  color: var(--light-text);
}

.profile-image {
  width: 100%;
  max-width: 250px;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
}

/* Video Element */
video {
  width: 100%;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
}

/* Utility classes */
.add-margin-top {
  margin-top: 2rem;
}

.add-margin-bottom {
  margin-bottom: 2rem;
}

.add-padding-top {
  padding-top: 2rem;
}

.add-padding-bottom {
  padding-bottom: 2rem;
}

/* Responsive */
@media (max-width: 991px) {
  #mainNav {
    padding: 1rem;
  }
  
  #mainNav.navbar-shrink {
    padding: 0.75rem 1rem;
  }
  
  .navbar-collapse {
    background-color: var(--base-color);
    padding: 1rem;
    max-height: 80vh;
    overflow-y: auto;
  }
  
  #mainNav .nav-link {
    padding: 0.75rem 0;
  }
  
  .masthead {
    height: auto;
    padding: 7rem 0 5rem;
    background-attachment: scroll;
  }
  
  .masthead h1 {
    font-size: 3rem;
  }
  
  .masthead h2 {
    font-size: 1.3rem;
  }
  
  .footer__container {
    flex-direction: column;
  }
  
  .footer__addr {
    flex: 0 0 100%;
    margin-right: 0;
    margin-bottom: 2rem;
  }
  
  .footer__nav {
    flex: 0 0 100%;
  }
}

@media (max-width: 767px) {
  .masthead {
    padding: 6rem 0 4rem;
  }
  
  .masthead h1 {
    font-size: 2.5rem;
  }
  
  .masthead h2 {
    font-size: 1.1rem;
  }
  
  .footer {
    padding: 3rem 0 1.5rem;
  }
  
  .footer__nav {
    flex-direction: column;
  }
  
  .nav__item {
    flex: 0 0 100%;
    margin-bottom: 2rem;
  }
  
  .nav__ul--extra {
    grid-template-columns: 100%;
  }
  
  .card-img-top {
    height: 200px;
  }
}

@media (max-width: 480px) {
  #mainNav {
    padding: 0.75rem;
  }
  
  #mainNav .navbar-brand {
    font-size: 1.25rem;
  }
  
  .masthead h1 {
    font-size: 2rem;
  }
  
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.75rem;
  }
  
  h3 {
    font-size: 1.5rem;
  }
  
  .price {
    font-size: 1.75rem;
  }
}

/* Add hover effect for nav items with higher specificity */
#mainNav .navbar-nav .nav-item .nav-link:hover,
#mainNav .navbar-dark .navbar-nav .nav-item .nav-link:hover,
#mainNav .navbar-nav .nav-link:hover {
  color: var(--accent-color) !important;
}

/* Ensure the original hover effect works */
#mainNav .nav-link:hover {
  color: var(--accent-color) !important;
}

/* Add underline effect on hover */
#mainNav .nav-link:not(.dropdown-toggle)::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent-color);
  transition: width 0.3s ease;
}

#mainNav .nav-link:not(.dropdown-toggle):hover::after {
  width: 100%;
}

/* Fix dropdown menu display */
.dropdown-menu {
  display: none;
}

.dropdown:hover .dropdown-menu,
.dropdown:focus-within .dropdown-menu {
  display: block;
}

/* Logo styling */
.navbar-logo {
  display: flex;
  align-items: center;
  transition: var(--transition);
}

/* Make both the logo and text turn orange on hover (global change) */
#mainNav .navbar-brand,
#mainNav a.navbar-brand {
  transition: color 0.3s ease;
}

#mainNav .navbar-brand:hover,
#mainNav a.navbar-brand:hover {
  color: var(--accent-color) !important;
}

/* Dark navbar logo hover (used in most pages) */
#mainNav.navbar-dark .navbar-logo:hover {
  color: var(--accent-color);
}

#mainNav.navbar-dark .navbar-logo:hover .navbar-brand {
  color: var(--accent-color) !important;
}

#mainNav.navbar-dark .navbar-logo:hover .navbar-brand-logo {
  background-image: url('../img/logo/tomato_transparent_med.png');
}

/* Light navbar logo hover (used in auth pages) */
#mainNav.navbar-light .navbar-logo {
  color: var(--base-color);
}

#mainNav.navbar-light .navbar-logo:hover {
  color: var(--accent-color);
}

#mainNav.navbar-light .navbar-logo:hover .navbar-brand {
  color: var(--accent-color) !important;
}

#mainNav.navbar-light .navbar-logo:hover .navbar-brand-logo {
  background-image: url('../img/logo/tomato_transparent_med.png');
}

.navbar-brand-logo {
  height: 40px;
  width: 40px;
  margin-right: 10px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  background-image: url('../img/logo/white_transparent_med.png');
  transition: var(--transition);
  display: inline-block;
}

/* Light navbar uses a different logo color by default */
#mainNav.navbar-light .navbar-brand-logo {
  background-image: url('../img/logo/black_transparent_med.png');
}

/* Remove the individual hover to let the parent control it */
/* .navbar-brand-logo:hover {
  background-image: url('../img/logo/tomato_transparent_med.png');
} */

/* Footer logo reference (keeping for reference) */
.footer div.logo {
  height: 90px;
  width: 125px;
  margin-left: 0;
  background: url('../img/logo/white_transparent_med.png');
  background-size: 100% 100%;
}

.footer div.logo:hover {
  background: url('../img/logo/tomato_transparent_med.png');
  cursor: pointer;
  background-size: 100% 100%;
}

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

/* Course module icons */
span.icon-play:before {
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  content: "\f04b"; /* fa-play icon */
}

span.icon-check-circle:before {
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  content: "\f058"; /* fa-check-circle icon */
}

span.icon-check-circle.completed {
  color: #4CAF50;
}

span.icon-video-camera:before {
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  content: "\f03d"; /* fa-video icon */
}

/* Fix for specific icon size issues */
span.icon-play, 
span.icon-check-circle,
span.icon-video-camera {
  display: inline-block;
  width: 20px;
  text-align: center;
}

/* Course card styles with margins */
.course-card {
  background-color: #ffffff;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  padding: 2rem;
  transition: var(--transition);
  margin: 20px;
}

/* Center premium card */
.course-details .premium-card {
  margin: 20px auto;
  max-width: 900px;
}

/* Instructor card styling */
.instructor-card {
  background-color: #ffffff;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  padding: 2rem;
  transition: var(--transition);
  margin: 20px;
}

/* Testimonial card styling */
.testimonial-card {
  background-color: #ffffff;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  padding: 2rem;
  transition: var(--transition);
  margin: 20px;
}

/* Fix row content to prevent horizontal overflow */
.row {
  margin-left: -15px;
  margin-right: -15px;
  width: auto;
}

.row > [class*="col-"] {
  padding-left: 15px;
  padding-right: 15px;
}

/* Fix horizontal scrolling */
html, body {
  overflow-x: hidden;
}

/* Premium card styling */
.premium-card {
  position: relative;
  border: 2px solid #f0f0f0;
  overflow: hidden;
}

#mainNav .nav-item .nav-link:hover {
  color: var(--accent-color) !important;
}

/* Fix the text-white override for nav links */
#mainNav .nav-link.text-white:hover,
#mainNav .navbar-nav .nav-item .nav-link.text-white:hover {
  color: var(--accent-color) !important;
}

/* Mobile Navigation Fix */
@media (max-width: 991px) {
  /* Navbar container */
  #mainNav .container {
    position: relative;
  }
  
  /* Collapsible menu */
  #mainNav .navbar-collapse {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: #1a1a1a;
    z-index: 9999;
  }
  
  /* Nav items */
  #mainNav .navbar-nav {
    flex-direction: column;
  }
  
  #mainNav .navbar-nav .nav-item {
    display: block;
    width: 100%;
    margin: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
  
  #mainNav .navbar-nav .nav-link {
    display: block;
    width: 100%;
    padding: 12px 15px;
  }
  
  /* Dropdowns */
  #mainNav .dropdown-menu {
    position: static;
    float: none;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.3);
    border: none;
    border-radius: 0;
  }
  
  #mainNav .dropdown-item {
    padding: 10px 30px;
  }
} 