/* 🌐 Global Page Styling */

body {
  background-color:   white; /*#6B4698 is being changed to white */
  color: #333;
  font-family: 'Segoe UI', Tahoma, sans-serif;
  font-size: 16px;
}

/* 🧱 Header Styling */
header {
  background-color:   #6B4698; /* Deep red */
  color: white;
  padding: 5px;
  font-family: 'Segoe UI', sans-serif;
  user-select: none;
  cursor: default;
  position: relative;
}
header:focus {
  outline: none;
}


  


/* 🧱 Footer Styling */
footer {
  background-color:   #6B4698;
  color: black;
  padding: 20px;
  font-size: 14px;
}

/* 📦 All DIV Elements */
div {
  background-color: #ffffff;
  color: #333;
  font-style: normal;
  font-size: 16px;
}

/* 🎯 Class-Based Overrides */
.w3-container {
  background-color:   #6B4698;  
  color: #FFFFFF;
  font-size: 16px;
}

.w3-card {
  background-color: #fff;
  border: 1px solid #ccc;
  color: #6B4698;
}

.w3-bar {
  background-color: #cab9df;
  color: white;
}
.w3-bar-item {
  background-color: #a285c7;
 
}

.w3-button {
  
  color: white;
 
}

/* 🎯 Custom Class: .testbtn  name should be changed to active btn */
.testbtn {
  color: white;
  font-size: 15px;
}
.testbtn.active-btn {
//  background-color: #990000; /* Your preferred active color */ 
  background-color: #6B4698;
  color: white;
}




/* 🆔 ID-Based Styling */
#myHeader {
  background-color:   #6B4698;
  color: #fff;
  font-size: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
  flex-wrap: wrap;

}

#myFooter {
  background-color:   #6B4698;
  color: #fff;
  font-size: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 10px;
  flex-wrap: wrap;

}
  .header-title {
  margin: 0;
}



  
#mySidebar {
  background-color: #111;
  color: #fff;
  font-size: 18px;
}

 #divyat, #MSANAN,  #juhi,  #INTRO, #kriti , #shridhar , #yourself  {
  background-color: #f2f2f2;
  color:   #6B4698;
  font-style: italic;
  font-size: 16px;
}


/* 🚫 Prevent blinking cursor on non-input elements */
body, div, section, header,  nav, article {
  user-select: none;
  cursor: default;
}

/* 🚫 Prevent focus outline and blinking cursor */
body *:focus {
  outline: none;
}

/* changin color of font awsome */
.ms-icon {
  color: #6B4698; /* Replace with your desired hex color */
  font-size: 80px; /* Optional: move font-size here for consistency */
}

.mail-icon {
  position: absolute;
  right: 150px; /* Distance from right edge */
  top: 50%;
  font-size: 30px;
  color: #FFFFFF; /* LinkedIn blue or your theme color */
}

.linkedin-icon {
  position: absolute;
  right: 50px; /* Distance from right edge */
  top: 50%;
  transform: translateY(-50%);
  font-size: 30px;
  color: #FFFFFF; /* LinkedIn blue or your theme color */
}

.courselisttitle {
  color: #6B4698;
  /* text-align: left !important; */
/*  padding-left: 15px; /* Adjust this value as needed */ */
}

.courseintro {
  color: #6B4698;
} 

.image-container {
  width: 100%;
  max-width: 576px; /* 6 inches ≈ 576px at 96dpi */
  margin: 0 auto;    /* center the image horizontally */
}
.responsive-image-container {
  display: flex;
  justify-content: left;  
}

.responsive-image {
  width: 90%;
  aspect-ratio: 2 / 1; /* Width:Height = 2:1 → height is 50% of width */
  object-fit: cover;
  display: block;
  
}

/* For larger screens */
@media (min-width: 992px) {
  .responsive-image {
    width: 60%;
  }
}




.profile-image {
  float: left;
  width: 1.5in;
  height: 1in;
  margin-right: 15px;
  margin-bottom: 10px;
  display: block;
}


.about-link {
  font-family: Arial, sans-serif;
  font-size: 0.7em;
  color: #ffffff; /* or a contrasting color like #00f */
  text-decoration: underline;
 // font-weight: bold;
  padding: 4px 8px;
  transition: color 0.3s ease;
}

.about-link:hover {
  color: #ffcc00; /* highlight on hover */
  text-decoration: none;
}


/* Menu in header */

/* Navbar background */
/* Base navbar styling */
/* Navbar container */
.navbar {
  background-color: var(--brand-color); /* your brand color */
  padding: 0.5rem 1rem;                 /* balanced padding */
}

/* Navbar toggler (hamburger button) */
.navbar-toggler {
  border: none;                         /* remove border */
}
.navbar-toggler-icon {
  /* Bootstrap default icon, you can override with your own SVG if desired */
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2896,26,26,1%29' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Collapsible container */
.navbar-collapse {
  justify-content: flex-end;            /* push menu items to right */
}

/* Nav list */
.navbar-nav {
  display: flex;
  gap: 0.5rem;                          /* spacing between items */
  margin: 0;
  padding: 0;
}

/* Nav items */
.navbar-nav .nav-item {
  margin: 0;
  padding: 0;
}

/* Nav links */
.navbar-nav .nav-link {
  font-size: 14px !important;           /* force 12px font size */
  color: #961A1A !important;            /* theme color */
  font-weight: 600;
  text-transform: uppercase;
  padding: 0.25rem 0.75rem;             /* compact spacing */
  line-height: 1.2;
  transition: color 0.2s ease;
}

/* Hover effect */
.navbar-nav .nav-link:hover {
  color: yellow !important;             /* hover color */
  text-decoration: underline;
}

/* Active link */
.navbar-nav .nav-link.active {
   color: #961A1A !important;   /* Bootstrap active color variable */
}

.w3-text-xyz {
  color: #6B4698;   /* sets the font color to red */
}
