
/* Logo Header Section */
.logo-header {
  border-bottom: 1px solid #e9ecef;
}

.logo-brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  transition: all 0.3s ease;
}

.logo-brand:hover {
  text-decoration: none;
  transform: scale(1.02);
}

.logo-image {
  transition: all 0.3s ease;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}

.company-name {
  font-size: 2rem;
  font-weight: 700;
  color: #333;
  letter-spacing: 0.5px;
  background: linear-gradient(135deg, #0452A2 0%, #fd7e14 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.contact-info {
  font-size: 0.9rem;
}

.contact-info i {
  color: #0452A2;
}

/* Enhanced Navbar Styling */

.navbar {
  border-bottom: 3px solid rgba(255, 255, 255, 0.1);
  padding: 0.75rem 0;
}

.navbar-brand {
  display: flex;
  align-items: center;
}

.brand-text {
  font-size: 1.5rem;
  letter-spacing: 0.5px;
}

/* Enhanced Navigation Links */
.nav-link-custom {
  position: relative;
  /* padding: 0.75rem 1.25rem !important; */
  margin: 0 0.25rem;
  border-radius: 25px;
  transition: all 0.3s ease;
  font-weight: 500;
}

.nav-link-custom:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
  color: #fff !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.nav-link-custom::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: #fd7e14;
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.nav-link-custom:hover::before {
  width: 80%;
}

/* Enhanced Search Box */
.search-box {
  border-radius: 25px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.search-box .form-control {
  border: none;
  background: rgba(255, 255, 255, 0.9);
  padding: 0.5rem 1rem;
}

.search-box .form-control:focus {
  box-shadow: none;
  background: #fff;
}

.btn-search {
  border: none;
  background: #fd7e14;
  color: #333;
  transition: all 0.3s ease;
}

.btn-search:hover {
  background: #fd7e14;
  transform: scale(1.05);
}

/* Enhanced User Dropdown */
.user-dropdown-toggle {
  padding: 0.5rem 1rem !important;
  border-radius: 25px;
  transition: all 0.3s ease;
}

.user-dropdown-toggle:hover {
  background: rgba(255, 255, 255, 0.15);
}

.user-avatar-container {
  display: flex;
  align-items: center;
}

.user-avatar {
  width: 35px;
  height: 35px;
  border: 2px solid #fff;
  transition: all 0.3s ease;
}

.user-avatar:hover {
  transform: scale(1.1);
}

.user-name {
  font-weight: 500;
}

/* Modern Dropdown Menu */
.dropdown-menu-modern {
  border: none;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  padding: 0;
  margin-top: 10px;
  min-width: 280px;
  animation: fadeInUp 0.3s ease;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.user-header-modern {
  background: #fd7e14;
  color: white;
  padding: 20px;
  text-align: center;
}

.user-avatar-large {
  width: 60px;
  height: 60px;
  border: 3px solid #fff;
  margin-bottom: 10px;
}

.user-info h5 {
  margin: 0;
  font-weight: 600;
}

.user-info small {
  color: rgba(255, 255, 255, 0.8);
}

.dropdown-item-modern {
  padding: 12px 20px;
  transition: all 0.3s ease;
  border-left: 3px solid transparent;
}

.dropdown-item-modern:hover {
  background: #f8f9fa;
  border-left-color: #0452A2;
  padding-left: 25px;
}

.dropdown-item-modern i {
  width: 20px;
}

.logout-item:hover {
  background: #ffe6e6 !important;
  border-left-color: #dc3545 !important;
}

/* Login Button */
.btn-login {
  border-radius: 25px;
  padding: 0.5rem 1.5rem;
  font-weight: 500;
  transition: all 0.3s ease;
  border: 2px solid #fff;
}

.btn-login:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .logo-header .contact-info {
    display: none !important;
  }
  
  .company-name {
    font-size: 1.5rem;
  }
  
  .navbar-brand .brand-text {
    display: none;
  }
  
  .user-name {
    display: none !important;
  }
  
  .nav-link-custom {
    margin: 0.25rem 0;
  }
  
  .search-box {
    margin: 1rem 0;
  }
}

/* Legacy styles for compatibility */
.navbar .user-menu i.fas {
  color:#fff;
}
.navbar .user-menu i.fas:hover{
  color:#fd7e14;
}

/* Professional Header Styling */
.professional-header {
    position: relative;
    background: linear-gradient(135deg, #0452A2 0%, #0452A2 100%);
    min-height: 300px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.1);
    z-index: 1;
}

.professional-header .container {
    position: relative;
    z-index: 2;
}

.header-content {
    animation: fadeInLeft 0.8s ease-out;
}

.page-title {
    font-size: 3rem;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
}

.page-title i {
    color: #fd7e14;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.page-subtitle {
    font-size: 1.2rem;
    font-weight: 300;
    line-height: 1.6;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* Modern Breadcrumb */
.modern-breadcrumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    padding: 15px 25px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    animation: fadeInRight 0.8s ease-out;
}

.modern-breadcrumb .breadcrumb-item {
    font-weight: 500;
}

.breadcrumb-link {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 5px 10px;
    border-radius: 20px;
}

.breadcrumb-link:hover {
    color: #fd7e14;
    background: rgba(255, 255, 255, 0.1);
    text-decoration: none;
    transform: translateY(-1px);
}

.modern-breadcrumb .breadcrumb-item.active {
    color: #fd7e14;
    font-weight: 600;
}

/* Decorative Elements */
.header-decoration {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 1;
}

.decoration-circle {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    animation: float 6s ease-in-out infinite;
}

.circle-1 {
    width: 200px;
    height: 200px;
    top: -50px;
    right: -50px;
    animation-delay: 0s;
}

.circle-2 {
    width: 150px;
    height: 150px;
    top: 50%;
    right: 10%;
    animation-delay: 2s;
}

.circle-3 {
    width: 100px;
    height: 100px;
    bottom: -30px;
    left: 10%;
    animation-delay: 4s;
}

/* Animations */
@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(180deg);
    }
}

/* Contact Page Styling */
.contact {
    margin-top: -50px;
    position: relative;
    z-index: 3;
}

/* Contact Info Cards */
.contact-info-card {
    background: #fff;
    padding: 2rem 1.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
}

.contact-info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.contact-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #0452A2 0%, #fd7e14 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    transition: all 0.3s ease;
}

.contact-icon i {
    font-size: 1.5rem;
    color: white;
}

.contact-info-card:hover .contact-icon {
    transform: scale(1.1);
}

.contact-info-card h5 {
    color: #0452A2;
    font-weight: 600;
    margin-bottom: 1rem;
}

/* Contact Form Styling */
.card-header.bg-gradient-primary {
    background: linear-gradient(135deg, #0452A2 0%, #0452A2 100%) !important;
}

.form-label {
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
}

.form-label i {
    color: #0452A2;
}

.form-control {
    border: 2px solid #e9ecef;
    border-radius: 10px;
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.form-control:focus {
    border-color: #0452A2;
    box-shadow: 0 0 0 0.2rem rgba(4, 82, 162, 0.25);
}


.form-control.is-invalid {
    border-color: #dc3545;
}

.form-control.is-valid {
    border-color: #28a745;
}

.invalid-feedback {
    display: block;
    width: 100%;
    margin-top: 0.25rem;
    font-size: 0.875rem;
    color: #dc3545;
}

.form-check-input:checked {
    background-color: #0452A2;
    border-color: #0452A2;
}

.btn-primary {
    background: linear-gradient(135deg, #0452A2 0%, #fd7e14 100%);
    border: none;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(4, 82, 162, 0.3);
}

.btn-primary:disabled {
    opacity: 0.6;
    transform: none;
}

.alert {
    border-radius: 10px;
    border: none;
    font-weight: 500;
}

.alert-success {
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
    color: #155724;
}

.alert-danger {
    background: linear-gradient(135deg, #f8d7da 0%, #f5c6cb 100%);
    color: #721c24;
}

/* Loading Animation */
.btn-loading {
    position: relative;
    color: transparent !important;
}

.btn-loading::after {
    content: "";
    position: absolute;
    width: 20px;
    height: 20px;
    top: 50%;
    left: 50%;
    margin-left: -10px;
    margin-top: -10px;
    border: 2px solid #ffffff;
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .professional-header {
        min-height: 250px;
        text-align: center;
    }
    
    .page-title {
        font-size: 2.2rem;
        margin-bottom: 1rem;
    }
    
    .page-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    .modern-breadcrumb {
        margin-top: 2rem;
        padding: 10px 20px;
    }
    
    .decoration-circle {
        opacity: 0.3;
    }
    
    .circle-1 {
        width: 120px;
        height: 120px;
    }
    
    .circle-2 {
        width: 80px;
        height: 80px;
    }
    
    .circle-3 {
        width: 60px;
        height: 60px;
    }
    
    .contact {
        margin-top: -30px;
    }
    
    .contact-info-card {
        padding: 1.5rem 1rem;
        margin-bottom: 1rem;
    }
    
    .contact-icon {
        width: 60px;
        height: 60px;
    }
    
    .contact-icon i {
        font-size: 1.25rem;
    }
    
    .card-body {
        padding: 2rem 1.5rem;
    }
}

@media (max-width: 576px) {
    .page-title {
        font-size: 1.8rem;
    }
    
    .page-title i {
        display: block;
        margin-bottom: 10px;
        margin-right: 0 !important;
    }
    
    .card-body {
        padding: 1.5rem 1rem;
    }
    
    .contact-info-card {
        padding: 1rem;
    }
    
    .btn-lg {
        padding: 0.75rem 2rem;
        font-size: 1rem;
    }
}
