/* Root Variables */
:root {
    --primary-color: #FF6B00;
    --secondary-color: #1A1A1A;
    --accent-color: #FFB800;
    --text-color: #333333;
    --light-bg: #F5F5F5;
    --white: #FFFFFF;
    --dark-overlay: rgba(0, 0, 0, 0.7);
    --transition: all 0.3s ease;
    --box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Top Bar Styles */
.top-bar {
    background-color: var(--secondary-color);
    padding: 8px 0;
    
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    
}

.contact-info a {
    color: var(--white);
    text-decoration: none;
    font-size: 14px;
    margin-right: 20px;
    transition: var(--transition);
}

.contact-info a:hover {
    color: var(--primary-color);
}

.social-links a {
    color: var(--white);
    text-decoration: none;
    margin-left: 15px;
    transition: var(--transition);
}

.social-links a:hover {
    color: var(--primary-color);
}

/* Main Navigation Styles */
.main-nav {
    background: var(--white);
    padding: 15px 0;
    box-shadow: var(--box-shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.main-logo {
    max-height: 60px;
    width: auto;
}

.logo-text {
    font-size: 24px;
    font-weight: 700;
    color: var(--secondary-color);
}

.nav-links {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links li {
    margin: 0 15px;
}

.nav-links a {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 500;
    padding: 8px 0;
    position: relative;
    transition: var(--transition);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.nav-links a:hover::after,
.nav-links li.active a::after {
    width: 100%;
}

.nav-links .admin-link a {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 8px 20px;
    border-radius: 5px;
    transition: var(--transition);
}

.nav-links .admin-link a:hover {
    background-color: var(--secondary-color);
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
}

.mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: var(--secondary-color);
    margin: 5px 0;
    transition: var(--transition);
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: var(--primary-color);
    color: var(--white);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    border: none;
    box-shadow: var(--box-shadow);
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    background-color: var(--secondary-color);
}

/* Utility Classes */
.text-primary { color: var(--primary-color); }
.text-white { color: var(--white); }
.bg-primary { background-color: var(--primary-color); }
.bg-secondary { background-color: var(--secondary-color); }
.bg-light { background-color: var(--light-bg); }
/* Footer Styles */
.site-footer {
    background-color: var(--secondary-color);
    color: var(--white);
}

.footer-widget {
    margin-bottom: 30px;
}

.footer-logo {
    max-height: 60px;
    margin-bottom: 20px;
}

.widget-title {
    color: var(--white);
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.widget-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background-color: var(--primary-color);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #ffffff99;
    text-decoration: none;
    transition: var(--transition);
    display: inline-block;
    position: relative;
    padding-left: 15px;
}

.footer-links a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    background-color: var(--primary-color);
    border-radius: 50%;
    opacity: 0;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--white);
    padding-left: 20px;
}

.footer-links a:hover::before {
    opacity: 1;
}

.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
    color: #ffffff99;
}

.footer-contact li i {
    color: var(--primary-color);
    margin-right: 15px;
    margin-top: 5px;
}

.footer-contact li a {
    color: #ffffff99;
    text-decoration: none;
    transition: var(--transition);
}

.footer-contact li a:hover {
    color: var(--white);
}

.footer-social {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.footer-social .social-link {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
}

.footer-social .social-link:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

.footer-bottom {
    background-color: rgba(0, 0, 0, 0.2);
    padding: 20px 0;
}

.footer-bottom p {
    margin: 0;
    color: #ffffff99;
}

.footer-bottom-links {
    display: flex;
    justify-content: flex-end;
    gap: 20px;
}

.footer-bottom-links a {
    color: #ffffff99;
    text-decoration: none;
    font-size: 14px;
    transition: var(--transition);
}

.footer-bottom-links a:hover {
    color: var(--primary-color);
}

/* Enhanced Page Header Styles */
.page-header {
    position: relative;
    height: 200px;
    background-color: var(--secondary-color);
    margin-bottom: 15px;
 
}

.page-header-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

.page-header-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.8),
        rgba(var(--primary-color-rgb), 0.7)
    );
    z-index: 1;
}

.page-header-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 20px;
    margin-top: 40px;
}

.page-title {
    color: var(--white);
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.breadcrumb {
    display: flex;
    gap: 10px;
    align-items: center;
    background: transparent;
    padding: 0;
    margin: 0;
}

.breadcrumb-item {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
}

.breadcrumb-item a {
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
}

.breadcrumb-item + .breadcrumb-item::before {
    content: '›';
    color: rgba(255, 255, 255, 0.7);
}

/* CSS Security Check Styles */
.modal-dialog-centered {
  display: flex;
  align-items: center;
  min-height: calc(100% - 1rem);
}

.modal-content {
  border: none;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.modal-header {
  border-radius: 8px 8px 0 0;
  padding: 1rem 1.5rem;
}

.modal-header .close {
  padding: 1rem;
  margin: -1rem -1rem -1rem auto;
  opacity: 0.8;
  transition: opacity 0.2s;
}

.modal-header .close:hover {
  opacity: 1;
}

/* Form Styles */
.security-step .form-group {
  margin-bottom: 1.5rem;
}

.security-step label {
  font-weight: 500;
  color: #495057;
  margin-bottom: 0.5rem;
}

.security-step .form-control {
  padding: 0.75rem 1rem;
  border: 1px solid #ced4da;
  border-radius: 4px;
  transition: border-color 0.2s ease-in-out;
}

.security-step .form-control:focus {
  border-color: #80bdff;
  box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.security-step .btn {
  min-width: 100px;
  padding: 0.5rem 1rem;
  font-weight: 500;
}

.security-step .mt-3 {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}

/* Toast Notification Styles */
.toast-top-right {
  top: 1rem;
  right: 1rem;
}

/* Additional Modal Styles */
.modal {
  background: rgba(0, 0, 0, 0.5);
}

.modal-backdrop {
  opacity: 0.5;
}

.modal-dialog {
  margin: 1.75rem auto;
  max-width: 500px;
}

.modal-content {
  position: relative;
  background-color: #fff;
  border: none;
  border-radius: 8px;
  box-shadow: 0 3px 9px rgba(0, 0, 0, 0.5);
}

.close {
  float: right;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1;
  color: #fff;
  text-shadow: 0 1px 0 #000;
  opacity: 0.8;
  padding: 0;
  background: transparent;
  border: 0;
  appearance: none;
}

.close:hover {
  color: #fff;
  opacity: 1;
}

/* Form Enhancement Styles */
.security-step {
  padding: 15px 0;
}

.form-control {
  height: calc(1.5em + 1rem + 2px);
  padding: 0.5rem 0.75rem;
}

.form-control:focus {
  color: #495057;
  background-color: #fff;
  border-color: #80bdff;
  outline: 0;
  box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.form-text {
  margin-top: 0.25rem;
  font-size: 0.875rem;
}

/* Button Enhancements */
.btn {
  font-weight: 500;
  padding: 0.375rem 0.75rem;
  border-radius: 0.25rem;
  transition: all 0.15s ease-in-out;
}

.btn-primary {
  background-color: #007bff;
  border-color: #007bff;
}

.btn-primary:hover {
  background-color: #0069d9;
  border-color: #0062cc;
}

.btn-secondary {
  background-color: #6c757d;
  border-color: #6c757d;
}

.btn-secondary:hover {
  background-color: #5a6268;
  border-color: #545b62;
}
