:root {
  --cyan: #06b6d4;
  --purple: #8b5cf6;
  --dark-bg: #0f172a;
  --dark-card: rgba(255, 255, 255, 0.05);
  --dark-border: rgba(255, 255, 255, 0.1);
  --text-light: #f8fafc;
  --text-muted: #94a3b8;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: linear-gradient(135deg, #0f172a 0%, #581c87 50%, #0f172a 100%);
  color: var(--text-light);
  min-height: 100vh;
  line-height: 1.6;
}

.admin-body {
  background-color: #1a1a1a;
  color: #fff;
  min-height: 100vh;
}

/* Utilities */
.text-cyan {
  color: #0dcaf0 !important;
}
.text-purple {
  color: #6f42c1 !important;
}
.bg-cyan-transparent {
  background-color: rgba(13, 202, 240, 0.1);
}
.bg-purple-transparent {
  background-color: rgba(111, 66, 193, 0.1);
}
.bg-success-transparent {
  background-color: rgba(25, 135, 84, 0.1);
}
.bg-warning-transparent {
  background-color: rgba(255, 193, 7, 0.1);
}
.bg-dark-transparent {
  background-color: rgba(0, 0, 0, 0.2) !important;
}

/* Buttons */
.btn-cyan {
  background-color: #0dcaf0;
  border-color: #0dcaf0;
  color: #fff;
  font-weight: 500;
  transition: all 0.3s ease;
}

.btn-cyan:hover {
  background-color: #0bb6d9;
  border-color: #0bb6d9;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(6, 182, 212, 0.3);
}

.btn-outline-light:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

/* Navigation */
.custom-navbar {
  background-color: #2d2d2d;
  padding: 1rem;
}

.navbar-brand {
  font-size: 1.5rem;
  font-weight: 700;
}

.nav-link {
  color: rgba(255, 255, 255, 0.8) !important;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
}

.nav-link:hover {
  color: var(--cyan) !important;
  transform: translateY(-2px);
}

.nav-link::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 50%;
  background-color: var(--cyan);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.nav-link:hover::after {
  width: 100%;
}

/* Hero Section */
.hero-section {
  padding: 120px 0 80px;
  position: relative;
  overflow: hidden;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 2rem;
}

.gradient-text {
  background: linear-gradient(135deg, var(--cyan), var(--purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: #fff;
  line-height: 1.7;
  max-width: 800px;
  margin: 0 auto;
}

.stats-section {
  margin-top: 4rem;
}

.stat-item {
  text-align: center;
  padding: 1rem;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.stat-label {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Newsletter Card */
.newsletter-card {
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  padding: 40px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.newsletter-card h3 {
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1rem;
}

.newsletter-card .text-muted {
  color: rgba(255, 255, 255, 0.7) !important;
}

.newsletter-form .form-label {
  color: #fff;
  font-weight: 500;
}

.newsletter-form .input-group-text {
  color: #00c7c7;
}

.newsletter-form .form-control {
  height: 50px;
  font-size: 1rem;
}

.newsletter-form .form-control:focus {
  box-shadow: none;
  border-color: #00c7c7;
}

.newsletter-form .btn-cyan {
  height: 50px;
  font-size: 1rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

.newsletter-form .btn-cyan:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 199, 199, 0.3);
}

.newsletter-card ul li {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1rem;
}

.newsletter-card ul li i {
  font-size: 1.2rem;
}

/* Toast Customization */
.toast {
  background: rgba(0, 0, 0, 0.9) !important;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.toast-header {
  background: rgba(0, 0, 0, 0.8);
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.toast-body {
  color: #fff;
}

.btn-close {
  filter: invert(1) grayscale(100%) brightness(200%);
}

/* Floating Elements */
.floating-element {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  animation: float 6s ease-in-out infinite;
}

.floating-1 {
  width: 80px;
  height: 80px;
  background: rgba(6, 182, 212, 0.3);
  top: 20%;
  left: 10%;
  animation-delay: 0s;
}

.floating-2 {
  width: 120px;
  height: 120px;
  background: rgba(139, 92, 246, 0.3);
  top: 60%;
  right: 10%;
  animation-delay: 3s;
}

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

/* Sections */
.section-padding {
  padding: 80px 0;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* Cards */
.about-card,
.service-card,
.portfolio-card,
.contact-card,
.form-card {
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: 1rem;
  padding: 2rem;
  height: 100%;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.about-card:hover,
.service-card:hover,
.portfolio-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  border-color: rgba(255, 255, 255, 0.2);
}

/* About Icons */
.about-icon {
  width: 80px;
  height: 80px;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 2rem;
}

/* Service Cards */
.service-icon {
  width: 80px;
  height: 80px;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  font-size: 2rem;
  color: white;
}

.bg-gradient-blue {
  background: linear-gradient(135deg, #3b82f6, #06b6d4);
}
.bg-gradient-green {
  background: linear-gradient(135deg, #10b981, #059669);
}
.bg-gradient-red {
  background: linear-gradient(135deg, #ef4444, #dc2626);
}
.bg-gradient-purple {
  background: linear-gradient(135deg, #8b5cf6, #7c3aed);
}

.service-features {
  list-style: none;
  padding: 0;
}

.service-features li {
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
}

/* Portfolio Cards */
.portfolio-image {
  height: 200px;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  font-size: 3rem;
  color: white;
}

.portfolio-content h3 {
  margin-bottom: 1rem;
}

.portfolio-tags {
  margin-top: 1rem;
}

.portfolio-tags .badge {
  margin-right: 0.5rem;
  margin-bottom: 0.5rem;
}

/* Contact Cards */
.contact-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.contact-card {
  margin-bottom: 2rem;
}

/* Form Styles */
.form-control,
.form-select {
  background-color: rgba(26, 26, 26, 0.8) !important;
  border: 2px solid #0dcaf0 !important;
  color: #fff !important;
  transition: all 0.3s ease;
}

.form-control:focus,
.form-select:focus {
  background-color: rgba(26, 26, 26, 0.95) !important;
  border-color: #0dcaf0 !important;
  box-shadow: 0 0 0 0.25rem rgba(13, 202, 240, 0.25) !important;
  color: #fff !important;
}

.form-select {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%230dcaf0' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e") !important;
  background-repeat: no-repeat !important;
  background-position: right 0.75rem center !important;
  background-size: 16px 12px !important;
}

.form-select option {
  background-color: #1a1a1a !important;
  color: #fff !important;
  padding: 10px !important;
}

.form-select option:hover,
.form-select option:focus,
.form-select option:active,
.form-select option:checked {
  background-color: #0dcaf0 !important;
  color: #fff !important;
}

/* Form Card Styles */
.form-card {
  background: rgba(26, 26, 26, 0.9);
  border-radius: 15px;
  padding: 2rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(13, 202, 240, 0.1);
}

.form-card h3 {
  color: #fff;
  font-weight: 600;
}

.form-card p {
  color: rgba(255, 255, 255, 0.7);
}

.form-card .form-label {
  color: #fff;
  font-weight: 500;
}

.form-text {
  color: rgba(255, 255, 255, 0.6) !important;
  font-size: 0.875rem;
  margin-top: 0.5rem;
}

/* Floating Label Styles */
.form-floating > .form-control,
.form-floating > .form-select {
  height: calc(3.5rem + 4px) !important;
  line-height: 1.25;
  padding: 1rem 0.75rem;
}

.form-floating > label {
  padding: 1rem 0.75rem;
  color: rgba(255, 255, 255, 0.6);
}

.form-floating > .form-control:focus ~ label,
.form-floating > .form-control:not(:placeholder-shown) ~ label,
.form-floating > .form-select ~ label {
  color: #0dcaf0;
  transform: scale(.85) translateY(-0.75rem) translateX(0.15rem);
  background-color: transparent;
  padding: 0 0.5rem;
}

.form-floating > .form-select {
  padding-top: 1.625rem;
  padding-bottom: .625rem;
}

/* Footer */
.footer {
  background: rgba(0, 0, 0, 0.3);
  border-top: 1px solid var(--dark-border);
  padding: 2rem 0;
  margin-top: 4rem;
}

.footer-brand {
  font-size: 1.5rem;
  font-weight: 700;
}

/* Admin Styles */
.stats-card {
  background-color: #2d2d2d;
  border-radius: 10px;
  padding: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  height: 100%;
}

.stats-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.stats-content h3 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
  color: var(--text-light);
}

.stats-content p {
  color: var(--text-muted);
  margin: 0;
  font-size: 0.9rem;
}

.chart-card {
  background-color: #2d2d2d;
  border-radius: 10px;
  padding: 1.5rem;
  height: 100%;
}

.custom-tabs {
  border-bottom: 1px solid #444;
}

.custom-tabs .nav-link {
  color: #fff;
  border: none;
  padding: 1rem 1.5rem;
  border-radius: 0;
}

.custom-tabs .nav-link:hover {
  color: #0dcaf0;
  border: none;
}

.custom-tabs .nav-link.active {
  color: #0dcaf0;
  background: none;
  border-bottom: 2px solid #0dcaf0;
}

.data-section {
  background-color: #2d2d2d;
  border-radius: 10px;
  padding: 1.5rem;
  margin-top: 1rem;
}

.data-list {
  max-height: 500px;
  overflow-y: auto;
}

.data-item {
  background-color: #1a1a1a;
  border-radius: 8px;
  padding: 1rem;
  margin-bottom: 1rem;
  transition: all 0.3s ease;
}

.data-item:last-child {
  margin-bottom: 0;
}

.data-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.data-item-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.loading-spinner {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.toast {
  background-color: #2d2d2d;
  color: #fff;
}

.toast-header {
  background-color: #1a1a1a;
  color: #fff;
}

/* Scrollbar Styles */
.data-list::-webkit-scrollbar {
  width: 8px;
}

.data-list::-webkit-scrollbar-track {
  background: #1a1a1a;
  border-radius: 4px;
}

.data-list::-webkit-scrollbar-thumb {
  background: #444;
  border-radius: 4px;
}

.data-list::-webkit-scrollbar-thumb:hover {
  background: #555;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .stats-card {
    flex-direction: column;
    text-align: center;
  }

  .chart-card {
    height: 300px;
  }

  .modal-dialog.modal-lg {
    margin: 1rem;
    max-width: calc(100% - 2rem);
  }

  .data-item-header .d-flex {
    flex-direction: column;
    align-items: flex-start !important;
  }

  .data-item-header .d-flex .d-flex {
    margin-top: 0.5rem;
  }
}

@media (max-width: 576px) {
  .hero-section {
    padding: 100px 0 60px;
  }

  .section-padding {
    padding: 60px 0;
  }

  .hero-title {
    font-size: 2rem;
  }

  .about-card,
  .service-card,
  .portfolio-card,
  .contact-card,
  .form-card {
    padding: 1.5rem;
  }
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.6s ease-out;
}

/* Smooth Scrolling */
html {
  scroll-behavior: smooth;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--dark-bg);
}

::-webkit-scrollbar-thumb {
  background: var(--cyan);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #0891b2;
}

/* Custom Toast Styles */
.custom-toast {
    background: rgba(33, 37, 41, 0.95);
    backdrop-filter: blur(10px);
    border: none;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(13, 202, 240, 0.2);
}

.custom-toast .toast-header {
    background: linear-gradient(45deg, #0dcaf0, #0891b2);
    color: white;
    border-bottom: none;
    padding: 0.75rem 1rem;
    font-weight: 500;
}

.custom-toast .toast-header .btn-close {
    filter: brightness(0) invert(1);
    opacity: 0.8;
    transition: opacity 0.2s ease;
}

.custom-toast .toast-header .btn-close:hover {
    opacity: 1;
}

.custom-toast .toast-body {
    padding: 1.25rem;
    color: #fff;
    background: rgba(33, 37, 41, 0.95);
}

.custom-toast .toast-icon {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(13, 202, 240, 0.15);
    border-radius: 50%;
    border: 1px solid rgba(13, 202, 240, 0.3);
}

.custom-toast .toast-content {
    flex: 1;
}

.custom-toast .toast-content p {
    color: #e9ecef;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Success Toast Specific */
.custom-toast.success .toast-header {
    background: linear-gradient(45deg, #0dcaf0, #0891b2);
}

.custom-toast.success .toast-icon {
    color: #0dcaf0;
}

/* Error Toast Specific */
.custom-toast.error .toast-header {
    background: linear-gradient(45deg, #dc3545, #b02a37);
}

.custom-toast.error .toast-icon {
    color: #dc3545;
    background: rgba(220, 53, 69, 0.15);
    border-color: rgba(220, 53, 69, 0.3);
}

/* Toast Animation */
.toast.show {
    animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Reply Modal Styles */
.modal-content.bg-dark {
    background-color: #2d2d2d !important;
    border: 1px solid #444;
}

.modal-content.bg-dark .form-control {
    background-color: #1a1a1a !important;
    border-color: #444 !important;
    color: #fff !important;
}

.modal-content.bg-dark .form-control:focus {
    background-color: #1a1a1a !important;
    border-color: #0dcaf0 !important;
    box-shadow: 0 0 0 0.2rem rgba(13, 202, 240, 0.25) !important;
}

.modal-content.bg-dark .form-control::placeholder {
    color: #6c757d !important;
}

.modal-content.bg-dark .form-label {
    color: #fff !important;
}

/* Reply status badges */
.badge.bg-success {
    background-color: #198754 !important;
}

.badge.bg-warning {
    background-color: #ffc107 !important;
    color: #000 !important;
}

/* Reply button styles */
.btn-sm.btn-cyan {
    padding: 0.25rem 0.5rem;
    font-size: 0.875rem;
    border-radius: 0.375rem;
}

.btn-sm.btn-cyan:hover {
    transform: translateY(-1px);
    box-shadow: 0 5px 15px rgba(6, 182, 212, 0.3);
}

/* Admin reply section */
.bg-success-transparent {
    background-color: rgba(25, 135, 84, 0.1) !important;
    border: 1px solid rgba(25, 135, 84, 0.2) !important;
}

/* Modal backdrop */
.modal-backdrop {
    background-color: rgba(0, 0, 0, 0.8) !important;
}

/* Loading state for reply button */
.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Project Inquiry Form Styles */
.form-floating {
    position: relative;
}

.form-floating > .form-control,
.form-floating > .form-select {
    height: calc(3.5rem + 2px);
    padding: 1rem 0.75rem;
}

.form-floating > .form-select {
    padding-top: 1.625rem;
    padding-bottom: .625rem;
}

.form-floating > label {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    padding: 1rem 0.75rem;
    pointer-events: none;
    border: 1px solid transparent;
    transform-origin: 0 0;
    transition: opacity .1s ease-in-out, transform .1s ease-in-out;
    color: #6c757d;
}

.form-floating > .form-control:focus ~ label,
.form-floating > .form-control:not(:placeholder-shown) ~ label,
.form-floating > .form-select ~ label {
    opacity: .65;
    transform: scale(.85) translateY(-0.5rem) translateX(0.15rem);
    background-color: #1a1a1a;
    padding: 0 0.5rem;
    color: #0dcaf0;
}

.form-control.bg-dark,
.form-select.bg-dark {
    background-color: #1a1a1a !important;
    color: #fff !important;
}

.form-select.bg-dark option {
    background-color: #1a1a1a;
    color: #fff;
}

.form-select.bg-dark:focus {
    background-color: #1a1a1a;
}

.border-cyan {
    border-color: #0dcaf0 !important;
}

.border-cyan:focus {
    border-color: #0dcaf0 !important;
    box-shadow: 0 0 0 0.25rem rgba(13, 202, 240, 0.25) !important;
}

.custom-checkbox .form-check-input {
    border-color: #0dcaf0;
}

.custom-checkbox .form-check-input:checked {
    background-color: #0dcaf0;
    border-color: #0dcaf0;
}

.custom-checkbox .form-check-label {
    cursor: pointer;
    transition: color 0.2s ease;
    color: #fff;
}

.custom-checkbox .form-check-label:hover {
    color: #0dcaf0;
}

.form-check-input:focus {
    border-color: #0dcaf0;
    box-shadow: 0 0 0 0.25rem rgba(13, 202, 240, 0.25);
}

.form-text {
    color: #6c757d !important;
    font-size: 0.875rem;
    margin-top: 0.5rem;
}

.btn-loader {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.spin {
    animation: spin 1s linear infinite;
}

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

/* Toast Styles */
.custom-toast {
    background: #2a2a2a;
    color: white;
    border: none;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.custom-toast.bg-success {
    background: linear-gradient(135deg, #198754 0%, #0dcaf0 100%) !important;
}

.custom-toast.bg-danger {
    background: linear-gradient(135deg, #dc3545 0%, #6f42c1 100%) !important;
}

.custom-toast .toast-header {
    background: transparent;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
}

.custom-toast .btn-close {
    filter: invert(1) grayscale(100%) brightness(200%);
}

.toast-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.toast-content {
    flex: 1;
}

/* Project Inquiry Section */
.project-inquiry-section {
    background: linear-gradient(135deg, rgba(13, 202, 240, 0.1) 0%, rgba(111, 66, 193, 0.1) 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.inquiry-card {
    background: rgba(26, 26, 26, 0.95);
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(13, 202, 240, 0.1);
}

/* Form Controls */
.form-control,
.form-select {
    background-color: rgba(255, 255, 255, 0.05) !important;
    border: 2px solid rgba(13, 202, 240, 0.3) !important;
    color: #fff !important;
    border-radius: 10px;
    padding: 1rem;
    height: auto;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-control:focus,
.form-select:focus {
    background-color: rgba(255, 255, 255, 0.1) !important;
    border-color: #0dcaf0 !important;
    box-shadow: 0 0 0 0.25rem rgba(13, 202, 240, 0.25) !important;
}

.form-select {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%230dcaf0' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e") !important;
    background-repeat: no-repeat !important;
    background-position: right 1rem center !important;
    background-size: 16px 12px !important;
    padding-right: 3rem;
}

.form-select option {
    background-color: #1a1a1a;
    color: #fff;
    padding: 1rem;
}

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

/* Service Checkboxes */
.service-checkbox {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(13, 202, 240, 0.3);
    border-radius: 10px;
    padding: 1rem;
    transition: all 0.3s ease;
    cursor: pointer;
    height: 100%;
    display: flex;
    align-items: center;
}

.service-checkbox:hover {
    background: rgba(13, 202, 240, 0.1);
    border-color: #0dcaf0;
}

.service-checkbox input[type="checkbox"] {
    display: none;
}

.service-checkbox label {
    display: flex;
    align-items: center;
    margin: 0;
    cursor: pointer;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    width: 100%;
}

.service-checkbox i {
    font-size: 1.5rem;
    color: #0dcaf0;
    margin-right: 1rem;
    transition: all 0.3s ease;
}

.service-checkbox input[type="checkbox"]:checked + label {
    color: #fff;
}

.service-checkbox input[type="checkbox"]:checked + label i {
    transform: scale(1.1);
}

.service-checkbox:has(input[type="checkbox"]:checked) {
    background: rgba(13, 202, 240, 0.15);
    border-color: #0dcaf0;
}

/* Submit Button */
.submit-btn {
    background: linear-gradient(135deg, #0dcaf0 0%, #6f42c1 100%);
    border: none;
    padding: 1rem 2rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(13, 202, 240, 0.3);
}

.submit-btn:active {
    transform: translateY(0);
}

.submit-btn .loading-text {
    display: none;
}

.submit-btn.is-loading .default-text {
    display: none;
}

.submit-btn.is-loading .loading-text {
    display: inline-flex;
    align-items: center;
}

.submit-btn.is-loading {
    background: linear-gradient(135deg, #0dcaf0 0%, #6f42c1 100%);
    pointer-events: none;
    opacity: 0.8;
}

.spin {
    display: inline-block;
    animation: spin 1s linear infinite;
}

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

/* Form Text & Validation */
.form-text {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
    margin-top: 0.5rem;
}

.invalid-feedback {
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

.was-validated .form-control:invalid,
.form-control.is-invalid {
    border-color: #dc3545 !important;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.1875rem) center;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

/* Contact Messages Styles */
.contact-filters {
    background: rgba(0, 0, 0, 0.2);
    padding: 20px;
    border-radius: 10px;
}

.search-box {
    position: relative;
}

.search-box i {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
}

.search-box input {
    padding-right: 35px;
}

.stat-card {
    padding: 20px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
}

.stat-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
}

.stat-icon i {
    font-size: 24px;
    color: white;
}

.stat-details h3 {
    margin: 0;
    font-size: 24px;
    color: white;
}

.stat-details p {
    margin: 0;
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
}

.bg-gradient-primary {
    background: linear-gradient(135deg, #0dcaf0 0%, #0d6efd 100%);
}

.bg-gradient-success {
    background: linear-gradient(135deg, #198754 0%, #20c997 100%);
}

.bg-gradient-warning {
    background: linear-gradient(135deg, #ffc107 0%, #fd7e14 100%);
}

.bg-gradient-info {
    background: linear-gradient(135deg, #0dcaf0 0%, #6610f2 100%);
}

.messages-container {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    padding: 20px;
    margin-top: 20px;
}

.message-card {
    background: rgba(33, 37, 41, 0.8);
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.message-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.message-card.unread {
    border-right: 4px solid #ffc107;
}

.message-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0dcaf0 0%, #6610f2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 16px;
}

.details h6 {
    margin: 0;
    color: white;
}

.email {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
}

.message-meta {
    text-align: left;
}

.date {
    display: block;
    color: rgba(255, 255, 255, 0.6);
    font-size: 12px;
    margin-bottom: 5px;
}

.company-tag {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: rgba(13, 202, 240, 0.1);
    padding: 5px 10px;
    border-radius: 5px;
    color: #0dcaf0;
    font-size: 14px;
    margin-bottom: 10px;
}

.message-text {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 15px;
}

.reply-content {
    background: rgba(25, 135, 84, 0.1);
    border-radius: 8px;
    padding: 15px;
    margin-top: 15px;
}

.reply-header {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    margin-bottom: 10px;
}

.reply-header i {
    color: #198754;
}

.reply-header small {
    color: rgba(255, 255, 255, 0.6);
    margin-right: auto;
}

.reply-text {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    line-height: 1.6;
}

.message-actions {
    display: flex;
    gap: 10px;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.messages-pagination .page-link {
    background-color: rgba(33, 37, 41, 0.8);
    border-color: rgba(255, 255, 255, 0.1);
    color: white;
}

.messages-pagination .page-link:hover {
    background-color: rgba(13, 202, 240, 0.2);
}

.messages-pagination .page-item.active .page-link {
    background-color: #0dcaf0;
    border-color: #0dcaf0;
}

.messages-pagination .page-item.disabled .page-link {
    background-color: rgba(33, 37, 41, 0.8);
    color: rgba(255, 255, 255, 0.4);
}

/* Custom Scrollbar */
.messages-list {
    max-height: 600px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #0dcaf0 rgba(0, 0, 0, 0.2);
}

.messages-list::-webkit-scrollbar {
    width: 8px;
}

.messages-list::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 4px;
}

.messages-list::-webkit-scrollbar-thumb {
    background: #0dcaf0;
    border-radius: 4px;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.message-card {
    animation: fadeIn 0.3s ease-out;
}

/* Newsletter Form */
.newsletter-form .form-text {
    font-size: 0.875rem;
    transition: all 0.3s ease;
}

.newsletter-form .form-text.text-success {
    color: #00c7c7 !important;
}

.newsletter-form .form-text.text-danger {
    color: #ff4444 !important;
}

.newsletter-form .btn-cyan .spin {
    animation: spin 1s linear infinite;
}

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