/*START: GENERAL*/
body {
  font-family: Arial, sans-serif;
  background-color: #f8f9fa;
  text-align: center;
  margin: 0;
  padding: 0;
}

.container {
  max-width: 90%;
  margin: 20px auto;
  padding: 20px;
  border-radius: 5px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

h1, h5 {
  text-align: center;
  color: #333;
}

a {
  color: #007BFF;
  font-size: 18px;
}


td, thead {
   text-align: center;   
}

td, th {
    vertical-align: middle;   
    text-align: center;
    padding: 10px;
}

.table-striped tbody tr {
    height: 50px; /* Ensure minimum row height for better appearance */
}

label {
    display: block;
    margin-bottom: 5px;
}

input[type="text"],
input[type="number"] {
    width: 97%;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

input[type="submit"] {
    background-color: #007BFF;
    color: #fff;
    padding: 10px 15px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    width: 100%;
}

input[type="submit"]:hover {
    background-color: #0056b3;
}

.ul-div {
    margin: 10px;
}

ul, li, label {
  text-align: center;
}

/* Section Header Styling */
h2.display-5 {
    font-weight: 700;
    letter-spacing: 1.5px;
    color: #343a40;
    margin-bottom: 30px;
    text-transform: uppercase;
}

/* Service Card Styling */
.service-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

/* Service Card Titles */
.blog-image {
    height: 250px;
    width: 100%;
    object-fit: cover;
}

.card-title {
    font-weight: bold;
    font-size: 1.25rem;
}

.card-text {
    color: #6c757d;
    line-height: 1.6;
}

/* Button Styles */
.btn-outline-primary {
    border-radius: 50px;
    padding: 10px 20px;
}

.btn-outline-primary:hover {
    background-color: #007bff;
    color: #fff;
}

#background-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    /* Ensures video does not get stuck in the background */
}

@media (max-width: 768px) {
    #background-video {
        /* For mobile, use lower resolution or different file */
        height: 100vh;
        object-fit: cover;
    }
}

/*END: GENERAL */

/*START: FORM*/
.form-container {
  max-width: 400px;
  margin: 0 auto;
  padding: 20px;
  background-color: #373b3e;
  border-radius: 5px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.form-label {
  margin-bottom: 0.5rem;
}

.form-control {
  width: 100%;
  padding: 10px;
  margin-bottom: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.form-control-file {
  width: 100%;
  padding: 10px;
  margin-top: 5px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.form-section {
    border-bottom: 1px solid #dee2e6;
    padding-bottom: 20px;
    margin-bottom: 20px;
}

.form-section:last-child {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
}

.form-floating {
    margin-bottom: 1rem;
}

.form-floating label {
    color: #6c757d;
}

.was-validated .form-control:valid, 
.form-control.is-valid {
    border-color: #28a745;
    padding-right: calc(1.5em + 0.75rem);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%2328a745' viewBox='0 0 16 16'%3e%3ccircle cx='8' cy='8' r='8' stroke-width='2'/%3e%3cpath stroke='%2328a745' d='M6 8.5l1.5 1.5 3.5-3.5' stroke-width='2'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.1875rem) center;
    background-size: calc(1.5em + 0.75rem) calc(1.5em + 0.75rem);
}

.was-validated .form-control:invalid, 
.form-control.is-invalid {
    border-color: #dc3545;
    padding-right: calc(1.5em + 0.75rem);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%23dc3545' viewBox='0 0 16 16'%3e%3ccircle cx='8' cy='8' r='8' stroke-width='2'/%3e%3cpath stroke='%23dc3545' d='M6 6l4 4m0-4l-4 4' stroke-width='2'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.1875rem) center;
    background-size: calc(1.5em + 0.75rem) calc(1.5em + 0.75rem);
}
/*END: FORM */


/*START: DARK MODE*/
.dark-mode {
    background-color: #121212;
    color: #ffffff;
}
/*END: DARK MODE */


/* START: BLOG */
pre {
    margin: 10px 0; /* Adjust the margin as needed */
    padding: 10px;  /* Optional: Add padding inside the <pre> block */
    background-color: #AFAFAF; /* Change this color to your preferred background color */
    border: 1px solid #AFAFAF; /* Optional: Add a border to make the code block more distinct */
    border-radius: 5px; /* Optional: Round the corners of the border */
    overflow-x: auto; /* Optional: Add horizontal scrolling if the code is too wide */
    color: black;
}

.blog-container {
  max-width: 95%;
  margin: 20px auto;
  padding: 20px;
  border-radius: 5px;
}
/* END: BLOG */



/* START: NAVBAR */
.custom-navbar {
    background-color: white; /* Consistent with modern design */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* Subtle shadow for better visibility */
}

.navbar-brand {
    font-size: 1.5rem;
    margin-right: 20px; /* Space between brand and links */
}

.navbar-toggler {
    border: none;
}

.navbar-nav {
    align-items: center;
}

.navbar-nav .nav-item {
    margin-left: 15px; /* Space out the items */
}

.nav-link {
    padding: 10px 20px;
    border-radius: 25px;
    color: black; 
    transition: color 0.3s ease, background-color 0.3s ease, transform 0.3s ease;
    display: inline-flex;
    align-items: center;
}

.nav-link:hover {
    background-color: rgba(0, 123, 255, 0.1); /* Subtle hover background */
    color: #0056b3; /* Hover text color */
    transform: translateY(-2px);
}

.nav-link i {
    margin-right: 5px;
    color: #0d6efd;
    transition: transform 0.3s ease;
}

.nav-link:hover i {
    transform: scale(1.2); /* Icon hover effect */
}

.d-flex .btn-outline-primary {
    transition: background-color 0.3s ease, color 0.3s ease;
}

.d-flex .btn-outline-primary:hover {
    background-color: #0d6efd;
    color: white;
}

.navbar-container {
  max-width: 90%;
  margin: 20px auto;
  padding: 20px;
  border-radius: 5px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

/* END: NAVBAR */
