/* CSS Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: #212529;
  background-color: #fff;
}

main {
  display: block;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin-top: 0;
  margin-bottom: 0.5rem;
  font-weight: 500;
  line-height: 1.2;
}

p {
  margin-top: 0;
  margin-bottom: 1rem;
}

ul,
ol {
  margin-top: 0;
  margin-bottom: 1rem;
  padding-left: 2rem;
}

li {
  margin-bottom: 0.25rem;
}

a {
  color: #3d3a6f;
  text-decoration: none;
  background-color: transparent;
}

a:hover {
  color: #0056b3;
  text-decoration: underline;
}

img {
  border-style: none;
  max-width: 100%;
  height: auto;
}

button,
input,
optgroup,
select,
textarea {
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  margin: 0;
}

button,
input {
  overflow: visible;
}

button,
select {
  text-transform: none;
}

button,
[type="button"],
[type="reset"],
[type="submit"] {
  -webkit-appearance: button;
}

button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

/* Custom Styles */
body {
  font-family: "Poppins";
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  min-height: 100vh;
}

.navbar {
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.navbar-brand {
  color: #2c3e50 !important;
  font-weight: 600;
  transition: color 0.3s ease;
}

.navbar-brand:hover {
  color: #3d3a6f !important;
}

.navbar-brand img {
  height: 60px !important;
  width: auto;
  max-width: none;
}

.nav-link {
  color: #495057 !important;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
}

.nav-link:hover {
  color: #3d3a6f !important;
  transform: translateY(-1px);
}

.nav-link.active {
  color: #3d3a6f !important;
  font-weight: 600;
}

.nav-link.active::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 2px;
  background: #3d3a6f;
  border-radius: 2px;
}

.cover-container {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  margin: 2rem auto;
}

.cover-heading {
  background: linear-gradient(135deg, #272286, #191665);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.lead {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #495057;
}

section {
  background: rgba(255, 255, 255, 0.8);
  border-radius: 15px;
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}

section:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

section h4 {
  color: #2c3e50;
  font-weight: 600;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.5rem;
}


section h4::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 70px;
    height: 3px;
    background: linear-gradient(135deg, #2196F3, #191665);
    border-radius: 2px;
}

section h5 {
  color: #495057;
  font-weight: 600;
  margin-top: 1.5rem;
  margin-bottom: 1rem;
}

.btn {
  border-radius: 25px;
  padding: 0.75rem 2rem;
  font-weight: 500;
  transition: all 0.3s ease;
  border: none;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: left 0.5s;
}

.btn:hover::before {
  left: 100%;
}

.btn-outline-primary {
  border: 2px solid #3d3a6f;
  color: #3d3a6f;
  background: transparent;
}

.btn-outline-primary:hover {
  background: #3d3a6f;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 123, 255, 0.3);
}

.btn-sm {
  padding: 0.5rem 1.5rem;
  font-size: 0.875rem;
}

.img-fluid {
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease;
}

.img-fluid:hover {
  transform: scale(1.02);
}

.mastfoot {
    background: linear-gradient(135deg, #514e96, #282389) !important;
    border-radius: 20px 20px 0 0;
    margin-top: 3rem !important;
}


iframe {
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

ul {
  padding-left: 1.5rem;
}

li {
  margin-bottom: 0.75rem;
  position: relative;
}

li::marker {
  color: #3d3a6f;
}

.inner {
  position: relative;
}

/* Responsive Design */
@media (max-width: 768px) {
  .cover-container {
    margin: 1rem;
    padding: 2rem !important;
  }

  section {
    padding: 1.5rem;
    margin-bottom: 1.5rem;
  }

  .navbar-nav .nav-item {
    margin-right: 0 !important;
    margin-bottom: 0.5rem;
  }
}

/* Print Styles */
@media print {
  .navbar {
    display: none;
  }

  .cover-container {
    box-shadow: none;
    border: 1px solid #ddd;
  }

  .btn {
    border: 1px solid #000;
    background: transparent !important;
    color: #000 !important;
  }
}
