/* General Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  /* Ensures padding and borders are included in element dimensions */
}

/* Body Styling */
body {
  opacity: 0;
  transition: opacity 1s ease-in-out;
  font-family: 'Poppins', sans-serif;
  background: black;
  /* Solid black background */
  color: white;
  overflow-x: hidden;
  /* Prevent horizontal scroll */
  padding-top: 80px;
  /* Add padding to prevent content from being hidden behind the sticky header */
  padding-bottom: 60px;
  /* Add padding to prevent content from being hidden behind the footer */
}

/* Header Styling */
.header {
  position: fixed;
  /* Make the header sticky */
  top: 0;
  width: 100%;
  z-index: 1000;
  /* Ensure it stays on top */
  background: rgba(0, 0, 0, 0.9);
  /* Semi-transparent black background */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  /* Subtle shadow for depth */
}

.navbar {
  padding: 15px 0;
}

.navbar-brand {
  font-size: 24px;
  font-weight: bold;
  color: white !important;
  text-transform: uppercase;
}

.navbar-nav .nav-link {
  color: white !important;
  font-size: 18px;
  font-weight: bold;
  margin: 0 15px;
  transition: color 0.3s ease, transform 0.3s ease;
}

.navbar-nav .nav-link:hover {
  color: #ff6f61 !important;
  /* Highlight color on hover */
  transform: scale(1.1);
  /* Slight scaling effect */
}

.navbar-nav {
  display: flex;
  justify-content: center;
  gap: 30px;
}

/* Text Boxes Styling */
.text-boxes {
  padding: 100px 0;
  /* Add vertical padding for spacing */
}

.text-box {
  background: rgba(255, 255, 255, 0.1);
  /* Semi-transparent background */
  border: 2px solid white;
  /* White border */
  border-radius: 10px;
  /* Rounded corners */
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
  /* Glow effect */
  transition: transform 0.3s ease;
  /* Smooth hover animation */
  padding: 30px;
  /* Padding inside the text box */
}

.text-box:hover {
  transform: translateY(-10px);
  /* Slight lift on hover */
}

.text-box h4 {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 15px;
  color: #ff6f61;
  /* Highlight color for heading */
}

.text-box p {
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 20px;
}

/* Left Textarea Styling */
.text-box textarea {
  background: white;
  /* White background */
  border: 2px solid #ccc;
  /* Light gray border */
  color: black;
  /* Black text */
  border-radius: 5px;
  /* Rounded corners */
  padding: 15px;
  /* Padding inside textarea */
  resize: none;
  /* Disable resizing */
  transition: background 0.3s ease, border-color 0.3s ease;
  /* Smooth hover effect */
  height: 300px;
  /* Fixed height */
  font-size: 16px;
  /* Larger font size */
  width: 100%;
  /* Full width */
  box-sizing: border-box;
  /* Include padding and border in height calculation */
}

.text-box textarea:focus {
  border-color: #ff6f61;
  /* Highlight border color */
  box-shadow: 0 0 10px rgba(255, 111, 97, 0.5);
  /* Glow effect on focus */
  outline: none;
  /* Remove default focus outline */
}

/* Right Code Block Styling */
.text-box pre {
  background: white;
  /* White background */
  border: 2px solid #ccc;
  /* Light gray border */
  border-radius: 5px;
  /* Rounded corners */
  padding: 15px;
  /* Padding inside pre */
  overflow-y: auto;
  /* Enable vertical scrolling if content overflows */
  height: 300px;
  /* Match the height of the textarea */
  font-size: 16px;
  /* Larger font size */
  color: black;
  /* Black text */
  margin: 0;
  /* Remove default margin */
  box-sizing: border-box;
  /* Include padding and border in height calculation */
}

/* Buttons */
.btn-custom {
  background: #ff6f61;
  /* Highlight color */
  border: none;
  color: white;
  font-size: 16px;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.3s ease;
}

.btn-custom:hover {
  background: #ff4d4d;
  /* Darker highlight color on hover */
  transform: scale(1.1);
  /* Slight scaling effect */
}

/* Footer Styling */
footer {
  background: rgba(0, 0, 0, 0.2);
  padding: 30px 0;
  position: relative;
  /* Ensure footer stays at the bottom */
  z-index: 10;
  /* Ensure it doesn't overlap content */
}

footer .container {
  display: flex;
  flex-direction: column;
}

footer .row {
  justify-content: space-between;
  align-items: center;
}

footer .col-md-6.text-start {
  font-size: 14px;
  line-height: 1.6;
}

footer .col-md-6.text-end a {
  color: white;
  text-decoration: none;
  margin: 0 10px;
  transition: color 0.3s ease;
}

footer .col-md-6.text-end a:hover {
  color: #ff6f61;
  /* Highlight color on hover */
}

footer p {
  font-size: 14px;
  margin: 10px 0;
}

.code-block {
  background-color: #1e1e1e;
  /* Dark theme like VS Code */
  color: #d4d4d4;
  /* Text color */
  padding: 10px;
  border-radius: 5px;
  border: 1px solid #555;
  min-height: 150px;
  font-family: 'Courier New', monospace;
  overflow: auto;
  white-space: pre-wrap;
}

#hero {
  background: linear-gradient(135deg, #0f172a, #1e293b);
  /* Dark blue gradient */
  color: #f8fafc;
  /* Light text */
  padding: 60px 0;
  text-align: center;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

#hero h1 {
  font-size: 2.5rem;
  font-weight: 700;
  background: linear-gradient(45deg, #38bdf8, #fbbf24);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 15px;
}

#hero p {
  font-size: 1.2rem;
  font-weight: 300;
  margin-bottom: 20px;
  color: #e2e8f0;
}

#hero ul {
  display: inline-block;
  text-align: left;
  margin: 0 auto;
  padding: 0;
}

#hero ul li {
  font-size: 1rem;
  padding: 8px 0;
  list-style: none;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 10px 15px;
  margin: 5px 0;
  transition: all 0.3s ease-in-out;
}

#hero ul li:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-3px);
}

#hero strong {
  display: block;
  font-size: 1.1rem;
  margin-top: 20px;
  color: #facc15;
}